ENCOUNTER_LOOT_RECEIVED
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
declare event ENCOUNTER_LOOT_RECEIVED(encounterID: number, itemID: number, itemLink: string, quantity: number, itemName: string, fileName: string)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | encounterID | number | The encounter the loot came from. |
| 2 | itemID | number | The item received. |
| 3 | itemLink | string | The item's link. |
| 4 | quantity | number | How many were received. |
| 5 | itemName | string | Read by Blizzard's UI as the name of the player who received it. |
| 6 | fileName | string | Read 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 meansources
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.