game sizes?

This commit is contained in:
2025-11-14 08:12:09 +01:00
parent 6eec74f0f6
commit 567d293455
5 changed files with 152 additions and 6 deletions
+3 -2
View File
@@ -7,10 +7,11 @@ It is designed to run headless other crates (most notably
## Runtime Overview
- `start_peer(game_dir, tx_events)` boots the asynchronous runtime in the
- `start_peer(game_dir, tx_events, peer_game_db)` boots the asynchronous runtime in the
background and returns an `UnboundedSender<PeerCommand>` that the caller uses
for control. The function immediately forwards the supplied game directory via
`PeerCommand::SetGameDir`.
`PeerCommand::SetGameDir` and keeps using the provided `PeerGameDB` so the UI
layer can observe live peer metadata.
- `PeerCommand` represents the small control surface exposed to the UI layer:
`ListGames`, `GetGame`, `DownloadGameFiles`, and `SetGameDir`.
- `PeerEvent` enumerates everything the peer runtime reports back to the UI: