Wowpedia

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

READ MORE

Wowpedia
Advertisement

Needs summary.

color = C_Commentator.GetTeamColor(teamIndex)
      = C_Commentator.GetTeamColorByUnit(unitToken)

Arguments[]

GetTeamColor[]

teamIndex
number

GetTeamColorByUnit[]

unitToken
string : UnitId

Returns[]

color
ColorMixin🔗

Patch changes[]

Shadowlands Patch 9.0.1 (2020-10-13): Changed to C_Commentator.GetTeamColor() and returns a mixin.
Legion Patch 7.3.5 (2018-01-16): Added as C_Commentator.GetTeamHighlightColor()

Advertisement