API GetLootSlotLink

Returns the item link for a loot slot.
 itemLink = GetLootSlotLink(index)
==Arguments==
:;index: - The index of the item in the list to retrieve info from (1 to GetNumLootItems())
==Returns==
:;itemLink: - The itemLink for the specified item, or nil if index is invalid.
==Example==
The example below will display the item links into your chat window.
 local linkstext = ""
 for index = 1, GetNumLootItems() do
 if LootSlotHasItem(index) then
 local itemLink = GetLootSlotLink(index)
 linkstext = linkstext .. itemLink
 end
 end
 print(linkstext)