WoW:ItemType: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Alphabetically sorted "Trade Goods" category and added Armor/Weapon Enchantments to the list.)
Line 8: Line 8:


=== Possible itemType returns ===
=== 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.
"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 Subtypes ===
=== Sorted Types and Subtypes ===
Line 64: Line 66:
* "Mount"
* "Mount"
* "Other"
* "Other"
'''Money''' - Badges and other "linkable items" used as money


'''Reagent'''
'''Reagent'''

Revision as of 13:17, 15 March 2009

API types

These are the possible itemType and itemSubType 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", "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 Subtypes

Armor

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

Consumable

  • "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)

Container

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

Gem

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

Key

  • "Key"

Miscellaneous

  • "Junk"
  • "Reagent"
  • "Pet"
  • "Holiday"
  • "Mount"
  • "Other"

Money - Badges and other "linkable items" used as money

Reagent

  • "Reagent" - I think this is defunct

Recipe

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

Projectile

  • "Arrow"
  • "Bullet"

Quest

  • "Quest"

Quiver

  • "Ammo Pouch"
  • "Quiver"

Trade Goods

  • "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 2.4.2 (Mountain Silversage)
  • "Weapon Enchantment"

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"

(for the purpose of [equipped: ] these can be used)

  • "One-Hand"
  • "Two-Hand"