summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/IInstructionHandler.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-09 00:51:56 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-09 00:51:56 -0400
commit311033964924b69961c3a9f3e21e6e3ea880910e (patch)
tree6c8443b1a222210e3e19356224398cc199f06134 /src/SMAPI/Framework/ModLoading/IInstructionHandler.cs
parentf16e477fc22bf76c33d8860acda090a199a0dcdb (diff)
downloadSMAPI-311033964924b69961c3a9f3e21e6e3ea880910e.tar.gz
SMAPI-311033964924b69961c3a9f3e21e6e3ea880910e.tar.bz2
SMAPI-311033964924b69961c3a9f3e21e6e3ea880910e.zip
add attribute type rewriting (#711)
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/IInstructionHandler.cs')
-rw-r--r--src/SMAPI/Framework/ModLoading/IInstructionHandler.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ModLoading/IInstructionHandler.cs b/src/SMAPI/Framework/ModLoading/IInstructionHandler.cs
index 65b45b08..f9d320a6 100644
--- a/src/SMAPI/Framework/ModLoading/IInstructionHandler.cs
+++ b/src/SMAPI/Framework/ModLoading/IInstructionHandler.cs
@@ -18,6 +18,13 @@ namespace StardewModdingAPI.Framework.ModLoading
*********/
/// <summary>Perform the predefined logic for a method if applicable.</summary>
/// <param name="module">The assembly module containing the instruction.</param>
+ /// <param name="type">The type definition to handle.</param>
+ /// <param name="assemblyMap">Metadata for mapping assemblies to the current platform.</param>
+ /// <param name="platformChanged">Whether the mod was compiled on a different platform.</param>
+ InstructionHandleResult Handle(ModuleDefinition module, TypeDefinition type, PlatformAssemblyMap assemblyMap, bool platformChanged);
+
+ /// <summary>Perform the predefined logic for a method if applicable.</summary>
+ /// <param name="module">The assembly module containing the instruction.</param>
/// <param name="method">The method definition to handle.</param>
/// <param name="assemblyMap">Metadata for mapping assemblies to the current platform.</param>
/// <param name="platformChanged">Whether the mod was compiled on a different platform.</param>