Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PlayerSpawnPointManagerComponent Class Reference
Inheritance diagram for SCR_PlayerSpawnPointManagerComponent:

Protected Member Functions

void EnablePlayerSpawnPoints (bool enable, int notificationPlayerID=-1)
bool IsPlayerSpawnPointsEnabled ()
void AddSpawnPoint (int playerID)
void RemoveSpawnPoint (int playerID)
void EnableRadioVehicleSpawning (bool enable, int notificationPlayerID=-1)
void RPC_EnableRadioVehicleSpawning (bool enable)
bool IsRadioVehicleSpawningEnabled ()
ScriptInvokerBool GetOnRadioVehicleSpawningChanged ()
void EnableDeployableSpawnPoints (bool enable, int notificationPlayerID=-1)
void RPC_EnableDeployableSpawnPoints (bool enable)
bool IsDeployingSpawnPointsEnabled ()
ScriptInvokerBool GetOnSpawnPointDeployingEnabledChanged ()
void SetDeployableSpawnPointBudgetType (SCR_ESpawnPointBudgetType budgetType, int notificationPlayerID=-1)
void RPC_SetDeployableSpawnPointBudgetType (SCR_ESpawnPointBudgetType budgetType)
SCR_ESpawnPointBudgetType GetDeployableSpawnPointBudgetType ()
SCR_SpawnPointBudgetInvoker GetOnSpawnPointBudgetTypeChanged ()
void SetDeployableSpawnPointTicketAmount (int tickets, int notificationPlayerID=-1)
void RPC_SetDeployableSpawnPointTicketAmount (int tickets)
int GetDeployableSpawnPointTicketAmount ()
ScriptInvokerInt GetOnSpawnPointTicketAmountChanged ()
override void OnPlayerConnected (int playerId)
override void OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout)
override void OnPlayerSpawnFinalize_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity)
override void OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData)
override bool RplSave (ScriptBitWriter writer)
override bool RplLoad (ScriptBitReader reader)
override void OnDelete (IEntity owner)

Protected Attributes

ResourceName m_SpawnPointPrefab
bool m_bEnablePlayerSpawnPoints
bool m_bRadioVehicleSpawningEnabled
bool m_bDeployableSpawnPointsEnabled
SCR_ESpawnPointBudgetType m_eDeployableSpawnPointBudgetType
int m_iDeployableSpawnPointTicketAmount
ref ScriptInvokerBool m_OnRadioVehicleSpawningChanged
ref ScriptInvokerBool m_OnSpawnPointDeployingEnabledChanged
ref SCR_SpawnPointBudgetInvoker m_OnSpawnPointBudgetTypeChanged
ref ScriptInvokerInt m_OnSpawnPointTicketAmountChanged
ref map< int, SCR_PlayerSpawnPoint > m_SpawnPoints = new map<int, SCR_PlayerSpawnPoint>()

Detailed Description

Definition at line 10 of file SCR_PlayerSpawnPointManagerComponent.c.

Member Function Documentation

◆ AddSpawnPoint()

void SCR_PlayerSpawnPointManagerComponent::AddSpawnPoint ( int playerID)
inlineprotected

Definition at line 87 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ EnableDeployableSpawnPoints()

void SCR_PlayerSpawnPointManagerComponent::EnableDeployableSpawnPoints ( bool enable,
int notificationPlayerID = -1 )
inlineprotected

Set if players are allowed to deploy their radio backpack. (Server only)

Parameters
[in]enableTrue to enable the system
[in]notificationPlayerIDif not -1 then a notification will be shown to all players that deployable radio logic is enabled/disabled

Definition at line 176 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ EnablePlayerSpawnPoints()

void SCR_PlayerSpawnPointManagerComponent::EnablePlayerSpawnPoints ( bool enable,
int notificationPlayerID = -1 )
inlineprotected

Set status of automatic player spawn points. When enabled, a spawn point will be created for every connected player, even those who connect later. When disabled, all existing player spawn points will be deleted.

Parameters
[in]enableTrue to enable the system
[in]notificationPlayerIDif not -1 then a notification will be shown to all players that spawning on players is enabled/disabled

Definition at line 43 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ EnableRadioVehicleSpawning()

void SCR_PlayerSpawnPointManagerComponent::EnableRadioVehicleSpawning ( bool enable,
int notificationPlayerID = -1 )
inlineprotected

