TrinityCore
Loading...
Searching...
No Matches
BattlegroundQueueTypeId Struct Reference

#include <SharedDefines.h>

Public Member Functions

constexpr uint64 GetPacked () const
 
constexpr bool operator== (BattlegroundQueueTypeId const &right) const =default
 
constexpr std::strong_ordering operator<=> (BattlegroundQueueTypeId const &right) const =default
 

Static Public Member Functions

static constexpr BattlegroundQueueTypeId FromPacked (uint64 packedQueueId)
 

Public Attributes

uint16 BattlemasterListId
 
uint8 BracketId
 
uint8 TeamSize
 

Detailed Description

Definition at line 3755 of file SharedDefines.h.

Member Function Documentation

◆ FromPacked()

static constexpr BattlegroundQueueTypeId BattlegroundQueueTypeId::FromPacked ( uint64  packedQueueId)
inlinestaticconstexpr

Definition at line 3761 of file SharedDefines.h.

References BattlemasterListId.

Referenced by WorldSession::HandleBattleFieldPortOpcode().

◆ GetPacked()

constexpr uint64 BattlegroundQueueTypeId::GetPacked ( ) const
inlineconstexpr

◆ operator<=>()

constexpr std::strong_ordering BattlegroundQueueTypeId::operator<=> ( BattlegroundQueueTypeId const &  right) const
constexprdefault

◆ operator==()

constexpr bool BattlegroundQueueTypeId::operator== ( BattlegroundQueueTypeId const &  right) const
constexprdefault

Member Data Documentation

◆ BattlemasterListId

◆ BracketId

◆ TeamSize


The documentation for this struct was generated from the following file: