Skip to content

ILHookDetour Class

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.

C#
public class ILHookDetour : IMonoDetourHookApplier

Inheritance object

Implements IMonoDetourHookApplier

All the available metadata for the MonoDetour Hook.

C#
public IReadOnlyMonoDetourHook Hook { get; set; }

The MonoMod.Cil.ILContext.Manipulator method that is called when the ILHook is applied.

C#
public void ApplierManipulator(ILContext il)

il MonoMod.Cil.ILContext
The MonoMod.Cil.ILContext passed for manipulating the target method.