C_Item.GetItemQuality

From Wowpedia
Jump to: navigation, search

Needs summary.

itemQuality = C_Item.GetItemQuality(itemLocation)
            = C_Item.GetItemQualityByID("itemInfo")

Arguments (GetItemQuality)

itemLocation 
table - ItemLocationMixin

Arguments (GetItemQualityByID)

itemInfo 
string - ItemLink or ID

Returns

itemQuality 
Enum.ItemQuality
Value Key GlobalString (enUS)
0 Poor Poor ITEM_QUALITY0_DESC
1 Common Common ITEM_QUALITY1_DESC
2 Uncommon Uncommon ITEM_QUALITY2_DESC
3 Rare Rare ITEM_QUALITY3_DESC
4 Epic Epic ITEM_QUALITY4_DESC
5 Legendary Legendary ITEM_QUALITY5_DESC
6 Artifact Artifact ITEM_QUALITY6_DESC
7 Heirloom Heirloom ITEM_QUALITY7_DESC
8 WoWToken   WoW Token ITEM_QUALITY8_DESC

Patch changes

See also

External links