summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/IManifestDependency.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/IManifestDependency.cs')
-rw-r--r--src/StardewModdingAPI/IManifestDependency.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/IManifestDependency.cs b/src/StardewModdingAPI/IManifestDependency.cs
index ebb1140e..027c1d59 100644
--- a/src/StardewModdingAPI/IManifestDependency.cs
+++ b/src/StardewModdingAPI/IManifestDependency.cs
@@ -11,5 +11,10 @@
/// <summary>The minimum required version (if any).</summary>
ISemanticVersion MinimumVersion { get; }
+
+#if SMAPI_2_0
+ /// <summary>Whether the dependency must be installed to use the mod.</summary>
+ bool IsRequired { get; }
+#endif
}
}