TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Spells::PlaySpellVisualKit Class Referencefinal

#include <SpellPackets.h>

Public Member Functions

 PlaySpellVisualKit ()
 
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 Unit
 
int32 KitRecID = 0
 
int32 KitType = 0
 
uint32 Duration = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Spells::PlaySpellVisualKit::PlaySpellVisualKit ( )
inline
644 : ServerPacket(SMSG_PLAY_SPELL_VISUAL_KIT, 16 + 4 + 4 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1379

Member Function Documentation

WorldPacket const * WorldPackets::Spells::PlaySpellVisualKit::Write ( )
overridevirtual

Implements WorldPackets::Packet.

657 {
658  _worldPacket << Unit;
662 
663  return &_worldPacket;
664 }
uint32 Duration
Definition: SpellPackets.h:651
WorldPacket _worldPacket
Definition: Packet.h:43
int32 KitType
Definition: SpellPackets.h:650
ObjectGuid Unit
Definition: SpellPackets.h:648
int32 KitRecID
Definition: SpellPackets.h:649
int32_t int32
Definition: g3dmath.h:167
uint32_t uint32
Definition: g3dmath.h:168

+ Here is the caller graph for this function:

Member Data Documentation

uint32 WorldPackets::Spells::PlaySpellVisualKit::Duration = 0
int32 WorldPackets::Spells::PlaySpellVisualKit::KitRecID = 0
int32 WorldPackets::Spells::PlaySpellVisualKit::KitType = 0
ObjectGuid WorldPackets::Spells::PlaySpellVisualKit::Unit

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