From 8eea0e4e06a4aaa6a18edabd9897d3bea1ea2ca0 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 22:47:41 -0400 Subject: feat: consistent wager outcome table across casino games --- internal/casino/types.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'internal/casino/types.go') 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 -- cgit v1.2.3