Thread Tools Display Modes
07/17/15, 05:44 AM   #1
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
[outdated] AddOnManager API request - get list of saved table names

Lua Code:
  1. num = AddOnManager:GetAddOnNumSavedTables(addonIndex)
  2. name = AddOnManager:GetAddOnSavedTableName(addonIndex, tableIndex)
  3. -- or
  4. name, tab = AddOnManager:GetAddOnSavedTable(addonIndex, tableIndex)

What for:
  • skipping saved vars when dumping _G. It's usually done with just 1 add-on loaded, but one might want to compare clean dump vs dump with many add-ons, for example.
  • making simple UI for browsing and modifying them ingame. I did that with a heuristic in Zgoo, but that will always miss some add-ons' saved vars (particularly mine, since I don't use ZO_SavedVars:New)
 

ESOUI » Developer Discussions » Wish List » [outdated] AddOnManager API request - get list of saved table names


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