 |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file.
16 class PlayerController: GenericController
32 [
Obsolete(
"Use SCR_RespawnComponent.CanSpawn instead!")]
35 [
Obsolete(
"Use SCR_RespawnComponent.RequestSpawn instead!")]
81 event protected void OnInit(IEntity owner);
99 event void OnUpdate(
float timeSlice);
proto external bool CanViewContentCreatedBy(int playerId)
proto external bool SetCharacterCameraRenderActive(bool active)
proto external RespawnComponent GetRespawnComponent()
event protected void OnControlledEntityChanged(IEntity from, IEntity to)
Runs every time the controlled entity has been changed.
event protected void OnDestroyed(notnull Instigator killer)
Runs every time the controlled entity die.
proto external HUDManagerComponent GetHUDManagerComponent()
proto external PermissionState GetPlayerBlockedState(int playerId)
event protected void OnOwnershipChanged(bool changing, bool becameOwner)
proto external bool CanRequestRespawn()
event void OnUpdate(float timeSlice)
proto external bool IsChatAllowed()
Returns text communication privilege.
proto external bool IsVonAllowed()
Returns voice communication privilege.
proto external void RequestRespawn()
Send request to the server to spawn a playable controller for us.
proto external void SetPlayerBlockedState(int playerId, bool blocked)
PlayerControllerClass GenericControllerClass GetControlledEntity()
proto external PermissionState GetPlayerMutedState(int playerId)
proto external bool HasRole(EPlayerRole role)
Returns True if the user has given role assigned.
event protected void OnInit(IEntity owner)
proto external ActionManager GetActionManager()
Returns the Action Manager associated to this player controller.
proto external void SetPlayerMutedState(int playerId, bool blocked)
proto external bool SetControlledEntity(IEntity entity)
proto external int GetRplIdentity()
RespawnSystemComponentClass GameComponentClass Obsolete()] proto external GenericEntity DoSpawn(string prefab
RespawnSystemComponent should be attached to a gamemode to handle player spawning and respawning.
proto external PlayerCamera GetPlayerCamera()
proto external int GetPlayerId()