AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "TypeContainer.h"
Public Member Functions | |
template<class SPECIFIC_TYPE > | |
bool | Insert (KEY_TYPE const &handle, SPECIFIC_TYPE *obj) |
template<class SPECIFIC_TYPE > | |
bool | Remove (KEY_TYPE const &handle) |
template<class SPECIFIC_TYPE > | |
SPECIFIC_TYPE * | Find (KEY_TYPE const &handle) |
template<class SPECIFIC_TYPE > | |
std::size_t | Size () const |
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > & | GetElements () |
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > const & | GetElements () const |
Private Attributes | |
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > | _elements |
|
inline |
References TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::_elements, and Acore::Find().
Referenced by Map::GetCorpse(), Map::GetCreature(), Map::GetDynamicObject(), Map::GetGameObject(), and Map::GetPet().
|
inline |
References TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::_elements.
Referenced by VisitorHelper().
|
inline |
|
inline |
References TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::_elements, and Acore::Insert().
Referenced by Corpse::AddToWorld(), Creature::AddToWorld(), DynamicObject::AddToWorld(), GameObject::AddToWorld(), and Pet::AddToWorld().
|
inline |
References TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::_elements, and Acore::Remove().
Referenced by Corpse::RemoveFromWorld(), Creature::RemoveFromWorld(), DynamicObject::RemoveFromWorld(), GameObject::RemoveFromWorld(), and Pet::RemoveFromWorld().
|
inline |
References TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::_elements, and Acore::Size().
Referenced by debug_commandscript::HandleDebugObjectCountMap().
|
private |
Referenced by TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Find(), TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::GetElements(), TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Insert(), TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Remove(), and TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Size().