summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Constants.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-03-12 01:31:15 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-03-12 01:31:15 -0500
commit6d2d90b7681e4e274e92742e98905ec4000486ca (patch)
tree80241918427c710303156d18f369f9b3b92717e6 /src/StardewModdingAPI/Constants.cs
parentb0fab4a0764d4cd1eb807db88e704aa401e4f716 (diff)
downloadSMAPI-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.cs8
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()
{