OregonCore  revision fb2a440-git
Your Favourite TBC server
ItemPrototype.h File Reference
#include "Common.h"

Go to the source code of this file.

Classes

struct  _Damage
 
struct  _ItemStat
 
struct  _Spell
 
struct  _Socket
 
struct  ItemTemplate
 
struct  ItemLocale
 

Macros

#define MAX_ITEM_MOD   38
 
#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)
 
#define MAX_INVTYPE   29
 
#define MAX_ITEM_CLASS   16
 
#define MAX_ITEM_SUBCLASS_CONSUMABLE   9
 
#define MAX_ITEM_SUBCLASS_CONTAINER   8
 
#define MAX_ITEM_SUBCLASS_WEAPON   21
 
#define MAX_ITEM_SUBCLASS_GEM   9
 
#define MAX_ITEM_SUBCLASS_ARMOR   10
 
#define MAX_ITEM_SUBCLASS_REAGENT   1
 
#define MAX_ITEM_SUBCLASS_PROJECTILE   5
 
#define MAX_ITEM_SUBCLASS_TRADE_GOODS   14
 
#define MAX_ITEM_SUBCLASS_GENERIC   1
 
#define MAX_ITEM_SUBCLASS_RECIPE   11
 
#define MAX_ITEM_SUBCLASS_MONEY   1
 
#define MAX_ITEM_SUBCLASS_QUIVER   4
 
#define MAX_ITEM_SUBCLASS_QUEST   1
 
#define MAX_ITEM_SUBCLASS_KEY   2
 
#define MAX_ITEM_SUBCLASS_PERMANENT   1
 
#define MAX_ITEM_SUBCLASS_JUNK   6
 
#define MAX_ITEM_SUBCLASS_GLYPH   12
 
#define MAX_ITEM_PROTO_SPELLS   5
 

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
}
 
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  ItemProtoFlags {
  ITEM_PROTO_FLAG_NO_PICKUP = 0x00000001, ITEM_PROTO_FLAG_CONJURED = 0x00000002, ITEM_PROTO_FLAG_HAS_LOOT = 0x00000004, ITEM_PROTO_FLAG_HEROIC = 0x00000008,
  ITEM_PROTO_FLAG_DEPRECATED = 0x00000010, ITEM_PROTO_FLAG_INDESTRUCTIBLE = 0x00000020, ITEM_PROTO_FLAG_PLAYER_CAST = 0x00000040, ITEM_PROTO_FLAG_NO_EQUIP_COOLDOWN = 0x00000080,
  ITEM_PROTO_FLAG_INT_BONUS_INSTEAD = 0x00000100, ITEM_PROTO_FLAG_IS_WRAPPER = 0x00000200, ITEM_PROTO_FLAG_USES_RESOURCES = 0x00000400, ITEM_PROTO_FLAG_MULTI_DROP = 0x00000800,
  ITEM_PROTO_FLAG_REFUNDABLE = 0x00001000, ITEM_PROTO_FLAG_PETITION = 0x00002000, ITEM_PROTO_FLAG_UNK5 = 0x00004000, ITEM_PROTO_FLAG_UNK6 = 0x00008000,
  ITEM_PROTO_FLAG_UNK7 = 0x00010000, ITEM_PROTO_FLAG_UNK8 = 0x00020000, ITEM_PROTO_FLAG_PROSPECTABLE = 0x00040000, ITEM_PROTO_FLAG_UNIQUE_EQUIPPED = 0x00080000,
  ITEM_PROTO_FLAG_UNK9 = 0x00100000, ITEM_PROTO_FLAG_USEABLE_IN_ARENA = 0x00200000, ITEM_PROTO_FLAG_THROWABLE = 0x00400000, ITEM_PROTO_FLAG_USABLE_WHEN_SHAPESHIFTED = 0x00800000,
  ITEM_PROTO_FLAG_UNK10 = 0x01000000, ITEM_PROTO_FLAG_SMART_LOOT = 0x02000000, ITEM_PROTO_FLAG_NOT_USEABLE_IN_ARENA = 0x04000000, ITEM_PROTO_FLAG_BIND_TO_ACCOUNT = 0x08000000,
  ITEM_PROTO_FLAG_TRIGGERED_CAST = 0x10000000, ITEM_PROTO_FLAG_MILLABLE = 0x20000000, ITEM_PROTO_FLAG_UNK11 = 0x40000000, ITEM_PROTO_FLAG_UNK12 = 0x80000000
}
 
