WoW API type: ItemType
These are the possible itemType and itemSubType returns of GetItemInfo.
Item Types and Item Sub TypesEdit
Every item in the game has a type and subtype of some kind. No valid item will return nil for either of these values. Be aware that the strings are localized on the clients.
Possible itemType returnsEdit
"Armor", "Consumable", "Container", "Gem", "Key", "Miscellaneous", "Money", "Reagent", "Recipe", "Projectile", "Quest", "Quiver", "Trade Goods", "Weapon" for English client. Generally they are the same strings you see in the auction search tab.
Sorted Types and SubtypesEdit
ArmorEdit
- "Miscellaneous" - includes Spellstones and Firestones
- "Cloth"
- "Leather"
- "Mail"
- "Plate"
- "Shields"
- "Librams"
- "Idols"
- "Totems"
- "Sigils"
ConsumableEdit
- "Food & Drink"
- "Potion"
- "Elixir"
- "Flask"
- "Bandage"
- "Item Enhancement"
- "Scroll"
- "Other"
- "Consumable" - Seems some items still show up as this in 2.4.2 (Fel Blossom, Weighted Jack-o'-Lantern)
ContainerEdit
- "Bag"
- "Enchanting Bag"
- "Engineering Bag"
- "Gem Bag"
- "Herb Bag"
- "Leatherworking Bag"
- "Mining Bag"
- "Soul Bag"
GemEdit
- "Blue"
- "Green"
- "Orange"
- "Meta"
- "Prismatic"
- "Purple"
- "Red"
- "Simple"
- "Yellow"
- "Artifact Relic"
KeyEdit
- "Key"
MiscellaneousEdit
- "Junk"
- "Reagent"
- "Pet"
- "Holiday"
- "Mount"
- "Other"
MoneyEdit
- Badges and other "linkable items" used as currency.
ReagentEdit
- "Reagent" - this is likely defunct
RecipeEdit
- "Alchemy"
- "Blacksmithing"
- "Book"
- "Cooking"
- "Enchanting"
- "Engineering"
- "First Aid"
- "Inscription"?
- "Leatherworking"
- "Tailoring"
ProjectileEdit
- "Arrow"
- "Bullet"
QuestEdit
- "Quest"
QuiverEdit
- Not specific to ammo, as of Template:Cata-inline Cataclysm.
- "Ammo Pouch"
- "Quiver"
Trade Goods (Tradeskill)Edit
- "Armor Enchantment"
- "Cloth"
- "Devices"
- "Elemental"
- "Enchanting"
- "Explosives"
- "Herb"
- "Jewelcrafting"
- "Leather"
- "Materials"
- "Meat"
- "Metal & Stone"
- "Other"
- "Parts"
- "Trade Goods" - Some items still show up as this in Patch 2.4.2 (Mountain Silversage)
- "Weapon Enchantment"
The actual parent item type returned for these as of Battle For Azeroth Patch 8.0.1 is called Tradeskill.
WeaponEdit
- "Bows"
- "Crossbows"
- "Daggers"
- "Guns"
- "Fishing Poles" (used to be "Fishing Pole" before Patch 2.3)
- "Fist Weapons"
- "Miscellaneous"
- "One-Handed Axes"
- "One-Handed Maces"
- "One-Handed Swords"
- "Polearms"
- "Staves"
- "Thrown"
- "Two-Handed Axes"
- "Two-Handed Maces"
- "Two-Handed Swords"
- "Wands"
(for the purpose of &91;equipped: &93; these can be used)
- "One-Hand"
- "Two-Hand"
NotesEdit
- For the itemtype "Armor" and the itemtype "Weapon," the possible itemsubtype returns seem to be consistent with the names of the proficiency spells. For example "Daggers" is the same name as Spell 1180. This may be useful for localizing an add-on that checks against these values. However, if your add-on just prints these values, GetItemInfo already returns the localized string.