#include <Unit.h>
|
| | DamageInfo (Unit *attacker, Unit *victim, uint32 damage, SpellInfo const *spellInfo, SpellSchoolMask schoolMask, DamageEffectType damageType, WeaponAttackType attackType) |
| |
| | DamageInfo (CalcDamageInfo const &dmgInfo) |
| |
| | DamageInfo (CalcDamageInfo const &dmgInfo, uint8 damageIndex) |
| |
| | DamageInfo (SpellNonMeleeDamage const &spellNonMeleeDamage, DamageEffectType damageType, WeaponAttackType attackType, uint32 hitMask) |
| |
| void | ModifyDamage (int32 amount) |
| |
| void | AbsorbDamage (uint32 amount) |
| |
| void | ResistDamage (uint32 amount) |
| |
| void | BlockDamage (uint32 amount) |
| |
| Unit * | GetAttacker () const |
| |
| Unit * | GetVictim () const |
| |
| SpellInfo const * | GetSpellInfo () const |
| |
| SpellSchoolMask | GetSchoolMask () const |
| |
| DamageEffectType | GetDamageType () const |
| |
| WeaponAttackType | GetAttackType () const |
| |
| uint32 | GetDamage () const |
| |
| uint32 | GetAbsorb () const |
| |
| uint32 | GetResist () const |
| |
| uint32 | GetBlock () const |
| |
| uint32 | GetHitMask () const |
| |
Definition at line 429 of file Unit.h.
◆ DamageInfo() [1/5]
◆ DamageInfo() [2/5]
◆ DamageInfo() [3/5]
◆ DamageInfo() [4/5]
◆ DamageInfo() [5/5]
◆ AbsorbDamage()
| void DamageInfo::AbsorbDamage |
( |
uint32 |
amount | ) |
|
◆ BlockDamage()
| void DamageInfo::BlockDamage |
( |
uint32 |
amount | ) |
|
◆ GetAbsorb()
| uint32 DamageInfo::GetAbsorb |
( |
| ) |
const |
|
inline |
◆ GetAttacker()
| Unit * DamageInfo::GetAttacker |
( |
| ) |
const |
|
inline |
◆ GetAttackType()
◆ GetBlock()
| uint32 DamageInfo::GetBlock |
( |
| ) |
const |
|
inline |
◆ GetDamage()
| uint32 DamageInfo::GetDamage |
( |
| ) |
const |
|
inline |
◆ GetDamageType()
◆ GetHitMask()
| uint32 DamageInfo::GetHitMask |
( |
| ) |
const |
◆ GetResist()
| uint32 DamageInfo::GetResist |
( |
| ) |
const |
|
inline |
◆ GetSchoolMask()
◆ GetSpellInfo()
| SpellInfo const * DamageInfo::GetSpellInfo |
( |
| ) |
const |
|
inline |
◆ GetVictim()
| Unit * DamageInfo::GetVictim |
( |
| ) |
const |
|
inline |
◆ ModifyDamage()
| void DamageInfo::ModifyDamage |
( |
int32 |
amount | ) |
|
◆ ResistDamage()
| void DamageInfo::ResistDamage |
( |
uint32 |
amount | ) |
|
◆ m_absorb
◆ m_attacker
| Unit* const DamageInfo::m_attacker |
|
private |
◆ m_attackType
◆ m_block
◆ m_damage
◆ m_damageType
◆ m_hitMask
◆ m_resist
◆ m_schoolMask
◆ m_spellInfo
| SpellInfo const* const DamageInfo::m_spellInfo |
|
private |
◆ m_victim
| Unit* const DamageInfo::m_victim |
|
private |
The documentation for this class was generated from the following files: