SHOW_LOOT_TOAST_UPGRADE
Fires when the player receives an item that was upgraded from its base quality. Blizzard's UI shows the loot upgrade toast. · description by wowlua
declare event SHOW_LOOT_TOAST_UPGRADE(itemLink: string, quantity: number, specID: number, sex: number, baseQuality: number, personalLootToast: boolean, lessAwesome: boolean)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | itemLink | string | The item received. |
| 2 | quantity | number | How many were received. |
| 3 | specID | number | The loot specialization the item was for. |
| 4 | sex | number | |
| 5 | baseQuality | number | The item's quality before the upgrade. |
| 6 | personalLootToast | boolean | Whether the item came from personal loot. |
| 7 | lessAwesome | boolean | Whether to show a smaller toast. |
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.