World of Warcraft Forever API · C_AuraContainerUtil.md, for your AI
C_AuraContainerUtil
10 functions, 15 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_AuraContainerUtil.ProcessAuraTooltipBackdropOptions
result = C_AuraContainerUtil.ProcessAuraTooltipBackdropOptions(options)
Arguments
options | AuraContainerTooltipBackdropOptions |
|---|
Returns
result | AuraContainerTooltipBackdropOptions |
|---|
C_AuraContainerUtil.ProcessAuraTooltipNineSliceOptions
result = C_AuraContainerUtil.ProcessAuraTooltipNineSliceOptions(options)
Arguments
options | AuraContainerTooltipNineSliceOptions |
|---|
Returns
result | AuraContainerTooltipNineSliceOptions |
|---|
C_AuraContainerUtil.ProcessAuraTooltipTextureSliceOptions
result = C_AuraContainerUtil.ProcessAuraTooltipTextureSliceOptions(options)
Arguments
options | AuraContainerTooltipTextureSliceOptions |
|---|
Returns
result | AuraContainerTooltipTextureSliceOptions |
|---|
C_AuraContainerUtil.ProcessCustomAuraButtonApplicationBarOptions
result = C_AuraContainerUtil.ProcessCustomAuraButtonApplicationBarOptions(options)
Arguments
options | CustomAuraButtonApplicationBarOptions |
|---|
Returns
result | CustomAuraButtonApplicationBarOptions |
|---|
C_AuraContainerUtil.ProcessCustomAuraButtonApplicationCountOptions
result = C_AuraContainerUtil.ProcessCustomAuraButtonApplicationCountOptions([options])
Arguments
options | CustomAuraButtonApplicationCountOptions may be nil |
|---|
Returns
result | CustomAuraButtonApplicationCountOptions |
|---|
C_AuraContainerUtil.ProcessCustomAuraButtonCasterNameOptions
result = C_AuraContainerUtil.ProcessCustomAuraButtonCasterNameOptions([options])
Arguments
options | CustomAuraButtonCasterNameOptions may be nil |
|---|
Returns
result | CustomAuraButtonCasterNameOptions |
|---|
C_AuraContainerUtil.ProcessCustomAuraButtonDispelTypeTextOptions
result = C_AuraContainerUtil.ProcessCustomAuraButtonDispelTypeTextOptions([options])
Arguments
options | CustomAuraButtonDispelTypeTextOptions may be nil |
|---|
Returns
result | CustomAuraButtonDispelTypeTextOptions |
|---|
C_AuraContainerUtil.ProcessCustomAuraButtonDispelTypeTextureOptions
result = C_AuraContainerUtil.ProcessCustomAuraButtonDispelTypeTextureOptions([options])
Arguments
options | CustomAuraButtonDispelTypeTextureOptions may be nil |
|---|
Returns
result | CustomAuraButtonDispelTypeTextureOptions |
|---|
C_AuraContainerUtil.ProcessCustomAuraButtonDurationBarOptions
result = C_AuraContainerUtil.ProcessCustomAuraButtonDurationBarOptions([options])
Arguments
options | CustomAuraButtonDurationBarOptions may be nil |
|---|
Returns
result | CustomAuraButtonDurationBarOptions |
|---|
C_AuraContainerUtil.ProcessCustomAuraButtonDurationTextOptions
result = C_AuraContainerUtil.ProcessCustomAuraButtonDurationTextOptions([options])
Arguments
options | CustomAuraButtonDurationTextOptions may be nil |
|---|
Returns
result | CustomAuraButtonDurationTextOptions |
|---|
Tables
AuraContainerTooltipAnchorOffsets structure
left | number default 0 | |
|---|---|---|
right | number default 0 | |
top | number default 0 | |
bottom | number default 0 |
AuraContainerTooltipBackdropInfo structure
bgFile | TextureAssetDisk may be nil | Optional background texture asset. |
|---|---|---|
edgeFile | TextureAssetDisk may be nil | Optional edge texture asset. |
edgeSize | number may be nil | Optional edge size. |
insets | AuraContainerTooltipBackdropInsets may be nil | Optional backdrop insets. |
tile | bool may be nil | If true, tiles the background texture. |
tileEdge | bool may be nil | If true, tiles the edge texture. |
tileSize | number may be nil | Optional tile size used when tiling the background texture. |
AuraContainerTooltipBackdropInsets structure
left | number default 0 | |
|---|---|---|
right | number default 0 | |
top | number default 0 | |
bottom | number default 0 |
AuraContainerTooltipBackdropOptions structure
backdropInfo | AuraContainerTooltipBackdropInfo | Backdrop information used to construct the tooltip backdrop. |
|---|---|---|
borderColor | colorRGBA may be nil | Optional color applied to the backdrop border. |
centerColor | colorRGBA may be nil | Optional color applied to the backdrop background. |
anchorOffsets | AuraContainerTooltipAnchorOffsets may be nil | Optional offsets applied to the backdrop's TOPLEFT and BOTTOMRIGHT anchor points. |
AuraContainerTooltipNineSliceOptions structure
layoutName | cstring | Name of the NineSlice layout template to apply, such as 'TooltipDefaultLayout'. |
|---|---|---|
borderColor | colorRGBA may be nil | Optional color applied to the NineSlice border. |
centerColor | colorRGBA may be nil | Optional color applied to the NineSlice center region. |
anchorOffsets | AuraContainerTooltipAnchorOffsets may be nil | Optional offsets applied to the NineSlice's TOPLEFT and BOTTOMRIGHT anchor points. |
AuraContainerTooltipTextureSliceOptions structure
asset | TextureAssetDisk | Texture asset (file path or atlas name) displayed by the slice. |
|---|---|---|
sliceMargins | UITextureSliceMargins may be nil | Optional texture slice margins. See Texture:SetTextureSliceMargins. |
sliceMode | UITextureSliceMode may be nil | Optional texture slice mode. See Texture:SetTextureSliceMode. |
color | colorRGBA may be nil | Optional vertex color applied to the texture. |
anchorOffsets | AuraContainerTooltipAnchorOffsets may be nil | Optional offsets applied to the slice's TOPLEFT and BOTTOMRIGHT anchor points. |
drawLayer | DrawLayer may be nil | Draw layer used when displaying the texture. |
drawLayerSublevel | number default 0 | Draw layer sublevel used when displaying the texture. |
CustomAuraButtonApplicationBarOptions structure
maxApplications | number | The maximum number of aura applications represented by the bar. |
|---|---|---|
minApplications | number default 0 | The minimum number of aura applications represented by the bar. |
interpolation | StatusBarInterpolation may be nil | Optional interpolation method used when updating the bar value. |
CustomAuraButtonApplicationCountOptions structure
formatter | NumericFormatter may be nil | Optional formatter used to display aura application counts. |
|---|
CustomAuraButtonCasterNameOptions structure
showRealmName | bool default false | If true, append realm names to the displayed string. |
|---|---|---|
useClassColors | bool default false | If true, apply class coloring to the text. |
CustomAuraButtonDispelTypeTextOptions structure
showWhenHarmful | bool default true | Shows the dispel type text for harmful auras. |
|---|---|---|
showWhenHelpful | bool default false | Shows the dispel type text for helpful auras. |
showWithoutDispelType | bool default false | Shows the dispel type text for auras that do not have a dispel type. |
customDispelTextMap | stringView[] may be nil | Optional map of dispel type names to custom texts. An empty key can be used for auras without a dispel type. |
CustomAuraButtonDispelTypeTextureAsset structure
asset | TextureAssetDisk | The texture file or atlas to use. |
|---|---|---|
useAtlasSize | bool default false | Resizes the texture to the atlas dimensions. Ignored when asset does not name an atlas. |
texCoords | CustomAuraButtonDispelTypeTextureTexCoords may be nil | Optional texture coordinates used when asset does not name an atlas. |
CustomAuraButtonDispelTypeTextureOptions structure
showAlways | bool default false | Shows the dispel type texture always, ignoring all other criteria. |
|---|---|---|
showWhenHarmful | bool default true | Shows the dispel type texture for harmful auras. |
showWhenHelpful | bool default false | Shows the dispel type texture for helpful auras. |
showWithoutDispelType | bool default false | Shows the dispel type texture for auras that do not have a dispel type. |
stealableFilter | CustomAuraButtonDispelTypeStealableFilter may be nil | Restricts display of the dispel type texture to either stealable or non-stealable auras. If omitted, the dispel type texture may be shown for both. |
style | CustomAuraButtonDispelTypeTextureStyle default "BorderWithIcon" | The texture style to use. |
customDispelAssetMap | CustomAuraButtonDispelTypeTextureAsset[] may be nil | Optional map of dispel type names to custom texture assets. The "None" key represents auras without a dispel type. Only applies when using the CustomAsset style. |
customDispelColorMap | colorRGB[] may be nil | Optional map of dispel type names to custom vertex colors. The "None" key represents auras without a dispel type. |
customDispelColorCurve | LuaColorCurveObject may be nil | Optional curve used to determine vertex colors from the aura's dispel type. |
CustomAuraButtonDispelTypeTextureTexCoords structure
left | number default 0 | |
|---|---|---|
right | number default 1 | |
top | number default 0 | |
bottom | number default 1 |
CustomAuraButtonDurationBarOptions structure
interpolation | StatusBarInterpolation may be nil | The interpolation method used when updating the duration bar. |
|---|---|---|
direction | StatusBarTimerDirection may be nil | The direction in which the duration bar progresses. |
CustomAuraButtonDurationTextOptions structure
binding | DurationTextBinding may be nil | Optional duration text binding to use. The binding is copied before being associated with the aura button. |
|---|---|---|
textFormatter | NumericFormatter may be nil | Optional formatter used to display remaining duration values. Ignored if textFormat is specified. |
textFormat | DurationTextBindingFormatOptions may be nil | Optional text format configuration applied to the duration text binding. Overrides textFormatter when specified. |
textColor | DurationTextBindingColorOptions may be nil | Optional text color configuration applied to the duration text binding. |