diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-15 00:18:51 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-15 00:18:51 -0500 |
commit | 5f620e14fa331b0721bd4044011363477dc79ef5 (patch) | |
tree | 374d13dee743a8406253175cc171ef4f81356538 /src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs | |
parent | 567c216161f00767b5dcdb0adf40a3bee91d18d0 (diff) | |
download | SMAPI-5f620e14fa331b0721bd4044011363477dc79ef5.tar.gz SMAPI-5f620e14fa331b0721bd4044011363477dc79ef5.tar.bz2 SMAPI-5f620e14fa331b0721bd4044011363477dc79ef5.zip |
add SMAPI 3.0 readiness to API data (#606)
Diffstat (limited to 'src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs')
-rw-r--r-- | src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs b/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs index c9d9f916..45b46ea6 100644 --- a/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs +++ b/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs @@ -41,6 +41,15 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi public string CustomUrl { get; set; } /**** + ** SMAPI 3.0 readiness + ****/ + /// <summary>Whether the mod is ready for the upcoming SMAPI 3.0.</summary> + public WikiSmapi3Status Smapi3Status { get; set; } + + /// <summary>A URL related to the <see cref="Smapi3Status"/>.</summary> + public string Smapi3Url { get; set; } + + /**** ** Stable compatibility ****/ /// <summary>The compatibility status.</summary> @@ -85,6 +94,9 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi this.CustomSourceUrl = wiki.CustomSourceUrl; this.CustomUrl = wiki.CustomUrl; + this.Smapi3Status = wiki.Smapi3Status; + this.Smapi3Url = wiki.Smapi3Url; + this.CompatibilityStatus = wiki.Compatibility.Status; this.CompatibilitySummary = wiki.Compatibility.Summary; |