Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the player's currently casting spell.
name, text, texture, startTime, endTime, isTradeSkill, castID, notInterruptible, spellID = CastingInfo()
Returns[]
- name
- string - The name of the spell.
- text
- string - The name to be displayed.
- texture
- number : FileID
- startTime
- number - Specifies when casting began in milliseconds (corresponds to GetTime()*1000).
- endTime
- number - Specifies when casting will end in milliseconds (corresponds to GetTime()*1000).
- isTradeSkill
- boolean
- castID
- string - e.g. "Cast-3-4479-0-1318-2053-000014AD63"
- notInterruptible
- boolean - This is always nil.
- spellID
- number
Details[]
- In Classic only casting information for the player is available. This API is essentially the same as UnitCastingInfo("player")
Patch changes[]
Patch 1.13.2 (2019-08-26): Added.