WoW:ItemType: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
("Fishing Pole" became "Fishing Poles" in 2.3)
Line 87: Line 87:
* "Daggers"
* "Daggers"
* "Guns"
* "Guns"
* "Fishing Pole"
* "Fishing Poles" (used to be "Fishing Pole" before 2.3)
* "Fist Weapons"
* "Fist Weapons"
* "Miscellaneous"
* "Miscellaneous"

Revision as of 10:16, 15 November 2007

API types

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

Item Types and Item Sub Types

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 returns

"Armor", "Consumable", "Container", "Gem", "Key", "Miscellaneous", "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 Subtypes

Armor

  • "Cloth"
  • "Idols"
  • "Leather"
  • "Librams"
  • "Mail"
  • "Miscellaneous" - includes Spellstones and Firestones
  • "Shields"
  • "Totems"
  • "Plate"

Consumable

  • "Consumable"

Container

  • "Bag"
  • "Enchanting Bag"
  • "Engineering Bag"
  • "Gem Bag"
  • "Herb Bag"
  • "Mining Bag"
  • "Soul Bag"

Gem

  • "Blue"
  • "Green"
  • "Orange"
  • "Meta"
  • "Prismatic"
  • "Purple"
  • "Red"
  • "Simple"
  • "Yellow"

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 Poles" (used to be "Fishing Pole" before 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"