Quantcast oUF events and elements - WoWInterface
Thread Tools Display Modes
06-15-16, 04:46 AM   #1
Rainrider
A Scalebane Royal Guard
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 418
oUF events and elements

A lot of oUF elements use
lua Code:
  1. if (unit ~= self.unit) then return end
in their update function. Is there any benefit to it? I thought oUF's event dispatcher takes care about this and the frame only receives the events if the event fired for the appropriate unit, unless the event is unitless, but in that case the above check even hinders the update. Am I missing something here or this is just old code I'm looking at?
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF events and elements

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