circonian |
12/21/14 05:52 AM |
Quote:
Originally Posted by votan
(Post 17967)
What about the approach to use "ZO_Ingame_SavedVariables"? Too dirty?
|
I'm glad you mentioned that! Actually..I never used one of those namespaces before. I was going to come back and look at it later, to try and figure out how it worked, after reading the other posts. But I just forgot about it.
One of Garkins examples:
Lua Code:
self.savedVars = ZO_SavedVars:New("ZO_Ingame_SavedVariables", 1, "Provisioner", defaults)
So how would I use it? I'm guessing all I need to do is just use a unique namespace? So just something like:
Lua Code:
self.savedVars = ZO_SavedVars:New("ZO_Ingame_SavedVariables", 1, "LibNeed4ResearchVars", MyDefaultVarTable)
and...I'm guessing thats all there is to it?
What about the version number? If I changed the version number would it wipe out ALL of ZO_Ingame_SavedVariables? Or just MY namespace?
|