API GetAddOnInfo

Get information about an AddOn. name, title, notes, loadable, reason, security, newVersion = GetAddOnInfo(index or "name")

Arguments

 * index : Integer - The index of the AddOn in the user's AddOn list. Note that you cannot access Blizzard-provided AddOns through this mechanism.
 * name : String - The name of the AddOn to be queried. You can access Blizzard-provided AddOns through this mechanism.

Returns

 * name : String - The name of the AddOn (the folder name).
 * title : String - The title of the AddOn as listed in the .toc file (presumably this is the appropriate localized one).
 * notes : String - The notes about the AddOn from its .toc file (presumably this is the appropriate localized one).
 * loadable : Boolean - Indicates if the AddOn is loaded or eligible to be loaded, true if it is, false if it is not.
 * reason : String - The reason why the AddOn cannot be loaded. This is nil if the addon is loadable, otherwise it contains a string token indicating the reason that can be localized by prepending "ADDON_". ("BANNED", "CORRUPT", "DEMAND_LOADED", "DISABLED", "INCOMPATIBLE", "INTERFACE_VERSION", "MISSING")
 * security : String - Indicates the security status of the AddOn. This is currently "INSECURE" for all user provided addons and "SECURE" for Blizzard_* AddOns.
 * newVersion : Boolean - Not currently used.