#include <Damage.h>
Inherits Snapshot.
Damage info inputs
Definition at line 257 of file Damage.h.
◆ DamageInfoInput()
| DamageInfoInput::DamageInfoInput |
( |
void | | ) |
|
|
inline |
◆ crc()
| virtual void DamageInfoInput::crc |
( |
Xfer * | xfer | ) |
|
|
inlineprotectedvirtual |
run the "light" crc check on this data structure
Implements Snapshot.
Definition at line 300 of file Damage.h.
◆ loadPostProcess()
| virtual void DamageInfoInput::loadPostProcess |
( |
void | | ) |
|
|
inlineprotectedvirtual |
post process phase for loading save games. All save systems have their xfer run using XferLoad mode, and then all systems each have their post process run
Implements Snapshot.
Definition at line 302 of file Damage.h.
◆ xfer()
| void DamageInfoInput::xfer |
( |
Xfer * | xfer | ) |
|
|
protectedvirtual |
◆ m_amount
| Real DamageInfoInput::m_amount |
value of how much damage to inflict
Definition at line 287 of file Damage.h.
◆ m_damageFXOverride
If not marked as the default of Unresistable, the damage type to use in doDamageFX instead of the real damamge type.
Definition at line 285 of file Damage.h.
◆ m_damageStatusType
If status damage, what type.
Definition at line 284 of file Damage.h.
◆ m_damageType
type of damage
Definition at line 283 of file Damage.h.
◆ m_deathType
if this kills us, death type to be used
Definition at line 286 of file Damage.h.
◆ m_kill
| Bool DamageInfoInput::m_kill |
will always cause object to die regardless of damage.
Definition at line 288 of file Damage.h.
◆ m_shockWaveAmount
| Real DamageInfoInput::m_shockWaveAmount |
This represents the amount of shockwave created by the damage. 0 = no shockwave, 1.0 = shockwave equal to damage.
Definition at line 292 of file Damage.h.
◆ m_shockWaveRadius
| Real DamageInfoInput::m_shockWaveRadius |
This represents the effect radius of the shockwave.
Definition at line 293 of file Damage.h.
◆ m_shockWaveTaperOff
| Real DamageInfoInput::m_shockWaveTaperOff |
This represents the taper off effect of the shockwave at the tip of the radius. 0.0 means shockwave is 0% at the radius edge.
Definition at line 294 of file Damage.h.
◆ m_shockWaveVector
| Coord3D DamageInfoInput::m_shockWaveVector |
This represents the incoming damage vector.
Definition at line 291 of file Damage.h.
◆ m_sourceID
source of the damage
Definition at line 280 of file Damage.h.
◆ m_sourcePlayerMask
◆ m_sourceTemplate
source of the damage (the template).
Definition at line 281 of file Damage.h.
The documentation for this class was generated from the following files:
- Code/GameEngine/Include/GameLogic/Damage.h
- Code/GameEngine/Source/GameLogic/System/Damage.cpp