Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_MenuSpawnLogic Interface Reference
Inheritance diagram for SCR_MenuSpawnLogic:
SCR_SpawnLogic

Public Member Functions

override void OnInit (SCR_RespawnSystemComponent owner)
 
override void OnPlayerRegistered_S (int playerId)
 
override void OnPlayerEntityLost_S (int playerId)
 Called whenever provided player loses controlled entity, this can occur e.g.
 
bool UpdateLoadingPlaceholder (float dt)
 
void DestroyLoadingPlaceholder ()
 
bool GetWaitForSpawnPoints ()
 
bool GetUseFadeEffect ()
 
void ~SCR_MenuSpawnLogic ()
 
- Public Member Functions inherited from SCR_SpawnLogic
void OnPlayerDisconnected_S (int playerId, KickCauseCode cause, int timeout)
 
void OnPlayerSpawnRequest_S (SCR_SpawnRequestComponent requestComponent)
 
void OnPlayerSpawnResponse_S (SCR_SpawnRequestComponent requestComponent, SCR_ESpawnResult response)
 
void OnPlayerSpawned_S (int playerId, IEntity entity)
 
void OnPlayerEntityChanged_S (int playerId, IEntity previousEntity, IEntity newEntity)
 
void OnPlayerKilled_S (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer)
 
void OnPlayerDeleted_S (int playerId)
 
bool IsEligibleForReconnection (int playerId)
 
SCR_RespawnComponent GetPlayerRespawnComponent_S (int playerId)
 
SCR_RespawnComponent GetLocalPlayerRespawnComponent ()
 
SCR_PlayerFactionAffiliationComponent GetPlayerFactionComponent_S (int playerId)
 
SCR_PlayerLoadoutComponent GetPlayerLoadoutComponent_S (int playerId)
 

Protected Member Functions

bool GetForcedFaction (out Faction faction)
 
void CreateLoadingPlaceholder ()
 
- Protected Member Functions inherited from SCR_SpawnLogic
void OnPlayerSpawnFailed_S (int playerId)
 
void NotifyPlayerReadyForSpawn (int playerId)
 Notify the target player that they are ready for spawn.
 
bool ResolveReconnection (int playerId, out IEntity assignedEntity)
 Resolves spawn using the SCR_ReconnectComponent for player of given playerId.
 

Protected Attributes

FactionKey m_sForcedFaction
 
ResourceName m_sLoadingLayout
 
bool m_bWaitForSpawnPoints
 
bool m_bUseFadeEffect
 
Widget m_wLoadingPlaceholder
 
SCR_LoadingSpinner m_LoadingPlaceholder
 

Constructor & Destructor Documentation

◆ ~SCR_MenuSpawnLogic()

void SCR_MenuSpawnLogic.~SCR_MenuSpawnLogic ( )

Member Function Documentation

◆ CreateLoadingPlaceholder()

void SCR_MenuSpawnLogic.CreateLoadingPlaceholder ( )
protected

◆ DestroyLoadingPlaceholder()

void SCR_MenuSpawnLogic.DestroyLoadingPlaceholder ( )

◆ GetForcedFaction()

bool SCR_MenuSpawnLogic.GetForcedFaction ( out Faction faction)
protected

◆ GetUseFadeEffect()

bool SCR_MenuSpawnLogic.GetUseFadeEffect ( )

◆ GetWaitForSpawnPoints()

bool SCR_MenuSpawnLogic.GetWaitForSpawnPoints ( )

◆ OnInit()

override void SCR_MenuSpawnLogic.OnInit ( SCR_RespawnSystemComponent owner)

Implements SCR_SpawnLogic.

◆ OnPlayerEntityLost_S()

override void SCR_MenuSpawnLogic.OnPlayerEntityLost_S ( int playerId)

Called whenever provided player loses controlled entity, this can occur e.g.

when a player dies or their entity is deleted.

Implements SCR_SpawnLogic.

◆ OnPlayerRegistered_S()

override void SCR_MenuSpawnLogic.OnPlayerRegistered_S ( int playerId)

Implements SCR_SpawnLogic.

◆ UpdateLoadingPlaceholder()

bool SCR_MenuSpawnLogic.UpdateLoadingPlaceholder ( float dt)

Member Data Documentation

◆ m_bUseFadeEffect

bool SCR_MenuSpawnLogic.m_bUseFadeEffect
protected

◆ m_bWaitForSpawnPoints

bool SCR_MenuSpawnLogic.m_bWaitForSpawnPoints
protected

◆ m_LoadingPlaceholder

SCR_LoadingSpinner SCR_MenuSpawnLogic.m_LoadingPlaceholder
protected

◆ m_sForcedFaction

FactionKey SCR_MenuSpawnLogic.m_sForcedFaction
protected

◆ m_sLoadingLayout

ResourceName SCR_MenuSpawnLogic.m_sLoadingLayout
protected

◆ m_wLoadingPlaceholder

Widget SCR_MenuSpawnLogic.m_wLoadingPlaceholder
protected

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