enum  ItemFieldFlags {
  ITEM_FLAG_SOULBOUND = 0x00000001, ITEM_FLAG_UNK1 = 0x00000002, ITEM_FLAG_UNLOCKED = 0x00000004, ITEM_FLAG_WRAPPED = 0x00000008,
  ITEM_FLAG_UNK2 = 0x00000010, ITEM_FLAG_UNK3 = 0x00000020, ITEM_FLAG_UNK4 = 0x00000040, ITEM_FLAG_UNK5 = 0x00000080,
  ITEM_FLAG_BOP_TRADEABLE = 0x00000100, ITEM_FLAG_READABLE = 0x00000200, ITEM_FLAG_UNK6 = 0x00000400, ITEM_FLAG_UNK7 = 0x00000800,
  ITEM_FLAG_REFUNDABLE = 0x00001000, ITEM_FLAG_UNK8 = 0x00002000, ITEM_FLAG_UNK9 = 0x00004000, ITEM_FLAG_UNK10 = 0x00008000,
  ITEM_FLAG_UNK11 = 0x00010000, ITEM_FLAG_UNK12 = 0x00020000, ITEM_FLAG_UNK13 = 0x00040000, ITEM_FLAG_UNK14 = 0x00080000,
  ITEM_FLAG_UNK15 = 0x00100000, ITEM_FLAG_UNK16 = 0x00200000, ITEM_FLAG_UNK17 = 0x00400000, ITEM_FLAG_UNK18 = 0x00800000,
  ITEM_FLAG_UNK19 = 0x01000000, ITEM_FLAG_UNK20 = 0x02000000, ITEM_FLAG_UNK21 = 0x04000000, ITEM_FLAG_UNK22 = 0x08000000,
  ITEM_FLAG_UNK23 = 0x10000000, ITEM_FLAG_UNK24 = 0x20000000
}
 
enum  BAG_FAMILY_MASK {
  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
}
 
enum  SocketColor { SOCKET_COLOR_META = 1, SOCKET_COLOR_RED = 2, SOCKET_COLOR_YELLOW = 4, SOCKET_COLOR_BLUE = 8 }
 
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_JUNK = 15
}
 
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 = 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
}
 
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 = 13, ITEM_SUBCLASS_WEAPON_MISC = 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
}
 
enum  ItemSubclassArmor {
  ITEM_SUBCLASS_ARMOR_MISC = 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
}
 
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
}
 
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
}
 
enum  ItemSubclassMoney { ITEM_SUBCLASS_MONEY = 0 }
 
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 }
 
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
}
 
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
}
 

Functions

uint8 ItemSubClassToDurabilityMultiplierId (uint32 ItemClass, uint32 ItemSubClass)
 

Variables

const uint32 MaxItemSubclassValues [MAX_ITEM_CLASS]
 

Macro Definition Documentation

#define MAX_BIND_TYPE   6

Definition at line 84 of file ItemPrototype.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_INVTYPE   29

Definition at line 222 of file ItemPrototype.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_ITEM_CLASS   16

Definition at line 244 of file ItemPrototype.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_ITEM_MOD   38

Definition at line 60 of file ItemPrototype.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_ITEM_PROTO_SPELLS   5
#define MAX_ITEM_SPELLTRIGGER   7

Definition at line 72 of file ItemPrototype.h.

Referenced by ObjectMgr::LoadItemTemplates().

#define MAX_ITEM_SUBCLASS_ARMOR   10

Definition at line 331 of file ItemPrototype.h.

Referenced by Item::GetSkill().

#define MAX_ITEM_SUBCLASS_CONSUMABLE   9

Definition at line 259 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_CONTAINER   8

Definition at line 273 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_GEM   9

Definition at line 315 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_GENERIC   1

Definition at line 376 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_GLYPH   12

Definition at line 460 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_JUNK   6

Definition at line 444 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_KEY   2

Definition at line 425 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_MONEY   1

Definition at line 400 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_PERMANENT   1

Definition at line 432 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_PROJECTILE   5

Definition at line 349 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_QUEST   1

Definition at line 417 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_QUIVER   4

Definition at line 410 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_REAGENT   1

Definition at line 338 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_RECIPE   11

Definition at line 393 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_TRADE_GOODS   14

