summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/IModMetadata.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-24 13:51:21 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-24 13:51:21 -0500
commitd932a11f51392cd42ab501185982af971f954c8d (patch)
tree366ae6bd9ed89e871bba66183b35a241ea3f386d /src/SMAPI/Framework/IModMetadata.cs
parent4c471ea2154772e0eee6a50be2f0e468915a1b9d (diff)
downloadSMAPI-d932a11f51392cd42ab501185982af971f954c8d.tar.gz
SMAPI-d932a11f51392cd42ab501185982af971f954c8d.tar.bz2
SMAPI-d932a11f51392cd42ab501185982af971f954c8d.zip
list broken dependencies first in 'skipped mods' list
Diffstat (limited to 'src/SMAPI/Framework/IModMetadata.cs')
-rw-r--r--src/SMAPI/Framework/IModMetadata.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/IModMetadata.cs b/src/SMAPI/Framework/IModMetadata.cs
index 6ee7df69..37927482 100644
--- a/src/SMAPI/Framework/IModMetadata.cs
+++ b/src/SMAPI/Framework/IModMetadata.cs
@@ -105,6 +105,10 @@ namespace StardewModdingAPI.Framework
/// <param name="validOnly">Only return valid update keys.</param>
IEnumerable<UpdateKey> GetUpdateKeys(bool validOnly = true);
+ /// <summary>Get the mod IDs that must be installed to load this mod.</summary>
+ /// <param name="includeOptional">Whether to include optional dependencies.</param>
+ IEnumerable<string> GetRequiredModIds(bool includeOptional = false);
+
/// <summary>Whether the mod has at least one valid update key set.</summary>
bool HasValidUpdateKeys();