WowAddons

World of Warcraft Forever API · ItemConstants.md, for your AI

ItemConstants (types and enums)

35 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Tables

Enum.BankTabFlags enumeration

AllowMissingBag1

Enum.BankType enumeration

Character0
Guild1
Account2

Enum.BonusStatIndex enumeration

Mana0
Health1
Endurance2
Agility3
Strength4
Intellect5
Spirit6
Stamina7
Energy8
Rage9
Focus10
WeaponSkillRating11
DefenseSkillRating12
DodgeRating13
ParryRating14
BlockRating15
HitMeleeRating16
HitRangedRating17
HitSpellRating18
CritMeleeRating19
CritRangedRating20
CritSpellRating21
Corruption22
CorruptionResistance23
ModifiedCraftingStat_124
ModifiedCraftingStat_225
CritTakenRangedRatingObsolete26
CritTakenSpellRatingObsolete27
HasteMeleeRatingObsolete28
HasteRangedRatingObsolete29
HasteSpellRatingObsolete30
HitRating31
CritRating32
HitTakenRatingObsolete33
CritTakenRatingObsolete34
ResilienceRating35
HasteRating36
ExpertiseRating37
AttackPower38
RangedAttackPower39
Versatility40
SpellHealingDone41
SpellDamageDone42
ManaRegeneration43
ArmorPenetrationRating44
SpellPower45
HealthRegen46
SpellPenetration47
BlockValue48
MasteryRating49
ExtraArmor50
FireResistance51
FrostResistance52
HolyResistance53
ShadowResistance54
NatureResistance55
ArcaneResistance56
PvPPower57
CombatRatingUnused_058
CombatRatingUnused_259
CombatRatingUnused_360
CombatRatingSpeed61
CombatRatingLifesteal62
CombatRatingAvoidance63
CombatRatingSturdiness64
CombatRatingUnused_765
CombatRatingUnused_2766
CombatRatingUnused_967
CombatRatingUnused_1068
CombatRatingUnused_1169
CombatRatingUnused_1270
AgilityOrStrengthOrIntellect71
AgilityOrStrength72
AgilityOrIntellect73
StrengthOrIntellect74
ProfessionInspiration75
ProfessionResourcefulness76
ProfessionFinesse77
ProfessionDeftness78
ProfessionPerception79
ProfessionCraftingSpeed80
ProfessionMulticraft81
ProfessionIngenuity82
PhysicalDamageDone83
HolyDamageDone84
FireDamageDone85
NatureDamageDone86
FrostDamageDone87
ShadowDamageDone88
ArcaneDamageDone89
TwohandedAxesSkill90
TwohandedMacesSkill91
TwohandedSwordsSkill92
AxesSkill93
BowsSkill94
CrossbowsSkill95
DaggersSkill96
DualWieldSkill97
FistWeaponsSkill98
GunsSkill99
MacesSkill100
PolearmsSkill101
StavesSkill102
SwordsSkill103
ThrownSkill104
WandsSkill105
AlchemySkill106
BlacksmithingSkill107
EnchantingSkill108
EngineeringSkill109
JewelcraftingSkill110
LeatherworkingSkill111
HerbalismSkill112
MiningSkill113
SkinningSkill114
CookingSkill115
FirstAidSkill116
FishingSkill117
TailoringSkill118
FirePenetration119
NaturePenetration120
FrostPenetration121
ShadowPenetration122
ArcanePenetration123
SpellResistanceAllSchools124
AttackPowerVsHumanoid125
AttackPowerVsElemental126
AttackPowerVsDemon127
AttackPowerVsUndead128
AttackPowerVsDragonkin129
AttackPowerVsGiant130
AttackPowerVsBeast131
AttackPowerVsMechanical132
SpellDamageVsHumanoid133
SpellDamageVsElemental134
SpellDamageVsDemon135
SpellDamageVsUndead136
SpellDamageVsDragonkin137
SpellDamageVsGiant138
SpellDamageVsBeast139
SpellDamageVsMechanical140
Reserved_141141

Enum.InventoryType enumeration

IndexNonEquipType0
IndexHeadType1
IndexNeckType2
IndexShoulderType3
IndexBodyType4
IndexChestType5
IndexWaistType6
IndexLegsType7
IndexFeetType8
IndexWristType9
IndexHandType10
IndexFingerType11
IndexTrinketType12
IndexWeaponType13
IndexShieldType14
IndexRangedType15
IndexCloakType16
Index2HweaponType17
IndexBagType18
IndexTabardType19
IndexRobeType20
IndexWeaponmainhandType21
IndexWeaponoffhandType22
IndexHoldableType23
IndexAmmoType24
IndexThrownType25
IndexRangedrightType26
IndexQuiverType27
IndexRelicType28
IndexProfessionToolType29
IndexProfessionGearType30
IndexEquipablespellOffensiveType31
IndexEquipablespellUtilityType32
IndexEquipablespellDefensiveType33
IndexEquipablespellWeaponType34

