summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/ModFailReason.cs
blob: cfb76a3387dc7baf22460b7a3fa3a427f39f4c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 folder is empty or contains only ignored files.</summary>
        EmptyFolder,

        /// <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,

        /// <summary>The folder is an XNB mod, which can't be loaded through SMAPI.</summary>
        XnbMod
    }
}