>wowhelm_
~/forever/addon-api/function/C_SwingTimer.EnableRangeCheck

C_SwingTimer.EnableRangeCheck

documented function · SwingTimer
C_SwingTimer.EnableRangeCheck(swingType, enable)

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

──ARGUMENTS
swingType
PlayerSwingType
enable
bool (True if changes in range for the swing type should dispatch PlayerSwingRangeUpdate. False if the swing type no longer needs the event.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.