Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_WaveRespawnTimerComponentClass |
Macros | |
#define | RESPAWN_TIMER_COMPONENT_DEBUG |
Functions | |
SCR_WaveRespawnTimerComponentClass SCR_RespawnTimerComponentClass | RplProp ()] protected ref array< ref SCR_RespawnTimer > m_aFactionRespawnTimers |
Must be attached to a GameMode. More... | |
override void | DrawDebugInfo () |
override bool | GetCanPlayerSpawn (int playerID, float additionalTime=0) |
override int | GetPlayerRemainingTime (int playerID, float additionalTime=0) |
override void | OnPlayerSpawned (int playerId, IEntity controlledEntity) |
override void | OnPlayerKilled (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer) |
override void | OnPlayerDeleted (int playerId, IEntity player) |
override void | OnPlayerConnected (int playerId) |
void | RpcDo_StartFactionTimer (int factionIndex, WorldTimestamp rplTime) |
override void | EOnFrame (IEntity owner, float timeSlice) |
override void | OnPostInit (IEntity owner) |
Initialise this component. More... | |
override void | EOnInit (IEntity owner) |
Initialise this component with data from FactionsManager. More... | |
Variables | |
protected ref array< int > | m_aAllowedPlayers = {} |
protected ref array< int > | m_aWaitingPlayers = {} |
#define RESPAWN_TIMER_COMPONENT_DEBUG |
override void DrawDebugInfo | ( | ) |
Definition at line 24 of file SCR_WaveRespawnTimerComponent.c.
override void EOnFrame | ( | IEntity | owner, |
float | timeSlice | ||
) |
Definition at line 161 of file SCR_WaveRespawnTimerComponent.c.
override bool GetCanPlayerSpawn | ( | int | playerID, |
float | additionalTime = 0 |
||
) |
Definition at line 74 of file SCR_WaveRespawnTimerComponent.c.
Definition at line 80 of file SCR_WaveRespawnTimerComponent.c.
override void OnPlayerDeleted | ( | int | playerId, |
IEntity | player | ||
) |
Called after a player gets deleted.
[in] | playerId | Player ID |
[in] | player | Player entity |
Definition at line 133 of file SCR_WaveRespawnTimerComponent.c.
void RpcDo_StartFactionTimer | ( | int | factionIndex, |
WorldTimestamp | rplTime | ||
) |
Broadcasts that sets timer duration for provided faction.
duration | Duration of respawn timer. | |
[in] | factionIndex | |
[in] | rplTime |
Definition at line 154 of file SCR_WaveRespawnTimerComponent.c.
Must be attached to a GameMode.
Respawn timers per faction
Must be attached to a GameMode.
protected ref array<int> m_aAllowedPlayers = {} |
Definition at line 17 of file SCR_WaveRespawnTimerComponent.c.
protected ref array<int> m_aWaitingPlayers = {} |
Definition at line 20 of file SCR_WaveRespawnTimerComponent.c.