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
| name | type | description |
|---|---|---|
slot | number | the index of the loot (1 is the first item, typically coin) |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | lootIcon | string | The path of the graphical icon for the item. |
| 2 | lootName | string | The name of the item. |
| 3 | lootQuantity | number | The quantity of the item in a stack. *Note: Quantity for coin is always 0.* |
| 4 | currencyID | number? | The identifying number of the currency loot in slot, if applicable. *Note: Returns nil for slots with coin and regular items.* |
| 5 | lootQuality | number | The Enum.ItemQuality code for the item. |
| 6 | locked | boolean | Whether you are eligible to loot this item or not. Locked items are by default shown tinted red. |
| 7 | isQuestItem | boolean | Self-explanatory. |
| 8 | questID | number | The identifying number for the quest. |
| 9 | isActive | boolean | True if the item starts a quest that you are not currently on. |
| 10 | isCoin | boolean | True 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 ↗.