UNIT_LOOT
eventimplementedavailable in: camelot
Fires when a unit becomes lootable or stops being lootable. · description by wowlua
declare event UNIT_LOOT(unitGUID: string, hasLoot: boolean)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | unitGUID | string | GUID of the unit. |
| 2 | hasLoot | boolean | Whether the unit has loot. |
Blizzard's documentation marks the event as synchronous.
In wowlua's emulated client
implementedThe emulator fires it on its own, from its loot and units models. what the statuses mean
sources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.