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

#include <WorkerAIUpdate.h>

Inherits AIUpdateModuleData.

Public Member Functions

 WorkerAIUpdateModuleData ()
 
- Public Member Functions inherited from AIUpdateModuleData
 AIUpdateModuleData ()
 
virtual ~AIUpdateModuleData ()
 
virtual Bool isAiModuleData () const
 
const LocomotorTemplateVectorfindLocomotorTemplateVector (LocomotorSetType t) const
 
- Public Member Functions inherited from BehaviorModuleData
 BehaviorModuleData ()
 
- Public Member Functions inherited from ModuleData
 ModuleData ()
 
virtual ~ModuleData ()
 
void setModuleTagNameKey (NameKeyType key)
 
NameKeyType getModuleTagNameKey () 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 Public Member Functions inherited from AIUpdateModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
static void parseLocomotorSet (INI *ini, void *instance, void *store, const void *)
 
- 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_maxBoxesData
 
Real m_repairHealthPercentPerSecond
 how many health points per second the dozer repairs at
 
Real m_boredTime
 after this many frames, a dozer will try to find something to do on its own
 
Real m_boredRange
 range the dozers try to auto repair when they're bored
 
UnsignedInt m_centerDelay
 
UnsignedInt m_warehouseDelay
 
Real m_warehouseScanDistance
 
AudioEventRTS m_suppliesDepletedVoice
 Sound played when I take the last box.
 
Int m_upgradedSupplyBoost
 
- Public Attributes inherited from AIUpdateModuleData
LocomotorTemplateMap m_locomotorTemplates
 locomotors for object
 
const TurretAIDatam_turretData [MAX_TURRETS]
 
UnsignedInt m_moodAttackCheckRate
 how frequently we should recheck for enemies due to moods, when idle
 
Bool m_forbidPlayerCommands
 Should isAllowedToRespondToAiCommands() filter out commands from the player, thus making it ai-controllable only?
 
Bool m_turretsLinked
 Turrets are linked together and attack together.
 
UnsignedInt m_autoAcquireEnemiesWhenIdle
 

Detailed Description

NOTE: If you edit module data you must do it in both the Dozer AND the Worker

Definition at line 64 of file WorkerAIUpdate.h.

Constructor & Destructor Documentation

◆ WorkerAIUpdateModuleData()

WorkerAIUpdateModuleData::WorkerAIUpdateModuleData ( )
inline

Definition at line 82 of file WorkerAIUpdate.h.

Member Function Documentation

◆ buildFieldParse()

static void WorkerAIUpdateModuleData::buildFieldParse ( MultiIniFieldParse & p)
inlinestatic

Definition at line 94 of file WorkerAIUpdate.h.

Member Data Documentation

◆ m_boredRange

Real WorkerAIUpdateModuleData::m_boredRange

range the dozers try to auto repair when they're bored

Definition at line 75 of file WorkerAIUpdate.h.

◆ m_boredTime

Real WorkerAIUpdateModuleData::m_boredTime

after this many frames, a dozer will try to find something to do on its own

Definition at line 74 of file WorkerAIUpdate.h.

◆ m_centerDelay

UnsignedInt WorkerAIUpdateModuleData::m_centerDelay

Definition at line 76 of file WorkerAIUpdate.h.

◆ m_maxBoxesData

Int WorkerAIUpdateModuleData::m_maxBoxesData

Definition at line 72 of file WorkerAIUpdate.h.

◆ m_repairHealthPercentPerSecond

Real WorkerAIUpdateModuleData::m_repairHealthPercentPerSecond

how many health points per second the dozer repairs at

Definition at line 73 of file WorkerAIUpdate.h.

◆ m_suppliesDepletedVoice

AudioEventRTS WorkerAIUpdateModuleData::m_suppliesDepletedVoice

Sound played when I take the last box.

Definition at line 79 of file WorkerAIUpdate.h.

◆ m_upgradedSupplyBoost

Int WorkerAIUpdateModuleData::m_upgradedSupplyBoost

Definition at line 80 of file WorkerAIUpdate.h.

◆ m_warehouseDelay

UnsignedInt WorkerAIUpdateModuleData::m_warehouseDelay

Definition at line 77 of file WorkerAIUpdate.h.

◆ m_warehouseScanDistance

Real WorkerAIUpdateModuleData::m_warehouseScanDistance

Definition at line 78 of file WorkerAIUpdate.h.


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