GetCurrentQuickslot
ESO Lua API function — used by 42 of the 3,030 addons we indexed (combined 15,250,587 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetCurrentQuickslot()Returns: luaindex actionSlotIndex
Real usage — from Action Duration Reminder
if l.getSavedVars().barShowInQuickslot then
local remain,duration, global = GetSlotCooldownInfo(GetCurrentQuickslot(),HOTBAR_CATEGORY_QUICKSLOT_WHEEL)
if remain>0 and not global thenShort excerpt from the shipping addon Action Duration Reminder — 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 |
|---|---|
| Action Duration Reminder | 6,522,011 |
| LibCombat | 5,017,654 |
| Foundry Tactical Combat (FTC) | 1,097,601 |
| Greymind Quick Slot Bar | 710,122 |
| PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch] | 487,232 |
| Caro's Skill Point Saver (Respec Skill Lines, Champion Points, Gear, Quickslots, Appearances) | 364,055 |