Table of Contents

Interface IClassesComponent.IManagedInterface

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

Represents the managed interface implemented by its unmanaged counterpart.

public interface IClassesComponent.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

Create(int, int, Vector3, float, ref WeaponSlots)

Creates a new player class with the specified properties.

IClass Create(int skin, int team, Vector3 spawn, float angle, ref WeaponSlots weapons)

Parameters

skin int

The skin model ID for the class.

team int

The team ID for the class.

spawn Vector3

The spawn position for the class.

angle float

The spawn angle (rotation) for the class.

weapons WeaponSlots

The weapons assigned to the class.

Returns

IClass

The newly created class object.

GetEventDispatcher()

Gets the event dispatcher for class-related events.

IEventDispatcher<IClassEventHandler> GetEventDispatcher()

Returns

IEventDispatcher<IClassEventHandler>

The event dispatcher instance.