From 9ea74974dcdcfcb9a96b05ae80cc9107f01659ef Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 13 Jun 2026 11:54:08 +0100 Subject: [PATCH] Remove stale Unity save command surface --- .voidbot/state/aetheria.cc | Bin 27656 -> 27683 bytes Assets/Scripts/Gameplay/ActionGameManager.cs | 11 +++-------- docs/aetheria-perfect-machine-map.md | 11 ++++++++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index e49875b0154d3870d8d856cfcaf75d40aa334fae..a5b2da9e7ec710bbfc8c403672bbc295aba418c8 100644 GIT binary patch delta 1070 zcmY+D&ubGw6vs_l#416kiu9uIqJpMLNm{gmLQY;RLaP;mLSJ?#*&(|#%gk(I3lc;R zf~T?WF){akcz&BtRn>j)Swb!cyuU6C#r`Y({)%6664E}0IP8% zRTN0lZxjm6ZAVRgM&Mx>0z$0#&{p3djcg&NU#<-ko_!ZS7yU7ePzideL4*T(f(b}K zSKB0zJuq7_4Q`om10$|%3ds+-=e|uK6GLqn!5G^AWavAL3q4MIiz>F{?qBdgspdiE|v{ z)_)+h;Y7igM8uRMm_W&-AGk3I@|>gW@IZ{-fQ(AtT{=5{{g9LIdF?~C4PC-Nf)b1@ zG*i8X9jsA|R8Y%@kQS(gTUuL8m^UTE1V}Q)rI>j~J)6$7=lQ|raw04%bU8C-_&cHUnh|p#ce*Go<@11IJKPqnLeMs!DnUK@{&!B2GRlTdE?SQdp z2|^T$*d$Q84Z5uiSdYMVLUMZrb*(Lgk*<^TTKFh~Uxm^f*HBO=*X6Q!e%_ zYC{I%&sWB}v&w`d?0IN=Qg{$is3V)VK;lM`#EG_!eAf|z5v&KOTrSSuKw6+>X{>Qz zMp&uURSf6`DyAEO(8{y|Ze%@Vez}SXR=|uh%G|8W-Eu^XSQ+E09nz$MKpG=e6YA8^ z5ett9ZF=^piJ}7nE&93%E`I?HL@i}yK)E%}TT99?ub(gGJjQZ0(^2eJAe&L@?YUV? zL7%YI+pO*5Hc+5T&>f`lm2fM~f-v_VbW-w_YzFZ>6bCV3(C+4hU=FDsm z`jSCYGVgBEvIWtyU_9OOT?lZIl`%;Ee?Re_gBNs|+OnBCqjWRPJ#J|t4PsZfi)l;C z*!DlUa001+$Ri_{QWJJLnPuaVA5!GJMWwK z96rUd>`FJE+pV!ozLuYljE|?o5&GE4)8958TQi=|U-E3`@91d0K-KBe{40x1?teB} zox47e{JA$W+}kdGjK3GhvQy0|*J`|LKYCkLnaZ|G7x%{FsC&y-nVQa)?-M@imz9#4 M`o?hoy*xSp4@#z3`2YX_ diff --git a/Assets/Scripts/Gameplay/ActionGameManager.cs b/Assets/Scripts/Gameplay/ActionGameManager.cs index b9e72dfbe..5fb7824ad 100644 --- a/Assets/Scripts/Gameplay/ActionGameManager.cs +++ b/Assets/Scripts/Gameplay/ActionGameManager.cs @@ -211,9 +211,9 @@ public class ActionGameManager : MonoBehaviour Debug.LogWarning("Loadout persistence belongs to the Verse state spine. The Unity client keeps loadouts in memory until Aetheria.State is available as a runtime package."); } - private void OnApplicationQuit() => SaveState(); + private void OnApplicationQuit() => WarnRunStatePersistencePending(); - public void SaveState() + private void WarnRunStatePersistencePending() { if (CurrentGalaxy != null) Debug.LogWarning("Run persistence belongs to the Verse state spine. Legacy run serialization is disabled."); @@ -625,7 +625,7 @@ public class ActionGameManager : MonoBehaviour ship.ExitWormhole(ZoneRenderer.WormholeInstances.Keys.First(w => w.Target == oldZone.GalaxyZone).Position, Settings.GameplaySettings.WormholeExitVelocity * ItemManager.Random.NextFloat2Direction()); CurrentEntity.Zone = Zone; - SaveState(); + WarnRunStatePersistencePending(); }; } @@ -1081,11 +1081,6 @@ public class ActionGameManager : MonoBehaviour }); } - public void SaveZone(string name) - { - Debug.LogWarning("Zone persistence belongs to the Verse state spine. Legacy .zone serialization is disabled."); - } - // public void ToggleEditMode() // { // _editMode = !_editMode; diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 5a6353424..df30e66b2 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -226,9 +226,10 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. templates have typed state documents and node put/get paths; Unity's menu, input screens, and save button still need to call them through the runtime Verse package. Run, zone, and entity snapshot state also have typed node - put/get paths; Unity `SaveState`/`SaveZone` still need to commit through those - ports. The catalog operator UI is emitted as a typed Eve surface document - derived from the catalog snapshot. + put/get paths; Unity transition and shutdown paths still need to commit + through those ports. The old `SaveState`/`SaveZone` command surface is gone. + The catalog operator UI is emitted as a typed Eve surface document derived + from the catalog snapshot. - Derived state: UI panels, generated keyboard layouts, editor rows, typed state boot warnings, and serialized legacy payloads are projections, migration inputs, diagnostics, or disabled session-local DTOs, not durable @@ -386,6 +387,10 @@ First Aetheria surfaces to publish: - Done: disable legacy local save, loadout, zone, player-settings, keyboard layout, DB inspector, and NameFile export writers. - Done: delete the old `SavedGame`/`SavedZone` runtime save DTO and loader. + - Done: remove the stale Unity `SaveState`/`SaveZone` command names after + their bespoke serializers were deleted; shutdown and wormhole transitions + now emit only a Verse-persistence-pending warning until typed runtime + commit ports are wired. - Done: stop legacy catalog pull/read paths from writing entries back to their source backing store. - Done: delete legacy catalog backing-store write/realtime APIs.