# ItemConstants (types and enums): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/ItemConstants

## Tables

### Enum.BankTabFlags (enumeration)

- `AllowMissingBag` = 1

### Enum.BankType (enumeration)

- `Character` = 0
- `Guild` = 1
- `Account` = 2

### Enum.BonusStatIndex (enumeration)

- `Mana` = 0
- `Health` = 1
- `Endurance` = 2
- `Agility` = 3
- `Strength` = 4
- `Intellect` = 5
- `Spirit` = 6
- `Stamina` = 7
- `Energy` = 8
- `Rage` = 9
- `Focus` = 10
- `WeaponSkillRating` = 11
- `DefenseSkillRating` = 12
- `DodgeRating` = 13
- `ParryRating` = 14
- `BlockRating` = 15
- `HitMeleeRating` = 16
- `HitRangedRating` = 17
- `HitSpellRating` = 18
- `CritMeleeRating` = 19
- `CritRangedRating` = 20
- `CritSpellRating` = 21
- `Corruption` = 22
- `CorruptionResistance` = 23
- `ModifiedCraftingStat_1` = 24
- `ModifiedCraftingStat_2` = 25
- `CritTakenRangedRatingObsolete` = 26
- `CritTakenSpellRatingObsolete` = 27
- `HasteMeleeRatingObsolete` = 28
- `HasteRangedRatingObsolete` = 29
- `HasteSpellRatingObsolete` = 30
- `HitRating` = 31
- `CritRating` = 32
- `HitTakenRatingObsolete` = 33
- `CritTakenRatingObsolete` = 34
- `ResilienceRating` = 35
- `HasteRating` = 36
- `ExpertiseRating` = 37
- `AttackPower` = 38
- `RangedAttackPower` = 39
- `Versatility` = 40
- `SpellHealingDone` = 41
- `SpellDamageDone` = 42
- `ManaRegeneration` = 43
- `ArmorPenetrationRating` = 44
- `SpellPower` = 45
- `HealthRegen` = 46
- `SpellPenetration` = 47
- `BlockValue` = 48
- `MasteryRating` = 49
- `ExtraArmor` = 50
- `FireResistance` = 51
- `FrostResistance` = 52
- `HolyResistance` = 53
- `ShadowResistance` = 54
- `NatureResistance` = 55
- `ArcaneResistance` = 56
- `PvPPower` = 57
- `CombatRatingUnused_0` = 58
- `CombatRatingUnused_2` = 59
- `CombatRatingUnused_3` = 60
- `CombatRatingSpeed` = 61
- `CombatRatingLifesteal` = 62
- `CombatRatingAvoidance` = 63
- `CombatRatingSturdiness` = 64
- `CombatRatingUnused_7` = 65
- `CombatRatingUnused_27` = 66
- `CombatRatingUnused_9` = 67
- `CombatRatingUnused_10` = 68
- `CombatRatingUnused_11` = 69
- `CombatRatingUnused_12` = 70
- `AgilityOrStrengthOrIntellect` = 71
- `AgilityOrStrength` = 72
- `AgilityOrIntellect` = 73
- `StrengthOrIntellect` = 74
- `ProfessionInspiration` = 75
- `ProfessionResourcefulness` = 76
- `ProfessionFinesse` = 77
- `ProfessionDeftness` = 78
- `ProfessionPerception` = 79
- `ProfessionCraftingSpeed` = 80
- `ProfessionMulticraft` = 81
- `ProfessionIngenuity` = 82
- `PhysicalDamageDone` = 83
- `HolyDamageDone` = 84
- `FireDamageDone` = 85
- `NatureDamageDone` = 86
- `FrostDamageDone` = 87
- `ShadowDamageDone` = 88
- `ArcaneDamageDone` = 89
- `TwohandedAxesSkill` = 90
- `TwohandedMacesSkill` = 91
- `TwohandedSwordsSkill` = 92
- `AxesSkill` = 93
- `BowsSkill` = 94
- `CrossbowsSkill` = 95
- `DaggersSkill` = 96
- `DualWieldSkill` = 97
- `FistWeaponsSkill` = 98
- `GunsSkill` = 99
- `MacesSkill` = 100
- `PolearmsSkill` = 101
- `StavesSkill` = 102
- `SwordsSkill` = 103
- `ThrownSkill` = 104
- `WandsSkill` = 105
- `AlchemySkill` = 106
- `BlacksmithingSkill` = 107
- `EnchantingSkill` = 108
- `EngineeringSkill` = 109
- `JewelcraftingSkill` = 110
- `LeatherworkingSkill` = 111
- `HerbalismSkill` = 112
- `MiningSkill` = 113
- `SkinningSkill` = 114
- `CookingSkill` = 115
- `FirstAidSkill` = 116
- `FishingSkill` = 117
- `TailoringSkill` = 118
- `FirePenetration` = 119
- `NaturePenetration` = 120
- `FrostPenetration` = 121
- `ShadowPenetration` = 122
- `ArcanePenetration` = 123
- `SpellResistanceAllSchools` = 124
- `AttackPowerVsHumanoid` = 125
- `AttackPowerVsElemental` = 126
- `AttackPowerVsDemon` = 127
- `AttackPowerVsUndead` = 128
- `AttackPowerVsDragonkin` = 129
- `AttackPowerVsGiant` = 130
- `AttackPowerVsBeast` = 131
- `AttackPowerVsMechanical` = 132
- `SpellDamageVsHumanoid` = 133
- `SpellDamageVsElemental` = 134
- `SpellDamageVsDemon` = 135
- `SpellDamageVsUndead` = 136
- `SpellDamageVsDragonkin` = 137
- `SpellDamageVsGiant` = 138
- `SpellDamageVsBeast` = 139
- `SpellDamageVsMechanical` = 140
- `Reserved_141` = 141

