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

23 lines
542 B
Go

package intf
import "mongo.games.com/game/gamesrv/slotspkg/internal/module/shared"
// Node is the interface for operating shared.Node
type Node interface {
GetID() int64
GetParent() int64
GetType() string
GetBet() int64
SetBet(bet int64) Node
AddPrepare() Node
GetFormationWin() int64 // 节点矩阵中奖金额
GetFeatureWin() int64 // 节点Feature中奖金额
GetWin() int64
GetTotalWin() int64
GetProgressValue() int64
GetProgressMax() int64
GetFormations() []*shared.Formation
GetSingleBet() int64
GetNoBase() bool
}