TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Spells::SetActionButton Class Referencefinal

#include <SpellPackets.h>

Public Member Functions

 SetActionButton (WorldPacket &&packet)
 
void Read () override
 
- Public Member Functions inherited from WorldPackets::ClientPacket
 ClientPacket (WorldPacket &&packet)
 
 ClientPacket (OpcodeClient expectedOpcode, WorldPacket &&packet)
 
WorldPacket constWrite () overridefinal
 
OpcodeClient 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
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

uint64 Action = 0
 two packed uint32 (action and type) More...
 
uint8 Index = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Spells::SetActionButton::SetActionButton ( WorldPacket &&  packet)
inline
148 : ClientPacket(CMSG_SET_ACTION_BUTTON, std::move(packet)) {}
Definition: Opcodes.h:604
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Spells::SetActionButton::Read ( )
overridevirtual

Implements WorldPackets::Packet.

77 {
80 }
uint64 Action
two packed uint32 (action and type)
Definition: SpellPackets.h:152
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 Index
Definition: SpellPackets.h:153

Member Data Documentation

uint64 WorldPackets::Spells::SetActionButton::Action = 0

two packed uint32 (action and type)

uint8 WorldPackets::Spells::SetActionButton::Index = 0

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