mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +00:00
feat(Core/Player): Added new functions for BGData (#2009)
This commit is contained in:
@@ -2217,6 +2217,8 @@ class Player : public Unit, public GridObject<Player>
|
||||
uint32 GetCurrentBattlegroundQueueSlot() const { return m_bgData.bgQueueSlot; }
|
||||
bool IsInvitedForBattlegroundInstance() const { return m_bgData.isInvited; }
|
||||
bool IsCurrentBattlegroundRandom() const { return m_bgData.bgIsRandom; }
|
||||
BGData& GetBGData() { return m_bgData; }
|
||||
void SetBGData(BGData& bgdata) { m_bgData = bgdata; }
|
||||
Battleground* GetBattleground(bool create = false) const;
|
||||
|
||||
bool InBattlegroundQueue() const
|
||||
|
||||
Reference in New Issue
Block a user