View Single Post
12/20/14, 10:36 AM   #15
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by Garkin View Post
All you need is some data sharing addon (because of manifest) where you define global variable name for saved variables. But as you said, it is possible to use "ZO_Ingame_SavedVariables" instead which will be always available as default UI is loaded first. You should just use unique namespace for the data.
Thanks Garkin, that you can agree
The unique namespace is the reason why I think this should be handled by a framework/library.

I just tested: Using a shared saved variable name in different addon manifests results in what I mentioned first: The content is redundant saved for each addon. Which could be problematic if one addon has been disabled for a while.

@circonian: The answer is: You can use data sharing addon (which is what you want to avoid) or a unique namespace in "ZO_Ingame_SavedVariables".
  Reply With Quote