diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-03 13:02:15 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-03 13:02:15 -0400 |
commit | c84310dfebafd3085dc418f3620154f9934865de (patch) | |
tree | d71d47797d2b2ad13371b7f9d562aa3e097d330e /src/StardewModdingAPI/Framework/Manifest.cs | |
parent | 482a91962ac02cf83c2647fd7e5ba8627bd0bb0b (diff) | |
parent | 0a2f7e52b9fc1e60fe491b8fd28cf8377f79290b (diff) | |
download | SMAPI-c84310dfebafd3085dc418f3620154f9934865de.tar.gz SMAPI-c84310dfebafd3085dc418f3620154f9934865de.tar.bz2 SMAPI-c84310dfebafd3085dc418f3620154f9934865de.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/StardewModdingAPI/Framework/Manifest.cs')
-rw-r--r-- | src/StardewModdingAPI/Framework/Manifest.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Framework/Manifest.cs b/src/StardewModdingAPI/Framework/Manifest.cs index 189da9a8..62c711e2 100644 --- a/src/StardewModdingAPI/Framework/Manifest.cs +++ b/src/StardewModdingAPI/Framework/Manifest.cs @@ -1,5 +1,7 @@ using System; +using System.Collections.Generic; using Newtonsoft.Json; +using Newtonsoft.Json.Linq; using StardewModdingAPI.Framework.Serialisation; namespace StardewModdingAPI.Framework @@ -35,5 +37,9 @@ namespace StardewModdingAPI.Framework /// <summary>Whether the mod uses per-save config files.</summary> [Obsolete("Use " + nameof(Mod) + "." + nameof(Mod.Helper) + "." + nameof(IModHelper.ReadConfig) + " instead")] public bool PerSaveConfigs { get; set; } + + /// <summary>Any manifest fields which didn't match a valid field.</summary> + [JsonExtensionData] + public IDictionary<string, object> ExtraFields { get; set; } } } |