C_WorldLootObject
namespaceavailable in: camelotStatus in wowlua
8 functions: 0 implemented, 0 recorded, 8 guessed. 1 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
DoesSlotMatchInventoryType | Whether an equipment slot accepts an inventory type. · by wowlua(slot: number, inventoryType: InventoryType): boolean | guessed |
GetWorldLootObjectDistanceSquared | Returns the squared distance to a world loot object. · by wowlua(unitToken: string): number? | guessed |
GetWorldLootObjectInfo | Returns information about a world loot object. · by wowlua(unitToken: string): WorldLootObjectInfo? | guessed |
GetWorldLootObjectInfoByGUID | Returns information about a world loot object by its GUID. · by wowlua(objectGUID: string): WorldLootObjectInfo? | guessed |
IsWorldLootObject | Whether a unit is a world loot object. · by wowlua(unitToken: string): boolean | guessed |
IsWorldLootObjectByGUID | Whether a GUID belongs to a world loot object. · by wowlua(guid: string): boolean | guessed |
IsWorldLootObjectInRange | Whether a world loot object is in range to interact with. · by wowlua(unitToken: string): boolean | guessed |
OnWorldLootObjectClick | Clicks a world loot object. · by wowlua(unitToken: string, isLeftClick: boolean) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
WORLD_LOOT_OBJECT_INFO_UPDATED | guid: string | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("WORLD_LOOT_OBJECT_INFO_UPDATED").
Structures
WorldLootObjectInfo· inventoryType, atMaxQuality, isUpgrade
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (WorldLootObject system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.