diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-20 00:08:04 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-20 00:08:04 -0400 |
commit | 1aa44b2624936a3543dd82329e29732b5278affc (patch) | |
tree | 439c6f966d8bf84f03274a8c85af4b9186f910e7 /src/StardewModdingAPI/Metadata | |
parent | ab135fbd84483da661889947bd65cbd5eb72f74e (diff) | |
download | SMAPI-1aa44b2624936a3543dd82329e29732b5278affc.tar.gz SMAPI-1aa44b2624936a3543dd82329e29732b5278affc.tar.bz2 SMAPI-1aa44b2624936a3543dd82329e29732b5278affc.zip |
add support for detecting game patching via Harmony (#347)
Diffstat (limited to 'src/StardewModdingAPI/Metadata')
-rw-r--r-- | src/StardewModdingAPI/Metadata/InstructionMetadata.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Metadata/InstructionMetadata.cs b/src/StardewModdingAPI/Metadata/InstructionMetadata.cs index fc4f112c..c53755ae 100644 --- a/src/StardewModdingAPI/Metadata/InstructionMetadata.cs +++ b/src/StardewModdingAPI/Metadata/InstructionMetadata.cs @@ -70,6 +70,11 @@ namespace StardewModdingAPI.Metadata #endif /**** + ** detect code which may impact game stability + ****/ + new TypeFinder("Harmony.HarmonyInstance", InstructionHandleResult.DetectedGamePatch), + + /**** ** rewrite CIL to fix incompatible code ****/ // crossplatform |