The API is no longer being updated here until further notice. |
Returns the minimum and maximum values of a status bar.
statusMin, statusMax = StatusBar:GetMinMaxValues()
Arguments
None
Returns
- statusMin, statusMax
- statusMin
- Number - The minimum value of the status bar
- statusMax
- Number - The maximum value of the status bar
Details
- Very old info: This appears to return only the minimum value at this time (int ver 4216). At the very least, it only returns one number. In terms of the main casting status bar, a better way to access these values is:
minimum = getglobal("CastingBarFrame").startTime; maximum = getglobal("CastingBarFrame").maxValue;