Quantcast
WoWInterface - View Single Post - Tracking currency updates
View Single Post
02-17-18, 04:22 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Layback_ View Post
According to the description on Wowpedia, CURRENCY_DISPLAY_UPDATE event fires 'every time the UI need to draw the currencies list' and I'm not quite sure of which UI it is referring to.
It's the list of currencies you see when you click the "Currency" tab on the bottom of the character (equipped items) frame.

That said, in my own currency addon I just hook (non-intrusively with hooksecurefunc) "TokenFrame_Update" and "BackpackTokenFrame_Update" to detect currency updates, though I don't remember why I did that instead of listening for some event(s).
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Donít message me about addon bugs or programming questions.
  Reply With Quote