WoW API type: ItemType

From AddOn Studio
Revision as of 21:37, 9 June 2006 by WoWWiki>Mikk ({{wowapitype}})
Jump to navigation Jump to search

API types

These are the possible 5th and 6th returns of GetItemInfo.

Item Types and Item Sub Types

Every item in the game has an type and subtype of some kind. No valid item will return nil for either of these values.

Possible itemType returns

"Armor", "Consumable", "Container", "Key", "Miscellaneous", "Reagent", "Recipe", "Projectile", "Quest", "Quiver", "Trade Goods", "Weapon"

Sorted Types and Subtypes

Armor

  • "Cloth"
  • "Idols"
  • "Leather"
  • "Librams"
  • "Mail"
  • "Miscellaneous"
  • "Shields"
  • "Totems"
  • "Plate"

Consumable

  • "Consumable"

Container

  • "Bag"
  • "Enchanting Bag"
  • "Engineering Bag" - (exists in Auction house, no known item in game uses this subtype).
  • "Herb Bag"
  • "Soul Bag"

Key

  • "Key"

Miscellaneous

  • "Junk"

Reagent

  • "Reagent"

Recipe

  • "Alchemy"
  • "Blacksmithing"
  • "Book"
  • "Cooking"
  • "Enchanting"
  • "Engineering"
  • "First Aid"
  • "Leatherworking"
  • "Tailoring"

Projectile

  • "Arrow"
  • "Bullet"

Quest

  • "Quest"

Quiver

  • "Ammo Pouch"
  • "Quiver"

Trade Goods

  • "Devices"
  • "Explosives"
  • "Parts"
  • "Trade Goods"

Weapon

  • "Bows"
  • "Crossbows"
  • "Daggers"
  • "Guns"
  • "Fishing Pole"
  • "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"