![]() |
TrinityCore
|
#include <TypeContainer.h>
Public Types | |
| template<typename ObjectType > | |
| using | ValueType = typename UnderlyingContainer< ObjectType >::ValueType |
Public Member Functions | |
| template<typename ObjectType > requires TypeExists<ObjectType> | |
| bool | Insert (ValueType< ObjectType > object) |
| template<typename ObjectType > requires TypeExists<ObjectType> | |
| bool | Remove (ValueType< ObjectType > object) |
| template<typename ObjectType > requires TypeExists<ObjectType> | |
| std::size_t | Size () const |
| template<typename ObjectType > requires TypeExists<ObjectType> && requires { typename UnderlyingContainer<ObjectType>::KeyType; } | |
| ValueType< ObjectType > | Find (typename UnderlyingContainer< ObjectType >::KeyType const &key) const |
Public Attributes | |
| TypeListContainerStorage< UnderlyingContainer, Types... > | Data |
Static Public Attributes | |
| template<typename ObjectType > | |
| static constexpr bool | TypeExists = Trinity::has_type_in_list_v<ObjectType, Types...> |
Definition at line 61 of file TypeContainer.h.
| using TypeListContainer< UnderlyingContainer, Types >::ValueType = typename UnderlyingContainer<ObjectType>::ValueType |
Definition at line 69 of file TypeContainer.h.
|
inline |
Definition at line 90 of file TypeContainer.h.
References TypeListContainer< UnderlyingContainer, Types >::Data.
Referenced by Map::GetAreaTrigger(), Map::GetConversation(), Map::GetCorpse(), Map::GetCreature(), Map::GetDynamicObject(), Map::GetGameObject(), Map::GetPet(), and Map::GetSceneObject().
|
inline |
Definition at line 72 of file TypeContainer.h.
References TypeListContainer< UnderlyingContainer, Types >::Data.
Referenced by AreaTrigger::AddToWorld(), Conversation::AddToWorld(), Corpse::AddToWorld(), Creature::AddToWorld(), DynamicObject::AddToWorld(), GameObject::AddToWorld(), Pet::AddToWorld(), and SceneObject::AddToWorld().
|
inline |
Definition at line 78 of file TypeContainer.h.
References TypeListContainer< UnderlyingContainer, Types >::Data.
Referenced by AreaTrigger::RemoveFromWorld(), Conversation::RemoveFromWorld(), Corpse::RemoveFromWorld(), Creature::RemoveFromWorld(), DynamicObject::RemoveFromWorld(), GameObject::RemoveFromWorld(), Pet::RemoveFromWorld(), and SceneObject::RemoveFromWorld().
|
inline |
Definition at line 84 of file TypeContainer.h.
References TypeListContainer< UnderlyingContainer, Types >::Data.
Referenced by debug_commandscript::HandleDebugLoadCellsCommandHelper(), and debug_commandscript::HandleDebugObjectCountMap().
| TypeListContainerStorage<UnderlyingContainer, Types...> TypeListContainer< UnderlyingContainer, Types >::Data |
Definition at line 63 of file TypeContainer.h.
Referenced by TypeListContainer< UnderlyingContainer, Types >::Find(), TypeListContainer< UnderlyingContainer, Types >::Insert(), TypeListContainer< UnderlyingContainer, Types >::Remove(), instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript::SetInstanceProgress(), TypeListContainer< UnderlyingContainer, Types >::Size(), and VisitorHelper().
|
staticconstexpr |
Definition at line 66 of file TypeContainer.h.