View Single Post
11-18-18, 08:24 PM   #7
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Originally Posted by Xrystal View Post
You might have to look at the code of the Ace libraries and see how and when they are using the specialization stuff.
Ace doesn't touch specialization (or really any event handling except ADDON_LOADED and PLAYER_ENTERING_WORLD).

What Ace does do is want coders to use OnInitialize to set up one-time, fire-and-forget things like LDB setup, slash commands, and registering your saved variables. OnEnable is where coders should be registering events and things that AddOns need when they are enabled. OnDisable is used for unregistering events and doing shutdown things like wiping variables.
  Reply With Quote