TrinityCore
WardenCheckMgr.h File Reference
#include "Define.h"
#include "World.h"
#include <unordered_map>
#include <vector>
+ Include dependency graph for WardenCheckMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WardenCheck
 
class  WardenCheckMgr
 

Macros

#define sWardenCheckMgr   WardenCheckMgr::instance()
 

Typedefs

using WardenCheckResult = std::vector< uint8 >
 

Enumerations

enum  WardenActions : uint8 { WARDEN_ACTION_LOG , WARDEN_ACTION_KICK , WARDEN_ACTION_BAN }
 
enum  WardenCheckCategory : uint8 { INJECT_CHECK_CATEGORY = 0 , LUA_CHECK_CATEGORY , MODDED_CHECK_CATEGORY , NUM_CHECK_CATEGORIES }
 
enum  WardenCheckType : uint8 {
  NONE_CHECK = 0 , TIMING_CHECK = 87 , DRIVER_CHECK = 113 , PROC_CHECK = 126 ,
  LUA_EVAL_CHECK = 139 , MPQ_CHECK = 152 , PAGE_CHECK_A = 178 , PAGE_CHECK_B = 191 ,
  MODULE_CHECK = 217 , MEM_CHECK = 243
}
 

Functions

constexpr WardenCheckCategory GetWardenCheckCategory (WardenCheckType type)
 
constexpr WorldIntConfigs GetWardenCategoryCountConfig (WardenCheckCategory category)
 
constexpr bool IsWardenCategoryInWorldOnly (WardenCheckCategory category)
 

Variables

constexpr uint8 WARDEN_MAX_LUA_CHECK_LENGTH = 170
 

Macro Definition Documentation

◆ sWardenCheckMgr

#define sWardenCheckMgr   WardenCheckMgr::instance()

Definition at line 138 of file WardenCheckMgr.h.

Typedef Documentation

◆ WardenCheckResult

using WardenCheckResult = std::vector<uint8>

Definition at line 113 of file WardenCheckMgr.h.

Enumeration Type Documentation

◆ WardenActions

Enumerator
WARDEN_ACTION_LOG 
WARDEN_ACTION_KICK 
WARDEN_ACTION_BAN 

Definition at line 27 of file WardenCheckMgr.h.

◆ WardenCheckCategory

Enumerator
INJECT_CHECK_CATEGORY 
LUA_CHECK_CATEGORY 
MODDED_CHECK_CATEGORY 
NUM_CHECK_CATEGORIES 

Definition at line 35 of file WardenCheckMgr.h.

◆ WardenCheckType

Enumerator
NONE_CHECK 
TIMING_CHECK 
DRIVER_CHECK 
PROC_CHECK 
LUA_EVAL_CHECK 
MPQ_CHECK 
PAGE_CHECK_A 
PAGE_CHECK_B 
MODULE_CHECK 
MEM_CHECK 

Definition at line 45 of file WardenCheckMgr.h.

Function Documentation

◆ GetWardenCategoryCountConfig()

constexpr WorldIntConfigs GetWardenCategoryCountConfig ( WardenCheckCategory  category)
constexpr

Definition at line 76 of file WardenCheckMgr.h.

+ Here is the caller graph for this function:

◆ GetWardenCheckCategory()

constexpr WardenCheckCategory GetWardenCheckCategory ( WardenCheckType  type)
constexpr

Definition at line 59 of file WardenCheckMgr.h.

+ Here is the caller graph for this function:

◆ IsWardenCategoryInWorldOnly()

constexpr bool IsWardenCategoryInWorldOnly ( WardenCheckCategory  category)
constexpr

Definition at line 87 of file WardenCheckMgr.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ WARDEN_MAX_LUA_CHECK_LENGTH

constexpr uint8 WARDEN_MAX_LUA_CHECK_LENGTH = 170
constexpr

Definition at line 111 of file WardenCheckMgr.h.