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

#include <DamageModule.h>

Inherited by AutoHealBehavior, BaseRegenerateUpdate, BridgeBehavior, BridgeTowerBehavior, DamageModule, FireWeaponWhenDamagedBehavior, FlammableUpdate, MinefieldBehavior, OpenContain, OverchargeBehavior, PoisonedBehavior, SpawnBehavior, and SupplyWarehouseCripplingBehavior.

Public Member Functions

virtual void onDamage (DamageInfo *damageInfo)=0
 damage callback
 
virtual void onHealing (DamageInfo *damageInfo)=0
 healing callback
 
virtual void onBodyDamageStateChange (const DamageInfo *damageInfo, BodyDamageType oldState, BodyDamageType newState)=0
 state change callback
 

Detailed Description

OBJECT DAMAGE MODULE base class

Definition at line 46 of file DamageModule.h.

Member Function Documentation

◆ onBodyDamageStateChange()

◆ onDamage()

◆ onHealing()


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