summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/IManifest.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-09-23 19:15:07 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-09-23 19:15:07 -0400
commit873abef23563f5273e9b66d7b7e3cc2f5e4e0e92 (patch)
tree719f112605271149b2e75a1bd1d44a8b870e9fdc /src/StardewModdingAPI/IManifest.cs
parente178ed14be24e3971d50addaebb3d13c19c18304 (diff)
downloadSMAPI-873abef23563f5273e9b66d7b7e3cc2f5e4e0e92.tar.gz
SMAPI-873abef23563f5273e9b66d7b7e3cc2f5e4e0e92.tar.bz2
SMAPI-873abef23563f5273e9b66d7b7e3cc2f5e4e0e92.zip
add mod update checks based on manifest fields (#336)
Diffstat (limited to 'src/StardewModdingAPI/IManifest.cs')
-rw-r--r--src/StardewModdingAPI/IManifest.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/IManifest.cs b/src/StardewModdingAPI/IManifest.cs
index 407db1ce..28f6570c 100644
--- a/src/StardewModdingAPI/IManifest.cs
+++ b/src/StardewModdingAPI/IManifest.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace StardewModdingAPI
{
@@ -32,7 +32,13 @@ namespace StardewModdingAPI
/// <summary>The other mods that must be loaded before this mod.</summary>
IManifestDependency[] Dependencies { get; }
+ /// <summary>The mod's unique ID in Nexus Mods (if any), used for update checks.</summary>
+ string NexusID { get; set; }
+
+ /// <summary>The mod's organisation and project name on GitHub (if any), used for update checks.</summary>
+ string GitHubProject { get; set; }
+
/// <summary>Any manifest fields which didn't match a valid field.</summary>
IDictionary<string, object> ExtraFields { get; }
}
-} \ No newline at end of file
+}