HookTargetRecords Class
Definition
Section titled “Definition”An API for hooks to share information about target methods.
public static class HookTargetRecordsInheritance object
Methods
Section titled “Methods”GetHookTargetInfo(ILContext)
Section titled “GetHookTargetInfo(ILContext)”Gets a HookTargetRecords.HookTargetInfo for a target method.
public static HookTargetRecords.HookTargetInfo GetHookTargetInfo(ILContext il)Parameters
Section titled “Parameters”il MonoMod.Cil.ILContext
The MonoMod.Cil.ILContext for the target method.
Returns
Section titled “Returns”HookTargetRecords.HookTargetInfo
A HookTargetRecords.HookTargetInfo for the target method.
GetHookTargetInfo(MethodDefinition)
Section titled “GetHookTargetInfo(MethodDefinition)”Gets a HookTargetRecords.HookTargetInfo for a target method.
public static HookTargetRecords.HookTargetInfo GetHookTargetInfo(MethodDefinition method)Parameters
Section titled “Parameters”method MethodDefinition
The target MethodDefinition.
Returns
Section titled “Returns”HookTargetRecords.HookTargetInfo
A HookTargetRecords.HookTargetInfo for the target method.