All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::CombatLog::SpellInstakillLog Class Referencefinal

#include <CombatLogPackets.h>

Public Member Functions

 SpellInstakillLog ()
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

ObjectGuid Target
ObjectGuid Caster
int32 SpellID = 0

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Constructor & Destructor Documentation

WorldPackets::CombatLog::SpellInstakillLog::SpellInstakillLog ( )
241 : ServerPacket(SMSG_SPELL_INSTAKILL_LOG, 16 + 16 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1540

Member Function Documentation

WorldPacket const * WorldPackets::CombatLog::SpellInstakillLog::Write ( )

Implements WorldPackets::Packet.

198 {
199  _worldPacket << Target;
200  _worldPacket << Caster;
203  return &_worldPacket;
204 }
ObjectGuid Target
Definition: CombatLogPackets.h:245
WorldPacket _worldPacket
Definition: Packet.h:43
int32_t int32
Definition: g3dmath.h:167
int32 SpellID
Definition: CombatLogPackets.h:247
ObjectGuid Caster
Definition: CombatLogPackets.h:246

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::CombatLog::SpellInstakillLog::Caster
int32 WorldPackets::CombatLog::SpellInstakillLog::SpellID = 0
ObjectGuid WorldPackets::CombatLog::SpellInstakillLog::Target

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