PLAYER_SWING_RANGE_UPDATE
Only signaled for swing types that have an active range check. See C_SwingTimer.EnableRangeCheck.
declare event PLAYER_SWING_RANGE_UPDATE(swingType: PlayerSwingType, isInRange: boolean, checksRange: boolean)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | swingType | PlayerSwingType | |
| 2 | isInRange | boolean | Whether the current target is within auto attack range. Should not be used if the 'checksRange' parameter is false. |
| 3 | checksRange | boolean | Can 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 meansources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SwingTimer system, camelot 1.60.1). Description: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).