From 6eb36333b7b7568a3fa94f74f98722c41a6e54f3 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 30 Jun 2019 01:39:01 -0400 Subject: add 'broke in' API fields (#638) --- .../Framework/Clients/WebApi/ModExtendedMetadataModel.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs') diff --git a/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs b/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs index f8272ef7..989c18b0 100644 --- a/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs +++ b/src/StardewModdingAPI.Toolkit/Framework/Clients/WebApi/ModExtendedMetadataModel.cs @@ -51,6 +51,9 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi /// The human-readable summary of the compatibility status or workaround, without HTML formatitng. public string CompatibilitySummary { get; set; } + /// The game or SMAPI version which broke this mod, if applicable. + public string BrokeIn { get; set; } + /**** ** Beta compatibility @@ -62,6 +65,9 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi /// The human-readable summary of the compatibility status or workaround for the Stardew Valley beta (if any), without HTML formatitng. public string BetaCompatibilitySummary { get; set; } + /// The beta game or SMAPI version which broke this mod, if applicable. + public string BetaBrokeIn { get; set; } + /********* ** Public methods @@ -88,9 +94,11 @@ namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi this.CompatibilityStatus = wiki.Compatibility.Status; this.CompatibilitySummary = wiki.Compatibility.Summary; + this.BrokeIn = wiki.Compatibility.BrokeIn; this.BetaCompatibilityStatus = wiki.BetaCompatibility?.Status; this.BetaCompatibilitySummary = wiki.BetaCompatibility?.Summary; + this.BetaBrokeIn = wiki.BetaCompatibility?.BrokeIn; } // internal DB data -- cgit