v0.13.7

C_Commentator.GetPlayerItemCooldownInfoByUnit

functionimplementedavailable in: camelot

Returns the cooldown of an item for a spectated unit. · description by wowlua

signaturewowlua
function C_Commentator.GetPlayerItemCooldownInfoByUnit(    unitToken: string,    itemID: number): (number?, number?, boolean?)

Parameters

nametype
unitTokenstring
itemIDnumber

Returns

#nametype
1startTimenumber?
2durationnumber?
3enableboolean?

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.