Пример #1
0
        public void Save(ConfigNode node)
        {
            node.SetValue(nameof(WindowPosition), WindowPosition, true);

            var vabNode = new ConfigNode();

            VabSettings.Save(vabNode);
            node.SetNode("VAB", vabNode, true);

            var sphNode = new ConfigNode();

            SphSettings.Save(sphNode);
            node.SetNode("SPH", sphNode, true);
        }
Пример #2
0
        private void Save(ConfigNode node)
        {
            node.SetValue(nameof(WindowPosition), WindowPosition, true);

            ConfigNode vabNode = new ConfigNode();

            VabSettings.Save(vabNode);
            node.SetNode("VAB", vabNode, true);

            ConfigNode sphNode = new ConfigNode();

            SphSettings.Save(sphNode);
            node.SetNode("SPH", sphNode, true);

            node.SetValue("UseSaveGameSettings", UseSaveGameSettings, true);
        }