Thread: Unload event
View Single Post
07/03/19, 12:29 AM   #13
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,964
SetCVar is always happening then as you use it to change a setting/variable in-game.
Can be the language but also something like the video settings, audio settings etc.

After the logout countdown the game will log you out and there is no way to run code at this point.
It could happen too fast I guess.
I think as the logout countdown is not always shown the PreHook to Logout() is either as the countdown starts or the game logs you out directly (but you won#t see anything in chat then anymore :-) )

Last edited by Baertram : 07/03/19 at 12:32 AM.
  Reply With Quote