AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Typedefs | |
typedef std::unordered_map< std::string, Player * > | MapType |
Functions | |
void | Insert (Player *p) |
void | Remove (Player *p) |
void | RemoveByName (std::string const &name) |
Player * | Find (std::string const &name) |
Variables | |
static MapType | PlayerNameMap |
typedef std::unordered_map<std::string, Player*> PlayerNameMapHolder::MapType |
Player * PlayerNameMapHolder::Find | ( | std::string const & | name | ) |
References normalizePlayerName(), and PlayerNameMap.
Referenced by ObjectAccessor::FindPlayerByName().
void PlayerNameMapHolder::Insert | ( | Player * | p | ) |
References WorldObject::GetName(), and PlayerNameMap.
Referenced by ObjectAccessor::AddObject(), and ObjectAccessor::UpdatePlayerNameMapReference().
void PlayerNameMapHolder::Remove | ( | Player * | p | ) |
References WorldObject::GetName(), and PlayerNameMap.
Referenced by ObjectAccessor::RemoveObject().
void PlayerNameMapHolder::RemoveByName | ( | std::string const & | name | ) |
References PlayerNameMap, and RemoveByName().
Referenced by RemoveByName(), and ObjectAccessor::UpdatePlayerNameMapReference().
|
static |
Referenced by Find(), Insert(), Remove(), and RemoveByName().