Wowpedia

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

READ MORE

Wowpedia
Advertisement

Needs summary.

widgetInfo = C_UIWidgetManager.GetScenarioHeaderCurrenciesAndBackgroundWidgetVisualizationInfo(widgetID)

Arguments[]

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

Returns[]

widgetInfo
ScenarioHeaderCurrenciesAndBackgroundWidgetVisualizationInfo?
Field Type Description
shownState Enum.WidgetShownState
currencies UIWidgetCurrencyInfo[]
headerText string
widgetSizeSetting number
textureKit string
frameTextureKit string
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
UIWidgetCurrencyInfo
Field Type Description
iconFileID number
leadingText string
text string
tooltip string
isCurrencyMaxed boolean
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[]

Shadowlands Patch 9.1.0 (2021-06-29): Added modelSceneLayer, scriptedAnimationEffectID fields.
Shadowlands Patch 9.0.1 (2020-10-13): Added headerText, textureKit, frameTextureKit, widgetScale, layoutDirection fields.
Battle for Azeroth Patch 8.2.0 (2019-06-25): Added widgetSizeSetting, textureKitID, inAnimType, outAnimType fields.
Battle for Azeroth Patch 8.1.0 (2018-12-11): Added leftCurrencyWidth, hasTimer fields.
Battle for Azeroth Patch 8.0.1 (2018-07-17): Added.

Advertisement