v0.13.8

ENCOUNTER_LOOT_RECEIVED

eventnot implementedC_Lootavailable in: camelot

Fires for each item a group member receives from a boss encounter. Blizzard's boss banner lists the loot under the kill banner in dungeons and raids. Blizzard's handler reads the fifth and sixth values as the player's name and class file name. · description by wowlua

declarationwowlua
declare event ENCOUNTER_LOOT_RECEIVED(encounterID: number, itemID: number, itemLink: string, quantity: number, itemName: string, fileName: string)

Payload

#nametypedescription
1encounterIDnumberThe encounter the loot came from.
2itemIDnumberThe item received.
3itemLinkstringThe item's link.
4quantitynumberHow many were received.
5itemNamestringRead by Blizzard's UI as the name of the player who received it.
6fileNamestringRead by Blizzard's UI as that player's class file name, such as "WARRIOR".

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Loot system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.