summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-06-28 22:30:34 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-06-28 22:30:34 -0400
commitc9fedebaf3231a2d5a00a95ff1ffd3ac5dac4ae2 (patch)
treedd411378aa9a75854350e3638af3b87fa3b012a6 /src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
parent3f5a5e54041a641e30fc5cc899046953d9763da4 (diff)
downloadSMAPI-c9fedebaf3231a2d5a00a95ff1ffd3ac5dac4ae2.tar.gz
SMAPI-c9fedebaf3231a2d5a00a95ff1ffd3ac5dac4ae2.tar.bz2
SMAPI-c9fedebaf3231a2d5a00a95ff1ffd3ac5dac4ae2.zip
add support for unofficial version in update checks (#532)
Diffstat (limited to 'src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs')
-rw-r--r--src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs b/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
index 581a524c..adfdfef9 100644
--- a/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
+++ b/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModEntryModel.cs
@@ -20,6 +20,9 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi
/// <summary>The latest optional version, if newer than <see cref="Main"/>.</summary>
public ModEntryVersionModel Optional { get; set; }
+ /// <summary>The latest unofficial version, if newer than <see cref="Main"/> and <see cref="Optional"/>.</summary>
+ public ModEntryVersionModel Unofficial { get; set; }
+
/// <summary>The errors that occurred while fetching update data.</summary>
public string[] Errors { get; set; } = new string[0];