ESODecoded

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", E

Short excerpt from the shipping addon HarvestMapits 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
HarvestMap9,454,533
Map Pins8,061,548
WritWorthy2,484,332
Votan's Fisherman1,662,523
LibSFUtils1,648,729
Loot Log1,608,502