![]() |
TrinityCore
|
Typedefs | |
| typedef std::unordered_map< std::string, Player * > | MapType |
Functions | |
| void | Insert (Player *p) |
| void | Remove (Player *p) |
| Player * | Find (std::string_view name) |
Variables | |
| static MapType | PlayerNameMap |
| typedef std::unordered_map<std::string, Player*> PlayerNameMapHolder::MapType |
Definition at line 78 of file ObjectAccessor.cpp.
| Player * PlayerNameMapHolder::Find | ( | std::string_view | name | ) |
Definition at line 91 of file ObjectAccessor.cpp.
References Find(), normalizePlayerName(), and PlayerNameMap.
Referenced by Find(), and ObjectAccessor::FindConnectedPlayerByName().
| void PlayerNameMapHolder::Insert | ( | Player * | p | ) |
Definition at line 81 of file ObjectAccessor.cpp.
References WorldObject::GetName(), Insert(), and PlayerNameMap.
Referenced by ObjectAccessor::AddObject(), and Insert().
| void PlayerNameMapHolder::Remove | ( | Player * | p | ) |
Definition at line 86 of file ObjectAccessor.cpp.
References WorldObject::GetName(), and PlayerNameMap.
Referenced by ObjectAccessor::RemoveObject().