>wowhelm_
~/forever/addon-api/function/C_Commentator.FindSpectatedUnit

C_Commentator.FindSpectatedUnit

documented function · CommentatorFrame
C_Commentator.FindSpectatedUnit(unitToken) : playerIndex, teamIndex, isPet
──ARGUMENTS
unitToken
UnitToken
──RETURNS
playerIndex
luaIndex
teamIndex
luaIndex
isPet
bool
──DETAILS
May Return Nothing
true
Requires Active Commentator
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.