TrinityCore
WorldPackets::Spells::SpellFailedOther Class Referencefinal

#include <SpellPackets.h>

+ Inheritance diagram for WorldPackets::Spells::SpellFailedOther:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 443 of file SpellPackets.h.

Constructor & Destructor Documentation

◆ SpellFailedOther()

WorldPackets::Spells::SpellFailedOther::SpellFailedOther ( )
inline

Definition at line 446 of file SpellPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 505 of file SpellPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ CasterUnit

ObjectGuid WorldPackets::Spells::SpellFailedOther::CasterUnit

Definition at line 450 of file SpellPackets.h.

◆ CastID

ObjectGuid WorldPackets::Spells::SpellFailedOther::CastID

Definition at line 454 of file SpellPackets.h.

◆ Reason

uint8 WorldPackets::Spells::SpellFailedOther::Reason = 0

Definition at line 453 of file SpellPackets.h.

◆ SpellID

uint32 WorldPackets::Spells::SpellFailedOther::SpellID = 0

Definition at line 451 of file SpellPackets.h.

◆ Visual

SpellCastVisual WorldPackets::Spells::SpellFailedOther::Visual

Definition at line 452 of file SpellPackets.h.


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