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

#include <SpellPackets.h>

Public Member Functions

 SpellFailedOther ()
 
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
 
uint8 Reason = 0
 
uint8 CastID = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Spells::SpellFailedOther::SpellFailedOther ( )
inline
412 : ServerPacket(SMSG_SPELL_FAILED_OTHER, 16+4+1+1) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:1536

Member Function Documentation

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

Implements WorldPackets::Packet.

443 {
448 
449  return &_worldPacket;
450 }
ObjectGuid CasterUnit
Definition: SpellPackets.h:416
uint32 SpellID
Definition: SpellPackets.h:417
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 Reason
Definition: SpellPackets.h:418
uint8 CastID
Definition: SpellPackets.h:419
uint8_t uint8
Definition: g3dmath.h:164
uint32_t uint32
Definition: g3dmath.h:168

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid WorldPackets::Spells::SpellFailedOther::CasterUnit
uint8 WorldPackets::Spells::SpellFailedOther::CastID = 0
uint8 WorldPackets::Spells::SpellFailedOther::Reason = 0
uint32 WorldPackets::Spells::SpellFailedOther::SpellID = 0

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