aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/types.go')
-rw-r--r--internal/casino/types.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/internal/casino/types.go b/internal/casino/types.go
index 9c000b5..5f9de1d 100644
--- a/internal/casino/types.go
+++ b/internal/casino/types.go
@@ -282,10 +282,14 @@ type Event struct {
// snapshot can never be assigned without implementing the interface, and
// the event filter can test it with a single nil check instead of
// enumerating every game's field.
- Snapshot Snapshot
- Menu *MenuView
- ShowBalance bool // append the recipient's current available funds
- Detail bool // action-by-action public output, only for participants/watchers
+ // Settlement is private to PrivateTo, never broadcast to spectators.
+ // Message/PrivateMessage remain a plain-text fallback for non-UI consumers.
+ Settlement []SettlementLine
+ SettlementNote string // warning displayed alongside a partial settlement
+ Snapshot Snapshot
+ Menu *MenuView
+ ShowBalance bool // append the recipient's current available funds
+ Detail bool // action-by-action public output, only for participants/watchers
}
// Snapshot is the marker interface for a game's structured event view. The