diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-11-16 16:21:17 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-11-16 16:21:17 -0500 |
commit | 785af919521124ea7f231aa1437525cf27f82d6c (patch) | |
tree | 7940b5edfd1a55510c3e945bf998af912cd0e4e7 /src/StardewModdingAPI/Manifest.cs | |
parent | 1ac930979a34c2fde4e0fb5ff5244ea18c68aa77 (diff) | |
download | SMAPI-785af919521124ea7f231aa1437525cf27f82d6c.tar.gz SMAPI-785af919521124ea7f231aa1437525cf27f82d6c.tar.bz2 SMAPI-785af919521124ea7f231aa1437525cf27f82d6c.zip |
add optional 'minimum API version' field to manifest (#176)
Diffstat (limited to 'src/StardewModdingAPI/Manifest.cs')
-rw-r--r-- | src/StardewModdingAPI/Manifest.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Manifest.cs b/src/StardewModdingAPI/Manifest.cs index c07dc845..c7e54335 100644 --- a/src/StardewModdingAPI/Manifest.cs +++ b/src/StardewModdingAPI/Manifest.cs @@ -44,6 +44,9 @@ namespace StardewModdingAPI [Obsolete("Use " + nameof(Mod) + "." + nameof(Mod.Helper) + "." + nameof(ModHelper.ReadConfig) + " instead")] public virtual bool PerSaveConfigs { get; set; } + /// <summary>The minimum SMAPI version required by this mod, if any.</summary> + public string MinimumApiVersion { get; set; } + /// <summary>The name of the DLL in the directory that has the <see cref="Mod.Entry"/> method.</summary> public virtual string EntryDll { get; set; } = ""; } |