HookTargetRecords.HookTargetInfo Class
Definition
Section titled “Definition”Information about a hook target method.
public class HookTargetRecords.HookTargetInfoInheritance object
Properties
Section titled “Properties”PrefixInfo
Section titled “PrefixInfo”Information relevant to Prefix hooks.
public HookTargetRecords.TargetPrefixInfo PrefixInfo { get; }PostfixInfo
Section titled “PostfixInfo”Information relevant to Postfix hooks.
public HookTargetRecords.TargetPostfixInfo PostfixInfo { get; }ReturnValue
Section titled “ReturnValue”The local variable containing the return value of the method.
public VariableDefinition? ReturnValue { get; }OriginalInstructions
Section titled “OriginalInstructions”A list of the original instructions before the method was manipulated.
public ReadOnlyCollection<Instruction> OriginalInstructions { get; }Remarks
Section titled “Remarks”This list has the same instruction instances as the current MonoMod.Cil.ILContext, meaning some may have been modified.
Methods
Section titled “Methods”SetInstructionOwner(Instruction, string)
Section titled “SetInstructionOwner(Instruction, string)”Give the provided instruction an owner name to identify it by in MonoDetour’s CIL analysis exception reports.
public void SetInstructionOwner(Instruction instruction, string owner)Parameters
Section titled “Parameters”instruction Instruction
The instruction to give an owner to.
owner string
The owner name.
Remarks
Section titled “Remarks”Names above 25 characters are truncated. Note that this limit could be changed in the future.