blob: b10510ff85a77297eabcbc07d83ccc2d18b83885 (
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
|
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 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
}
}
|