Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-30-14, 08:35 PM   #1
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Login/reload event order

Hey all

I've discovered a strange behavior with the event order during the login/load process.
A simple addon with only one frame and the events below registered does fire the events in different orders.

Login in while out of combat and /reload in combat:
VARIABLES_LOADED
PLAYER_LOGIN
PLAYER_ENTERING_WORLD
SPELLS_CHANGED

So far so good.

Login in while in combat:
SPELLS_CHANGED
PLAYER_LOGIN
PLAYER_ENTERING_WORLD
PLAYER_REGEN_DISABLED
SPELLS_CHANGED
VARIABLES_LOADED

VARIABLES_LOADED is the last event that is fired? Wtf?
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Login/reload event order


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