Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Needs summary.

widgetInfo = C_UIWidgetManager.GetStatusBarWidgetVisualizationInfo(widgetID)

Arguments[]

widgetID
number - Returned from UPDATE_UI_WIDGET and C_UIWidgetManager.GetAllWidgetsBySetID()

Returns[]

widgetInfo
StatusBarWidgetVisualizationInfo?
Field Type Description
shownState Enum.WidgetShownState
barMin number
barMax number
barValue number
text string
tooltip string
barValueTextType Enum.StatusBarValueTextType
overrideBarText string
overrideBarTextShownType Enum.StatusBarOverrideBarTextShownType
colorTint Enum.StatusBarColorTintValue
partitionValues number[]
tooltipLoc Enum.UIWidgetTooltipLocation
fillMotionType Enum.UIWidgetMotionType
barTextEnabledState Enum.WidgetEnabledState
barTextFontType Enum.UIWidgetFontType
barTextSizeType Enum.UIWidgetTextSizeType
textEnabledState Enum.WidgetEnabledState
textFontType Enum.UIWidgetFontType
textSizeType Enum.UIWidgetTextSizeType
widgetSizeSetting number
textureKit string : textureKit
frameTextureKit string : textureKit
hasTimer boolean
orderIndex number
widgetTag string
inAnimType Enum.WidgetAnimationType
outAnimType Enum.WidgetAnimationType
widgetScale Enum.UIWidgetScale
layoutDirection Enum.UIWidgetLayoutDirection
modelSceneLayer Enum.UIWidgetModelSceneLayer
scriptedAnimationEffectID number
Enum.WidgetShownState
Value Field Description
0 Hidden
1 Shown
Enum.StatusBarValueTextType
Value Field Description
0 Hidden
1 Percentage
2 Value
3 Time
4 TimeShowOneLevelOnly
5 ValueOverMax
6 ValueOverMaxNormalized Added in 8.1.5
Enum.StatusBarOverrideBarTextShownType
Value Field Description
0 Never
1 Always
2 OnlyOnMouseover
3 OnlyNotOnMouseover
Enum.StatusBarColorTintValue
Value Field Description
0 None
1 Black
2 White
3 Red
4 Yellow
5 Orange
6 Purple
7 Green
8 Blue
Enum.UIWidgetTooltipLocation
Value Field Description
0 Default
1 BottomLeft
2 Left
3 TopLeft
4 Top
5 TopRight
6 Right
7 BottomRight
8 Bottom
Enum.WidgetAnimationType
Value Field Description
0 None
1 Fade
Enum.UIWidgetScale
Value Field Description
0 OneHundred
1 Ninty
2 Eighty
3 Seventy
4 Sixty
5 Fifty
Enum.UIWidgetLayoutDirection
Value Field Description
0 Default
1 Vertical
2 Horizontal
3 Overlap
4 HorizontalForceNewRow
Enum.UIWidgetModelSceneLayer
Value Field Description
0 None
1 Front
2 Back

Patch changes[]

Dragonflight Patch 10.1.0 (2023-05-02): Added textEnabledState, textFontType, textSizeType fields.
Shadowlands Patch 9.2.0 (2022-02-22): Added fillMotionType, barTextEnabledState, barTextFontType, barTextSizeType fields.
Shadowlands Patch 9.1.0 (2021-06-29): Added modelSceneLayer, scriptedAnimationEffectID, tooltipLoc fields.
Shadowlands Patch 9.0.1 (2020-10-13): Added colorTint, frameTextureKit, layoutDirection, partitionValues, textureKit, widgetScale fields.
Battle for Azeroth Patch 8.2.0 (2019-06-25): Added inAnimType, outAnimType, overrideBarText, overrideBarTextShownType, textureKitID, widgetSizeSetting fields.
Battle for Azeroth Patch 8.1.0 (2018-12-11): Added barValueTextType, hasTimer, tooltip fields.
Battle for Azeroth Patch 8.0.1 (2018-07-17): Added.

Advertisement