Reply
Thread Tools Display Modes
Unread 10-09-12, 03:17 AM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,354
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
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline   Reply With Quote
Unread 10-09-12, 07:19 AM   #2
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 762
Sorry zork, this was known since beta.
__________________
Profile: Curse | Wowhead
Vlad is offline   Reply With Quote
Unread 10-09-12, 05:34 PM   #3
Rainrider
A Rage Talon Dragon Guard
Join Date: Nov 2008
Posts: 316
You could test https://github.com/Adirelle/oUF/tree...er_unit_events if you wish, haste mentioned he needs feedback with that.
Rainrider is offline   Reply With Quote
Unread 10-17-12, 09:35 AM   #4
nailertn
An Aku'mai Servant
Join Date: Oct 2008
Posts: 33
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.
nailertn is offline   Reply With Quote
Reply

Go BackWoWInterface » Featured Projects » oUF (Otravi Unit Frames) » RegisterUnitEvent

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off