OregonCore  revision fb2a440-git
Your Favourite TBC server
DBCEnums.h File Reference

Go to the source code of this file.

Classes

struct  DBCPosition2D
 
struct  DBCPosition3D
 

Macros

#define DEFAULT_MAX_LEVEL   70
 
#define MAX_LEVEL   100
 
#define STRONG_MAX_LEVEL   255
 

Enumerations

enum  AreaTeams { AREATEAM_NONE = 0, AREATEAM_ALLY = 2, AREATEAM_HORDE = 4 }
 
enum  AreaFlags {
  AREA_FLAG_SNOW = 0x00000001, AREA_FLAG_UNK1 = 0x00000002, AREA_FLAG_UNK2 = 0x00000004, AREA_FLAG_SLAVE_CAPITAL = 0x00000008,
  AREA_FLAG_UNK3 = 0x00000010, AREA_FLAG_SLAVE_CAPITAL2 = 0x00000020, AREA_FLAG_ALLOW_DUELS = 0x00000040, AREA_FLAG_ARENA = 0x00000080,
  AREA_FLAG_CAPITAL = 0x00000100, AREA_FLAG_CITY = 0x00000200, AREA_FLAG_OUTLAND = 0x00000400, AREA_FLAG_SANCTUARY = 0x00000800,
  AREA_FLAG_NEED_FLY = 0x00001000, AREA_FLAG_UNUSED1 = 0x00002000, AREA_FLAG_OUTLAND2 = 0x00004000, AREA_FLAG_PVP = 0x00008000,
  AREA_FLAG_ARENA_INSTANCE = 0x00010000, AREA_FLAG_UNUSED2 = 0x00020000, AREA_FLAG_UNK5 = 0x00040000, AREA_FLAG_LOWLEVEL = 0x00100000,
  AREA_FLAG_INSIDE = 0x02000000, AREA_FLAG_OUTSIDE = 0x04000000
}
 
enum  FactionTemplateFlags { FACTION_TEMPLATE_FLAG_PVP = 0x00000800, FACTION_TEMPLATE_FLAG_CONTESTED_GUARD = 0x00001000, FACTION_TEMPLATE_FLAG_HOSTILE_BY_DEFAULT = 0x00002000 }
 
enum  FactionMasks { FACTION_MASK_PLAYER = 1, FACTION_MASK_ALLIANCE = 2, FACTION_MASK_HORDE = 4, FACTION_MASK_MONSTER = 8 }
 
enum  MapTypes {
  MAP_COMMON = 0, MAP_INSTANCE = 1, MAP_RAID = 2, MAP_BATTLEGROUND = 3,
  MAP_ARENA = 4
}
 
enum  AbilytyLearnType { ABILITY_LEARNED_ON_GET_PROFESSION_SKILL = 1, ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL = 2 }
 
enum  ItemEnchantmentType {
  ITEM_ENCHANTMENT_TYPE_NONE = 0, ITEM_ENCHANTMENT_TYPE_COMBAT_SPELL = 1, ITEM_ENCHANTMENT_TYPE_DAMAGE = 2, ITEM_ENCHANTMENT_TYPE_EQUIP_SPELL = 3,
  ITEM_ENCHANTMENT_TYPE_RESISTANCE = 4, ITEM_ENCHANTMENT_TYPE_STAT = 5, ITEM_ENCHANTMENT_TYPE_TOTEM = 6
}
 
enum  ItemEnchantmentAuraId {
  ITEM_ENCHANTMENT_AURAID_POISON = 26, ITEM_ENCHANTMENT_AURAID_NORMAL = 28, ITEM_ENCHANTMENT_AURAID_FIRE = 32, ITEM_ENCHANTMENT_AURAID_FROST = 33,
  ITEM_ENCHANTMENT_AURAID_NATURE = 81, ITEM_ENCHANTMENT_AURAID_SHADOW = 107
}
 
enum  TotemCategoryType {
  TOTEM_CATEGORY_TYPE_KNIFE = 1, TOTEM_CATEGORY_TYPE_TOTEM = 2, TOTEM_CATEGORY_TYPE_ROD = 3, TOTEM_CATEGORY_TYPE_PICK = 21,
  TOTEM_CATEGORY_TYPE_STONE = 22, TOTEM_CATEGORY_TYPE_HAMMER = 23, TOTEM_CATEGORY_TYPE_SPANNER = 24
}
 

Macro Definition Documentation

#define DEFAULT_MAX_LEVEL   70

Definition at line 24 of file DBCEnums.h.

Referenced by World::LoadConfigSettings().

#define MAX_LEVEL   100

Definition at line 28 of file DBCEnums.h.

Referenced by WorldSession::HandleWhoOpcode(), and World::LoadConfigSettings().

Enumeration Type Documentation

Enumerator
ABILITY_LEARNED_ON_GET_PROFESSION_SKILL 
ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL 

Definition at line 109 of file DBCEnums.h.

enum AreaFlags
Enumerator
AREA_FLAG_SNOW 
AREA_FLAG_UNK1 
AREA_FLAG_UNK2 
AREA_FLAG_SLAVE_CAPITAL 
AREA_FLAG_UNK3 
AREA_FLAG_SLAVE_CAPITAL2 
AREA_FLAG_ALLOW_DUELS 
AREA_FLAG_ARENA 
AREA_FLAG_CAPITAL 
AREA_FLAG_CITY 
AREA_FLAG_OUTLAND 
AREA_FLAG_SANCTUARY 
AREA_FLAG_NEED_FLY 
AREA_FLAG_UNUSED1 
AREA_FLAG_OUTLAND2 
AREA_FLAG_PVP 
AREA_FLAG_ARENA_INSTANCE 
AREA_FLAG_UNUSED2 
AREA_FLAG_UNK5 
AREA_FLAG_LOWLEVEL 
AREA_FLAG_INSIDE 
AREA_FLAG_OUTSIDE 

Definition at line 58 of file DBCEnums.h.

59 {
60  AREA_FLAG_SNOW = 0x00000001, // snow (only Dun Morogh, Naxxramas, Razorfen Downs and Winterspring)
61  AREA_FLAG_UNK1 = 0x00000002, // may be necropolis?
62  AREA_FLAG_UNK2 = 0x00000004, // Only used for areas on map 571 (development before)
63  AREA_FLAG_SLAVE_CAPITAL = 0x00000008, // city and city subsones
64  AREA_FLAG_UNK3 = 0x00000010, // can't find common meaning
65  AREA_FLAG_SLAVE_CAPITAL2 = 0x00000020, // slave capital city flag?
66  AREA_FLAG_ALLOW_DUELS = 0x00000040, // allow to duel here
67  AREA_FLAG_ARENA = 0x00000080, // arena, both instanced and world arenas
68  AREA_FLAG_CAPITAL = 0x00000100, // main capital city flag
69  AREA_FLAG_CITY = 0x00000200, // only for one zone named "City" (where it located?)
70  AREA_FLAG_OUTLAND = 0x00000400, // expansion zones? (only Eye of the Storm not have this flag, but have 0x00004000 flag)
71  AREA_FLAG_SANCTUARY = 0x00000800, // sanctuary area (PvP disabled)
72  AREA_FLAG_NEED_FLY = 0x00001000, // only Netherwing Ledge, Socrethar's Seat, Tempest Keep, The Arcatraz, The Botanica, The Mechanar, Sorrow Wing Point, Dragonspine Ridge, Netherwing Mines, Dragonmaw Base Camp, Dragonmaw Skyway
73  AREA_FLAG_UNUSED1 = 0x00002000, // not used now (no area/zones with this flag set in 3.0.3)
74  AREA_FLAG_OUTLAND2 = 0x00004000, // expansion zones? (only Circle of Blood Arena not have this flag, but have 0x00000400 flag)
75  AREA_FLAG_PVP = 0x00008000, // pvp objective area? (Death's Door also has this flag although it's no pvp object area)
76  AREA_FLAG_ARENA_INSTANCE = 0x00010000, // used by instanced arenas only
77  AREA_FLAG_UNUSED2 = 0x00020000, // not used now (no area/zones with this flag set in 3.0.3)
78  AREA_FLAG_UNK5 = 0x00040000, // only used for Amani Pass, Hatchet Hills
79  AREA_FLAG_LOWLEVEL = 0x00100000, // used for some starting areas with area_level <= 15
80  AREA_FLAG_INSIDE = 0x02000000, // used for determinating spell related inside/outside questions in Map::IsOutdoors
81  AREA_FLAG_OUTSIDE = 0x04000000, // used for determinating spell related inside/outside questions in Map::IsOutdoors
82 };
enum AreaTeams
Enumerator
AREATEAM_NONE 
AREATEAM_ALLY 
AREATEAM_HORDE 

