WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (http://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   RegisterUnitEvent (http://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 06:25 PM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC