diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-07-21 01:51:05 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-07-23 12:14:33 -0400 |
commit | c20b21bcaa799a9961799316b7f4b7d8f929ca3f (patch) | |
tree | 6455574bc9332c9d9676a572bbfa38e5fe7b5607 /src/StardewModdingAPI/Framework/Models/ModCompatibility.cs | |
parent | 1bf8e2b95ccb614580da08cded655ffc67b84651 (diff) | |
download | SMAPI-c20b21bcaa799a9961799316b7f4b7d8f929ca3f.tar.gz SMAPI-c20b21bcaa799a9961799316b7f4b7d8f929ca3f.tar.bz2 SMAPI-c20b21bcaa799a9961799316b7f4b7d8f929ca3f.zip |
add support for disambiguating IDs in mod compatibility list
Diffstat (limited to 'src/StardewModdingAPI/Framework/Models/ModCompatibility.cs')
-rw-r--r-- | src/StardewModdingAPI/Framework/Models/ModCompatibility.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/StardewModdingAPI/Framework/Models/ModCompatibility.cs b/src/StardewModdingAPI/Framework/Models/ModCompatibility.cs index 91be1d38..d3a9c533 100644 --- a/src/StardewModdingAPI/Framework/Models/ModCompatibility.cs +++ b/src/StardewModdingAPI/Framework/Models/ModCompatibility.cs @@ -9,11 +9,9 @@ namespace StardewModdingAPI.Framework.Models /********* ** Accessors *********/ - /**** - ** From config - ****/ /// <summary>The unique mod IDs.</summary> - public string[] ID { get; set; } + [JsonConverter(typeof(SFieldConverter))] + public ModCompatibilityID[] ID { get; set; } /// <summary>The mod name.</summary> public string Name { get; set; } |