API C MapBar.GetPhaseIndex

From Warcraft Wiki
Jump to navigation Jump to search

Returns the current map phase.

phaseIndex = C_MapBar.GetPhaseIndex()

Returns

phaseIndex
Number - phase index of the current map bar phase for the current map, nil if the current map does not use the map bar.

Patch changes

See also