using System; namespace StardewModdingAPI.Toolkit.Framework.ModData { /// Indicates a detected non-error mod issue. [Flags] public enum ModWarning { /// No issues detected. None = 0, /// SMAPI detected incompatible code in the mod, but was configured to load it anyway. BrokenCodeLoaded = 1, /// The mod affects the save serializer in a way that may make saves unloadable without the mod. ChangesSaveSerialiser = 2, /// The mod patches the game in a way that may impact stability. PatchesGame = 4, /// The mod uses the dynamic keyword which won't work on Linux/Mac. UsesDynamic = 8, /// The mod references specialised 'unvalided update tick' events which may impact stability. UsesUnvalidatedUpdateTick = 16, /// The mod has no update keys set. NoUpdateKeys = 32, /// Uses .NET APIs for filesystem access. AccessesFilesystem = 64, /// Uses .NET APIs for shell or process access. AccessesShell = 128 } }