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