v0.13.8

CURSOR_CHANGED

eventimplementedC_Cursoravailable in: camelot

Fires when what the cursor holds or its type changes. · description by wowlua

declarationwowlua
declare event CURSOR_CHANGED(isDefault: boolean, newCursorType: UICursorType, oldCursorType: UICursorType, oldCursorVirtualID: number)

Payload

#nametypedescription
1isDefaultbooleanWhether the cursor is now the default one.
2newCursorTypeUICursorTypeThe cursor's new type.
3oldCursorTypeUICursorTypeThe cursor's previous type.
4oldCursorVirtualIDnumberThe virtual ID of what the cursor held before.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its cursor and leftovers3 models. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Cursor system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.