Move Galaxy off legacy catalog reader
This commit is contained in:
parent
fabbd088e2
commit
8cdd4d0b37
4 changed files with 26 additions and 20 deletions
|
|
@ -77,6 +77,11 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
`GetCatalogEntries<T>` methods. This does not remove the legacy reader under
|
||||
the hood; it prevents old catalog authority from leaking into every caller
|
||||
that only needs a domain lookup.
|
||||
- `Galaxy` generation no longer accepts `ILegacyCatalogReader`. Sector and
|
||||
tutorial generation receive `ItemManager` and use the same narrow catalog
|
||||
lookup port for factions and name files. `ActionGameManager.LegacyCatalog`
|
||||
now feeds only `ItemManager` boot; menu/generation paths no longer receive
|
||||
the legacy reader directly.
|
||||
- `DatabaseLink<T>.Value` can resolve legacy links only after
|
||||
`LegacyCatalogBoundary` binds the pull-only catalog cache. Legacy catalog
|
||||
construction no longer grabs global `DatabaseLinkBase` authority.
|
||||
|
|
@ -183,11 +188,12 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
old MessagePack catalog reads, and `LegacyCatalogBoundary` is the only named
|
||||
owner for opening the old catalog and binding legacy `DatabaseLink<T>`
|
||||
resolution until catalog migration lands. Runtime code receives narrow
|
||||
`ItemManager` catalog methods where gameplay only needs lookups; `ItemManager`
|
||||
and `Galaxy` still receive `ILegacyCatalogReader` until typed runtime catalog
|
||||
boot replaces them. `Aetheria.State.Unity` owns a read-only typed catalog
|
||||
facade for future Unity consumers; it does not write state or own simulation.
|
||||
The legacy cache no longer has a public mutation surface.
|
||||
`ItemManager` catalog methods where gameplay only needs lookups. `ItemManager`
|
||||
still receives `ILegacyCatalogReader` until typed runtime catalog boot
|
||||
replaces it; `Galaxy` has been moved off the legacy reader and now consumes
|
||||
`ItemManager`. `Aetheria.State.Unity` owns a read-only typed catalog facade
|
||||
for future Unity consumers; it does not write state or own simulation. The
|
||||
legacy cache no longer has a public mutation surface.
|
||||
- Inputs: Unity gameplay code, legacy catalog files, typed state documents, and
|
||||
CultMesh server state.
|
||||
- Outputs: `Aetheria.State` emits `.cc` state and CultMesh documents. Legacy
|
||||
|
|
@ -228,8 +234,8 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
- Shared paths: gameplay input, editor edits, import/deep-load, replication,
|
||||
simulation ticks, and tests all call the same typed state service.
|
||||
- Deletion line: after catalog migration smokes pass, replace
|
||||
`ActionGameManager.LegacyCatalog`/`ItemManager`/`Galaxy` boot with the typed
|
||||
runtime catalog package, then delete or quarantine the remaining
|
||||
`ActionGameManager.LegacyCatalog`/`ItemManager` boot with the typed runtime
|
||||
catalog package, then delete or quarantine the remaining
|
||||
`LegacyCatalogCache`/`DatabaseEntry` runtime catalog dependency and remove old
|
||||
MessagePack backing store classes from live Unity source.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue