![]() |
TrinityCore
|
#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 () 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 |
| ConnectionType | GetConnection () const |
Public Attributes | |
| ObjectGuid | CasterUnit |
| uint32 | SpellID = 0 |
| SpellCastVisual | Visual |
| uint16 | Reason = 0 |
| ObjectGuid | CastID |
| ObjectGuid | FailedBy |
| Unit that caused the spell to fail, set for SPELL_FAILED_INTERRUPTED_COMBAT. | |
Additional Inherited Members | |
Protected Attributes inherited from WorldPackets::Packet | |
| WorldPacket | _worldPacket |
Definition at line 440 of file SpellPackets.h.
|
inlineexplicit |
Definition at line 443 of file SpellPackets.h.
|
overridevirtual |
Implements WorldPackets::Packet.
Definition at line 526 of file SpellPackets.cpp.
References WorldPackets::Packet::_worldPacket, CasterUnit, CastID, FailedBy, Reason, SpellID, and Visual.
Referenced by Spell::SendInterrupted().
| ObjectGuid WorldPackets::Spells::SpellFailure::CasterUnit |
Definition at line 447 of file SpellPackets.h.
Referenced by Spell::SendInterrupted(), and Write().
| ObjectGuid WorldPackets::Spells::SpellFailure::CastID |
Definition at line 451 of file SpellPackets.h.
Referenced by Spell::SendInterrupted(), and Write().
| ObjectGuid WorldPackets::Spells::SpellFailure::FailedBy |
Unit that caused the spell to fail, set for SPELL_FAILED_INTERRUPTED_COMBAT.
Definition at line 452 of file SpellPackets.h.
Referenced by Spell::SendInterrupted(), and Write().
| uint16 WorldPackets::Spells::SpellFailure::Reason = 0 |
Definition at line 450 of file SpellPackets.h.
Referenced by Spell::SendInterrupted(), and Write().
| uint32 WorldPackets::Spells::SpellFailure::SpellID = 0 |
Definition at line 448 of file SpellPackets.h.
Referenced by Spell::SendInterrupted(), and Write().
| SpellCastVisual WorldPackets::Spells::SpellFailure::Visual |
Definition at line 449 of file SpellPackets.h.
Referenced by Spell::SendInterrupted(), and Write().