WoW:ItemType: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(→‎Sorted Types and Subtypes: added new Gems SubType)
(added the new Gem class and its subclasses and removed the old Gem subclass in TradeGoods)
Line 8: Line 8:


=== Possible itemType returns ===
=== Possible itemType returns ===
"Armor", "Consumable", "Container", "Key", "Miscellaneous", "Reagent", "Recipe", "Projectile", "Quest", "Quiver", "Trade Goods", "Weapon" for English client. Generally it is same strings you see in auction search tab.
"Armor", "Consumable", "Container", "Gem", "Key", "Miscellaneous", "Reagent", "Recipe", "Projectile", "Quest", "Quiver", "Trade Goods", "Weapon" for English client. Generally it is same strings you see in auction search tab.


=== Sorted Types and Subtypes ===
=== Sorted Types and Subtypes ===
Line 31: Line 31:
* "Herb Bag"
* "Herb Bag"
* "Soul Bag"
* "Soul Bag"
'''Gem'''
* "Blue"
* "Green"
* "Orange"
* "Meta"
* "Prismatic"
* "Purple"
* "Red"
* "Simple"
* "Yellow"


'''Key'''
'''Key'''
Line 66: Line 77:
* "Devices"
* "Devices"
* "Explosives"
* "Explosives"
* "Gems"
* "Parts"
* "Parts"
* "Trade Goods"
* "Trade Goods"
Line 91: Line 101:
{{references|body=
{{references|body=
* Tested on 00:45, 15 January 2007 (EST)
* Tested on 00:45, 15 January 2007 (EST)
* Tested new Gem categories 19:40, 23 May 2007 (GMT)
}}
}}

Revision as of 18:36, 23 May 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 an 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 it is same strings you see in auction search tab.

Sorted Types and Subtypes

Armor

Consumable

  • "Consumable"

Container

  • "Bag"
  • "Enchanting Bag"
  • "Engineering Bag" - (Will be implemented in the "The Burning Crusade").
  • "Herb 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 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"

Template:References