Definition at line 51 of file DBCEnums.h.

52 {
53  AREATEAM_NONE = 0,
54  AREATEAM_ALLY = 2,
55  AREATEAM_HORDE = 4
56 };
Enumerator
FACTION_MASK_PLAYER 
FACTION_MASK_ALLIANCE 
FACTION_MASK_HORDE 
FACTION_MASK_MONSTER 

Definition at line 91 of file DBCEnums.h.

92 {
93  FACTION_MASK_PLAYER = 1, // any player
94  FACTION_MASK_ALLIANCE = 2, // player or creature from alliance team
95  FACTION_MASK_HORDE = 4, // player or creature from horde team
96  FACTION_MASK_MONSTER = 8 // aggressive creature from monster team
97  // if none flags set then non-aggressive creature
98 };
Enumerator
FACTION_TEMPLATE_FLAG_PVP 
FACTION_TEMPLATE_FLAG_CONTESTED_GUARD 
FACTION_TEMPLATE_FLAG_HOSTILE_BY_DEFAULT 

Definition at line 84 of file DBCEnums.h.

85 {
86  FACTION_TEMPLATE_FLAG_PVP = 0x00000800, // flagged for PvP
87  FACTION_TEMPLATE_FLAG_CONTESTED_GUARD = 0x00001000, // faction will attack players that were involved in PvP combats
89 };
Enumerator
ITEM_ENCHANTMENT_AURAID_POISON 
ITEM_ENCHANTMENT_AURAID_NORMAL 
ITEM_ENCHANTMENT_AURAID_FIRE 
ITEM_ENCHANTMENT_AURAID_FROST 
ITEM_ENCHANTMENT_AURAID_NATURE 
ITEM_ENCHANTMENT_AURAID_SHADOW 

Definition at line 126 of file DBCEnums.h.

Enumerator
ITEM_ENCHANTMENT_TYPE_NONE 
ITEM_ENCHANTMENT_TYPE_COMBAT_SPELL 
ITEM_ENCHANTMENT_TYPE_DAMAGE 
ITEM_ENCHANTMENT_TYPE_EQUIP_SPELL 
ITEM_ENCHANTMENT_TYPE_RESISTANCE 
ITEM_ENCHANTMENT_TYPE_STAT 
ITEM_ENCHANTMENT_TYPE_TOTEM 

Definition at line 115 of file DBCEnums.h.

enum MapTypes
Enumerator
MAP_COMMON 
MAP_INSTANCE 
MAP_RAID 
MAP_BATTLEGROUND 
MAP_ARENA 

Definition at line 100 of file DBCEnums.h.

101 {
102  MAP_COMMON = 0,
103  MAP_INSTANCE = 1,
104  MAP_RAID = 2,
105  MAP_BATTLEGROUND = 3,
106  MAP_ARENA = 4
107 };
Enumerator
TOTEM_CATEGORY_TYPE_KNIFE 
TOTEM_CATEGORY_TYPE_TOTEM 
TOTEM_CATEGORY_TYPE_ROD 
TOTEM_CATEGORY_TYPE_PICK 
TOTEM_CATEGORY_TYPE_STONE 
TOTEM_CATEGORY_TYPE_HAMMER 
TOTEM_CATEGORY_TYPE_SPANNER 

Definition at line 136 of file DBCEnums.h.