v0.13.8

C_Spell.EnableSpellRangeCheck

functionguessedavailable in: camelot

Used in conjunction with SpellRangeCheckUpdate to inform the UI when a spell goes in or out of range with the current target.

signaturewowlua
function C_Spell.EnableSpellRangeCheck(    spellIdentifier: SpellIdentifier,    enable: boolean)

Parameters

nametypedescription
spellIdentifierSpellIdentifier
enablebooleanTrue if changes in range for the spell should dispatch SpellRangeCheckUpdate. False if the spell 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) (Spell system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.