Fandom

WoWWiki

API TYPE Quality

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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 ← Pre-0700Legion-Logo-Small Legion
  • 7 = Heirloom ff00ccff0700Legion-Logo-Small Legion[citation needed]
  • 8 = WoW Token

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.

See also Edit

Icon-edit-22x22
Note: This is a generic section stub. You can help expand it by clicking Sprite-monaco-pencil Edit to the right of the section title.

Also on Fandom

Random Wiki