mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
Add Shardok map queries to text client (#8558)
This commit is contained in:
@@ -133,6 +133,19 @@ Shardok update with no available commands clears the previous command list.
|
||||
|
||||
Use `shardok-commands-json` or `shardok-units-json` when the concise output omits a needed field.
|
||||
|
||||
The client synchronizes Shardok map definitions when it connects. To inspect the
|
||||
base terrain together with current tile modifiers and occupying units, use:
|
||||
|
||||
```text
|
||||
shardok-map <shardok-game-id>
|
||||
shardok-map-json <shardok-game-id>
|
||||
```
|
||||
|
||||
The battle ID may be omitted when the client knows about exactly one Shardok
|
||||
battle. The concise map prints every coordinate's terrain plus fire, castle,
|
||||
bridge, ice, and snow state. The JSON form includes the complete base map,
|
||||
dynamic tile modifiers, and current active units.
|
||||
|
||||
## Reconnects And Shutdown
|
||||
|
||||
The client automatically recreates a failed gRPC stream and re-subscribes to the active game. It retains its in-process `ClientTextStore`, so a reconnect should announce:
|
||||
|
||||
Reference in New Issue
Block a user