summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Models/Manifest.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-02-18 14:18:41 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-02-18 14:18:41 -0500
commite7cb44efb7cc4fec1dc36c6110be0c948581be85 (patch)
treefa27e77f03415ddabb9c7060455c9a1eda099c8b /src/SMAPI/Framework/Models/Manifest.cs
parent0c1bca3db044b6f228538f1738d52c31e4481e48 (diff)
parentf0cddebbe956262cb3645c6e9d27ca0cfb056125 (diff)
downloadSMAPI-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.cs8
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; }