using StardewModdingAPI.Events; namespace StardewModdingAPI.Framework.ModLoading { /// Indicates how an instruction was handled. internal enum InstructionHandleResult { /// No special handling is needed. None, /// The instruction was successfully rewritten for compatibility. Rewritten, /// The instruction is not compatible and can't be rewritten for compatibility. NotCompatible, /// The instruction is compatible, but patches the game in a way that may impact stability. DetectedGamePatch, /// The instruction is compatible, but affects the save serializer in a way that may make saves unloadable without the mod. DetectedSaveSerialiser, /// The instruction is compatible, but uses the dynamic keyword which won't work on Linux/Mac. DetectedDynamic, /// The instruction is compatible, but references which may impact stability. DetectedUnvalidatedUpdateTick } }