aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/types.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-08-03 17:15:50 -0400
committerhistoria <[not public]>2026-08-03 17:15:50 -0400
commita2cbc04f86508708daa09affa5e9d73cc689b2ba (patch)
tree0d0c6c7fbf4a775faaf5e9dd700157b883882638 /internal/casino/types.go
parentadda27dba5bf7bf1dee62159f0cbc0bd90734751 (diff)
downloadthehouseoficarus-a2cbc04f86508708daa09affa5e9d73cc689b2ba.tar.gz
feat: new color 'command', color tag system implemented
Diffstat (limited to 'internal/casino/types.go')
-rw-r--r--internal/casino/types.go16
1 files changed, 12 insertions, 4 deletions
diff --git a/internal/casino/types.go b/internal/casino/types.go
index c28b471..52c4bfa 100644
--- a/internal/casino/types.go
+++ b/internal/casino/types.go
@@ -181,10 +181,18 @@ const (
// presentation layer can enrich it (balances, command colors) without parsing
// message prefixes.
type MenuView struct {
- Kind MenuKind
- Body string // command list (MenuSlotCommands)
- Title string // prompt heading (MenuBlackjackTurn)
- Actions []string // available commands (MenuBlackjackTurn)
+ Kind MenuKind
+ Body string // command list (MenuSlotCommands)
+ Title string // prompt heading (MenuBlackjackTurn)
+ Actions []string // available commands (MenuBlackjackTurn)
+ Commands []MenuCommand // unified command list for all casino menus
+}
+
+// MenuCommand is one selectable command shown in a casino menu: the typed
+// command text plus a short human-readable description.
+type MenuCommand struct {
+ Command string
+ Desc string
}
type Event struct {