Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ComponentsBank Class Reference

Private Member Functions

void ComponentsBank (EntityAI entity_parent)
Component CreateComponent (int comp_type, string extended_class_name="")
bool DeleteComponent (int comp_type)
Component GetComponent (int comp_type, string extended_class_name="")
bool IsComponentAlreadyExist (int comp_type)

Private Attributes

ref Component m_Components [COMP_TYPE_COUNT]
EntityAI m_EntityParent

Detailed Description

Definition at line 1 of file componentsbank.c.

Constructor & Destructor Documentation

◆ ComponentsBank()

void ComponentsBank ( EntityAI entity_parent)
inlineprivate

Definition at line 6 of file componentsbank.c.

References m_EntityParent.

Member Function Documentation

◆ CreateComponent()

◆ DeleteComponent()

bool DeleteComponent ( int comp_type)
inlineprivate

Definition at line 27 of file componentsbank.c.

References IsComponentAlreadyExist(), and m_Components.

◆ GetComponent()

Component GetComponent ( int comp_type,
string extended_class_name = "" )
inlineprivate

◆ IsComponentAlreadyExist()

bool IsComponentAlreadyExist ( int comp_type)
inlineprivate

Definition at line 72 of file componentsbank.c.

References m_Components.

Referenced by CreateComponent(), DeleteComponent(), and GetComponent().

Field Documentation

◆ m_Components

ref Component m_Components[COMP_TYPE_COUNT]
private

◆ m_EntityParent

EntityAI m_EntityParent
private

Definition at line 3 of file componentsbank.c.

Referenced by ComponentsBank(), and CreateComponent().


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