v0.13.8

LOOT_OPENED

eventimplementedC_Lootavailable in: camelot

Fires when the loot window opens. Blizzard's loot frame shows the loot and plays a sound; if the frame can't be shown it calls CloseLoot. · description by wowlua

declarationwowlua
declare event LOOT_OPENED(autoLoot: boolean, isFromItem: boolean)

Payload

#nametypedescription
1autoLootbooleanWhether the loot is being taken automatically.
2isFromItembooleanWhether the loot comes from opening an item, such as a container.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its loot model. 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.