C_LossOfControl.GetActiveLossOfControlDataCount

From Warcraft Wiki
Jump to navigation Jump to search

Returns the number of active loss-of-control effects.

count = C_LossOfControl.GetActiveLossOfControlDataCount()
      = C_LossOfControl.GetActiveLossOfControlDataCountByUnit(unitToken)

Arguments

GetActiveLossOfControlDataCount

None

GetActiveLossOfControlDataCountByUnit

unitToken
string : UnitId - Only works while in commentator mode.

Returns

count
number

Patch changes

Shadowlands Patch 9.0.1 (2020-10-13): Changed to C_LossOfControl.GetActiveLossOfControlDataCount()
Mists of Pandaria Patch 5.1.0 (2012-11-27): Added as C_LossOfControl.GetNumEvents()