Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Added Heirloom, qc- classes)
 
 
Line 1: Line 1:
  +
== Licensing ==
{{wowapi}}
 
  +
{{Licensing|NPC}}
The [[quality]] of an item is represented in API code as a non-negative integer.
 
 
Known values:
 
* 0 = <span class="qc-poor">Poor</span>
 
* 1 = <span class="qc-common">Common</span>
 
* 2 = <span class="qc-uncommon">Uncommon</span>
 
* 3 = <span class="qc-rare">Rare</span>
 
* 4 = <span class="qc-epic">Epic</span>
 
* 5 = <span class="qc-legendary">Legendary</span>
 
* 6 = <span class="qc-artifact">Artifact</span>
 
* 7 = <span class="qc-heirloom">Heirloom</span>
 
 
=== API Usage ===
 
 
Quality is the third value returned by [[API GetItemInfo|GetItemInfo()]].
 
 
Given a quality value, the color used to represent it may be found using [[API GetItemQualityColor|GetItemQualityColor()]].
 
 
[[Category:Interface customization]]
 

Revision as of 01:41, 21 July 2011

Licensing