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
 
Packetoperator= (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< int32Battlefields
 
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()

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

Implements WorldPackets::Packet.

Definition at line 260 of file BattlegroundPackets.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ Battlefields

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

Definition at line 310 of file BattlegroundPackets.h.

◆ BattlemasterGuid

ObjectGuid WorldPackets::Battleground::BattlefieldList::BattlemasterGuid

Definition at line 306 of file BattlegroundPackets.h.

◆ BattlemasterListID

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

Definition at line 307 of file BattlegroundPackets.h.

◆ HasRandomWinToday

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

Definition at line 312 of file BattlegroundPackets.h.

◆ MaxLevel

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

Definition at line 309 of file BattlegroundPackets.h.

◆ MinLevel

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

Definition at line 308 of file BattlegroundPackets.h.

◆ PvpAnywhere

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

Definition at line 311 of file BattlegroundPackets.h.


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