v0.13.8

PLAYER_SWING_RANGE_UPDATE

eventnot implementedC_SwingTimeravailable in: camelot

Only signaled for swing types that have an active range check. See C_SwingTimer.EnableRangeCheck.

declarationwowlua
declare event PLAYER_SWING_RANGE_UPDATE(swingType: PlayerSwingType, isInRange: boolean, checksRange: boolean)

Payload

#nametypedescription
1swingTypePlayerSwingType
2isInRangebooleanWhether the current target is within auto attack range. Should not be used if the 'checksRange' parameter is false.
3checksRangebooleanCan be false if a range check was not made for any reason, for example there is not a current target.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SwingTimer system, camelot 1.60.1). Description: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).