game_sync/gamesrv/slotspkg/slots/intf/formation.go

73 lines
2.0 KiB
Go

package intf
import (
"github.com/tomas-qstarrs/boost/randx"
"mongo.games.com/game/gamesrv/slotspkg/internal/module/shared"
)
// Formation is the interface for operating shared.Formation
type Formation interface {
GetWin() int64
SetWin(win int64) Formation
GetInitSymbols() []int64
SetInitSymbols(symbols []int64) Formation
GetInitMatrixFormattedSymbols() [][]int64
SetInitFormattedSymbols(symbols [][]int64) Formation
GetSymbols() []int64
GetSymbolsAbove() []int64
GetSymbolsBelow() []int64
SetSymbols(symbols []int64) Formation
GetReelFormattedSymbols() [][]int64
GetMatrixFormattedSymbols() [][]int64
SetFormattedSymbols(symbols [][]int64) Formation
GetCheatSymbols() []int64
SetCheatSymbols(symbols []int64) Formation
GetReelFormattedCheatSymbols() [][]int64
SetFormattedCheatSymbols(symbols [][]int64) Formation
GetDisplaySymbols() []int64
SetDisplaySymbols(symbols []int64) Formation
GetReelFormattedDisplaySymbols() [][]int64
SetFormattedDisplaySymbols(symbols [][]int64) Formation
GetOriginDisplaySymbols() []int64
SetOriginDisplaySymbols(symbols []int64) Formation
GetReelFormattedOriginDisplaySymbols() [][]int64
SetFormattedOriginDisplaySymbols(symbols [][]int64) Formation
GetFinalSymbols() []int64
SetFinalSymbols(symbols []int64) Formation
GetMatrixFormattedFinalSymbols() [][]int64
SetFormattedFinalSymbols(symbols [][]int64) Formation
GetMatrixFormattedBySymbols(symbols []int64) [][]int64
GetLinkPositions() []*shared.LinkPositions
SetLinkPositions(linkPositions []*shared.LinkPositions) Formation
CoordsToPosition(row int64, col int64) int64
PositionToCoords(position int64) (int64, int64)
GetLineSymbols() [][]int64
GetLinePays() []float64
GetLineCount() int64
GetLineLines() [][]int64
GetRandPositions() []int64
GetReelSymbols(reelIndex int64, startIdx int64, size int64) []int64
GetMatrixForm() []int64
ResetRandSymbols(r *randx.Randx)
ResetRandSymbolsByIndex(r *randx.Randx)
GetRewardInfo() []*shared.RewardInfo
SetRewardInfo(ri []*shared.RewardInfo)
SetNewNodeType(nodeType string)
GetNewNodeType() string
}