![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Needs summary.
color = C_Commentator.GetTeamColor(teamIndex)
= C_Commentator.GetTeamColorByUnit(unitToken)
Arguments
GetTeamColor
- teamIndex
- number
GetTeamColorByUnit
- unitToken
- string : UnitId
Returns
- color
- ColorMixin🔗
Patch changes
Patch 9.0.1 (2020-10-13): Changed to C_Commentator.GetTeamColor() and returns a mixin.
Patch 7.3.5 (2018-01-16): Added as C_Commentator.GetTeamHighlightColor()
