diff options
Diffstat (limited to 'src/game/Group.h')
-rw-r--r-- | src/game/Group.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Group.h b/src/game/Group.h index 132b5a20b5c..3dc98ee6d04 100644 --- a/src/game/Group.h +++ b/src/game/Group.h @@ -172,7 +172,7 @@ class Group // group manipulation methods bool Create(const uint64 &guid, const char * name); - bool LoadGroupFromDB(const uint64 &leaderGuid, QueryResult_AutoPtr result = QueryResult_AutoPtr(NULL), bool loadMembers = true); + bool LoadGroupFromDB(const uint64 &guid, QueryResult_AutoPtr result = QueryResult_AutoPtr(NULL), bool loadMembers = true); bool LoadMemberFromDB(uint32 guidLow, uint8 memberFlags, uint8 subgroup); bool AddInvite(Player *player); uint32 RemoveInvite(Player *player); @@ -194,6 +194,7 @@ class Group bool isBGGroup() const { return m_bgGroup != NULL; } bool IsCreated() const { return GetMembersCount() > 0; } const uint64& GetLeaderGUID() const { return m_leaderGuid; } + const uint64& GetGUID() const { return m_guid; } const char * GetLeaderName() const { return m_leaderName.c_str(); } LootMethod GetLootMethod() const { return m_lootMethod; } const uint64& GetLooterGuid() const { return m_looterGuid; } @@ -448,5 +449,7 @@ class Group Rolls RollId; BoundInstancesMap m_boundInstances[MAX_DIFFICULTY]; uint8* m_subGroupsCounts; + uint64 m_guid; + uint32 m_counter; // used only in SMSG_GROUP_LIST }; #endif |