mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 16:43:47 +00:00
feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885)
This commit is contained in:
@@ -20,11 +20,11 @@ public:
|
||||
|
||||
typedef std::map<uint32, Group*> GroupContainer;
|
||||
|
||||
Group* GetGroupByGUID(uint32 guid) const;
|
||||
Group* GetGroupByGUID(ObjectGuid::LowType guid) const;
|
||||
|
||||
void InitGroupIds();
|
||||
void RegisterGroupId(uint32 groupId);
|
||||
uint32 GenerateGroupId();
|
||||
void RegisterGroupId(ObjectGuid::LowType groupId);
|
||||
ObjectGuid::LowType GenerateGroupId();
|
||||
|
||||
void LoadGroups();
|
||||
void AddGroup(Group* group);
|
||||
@@ -32,9 +32,9 @@ public:
|
||||
|
||||
protected:
|
||||
typedef std::vector<bool> GroupIds;
|
||||
GroupIds _groupIds;
|
||||
uint32 _nextGroupId;
|
||||
GroupContainer GroupStore;
|
||||
GroupIds _groupIds;
|
||||
ObjectGuid::LowType _nextGroupId;
|
||||
GroupContainer GroupStore;
|
||||
};
|
||||
|
||||
#define sGroupMgr GroupMgr::instance()
|
||||
|
||||
Reference in New Issue
Block a user