Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GamblingModule ¶
type GamblingModule struct {
// contains filtered or unexported fields
}
GamblingModule holds module-level state for the gambling plugin.
type RoomSlotState ¶
type RoomSlotState struct {
Jackpot int `yaml:"Jackpot"`
BiggestWin int `yaml:"BiggestWin"`
BiggestWinName string `yaml:"BiggestWinName"`
}
RoomSlotState holds the per-room jackpot and biggest-win record.
type SlotState ¶
type SlotState map[int]*RoomSlotState
SlotState holds per-room slot machine state, keyed by room ID.
Click to show internal directories.
Click to hide internal directories.