IsCasting
From WoWWiki
| | Used to be part of the Cosmos distribution. |
Last content update was 1 Sep 2006.
IsCasting is a complex addon for determining some simple casting information that the built in API is lacking.
The information is gathered via a series of function hooks and events and is available to the user on and even after the spell events at only the cost of a function/variable lookup.
There are tons of instances where having this information at your fingertips might be useful: spell announcements, visual combat log, cast time visuals, macros, etc. The opportunities are limited only by your imagination!
Your new best friends:
IsCasting Functions
- IsCasting.RegisterForEvent
- IsCasting.UnregisterForEvent
- PlayerIsCasting
- IsCasting.GetTimeLeft
- IsCasting.GetSpellCastTime
- IsCasting.GetReadableSpellCastTime
- IsCasting.GetSpellCastStartTime
- IsCasting.GetSpellCastEndTime
- IsCasting.GetSpellName
- IsCasting.GetSpellRank
- IsCasting.GetSpellTargetName
- IsCasting.GetSpellTexture
Note: Anywhere a spell target is returned if the target was an item it will return an item link (rather than just the name)
Available at www.curse-gaming.com and www.wowinterface.com.
Embedding
To embed IsCasting in your addon:
- 1) Drop the IsCasting folder in your addon folder
- 2) Either add the following to your xml file:
<Include file="IsCasting\IsCasting.xml"/>
- Or add this line to your toc file:
IsCasting\IsCasting.xml
