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_RespawnComponentClass |
bool CanSpawn | ( | SCR_SpawnData | data | ) |
Request an authority confirmation whether spawn with the provided data is possible.
The request is partially validated on client before transmission to the authority occurs. It is then further evaluated and processed by a SCR_RespawnHandlerComponent corresponding to each SCR_SpawnRequestComponent.
Notable callbacks:
[in] | data |
Definition at line 392 of file SCR_RespawnComponent.c.
OnCanRespawnRequestInvoker GetOnCanRespawnRequestInvoker_O | ( | ) |
Definition at line 70 of file SCR_RespawnComponent.c.
OnCanRespawnRequestInvoker GetOnCanRespawnRequestInvoker_S | ( | ) |
Definition at line 79 of file SCR_RespawnComponent.c.
OnCanRespawnResponseInvoker GetOnCanRespawnResponseInvoker_O | ( | ) |
Definition at line 90 of file SCR_RespawnComponent.c.
OnCanRespawnResponseInvoker GetOnCanRespawnResponseInvoker_S | ( | ) |
Definition at line 100 of file SCR_RespawnComponent.c.
OnRespawnRequestInvoker GetOnRespawnFinalizeBeginInvoker_O | ( | ) |
When the spawn process reaches it end, the authority notifies the client about the last state starting ("finalization"). This is the last state after which the player gains control of the desired controllable, or receives a response (see GetOnRespawnResponseInvoker_O) about a possible (rare?) failure.
Definition at line 150 of file SCR_RespawnComponent.c.
OnRespawnReadyInvoker GetOnRespawnReadyInvoker_O | ( | ) |
Definition at line 60 of file SCR_RespawnComponent.c.
OnRespawnRequestInvoker GetOnRespawnRequestInvoker_O | ( | ) |
Definition at line 110 of file SCR_RespawnComponent.c.
OnRespawnRequestInvoker GetOnRespawnRequestInvoker_S | ( | ) |
Definition at line 119 of file SCR_RespawnComponent.c.
OnRespawnResponseInvoker GetOnRespawnResponseInvoker_O | ( | ) |
Definition at line 129 of file SCR_RespawnComponent.c.
OnRespawnResponseInvoker GetOnRespawnResponseInvoker_S | ( | ) |
Definition at line 138 of file SCR_RespawnComponent.c.
protected SCR_SpawnRequestComponent GetRequestComponent | ( | SCR_SpawnData | data | ) |
Find a request component based on provided data instance type.
[in] | data |
Definition at line 444 of file SCR_RespawnComponent.c.
void NotifyReadyForSpawn_S | ( | ) |
Authority: Send notification to this player that they are ready to spawn.
Definition at line 263 of file SCR_RespawnComponent.c.
protected void RegisterRespawnRequestComponents | ( | IEntity | owner | ) |
Register all SCR_SpawnRequestComponent found in the hierarchy.
[in] | owner |
Definition at line 408 of file SCR_RespawnComponent.c.
bool RequestClearPlayerFaction | ( | ) |
bool RequestClearPlayerLoadout | ( | ) |
void RequestClearPlayerSpawnPoint | ( | ) |
bool RequestPlayerFaction | ( | Faction | faction | ) |
protected void RequestPlayerFactionIndex | ( | int | factionIndex | ) |
bool RequestPlayerLoadout | ( | SCR_BasePlayerLoadout | loadout | ) |
protected void RequestPlayerLoadoutIndex | ( | int | loadoutIndex | ) |
bool RequestPlayerSpawnPoint | ( | SCR_SpawnPoint | spawnPoint | ) |
protected void RequestPlayerSpawnPointIdentity | ( | RplId | spawnPointIdentity | ) |
void RequestPlayerSuicide | ( | ) |
Definition at line 231 of file SCR_RespawnComponent.c.
void RequestQuickRespawn | ( | ) |
void RequestRespawn | ( | ) |
Sends a respawn request based on assigned loadout and selected spawn point.
Definition at line 694 of file SCR_DeployMenuBase.c.
bool RequestSpawn | ( | SCR_SpawnData | data | ) |
Request a spawn with the provided data.
The request is partially validated on client before transmission to the authority occurs. It is then further evaluated and processed by a SCR_RespawnHandlerComponent corresponding to each SCR_SpawnRequestComponent.
Notable callbacks:
[in] | data |
Definition at line 364 of file SCR_RespawnComponent.c.
protected void Rpc_NotifyReadyForSpawn_O | ( | ) |
Definition at line 270 of file SCR_RespawnComponent.c.
void SCR_RespawnComponent | ( | IEntityComponentSource | src, |
IEntity | ent, | ||
IEntity | parent | ||
) |
[in] | src | |
[in] | ent | |
[in] | parent |
Definition at line 576 of file SCR_RespawnComponent.c.
SCR_RespawnComponentClass ERROR = 1 |
SCR_RespawnComponentClass ERROR_FORBIDDEN = 2 |
Can happen if we are setting a loadout from a faction to which we do not belong to or similar.
protected ref map<typename, SCR_SpawnRequestComponent> m_mRequestComponents = new map<typename, SCR_SpawnRequestComponent>() |
List of all request components - children of this component, stored by their assigned type. See also:SCR_SpawnRequestComponent.GetDataType()
Definition at line 40 of file SCR_RespawnComponent.c.
protected ref OnCanRespawnRequestInvoker m_OnCanRespawnRequestInvoker_O = new OnCanRespawnRequestInvoker() |
Definition at line 66 of file SCR_RespawnComponent.c.
protected ref OnCanRespawnRequestInvoker m_OnCanRespawnRequestInvoker_S = new OnCanRespawnRequestInvoker() |
Definition at line 75 of file SCR_RespawnComponent.c.
protected ref OnCanRespawnResponseInvoker m_OnCanRespawnResponseInvoker_O = new OnCanRespawnResponseInvoker() |
Definition at line 85 of file SCR_RespawnComponent.c.
protected ref OnCanRespawnResponseInvoker m_OnCanRespawnResponseInvoker_S = new OnCanRespawnResponseInvoker() |
Definition at line 95 of file SCR_RespawnComponent.c.
protected ref OnRespawnRequestInvoker m_OnRespawnFinalizeBeginInvoker_O = new OnRespawnRequestInvoker() |
Definition at line 145 of file SCR_RespawnComponent.c.
protected ref OnRespawnReadyInvoker m_OnRespawnReadyInvoker_O = new OnRespawnReadyInvoker() |
Definition at line 56 of file SCR_RespawnComponent.c.
protected ref OnRespawnRequestInvoker m_OnRespawnRequestInvoker_O = new OnRespawnRequestInvoker() |
Definition at line 106 of file SCR_RespawnComponent.c.
protected ref OnRespawnRequestInvoker m_OnRespawnRequestInvoker_S = new OnRespawnRequestInvoker() |
Definition at line 115 of file SCR_RespawnComponent.c.
protected ref OnRespawnResponseInvoker m_OnRespawnResponseInvoker_O = new OnRespawnResponseInvoker() |
Definition at line 125 of file SCR_RespawnComponent.c.
protected ref OnRespawnResponseInvoker m_OnRespawnResponseInvoker_S = new OnRespawnResponseInvoker() |
Definition at line 134 of file SCR_RespawnComponent.c.
SCR_RespawnComponentClass m_PlayerController = 2 |
Parent entity (owner) - has to be a player controller for RPCs.
Dummy communicator for RespawnSystem. Must be attached to PlayerController entity.
protected RplComponent m_RplComponent |
Parent entity's rpl component.
Definition at line 35 of file SCR_RespawnComponent.c.
OK = 0 |
Result code for request/assign response.
Definition at line 14 of file ECanBeEquippedResult.c.