From 1aa44b2624936a3543dd82329e29732b5278affc Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 20 Sep 2017 00:08:04 -0400 Subject: add support for detecting game patching via Harmony (#347) --- .../Framework/ModLoading/InstructionHandleResult.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs') diff --git a/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs b/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs index 3921e9c4..f4abb095 100644 --- a/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs +++ b/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs @@ -10,6 +10,9 @@ namespace StardewModdingAPI.Framework.ModLoading Rewritten, /// The instruction is not compatible and can't be rewritten for compatibility. - NotCompatible + NotCompatible, + + /// The instruction is compatible, but patches the game in a way that may impact stability. + DetectedGamePatch } } -- cgit