API GetLootSlotInfo

Returns information about the contents of a loot slot. lootIcon, lootName, lootQuantity, currencyID, lootQuality, locked, isQuestItem, questID, isActive = GetLootSlotInfo(slot)

Arguments

 * slot: Number - the index of the loot (1 is the first item, typically coin)

Returns

 * lootIcon: String - The path of the graphical icon for the item.
 * lootName: String - The name of the item.
 * lootQuantity: Number - The quantity of the item in a stack. Note: Quantity for coin is always 0.
 * currencyID: Number - The identifying number of the currency loot in slot, if applicable. Note: Returns nil for slots with coin and regular items.
 * lootQuality
 * Number - The quality code for that item.


 * locked: Boolean - Whether you are eligible to loot this item or not. Locked items are by default shown tinted red.
 * isQuestItem: Boolean - Self-explanatory.
 * questID: Number - The identifying number for the quest.
 * isActive: Boolean - True if the item starts a quest that you are not currently on.