-
Notifications
You must be signed in to change notification settings - Fork 4
Callbacks
Sinaloit edited this page May 28, 2014
·
3 revisions
Unfortunately Apollo does not allow addons to specify or rename the callback handlers from OnLoad. GeminiAddon will reserve this callback handler name for addons using GeminiAddon and provide you with alternatives. The new callback handler name becomes OnInitialize
####Callback renames:
-
OnLoadbecomesOnInitialize
####New callbacks:
-
OnEnablewhich gets called when they player is loaded and has entered the world, when most of the data provided by the game is already present. -
OnDisable, which is only called when your addon is manually being disabled.
This means the start up sequence for an addon will become:
OnInitialize > OnEnable