aboutsummaryrefslogtreecommitdiff
path: root/internal/net
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-24 20:06:41 -0400
committerhistoria <[not public]>2026-09-24 20:07:31 -0400
commit13db3e50cb6e29eedbf25416e5284bf08b0adefb (patch)
treed5e9b99030b25cc7fc102288b694c133f8832f84 /internal/net
parentd114c747a7672c7e4daab3a5b5f1b2f066ebc912 (diff)
downloadthehouseoficarus-13db3e50cb6e29eedbf25416e5284bf08b0adefb.tar.gz
feat: casino table ux: aliases, rebet hints, deadline notifications, spectator mode
Diffstat (limited to 'internal/net')
-rw-r--r--internal/net/server.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/internal/net/server.go b/internal/net/server.go
index 80710ad..c715074 100644
--- a/internal/net/server.go
+++ b/internal/net/server.go
@@ -65,8 +65,11 @@ type Session struct {
PendingBackground bool
PendingUndigDir string
PendingUndigRoom int
- promptVisible bool
- writeMu sync.Mutex
+ // Casino spectator preferences are session-local, owner-goroutine only.
+ CasinoWatchRoom int
+ CasinoWatchTable string
+ promptVisible bool
+ writeMu sync.Mutex
// Disconnect bookkeeping is written by the connection goroutine that
// discovered the dead transport (Hub.Remove's deferred path) and read