Resolve runtime factions through typed galaxy projection
This commit is contained in:
parent
de36150dc2
commit
c43d7b8f67
5 changed files with 47 additions and 9 deletions
|
|
@ -85,13 +85,16 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
deserialization only. UI code no longer reaches into
|
||||
`LegacyCatalogBoundary.GetCatalog` directly.
|
||||
- `ItemManager` no longer exposes the raw `ILegacyCatalogReader` as public
|
||||
gameplay/UI API. Item, faction, loadout, trade, and entity restore consumers
|
||||
gameplay/UI API. Item, loadout item selection, trade, and give-command consumers
|
||||
now go through narrow `ItemManager.GetCatalogEntry<T>` and
|
||||
`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. The item properties UI no longer uses
|
||||
`ItemManager` for manufacturer display; it resolves the manufacturer through
|
||||
the package-owned `ActionGameManager.RuntimeCatalog` typed snapshot.
|
||||
the package-owned `ActionGameManager.RuntimeCatalog` typed snapshot. Entity
|
||||
restore and loadout manufacturer-distance weighting no longer use `ItemManager`
|
||||
for faction lookup; they resolve factions through the `Galaxy` typed
|
||||
corporation projection.
|
||||
- `Galaxy` generation no longer accepts `ILegacyCatalogReader` or `ItemManager`.
|
||||
Sector and tutorial generation receive the package-owned typed runtime
|
||||
catalog. `Galaxy` projects typed corporation v2 records into temporary legacy
|
||||
|
|
@ -186,6 +189,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
- Galaxy generation no longer reads legacy `Faction` or `NameFile` entries
|
||||
through `ItemManager`; it requires the typed runtime catalog opened from
|
||||
`GameData/aetheria-world.cc`.
|
||||
- Entity restore and loadout manufacturer-distance weighting no longer read
|
||||
legacy `Faction` entries through `ItemManager`; they use `Galaxy.ResolveFaction`
|
||||
over the typed corporation projection.
|
||||
- MessagePack is no longer used as a runtime object-cloning shortcut for
|
||||
`EntitySettings`, and UI/player-settings startup no longer registers the old
|
||||
MessagePack resolver. Resolver registration is confined to legacy catalog
|
||||
|
|
@ -234,8 +240,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
`ActionGameManager` has a private boot helper that calls it only to construct
|
||||
`ItemManager`. Runtime code receives narrow `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`.
|
||||
`ILegacyCatalogReader` until typed runtime catalog boot replaces it; `Galaxy`,
|
||||
entity restore, and faction-distance loadout weighting have been moved off
|
||||
legacy faction catalog reads.
|
||||
The embedded Unity state package owns the read-only runtime catalog model
|
||||
contract and the read-only known-schema `.cc` catalog opener. `ActionGameManager`
|
||||
now exposes that typed package snapshot at boot. The SDK-style
|
||||
|
|
@ -243,9 +250,8 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
contract for full .NET smokes and Eve surface reads. Neither writes state or
|
||||
owns simulation. The legacy cache no longer has a public mutation surface, but
|
||||
it still materializes `ItemManager`. Item properties manufacturer display is
|
||||
a typed snapshot consumer; trade debug, galaxy generation, loadout generation,
|
||||
entity restore, and the give console command still use `ItemManager` legacy
|
||||
domain materialization.
|
||||
a typed snapshot consumer; trade debug, loadout item selection, and the give
|
||||
console command still use `ItemManager` legacy item-domain materialization.
|
||||
- Inputs: Unity gameplay code, legacy catalog files, typed state documents, and
|
||||
CultMesh server state.
|
||||
- Outputs: `Aetheria.State` emits `.cc` state and CultMesh documents. Legacy
|
||||
|
|
@ -397,6 +403,9 @@ First Aetheria surfaces to publish:
|
|||
- Done: move `Galaxy` faction selection and name generation to the typed
|
||||
runtime catalog; legacy `Faction`/`NameFile` catalog entries no longer
|
||||
decide generated sector factions or zone names.
|
||||
- Done: move entity faction restore and loadout manufacturer-distance
|
||||
weighting to `Galaxy.ResolveFaction`, so legacy `Faction` catalog entries
|
||||
no longer decide runtime faction references after generation.
|
||||
- Replace `ActionGameManager` cache bootstrap with the new state runtime.
|
||||
- Convert domain references from GUID/base-class patterns to typed record
|
||||
refs.
|
||||
|
|
|
|||
Loading…
Reference in a new issue