mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
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)
23 lines
659 B
C#
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();
|
|
}
|
|
}
|