### Enum.InventoryType (enumeration)

- `IndexNonEquipType` = 0
- `IndexHeadType` = 1
- `IndexNeckType` = 2
- `IndexShoulderType` = 3
- `IndexBodyType` = 4
- `IndexChestType` = 5
- `IndexWaistType` = 6
- `IndexLegsType` = 7
- `IndexFeetType` = 8
- `IndexWristType` = 9
- `IndexHandType` = 10
- `IndexFingerType` = 11
- `IndexTrinketType` = 12
- `IndexWeaponType` = 13
- `IndexShieldType` = 14
- `IndexRangedType` = 15
- `IndexCloakType` = 16
- `Index2HweaponType` = 17
- `IndexBagType` = 18
- `IndexTabardType` = 19
- `IndexRobeType` = 20
- `IndexWeaponmainhandType` = 21
- `IndexWeaponoffhandType` = 22
- `IndexHoldableType` = 23
- `IndexAmmoType` = 24
- `IndexThrownType` = 25
- `IndexRangedrightType` = 26
- `IndexQuiverType` = 27
- `IndexRelicType` = 28
- `IndexProfessionToolType` = 29
- `IndexProfessionGearType` = 30
- `IndexEquipablespellOffensiveType` = 31
- `IndexEquipablespellUtilityType` = 32
- `IndexEquipablespellDefensiveType` = 33
- `IndexEquipablespellWeaponType` = 34

### Enum.ItemArmorSubclass (enumeration)

- `Generic` = 0
- `Cloth` = 1
- `Leather` = 2
- `Mail` = 3
- `Plate` = 4
- `Cosmetic` = 5
- `Shield` = 6
- `Libram` = 7
- `Idol` = 8
- `Totem` = 9
- `Sigil` = 10
- `Relic` = 11

### Enum.ItemBind (enumeration)

- `None` = 0
- `OnAcquire` = 1
- `OnEquip` = 2
- `OnUse` = 3
- `Quest` = 4
- `Unused1` = 5
- `Unused2` = 6
- `ToWoWAccount` = 7
- `ToBnetAccount` = 8
- `ToBnetAccountUntilEquipped` = 9

### Enum.ItemClass (enumeration)

- `Consumable` = 0
- `Container` = 1
- `Weapon` = 2
- `Gem` = 3
- `Armor` = 4
- `Reagent` = 5
- `Projectile` = 6
- `Tradegoods` = 7
- `ItemEnhancement` = 8
- `Recipe` = 9
- `CurrencyTokenObsolete` = 10
- `Quiver` = 11
- `Questitem` = 12
- `Key` = 13
- `PermanentObsolete` = 14
- `Miscellaneous` = 15
- `Glyph` = 16
- `Battlepet` = 17
- `WoWToken` = 18
- `Profession` = 19
- `Housing` = 20

### Enum.ItemConsumableSubclass (enumeration)

- `Generic` = 0
- `Potion` = 1
- `Elixir` = 2
- `Flasksphials` = 3
- `Scroll` = 4
- `Fooddrink` = 5
- `Itemenhancement` = 6
- `Bandage` = 7
- `Other` = 8
- `VantusRune` = 9
- `UtilityCurio` = 10
- `CombatCurio` = 11
- `Relic` = 12
- `Draught` = 13
- `Device` = 14
- `ItemenhancementTemporary` = 15

### Enum.ItemContainerSubclass (enumeration)

- `Bag` = 0
- `Soul` = 1
- `Herb` = 2
- `Enchanting` = 3
- `Engineering` = 4
- `Gem` = 5
- `Mining` = 6
- `Leatherworking` = 7
- `Inscription` = 8
- `Tacklebox` = 9
- `Cooking` = 10
- `Reagent` = 11

### Enum.ItemConversionFlags (enumeration)

- `UseInputItemStats` = 1

### Enum.ItemDiscoverySource (enumeration)

- `Unknown` = -1
- `ItemCreated` = 1
- `SpellVisualKit` = 2
- `Quest` = 3
- `LootItem` = 4
- `VendorItem` = 5
- `MailItem` = 6
- `GameObjectKey` = 7
- `PlayerCollection` = 8
- `GuildReward` = 9
- `SpellLearned` = 10
- `SpellTrainer` = 11
- `Miscellaneous` = 12

### Enum.ItemEnchantType (enumeration)

- `None` = 0
- `Permanent` = 1
- `Temporary` = 2
- `Imbue` = 3

### Enum.ItemGemColor (enumeration)

- `Meta` = 1
- `Red` = 2
- `Yellow` = 4
- `Blue` = 8
- `Hydraulic` = 16
- `Cogwheel` = 32
- `Iron` = 64
- `Blood` = 128
- `Shadow` = 256
- `Fel` = 512
- `Arcane` = 1024
- `Frost` = 2048
- `Fire` = 4096
- `Water` = 8192
- `Life` = 16384
- `Wind` = 32768
- `Holy` = 65536
- `PunchcardRed` = 131072
- `PunchcardYellow` = 262144
- `PunchcardBlue` = 524288
- `DominationBlood` = 1048576
- `DominationFrost` = 2097152
- `DominationUnholy` = 4194304
- `Cypher` = 8388608
- `Tinker` = 16777216
- `Primordial` = 33554432
- `Fragrance` = 67108864
- `SingingThunder` = 134217728
- `SingingSea` = 268435456
- `SingingWind` = 536870912
- `Fiber` = 1073741824

### Enum.ItemHousingSubclass (enumeration)

- `Decor` = 0
- `Dye` = 1
- `Room` = 2
- `RoomCustomization` = 3
- `ExteriorCustomization` = 4
- `ServiceItem` = 5

### Enum.ItemMiscellaneousSubclass (enumeration)

- `Junk` = 0
- `Reagent` = 1
- `CompanionPet` = 2
- `Holiday` = 3
- `Other` = 4
- `Mount` = 5
- `MountEquipment` = 6

### Enum.ItemProfessionSubclass (enumeration)

- `Blacksmithing` = 0
- `Leatherworking` = 1
- `Alchemy` = 2
- `Herbalism` = 3
- `Cooking` = 4
- `Mining` = 5
- `Tailoring` = 6
- `Engineering` = 7
- `Enchanting` = 8
- `Fishing` = 9
- `Skinning` = 10
- `Jewelcrafting` = 11
- `Inscription` = 12
- `Archaeology` = 13

### Enum.ItemQuiverSubclass (enumeration)

- `ObsoleteQuiver` = 0
- `ObsoleteBolts` = 1
- `Quiver` = 2
- `Ammopouch` = 3

### Enum.ItemReagentSubclass (enumeration)

- `Reagent` = 0
- `Keystone` = 1
- `ContextToken` = 2

### Enum.ItemRecipeSubclass (enumeration)

