v0.13.8

C_Cursor

namespaceavailable in: camelot

Status in wowlua

1 function: 0 implemented, 0 recorded, 1 guessed. 4 events, 1 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetCursorItemReturns the item currently dragged by the player.
(): ItemLocationMixin?
guessed

Events

eventpayloadfired by the emulator
BATTLE_PET_CURSOR_CLEARno payloadnot implemented
CURSOR_CHANGEDisDefault: boolean, newCursorType: UICursorType, oldCursorType: UICursorType, oldCursorVirtualID: numberimplemented
MOUNT_CURSOR_CLEARno payloadnot implemented
WORLD_CURSOR_TOOLTIP_UPDATEanchorType: WorldCursorAnchorTypenot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("BATTLE_PET_CURSOR_CLEAR").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Cursor system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.