summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs')
-rw-r--r--src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs b/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs
new file mode 100644
index 00000000..3921e9c4
--- /dev/null
+++ b/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs
@@ -0,0 +1,15 @@
+namespace StardewModdingAPI.Framework.ModLoading
+{
+ /// <summary>Indicates how an instruction was handled.</summary>
+ internal enum InstructionHandleResult
+ {
+ /// <summary>No special handling is needed.</summary>
+ None,
+
+ /// <summary>The instruction was successfully rewritten for compatibility.</summary>
+ Rewritten,
+
+ /// <summary>The instruction is not compatible and can't be rewritten for compatibility.</summary>
+ NotCompatible
+ }
+}