OregonCore  revision 3611e8a-git
Your Favourite TBC server
SharedDefines.h File Reference
#include "Platform/Define.h"
#include <cassert>

Go to the source code of this file.

Macros

#define EFFECT_FIRST_FOUND   254
 
#define EFFECT_ALL   255
 
#define MAX_RACES   12
 
#define RACEMASK_ALL_PLAYABLE
 
#define MAX_CLASSES   12
 
#define CLASSMASK_ALL_PLAYABLE
 
#define CLASSMASK_ALL_CREATURES   ((1<<(UNIT_CLASS_WARRIOR-1)) | (1<<(UNIT_CLASS_PALADIN-1)) | (1<<(UNIT_CLASS_ROGUE-1)) | (1<<(UNIT_CLASS_MAGE-1)))
 
#define DEFAULT_MAX_CREATURE_LEVEL   75
 
#define MAX_CREATURE_CLASS   3
 
#define MAX_EXPANSION   1
 
#define CLASSMASK_WAND_USERS   ((1<<(CLASS_PRIEST-1))|(1<<(CLASS_MAGE-1))|(1<<(CLASS_WARLOCK-1)))
 
#define PLAYER_MAX_BATTLEGROUND_QUEUES   3
 
#define MIN_REPUTATION_RANK   (REP_HATED)
 
#define MAX_REPUTATION_RANK   8
 
#define MAX_SPILLOVER_FACTIONS   4
 
#define MAX_STATS   5
 
#define MAX_POWERS   5
 
#define MAX_SPELL_SCHOOL   7
 
#define SPELL_SCHOOL_MASK_MAGIC
 
#define MAX_ITEM_QUALITY   7
 
#define MAX_SHEATHETYPE   8
 
#define LANGUAGES_COUNT   19
 
#define IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK
 
#define DISPEL_ALL_MASK   ((1<<DISPEL_MAGIC) | (1<<DISPEL_CURSE) | (1<<DISPEL_DISEASE) | (1<<DISPEL_POISON))
 
#define MAX_SPELL_IMMUNITY   7
 
#define TOTAL_SPELL_TARGETS   94
 
#define MAX_GAMEOBJECT_TYPE   35
 
#define GAMEOBJECT_FISHINGNODE_ENTRY   35591
 
#define MAX_TRAINER_TYPE   4
 
#define MAX_SKILL_TYPE   770
 
#define MAX_WEATHER_TYPE   4
 
#define MAX_CHAT_MSG_TYPE   0x2F
 
#define MAX_PET_DIET   9
 
#define PET_FOLLOW_DIST   0.2f
 
#define PET_FOLLOW_ANGLE   float(M_PI/2)
 
#define CHAIN_SPELL_JUMP_RADIUS   10
 
#define GUILD_BANK_MAX_TABS   6
 
#define GUILD_BANK_MAX_SLOTS   98
 
#define GUILD_BANK_MAX_LOGS   24
 
#define GUILD_EVENTLOG_MAX_ENTRIES   100
 
#define GUILD_MAX_RANKS   10
 
#define EXPECTED_OREGONCORE_CLIENT_BUILD   {8606, 0}
 

Enumerations

enum  SpellEffIndex { EFFECT_0 = 0, EFFECT_1 = 1, EFFECT_2 = 2 }
 
enum  Gender { GENDER_MALE = 0, GENDER_FEMALE = 1, GENDER_NONE = 2 }
 
enum  Races {
  RACE_HUMAN = 1, RACE_ORC = 2, RACE_DWARF = 3, RACE_NIGHTELF = 4,
  RACE_UNDEAD_PLAYER = 5, RACE_TAUREN = 6, RACE_GNOME = 7, RACE_TROLL = 8,
  RACE_GOBLIN = 9, RACE_BLOODELF = 10, RACE_DRAENEI = 11, RACE_FEL_ORC = 12,
  RACE_NAGA = 13, RACE_BROKEN = 14, RACE_SKELETON = 15, RACE_VRYKUL = 16,
  RACE_TUSKARR = 17, RACE_FOREST_TROLL = 18
}
 
enum  Classes {
  CLASS_WARRIOR = 1, CLASS_PALADIN = 2, CLASS_HUNTER = 3, CLASS_ROGUE = 4,
  CLASS_PRIEST = 5, CLASS_DEATH_KNIGHT = 6, CLASS_SHAMAN = 7, CLASS_MAGE = 8,
  CLASS_WARLOCK = 9, CLASS_DRUID = 11
}
 
enum  UnitClass { UNIT_CLASS_WARRIOR = 1, UNIT_CLASS_PALADIN = 2, UNIT_CLASS_ROGUE = 4, UNIT_CLASS_MAGE = 8 }
 
enum  ReputationRank {
  REP_HATED = 0, REP_HOSTILE = 1, REP_UNFRIENDLY = 2, REP_NEUTRAL = 3,
  REP_FRIENDLY = 4, REP_HONORED = 5, REP_REVERED = 6, REP_EXALTED = 7
}
 
enum  MoneyConstants { COPPER = 1, SILVER = COPPER * 100, GOLD = SILVER * 100 }
 
enum  Stats {
  STAT_STRENGTH = 0, STAT_AGILITY = 1, STAT_STAMINA = 2, STAT_INTELLECT = 3,
  STAT_SPIRIT = 4
}
 
enum  Powers {
  POWER_MANA = 0, POWER_RAGE = 1, POWER_FOCUS = 2, POWER_ENERGY = 3,
  POWER_HAPPINESS = 4, POWER_HEALTH = 0xFFFFFFFE
}
 
enum  SpellSchools {
  SPELL_SCHOOL_NORMAL = 0, SPELL_SCHOOL_HOLY = 1, SPELL_SCHOOL_FIRE = 2, SPELL_SCHOOL_NATURE = 3,
  SPELL_SCHOOL_FROST = 4, SPELL_SCHOOL_SHADOW = 5, SPELL_SCHOOL_ARCANE = 6
}
 
enum  SpellSchoolMask {
  SPELL_SCHOOL_MASK_NONE = 0x00, SPELL_SCHOOL_MASK_NORMAL = (1 << SPELL_SCHOOL_NORMAL), SPELL_SCHOOL_MASK_HOLY = (1 << SPELL_SCHOOL_HOLY), SPELL_SCHOOL_MASK_FIRE = (1 << SPELL_SCHOOL_FIRE),
  SPELL_SCHOOL_MASK_NATURE = (1 << SPELL_SCHOOL_NATURE), SPELL_SCHOOL_MASK_FROST = (1 << SPELL_SCHOOL_FROST), SPELL_SCHOOL_MASK_SHADOW = (1 << SPELL_SCHOOL_SHADOW), SPELL_SCHOOL_MASK_ARCANE = (1 << SPELL_SCHOOL_ARCANE),
  SPELL_SCHOOL_MASK_SPELL, SPELL_SCHOOL_MASK_MAGIC = (SPELL_SCHOOL_MASK_HOLY | SPELL_SCHOOL_MASK_SPELL), SPELL_SCHOOL_MASK_ALL = (SPELL_SCHOOL_MASK_NORMAL | SPELL_SCHOOL_MASK_MAGIC)
}
 
enum  TempSummonType {
  TEMPSUMMON_TIMED_OR_DEAD_DESPAWN = 1, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN = 2, TEMPSUMMON_TIMED_DESPAWN = 3, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT = 4,
  TEMPSUMMON_CORPSE_DESPAWN = 5, TEMPSUMMON_CORPSE_TIMED_DESPAWN = 6, TEMPSUMMON_DEAD_DESPAWN = 7, TEMPSUMMON_MANUAL_DESPAWN = 8,
  TEMPSUMMON_TIMED_DESPAWN_OUT_OF_CHARM = 9
}
 
enum  ItemQualities {
  ITEM_QUALITY_POOR = 0, ITEM_QUALITY_NORMAL = 1, ITEM_QUALITY_UNCOMMON = 2, ITEM_QUALITY_RARE = 3,
  ITEM_QUALITY_EPIC = 4, ITEM_QUALITY_LEGENDARY = 5, ITEM_QUALITY_ARTIFACT = 6
}
 
enum  SpellCategory {
  SPELL_CATEGORY_UNCATEGORIZED = 0, SPELL_CATEGORy_UNK1 = 1, SPELL_CATEGORY_UNK2 = 2, SPELL_CATEGORY_POWER = 4,
  SPELL_CATEGORY_FOOD = 11, SPELL_CATEGORY_DEVOUR_MAGIC = 12, SPELL_CATEGORY_UNK18 = 18, SPELL_CATEGORY_UNK19 = 19,
  SPELL_CATEGORY_UNK20 = 20, SPELL_CATEGORY_UNK21 = 21, SPELL_CATEGORY_UNK22 = 22, SPELL_CATEGORY_UNK23 = 23,
  SPELL_CATEGORY_PROX_BOMB = 24, SPELL_CATEGORY_UNK25 = 25, SPELL_CATEGORY_REBIRTH = 26, SPELL_CATEGORY_UNK28 = 28,
  SPELL_CATEGORY_CONJURED_POTIONS = 30, SPELL_CATEGORY_UNK31 = 31, SPELL_CATEGORY_UNK32 = 32, SPELL_CATEGORY_UNK33 = 33,
  SPELL_CATEOGRY_WEB_NET = 34, SPELL_CATEOGRY_UNK35 = 35, SPELL_CATEOGRY_UNK36 = 36, SPELL_CATEOGRY_UNK37 = 37,
  SPELL_CATEOGRY_STEALTH = 38, SPELL_CATEGORY_UNK39 = 39, SPELL_CATEGORY_UNK40 = 40, SPELL_CATEGORY_UNK41 = 41,
  SPELL_CATEGORY_UNK42 = 42, SPELL_CATEGORY_SHOUT = 43, SPELL_CATEGORY_UNK44 = 44, SPELL_CATEGORY_STONECLAW_TOTEM = 45,
  SPELL_CATEGORY_TRANQUILITY = 46, SPELL_CATEGORY_UNK47 = 47, SPELL_CATEGORY_UNK49 = 49, SPELL_CATEGORY_UNK50 = 50,
  SPELL_CATEGORY_UNK51 = 51, SPELL_CATEGORY_UNK52 = 52, SPELL_CATEGORY_REFLECTION = 54, SPELL_CATEGORY_UNK55 = 55,
  SPELL_CATEGORY_SHILED_WARD = 56, SPELL_CATEGORY_GROWL_FORTITUDE = 57, SPELL_CATEGORY_DRINK = 59, SPELL_CATEGORY_RESTORE_ENERGY = 60,
  SPELL_CATEGORY_UNK62 = 62, SPELL_CATEGORY_UNK63 = 63, SPELL_CATEGORY_UNK65 = 65, SPELL_CATEGORY_EVASION = 66,
  SPELL_CATEGORY_LASH_OF_PAIN = 73, SPELL_CATEGORY_DISHEARTENING = 74, SPELL_CATEGORY_THROW_SHOOT = 76, SPELL_CATEGORY_UNK79 = 79,
  SPELL_CATEGORY_THREAT = 82, SPELL_CATEGORY_SUFFERING = 84, SPELL_CATEGORY_UNK85 = 85, SPELL_CATEGORY_UNK87 = 87,
  SPELL_CATEGORY_INTERRUPT_CAST = 88, SPELL_CATEGORY_UNK89 = 89, SPELL_CATEGORY_POSSESS = 93, SPELL_CATEGORY_SUM_GHOST_SABER = 94,
  SPELL_CATEGORY_SOUL_CHARGE = 95, SPELL_CATEGORY_BULL_RUSH = 96, SPELL_CATEGORY_CAMPFIRE = 97, SPELL_CATEGORY_FREEZE = 98,
  SPELL_CATEGORY_UNK99 = 99, SPELL_CATEGORY_FURY_OF_BOGLING = 102, SPELL_CATEGORY_DISARM = 109, SPELL_CATEGORY_UNK132 = 132,
  SPELL_CATEGORY_UNK133 = 133, SPELL_CATEGORY_FIRST_AID = 150, SPELL_CATEGORY_UNK190 = 190, SPELL_CATEGORY_GROUNDING_TOTEM = 230,
  SPELL_CATEGORY_BLAST_WAVE = 250, SPELL_CATEGORY_KIDNEY_SHOT = 270, SPELL_CATEGORY_PYROBLAST = 290, SPELL_CATEGORY_TRANSMUTATIONS = 310,
  SPELL_CATEGORY_BLACK_QIRAJI_MNT = 330, SPELL_CATEGORY_SHOOT_2 = 351, SPELL_CATEGORY_TRAP = 411, SPELL_CATEGORY_HOLY_NOVA = 431,
  SPELL_CATEGORY_HOLY_FIRE = 451, SPELL_CATEGORY_ICE_BARRIER = 471, SPELL_CATEGORY_ASTRAL_RECALL = 511, SPELL_CATEGORY_NATURES_GRASP = 531,
  SPELL_CATEGORY_HURRICANE = 571, SPELL_CATEGORY_MANA_TIDE_TOTEM = 591, SPELL_CATEGORY_SOUL_FIRE = 631, SPELL_CATEGORY_DEATH_COIL = 633,
  SPELL_CATEGORY_HOWL_OF_TERROR = 634, SPELL_CATEGORY_SHADOWBURN = 651, SPELL_CATEGORY_DESPERATE_PRAYER = 671, SPELL_CATEGORY_CONFLAGRATE = 672,
  SPELL_CATEGORY_DEVOURING_PLAGUE = 691, SPELL_CATEGORY_INFERNO = 731, SPELL_CATEGORY_SALT_SHAKER = 791, SPELL_CATEGORY_SHADOWMELD = 871,
  SPELL_CATEGORY_WHIRLWIND = 891, SPELL_CATEGORY_HOLY_SHOCK = 892, SPELL_CATEGORY_DISTRACTING_SHOT = 911, SPELL_CATEGORY_HOLY_SHIELD = 931,
  SPELL_CATEGORY_CONSECRATION = 932, SPELL_CATEGORY_PLANTING = 951, SPELL_CATEGORY_UNK971 = 971, SPELL_CATEGORY_SNOWMASTER_9000 = 991,
  SPELL_CATEGORY_FRENZIED_REGEN = 1011, SPELL_CATEGORY_UNK1071 = 1071, SPELL_CATEGORY_RECALL = 1091, SPELL_CATEGORY_WYVERN_STRING = 1111,
  SPELL_CATEGORY_HAMMER_OF_WRATH = 1131, SPELL_CATEGORY_INTIMIDATION = 1132, SPELL_CATEGORY_FAERIE_FIRE_FERAL = 1133, SPELL_CATEGORY_COUNTERATTACK = 1135,
  SPELL_CATEGORY_FIRECRACKERS = 1137, SPELL_CATEGORY_UNK1138 = 1138, SPELL_CATEGORY_UNK1139 = 1139, SPELL_CATEGORY_WHIP_TERRORFIEND = 1140,
  SPELL_CATEGORY_MANA_SURGE = 1141, SPELL_CATEOGRY_UNK1142 = 1143, SPELL_CATEGORY_FEEDBACK = 1144, SPELL_CATEGORY_LIGHTWELL = 1145,
  SPELL_CATEGORY_EXORCISE_ATIESH = 1149, SPELL_CATEGORY_PRESENCE_OF_MIND = 1151, SPELL_CATEGORY_UNK1152 = 1152, SPELL_CATEGORY_UNK1154 = 1154,
  SPELL_CATEGORY_DMG_ABSORD = 1155, SPELL_CATEGORY_UNK1158 = 1158, SPELL_CATEOGRY_UNK1159 = 1159, SPELL_CATEGORY_CALL = 1160,
  SPELL_CATEGORY_REINCARNATION = 1161, SPELL_CATEGORY_UNK1162 = 1162, SPELL_CATEGORY_MOVE = 1163, SPELL_CATEGORY_PAIN_SPIKE = 1165,
  SPELL_CATEGORY_UNK1167 = 1167, SPELL_CATEGORY_SHADOW_WORD_DEATH = 1169, SPELL_CATEOGRY_DROP_HEAVY_BOMB = 1170, SPELL_CATEGORY_KILL_COMMAND = 1171,
  SPELL_CATEOGRY_ARCANE_SHOT = 1173, SPELL_CATEGORY_JEWEL_SPHERE = 1174, SPELL_CATEGORY_VIPER_STING = 1175, SPELL_CATEGORY_HEARTHSTONE = 1176,
  SPELL_CATEGORY_UNK1177 = 1177, SPELL_CATEGORY_CURSE_OF_DOOM = 1179, SPELL_CATEGORY_ROCKET_HELM_COOL = 1180, SPELL_CATEGORY_PRAYER_OF_MENDING = 1181,
  SPELL_CATEGORY_UNK1184 = 1184, SPELL_CATEGORY_UNK1185 = 1185, SPELL_CATEGORY_BLESSING_OF_SACR = 1186, SPELL_CATEGORY_BLIND_DIRTY_TRICK = 1187,
  SPELL_CATEGORY_CHASTISE = 1188, SPELL_CATEGORY_STARSHARDS = 1192, SPELL_CATEGORY_BLOODBERRY = 1194, SPELL_CATEGORY_EARTH_SHIELD = 1195,
  SPELL_CATEGORY_THROW_ME = 1197, SPELL_CATEGORY_TRANSMUTE_METALS = 1198, SPELL_CATEGORY_TRANSMUTE_GEMS = 1200, SPELL_CATEGORY_ROCKET_BOOTS = 1203,
  SPELL_CATEGORY_MAX = 1203
}
 
enum  SpellAttributes {
  SPELL_ATTR0_DONT_DISPLAY_SPELL_RESULT = 0x00000001, SPELL_ATTR0_RANGED = 0x00000002, SPELL_ATTR0_ON_NEXT_SWING_1 = 0x00000004, SPELL_ATTR0_UNK3 = 0x00000008,
  SPELL_ATTR0_ABILITY = 0x00000010, SPELL_ATTR0_TRADESPELL = 0x00000020, SPELL_ATTR0_PASSIVE = 0x00000040, SPELL_ATTR0_HIDDEN_CLIENTSIDE = 0x00000080,
  SPELL_ATTR0_HIDDEN_CAST_TIME = 0x00000100, SPELL_ATTR0_TARGET_MAINHAND_ITEM = 0x00000200, SPELL_ATTR0_ON_NEXT_SWING_2 = 0x00000400, SPELL_ATTR0_UNK11 = 0x00000800,
  SPELL_ATTR0_DAYTIME_ONLY = 0x00001000, SPELL_ATTR0_NIGHT_ONLY = 0x00002000, SPELL_ATTR0_INDOORS_ONLY = 0x00004000, SPELL_ATTR0_OUTDOORS_ONLY = 0x00008000,
  SPELL_ATTR0_NOT_SHAPESHIFT = 0x00010000, SPELL_ATTR0_ONLY_STEALTHED = 0x00020000, SPELL_ATTR0_DONT_AFFECT_SHEATH_STATE = 0x00040000, SPELL_ATTR0_LEVEL_DAMAGE_CALCULATION = 0x00080000,
  SPELL_ATTR0_STOP_ATTACK_TARGET = 0x00100000, SPELL_ATTR0_IMPOSSIBLE_DODGE_PARRY_BLOCK = 0x00200000, SPELL_ATTR0_CAST_TRACK_TARGET = 0x00400000, SPELL_ATTR0_CASTABLE_WHILE_DEAD = 0x00800000,
  SPELL_ATTR0_CASTABLE_WHILE_MOUNTED = 0x01000000, SPELL_ATTR0_DISABLED_WHILE_ACTIVE = 0x02000000, SPELL_ATTR0_NEGATIVE_1 = 0x04000000, SPELL_ATTR0_CASTABLE_WHILE_SITTING = 0x08000000,
  SPELL_ATTR0_CANT_USED_IN_COMBAT = 0x10000000, SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY = 0x20000000, SPELL_ATTR0_HEARTBEAT_RESIST_CHECK = 0x40000000, SPELL_ATTR0_CANT_CANCEL = 0x80000000
}
 
enum  SpellAttributesEx {
  SPELL_ATTR1_DISMISS_PET = 0x00000001, SPELL_ATTR1_DRAIN_ALL_POWER = 0x00000002, SPELL_ATTR1_CHANNELED_1 = 0x00000004, SPELL_ATTR1_CANT_BE_REDIRECTED = 0x00000008,
  SPELL_ATTR1_UNK4 = 0x00000010, SPELL_ATTR1_NOT_BREAK_STEALTH = 0x00000020, SPELL_ATTR1_CHANNELED_2 = 0x00000040, SPELL_ATTR1_CANT_BE_REFLECTED = 0x00000080,
  SPELL_ATTR1_CANT_TARGET_IN_COMBAT = 0x00000100, SPELL_ATTR1_MELEE_COMBAT_START = 0x00000200, SPELL_ATTR1_NO_THREAT = 0x00000400, SPELL_ATTR1_UNK11 = 0x00000800,
  SPELL_ATTR1_PICKPOCKET = 0x00001000, SPELL_ATTR1_FARSIGHT = 0x00002000, SPELL_ATTR1_CHANNEL_TRACK_TARGET = 0x00004000, SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY = 0x00008000,
  SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE = 0x00010000, SPELL_ATTR1_UNAUTOCASTABLE_BY_PET = 0x00020000, SPELL_ATTR1_UNK18 = 0x00040000, SPELL_ATTR_CANT_TARGET_SELF = 0x00080000,
  SPELL_ATTR1_REQ_COMBO_POINTS1 = 0x00100000, SPELL_ATTR1_UNK21 = 0x00200000, SPELL_ATTR1_REQ_COMBO_POINTS2 = 0x00400000, SPELL_ATTR1_UNK23 = 0x00800000,
  SPELL_ATTR1_IS_FISHING = 0x01000000, SPELL_ATTR1_UNK25 = 0x02000000, SPELL_ATTR1_UNK26 = 0x04000000, SPELL_ATTR1_UNK27 = 0x08000000,
  SPELL_ATTR1_DONT_DISPLAY_IN_AURA_BAR = 0x10000000, SPELL_ATTR1_CHANNEL_DISPLAY_SPELL_NAME = 0x20000000, SPELL_ATTR1_ENABLE_AT_DODGE = 0x40000000, SPELL_ATTR1_UNK31 = 0x80000000
}
 
enum  SpellAttributesEx2 {
  SPELL_ATTR2_CAN_TARGET_DEAD = 0x00000001, SPELL_ATTR2_UNK1 = 0x00000002, SPELL_ATTR2_IGNORE_LOS = 0x00000004, SPELL_ATTR2_UNK3 = 0x00000008,
  SPELL_ATTR2_DISPLAY_IN_STANCE_BAR = 0x00000010, SPELL_ATTR2_AUTOREPEAT_FLAG = 0x00000020, SPELL_ATTR2_REQUIRE_TAPPED_BY_CASTER = 0x00000040, SPELL_ATTR2_UNK7 = 0x00000080,
  SPELL_ATTR2_UNK8 = 0x00000100, SPELL_ATTR2_UNK9 = 0x00000200, SPELL_ATTR2_UNK10 = 0x00000400, SPELL_ATTR2_HEALTH_FUNNEL = 0x00000800,
  SPELL_ATTR2_UNK12 = 0x00001000, SPELL_ATTR2_PRESERVE_ENCHANT_IN_ARENA = 0x00002000, SPELL_ATTR2_UNK14 = 0x00004000, SPELL_ATTR2_UNK15 = 0x00008000,
  SPELL_ATTR2_TAME_BEAST = 0x00010000, SPELL_ATTR2_NOT_RESET_AUTO_ACTIONS = 0x00020000, SPELL_ATTR2_REQ_DEAD_PET = 0x00040000, SPELL_ATTR2_NOT_NEED_SHAPESHIFT = 0x00080000,
  SPELL_ATTR2_MUST_BE_BEHIND_TARGET = 0x00100000, SPELL_ATTR2_UNK21 = 0x00200000, SPELL_ATTR2_UNK22 = 0x00400000, SPELL_ATTR2_IS_ARCANE_CONCENTRATION = 0x00800000,
  SPELL_ATTR2_UNK24 = 0x01000000, SPELL_ATTR2_UNK25 = 0x02000000, SPELL_ATTR2_UNK26 = 0x04000000, SPELL_ATTR2_UNK27 = 0x08000000,
  SPELL_ATTR2_UNK28 = 0x10000000, SPELL_ATTR2_CANT_CRIT = 0x20000000, SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC = 0x40000000, SPELL_ATTR2_FOOD = 0x80000000
}
 
enum  SpellAttributesEx3 {
  SPELL_ATTR3_UNK0 = 0x00000001, SPELL_ATTR3_UNK1 = 0x00000002, SPELL_ATTR3_UNK2 = 0x00000004, SPELL_ATTR3_CAN_BE_BLOCKED = 0x00000008,
  SPELL_ATTR3_IGNORE_RESURRECTION_TIMER = 0x00000010, SPELL_ATTR3_UNK5 = 0x00000020, SPELL_ATTR3_UNK6 = 0x00000040, SPELL_ATTR3_STACK_FOR_DIFF_CASTERS = 0x00000080,
  SPELL_ATTR3_PLAYERS_ONLY = 0x00000100, SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2 = 0x00000200, SPELL_ATTR3_MAIN_HAND = 0x00000400, SPELL_ATTR3_BATTLEGROUND = 0x00000800,
  SPELL_ATTR3_CAST_ON_DEAD = 0x00001000, SPELL_ATTR3_DONT_DISPLAY_CHANNEL_BAR = 0x00002000, SPELL_ATTR3_HONORLESS = 0x00004000, SPELL_ATTR3_AUTO_SHOT = 0x00008000,
  SPELL_ATTR3_CANT_TRIGGER_PROC = 0x00010000, SPELL_ATTR3_NO_INITIAL_AGGRO = 0x00020000, SPELL_ATTR3_CANT_MISS = 0x00040000, SPELL_ATTR3_DISABLE_PROC = 0x00080000,
  SPELL_ATTR3_DEATH_PERSISTENT = 0x00100000, SPELL_ATTR3_UNK21 = 0x00200000, SPELL_ATTR3_REQ_WAND = 0x00400000, SPELL_ATTR3_UNK23 = 0x00800000,
  SPELL_ATTR3_REQ_OFFHAND = 0x01000000, SPELL_ATTR3_UNK25 = 0x02000000, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED = 0x04000000, SPELL_ATTR3_UNK27 = 0x08000000,
  SPELL_ATTR3_HAS_VISUAL_EFFECT = 0x10000000, SPELL_ATTR3_NO_DONE_BONUS = 0x20000000, SPELL_ATTR3_DONT_DISPLAY_RANGE = 0x40000000, SPELL_ATTR3_UNK31 = 0x80000000
}
 
enum  SpellAttributesEx4 {
  SPELL_ATTR4_IGNORE_RESISTANCES = 0x00000001, SPELL_ATTR4_PROC_ONLY_ON_CASTER = 0x00000002, SPELL_ATTR4_EXPIRE_OFFLINE = 0x00000004, SPELL_ATTR4_UNK3 = 0x00000008,
  SPELL_ATTR4_UNK4 = 0x00000010, SPELL_ATTR4_UNK5 = 0x00000020, SPELL_ATTR4_NOT_STEALABLE = 0x00000040, SPELL_ATTR4_TRIGGERED = 0x00000080,
  SPELL_ATTR4_UNK8 = 0x00000100, SPELL_ATTR4_TRIGGER_ACTIVATE = 0x00000200, SPELL_ATTR4_SPELL_VS_EXTEND_COST = 0x00000400, SPELL_ATTR4_UNK11 = 0x00000800,
  SPELL_ATTR4_UNK12 = 0x00001000, SPELL_ATTR4_UNK13 = 0x00002000, SPELL_ATTR4_DAMAGE_DOESNT_BREAK_AURAS = 0x00004000, SPELL_ATTR4_UNK15 = 0x00008000,
  SPELL_ATTR4_NOT_USABLE_IN_ARENA = 0x00010000, SPELL_ATTR4_USABLE_IN_ARENA = 0x00020000, SPELL_ATTR4_AREA_TARGET_CHAIN = 0x00040000, SPELL_ATTR4_UNK19 = 0x00080000,
  SPELL_ATTR4_UNK20 = 0x00100000, SPELL_ATTR4_STANCES = 0x00200000, SPELL_ATTR4_UNK22 = 0x00400000, SPELL_ATTR4_CANT_TRIGGER_ITEM_SPELLS = 0x00800000,
  SPELL_ATTR4_AUTOSHOT = 0x01000000, SPELL_ATTR4_SCALE_PET = 0x02000000, SPELL_ATTR4_CAST_ONLY_IN_OUTLAND = 0x04000000, SPELL_ATTR4_UNK27 = 0x08000000,
  SPELL_ATTR4_UNK28 = 0x10000000, SPELL_ATTR4_UNK29 = 0x20000000, SPELL_ATTR4_UNK30 = 0x40000000, SPELL_ATTR4_UNK31 = 0x80000000
}
 
enum  SpellAttributesEx5 {
  SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING = 0x00000001, SPELL_ATTR5_NO_REAGENT_WHILE_PREP = 0x00000002, SPELL_ATTR5_UNK2 = 0x00000004, SPELL_ATTR5_USABLE_WHILE_STUNNED = 0x00000008,
  SPELL_ATTR5_UNK4 = 0x00000010, SPELL_ATTR5_SINGLE_TARGET_SPELL = 0x00000020, SPELL_ATTR5_UNK6 = 0x00000040, SPELL_ATTR5_UNK7 = 0x00000080,
  SPELL_ATTR5_UNK8 = 0x00000100, SPELL_ATTR5_START_PERIODIC_AT_APPLY = 0x00000200, SPELL_ATTR5_HIDE_DURATION = 0x00000400, SPELL_ATTR5_ALLOW_TARGET_OF_TARGET_AS_TARGET = 0x00000800,
  SPELL_ATTR5_UNK12 = 0x00001000, SPELL_ATTR5_HASTE_AFFECT_DURATION = 0x00002000, SPELL_ATTR5_UNK14 = 0x00004000, SPELL_ATTR5_MULTI_TARGET = 0x00008000,
  SPELL_ATTR5_UNK16 = 0x00010000, SPELL_ATTR5_USABLE_WHILE_FEARED = 0x00020000, SPELL_ATTR5_USABLE_WHILE_CONFUSED = 0x00040000, SPELL_ATTR5_DONT_TURN_DURING_CAST = 0x00080000,
  SPELL_ATTR5_SPECIAL_MOUNT = 0x00100000, SPELL_ATTR5_UNK21 = 0x00200000, SPELL_ATTR5_UNK22 = 0x00400000, SPELL_ATTR5_UNK23 = 0x00800000,
  SPELL_ATTR5_UNK24 = 0x01000000, SPELL_ATTR5_UNK25 = 0x02000000, SPELL_ATTR5_UNK26 = 0x04000000, SPELL_ATTR5_DONT_SHOW_AURA_IF_SELF_CAST = 0x08000000,
  SPELL_ATTR5_DONT_SHOW_AURA_IF_NOT_SELF_CAST = 0x10000000, SPELL_ATTR5_UNK29 = 0x20000000, SPELL_ATTR5_UNK30 = 0x40000000, SPELL_ATTR5_TAUNT = 0x80000000
}
 
enum  SpellAttributesEx6 {
  SPELL_ATTR6_UNK0 = 0x00000001, SPELL_ATTR6_UNK1 = 0x00000002, SPELL_ATTR6_IGNORE_CASTER_AURAS = 0x00000004, SPELL_ATTR6_ASSIST_IGNORE_IMMUNE_FLAG = 0x00000008,
  SPELL_ATTR6_UNK4 = 0x00000010, SPELL_ATTR6_UNK5 = 0x00000020, SPELL_ATTR6_CAN_TARGET_INVISIBLE = 0x00000040, SPELL_ATTR6_UNK7 = 0x00000080,
  SPELL_ATTR6_UNK8 = 0x00000100, SPELL_ATTR6_UNK9 = 0x00000200, SPELL_ATTR6_UNK10 = 0x00000400, SPELL_ATTR6_NOT_IN_RAID_INSTANCE = 0x00000800,
  SPELL_ATTR6_UNK12 = 0x00001000, SPELL_ATTR6_UNK13 = 0x00002000, SPELL_ATTR6_UNK14 = 0x00004000, SPELL_ATTR6_UNK15 = 0x00008000,
  SPELL_ATTR6_UNK16 = 0x00010000, SPELL_ATTR6_UNK17 = 0x00020000, SPELL_ATTR6_UNK18 = 0x00040000, SPELL_ATTR6_UNK19 = 0x00080000,
  SPELL_ATTR6_UNK20 = 0x00100000, SPELL_ATTR6_UNK21 = 0x00200000, SPELL_ATTR6_UNK22 = 0x00400000, SPELL_ATTR6_UNK23 = 0x00800000,
  SPELL_ATTR6_UNK24 = 0x01000000, SPELL_ATTR6_UNK25 = 0x02000000, SPELL_ATTR6_UNK26 = 0x04000000, SPELL_ATTR6_UNK27 = 0x08000000,
  SPELL_ATTR6_UNK28 = 0x10000000, SPELL_ATTR6_NO_DMG_PERCENT_MODS = 0x20000000, SPELL_ATTR6_UNK30 = 0x40000000, SPELL_ATTR6_UNK31 = 0x80000000
}
 
enum  SheathTypes {
  SHEATHETYPE_NONE = 0, SHEATHETYPE_MAINHAND = 1, SHEATHETYPE_OFFHAND = 2, SHEATHETYPE_LARGEWEAPONLEFT = 3,
  SHEATHETYPE_LARGEWEAPONRIGHT = 4, SHEATHETYPE_HIPWEAPONLEFT = 5, SHEATHETYPE_HIPWEAPONRIGHT = 6, SHEATHETYPE_SHIELD = 7
}
 
enum  CharacterSlot {
  SLOT_HEAD = 0, SLOT_NECK = 1, SLOT_SHOULDERS = 2, SLOT_SHIRT = 3,
  SLOT_CHEST = 4, SLOT_WAIST = 5, SLOT_LEGS = 6, SLOT_FEET = 7,
  SLOT_WRISTS = 8, SLOT_HANDS = 9, SLOT_FINGER1 = 10, SLOT_FINGER2 = 11,
  SLOT_TRINKET1 = 12, SLOT_TRINKET2 = 13, SLOT_BACK = 14, SLOT_MAIN_HAND = 15,
  SLOT_OFF_HAND = 16, SLOT_RANGED = 17, SLOT_TABARD = 18, SLOT_EMPTY = 19
}
 
enum  Language {
  LANG_UNIVERSAL = 0, LANG_ORCISH = 1, LANG_DARNASSIAN = 2, LANG_TAURAHE = 3,
  LANG_DWARVISH = 6, LANG_COMMON = 7, LANG_DEMONIC = 8, LANG_TITAN = 9,
  LANG_THALASSIAN = 10, LANG_DRACONIC = 11, LANG_KALIMAG = 12, LANG_GNOMISH = 13,
  LANG_TROLL = 14, LANG_GUTTERSPEAK = 33, LANG_DRAENEI = 35, LANG_ZOMBIE = 36,
  LANG_GNOMISH_BINARY = 37, LANG_GOBLIN_BINARY = 38, LANG_ADDON = 0xFFFFFFFF
}
 
enum  TeamId { TEAM_ALLIANCE = 0, TEAM_HORDE, TEAM_NEUTRAL }
 
enum  Team { TEAM_NONE = 0, HORDE = 67, ALLIANCE = 469 }
 
enum  SpellEffects {
  SPELL_EFFECT_NONE = 0, SPELL_EFFECT_INSTAKILL = 1, SPELL_EFFECT_SCHOOL_DAMAGE = 2, SPELL_EFFECT_DUMMY = 3,
  SPELL_EFFECT_PORTAL_TELEPORT = 4, SPELL_EFFECT_TELEPORT_UNITS = 5, SPELL_EFFECT_APPLY_AURA = 6, SPELL_EFFECT_ENVIRONMENTAL_DAMAGE = 7,
  SPELL_EFFECT_POWER_DRAIN = 8, SPELL_EFFECT_HEALTH_LEECH = 9, SPELL_EFFECT_HEAL = 10, SPELL_EFFECT_BIND = 11,
  SPELL_EFFECT_PORTAL = 12, SPELL_EFFECT_RITUAL_BASE = 13, SPELL_EFFECT_RITUAL_SPECIALIZE = 14, SPELL_EFFECT_RITUAL_ACTIVATE_PORTAL = 15,
  SPELL_EFFECT_QUEST_COMPLETE = 16, SPELL_EFFECT_WEAPON_DAMAGE_NOSCHOOL = 17, SPELL_EFFECT_RESURRECT = 18, SPELL_EFFECT_ADD_EXTRA_ATTACKS = 19,
  SPELL_EFFECT_DODGE = 20, SPELL_EFFECT_EVADE = 21, SPELL_EFFECT_PARRY = 22, SPELL_EFFECT_BLOCK = 23,
  SPELL_EFFECT_CREATE_ITEM = 24, SPELL_EFFECT_WEAPON = 25, SPELL_EFFECT_DEFENSE = 26, SPELL_EFFECT_PERSISTENT_AREA_AURA = 27,
  SPELL_EFFECT_SUMMON = 28, SPELL_EFFECT_LEAP = 29, SPELL_EFFECT_ENERGIZE = 30, SPELL_EFFECT_WEAPON_PERCENT_DAMAGE = 31,
  SPELL_EFFECT_TRIGGER_MISSILE = 32, SPELL_EFFECT_OPEN_LOCK = 33, SPELL_EFFECT_SUMMON_CHANGE_ITEM = 34, SPELL_EFFECT_APPLY_AREA_AURA_PARTY = 35,
  SPELL_EFFECT_LEARN_SPELL = 36, SPELL_EFFECT_SPELL_DEFENSE = 37, SPELL_EFFECT_DISPEL = 38, SPELL_EFFECT_LANGUAGE = 39,
  SPELL_EFFECT_DUAL_WIELD = 40, SPELL_EFFECT_41 = 41, SPELL_EFFECT_42 = 42, SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER = 43,
  SPELL_EFFECT_SKILL_STEP = 44, SPELL_EFFECT_UNDEFINED_45 = 45, SPELL_EFFECT_SPAWN = 46, SPELL_EFFECT_TRADE_SKILL = 47,
  SPELL_EFFECT_STEALTH = 48, SPELL_EFFECT_DETECT = 49, SPELL_EFFECT_TRANS_DOOR = 50, SPELL_EFFECT_FORCE_CRITICAL_HIT = 51,
  SPELL_EFFECT_GUARANTEE_HIT = 52, SPELL_EFFECT_ENCHANT_ITEM = 53, SPELL_EFFECT_ENCHANT_ITEM_TEMPORARY = 54, SPELL_EFFECT_TAMECREATURE = 55,
  SPELL_EFFECT_SUMMON_PET = 56, SPELL_EFFECT_LEARN_PET_SPELL = 57, SPELL_EFFECT_WEAPON_DAMAGE = 58, SPELL_EFFECT_OPEN_LOCK_ITEM = 59,
  SPELL_EFFECT_PROFICIENCY = 60, SPELL_EFFECT_SEND_EVENT = 61, SPELL_EFFECT_POWER_BURN = 62, SPELL_EFFECT_THREAT = 63,
  SPELL_EFFECT_TRIGGER_SPELL = 64, SPELL_EFFECT_HEALTH_FUNNEL = 65, SPELL_EFFECT_POWER_FUNNEL = 66, SPELL_EFFECT_HEAL_MAX_HEALTH = 67,
  SPELL_EFFECT_INTERRUPT_CAST = 68, SPELL_EFFECT_DISTRACT = 69, SPELL_EFFECT_PULL = 70, SPELL_EFFECT_PICKPOCKET = 71,
  SPELL_EFFECT_ADD_FARSIGHT = 72, SPELL_EFFECT_73 = 73, SPELL_EFFECT_74 = 74, SPELL_EFFECT_HEAL_MECHANICAL = 75,
  SPELL_EFFECT_SUMMON_OBJECT_WILD = 76, SPELL_EFFECT_SCRIPT_EFFECT = 77, SPELL_EFFECT_ATTACK = 78, SPELL_EFFECT_SANCTUARY = 79,
  SPELL_EFFECT_ADD_COMBO_POINTS = 80, SPELL_EFFECT_CREATE_HOUSE = 81, SPELL_EFFECT_BIND_SIGHT = 82, SPELL_EFFECT_DUEL = 83,
  SPELL_EFFECT_STUCK = 84, SPELL_EFFECT_SUMMON_PLAYER = 85, SPELL_EFFECT_ACTIVATE_OBJECT = 86, SPELL_EFFECT_87 = 87,
  SPELL_EFFECT_88 = 88, SPELL_EFFECT_89 = 89, SPELL_EFFECT_90 = 90, SPELL_EFFECT_THREAT_ALL = 91,
  SPELL_EFFECT_ENCHANT_HELD_ITEM = 92, SPELL_EFFECT_93 = 93, SPELL_EFFECT_SELF_RESURRECT = 94, SPELL_EFFECT_SKINNING = 95,
  SPELL_EFFECT_CHARGE = 96, SPELL_EFFECT_97 = 97, SPELL_EFFECT_KNOCK_BACK = 98, SPELL_EFFECT_DISENCHANT = 99,
  SPELL_EFFECT_INEBRIATE = 100, SPELL_EFFECT_FEED_PET = 101, SPELL_EFFECT_DISMISS_PET = 102, SPELL_EFFECT_REPUTATION = 103,
  SPELL_EFFECT_SUMMON_OBJECT_SLOT1 = 104, SPELL_EFFECT_SUMMON_OBJECT_SLOT2 = 105, SPELL_EFFECT_SUMMON_OBJECT_SLOT3 = 106, SPELL_EFFECT_SUMMON_OBJECT_SLOT4 = 107,
  SPELL_EFFECT_DISPEL_MECHANIC = 108, SPELL_EFFECT_SUMMON_DEAD_PET = 109, SPELL_EFFECT_DESTROY_ALL_TOTEMS = 110, SPELL_EFFECT_DURABILITY_DAMAGE = 111,
  SPELL_EFFECT_112 = 112, SPELL_EFFECT_RESURRECT_NEW = 113, SPELL_EFFECT_ATTACK_ME = 114, SPELL_EFFECT_DURABILITY_DAMAGE_PCT = 115,
  SPELL_EFFECT_SKIN_PLAYER_CORPSE = 116, SPELL_EFFECT_SPIRIT_HEAL = 117, SPELL_EFFECT_SKILL = 118, SPELL_EFFECT_APPLY_AREA_AURA_PET = 119,
  SPELL_EFFECT_TELEPORT_GRAVEYARD = 120, SPELL_EFFECT_NORMALIZED_WEAPON_DMG = 121, SPELL_EFFECT_122 = 122, SPELL_EFFECT_SEND_TAXI = 123,
  SPELL_EFFECT_PLAYER_PULL = 124, SPELL_EFFECT_MODIFY_THREAT_PERCENT = 125, SPELL_EFFECT_STEAL_BENEFICIAL_BUFF = 126, SPELL_EFFECT_PROSPECTING = 127,
  SPELL_EFFECT_APPLY_AREA_AURA_FRIEND = 128, SPELL_EFFECT_APPLY_AREA_AURA_ENEMY = 129, SPELL_EFFECT_REDIRECT_THREAT = 130, SPELL_EFFECT_131 = 131,
  SPELL_EFFECT_PLAY_MUSIC = 132, SPELL_EFFECT_UNLEARN_SPECIALIZATION = 133, SPELL_EFFECT_KILL_CREDIT = 134, SPELL_EFFECT_CALL_PET = 135,
  SPELL_EFFECT_HEAL_PCT = 136, SPELL_EFFECT_ENERGIZE_PCT = 137, SPELL_EFFECT_LEAP_BACK = 138, SPELL_EFFECT_CLEAR_QUEST = 139,
  SPELL_EFFECT_FORCE_CAST = 140, SPELL_EFFECT_141 = 141, SPELL_EFFECT_TRIGGER_SPELL_WITH_VALUE = 142, SPELL_EFFECT_APPLY_AREA_AURA_OWNER = 143,
  SPELL_EFFECT_KNOCK_BACK_2 = 144, SPELL_EFFECT_145 = 145, SPELL_EFFECT_ACTIVATE_RUNE = 146, SPELL_EFFECT_QUEST_FAIL = 147,
  SPELL_EFFECT_148 = 148, SPELL_EFFECT_149 = 149, SPELL_EFFECT_150 = 150, SPELL_EFFECT_TRIGGER_SPELL_2 = 151,
  SPELL_EFFECT_SUMMON_FRIEND = 152, SPELL_EFFECT_153 = 153, TOTAL_SPELL_EFFECTS = 154
}
 
enum  AuraState {
  AURA_STATE_DEFENSE = 1, AURA_STATE_HEALTHLESS_20_PERCENT = 2, AURA_STATE_BERSERKING = 3, AURA_STATE_JUDGEMENT = 5,
  AURA_STATE_HUNTER_PARRY = 7, AURA_STATE_ROGUE_ATTACK_FROM_STEALTH = 7, AURA_STATE_WARRIOR_VICTORY_RUSH = 10, AURA_STATE_HUNTER_CRIT_STRIKE = 10,
  AURA_STATE_CRIT = 11, AURA_STATE_FAERIE_FIRE = 12, AURA_STATE_HEALTHLESS_35_PERCENT = 13, AURA_STATE_IMMOLATE = 14,
  AURA_STATE_SWIFTMEND = 15, AURA_STATE_DEADLY_POISON = 16, AURA_STATE_FORBEARANCE = 17, AURA_STATE_WEAKENED_SOUL = 18,
  AURA_STATE_HYPOTHERMIA = 19
}
 
enum  Mechanics {
  MECHANIC_NONE = 0, MECHANIC_CHARM = 1, MECHANIC_CONFUSED = 2, MECHANIC_DISARM = 3,
  MECHANIC_DISTRACT = 4, MECHANIC_FEAR = 5, MECHANIC_FUMBLE = 6, MECHANIC_ROOT = 7,
  MECHANIC_PACIFY = 8, MECHANIC_SILENCE = 9, MECHANIC_SLEEP = 10, MECHANIC_SNARE = 11,
  MECHANIC_STUN = 12, MECHANIC_FREEZE = 13, MECHANIC_KNOCKOUT = 14, MECHANIC_BLEED = 15,
  MECHANIC_BANDAGE = 16, MECHANIC_POLYMORPH = 17, MECHANIC_BANISH = 18, MECHANIC_SHIELD = 19,
  MECHANIC_SHACKLE = 20, MECHANIC_MOUNT = 21, MECHANIC_PERSUADE = 22, MECHANIC_TURN = 23,
  MECHANIC_HORROR = 24, MECHANIC_INVULNERABILITY = 25, MECHANIC_INTERRUPT = 26, MECHANIC_DAZE = 27,
  MECHANIC_DISCOVERY = 28, MECHANIC_IMMUNE_SHIELD = 29, MECHANIC_SAPPED = 30
}
 
enum  DispelType {
  DISPEL_NONE = 0, DISPEL_MAGIC = 1, DISPEL_CURSE = 2, DISPEL_DISEASE = 3,
  DISPEL_POISON = 4, DISPEL_STEALTH = 5, DISPEL_INVISIBILITY = 6, DISPEL_ALL = 7,
  DISPEL_SPE_NPC_ONLY = 8, DISPEL_ENRAGE = 9, DISPEL_ZG_TICKET = 10
}
 
enum  SpellImmunity {
  IMMUNITY_EFFECT = 0, IMMUNITY_STATE = 1, IMMUNITY_SCHOOL = 2, IMMUNITY_DAMAGE = 3,
  IMMUNITY_DISPEL = 4, IMMUNITY_MECHANIC = 5, IMMUNITY_ID = 6
}
 
enum  Targets {
  TARGET_NONE = 0, TARGET_UNIT_CASTER = 1, TARGET_UNIT_NEARBY_ENEMY = 2, TARGET_UNIT_NEARBY_PARTY = 3,
  TARGET_UNIT_NEARBY_ALLY = 4, TARGET_UNIT_PET = 5, TARGET_UNIT_TARGET_ENEMY = 6, TARGET_UNIT_AREA_ENTRY_SRC = 7,
  TARGET_UNIT_AREA_ENTRY_DST = 8, TARGET_DST_HOME = 9, TARGET_UNIT_TARGET_DEST_CASTER = 11, TARGET_UNIT_AREA_ENEMY_SRC = 15,
  TARGET_UNIT_AREA_ENEMY_DST = 16, TARGET_DST_DB = 17, TARGET_DST_CASTER = 18, TARGET_UNIT_PARTY_CASTER = 20,
  TARGET_UNIT_TARGET_ALLY = 21, TARGET_SRC_CASTER = 22, TARGET_GAMEOBJECT = 23, TARGET_UNIT_CONE_ENEMY = 24,
  TARGET_UNIT_TARGET_ANY = 25, TARGET_GAMEOBJECT_ITEM = 26, TARGET_UNIT_MASTER = 27, TARGET_DEST_DYNOBJ_ENEMY = 28,
  TARGET_DEST_DYNOBJ_ALLY = 29, TARGET_UNIT_AREA_ALLY_SRC = 30, TARGET_UNIT_AREA_ALLY_DST = 31, TARGET_MINION = 32,
  TARGET_UNIT_AREA_PARTY_SRC = 33, TARGET_UNIT_AREA_PARTY_DST = 34, TARGET_UNIT_TARGET_PARTY = 35, TARGET_DEST_CASTER_RANDOM_UNKNOWN = 36,
  TARGET_UNIT_PARTY_TARGET = 37, TARGET_UNIT_NEARBY_ENTRY = 38, TARGET_UNIT_CASTER_FISHING = 39, TARGET_GAMEOBJECT_NEARBY_ENTRY = 40,
  TARGET_DEST_CASTER_FRONT_LEFT = 41, TARGET_DEST_CASTER_BACK_LEFT = 42, TARGET_DEST_CASTER_BACK_RIGHT = 43, TARGET_DEST_CASTER_FRONT_RIGHT = 44,
  TARGET_UNIT_CHAINHEAL = 45, TARGET_DST_NEARBY_ENTRY = 46, TARGET_DEST_CASTER_FRONT = 47, TARGET_DEST_CASTER_BACK = 48,
  TARGET_DEST_CASTER_RIGHT = 49, TARGET_DEST_CASTER_LEFT = 50, TARGET_GAMEOBJECT_SRC_AREA = 51, TARGET_GAMEOBJECT_DEST_AREA = 52,
  TARGET_DST_TARGET_ENEMY = 53, TARGET_UNIT_CONE_ENEMY_UNKNOWN = 54, TARGET_DEST_CASTER_FRONT_LEAP = 55, TARGET_UNIT_RAID_CASTER = 56,
  TARGET_UNIT_TARGET_RAID = 57, TARGET_UNIT_NEARBY_RAID = 58, TARGET_UNIT_CONE_ALLY = 59, TARGET_UNIT_CONE_ENTRY = 60,
  TARGET_UNIT_CLASS_TARGET = 61, TARGET_TEST = 62, TARGET_DEST_TARGET_ANY = 63, TARGET_DEST_TARGET_FRONT = 64,
  TARGET_DEST_TARGET_BACK = 65, TARGET_DEST_TARGET_RIGHT = 66, TARGET_DEST_TARGET_LEFT = 67, TARGET_DEST_TARGET_FRONT_LEFT = 68,
  TARGET_DEST_TARGET_BACK_LEFT = 69, TARGET_DEST_TARGET_BACK_RIGHT = 70, TARGET_DEST_TARGET_FRONT_RIGHT = 71, TARGET_DEST_CASTER_RANDOM = 72,
  TARGET_DEST_CASTER_RADIUS = 73, TARGET_DEST_TARGET_RANDOM = 74, TARGET_DEST_TARGET_RADIUS = 75, TARGET_DEST_CHANNEL = 76,
  TARGET_UNIT_CHANNEL = 77, TARGET_DEST_DEST_FRONT = 78, TARGET_DEST_DEST_BACK = 79, TARGET_DEST_DEST_RIGHT = 80,
  TARGET_DEST_DEST_LEFT = 81, TARGET_DEST_DEST_FRONT_LEFT = 82, TARGET_DEST_DEST_BACK_LEFT = 83, TARGET_DEST_DEST_BACK_RIGHT = 84,
  TARGET_DEST_DEST_FRONT_RIGHT = 85, TARGET_DEST_DEST_RANDOM = 86, TARGET_DEST_DEST = 87, TARGET_DEST_DYNOBJ_NONE = 88,
  TARGET_DEST_TRAJ = 89, TARGET_UNIT_TARGET_MINIPET = 90, TARGET_CORPSE_AREA_ENEMY_PLAYER = 93
}
 
enum  SpellCastTargetFlags {
  TARGET_FLAG_SELF = 0x00000000, TARGET_FLAG_UNIT = 0x00000002, TARGET_FLAG_ITEM = 0x00000010, TARGET_FLAG_SOURCE_LOCATION = 0x00000020,
  TARGET_FLAG_DEST_LOCATION = 0x00000040, TARGET_FLAG_OBJECT_UNK = 0x00000080, TARGET_FLAG_PVP_CORPSE = 0x00000200, TARGET_FLAG_OBJECT = 0x00000800,
  TARGET_FLAG_TRADE_ITEM = 0x00001000, TARGET_FLAG_STRING = 0x00002000, TARGET_FLAG_GAMEOBJECT_ITEM = 0x00004000, TARGET_FLAG_CORPSE = 0x00008000,
  TARGET_FLAG_UNK2 = 0x00010000
}
 
enum  SpellMissInfo {
  SPELL_MISS_NONE = 0, SPELL_MISS_MISS = 1, SPELL_MISS_RESIST = 2, SPELL_MISS_DODGE = 3,
  SPELL_MISS_PARRY = 4, SPELL_MISS_BLOCK = 5, SPELL_MISS_EVADE = 6, SPELL_MISS_IMMUNE = 7,
  SPELL_MISS_IMMUNE2 = 8, SPELL_MISS_DEFLECT = 9, SPELL_MISS_ABSORB = 10, SPELL_MISS_REFLECT = 11
}
 
enum  SpellHitType {
  SPELL_HIT_TYPE_UNK1 = 0x00001, SPELL_HIT_TYPE_CRIT = 0x00002, SPELL_HIT_TYPE_UNK2 = 0x00004, SPELL_HIT_TYPE_UNK3 = 0x00008,
  SPELL_HIT_TYPE_UNK4 = 0x00020
}
 
enum  SpellDmgClass { SPELL_DAMAGE_CLASS_NONE = 0, SPELL_DAMAGE_CLASS_MAGIC = 1, SPELL_DAMAGE_CLASS_MELEE = 2, SPELL_DAMAGE_CLASS_RANGED = 3 }
 
enum  SpellPreventionType { SPELL_PREVENTION_TYPE_NONE = 0, SPELL_PREVENTION_TYPE_SILENCE = 1, SPELL_PREVENTION_TYPE_PACIFY = 2 }
 
enum  SpellCastResult {
  SPELL_FAILED_AFFECTING_COMBAT = 0x00, SPELL_FAILED_ALREADY_AT_FULL_HEALTH = 0x01, SPELL_FAILED_ALREADY_AT_FULL_MANA = 0x02, SPELL_FAILED_ALREADY_AT_FULL_POWER = 0x03,
  SPELL_FAILED_ALREADY_BEING_TAMED = 0x04, SPELL_FAILED_ALREADY_HAVE_CHARM = 0x05, SPELL_FAILED_ALREADY_HAVE_SUMMON = 0x06, SPELL_FAILED_ALREADY_OPEN = 0x07,
  SPELL_FAILED_AURA_BOUNCED = 0x08, SPELL_FAILED_AUTOTRACK_INTERRUPTED = 0x09, SPELL_FAILED_BAD_IMPLICIT_TARGETS = 0x0A, SPELL_FAILED_BAD_TARGETS = 0x0B,
  SPELL_FAILED_CANT_BE_CHARMED = 0x0C, SPELL_FAILED_CANT_BE_DISENCHANTED = 0x0D, SPELL_FAILED_CANT_BE_DISENCHANTED_SKILL = 0x0E, SPELL_FAILED_CANT_BE_PROSPECTED = 0x0F,
  SPELL_FAILED_CANT_CAST_ON_TAPPED = 0x10, SPELL_FAILED_CANT_DUEL_WHILE_INVISIBLE = 0x11, SPELL_FAILED_CANT_DUEL_WHILE_STEALTHED = 0x12, SPELL_FAILED_CANT_STEALTH = 0x13,
  SPELL_FAILED_CASTER_AURASTATE = 0x14, SPELL_FAILED_CASTER_DEAD = 0x15, SPELL_FAILED_CHARMED = 0x16, SPELL_FAILED_CHEST_IN_USE = 0x17,
  SPELL_FAILED_CONFUSED = 0x18, SPELL_FAILED_DONT_REPORT = 0x19, SPELL_FAILED_EQUIPPED_ITEM = 0x1A, SPELL_FAILED_EQUIPPED_ITEM_CLASS = 0x1B,
  SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND = 0x1C, SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND = 0x1D, SPELL_FAILED_ERROR = 0x1E, SPELL_FAILED_FIZZLE = 0x1F,
  SPELL_FAILED_FLEEING = 0x20, SPELL_FAILED_FOOD_LOWLEVEL = 0x21, SPELL_FAILED_HIGHLEVEL = 0x22, SPELL_FAILED_HUNGER_SATIATED = 0x23,
  SPELL_FAILED_IMMUNE = 0x24, SPELL_FAILED_INTERRUPTED = 0x25, SPELL_FAILED_INTERRUPTED_COMBAT = 0x26, SPELL_FAILED_ITEM_ALREADY_ENCHANTED = 0x27,
  SPELL_FAILED_ITEM_GONE = 0x28, SPELL_FAILED_ITEM_NOT_FOUND = 0x29, SPELL_FAILED_ITEM_NOT_READY = 0x2A, SPELL_FAILED_LEVEL_REQUIREMENT = 0x2B,
  SPELL_FAILED_LINE_OF_SIGHT = 0x2C, SPELL_FAILED_LOWLEVEL = 0x2D, SPELL_FAILED_LOW_CASTLEVEL = 0x2E, SPELL_FAILED_MAINHAND_EMPTY = 0x2F,
  SPELL_FAILED_MOVING = 0x30, SPELL_FAILED_NEED_AMMO = 0x31, SPELL_FAILED_NEED_AMMO_POUCH = 0x32, SPELL_FAILED_NEED_EXOTIC_AMMO = 0x33,
  SPELL_FAILED_NOPATH = 0x34, SPELL_FAILED_NOT_BEHIND = 0x35, SPELL_FAILED_NOT_FISHABLE = 0x36, SPELL_FAILED_NOT_FLYING = 0x37,
  SPELL_FAILED_NOT_HERE = 0x38, SPELL_FAILED_NOT_INFRONT = 0x39, SPELL_FAILED_NOT_IN_CONTROL = 0x3A, SPELL_FAILED_NOT_KNOWN = 0x3B,
  SPELL_FAILED_NOT_MOUNTED = 0x3C, SPELL_FAILED_NOT_ON_TAXI = 0x3D, SPELL_FAILED_NOT_ON_TRANSPORT = 0x3E, SPELL_FAILED_NOT_READY = 0x3F,
  SPELL_FAILED_NOT_SHAPESHIFT = 0x40, SPELL_FAILED_NOT_STANDING = 0x41, SPELL_FAILED_NOT_TRADEABLE = 0x42, SPELL_FAILED_NOT_TRADING = 0x43,
  SPELL_FAILED_NOT_UNSHEATHED = 0x44, SPELL_FAILED_NOT_WHILE_GHOST = 0x45, SPELL_FAILED_NO_AMMO = 0x46, SPELL_FAILED_NO_CHARGES_REMAIN = 0x47,
  SPELL_FAILED_NO_CHAMPION = 0x48, SPELL_FAILED_NO_COMBO_POINTS = 0x49, SPELL_FAILED_NO_DUELING = 0x4A, SPELL_FAILED_NO_ENDURANCE = 0x4B,
  SPELL_FAILED_NO_FISH = 0x4C, SPELL_FAILED_NO_ITEMS_WHILE_SHAPESHIFTED = 0x4D, SPELL_FAILED_NO_MOUNTS_ALLOWED = 0x4E, SPELL_FAILED_NO_PET = 0x4F,
  SPELL_FAILED_NO_POWER = 0x50, SPELL_FAILED_NOTHING_TO_DISPEL = 0x51, SPELL_FAILED_NOTHING_TO_STEAL = 0x52, SPELL_FAILED_ONLY_ABOVEWATER = 0x53,
  SPELL_FAILED_ONLY_DAYTIME = 0x54, SPELL_FAILED_ONLY_INDOORS = 0x55, SPELL_FAILED_ONLY_MOUNTED = 0x56, SPELL_FAILED_ONLY_NIGHTTIME = 0x57,
  SPELL_FAILED_ONLY_OUTDOORS = 0x58, SPELL_FAILED_ONLY_SHAPESHIFT = 0x59, SPELL_FAILED_ONLY_STEALTHED = 0x5A, SPELL_FAILED_ONLY_UNDERWATER = 0x5B,
  SPELL_FAILED_OUT_OF_RANGE = 0x5C, SPELL_FAILED_PACIFIED = 0x5D, SPELL_FAILED_POSSESSED = 0x5E, SPELL_FAILED_REAGENTS = 0x5F,
  SPELL_FAILED_REQUIRES_AREA = 0x60, SPELL_FAILED_REQUIRES_SPELL_FOCUS = 0x61, SPELL_FAILED_ROOTED = 0x62, SPELL_FAILED_SILENCED = 0x63,
  SPELL_FAILED_SPELL_IN_PROGRESS = 0x64, SPELL_FAILED_SPELL_LEARNED = 0x65, SPELL_FAILED_SPELL_UNAVAILABLE = 0x66, SPELL_FAILED_STUNNED = 0x67,
  SPELL_FAILED_TARGETS_DEAD = 0x68, SPELL_FAILED_TARGET_AFFECTING_COMBAT = 0x69, SPELL_FAILED_TARGET_AURASTATE = 0x6A, SPELL_FAILED_TARGET_DUELING = 0x6B,
  SPELL_FAILED_TARGET_ENEMY = 0x6C, SPELL_FAILED_TARGET_ENRAGED = 0x6D, SPELL_FAILED_TARGET_FRIENDLY = 0x6E, SPELL_FAILED_TARGET_IN_COMBAT = 0x6F,
  SPELL_FAILED_TARGET_IS_PLAYER = 0x70, SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED = 0x71, SPELL_FAILED_TARGET_NOT_DEAD = 0x72, SPELL_FAILED_TARGET_NOT_IN_PARTY = 0x73,
  SPELL_FAILED_TARGET_NOT_LOOTED = 0x74, SPELL_FAILED_TARGET_NOT_PLAYER = 0x75, SPELL_FAILED_TARGET_NO_POCKETS = 0x76, SPELL_FAILED_TARGET_NO_WEAPONS = 0x77,
  SPELL_FAILED_TARGET_UNSKINNABLE = 0x78, SPELL_FAILED_THIRST_SATIATED = 0x79, SPELL_FAILED_TOO_CLOSE = 0x7A, SPELL_FAILED_TOO_MANY_OF_ITEM = 0x7B,
  SPELL_FAILED_TOTEM_CATEGORY = 0x7C, SPELL_FAILED_TOTEMS = 0x7D, SPELL_FAILED_TRAINING_POINTS = 0x7E, SPELL_FAILED_TRY_AGAIN = 0x7F,
  SPELL_FAILED_UNIT_NOT_BEHIND = 0x80, SPELL_FAILED_UNIT_NOT_INFRONT = 0x81, SPELL_FAILED_WRONG_PET_FOOD = 0x82, SPELL_FAILED_NOT_WHILE_FATIGUED = 0x83,
  SPELL_FAILED_TARGET_NOT_IN_INSTANCE = 0x84, SPELL_FAILED_NOT_WHILE_TRADING = 0x85, SPELL_FAILED_TARGET_NOT_IN_RAID = 0x86, SPELL_FAILED_DISENCHANT_WHILE_LOOTING = 0x87,
  SPELL_FAILED_PROSPECT_WHILE_LOOTING = 0x88, SPELL_FAILED_PROSPECT_NEED_MORE = 0x89, SPELL_FAILED_TARGET_FREEFORALL = 0x8A, SPELL_FAILED_NO_EDIBLE_CORPSES = 0x8B,
  SPELL_FAILED_ONLY_BATTLEGROUNDS = 0x8C, SPELL_FAILED_TARGET_NOT_GHOST = 0x8D, SPELL_FAILED_TOO_MANY_SKILLS = 0x8E, SPELL_FAILED_TRANSFORM_UNUSABLE = 0x8F,
  SPELL_FAILED_WRONG_WEATHER = 0x90, SPELL_FAILED_DAMAGE_IMMUNE = 0x91, SPELL_FAILED_PREVENTED_BY_MECHANIC = 0x92, SPELL_FAILED_PLAY_TIME = 0x93,
  SPELL_FAILED_REPUTATION = 0x94, SPELL_FAILED_MIN_SKILL = 0x95, SPELL_FAILED_NOT_IN_ARENA = 0x96, SPELL_FAILED_NOT_ON_SHAPESHIFT = 0x97,
  SPELL_FAILED_NOT_ON_STEALTHED = 0x98, SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE = 0x99, SPELL_FAILED_NOT_ON_MOUNTED = 0x9A, SPELL_FAILED_TOO_SHALLOW = 0x9B,
  SPELL_FAILED_TARGET_NOT_IN_SANCTUARY = 0x9C, SPELL_FAILED_TARGET_IS_TRIVIAL = 0x9D, SPELL_FAILED_BM_OR_INVISGOD = 0x9E, SPELL_FAILED_EXPERT_RIDING_REQUIREMENT = 0x9F,
  SPELL_FAILED_ARTISAN_RIDING_REQUIREMENT = 0xA0, SPELL_FAILED_NOT_IDLE = 0xA1, SPELL_FAILED_NOT_INACTIVE = 0xA2, SPELL_FAILED_PARTIAL_PLAYTIME = 0xA3,
  SPELL_FAILED_NO_PLAYTIME = 0xA4, SPELL_FAILED_NOT_IN_BATTLEGROUND = 0xA5, SPELL_FAILED_ONLY_IN_ARENA = 0xA6, SPELL_FAILED_TARGET_LOCKED_TO_RAID_INSTANCE = 0xA7,
  SPELL_FAILED_UNKNOWN = 0xA8, SPELL_CAST_OK = 0xFF
}
 
enum  StealthType { STEALTH_GENERAL = 0, STEALTH_TRAP = 1, TOTAL_STEALTH_TYPES = 2 }
 
enum  InvisibilityType {
  INVISIBILITY_GENERAL = 0, INVISIBILITY_UNK1 = 1, INVISIBILITY_UNK2 = 2, INVISIBILITY_TRAP = 3,
  INVISIBILITY_UNK4 = 4, INVISIBILITY_UNK5 = 5, INVISIBILITY_DRUNK = 6, INVISIBILITY_UNK7 = 7,
  INVISIBILITY_UNK8 = 8, INVISIBILITY_UNK9 = 9, INVISIBILITY_UNK10 = 10, INVISIBILITY_UNK11 = 11,
  TOTAL_INVISIBILITY_TYPES = 12
}
 
enum  ServerSideVisibilityType { SERVERSIDE_VISIBILITY_GM = 0, SERVERSIDE_VISIBILITY_GHOST = 1, TOTAL_SERVERSIDE_VISIBILITY_TYPES = 2 }
 
enum  GhostVisibilityType { GHOST_VISIBILITY_ALIVE = 0x1, GHOST_VISIBILITY_GHOST = 0x2 }
 
enum  SpellRangeIndex { SPELL_RANGE_IDX_SELF_ONLY = 1, SPELL_RANGE_IDX_COMBAT = 2, SPELL_RANGE_IDX_ANYWHERE = 13 }
 indexes from SpellRange.dbc, listed only special and used in code More...
 
enum  GameobjectTypes {
  GAMEOBJECT_TYPE_DOOR = 0, GAMEOBJECT_TYPE_BUTTON = 1, GAMEOBJECT_TYPE_QUESTGIVER = 2, GAMEOBJECT_TYPE_CHEST = 3,
  GAMEOBJECT_TYPE_BINDER = 4, GAMEOBJECT_TYPE_GENERIC = 5, GAMEOBJECT_TYPE_TRAP = 6, GAMEOBJECT_TYPE_CHAIR = 7,
  GAMEOBJECT_TYPE_SPELL_FOCUS = 8, GAMEOBJECT_TYPE_TEXT = 9, GAMEOBJECT_TYPE_GOOBER = 10, GAMEOBJECT_TYPE_TRANSPORT = 11,
  GAMEOBJECT_TYPE_AREADAMAGE = 12, GAMEOBJECT_TYPE_CAMERA = 13, GAMEOBJECT_TYPE_MAP_OBJECT = 14, GAMEOBJECT_TYPE_MO_TRANSPORT = 15,
  GAMEOBJECT_TYPE_DUEL_ARBITER = 16, GAMEOBJECT_TYPE_FISHINGNODE = 17, GAMEOBJECT_TYPE_SUMMONING_RITUAL = 18, GAMEOBJECT_TYPE_MAILBOX = 19,
  GAMEOBJECT_TYPE_AUCTIONHOUSE = 20, GAMEOBJECT_TYPE_GUARDPOST = 21, GAMEOBJECT_TYPE_SPELLCASTER = 22, GAMEOBJECT_TYPE_MEETINGSTONE = 23,
  GAMEOBJECT_TYPE_FLAGSTAND = 24, GAMEOBJECT_TYPE_FISHINGHOLE = 25, GAMEOBJECT_TYPE_FLAGDROP = 26, GAMEOBJECT_TYPE_MINI_GAME = 27,
  GAMEOBJECT_TYPE_LOTTERY_KIOSK = 28, GAMEOBJECT_TYPE_CAPTURE_POINT = 29, GAMEOBJECT_TYPE_AURA_GENERATOR = 30, GAMEOBJECT_TYPE_DUNGEON_DIFFICULTY = 31,
  GAMEOBJECT_TYPE_BARBER_CHAIR = 32, GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING = 33, GAMEOBJECT_TYPE_GUILD_BANK = 34
}
 
enum  GameObjectFlags {
  GO_FLAG_IN_USE = 0x00000001, GO_FLAG_LOCKED = 0x00000002, GO_FLAG_INTERACT_COND = 0x00000004, GO_FLAG_TRANSPORT = 0x00000008,
  GO_FLAG_NOT_SELECTABLE = 0x00000010, GO_FLAG_NODESPAWN = 0x00000020, GO_FLAG_TRIGGERED = 0x00000040
}
 
enum  GameObjectDynamicLowFlags { GO_DYNFLAG_LO_ACTIVATE = 0x01, GO_DYNFLAG_LO_ANIMATE = 0x02, GO_DYNFLAG_LO_NO_INTERACT = 0x04, GO_DYNFLAG_LO_SPARKLE = 0x08 }
 
enum  TextEmotes {
  TEXT_EMOTE_AGREE = 1, TEXT_EMOTE_AMAZE = 2, TEXT_EMOTE_ANGRY = 3, TEXT_EMOTE_APOLOGIZE = 4,
  TEXT_EMOTE_APPLAUD = 5, TEXT_EMOTE_BASHFUL = 6, TEXT_EMOTE_BECKON = 7, TEXT_EMOTE_BEG = 8,
  TEXT_EMOTE_BITE = 9, TEXT_EMOTE_BLEED = 10, TEXT_EMOTE_BLINK = 11, TEXT_EMOTE_BLUSH = 12,
  TEXT_EMOTE_BONK = 13, TEXT_EMOTE_BORED = 14, TEXT_EMOTE_BOUNCE = 15, TEXT_EMOTE_BRB = 16,
  TEXT_EMOTE_BOW = 17, TEXT_EMOTE_BURP = 18, TEXT_EMOTE_BYE = 19, TEXT_EMOTE_CACKLE = 20,
  TEXT_EMOTE_CHEER = 21, TEXT_EMOTE_CHICKEN = 22, TEXT_EMOTE_CHUCKLE = 23, TEXT_EMOTE_CLAP = 24,
  TEXT_EMOTE_CONFUSED = 25, TEXT_EMOTE_CONGRATULATE = 26, TEXT_EMOTE_COUGH = 27, TEXT_EMOTE_COWER = 28,
  TEXT_EMOTE_CRACK = 29, TEXT_EMOTE_CRINGE = 30, TEXT_EMOTE_CRY = 31, TEXT_EMOTE_CURIOUS = 32,
  TEXT_EMOTE_CURTSEY = 33, TEXT_EMOTE_DANCE = 34, TEXT_EMOTE_DRINK = 35, TEXT_EMOTE_DROOL = 36,
  TEXT_EMOTE_EAT = 37, TEXT_EMOTE_EYE = 38, TEXT_EMOTE_FART = 39, TEXT_EMOTE_FIDGET = 40,
  TEXT_EMOTE_FLEX = 41, TEXT_EMOTE_FROWN = 42, TEXT_EMOTE_GASP = 43, TEXT_EMOTE_GAZE = 44,
  TEXT_EMOTE_GIGGLE = 45, TEXT_EMOTE_GLARE = 46, TEXT_EMOTE_GLOAT = 47, TEXT_EMOTE_GREET = 48,
  TEXT_EMOTE_GRIN = 49, TEXT_EMOTE_GROAN = 50, TEXT_EMOTE_GROVEL = 51, TEXT_EMOTE_GUFFAW = 52,
  TEXT_EMOTE_HAIL = 53, TEXT_EMOTE_HAPPY = 54, TEXT_EMOTE_HELLO = 55, TEXT_EMOTE_HUG = 56,
  TEXT_EMOTE_HUNGRY = 57, TEXT_EMOTE_KISS = 58, TEXT_EMOTE_KNEEL = 59, TEXT_EMOTE_LAUGH = 60,
  TEXT_EMOTE_LAYDOWN = 61, TEXT_EMOTE_MESSAGE = 62, TEXT_EMOTE_MOAN = 63, TEXT_EMOTE_MOON = 64,
  TEXT_EMOTE_MOURN = 65, TEXT_EMOTE_NO = 66, TEXT_EMOTE_NOD = 67, TEXT_EMOTE_NOSEPICK = 68,
  TEXT_EMOTE_PANIC = 69, TEXT_EMOTE_PEER = 70, TEXT_EMOTE_PLEAD = 71, TEXT_EMOTE_POINT = 72,
  TEXT_EMOTE_POKE = 73, TEXT_EMOTE_PRAY = 74, TEXT_EMOTE_ROAR = 75, TEXT_EMOTE_ROFL = 76,
  TEXT_EMOTE_RUDE = 77, TEXT_EMOTE_SALUTE = 78, TEXT_EMOTE_SCRATCH = 79, TEXT_EMOTE_SEXY = 80,
  TEXT_EMOTE_SHAKE = 81, TEXT_EMOTE_SHOUT = 82, TEXT_EMOTE_SHRUG = 83, TEXT_EMOTE_SHY = 84,
  TEXT_EMOTE_SIGH = 85, TEXT_EMOTE_SIT = 86, TEXT_EMOTE_SLEEP = 87, TEXT_EMOTE_SNARL = 88,
  TEXT_EMOTE_SPIT = 89, TEXT_EMOTE_STARE = 90, TEXT_EMOTE_SURPRISED = 91, TEXT_EMOTE_SURRENDER = 92,
  TEXT_EMOTE_TALK = 93, TEXT_EMOTE_TALKEX = 94, TEXT_EMOTE_TALKQ = 95, TEXT_EMOTE_TAP = 96,
  TEXT_EMOTE_THANK = 97, TEXT_EMOTE_THREATEN = 98, TEXT_EMOTE_TIRED = 99, TEXT_EMOTE_VICTORY = 100,
  TEXT_EMOTE_WAVE = 101, TEXT_EMOTE_WELCOME = 102, TEXT_EMOTE_WHINE = 103, TEXT_EMOTE_WHISTLE = 104,
  TEXT_EMOTE_WORK = 105, TEXT_EMOTE_YAWN = 106, TEXT_EMOTE_BOGGLE = 107, TEXT_EMOTE_CALM = 108,
  TEXT_EMOTE_COLD = 109, TEXT_EMOTE_COMFORT = 110, TEXT_EMOTE_CUDDLE = 111, TEXT_EMOTE_DUCK = 112,
  TEXT_EMOTE_INSULT = 113, TEXT_EMOTE_INTRODUCE = 114, TEXT_EMOTE_JK = 115, TEXT_EMOTE_LICK = 116,
  TEXT_EMOTE_LISTEN = 117, TEXT_EMOTE_LOST = 118, TEXT_EMOTE_MOCK = 119, TEXT_EMOTE_PONDER = 120,
  TEXT_EMOTE_POUNCE = 121, TEXT_EMOTE_PRAISE = 122, TEXT_EMOTE_PURR = 123, TEXT_EMOTE_PUZZLE = 124,
  TEXT_EMOTE_RAISE = 125, TEXT_EMOTE_READY = 126, TEXT_EMOTE_SHIMMY = 127, TEXT_EMOTE_SHIVER = 128,
  TEXT_EMOTE_SHOO = 129, TEXT_EMOTE_SLAP = 130, TEXT_EMOTE_SMIRK = 131, TEXT_EMOTE_SNIFF = 132,
  TEXT_EMOTE_SNUB = 133, TEXT_EMOTE_SOOTHE = 134, TEXT_EMOTE_STINK = 135, TEXT_EMOTE_TAUNT = 136,
  TEXT_EMOTE_TEASE = 137, TEXT_EMOTE_THIRSTY = 138, TEXT_EMOTE_VETO = 139, TEXT_EMOTE_SNICKER = 140,
  TEXT_EMOTE_STAND = 141, TEXT_EMOTE_TICKLE = 142, TEXT_EMOTE_VIOLIN = 143, TEXT_EMOTE_SMILE = 163,
  TEXT_EMOTE_RASP = 183, TEXT_EMOTE_PITY = 203, TEXT_EMOTE_GROWL = 204, TEXT_EMOTE_BARK = 205,
  TEXT_EMOTE_SCARED = 223, TEXT_EMOTE_FLOP = 224, TEXT_EMOTE_LOVE = 225, TEXT_EMOTE_MOO = 226,
  TEXT_EMOTE_OPENFIRE = 327, TEXT_EMOTE_FLIRT = 328, TEXT_EMOTE_JOKE = 329, TEXT_EMOTE_COMMEND = 243,
  TEXT_EMOTE_WINK = 363, TEXT_EMOTE_PAT = 364, TEXT_EMOTE_SERIOUS = 365, TEXT_EMOTE_MOUNTSPECIAL = 366,
  TEXT_EMOTE_GOODLUCK = 367, TEXT_EMOTE_BLAME = 368, TEXT_EMOTE_BLANK = 369, TEXT_EMOTE_BRANDISH = 370,
  TEXT_EMOTE_BREATH = 371, TEXT_EMOTE_DISAGREE = 372, TEXT_EMOTE_DOUBT = 373, TEXT_EMOTE_EMBARRASS = 374,
  TEXT_EMOTE_ENCOURAGE = 375, TEXT_EMOTE_ENEMY = 376, TEXT_EMOTE_EYEBROW = 377, TEXT_EMOTE_TOAST = 378
}
 
enum  Emote {
  EMOTE_ONESHOT_NONE = 0, EMOTE_ONESHOT_TALK = 1, EMOTE_ONESHOT_BOW = 2, EMOTE_ONESHOT_WAVE = 3,
  EMOTE_ONESHOT_CHEER = 4, EMOTE_ONESHOT_EXCLAMATION = 5, EMOTE_ONESHOT_QUESTION = 6, EMOTE_ONESHOT_EAT = 7,
  EMOTE_STATE_DANCE = 10, EMOTE_ONESHOT_LAUGH = 11, EMOTE_STATE_SLEEP = 12, EMOTE_STATE_SIT = 13,
  EMOTE_ONESHOT_RUDE = 14, EMOTE_ONESHOT_ROAR = 15, EMOTE_ONESHOT_KNEEL = 16, EMOTE_ONESHOT_KISS = 17,
  EMOTE_ONESHOT_CRY = 18, EMOTE_ONESHOT_CHICKEN = 19, EMOTE_ONESHOT_BEG = 20, EMOTE_ONESHOT_APPLAUD = 21,
  EMOTE_ONESHOT_SHOUT = 22, EMOTE_ONESHOT_FLEX = 23, EMOTE_ONESHOT_SHY = 24, EMOTE_ONESHOT_POINT = 25,
  EMOTE_STATE_STAND = 26, EMOTE_STATE_READYUNARMED = 27, EMOTE_STATE_WORK = 28, EMOTE_STATE_POINT = 29,
  EMOTE_STATE_NONE = 30, EMOTE_ONESHOT_WOUND = 33, EMOTE_ONESHOT_WOUNDCRITICAL = 34, EMOTE_ONESHOT_ATTACKUNARMED = 35,
  EMOTE_ONESHOT_ATTACK1H = 36, EMOTE_ONESHOT_ATTACK2HTIGHT = 37, EMOTE_ONESHOT_ATTACK2HLOOSE = 38, EMOTE_ONESHOT_PARRYUNARMED = 39,
  EMOTE_ONESHOT_PARRYSHIELD = 43, EMOTE_ONESHOT_READYUNARMED = 44, EMOTE_ONESHOT_READY1H = 45, EMOTE_ONESHOT_READYBOW = 48,
  EMOTE_ONESHOT_SPELLPRECAST = 50, EMOTE_ONESHOT_SPELLCAST = 51, EMOTE_ONESHOT_BATTLEROAR = 53, EMOTE_ONESHOT_SPECIALATTACK1H = 54,
  EMOTE_ONESHOT_KICK = 60, EMOTE_ONESHOT_ATTACKTHROWN = 61, EMOTE_STATE_STUN = 64, EMOTE_STATE_DEAD = 65,
  EMOTE_ONESHOT_SALUTE = 66, EMOTE_STATE_KNEEL = 68, EMOTE_STATE_USESTANDING = 69, EMOTE_ONESHOT_WAVE_NOSHEATHE = 70,
  EMOTE_ONESHOT_CHEER_NOSHEATHE = 71, EMOTE_ONESHOT_EAT_NOSHEATHE = 92, EMOTE_STATE_STUN_NOSHEATHE = 93, EMOTE_ONESHOT_DANCE = 94,
  EMOTE_ONESHOT_SALUTE_NOSHEATH = 113, EMOTE_STATE_USESTANDING_NOSHEATHE = 133, EMOTE_ONESHOT_LAUGH_NOSHEATHE = 153, EMOTE_STATE_WORK_NOSHEATHE = 173,
  EMOTE_STATE_SPELLPRECAST = 193, EMOTE_ONESHOT_READYRIFLE = 213, EMOTE_STATE_READYRIFLE = 214, EMOTE_STATE_WORK_NOSHEATHE_MINING = 233,
  EMOTE_STATE_WORK_NOSHEATHE_CHOPWOOD = 234, EMOTE_zzOLDONESHOT_LIFTOFF = 253, EMOTE_ONESHOT_LIFTOFF = 254, EMOTE_ONESHOT_YES = 273,
  EMOTE_ONESHOT_NO = 274, EMOTE_ONESHOT_TRAIN = 275, EMOTE_ONESHOT_LAND = 293, EMOTE_STATE_AT_EASE = 313,
  EMOTE_STATE_READY1H = 333, EMOTE_STATE_SPELLKNEELSTART = 353, EMOTE_STATE_SUBMERGED = 373, EMOTE_ONESHOT_SUBMERGE = 374,
  EMOTE_STATE_READY2H = 375, EMOTE_STATE_READYBOW = 376, EMOTE_ONESHOT_MOUNTSPECIAL = 377, EMOTE_STATE_TALK = 378,
  EMOTE_STATE_FISHING = 379, EMOTE_ONESHOT_FISHING = 380, EMOTE_ONESHOT_LOOT = 381, EMOTE_STATE_WHIRLWIND = 382,
  EMOTE_STATE_DROWNED = 383, EMOTE_STATE_HOLD_BOW = 384, EMOTE_STATE_HOLD_RIFLE = 385, EMOTE_STATE_HOLD_THROWN = 386,
  EMOTE_ONESHOT_DROWN = 387, EMOTE_ONESHOT_STOMP = 388, EMOTE_ONESHOT_ATTACKOFF = 389, EMOTE_ONESHOT_ATTACKOFFPIERCE = 390,
  EMOTE_STATE_ROAR = 391, EMOTE_STATE_LAUGH = 392, EMOTE_ONESHOT_CREATURE_SPECIAL = 393, EMOTE_ONESHOT_JUMPLANDRUN = 394,
  EMOTE_ONESHOT_JUMPEND = 395, EMOTE_ONESHOT_TALK_NOSHEATHE = 396, EMOTE_ONESHOT_POINT_NOSHEATHE = 397, EMOTE_STATE_CANNIBALIZE = 398,
  EMOTE_ONESHOT_JUMPSTART = 399, EMOTE_STATE_DANCESPECIAL = 400, EMOTE_ONESHOT_DANCESPECIAL = 401, EMOTE_ONESHOT_CUSTOMSPELL01 = 402,
  EMOTE_ONESHOT_CUSTOMSPELL02 = 403, EMOTE_ONESHOT_CUSTOMSPELL03 = 404, EMOTE_ONESHOT_CUSTOMSPELL04 = 405, EMOTE_ONESHOT_CUSTOMSPELL05 = 406,
  EMOTE_ONESHOT_CUSTOMSPELL06 = 407, EMOTE_ONESHOT_CUSTOMSPELL07 = 408, EMOTE_ONESHOT_CUSTOMSPELL08 = 409, EMOTE_ONESHOT_CUSTOMSPELL09 = 410,
  EMOTE_ONESHOT_CUSTOMSPELL10 = 411, EMOTE_STATE_EXCLAIM = 412, EMOTE_STATE_SIT_CHAIR_MED = 415, EMOTE_STATE_SPELLEFFECT_HOLD = 422,
  EMOTE_STATE_EAT_NO_SHEATHE = 423
}
 
enum  Anim {
  ANIM_STAND = 0x0, ANIM_DEATH = 0x1, ANIM_SPELL = 0x2, ANIM_STOP = 0x3,
  ANIM_WALK = 0x4, ANIM_RUN = 0x5, ANIM_DEAD = 0x6, ANIM_RISE = 0x7,
  ANIM_STANDWOUND = 0x8, ANIM_COMBATWOUND = 0x9, ANIM_COMBATCRITICAL = 0xA, ANIM_SHUFFLE_LEFT = 0xB,
  ANIM_SHUFFLE_RIGHT = 0xC, ANIM_WALK_BACKWARDS = 0xD, ANIM_STUN = 0xE, ANIM_HANDS_CLOSED = 0xF,
  ANIM_ATTACKUNARMED = 0x10, ANIM_ATTACK1H = 0x11, ANIM_ATTACK2HTIGHT = 0x12, ANIM_ATTACK2HLOOSE = 0x13,
  ANIM_PARRYUNARMED = 0x14, ANIM_PARRY1H = 0x15, ANIM_PARRY2HTIGHT = 0x16, ANIM_PARRY2HLOOSE = 0x17,
  ANIM_PARRYSHIELD = 0x18, ANIM_READYUNARMED = 0x19, ANIM_READY1H = 0x1A, ANIM_READY2HTIGHT = 0x1B,
  ANIM_READY2HLOOSE = 0x1C, ANIM_READYBOW = 0x1D, ANIM_DODGE = 0x1E, ANIM_SPELLPRECAST = 0x1F,
  ANIM_SPELLCAST = 0x20, ANIM_SPELLCASTAREA = 0x21, ANIM_NPCWELCOME = 0x22, ANIM_NPCGOODBYE = 0x23,
  ANIM_BLOCK = 0x24, ANIM_JUMPSTART = 0x25, ANIM_JUMP = 0x26, ANIM_JUMPEND = 0x27,
  ANIM_FALL = 0x28, ANIM_SWIMIDLE = 0x29, ANIM_SWIM = 0x2A, ANIM_SWIM_LEFT = 0x2B,
  ANIM_SWIM_RIGHT = 0x2C, ANIM_SWIM_BACKWARDS = 0x2D, ANIM_ATTACKBOW = 0x2E, ANIM_FIREBOW = 0x2F,
  ANIM_READYRIFLE = 0x30, ANIM_ATTACKRIFLE = 0x31, ANIM_LOOT = 0x32, ANIM_SPELL_PRECAST_DIRECTED = 0x33,
  ANIM_SPELL_PRECAST_OMNI = 0x34, ANIM_SPELL_CAST_DIRECTED = 0x35, ANIM_SPELL_CAST_OMNI = 0x36, ANIM_SPELL_BATTLEROAR = 0x37,
  ANIM_SPELL_READYABILITY = 0x38, ANIM_SPELL_SPECIAL1H = 0x39, ANIM_SPELL_SPECIAL2H = 0x3A, ANIM_SPELL_SHIELDBASH = 0x3B,
  ANIM_EMOTE_TALK = 0x3C, ANIM_EMOTE_EAT = 0x3D, ANIM_EMOTE_WORK = 0x3E, ANIM_EMOTE_USE_STANDING = 0x3F,
  ANIM_EMOTE_EXCLAMATION = 0x40, ANIM_EMOTE_QUESTION = 0x41, ANIM_EMOTE_BOW = 0x42, ANIM_EMOTE_WAVE = 0x43,
  ANIM_EMOTE_CHEER = 0x44, ANIM_EMOTE_DANCE = 0x45, ANIM_EMOTE_LAUGH = 0x46, ANIM_EMOTE_SLEEP = 0x47,
  ANIM_EMOTE_SIT_GROUND = 0x48, ANIM_EMOTE_RUDE = 0x49, ANIM_EMOTE_ROAR = 0x4A, ANIM_EMOTE_KNEEL = 0x4B,
  ANIM_EMOTE_KISS = 0x4C, ANIM_EMOTE_CRY = 0x4D, ANIM_EMOTE_CHICKEN = 0x4E, ANIM_EMOTE_BEG = 0x4F,
  ANIM_EMOTE_APPLAUD = 0x50, ANIM_EMOTE_SHOUT = 0x51, ANIM_EMOTE_FLEX = 0x52, ANIM_EMOTE_SHY = 0x53,
  ANIM_EMOTE_POINT = 0x54, ANIM_ATTACK1HPIERCE = 0x55, ANIM_ATTACK2HLOOSEPIERCE = 0x56, ANIM_ATTACKOFF = 0x57,
  ANIM_ATTACKOFFPIERCE = 0x58, ANIM_SHEATHE = 0x59, ANIM_HIPSHEATHE = 0x5A, ANIM_MOUNT = 0x5B,
  ANIM_RUN_LEANRIGHT = 0x5C, ANIM_RUN_LEANLEFT = 0x5D, ANIM_MOUNT_SPECIAL = 0x5E, ANIM_KICK = 0x5F,
  ANIM_SITDOWN = 0x60, ANIM_SITTING = 0x61, ANIM_SITUP = 0x62, ANIM_SLEEPDOWN = 0x63,
  ANIM_SLEEPING = 0x64, ANIM_SLEEPUP = 0x65, ANIM_SITCHAIRLOW = 0x66, ANIM_SITCHAIRMEDIUM = 0x67,
  ANIM_SITCHAIRHIGH = 0x68, ANIM_LOADBOW = 0x69, ANIM_LOADRIFLE = 0x6A, ANIM_ATTACKTHROWN = 0x6B,
  ANIM_READYTHROWN = 0x6C, ANIM_HOLDBOW = 0x6D, ANIM_HOLDRIFLE = 0x6E, ANIM_HOLDTHROWN = 0x6F,
  ANIM_LOADTHROWN = 0x70, ANIM_EMOTE_SALUTE = 0x71, ANIM_KNEELDOWN = 0x72, ANIM_KNEELING = 0x73,
  ANIM_KNEELUP = 0x74, ANIM_ATTACKUNARMEDOFF = 0x75, ANIM_SPECIALUNARMED = 0x76, ANIM_STEALTHWALK = 0x77,
  ANIM_STEALTHSTAND = 0x78, ANIM_KNOCKDOWN = 0x79, ANIM_EATING = 0x7A, ANIM_USESTANDINGLOOP = 0x7B,
  ANIM_CHANNELCASTDIRECTED = 0x7C, ANIM_CHANNELCASTOMNI = 0x7D, ANIM_WHIRLWIND = 0x7E, ANIM_BIRTH = 0x7F,
  ANIM_USESTANDINGSTART = 0x80, ANIM_USESTANDINGEND = 0x81, ANIM_HOWL = 0x82, ANIM_DROWN = 0x83,
  ANIM_DROWNED = 0x84, ANIM_FISHINGCAST = 0x85, ANIM_FISHINGLOOP = 0x86, ANIM_FLY = 0x87,
  ANIM_EMOTE_WORK_NO_SHEATHE = 0x88, ANIM_EMOTE_STUN_NO_SHEATHE = 0x89, ANIM_EMOTE_USE_STANDING_NO_SHEATHE = 0x8A, ANIM_SPELL_SLEEP_DOWN = 0x8B,
  ANIM_SPELL_KNEEL_START = 0x8C, ANIM_SPELL_KNEEL_LOOP = 0x8D, ANIM_SPELL_KNEEL_END = 0x8E, ANIM_SPRINT = 0x8F,
  ANIM_IN_FIGHT = 0x90, ANIM_GAMEOBJ_SPAWN = 145, ANIM_GAMEOBJ_CLOSE = 146, ANIM_GAMEOBJ_CLOSED = 147,
  ANIM_GAMEOBJ_OPEN = 148, ANIM_GAMEOBJ_OPENED = 149, ANIM_GAMEOBJ_DESTROY = 150, ANIM_GAMEOBJ_DESTROYED = 151,
  ANIM_GAMEOBJ_REBUILD = 152, ANIM_GAMEOBJ_CUSTOM0 = 153, ANIM_GAMEOBJ_CUSTOM1 = 154, ANIM_GAMEOBJ_CUSTOM2 = 155,
  ANIM_GAMEOBJ_CUSTOM3 = 156, ANIM_GAMEOBJ_DESPAWN = 157, ANIM_HOLD = 158, ANIM_DECAY = 159,
  ANIM_BOWPULL = 160, ANIM_BOWRELEASE = 161, ANIM_SHIPSTART = 162, ANIM_SHIPMOVEING = 163,
  ANIM_SHIPSTOP = 164, ANIM_GROUPARROW = 165, ANIM_ARROW = 166, ANIM_CORPSEARROW = 167,
  ANIM_GUIDEARROW = 168, ANIM_SWAY = 169, ANIM_DRUIDCATPOUNCE = 170, ANIM_DRUIDCATRIP = 171,
  ANIM_DRUIDCATRAKE = 172, ANIM_DRUIDCATRAVAGE = 173, ANIM_DRUIDCATCLAW = 174, ANIM_DRUIDCATCOWER = 175,
  ANIM_DRUIDBEARSWIPE = 176, ANIM_DRUIDBEARBITE = 177, ANIM_DRUIDBEARMAUL = 178, ANIM_DRUIDBEARBASH = 179,
  ANIM_DRAGONTAIL = 180, ANIM_DRAGONSTOMP = 181, ANIM_DRAGONSPIT = 182, ANIM_DRAGONSPITHOVER = 183,
  ANIM_DRAGONSPITFLY = 184, ANIM_EMOTEYES = 185, ANIM_EMOTENO = 186, ANIM_JUMPLANDRUN = 187,
  ANIM_LOOTHOLD = 188, ANIM_LOOTUP = 189, ANIM_STANDHIGH = 190, ANIM_IMPACT = 191,
  ANIM_LIFTOFF = 192, ANIM_HOVER = 193, ANIM_SUCCUBUSENTICE = 194, ANIM_EMOTETRAIN = 195,
  ANIM_EMOTEDEAD = 196, ANIM_EMOTEDANCEONCE = 197, ANIM_DEFLECT = 198, ANIM_EMOTEEATNOSHEATHE = 199,
  ANIM_LAND = 200, ANIM_SUBMERGE = 201, ANIM_SUBMERGED = 202, ANIM_CANNIBALIZE = 203,
  ANIM_ARROWBIRTH = 204, ANIM_GROURARROWBIRTH = 205, ANIM_CORPSEARROWBIRTH = 206, ANIM_GUIDEARROWBIRTH = 207,
  ANIM_EMOTETALKNOSHEATHE = 208, ANIM_EMOTEPOINTNOSHEATHE = 209, ANIM_EMOTESALUTENOSHEATHE = 210, ANIM_EMOTEDANCESPECIAL = 211,
  ANIM_MUTILATE = 212, ANIM_CUSTOMSPELL01 = 213, ANIM_CUSTOMSPELL02 = 214, ANIM_CUSTOMSPELL03 = 215,
  ANIM_CUSTOMSPELL04 = 216, ANIM_CUSTOMSPELL05 = 217, ANIM_CUSTOMSPELL06 = 218, ANIM_CUSTOMSPELL07 = 219,
  ANIM_CUSTOMSPELL08 = 220, ANIM_CUSTOMSPELL09 = 221, ANIM_CUSTOMSPELL10 = 222, ANIM_StealthRun = 223
}
 
enum  LockKeyType { LOCK_KEY_NONE = 0, LOCK_KEY_ITEM = 1, LOCK_KEY_SKILL = 2 }
 
enum  LockType {
  LOCKTYPE_PICKLOCK = 1, LOCKTYPE_HERBALISM = 2, LOCKTYPE_MINING = 3, LOCKTYPE_DISARM_TRAP = 4,
  LOCKTYPE_OPEN = 5, LOCKTYPE_TREASURE = 6, LOCKTYPE_CALCIFIED_ELVEN_GEMS = 7, LOCKTYPE_CLOSE = 8,
  LOCKTYPE_ARM_TRAP = 9, LOCKTYPE_QUICK_OPEN = 10, LOCKTYPE_QUICK_CLOSE = 11, LOCKTYPE_OPEN_TINKERING = 12,
  LOCKTYPE_OPEN_KNEELING = 13, LOCKTYPE_OPEN_ATTACKING = 14, LOCKTYPE_GAHZRIDIAN = 15, LOCKTYPE_BLASTING = 16,
  LOCKTYPE_SLOW_OPEN = 17, LOCKTYPE_SLOW_CLOSE = 18, LOCKTYPE_FISHING = 19
}
 
enum  TrainerType { TRAINER_TYPE_CLASS = 0, TRAINER_TYPE_MOUNTS = 1, TRAINER_TYPE_TRADESKILLS = 2, TRAINER_TYPE_PETS = 3 }
 
enum  CreatureType {
  CREATURE_TYPE_BEAST = 1, CREATURE_TYPE_DRAGONKIN = 2, CREATURE_TYPE_DEMON = 3, CREATURE_TYPE_ELEMENTAL = 4,
  CREATURE_TYPE_GIANT = 5, CREATURE_TYPE_UNDEAD = 6, CREATURE_TYPE_HUMANOID = 7, CREATURE_TYPE_CRITTER = 8,
  CREATURE_TYPE_MECHANICAL = 9, CREATURE_TYPE_NOT_SPECIFIED = 10, CREATURE_TYPE_TOTEM = 11, CREATURE_TYPE_NON_COMBAT_PET = 12,
  CREATURE_TYPE_GAS_CLOUD = 13
}
 
enum  CreatureFamily {
  CREATURE_FAMILY_NONE = 0, CREATURE_FAMILY_WOLF = 1, CREATURE_FAMILY_CAT = 2, CREATURE_FAMILY_SPIDER = 3,
  CREATURE_FAMILY_BEAR = 4, CREATURE_FAMILY_BOAR = 5, CREATURE_FAMILY_CROCOLISK = 6, CREATURE_FAMILY_CARRION_BIRD = 7,
  CREATURE_FAMILY_CRAB = 8, CREATURE_FAMILY_GORILLA = 9, CREATURE_FAMILY_RAPTOR = 11, CREATURE_FAMILY_TALLSTRIDER = 12,
  CREATURE_FAMILY_FELHUNTER = 15, CREATURE_FAMILY_VOIDWALKER = 16, CREATURE_FAMILY_SUCCUBUS = 17, CREATURE_FAMILY_DOOMGUARD = 19,
  CREATURE_FAMILY_SCORPID = 20, CREATURE_FAMILY_TURTLE = 21, CREATURE_FAMILY_IMP = 23, CREATURE_FAMILY_BAT = 24,
  CREATURE_FAMILY_HYENA = 25, CREATURE_FAMILY_OWL = 26, CREATURE_FAMILY_WIND_SERPENT = 27, CREATURE_FAMILY_REMOTE_CONTROL = 28,
  CREATURE_FAMILY_FELGUARD = 29, CREATURE_FAMILY_DRAGONHAWK = 30, CREATURE_FAMILY_RAVAGER = 31, CREATURE_FAMILY_WARP_STALKER = 32,
  CREATURE_FAMILY_SPOREBAT = 33, CREATURE_FAMILY_NETHER_RAY = 34, CREATURE_FAMILY_SERPENT = 35, CREATURE_FAMILY_SEA_LION = 36
}
 
enum  CreatureTypeFlags {
  CREATURE_TYPE_FLAG_TAMEABLE_PET = 0x00000001, CREATURE_TYPE_FLAG_GHOST_VISIBLE = 0x00000002, CREATURE_TYPE_FLAG_BOSS_MOB = 0x00000004, CREATURE_TYPE_FLAG_DO_NOT_PLAY_WOUND_PARRY_ANIMATION = 0x00000008,
  CREATURE_TYPE_FLAG_HIDE_FACTION_TOOLTIP = 0x00000010, CREATURE_TYPE_FLAG_UNK5 = 0x00000020, CREATURE_TYPE_FLAG_SPELL_ATTACKABLE = 0x00000040, CREATURE_TYPE_FLAG_CAN_INTERACT_WHILE_DEAD = 0x00000080,
  CREATURE_TYPE_FLAG_HERB_SKINNING_SKILL = 0x00000100, CREATURE_TYPE_FLAG_MINING_SKINNING_SKILL = 0x00000200, CREATURE_TYPE_FLAG_DO_NOT_LOG_DEATH = 0x00000400, CREATURE_TYPE_FLAG_MOUNTED_COMBAT_ALLOWED = 0x00000800,
  CREATURE_TYPE_FLAG_CAN_ASSIST = 0x00001000, CREATURE_TYPE_FLAG_IS_PET_BAR_USED = 0x00002000, CREATURE_TYPE_FLAG_MASK_UID = 0x00004000, CREATURE_TYPE_FLAG_ENGINEERING_SKINNING_SKILL = 0x00008000,
  CREATURE_TYPE_FLAG_EXOTIC_PET = 0x00010000
}
 
enum  CreatureEliteType {
  CREATURE_ELITE_NORMAL = 0, CREATURE_ELITE_ELITE = 1, CREATURE_ELITE_RAREELITE = 2, CREATURE_ELITE_WORLDBOSS = 3,
  CREATURE_ELITE_RARE = 4, CREATURE_UNKNOWN = 5
}
 
enum  QuestTypes {
  QUEST_TYPE_ELITE = 1, QUEST_TYPE_LIFE = 21, QUEST_TYPE_PVP = 41, QUEST_TYPE_RAID = 62,
  QUEST_TYPE_DUNGEON = 81, QUEST_TYPE_WORLD_EVENT = 82, QUEST_TYPE_LEGENDARY = 83, QUEST_TYPE_ESCORT = 84,
  QUEST_TYPE_HEROIC = 85
}
 
enum  QuestSort {
  QUEST_SORT_EPIC = 1, QUEST_SORT_WAILING_CAVERNS_OLD = 21, QUEST_SORT_SEASONAL = 22, QUEST_SORT_UNDERCITY_OLD = 23,
  QUEST_SORT_HERBALISM = 24, QUEST_SORT_SCARLET_MONASTERY_OLD = 25, QUEST_SORT_ULDAMN_OLD = 41, QUEST_SORT_WARLOCK = 61,
  QUEST_SORT_WARRIOR = 81, QUEST_SORT_SHAMAN = 82, QUEST_SORT_FISHING = 101, QUEST_SORT_BLACKSMITHING = 121,
  QUEST_SORT_PALADIN = 141, QUEST_SORT_MAGE = 161, QUEST_SORT_ROGUE = 162, QUEST_SORT_ALCHEMY = 181,
  QUEST_SORT_LEATHERWORKING = 182, QUEST_SORT_ENGINERING = 201, QUEST_SORT_TREASURE_MAP = 221, QUEST_SORT_SUNKEN_TEMPLE_OLD = 241,
  QUEST_SORT_HUNTER = 261, QUEST_SORT_PRIEST = 262, QUEST_SORT_DRUID = 263, QUEST_SORT_TAILORING = 264,
  QUEST_SORT_SPECIAL = 284, QUEST_SORT_COOKING = 304, QUEST_SORT_FIRST_AID = 324, QUEST_SORT_LEGENDARY = 344,
  QUEST_SORT_DARKMOON_FAIRE = 364, QUEST_SORT_AHN_QIRAJ_WAR = 365, QUEST_SORT_LUNAR_FESTIVAL = 366, QUEST_SORT_REPUTATION = 367,
  QUEST_SORT_INVASION = 368, QUEST_SORT_MIDSUMMER = 369, QUEST_SORT_BREWFEST = 370
}
 
enum  SkillType {
  SKILL_NONE = 0, SKILL_FROST = 6, SKILL_FIRE = 8, SKILL_ARMS = 26,
  SKILL_COMBAT = 38, SKILL_SUBTLETY = 39, SKILL_POISONS = 40, SKILL_SWORDS = 43,
  SKILL_AXES = 44, SKILL_BOWS = 45, SKILL_GUNS = 46, SKILL_BEAST_MASTERY = 50,
  SKILL_SURVIVAL = 51, SKILL_MACES = 54, SKILL_2H_SWORDS = 55, SKILL_HOLY = 56,
  SKILL_SHADOW = 78, SKILL_DEFENSE = 95, SKILL_LANG_COMMON = 98, SKILL_RACIAL_DWARVEN = 101,
  SKILL_LANG_ORCISH = 109, SKILL_LANG_DWARVEN = 111, SKILL_LANG_DARNASSIAN = 113, SKILL_LANG_TAURAHE = 115,
  SKILL_DUAL_WIELD = 118, SKILL_RACIAL_TAUREN = 124, SKILL_ORC_RACIAL = 125, SKILL_RACIAL_NIGHT_ELF = 126,
  SKILL_FIRST_AID = 129, SKILL_FERAL_COMBAT = 134, SKILL_STAVES = 136, SKILL_LANG_THALASSIAN = 137,
  SKILL_LANG_DRACONIC = 138, SKILL_LANG_DEMON_TONGUE = 139, SKILL_LANG_TITAN = 140, SKILL_LANG_OLD_TONGUE = 141,
  SKILL_SURVIVAL2 = 142, SKILL_RIDING_HORSE = 148, SKILL_RIDING_WOLF = 149, SKILL_RIDING_RAM = 152,
  SKILL_RIDING_TIGER = 150, SKILL_SWIMING = 155, SKILL_2H_MACES = 160, SKILL_UNARMED = 162,
  SKILL_MARKSMANSHIP = 163, SKILL_BLACKSMITHING = 164, SKILL_LEATHERWORKING = 165, SKILL_ALCHEMY = 171,
  SKILL_2H_AXES = 172, SKILL_DAGGERS = 173, SKILL_THROWN = 176, SKILL_HERBALISM = 182,
  SKILL_GENERIC_DND = 183, SKILL_RETRIBUTION = 184, SKILL_COOKING = 185, SKILL_MINING = 186,
  SKILL_PET_IMP = 188, SKILL_PET_FELHUNTER = 189, SKILL_TAILORING = 197, SKILL_ENGINEERING = 202,
  SKILL_PET_SPIDER = 203, SKILL_PET_VOIDWALKER = 204, SKILL_PET_SUCCUBUS = 205, SKILL_PET_INFERNAL = 206,
  SKILL_PET_DOOMGUARD = 207, SKILL_PET_WOLF = 208, SKILL_PET_CAT = 209, SKILL_PET_BEAR = 210,
  SKILL_PET_BOAR = 211, SKILL_PET_CROCILISK = 212, SKILL_PET_CARRION_BIRD = 213, SKILL_PET_CRAB = 214,
  SKILL_PET_GORILLA = 215, SKILL_PET_RAPTOR = 217, SKILL_PET_TALLSTRIDER = 218, SKILL_RACIAL_UNDED = 220,
  SKILL_WEAPON_TALENTS = 222, SKILL_CROSSBOWS = 226, SKILL_SPEARS = 227, SKILL_WANDS = 228,
  SKILL_POLEARMS = 229, SKILL_PET_SCORPID = 236, SKILL_ARCANE = 237, SKILL_OPEN_LOCK = 242,
  SKILL_PET_TURTLE = 251, SKILL_ASSASSINATION = 253, SKILL_FURY = 256, SKILL_PROTECTION = 257,
  SKILL_BEAST_TRAINING = 261, SKILL_PROTECTION2 = 267, SKILL_PET_TALENTS = 270, SKILL_PLATE_MAIL = 293,
  SKILL_LANG_GNOMISH = 313, SKILL_LANG_TROLL = 315, SKILL_ENCHANTING = 333, SKILL_DEMONOLOGY = 354,
  SKILL_AFFLICTION = 355, SKILL_FISHING = 356, SKILL_ENHANCEMENT = 373, SKILL_RESTORATION = 374,
  SKILL_ELEMENTAL_COMBAT = 375, SKILL_SKINNING = 393, SKILL_MAIL = 413, SKILL_LEATHER = 414,
  SKILL_CLOTH = 415, SKILL_SHIELD = 433, SKILL_FIST_WEAPONS = 473, SKILL_RIDING_RAPTOR = 533,
  SKILL_RIDING_MECHANOSTRIDER = 553, SKILL_RIDING_UNDEAD_HORSE = 554, SKILL_RESTORATION2 = 573, SKILL_BALANCE = 574,
  SKILL_DESTRUCTION = 593, SKILL_HOLY2 = 594, SKILL_DISCIPLINE = 613, SKILL_LOCKPICKING = 633,
  SKILL_PET_BAT = 653, SKILL_PET_HYENA = 654, SKILL_PET_OWL = 655, SKILL_PET_WIND_SERPENT = 656,
  SKILL_LANG_GUTTERSPEAK = 673, SKILL_RIDING_KODO = 713, SKILL_RACIAL_TROLL = 733, SKILL_RACIAL_GNOME = 753,
  SKILL_RACIAL_HUMAN = 754, SKILL_JEWELCRAFTING = 755, SKILL_RACIAL_BLOODELF = 756, SKILL_PET_EVENT_RC = 758,
  SKILL_LANG_DRAENEI = 759, SKILL_RACIAL_DRAENEI = 760, SKILL_PET_FELGUARD = 761, SKILL_RIDING = 762,
  SKILL_PET_DRAGONHAWK = 763, SKILL_PET_NETHER_RAY = 764, SKILL_PET_SPOREBAT = 765, SKILL_PET_WARP_STALKER = 766,
  SKILL_PET_RAVAGER = 767, SKILL_PET_SERPENT = 768, SKILL_INTERNAL = 769
}
 
enum  SkillCategory {
  SKILL_CATEGORY_ATTRIBUTES = 5, SKILL_CATEGORY_WEAPON = 6, SKILL_CATEGORY_CLASS = 7, SKILL_CATEGORY_ARMOR = 8,
  SKILL_CATEGORY_SECONDARY = 9, SKILL_CATEGORY_LANGUAGES = 10, SKILL_CATEGORY_PROFESSION = 11, SKILL_CATEGORY_NOT_DISPLAYED = 12
}
 
enum  TotemCategory {
  TC_SKINNING_SKIFE = 1, TC_EARTH_TOTEM = 2, TC_AIR_TOTEM = 3, TC_FIRE_TOTEM = 4,
  TC_WATER_TOTEM = 5, TC_COPPER_ROD = 6, TC_SILVER_ROD = 7, TC_GOLDEN_ROD = 8,
  TC_TRUESILVER_ROD = 9, TC_ARCANITE_ROD = 10, TC_MINING_PICK = 11, TC_PHILOSOPHERS_STONE = 12,
  TC_BLACKSMITH_HAMMER = 13, TC_ARCLIGHT_SPANNER = 14, TC_GYROMATIC_MA = 15, TC_MASTER_TOTEM = 21,
  TC_FEL_IRON_ROD = 41, TC_ADAMANTITE_ROD = 62, TC_ETERNIUM_ROD = 63
}
 
enum  UnitDynFlags {
  UNIT_DYNFLAG_NONE = 0x0000, UNIT_DYNFLAG_LOOTABLE = 0x0001, UNIT_DYNFLAG_TRACK_UNIT = 0x0002, UNIT_DYNFLAG_OTHER_TAGGER = 0x0004,
  UNIT_DYNFLAG_ROOTED = 0x0008, UNIT_DYNFLAG_SPECIALINFO = 0x0010, UNIT_DYNFLAG_DEAD = 0x0020, UNIT_DYNFLAG_REFER_A_FRIEND = 0x0040
}
 
enum  CorpseDynFlags { CORPSE_DYNFLAG_LOOTABLE = 0x0001 }
 
enum  {
  SPELL_DEATH_TOUCH = 5, SPELL_SUICIDE = 7, SPELL_LOGINEFFECT = 836, SPELL_OPEN_CHEST = 11437,
  SPELL_OPEN_SAFE = 11535, SPELL_OPEN_CAGE = 11792, SPELL_OPEN_BOOTY_CHEST = 5107, SPELL_OPEN_STRONGBOX = 8517,
  SPELL_SUMMON_FRIEND = 45927, SPELL_GENERIC_LEARN = 483, SPELL_PASSIVE_BATTLE_STANCE = 2457, SPELL_PASSIVE_RESURRECTION_SICKNESS = 15007,
  SPELL_WEAPON_SWITCH_COOLDOWN_1_5s = 6119, SPELL_WEAPON_SWITCH_COOLDOWN_1_0s = 6123, SPELL_DUEL_BEG = 7267, SPELL_INVISIBILITY = 37800,
  SPELL_INC_OUTDOOR_SPEED_30 = 1206
}
 
enum  WeatherType {
  WEATHER_TYPE_FINE = 0, WEATHER_TYPE_RAIN = 1, WEATHER_TYPE_SNOW = 2, WEATHER_TYPE_STORM = 3,
  WEATHER_TYPE_THUNDERS = 86, WEATHER_TYPE_BLACKRAIN = 90
}
 
enum  ChatMsg {
  CHAT_MSG_ADDON = 0xFFFFFFFF, CHAT_MSG_SYSTEM = 0x00, CHAT_MSG_SAY = 0x01, CHAT_MSG_PARTY = 0x02,
  CHAT_MSG_RAID = 0x03, CHAT_MSG_GUILD = 0x04, CHAT_MSG_OFFICER = 0x05, CHAT_MSG_YELL = 0x06,
  CHAT_MSG_WHISPER = 0x07, CHAT_MSG_WHISPER_INFORM = 0x08, CHAT_MSG_REPLY = 0x09, CHAT_MSG_EMOTE = 0x0A,
  CHAT_MSG_TEXT_EMOTE = 0x0B, CHAT_MSG_MONSTER_SAY = 0x0C, CHAT_MSG_MONSTER_PARTY = 0x0D, CHAT_MSG_MONSTER_YELL = 0x0E,
  CHAT_MSG_MONSTER_WHISPER = 0x0F, CHAT_MSG_MONSTER_EMOTE = 0x10, CHAT_MSG_CHANNEL = 0x11, CHAT_MSG_CHANNEL_JOIN = 0x12,
  CHAT_MSG_CHANNEL_LEAVE = 0x13, CHAT_MSG_CHANNEL_LIST = 0x14, CHAT_MSG_CHANNEL_NOTICE = 0x15, CHAT_MSG_CHANNEL_NOTICE_USER = 0x16,
  CHAT_MSG_AFK = 0x17, CHAT_MSG_DND = 0x18, CHAT_MSG_IGNORED = 0x19, CHAT_MSG_SKILL = 0x1A,
  CHAT_MSG_LOOT = 0x1B, CHAT_MSG_MONEY = 0x1C, CHAT_MSG_OPENING = 0x1D, CHAT_MSG_TRADESKILLS = 0x1E,
  CHAT_MSG_PET_INFO = 0x1F, CHAT_MSG_COMBAT_MISC_INFO = 0x20, CHAT_MSG_COMBAT_XP_GAIN = 0x21, CHAT_MSG_COMBAT_HONOR_GAIN = 0x22,
  CHAT_MSG_COMBAT_FACTION_CHANGE = 0x23, CHAT_MSG_BG_SYSTEM_NEUTRAL = 0x24, CHAT_MSG_BG_SYSTEM_ALLIANCE = 0x25, CHAT_MSG_BG_SYSTEM_HORDE = 0x26,
  CHAT_MSG_RAID_LEADER = 0x27, CHAT_MSG_RAID_WARNING = 0x28, CHAT_MSG_RAID_BOSS_WHISPER = 0x29, CHAT_MSG_RAID_BOSS_EMOTE = 0x2A,
  CHAT_MSG_FILTERED = 0x2B, CHAT_MSG_BATTLEGROUND = 0x2C, CHAT_MSG_BATTLEGROUND_LEADER = 0x2D, CHAT_MSG_RESTRICTED = 0x2E
}
 
enum  ChatLinkColors { CHAT_LINK_COLOR_TALENT = 0xff4e96f7, CHAT_LINK_COLOR_SPELL = 0xff71d5ff, CHAT_LINK_COLOR_ENCHANT = 0xffffd000 }
 
enum  PetDiet {
  PET_DIET_MEAT = 1, PET_DIET_FISH = 2, PET_DIET_CHEESE = 3, PET_DIET_BREAD = 4,
  PET_DIET_FUNGAS = 5, PET_DIET_FRUIT = 6, PET_DIET_RAW_MEAT = 7, PET_DIET_RAW_FISH = 8
}
 
enum  AiReaction {
  AI_REACTION_ALERT = 0, AI_REACTION_FRIENDLY = 1, AI_REACTION_HOSTILE = 2, AI_REACTION_AFRAID = 3,
  AI_REACTION_DESTROY = 4
}
 
enum  DiminishingReturnsType { DRTYPE_NONE = 0, DRTYPE_PLAYER = 1, DRTYPE_ALL = 2 }
 
enum  DiminishingGroup {
  DIMINISHING_NONE, DIMINISHING_BANISH, DIMINISHING_CONTROLLED_STUN, DIMINISHING_CONTROLLED_ROOT,
  DIMINISHING_BLIND_CYCLONE, DIMINISHING_DISARM, DIMINISHING_DISORIENT, DIMINISHING_ENTRAPMENT,
  DIMINISHING_FEAR, DIMINISHING_HORROR, DIMINISHING_MIND_CONTROL, DIMINISHING_ROOT,
  DIMINISHING_STUN, DIMINISHING_SILENCE, DIMINISHING_SLEEP, DIMINISHING_KIDNEYSHOT,
  DIMINISHING_WARLOCK_FEAR, DIMINISHING_FREEZE, DIMINISHING_LIMITONLY
}
 
enum  DungeonDifficulty { DIFFICULTY_NORMAL = 0, DIFFICULTY_HEROIC = 1, TOTAL_DIFFICULTIES }
 
enum  SummonCategory { SUMMON_CATEGORY_WILD = 0, SUMMON_CATEGORY_ALLY = 1, SUMMON_CATEGORY_PET = 2, SUMMON_CATEGORY_PUPPET = 3 }
 
enum  SummonType {
  SUMMON_TYPE_NONE = 0, SUMMON_TYPE_PET = 1, SUMMON_TYPE_GUARDIAN = 2, SUMMON_TYPE_MINION = 3,
  SUMMON_TYPE_TOTEM = 4, SUMMON_TYPE_MINIPET = 5, SUMMON_TYPE_GUARDIAN2 = 6, SUMMON_TYPE_WILD2 = 7,
  SUMMON_TYPE_WILD3 = 8, SUMMON_TYPE_OBJECT = 9
}
 
enum  EventId { EVENT_SPELLCLICK = 1001, EVENT_CHARGE = 1003 }
 
enum  ResponseCodes {
  RESPONSE_SUCCESS = 0x00, RESPONSE_FAILURE = 0x01, RESPONSE_CANCELLED = 0x02, RESPONSE_DISCONNECTED = 0x03,
  RESPONSE_FAILED_TO_CONNECT = 0x04, RESPONSE_CONNECTED = 0x05, RESPONSE_VERSION_MISMATCH = 0x06, CSTATUS_CONNECTING = 0x07,
  CSTATUS_NEGOTIATING_SECURITY = 0x08, CSTATUS_NEGOTIATION_COMPLETE = 0x09, CSTATUS_NEGOTIATION_FAILED = 0x0A, CSTATUS_AUTHENTICATING = 0x0B,
  AUTH_OK = 0x0C, AUTH_FAILED = 0x0D, AUTH_REJECT = 0x0E, AUTH_BAD_SERVER_PROOF = 0x0F,
  AUTH_UNAVAILABLE = 0x10, AUTH_SYSTEM_ERROR = 0x11, AUTH_BILLING_ERROR = 0x12, AUTH_BILLING_EXPIRED = 0x13,
  AUTH_VERSION_MISMATCH = 0x14, AUTH_UNKNOWN_ACCOUNT = 0x15, AUTH_INCORRECT_PASSWORD = 0x16, AUTH_SESSION_EXPIRED = 0x17,
  AUTH_SERVER_SHUTTING_DOWN = 0x18, AUTH_ALREADY_LOGGING_IN = 0x19, AUTH_LOGIN_SERVER_NOT_FOUND = 0x1A, AUTH_WAIT_QUEUE = 0x1B,
  AUTH_BANNED = 0x1C, AUTH_ALREADY_ONLINE = 0x1D, AUTH_NO_TIME = 0x1E, AUTH_DB_BUSY = 0x1F,
  AUTH_SUSPENDED = 0x20, AUTH_PARENTAL_CONTROL = 0x21, AUTH_LOCKED_ENFORCED = 0x22, REALM_LIST_IN_PROGRESS = 0x23,
  REALM_LIST_SUCCESS = 0x24, REALM_LIST_FAILED = 0x25, REALM_LIST_INVALID = 0x26, REALM_LIST_REALM_NOT_FOUND = 0x27,
  ACCOUNT_CREATE_IN_PROGRESS = 0x28, ACCOUNT_CREATE_SUCCESS = 0x29, ACCOUNT_CREATE_FAILED = 0x2A, CHAR_LIST_RETRIEVING = 0x2B,
  CHAR_LIST_RETRIEVED = 0x2C, CHAR_LIST_FAILED = 0x2D, CHAR_CREATE_IN_PROGRESS = 0x2E, CHAR_CREATE_SUCCESS = 0x2F,
  CHAR_CREATE_ERROR = 0x30, CHAR_CREATE_FAILED = 0x31, CHAR_CREATE_NAME_IN_USE = 0x32, CHAR_CREATE_DISABLED = 0x33,
  CHAR_CREATE_PVP_TEAMS_VIOLATION = 0x34, CHAR_CREATE_SERVER_LIMIT = 0x35, CHAR_CREATE_ACCOUNT_LIMIT = 0x36, CHAR_CREATE_SERVER_QUEUE = 0x37,
  CHAR_CREATE_ONLY_EXISTING = 0x38, CHAR_CREATE_EXPANSION = 0x39, CHAR_DELETE_IN_PROGRESS = 0x3A, CHAR_DELETE_SUCCESS = 0x3B,
  CHAR_DELETE_FAILED = 0x3C, CHAR_DELETE_FAILED_LOCKED_FOR_TRANSFER = 0x3D, CHAR_DELETE_FAILED_GUILD_LEADER = 0x3E, CHAR_DELETE_FAILED_ARENA_CAPTAIN = 0x3F,
  CHAR_LOGIN_IN_PROGRESS = 0x40, CHAR_LOGIN_SUCCESS = 0x41, CHAR_LOGIN_NO_WORLD = 0x42, CHAR_LOGIN_DUPLICATE_CHARACTER = 0x43,
  CHAR_LOGIN_NO_INSTANCES = 0x44, CHAR_LOGIN_FAILED = 0x45, CHAR_LOGIN_DISABLED = 0x46, CHAR_LOGIN_NO_CHARACTER = 0x47,
  CHAR_LOGIN_LOCKED_FOR_TRANSFER = 0x48, CHAR_LOGIN_LOCKED_BY_BILLING = 0x49, CHAR_NAME_SUCCESS = 0x4A, CHAR_NAME_FAILURE = 0x4B,
  CHAR_NAME_NO_NAME = 0x4C, CHAR_NAME_TOO_SHORT = 0x4D, CHAR_NAME_TOO_LONG = 0x4E, CHAR_NAME_INVALID_CHARACTER = 0x4F,
  CHAR_NAME_MIXED_LANGUAGES = 0x50, CHAR_NAME_PROFANE = 0x51, CHAR_NAME_RESERVED = 0x52, CHAR_NAME_INVALID_APOSTROPHE = 0x53,
  CHAR_NAME_MULTIPLE_APOSTROPHES = 0x54, CHAR_NAME_THREE_CONSECUTIVE = 0x55, CHAR_NAME_INVALID_SPACE = 0x56, CHAR_NAME_CONSECUTIVE_SPACES = 0x57,
  CHAR_NAME_RUSSIAN_CONSECUTIVE_SILENT_CHARACTERS = 0x58, CHAR_NAME_RUSSIAN_SILENT_CHARACTER_AT_BEGINNING_OR_END = 0x59, CHAR_NAME_DECLENSION_DOESNT_MATCH_BASE_NAME = 0x5A
}
 
enum  BanMode { BAN_ACCOUNT, BAN_CHARACTER, BAN_IP }
 
enum  BanReturn { BAN_SUCCESS, BAN_SYNTAX_ERROR, BAN_NOTFOUND }
 
enum  MailResponseType {
  MAIL_SEND = 0, MAIL_MONEY_TAKEN = 1, MAIL_ITEM_TAKEN = 2, MAIL_RETURNED_TO_SENDER = 3,
  MAIL_DELETED = 4, MAIL_MADE_PERMANENT = 5
}
 
enum  MailResponseResult {
  MAIL_OK = 0, MAIL_ERR_EQUIP_ERROR = 1, MAIL_ERR_CANNOT_SEND_TO_SELF = 2, MAIL_ERR_NOT_ENOUGH_MONEY = 3,
  MAIL_ERR_RECIPIENT_NOT_FOUND = 4, MAIL_ERR_NOT_YOUR_TEAM = 5, MAIL_ERR_INTERNAL_ERROR = 6, MAIL_ERR_DISABLED_FOR_TRIAL_ACC = 14,
  MAIL_ERR_RECIPIENT_CAP_REACHED = 15, MAIL_ERR_CANT_SEND_WRAPPED_COD = 16, MAIL_ERR_MAIL_AND_CHAT_SUSPENDED = 17, MAIL_ERR_TOO_MANY_ATTACHMENTS = 18,
  MAIL_ERR_MAIL_ATTACHMENT_INVALID = 19
}
 
enum  DungeonStatusFlag { DUNGEON_STATUSFLAG_NORMAL = 0x01, DUNGEON_STATUSFLAG_HEROIC = 0x02, RAID_STATUSFLAG_10MAN = 0x04, RAID_STATUSFLAG_25MAN = 0x08 }
 

Functions

SpellSchools GetFirstSchoolInMask (SpellSchoolMask mask)
 
uint8 ClassByQuestSort (int32 QuestSort)
 
uint32 SkillByQuestSort (int32 QuestSort)
 

Variables

const uint32 ItemQualityColors [MAX_ITEM_QUALITY]
 
uint32 const CREATURE_TYPEMASK_HUMANOID_OR_UNDEAD = (1 << (CREATURE_TYPE_HUMANOID - 1)) | (1 << (CREATURE_TYPE_UNDEAD - 1))
 

Macro Definition Documentation

#define CHAIN_SPELL_JUMP_RADIUS   10

Definition at line 2542 of file SharedDefines.h.

Referenced by Spell::SearchChainTarget().

#define CLASSMASK_ALL_CREATURES   ((1<<(UNIT_CLASS_WARRIOR-1)) | (1<<(UNIT_CLASS_PALADIN-1)) | (1<<(UNIT_CLASS_ROGUE-1)) | (1<<(UNIT_CLASS_MAGE-1)))
#define DEFAULT_MAX_CREATURE_LEVEL   75

Definition at line 110 of file SharedDefines.h.

Referenced by ObjectMgr::LoadCreatureClassLevelStats().

#define DISPEL_ALL_MASK   ((1<<DISPEL_MAGIC) | (1<<DISPEL_CURSE) | (1<<DISPEL_DISEASE) | (1<<DISPEL_POISON))

Definition at line 1006 of file SharedDefines.h.

Referenced by GetDispelMask().

#define EFFECT_ALL   255

Definition at line 33 of file SharedDefines.h.

#define EFFECT_FIRST_FOUND   254

Definition at line 32 of file SharedDefines.h.

#define EXPECTED_OREGONCORE_CLIENT_BUILD   {8606, 0}

Definition at line 2793 of file SharedDefines.h.

Referenced by AcceptableClientBuildsListStr(), and IsAcceptableClientBuild().

#define GAMEOBJECT_FISHINGNODE_ENTRY   35591

Definition at line 1452 of file SharedDefines.h.

#define GUILD_BANK_MAX_LOGS   24

Definition at line 2547 of file SharedDefines.h.

Referenced by Guild::LoadGuildBankEventLogFromDB(), and Guild::LogBankEvent().

#define GUILD_EVENTLOG_MAX_ENTRIES   100

Definition at line 2548 of file SharedDefines.h.

Referenced by Guild::LoadGuildEventLogFromDB(), and Guild::LogGuildEvent().

#define GUILD_MAX_RANKS   10

Definition at line 2549 of file SharedDefines.h.

Referenced by Guild::CreateRank(), and WorldSession::HandleGuildAddRankOpcode().

#define LANGUAGES_COUNT   19

Definition at line 736 of file SharedDefines.h.

Referenced by GetLanguageDescByID(), and ChatHandler::HandleLearnAllLangCommand().

#define MAX_CHAT_MSG_TYPE   0x2F
#define MAX_CREATURE_CLASS   3

Definition at line 111 of file SharedDefines.h.

#define MAX_EXPANSION   1

Definition at line 112 of file SharedDefines.h.

Referenced by ObjectMgr::LoadCreatureClassLevelStats().

#define MAX_GAMEOBJECT_TYPE   35

Definition at line 1450 of file SharedDefines.h.

Referenced by GameObject::Create().

#define MAX_ITEM_QUALITY   7

Definition at line 244 of file SharedDefines.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_PET_DIET   9

Definition at line 2537 of file SharedDefines.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_RACES   12
#define MAX_SHEATHETYPE   8

Definition at line 687 of file SharedDefines.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_SKILL_TYPE   770

Definition at line 2349 of file SharedDefines.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_SPELL_IMMUNITY   7

Definition at line 1023 of file SharedDefines.h.

Referenced by Unit::Unit().

#define MAX_SPILLOVER_FACTIONS   4
#define MAX_TRAINER_TYPE   4

Definition at line 2037 of file SharedDefines.h.

Referenced by ObjectMgr::LoadCreatureTemplates().

#define MAX_WEATHER_TYPE   4

Definition at line 2461 of file SharedDefines.h.

Referenced by ObjectMgr::LoadWeatherZoneChances().

#define MIN_REPUTATION_RANK   (REP_HATED)
#define SPELL_SCHOOL_MASK_MAGIC
#define TOTAL_SPELL_TARGETS   94

Definition at line 1116 of file SharedDefines.h.

Referenced by IsBinarySpell(), and SpellMgr::SpellMgr().

Enumeration Type Documentation

anonymous enum
Enumerator
SPELL_DEATH_TOUCH 
SPELL_SUICIDE 
SPELL_LOGINEFFECT 
SPELL_OPEN_CHEST 
SPELL_OPEN_SAFE 
SPELL_OPEN_CAGE 
SPELL_OPEN_BOOTY_CHEST 
SPELL_OPEN_STRONGBOX 
SPELL_SUMMON_FRIEND 
SPELL_GENERIC_LEARN 
SPELL_PASSIVE_BATTLE_STANCE 
SPELL_PASSIVE_RESURRECTION_SICKNESS 
SPELL_WEAPON_SWITCH_COOLDOWN_1_5s 
SPELL_WEAPON_SWITCH_COOLDOWN_1_0s 
SPELL_DUEL_BEG 
SPELL_INVISIBILITY 
SPELL_INC_OUTDOOR_SPEED_30 

Definition at line 2430 of file SharedDefines.h.

2431 {
2432  SPELL_DEATH_TOUCH = 5, // kill target
2433  SPELL_SUICIDE = 7, // kill caster
2434  SPELL_LOGINEFFECT = 836,
2435  SPELL_OPEN_CHEST = 11437,
2436  SPELL_OPEN_SAFE = 11535,
2437  SPELL_OPEN_CAGE = 11792,
2438  SPELL_OPEN_BOOTY_CHEST = 5107,
2439  SPELL_OPEN_STRONGBOX = 8517,
2440  SPELL_SUMMON_FRIEND = 45927,
2441  SPELL_GENERIC_LEARN = 483,
2446  SPELL_DUEL_BEG = 7267, // beg
2447  SPELL_INVISIBILITY = 37800,
2449 };
enum AiReaction
Enumerator
AI_REACTION_ALERT 
AI_REACTION_FRIENDLY 
AI_REACTION_HOSTILE 
AI_REACTION_AFRAID 
AI_REACTION_DESTROY 

Definition at line 2551 of file SharedDefines.h.

2552 {
2553  AI_REACTION_ALERT = 0, // pre-aggro (used in client packet handler)
2554  AI_REACTION_FRIENDLY = 1, // (NOT used in client packet handler)
2555  AI_REACTION_HOSTILE = 2, // sent on every attack, triggers aggro sound (used in client packet handler)
2556  AI_REACTION_AFRAID = 3, // seen for polymorph (when AI not in control of self?) (NOT used in client packet handler)
2557  AI_REACTION_DESTROY = 4 // used on object destroy (NOT used in client packet handler)
2558 };
enum Anim
Enumerator
ANIM_STAND 
ANIM_DEATH 
ANIM_SPELL 
ANIM_STOP 
ANIM_WALK 
ANIM_RUN 
ANIM_DEAD 
ANIM_RISE 
ANIM_STANDWOUND 
ANIM_COMBATWOUND 
ANIM_COMBATCRITICAL 
ANIM_SHUFFLE_LEFT 
ANIM_SHUFFLE_RIGHT 
ANIM_WALK_BACKWARDS 
ANIM_STUN 
ANIM_HANDS_CLOSED 
ANIM_ATTACKUNARMED 
ANIM_ATTACK1H 
ANIM_ATTACK2HTIGHT 
ANIM_ATTACK2HLOOSE 
ANIM_PARRYUNARMED 
ANIM_PARRY1H 
ANIM_PARRY2HTIGHT 
ANIM_PARRY2HLOOSE 
ANIM_PARRYSHIELD 
ANIM_READYUNARMED 
ANIM_READY1H 
ANIM_READY2HTIGHT 
ANIM_READY2HLOOSE 
ANIM_READYBOW 
ANIM_DODGE 
ANIM_SPELLPRECAST 
ANIM_SPELLCAST 
ANIM_SPELLCASTAREA 
ANIM_NPCWELCOME 
ANIM_NPCGOODBYE 
ANIM_BLOCK 
ANIM_JUMPSTART 
ANIM_JUMP 
ANIM_JUMPEND 
ANIM_FALL 
ANIM_SWIMIDLE 
ANIM_SWIM 
ANIM_SWIM_LEFT 
ANIM_SWIM_RIGHT 
ANIM_SWIM_BACKWARDS 
ANIM_ATTACKBOW 
ANIM_FIREBOW 
ANIM_READYRIFLE 
ANIM_ATTACKRIFLE 
ANIM_LOOT 
ANIM_SPELL_PRECAST_DIRECTED 
ANIM_SPELL_PRECAST_OMNI 
ANIM_SPELL_CAST_DIRECTED 
ANIM_SPELL_CAST_OMNI 
ANIM_SPELL_BATTLEROAR 
ANIM_SPELL_READYABILITY 
ANIM_SPELL_SPECIAL1H 
ANIM_SPELL_SPECIAL2H 
ANIM_SPELL_SHIELDBASH 
ANIM_EMOTE_TALK 
ANIM_EMOTE_EAT 
ANIM_EMOTE_WORK 
ANIM_EMOTE_USE_STANDING 
ANIM_EMOTE_EXCLAMATION 
ANIM_EMOTE_QUESTION 
ANIM_EMOTE_BOW 
ANIM_EMOTE_WAVE 
ANIM_EMOTE_CHEER 
ANIM_EMOTE_DANCE 
ANIM_EMOTE_LAUGH 
ANIM_EMOTE_SLEEP 
ANIM_EMOTE_SIT_GROUND 
ANIM_EMOTE_RUDE 
ANIM_EMOTE_ROAR 
ANIM_EMOTE_KNEEL 
ANIM_EMOTE_KISS 
ANIM_EMOTE_CRY 
ANIM_EMOTE_CHICKEN 
ANIM_EMOTE_BEG 
ANIM_EMOTE_APPLAUD 
ANIM_EMOTE_SHOUT 
ANIM_EMOTE_FLEX 
ANIM_EMOTE_SHY 
ANIM_EMOTE_POINT 
ANIM_ATTACK1HPIERCE 
ANIM_ATTACK2HLOOSEPIERCE 
ANIM_ATTACKOFF 
ANIM_ATTACKOFFPIERCE 
ANIM_SHEATHE 
ANIM_HIPSHEATHE 
ANIM_MOUNT 
ANIM_RUN_LEANRIGHT 
ANIM_RUN_LEANLEFT 
ANIM_MOUNT_SPECIAL 
ANIM_KICK 
ANIM_SITDOWN 
ANIM_SITTING 
ANIM_SITUP 
ANIM_SLEEPDOWN 
ANIM_SLEEPING 
ANIM_SLEEPUP 
ANIM_SITCHAIRLOW 
ANIM_SITCHAIRMEDIUM 
ANIM_SITCHAIRHIGH 
ANIM_LOADBOW 
ANIM_LOADRIFLE 
ANIM_ATTACKTHROWN 
ANIM_READYTHROWN 
ANIM_HOLDBOW 
ANIM_HOLDRIFLE 
ANIM_HOLDTHROWN 
ANIM_LOADTHROWN 
ANIM_EMOTE_SALUTE 
ANIM_KNEELDOWN 
ANIM_KNEELING 
ANIM_KNEELUP 
ANIM_ATTACKUNARMEDOFF 
ANIM_SPECIALUNARMED 
ANIM_STEALTHWALK 
ANIM_STEALTHSTAND 
ANIM_KNOCKDOWN 
ANIM_EATING 
ANIM_USESTANDINGLOOP 
ANIM_CHANNELCASTDIRECTED 
ANIM_CHANNELCASTOMNI 
ANIM_WHIRLWIND 
ANIM_BIRTH 
ANIM_USESTANDINGSTART 
ANIM_USESTANDINGEND 
ANIM_HOWL 
ANIM_DROWN 
ANIM_DROWNED 
ANIM_FISHINGCAST 
ANIM_FISHINGLOOP 
ANIM_FLY 
ANIM_EMOTE_WORK_NO_SHEATHE 
ANIM_EMOTE_STUN_NO_SHEATHE 
ANIM_EMOTE_USE_STANDING_NO_SHEATHE 
ANIM_SPELL_SLEEP_DOWN 
ANIM_SPELL_KNEEL_START 
ANIM_SPELL_KNEEL_LOOP 
ANIM_SPELL_KNEEL_END 
ANIM_SPRINT 
ANIM_IN_FIGHT 
ANIM_GAMEOBJ_SPAWN 
ANIM_GAMEOBJ_CLOSE 
ANIM_GAMEOBJ_CLOSED 
ANIM_GAMEOBJ_OPEN 
ANIM_GAMEOBJ_OPENED 
ANIM_GAMEOBJ_DESTROY 
ANIM_GAMEOBJ_DESTROYED 
ANIM_GAMEOBJ_REBUILD 
ANIM_GAMEOBJ_CUSTOM0 
ANIM_GAMEOBJ_CUSTOM1 
ANIM_GAMEOBJ_CUSTOM2 
ANIM_GAMEOBJ_CUSTOM3 
ANIM_GAMEOBJ_DESPAWN 
ANIM_HOLD 
ANIM_DECAY 
ANIM_BOWPULL 
ANIM_BOWRELEASE 
ANIM_SHIPSTART 
ANIM_SHIPMOVEING 
ANIM_SHIPSTOP 
ANIM_GROUPARROW 
ANIM_ARROW 
ANIM_CORPSEARROW 
ANIM_GUIDEARROW 
ANIM_SWAY 
ANIM_DRUIDCATPOUNCE 
ANIM_DRUIDCATRIP 
ANIM_DRUIDCATRAKE 
ANIM_DRUIDCATRAVAGE 
ANIM_DRUIDCATCLAW 
ANIM_DRUIDCATCOWER 
ANIM_DRUIDBEARSWIPE 
ANIM_DRUIDBEARBITE 
ANIM_DRUIDBEARMAUL 
ANIM_DRUIDBEARBASH 
ANIM_DRAGONTAIL 
ANIM_DRAGONSTOMP 
ANIM_DRAGONSPIT 
ANIM_DRAGONSPITHOVER 
ANIM_DRAGONSPITFLY 
ANIM_EMOTEYES 
ANIM_EMOTENO 
ANIM_JUMPLANDRUN 
ANIM_LOOTHOLD 
ANIM_LOOTUP 
ANIM_STANDHIGH 
ANIM_IMPACT 
ANIM_LIFTOFF 
ANIM_HOVER 
ANIM_SUCCUBUSENTICE 
ANIM_EMOTETRAIN 
ANIM_EMOTEDEAD 
ANIM_EMOTEDANCEONCE 
ANIM_DEFLECT 
ANIM_EMOTEEATNOSHEATHE 
ANIM_LAND 
ANIM_SUBMERGE 
ANIM_SUBMERGED 
ANIM_CANNIBALIZE 
ANIM_ARROWBIRTH 
ANIM_GROURARROWBIRTH 
ANIM_CORPSEARROWBIRTH 
ANIM_GUIDEARROWBIRTH 
ANIM_EMOTETALKNOSHEATHE 
ANIM_EMOTEPOINTNOSHEATHE 
ANIM_EMOTESALUTENOSHEATHE 
ANIM_EMOTEDANCESPECIAL 
ANIM_MUTILATE 
ANIM_CUSTOMSPELL01 
ANIM_CUSTOMSPELL02 
ANIM_CUSTOMSPELL03 
ANIM_CUSTOMSPELL04 
ANIM_CUSTOMSPELL05 
ANIM_CUSTOMSPELL06 
ANIM_CUSTOMSPELL07 
ANIM_CUSTOMSPELL08 
ANIM_CUSTOMSPELL09 
ANIM_CUSTOMSPELL10 
ANIM_StealthRun 

Definition at line 1770 of file SharedDefines.h.

1771 {
1772  ANIM_STAND = 0x0,
1773  ANIM_DEATH = 0x1,
1774  ANIM_SPELL = 0x2,
1775  ANIM_STOP = 0x3,
1776  ANIM_WALK = 0x4,
1777  ANIM_RUN = 0x5,
1778  ANIM_DEAD = 0x6,
1779  ANIM_RISE = 0x7,
1780  ANIM_STANDWOUND = 0x8,
1781  ANIM_COMBATWOUND = 0x9,
1782  ANIM_COMBATCRITICAL = 0xA,
1783  ANIM_SHUFFLE_LEFT = 0xB,
1784  ANIM_SHUFFLE_RIGHT = 0xC,
1785  ANIM_WALK_BACKWARDS = 0xD,
1786  ANIM_STUN = 0xE,
1787  ANIM_HANDS_CLOSED = 0xF,
1788  ANIM_ATTACKUNARMED = 0x10,
1789  ANIM_ATTACK1H = 0x11,
1790  ANIM_ATTACK2HTIGHT = 0x12,
1791  ANIM_ATTACK2HLOOSE = 0x13,
1792  ANIM_PARRYUNARMED = 0x14,
1793  ANIM_PARRY1H = 0x15,
1794  ANIM_PARRY2HTIGHT = 0x16,
1795  ANIM_PARRY2HLOOSE = 0x17,
1796  ANIM_PARRYSHIELD = 0x18,
1797  ANIM_READYUNARMED = 0x19,
1798  ANIM_READY1H = 0x1A,
1799  ANIM_READY2HTIGHT = 0x1B,
1800  ANIM_READY2HLOOSE = 0x1C,
1801  ANIM_READYBOW = 0x1D,
1802  ANIM_DODGE = 0x1E,
1803  ANIM_SPELLPRECAST = 0x1F,
1804  ANIM_SPELLCAST = 0x20,
1805  ANIM_SPELLCASTAREA = 0x21,
1806  ANIM_NPCWELCOME = 0x22,
1807  ANIM_NPCGOODBYE = 0x23,
1808  ANIM_BLOCK = 0x24,
1809  ANIM_JUMPSTART = 0x25,
1810  ANIM_JUMP = 0x26,
1811  ANIM_JUMPEND = 0x27,
1812  ANIM_FALL = 0x28,
1813  ANIM_SWIMIDLE = 0x29,
1814  ANIM_SWIM = 0x2A,
1815  ANIM_SWIM_LEFT = 0x2B,
1816  ANIM_SWIM_RIGHT = 0x2C,
1817  ANIM_SWIM_BACKWARDS = 0x2D,
1818  ANIM_ATTACKBOW = 0x2E,
1819  ANIM_FIREBOW = 0x2F,
1820  ANIM_READYRIFLE = 0x30,
1821  ANIM_ATTACKRIFLE = 0x31,
1822  ANIM_LOOT = 0x32,
1824  ANIM_SPELL_PRECAST_OMNI = 0x34,
1825  ANIM_SPELL_CAST_DIRECTED = 0x35,
1826  ANIM_SPELL_CAST_OMNI = 0x36,
1827  ANIM_SPELL_BATTLEROAR = 0x37,
1828  ANIM_SPELL_READYABILITY = 0x38,
1829  ANIM_SPELL_SPECIAL1H = 0x39,
1830  ANIM_SPELL_SPECIAL2H = 0x3A,
1831  ANIM_SPELL_SHIELDBASH = 0x3B,
1832  ANIM_EMOTE_TALK = 0x3C,
1833  ANIM_EMOTE_EAT = 0x3D,
1834  ANIM_EMOTE_WORK = 0x3E,
1835  ANIM_EMOTE_USE_STANDING = 0x3F,
1836  ANIM_EMOTE_EXCLAMATION = 0x40,
1837  ANIM_EMOTE_QUESTION = 0x41,
1838  ANIM_EMOTE_BOW = 0x42,
1839  ANIM_EMOTE_WAVE = 0x43,
1840  ANIM_EMOTE_CHEER = 0x44,
1841  ANIM_EMOTE_DANCE = 0x45,
1842  ANIM_EMOTE_LAUGH = 0x46,
1843  ANIM_EMOTE_SLEEP = 0x47,
1844  ANIM_EMOTE_SIT_GROUND = 0x48,
1845  ANIM_EMOTE_RUDE = 0x49,
1846  ANIM_EMOTE_ROAR = 0x4A,
1847  ANIM_EMOTE_KNEEL = 0x4B,
1848  ANIM_EMOTE_KISS = 0x4C,
1849  ANIM_EMOTE_CRY = 0x4D,
1850  ANIM_EMOTE_CHICKEN = 0x4E,
1851  ANIM_EMOTE_BEG = 0x4F,
1852  ANIM_EMOTE_APPLAUD = 0x50,
1853  ANIM_EMOTE_SHOUT = 0x51,
1854  ANIM_EMOTE_FLEX = 0x52,
1855  ANIM_EMOTE_SHY = 0x53,
1856  ANIM_EMOTE_POINT = 0x54,
1857  ANIM_ATTACK1HPIERCE = 0x55,
1858  ANIM_ATTACK2HLOOSEPIERCE = 0x56,
1859  ANIM_ATTACKOFF = 0x57,
1860  ANIM_ATTACKOFFPIERCE = 0x58,
1861  ANIM_SHEATHE = 0x59,
1862  ANIM_HIPSHEATHE = 0x5A,
1863  ANIM_MOUNT = 0x5B,
1864  ANIM_RUN_LEANRIGHT = 0x5C,
1865  ANIM_RUN_LEANLEFT = 0x5D,
1866  ANIM_MOUNT_SPECIAL = 0x5E,
1867  ANIM_KICK = 0x5F,
1868  ANIM_SITDOWN = 0x60,
1869  ANIM_SITTING = 0x61,
1870  ANIM_SITUP = 0x62,
1871  ANIM_SLEEPDOWN = 0x63,
1872  ANIM_SLEEPING = 0x64,
1873  ANIM_SLEEPUP = 0x65,
1874  ANIM_SITCHAIRLOW = 0x66,
1875  ANIM_SITCHAIRMEDIUM = 0x67,
1876  ANIM_SITCHAIRHIGH = 0x68,
1877  ANIM_LOADBOW = 0x69,
1878  ANIM_LOADRIFLE = 0x6A,
1879  ANIM_ATTACKTHROWN = 0x6B,
1880  ANIM_READYTHROWN = 0x6C,
1881  ANIM_HOLDBOW = 0x6D,
1882  ANIM_HOLDRIFLE = 0x6E,
1883  ANIM_HOLDTHROWN = 0x6F,
1884  ANIM_LOADTHROWN = 0x70,
1885  ANIM_EMOTE_SALUTE = 0x71,
1886  ANIM_KNEELDOWN = 0x72,
1887  ANIM_KNEELING = 0x73,
1888  ANIM_KNEELUP = 0x74,
1889  ANIM_ATTACKUNARMEDOFF = 0x75,
1890  ANIM_SPECIALUNARMED = 0x76,
1891  ANIM_STEALTHWALK = 0x77,
1892  ANIM_STEALTHSTAND = 0x78,
1893  ANIM_KNOCKDOWN = 0x79,
1894  ANIM_EATING = 0x7A,
1895  ANIM_USESTANDINGLOOP = 0x7B,
1896  ANIM_CHANNELCASTDIRECTED = 0x7C,
1897  ANIM_CHANNELCASTOMNI = 0x7D,
1898  ANIM_WHIRLWIND = 0x7E,
1899  ANIM_BIRTH = 0x7F,
1900  ANIM_USESTANDINGSTART = 0x80,
1901  ANIM_USESTANDINGEND = 0x81,
1902  ANIM_HOWL = 0x82,
1903  ANIM_DROWN = 0x83,
1904  ANIM_DROWNED = 0x84,
1905  ANIM_FISHINGCAST = 0x85,
1906  ANIM_FISHINGLOOP = 0x86,
1907  ANIM_FLY = 0x87,
1911  ANIM_SPELL_SLEEP_DOWN = 0x8B,
1912  ANIM_SPELL_KNEEL_START = 0x8C,
1913  ANIM_SPELL_KNEEL_LOOP = 0x8D,
1914  ANIM_SPELL_KNEEL_END = 0x8E,
1915  ANIM_SPRINT = 0x8F,
1916  ANIM_IN_FIGHT = 0x90,
1917 
1918  ANIM_GAMEOBJ_SPAWN = 145,
1919  ANIM_GAMEOBJ_CLOSE = 146,
1920  ANIM_GAMEOBJ_CLOSED = 147,
1921  ANIM_GAMEOBJ_OPEN = 148,
1922  ANIM_GAMEOBJ_OPENED = 149,
1923  ANIM_GAMEOBJ_DESTROY = 150,
1924  ANIM_GAMEOBJ_DESTROYED = 151,
1925  ANIM_GAMEOBJ_REBUILD = 152,
1926  ANIM_GAMEOBJ_CUSTOM0 = 153,
1927  ANIM_GAMEOBJ_CUSTOM1 = 154,
1928  ANIM_GAMEOBJ_CUSTOM2 = 155,
1929  ANIM_GAMEOBJ_CUSTOM3 = 156,
1930  ANIM_GAMEOBJ_DESPAWN = 157,
1931  ANIM_HOLD = 158,
1932  ANIM_DECAY = 159,
1933  ANIM_BOWPULL = 160,
1934  ANIM_BOWRELEASE = 161,
1935  ANIM_SHIPSTART = 162,
1936  ANIM_SHIPMOVEING = 163,
1937  ANIM_SHIPSTOP = 164,
1938  ANIM_GROUPARROW = 165,
1939  ANIM_ARROW = 166,
1940  ANIM_CORPSEARROW = 167,
1941  ANIM_GUIDEARROW = 168,
1942  ANIM_SWAY = 169,
1943  ANIM_DRUIDCATPOUNCE = 170,
1944  ANIM_DRUIDCATRIP = 171,
1945  ANIM_DRUIDCATRAKE = 172,
1946  ANIM_DRUIDCATRAVAGE = 173,
1947  ANIM_DRUIDCATCLAW = 174,
1948  ANIM_DRUIDCATCOWER = 175,
1949  ANIM_DRUIDBEARSWIPE = 176,
1950  ANIM_DRUIDBEARBITE = 177,
1951  ANIM_DRUIDBEARMAUL = 178,
1952  ANIM_DRUIDBEARBASH = 179,
1953  ANIM_DRAGONTAIL = 180,
1954  ANIM_DRAGONSTOMP = 181,
1955  ANIM_DRAGONSPIT = 182,
1956  ANIM_DRAGONSPITHOVER = 183,
1957  ANIM_DRAGONSPITFLY = 184,
1958  ANIM_EMOTEYES = 185,
1959  ANIM_EMOTENO = 186,
1960  ANIM_JUMPLANDRUN = 187,
1961  ANIM_LOOTHOLD = 188,
1962  ANIM_LOOTUP = 189,
1963  ANIM_STANDHIGH = 190,
1964  ANIM_IMPACT = 191,
1965  ANIM_LIFTOFF = 192,
1966  ANIM_HOVER = 193,
1967  ANIM_SUCCUBUSENTICE = 194,
1968  ANIM_EMOTETRAIN = 195,
1969  ANIM_EMOTEDEAD = 196,
1970  ANIM_EMOTEDANCEONCE = 197,
1971  ANIM_DEFLECT = 198,
1972  ANIM_EMOTEEATNOSHEATHE = 199,
1973  ANIM_LAND = 200,
1974  ANIM_SUBMERGE = 201,
1975  ANIM_SUBMERGED = 202,
1976  ANIM_CANNIBALIZE = 203,
1977  ANIM_ARROWBIRTH = 204,
1978  ANIM_GROURARROWBIRTH = 205,
1979  ANIM_CORPSEARROWBIRTH = 206,
1980  ANIM_GUIDEARROWBIRTH = 207,
1984  ANIM_EMOTEDANCESPECIAL = 211,
1985  ANIM_MUTILATE = 212,
1986  ANIM_CUSTOMSPELL01 = 213,
1987  ANIM_CUSTOMSPELL02 = 214,
1988  ANIM_CUSTOMSPELL03 = 215,
1989  ANIM_CUSTOMSPELL04 = 216,
1990  ANIM_CUSTOMSPELL05 = 217,
1991  ANIM_CUSTOMSPELL06 = 218,
1992  ANIM_CUSTOMSPELL07 = 219,
1993  ANIM_CUSTOMSPELL08 = 220,
1994  ANIM_CUSTOMSPELL09 = 221,
1995  ANIM_CUSTOMSPELL10 = 222,
1996  ANIM_StealthRun = 223
1997 };
enum AuraState
Enumerator
AURA_STATE_DEFENSE 
AURA_STATE_HEALTHLESS_20_PERCENT 
AURA_STATE_BERSERKING 
AURA_STATE_JUDGEMENT 
AURA_STATE_HUNTER_PARRY 
AURA_STATE_ROGUE_ATTACK_FROM_STEALTH 
AURA_STATE_WARRIOR_VICTORY_RUSH 
AURA_STATE_HUNTER_CRIT_STRIKE 
AURA_STATE_CRIT 
AURA_STATE_FAERIE_FIRE 
AURA_STATE_HEALTHLESS_35_PERCENT 
AURA_STATE_IMMOLATE 
AURA_STATE_SWIFTMEND 
AURA_STATE_DEADLY_POISON 
AURA_STATE_FORBEARANCE 
AURA_STATE_WEAKENED_SOUL 
AURA_STATE_HYPOTHERMIA 

Definition at line 917 of file SharedDefines.h.

918 {
919  // (C) used in caster aura state (T) used in target aura state
920  // (c) used in caster aura state-not (t) used in target aura state-not
921  AURA_STATE_DEFENSE = 1, // C |
923  AURA_STATE_BERSERKING = 3, // C T |
924  //AURA_STATE_UNKNOWN4 = 4, // c t| some limitation to charge spells (?) and target test spells
925  AURA_STATE_JUDGEMENT = 5, // C |
926  //AURA_STATE_UNKNOWN6 = 6, // | not used
927  AURA_STATE_HUNTER_PARRY = 7, // C |
928  AURA_STATE_ROGUE_ATTACK_FROM_STEALTH = 7, // C | FIX ME: not implemented yet!
929  //AURA_STATE_UNKNOWN7c = 7, // c | random/focused bursts spells (?)
930  //AURA_STATE_UNKNOWN8 = 8, // | not used
931  //AURA_STATE_UNKNOWN9 = 9, // | not used
932  AURA_STATE_WARRIOR_VICTORY_RUSH = 10, // C | warrior victory rush
933  AURA_STATE_HUNTER_CRIT_STRIKE = 10, // C | hunter crit strike
934  AURA_STATE_CRIT = 11, // C |
935  AURA_STATE_FAERIE_FIRE = 12, // c t|
936  AURA_STATE_HEALTHLESS_35_PERCENT = 13, // C T |
937  AURA_STATE_IMMOLATE = 14, // T |
938  AURA_STATE_SWIFTMEND = 15, // T |
939  AURA_STATE_DEADLY_POISON = 16, // T |
940  AURA_STATE_FORBEARANCE = 17, // c t|
941  AURA_STATE_WEAKENED_SOUL = 18, // t|
942  AURA_STATE_HYPOTHERMIA = 19 // c |
943 };
enum BanMode
Enumerator
BAN_ACCOUNT 
BAN_CHARACTER 
BAN_IP 

Definition at line 2738 of file SharedDefines.h.

2739 {
2740  BAN_ACCOUNT,
2741  BAN_CHARACTER,
2742  BAN_IP
2743 };
enum BanReturn
Enumerator
BAN_SUCCESS 
BAN_SYNTAX_ERROR 
BAN_NOTFOUND 

Definition at line 2746 of file SharedDefines.h.

Enumerator
SLOT_HEAD 
SLOT_NECK 
SLOT_SHOULDERS 
SLOT_SHIRT 
SLOT_CHEST 
SLOT_WAIST 
SLOT_LEGS 
SLOT_FEET 
SLOT_WRISTS 
SLOT_HANDS 
SLOT_FINGER1 
SLOT_FINGER2 
SLOT_TRINKET1 
SLOT_TRINKET2 
SLOT_BACK 
SLOT_MAIN_HAND 
SLOT_OFF_HAND 
SLOT_RANGED 
SLOT_TABARD 
SLOT_EMPTY 

Definition at line 689 of file SharedDefines.h.

Enumerator
CHAT_LINK_COLOR_TALENT 
CHAT_LINK_COLOR_SPELL 
CHAT_LINK_COLOR_ENCHANT 

Definition at line 2517 of file SharedDefines.h.

2518 {
2519  CHAT_LINK_COLOR_TALENT = 0xff4e96f7, // blue
2520  CHAT_LINK_COLOR_SPELL = 0xff71d5ff, // bright blue
2521  CHAT_LINK_COLOR_ENCHANT = 0xffffd000, // orange
2522 };
enum ChatMsg
Enumerator
CHAT_MSG_ADDON 
CHAT_MSG_SYSTEM 
CHAT_MSG_SAY 
CHAT_MSG_PARTY 
CHAT_MSG_RAID 
CHAT_MSG_GUILD 
CHAT_MSG_OFFICER 
CHAT_MSG_YELL 
CHAT_MSG_WHISPER 
CHAT_MSG_WHISPER_INFORM 
CHAT_MSG_REPLY 
CHAT_MSG_EMOTE 
CHAT_MSG_TEXT_EMOTE 
CHAT_MSG_MONSTER_SAY 
CHAT_MSG_MONSTER_PARTY 
CHAT_MSG_MONSTER_YELL 
CHAT_MSG_MONSTER_WHISPER 
CHAT_MSG_MONSTER_EMOTE 
CHAT_MSG_CHANNEL 
CHAT_MSG_CHANNEL_JOIN 
CHAT_MSG_CHANNEL_LEAVE 
CHAT_MSG_CHANNEL_LIST 
CHAT_MSG_CHANNEL_NOTICE 
CHAT_MSG_CHANNEL_NOTICE_USER 
CHAT_MSG_AFK 
CHAT_MSG_DND 
CHAT_MSG_IGNORED 
CHAT_MSG_SKILL 
CHAT_MSG_LOOT 
CHAT_MSG_MONEY 
CHAT_MSG_OPENING 
CHAT_MSG_TRADESKILLS 
CHAT_MSG_PET_INFO 
CHAT_MSG_COMBAT_MISC_INFO 
CHAT_MSG_COMBAT_XP_GAIN 
CHAT_MSG_COMBAT_HONOR_GAIN 
CHAT_MSG_COMBAT_FACTION_CHANGE 
CHAT_MSG_BG_SYSTEM_NEUTRAL 
CHAT_MSG_BG_SYSTEM_ALLIANCE 
CHAT_MSG_BG_SYSTEM_HORDE 
CHAT_MSG_RAID_LEADER 
CHAT_MSG_RAID_WARNING 
CHAT_MSG_RAID_BOSS_WHISPER 
CHAT_MSG_RAID_BOSS_EMOTE 
CHAT_MSG_FILTERED 
CHAT_MSG_BATTLEGROUND 
CHAT_MSG_BATTLEGROUND_LEADER 
CHAT_MSG_RESTRICTED 

Definition at line 2463 of file SharedDefines.h.

2464 {
2465  CHAT_MSG_ADDON = 0xFFFFFFFF,
2466  CHAT_MSG_SYSTEM = 0x00,
2467  CHAT_MSG_SAY = 0x01,
2468  CHAT_MSG_PARTY = 0x02,
2469  CHAT_MSG_RAID = 0x03,
2470  CHAT_MSG_GUILD = 0x04,
2471  CHAT_MSG_OFFICER = 0x05,
2472  CHAT_MSG_YELL = 0x06,
2473  CHAT_MSG_WHISPER = 0x07,
2474  CHAT_MSG_WHISPER_INFORM = 0x08,
2475  CHAT_MSG_REPLY = 0x09,
2476  CHAT_MSG_EMOTE = 0x0A,
2477  CHAT_MSG_TEXT_EMOTE = 0x0B,
2478  CHAT_MSG_MONSTER_SAY = 0x0C,
2479  CHAT_MSG_MONSTER_PARTY = 0x0D,
2480  CHAT_MSG_MONSTER_YELL = 0x0E,
2481  CHAT_MSG_MONSTER_WHISPER = 0x0F,
2482  CHAT_MSG_MONSTER_EMOTE = 0x10,
2483  CHAT_MSG_CHANNEL = 0x11,
2484  CHAT_MSG_CHANNEL_JOIN = 0x12,
2485  CHAT_MSG_CHANNEL_LEAVE = 0x13,
2486  CHAT_MSG_CHANNEL_LIST = 0x14,
2487  CHAT_MSG_CHANNEL_NOTICE = 0x15,
2489  CHAT_MSG_AFK = 0x17,
2490  CHAT_MSG_DND = 0x18,
2491  CHAT_MSG_IGNORED = 0x19,
2492  CHAT_MSG_SKILL = 0x1A,
2493  CHAT_MSG_LOOT = 0x1B,
2494  CHAT_MSG_MONEY = 0x1C,
2495  CHAT_MSG_OPENING = 0x1D,
2496  CHAT_MSG_TRADESKILLS = 0x1E,
2497  CHAT_MSG_PET_INFO = 0x1F,
2499  CHAT_MSG_COMBAT_XP_GAIN = 0x21,
2504  CHAT_MSG_BG_SYSTEM_HORDE = 0x26,
2505  CHAT_MSG_RAID_LEADER = 0x27,
2506  CHAT_MSG_RAID_WARNING = 0x28,
2508  CHAT_MSG_RAID_BOSS_EMOTE = 0x2A,
2509  CHAT_MSG_FILTERED = 0x2B,
2510  CHAT_MSG_BATTLEGROUND = 0x2C,
2512  CHAT_MSG_RESTRICTED = 0x2E,
2513 };
enum Classes
Enumerator
CLASS_WARRIOR 
CLASS_PALADIN 
CLASS_HUNTER 
CLASS_ROGUE 
CLASS_PRIEST 
CLASS_DEATH_KNIGHT 
CLASS_SHAMAN 
CLASS_MAGE 
CLASS_WARLOCK 
CLASS_DRUID 

Definition at line 75 of file SharedDefines.h.

Enumerator
CORPSE_DYNFLAG_LOOTABLE 

Definition at line 2424 of file SharedDefines.h.

2425 {
2426  CORPSE_DYNFLAG_LOOTABLE = 0x0001
2427 };
Enumerator
CREATURE_ELITE_NORMAL 
CREATURE_ELITE_ELITE 
CREATURE_ELITE_RAREELITE 
CREATURE_ELITE_WORLDBOSS 
CREATURE_ELITE_RARE 
CREATURE_UNKNOWN 

Definition at line 2115 of file SharedDefines.h.

Enumerator
CREATURE_FAMILY_NONE 
CREATURE_FAMILY_WOLF 
CREATURE_FAMILY_CAT 
CREATURE_FAMILY_SPIDER 
CREATURE_FAMILY_BEAR 
CREATURE_FAMILY_BOAR 
CREATURE_FAMILY_CROCOLISK 
CREATURE_FAMILY_CARRION_BIRD 
CREATURE_FAMILY_CRAB 
CREATURE_FAMILY_GORILLA 
CREATURE_FAMILY_RAPTOR 
CREATURE_FAMILY_TALLSTRIDER 
CREATURE_FAMILY_FELHUNTER 
CREATURE_FAMILY_VOIDWALKER 
CREATURE_FAMILY_SUCCUBUS 
CREATURE_FAMILY_DOOMGUARD 
CREATURE_FAMILY_SCORPID 
CREATURE_FAMILY_TURTLE 
CREATURE_FAMILY_IMP 
CREATURE_FAMILY_BAT 
CREATURE_FAMILY_HYENA 
CREATURE_FAMILY_OWL 
CREATURE_FAMILY_WIND_SERPENT 
CREATURE_FAMILY_REMOTE_CONTROL 
CREATURE_FAMILY_FELGUARD 
CREATURE_FAMILY_DRAGONHAWK 
CREATURE_FAMILY_RAVAGER 
CREATURE_FAMILY_WARP_STALKER 
CREATURE_FAMILY_SPOREBAT 
CREATURE_FAMILY_NETHER_RAY 
CREATURE_FAMILY_SERPENT 
CREATURE_FAMILY_SEA_LION 

Definition at line 2058 of file SharedDefines.h.

2059 {
2062  CREATURE_FAMILY_CAT = 2,
2078  CREATURE_FAMILY_IMP = 23,
2079  CREATURE_FAMILY_BAT = 24,
2080  CREATURE_FAMILY_HYENA = 25,
2081  CREATURE_FAMILY_OWL = 26,
2092 };
Enumerator
CREATURE_TYPE_BEAST 
CREATURE_TYPE_DRAGONKIN 
CREATURE_TYPE_DEMON 
CREATURE_TYPE_ELEMENTAL 
CREATURE_TYPE_GIANT 
CREATURE_TYPE_UNDEAD 
CREATURE_TYPE_HUMANOID 
CREATURE_TYPE_CRITTER 
CREATURE_TYPE_MECHANICAL 
CREATURE_TYPE_NOT_SPECIFIED 
CREATURE_TYPE_TOTEM 
CREATURE_TYPE_NON_COMBAT_PET 
CREATURE_TYPE_GAS_CLOUD 

Definition at line 2039 of file SharedDefines.h.

Enumerator
CREATURE_TYPE_FLAG_TAMEABLE_PET 
CREATURE_TYPE_FLAG_GHOST_VISIBLE 
CREATURE_TYPE_FLAG_BOSS_MOB 
CREATURE_TYPE_FLAG_DO_NOT_PLAY_WOUND_PARRY_ANIMATION 
CREATURE_TYPE_FLAG_HIDE_FACTION_TOOLTIP 
CREATURE_TYPE_FLAG_UNK5 
CREATURE_TYPE_FLAG_SPELL_ATTACKABLE 
CREATURE_TYPE_FLAG_CAN_INTERACT_WHILE_DEAD 
CREATURE_TYPE_FLAG_HERB_SKINNING_SKILL 
CREATURE_TYPE_FLAG_MINING_SKINNING_SKILL 
CREATURE_TYPE_FLAG_DO_NOT_LOG_DEATH 
CREATURE_TYPE_FLAG_MOUNTED_COMBAT_ALLOWED 
CREATURE_TYPE_FLAG_CAN_ASSIST 
CREATURE_TYPE_FLAG_IS_PET_BAR_USED 
CREATURE_TYPE_FLAG_MASK_UID 
CREATURE_TYPE_FLAG_ENGINEERING_SKINNING_SKILL 
CREATURE_TYPE_FLAG_EXOTIC_PET 

Definition at line 2094 of file SharedDefines.h.

2095 {
2096  CREATURE_TYPE_FLAG_TAMEABLE_PET = 0x00000001, // Makes the mob tameable (must also be a beast and have family set)
2097  CREATURE_TYPE_FLAG_GHOST_VISIBLE = 0x00000002, // Creature are also visible for not alive player. Allow gossip interaction if npcflag allow?
2098  CREATURE_TYPE_FLAG_BOSS_MOB = 0x00000004, // Changes creature's visible level to "??" in the creature's portrait - Immune Knockback.
2101  CREATURE_TYPE_FLAG_UNK5 = 0x00000020, // Sound related
2103  CREATURE_TYPE_FLAG_CAN_INTERACT_WHILE_DEAD = 0x00000080, // Player can interact with the creature if its dead (not player dead)
2104  CREATURE_TYPE_FLAG_HERB_SKINNING_SKILL = 0x00000100, // Can be looted by herbalist
2105  CREATURE_TYPE_FLAG_MINING_SKINNING_SKILL = 0x00000200, // Can be looted by miner
2106  CREATURE_TYPE_FLAG_DO_NOT_LOG_DEATH = 0x00000400, // Death event will not show up in combat log
2107  CREATURE_TYPE_FLAG_MOUNTED_COMBAT_ALLOWED = 0x00000800, // Creature can remain mounted when entering combat
2108  CREATURE_TYPE_FLAG_CAN_ASSIST = 0x00001000, // ? Can aid any player in combat if in range?
2110  CREATURE_TYPE_FLAG_MASK_UID = 0x00004000,
2111  CREATURE_TYPE_FLAG_ENGINEERING_SKINNING_SKILL = 0x00008000, // Can be looted by engineer
2112  CREATURE_TYPE_FLAG_EXOTIC_PET = 0x00010000, // Can be tamed by hunter as exotic pet
2113 };
Enumerator
DIMINISHING_NONE 
DIMINISHING_BANISH 
DIMINISHING_CONTROLLED_STUN 
DIMINISHING_CONTROLLED_ROOT 
DIMINISHING_BLIND_CYCLONE 
DIMINISHING_DISARM 
DIMINISHING_DISORIENT 
DIMINISHING_ENTRAPMENT 
DIMINISHING_FEAR 
DIMINISHING_HORROR 
DIMINISHING_MIND_CONTROL 
DIMINISHING_ROOT 
DIMINISHING_STUN 
DIMINISHING_SILENCE 
DIMINISHING_SLEEP 
DIMINISHING_KIDNEYSHOT 
DIMINISHING_WARLOCK_FEAR 
DIMINISHING_FREEZE 
DIMINISHING_LIMITONLY 

Definition at line 2569 of file SharedDefines.h.

2570 {
2571  // Common Groups
2587  // Rogue Specific
2589  // Warlock Specific
2591  // Shared Class Specifics
2592  DIMINISHING_FREEZE, // Hunter's Freezing Trap
2593  // Other
2594  // Don't Diminish, but limit duration to 10s
2596 };
Enumerator
DRTYPE_NONE 
DRTYPE_PLAYER 
DRTYPE_ALL 

Definition at line 2561 of file SharedDefines.h.

2562 {
2563  DRTYPE_NONE = 0, // this spell is not diminished, but may have limited it's duration to 10s
2564  DRTYPE_PLAYER = 1, // this spell is diminished only when applied on players
2565  DRTYPE_ALL = 2 // this spell is diminished in every case
2566 };
enum DispelType
Enumerator
DISPEL_NONE 
DISPEL_MAGIC 
DISPEL_CURSE 
DISPEL_DISEASE 
DISPEL_POISON 
DISPEL_STEALTH 
DISPEL_INVISIBILITY 
DISPEL_ALL 
DISPEL_SPE_NPC_ONLY 
DISPEL_ENRAGE 
DISPEL_ZG_TICKET 

Definition at line 991 of file SharedDefines.h.

Enumerator
DIFFICULTY_NORMAL 
DIFFICULTY_HEROIC 
TOTAL_DIFFICULTIES 

Definition at line 2598 of file SharedDefines.h.

Enumerator
DUNGEON_STATUSFLAG_NORMAL 
DUNGEON_STATUSFLAG_HEROIC 
RAID_STATUSFLAG_10MAN 
RAID_STATUSFLAG_25MAN 

Definition at line 2780 of file SharedDefines.h.

enum Emote
Enumerator
EMOTE_ONESHOT_NONE 
EMOTE_ONESHOT_TALK 
EMOTE_ONESHOT_BOW 
EMOTE_ONESHOT_WAVE 
EMOTE_ONESHOT_CHEER 
EMOTE_ONESHOT_EXCLAMATION 
EMOTE_ONESHOT_QUESTION 
EMOTE_ONESHOT_EAT 
EMOTE_STATE_DANCE 
EMOTE_ONESHOT_LAUGH 
EMOTE_STATE_SLEEP 
EMOTE_STATE_SIT 
EMOTE_ONESHOT_RUDE 
EMOTE_ONESHOT_ROAR 
EMOTE_ONESHOT_KNEEL 
EMOTE_ONESHOT_KISS 
EMOTE_ONESHOT_CRY 
EMOTE_ONESHOT_CHICKEN 
EMOTE_ONESHOT_BEG 
EMOTE_ONESHOT_APPLAUD 
EMOTE_ONESHOT_SHOUT 
EMOTE_ONESHOT_FLEX 
EMOTE_ONESHOT_SHY 
EMOTE_ONESHOT_POINT 
EMOTE_STATE_STAND 
EMOTE_STATE_READYUNARMED 
EMOTE_STATE_WORK 
EMOTE_STATE_POINT 
EMOTE_STATE_NONE 
EMOTE_ONESHOT_WOUND 
EMOTE_ONESHOT_WOUNDCRITICAL 
EMOTE_ONESHOT_ATTACKUNARMED 
EMOTE_ONESHOT_ATTACK1H 
EMOTE_ONESHOT_ATTACK2HTIGHT 
EMOTE_ONESHOT_ATTACK2HLOOSE 
EMOTE_ONESHOT_PARRYUNARMED 
EMOTE_ONESHOT_PARRYSHIELD 
EMOTE_ONESHOT_READYUNARMED 
EMOTE_ONESHOT_READY1H 
EMOTE_ONESHOT_READYBOW 
EMOTE_ONESHOT_SPELLPRECAST 
EMOTE_ONESHOT_SPELLCAST 
EMOTE_ONESHOT_BATTLEROAR 
EMOTE_ONESHOT_SPECIALATTACK1H 
EMOTE_ONESHOT_KICK 
EMOTE_ONESHOT_ATTACKTHROWN 
EMOTE_STATE_STUN 
EMOTE_STATE_DEAD 
EMOTE_ONESHOT_SALUTE 
EMOTE_STATE_KNEEL 
EMOTE_STATE_USESTANDING 
EMOTE_ONESHOT_WAVE_NOSHEATHE 
EMOTE_ONESHOT_CHEER_NOSHEATHE 
EMOTE_ONESHOT_EAT_NOSHEATHE 
EMOTE_STATE_STUN_NOSHEATHE 
EMOTE_ONESHOT_DANCE 
EMOTE_ONESHOT_SALUTE_NOSHEATH 
EMOTE_STATE_USESTANDING_NOSHEATHE 
EMOTE_ONESHOT_LAUGH_NOSHEATHE 
EMOTE_STATE_WORK_NOSHEATHE 
EMOTE_STATE_SPELLPRECAST 
EMOTE_ONESHOT_READYRIFLE 
EMOTE_STATE_READYRIFLE 
EMOTE_STATE_WORK_NOSHEATHE_MINING 
EMOTE_STATE_WORK_NOSHEATHE_CHOPWOOD 
EMOTE_zzOLDONESHOT_LIFTOFF 
EMOTE_ONESHOT_LIFTOFF 
EMOTE_ONESHOT_YES 
EMOTE_ONESHOT_NO 
EMOTE_ONESHOT_TRAIN 
EMOTE_ONESHOT_LAND 
EMOTE_STATE_AT_EASE 
EMOTE_STATE_READY1H 
EMOTE_STATE_SPELLKNEELSTART 
EMOTE_STATE_SUBMERGED 
EMOTE_ONESHOT_SUBMERGE 
EMOTE_STATE_READY2H 
EMOTE_STATE_READYBOW 
EMOTE_ONESHOT_MOUNTSPECIAL 
EMOTE_STATE_TALK 
EMOTE_STATE_FISHING 
EMOTE_ONESHOT_FISHING 
EMOTE_ONESHOT_LOOT 
EMOTE_STATE_WHIRLWIND 
EMOTE_STATE_DROWNED 
EMOTE_STATE_HOLD_BOW 
EMOTE_STATE_HOLD_RIFLE 
EMOTE_STATE_HOLD_THROWN 
EMOTE_ONESHOT_DROWN 
EMOTE_ONESHOT_STOMP 
EMOTE_ONESHOT_ATTACKOFF 
EMOTE_ONESHOT_ATTACKOFFPIERCE 
EMOTE_STATE_ROAR 
EMOTE_STATE_LAUGH 
EMOTE_ONESHOT_CREATURE_SPECIAL 
EMOTE_ONESHOT_JUMPLANDRUN 
EMOTE_ONESHOT_JUMPEND 
EMOTE_ONESHOT_TALK_NOSHEATHE 
EMOTE_ONESHOT_POINT_NOSHEATHE 
EMOTE_STATE_CANNIBALIZE 
EMOTE_ONESHOT_JUMPSTART 
EMOTE_STATE_DANCESPECIAL 
EMOTE_ONESHOT_DANCESPECIAL 
EMOTE_ONESHOT_CUSTOMSPELL01 
EMOTE_ONESHOT_CUSTOMSPELL02 
EMOTE_ONESHOT_CUSTOMSPELL03 
EMOTE_ONESHOT_CUSTOMSPELL04 
EMOTE_ONESHOT_CUSTOMSPELL05 
EMOTE_ONESHOT_CUSTOMSPELL06 
EMOTE_ONESHOT_CUSTOMSPELL07 
EMOTE_ONESHOT_CUSTOMSPELL08 
EMOTE_ONESHOT_CUSTOMSPELL09 
EMOTE_ONESHOT_CUSTOMSPELL10 
EMOTE_STATE_EXCLAIM 
EMOTE_STATE_SIT_CHAIR_MED 
EMOTE_STATE_SPELLEFFECT_HOLD 
EMOTE_STATE_EAT_NO_SHEATHE 

Definition at line 1649 of file SharedDefines.h.

1650 {
1651  EMOTE_ONESHOT_NONE = 0,
1652  EMOTE_ONESHOT_TALK = 1,
1653  EMOTE_ONESHOT_BOW = 2,
1654  EMOTE_ONESHOT_WAVE = 3,
1655  EMOTE_ONESHOT_CHEER = 4,
1658  EMOTE_ONESHOT_EAT = 7,
1659  EMOTE_STATE_DANCE = 10,
1660  EMOTE_ONESHOT_LAUGH = 11,
1661  EMOTE_STATE_SLEEP = 12,
1662  EMOTE_STATE_SIT = 13,
1663  EMOTE_ONESHOT_RUDE = 14,
1664  EMOTE_ONESHOT_ROAR = 15,
1665  EMOTE_ONESHOT_KNEEL = 16,
1666  EMOTE_ONESHOT_KISS = 17,
1667  EMOTE_ONESHOT_CRY = 18,
1668  EMOTE_ONESHOT_CHICKEN = 19,
1669  EMOTE_ONESHOT_BEG = 20,
1670  EMOTE_ONESHOT_APPLAUD = 21,
1671  EMOTE_ONESHOT_SHOUT = 22,
1672  EMOTE_ONESHOT_FLEX = 23,
1673  EMOTE_ONESHOT_SHY = 24,
1674  EMOTE_ONESHOT_POINT = 25,
1675  EMOTE_STATE_STAND = 26,
1677  EMOTE_STATE_WORK = 28,
1678  EMOTE_STATE_POINT = 29,
1679  EMOTE_STATE_NONE = 30,
1680  EMOTE_ONESHOT_WOUND = 33,
1689  EMOTE_ONESHOT_READY1H = 45,
1695  EMOTE_ONESHOT_KICK = 60,
1697  EMOTE_STATE_STUN = 64,
1698  EMOTE_STATE_DEAD = 65,
1699  EMOTE_ONESHOT_SALUTE = 66,
1700  EMOTE_STATE_KNEEL = 68,
1706  EMOTE_ONESHOT_DANCE = 94,
1713  EMOTE_STATE_READYRIFLE = 214,
1717  EMOTE_ONESHOT_LIFTOFF = 254,
1718  EMOTE_ONESHOT_YES = 273,
1719  EMOTE_ONESHOT_NO = 274,
1720  EMOTE_ONESHOT_TRAIN = 275,
1721  EMOTE_ONESHOT_LAND = 293,
1722  EMOTE_STATE_AT_EASE = 313,
1723  EMOTE_STATE_READY1H = 333,
1725  EMOTE_STATE_SUBMERGED = 373,
1726  EMOTE_ONESHOT_SUBMERGE = 374,
1727  EMOTE_STATE_READY2H = 375,
1728  EMOTE_STATE_READYBOW = 376,
1730  EMOTE_STATE_TALK = 378,
1731  EMOTE_STATE_FISHING = 379,
1732  EMOTE_ONESHOT_FISHING = 380,
1733  EMOTE_ONESHOT_LOOT = 381,
1734  EMOTE_STATE_WHIRLWIND = 382,
1735  EMOTE_STATE_DROWNED = 383,
1736  EMOTE_STATE_HOLD_BOW = 384,
1737  EMOTE_STATE_HOLD_RIFLE = 385,
1739  EMOTE_ONESHOT_DROWN = 387,
1740  EMOTE_ONESHOT_STOMP = 388,
1743  EMOTE_STATE_ROAR = 391,
1744  EMOTE_STATE_LAUGH = 392,
1747  EMOTE_ONESHOT_JUMPEND = 395,
1764  EMOTE_STATE_EXCLAIM = 412,
1768 };
enum EventId
Enumerator
EVENT_SPELLCLICK 
EVENT_CHARGE 

Definition at line 2627 of file SharedDefines.h.

2628 {
2629  EVENT_SPELLCLICK = 1001,
2630  EVENT_CHARGE = 1003,
2631 };
Enumerator
GO_DYNFLAG_LO_ACTIVATE 
GO_DYNFLAG_LO_ANIMATE 
GO_DYNFLAG_LO_NO_INTERACT 
GO_DYNFLAG_LO_SPARKLE 

Definition at line 1465 of file SharedDefines.h.

1466 {
1467  GO_DYNFLAG_LO_ACTIVATE = 0x01, // enables interaction with GO
1468  GO_DYNFLAG_LO_ANIMATE = 0x02, // possibly more distinct animation of GO
1469  GO_DYNFLAG_LO_NO_INTERACT = 0x04, // appears to disable interaction (not fully verified)
1470  GO_DYNFLAG_LO_SPARKLE = 0x08, // makes GO sparkle
1471 };
Enumerator
GO_FLAG_IN_USE 
GO_FLAG_LOCKED 
GO_FLAG_INTERACT_COND 
GO_FLAG_TRANSPORT 
GO_FLAG_NOT_SELECTABLE 
GO_FLAG_NODESPAWN 
GO_FLAG_TRIGGERED 

Definition at line 1454 of file SharedDefines.h.

1455 {
1456  GO_FLAG_IN_USE = 0x00000001, //disables interaction while animated
1457  GO_FLAG_LOCKED = 0x00000002, //require key, spell, event, etc to be opened. Makes "Locked" appear in tooltip
1458  GO_FLAG_INTERACT_COND = 0x00000004, //cannot interact (condition to interact)
1459  GO_FLAG_TRANSPORT = 0x00000008, //any kind of transport? Object can transport (elevator, boat, car)
1460  GO_FLAG_NOT_SELECTABLE = 0x00000010, // not selectable even in GM mode
1461  GO_FLAG_NODESPAWN = 0x00000020, //never despawn, typically for doors, they just change state
1462  GO_FLAG_TRIGGERED = 0x00000040 //typically, summoned objects. Triggered by spell or other events
1463 };
Enumerator
GAMEOBJECT_TYPE_DOOR 
GAMEOBJECT_TYPE_BUTTON 
GAMEOBJECT_TYPE_QUESTGIVER 
GAMEOBJECT_TYPE_CHEST 
GAMEOBJECT_TYPE_BINDER 
GAMEOBJECT_TYPE_GENERIC 
GAMEOBJECT_TYPE_TRAP 
GAMEOBJECT_TYPE_CHAIR 
GAMEOBJECT_TYPE_SPELL_FOCUS 
GAMEOBJECT_TYPE_TEXT 
GAMEOBJECT_TYPE_GOOBER 
GAMEOBJECT_TYPE_TRANSPORT 
GAMEOBJECT_TYPE_AREADAMAGE 
GAMEOBJECT_TYPE_CAMERA 
GAMEOBJECT_TYPE_MAP_OBJECT 
GAMEOBJECT_TYPE_MO_TRANSPORT 
GAMEOBJECT_TYPE_DUEL_ARBITER 
GAMEOBJECT_TYPE_FISHINGNODE 
GAMEOBJECT_TYPE_SUMMONING_RITUAL 
GAMEOBJECT_TYPE_MAILBOX 
GAMEOBJECT_TYPE_AUCTIONHOUSE 
GAMEOBJECT_TYPE_GUARDPOST 
GAMEOBJECT_TYPE_SPELLCASTER 
GAMEOBJECT_TYPE_MEETINGSTONE 
GAMEOBJECT_TYPE_FLAGSTAND 
GAMEOBJECT_TYPE_FISHINGHOLE 
GAMEOBJECT_TYPE_FLAGDROP 
GAMEOBJECT_TYPE_MINI_GAME 
GAMEOBJECT_TYPE_LOTTERY_KIOSK 
GAMEOBJECT_TYPE_CAPTURE_POINT 
GAMEOBJECT_TYPE_AURA_GENERATOR 
GAMEOBJECT_TYPE_DUNGEON_DIFFICULTY 
GAMEOBJECT_TYPE_BARBER_CHAIR 
GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING 
GAMEOBJECT_TYPE_GUILD_BANK 

Definition at line 1411 of file SharedDefines.h.

1412 {
1448 };
enum Gender
Enumerator
GENDER_MALE 
GENDER_FEMALE 
GENDER_NONE 

Definition at line 35 of file SharedDefines.h.

36 {
37  GENDER_MALE = 0,
38  GENDER_FEMALE = 1,
39  GENDER_NONE = 2
40 };
Enumerator
GHOST_VISIBILITY_ALIVE 
GHOST_VISIBILITY_GHOST 

Definition at line 1397 of file SharedDefines.h.

Enumerator
INVISIBILITY_GENERAL 
INVISIBILITY_UNK1 
INVISIBILITY_UNK2 
INVISIBILITY_TRAP 
INVISIBILITY_UNK4 
INVISIBILITY_UNK5 
INVISIBILITY_DRUNK 
INVISIBILITY_UNK7 
INVISIBILITY_UNK8 
INVISIBILITY_UNK9 
INVISIBILITY_UNK10 
INVISIBILITY_UNK11 
TOTAL_INVISIBILITY_TYPES 

Definition at line 1371 of file SharedDefines.h.

1372 {
1374  INVISIBILITY_UNK1 = 1,
1375  INVISIBILITY_UNK2 = 2,
1376  INVISIBILITY_TRAP = 3,
1377  INVISIBILITY_UNK4 = 4,
1378  INVISIBILITY_UNK5 = 5,
1379  INVISIBILITY_DRUNK = 6,
1380  INVISIBILITY_UNK7 = 7,
1381  INVISIBILITY_UNK8 = 8,