![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_RespawnTimerComponentClass |
Macros | |
| #define | RESPAWN_TIMER_COMPONENT_DEBUG |
Functions | |
| SCR_RespawnTimerComponentClass SCR_BaseGameModeComponentClass | Attribute ("10", UIWidgets.EditBox, "Default time in seconds that a player has to wait after dead to respawn.", category:"Respawn Timers")] protected float m_fRespawnTime |
| Must be attached to a GameMode. | |
| override bool | RplSave (ScriptBitWriter writer) |
| override bool | RplLoad (ScriptBitReader reader) |
| bool | IsMaster () |
| Are we the master of this component's RplComponent node? | |
| WorldTimestamp | GetCurrentTime () |
| void | SetRespawnTime (int playerID, float respawnTime) |
| bool | IsPlayerEnqueued (int playerID) |
| bool | GetCanPlayerSpawn (int playerID, float additionalTime=0) |
| int | GetPlayerRemainingTime (int playerID, float additionalTime=0) |
| override void | OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData) |
| override void | OnPlayerDeleted (int playerId, IEntity player) |
| void | DrawDebugInfo () |
| override void | EOnDiag (IEntity owner, float timeSlice) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| override void | OnDelete (IEntity owner) |
| void | SCR_RespawnTimerComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
| void | ~SCR_RespawnTimerComponent () |
Variables | |
| ref map< int, ref SCR_RespawnTimer > | m_mRespawnTimers = new map<int, ref SCR_RespawnTimer>() |
| RplComponent | m_RplComponent |
| RplComponent attached to this component's owner entity. | |
| #define RESPAWN_TIMER_COMPONENT_DEBUG |
| SCR_RespawnTimerComponentClass SCR_BaseGameModeComponentClass Attribute | ( | "10" | , |
| UIWidgets. | EditBox, | ||
| "Default time in seconds that a player has to wait after dead to respawn." | , | ||
| category:"Respawn Timers" | ) |
Must be attached to a GameMode.
|
protected |
Definition at line 256 of file SCR_RespawnTimerComponent.c.
Only relevant to server and local player.
| [in] | playerID | |
| [in] | additionalTime |
Definition at line 115 of file SCR_RespawnTimerComponent.c.
|
protected |
Definition at line 79 of file SCR_RespawnTimerComponent.c.
| [in] | playerID | |
| [in] | additionalTime |
Definition at line 130 of file SCR_RespawnTimerComponent.c.
|
protected |
Definition at line 323 of file SCR_RespawnTimerComponent.c.
Called after a player gets deleted.
| [in] | playerId | Player ID |
| [in] | player | Player entity |
Definition at line 170 of file SCR_RespawnTimerComponent.c.
|
protected |
Start respawn timer for provided entity if a player controlled it.
| [in] | playerId | |
| [in] | playerEntity | |
| [in] | killerEntity | |
| [in] | killer |
Called after a player gets killed.
| [in] | instigatorContextData | Holds the data of the victim and killer |
| [in] | playerId | |
| [in] | playerEntity | |
| [in] | killerEntity | |
| [in] | killer |
Definition at line 148 of file SCR_RespawnTimerComponent.c.
|
protected |
Deserialise state of this component on the client.
| [in] | reader |
Definition at line 47 of file SCR_RespawnTimerComponent.c.
|
protected |
Serialise state of this component on the server.
| [in] | writer |
Definition at line 30 of file SCR_RespawnTimerComponent.c.
|
protected |
| [in] | src | |
| [in] | ent | |
| [in] | parent |
Definition at line 335 of file SCR_RespawnTimerComponent.c.
| [in] | playerID | |
| [in] | respawnTime |
Definition at line 91 of file SCR_RespawnTimerComponent.c.
|
protected |
Definition at line 348 of file SCR_RespawnTimerComponent.c.
|
protected |
Map of respawn timers of individual players.
key: PlayerId of target player
val: RespawnTimer object
Definition at line 17 of file SCR_RespawnTimerComponent.c.
|
protected |
RplComponent attached to this component's owner entity.
Definition at line 20 of file SCR_RespawnTimerComponent.c.