TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DisableMgr.h File Reference
#include "VMapManager2.h"
#include "Define.h"
+ Include dependency graph for DisableMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 DisableMgr
 

Enumerations

enum  DisableType {
  DISABLE_TYPE_SPELL = 0, DISABLE_TYPE_QUEST = 1, DISABLE_TYPE_MAP = 2, DISABLE_TYPE_BATTLEGROUND = 3,
  DISABLE_TYPE_ACHIEVEMENT_CRITERIA = 4, DISABLE_TYPE_OUTDOORPVP = 5, DISABLE_TYPE_VMAP = 6, DISABLE_TYPE_MMAP = 7
}
 
enum  SpellDisableTypes {
  SPELL_DISABLE_PLAYER = 0x1, SPELL_DISABLE_CREATURE = 0x2, SPELL_DISABLE_PET = 0x4, SPELL_DISABLE_DEPRECATED_SPELL = 0x8,
  SPELL_DISABLE_MAP = 0x10, SPELL_DISABLE_AREA = 0x20, SPELL_DISABLE_LOS = 0x40, MAX_SPELL_DISABLE_TYPE
}
 
enum  MMapDisableTypes { MMAP_DISABLE_PATHFINDING = 0x0 }
 

Functions

void DisableMgr::LoadDisables ()
 
bool DisableMgr::IsDisabledFor (DisableType type, uint32 entry, Unit const *unit, uint8 flags)
 
void DisableMgr::CheckQuestDisables ()
 
bool DisableMgr::IsVMAPDisabledFor (uint32 entry, uint8 flags)
 
bool DisableMgr::IsPathfindingEnabled (uint32 mapId)
 

Enumeration Type Documentation

Enumerator
DISABLE_TYPE_SPELL 
DISABLE_TYPE_QUEST 
DISABLE_TYPE_MAP 
DISABLE_TYPE_BATTLEGROUND 
DISABLE_TYPE_ACHIEVEMENT_CRITERIA 
DISABLE_TYPE_OUTDOORPVP 
DISABLE_TYPE_VMAP 
DISABLE_TYPE_MMAP 
28 {
31  DISABLE_TYPE_MAP = 2,
37 };
Definition: DisableMgr.h:36
Definition: DisableMgr.h:32
Definition: DisableMgr.h:35
Definition: DisableMgr.h:29
Definition: DisableMgr.h:30
Definition: DisableMgr.h:33
Definition: DisableMgr.h:31
Definition: DisableMgr.h:34
Enumerator
MMAP_DISABLE_PATHFINDING 
54 {
56 };
Definition: DisableMgr.h:55
Enumerator
SPELL_DISABLE_PLAYER 
SPELL_DISABLE_CREATURE 
SPELL_DISABLE_PET 
SPELL_DISABLE_DEPRECATED_SPELL 
SPELL_DISABLE_MAP 
SPELL_DISABLE_AREA 
SPELL_DISABLE_LOS 
MAX_SPELL_DISABLE_TYPE 
40 {
43  SPELL_DISABLE_PET = 0x4,
45  SPELL_DISABLE_MAP = 0x10,
46  SPELL_DISABLE_AREA = 0x20,
47  SPELL_DISABLE_LOS = 0x40,
51 };
Definition: DisableMgr.h:47
Definition: DisableMgr.h:43
Definition: DisableMgr.h:45
Definition: DisableMgr.h:46
Definition: DisableMgr.h:42
Definition: DisableMgr.h:41
Definition: DisableMgr.h:48
Definition: DisableMgr.h:44