Skip to content

IReadOnlyMonoDetourHook Interface

A readonly MonoDetour Hook interface.

C#
public interface IReadOnlyMonoDetourHook

The method to hook.

C#
MethodBase Target { get; }

The hook or manipulator method.

C#
MethodBase Manipulator { get; }

A delegate of Manipulator; the hook or manipulator method.
Not null if the MonoDetourHook was passed a Delegate instead of a MethodBase during construction.

C#
Delegate? ManipulatorDelegate { get; }

The owner MonoDetourManager of this hook.

C#
MonoDetourManager Owner { get; }

Priority configuration for a MonoDetour Hook.

C#
MonoDetourConfig? Config { get; }

Gets whether or not this hook is valid and can be used.

C#
bool IsValid { get; }

Gets whether or not this hook is applied.

C#
bool IsApplied { get; }