Lua Code:
num = AddOnManager:GetAddOnNumSavedTables(addonIndex)
name = AddOnManager:GetAddOnSavedTableName(addonIndex, tableIndex)
-- or
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)