EVENT_LOOT_RECEIVED
ESO Lua API function — used by 114 of the 3,030 addons we indexed (combined 29,765,615 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_LOOT_RECEIVED(string receivedBy, string itemName, integer quantity, [ItemUISoundCategory|#ItemUISoundCategory] soundCategory, [LootItemType|#LootItemType] lootType, bool self, bool isPickpocketLoot, string questItemIcon, integer itemId, bool isStolen)Real usage — from HarvestMap
EVENT_MANAGER:RegisterForEvent("HarvestMap", EVENT_BEGIN_LOCKPICK, Interaction.BeginLockpicking)
EVENT_MANAGER:RegisterForEvent("HarvestMap", EVENT_LOOT_RECEIVED, Interaction.OnLootReceived)
EVENT_MANAGER:RegisterForEvent("HarvestMap", EShort excerpt from the shipping addon HarvestMap — 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 |
|---|---|
| HarvestMap | 9,454,533 |
| Map Pins | 8,061,548 |
| WritWorthy | 2,484,332 |
| Votan's Fisherman | 1,662,523 |
| LibSFUtils | 1,648,729 |
| Loot Log | 1,608,502 |