Show / Hide Table of Contents

    Class NativeDetourData

    The data forming a "raw" native detour, created and consumed by DetourManager.Native.

    Inheritance
    System.Object
    NativeDetourData
    Namespace: MonoMod.RuntimeDetour
    Assembly: MonoMod.RuntimeDetour.dll
    Syntax
    public sealed class NativeDetourData : ValueType

    Fields

    Extra

    DetourManager.Native-specific data.

    Declaration
    public IntPtr Extra
    Field Value
    Type Description
    System.IntPtr

    Method

    The method to detour from. Set when the structure is created by the IDetourNativePlatform.

    Declaration
    public IntPtr Method
    Field Value
    Type Description
    System.IntPtr

    Size

    The size of the detour. Calculated when the structure is created by the IDetourNativePlatform.

    Declaration
    public uint Size
    Field Value
    Type Description
    System.UInt32

    Target

    The target method to be called instead. Set when the structure is created by the IDetourNativePlatform.

    Declaration
    public IntPtr Target
    Field Value
    Type Description
    System.IntPtr

    Type

    The type of the detour. Determined when the structure is created by the IDetourNativePlatform.

    Declaration
    public byte Type
    Field Value
    Type Description
    System.Byte
    Back to top Yet another C# modding swiss army knife.