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

Public Member Functions

bool IsProxy ()
 
void ChangeOwningFaction (notnull Faction faction)
 
override void EOnInit (IEntity owner)
 
override void OnPostInit (IEntity owner)
 

Protected Member Functions

void OnLinkedEntitiesSpawned (SCR_EditorLinkComponent link)
 
void FindFactionComponentsInHiearchy (IEntity entity)
 Goes though entity children (recursively) and finds all faction control components.
 

Protected Attributes

ref array< SCR_FactionAffiliationComponentm_aFactionAffiliationComponents = {}
 
RplComponent m_RplComponent
 

Member Function Documentation

◆ ChangeOwningFaction()

void SCR_ArmoryComponent.ChangeOwningFaction ( notnull Faction  faction)
Parameters
[in]faction

◆ EOnInit()

override void SCR_ArmoryComponent.EOnInit ( IEntity  owner)

◆ FindFactionComponentsInHiearchy()

void SCR_ArmoryComponent.FindFactionComponentsInHiearchy ( IEntity  entity)
protected

Goes though entity children (recursively) and finds all faction control components.

Parameters
[in]entitycannot be null

◆ IsProxy()

bool SCR_ArmoryComponent.IsProxy ( )
Returns

◆ OnLinkedEntitiesSpawned()

void SCR_ArmoryComponent.OnLinkedEntitiesSpawned ( SCR_EditorLinkComponent  link)
protected

◆ OnPostInit()

override void SCR_ArmoryComponent.OnPostInit ( IEntity  owner)

Member Data Documentation

◆ m_aFactionAffiliationComponents

ref array<SCR_FactionAffiliationComponent> SCR_ArmoryComponent.m_aFactionAffiliationComponents = {}
protected

◆ m_RplComponent

RplComponent SCR_ArmoryComponent.m_RplComponent
protected

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