Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-22-23, 02:04 PM   #1
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Ace3 - reset a namespace DB to default?

Reading through the docs of AceDB-3.0, I see that namespaces are considered full databases except that they cannot control their options, a parent addon does that. All is well and good, although when I reset the profile in the main addon, the module's options do not reset at the same time.

I am missing something, but I don't know what. Attached is the full zip of the addon in progress, which includes the module code. When I look at the SV file, I see the namespace "Chat". Nothing appears in there; any changes appear under profiles - default, and I'm getting confused.

Am I adding the module options correctly? How do I reset the module back to the namespace defaults when I reset the profile?
Attached Files
File Type: zip SmartRes2.zip (772.7 KB, 56 views)
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Ace3 - reset a namespace DB to default?


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