GetUnitPowerBarTextureInfo

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png GetUnitPowerBarTextureInfo TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.png + 8.3.0
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png GetUnitPowerBarTextureInfoByID TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.png + 8.3.0

Needs summary.

texture, colorR, colorG, colorB, colorA = GetUnitPowerBarTextureInfo(unitToken, textureIndex [, timerIndex])
                                        = GetUnitPowerBarTextureInfoByID(barID, textureIndex)

Arguments

GetUnitPowerBarTextureInfo

unitToken
string : UnitId
textureIndex
number
timerIndex
number?

GetUnitPowerBarTextureInfoByID

barID
number
textureIndex
number

Returns

texture
number
colorR
number
colorG
number
colorB
number
colorA
number

Patch changes

Battle for Azeroth Patch 8.3.0 (2020-01-14): Added. Replaces UnitAlternatePowerTextureInfo() [1]