C_UIWidgetManager.GetZoneControlVisualizationInfo

From Warcraft Wiki
Jump to navigation Jump to search

Needs summary.

widgetInfo = C_UIWidgetManager.GetZoneControlVisualizationInfo(widgetID)

Arguments

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

Returns

widgetInfo
ZoneControlVisualizationInfo?
Field Type Description
shownState Enum.WidgetShownState
mode Enum.ZoneControlMode
leadingEdgeType Enum.ZoneControlLeadingEdgeType
dangerFlashType Enum.ZoneControlDangerFlashType
zoneEntries ZoneEntry[]
tooltipLoc Enum.UIWidgetTooltipLocation
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
Enum.ZoneControlMode
Value Field Description
0 BothStatesAreGood
1 State1IsGood
2 State2IsGood
3 NeitherStateIsGood
Enum.ZoneControlLeadingEdgeType
Value Field Description
0 NoLeadingEdge
1 UseLeadingEdge
Enum.ZoneControlDangerFlashType
Value Field Description
0 ShowOnGoodStates
1 ShowOnBadStates
2 ShowOnBoth
3 ShowOnNeither
ZoneEntry
Field Type Description
state Enum.ZoneControlState
activeState Enum.ZoneControlActiveState
fillType Enum.ZoneControlFillType
min number
max number
current number
capturePoint number
tooltip string
Enum.ZoneControlState
Value Field Description
0 State1
1 State2
Enum.ZoneControlActiveState
Value Field Description
0 Inactive
1 Active
Enum.ZoneControlFillType
Value Field Description
0 SingleFillClockwise
1 SingleFillCounterClockwise
2 DoubleFillClockwise
3 DoubleFillCounterClockwise
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

Shadowlands Patch 9.1.0 (2021-06-29): Added tooltipLoc, modelSceneLayer, scriptedAnimationEffectID fields.
Shadowlands Patch 9.0.1 (2020-10-13): Added textureKit, frameTextureKit, widgetScale, layoutDirection fields.
Battle for Azeroth Patch 8.2.0 (2019-06-25): Added.