- `Book` = 0
- `Leatherworking` = 1
- `Tailoring` = 2
- `Engineering` = 3
- `Blacksmithing` = 4
- `Cooking` = 5
- `Alchemy` = 6
- `FirstAid` = 7
- `Enchanting` = 8
- `Fishing` = 9
- `Jewelcrafting` = 10
- `Inscription` = 11

### Enum.ItemSocketType (enumeration)

- `None` = 0
- `Meta` = 1
- `Red` = 2
- `Yellow` = 3
- `Blue` = 4
- `Hydraulic` = 5
- `Cogwheel` = 6
- `Prismatic` = 7
- `Iron` = 8
- `Blood` = 9
- `Shadow` = 10
- `Fel` = 11
- `Arcane` = 12
- `Frost` = 13
- `Fire` = 14
- `Water` = 15
- `Life` = 16
- `Wind` = 17
- `Holy` = 18
- `PunchcardRed` = 19
- `PunchcardYellow` = 20
- `PunchcardBlue` = 21
- `Domination` = 22
- `Cypher` = 23
- `Tinker` = 24
- `Primordial` = 25
- `Fragrance` = 26
- `SingingThunder` = 27
- `SingingSea` = 28
- `SingingWind` = 29
- `Fiber` = 30

### Enum.ItemSubclassDisplay (enumeration)

- `HideSubclassInTooltips` = 1
- `HideSubclassInAuction` = 2
- `ShowItemCount` = 4

### Enum.ItemSubclassFlag (enumeration)

- `WeaponsubclassCanparry` = 1
- `WeaponsubclassSetfingerseq` = 2
- `WeaponsubclassIsunarmed` = 4
- `WeaponsubclassIsrifle` = 8
- `WeaponsubclassIsthrown` = 16
- `WeaponsubclassRighthandRanged` = 32
- `ItemsubclassQuivernotrequired` = 64
- `WeaponsubclassRanged` = 128
- `WeaponsubclassDeprecatedReuseMe` = 256
- `ItemsubclassUsesInvtype` = 512
- `ArmorsubclassLfgscalingarmor` = 1024

### Enum.ItemWeaponSubclass (enumeration)

- `Axe1H` = 0
- `Axe2H` = 1
- `Bows` = 2
- `Guns` = 3
- `Mace1H` = 4
- `Mace2H` = 5
- `Polearm` = 6
- `Sword1H` = 7
- `Sword2H` = 8
- `Warglaive` = 9
- `Staff` = 10
- `Bearclaw` = 11
- `Catclaw` = 12
- `Unarmed` = 13
- `Generic` = 14
- `Dagger` = 15
- `Thrown` = 16
- `Obsolete3` = 17
- `Crossbow` = 18
- `Wand` = 19
- `Fishingpole` = 20

### Enum.Itemclassfilterflags (enumeration)

- `Consumable` = 1
- `Container` = 2
- `Weapon` = 4
- `Gem` = 8
- `Armor` = 16
- `Reagent` = 32
- `Projectile` = 64
- `Tradegoods` = 128
- `ItemEnhancement` = 256
- `Recipe` = 512
- `CurrencyTokenObsolete` = 1024
- `Quiver` = 2048
- `Questitemclassfilterflags` = 4096
- `Key` = 8192
- `PermanentObsolete` = 16384
- `Miscellaneous` = 32768
- `Glyph` = 65536
- `Battlepet` = 131072

### Enum.Itemsetflags (enumeration)

- `Legacy` = 1
- `UseItemHistorySetSlots` = 2
- `RequiresPvPTalentsActive` = 4

### Enum.SleevesGeoRange (enumeration)

- `None` = 0
- `Default` = 1
- `Flared` = 2
- `Puffy` = 3
- `PandaCollar` = 4

### Enum.SlotRegion (enumeration)

- `Invalid` = 0
- `PlayerEquip` = 1
- `PlayerBags` = 2
- `PlayerInv` = 3
- `CharacterBank` = 4
- `AccountBank` = 5

### Enum.SlotRegionMask (enumeration)

- `Invalid` = 1
- `PlayerEquip` = 2
- `PlayerBags` = 4
- `PlayerInv` = 8
- `CharacterBank` = 16
- `AccountBank` = 64

### Enum.SubcontainerType (enumeration)

