Thread Tools Display Modes
03/30/14, 09:43 PM   #1
Dio
 
Dio's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 29
How is the AddOnManager control used?

Reference: http://wiki.esoui.com/Controls#AddOnManager

I can't figure out how to access this. It's listed as a control but I don't see any ControlType for it, and I'm not sure how to use its methods. Anyone have example code?

For example I want to get the number of AddOns. I thought maybe ZO_AddOnManager was an AddOnManager control, but that does not seem to be.

e.g. ZO_AddOnManager:GetNumAddOns() <-- Invalid
  Reply With Quote
03/30/14, 10:09 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
local addonManager = GetAddOnManager()
  Reply With Quote
03/30/14, 10:17 PM   #3
Dio
 
Dio's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 29
Originally Posted by Seerah View Post
local addonManager = GetAddOnManager()
Thanks again Seerah, you seem to know everything! I don't see GetAddOnManager() documented anywhere, how did you find it? I couldn't find it in Zgoo either.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » How is the AddOnManager control used?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off