get_room_state
Retrieve a consistent snapshot of the current room, seat assignments, player readiness, and countdown timer for a given connection in Silicon Pantheon's turn-based strategy game.
Instructions
Show the caller's current room, seats, readiness, and countdown.
── Locking ──
Reads (conn, info, room, serialize, autostart_deadlines) are
all done under a single state_lock acquisition so the
serialized snapshot is internally consistent.
_maybe_promote_on_deadline is called INSIDE the lock too;
it reads+mutates state under the same critical section to
avoid a TOCTOU with the deadline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |