AddonInfo Attributes

AttributeDescription
titlestring
Addon's title shown in the control panel, instead reading from toc tag ##Title.
defaultEnabletrue/false or 0/1
Default enable state of the addon.
load"NORMAL"/"LATER" default is NORMAL
Load this addon after player entering the world.
securetrue/false only used if load=="LATER"
Suspending the loading of the addon if being in combat-lockdown while entering world.
dummytrue/false
This is a "folder" of addons, not a real addon.
parentstring
Force set the dependency addon.
protectedtrue/false
This addon cannot be disabled.
hidetrue/false
This addon is not shown in the control panel.
minimapstring
The name of minimap button that will be gathered by default.
framestable of strings
If load is "LATER", frames position can't be saved by Blizzard. So you have to specify their names here.
optdepstable of strings
The optional dependencies, which decide the addon loading order if load is "LATER".
optionsAfterVartrue/false
Load the control panel option callbacks after VARIABLE_LOADED event.
optionsAfterLogintrue/false
Load the control panel option callbacks after PLAYER_LOGIN event.
runBeforeLoadfunction(info, name)
Run before the addon is loaded but not response to it's own ADDON_LOADED event, which is also the time when Ace3's OnInitialize method is called.
runAfterLoadfunction(info, name)
Run after the addon is loaded and responsed to it's own ADDON_LOADED, but before Ace3's OnEnable method.
tagstable of strings
Categories of this addon.
iconstring
Icon in the control panel.
descstring
Addon introduction instead of reading from toc's ##Notes tag
authorstring
Addon author instead of reading from toc's ##Author tag
modifierstring
Some credits shown in the control panel introduction page.
toggleneed_to_reload = function(name, info, enable, justload)
Callback that runs when this addon is enabled or disabled, the justload parameter is true when the addon is actually loaded (not disabled and then re-enabled). The returning value of this function is used to decide if the ReloadUI button should be glowing or not.

Comments

Posts Quoted:
Reply
Clear All Quotes