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

#include <BattlegroundPackets.h>

Public Member Functions

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

BattlefieldStatusHeader Hdr
 
uint32 ShutdownTimer = 0
 
uint8 ArenaFaction = 0
 
bool LeftEarly = false
 
uint32 StartTimer = 0
 
uint32 Mapid = 0
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Constructor & Destructor Documentation

WorldPackets::Battleground::BattlefieldStatusActive::BattlefieldStatusActive ( )
inline
173 : ServerPacket(SMSG_BATTLEFIELD_STATUS_ACTIVE, sizeof(BattlefieldStatusHeader) + 4 + 1 + 1 + 4 + 4) { }
Definition: Opcodes.h:780
ServerPacket(OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
Definition: Packet.h:49

Member Function Documentation

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

Implements WorldPackets::Packet.

166 {
167  _worldPacket << Hdr;
174  return &_worldPacket;
175 }
void FlushBits()
Definition: ByteBuffer.h:150
WorldPacket _worldPacket
Definition: Packet.h:43
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
uint32 StartTimer
Definition: BattlegroundPackets.h:181
uint32 ShutdownTimer
Definition: BattlegroundPackets.h:178
BattlefieldStatusHeader Hdr
Definition: BattlegroundPackets.h:177
bool LeftEarly
Definition: BattlegroundPackets.h:180
uint32 Mapid
Definition: BattlegroundPackets.h:182
uint32_t uint32
Definition: g3dmath.h:168
uint8 ArenaFaction
Definition: BattlegroundPackets.h:179

+ Here is the caller graph for this function:

Member Data Documentation

uint8 WorldPackets::Battleground::BattlefieldStatusActive::ArenaFaction = 0
BattlefieldStatusHeader WorldPackets::Battleground::BattlefieldStatusActive::Hdr
bool WorldPackets::Battleground::BattlefieldStatusActive::LeftEarly = false
uint32 WorldPackets::Battleground::BattlefieldStatusActive::Mapid = 0
uint32 WorldPackets::Battleground::BattlefieldStatusActive::ShutdownTimer = 0
uint32 WorldPackets::Battleground::BattlefieldStatusActive::StartTimer = 0

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