Open UnsignedArduino opened 1 year ago
So, like save data groups where each group can store the settings with the same name separately? Also, would this be implemented by making those namespaces from a string or enum?
So, like save data groups where each group can store the settings with the same name separately?
Ya. So I can have for example two settings with the name maxLevel
with two different values, in two different namespaces.
Also, would this be implemented by making those namespaces from a string or enum?
Strings IMO.
Ok, that was just to clarify. Thanks for the suggestion, it is a smart idea. I'll most likely do a refactor soon anyway, where settings will be interactable objects that only get converted into a lower level datatype when saving. Also, I agree that strings would work better
Would be cool if you could separate settings by namespace. This would make multiple save files in games much less tedious. This shouldn't be hard to implement as well, because you just have to append the namespace name to the setting internally, and maybe keep a string list of all the namespaces available.