WoW:API GetLootSlotInfo: Difference between revisions

m
Updated return values as of at least 7.3.2.
No edit summary
m (Updated return values as of at least 7.3.2.)
Line 3: Line 3:
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->


  lootIcon, lootName, lootQuantity, rarity, locked = GetLootSlotInfo(''index'');
  lootIcon, lootName, lootQuantity, rarity, locked, isQuestItem, questId, isActive = GetLootSlotInfo(''index'');


<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
Line 24: Line 24:
:; rarity: Number - 0 for grey, 1 for white items and quest items, 2 for green, 3 for blue and have not seen output with epics yet presumably it would be 4 as it has incremented so far.
:; rarity: Number - 0 for grey, 1 for white items and quest items, 2 for green, 3 for blue and have not seen output with epics yet presumably it would be 4 as it has incremented so far.
:; locked: Whether you are eligible to loot this item or not. Locked items are by default shown tinted red.
:; locked: Whether you are eligible to loot this item or not. Locked items are by default shown tinted red.
 
:; isQuestItem: Whether or not this item is used for a quest.
:; questId: Number - the quest ID that this item is related to if isQuestId is true.
:; isActive: Unknown.
----
----
;''Example''
;''Example''
Anonymous user