summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit.CoreInterfaces/IManifestDependency.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Toolkit.CoreInterfaces/IManifestDependency.cs')
-rw-r--r--src/SMAPI.Toolkit.CoreInterfaces/IManifestDependency.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/SMAPI.Toolkit.CoreInterfaces/IManifestDependency.cs b/src/SMAPI.Toolkit.CoreInterfaces/IManifestDependency.cs
new file mode 100644
index 00000000..e86cd1f4
--- /dev/null
+++ b/src/SMAPI.Toolkit.CoreInterfaces/IManifestDependency.cs
@@ -0,0 +1,18 @@
+namespace StardewModdingAPI
+{
+ /// <summary>A mod dependency listed in a mod manifest.</summary>
+ public interface IManifestDependency
+ {
+ /*********
+ ** Accessors
+ *********/
+ /// <summary>The unique mod ID to require.</summary>
+ string UniqueID { get; }
+
+ /// <summary>The minimum required version (if any).</summary>
+ ISemanticVersion MinimumVersion { get; }
+
+ /// <summary>Whether the dependency must be installed to use the mod.</summary>
+ bool IsRequired { get; }
+ }
+}