WoW API: ITEM QUALITY COLORS

From AddOn Studio
Revision as of 00:19, 19 May 2009 by WoWWiki>X87bliss (→‎Notes: ITEM_QUALITY7_DESC is now defined it seems.)
Jump to navigation Jump to search


WoW API < ITEM QUALITY COLORS

This is an array of item quality colors, used to color the item name any place it appears.

You can also refer to them using ITEM_QUALITY_COLORS[X]. The "description" of the item is given using the constant ITEM_QUALITYX_DESC, which will be localized.

The current list is:

0 - Poor
1 - Common
2 - Uncommon
3 - Rare
4 - Epic
5 - Legendary
6 - Artifact

Notes

Patch 3.0.2 introduced quality 7 (Heirloom), but neither ITEM_QUALITY7_DESC nor ITEM_QUALITY_COLORS[7] exist as of 3.0.3.

Update: As of 3.1.1 it seems ITEM_QUALITY7_DESC is defined as "Heirloom," however ITEM_QUALITY_COLORS[7] still does not exist. Calling GetItemQualityColor(7) does return the correct colors.

See also