WoWInterface - View Single Post - AceDB get defalut values?
View Single Post
07-24-20, 03:13 AM   #3
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 131
Originally Posted by MickeyPickey View Post
print method returns empty string...

But if i refer directly to the
Lua Code:
  1. self.db.profile["trackingTypes"]["key"]
i can get its default value.
that's the expected result

* is a special key in AceDB that defines the default value (by adding a metatable to trackingTypes), so all your not yet existing trackingTypes return its value (true in your case):

  Reply With Quote