Thread Tools Display Modes
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,740
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.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote
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: 793
Sorry zork, this was known since beta.
__________________
Profile: Curse | Wowhead
  Reply With Quote
10-09-12, 05:34 PM   #3
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
You could test https://github.com/Adirelle/oUF/tree...er_unit_events if you wish, haste mentioned he needs feedback with that.
  Reply With Quote
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.
  Reply With Quote

WoWInterface » 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