EVENT_INVENTORY_SINGLE_SLOT_UPDATE
ESO Lua API function — used by 343 of the 3,030 addons we indexed (combined 95,407,860 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_INVENTORY_SINGLE_SLOT_UPDATE([Bag|#Bag] bagId, integer slotIndex, bool isNewItem, [ItemUISoundCategory|#ItemUISoundCategory] itemSoundCategory, integer inventoryUpdateReason, integer stackCountChange, string:nilable triggeredByCharacterName, string:nilable triggeredByDisplayName, bool isLastUpdateForMessage, [BonusDropSource|#BonusDropSource] bonusDropSource)Real usage — from Dolgubon's Lazy Writ Crafter
fatiguedLoot[boxCraft] = true
EVENT_MANAGER:RegisterForEvent(WritCreater.name.."LootListener", EVENT_INVENTORY_SINGLE_SLOT_UPDATE , function(...)lootListener(boxCraft, lastLootedBoxSlot,lookForLoot, ...) end)
EVENT_MANAGER:RegisterForShort excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — 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 |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| HarvestMap | 9,454,533 |
| LibLazyCrafting | 6,538,592 |
| Lost Treasure | 6,404,899 |
| AUI - Advanced UI | 5,406,091 |
| CraftStore | 5,176,147 |