Definition at line 369 of file ItemPrototype.h.

#define MAX_ITEM_SUBCLASS_WEAPON   21

Definition at line 300 of file ItemPrototype.h.

Referenced by Item::GetSkill().

Definition at line 187 of file ItemPrototype.h.

Referenced by ObjectMgr::LoadItemTemplates().

Enumeration Type Documentation

Enumerator
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 

Definition at line 160 of file ItemPrototype.h.

161 {
162  BAG_FAMILY_MASK_ARROWS = 0x00000001,
163  BAG_FAMILY_MASK_BULLETS = 0x00000002,
164  BAG_FAMILY_MASK_SOUL_SHARDS = 0x00000004,
167  BAG_FAMILY_MASK_HERBS = 0x00000020,
168  BAG_FAMILY_MASK_ENCHANTING_SUPP = 0x00000040,
170  BAG_FAMILY_MASK_KEYS = 0x00000100,
171  BAG_FAMILY_MASK_GEMS = 0x00000200,
172  BAG_FAMILY_MASK_MINING_SUPP = 0x00000400,
174  BAG_FAMILY_MASK_VANITY_PETS = 0x00001000,
175  BAG_FAMILY_MASK_CURRENCY_TOKENS = 0x00002000,
176  BAG_FAMILY_MASK_QUEST_ITEMS = 0x00004000
177 };
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 

Definition at line 189 of file ItemPrototype.h.

190 {
191  INVTYPE_NON_EQUIP = 0,
192  INVTYPE_HEAD = 1,
193  INVTYPE_NECK = 2,
194  INVTYPE_SHOULDERS = 3,
195  INVTYPE_BODY = 4,
196  INVTYPE_CHEST = 5,
197  INVTYPE_WAIST = 6,
198  INVTYPE_LEGS = 7,
199  INVTYPE_FEET = 8,
200  INVTYPE_WRISTS = 9,
201  INVTYPE_HANDS = 10,
202  INVTYPE_FINGER = 11,
203  INVTYPE_TRINKET = 12,
204  INVTYPE_WEAPON = 13,
205  INVTYPE_SHIELD = 14,
206  INVTYPE_RANGED = 15,
207  INVTYPE_CLOAK = 16,
208  INVTYPE_2HWEAPON = 17,
209  INVTYPE_BAG = 18,
210  INVTYPE_TABARD = 19,
211  INVTYPE_ROBE = 20,
214  INVTYPE_HOLDABLE = 23,
215  INVTYPE_AMMO = 24,
216  INVTYPE_THROWN = 25,
217  INVTYPE_RANGEDRIGHT = 26,
218  INVTYPE_QUIVER = 27,
219  INVTYPE_RELIC = 28
220 };
Enumerator
NO_BIND 
BIND_WHEN_PICKED_UP 
BIND_WHEN_EQUIPED 
BIND_WHEN_USE 
BIND_QUEST_ITEM 
BIND_QUEST_ITEM1 

Definition at line 74 of file ItemPrototype.h.

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_JUNK 

Definition at line 224 of file ItemPrototype.h.

Enumerator
ITEM_FLAG_SOULBOUND 
ITEM_FLAG_UNK1 
ITEM_FLAG_UNLOCKED 
ITEM_FLAG_WRAPPED 
ITEM_FLAG_UNK2 
ITEM_FLAG_UNK3 
ITEM_FLAG_UNK4 
ITEM_FLAG_UNK5 
ITEM_FLAG_BOP_TRADEABLE 
ITEM_FLAG_READABLE 
ITEM_FLAG_UNK6 
ITEM_FLAG_UNK7 
ITEM_FLAG_REFUNDABLE 
ITEM_FLAG_UNK8 
ITEM_FLAG_UNK9 
ITEM_FLAG_UNK10 
ITEM_FLAG_UNK11 
ITEM_FLAG_UNK12 
ITEM_FLAG_UNK13 
ITEM_FLAG_UNK14 
ITEM_FLAG_UNK15 
ITEM_FLAG_UNK16 
ITEM_FLAG_UNK17 
ITEM_FLAG_UNK18 
ITEM_FLAG_UNK19 
ITEM_FLAG_UNK20 
ITEM_FLAG_UNK21 
ITEM_FLAG_UNK22 
ITEM_FLAG_UNK23 
ITEM_FLAG_UNK24 

Definition at line 126 of file ItemPrototype.h.

127 {
128  ITEM_FLAG_SOULBOUND = 0x00000001, // Item is soulbound and cannot be traded <<--
129  ITEM_FLAG_UNK1 = 0x00000002, // ?
130  ITEM_FLAG_UNLOCKED = 0x00000004, // Item had lock but can be opened now
131  ITEM_FLAG_WRAPPED = 0x00000008, // Item is wrapped and contains another item
132  ITEM_FLAG_UNK2 = 0x00000010, // ?
133  ITEM_FLAG_UNK3 = 0x00000020, // ?
134  ITEM_FLAG_UNK4 = 0x00000040, // ?
135  ITEM_FLAG_UNK5 = 0x00000080, // ?
136  ITEM_FLAG_BOP_TRADEABLE = 0x00000100, // Allows trading soulbound items
137  ITEM_FLAG_READABLE = 0x00000200, // Opens text page when right clicked
138  ITEM_FLAG_UNK6 = 0x00000400, // ?
139  ITEM_FLAG_UNK7 = 0x00000800, // ?
140  ITEM_FLAG_REFUNDABLE = 0x00001000, // Item can be returned to vendor for its original cost (extended cost)
141  ITEM_FLAG_UNK8 = 0x00002000, // ?
142  ITEM_FLAG_UNK9 = 0x00004000, // ?
143  ITEM_FLAG_UNK10 = 0x00008000, // ?
144  ITEM_FLAG_UNK11 = 0x00010000, // ?
145  ITEM_FLAG_UNK12 = 0x00020000, // ?
146  ITEM_FLAG_UNK13 = 0x00040000, // ?
147  ITEM_FLAG_UNK14 = 0x00080000, // ?
148  ITEM_FLAG_UNK15 = 0x00100000, // ?
149  ITEM_FLAG_UNK16 = 0x00200000, // ?
150  ITEM_FLAG_UNK17 = 0x00400000, // ?
151  ITEM_FLAG_UNK18 = 0x00800000, // ?
152  ITEM_FLAG_UNK19 = 0x01000000, // ?
153  ITEM_FLAG_UNK20 = 0x02000000, // ?
154  ITEM_FLAG_UNK21 = 0x04000000, // ?
155  ITEM_FLAG_UNK22 = 0x08000000, // ?
156  ITEM_FLAG_UNK23 = 0x10000000, // ?
157  ITEM_FLAG_UNK24 = 0x20000000, // ?
158 };
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 

Definition at line 23 of file ItemPrototype.h.

24 {
25  ITEM_MOD_MANA = 0,
26  ITEM_MOD_HEALTH = 1,
27  ITEM_MOD_AGILITY = 3,
30  ITEM_MOD_SPIRIT = 6,
31  ITEM_MOD_STAMINA = 7,
58 };
Enumerator
ITEM_PROTO_FLAG_NO_PICKUP 
ITEM_PROTO_FLAG_CONJURED 
ITEM_PROTO_FLAG_HAS_LOOT 
ITEM_PROTO_FLAG_HEROIC 
ITEM_PROTO_FLAG_DEPRECATED 
ITEM_PROTO_FLAG_INDESTRUCTIBLE 
ITEM_PROTO_FLAG_PLAYER_CAST 
ITEM_PROTO_FLAG_NO_EQUIP_COOLDOWN 
ITEM_PROTO_FLAG_INT_BONUS_INSTEAD 
ITEM_PROTO_FLAG_IS_WRAPPER 
ITEM_PROTO_FLAG_USES_RESOURCES 
ITEM_PROTO_FLAG_MULTI_DROP 
ITEM_PROTO_FLAG_REFUNDABLE 
ITEM_PROTO_FLAG_PETITION 
ITEM_PROTO_FLAG_UNK5 
ITEM_PROTO_FLAG_UNK6 
ITEM_PROTO_FLAG_UNK7 
ITEM_PROTO_FLAG_UNK8 
ITEM_PROTO_FLAG_PROSPECTABLE 
ITEM_PROTO_FLAG_UNIQUE_EQUIPPED 
ITEM_PROTO_FLAG_UNK9 
ITEM_PROTO_FLAG_USEABLE_IN_ARENA 
ITEM_PROTO_FLAG_THROWABLE 
ITEM_PROTO_FLAG_USABLE_WHEN_SHAPESHIFTED 
ITEM_PROTO_FLAG_UNK10 
ITEM_PROTO_FLAG_SMART_LOOT 
ITEM_PROTO_FLAG_NOT_USEABLE_IN_ARENA 
ITEM_PROTO_FLAG_BIND_TO_ACCOUNT 
ITEM_PROTO_FLAG_TRIGGERED_CAST 
ITEM_PROTO_FLAG_MILLABLE 
ITEM_PROTO_FLAG_UNK11 
ITEM_PROTO_FLAG_UNK12 

