TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::CombatLog::SpellDispellLog Class Reference

#include <CombatLogPackets.h>

Public Member Functions

 SpellDispellLog ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
OpcodeServer GetOpcode () const
 
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
 
virtual ~Packet ()=default
 
 Packet (Packet const &right)=delete
 
Packetoperator= (Packet const &right)=delete
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

std::vector< SpellDispellDataDispellData
 
ObjectGuid CasterGUID
 
ObjectGuid TargetGUID
 
int32 DispelledBySpellID = 0
 
bool IsBreak = false
 
bool IsSteal = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::CombatLog::SpellDispellLog::SpellDispellLog ( )
inline
212 : ServerPacket(SMSG_SPELL_DISPELL_LOG, 1 + 16 + 16 + 4 + 4 + 20) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1533

Member Function Documentation

WorldPacket const * WorldPackets::CombatLog::SpellDispellLog::Write ( )
overridevirtual

Implements WorldPackets::Packet.

355 {
361 
362  _worldPacket << uint32(DispellData.size());
363  for (SpellDispellData const& data : DispellData)
364  _worldPacket << data;
365 
366  return &_worldPacket;
367 }
int32 DispelledBySpellID
Definition: CombatLogPackets.h:219
std::vector< SpellDispellData > DispellData
Definition: CombatLogPackets.h:216
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
bool IsSteal
Definition: CombatLogPackets.h:221
bool IsBreak
Definition: CombatLogPackets.h:220
ObjectGuid TargetGUID
Definition: CombatLogPackets.h:218
int32_t int32
Definition: g3dmath.h:167
uint32_t uint32
Definition: g3dmath.h:168
ObjectGuid CasterGUID
Definition: CombatLogPackets.h:217

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::CombatLog::SpellDispellLog::CasterGUID
std::vector<SpellDispellData> WorldPackets::CombatLog::SpellDispellLog::DispellData
int32 WorldPackets::CombatLog::SpellDispellLog::DispelledBySpellID = 0
bool WorldPackets::CombatLog::SpellDispellLog::IsBreak = false
bool WorldPackets::CombatLog::SpellDispellLog::IsSteal = false
ObjectGuid WorldPackets::CombatLog::SpellDispellLog::TargetGUID

The documentation for this class was generated from the following files: