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

#include <OverchargeBehavior.h>

Inherits UpdateModuleData.

Public Member Functions

 OverchargeBehaviorModuleData (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 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

Real m_healthPercentToDrainPerSecond
 when active, this much health is drained
 
Real m_notAllowedWhenHealthBelowPercent
 you cannot overcharge when object is below this health %
 

Detailed Description

Definition at line 44 of file OverchargeBehavior.h.

Constructor & Destructor Documentation

◆ OverchargeBehaviorModuleData()

OverchargeBehaviorModuleData::OverchargeBehaviorModuleData ( void )

Definition at line 54 of file OverchargeBehavior.cpp.

Member Function Documentation

◆ buildFieldParse()

void OverchargeBehaviorModuleData::buildFieldParse ( MultiIniFieldParse & p)
static

Definition at line 64 of file OverchargeBehavior.cpp.

Member Data Documentation

◆ m_healthPercentToDrainPerSecond

Real OverchargeBehaviorModuleData::m_healthPercentToDrainPerSecond

when active, this much health is drained

Definition at line 53 of file OverchargeBehavior.h.

◆ m_notAllowedWhenHealthBelowPercent

Real OverchargeBehaviorModuleData::m_notAllowedWhenHealthBelowPercent

you cannot overcharge when object is below this health %

Definition at line 54 of file OverchargeBehavior.h.


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