WoW API type: Quality

From AddOn Studio
Revision as of 23:05, 7 January 2009 by WoWWiki>WoWWiki-Murph (Added Heirloom, qc- classes)
Jump to navigation Jump to search

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

Quality is the third value returned by GetItemInfo().

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