Definition at line 89 of file ItemPrototype.h.

90 {
91  ITEM_PROTO_FLAG_NO_PICKUP = 0x00000001, // ?
92  ITEM_PROTO_FLAG_CONJURED = 0x00000002, // Conjured item
93  ITEM_PROTO_FLAG_HAS_LOOT = 0x00000004, // Item can be right clicked to open for loot
94  ITEM_PROTO_FLAG_HEROIC = 0x00000008, // Makes green "Heroic" text appear on item
95  ITEM_PROTO_FLAG_DEPRECATED = 0x00000010, // Cannot equip or use
96  ITEM_PROTO_FLAG_INDESTRUCTIBLE = 0x00000020, // Item can not be destroyed, except by using spell (item can be reagent for spell)
97  ITEM_PROTO_FLAG_PLAYER_CAST = 0x00000040, // Item's spells are castable by players
98  ITEM_PROTO_FLAG_NO_EQUIP_COOLDOWN = 0x00000080, // No default 30 seconds cooldown when equipped
99  ITEM_PROTO_FLAG_INT_BONUS_INSTEAD = 0x00000100, // ?
100  ITEM_PROTO_FLAG_IS_WRAPPER = 0x00000200, // Item can wrap other items
101  ITEM_PROTO_FLAG_USES_RESOURCES = 0x00000400, // ?
102  ITEM_PROTO_FLAG_MULTI_DROP = 0x00000800, // Looting this item does not remove it from available loot
103  ITEM_PROTO_FLAG_REFUNDABLE = 0x00001000, // Item can be returned to vendor for its original cost (extended cost)
104  ITEM_PROTO_FLAG_PETITION = 0x00002000, // Item is guild or arena charter
105  ITEM_PROTO_FLAG_UNK5 = 0x00004000, // Only readable items have this (but not all)
106  ITEM_PROTO_FLAG_UNK6 = 0x00008000, // ?
107  ITEM_PROTO_FLAG_UNK7 = 0x00010000, // ?
108  ITEM_PROTO_FLAG_UNK8 = 0x00020000, // ?
109  ITEM_PROTO_FLAG_PROSPECTABLE = 0x00040000, // Item can be prospected
110  ITEM_PROTO_FLAG_UNIQUE_EQUIPPED = 0x00080000, // You can only equip one of these
111  ITEM_PROTO_FLAG_UNK9 = 0x00100000, // ?
112  ITEM_PROTO_FLAG_USEABLE_IN_ARENA = 0x00200000, // Item can be used during arena match
113  ITEM_PROTO_FLAG_THROWABLE = 0x00400000, // Some Thrown weapons have it (and only Thrown) but not all
114  ITEM_PROTO_FLAG_USABLE_WHEN_SHAPESHIFTED = 0x00800000, // Item can be used in shapeshift forms
115  ITEM_PROTO_FLAG_UNK10 = 0x01000000, // ?
116  ITEM_PROTO_FLAG_SMART_LOOT = 0x02000000, // Profession recipes: can only be looted if you meet requirements and don't already know it
117  ITEM_PROTO_FLAG_NOT_USEABLE_IN_ARENA = 0x04000000, // Item cannot be used in arena
118  ITEM_PROTO_FLAG_BIND_TO_ACCOUNT = 0x08000000, // Item binds to account and can be sent only to your own characters
119  ITEM_PROTO_FLAG_TRIGGERED_CAST = 0x10000000, // Spell is cast with triggered flag
120  ITEM_PROTO_FLAG_MILLABLE = 0x20000000, // Item can be milled
121  ITEM_PROTO_FLAG_UNK11 = 0x40000000, // ?
122  ITEM_PROTO_FLAG_UNK12 = 0x80000000 // ?
123 };
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 

Definition at line 62 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_ARMOR_MISC 
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 

