API C MapBar.GetMaxValue

From Warcraft Wiki
Jump to navigation Jump to search

Returns the amount of progress required to unlock the next phase of the current map.

maxValue = C_MapBar.GetCurrentValue()

Returns

maxValue
Number - progress required to unlock the next phase of the current map; nil if the current map does not use the map bar.

Details

  • In cases when there is no next phase, this function returns an arbitrarily large value.

Patch changes

See also