v0.13.8

SHOW_LOOT_TOAST_UPGRADE

eventnot implementedC_Lootavailable in: camelot

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

declarationwowlua
declare event SHOW_LOOT_TOAST_UPGRADE(itemLink: string, quantity: number, specID: number, sex: number, baseQuality: number, personalLootToast: boolean, lessAwesome: boolean)

Payload

#nametypedescription
1itemLinkstringThe item received.
2quantitynumberHow many were received.
3specIDnumberThe loot specialization the item was for.
4sexnumber
5baseQualitynumberThe item's quality before the upgrade.
6personalLootToastbooleanWhether the item came from personal loot.
7lessAwesomebooleanWhether 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 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.