Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ProductionUpdateModuleData Class Reference

#include <ProductionUpdate.h>

Inherits UpdateModuleData.

Public Member Functions

 ProductionUpdateModuleData (void)
 
- Public Member Functions inherited from BehaviorModuleData
 BehaviorModuleData ()
 
- Public Member Functions inherited from ModuleData
 ModuleData ()
 
virtual ~ModuleData ()
 
void setModuleTagNameKey (NameKeyType key)
 
NameKeyType getModuleTagNameKey () const
 
virtual Bool isAiModuleData () const
 
virtual const W3DModelDrawModuleDatagetAsW3DModelDrawModuleData () const
 
virtual const W3DTreeDrawModuleDatagetAsW3DTreeDrawModuleData () const
 
virtual StaticGameLODLevel getMinimumRequiredGameLOD () const
 
virtual void crc (Xfer *xfer)
 run the "light" crc check on this data structure
 
virtual void xfer (Xfer *xfer)
 
virtual void loadPostProcess (void)
 
- Public Member Functions inherited from Snapshot
 Snapshot (void)
 
 ~Snapshot (void)
 

Static Public Member Functions

static void buildFieldParse (MultiIniFieldParse &p)
 
static void parseAppendQuantityModifier (INI *ini, void *instance, void *store, const void *userData)
 
- Static Public Member Functions inherited from UpdateModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
- Static Public Member Functions inherited from BehaviorModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
- Static Public Member Functions inherited from ModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 

Public Attributes

Int m_numDoorAnimations
 has a door animation(s) upon unit built and exit
 
UnsignedInt m_doorOpeningTime
 in frames, time it takes the door to open
 
UnsignedInt m_doorWaitOpenTime
 in frames, time we should leave the door open
 
UnsignedInt m_doorClosingTime
 in frames, time it takes to close the door
 
UnsignedInt m_constructionCompleteDuration
 in frames, how long we state in "construction complete" condition after making something
 
std::vector< QuantityModifierm_quantityModifiers
 Quantity modifiers modify the number of specified object to created whenever produced.
 
Int m_maxQueueEntries
 max things that can be queued at once.
 
DisabledMaskType m_disabledTypesToProcess
 

Detailed Description

Definition at line 125 of file ProductionUpdate.h.

Constructor & Destructor Documentation

◆ ProductionUpdateModuleData()

ProductionUpdateModuleData::ProductionUpdateModuleData ( void )

Definition at line 100 of file ProductionUpdate.cpp.

Member Function Documentation

◆ buildFieldParse()

void ProductionUpdateModuleData::buildFieldParse ( MultiIniFieldParse & p)
static

Definition at line 129 of file ProductionUpdate.cpp.

◆ parseAppendQuantityModifier()

void ProductionUpdateModuleData::parseAppendQuantityModifier ( INI * ini,
void * instance,
void * store,
const void * userData )
static

Definition at line 114 of file ProductionUpdate.cpp.

Member Data Documentation

◆ m_constructionCompleteDuration

UnsignedInt ProductionUpdateModuleData::m_constructionCompleteDuration

in frames, how long we state in "construction complete" condition after making something

Definition at line 133 of file ProductionUpdate.h.

◆ m_disabledTypesToProcess

DisabledMaskType ProductionUpdateModuleData::m_disabledTypesToProcess

Definition at line 136 of file ProductionUpdate.h.

◆ m_doorClosingTime

UnsignedInt ProductionUpdateModuleData::m_doorClosingTime

in frames, time it takes to close the door

Definition at line 132 of file ProductionUpdate.h.

◆ m_doorOpeningTime

UnsignedInt ProductionUpdateModuleData::m_doorOpeningTime

in frames, time it takes the door to open

Definition at line 130 of file ProductionUpdate.h.

◆ m_doorWaitOpenTime

UnsignedInt ProductionUpdateModuleData::m_doorWaitOpenTime

in frames, time we should leave the door open

Definition at line 131 of file ProductionUpdate.h.

◆ m_maxQueueEntries

Int ProductionUpdateModuleData::m_maxQueueEntries

max things that can be queued at once.

Definition at line 135 of file ProductionUpdate.h.

◆ m_numDoorAnimations

Int ProductionUpdateModuleData::m_numDoorAnimations

has a door animation(s) upon unit built and exit

Definition at line 129 of file ProductionUpdate.h.

◆ m_quantityModifiers

std::vector<QuantityModifier> ProductionUpdateModuleData::m_quantityModifiers

Quantity modifiers modify the number of specified object to created whenever produced.

Definition at line 134 of file ProductionUpdate.h.


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