API CastingInfo

Returns the player's currently casting spell. name, text, texture, startTime, endTime, isTradeSkill, castID, spellID                  = CastingInfo -- bcc name, text, texture, startTime, endTime, isTradeSkill, castID, notInterruptible, spellID = CastingInfo -- classic_era

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 *1000).
 * endTime : number - Specifies when casting will end in milliseconds (corresponds to *1000).
 * isTradeSkill : boolean
 * castID : string - e.g. "Cast-3-4479-0-1318-2053-000014AD63"
 * notInterruptible : boolean - This return value is omitted in BCC.
 * spellID : number

Details

 * In Classic only casting information for the player is available. This API is essentially the same as ("player")