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

75 lines
2.0 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package intf
import (
"mongo.games.com/game/gamesrv/slotspkg/internal/module/player"
"mongo.games.com/game/gamesrv/slotspkg/internal/module/shared"
"mongo.games.com/game/gamesrv/slotspkg/slots/desc"
)
// Spinner is the interface for dispatching entity
type Spinner interface {
Close() *shared.NodeTree
PlayClose() *shared.NodeTree
SyncLiteClose() *shared.LiteNodeTree
PlayLiteClose() *shared.LiteNodeTree
QuitLiteClose() *shared.LiteNodeTree
GetNodeTree() *shared.NodeTree
Play(*shared.Act)
Summary() string
GetSymbolLinkPays() []map[int64]map[int64]float64
CalcWinType(multi float64) int64
Cursor() Node
Next() Node
Parent() Node
Ancestor() Node
Node(nodeID int64) Node
CursorType() string
NextType() string
ParentType() string
AncestorType() string
UserData() *shared.UserData
Desc() *desc.NodeDesc
Value(key interface{}) interface{}
RandVector() *shared.RandVector
CompareRandx() (bool, string, string)
RandxTracker() *shared.RandxTracker
MinBet() int64
BetSizeIndex() int64
BetLevelIndex() int64
BetLineIndex() int64
BetSizes() []int64
BetLevels() []int64
BetLines() []int64
BaseBets() []int64
BetChangeList() []float64
GetBetIndexByVal(val float64) []int64
Choice() int64
Stay() bool
Version() int64
Ratio() float64
Mode() string
Vector() []int64
GetBetCoin() player.DecCoin
GetWinCoin() player.IncCoin
Round() int64
Bet() int64 // 当前Node参与计算的下注值(拷贝自Base可临时被更改)
ActBet() int64 // 通过Base节点信息和Act信息实时计算的最新Bet值
TotalBet() int64 // 一轮Base节点实际付款金币
ActualBet() int64 // 当前Spin实际付款金币
Win() int64 // 当前Spin中奖金额
NodeTotalWin() int64 // 当前Node中奖金额
TotalWin() int64 // 一轮Base总中奖金额
ActualWin() int64 // 当前Spin实际获奖金额
ActualWinType() int64 // 当前Spin实际获奖类型
GetVector(float64, float64, bool) (int64, []int64)
GetDisplaySymbolsListString() string
GetFinalSymbolsListString() string
GetFeaturesString() string
}