MapBarFrame :GetString()
Jump to navigation
Jump to search
- This function is implemented in
.:GetString FrameXML/MapBar.lua
- This function is implemented in
Returns specified map bar text for a given tag and phase.
text = MapBarFrame_GetString(stringType, tag, phase)
Arguments
- stringType
- String - text type to return; one of "TITLE", "TOOLTIP", "DESCRIPTION", or "LOCKED".
- tag
- String - map bar tag, as returned by C_MapBar.GetTag.
- phase
- Number - map bar phase index, as per C_MapBar.GetPhaseIndex.
Returns
- text
- String - the specified text, or nil if the combination of arguments is invalid or unused.
Patch history
Patch 5.2.0 (2013-03-05): Added.