![]() |
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_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. | |
| override void | DrawDebugInfo () |
| override bool | GetCanPlayerSpawn (int playerID, float additionalTime=0) |
| override int | GetPlayerRemainingTime (int playerID, float additionalTime=0) |
| override void | OnPlayerSpawnFinalize_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity) |
| override void | OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData) |
| 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. | |
| override void | EOnInit (IEntity owner) |
| Initialise this component with data from FactionsManager. | |
Variables | |
| ref array< int > | m_aAllowedPlayers = {} |
| ref array< int > | m_aWaitingPlayers = {} |
| #define RESPAWN_TIMER_COMPONENT_DEBUG |
|
protected |
Definition at line 24 of file SCR_WaveRespawnTimerComponent.c.
Definition at line 161 of file SCR_WaveRespawnTimerComponent.c.
Definition at line 74 of file SCR_WaveRespawnTimerComponent.c.
Definition at line 80 of file SCR_WaveRespawnTimerComponent.c.
|
protected |
Called after a player is connected. Server-only.
| [in] | playerId | PlayerId of connected player. |
| [in] | playerId |
Definition at line 139 of file SCR_WaveRespawnTimerComponent.c.
Called after a player gets deleted.
| [in] | playerId | Player ID |
| [in] | player | Player entity |
Definition at line 133 of file SCR_WaveRespawnTimerComponent.c.
|
protected |
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 122 of file SCR_WaveRespawnTimerComponent.c.
|
protected |
| [in] | requestComponent | |
| [in] | handlerComponent | |
| [in] | data | |
| [in] | entity |
Definition at line 101 of file SCR_WaveRespawnTimerComponent.c.
|
protected |
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
|
protected |
Definition at line 17 of file SCR_WaveRespawnTimerComponent.c.
|
protected |
Definition at line 20 of file SCR_WaveRespawnTimerComponent.c.