summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/ModFailReason.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-07 13:06:27 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-07 13:06:27 -0400
commit5e43bdbf5cd6dbab36c25287c85d42ccfeea2c83 (patch)
tree0a42305174eb84561a584549cd685c5e95670f36 /src/SMAPI/Framework/ModLoading/ModFailReason.cs
parent8da88b8fe5b41739c5cd0df3280b9770fc7f10a4 (diff)
parentf9fac11028354f15d786d5b854608edb10716f79 (diff)
downloadSMAPI-5e43bdbf5cd6dbab36c25287c85d42ccfeea2c83.tar.gz
SMAPI-5e43bdbf5cd6dbab36c25287c85d42ccfeea2c83.tar.bz2
SMAPI-5e43bdbf5cd6dbab36c25287c85d42ccfeea2c83.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/ModFailReason.cs')
-rw-r--r--src/SMAPI/Framework/ModLoading/ModFailReason.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ModLoading/ModFailReason.cs b/src/SMAPI/Framework/ModLoading/ModFailReason.cs
new file mode 100644
index 00000000..cd4623e7
--- /dev/null
+++ b/src/SMAPI/Framework/ModLoading/ModFailReason.cs
@@ -0,0 +1,27 @@
+namespace StardewModdingAPI.Framework.ModLoading
+{
+ /// <summary>Indicates why a mod could not be loaded.</summary>
+ internal enum ModFailReason
+ {
+ /// <summary>The mod has been disabled by prefixing its folder with a dot.</summary>
+ DisabledByDotConvention,
+
+ /// <summary>Multiple copies of the mod are installed.</summary>
+ Duplicate,
+
+ /// <summary>The mod has incompatible code instructions, needs a newer SMAPI version, or is marked 'assume broken' in the SMAPI metadata list.</summary>
+ Incompatible,
+
+ /// <summary>The mod's manifest is missing or invalid.</summary>
+ InvalidManifest,
+
+ /// <summary>The mod was deemed compatible, but SMAPI failed when it tried to load it.</summary>
+ LoadFailed,
+
+ /// <summary>The mod requires other mods which aren't installed, or its dependencies have a circular reference.</summary>
+ MissingDependencies,
+
+ /// <summary>The mod is marked obsolete in the SMAPI metadata list.</summary>
+ Obsolete
+ }
+}