diff options
| author | historia <[not public]> | 2026-10-01 22:47:41 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 22:47:41 -0400 |
| commit | 8eea0e4e06a4aaa6a18edabd9897d3bea1ea2ca0 (patch) | |
| tree | 63698c0618f382a553d4558a33e3d2087039c378 /internal/casino/types.go | |
| parent | 6d9908b29c8187196d23b126b1165c7e0bd0fc76 (diff) | |
| download | thehouseoficarus-8eea0e4e06a4aaa6a18edabd9897d3bea1ea2ca0.tar.gz | |
feat: consistent wager outcome table across casino games
Diffstat (limited to 'internal/casino/types.go')
| -rw-r--r-- | internal/casino/types.go | 12 |
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 |
