18#ifndef CombatLogPacketsCommon_h__
19#define CombatLogPacketsCommon_h__
84 template<
class T,
class U>
void WriteBits(uint64 value, int32 bits)
WorldPacket const * GetFullLogPacket() const
void operator<<(T const &val)
WorldPacket const * GetBasicLogPacket() const
ByteBuffer & WriteLogData()
void WriteBits(uint32 value, uint32 bitCount)
CombatLogServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
WorldPacket _fullLogPacket
Spells::SpellCastLogData LogData
@ CONNECTION_TYPE_DEFAULT
ByteBuffer & operator>>(ByteBuffer &data, SpellCastVisual &visual)
ByteBuffer & operator<<(ByteBuffer &data, SpellCastLogData const &spellCastLogData)
int32 TargetContentTuningID
@ TYPE_PLAYER_TO_PLAYER_EXPECTED_STAT
@ TYPE_CREATURE_TO_PLAYER_DAMAGE
@ TYPE_CREATURE_TO_CREATURE_DAMAGE
@ TYPE_PLAYER_TO_CREATURE_DAMAGE
@ TYPE_PLAYER_TO_PLAYER_SANDBOX_SCALING
int8 TargetScalingLevelDelta
int32 PlayerContentTuningID
uint32 ScalingHealthItemLevelCurveID
bool GenerateDataForUnits(T *attacker, U *target)
std::vector< SpellLogPowerData > PowerData
void Initialize(Unit const *unit)
int32 SpellXSpellVisualID
SpellLogPowerData(int8 powerType, int32 amount, int32 cost)