TrinityCore
Loading...
Searching...
No Matches
WorldPackets::Spells::CastFailed Class Referencefinal

#include <SpellPackets.h>

+ Inheritance diagram for WorldPackets::Spells::CastFailed:

Public Member Functions

 CastFailed ()
 
WorldPacket const * Write () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200)
 
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
 
Packet & operator= (Packet const &right)=delete
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 

Public Attributes

uint8 CastID = 0
 
int32 SpellID = 0
 
uint8 Reason = 0
 
Optional< int32 > FailedArg1
 
Optional< int32 > FailedArg2
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 360 of file SpellPackets.h.

Constructor & Destructor Documentation

◆ CastFailed()

WorldPackets::Spells::CastFailed::CastFailed ( )
inlineexplicit

Definition at line 363 of file SpellPackets.h.

Member Function Documentation

◆ Write()

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

Member Data Documentation

◆ CastID

uint8 WorldPackets::Spells::CastFailed::CastID = 0

Definition at line 367 of file SpellPackets.h.

Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().

◆ FailedArg1

Optional<int32> WorldPackets::Spells::CastFailed::FailedArg1

Definition at line 370 of file SpellPackets.h.

Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().

◆ FailedArg2

Optional<int32> WorldPackets::Spells::CastFailed::FailedArg2

Definition at line 371 of file SpellPackets.h.

Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().

◆ Reason

uint8 WorldPackets::Spells::CastFailed::Reason = 0

Definition at line 369 of file SpellPackets.h.

Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().

◆ SpellID

int32 WorldPackets::Spells::CastFailed::SpellID = 0

Definition at line 368 of file SpellPackets.h.

Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().


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