diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-27 00:05:53 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-06-27 00:05:53 -0400 |
commit | 5f19e4f2035c36f9c6c882da3767d6f29409db1c (patch) | |
tree | b4b04714dd65ae3d6e487c346977dcba3536e0d6 /src/StardewModdingAPI.Toolkit/Framework/ModData/ModStatus.cs | |
parent | 9f0cfee55632663473ee06c0586035cc47abe397 (diff) | |
download | SMAPI-5f19e4f2035c36f9c6c882da3767d6f29409db1c.tar.gz SMAPI-5f19e4f2035c36f9c6c882da3767d6f29409db1c.tar.bz2 SMAPI-5f19e4f2035c36f9c6c882da3767d6f29409db1c.zip |
move mod DB parsing into toolkit (#532)
Diffstat (limited to 'src/StardewModdingAPI.Toolkit/Framework/ModData/ModStatus.cs')
-rw-r--r-- | src/StardewModdingAPI.Toolkit/Framework/ModData/ModStatus.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/StardewModdingAPI.Toolkit/Framework/ModData/ModStatus.cs b/src/StardewModdingAPI.Toolkit/Framework/ModData/ModStatus.cs new file mode 100644 index 00000000..09da74bf --- /dev/null +++ b/src/StardewModdingAPI.Toolkit/Framework/ModData/ModStatus.cs @@ -0,0 +1,18 @@ +namespace StardewModdingAPI.Toolkit.Framework.ModData +{ + /// <summary>Indicates how SMAPI should treat a mod.</summary> + public enum ModStatus + { + /// <summary>Don't override the status.</summary> + None, + + /// <summary>The mod is obsolete and shouldn't be used, regardless of version.</summary> + Obsolete, + + /// <summary>Assume the mod is not compatible, even if SMAPI doesn't detect any incompatible code.</summary> + AssumeBroken, + + /// <summary>Assume the mod is compatible, even if SMAPI detects incompatible code.</summary> + AssumeCompatible + } +} |