Originally Posted by Xrystal
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.