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

#include <BattlegroundPackets.h>

Public Member Functions

 BattlefieldStatusQueued ()
 
WorldPacket constWrite () override
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () overridefinal
 
void Clear ()
 
WorldPacket && Move ()
 
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
 
WorldPacket constGetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

uint32 AverageWaitTime = 0
 
BattlefieldStatusHeader Hdr
 
bool AsGroup = false
 
bool SuspendedQueue = false
 
bool EligibleForMatchmaking = false
 
uint32 WaitTime = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Battleground::BattlefieldStatusQueued::BattlefieldStatusQueued ( )
inline
188 : ServerPacket(SMSG_BATTLEFIELD_STATUS_QUEUED, 4 + sizeof(BattlefieldStatusHeader) + 1 + 1 + 1 + 4) { }
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49
Definition: Opcodes.h:784

Member Function Documentation

WorldPacket const * WorldPackets::Battleground::BattlefieldStatusQueued::Write ( )
overridevirtual

Implements WorldPackets::Packet.

178 {
179  _worldPacket << Hdr;
186  return &_worldPacket;
187 }
bool AsGroup
Definition: BattlegroundPackets.h:194
uint32 WaitTime
Definition: BattlegroundPackets.h:197
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
BattlefieldStatusHeader Hdr
Definition: BattlegroundPackets.h:193
uint32 AverageWaitTime
Definition: BattlegroundPackets.h:192
bool SuspendedQueue
Definition: BattlegroundPackets.h:195
bool EligibleForMatchmaking
Definition: BattlegroundPackets.h:196
uint32_t uint32
Definition: g3dmath.h:168

+ Here is the caller graph for this function:

Member Data Documentation

bool WorldPackets::Battleground::BattlefieldStatusQueued::AsGroup = false
uint32 WorldPackets::Battleground::BattlefieldStatusQueued::AverageWaitTime = 0
bool WorldPackets::Battleground::BattlefieldStatusQueued::EligibleForMatchmaking = false
BattlefieldStatusHeader WorldPackets::Battleground::BattlefieldStatusQueued::Hdr
bool WorldPackets::Battleground::BattlefieldStatusQueued::SuspendedQueue = false
uint32 WorldPackets::Battleground::BattlefieldStatusQueued::WaitTime = 0

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