v0.13.8

SHOW_LOOT_TOAST

eventnot implementedC_Lootavailable in: camelot

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

declarationwowlua
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

#nametypedescription
1typeIdentifierstringThe kind of reward: "item", "money", "currency" or "honor".
2itemLinkstringThe reward's link.
3quantitynumberHow many were received, or the amount of money or honor.
4specIDnumberThe loot specialization the reward was for.
5sexnumber
6personalLootToastbooleanWhether the reward came from personal loot.
7toastMethodnumberWhere the loot came from, passed to the toast as its loot source.
8lessAwesomebooleanWhether to show a smaller toast.
9upgradedbooleanWhether the item was upgraded.
10corruptedbooleanWhether 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 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.