game sizes?
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user