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

#include <BattlegroundPackets.h>

Public Member Functions

 BattlemasterJoin (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

bool JoinAsGroup = false
 
uint8 Roles = 0
 
uint64 QueueID = 0
 
int32 BlacklistMap [2] = { }
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Battleground::BattlemasterJoin::BattlemasterJoin ( WorldPacket &&  packet)
inline
216 : ClientPacket(CMSG_BATTLEMASTER_JOIN, std::move(packet)) { }
Definition: Opcodes.h:87
ClientPacket(WorldPacket &&packet)
Definition: Packet.h:62

Member Function Documentation

void WorldPackets::Battleground::BattlemasterJoin::Read ( )
overridevirtual

Implements WorldPackets::Packet.

124 {
126  _worldPacket >> Roles;
129 }
WorldPacket _worldPacket
Definition: Packet.h:43
uint8 Roles
Definition: BattlegroundPackets.h:221
uint64 QueueID
Definition: BattlegroundPackets.h:222
bool JoinAsGroup
Definition: BattlegroundPackets.h:220
int32 BlacklistMap[2]
Definition: BattlegroundPackets.h:223
bool ReadBit()
Definition: ByteBuffer.h:186

Member Data Documentation

int32 WorldPackets::Battleground::BattlemasterJoin::BlacklistMap[2] = { }
bool WorldPackets::Battleground::BattlemasterJoin::JoinAsGroup = false
uint64 WorldPackets::Battleground::BattlemasterJoin::QueueID = 0
uint8 WorldPackets::Battleground::BattlemasterJoin::Roles = 0

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