C_Commentator. GetPlayerSpellCharges
functionimplementedavailable in: camelot
Returns the charges of a spell for a spectated player. · description by wowlua
function C_Commentator.GetPlayerSpellCharges( teamIndex: number, playerIndex: number, spellID: number): (number?, number?, number?, number?)Parameters
| name | type | description |
|---|---|---|
teamIndex | number | The player's team index. |
playerIndex | number | The player's index within the team. |
spellID | number |
Returns
| # | name | type |
|---|---|---|
| 1 | charges | number? |
| 2 | maxCharges | number? |
| 3 | startTime | number? |
| 4 | duration | number? |
Blizzard's documentation says it may return nothing.
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.