summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit/Framework/ModScanning/ModParseError.cs
blob: f1e782b655e167352eecdd4ce5127e566431f12c (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
namespace StardewModdingAPI.Toolkit.Framework.ModScanning
{
    /// <summary>Indicates why a mod could not be parsed.</summary>
    public enum ModParseError
    {
        /// <summary>No parse error.</summary>
        None,

        /// <summary>The folder is empty or contains only ignored files.</summary>
        EmptyFolder,

        /// <summary>The folder is an empty folder managed by Vortex.</summary>
        EmptyVortexFolder,

        /// <summary>The folder is ignored by convention.</summary>
        IgnoredFolder,

        /// <summary>The mod's <c>manifest.json</c> could not be parsed.</summary>
        ManifestInvalid,

        /// <summary>The folder contains non-ignored and non-XNB files, but none of them are <c>manifest.json</c>.</summary>
        ManifestMissing,

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