View Single Post
01-16-21, 08:15 AM   #3
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 268
Originally Posted by lightspark View Post
Sup!

PLAYER_TALENT_UPDATE is what we internally call a unitless event, it just fires and has no args. I just checked and we too use it internally, but for some reason it's not in our unitlessEvents table, so I'll PR it ASAP.

But in general, when you're writing your own tags that rely on unitless events that aren't known to oUF, you need to add them manually from inside your layout code like so
Lua Code:
  1. oUF.Tags.SharedEvents["PLAYER_TALENT_UPDATE"] = true
Today I learned! Didn't know about the SharedEvents, thanks, ls!

EDIT - I didn't know about SharedEvents but should have, it's in the comments of the file and I didn't read it... it's very well explained there, my bad! :P
__________________
My oUF Layout: oUF Lumen

Last edited by neverg : 01-16-21 at 08:46 AM.
  Reply With Quote