74 lines
2.0 KiB
Go
74 lines
2.0 KiB
Go
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
|
||
|
||
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
|
||
}
|