v0.13.8

C_Commentator.GetUnitData

functionimplementedavailable in: camelot

Returns information about a spectated unit. · description by wowlua

signaturewowlua
function C_Commentator.GetUnitData(    unitToken: string): CommentatorUnitData

Parameters

nametype
unitTokenstring

Returns

data · CommentatorUnitData

CommentatorUnitData
fieldtype
healthMaxnumber
healthnumber
absorbTotalnumber
isDeadOrGhostboolean
isFeignDeathboolean
powerTypeTokenstring
powernumber
powerMaxnumber

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

  • Requires active commentator.

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CommentatorFrame system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.