![]() |
TrinityCore
|
#include <PoolMgr.h>
Public Member Functions | |
| template<typename T > | |
| bool | IsActiveObject (uint32 db_guid_or_pool_id) const |
| uint32 | GetActiveObjectCount (uint32 pool_id) const |
| template<typename T > | |
| void | ActivateObject (uint32 db_guid_or_pool_id, uint32 pool_id) |
| template<typename T > | |
| void | RemoveObject (uint32 db_guid_or_pool_id, uint32 pool_id) |
| template<> | |
| TC_GAME_API bool | IsActiveObject (uint32 db_guid) const |
| template<> | |
| TC_GAME_API bool | IsActiveObject (uint32 db_guid) const |
| template<> | |
| TC_GAME_API bool | IsActiveObject (uint32 sub_pool_id) const |
| template<> | |
| void | ActivateObject (uint32 db_guid, uint32 pool_id) |
| template<> | |
| void | ActivateObject (uint32 db_guid, uint32 pool_id) |
| template<> | |
| void | ActivateObject (uint32 sub_pool_id, uint32 pool_id) |
| template<> | |
| void | RemoveObject (uint32 db_guid, uint32 pool_id) |
| template<> | |
| void | RemoveObject (uint32 db_guid, uint32 pool_id) |
| template<> | |
| void | RemoveObject (uint32 sub_pool_id, uint32 pool_id) |
Private Attributes | |
| ActivePoolObjects | mSpawnedCreatures |
| ActivePoolObjects | mSpawnedGameobjects |
| ActivePoolPools | mSpawnedPools |
Definition at line 57 of file PoolMgr.cpp.
References mSpawnedCreatures, and mSpawnedPools.
Definition at line 64 of file PoolMgr.cpp.
References mSpawnedGameobjects, and mSpawnedPools.
| void ActivePoolData::ActivateObject | ( | uint32 | db_guid_or_pool_id, |
| uint32 | pool_id | ||
| ) |
Referenced by PoolGroup< T >::SpawnObject().
Definition at line 71 of file PoolMgr.cpp.
Definition at line 29 of file PoolMgr.cpp.
References mSpawnedPools.
Referenced by PoolGroup< T >::SpawnObject().
| TC_GAME_API bool ActivePoolData::IsActiveObject | ( | uint32 | db_guid | ) | const |
Definition at line 37 of file PoolMgr.cpp.
References mSpawnedCreatures.
| TC_GAME_API bool ActivePoolData::IsActiveObject | ( | uint32 | db_guid | ) | const |
Definition at line 44 of file PoolMgr.cpp.
References mSpawnedGameobjects.
| bool ActivePoolData::IsActiveObject | ( | uint32 | db_guid_or_pool_id | ) | const |
Referenced by PoolGroup< T >::DespawnObject(), and PoolGroup< T >::SpawnObject().
| TC_GAME_API bool ActivePoolData::IsActiveObject | ( | uint32 | sub_pool_id | ) | const |
Definition at line 51 of file PoolMgr.cpp.
References mSpawnedPools.
Definition at line 78 of file PoolMgr.cpp.
References mSpawnedCreatures, and mSpawnedPools.
Definition at line 87 of file PoolMgr.cpp.
References mSpawnedGameobjects, and mSpawnedPools.
| void ActivePoolData::RemoveObject | ( | uint32 | db_guid_or_pool_id, |
| uint32 | pool_id | ||
| ) |
Referenced by PoolGroup< T >::DespawnObject().
Definition at line 96 of file PoolMgr.cpp.
References mSpawnedPools.
|
private |
Definition at line 59 of file PoolMgr.h.
Referenced by ActivateObject(), IsActiveObject(), and RemoveObject().
|
private |
Definition at line 60 of file PoolMgr.h.
Referenced by ActivateObject(), IsActiveObject(), and RemoveObject().
|
private |
Definition at line 61 of file PoolMgr.h.
Referenced by ActivateObject(), GetActiveObjectCount(), IsActiveObject(), RemoveObject(), and RemoveObject().