Set if Radio vehicle Respawning is enabled for specific respawn vehicles eg: Command Trucks (Server)

Parameters
[in]enableTrue to enable the system
[in]notificationPlayerIDif not -1 then a notification will be shown to all players that spawning on stationary vehicles is enabled/disabled

Definition at line 128 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ GetDeployableSpawnPointBudgetType()

SCR_ESpawnPointBudgetType SCR_PlayerSpawnPointManagerComponent::GetDeployableSpawnPointBudgetType ( )
inlineprotected
Returns

Definition at line 258 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ GetDeployableSpawnPointTicketAmount()

int SCR_PlayerSpawnPointManagerComponent::GetDeployableSpawnPointTicketAmount ( )
inlineprotected
Returns

Definition at line 301 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ GetOnRadioVehicleSpawningChanged()

ScriptInvokerBool SCR_PlayerSpawnPointManagerComponent::GetOnRadioVehicleSpawningChanged ( )
inlineprotected
Returns

Definition at line 164 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ GetOnSpawnPointBudgetTypeChanged()

SCR_SpawnPointBudgetInvoker SCR_PlayerSpawnPointManagerComponent::GetOnSpawnPointBudgetTypeChanged ( )
inlineprotected
Returns

Definition at line 265 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ GetOnSpawnPointDeployingEnabledChanged()

ScriptInvokerBool SCR_PlayerSpawnPointManagerComponent::GetOnSpawnPointDeployingEnabledChanged ( )
inlineprotected
Returns

Definition at line 212 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ GetOnSpawnPointTicketAmountChanged()

ScriptInvokerInt SCR_PlayerSpawnPointManagerComponent::GetOnSpawnPointTicketAmountChanged ( )
inlineprotected
Returns

Definition at line 308 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ IsDeployingSpawnPointsEnabled()

bool SCR_PlayerSpawnPointManagerComponent::IsDeployingSpawnPointsEnabled ( )
inlineprotected
Returns

Definition at line 205 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ IsPlayerSpawnPointsEnabled()

bool SCR_PlayerSpawnPointManagerComponent::IsPlayerSpawnPointsEnabled ( )
inlineprotected
Returns
true if the system is enabled, false otherwise

Definition at line 81 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ IsRadioVehicleSpawningEnabled()

bool SCR_PlayerSpawnPointManagerComponent::IsRadioVehicleSpawningEnabled ( )
inlineprotected
Returns

Definition at line 157 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ OnDelete()

override void SCR_PlayerSpawnPointManagerComponent::OnDelete ( IEntity owner)
inlineprotected

Definition at line 372 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ OnPlayerConnected()

override void SCR_PlayerSpawnPointManagerComponent::OnPlayerConnected ( int playerId)
inlineprotected

Definition at line 317 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ OnPlayerDisconnected()

override void SCR_PlayerSpawnPointManagerComponent::OnPlayerDisconnected ( int playerId,
KickCauseCode cause,
int timeout )
inlineprotected

Definition at line 323 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ OnPlayerKilled()

override void SCR_PlayerSpawnPointManagerComponent::OnPlayerKilled ( notnull SCR_InstigatorContextData instigatorContextData)
inlineprotected

Definition at line 338 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ OnPlayerSpawnFinalize_S()

override void SCR_PlayerSpawnPointManagerComponent::OnPlayerSpawnFinalize_S ( SCR_SpawnRequestComponent requestComponent,
SCR_SpawnHandlerComponent handlerComponent,
SCR_SpawnData data,
IEntity entity )
inlineprotected

Definition at line 329 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ RemoveSpawnPoint()

void SCR_PlayerSpawnPointManagerComponent::RemoveSpawnPoint ( int playerID)
inlineprotected

Definition at line 114 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ RPC_EnableDeployableSpawnPoints()

void SCR_PlayerSpawnPointManagerComponent::RPC_EnableDeployableSpawnPoints ( bool enable)
inlineprotected

Definition at line 195 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ RPC_EnableRadioVehicleSpawning()

void SCR_PlayerSpawnPointManagerComponent::RPC_EnableRadioVehicleSpawning ( bool enable)
inlineprotected

Definition at line 147 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ RPC_SetDeployableSpawnPointBudgetType()

