Interface IClassesComponent.IManagedInterface
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
skinintThe skin model ID for the class.
teamintThe team ID for the class.
spawnVector3The spawn position for the class.
anglefloatThe spawn angle (rotation) for the class.
weaponsWeaponSlotsThe 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.