Click or drag to resize

HPatchOperation Class

Provides the necessary data to apply a single Harmony patch.
Inheritance Hierarchy
SystemObject
  com.tiberiumfusion.ttplugins.HarmonyPluginsHPatchOperation

Namespace:  com.tiberiumfusion.ttplugins.HarmonyPlugins
Assembly:  TTPlugins (in TTPlugins.dll) Version: 1.2.0.1 (1.2.0.1)
Syntax
public class HPatchOperation
Request Example View Source

The HPatchOperation type exposes the following members.

Constructors
  NameDescription
Public methodHPatchOperation(MethodBase, MethodInfo, HPatchLocation, Int32)
Creates a new patch operation using the supplied target method, stub method, and patch location.
Public methodHPatchOperation(Type, String, MethodInfo, HPatchLocation, Int32)
Creates a new patch operation using the supplied target type & method name, stub method, and patch location.
Top
Properties
  NameDescription
Public propertyPatchLocation
Whether the stub method will be patched as a prefix or postfix on the target method.
Public propertyPatchPriority
The priority of the patched stub method. Higher numbers go first. If -1, the default priority will be used (typically 400).
Public propertyStubMethod
The stub method which will be appended or prepended to the target method.
Public propertyTargetMethod
The target method which will be dynamically patched to use the stub method.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also