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

#include <SpellPackets.h>

Public Member Functions

 SpellFailure ()
 
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 CasterUnit
 
uint32 SpellID = 0
 
uint32 SpelXSpellVisualID = 0
 
uint16 Reason = 0
 
uint8 CastID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Spells::SpellFailure::SpellFailure ( )
inline
398 : ServerPacket(SMSG_SPELL_FAILURE, 16+4+2+1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1537

Member Function Documentation

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

Implements WorldPackets::Packet.

432 {
438 
439  return &_worldPacket;
440 }
uint16 Reason
Definition: SpellPackets.h:405
WorldPacket _worldPacket
Definition: Packet.h:43
uint16_t uint16
Definition: g3dmath.h:166
ObjectGuid CasterUnit
Definition: SpellPackets.h:402
uint32 SpelXSpellVisualID
Definition: SpellPackets.h:404
uint8 CastID
Definition: SpellPackets.h:406
uint8_t uint8
Definition: g3dmath.h:164
int32_t int32
Definition: g3dmath.h:167
uint32 SpellID
Definition: SpellPackets.h:403
uint32_t uint32
Definition: g3dmath.h:168

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::Spells::SpellFailure::CasterUnit
uint8 WorldPackets::Spells::SpellFailure::CastID = 0
uint16 WorldPackets::Spells::SpellFailure::Reason = 0
uint32 WorldPackets::Spells::SpellFailure::SpellID = 0
uint32 WorldPackets::Spells::SpellFailure::SpelXSpellVisualID = 0

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