ILHookDetour Class
Definition
Section titled “Definition”Implements MonoDetour support for a MonoMod.RuntimeDetour.ILHook which supports modifying the target method on the CIL level with a manipulator method of type ILManipulationInfo.Manipulator.
public class ILHookDetour : IMonoDetourHookApplierInheritance object
Implements IMonoDetourHookApplier
Properties
Section titled “Properties”All the available metadata for the MonoDetour Hook.
public IReadOnlyMonoDetourHook Hook { get; set; }Methods
Section titled “Methods”ApplierManipulator(ILContext)
Section titled “ApplierManipulator(ILContext)”The MonoMod.Cil.ILContext.Manipulator method that is called when the ILHook is applied.
public void ApplierManipulator(ILContext il)Parameters
Section titled “Parameters”il MonoMod.Cil.ILContext
The MonoMod.Cil.ILContext passed for manipulating the target method.