![]() |
TrinityCore
|
#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 |
Definition at line 360 of file SpellPackets.h.
|
inlineexplicit |
Definition at line 363 of file SpellPackets.h.
|
overridevirtual |
Implements WorldPackets::Packet.
Definition at line 412 of file SpellPackets.cpp.
References WorldPackets::Packet::_worldPacket, CastID, FailedArg1, FailedArg2, Reason, and SpellID.
Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Spell::SendCastResult().
| uint8 WorldPackets::Spells::CastFailed::CastID = 0 |
Definition at line 367 of file SpellPackets.h.
Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().
Definition at line 370 of file SpellPackets.h.
Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().
Definition at line 371 of file SpellPackets.h.
Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().
| uint8 WorldPackets::Spells::CastFailed::Reason = 0 |
Definition at line 369 of file SpellPackets.h.
Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().
| int32 WorldPackets::Spells::CastFailed::SpellID = 0 |
Definition at line 368 of file SpellPackets.h.
Referenced by debug_commandscript::HandleDebugSendSpellFailCommand(), and Write().