TrinityCore
debug_commandscript::CreatureCountWorker Class Reference

Public Member Functions

 CreatureCountWorker ()
 
void Visit (std::unordered_map< ObjectGuid, Creature * > &creatureMap)
 
template<class T >
void Visit (std::unordered_map< ObjectGuid, T * > &)
 
std::vector< std::pair< uint32, uint32 > > GetTopCreatureCount (uint32 count)
 

Private Attributes

std::unordered_map< uint32, uint32creatureIds
 

Detailed Description

Definition at line 1724 of file cs_debug.cpp.

Constructor & Destructor Documentation

◆ CreatureCountWorker()

debug_commandscript::CreatureCountWorker::CreatureCountWorker ( )
inline

Definition at line 1727 of file cs_debug.cpp.

Member Function Documentation

◆ GetTopCreatureCount()

std::vector< std::pair< uint32, uint32 > > debug_commandscript::CreatureCountWorker::GetTopCreatureCount ( uint32  count)
inline

Definition at line 1741 of file cs_debug.cpp.

+ Here is the caller graph for this function:

◆ Visit() [1/2]

void debug_commandscript::CreatureCountWorker::Visit ( std::unordered_map< ObjectGuid, Creature * > &  creatureMap)
inline

Definition at line 1729 of file cs_debug.cpp.

◆ Visit() [2/2]

template<class T >
void debug_commandscript::CreatureCountWorker::Visit ( std::unordered_map< ObjectGuid, T * > &  )
inline

Definition at line 1739 of file cs_debug.cpp.

Member Data Documentation

◆ creatureIds

std::unordered_map<uint32, uint32> debug_commandscript::CreatureCountWorker::creatureIds
private

Definition at line 1757 of file cs_debug.cpp.


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