ESODecoded

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 LibCombatits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
LibCombat5,017,654
Foundry Tactical Combat (FTC)1,097,601
Greymind Quick Slot Bar710,122
ESO-Database.com Export AddOn272,910
Jack of all Trades - Automatic CP Respec194,328
Harven's Potions Alert112,873