Quantcast
Differentiate fresh login and UI reload? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-17-21, 05:39 AM   #1
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 117
Differentiate fresh login and UI reload?

Hello,

I would like to apply a setting saved in saved variable file only on fresh log in, and not on interface reload.
I'm using PLAYER_LOGIN event to initialize my addons, but this event is also fired when interface is reloaded.
So, is there a way to differentiate a fresh login from an interface reload?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Differentiate fresh login and UI reload?

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