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

Go to the source code of this file.

Data Structures

class  SCR_ArmoryComponentClass
 

Functions

bool IsProxy ()
 
void ChangeOwningFaction (notnull Faction faction)
 
protected void OnLinkedEntitiesSpawned (SCR_EditorLinkComponent link)
 
protected void FindFactionComponentsInHiearchy (IEntity entity)
 
override void EOnInit (IEntity owner)
 
override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 

Variables

SCR_ArmoryComponentClass m_aFactionAffiliationComponents = {}
 
protected RplComponent m_RplComponent
 

Function Documentation

◆ ChangeOwningFaction()

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

Definition at line 21 of file SCR_ArmoryComponent.c.

◆ FindFactionComponentsInHiearchy()

protected void FindFactionComponentsInHiearchy ( IEntity  entity)

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

Parameters
[in]entitycannot be null

Definition at line 44 of file SCR_ArmoryComponent.c.

◆ IsProxy()

bool IsProxy ( )
Returns

Definition at line 13 of file SCR_ArmoryComponent.c.

◆ OnLinkedEntitiesSpawned()

protected void OnLinkedEntitiesSpawned ( SCR_EditorLinkComponent  link)

Definition at line 35 of file SCR_ArmoryComponent.c.

Variable Documentation

◆ m_aFactionAffiliationComponents

SCR_ArmoryComponentClass m_aFactionAffiliationComponents = {}

◆ m_RplComponent

protected RplComponent m_RplComponent

Definition at line 9 of file SCR_ArmoryComponent.c.