![]() |
TrinityCore
|
#include <PoolMgr.h>
Public Member Functions | |
| void | LoadFromDB () |
| void | Initialize () |
| template<typename T > | |
| uint32 | IsPartOfAPool (uint32 db_guid_or_pool_id) const |
| uint32 | IsPartOfAPool (SpawnObjectType type, ObjectGuid::LowType spawnId) const |
| template<typename T > | |
| bool | IsSpawnedObject (uint32 db_guid_or_pool_id) const |
| bool | CheckPool (uint32 pool_id) const |
| void | SpawnPool (uint32 pool_id) |
| void | DespawnPool (uint32 pool_id, bool alwaysDeleteRespawnTime=false) |
| template<typename T > | |
| void | UpdatePool (uint32 pool_id, uint32 db_guid_or_pool_id) |
| void | UpdatePool (uint32 pool_id, SpawnObjectType type, ObjectGuid::LowType spawnId) |
| template<> | |
| uint32 | IsPartOfAPool (uint32 db_guid) const |
| template<> | |
| uint32 | IsPartOfAPool (uint32 db_guid) const |
| template<> | |
| uint32 | IsPartOfAPool (uint32 pool_id) const |
Static Public Member Functions | |
| static PoolMgr * | instance () |
Private Types | |
| typedef std::unordered_map< uint32, PoolTemplateData > | PoolTemplateDataMap |
| typedef std::unordered_map< uint32, PoolGroup< Creature > > | PoolGroupCreatureMap |
| typedef std::unordered_map< uint32, PoolGroup< GameObject > > | PoolGroupGameObjectMap |
| typedef std::unordered_map< uint32, PoolGroup< Pool > > | PoolGroupPoolMap |
| typedef std::pair< uint32, uint32 > | SearchPair |
| typedef std::map< uint32, uint32 > | SearchMap |
Private Member Functions | |
| PoolMgr () | |
| ~PoolMgr () | |
| template<typename T > | |
| void | SpawnPool (uint32 pool_id, uint32 db_guid_or_pool_id) |
| template<> | |
| void | SpawnPool (uint32 pool_id, uint32 db_guid) |
| template<> | |
| void | SpawnPool (uint32 pool_id, uint32 db_guid) |
| template<> | |
| void | SpawnPool (uint32 pool_id, uint32 sub_pool_id) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 402 of file PoolMgr.cpp.
| bool PoolMgr::CheckPool | ( | uint32 | pool_id | ) | const |
| void PoolMgr::DespawnPool | ( | uint32 | pool_id, |
| bool | alwaysDeleteRespawnTime = false |
||
| ) |
Definition at line 751 of file PoolMgr.cpp.
| void PoolMgr::Initialize | ( | ) |
Definition at line 404 of file PoolMgr.cpp.
|
static |
Definition at line 410 of file PoolMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 PoolMgr::IsPartOfAPool | ( | SpawnObjectType | type, |
| ObjectGuid::LowType | spawnId | ||
| ) | const |
Definition at line 771 of file PoolMgr.cpp.
|
inline |
| void PoolMgr::LoadFromDB | ( | ) |
| void PoolMgr::SpawnPool | ( | uint32 | pool_id | ) |
Definition at line 716 of file PoolMgr.cpp.
Definition at line 726 of file PoolMgr.cpp.
Definition at line 736 of file PoolMgr.cpp.
| void PoolMgr::UpdatePool | ( | uint32 | pool_id, |
| SpawnObjectType | type, | ||
| ObjectGuid::LowType | spawnId | ||
| ) |
Definition at line 822 of file PoolMgr.cpp.
| template void PoolMgr::UpdatePool< Creature > | ( | uint32 | pool_id, |
| uint32 | db_guid_or_pool_id | ||
| ) |
Definition at line 810 of file PoolMgr.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |