WorldPackets::Spells::SpellFailure Class Referencefinal

#include <SpellPackets.h>

+ Inheritance diagram for WorldPackets::Spells::SpellFailure:

Public Member Functions

 SpellFailure ()
WorldPacket const * Write () override
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
void Read () override final
void Clear ()
WorldPacket && Move ()
void ShrinkToFit ()
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
virtual WorldPacket const * Write ()=0
virtual void Read ()=0
WorldPacket const * GetRawPacket () const
size_t GetSize () const
ConnectionType GetConnection () const

Public Attributes

ObjectGuid CasterUnit
uint32 SpellID = 0
SpellCastVisual Visual
uint16 Reason = 0
ObjectGuid CastID

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket

Detailed Description

Definition at line 429 of file SpellPackets.h.

Constructor & Destructor Documentation

◆ SpellFailure()

WorldPackets::Spells::SpellFailure::SpellFailure ( )

Definition at line 432 of file SpellPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 494 of file SpellPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ CasterUnit

ObjectGuid WorldPackets::Spells::SpellFailure::CasterUnit

Definition at line 436 of file SpellPackets.h.

◆ CastID

ObjectGuid WorldPackets::Spells::SpellFailure::CastID

Definition at line 440 of file SpellPackets.h.

◆ Reason

uint16 WorldPackets::Spells::SpellFailure::Reason = 0

Definition at line 439 of file SpellPackets.h.

◆ SpellID

uint32 WorldPackets::Spells::SpellFailure::SpellID = 0

Definition at line 437 of file SpellPackets.h.

◆ Visual

SpellCastVisual WorldPackets::Spells::SpellFailure::Visual

Definition at line 438 of file SpellPackets.h.

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