Add Unity playable world runtime host

This commit is contained in:
Meta Vens 2026-07-09 19:09:26 +01:00
commit be503940fa
11 changed files with 332 additions and 12 deletions

View file

@ -627,6 +627,10 @@ Recently cut:
command receipts through `IEveUnitySceneCommandReceiptSource`: pending
receipts remain status only, while accepted or reconciled receipts refresh
from the provider surface source instead of moving entities locally.
`EveUnityPlayableWorldRuntime` now owns the generic Unity playable-world
composition point: provider surface documents, provider asset manifest
documents, command sink, optional receipt source, asset manifest cache,
presenter, and scene sink are wired without Aetheria imports.
`EveUnityPlayableWorldPresenter` now maps provider-authored entity rows and
asset refs into scene sink operations, including removal of entities absent
from later provider snapshots, without importing Aetheria entity/prefab
@ -643,7 +647,9 @@ Recently cut:
`gamecult.eve.unity_playable_world_asset_manifest.v1` and
`EveUnityPlayableWorldAssetManifestDocumentSource` now define the typed
manifest document loading boundary and feed that cache without importing
Aetheria asset classes. The Unity client boundary is generic before it learns
Aetheria asset classes. `EveUnityLivePlayableWorldAssetProvider` connects
that cache to the active world pointer for GameObject scenes. The Unity
client boundary is generic before it learns
live transport. The next blocker is the live generic Unity player loop:
implement the CultMesh/CultNet adapter, implement concrete CultMesh/CultCache
readers for provider surface and asset manifest documents, and prove

View file

@ -495,6 +495,12 @@ now also declares
provider connection with `EveUnityPlayableWorldPresenter`, applies every live
snapshot to the scene sink, and delegates player intent back to the advertised
provider command boundary. The runtime now also declares
`playableWorldRuntimeHost`: `EveUnityPlayableWorldRuntime` composes provider
surface documents, provider asset manifest documents, command sink, optional
receipt source, asset manifest cache, presenter, and scene sink into one generic
Unity playable-world client. `EveUnityLivePlayableWorldAssetProvider` lets a
GameObject scene resolve prefabs through the active world's provider manifest
without importing provider prefab classes. The runtime now also declares
`providerCommandReceipts`: `IEveUnitySceneCommandReceiptSource` and
`EveUnitySceneCommandReceipt` keep provider-owned pending/accepted/denied/
reconciled command status distinct from scene state; accepted or reconciled

View file

@ -177,6 +177,10 @@ local world truth, and `IEveUnitySceneCommandReceiptSource` reports provider
receipts as derived command status. Pending receipts do not move the scene;
accepted or reconciled receipts only trigger a refresh from the provider surface
source, so the next presentation still comes from daemon-authored state.
`EveUnityPlayableWorldRuntime` is the generic runtime composition entry point:
it wires provider surface documents, provider asset manifest documents, command
sink, optional receipt source, asset manifest cache, presenter, and scene sink
into one Unity playable-world client without importing provider code.
`EveUnityPlayableWorldPresenter` maps the provider-authored entity rows and
asset refs into scene operations through `IEveUnityPlayableWorldSceneSink` and
`IEveUnityPlayableWorldAssetResolver`, including removal of entities that
@ -193,16 +197,17 @@ through data rather than Aetheria code. `gamecult.eve.unity_playable_world_asset
loading boundary for those Unity load keys. `IEveUnityPlayableWorldAssetManifestSource`
and `EveUnityPlayableWorldAssetManifestCache` key live manifest updates by the
`playableWorld.AssetManifest` pointer, so a CultMesh/CultCache source can update
Unity asset bindings without changing the lowerer. Aetheria-specific names
appear only as provider-authored data and command ids; the Unity client code
does not import Aetheria runtime types, prefab classes, or apply movement
Unity asset bindings without changing the lowerer. `EveUnityLivePlayableWorldAssetProvider`
connects that cache to the active world pointer for GameObject scenes. Aetheria-specific
names appear only as provider-authored data and command ids; the Unity client
code does not import Aetheria runtime types, prefab classes, or apply movement
locally.
This is not yet the final playable client. The remaining cut is a live
CultMesh/CultNet provider subscription adapter implementing those document and
command ports, concrete CultMesh/CultCache readers for provider snapshots and
command ports, concrete CultMesh/CultCache readers for provider surface and
asset manifest documents, and proof that daemon receipts plus provider
snapshots drive the next rendered Unity frame rather than renderer-local state.
documents drive the next rendered Unity frame rather than renderer-local state.
## Non-Goals