Definition at line 317 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_CONSUMABLE 
ITEM_SUBCLASS_POTION 
ITEM_SUBCLASS_ELIXIR 
ITEM_SUBCLASS_FLASK 
ITEM_SUBCLASS_SCROLL 
ITEM_SUBCLASS_FOOD 
ITEM_SUBCLASS_ITEM_ENHANCEMENT 
ITEM_SUBCLASS_BANDAGE 
ITEM_SUBCLASS_CONSUMABLE_OTHER 

Definition at line 246 of file ItemPrototype.h.

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 

Definition at line 261 of file ItemPrototype.h.

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 

Definition at line 302 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_GENERIC 

Definition at line 371 of file ItemPrototype.h.

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 

Definition at line 446 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_JUNK 
ITEM_SUBCLASS_JUNK_REAGENT 
ITEM_SUBCLASS_JUNK_PET 
ITEM_SUBCLASS_JUNK_HOLIDAY 
ITEM_SUBCLASS_JUNK_OTHER 
ITEM_SUBCLASS_JUNK_MOUNT 

Definition at line 434 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_KEY 
ITEM_SUBCLASS_LOCKPICK 

Definition at line 419 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_MONEY 

Definition at line 395 of file ItemPrototype.h.

396 {
398 };
Enumerator
ITEM_SUBCLASS_PERMANENT 

Definition at line 427 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_WAND 
ITEM_SUBCLASS_BOLT 
ITEM_SUBCLASS_ARROW 
ITEM_SUBCLASS_BULLET 
ITEM_SUBCLASS_THROWN 

Definition at line 340 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_QUEST 

Definition at line 412 of file ItemPrototype.h.

413 {
415 };
Enumerator
ITEM_SUBCLASS_QUIVER0 
ITEM_SUBCLASS_QUIVER1 
ITEM_SUBCLASS_QUIVER 
ITEM_SUBCLASS_AMMO_POUCH 

Definition at line 402 of file ItemPrototype.h.

Enumerator
ITEM_SUBCLASS_REAGENT 

Definition at line 333 of file ItemPrototype.h.

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 

Definition at line 378 of file ItemPrototype.h.

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 

Definition at line 351 of file ItemPrototype.h.

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 
ITEM_SUBCLASS_WEAPON_MISC 
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 

Definition at line 275 of file ItemPrototype.h.

276 {
298 };
Enumerator
SOCKET_COLOR_META 
SOCKET_COLOR_RED 
SOCKET_COLOR_YELLOW 
SOCKET_COLOR_BLUE 

Definition at line 179 of file ItemPrototype.h.

Function Documentation

uint8 ItemSubClassToDurabilityMultiplierId ( uint32  ItemClass,
uint32  ItemSubClass 
)
inline

Definition at line 482 of file ItemPrototype.h.

References ITEM_CLASS_ARMOR, and ITEM_CLASS_WEAPON.

Referenced by Player::DurabilityRepair().

483 {
484  switch (ItemClass)
485  {
486  case ITEM_CLASS_WEAPON:
487  return ItemSubClass;
488  case ITEM_CLASS_ARMOR:
489  return ItemSubClass + 21;
490  }
491  return 0;
492 }
ItemClass

Variable Documentation

const uint32 MaxItemSubclassValues[MAX_ITEM_CLASS]
Initial value:
=
{
}
#define MAX_ITEM_SUBCLASS_PERMANENT
#define MAX_ITEM_SUBCLASS_REAGENT
#define MAX_ITEM_SUBCLASS_GENERIC
#define MAX_ITEM_SUBCLASS_MONEY
#define MAX_ITEM_SUBCLASS_ARMOR
#define MAX_ITEM_SUBCLASS_CONTAINER
#define MAX_ITEM_SUBCLASS_PROJECTILE
#define MAX_ITEM_SUBCLASS_KEY
#define MAX_ITEM_SUBCLASS_TRADE_GOODS
#define MAX_ITEM_SUBCLASS_JUNK
#define MAX_ITEM_SUBCLASS_RECIPE
#define MAX_ITEM_SUBCLASS_CONSUMABLE
#define MAX_ITEM_SUBCLASS_GEM
#define MAX_ITEM_SUBCLASS_QUEST
#define MAX_ITEM_SUBCLASS_QUIVER
#define MAX_ITEM_SUBCLASS_WEAPON

Definition at line 462 of file ItemPrototype.h.

Referenced by ObjectMgr::LoadItemTemplates().