GetSlotItemLink
ESO Lua API function — used by 30 of the 3,030 addons we indexed (combined 7,809,482 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetSlotItemLink(luaindex actionSlotIndex, [HotBarCategory|#HotBarCategory] hotbarCategory)Returns: string itemLink
Real usage — from LibCombat
data.currentQuickslotIndex = actionSlotIndex
local itemLink = GetSlotItemLink(data.currentQuickslotIndex, HOTBAR_CATEGORY_QUICKSLOT_WHEEL)
Log("debug", LOG_LEVEL_INFO, "Quickslot New: %s", itemLink, actionSlotIndex)Short excerpt from the shipping addon LibCombat — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| LibCombat | 5,017,654 |
| Foundry Tactical Combat (FTC) | 1,097,601 |
| Greymind Quick Slot Bar | 710,122 |
| ESO-Database.com Export AddOn | 272,910 |
| Jack of all Trades - Automatic CP Respec | 194,328 |
| Harven's Potions Alert | 112,873 |