1327{
1329
1330
1331 if (!player)
1332 return true;
1333
1335
1336
1337
1338
1341 {
1342
1345 {
1346
1348 {
1350 {
1355 }
1356
1358 }
1359
1361
1364
1365
1368
1372 }
1373 }
1374
1375 return true;
1376}
#define LOG_DEBUG(filterType__,...)
Definition: Log.h:168
std::uint32_t uint32
Definition: Define.h:107
#define sScriptMgr
Definition: ScriptMgr.h:708
@ BG_DESERTION_TYPE_NO_ENTER_BUTTON
Definition: Battleground.h:53
@ STATUS_NONE
Definition: Battleground.h:194
@ STATUS_WAIT_LEAVE
Definition: Battleground.h:198
@ STATUS_WAIT_JOIN
Definition: Battleground.h:196
@ STATUS_IN_PROGRESS
Definition: Battleground.h:197
#define sBattlegroundMgr
Definition: BattlegroundMgr.h:188
@ CONFIG_BATTLEGROUND_TRACK_DESERTERS
Definition: IWorld.h:121
@ CHAR_INS_DESERTER_TRACK
Definition: CharacterDatabase.h:499
DatabaseWorkerPool< CharacterDatabaseConnection > CharacterDatabase
Accessor to the character database.
Definition: DatabaseEnv.cpp:21
@ TEAM_NEUTRAL
Definition: SharedDefines.h:762
#define PLAYER_MAX_BATTLEGROUND_QUEUES
Definition: SharedDefines.h:176
#define sWorld
Definition: World.h:444
Player * FindConnectedPlayer(ObjectGuid const guid)
Definition: ObjectAccessor.cpp:260
Definition: PreparedStatement.h:158
Acore::Types::is_default< T > SetData(const uint8 index, T value)
Definition: PreparedStatement.h:78
Definition: Battleground.h:298
bool isBattleground() const
Definition: Battleground.h:397
BattlegroundStatus GetStatus() const
Definition: Battleground.h:327
BattlegroundBracketId GetBracketId() const
Definition: Battleground.h:325
Definition: BattlegroundQueue.h:64
bool IsPlayerInvited(ObjectGuid pl_guid, uint32 bgInstanceGuid, uint32 removeTime)
Definition: BattlegroundQueue.cpp:377
void RemovePlayer(ObjectGuid guid, bool decreaseInvitedCount)
Definition: BattlegroundQueue.cpp:259
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
LowType GetCounter() const
Definition: ObjectGuid.h:145
std::string ToString() const
Definition: ObjectGuid.cpp:47
Definition: Player.h:1064
void SendDirectMessage(WorldPacket const *data) const
Definition: Player.cpp:5692
void RemoveBattlegroundQueueId(BattlegroundQueueTypeId val)
Definition: Player.cpp:12264
uint32 GetBattlegroundQueueIndex(BattlegroundQueueTypeId bgQueueTypeId) const
Definition: Player.cpp:12217
Definition: WorldPacket.h:27