TrinityCore
WardenCheckMgr Class Reference

#include <WardenCheckMgr.h>

Public Member Functions

uint16 GetMaxValidCheckId () const
 
WardenCheck const & GetCheckData (uint16 Id) const
 
WardenCheckResult const & GetCheckResult (uint16 Id) const
 
std::vector< uint16 > const & GetAvailableChecks (WardenCheckCategory category)
 
void LoadWardenChecks ()
 
void LoadWardenOverrides ()
 

Static Public Member Functions

static WardenCheckMgrinstance ()
 

Private Member Functions

 WardenCheckMgr ()
 

Private Attributes

std::vector< WardenCheck_checks
 
std::unordered_map< uint16, WardenCheckResult_checkResults
 
std::array< std::vector< uint16 >, NUM_CHECK_CATEGORIES_pools
 

Detailed Description

Definition at line 115 of file WardenCheckMgr.h.

Constructor & Destructor Documentation

◆ WardenCheckMgr()

WardenCheckMgr::WardenCheckMgr ( )
private

Definition at line 27 of file WardenCheckMgr.cpp.

Member Function Documentation

◆ GetAvailableChecks()

std::vector< uint16 > const & WardenCheckMgr::GetAvailableChecks ( WardenCheckCategory  category)
inline

Definition at line 127 of file WardenCheckMgr.h.

◆ GetCheckData()

WardenCheck const & WardenCheckMgr::GetCheckData ( uint16  Id) const

Definition at line 180 of file WardenCheckMgr.cpp.

◆ GetCheckResult()

WardenCheckResult const & WardenCheckMgr::GetCheckResult ( uint16  Id) const

Definition at line 186 of file WardenCheckMgr.cpp.

◆ GetMaxValidCheckId()

uint16 WardenCheckMgr::GetMaxValidCheckId ( ) const
inline

Definition at line 123 of file WardenCheckMgr.h.

◆ instance()

WardenCheckMgr * WardenCheckMgr::instance ( )
static

Definition at line 174 of file WardenCheckMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadWardenChecks()

void WardenCheckMgr::LoadWardenChecks ( )

Definition at line 31 of file WardenCheckMgr.cpp.

+ Here is the call graph for this function:

◆ LoadWardenOverrides()

void WardenCheckMgr::LoadWardenOverrides ( )

Definition at line 128 of file WardenCheckMgr.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _checkResults

std::unordered_map<uint16, WardenCheckResult> WardenCheckMgr::_checkResults
private

Definition at line 134 of file WardenCheckMgr.h.

◆ _checks

std::vector<WardenCheck> WardenCheckMgr::_checks
private

Definition at line 133 of file WardenCheckMgr.h.

◆ _pools

std::array<std::vector<uint16>, NUM_CHECK_CATEGORIES> WardenCheckMgr::_pools
private

Definition at line 135 of file WardenCheckMgr.h.


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