Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-16-21, 06:55 AM   #1
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 268
Tag Player Spec -> PLAYER_TALENT_UPDATE

Hi fellas,

I'm re-writting my whole UI (years of code, fixes, patches left a big mess within my codebase).

So my question is, is there a reason why a oUF tag with the event PLAYER_TALENT_UPDATE doesn't actually trigger when it should?

The tag is pretty simple.

Lua Code:
  1. spec = function(unit)
  2.   return E:GetUnitSpecializationInfo(unit)
  3. end,

I've registered the following events "PLAYER_TALENT_UPDATE PLAYER_ROLES_ASSIGNED".

PLAYER_ROLES_ASSIGNED actually get triggered fine.

I can fix this easily by registering PLAYER_TALENT_UPDATE on the frame, but it would be cleaner if the tag would just update with the registered events.

Is there a reason for this, or something I can do other than the aforementioned solution of registering the event to the frame.
__________________
My oUF Layout: oUF Lumen
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Tag Player Spec -> PLAYER_TALENT_UPDATE

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