TrinityCore
Loading...
Searching...
No Matches
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 () 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
 
Packet & operator= (Packet const &right)=delete
 
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< int32 > Battlefields
 
bool PvpAnywhere = false
 
bool HasRandomWinToday = false
 

Additional Inherited Members

- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 299 of file BattlegroundPackets.h.

Constructor & Destructor Documentation

◆ BattlefieldList()

WorldPackets::Battleground::BattlefieldList::BattlefieldList ( )
inlineexplicit

Definition at line 302 of file BattlegroundPackets.h.

Member Function Documentation

◆ Write()

Member Data Documentation

◆ Battlefields

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

Definition at line 310 of file BattlegroundPackets.h.

Referenced by Write().

◆ BattlemasterGuid

ObjectGuid WorldPackets::Battleground::BattlefieldList::BattlemasterGuid

Definition at line 306 of file BattlegroundPackets.h.

Referenced by BattlegroundMgr::SendBattlegroundList(), and Write().

◆ BattlemasterListID

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

Definition at line 307 of file BattlegroundPackets.h.

Referenced by BattlegroundMgr::SendBattlegroundList(), and Write().

◆ HasRandomWinToday

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

Definition at line 312 of file BattlegroundPackets.h.

Referenced by BattlegroundMgr::SendBattlegroundList(), and Write().

◆ MaxLevel

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

Definition at line 309 of file BattlegroundPackets.h.

Referenced by BattlegroundMgr::SendBattlegroundList(), and Write().

◆ MinLevel

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

Definition at line 308 of file BattlegroundPackets.h.

Referenced by BattlegroundMgr::SendBattlegroundList(), and Write().

◆ PvpAnywhere

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

Definition at line 311 of file BattlegroundPackets.h.

Referenced by BattlegroundMgr::SendBattlegroundList(), and Write().


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