WoW:API GetLootSlotInfo
lootIcon, lootName, lootQuantity, unknown = GetLootSlotInfo(index);
Returns the information for a loot slot.
- Arguments
- slot
- slot
- Number - the index of the item (1 is the first item)
- Returns
- lootIcon
- lootIcon
- String - The path of the graphical icon for the item.
- lootName
- lootName
- String - The name of the item.
- lootQuantity
- lootQuantity
- Number - The quantity of the item in a stack. Note: Quantity for coin is always 0.
- unknown
- unknown
- Number - It is currently unknown what this value is.
- Example
local lootIcon, lootName, lootQuantity, unknown = GetLootSlotInfo(1);
- Result
- lootIcon is "Interface\Icons\INV_Misc_Coin_06"
- lootName is "3 silver 40 copper"
- lootQuantity is 0
- unknown is 0