void SCR_PlayerSpawnPointManagerComponent::RPC_SetDeployableSpawnPointBudgetType ( SCR_ESpawnPointBudgetType budgetType)
inlineprotected

Definition at line 248 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ RPC_SetDeployableSpawnPointTicketAmount()

void SCR_PlayerSpawnPointManagerComponent::RPC_SetDeployableSpawnPointTicketAmount ( int tickets)
inlineprotected

Definition at line 291 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ RplLoad()

override bool SCR_PlayerSpawnPointManagerComponent::RplLoad ( ScriptBitReader reader)
inlineprotected

Definition at line 358 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ RplSave()

override bool SCR_PlayerSpawnPointManagerComponent::RplSave ( ScriptBitWriter writer)
inlineprotected

Definition at line 349 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ SetDeployableSpawnPointBudgetType()

void SCR_PlayerSpawnPointManagerComponent::SetDeployableSpawnPointBudgetType ( SCR_ESpawnPointBudgetType budgetType,
int notificationPlayerID = -1 )
inlineprotected

Set budget type for respawning on deployed radios. (Server only)

Parameters
[in]budgetTypeSUPPLIES to enable supply usage; SPAWNTICKET for a limited amount of respawns; NONE to disable respawn budget
[in]notificationPlayerIDif not -1 then a notification will be shown to all players that deployable radio budget type has changed

Definition at line 224 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ SetDeployableSpawnPointTicketAmount()

void SCR_PlayerSpawnPointManagerComponent::SetDeployableSpawnPointTicketAmount ( int tickets,
int notificationPlayerID = -1 )
inlineprotected

Set amount of respawn tickets for deployed radios. (Server only)

Parameters
[in]ticketsAmount of respawns per deployed radio
[in]notificationPlayerIDif not -1 then a notification will be shown to all players that deployable radio respawn amount has changed

Definition at line 277 of file SCR_PlayerSpawnPointManagerComponent.c.

Member Data Documentation

◆ m_bDeployableSpawnPointsEnabled

bool SCR_PlayerSpawnPointManagerComponent::m_bDeployableSpawnPointsEnabled
protected

Definition at line 22 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_bEnablePlayerSpawnPoints

bool SCR_PlayerSpawnPointManagerComponent::m_bEnablePlayerSpawnPoints
protected

Definition at line 16 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_bRadioVehicleSpawningEnabled

bool SCR_PlayerSpawnPointManagerComponent::m_bRadioVehicleSpawningEnabled
protected

Definition at line 19 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_eDeployableSpawnPointBudgetType

SCR_ESpawnPointBudgetType SCR_PlayerSpawnPointManagerComponent::m_eDeployableSpawnPointBudgetType
protected

Definition at line 25 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_iDeployableSpawnPointTicketAmount

int SCR_PlayerSpawnPointManagerComponent::m_iDeployableSpawnPointTicketAmount
protected

Definition at line 28 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_OnRadioVehicleSpawningChanged

ref ScriptInvokerBool SCR_PlayerSpawnPointManagerComponent::m_OnRadioVehicleSpawningChanged
protected

Definition at line 30 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_OnSpawnPointBudgetTypeChanged

ref SCR_SpawnPointBudgetInvoker SCR_PlayerSpawnPointManagerComponent::m_OnSpawnPointBudgetTypeChanged
protected

Definition at line 32 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_OnSpawnPointDeployingEnabledChanged

ref ScriptInvokerBool SCR_PlayerSpawnPointManagerComponent::m_OnSpawnPointDeployingEnabledChanged
protected

Definition at line 31 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_OnSpawnPointTicketAmountChanged

ref ScriptInvokerInt SCR_PlayerSpawnPointManagerComponent::m_OnSpawnPointTicketAmountChanged
protected

Definition at line 33 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_SpawnPointPrefab

ResourceName SCR_PlayerSpawnPointManagerComponent::m_SpawnPointPrefab
protected

Definition at line 13 of file SCR_PlayerSpawnPointManagerComponent.c.

◆ m_SpawnPoints

ref map<int, SCR_PlayerSpawnPoint> SCR_PlayerSpawnPointManagerComponent::m_SpawnPoints = new map<int, SCR_PlayerSpawnPoint>()
protected

Definition at line 35 of file SCR_PlayerSpawnPointManagerComponent.c.


The documentation for this class was generated from the following file: