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

Go to the source code of this file.

Classes

struct  ItemTemplate
 

Macros

#define MAX_ITEM_SPELLTRIGGER   7
 
#define MAX_BIND_TYPE   6
 
#define SOCKET_COLOR_ALL   (SOCKET_COLOR_META | SOCKET_COLOR_RED | SOCKET_COLOR_YELLOW | SOCKET_COLOR_BLUE | SOCKET_COLOR_COGWHEEL)
 
#define MAX_INVTYPE   29
 
#define MAX_ITEM_CLASS   17
 
#define MAX_ITEM_SUBCLASS_CONSUMABLE   9
 
#define MAX_ITEM_SUBCLASS_CONTAINER   11
 
#define ITEM_SUBCLASS_MASK_WEAPON_RANGED
 
#define MAX_ITEM_SUBCLASS_WEAPON   21
 
#define MAX_ITEM_SUBCLASS_GEM   11
 
#define MAX_ITEM_SUBCLASS_ARMOR   12
 
#define MAX_ITEM_SUBCLASS_REAGENT   1
 
#define MAX_ITEM_SUBCLASS_PROJECTILE   5
 
#define MAX_ITEM_SUBCLASS_TRADE_GOODS   15
 
#define MAX_ITEM_SUBCLASS_GENERIC   1
 
#define MAX_ITEM_SUBCLASS_RECIPE   12
 
#define MAX_ITEM_SUBCLASS_MONEY   8
 
#define MAX_ITEM_SUBCLASS_QUIVER   4
 
#define MAX_ITEM_SUBCLASS_QUEST   9
 
#define MAX_ITEM_SUBCLASS_KEY   2
 
#define MAX_ITEM_SUBCLASS_PERMANENT   1
 
#define MAX_ITEM_SUBCLASS_JUNK   13
 
#define MAX_ITEM_SUBCLASS_GLYPH   12
 
#define MIN_ITEM_LEVEL   1
 
#define MAX_ITEM_LEVEL   1000
 

Typedefs

typedef std::unordered_map
< uint32, ItemTemplate
ItemTemplateContainer
 

Enumerations

enum  ItemModType {
  ITEM_MOD_MANA = 0, ITEM_MOD_HEALTH = 1, ITEM_MOD_AGILITY = 3, ITEM_MOD_STRENGTH = 4,
  ITEM_MOD_INTELLECT = 5, ITEM_MOD_SPIRIT = 6, ITEM_MOD_STAMINA = 7, ITEM_MOD_DEFENSE_SKILL_RATING = 12,
  ITEM_MOD_DODGE_RATING = 13, ITEM_MOD_PARRY_RATING = 14, ITEM_MOD_BLOCK_RATING = 15, ITEM_MOD_HIT_MELEE_RATING = 16,
  ITEM_MOD_HIT_RANGED_RATING = 17, ITEM_MOD_HIT_SPELL_RATING = 18, ITEM_MOD_CRIT_MELEE_RATING = 19, ITEM_MOD_CRIT_RANGED_RATING = 20,
  ITEM_MOD_CRIT_SPELL_RATING = 21, ITEM_MOD_HIT_TAKEN_MELEE_RATING = 22, ITEM_MOD_HIT_TAKEN_RANGED_RATING = 23, ITEM_MOD_HIT_TAKEN_SPELL_RATING = 24,
  ITEM_MOD_CRIT_TAKEN_MELEE_RATING = 25, ITEM_MOD_CRIT_TAKEN_RANGED_RATING = 26, ITEM_MOD_CRIT_TAKEN_SPELL_RATING = 27, ITEM_MOD_HASTE_MELEE_RATING = 28,
  ITEM_MOD_HASTE_RANGED_RATING = 29, ITEM_MOD_HASTE_SPELL_RATING = 30, ITEM_MOD_HIT_RATING = 31, ITEM_MOD_CRIT_RATING = 32,
  ITEM_MOD_HIT_TAKEN_RATING = 33, ITEM_MOD_CRIT_TAKEN_RATING = 34, ITEM_MOD_RESILIENCE_RATING = 35, ITEM_MOD_HASTE_RATING = 36,
  ITEM_MOD_EXPERTISE_RATING = 37, ITEM_MOD_ATTACK_POWER = 38, ITEM_MOD_RANGED_ATTACK_POWER = 39, ITEM_MOD_VERSATILITY = 40,
  ITEM_MOD_SPELL_HEALING_DONE = 41, ITEM_MOD_SPELL_DAMAGE_DONE = 42, ITEM_MOD_MANA_REGENERATION = 43, ITEM_MOD_ARMOR_PENETRATION_RATING = 44,
  ITEM_MOD_SPELL_POWER = 45, ITEM_MOD_HEALTH_REGEN = 46, ITEM_MOD_SPELL_PENETRATION = 47, ITEM_MOD_BLOCK_VALUE = 48,
  ITEM_MOD_MASTERY_RATING = 49, ITEM_MOD_EXTRA_ARMOR = 50, ITEM_MOD_FIRE_RESISTANCE = 51, ITEM_MOD_FROST_RESISTANCE = 52,
  ITEM_MOD_HOLY_RESISTANCE = 53, ITEM_MOD_SHADOW_RESISTANCE = 54, ITEM_MOD_NATURE_RESISTANCE = 55, ITEM_MOD_ARCANE_RESISTANCE = 56,
  ITEM_MOD_PVP_POWER = 57, ITEM_MOD_CR_AMPLIFY = 58, ITEM_MOD_CR_MULTISTRIKE = 59, ITEM_MOD_CR_READINESS = 60,
  ITEM_MOD_CR_SPEED = 61, ITEM_MOD_CR_LIFESTEAL = 62, ITEM_MOD_CR_AVOIDANCE = 63, ITEM_MOD_CR_STURDINESS = 64,
  ITEM_MOD_CR_UNUSED_7 = 65, ITEM_MOD_CR_CLEAVE = 66, ITEM_MOD_CR_UNUSED_9 = 67, ITEM_MOD_CR_UNUSED_10 = 68,
  ITEM_MOD_CR_UNUSED_11 = 69, ITEM_MOD_CR_UNUSED_12 = 70, ITEM_MOD_AGI_STR_INT = 71, ITEM_MOD_AGI_STR = 72,
  ITEM_MOD_AGI_INT = 73, ITEM_MOD_STR_INT = 74
}
 
enum  ItemSpelltriggerType {
  ITEM_SPELLTRIGGER_ON_USE = 0, ITEM_SPELLTRIGGER_ON_EQUIP = 1, ITEM_SPELLTRIGGER_CHANCE_ON_HIT = 2, ITEM_SPELLTRIGGER_SOULSTONE = 4,
  ITEM_SPELLTRIGGER_ON_NO_DELAY_USE = 5, ITEM_SPELLTRIGGER_LEARN_SPELL_ID = 6
}
 
enum  ItemBondingType {
  NO_BIND = 0, BIND_WHEN_PICKED_UP = 1, BIND_WHEN_EQUIPED = 2, BIND_WHEN_USE = 3,
  BIND_QUEST_ITEM = 4, BIND_QUEST_ITEM1 = 5
}
 
enum  ItemFieldFlags : uint32 {
  ITEM_FIELD_FLAG_SOULBOUND = 0x00000001, ITEM_FIELD_FLAG_TRANSLATED = 0x00000002, ITEM_FIELD_FLAG_UNLOCKED = 0x00000004, ITEM_FIELD_FLAG_WRAPPED = 0x00000008,
  ITEM_FIELD_FLAG_UNK2 = 0x00000010, ITEM_FIELD_FLAG_UNK3 = 0x00000020, ITEM_FIELD_FLAG_UNK4 = 0x00000040, ITEM_FIELD_FLAG_UNK5 = 0x00000080,
  ITEM_FIELD_FLAG_BOP_TRADEABLE = 0x00000100, ITEM_FIELD_FLAG_READABLE = 0x00000200, ITEM_FIELD_FLAG_UNK6 = 0x00000400, ITEM_FIELD_FLAG_UNK7 = 0x00000800,
  ITEM_FIELD_FLAG_REFUNDABLE = 0x00001000, ITEM_FIELD_FLAG_UNK8 = 0x00002000, ITEM_FIELD_FLAG_UNK9 = 0x00004000, ITEM_FIELD_FLAG_UNK10 = 0x00008000,
  ITEM_FIELD_FLAG_UNK11 = 0x00010000, ITEM_FIELD_FLAG_UNK12 = 0x00020000, ITEM_FIELD_FLAG_UNK13 = 0x00040000, ITEM_FIELD_FLAG_UNK14 = 0x00080000,
  ITEM_FIELD_FLAG_UNK15 = 0x00100000, ITEM_FIELD_FLAG_UNK16 = 0x00200000, ITEM_FIELD_FLAG_UNK17 = 0x00400000, ITEM_FIELD_FLAG_UNK18 = 0x00800000,
  ITEM_FIELD_FLAG_UNK19 = 0x01000000, ITEM_FIELD_FLAG_UNK20 = 0x02000000, ITEM_FIELD_FLAG_UNK21 = 0x04000000, ITEM_FIELD_FLAG_UNK22 = 0x08000000,
  ITEM_FIELD_FLAG_UNK23 = 0x10000000, ITEM_FIELD_FLAG_UNK24 = 0x20000000, ITEM_FIELD_FLAG_UNK25 = 0x40000000, ITEM_FIELD_FLAG_UNK26 = 0x80000000,
  ITEM_FIELD_FLAG_MAIL_TEXT_MASK = ITEM_FIELD_FLAG_READABLE | ITEM_FIELD_FLAG_UNK13 | ITEM_FIELD_FLAG_UNK14
}
 
enum  ItemFlags : uint32 {
  ITEM_FLAG_UNK1 = 0x00000001, ITEM_FLAG_CONJURED = 0x00000002, ITEM_FLAG_OPENABLE = 0x00000004, ITEM_FLAG_HEROIC = 0x00000008,
  ITEM_FLAG_DEPRECATED = 0x00000010, ITEM_FLAG_INDESTRUCTIBLE = 0x00000020, ITEM_FLAG_UNK2 = 0x00000040, ITEM_FLAG_NO_EQUIP_COOLDOWN = 0x00000080,
  ITEM_FLAG_UNK3 = 0x00000100, ITEM_FLAG_WRAPPER = 0x00000200, ITEM_FLAG_UNK4 = 0x00000400, ITEM_FLAG_PARTY_LOOT = 0x00000800,
  ITEM_FLAG_REFUNDABLE = 0x00001000, ITEM_FLAG_CHARTER = 0x00002000, ITEM_FLAG_UNK5 = 0x00004000, ITEM_FLAG_UNK6 = 0x00008000,
  ITEM_FLAG_UNK7 = 0x00010000, ITEM_FLAG_UNK8 = 0x00020000, ITEM_FLAG_PROSPECTABLE = 0x00040000, ITEM_FLAG_UNIQUE_EQUIPPED = 0x00080000,
  ITEM_FLAG_UNK9 = 0x00100000, ITEM_FLAG_USEABLE_IN_ARENA = 0x00200000, ITEM_FLAG_THROWABLE = 0x00400000, ITEM_FLAG_USABLE_WHEN_SHAPESHIFTED = 0x00800000,
  ITEM_FLAG_UNK10 = 0x01000000, ITEM_FLAG_SMART_LOOT = 0x02000000, ITEM_FLAG_NOT_USEABLE_IN_ARENA = 0x04000000, ITEM_FLAG_BIND_TO_ACCOUNT = 0x08000000,
  ITEM_FLAG_TRIGGERED_CAST = 0x10000000, ITEM_FLAG_MILLABLE = 0x20000000, ITEM_FLAG_UNK11 = 0x40000000, ITEM_FLAG_BOP_TRADEABLE = 0x80000000
}
 
enum  ItemFlags2 : uint32 {
  ITEM_FLAG2_HORDE_ONLY = 0x00000001, ITEM_FLAG2_ALLIANCE_ONLY = 0x00000002, ITEM_FLAG2_EXT_COST_REQUIRES_GOLD = 0x00000004, ITEM_FLAG2_UNK1 = 0x00000008,
  ITEM_FLAG2_UNK2 = 0x00000010, ITEM_FLAG2_UNK3 = 0x00000020, ITEM_FLAG2_UNK4 = 0x00000040, ITEM_FLAG2_UNK5 = 0x00000080,
  ITEM_FLAG2_NEED_ROLL_DISABLED = 0x00000100, ITEM_FLAG2_CASTER_WEAPON = 0x00000200, ITEM_FLAG2_UNK6 = 0x00000400, ITEM_FLAG2_UNK7 = 0x00000800,
  ITEM_FLAG2_UNK8 = 0x00001000, ITEM_FLAG2_UNK9 = 0x00002000, ITEM_FLAG2_HAS_NORMAL_PRICE = 0x00004000, ITEM_FLAG2_UNK10 = 0x00008000,
  ITEM_FLAG2_UNK11 = 0x00010000, ITEM_FLAG2_BNET_ACCOUNT_BOUND = 0x00020000, ITEM_FLAG2_UNK12 = 0x00040000, ITEM_FLAG2_UNK13 = 0x00080000,
  ITEM_FLAG2_UNK14 = 0x00100000, ITEM_FLAG2_CANNOT_BE_TRANSMOG = 0x00200000, ITEM_FLAG2_CANNOT_TRANSMOG = 0x00400000, ITEM_FLAG2_CAN_TRANSMOG = 0x00800000,
  ITEM_FLAG2_UNK15 = 0x01000000, ITEM_FLAG2_UNK16 = 0x02000000, ITEM_FLAG2_UNK17 = 0x04000000, ITEM_FLAG2_UNK18 = 0x08000000,
  ITEM_FLAG2_UNK19 = 0x10000000, ITEM_FLAG2_UNK20 = 0x20000000, ITEM_FLAG2_UNK21 = 0x40000000, ITEM_FLAG2_CRAFTING_MATERIAL = 0x80000000
}
 
enum  ItemFlags3 {
  ITEM_FLAG3_UNK1 = 0x00000001, ITEM_FLAG3_UNK2 = 0x00000002, ITEM_FLAG3_UNK3 = 0x00000004, ITEM_FLAG3_UNK4 = 0x00000008,
  ITEM_FLAG3_UNK5 = 0x00000010, ITEM_FLAG3_UNK6 = 0x00000020, ITEM_FLAG3_UNK7 = 0x00000040, ITEM_FLAG3_IGNORE_ITEM_LEVEL_DELTAS = 0x00000080,
  ITEM_FLAG3_IGNORE_PVP_ITEM_LEVEL_CAP = 0x00000100, ITEM_FLAG3_HEIRLOOM_QUALITY = 0x00000200, ITEM_FLAG3_UNK8 = 0x00000400, ITEM_FLAG3_UNK9 = 0x00000800,
  ITEM_FLAG3_DOESNT_APPEAR_IN_GUILD_NEWS = 0x00001000, ITEM_FLAG3_UNK10 = 0x00002000, ITEM_FLAG3_UNK11 = 0x00004000, ITEM_FLAG3_UNK12 = 0x00008000,
  ITEM_FLAG3_UNK13 = 0x00010000, ITEM_FLAG3_UNK14 = 0x00020000, ITEM_FLAG3_UNK15 = 0x00040000
}
 
enum  ItemFlagsCustom { ITEM_FLAGS_CU_DURATION_REAL_TIME = 0x0001, ITEM_FLAGS_CU_IGNORE_QUEST_STATUS = 0x0002, ITEM_FLAGS_CU_FOLLOW_LOOT_RULES = 0x0004 }
 
enum  CurrencyFlags { CURRENCY_FLAG_TRADEABLE = 0x01, CURRENCY_FLAG_HIGH_PRECISION = 0x08, CURRENCY_FLAG_COUNT_SEASON_TOTAL = 0x80 }
 
enum  CurrencyCategory { CURRENCY_CATEGORY_META_CONQUEST = 89 }
 
enum  ItemVendorType { ITEM_VENDOR_TYPE_NONE = 0, ITEM_VENDOR_TYPE_ITEM = 1, ITEM_VENDOR_TYPE_CURRENCY = 2 }
 
enum  BAG_FAMILY_MASK {
  BAG_FAMILY_MASK_NONE = 0x00000000, BAG_FAMILY_MASK_ARROWS = 0x00000001, BAG_FAMILY_MASK_BULLETS = 0x00000002, BAG_FAMILY_MASK_SOUL_SHARDS = 0x00000004,
  BAG_FAMILY_MASK_LEATHERWORKING_SUPP = 0x00000008, BAG_FAMILY_MASK_INSCRIPTION_SUPP = 0x00000010, BAG_FAMILY_MASK_HERBS = 0x00000020, BAG_FAMILY_MASK_ENCHANTING_SUPP = 0x00000040,
  BAG_FAMILY_MASK_ENGINEERING_SUPP = 0x00000080, BAG_FAMILY_MASK_KEYS = 0x00000100, BAG_FAMILY_MASK_GEMS = 0x00000200, BAG_FAMILY_MASK_MINING_SUPP = 0x00000400,
  BAG_FAMILY_MASK_SOULBOUND_EQUIPMENT = 0x00000800, BAG_FAMILY_MASK_VANITY_PETS = 0x00001000, BAG_FAMILY_MASK_CURRENCY_TOKENS = 0x00002000, BAG_FAMILY_MASK_QUEST_ITEMS = 0x00004000,
  BAG_FAMILY_MASK_FISHING_SUPP = 0x00008000, BAG_FAMILY_MASK_COOKING_SUPP = 0x00010000
}
 
enum  SocketColor {
  SOCKET_COLOR_META = 1, SOCKET_COLOR_RED = 2, SOCKET_COLOR_YELLOW = 4, SOCKET_COLOR_BLUE = 8,
  SOCKET_COLOR_HYDRAULIC = 16, SOCKET_COLOR_COGWHEEL = 32
}
 
enum  InventoryType {
  INVTYPE_NON_EQUIP = 0, INVTYPE_HEAD = 1, INVTYPE_NECK = 2, INVTYPE_SHOULDERS = 3,
  INVTYPE_BODY = 4, INVTYPE_CHEST = 5, INVTYPE_WAIST = 6, INVTYPE_LEGS = 7,
  INVTYPE_FEET = 8, INVTYPE_WRISTS = 9, INVTYPE_HANDS = 10, INVTYPE_FINGER = 11,
  INVTYPE_TRINKET = 12, INVTYPE_WEAPON = 13, INVTYPE_SHIELD = 14, INVTYPE_RANGED = 15,
  INVTYPE_CLOAK = 16, INVTYPE_2HWEAPON = 17, INVTYPE_BAG = 18, INVTYPE_TABARD = 19,
  INVTYPE_ROBE = 20, INVTYPE_WEAPONMAINHAND = 21, INVTYPE_WEAPONOFFHAND = 22, INVTYPE_HOLDABLE = 23,
  INVTYPE_AMMO = 24, INVTYPE_THROWN = 25, INVTYPE_RANGEDRIGHT = 26, INVTYPE_QUIVER = 27,
  INVTYPE_RELIC = 28
}
 
enum  ItemClass {
  ITEM_CLASS_CONSUMABLE = 0, ITEM_CLASS_CONTAINER = 1, ITEM_CLASS_WEAPON = 2, ITEM_CLASS_GEM = 3,
  ITEM_CLASS_ARMOR = 4, ITEM_CLASS_REAGENT = 5, ITEM_CLASS_PROJECTILE = 6, ITEM_CLASS_TRADE_GOODS = 7,
  ITEM_CLASS_GENERIC = 8, ITEM_CLASS_RECIPE = 9, ITEM_CLASS_MONEY = 10, ITEM_CLASS_QUIVER = 11,
  ITEM_CLASS_QUEST = 12, ITEM_CLASS_KEY = 13, ITEM_CLASS_PERMANENT = 14, ITEM_CLASS_MISCELLANEOUS = 15,
  ITEM_CLASS_GLYPH = 16
}
 
enum  ItemSubclassConsumable {
  ITEM_SUBCLASS_CONSUMABLE = 0, ITEM_SUBCLASS_POTION = 1, ITEM_SUBCLASS_ELIXIR = 2, ITEM_SUBCLASS_FLASK = 3,
  ITEM_SUBCLASS_SCROLL = 4, ITEM_SUBCLASS_FOOD_DRINK = 5, ITEM_SUBCLASS_ITEM_ENHANCEMENT = 6, ITEM_SUBCLASS_BANDAGE = 7,
  ITEM_SUBCLASS_CONSUMABLE_OTHER = 8
}
 
enum  ItemSubclassContainer {
  ITEM_SUBCLASS_CONTAINER = 0, ITEM_SUBCLASS_SOUL_CONTAINER = 1, ITEM_SUBCLASS_HERB_CONTAINER = 2, ITEM_SUBCLASS_ENCHANTING_CONTAINER = 3,
  ITEM_SUBCLASS_ENGINEERING_CONTAINER = 4, ITEM_SUBCLASS_GEM_CONTAINER = 5, ITEM_SUBCLASS_MINING_CONTAINER = 6, ITEM_SUBCLASS_LEATHERWORKING_CONTAINER = 7,
  ITEM_SUBCLASS_INSCRIPTION_CONTAINER = 8, ITEM_SUBCLASS_TACKLE_CONTAINER = 9, ITEM_SUBCLASS_COOKING_CONTAINER = 10
}
 
enum  ItemSubclassWeapon {
  ITEM_SUBCLASS_WEAPON_AXE = 0, ITEM_SUBCLASS_WEAPON_AXE2 = 1, ITEM_SUBCLASS_WEAPON_BOW = 2, ITEM_SUBCLASS_WEAPON_GUN = 3,
  ITEM_SUBCLASS_WEAPON_MACE = 4, ITEM_SUBCLASS_WEAPON_MACE2 = 5, ITEM_SUBCLASS_WEAPON_POLEARM = 6, ITEM_SUBCLASS_WEAPON_SWORD = 7,
  ITEM_SUBCLASS_WEAPON_SWORD2 = 8, ITEM_SUBCLASS_WEAPON_Obsolete = 9, ITEM_SUBCLASS_WEAPON_STAFF = 10, ITEM_SUBCLASS_WEAPON_EXOTIC = 11,
  ITEM_SUBCLASS_WEAPON_EXOTIC2 = 12, ITEM_SUBCLASS_WEAPON_FIST_WEAPON = 13, ITEM_SUBCLASS_WEAPON_MISCELLANEOUS = 14, ITEM_SUBCLASS_WEAPON_DAGGER = 15,
  ITEM_SUBCLASS_WEAPON_THROWN = 16, ITEM_SUBCLASS_WEAPON_SPEAR = 17, ITEM_SUBCLASS_WEAPON_CROSSBOW = 18, ITEM_SUBCLASS_WEAPON_WAND = 19,
  ITEM_SUBCLASS_WEAPON_FISHING_POLE = 20
}
 
enum  ItemSubclassGem {
  ITEM_SUBCLASS_GEM_RED = 0, ITEM_SUBCLASS_GEM_BLUE = 1, ITEM_SUBCLASS_GEM_YELLOW = 2, ITEM_SUBCLASS_GEM_PURPLE = 3,
  ITEM_SUBCLASS_GEM_GREEN = 4, ITEM_SUBCLASS_GEM_ORANGE = 5, ITEM_SUBCLASS_GEM_META = 6, ITEM_SUBCLASS_GEM_SIMPLE = 7,
  ITEM_SUBCLASS_GEM_PRISMATIC = 8, ITEM_SUBCLASS_GEM_HYDRAULIC = 9, ITEM_SUBCLASS_GEM_COGWHEEL = 10
}
 
enum  ItemSubclassArmor {
  ITEM_SUBCLASS_ARMOR_MISCELLANEOUS = 0, ITEM_SUBCLASS_ARMOR_CLOTH = 1, ITEM_SUBCLASS_ARMOR_LEATHER = 2, ITEM_SUBCLASS_ARMOR_MAIL = 3,
  ITEM_SUBCLASS_ARMOR_PLATE = 4, ITEM_SUBCLASS_ARMOR_BUCKLER = 5, ITEM_SUBCLASS_ARMOR_SHIELD = 6, ITEM_SUBCLASS_ARMOR_LIBRAM = 7,
  ITEM_SUBCLASS_ARMOR_IDOL = 8, ITEM_SUBCLASS_ARMOR_TOTEM = 9, ITEM_SUBCLASS_ARMOR_SIGIL = 10, ITEM_SUBCLASS_ARMOR_RELIC = 11
}
 
enum  ItemSubclassReagent { ITEM_SUBCLASS_REAGENT = 0 }
 
enum  ItemSubclassProjectile {
  ITEM_SUBCLASS_WAND = 0, ITEM_SUBCLASS_BOLT = 1, ITEM_SUBCLASS_ARROW = 2, ITEM_SUBCLASS_BULLET = 3,
  ITEM_SUBCLASS_THROWN = 4
}
 
enum  ItemSubclassTradeGoods {
  ITEM_SUBCLASS_TRADE_GOODS = 0, ITEM_SUBCLASS_PARTS = 1, ITEM_SUBCLASS_EXPLOSIVES = 2, ITEM_SUBCLASS_DEVICES = 3,
  ITEM_SUBCLASS_JEWELCRAFTING = 4, ITEM_SUBCLASS_CLOTH = 5, ITEM_SUBCLASS_LEATHER = 6, ITEM_SUBCLASS_METAL_STONE = 7,
  ITEM_SUBCLASS_MEAT = 8, ITEM_SUBCLASS_HERB = 9, ITEM_SUBCLASS_ELEMENTAL = 10, ITEM_SUBCLASS_TRADE_GOODS_OTHER = 11,
  ITEM_SUBCLASS_ENCHANTING = 12, ITEM_SUBCLASS_MATERIAL = 13, ITEM_SUBCLASS_ENCHANTMENT = 14
}
 
enum  ItemSubclassGeneric { ITEM_SUBCLASS_GENERIC = 0 }
 
enum  ItemSubclassRecipe {
  ITEM_SUBCLASS_BOOK = 0, ITEM_SUBCLASS_LEATHERWORKING_PATTERN = 1, ITEM_SUBCLASS_TAILORING_PATTERN = 2, ITEM_SUBCLASS_ENGINEERING_SCHEMATIC = 3,
  ITEM_SUBCLASS_BLACKSMITHING = 4, ITEM_SUBCLASS_COOKING_RECIPE = 5, ITEM_SUBCLASS_ALCHEMY_RECIPE = 6, ITEM_SUBCLASS_FIRST_AID_MANUAL = 7,
  ITEM_SUBCLASS_ENCHANTING_FORMULA = 8, ITEM_SUBCLASS_FISHING_MANUAL = 9, ITEM_SUBCLASS_JEWELCRAFTING_RECIPE = 10, ITEM_SUBCLASS_INSCRIPTION_TECHNIQUE = 11
}
 
enum  ItemSubclassMoney { ITEM_SUBCLASS_MONEY = 0, ITEM_SUBCLASS_MONEY_UNK_7 = 7 }
 
enum  ItemSubclassQuiver { ITEM_SUBCLASS_QUIVER0 = 0, ITEM_SUBCLASS_QUIVER1 = 1, ITEM_SUBCLASS_QUIVER = 2, ITEM_SUBCLASS_AMMO_POUCH = 3 }
 
enum  ItemSubclassQuest { ITEM_SUBCLASS_QUEST = 0, ITEM_SUBCLASS_QUEST_UNK3 = 3, ITEM_SUBCLASS_QUEST_UNK8 = 8 }
 
enum  ItemSubclassKey { ITEM_SUBCLASS_KEY = 0, ITEM_SUBCLASS_LOCKPICK = 1 }
 
enum  ItemSubclassPermanent { ITEM_SUBCLASS_PERMANENT = 0 }
 
enum  ItemSubclassJunk {
  ITEM_SUBCLASS_JUNK = 0, ITEM_SUBCLASS_JUNK_REAGENT = 1, ITEM_SUBCLASS_JUNK_PET = 2, ITEM_SUBCLASS_JUNK_HOLIDAY = 3,
  ITEM_SUBCLASS_JUNK_OTHER = 4, ITEM_SUBCLASS_JUNK_MOUNT = 5, ITEM_SUBCLASS_JUNK_UNK12 = 12
}
 
enum  ItemSubclassGlyph {
  ITEM_SUBCLASS_GLYPH_WARRIOR = 1, ITEM_SUBCLASS_GLYPH_PALADIN = 2, ITEM_SUBCLASS_GLYPH_HUNTER = 3, ITEM_SUBCLASS_GLYPH_ROGUE = 4,
  ITEM_SUBCLASS_GLYPH_PRIEST = 5, ITEM_SUBCLASS_GLYPH_DEATH_KNIGHT = 6, ITEM_SUBCLASS_GLYPH_SHAMAN = 7, ITEM_SUBCLASS_GLYPH_MAGE = 8,
  ITEM_SUBCLASS_GLYPH_WARLOCK = 9, ITEM_SUBCLASS_GLYPH_DRUID = 11
}
 

Variables

const uint32 MaxItemSubclassValues [MAX_ITEM_CLASS]
 

Macro Definition Documentation

#define ITEM_SUBCLASS_MASK_WEAPON_RANGED
Value:
(\
Definition: ItemTemplate.h:424
Definition: ItemTemplate.h:425
Definition: ItemTemplate.h:440
#define MAX_BIND_TYPE   6
#define MAX_INVTYPE   29
#define MAX_ITEM_CLASS   17
#define MAX_ITEM_LEVEL   1000
#define MAX_ITEM_SPELLTRIGGER   7
#define MAX_ITEM_SUBCLASS_ARMOR   12
#define MAX_ITEM_SUBCLASS_CONSUMABLE   9
#define MAX_ITEM_SUBCLASS_CONTAINER   11
#define MAX_ITEM_SUBCLASS_GEM   11
#define MAX_ITEM_SUBCLASS_GENERIC   1
#define MAX_ITEM_SUBCLASS_GLYPH   12
#define MAX_ITEM_SUBCLASS_JUNK   13
#define MAX_ITEM_SUBCLASS_KEY   2
#define MAX_ITEM_SUBCLASS_MONEY   8
#define MAX_ITEM_SUBCLASS_PERMANENT   1
#define MAX_ITEM_SUBCLASS_PROJECTILE   5
#define MAX_ITEM_SUBCLASS_QUEST   9
#define MAX_ITEM_SUBCLASS_QUIVER   4
#define MAX_ITEM_SUBCLASS_REAGENT   1
#define MAX_ITEM_SUBCLASS_RECIPE   12
#define MAX_ITEM_SUBCLASS_TRADE_GOODS   15
#define MAX_ITEM_SUBCLASS_WEAPON   21
#define MIN_ITEM_LEVEL   1

Typedef Documentation

typedef std::unordered_map<uint32, ItemTemplate> ItemTemplateContainer

Enumeration Type Documentation

Enumerator
BAG_FAMILY_MASK_NONE 
BAG_FAMILY_MASK_ARROWS 
BAG_FAMILY_MASK_BULLETS 
BAG_FAMILY_MASK_SOUL_SHARDS 
BAG_FAMILY_MASK_LEATHERWORKING_SUPP 
BAG_FAMILY_MASK_INSCRIPTION_SUPP 
BAG_FAMILY_MASK_HERBS 
BAG_FAMILY_MASK_ENCHANTING_SUPP 
BAG_FAMILY_MASK_ENGINEERING_SUPP 
BAG_FAMILY_MASK_KEYS 
BAG_FAMILY_MASK_GEMS 
BAG_FAMILY_MASK_MINING_SUPP 
BAG_FAMILY_MASK_SOULBOUND_EQUIPMENT 
BAG_FAMILY_MASK_VANITY_PETS 
BAG_FAMILY_MASK_CURRENCY_TOKENS 
BAG_FAMILY_MASK_QUEST_ITEMS 
BAG_FAMILY_MASK_FISHING_SUPP 
BAG_FAMILY_MASK_COOKING_SUPP 
297 {
298  BAG_FAMILY_MASK_NONE = 0x00000000,
299  BAG_FAMILY_MASK_ARROWS = 0x00000001,
300  BAG_FAMILY_MASK_BULLETS = 0x00000002,
301  BAG_FAMILY_MASK_SOUL_SHARDS = 0x00000004,
304  BAG_FAMILY_MASK_HERBS = 0x00000020,
305  BAG_FAMILY_MASK_ENCHANTING_SUPP = 0x00000040,
307  BAG_FAMILY_MASK_KEYS = 0x00000100,
308  BAG_FAMILY_MASK_GEMS = 0x00000200,
309  BAG_FAMILY_MASK_MINING_SUPP = 0x00000400,
311  BAG_FAMILY_MASK_VANITY_PETS = 0x00001000,
312  BAG_FAMILY_MASK_CURRENCY_TOKENS = 0x00002000,
313  BAG_FAMILY_MASK_QUEST_ITEMS = 0x00004000,
314  BAG_FAMILY_MASK_FISHING_SUPP = 0x00008000,
315  BAG_FAMILY_MASK_COOKING_SUPP = 0x00010000,
316 };
Definition: ItemTemplate.h:315
Definition: ItemTemplate.h:312
Definition: ItemTemplate.h:310
Definition: ItemTemplate.h:309
Definition: ItemTemplate.h:303
Definition: ItemTemplate.h:304
Definition: ItemTemplate.h:299
Definition: ItemTemplate.h:308
Definition: ItemTemplate.h:313
Definition: ItemTemplate.h:298
Definition: ItemTemplate.h:311
Definition: ItemTemplate.h:300
Definition: ItemTemplate.h:307
Definition: ItemTemplate.h:301
Definition: ItemTemplate.h:306
Definition: ItemTemplate.h:302
Definition: ItemTemplate.h:305
Definition: ItemTemplate.h:314
Enumerator
CURRENCY_CATEGORY_META_CONQUEST 
283 {
284  // ...
286  // ...
287 };
Definition: ItemTemplate.h:285
Enumerator
CURRENCY_FLAG_TRADEABLE 
CURRENCY_FLAG_HIGH_PRECISION 
CURRENCY_FLAG_COUNT_SEASON_TOTAL 
274 {
276  // ...
278  // ...
280 };
Definition: ItemTemplate.h:277
Definition: ItemTemplate.h:275
Definition: ItemTemplate.h:279
Enumerator
INVTYPE_NON_EQUIP 
INVTYPE_HEAD 
INVTYPE_NECK 
INVTYPE_SHOULDERS 
INVTYPE_BODY 
INVTYPE_CHEST 
INVTYPE_WAIST 
INVTYPE_LEGS 
INVTYPE_FEET 
INVTYPE_WRISTS 
INVTYPE_HANDS 
INVTYPE_FINGER 
INVTYPE_TRINKET 
INVTYPE_WEAPON 
INVTYPE_SHIELD 
INVTYPE_RANGED 
INVTYPE_CLOAK 
INVTYPE_2HWEAPON 
INVTYPE_BAG 
INVTYPE_TABARD 
INVTYPE_ROBE 
INVTYPE_WEAPONMAINHAND 
INVTYPE_WEAPONOFFHAND 
INVTYPE_HOLDABLE 
INVTYPE_AMMO 
INVTYPE_THROWN 
INVTYPE_RANGEDRIGHT 
INVTYPE_QUIVER 
INVTYPE_RELIC 
331 {
332  INVTYPE_NON_EQUIP = 0,
333  INVTYPE_HEAD = 1,
334  INVTYPE_NECK = 2,
335  INVTYPE_SHOULDERS = 3,
336  INVTYPE_BODY = 4,
337  INVTYPE_CHEST = 5,
338  INVTYPE_WAIST = 6,
339  INVTYPE_LEGS = 7,
340  INVTYPE_FEET = 8,
341  INVTYPE_WRISTS = 9,
342  INVTYPE_HANDS = 10,
343  INVTYPE_FINGER = 11,
344  INVTYPE_TRINKET = 12,
345  INVTYPE_WEAPON = 13,
346  INVTYPE_SHIELD = 14,
347  INVTYPE_RANGED = 15,
348  INVTYPE_CLOAK = 16,
349  INVTYPE_2HWEAPON = 17,
350  INVTYPE_BAG = 18,
351  INVTYPE_TABARD = 19,
352  INVTYPE_ROBE = 20,
355  INVTYPE_HOLDABLE = 23,
356  INVTYPE_AMMO = 24,
357  INVTYPE_THROWN = 25,
358  INVTYPE_RANGEDRIGHT = 26,
359  INVTYPE_QUIVER = 27,
360  INVTYPE_RELIC = 28
361 };
Definition: ItemTemplate.h:360
Definition: ItemTemplate.h:352
Definition: ItemTemplate.h:344
Definition: ItemTemplate.h:351
Definition: ItemTemplate.h:348
Definition: ItemTemplate.h:334
Definition: ItemTemplate.h:332
Definition: ItemTemplate.h:343
Definition: ItemTemplate.h:335
Definition: ItemTemplate.h:345
Definition: ItemTemplate.h:346
Definition: ItemTemplate.h:333
Definition: ItemTemplate.h:340
Definition: ItemTemplate.h:354
Definition: ItemTemplate.h:359
Definition: ItemTemplate.h:347
Definition: ItemTemplate.h:356
Definition: ItemTemplate.h:337
Definition: ItemTemplate.h:350
Definition: ItemTemplate.h:357
Definition: ItemTemplate.h:349
Definition: ItemTemplate.h:353
Definition: ItemTemplate.h:336
Definition: ItemTemplate.h:342
Definition: ItemTemplate.h:339
Definition: ItemTemplate.h:358
Definition: ItemTemplate.h:355
Definition: ItemTemplate.h:341
Definition: ItemTemplate.h:338
Enumerator
NO_BIND 
BIND_WHEN_PICKED_UP 
BIND_WHEN_EQUIPED 
BIND_WHEN_USE 
BIND_QUEST_ITEM 
BIND_QUEST_ITEM1 
118 {
119  NO_BIND = 0,
121  BIND_WHEN_EQUIPED = 2,
122  BIND_WHEN_USE = 3,
123  BIND_QUEST_ITEM = 4,
124  BIND_QUEST_ITEM1 = 5 // not used in game
125 };
Definition: ItemTemplate.h:123
Definition: ItemTemplate.h:120
Definition: ItemTemplate.h:124
Definition: ItemTemplate.h:119
Definition: ItemTemplate.h:121
Definition: ItemTemplate.h:122
enum ItemClass
Enumerator
ITEM_CLASS_CONSUMABLE 
ITEM_CLASS_CONTAINER 
ITEM_CLASS_WEAPON 
ITEM_CLASS_GEM 
ITEM_CLASS_ARMOR 
ITEM_CLASS_REAGENT 
ITEM_CLASS_PROJECTILE 
ITEM_CLASS_TRADE_GOODS 
ITEM_CLASS_GENERIC 
ITEM_CLASS_RECIPE 
ITEM_CLASS_MONEY 
ITEM_CLASS_QUIVER 
ITEM_CLASS_QUEST 
ITEM_CLASS_KEY 
ITEM_CLASS_PERMANENT 
ITEM_CLASS_MISCELLANEOUS 
ITEM_CLASS_GLYPH 
366 {
369  ITEM_CLASS_WEAPON = 2,
370  ITEM_CLASS_GEM = 3,
371  ITEM_CLASS_ARMOR = 4,
372  ITEM_CLASS_REAGENT = 5,
375  ITEM_CLASS_GENERIC = 8, // OBSOLETE
376  ITEM_CLASS_RECIPE = 9,
377  ITEM_CLASS_MONEY = 10, // OBSOLETE
378  ITEM_CLASS_QUIVER = 11,
379  ITEM_CLASS_QUEST = 12,
380  ITEM_CLASS_KEY = 13,
381  ITEM_CLASS_PERMANENT = 14, // OBSOLETE
383  ITEM_CLASS_GLYPH = 16
384 };
Definition: ItemTemplate.h:381
Definition: ItemTemplate.h:373
Definition: ItemTemplate.h:375
Definition: ItemTemplate.h:382
Definition: ItemTemplate.h:376
Definition: ItemTemplate.h:377
Definition: ItemTemplate.h:380
Definition: ItemTemplate.h:368
Definition: ItemTemplate.h:378
Definition: ItemTemplate.h:383
Definition: ItemTemplate.h:369
Definition: ItemTemplate.h:370
Definition: ItemTemplate.h:367
Definition: ItemTemplate.h:372
Definition: ItemTemplate.h:379
Definition: ItemTemplate.h:371
Definition: ItemTemplate.h:374
Enumerator
ITEM_FIELD_FLAG_SOULBOUND 
ITEM_FIELD_FLAG_TRANSLATED 
ITEM_FIELD_FLAG_UNLOCKED 
ITEM_FIELD_FLAG_WRAPPED 
ITEM_FIELD_FLAG_UNK2 
ITEM_FIELD_FLAG_UNK3 
ITEM_FIELD_FLAG_UNK4 
ITEM_FIELD_FLAG_UNK5 
ITEM_FIELD_FLAG_BOP_TRADEABLE 
ITEM_FIELD_FLAG_READABLE 
ITEM_FIELD_FLAG_UNK6 
ITEM_FIELD_FLAG_UNK7 
ITEM_FIELD_FLAG_REFUNDABLE 
ITEM_FIELD_FLAG_UNK8 
ITEM_FIELD_FLAG_UNK9 
ITEM_FIELD_FLAG_UNK10 
ITEM_FIELD_FLAG_UNK11 
ITEM_FIELD_FLAG_UNK12 
ITEM_FIELD_FLAG_UNK13 
ITEM_FIELD_FLAG_UNK14 
ITEM_FIELD_FLAG_UNK15 
ITEM_FIELD_FLAG_UNK16 
ITEM_FIELD_FLAG_UNK17 
ITEM_FIELD_FLAG_UNK18 
ITEM_FIELD_FLAG_UNK19 
ITEM_FIELD_FLAG_UNK20 
ITEM_FIELD_FLAG_UNK21 
ITEM_FIELD_FLAG_UNK22 
ITEM_FIELD_FLAG_UNK23 
ITEM_FIELD_FLAG_UNK24 
ITEM_FIELD_FLAG_UNK25 
ITEM_FIELD_FLAG_UNK26 
ITEM_FIELD_FLAG_MAIL_TEXT_MASK 
133  : uint32
134 {
135  ITEM_FIELD_FLAG_SOULBOUND = 0x00000001, // Item is soulbound and cannot be traded <<--
136  ITEM_FIELD_FLAG_TRANSLATED = 0x00000002, // Item text will not read as garbage when player does not know the language
137  ITEM_FIELD_FLAG_UNLOCKED = 0x00000004, // Item had lock but can be opened now
138  ITEM_FIELD_FLAG_WRAPPED = 0x00000008, // Item is wrapped and contains another item
139  ITEM_FIELD_FLAG_UNK2 = 0x00000010,
140  ITEM_FIELD_FLAG_UNK3 = 0x00000020,
141  ITEM_FIELD_FLAG_UNK4 = 0x00000040,
142  ITEM_FIELD_FLAG_UNK5 = 0x00000080,
143  ITEM_FIELD_FLAG_BOP_TRADEABLE = 0x00000100, // Allows trading soulbound items
144  ITEM_FIELD_FLAG_READABLE = 0x00000200, // Opens text page when right clicked
145  ITEM_FIELD_FLAG_UNK6 = 0x00000400,
146  ITEM_FIELD_FLAG_UNK7 = 0x00000800,
147  ITEM_FIELD_FLAG_REFUNDABLE = 0x00001000, // Item can be returned to vendor for its original cost (extended cost)
148  ITEM_FIELD_FLAG_UNK8 = 0x00002000,
149  ITEM_FIELD_FLAG_UNK9 = 0x00004000,
150  ITEM_FIELD_FLAG_UNK10 = 0x00008000,
151  ITEM_FIELD_FLAG_UNK11 = 0x00010000,
152  ITEM_FIELD_FLAG_UNK12 = 0x00020000,
153  ITEM_FIELD_FLAG_UNK13 = 0x00040000,
154  ITEM_FIELD_FLAG_UNK14 = 0x00080000,
155  ITEM_FIELD_FLAG_UNK15 = 0x00100000,
156  ITEM_FIELD_FLAG_UNK16 = 0x00200000,
157  ITEM_FIELD_FLAG_UNK17 = 0x00400000,
158  ITEM_FIELD_FLAG_UNK18 = 0x00800000,
159  ITEM_FIELD_FLAG_UNK19 = 0x01000000,
160  ITEM_FIELD_FLAG_UNK20 = 0x02000000,
161  ITEM_FIELD_FLAG_UNK21 = 0x04000000,
162  ITEM_FIELD_FLAG_UNK22 = 0x08000000,
163  ITEM_FIELD_FLAG_UNK23 = 0x10000000,
164  ITEM_FIELD_FLAG_UNK24 = 0x20000000,
165  ITEM_FIELD_FLAG_UNK25 = 0x40000000,
166  ITEM_FIELD_FLAG_UNK26 = 0x80000000,
167 
169 };
Definition: ItemTemplate.h:153
Definition: ItemTemplate.h:140
Definition: ItemTemplate.h:168
Definition: ItemTemplate.h:135
Definition: ItemTemplate.h:149
Definition: ItemTemplate.h:136
Definition: ItemTemplate.h:138
Definition: ItemTemplate.h:164
Definition: ItemTemplate.h:145
Definition: ItemTemplate.h:155
Definition: ItemTemplate.h:162
Definition: ItemTemplate.h:139
Definition: ItemTemplate.h:152
Definition: ItemTemplate.h:150
Definition: ItemTemplate.h:163
Definition: ItemTemplate.h:160
Definition: ItemTemplate.h:165
Definition: ItemTemplate.h:166
Definition: ItemTemplate.h:141
uint32_t uint32
Definition: Define.h:150
Definition: ItemTemplate.h:157
Definition: ItemTemplate.h:159
Definition: ItemTemplate.h:142
Definition: ItemTemplate.h:143
Definition: ItemTemplate.h:161
Definition: ItemTemplate.h:147
Definition: ItemTemplate.h:158
Definition: ItemTemplate.h:154
Definition: ItemTemplate.h:148
Definition: ItemTemplate.h:151
Definition: ItemTemplate.h:146
Definition: ItemTemplate.h:137
Definition: ItemTemplate.h:144
Definition: ItemTemplate.h:156
enum ItemFlags : uint32
Enumerator
ITEM_FLAG_UNK1 
ITEM_FLAG_CONJURED 
ITEM_FLAG_OPENABLE 
ITEM_FLAG_HEROIC 
ITEM_FLAG_DEPRECATED 
ITEM_FLAG_INDESTRUCTIBLE 
ITEM_FLAG_UNK2 
ITEM_FLAG_NO_EQUIP_COOLDOWN 
ITEM_FLAG_UNK3 
ITEM_FLAG_WRAPPER 
ITEM_FLAG_UNK4 
ITEM_FLAG_PARTY_LOOT 
ITEM_FLAG_REFUNDABLE 
ITEM_FLAG_CHARTER 
ITEM_FLAG_UNK5 
ITEM_FLAG_UNK6 
ITEM_FLAG_UNK7 
ITEM_FLAG_UNK8 
ITEM_FLAG_PROSPECTABLE 
ITEM_FLAG_UNIQUE_EQUIPPED 
ITEM_FLAG_UNK9 
ITEM_FLAG_USEABLE_IN_ARENA 
ITEM_FLAG_THROWABLE 
ITEM_FLAG_USABLE_WHEN_SHAPESHIFTED 
ITEM_FLAG_UNK10 
ITEM_FLAG_SMART_LOOT 
ITEM_FLAG_NOT_USEABLE_IN_ARENA 
ITEM_FLAG_BIND_TO_ACCOUNT 
ITEM_FLAG_TRIGGERED_CAST 
ITEM_FLAG_MILLABLE 
ITEM_FLAG_UNK11 
ITEM_FLAG_BOP_TRADEABLE 
171  : uint32
172 {
173  ITEM_FLAG_UNK1 = 0x00000001,
174  ITEM_FLAG_CONJURED = 0x00000002, // Conjured item
175  ITEM_FLAG_OPENABLE = 0x00000004, // Item can be right clicked to open for loot
176  ITEM_FLAG_HEROIC = 0x00000008, // Makes green "Heroic" text appear on item
177  ITEM_FLAG_DEPRECATED = 0x00000010, // Cannot equip or use
178  ITEM_FLAG_INDESTRUCTIBLE = 0x00000020, // Item can not be destroyed, except by using spell (item can be reagent for spell)
179  ITEM_FLAG_UNK2 = 0x00000040,
180  ITEM_FLAG_NO_EQUIP_COOLDOWN = 0x00000080, // No default 30 seconds cooldown when equipped
181  ITEM_FLAG_UNK3 = 0x00000100,
182  ITEM_FLAG_WRAPPER = 0x00000200, // Item can wrap other items
183  ITEM_FLAG_UNK4 = 0x00000400,
184  ITEM_FLAG_PARTY_LOOT = 0x00000800, // Looting this item does not remove it from available loot
185  ITEM_FLAG_REFUNDABLE = 0x00001000, // Item can be returned to vendor for its original cost (extended cost)
186  ITEM_FLAG_CHARTER = 0x00002000, // Item is guild or arena charter
187  ITEM_FLAG_UNK5 = 0x00004000, // Only readable items have this (but not all)
188  ITEM_FLAG_UNK6 = 0x00008000,
189  ITEM_FLAG_UNK7 = 0x00010000,
190  ITEM_FLAG_UNK8 = 0x00020000,
191  ITEM_FLAG_PROSPECTABLE = 0x00040000, // Item can be prospected
192  ITEM_FLAG_UNIQUE_EQUIPPED = 0x00080000, // You can only equip one of these
193  ITEM_FLAG_UNK9 = 0x00100000,
194  ITEM_FLAG_USEABLE_IN_ARENA = 0x00200000, // Item can be used during arena match
195  ITEM_FLAG_THROWABLE = 0x00400000, // Some Thrown weapons have it (and only Thrown) but not all
196  ITEM_FLAG_USABLE_WHEN_SHAPESHIFTED = 0x00800000, // Item can be used in shapeshift forms
197  ITEM_FLAG_UNK10 = 0x01000000,
198  ITEM_FLAG_SMART_LOOT = 0x02000000, // Profession recipes: can only be looted if you meet requirements and don't already know it
199  ITEM_FLAG_NOT_USEABLE_IN_ARENA = 0x04000000, // Item cannot be used in arena
200  ITEM_FLAG_BIND_TO_ACCOUNT = 0x08000000, // Item binds to account and can be sent only to your own characters
201  ITEM_FLAG_TRIGGERED_CAST = 0x10000000, // Spell is cast with triggered flag
202  ITEM_FLAG_MILLABLE = 0x20000000, // Item can be milled
203  ITEM_FLAG_UNK11 = 0x40000000,
204  ITEM_FLAG_BOP_TRADEABLE = 0x80000000 // bound item that can be traded
205 };
Definition: ItemTemplate.h:174
Definition: ItemTemplate.h:177
Definition: ItemTemplate.h:204
Definition: ItemTemplate.h:181
Definition: ItemTemplate.h:180
Definition: ItemTemplate.h:190
Definition: ItemTemplate.h:176
Definition: ItemTemplate.h:203
Definition: ItemTemplate.h:185
Definition: ItemTemplate.h:182
Definition: ItemTemplate.h:192
Definition: ItemTemplate.h:195
Definition: ItemTemplate.h:198
Definition: ItemTemplate.h:197
Definition: ItemTemplate.h:184
Definition: ItemTemplate.h:187
Definition: ItemTemplate.h:202
Definition: ItemTemplate.h:186
uint32_t uint32
Definition: Define.h:150
Definition: ItemTemplate.h:200
Definition: ItemTemplate.h:173
Definition: ItemTemplate.h:196
Definition: ItemTemplate.h:193
Definition: ItemTemplate.h:179
Definition: ItemTemplate.h:194
Definition: ItemTemplate.h:183
Definition: ItemTemplate.h:201
Definition: ItemTemplate.h:199
Definition: ItemTemplate.h:178
Definition: ItemTemplate.h:191
Definition: ItemTemplate.h:188
Definition: ItemTemplate.h:175
Definition: ItemTemplate.h:189
Enumerator
ITEM_FLAG2_HORDE_ONLY 
ITEM_FLAG2_ALLIANCE_ONLY 
ITEM_FLAG2_EXT_COST_REQUIRES_GOLD 
ITEM_FLAG2_UNK1 
ITEM_FLAG2_UNK2 
ITEM_FLAG2_UNK3 
ITEM_FLAG2_UNK4 
ITEM_FLAG2_UNK5 
ITEM_FLAG2_NEED_ROLL_DISABLED 
ITEM_FLAG2_CASTER_WEAPON 
ITEM_FLAG2_UNK6 
ITEM_FLAG2_UNK7 
ITEM_FLAG2_UNK8 
ITEM_FLAG2_UNK9 
ITEM_FLAG2_HAS_NORMAL_PRICE 
ITEM_FLAG2_UNK10 
ITEM_FLAG2_UNK11 
ITEM_FLAG2_BNET_ACCOUNT_BOUND 
ITEM_FLAG2_UNK12 
ITEM_FLAG2_UNK13 
ITEM_FLAG2_UNK14 
ITEM_FLAG2_CANNOT_BE_TRANSMOG 
ITEM_FLAG2_CANNOT_TRANSMOG 
ITEM_FLAG2_CAN_TRANSMOG 
ITEM_FLAG2_UNK15 
ITEM_FLAG2_UNK16 
ITEM_FLAG2_UNK17 
ITEM_FLAG2_UNK18 
ITEM_FLAG2_UNK19 
ITEM_FLAG2_UNK20 
ITEM_FLAG2_UNK21 
ITEM_FLAG2_CRAFTING_MATERIAL 
207  : uint32
208 {
209  ITEM_FLAG2_HORDE_ONLY = 0x00000001,
210  ITEM_FLAG2_ALLIANCE_ONLY = 0x00000002,
211  ITEM_FLAG2_EXT_COST_REQUIRES_GOLD = 0x00000004, // when item uses extended cost, gold is also required
212  ITEM_FLAG2_UNK1 = 0x00000008,
213  ITEM_FLAG2_UNK2 = 0x00000010,
214  ITEM_FLAG2_UNK3 = 0x00000020,
215  ITEM_FLAG2_UNK4 = 0x00000040,
216  ITEM_FLAG2_UNK5 = 0x00000080,
217  ITEM_FLAG2_NEED_ROLL_DISABLED = 0x00000100,
218  ITEM_FLAG2_CASTER_WEAPON = 0x00000200,
219  ITEM_FLAG2_UNK6 = 0x00000400,
220  ITEM_FLAG2_UNK7 = 0x00000800,
221  ITEM_FLAG2_UNK8 = 0x00001000,
222  ITEM_FLAG2_UNK9 = 0x00002000,
223  ITEM_FLAG2_HAS_NORMAL_PRICE = 0x00004000,
224  ITEM_FLAG2_UNK10 = 0x00008000,
225  ITEM_FLAG2_UNK11 = 0x00010000,
226  ITEM_FLAG2_BNET_ACCOUNT_BOUND = 0x00020000,
227  ITEM_FLAG2_UNK12 = 0x00040000,
228  ITEM_FLAG2_UNK13 = 0x00080000,
229  ITEM_FLAG2_UNK14 = 0x00100000,
230  ITEM_FLAG2_CANNOT_BE_TRANSMOG = 0x00200000,
231  ITEM_FLAG2_CANNOT_TRANSMOG = 0x00400000,
232  ITEM_FLAG2_CAN_TRANSMOG = 0x00800000,
233  ITEM_FLAG2_UNK15 = 0x01000000,
234  ITEM_FLAG2_UNK16 = 0x02000000,
235  ITEM_FLAG2_UNK17 = 0x04000000,
236  ITEM_FLAG2_UNK18 = 0x08000000,
237  ITEM_FLAG2_UNK19 = 0x10000000,
238  ITEM_FLAG2_UNK20 = 0x20000000,
239  ITEM_FLAG2_UNK21 = 0x40000000,
240  ITEM_FLAG2_CRAFTING_MATERIAL = 0x80000000
241 };
Definition: ItemTemplate.h:214
Definition: ItemTemplate.h:225
Definition: ItemTemplate.h:222
Definition: ItemTemplate.h:212
Definition: ItemTemplate.h:216
Definition: ItemTemplate.h:227
Definition: ItemTemplate.h:213
Definition: ItemTemplate.h:240
Definition: ItemTemplate.h:223
Definition: ItemTemplate.h:234
Definition: ItemTemplate.h:226
Definition: ItemTemplate.h:218
Definition: ItemTemplate.h:228
Definition: ItemTemplate.h:219
Definition: ItemTemplate.h:233
Definition: ItemTemplate.h:236
Definition: ItemTemplate.h:209
Definition: ItemTemplate.h:231
Definition: ItemTemplate.h:220
Definition: ItemTemplate.h:237
Definition: ItemTemplate.h:235
uint32_t uint32
Definition: Define.h:150
Definition: ItemTemplate.h:229
Definition: ItemTemplate.h:215
Definition: ItemTemplate.h:224
Definition: ItemTemplate.h:217
Definition: ItemTemplate.h:230
Definition: ItemTemplate.h:210
Definition: ItemTemplate.h:232
Definition: ItemTemplate.h:221
Definition: ItemTemplate.h:211
Definition: ItemTemplate.h:239
Definition: ItemTemplate.h:238
enum ItemFlags3
Enumerator
ITEM_FLAG3_UNK1 
ITEM_FLAG3_UNK2 
ITEM_FLAG3_UNK3 
ITEM_FLAG3_UNK4 
ITEM_FLAG3_UNK5 
ITEM_FLAG3_UNK6 
ITEM_FLAG3_UNK7 
ITEM_FLAG3_IGNORE_ITEM_LEVEL_DELTAS 
ITEM_FLAG3_IGNORE_PVP_ITEM_LEVEL_CAP 
ITEM_FLAG3_HEIRLOOM_QUALITY 
ITEM_FLAG3_UNK8 
ITEM_FLAG3_UNK9 
ITEM_FLAG3_DOESNT_APPEAR_IN_GUILD_NEWS 
ITEM_FLAG3_UNK10 
ITEM_FLAG3_UNK11 
ITEM_FLAG3_UNK12 
ITEM_FLAG3_UNK13 
ITEM_FLAG3_UNK14 
ITEM_FLAG3_UNK15 
244 {
245  ITEM_FLAG3_UNK1 = 0x00000001,
246  ITEM_FLAG3_UNK2 = 0x00000002,
247  ITEM_FLAG3_UNK3 = 0x00000004,
248  ITEM_FLAG3_UNK4 = 0x00000008,
249  ITEM_FLAG3_UNK5 = 0x00000010,
250  ITEM_FLAG3_UNK6 = 0x00000020,
251  ITEM_FLAG3_UNK7 = 0x00000040,
252  ITEM_FLAG3_IGNORE_ITEM_LEVEL_DELTAS = 0x00000080, // Ignore item level adjustments from PLAYER_FIELD_ITEM_LEVEL_DELTA
254  ITEM_FLAG3_HEIRLOOM_QUALITY = 0x00000200, // Item appears as having heirloom quality ingame regardless of its real quality (does not affect stat calculation)
255  ITEM_FLAG3_UNK8 = 0x00000400,
256  ITEM_FLAG3_UNK9 = 0x00000800,
257  ITEM_FLAG3_DOESNT_APPEAR_IN_GUILD_NEWS = 0x00001000, // Item is not included in the guild news panel
258  ITEM_FLAG3_UNK10 = 0x00002000,
259  ITEM_FLAG3_UNK11 = 0x00004000,
260  ITEM_FLAG3_UNK12 = 0x00008000,
261  ITEM_FLAG3_UNK13 = 0x00010000,
262  ITEM_FLAG3_UNK14 = 0x00020000,
263  ITEM_FLAG3_UNK15 = 0x00040000
264 };
Definition: ItemTemplate.h:259
Definition: ItemTemplate.h:252
Definition: ItemTemplate.h:254
Definition: ItemTemplate.h:247
Definition: ItemTemplate.h:258
Definition: ItemTemplate.h:260
Definition: ItemTemplate.h:245
Definition: ItemTemplate.h:251
Definition: ItemTemplate.h:253
Definition: ItemTemplate.h:255
Definition: ItemTemplate.h:249
Definition: ItemTemplate.h:246
Definition: ItemTemplate.h:250
Definition: ItemTemplate.h:257
Definition: ItemTemplate.h:262
Definition: ItemTemplate.h:263
Definition: ItemTemplate.h:261
Definition: ItemTemplate.h:256
Definition: ItemTemplate.h:248
Enumerator
ITEM_FLAGS_CU_DURATION_REAL_TIME 
ITEM_FLAGS_CU_IGNORE_QUEST_STATUS 
ITEM_FLAGS_CU_FOLLOW_LOOT_RULES 
267 {
268  ITEM_FLAGS_CU_DURATION_REAL_TIME = 0x0001, // Item duration will tick even if player is offline
269  ITEM_FLAGS_CU_IGNORE_QUEST_STATUS = 0x0002, // No quest status will be checked when this item drops
270  ITEM_FLAGS_CU_FOLLOW_LOOT_RULES = 0x0004 // Item will always follow group/master/need before greed looting rules
271 };
Definition: ItemTemplate.h:269
Definition: ItemTemplate.h:270
Definition: ItemTemplate.h:268
Enumerator
ITEM_MOD_MANA 
ITEM_MOD_HEALTH 
ITEM_MOD_AGILITY 
ITEM_MOD_STRENGTH 
ITEM_MOD_INTELLECT 
ITEM_MOD_SPIRIT 
ITEM_MOD_STAMINA 
ITEM_MOD_DEFENSE_SKILL_RATING 
ITEM_MOD_DODGE_RATING 
ITEM_MOD_PARRY_RATING 
ITEM_MOD_BLOCK_RATING 
ITEM_MOD_HIT_MELEE_RATING 
ITEM_MOD_HIT_RANGED_RATING 
ITEM_MOD_HIT_SPELL_RATING 
ITEM_MOD_CRIT_MELEE_RATING 
ITEM_MOD_CRIT_RANGED_RATING 
ITEM_MOD_CRIT_SPELL_RATING 
ITEM_MOD_HIT_TAKEN_MELEE_RATING 
ITEM_MOD_HIT_TAKEN_RANGED_RATING 
ITEM_MOD_HIT_TAKEN_SPELL_RATING 
ITEM_MOD_CRIT_TAKEN_MELEE_RATING 
ITEM_MOD_CRIT_TAKEN_RANGED_RATING 
ITEM_MOD_CRIT_TAKEN_SPELL_RATING 
ITEM_MOD_HASTE_MELEE_RATING 
ITEM_MOD_HASTE_RANGED_RATING 
ITEM_MOD_HASTE_SPELL_RATING 
ITEM_MOD_HIT_RATING 
ITEM_MOD_CRIT_RATING 
ITEM_MOD_HIT_TAKEN_RATING 
ITEM_MOD_CRIT_TAKEN_RATING 
ITEM_MOD_RESILIENCE_RATING 
ITEM_MOD_HASTE_RATING 
ITEM_MOD_EXPERTISE_RATING 
ITEM_MOD_ATTACK_POWER 
ITEM_MOD_RANGED_ATTACK_POWER 
ITEM_MOD_VERSATILITY 
ITEM_MOD_SPELL_HEALING_DONE 
ITEM_MOD_SPELL_DAMAGE_DONE 
ITEM_MOD_MANA_REGENERATION 
ITEM_MOD_ARMOR_PENETRATION_RATING 
ITEM_MOD_SPELL_POWER 
ITEM_MOD_HEALTH_REGEN 
ITEM_MOD_SPELL_PENETRATION 
ITEM_MOD_BLOCK_VALUE 
ITEM_MOD_MASTERY_RATING 
ITEM_MOD_EXTRA_ARMOR 
ITEM_MOD_FIRE_RESISTANCE 
ITEM_MOD_FROST_RESISTANCE 
ITEM_MOD_HOLY_RESISTANCE 
ITEM_MOD_SHADOW_RESISTANCE 
ITEM_MOD_NATURE_RESISTANCE 
ITEM_MOD_ARCANE_RESISTANCE 
ITEM_MOD_PVP_POWER 
ITEM_MOD_CR_AMPLIFY 
ITEM_MOD_CR_MULTISTRIKE 
ITEM_MOD_CR_READINESS 
ITEM_MOD_CR_SPEED 
ITEM_MOD_CR_LIFESTEAL 
ITEM_MOD_CR_AVOIDANCE 
ITEM_MOD_CR_STURDINESS 
ITEM_MOD_CR_UNUSED_7 
ITEM_MOD_CR_CLEAVE 
ITEM_MOD_CR_UNUSED_9 
ITEM_MOD_CR_UNUSED_10 
ITEM_MOD_CR_UNUSED_11 
ITEM_MOD_CR_UNUSED_12 
ITEM_MOD_AGI_STR_INT 
ITEM_MOD_AGI_STR 
ITEM_MOD_AGI_INT 
ITEM_MOD_STR_INT 
26 {
27  ITEM_MOD_MANA = 0,
28  ITEM_MOD_HEALTH = 1,
29  ITEM_MOD_AGILITY = 3,
32  ITEM_MOD_SPIRIT = 6,
33  ITEM_MOD_STAMINA = 7,
79  ITEM_MOD_PVP_POWER = 57,
83  ITEM_MOD_CR_SPEED = 61,
88  ITEM_MOD_CR_CLEAVE = 66,
94  ITEM_MOD_AGI_STR = 72,
95  ITEM_MOD_AGI_INT = 73,
96  ITEM_MOD_STR_INT = 74
97 };
Definition: ItemTemplate.h:68
Definition: ItemTemplate.h:93
Definition: ItemTemplate.h:51
Definition: ItemTemplate.h:36
Definition: ItemTemplate.h:77
Definition: ItemTemplate.h:62
Definition: ItemTemplate.h:89
Definition: ItemTemplate.h:57
Definition: ItemTemplate.h:47
Definition: ItemTemplate.h:73
Definition: ItemTemplate.h:53
Definition: ItemTemplate.h:65
Definition: ItemTemplate.h:85
Definition: ItemTemplate.h:90
Definition: ItemTemplate.h:96
Definition: ItemTemplate.h:63
Definition: ItemTemplate.h:33
Definition: ItemTemplate.h:84
Definition: ItemTemplate.h:60
Definition: ItemTemplate.h:81
Definition: ItemTemplate.h:95
Definition: ItemTemplate.h:49
Definition: ItemTemplate.h:79
Definition: ItemTemplate.h:78
Definition: ItemTemplate.h:59
Definition: ItemTemplate.h:45
Definition: ItemTemplate.h:56
Definition: ItemTemplate.h:42
Definition: ItemTemplate.h:61
Definition: ItemTemplate.h:66
Definition: ItemTemplate.h:31
Definition: ItemTemplate.h:44
Definition: ItemTemplate.h:88
Definition: ItemTemplate.h:69
Definition: ItemTemplate.h:55
Definition: ItemTemplate.h:35
Definition: ItemTemplate.h:70
Definition: ItemTemplate.h:72
Definition: ItemTemplate.h:38
Definition: ItemTemplate.h:74
Definition: ItemTemplate.h:32
Definition: ItemTemplate.h:58
Definition: ItemTemplate.h:48
Definition: ItemTemplate.h:94
Definition: ItemTemplate.h:54
Definition: ItemTemplate.h:80
Definition: ItemTemplate.h:40
Definition: ItemTemplate.h:87
Definition: ItemTemplate.h:41
Definition: ItemTemplate.h:39
Definition: ItemTemplate.h:82
Definition: ItemTemplate.h:30
Definition: ItemTemplate.h:83
Definition: ItemTemplate.h:34
Definition: ItemTemplate.h:27
Definition: ItemTemplate.h:76
Definition: ItemTemplate.h:67
Definition: ItemTemplate.h:64
Definition: ItemTemplate.h:37
Definition: ItemTemplate.h:29
Definition: ItemTemplate.h:50
Definition: ItemTemplate.h:92
Definition: ItemTemplate.h:71
Definition: ItemTemplate.h:86
Definition: ItemTemplate.h:28
Definition: ItemTemplate.h:52
Definition: ItemTemplate.h:46
Definition: ItemTemplate.h:75
Definition: ItemTemplate.h:43
Definition: ItemTemplate.h:91
Enumerator
ITEM_SPELLTRIGGER_ON_USE 
ITEM_SPELLTRIGGER_ON_EQUIP 
ITEM_SPELLTRIGGER_CHANCE_ON_HIT 
ITEM_SPELLTRIGGER_SOULSTONE 
ITEM_SPELLTRIGGER_ON_NO_DELAY_USE 
ITEM_SPELLTRIGGER_LEARN_SPELL_ID 
100 {
101  ITEM_SPELLTRIGGER_ON_USE = 0, // use after equip cooldown
105  /*
106  * ItemSpelltriggerType 5 might have changed on 2.4.3/3.0.3: Such auras
107  * will be applied on item pickup and removed on item loss - maybe on the
108  * other hand the item is destroyed if the aura is removed ("removed on
109  * death" of spell 57348 makes me think so)
110  */
111  ITEM_SPELLTRIGGER_ON_NO_DELAY_USE = 5, // no equip cooldown
112  ITEM_SPELLTRIGGER_LEARN_SPELL_ID = 6 // used in item_template.spell_2 with spell_id with SPELL_GENERIC_LEARN in spell_1
113 };
Definition: ItemTemplate.h:112
Definition: ItemTemplate.h:101
Definition: ItemTemplate.h:102
Definition: ItemTemplate.h:103
Definition: ItemTemplate.h:111
Definition: ItemTemplate.h:104
Enumerator
ITEM_SUBCLASS_ARMOR_MISCELLANEOUS 
ITEM_SUBCLASS_ARMOR_CLOTH 
ITEM_SUBCLASS_ARMOR_LEATHER 
ITEM_SUBCLASS_ARMOR_MAIL 
ITEM_SUBCLASS_ARMOR_PLATE 
ITEM_SUBCLASS_ARMOR_BUCKLER 
ITEM_SUBCLASS_ARMOR_SHIELD 
ITEM_SUBCLASS_ARMOR_LIBRAM 
ITEM_SUBCLASS_ARMOR_IDOL 
ITEM_SUBCLASS_ARMOR_TOTEM 
ITEM_SUBCLASS_ARMOR_SIGIL 
ITEM_SUBCLASS_ARMOR_RELIC 
469 {
475  ITEM_SUBCLASS_ARMOR_BUCKLER = 5, // OBSOLETE
482 };
Definition: ItemTemplate.h:481
Definition: ItemTemplate.h:480
Definition: ItemTemplate.h:478
Definition: ItemTemplate.h:474
Definition: ItemTemplate.h:473
Definition: ItemTemplate.h:479
Definition: ItemTemplate.h:472
Definition: ItemTemplate.h:470
Definition: ItemTemplate.h:475
Definition: ItemTemplate.h:477
Definition: ItemTemplate.h:471
Definition: ItemTemplate.h:476
Enumerator
ITEM_SUBCLASS_CONSUMABLE 
ITEM_SUBCLASS_POTION 
ITEM_SUBCLASS_ELIXIR 
ITEM_SUBCLASS_FLASK 
ITEM_SUBCLASS_SCROLL 
ITEM_SUBCLASS_FOOD_DRINK 
ITEM_SUBCLASS_ITEM_ENHANCEMENT 
ITEM_SUBCLASS_BANDAGE 
ITEM_SUBCLASS_CONSUMABLE_OTHER 
389 {
399 };
Definition: ItemTemplate.h:397
Definition: ItemTemplate.h:393
Definition: ItemTemplate.h:395
Definition: ItemTemplate.h:391
Definition: ItemTemplate.h:398
Definition: ItemTemplate.h:396
Definition: ItemTemplate.h:394
Definition: ItemTemplate.h:392
Definition: ItemTemplate.h:390
Enumerator
ITEM_SUBCLASS_CONTAINER 
ITEM_SUBCLASS_SOUL_CONTAINER 
ITEM_SUBCLASS_HERB_CONTAINER 
ITEM_SUBCLASS_ENCHANTING_CONTAINER 
ITEM_SUBCLASS_ENGINEERING_CONTAINER 
ITEM_SUBCLASS_GEM_CONTAINER 
ITEM_SUBCLASS_MINING_CONTAINER 
ITEM_SUBCLASS_LEATHERWORKING_CONTAINER 
ITEM_SUBCLASS_INSCRIPTION_CONTAINER 
ITEM_SUBCLASS_TACKLE_CONTAINER 
ITEM_SUBCLASS_COOKING_CONTAINER 
404 {
416 };
Definition: ItemTemplate.h:411
Definition: ItemTemplate.h:410
Definition: ItemTemplate.h:405
Definition: ItemTemplate.h:414
Definition: ItemTemplate.h:409
Definition: ItemTemplate.h:406
Definition: ItemTemplate.h:412
Definition: ItemTemplate.h:408
Definition: ItemTemplate.h:413
Definition: ItemTemplate.h:415
Definition: ItemTemplate.h:407
Enumerator
ITEM_SUBCLASS_GEM_RED 
ITEM_SUBCLASS_GEM_BLUE 
ITEM_SUBCLASS_GEM_YELLOW 
ITEM_SUBCLASS_GEM_PURPLE 
ITEM_SUBCLASS_GEM_GREEN 
ITEM_SUBCLASS_GEM_ORANGE 
ITEM_SUBCLASS_GEM_META 
ITEM_SUBCLASS_GEM_SIMPLE 
ITEM_SUBCLASS_GEM_PRISMATIC 
ITEM_SUBCLASS_GEM_HYDRAULIC 
ITEM_SUBCLASS_GEM_COGWHEEL 
452 {
464 };
Definition: ItemTemplate.h:462
Definition: ItemTemplate.h:455
Definition: ItemTemplate.h:463
Definition: ItemTemplate.h:460
Definition: ItemTemplate.h:454
Definition: ItemTemplate.h:459
Definition: ItemTemplate.h:461
Definition: ItemTemplate.h:456
Definition: ItemTemplate.h:453
Definition: ItemTemplate.h:457
Definition: ItemTemplate.h:458
Enumerator
ITEM_SUBCLASS_GENERIC 
526 {
527  ITEM_SUBCLASS_GENERIC = 0 // OBSOLETE
528 };
Definition: ItemTemplate.h:527
Enumerator
ITEM_SUBCLASS_GLYPH_WARRIOR 
ITEM_SUBCLASS_GLYPH_PALADIN 
ITEM_SUBCLASS_GLYPH_HUNTER 
ITEM_SUBCLASS_GLYPH_ROGUE 
ITEM_SUBCLASS_GLYPH_PRIEST 
ITEM_SUBCLASS_GLYPH_DEATH_KNIGHT 
ITEM_SUBCLASS_GLYPH_SHAMAN 
ITEM_SUBCLASS_GLYPH_MAGE 
ITEM_SUBCLASS_GLYPH_WARLOCK 
ITEM_SUBCLASS_GLYPH_DRUID 
606 {
617 };
Definition: ItemTemplate.h:612
Definition: ItemTemplate.h:614
Definition: ItemTemplate.h:607
Definition: ItemTemplate.h:610
Definition: ItemTemplate.h:616
Definition: ItemTemplate.h:613
Definition: ItemTemplate.h:608
Definition: ItemTemplate.h:615
Definition: ItemTemplate.h:611
Definition: ItemTemplate.h:609
Enumerator
ITEM_SUBCLASS_JUNK 
ITEM_SUBCLASS_JUNK_REAGENT 
ITEM_SUBCLASS_JUNK_PET 
ITEM_SUBCLASS_JUNK_HOLIDAY 
ITEM_SUBCLASS_JUNK_OTHER 
ITEM_SUBCLASS_JUNK_MOUNT 
ITEM_SUBCLASS_JUNK_UNK12 
593 {
594  ITEM_SUBCLASS_JUNK = 0,
600  ITEM_SUBCLASS_JUNK_UNK12 = 12, // 1 item (37677)
601 };
Definition: ItemTemplate.h:599
Definition: ItemTemplate.h:598
Definition: ItemTemplate.h:596
Definition: ItemTemplate.h:600
Definition: ItemTemplate.h:594
Definition: ItemTemplate.h:595
Definition: ItemTemplate.h:597
Enumerator
ITEM_SUBCLASS_KEY 
ITEM_SUBCLASS_LOCKPICK 
578 {
579  ITEM_SUBCLASS_KEY = 0,
581 };
Definition: ItemTemplate.h:580
Definition: ItemTemplate.h:579
Enumerator
ITEM_SUBCLASS_MONEY 
ITEM_SUBCLASS_MONEY_UNK_7 
551 {
552  ITEM_SUBCLASS_MONEY = 0, // OBSOLETE
553  ITEM_SUBCLASS_MONEY_UNK_7 = 7, // OBSOLETE, 1 item (41749)
554 };
Definition: ItemTemplate.h:552
Definition: ItemTemplate.h:553
Enumerator
ITEM_SUBCLASS_PERMANENT 
586 {
588 };
Definition: ItemTemplate.h:587
Enumerator
ITEM_SUBCLASS_WAND 
ITEM_SUBCLASS_BOLT 
ITEM_SUBCLASS_ARROW 
ITEM_SUBCLASS_BULLET 
ITEM_SUBCLASS_THROWN 
494 {
495  ITEM_SUBCLASS_WAND = 0, // OBSOLETE
496  ITEM_SUBCLASS_BOLT = 1, // OBSOLETE
499  ITEM_SUBCLASS_THROWN = 4 // OBSOLETE
500 };
Definition: ItemTemplate.h:495
Definition: ItemTemplate.h:497
Definition: ItemTemplate.h:499
Definition: ItemTemplate.h:496
Definition: ItemTemplate.h:498
Enumerator
ITEM_SUBCLASS_QUEST 
ITEM_SUBCLASS_QUEST_UNK3 
ITEM_SUBCLASS_QUEST_UNK8 
569 {
571  ITEM_SUBCLASS_QUEST_UNK3 = 3, // 1 item (33604)
572  ITEM_SUBCLASS_QUEST_UNK8 = 8, // 2 items (37445, 49700)
573 };
Definition: ItemTemplate.h:571
Definition: ItemTemplate.h:570
Definition: ItemTemplate.h:572
Enumerator
ITEM_SUBCLASS_QUIVER0 
ITEM_SUBCLASS_QUIVER1 
ITEM_SUBCLASS_QUIVER 
ITEM_SUBCLASS_AMMO_POUCH 
559 {
560  ITEM_SUBCLASS_QUIVER0 = 0, // OBSOLETE
561  ITEM_SUBCLASS_QUIVER1 = 1, // OBSOLETE
564 };
Definition: ItemTemplate.h:563
Definition: ItemTemplate.h:560
Definition: ItemTemplate.h:561
Definition: ItemTemplate.h:562
Enumerator
ITEM_SUBCLASS_REAGENT 
487 {
489 };
Definition: ItemTemplate.h:488
Enumerator
ITEM_SUBCLASS_BOOK 
ITEM_SUBCLASS_LEATHERWORKING_PATTERN 
ITEM_SUBCLASS_TAILORING_PATTERN 
ITEM_SUBCLASS_ENGINEERING_SCHEMATIC 
ITEM_SUBCLASS_BLACKSMITHING 
ITEM_SUBCLASS_COOKING_RECIPE 
ITEM_SUBCLASS_ALCHEMY_RECIPE 
ITEM_SUBCLASS_FIRST_AID_MANUAL 
ITEM_SUBCLASS_ENCHANTING_FORMULA 
ITEM_SUBCLASS_FISHING_MANUAL 
ITEM_SUBCLASS_JEWELCRAFTING_RECIPE 
ITEM_SUBCLASS_INSCRIPTION_TECHNIQUE 
533 {
534  ITEM_SUBCLASS_BOOK = 0,
546 };
Definition: ItemTemplate.h:538
Definition: ItemTemplate.h:535
Definition: ItemTemplate.h:534
Definition: ItemTemplate.h:536
Definition: ItemTemplate.h:537
Definition: ItemTemplate.h:545
Definition: ItemTemplate.h:543
Definition: ItemTemplate.h:544
Definition: ItemTemplate.h:540
Definition: ItemTemplate.h:542
Definition: ItemTemplate.h:541
Definition: ItemTemplate.h:539
Enumerator
ITEM_SUBCLASS_TRADE_GOODS 
ITEM_SUBCLASS_PARTS 
ITEM_SUBCLASS_EXPLOSIVES 
ITEM_SUBCLASS_DEVICES 
ITEM_SUBCLASS_JEWELCRAFTING 
ITEM_SUBCLASS_CLOTH 
ITEM_SUBCLASS_LEATHER 
ITEM_SUBCLASS_METAL_STONE 
ITEM_SUBCLASS_MEAT 
ITEM_SUBCLASS_HERB 
ITEM_SUBCLASS_ELEMENTAL 
ITEM_SUBCLASS_TRADE_GOODS_OTHER 
ITEM_SUBCLASS_ENCHANTING 
ITEM_SUBCLASS_MATERIAL 
ITEM_SUBCLASS_ENCHANTMENT 
505 {
514  ITEM_SUBCLASS_MEAT = 8,
515  ITEM_SUBCLASS_HERB = 9,
521 };
Definition: ItemTemplate.h:506
Definition: ItemTemplate.h:516
Definition: ItemTemplate.h:517
Definition: ItemTemplate.h:507
Definition: ItemTemplate.h:518
Definition: ItemTemplate.h:520
Definition: ItemTemplate.h:508
Definition: ItemTemplate.h:513
Definition: ItemTemplate.h:509
Definition: ItemTemplate.h:511
Definition: ItemTemplate.h:514
Definition: ItemTemplate.h:510
Definition: ItemTemplate.h:515
Definition: ItemTemplate.h:512
Definition: ItemTemplate.h:519
Enumerator
ITEM_SUBCLASS_WEAPON_AXE 
ITEM_SUBCLASS_WEAPON_AXE2 
ITEM_SUBCLASS_WEAPON_BOW 
ITEM_SUBCLASS_WEAPON_GUN 
ITEM_SUBCLASS_WEAPON_MACE 
ITEM_SUBCLASS_WEAPON_MACE2 
ITEM_SUBCLASS_WEAPON_POLEARM 
ITEM_SUBCLASS_WEAPON_SWORD 
ITEM_SUBCLASS_WEAPON_SWORD2 
ITEM_SUBCLASS_WEAPON_Obsolete 
ITEM_SUBCLASS_WEAPON_STAFF 
ITEM_SUBCLASS_WEAPON_EXOTIC 
ITEM_SUBCLASS_WEAPON_EXOTIC2 
ITEM_SUBCLASS_WEAPON_FIST_WEAPON 
ITEM_SUBCLASS_WEAPON_MISCELLANEOUS 
ITEM_SUBCLASS_WEAPON_DAGGER 
ITEM_SUBCLASS_WEAPON_THROWN 
ITEM_SUBCLASS_WEAPON_SPEAR 
ITEM_SUBCLASS_WEAPON_CROSSBOW 
ITEM_SUBCLASS_WEAPON_WAND 
ITEM_SUBCLASS_WEAPON_FISHING_POLE 
421 {
422  ITEM_SUBCLASS_WEAPON_AXE = 0, // One-Handed Axes
423  ITEM_SUBCLASS_WEAPON_AXE2 = 1, // Two-Handed Axes
426  ITEM_SUBCLASS_WEAPON_MACE = 4, // One-Handed Maces
427  ITEM_SUBCLASS_WEAPON_MACE2 = 5, // Two-Handed Maces
429  ITEM_SUBCLASS_WEAPON_SWORD = 7, // One-Handed Swords
430  ITEM_SUBCLASS_WEAPON_SWORD2 = 8, // Two-Handed Swords
433  ITEM_SUBCLASS_WEAPON_EXOTIC = 11, // One-Handed Exotics
434  ITEM_SUBCLASS_WEAPON_EXOTIC2 = 12, // Two-Handed Exotics
443 };
Definition: ItemTemplate.h:437
Definition: ItemTemplate.h:431
Definition: ItemTemplate.h:435
Definition: ItemTemplate.h:433
Definition: ItemTemplate.h:432
Definition: ItemTemplate.h:428
Definition: ItemTemplate.h:426
Definition: ItemTemplate.h:424
Definition: ItemTemplate.h:430
Definition: ItemTemplate.h:438
Definition: ItemTemplate.h:425
Definition: ItemTemplate.h:436
Definition: ItemTemplate.h:440
Definition: ItemTemplate.h:441
Definition: ItemTemplate.h:422
Definition: ItemTemplate.h:434
Definition: ItemTemplate.h:442
Definition: ItemTemplate.h:429
Definition: ItemTemplate.h:423
Definition: ItemTemplate.h:427
Definition: ItemTemplate.h:439
Enumerator
ITEM_VENDOR_TYPE_NONE 
ITEM_VENDOR_TYPE_ITEM 
ITEM_VENDOR_TYPE_CURRENCY 
290 {
294 };
Definition: ItemTemplate.h:291
Definition: ItemTemplate.h:292
Definition: ItemTemplate.h:293
Enumerator
SOCKET_COLOR_META 
SOCKET_COLOR_RED 
SOCKET_COLOR_YELLOW 
SOCKET_COLOR_BLUE 
SOCKET_COLOR_HYDRAULIC 
SOCKET_COLOR_COGWHEEL 
319 {
320  SOCKET_COLOR_META = 1,
321  SOCKET_COLOR_RED = 2,
323  SOCKET_COLOR_BLUE = 8,
324  SOCKET_COLOR_HYDRAULIC = 16, // not used
326 };
Definition: ItemTemplate.h:323
Definition: ItemTemplate.h:322
Definition: ItemTemplate.h:324
Definition: ItemTemplate.h:320
Definition: ItemTemplate.h:321
Definition: ItemTemplate.h:325

Variable Documentation

const uint32 MaxItemSubclassValues[MAX_ITEM_CLASS]
Initial value:
=
{
}
#define MAX_ITEM_SUBCLASS_GLYPH
Definition: ItemTemplate.h:619
#define MAX_ITEM_SUBCLASS_PROJECTILE
Definition: ItemTemplate.h:502
#define MAX_ITEM_SUBCLASS_RECIPE
Definition: ItemTemplate.h:548
#define MAX_ITEM_SUBCLASS_GEM
Definition: ItemTemplate.h:466
#define MAX_ITEM_SUBCLASS_TRADE_GOODS
Definition: ItemTemplate.h:523
#define MAX_ITEM_SUBCLASS_REAGENT
Definition: ItemTemplate.h:491
#define MAX_ITEM_SUBCLASS_ARMOR
Definition: ItemTemplate.h:484
#define MAX_ITEM_SUBCLASS_WEAPON
Definition: ItemTemplate.h:449
#define MAX_ITEM_SUBCLASS_GENERIC
Definition: ItemTemplate.h:530
#define MAX_ITEM_SUBCLASS_JUNK
Definition: ItemTemplate.h:603
#define MAX_ITEM_SUBCLASS_QUIVER
Definition: ItemTemplate.h:566
#define MAX_ITEM_SUBCLASS_QUEST
Definition: ItemTemplate.h:575
#define MAX_ITEM_SUBCLASS_CONTAINER
Definition: ItemTemplate.h:418
#define MAX_ITEM_SUBCLASS_CONSUMABLE
Definition: ItemTemplate.h:401
#define MAX_ITEM_SUBCLASS_MONEY
Definition: ItemTemplate.h:556
#define MAX_ITEM_SUBCLASS_PERMANENT
Definition: ItemTemplate.h:590
#define MAX_ITEM_SUBCLASS_KEY
Definition: ItemTemplate.h:583