Add CultMesh game session facade

This commit is contained in:
Meta Vens 2026-05-20 07:45:10 +01:00
commit 1a87ac35b4
6 changed files with 355 additions and 2 deletions

View file

@ -16,6 +16,7 @@ Namespace: `GameCult.Mesh`
- `CultMesh.CreatePeerExchangeClient(...)`
- `CultMesh.CreateAuthorityLeaseCatalog()`
- `CultMesh.CreateSimulationFactCommitter(...)`
- `CultMesh.CreateGameSession(...)`
- `CultMesh.CreateClient(...)`
- `CultMesh.ConnectClient(...)`
@ -112,3 +113,8 @@ replica cursor to the snapshot's represented log sequence.
Candidates are opinions. `CultMeshSimulationFactCommitter` commits quorum
candidates as `CultMeshSimulationFact` documents through `CultNetDatabase`, so
final world state still belongs in the authoritative shard log.
`CultMeshGameSession` is the gameplay-facing composition layer. It owns the
common loop for prediction, observations, candidate watches, simulation fact
watches, and committing new quorum facts without forcing game code to manually
wire every bridge.