diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-03-12 01:31:15 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-03-12 01:31:15 -0500 |
commit | 6d2d90b7681e4e274e92742e98905ec4000486ca (patch) | |
tree | 80241918427c710303156d18f369f9b3b92717e6 /src/StardewModdingAPI/Constants.cs | |
parent | b0fab4a0764d4cd1eb807db88e704aa401e4f716 (diff) | |
download | SMAPI-6d2d90b7681e4e274e92742e98905ec4000486ca.tar.gz SMAPI-6d2d90b7681e4e274e92742e98905ec4000486ca.tar.bz2 SMAPI-6d2d90b7681e4e274e92742e98905ec4000486ca.zip |
add logic to detect incompatible mod instructions & reject mod load (#247)
Diffstat (limited to 'src/StardewModdingAPI/Constants.cs')
-rw-r--r-- | src/StardewModdingAPI/Constants.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Constants.cs b/src/StardewModdingAPI/Constants.cs index 66bf5842..d8149766 100644 --- a/src/StardewModdingAPI/Constants.cs +++ b/src/StardewModdingAPI/Constants.cs @@ -135,6 +135,14 @@ namespace StardewModdingAPI return new PlatformAssemblyMap(targetPlatform, removeAssemblyReferences, targetAssemblies); } + /// <summary>Get finders which match incompatible CIL instructions in mod assemblies.</summary> + internal static IEnumerable<IInstructionFinder> GetIncompatibilityFinders() + { + return new IInstructionFinder[] + { + }; + } + /// <summary>Get rewriters which fix incompatible CIL instructions in mod assemblies.</summary> internal static IEnumerable<IInstructionRewriter> GetRewriters() { |