docs/api/HarmonyLib.html
A helper class for reflection related functions
Adds extensions to Type for a lot of AccessTools methods
By adding the following using statement to your source code: using static HarmonyLib.Code; you can for example start using Ldarg_1 in you code instead of new CodeMatch(OpCodes.Ldarg_1) and then you can use array notation to add an operand and/or a name: Call[myMethodInfo] instead of new CodeMatch(OpCodes.Call, myMethodInfo)
An abstract wrapper around OpCode and their operands. Used by transpilers
Extensions for CodeInstruction
Extensions for a sequence of CodeInstruction
A CodeInstruction match
A CodeInstruction matcher
General extensions for collections
A factory to create delegate types
An exception block
A helper class for fast access to getters and setters
A file log for debugging
General extensions for common cases
The Harmony instance is the main entry to Harmony. After creating one with an unique identifier, it is used to patch and query the current application domain
A Harmony annotation
A Harmony annotation
The base class for all Harmony annotations (not meant to be used directly)
A Harmony annotation
Specifies the Cleanup function in a patch class
A Harmony annotation
Annotation to define the original method for delegate injection
Under Mono, HarmonyException wraps IL compile errors with detailed information about the failure
Specifies the Finalizer function in a patch class
A wrapper around a method to use it as a patch (for example a Prefix)
Annotation extensions
Annotation to define your Harmony patch methods
A Harmony annotation to define that all methods in a class are to be patched
Annotation to define a category for use with PatchCategory
Specifies the Postfix function in a patch class
Specifies the Prefix function in a patch class
Specifies the Prepare function in a patch class
A Harmony annotation
Annotation to define your standin methods for reverse patching
Specifies the TargetMethod function in a patch class
Specifies the TargetMethods function in a patch class
Specifies the Transpiler function in a patch class
Occcurances of a method that is called inside some outer method
General extensions for collections
A helper class to invoke method with delegates
A serializable patch
A PatchClassProcessor used to turn HarmonyAttribute on a class/type into patches
A group of patches
Serializable patch information
A PatchProcessor handles patches on a method/constructor
A patch priority
A reverse patcher
A helper class to retrieve reflection info for non-private methods
A collection of commonly used transpilers
A reflection helper to read and write private elements
A reflection helper to read and write private elements
Specifies the type of argument
Exception block types
Specifies the type of patch
Specifies the type of reverse patch
Specifies the type of method call dispatching mechanics
Specifies the type of method
A readable/assignable reference delegate to a static field
A readable/assignable reference delegate to an instance field of a class or static field (NOT an instance field of a struct)
A readable/assignable reference delegate to an instance field of a struct
Delegate for error handling
A delegate to invoke a method
A constructor delegate type
Delegate type for "ref return" injections