Hi all,
As far as I know (or as far as I did a proper research),
AceEvent-3.0 does not support
RegisterUnitEvent because it utilizes a single frame to manage registered events, and each frame object in WoW can only handle maximum two different units at once.
Thus, such event like
PLAYER_SPECIALIZATION_CHANGED to be fired for a player only, the easiest way that I could think of is
Lua Code:
function MyAddOn:PLAYER_SPECIALIZATION_CHANGED(event, ...)
if ... == "player" then
end
end
where it still has to calls this function and go through 'if' statement
or, maybe just create an extra frame that only manages unit event...
What would be the best solution here?