v0.13.8

C_SwingTimer.EnableRangeCheck

functionguessedavailable in: camelot

Used in conjunction with PLAYER_SWING_RANGE_UPDATE to inform the UI when the current target goes in or out of auto attack range.

signaturewowlua
function C_SwingTimer.EnableRangeCheck(    swingType: PlayerSwingType,    enable: boolean)

Parameters

nametypedescription
swingTypePlayerSwingType
enablebooleanTrue if changes in range for the swing type should dispatch PlayerSwingRangeUpdate. False if the swing type no longer needs the event.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SwingTimer system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.