WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   RegisterUnitEvent (https://www.wowinterface.com/forums/showthread.php?t=44695)

zork 10-09-12 03:17 AM

RegisterUnitEvent
 
We finally got it!
http://www.wowpedia.org/API_Frame_RegisterUnitEvent

This could less
Code:

if unit and unit ~= self.unit then return end

Vlad 10-09-12 07:19 AM

Sorry zork, this was known since beta. :D

Rainrider 10-09-12 05:34 PM

You could test https://github.com/Adirelle/oUF/tree...er_unit_events if you wish, haste mentioned he needs feedback with that.

nailertn 10-17-12 09:35 AM

What I don't really understand is oUF's event dispatcher already does what RegisterUnitEvent is supposed to. Yet you see a lot of 'if unit ~= self.unit' everywhere in layouts and even in oUF's own code.


All times are GMT -6. The time now is 05:22 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI