![]() |
TrinityCore
|
#include <CombatLogPacketsCommon.h>
Public Member Functions | |
| void | Initialize (Unit const *unit) |
| void | Initialize (Spell const *spell) |
Public Attributes | |
| int64 | Health = 0 |
| int32 | AttackPower = 0 |
| int32 | SpellPower = 0 |
| int32 | Armor = 0 |
| int32 | Versatility = 0 |
| int32 | Avoidance = 0 |
| bool | HideFromCombatLog = false |
| std::vector< SpellLogPowerData > | PowerData |
Definition at line 40 of file CombatLogPacketsCommon.h.
| void WorldPackets::Spells::SpellCastLogData::Initialize | ( | Spell const * | spell | ) |
Definition at line 44 of file CombatLogPacketsCommon.cpp.
References Armor, AttackPower, Avoidance, BASE_ATTACK, CLASS_HUNTER, CR_AVOIDANCE, CR_VERSATILITY_DAMAGE_DONE, Spell::GetCaster(), Spell::GetPowerCost(), Health, PowerData, RANGED_ATTACK, SPELL_SCHOOL_MASK_SPELL, SpellPower, Object::ToPlayer(), Object::ToUnit(), and Versatility.
| void WorldPackets::Spells::SpellCastLogData::Initialize | ( | Unit const * | unit | ) |
Definition at line 30 of file CombatLogPacketsCommon.cpp.
References Armor, AttackPower, Avoidance, BASE_ATTACK, CLASS_HUNTER, CR_AVOIDANCE, CR_VERSATILITY_DAMAGE_DONE, Unit::GetArmor(), Unit::GetClass(), Unit::GetHealth(), Unit::GetPower(), Unit::GetPowerType(), Unit::GetTotalAttackPowerValue(), Health, PowerData, RANGED_ATTACK, SPELL_SCHOOL_MASK_SPELL, Unit::SpellBaseDamageBonusDone(), SpellPower, Object::ToPlayer(), and Versatility.
Referenced by Unit::CalcAbsorbResist(), Unit::CalcHealAbsorb(), Unit::DealMeleeDamage(), Player::EnvironmentalDamage(), Unit::SendAttackStateUpdate(), Unit::SendEnergizeSpellLog(), Unit::SendHealSpellLog(), Unit::SendPeriodicAuraLog(), Spell::SendSpellExecuteLog(), and Spell::SendSpellGo().
| int32 WorldPackets::Spells::SpellCastLogData::Armor = 0 |
Definition at line 45 of file CombatLogPacketsCommon.h.
Referenced by Initialize(), Initialize(), and WorldPackets::Spells::operator<<().
| int32 WorldPackets::Spells::SpellCastLogData::AttackPower = 0 |
Definition at line 43 of file CombatLogPacketsCommon.h.
Referenced by Initialize(), Initialize(), and WorldPackets::Spells::operator<<().
| int32 WorldPackets::Spells::SpellCastLogData::Avoidance = 0 |
Definition at line 47 of file CombatLogPacketsCommon.h.
Referenced by Initialize(), Initialize(), and WorldPackets::Spells::operator<<().
| int64 WorldPackets::Spells::SpellCastLogData::Health = 0 |
Definition at line 42 of file CombatLogPacketsCommon.h.
Referenced by Initialize(), Initialize(), and WorldPackets::Spells::operator<<().
| bool WorldPackets::Spells::SpellCastLogData::HideFromCombatLog = false |
Definition at line 48 of file CombatLogPacketsCommon.h.
Referenced by WorldPackets::Spells::operator<<().
| std::vector<SpellLogPowerData> WorldPackets::Spells::SpellCastLogData::PowerData |
Definition at line 49 of file CombatLogPacketsCommon.h.
Referenced by Initialize(), Initialize(), and WorldPackets::Spells::operator<<().
| int32 WorldPackets::Spells::SpellCastLogData::SpellPower = 0 |
Definition at line 44 of file CombatLogPacketsCommon.h.
Referenced by Initialize(), Initialize(), and WorldPackets::Spells::operator<<().
| int32 WorldPackets::Spells::SpellCastLogData::Versatility = 0 |
Definition at line 46 of file CombatLogPacketsCommon.h.
Referenced by Initialize(), Initialize(), and WorldPackets::Spells::operator<<().