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

#include <HordeUpdate.h>

Inherits ModuleData.

Public Member Functions

 HordeUpdateModuleData ()
 
- Public Member Functions inherited from ModuleData
 ModuleData ()
 
virtual ~ModuleData ()
 
void setModuleTagNameKey (NameKeyType key)
 
NameKeyType getModuleTagNameKey () const
 
virtual Bool isAiModuleData () const
 
virtual const W3DModelDrawModuleData * getAsW3DModelDrawModuleData () const
 
virtual const W3DTreeDrawModuleData * getAsW3DTreeDrawModuleData () 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 ModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 

Public Attributes

UnsignedInt m_updateRate
 how often to recheck our horde status
 
KindOfMaskType m_kindof
 the kind(s) of units that count towards horde-ness
 
Int m_minCount
 min count to get "horde" status
 
Real m_minDist
 min dist to contribute to horde-ness
 
Bool m_alliesOnly
 if true, only allied units count towards hordeness
 
Bool m_exactMatch
 if true, only exact same type of units count towards hordeness
 
Real m_rubOffRadius
 If I am this close to another guy who is a true hordesman, it'll rub off on me.
 
HordeActionType m_action
 what to do if we get horde-ness
 
Bool m_allowedNationalism
 Nationalism is hard ocded. Yeah! Add to the goodness with this flag instead of rewriting after Alpha.
 
std::vector< AsciiString > m_flagSubObjNames
 name(s) of the flag subobj
 

Detailed Description

Definition at line 63 of file HordeUpdate.h.

Constructor & Destructor Documentation

◆ HordeUpdateModuleData()

HordeUpdateModuleData::HordeUpdateModuleData ( )

Definition at line 121 of file HordeUpdate.cpp.

Member Function Documentation

◆ buildFieldParse()

void HordeUpdateModuleData::buildFieldParse ( MultiIniFieldParse & p)
static

Definition at line 134 of file HordeUpdate.cpp.

Member Data Documentation

◆ m_action

HordeActionType HordeUpdateModuleData::m_action

what to do if we get horde-ness

Definition at line 73 of file HordeUpdate.h.

◆ m_alliesOnly

Bool HordeUpdateModuleData::m_alliesOnly

if true, only allied units count towards hordeness

Definition at line 70 of file HordeUpdate.h.

◆ m_allowedNationalism

Bool HordeUpdateModuleData::m_allowedNationalism

Nationalism is hard ocded. Yeah! Add to the goodness with this flag instead of rewriting after Alpha.

Definition at line 74 of file HordeUpdate.h.

◆ m_exactMatch

Bool HordeUpdateModuleData::m_exactMatch

if true, only exact same type of units count towards hordeness

Definition at line 71 of file HordeUpdate.h.

◆ m_flagSubObjNames

std::vector<AsciiString> HordeUpdateModuleData::m_flagSubObjNames

name(s) of the flag subobj

Definition at line 75 of file HordeUpdate.h.

◆ m_kindof

KindOfMaskType HordeUpdateModuleData::m_kindof

the kind(s) of units that count towards horde-ness

Definition at line 67 of file HordeUpdate.h.

◆ m_minCount

Int HordeUpdateModuleData::m_minCount

min count to get "horde" status

Definition at line 68 of file HordeUpdate.h.

◆ m_minDist

Real HordeUpdateModuleData::m_minDist

min dist to contribute to horde-ness

Definition at line 69 of file HordeUpdate.h.

◆ m_rubOffRadius

Real HordeUpdateModuleData::m_rubOffRadius

If I am this close to another guy who is a true hordesman, it'll rub off on me.

Definition at line 72 of file HordeUpdate.h.

◆ m_updateRate

UnsignedInt HordeUpdateModuleData::m_updateRate

how often to recheck our horde status

Definition at line 66 of file HordeUpdate.h.


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