SHOW_LOOT_TOAST
Fires when the game wants a loot toast shown for something the player received. Blizzard's alert frames show an item, money, currency (personal loot only) or honor toast depending on typeIdentifier. · description by wowlua
declare event SHOW_LOOT_TOAST(typeIdentifier: string, itemLink: string, quantity: number, specID: number, sex: number, personalLootToast: boolean, toastMethod: number, lessAwesome: boolean, upgraded: boolean, corrupted: boolean)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | typeIdentifier | string | The kind of reward: "item", "money", "currency" or "honor". |
| 2 | itemLink | string | The reward's link. |
| 3 | quantity | number | How many were received, or the amount of money or honor. |
| 4 | specID | number | The loot specialization the reward was for. |
| 5 | sex | number | |
| 6 | personalLootToast | boolean | Whether the reward came from personal loot. |
| 7 | toastMethod | number | Where the loot came from, passed to the toast as its loot source. |
| 8 | lessAwesome | boolean | Whether to show a smaller toast. |
| 9 | upgraded | boolean | Whether the item was upgraded. |
| 10 | corrupted | boolean | Whether the item is corrupted. |
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.