feat(Core/Group): add GetGroupType() (#14411)

This commit is contained in:
Axel Cocat
2022-12-29 14:45:49 +01:00
committed by GitHub
parent a104f397d9
commit 7fa0aeeca7
2 changed files with 6 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;