Skip to content

PrefixDetour Class

Implements MonoDetour support for a Hook that will run at the start of the target method.

C#
public class PrefixDetour : 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.