- `Bag` = 0
- `Equipped` = 1
- `Bankgeneric` = 2
- `Bankbag` = 3
- `Mail` = 4
- `Auction` = 5
- `Keyring` = 6
- `GuildBank0` = 7
- `GuildBank1` = 8
- `GuildBank2` = 9
- `GuildBank3` = 10
- `GuildBank4` = 11
- `GuildBank5` = 12
- `GuildOverflow` = 13
- `Equipablespells` = 14
- `CurrencytokenOboslete` = 15
- `GuildBank6` = 16
- `GuildBank7` = 17
- `GuildBank8` = 18
- `GuildBank9` = 19
- `GuildBank10` = 20
- `GuildBank11` = 21
- `Reagentbank` = 22
- `Childequipmentstorage` = 23
- `Quarantine` = 24
- `CreatedImmediately` = 25
- `BuybackSlots` = 26
- `CachedReward` = 27
- `EquippedBags` = 28
- `EquippedProfession1` = 29
- `EquippedProfession2` = 30
- `EquippedCooking` = 31
- `EquippedFishing` = 32
- `EquippedReagentbag` = 33
- `CraftingOrder` = 34
- `CraftingOrderReagents` = 35
- `AccountBankTabs` = 36
- `CurrencyTransfer` = 37
- `CharacterBankTabs` = 38
- `HousingDecorConversion` = 39
- `Reserved` = 40

### Enum.UIItemInteractionFlags (enumeration)

- `DisplayWithInset` = 1
- `ConfirmationHasDelay` = 2
- `ConversionMode` = 4
- `ClickShowsFlyout` = 8
- `AddCurrency` = 16
- `UsesCharges` = 32

### Enum.UIItemInteractionType (enumeration)

- `None` = 0
- `CastSpell` = 1
- `CleanseCorruption` = 2
- `RunecarverScrapping` = 3
- `ItemConversion` = 4

### Enum.WeaponSlot (enumeration)

- `MainHand` = 0
- `OffHand` = 1
- `Ranged` = 2

### ItemConsts (constants)

- `NUM_ITEM_ENCHANTMENT_SOCKETS` = 3
- `MAX_LOOT_OBJECT_ITEMS` = 31
- `INVALID_BANK_TAB_SLOT` = 255
- `DEFAULT_ITEM_SAVE_VERSION` = 2
- `CURRENT_ITEM_SAVE_VERSION` = "DEFAULT_ITEM_SAVE_VERSION"
- `DEFAULT_ARTIFACT_POWERS_VERSION` = 1
- `CURRENT_ARTIFACT_POWERS_VERSION` = "DEFAULT_ARTIFACT_POWERS_VERSION"
- `DEFAULT_RETENTION` = 7
- `MAXIMUM_QUEST_ITEM_LOOT_PRIORITY_VALUES` = 16
- `NUM_RAND_PROP_POINTS_CATEGORIES` = 5
- `NUM_PROFESSION_PROP_POINTS_CATEGORIES` = 2
- `CASTER_WEAPON_DAMAGE_REDUCTION_DIVISOR_WITH_FLAG` = 3
- `CASTER_WEAPON_SPELL_POWER_MULT_WITH_FLAG` = 2
- `CASTER_WEAPON_SPELL_HEALING_MULT_WITH_FLAG` = 3.76
- `CASTER_WEAPON_SPELL_HEALING_DAMAGE_MULT_WITH_FLAG` = 1.253

### ITEM_WEAPON_SUBCLASSConstants (constants)

- `ITEM_WEAPON_SUBCLASS_NONE` = -1
- `ITEM_WEAPON_SUBCLASS_MASK` = 0
- `ITEM_WEAPON_SUBCLASS_IS2HWEAPON_MASK` = 0
- `ITEM_WEAPON_SUBCLASS_USES2HANDS_MASK` = 0
- `ITEM_WEAPON_SUBCLASS_ISRANGEDWEAPON_MASK` = 0
- `ITEM_WEAPON_SUBCLASS_ISTWOHANDEDRANGEDWEAPON_MASK` = 0
- `ITEM_WEAPON_SUBCLASS_ISMAINHANDWEAPON_NONRANGED_MASK` = 0

### ITEM_WEAPON_SUBCLASSConstants_PostMists (constants)

- `ITEM_WEAPON_SUBCLASS_ISTITANSGRIPWEAPON_MASK` = 0

---
Make an addon with your 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."
