|
Arma Reforger Script API
|
Public Member Functions | |
| override TypeName | GetHandlerType () |
| override TypeName | GetDataType () |
| override bool | DoCanRequestRespawn (SCR_SpawnData data) |
| Request is first handled on the sending side (player or authority depending on context). | |
| override bool | DoRequestRespawn (SCR_SpawnData data) |
| Request is first handled on the sending side (player or authority depending on context). | |
Public Member Functions inherited from SCR_SpawnRequestComponent | |
| PlayerController | GetPlayerController () |
| int | GetPlayerId () |
| SCR_SpawnHandlerComponent | GetHandlerComponent () |
| bool | CanRequestRespawn (SCR_SpawnData data) |
| Sends an ask request to the authority to find out whether spawn with provided data is valid. | |
| bool | RequestRespawn (SCR_SpawnData data) |
| Requests respawn with provided data. | |
| bool | IsPreloading () |
| void | StartSpawnPreload (vector position) |
| void | ~SCR_SpawnRequestComponent () |
Additional Inherited Members | |
Protected Member Functions inherited from SCR_SpawnRequestComponent | |
| SCR_RespawnComponent | GetRespawnComponent () |
| SCR_SpawnLockComponent | GetLock () |
| bool | IsOwner () |
| bool | IsProxy () |
| override void | OnPostInit (IEntity owner) |
| Initialises the component by finding necessary dependencies. | |
| void | ProcessCanRequest_S (SCR_SpawnData data) |
| Authority call to dispatch provided data to corresponding SCR_SpawnHandlerComponent. | |
| void | SendCanResponse_S (SCR_ESpawnResult response, SCR_SpawnData data) |
| Authority: Sends a response from the server to the owner about current can-respawn request. | |
| void | Rpc_SendCanResponse_O (SCR_ESpawnResult response) |
| Owner: Processes received response about current spawn process from the authority, dispatches events. | |
| void | ProcessRequest_S (SCR_SpawnData data) |
| Authority call to dispatch provided data to corresponding SCR_SpawnHandlerComponent. | |
| void | OnFinalizeBegin_S (SCR_SpawnHandlerComponent handler, SCR_SpawnData data, IEntity spawnedEntity) |
| Authority callback when finalisation of spawn has began. | |
| void | AwaitFinalization_S (SCR_SpawnHandlerComponent handler, SCR_SpawnData data, IEntity spawnedEntity) |
| Authority callback to await finalisation. | |
| bool | CanFinalize_S (SCR_SpawnHandlerComponent handler, SCR_SpawnData data, IEntity spawnedEntity) |
| void | FinalizeRequest_S (SCR_SpawnHandlerComponent handler, SCR_SpawnData data, IEntity spawnedEntity) |
| Authority call to finalise respawn, after ProcessRequest_S (AwaitFinalization_S respectively) has finished. | |
| void | SendResponse_S (SCR_ESpawnResult response, SCR_SpawnData data) |
| Authority: Sends a response from the server to the owner about current respawn request. | |
| void | SendFinalizationBegin_S () |
| Send a notification from the authority that the finalisation has started. | |
| void | Rpc_OnFinalizationBegin_O () |
| void | NotifyPreloadStarted_S () |
| void | Rpc_NotifyPreloadStarted_S () |
| void | NotifyPreloadFinished_S () |
| void | Rpc_NotifyPreloadFinished_S () |
| void | Rpc_StartPreload_O (vector position) |
| void | Rpc_SendResponse_O (SCR_ESpawnResult response) |
| Owner: Processes received response about current spawn process from the authority, dispatches events. | |
| SCR_ChimeraAIAgent | FindAIAgent (IEntity entity) |
| Tries to find AI agent for provided entity. | |
| override bool SCR_SpawnPointRespawnRequestComponent.DoCanRequestRespawn | ( | SCR_SpawnData | data | ) |
Request is first handled on the sending side (player or authority depending on context).
This method can return false and will immediately raise a SCR_ESpawnResult.BAD_REQUEST response.
Implements SCR_SpawnRequestComponent.
| override bool SCR_SpawnPointRespawnRequestComponent.DoRequestRespawn | ( | SCR_SpawnData | data | ) |
Request is first handled on the sending side (player or authority depending on context).
This method can return false and will immediately raise a SCR_ESpawnResult.BAD_REQUEST response.
| [in] | data |
Implements SCR_SpawnRequestComponent.
| override TypeName SCR_SpawnPointRespawnRequestComponent.GetDataType | ( | ) |
Implements SCR_SpawnRequestComponent.
| override TypeName SCR_SpawnPointRespawnRequestComponent.GetHandlerType | ( | ) |
Implements SCR_SpawnRequestComponent.