Enum.ItemArmorSubclass enumeration

Generic0
Cloth1
Leather2
Mail3
Plate4
Cosmetic5
Shield6
Libram7
Idol8
Totem9
Sigil10
Relic11

Enum.ItemBind enumeration

None0
OnAcquire1
OnEquip2
OnUse3
Quest4
Unused15
Unused26
ToWoWAccount7
ToBnetAccount8
ToBnetAccountUntilEquipped9

Enum.ItemClass enumeration

Consumable0
Container1
Weapon2
Gem3
Armor4
Reagent5
Projectile6
Tradegoods7
ItemEnhancement8
Recipe9
CurrencyTokenObsolete10
Quiver11
Questitem12
Key13
PermanentObsolete14
Miscellaneous15
Glyph16
Battlepet17
WoWToken18
Profession19
Housing20

Enum.ItemConsumableSubclass enumeration

Generic0
Potion1
Elixir2
Flasksphials3
Scroll4
Fooddrink5
Itemenhancement6
Bandage7
Other8
VantusRune9
UtilityCurio10
CombatCurio11
Relic12
Draught13
Device14
ItemenhancementTemporary15

Enum.ItemContainerSubclass enumeration

Bag0
Soul1
Herb2
Enchanting3
Engineering4
Gem5
Mining6
Leatherworking7
Inscription8
Tacklebox9
Cooking10
Reagent11

Enum.ItemConversionFlags enumeration

UseInputItemStats1

Enum.ItemDiscoverySource enumeration

Unknown-1
ItemCreated1
SpellVisualKit2
Quest3
LootItem4
VendorItem5
MailItem6
GameObjectKey7
PlayerCollection8
GuildReward9
SpellLearned10
SpellTrainer11
Miscellaneous12

Enum.ItemEnchantType enumeration

None0
Permanent1
Temporary2
Imbue3

Enum.ItemGemColor enumeration

Meta1
Red2
Yellow4
Blue8
Hydraulic16
Cogwheel32
Iron64
Blood128
Shadow256
Fel512
Arcane1024
Frost2048
Fire4096
Water8192
Life16384
Wind32768
Holy65536
PunchcardRed131072
PunchcardYellow262144
PunchcardBlue524288
DominationBlood1048576
DominationFrost2097152
DominationUnholy4194304
Cypher8388608
Tinker16777216
Primordial33554432
Fragrance67108864
SingingThunder134217728
SingingSea268435456
SingingWind536870912
Fiber1073741824

Enum.ItemHousingSubclass enumeration

Decor0
Dye1
Room2
RoomCustomization3
ExteriorCustomization4
ServiceItem5

Enum.ItemMiscellaneousSubclass enumeration

Junk0
Reagent1
CompanionPet2
Holiday3
Other4
Mount5
MountEquipment6

Enum.ItemProfessionSubclass enumeration

Blacksmithing0
Leatherworking1
Alchemy2
Herbalism3
Cooking4
Mining5
Tailoring6
Engineering7
Enchanting8
Fishing9
Skinning10
Jewelcrafting11
Inscription12
Archaeology13

Enum.ItemQuiverSubclass enumeration

ObsoleteQuiver0
ObsoleteBolts1
Quiver2
Ammopouch3

Enum.ItemReagentSubclass enumeration

Reagent0
Keystone1
ContextToken2

Enum.ItemRecipeSubclass enumeration

Book0
Leatherworking1
Tailoring2
Engineering3
Blacksmithing4
Cooking5
Alchemy6
FirstAid7
Enchanting8
Fishing9
Jewelcrafting10
Inscription11

Enum.ItemSocketType enumeration

None0
Meta1
Red2
Yellow3
Blue4
Hydraulic5
Cogwheel6
Prismatic7
Iron8
Blood9
Shadow10
Fel11
Arcane12
Frost13
Fire14
Water15
Life16
Wind17
Holy18
PunchcardRed19
PunchcardYellow20
PunchcardBlue21
Domination22
Cypher23
Tinker24
Primordial25
Fragrance26
SingingThunder27
SingingSea28
SingingWind29
Fiber30

Enum.ItemSubclassDisplay enumeration

HideSubclassInTooltips1
HideSubclassInAuction2
ShowItemCount4

Enum.ItemSubclassFlag enumeration

WeaponsubclassCanparry1
WeaponsubclassSetfingerseq2
WeaponsubclassIsunarmed4
WeaponsubclassIsrifle8
WeaponsubclassIsthrown16
WeaponsubclassRighthandRanged32
ItemsubclassQuivernotrequired64
WeaponsubclassRanged128
WeaponsubclassDeprecatedReuseMe256
ItemsubclassUsesInvtype512
ArmorsubclassLfgscalingarmor1024

Enum.ItemWeaponSubclass enumeration

Axe1H0
Axe2H1
Bows2
Guns3
Mace1H4
Mace2H5
Polearm6
Sword1H7
Sword2H8
Warglaive9
Staff10
Bearclaw11
Catclaw12
Unarmed13
Generic14
Dagger15
Thrown16
Obsolete317
Crossbow18
Wand19
Fishingpole20

Enum.Itemclassfilterflags enumeration

Consumable1
Container2
Weapon4
Gem8
Armor16
Reagent32
Projectile64
Tradegoods128
ItemEnhancement256
Recipe512
CurrencyTokenObsolete1024
Quiver2048
Questitemclassfilterflags4096
Key8192
PermanentObsolete16384
Miscellaneous32768
Glyph65536
Battlepet131072

Enum.Itemsetflags enumeration

Legacy1
UseItemHistorySetSlots2
RequiresPvPTalentsActive4

Enum.SleevesGeoRange enumeration

None0
Default1
Flared2
Puffy3
PandaCollar4

Enum.SlotRegion enumeration

Invalid0
PlayerEquip1
PlayerBags2
PlayerInv3
CharacterBank4
AccountBank5

Enum.SlotRegionMask enumeration

Invalid1
PlayerEquip2
PlayerBags4
PlayerInv8
CharacterBank16
AccountBank64

Enum.SubcontainerType enumeration

Bag0
Equipped1
Bankgeneric2
Bankbag3
Mail4
Auction5
Keyring6
GuildBank07
GuildBank18
GuildBank29
GuildBank310
GuildBank411
GuildBank512
GuildOverflow13
Equipablespells14
CurrencytokenOboslete15
GuildBank616
GuildBank717
GuildBank818
GuildBank919
GuildBank1020
GuildBank1121
Reagentbank22
Childequipmentstorage23
Quarantine24
CreatedImmediately25
BuybackSlots26
CachedReward27
EquippedBags28
EquippedProfession129
EquippedProfession230
EquippedCooking31
EquippedFishing32
EquippedReagentbag33
CraftingOrder34
CraftingOrderReagents35
AccountBankTabs36
CurrencyTransfer37
CharacterBankTabs38
HousingDecorConversion39
Reserved40

Enum.UIItemInteractionFlags enumeration

DisplayWithInset1
ConfirmationHasDelay2
ConversionMode4
ClickShowsFlyout8
AddCurrency16
UsesCharges32

Enum.UIItemInteractionType enumeration

None0
CastSpell1
CleanseCorruption2
RunecarverScrapping3
ItemConversion4

Enum.WeaponSlot enumeration

MainHand0
OffHand1
Ranged2

ItemConsts constants

NUM_ITEM_ENCHANTMENT_SOCKETS3
MAX_LOOT_OBJECT_ITEMS31
INVALID_BANK_TAB_SLOT255
DEFAULT_ITEM_SAVE_VERSION2
CURRENT_ITEM_SAVE_VERSION"DEFAULT_ITEM_SAVE_VERSION"
DEFAULT_ARTIFACT_POWERS_VERSION1
CURRENT_ARTIFACT_POWERS_VERSION"DEFAULT_ARTIFACT_POWERS_VERSION"
DEFAULT_RETENTION7
MAXIMUM_QUEST_ITEM_LOOT_PRIORITY_VALUES16
NUM_RAND_PROP_POINTS_CATEGORIES5
NUM_PROFESSION_PROP_POINTS_CATEGORIES2
CASTER_WEAPON_DAMAGE_REDUCTION_DIVISOR_WITH_FLAG3
CASTER_WEAPON_SPELL_POWER_MULT_WITH_FLAG2
CASTER_WEAPON_SPELL_HEALING_MULT_WITH_FLAG3.76
CASTER_WEAPON_SPELL_HEALING_DAMAGE_MULT_WITH_FLAG1.253

ITEM_WEAPON_SUBCLASSConstants constants

ITEM_WEAPON_SUBCLASS_NONE-1
ITEM_WEAPON_SUBCLASS_MASK0
ITEM_WEAPON_SUBCLASS_IS2HWEAPON_MASK0
ITEM_WEAPON_SUBCLASS_USES2HANDS_MASK0
ITEM_WEAPON_SUBCLASS_ISRANGEDWEAPON_MASK0
ITEM_WEAPON_SUBCLASS_ISTWOHANDEDRANGEDWEAPON_MASK0
ITEM_WEAPON_SUBCLASS_ISMAINHANDWEAPON_NONRANGED_MASK0

ITEM_WEAPON_SUBCLASSConstants_PostMists constants

ITEM_WEAPON_SUBCLASS_ISTITANSGRIPWEAPON_MASK0

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows