WoW:API GetInventoryItemQuality: Difference between revisions
Jump to navigation
Jump to search
GetInventoryItemQuality - Documentation by Flickering
mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
__NOTOC__ | __NOTOC__ | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Functions|GetInventoryItemQuality]] | |||
[[Category:API Inventory Functions|GetInventoryItemQuality]] | [[Category:API Inventory Functions|GetInventoryItemQuality]] |
Revision as of 18:26, 29 August 2005
Return the quality of an inventory item.
quality = GetInventoryItemQuality("unit", slotId)
Parameters
Arguments
- ("unit", slotId)
- unit
- String - The UnitId of the unit whose inventory is to be queried.
- slotId
- Numeric - The inventory slot to be queried, obtained via GetInventorySlotInfo.
Returns
- quality
- quality
- Numeric - The quality index of the item in the specified slot, or nil if the slot is empty. (Quality names are ITEM_QUALITY<num>_DESC).