Wowpedia

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

READ MORE

Wowpedia
Advertisement

Needs summary.

widgetInfo = C_UIWidgetManager.GetItemDisplayVisualizationInfo(widgetID)

Arguments[]

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

Returns[]

widgetInfo
ItemDisplayVisualizationInfo?
Field Type Description
shownState Enum.WidgetShownState
tooltipLoc Enum.UIWidgetTooltipLocation
itemInfo UIWidgetItemInfo
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.UIWidgetTooltipLocation
Value Field Description
0 Default
1 BottomLeft
2 Left
3 TopLeft
4 Top
5 TopRight
6 Right
7 BottomRight
8 Bottom
UIWidgetItemInfo
Field Type Description
itemID number
stackCount number?
overrideItemName string?
infoText string?
overrideTooltip string?
textDisplayStyle Enum.ItemDisplayTextDisplayStyle
tooltipEnabled boolean
iconSizeType Enum.WidgetIconSizeType
infoTextEnabledState Enum.WidgetEnabledState
Enum.ItemDisplayTextDisplayStyle
Value Field Description
0 WorldQuestReward
1 ItemNameAndInfoText
2 ItemNameOnlyCentered
Enum.WidgetIconSizeType
Value Field Description
0 Small
1 Medium
2 Large
3 Standard
Enum.WidgetEnabledState
Value Field Description
0 Disabled
1 Yellow Renamed from Enabled in 10.1.0
2 Red
3 White Added in 9.1.0
4 Green Added in 9.1.0
5 Artifact Renamed from Gold in 10.1.0
6 Black Added in 9.2.0
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
Advertisement