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); }
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); }