View Single Post
01/30/16, 02:59 AM   #33
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by Terrillyn View Post
Doesn't the metatable get added to the table and not just wrap it?
The attached picture should tell why I think this, maybe I'm wrong though.
In the picture CurSV is AWSV which should have the same values as $AccountWide, but $AccountWide has outdated values if I change something.
ZO_SavedVars is a wrapper, which wraps around the raw table to keep it clean for serialization.
That's why I suggested to use access the saved variable directly before wrapping in comment 24.
Take a look at CreateExposedInterface to see, that there are actually two more tables involved.
You should find the reference to your table within CurSV.
  Reply With Quote