C_Commentator.FindSpectatedUnit

From Warcraft Wiki
Jump to navigation Jump to search

Needs summary.

playerIndex, teamIndex, isPet = C_Commentator.FindSpectatedUnit(unitToken)

Arguments

unitToken
string : UnitId

Returns

playerIndex
number
teamIndex
number
isPet
boolean

Patch changes

Shadowlands Patch 9.0.1 (2020-10-13): Added.