TrinityCore
Loading...
Searching...
No Matches
ActivePoolData Class Reference

#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
 

Detailed Description

Definition at line 45 of file PoolMgr.h.

Member Function Documentation

◆ ActivateObject() [1/4]

template<>
void ActivePoolData::ActivateObject ( uint32  db_guid,
uint32  pool_id 
)

Definition at line 57 of file PoolMgr.cpp.

◆ ActivateObject() [2/4]

template<>
void ActivePoolData::ActivateObject ( uint32  db_guid,
uint32  pool_id 
)

Definition at line 64 of file PoolMgr.cpp.

◆ ActivateObject() [3/4]

template<typename T >
void ActivePoolData::ActivateObject ( uint32  db_guid_or_pool_id,
uint32  pool_id 
)
+ Here is the caller graph for this function:

◆ ActivateObject() [4/4]

template<>
void ActivePoolData::ActivateObject ( uint32  sub_pool_id,
uint32  pool_id 
)

Definition at line 71 of file PoolMgr.cpp.

◆ GetActiveObjectCount()

uint32 ActivePoolData::GetActiveObjectCount ( uint32  pool_id) const

Definition at line 29 of file PoolMgr.cpp.

+ Here is the caller graph for this function:

◆ IsActiveObject() [1/4]

template<>
TC_GAME_API bool ActivePoolData::IsActiveObject ( uint32  db_guid) const

Definition at line 37 of file PoolMgr.cpp.

◆ IsActiveObject() [2/4]

template<>
TC_GAME_API bool ActivePoolData::IsActiveObject ( uint32  db_guid) const

Definition at line 44 of file PoolMgr.cpp.

◆ IsActiveObject() [3/4]

template<typename T >
bool ActivePoolData::IsActiveObject ( uint32  db_guid_or_pool_id) const
+ Here is the caller graph for this function:

◆ IsActiveObject() [4/4]

template<>
TC_GAME_API bool ActivePoolData::IsActiveObject ( uint32  sub_pool_id) const

Definition at line 51 of file PoolMgr.cpp.

◆ RemoveObject() [1/4]

template<>
void ActivePoolData::RemoveObject ( uint32  db_guid,
uint32  pool_id 
)

Definition at line 78 of file PoolMgr.cpp.

◆ RemoveObject() [2/4]

template<>
void ActivePoolData::RemoveObject ( uint32  db_guid,
uint32  pool_id 
)

Definition at line 87 of file PoolMgr.cpp.

◆ RemoveObject() [3/4]

template<typename T >
void ActivePoolData::RemoveObject ( uint32  db_guid_or_pool_id,
uint32  pool_id 
)
+ Here is the caller graph for this function:

◆ RemoveObject() [4/4]

template<>
void ActivePoolData::RemoveObject ( uint32  sub_pool_id,
uint32  pool_id 
)

Definition at line 96 of file PoolMgr.cpp.

Member Data Documentation

◆ mSpawnedCreatures

ActivePoolObjects ActivePoolData::mSpawnedCreatures
private

Definition at line 59 of file PoolMgr.h.

◆ mSpawnedGameobjects

ActivePoolObjects ActivePoolData::mSpawnedGameobjects
private

Definition at line 60 of file PoolMgr.h.

◆ mSpawnedPools

ActivePoolPools ActivePoolData::mSpawnedPools
private

Definition at line 61 of file PoolMgr.h.


The documentation for this class was generated from the following files: