v0.13.8

GetLootSlotInfo

functionimplementedavailable in: camelot

Returns info for a loot slot.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
slotnumberthe index of the loot (1 is the first item, typically coin)

Returns

#nametypedescription
1lootIconstringThe path of the graphical icon for the item.
2lootNamestringThe name of the item.
3lootQuantitynumberThe quantity of the item in a stack. *Note: Quantity for coin is always 0.*
4currencyIDnumber?The identifying number of the currency loot in slot, if applicable. *Note: Returns nil for slots with coin and regular items.*
5lootQualitynumberThe Enum.ItemQuality code for the item.
6lockedbooleanWhether you are eligible to loot this item or not. Locked items are by default shown tinted red.
7isQuestItembooleanSelf-explanatory.
8questIDnumberThe identifying number for the quest.
9isActivebooleanTrue if the item starts a quest that you are not currently on.
10isCoinbooleanTrue if the slot contains money loot.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.