TrinityCore
Loading...
Searching...
No Matches
debug_commandscript::CreatureCountWorker Class Reference

Public Member Functions

void Visit (std::unordered_map< ObjectGuid, Creature * > const &creatureMap)
 
std::vector< std::pair< uint32, uint32 > > GetTopCreatureCount (std::size_t count) const
 

Static Public Member Functions

template<class T >
static void Visit (std::unordered_map< ObjectGuid, T * > const &)
 

Private Attributes

std::unordered_map< uint32, uint32 > creatureCountsById
 

Detailed Description

Definition at line 1725 of file cs_debug.cpp.

Member Function Documentation

◆ GetTopCreatureCount()

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

Definition at line 1737 of file cs_debug.cpp.

References creatureCountsById.

Referenced by debug_commandscript::HandleDebugObjectCountMap().

◆ Visit() [1/2]

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

Definition at line 1728 of file cs_debug.cpp.

References creatureCountsById.

◆ Visit() [2/2]

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

Definition at line 1735 of file cs_debug.cpp.

Member Data Documentation

◆ creatureCountsById

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

Definition at line 1761 of file cs_debug.cpp.

Referenced by GetTopCreatureCount(), and Visit().


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