Table of Contents

Struct SampSharpInitParams

Namespace
SampSharp.OpenMp.Core
Assembly
SampSharp.OpenMp.Core.dll

Provides the parameters for initializing the SampSharp application as provided by the SampSharp open.mp component.

public readonly ref struct SampSharpInitParams
Inherited Members

Fields

ComponentList

The open.mp component list.

public readonly IComponentList ComponentList

Field Value

IComponentList

Core

The open.mp core.

public readonly ICore Core

Field Value

ICore

SetOnCleanup

Gets a pointer to an unmanaged function that configures a cleanup callback to be invoked.

public readonly delegate* unmanaged[Cdecl]<nint, void> SetOnCleanup

Field Value

delegate* unmanaged[Cdecl]<nint, void>

SetOnFreeComponent

Gets a pointer to an unmanaged function that configures a callback to be invoked when a component is being freed.

public readonly delegate* unmanaged[Cdecl]<nint, void> SetOnFreeComponent

Field Value

delegate* unmanaged[Cdecl]<nint, void>

Size

The size of this structure. Can be used to check if the structure is the correct version.

public readonly Size Size

Field Value

Size

Properties

Info

Gets information about the SampSharp open.mp component.

public SampSharpInfo Info { get; }

Property Value

SampSharpInfo