Interface IClassEventHandler
Provides the events for GetEventDispatcher().
[OpenMpEventHandler]
public interface IClassEventHandler : IEventHandler<IClassEventHandler>
- Inherited Members
Methods
OnPlayerRequestClass(IPlayer, uint)
Called when a player requests to spawn with a class.
bool OnPlayerRequestClass(IPlayer player, uint classId)
Parameters
playerIPlayerThe player who requested the class.
classIduintThe ID of the class being requested.
Returns
- bool
trueto allow the class selection; otherwise,falseto deny it.