TrinityCore
WorldPackets::Battleground::BattlefieldList Class Referencefinal

#include <BattlegroundPackets.h>

+ Inheritance diagram for WorldPackets::Battleground::BattlefieldList:

Public Member Functions

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

ObjectGuid BattlemasterGuid
 
int32 BattlemasterListID = 0
 
uint8 MinLevel = 0
 
uint8 MaxLevel = 0
 
std::vector< int32Battlefields
 
bool PvpAnywhere = false
 
bool HasRandomWinToday = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 295 of file BattlegroundPackets.h.

Constructor & Destructor Documentation

◆ BattlefieldList()

WorldPackets::Battleground::BattlefieldList::BattlefieldList ( )
inline

Definition at line 298 of file BattlegroundPackets.h.

Member Function Documentation

◆ Write()

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

Implements WorldPackets::Packet.

Definition at line 242 of file BattlegroundPackets.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ Battlefields

std::vector<int32> WorldPackets::Battleground::BattlefieldList::Battlefields

Definition at line 306 of file BattlegroundPackets.h.

◆ BattlemasterGuid

ObjectGuid WorldPackets::Battleground::BattlefieldList::BattlemasterGuid

Definition at line 302 of file BattlegroundPackets.h.

◆ BattlemasterListID

int32 WorldPackets::Battleground::BattlefieldList::BattlemasterListID = 0

Definition at line 303 of file BattlegroundPackets.h.

◆ HasRandomWinToday

bool WorldPackets::Battleground::BattlefieldList::HasRandomWinToday = false

Definition at line 308 of file BattlegroundPackets.h.

◆ MaxLevel

uint8 WorldPackets::Battleground::BattlefieldList::MaxLevel = 0

Definition at line 305 of file BattlegroundPackets.h.

◆ MinLevel

uint8 WorldPackets::Battleground::BattlefieldList::MinLevel = 0

Definition at line 304 of file BattlegroundPackets.h.

◆ PvpAnywhere

bool WorldPackets::Battleground::BattlefieldList::PvpAnywhere = false

Definition at line 307 of file BattlegroundPackets.h.


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