![]() |
TrinityCore
|
#include <SpellPackets.h>
Inheritance diagram for WorldPackets::Spells::PetCastFailed:Public Member Functions | |
| PetCastFailed () | |
| 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 374 of file SpellPackets.h.
|
inlineexplicit |
Definition at line 377 of file SpellPackets.h.
|
overridevirtual |
Implements WorldPackets::Packet.
Definition at line 427 of file SpellPackets.cpp.
References WorldPackets::Packet::_worldPacket, CastID, FailedArg1, FailedArg2, Reason, and SpellID.
Referenced by Spell::SendPetCastResult().
| uint8 WorldPackets::Spells::PetCastFailed::CastID = 0 |
Definition at line 381 of file SpellPackets.h.
Referenced by Write().
Definition at line 384 of file SpellPackets.h.
Referenced by Write().
Definition at line 385 of file SpellPackets.h.
Referenced by Write().
| uint8 WorldPackets::Spells::PetCastFailed::Reason = 0 |
Definition at line 383 of file SpellPackets.h.
Referenced by Write().
| int32 WorldPackets::Spells::PetCastFailed::SpellID = 0 |
Definition at line 382 of file SpellPackets.h.
Referenced by Write().