Files
soarqin ba2648a3e3 refactor: remove single-owner helpers and redundant plumbing
Return feature-only helpers to their owners, remove inactive scaffolding and duplicate state, and reuse existing calculation and UI work without changing public contracts or gameplay.

Record repository-wide coverage, justified retentions, independent reviews and validation, including baseline dashboard fixture failures.

Assisted-by: Cindy (https://cindy.app)
2026-11-09 02:36:52 +08:00

23 lines
659 B
C#

using System.IO;
namespace UniverseGenTweaks;
public static class GalaxyGenSave
{
public static void Export(BinaryWriter w)
{
w.Write(GalaxyGenSettingsPatch.GameMinDist);
w.Write(GalaxyGenSettingsPatch.GameMinStep);
w.Write(GalaxyGenSettingsPatch.GameMaxStep);
w.Write(GalaxyGenSettingsPatch.GameFlatten);
}
public static void Import(BinaryReader r)
{
GalaxyGenSettingsPatch.GameMinDist = r.ReadDouble();
GalaxyGenSettingsPatch.GameMinStep = r.ReadDouble();
GalaxyGenSettingsPatch.GameMaxStep = r.ReadDouble();
GalaxyGenSettingsPatch.GameFlatten = r.ReadDouble();
}
}