PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ConstructionPart Class Reference

Private Member Functions

void ConstructionPart (string name, string part_name, string main_part_name, int id, bool is_built, bool is_base, bool is_gate, array< string > required_parts)
 
string GetName ()
 
string GetPartName ()
 
string GetMainPartName ()
 
int GetId ()
 
bool IsBuilt ()
 
void SetBuiltState (bool is_built)
 
void SetRequestBuiltState (bool req_built)
 
bool IsBase ()
 
bool IsGate ()
 
array< stringGetRequiredParts ()
 

Private Attributes

string m_Name
 
int m_Id
 
string m_PartName
 
string m_MainPartName
 
bool m_IsBuilt
 
bool m_IsBase
 
bool m_IsGate
 
ref array< stringm_RequiredParts
 

Constructor & Destructor Documentation

◆ ConstructionPart()

void ConstructionPart ( string  name,
string  part_name,
string  main_part_name,
int  id,
bool  is_built,
bool  is_base,
bool  is_gate,
array< string required_parts 
)
inlineprivate

Member Function Documentation

◆ GetId()

◆ GetMainPartName()

◆ GetName()

◆ GetPartName()

◆ GetRequiredParts()

array< string > GetRequiredParts ( )
inlineprivate

◆ IsBase()

◆ IsBuilt()

◆ IsGate()

◆ SetBuiltState()

◆ SetRequestBuiltState()

void SetRequestBuiltState ( bool  req_built)
inlineprivate

Field Documentation

◆ m_Id

int m_Id
private

Referenced by ConstructionPart(), and GetId().

◆ m_IsBase

bool m_IsBase
private

Referenced by ConstructionPart(), and IsBase().

◆ m_IsBuilt

bool m_IsBuilt
private

◆ m_IsGate

bool m_IsGate
private

Referenced by ConstructionPart(), and IsGate().

◆ m_MainPartName

string m_MainPartName
private

◆ m_Name

string m_Name
private

Referenced by ConstructionPart(), and GetName().

◆ m_PartName

◆ m_RequiredParts

ref array<string> m_RequiredParts
private

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