TrinityCore
|
#include <GroupMgr.h>
Public Types | |
typedef std::map< ObjectGuid::LowType, Group * > | GroupContainer |
typedef std::vector< Group * > | GroupDbContainer |
Public Member Functions | |
Group * | GetGroupByGUID (ObjectGuid const &guid) const |
uint32 | GenerateNewGroupDbStoreId () |
void | RegisterGroupDbStoreId (uint32 storageId, Group *group) |
void | FreeGroupDbStoreId (Group *group) |
void | SetNextGroupDbStoreId (uint32 storageId) |
Group * | GetGroupByDbStoreId (uint32 storageId) const |
void | SetGroupDbStoreSize (uint32 newSize) |
void | Update (uint32 diff) |
void | LoadGroups () |
ObjectGuid::LowType | GenerateGroupId () |
void | AddGroup (Group *group) |
void | RemoveGroup (Group *group) |
Static Public Member Functions | |
static GroupMgr * | instance () |
Protected Attributes | |
ObjectGuid::LowType | NextGroupId |
uint32 | NextGroupDbStoreId |
GroupContainer | GroupStore |
GroupDbContainer | GroupDbStore |
Private Member Functions | |
GroupMgr () | |
~GroupMgr () | |
Definition at line 26 of file GroupMgr.h.
typedef std::map<ObjectGuid::LowType, Group*> GroupMgr::GroupContainer |
Definition at line 35 of file GroupMgr.h.
typedef std::vector<Group*> GroupMgr::GroupDbContainer |
Definition at line 36 of file GroupMgr.h.
|
private |
Definition at line 25 of file GroupMgr.cpp.
|
private |
Definition at line 31 of file GroupMgr.cpp.
void GroupMgr::AddGroup | ( | Group * | group | ) |
Definition at line 117 of file GroupMgr.cpp.
void GroupMgr::FreeGroupDbStoreId | ( | Group * | group | ) |
ObjectGuid::LowType GroupMgr::GenerateGroupId | ( | ) |
uint32 GroupMgr::GenerateNewGroupDbStoreId | ( | ) |
Group * GroupMgr::GetGroupByGUID | ( | ObjectGuid const & | guid | ) | const |
|
static |
Definition at line 96 of file GroupMgr.cpp.
void GroupMgr::LoadGroups | ( | ) |
void GroupMgr::RemoveGroup | ( | Group * | group | ) |
|
inline |
Definition at line 45 of file GroupMgr.h.
|
inline |
Definition at line 43 of file GroupMgr.h.
void GroupMgr::Update | ( | uint32 | diff | ) |
Definition at line 111 of file GroupMgr.cpp.
|
protected |
Definition at line 58 of file GroupMgr.h.
|
protected |
Definition at line 57 of file GroupMgr.h.
|
protected |
Definition at line 56 of file GroupMgr.h.
|
protected |
Definition at line 55 of file GroupMgr.h.