![]() |
TrinityCore
|
#include <GuildMgr.h>
Public Member Functions | |
| Guild * | GetGuildByLeader (ObjectGuid guid) const |
| Guild * | GetGuildById (ObjectGuid::LowType guildId) const |
| Guild * | GetGuildByName (std::string_view guildName) const |
| std::string | GetGuildNameById (ObjectGuid::LowType guildId) const |
| void | LoadGuilds () |
| void | AddGuild (Guild *guild) |
| void | RemoveGuild (ObjectGuid::LowType guildId) |
| ObjectGuid::LowType | GenerateGuildId () |
| void | SetNextGuildId (ObjectGuid::LowType Id) |
| void | ResetTimes () |
Static Public Member Functions | |
| static GuildMgr * | instance () |
Protected Types | |
| typedef std::unordered_map< ObjectGuid::LowType, Trinity::unique_trackable_ptr< Guild > > | GuildContainer |
Protected Attributes | |
| ObjectGuid::LowType | NextGuildId |
| GuildContainer | GuildStore |
Private Member Functions | |
| GuildMgr () | |
| ~GuildMgr () | |
| GuildMgr (GuildMgr const &)=delete | |
| GuildMgr & | operator= (GuildMgr const &)=delete |
Definition at line 29 of file GuildMgr.h.
|
protected |
Definition at line 54 of file GuildMgr.h.
|
private |
Definition at line 26 of file GuildMgr.cpp.
|
privatedefault |
|
privatedelete |
| void GuildMgr::AddGuild | ( | Guild * | guild | ) |
Definition at line 31 of file GuildMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| ObjectGuid::LowType GuildMgr::GenerateGuildId | ( | ) |
| Guild * GuildMgr::GetGuildById | ( | ObjectGuid::LowType | guildId | ) | const |
| Guild * GuildMgr::GetGuildByLeader | ( | ObjectGuid | guid | ) | const |
Definition at line 86 of file GuildMgr.cpp.
| Guild * GuildMgr::GetGuildByName | ( | std::string_view | guildName | ) | const |
| std::string GuildMgr::GetGuildNameById | ( | ObjectGuid::LowType | guildId | ) | const |
|
static |
Definition at line 80 of file GuildMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void GuildMgr::LoadGuilds | ( | ) |
| void GuildMgr::RemoveGuild | ( | ObjectGuid::LowType | guildId | ) |
Definition at line 38 of file GuildMgr.cpp.
| void GuildMgr::ResetTimes | ( | ) |
Definition at line 398 of file GuildMgr.cpp.
|
inline |
Definition at line 50 of file GuildMgr.h.
|
protected |
Definition at line 56 of file GuildMgr.h.
|
protected |
Definition at line 55 of file GuildMgr.h.