mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(Core/Group): add GetGroupType() (#14411)
This commit is contained in:
@@ -2228,6 +2228,11 @@ bool Group::IsCreated() const
|
||||
return GetMembersCount() > 0;
|
||||
}
|
||||
|
||||
GroupType Group::GetGroupType() const
|
||||
{
|
||||
return m_groupType;
|
||||
}
|
||||
|
||||
ObjectGuid Group::GetLeaderGUID() const
|
||||
{
|
||||
return m_leaderGuid;
|
||||
|
||||
@@ -214,6 +214,7 @@ public:
|
||||
bool isBFGroup() const;
|
||||
bool isBGGroup() const;
|
||||
bool IsCreated() const;
|
||||
GroupType GetGroupType() const;
|
||||
ObjectGuid GetLeaderGUID() const;
|
||||
Player* GetLeader();
|
||||
ObjectGuid GetGUID() const;
|
||||
|
||||
Reference in New Issue
Block a user