C_Commentator. GetPlayerData
functionimplementedavailable in: camelot
Returns information about a spectated player. · description by wowlua
function C_Commentator.GetPlayerData( teamIndex: number, playerIndex: number): CommentatorPlayerData?Parameters
| name | type | description |
|---|---|---|
teamIndex | number | The player's team index. |
playerIndex | number | The player's index within the team. |
Returns
info · CommentatorPlayerData?
| field | type |
|---|---|
unitToken | string |
name | string |
faction | number |
specialization | number |
damageDone | number |
damageTaken | number |
healingDone | number |
healingTaken | number |
kills | number |
deaths | number |
soloShuffleRoundWins | number |
soloShuffleRoundLosses | number |
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.