refactor(UniverseGenTweaks): split MoreSettings into focused classes

This commit is contained in:
2026-06-23 07:19:25 +08:00
parent b5b2fee14e
commit 8bfcee2a81
6 changed files with 922 additions and 891 deletions
+2 -2
View File
@@ -68,14 +68,14 @@ public class UniverseGenTweaks : BaseUnityPlugin, IModCanSave
public void Export(BinaryWriter w)
{
w.Write(ModSaveVersion);
MoreSettings.Export(w);
GalaxyGenSave.Export(w);
}
public void Import(BinaryReader r)
{
var version = r.ReadUInt16();
if (version <= 0) return;
MoreSettings.Import(r);
GalaxyGenSave.Import(r);
}
public void IntoOtherSave()