API QueryCastSequence

From Wowpedia
Jump to: navigation, search
"I" iconThis function is implemented by FrameXML in FrameXML/ChatFrame.lua.

Returns information about a cast sequence's next action.

index, item, spell = QueryCastSequence("sequence")

Arguments

sequence 
String - Cast sequence string (e.g. "reset=20/alt Moonfire, Starfire, Starfire, Wrath").

Returns

index 
Number - Index of the next action in the cast sequence
item 
String - string identifying an item if this action would use one; nil otherwise.
spell 
String - spell name used.