Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_MilitaryBaseSystem Interface Reference
Inheritance diagram for SCR_MilitaryBaseSystem:
[legend]

Public Member Functions

void OnBaseFactionChanged (Faction faction, SCR_MilitaryBaseComponent base)
 
void OnLogicRegisteredInBase (SCR_MilitaryBaseLogicComponent logic, SCR_MilitaryBaseComponent base)
 
void OnLogicUnregisteredInBase (SCR_MilitaryBaseLogicComponent logic, SCR_MilitaryBaseComponent base)
 
OnBaseFactionChangedInvoker GetOnBaseFactionChanged ()
 
OnLogicPresenceChangedInvoker GetOnLogicRegisteredInBase ()
 
OnLogicPresenceChangedInvoker GetOnLogicUnregisteredInBase ()
 
void LoadAvailableCallsigns ()
 
void RegisterBase (notnull SCR_MilitaryBaseComponent base)
 
void UnregisterBase (notnull SCR_MilitaryBaseComponent base)
 
int GetBases (notnull out array< SCR_MilitaryBaseComponent > bases)
 
int GetBasesCount ()
 
void RegisterLogicComponent (notnull SCR_MilitaryBaseLogicComponent component)
 
void UnregisterLogicComponent (notnull SCR_MilitaryBaseLogicComponent component)
 
- Public Member Functions inherited from GameSystem
bool ShouldBePaused ()
 Is this system should be paused while the simulation is paused?
 
bool ShouldBeEnabledInEditMode ()
 Is this system should be enabled inside the editor.
 

Static Public Member Functions

static SCR_MilitaryBaseSystem GetInstance ()
 

Protected Member Functions

override void OnCleanup ()
 
override void OnInit ()
 
void OnEntityTransformChanged (notnull SCR_EditableEntityComponent editComponent)
 When a base or logic component is moved, recalculate registered members.
 
void OnBaseTransformChanged (notnull SCR_MilitaryBaseComponent baseComponent)
 Base has been moved, recalculate members in radius.
 
void OnLogicTransformChanged (notnull SCR_MilitaryBaseLogicComponent logicComponent)
 Logic has been moved, recalculate members in radius of bases.
 

Protected Attributes

ref array< SCR_MilitaryBaseComponentm_aBases = {}
 
ref array< SCR_MilitaryBaseLogicComponentm_aLogicComponents = {}
 
ref array< int > m_aAvailableCallsignIds
 
ref OnBaseFactionChangedInvoker m_OnBaseFactionChanged
 
ref OnLogicPresenceChangedInvoker m_OnLogicRegisteredInBase
 
ref OnLogicPresenceChangedInvoker m_OnLogicUnregisteredInBase
 

Member Function Documentation

◆ GetBases()

int SCR_MilitaryBaseSystem.GetBases ( notnull out array< SCR_MilitaryBaseComponent bases)

◆ GetBasesCount()

int SCR_MilitaryBaseSystem.GetBasesCount ( )

◆ GetInstance()

static SCR_MilitaryBaseSystem SCR_MilitaryBaseSystem.GetInstance ( )
static

◆ GetOnBaseFactionChanged()

OnBaseFactionChangedInvoker SCR_MilitaryBaseSystem.GetOnBaseFactionChanged ( )

◆ GetOnLogicRegisteredInBase()

OnLogicPresenceChangedInvoker SCR_MilitaryBaseSystem.GetOnLogicRegisteredInBase ( )

◆ GetOnLogicUnregisteredInBase()

OnLogicPresenceChangedInvoker SCR_MilitaryBaseSystem.GetOnLogicUnregisteredInBase ( )

◆ LoadAvailableCallsigns()

void SCR_MilitaryBaseSystem.LoadAvailableCallsigns ( )

◆ OnBaseFactionChanged()

void SCR_MilitaryBaseSystem.OnBaseFactionChanged ( Faction  faction,
SCR_MilitaryBaseComponent  base 
)

◆ OnBaseTransformChanged()

void SCR_MilitaryBaseSystem.OnBaseTransformChanged ( notnull SCR_MilitaryBaseComponent  baseComponent)
protected

Base has been moved, recalculate members in radius.

◆ OnCleanup()

override void SCR_MilitaryBaseSystem.OnCleanup ( )
protected

◆ OnEntityTransformChanged()

void SCR_MilitaryBaseSystem.OnEntityTransformChanged ( notnull SCR_EditableEntityComponent  editComponent)
protected

When a base or logic component is moved, recalculate registered members.

◆ OnInit()

override void SCR_MilitaryBaseSystem.OnInit ( )
protected

◆ OnLogicRegisteredInBase()

void SCR_MilitaryBaseSystem.OnLogicRegisteredInBase ( SCR_MilitaryBaseLogicComponent  logic,
SCR_MilitaryBaseComponent  base 
)

◆ OnLogicTransformChanged()

void SCR_MilitaryBaseSystem.OnLogicTransformChanged ( notnull SCR_MilitaryBaseLogicComponent  logicComponent)
protected

Logic has been moved, recalculate members in radius of bases.

◆ OnLogicUnregisteredInBase()

void SCR_MilitaryBaseSystem.OnLogicUnregisteredInBase ( SCR_MilitaryBaseLogicComponent  logic,
SCR_MilitaryBaseComponent  base 
)

◆ RegisterBase()

void SCR_MilitaryBaseSystem.RegisterBase ( notnull SCR_MilitaryBaseComponent  base)

◆ RegisterLogicComponent()

void SCR_MilitaryBaseSystem.RegisterLogicComponent ( notnull SCR_MilitaryBaseLogicComponent  component)

◆ UnregisterBase()

void SCR_MilitaryBaseSystem.UnregisterBase ( notnull SCR_MilitaryBaseComponent  base)

◆ UnregisterLogicComponent()

void SCR_MilitaryBaseSystem.UnregisterLogicComponent ( notnull SCR_MilitaryBaseLogicComponent  component)

Member Data Documentation

◆ m_aAvailableCallsignIds

ref array<int> SCR_MilitaryBaseSystem.m_aAvailableCallsignIds
protected

◆ m_aBases

ref array<SCR_MilitaryBaseComponent> SCR_MilitaryBaseSystem.m_aBases = {}
protected

◆ m_aLogicComponents

ref array<SCR_MilitaryBaseLogicComponent> SCR_MilitaryBaseSystem.m_aLogicComponents = {}
protected

◆ m_OnBaseFactionChanged

ref OnBaseFactionChangedInvoker SCR_MilitaryBaseSystem.m_OnBaseFactionChanged
protected

◆ m_OnLogicRegisteredInBase

ref OnLogicPresenceChangedInvoker SCR_MilitaryBaseSystem.m_OnLogicRegisteredInBase
protected

◆ m_OnLogicUnregisteredInBase

ref OnLogicPresenceChangedInvoker SCR_MilitaryBaseSystem.m_OnLogicUnregisteredInBase
protected

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