diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-18 14:18:41 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-18 14:18:41 -0500 |
commit | e7cb44efb7cc4fec1dc36c6110be0c948581be85 (patch) | |
tree | fa27e77f03415ddabb9c7060455c9a1eda099c8b /src/SMAPI/Framework/Models/Manifest.cs | |
parent | 0c1bca3db044b6f228538f1738d52c31e4481e48 (diff) | |
parent | f0cddebbe956262cb3645c6e9d27ca0cfb056125 (diff) | |
download | SMAPI-e7cb44efb7cc4fec1dc36c6110be0c948581be85.tar.gz SMAPI-e7cb44efb7cc4fec1dc36c6110be0c948581be85.tar.bz2 SMAPI-e7cb44efb7cc4fec1dc36c6110be0c948581be85.zip |
Merge branch 'add-content-packs' into develop
Diffstat (limited to 'src/SMAPI/Framework/Models/Manifest.cs')
-rw-r--r-- | src/SMAPI/Framework/Models/Manifest.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/SMAPI/Framework/Models/Manifest.cs b/src/SMAPI/Framework/Models/Manifest.cs index f9762406..f5867cf3 100644 --- a/src/SMAPI/Framework/Models/Manifest.cs +++ b/src/SMAPI/Framework/Models/Manifest.cs @@ -20,16 +20,18 @@ namespace StardewModdingAPI.Framework.Models public string Author { get; set; } /// <summary>The mod version.</summary> - [JsonConverter(typeof(SemanticVersionConverter))] public ISemanticVersion Version { get; set; } /// <summary>The minimum SMAPI version required by this mod, if any.</summary> - [JsonConverter(typeof(SemanticVersionConverter))] public ISemanticVersion MinimumApiVersion { get; set; } - /// <summary>The name of the DLL in the directory that has the <see cref="IMod.Entry"/> method.</summary> + /// <summary>The name of the DLL in the directory that has the <see cref="IMod.Entry"/> method. Mutually exclusive with <see cref="ContentPackFor"/>.</summary> public string EntryDll { get; set; } + /// <summary>The mod which will read this as a content pack. Mutually exclusive with <see cref="IManifest.EntryDll"/>.</summary> + [JsonConverter(typeof(ManifestContentPackForConverter))] + public IManifestContentPackFor ContentPackFor { get; set; } + /// <summary>The other mods that must be loaded before this mod.</summary> [JsonConverter(typeof(ManifestDependencyArrayConverter))] public IManifestDependency[] Dependencies { get; set; } |