>wowhelm_
~/forever/addon-api/function/RegisterUnitEvent

RegisterUnitEvent

documented function · SimpleFrameAPI
RegisterUnitEvent(eventName, units) : registered
──ARGUMENTS
eventName
cstring
units
UnitTokenType, stride index 1
──RETURNS
registered
bool
──DETAILS
Secret Arguments
AllowedWhenUntainted
Checks Forbidden Aspects
[{"Argument":"self","Aspect":"Enum.ForbiddenAspect.EventRegistrations"}]
Adds Forbidden Aspects
[{"Argument":"self","Aspect":"Enum.ForbiddenAspect.EventRegistrations"}]
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.