gambling

package
v0.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL