HarmonyMethod
A wrapper around a method to use it as a patch (for example a Prefix)
Install this patch after patches with these Harmony IDs
Array of argument types of the patch method
Install this patch before patches with these Harmony IDs
Patch Category
Create debug output for this patch
Class/type declaring this patch
The original method
Patch method name
Optional patch MethodType
Priority of the patch
Reverse patch type, see HarmonyReversePatchType
public HarmonyMethod()
Default constructor
Creates a patch from a given method
Creates a patch from a given method
public HarmonyMethod(MethodInfo method, int priority = -1, string[] before = null, string[] after = null, bool? debug = default)
Creates a patch from a given method
public HarmonyMethod(Delegate delegate, int priority = -1, string[] before = null, string[] after = null, bool? debug = default)
Creates a patch from a given method
Creates a patch from a given method
Gets the names of all internal patch info fields
Merges annotations
Creates a patch from a given method
Creates a patch from a given method