Wikia

WoWWiki

API TYPE Quality

Talk0
101,312pages on
this wiki
Revision as of 19:09, October 6, 2010 by Fodaro (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
API types < Quality

The quality of an item is represented in API code as a non-negative integer.

Known values:

  • 0 = Poor
  • 1 = Common
  • 2 = Uncommon
  • 3 = Rare
  • 4 = Epic
  • 5 = Legendary
  • 6 = Artifact
  • 7 = Heirloom

API Usage Edit

Quality is the third value returned by GetItemInfo().

Given a quality value, the color used to represent it may be found using GetItemQualityColor().`

The localized name of each quality can be found in ITEM_QUALITY#_DESC variable, where # is the quality number.

Around Wikia's network

Random Wiki