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

#include <SpellPackets.h>

Public Member Functions

 ClearSpellCharges ()
 
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

bool IsPet = false
 
int32 Category = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 628 of file SpellPackets.h.

Constructor & Destructor Documentation

◆ ClearSpellCharges()

WorldPackets::Spells::ClearSpellCharges::ClearSpellCharges ( )
inline

Definition at line 631 of file SpellPackets.h.

ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.cpp:25
@ SMSG_CLEAR_SPELL_CHARGES
Definition: Opcodes.h:1118

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 688 of file SpellPackets.cpp.

689{
693
694 return &_worldPacket;
695}
int32_t int32
Definition: Define.h:139
bool WriteBit(bool bit)
Definition: ByteBuffer.h:175
void FlushBits()
Definition: ByteBuffer.h:155
WorldPacket _worldPacket
Definition: Packet.h:43
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ Category

int32 WorldPackets::Spells::ClearSpellCharges::Category = 0

Definition at line 636 of file SpellPackets.h.

◆ IsPet

bool WorldPackets::Spells::ClearSpellCharges::IsPet = false

Definition at line 635 of file SpellPackets.h.


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