#include <SpellPackets.h>
void WorldPackets::Spells::SpellCastLogData::Initialize |
( |
Unit const * |
unit | ) |
|
93 Health = unit->GetHealth();
96 PowerData.emplace_back(
int32(unit->getPowerType()), unit->GetPower(unit->getPowerType()));
std::vector< SpellLogPowerData > PowerData
Definition: SpellPackets.h:179
Definition: SharedDefines.h:299
int32 AttackPower
Definition: SpellPackets.h:177
Definition: SharedDefines.h:169
int32_t int32
Definition: g3dmath.h:167
int32 SpellPower
Definition: SpellPackets.h:178
int32 Health
Definition: SpellPackets.h:176
int32 WorldPackets::Spells::SpellCastLogData::AttackPower = 0 |
int32 WorldPackets::Spells::SpellCastLogData::Health = 0 |
int32 WorldPackets::Spells::SpellCastLogData::SpellPower = 0 |
The documentation for this struct was generated from the following files: