GetUnitPowerBarTextureInfo

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak Globe.png  Townlong-Yak BAD.png  Blizz.gif  ProfIcons engineering.png GetUnitPowerBarTextureInfo 11.1.5 (60428)4.4.2 (59734)1.15.7 (60191) + 8.3.0 / 4.4.0 / 1.15.3
GitHub Octocat.png  Townlong-Yak Globe.png  Townlong-Yak BAD.png  Blizz.gif  ProfIcons engineering.png GetUnitPowerBarTextureInfoByID 11.1.5 (60428)4.4.2 (59734)1.15.7 (60191) + 8.3.0 / 4.4.0 / 1.15.3

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

  • BattleForAzeroth-Logo-Small.png Patch 8.3.0 (2020-01-14): Added. Replaces UnitAlternatePowerTextureInfo() [1]