ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   How is the AddOnManager control used? (https://www.esoui.com/forums/showthread.php?t=429)

Dio 03/30/14 09:43 PM

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

Seerah 03/30/14 10:09 PM

local addonManager = GetAddOnManager()

Dio 03/30/14 10:17 PM

Quote:

Originally Posted by Seerah (Post 2048)
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.


All times are GMT -6. The time now is 09:31 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI