Struct SampSharpInitParams
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
Core
The open.mp core.
public readonly ICore Core
Field Value
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
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
Size
The size of this structure. Can be used to check if the structure is the correct version.
public readonly Size Size
Field Value
Properties
Info
Gets information about the SampSharp open.mp component.
public SampSharpInfo Info { get; }