1291{
1293
1294
1295 if (!player)
1296 return true;
1297
1299
1300
1301 if (!bg)
1302 return true;
1303
1304
1308 {
1309
1312 {
1313
1317 }
1318 }
1319
1320 return true;
1321}
std::uint32_t uint32
Definition: Define.h:107
BattlegroundQueueTypeId
Definition: SharedDefines.h:3619
@ TEAM_NEUTRAL
Definition: SharedDefines.h:762
#define PLAYER_MAX_BATTLEGROUND_QUEUES
Definition: SharedDefines.h:176
@ INVITE_ACCEPT_WAIT_TIME
Definition: Battleground.h:165
@ INVITATION_REMIND_TIME
Definition: Battleground.h:164
@ STATUS_WAIT_JOIN
Definition: Battleground.h:201
#define sBattlegroundMgr
Definition: BattlegroundMgr.h:186
Player * FindConnectedPlayer(ObjectGuid const guid)
Definition: ObjectAccessor.cpp:257
Definition: Battleground.h:303
bool isRated() const
Definition: Battleground.h:415
static BattlegroundQueueTypeId BGQueueTypeId(BattlegroundTypeId bgTypeId, uint8 arenaType)
Definition: BattlegroundMgr.cpp:672
Definition: BattlegroundQueue.h:64
bool IsPlayerInvited(ObjectGuid pl_guid, uint32 bgInstanceGuid, uint32 removeTime)
Definition: BattlegroundQueue.cpp:379
Definition: Player.h:1081
WorldSession * GetSession() const
Definition: Player.h:1998
uint32 GetBattlegroundQueueIndex(BattlegroundQueueTypeId bgQueueTypeId) const
Definition: Player.cpp:12253
Definition: WorldPacket.h:26
void SendPacket(WorldPacket const *packet)
Send a packet to the client.
Definition: WorldSession.cpp:214