api/AceDBOptions-3.0
AceDBOptions-3.0 provides a universal AceConfig options screen for managing AceDB-3.0 profiles.
AceDBOptions:GetOptionsTable(db, noDefaultProfiles)
Get/Create a option table that you can use in your addon to control the profiles of AceDB-3.0.
Parameters
- db
- The database object to create the options table for.
- noDefaultProfiles
Return value
The options table to be used in AceConfig-3.0
Usage
-- Assuming `options` is your top-level options table and `self.db` is your database: options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(self.db)
Comments