![]() |
TrinityCore
|
#include <PoolMgr.h>
Public Member Functions | |
| SpawnedPoolData (Map *owner) | |
| ~SpawnedPoolData () | |
| SpawnedPoolData (SpawnedPoolData const &right)=delete | |
| SpawnedPoolData (SpawnedPoolData &&right)=delete | |
| SpawnedPoolData & | operator= (SpawnedPoolData const &right)=delete |
| SpawnedPoolData & | operator= (SpawnedPoolData &&right)=delete |
| Map * | GetMap () const |
| template<typename T > | |
| bool | IsSpawnedObject (uint64 db_guid_or_pool_id) const |
| bool | IsSpawnedObject (SpawnObjectType type, uint64 db_guid_or_pool_id) const |
| uint32 | GetSpawnedObjects (uint32 pool_id) const |
| template<typename T > | |
| void | AddSpawn (uint64 db_guid_or_pool_id, uint32 pool_id) |
| template<typename T > | |
| void | RemoveSpawn (uint64 db_guid_or_pool_id, uint32 pool_id) |
| template<> | |
| TC_GAME_API bool | IsSpawnedObject (uint64 db_guid) const |
| template<> | |
| TC_GAME_API bool | IsSpawnedObject (uint64 db_guid) const |
| template<> | |
| TC_GAME_API bool | IsSpawnedObject (uint64 sub_pool_id) const |
| template<> | |
| void | AddSpawn (uint64 db_guid, uint32 pool_id) |
| template<> | |
| void | AddSpawn (uint64 db_guid, uint32 pool_id) |
| template<> | |
| void | AddSpawn (uint64 sub_pool_id, uint32 pool_id) |
| template<> | |
| void | RemoveSpawn (uint64 db_guid, uint32 pool_id) |
| template<> | |
| void | RemoveSpawn (uint64 db_guid, uint32 pool_id) |
| template<> | |
| void | RemoveSpawn (uint64 sub_pool_id, uint32 pool_id) |
Private Attributes | |
| Map * | mOwner |
| SpawnedPoolObjects | mSpawnedCreatures |
| SpawnedPoolObjects | mSpawnedGameobjects |
| SpawnedPoolPools | mSpawnedPools |
|
explicit |
Definition at line 36 of file PoolMgr.cpp.
|
default |
|
delete |
|
delete |
Definition at line 81 of file PoolMgr.cpp.
References mSpawnedCreatures, and mSpawnedPools.
Definition at line 88 of file PoolMgr.cpp.
References mSpawnedGameobjects.
Referenced by PoolGroup< T >::SpawnObject().
Definition at line 95 of file PoolMgr.cpp.
References mSpawnedPools.
Definition at line 40 of file PoolMgr.cpp.
References mSpawnedPools.
Referenced by PoolGroup< T >::SpawnObject().
| bool SpawnedPoolData::IsSpawnedObject | ( | SpawnObjectType | type, |
| uint64 | db_guid_or_pool_id | ||
| ) | const |
Definition at line 67 of file PoolMgr.cpp.
References ABORT_MSG, SPAWN_TYPE_CREATURE, SPAWN_TYPE_GAMEOBJECT, and UI64FMTD.
| TC_GAME_API bool SpawnedPoolData::IsSpawnedObject | ( | uint64 | db_guid | ) | const |
Definition at line 48 of file PoolMgr.cpp.
References mSpawnedCreatures.
| TC_GAME_API bool SpawnedPoolData::IsSpawnedObject | ( | uint64 | db_guid | ) | const |
Definition at line 55 of file PoolMgr.cpp.
References mSpawnedGameobjects.
| bool SpawnedPoolData::IsSpawnedObject | ( | uint64 | db_guid_or_pool_id | ) | const |
Referenced by PoolGroup< T >::DespawnObject(), PoolMgr::IsSpawnedObject(), and PoolGroup< T >::SpawnObject().
| TC_GAME_API bool SpawnedPoolData::IsSpawnedObject | ( | uint64 | sub_pool_id | ) | const |
Definition at line 62 of file PoolMgr.cpp.
References mSpawnedPools.
|
delete |
|
delete |
Definition at line 102 of file PoolMgr.cpp.
Definition at line 111 of file PoolMgr.cpp.
References mSpawnedGameobjects, and mSpawnedPools.
| void SpawnedPoolData::RemoveSpawn | ( | uint64 | db_guid_or_pool_id, |
| uint32 | pool_id | ||
| ) |
Referenced by PoolGroup< T >::DespawnObject().
Definition at line 120 of file PoolMgr.cpp.
References mSpawnedPools.
|
private |
Definition at line 81 of file PoolMgr.h.
Referenced by AddSpawn(), and IsSpawnedObject().
|
private |
Definition at line 82 of file PoolMgr.h.
Referenced by AddSpawn(), IsSpawnedObject(), and RemoveSpawn().
|
private |
Definition at line 83 of file PoolMgr.h.
Referenced by AddSpawn(), AddSpawn(), GetSpawnedObjects(), IsSpawnedObject(), RemoveSpawn(), and RemoveSpawn().