HPatchOperation Class |
Namespace: com.tiberiumfusion.ttplugins.HarmonyPlugins
The HPatchOperation type exposes the following members.
| Name | Description | |
|---|---|---|
| HPatchOperation(MethodBase, MethodInfo, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target method, stub method, and patch location.
| |
| HPatchOperation(Type, String, MethodInfo, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target type & method name, stub method, and patch location.
|
| Name | Description | |
|---|---|---|
| PatchLocation |
Whether the stub method will be patched as a prefix or postfix on the target method.
| |
| PatchPriority |
The priority of the patched stub method. Higher numbers go first. If -1, the default priority will be used (typically 400).
| |
| StubMethod |
The stub method which will be appended or prepended to the target method.
| |
| TargetMethod |
The target method which will be dynamically patched to use the stub method.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |