Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_PossessSpawnHandlerComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_PossessSpawnHandlerComponentClass
 

Functions

SCR_PossessSpawnHandlerComponentClass SCR_SpawnHandlerComponentClass Attribute ("1", desc:"When enabled, conditions like respawn time will not be checked.")] protected bool m_bIgnoreConditions
 
protected override SCR_ESpawnResult SpawnEntity_S (SCR_SpawnRequestComponent requestComponent, notnull SCR_SpawnData data, out IEntity spawnedEntity)
 
override SCR_ESpawnResult CanHandleRequest_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnData data)
 
protected IEntity GetEntity (SCR_SpawnData data)
 
override protected bool ShouldDeleteEntityOnSpawnFailure_S (SCR_SpawnRequestComponent requestComponent, IEntity entity, SCR_SpawnData data, SCR_ESpawnResult reason)
 
protected override bool ValidateData_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnData data)
 
override bool CanRequestSpawn_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnData data, out SCR_ESpawnResult result)
 
override void OnFinalizeDone_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnData data, IEntity entity)
 
protected Faction GetFactionFromPrefab (ResourceName prefab)
 

Function Documentation

◆ Attribute()

SCR_PossessSpawnHandlerComponentClass SCR_SpawnHandlerComponentClass Attribute ( "1"  ,
desc:"When  enabled,
conditions like respawn time will not be checked."   
)

◆ CanHandleRequest_S()

override SCR_ESpawnResult CanHandleRequest_S ( SCR_SpawnRequestComponent  requestComponent,
SCR_SpawnData  data 
)

Definition at line 33 of file SCR_PossessSpawnHandlerComponent.c.

◆ CanRequestSpawn_S()

override bool CanRequestSpawn_S ( SCR_SpawnRequestComponent  requestComponent,
SCR_SpawnData  data,
out SCR_ESpawnResult  result 
)

Definition at line 98 of file SCR_PossessSpawnHandlerComponent.c.

◆ GetEntity()

protected IEntity GetEntity ( SCR_SpawnData  data)

Definition at line 61 of file SCR_PossessSpawnHandlerComponent.c.

◆ GetFactionFromPrefab()

protected Faction GetFactionFromPrefab ( ResourceName  prefab)

Definition at line 125 of file SCR_PossessSpawnHandlerComponent.c.

◆ OnFinalizeDone_S()

override void OnFinalizeDone_S ( SCR_SpawnRequestComponent  requestComponent,
SCR_SpawnData  data,
IEntity  entity 
)

Request finalized (player spawned).

Parameters
[in]requestComponent
[in]data
[in]entity

Definition at line 104 of file SCR_PossessSpawnHandlerComponent.c.

◆ ShouldDeleteEntityOnSpawnFailure_S()

override protected bool ShouldDeleteEntityOnSpawnFailure_S ( SCR_SpawnRequestComponent  requestComponent,
IEntity  entity,
SCR_SpawnData  data,
SCR_ESpawnResult  reason 
)

Definition at line 75 of file SCR_PossessSpawnHandlerComponent.c.

◆ SpawnEntity_S()

protected override SCR_ESpawnResult SpawnEntity_S ( SCR_SpawnRequestComponent  requestComponent,
notnull SCR_SpawnData  data,
out IEntity  spawnedEntity 
)

Definition at line 12 of file SCR_PossessSpawnHandlerComponent.c.

◆ ValidateData_S()

protected override bool ValidateData_S ( SCR_SpawnRequestComponent  requestComponent,
SCR_SpawnData  data 
)

Ensures that entity to possess is valid, if anything.

Parameters
[in]requestComponent
[in]data

Definition at line 84 of file SCR_PossessSpawnHandlerComponent.c.