mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-29 01:35:42 +00:00
b0639dc8d06246f31ee75756af89ae6ab6bed8e0
Introduces a new ShardokServerStatus message on SingleShardokGameResultResponse so the client can render a tactical-side connection-status indicator (Your Turn / Waiting for AI / Waiting for Other Player / Processing). ShardokServerStatus is intentionally separate from ServerGameStatus so the strategic and tactical layers don't have to evolve in lockstep. GameController.computeShardokServerStatus picks the status from the receiving player's perspective by checking shardokPlayerAvailableCommands across factions and classifying them via aiClientFactionIds. The two humanClientsAfterPostingResults overloads now thread an aiFactionIds set through and populate the new field on every per-battle response. This is the server half of a two-PR split. The client wiring lands separately; until then the new field is emitted but unread, which is safe. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
The file is empty.
Languages
Scala
44.5%
C++
19.9%
C#
16.6%
Starlark
10.1%
Go
3.5%
Other
5.3%