oUF

99.9k Downloads

Use :RegisterUnitEvent

haste opened this issue ยท 4 comments

commented

Added in 5.0.1.15464: self:RegisterUnitEvent(event, unitid1, unitid2).

This pretty much means we can tear out the current event system in oUF, as it implements the same feature.

commented

Closed by #195 ?

commented

Yes. :)

commented

I am looking at this too. We should be able to throw out the main event dispatcher but we still have to track registered events and frame units to reregister when the unit changes.

By the way, I am not sure if and how IsEventRegistered and UnregisterEvent interact with RegisterUnitEvent.

commented

First try : https://github.com/Adirelle/oUF/tree/register_unit_events

I have yet to test it, since the servers do not let me log in.