Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDTGameLogicServer(s grpc.ServiceRegistrar, srv DTGameLogicServer)
- func RegisterGameLogicCollectionServer(s grpc.ServiceRegistrar, srv GameLogicCollectionServer)
- func RegisterGameLogicServer(s grpc.ServiceRegistrar, srv GameLogicServer)
- func RegisterRngServer(s grpc.ServiceRegistrar, srv RngServer)
- type BasicComponentData
- func (*BasicComponentData) Descriptor() ([]byte, []int)deprecated
- func (x *BasicComponentData) GetBasicComponentData() *ComponentData
- func (*BasicComponentData) ProtoMessage()
- func (x *BasicComponentData) ProtoReflect() protoreflect.Message
- func (x *BasicComponentData) Reset()
- func (x *BasicComponentData) String() string
- type BasicPlayerPrivateState
- type BasicPlayerPrivateState2
- func (*BasicPlayerPrivateState2) Descriptor() ([]byte, []int)deprecated
- func (x *BasicPlayerPrivateState2) GetJson() string
- func (*BasicPlayerPrivateState2) ProtoMessage()
- func (x *BasicPlayerPrivateState2) ProtoReflect() protoreflect.Message
- func (x *BasicPlayerPrivateState2) Reset()
- func (x *BasicPlayerPrivateState2) String() string
- type BasicPlayerPublicState
- func (*BasicPlayerPublicState) Descriptor() ([]byte, []int)deprecated
- func (x *BasicPlayerPublicState) GetCurGameMod() string
- func (x *BasicPlayerPublicState) GetNextM() int32
- func (*BasicPlayerPublicState) ProtoMessage()
- func (x *BasicPlayerPublicState) ProtoReflect() protoreflect.Message
- func (x *BasicPlayerPublicState) Reset()
- func (x *BasicPlayerPublicState) String() string
- type BasicPlayerPublicState2
- func (*BasicPlayerPublicState2) Descriptor() ([]byte, []int)deprecated
- func (x *BasicPlayerPublicState2) GetJson() string
- func (*BasicPlayerPublicState2) ProtoMessage()
- func (x *BasicPlayerPublicState2) ProtoReflect() protoreflect.Message
- func (x *BasicPlayerPublicState2) Reset()
- func (x *BasicPlayerPublicState2) String() string
- type BasicWinsData
- func (*BasicWinsData) Descriptor() ([]byte, []int)deprecated
- func (x *BasicWinsData) GetBasicComponentData() *ComponentData
- func (x *BasicWinsData) GetNextComponent() string
- func (*BasicWinsData) ProtoMessage()
- func (x *BasicWinsData) ProtoReflect() protoreflect.Message
- func (x *BasicWinsData) Reset()
- func (x *BasicWinsData) String() string
- type BookOf2Data
- func (*BookOf2Data) Descriptor() ([]byte, []int)deprecated
- func (x *BookOf2Data) GetBasicComponentData() *ComponentData
- func (x *BookOf2Data) GetSymbols() []int32
- func (*BookOf2Data) ProtoMessage()
- func (x *BookOf2Data) ProtoReflect() protoreflect.Message
- func (x *BookOf2Data) Reset()
- func (x *BookOf2Data) String() string
- type BookOfData
- func (*BookOfData) Descriptor() ([]byte, []int)deprecated
- func (x *BookOfData) GetBasicComponentData() *ComponentData
- func (x *BookOfData) GetSymbols() []int32
- func (*BookOfData) ProtoMessage()
- func (x *BookOfData) ProtoReflect() protoreflect.Message
- func (x *BookOfData) Reset()
- func (x *BookOfData) String() string
- type CollectorData
- func (*CollectorData) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorData) GetNewCollector() int32
- func (x *CollectorData) GetVal() int32
- func (*CollectorData) ProtoMessage()
- func (x *CollectorData) ProtoReflect() protoreflect.Message
- func (x *CollectorData) Reset()
- func (x *CollectorData) String() string
- type Column
- type ComponentData
- func (*ComponentData) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentData) GetCashWin() int64
- func (x *ComponentData) GetCoinWin() int32
- func (x *ComponentData) GetRunIndex() int32
- func (x *ComponentData) GetTargetScene() int32
- func (x *ComponentData) GetUsedOtherScenes() []int32
- func (x *ComponentData) GetUsedPrizeScenes() []int32
- func (x *ComponentData) GetUsedResults() []int32
- func (x *ComponentData) GetUsedScenes() []int32
- func (*ComponentData) ProtoMessage()
- func (x *ComponentData) ProtoReflect() protoreflect.Message
- func (x *ComponentData) Reset()
- func (x *ComponentData) String() string
- type DTGameLogicClient
- type DTGameLogicServer
- type DTGameLogic_PlayClient
- type DTGameLogic_PlayServer
- type GameConfig
- func (*GameConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GameConfig) GetBetMuls() []int32
- func (x *GameConfig) GetCoreVer() string
- func (x *GameConfig) GetData() string
- func (x *GameConfig) GetDefaultScene() *GameScene
- func (x *GameConfig) GetDefaultScene2() []*GameScene
- func (x *GameConfig) GetHeight() int32
- func (x *GameConfig) GetLines() *LinesData
- func (x *GameConfig) GetPayTables() map[int32]*Row
- func (x *GameConfig) GetReels() map[string]*ReelsData
- func (x *GameConfig) GetVer() string
- func (x *GameConfig) GetWidth() int32
- func (*GameConfig) ProtoMessage()
- func (x *GameConfig) ProtoReflect() protoreflect.Message
- func (x *GameConfig) Reset()
- func (x *GameConfig) String() string
- type GameLogicClient
- type GameLogicCollectionClient
- type GameLogicCollectionServer
- type GameLogicCollection_PlayGameClient
- type GameLogicCollection_PlayGameServer
- type GameLogicServer
- type GameLogic_PlayClient
- type GameLogic_PlayServer
- type GameParam
- func (*GameParam) Descriptor() ([]byte, []int)deprecated
- func (x *GameParam) GetFirstComponent() string
- func (x *GameParam) GetHistoryComponents() []string
- func (x *GameParam) GetMapComponents() map[string]*any1.Any
- func (x *GameParam) GetMapStrVals() map[string]int32
- func (x *GameParam) GetMapVals() map[int32]int32
- func (x *GameParam) GetNextStepFirstComponent() string
- func (x *GameParam) GetRespinComponents() []string
- func (*GameParam) ProtoMessage()
- func (x *GameParam) ProtoReflect() protoreflect.Message
- func (x *GameParam) Reset()
- func (x *GameParam) String() string
- type GameResult
- func (*GameResult) Descriptor() ([]byte, []int)deprecated
- func (x *GameResult) GetCashWin() int64
- func (x *GameResult) GetClientData() *PlayResult
- func (x *GameResult) GetCoinWin() int64
- func (*GameResult) ProtoMessage()
- func (x *GameResult) ProtoReflect() protoreflect.Message
- func (x *GameResult) Reset()
- func (x *GameResult) String() string
- type GameScene
- func (*GameScene) Descriptor() ([]byte, []int)deprecated
- func (x *GameScene) GetIndexes() []int32
- func (x *GameScene) GetValidRow() []int32
- func (x *GameScene) GetValues() []*Column
- func (*GameScene) ProtoMessage()
- func (x *GameScene) ProtoReflect() protoreflect.Message
- func (x *GameScene) Reset()
- func (x *GameScene) String() string
- type GameScenePlayResult
- func (*GameScenePlayResult) Descriptor() ([]byte, []int)deprecated
- func (x *GameScenePlayResult) GetCashWin() int32
- func (x *GameScenePlayResult) GetCoinWin() int32
- func (x *GameScenePlayResult) GetLineIndex() int32
- func (x *GameScenePlayResult) GetMul() int32
- func (x *GameScenePlayResult) GetOtherMul() int32
- func (x *GameScenePlayResult) GetPos() []int32
- func (x *GameScenePlayResult) GetSymbol() int32
- func (x *GameScenePlayResult) GetSymbolNums() int32
- func (x *GameScenePlayResult) GetType() int32
- func (x *GameScenePlayResult) GetValue() int32
- func (x *GameScenePlayResult) GetWilds() int32
- func (*GameScenePlayResult) ProtoMessage()
- func (x *GameScenePlayResult) ProtoReflect() protoreflect.Message
- func (x *GameScenePlayResult) Reset()
- func (x *GameScenePlayResult) String() string
- type LightningData
- func (*LightningData) Descriptor() ([]byte, []int)deprecated
- func (x *LightningData) GetBasicComponentData() *ComponentData
- func (x *LightningData) GetCollector() int32
- func (x *LightningData) GetMul() int32
- func (x *LightningData) GetNewConnector() int32
- func (x *LightningData) GetVal() int32
- func (*LightningData) ProtoMessage()
- func (x *LightningData) ProtoReflect() protoreflect.Message
- func (x *LightningData) Reset()
- func (x *LightningData) String() string
- type LinesData
- type MaskData
- func (*MaskData) Descriptor() ([]byte, []int)deprecated
- func (x *MaskData) GetBasicComponentData() *ComponentData
- func (x *MaskData) GetNewChged() int32
- func (x *MaskData) GetNewVals() []bool
- func (x *MaskData) GetNum() int32
- func (x *MaskData) GetVals() []bool
- func (*MaskData) ProtoMessage()
- func (x *MaskData) ProtoReflect() protoreflect.Message
- func (x *MaskData) Reset()
- func (x *MaskData) String() string
- type MultiLevelMysteryData
- func (*MultiLevelMysteryData) Descriptor() ([]byte, []int)deprecated
- func (x *MultiLevelMysteryData) GetBasicComponentData() *ComponentData
- func (x *MultiLevelMysteryData) GetCurLevel() int32
- func (x *MultiLevelMysteryData) GetCurMysteryCode() int32
- func (*MultiLevelMysteryData) ProtoMessage()
- func (x *MultiLevelMysteryData) ProtoReflect() protoreflect.Message
- func (x *MultiLevelMysteryData) Reset()
- func (x *MultiLevelMysteryData) String() string
- type MultiLevelReelsData
- func (*MultiLevelReelsData) Descriptor() ([]byte, []int)deprecated
- func (x *MultiLevelReelsData) GetBasicComponentData() *ComponentData
- func (x *MultiLevelReelsData) GetCurLevel() int32
- func (*MultiLevelReelsData) ProtoMessage()
- func (x *MultiLevelReelsData) ProtoReflect() protoreflect.Message
- func (x *MultiLevelReelsData) Reset()
- func (x *MultiLevelReelsData) String() string
- type MultiLevelReplaceReelData
- func (*MultiLevelReplaceReelData) Descriptor() ([]byte, []int)deprecated
- func (x *MultiLevelReplaceReelData) GetBasicComponentData() *ComponentData
- func (x *MultiLevelReplaceReelData) GetCurLevel() int32
- func (*MultiLevelReplaceReelData) ProtoMessage()
- func (x *MultiLevelReplaceReelData) ProtoReflect() protoreflect.Message
- func (x *MultiLevelReplaceReelData) Reset()
- func (x *MultiLevelReplaceReelData) String() string
- type MultiWeightAwardsData
- func (*MultiWeightAwardsData) Descriptor() ([]byte, []int)deprecated
- func (x *MultiWeightAwardsData) GetBasicComponentData() *ComponentData
- func (x *MultiWeightAwardsData) GetHasGot() []bool
- func (*MultiWeightAwardsData) ProtoMessage()
- func (x *MultiWeightAwardsData) ProtoReflect() protoreflect.Message
- func (x *MultiWeightAwardsData) Reset()
- func (x *MultiWeightAwardsData) String() string
- type MysteryData
- func (*MysteryData) Descriptor() ([]byte, []int)deprecated
- func (x *MysteryData) GetBasicComponentData() *ComponentData
- func (x *MysteryData) GetCurMysteryCode() int32
- func (*MysteryData) ProtoMessage()
- func (x *MysteryData) ProtoReflect() protoreflect.Message
- func (x *MysteryData) Reset()
- func (x *MysteryData) String() string
- type OverlaySymbolData
- func (*OverlaySymbolData) Descriptor() ([]byte, []int)deprecated
- func (x *OverlaySymbolData) GetBasicComponentData() *ComponentData
- func (x *OverlaySymbolData) GetCurLevel() int32
- func (*OverlaySymbolData) ProtoMessage()
- func (x *OverlaySymbolData) ProtoReflect() protoreflect.Message
- func (x *OverlaySymbolData) Reset()
- func (x *OverlaySymbolData) String() string
- type PlayResult
- func (*PlayResult) Descriptor() ([]byte, []int)deprecated
- func (x *PlayResult) GetCurGameMod() string
- func (x *PlayResult) GetCurGameModParam() *any1.Any
- func (x *PlayResult) GetCurIndex() int32
- func (x *PlayResult) GetJackpotCashWin() int64
- func (x *PlayResult) GetJackpotCoinWin() int64
- func (x *PlayResult) GetJackpotType() int32
- func (x *PlayResult) GetModType() string
- func (x *PlayResult) GetMulPos() []int32
- func (x *PlayResult) GetNextGameMod() string
- func (x *PlayResult) GetOtherScenes() []*GameScene
- func (x *PlayResult) GetParentIndex() int32
- func (x *PlayResult) GetPrizeCashWin() int64
- func (x *PlayResult) GetPrizeCoinWin() int64
- func (x *PlayResult) GetPrizeScenes() []*GameScene
- func (x *PlayResult) GetResults() []*GameScenePlayResult
- func (x *PlayResult) GetScenes() []*GameScene
- func (*PlayResult) ProtoMessage()
- func (x *PlayResult) ProtoReflect() protoreflect.Message
- func (x *PlayResult) Reset()
- func (x *PlayResult) String() string
- type PlayerState
- func (*PlayerState) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerState) GetPrivate() *any1.Any
- func (x *PlayerState) GetPublic() *any1.Any
- func (*PlayerState) ProtoMessage()
- func (x *PlayerState) ProtoReflect() protoreflect.Message
- func (x *PlayerState) Reset()
- func (x *PlayerState) String() string
- type ReelSetMysteryData
- func (*ReelSetMysteryData) Descriptor() ([]byte, []int)deprecated
- func (x *ReelSetMysteryData) GetBasicComponentData() *ComponentData
- func (x *ReelSetMysteryData) GetCurMysteryCode() int32
- func (*ReelSetMysteryData) ProtoMessage()
- func (x *ReelSetMysteryData) ProtoReflect() protoreflect.Message
- func (x *ReelSetMysteryData) Reset()
- func (x *ReelSetMysteryData) String() string
- type ReelsData
- type ReplyGameConfig
- func (*ReplyGameConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyGameConfig) GetErr() string
- func (x *ReplyGameConfig) GetGameConfig() *GameConfig
- func (x *ReplyGameConfig) GetIsOK() bool
- func (*ReplyGameConfig) ProtoMessage()
- func (x *ReplyGameConfig) ProtoReflect() protoreflect.Message
- func (x *ReplyGameConfig) Reset()
- func (x *ReplyGameConfig) String() string
- type ReplyInitGame
- func (*ReplyInitGame) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyInitGame) GetErr() string
- func (x *ReplyInitGame) GetIsOK() bool
- func (*ReplyInitGame) ProtoMessage()
- func (x *ReplyInitGame) ProtoReflect() protoreflect.Message
- func (x *ReplyInitGame) Reset()
- func (x *ReplyInitGame) String() string
- type ReplyInitializeGamePlayer
- func (*ReplyInitializeGamePlayer) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyInitializeGamePlayer) GetErr() string
- func (x *ReplyInitializeGamePlayer) GetIsOK() bool
- func (x *ReplyInitializeGamePlayer) GetPlayerState() *PlayerState
- func (*ReplyInitializeGamePlayer) ProtoMessage()
- func (x *ReplyInitializeGamePlayer) ProtoReflect() protoreflect.Message
- func (x *ReplyInitializeGamePlayer) Reset()
- func (x *ReplyInitializeGamePlayer) String() string
- type ReplyPlay
- func (*ReplyPlay) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyPlay) GetFinished() bool
- func (x *ReplyPlay) GetNextCommandParams() []string
- func (x *ReplyPlay) GetNextCommands() []string
- func (x *ReplyPlay) GetPlayerState() *PlayerState
- func (x *ReplyPlay) GetRandomNumbers() []*RngInfo
- func (x *ReplyPlay) GetResults() []*GameResult
- func (x *ReplyPlay) GetStake() *Stakedeprecated
- func (*ReplyPlay) ProtoMessage()
- func (x *ReplyPlay) ProtoReflect() protoreflect.Message
- func (x *ReplyPlay) Reset()
- func (x *ReplyPlay) String() string
- type ReplyPlayGame
- func (*ReplyPlayGame) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyPlayGame) GetErr() string
- func (x *ReplyPlayGame) GetIsOK() bool
- func (x *ReplyPlayGame) GetPlay() *ReplyPlay
- func (*ReplyPlayGame) ProtoMessage()
- func (x *ReplyPlayGame) ProtoReflect() protoreflect.Message
- func (x *ReplyPlayGame) Reset()
- func (x *ReplyPlayGame) String() string
- type ReplyRngs
- type RequestConfig
- type RequestGameConfig
- func (*RequestGameConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGameConfig) GetGameCode() string
- func (x *RequestGameConfig) GetReq() *RequestConfig
- func (*RequestGameConfig) ProtoMessage()
- func (x *RequestGameConfig) ProtoReflect() protoreflect.Message
- func (x *RequestGameConfig) Reset()
- func (x *RequestGameConfig) String() string
- type RequestInitGame
- func (*RequestInitGame) Descriptor() ([]byte, []int)deprecated
- func (x *RequestInitGame) GetConfig() string
- func (x *RequestInitGame) GetGameCode() string
- func (*RequestInitGame) ProtoMessage()
- func (x *RequestInitGame) ProtoReflect() protoreflect.Message
- func (x *RequestInitGame) Reset()
- func (x *RequestInitGame) String() string
- type RequestInitialize
- type RequestInitializeGamePlayer
- func (*RequestInitializeGamePlayer) Descriptor() ([]byte, []int)deprecated
- func (x *RequestInitializeGamePlayer) GetGameCode() string
- func (*RequestInitializeGamePlayer) ProtoMessage()
- func (x *RequestInitializeGamePlayer) ProtoReflect() protoreflect.Message
- func (x *RequestInitializeGamePlayer) Reset()
- func (x *RequestInitializeGamePlayer) String() string
- type RequestPlay
- func (*RequestPlay) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPlay) GetCheat() string
- func (x *RequestPlay) GetClientParams() string
- func (x *RequestPlay) GetCommand() string
- func (x *RequestPlay) GetFreespinsActive() bool
- func (x *RequestPlay) GetJackpotStakeValue() int64
- func (x *RequestPlay) GetPlayerState() *PlayerState
- func (x *RequestPlay) GetStake() *Stake
- func (*RequestPlay) ProtoMessage()
- func (x *RequestPlay) ProtoReflect() protoreflect.Message
- func (x *RequestPlay) Reset()
- func (x *RequestPlay) String() string
- type RequestPlayGame
- func (*RequestPlayGame) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPlayGame) GetGameCode() string
- func (x *RequestPlayGame) GetPlay() *RequestPlay
- func (*RequestPlayGame) ProtoMessage()
- func (x *RequestPlayGame) ProtoReflect() protoreflect.Message
- func (x *RequestPlayGame) Reset()
- func (x *RequestPlayGame) String() string
- type RequestRngs
- func (*RequestRngs) Descriptor() ([]byte, []int)deprecated
- func (x *RequestRngs) GetGamecode() string
- func (x *RequestRngs) GetNums() int32
- func (*RequestRngs) ProtoMessage()
- func (x *RequestRngs) ProtoReflect() protoreflect.Message
- func (x *RequestRngs) Reset()
- func (x *RequestRngs) String() string
- type Respin2Data
- func (*Respin2Data) Descriptor() ([]byte, []int)deprecated
- func (x *Respin2Data) GetBasicComponentData() *ComponentData
- func (x *Respin2Data) GetCurAddRespinNum() int32
- func (x *Respin2Data) GetCurRespinNum() int32
- func (x *Respin2Data) GetCurTriggerNum() int32
- func (x *Respin2Data) GetLastRespinNum() int32
- func (x *Respin2Data) GetLastTriggerNum() int32
- func (x *Respin2Data) GetRetriggerAddRespinNum() int32
- func (x *Respin2Data) GetTotalCashWin() int64
- func (x *Respin2Data) GetTotalCoinWin() int64
- func (x *Respin2Data) GetTotalRespinNum() int32deprecated
- func (*Respin2Data) ProtoMessage()
- func (x *Respin2Data) ProtoReflect() protoreflect.Message
- func (x *Respin2Data) Reset()
- func (x *Respin2Data) String() string
- type RespinData
- func (*RespinData) Descriptor() ([]byte, []int)deprecated
- func (x *RespinData) GetBasicComponentData() *ComponentData
- func (x *RespinData) GetCurAddRespinNum() int32
- func (x *RespinData) GetCurRespinNum() int32
- func (x *RespinData) GetCurTriggerNum() int32
- func (x *RespinData) GetLastRespinNum() int32
- func (x *RespinData) GetLastTriggerNum() int32
- func (x *RespinData) GetRetriggerAddRespinNum() int32
- func (x *RespinData) GetTotalCashWin() int64
- func (x *RespinData) GetTotalCoinWin() int64
- func (x *RespinData) GetTotalRespinNum() int32deprecated
- func (*RespinData) ProtoMessage()
- func (x *RespinData) ProtoReflect() protoreflect.Message
- func (x *RespinData) Reset()
- func (x *RespinData) String() string
- type RngClient
- type RngInfo
- func (*RngInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RngInfo) GetBits() int32
- func (x *RngInfo) GetRange() int32
- func (x *RngInfo) GetValue() int32
- func (*RngInfo) ProtoMessage()
- func (x *RngInfo) ProtoReflect() protoreflect.Message
- func (x *RngInfo) Reset()
- func (x *RngInfo) String() string
- type RngServer
- type Row
- type Stake
- type SymbolCollectionData
- func (*SymbolCollectionData) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolCollectionData) GetBasicComponentData() *ComponentData
- func (x *SymbolCollectionData) GetSymbolCodes() []int32
- func (*SymbolCollectionData) ProtoMessage()
- func (x *SymbolCollectionData) ProtoReflect() protoreflect.Message
- func (x *SymbolCollectionData) Reset()
- func (x *SymbolCollectionData) String() string
- type SymbolTriggerData
- func (*SymbolTriggerData) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolTriggerData) GetBasicComponentData() *ComponentData
- func (x *SymbolTriggerData) GetNextComponent() string
- func (x *SymbolTriggerData) GetRespinNum() int32
- func (x *SymbolTriggerData) GetSymbolNum() int32
- func (x *SymbolTriggerData) GetWildNum() int32
- func (x *SymbolTriggerData) GetWins() int32
- func (*SymbolTriggerData) ProtoMessage()
- func (x *SymbolTriggerData) ProtoReflect() protoreflect.Message
- func (x *SymbolTriggerData) Reset()
- func (x *SymbolTriggerData) String() string
- type UnimplementedDTGameLogicServer
- func (UnimplementedDTGameLogicServer) GetConfig(context.Context, *RequestConfig) (*GameConfig, error)
- func (UnimplementedDTGameLogicServer) Initialize(context.Context, *RequestInitialize) (*PlayerState, error)
- func (UnimplementedDTGameLogicServer) Play(*RequestPlay, DTGameLogic_PlayServer) error
- func (UnimplementedDTGameLogicServer) Play2(context.Context, *RequestPlay) (*ReplyPlay, error)
- type UnimplementedGameLogicCollectionServer
- func (UnimplementedGameLogicCollectionServer) GetGameConfig(context.Context, *RequestGameConfig) (*ReplyGameConfig, error)
- func (UnimplementedGameLogicCollectionServer) InitGame(context.Context, *RequestInitGame) (*ReplyInitGame, error)
- func (UnimplementedGameLogicCollectionServer) InitializeGamePlayer(context.Context, *RequestInitializeGamePlayer) (*ReplyInitializeGamePlayer, error)
- func (UnimplementedGameLogicCollectionServer) PlayGame(*RequestPlayGame, GameLogicCollection_PlayGameServer) error
- func (UnimplementedGameLogicCollectionServer) PlayGame2(context.Context, *RequestPlayGame) (*ReplyPlayGame, error)
- type UnimplementedGameLogicServer
- func (UnimplementedGameLogicServer) GetConfig(context.Context, *RequestConfig) (*GameConfig, error)
- func (UnimplementedGameLogicServer) Initialize(context.Context, *RequestInitialize) (*PlayerState, error)
- func (UnimplementedGameLogicServer) Play(*RequestPlay, GameLogic_PlayServer) error
- func (UnimplementedGameLogicServer) Play2(context.Context, *RequestPlay) (*ReplyPlay, error)
- type UnimplementedRngServer
- type UnsafeDTGameLogicServer
- type UnsafeGameLogicCollectionServer
- type UnsafeGameLogicServer
- type UnsafeRngServer
Constants ¶
const ( DTGameLogic_GetConfig_FullMethodName = "/sgc7pb.DTGameLogic/getConfig" DTGameLogic_Initialize_FullMethodName = "/sgc7pb.DTGameLogic/initialize" DTGameLogic_Play_FullMethodName = "/sgc7pb.DTGameLogic/play" DTGameLogic_Play2_FullMethodName = "/sgc7pb.DTGameLogic/play2" )
const ( GameLogic_GetConfig_FullMethodName = "/sgc7pb.GameLogic/getConfig" GameLogic_Initialize_FullMethodName = "/sgc7pb.GameLogic/initialize" GameLogic_Play_FullMethodName = "/sgc7pb.GameLogic/play" GameLogic_Play2_FullMethodName = "/sgc7pb.GameLogic/play2" )
const ( GameLogicCollection_InitGame_FullMethodName = "/sgc7pb.GameLogicCollection/initGame" GameLogicCollection_GetGameConfig_FullMethodName = "/sgc7pb.GameLogicCollection/getGameConfig" GameLogicCollection_InitializeGamePlayer_FullMethodName = "/sgc7pb.GameLogicCollection/initializeGamePlayer" GameLogicCollection_PlayGame_FullMethodName = "/sgc7pb.GameLogicCollection/playGame" GameLogicCollection_PlayGame2_FullMethodName = "/sgc7pb.GameLogicCollection/playGame2" )
const (
Rng_GetRngs_FullMethodName = "/sgc7pb.Rng/getRngs"
)
Variables ¶
var DTGameLogic_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sgc7pb.DTGameLogic", HandlerType: (*DTGameLogicServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getConfig", Handler: _DTGameLogic_GetConfig_Handler, }, { MethodName: "initialize", Handler: _DTGameLogic_Initialize_Handler, }, { MethodName: "play2", Handler: _DTGameLogic_Play2_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "play", Handler: _DTGameLogic_Play_Handler, ServerStreams: true, }, }, Metadata: "game.proto", }
DTGameLogic_ServiceDesc is the grpc.ServiceDesc for DTGameLogic service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_game_proto protoreflect.FileDescriptor
var File_gamecollection_proto protoreflect.FileDescriptor
var File_lowcode_proto protoreflect.FileDescriptor
var File_rng_proto protoreflect.FileDescriptor
var GameLogicCollection_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sgc7pb.GameLogicCollection", HandlerType: (*GameLogicCollectionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "initGame", Handler: _GameLogicCollection_InitGame_Handler, }, { MethodName: "getGameConfig", Handler: _GameLogicCollection_GetGameConfig_Handler, }, { MethodName: "initializeGamePlayer", Handler: _GameLogicCollection_InitializeGamePlayer_Handler, }, { MethodName: "playGame2", Handler: _GameLogicCollection_PlayGame2_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "playGame", Handler: _GameLogicCollection_PlayGame_Handler, ServerStreams: true, }, }, Metadata: "gamecollection.proto", }
GameLogicCollection_ServiceDesc is the grpc.ServiceDesc for GameLogicCollection service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var GameLogic_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sgc7pb.GameLogic", HandlerType: (*GameLogicServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getConfig", Handler: _GameLogic_GetConfig_Handler, }, { MethodName: "initialize", Handler: _GameLogic_Initialize_Handler, }, { MethodName: "play2", Handler: _GameLogic_Play2_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "play", Handler: _GameLogic_Play_Handler, ServerStreams: true, }, }, Metadata: "game.proto", }
GameLogic_ServiceDesc is the grpc.ServiceDesc for GameLogic service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Rng_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sgc7pb.Rng", HandlerType: (*RngServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getRngs", Handler: _Rng_GetRngs_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rng.proto", }
Rng_ServiceDesc is the grpc.ServiceDesc for Rng service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDTGameLogicServer ¶
func RegisterDTGameLogicServer(s grpc.ServiceRegistrar, srv DTGameLogicServer)
func RegisterGameLogicCollectionServer ¶ added in v0.12.57
func RegisterGameLogicCollectionServer(s grpc.ServiceRegistrar, srv GameLogicCollectionServer)
func RegisterGameLogicServer ¶ added in v0.12.57
func RegisterGameLogicServer(s grpc.ServiceRegistrar, srv GameLogicServer)
func RegisterRngServer ¶ added in v0.10.388
func RegisterRngServer(s grpc.ServiceRegistrar, srv RngServer)
Types ¶
type BasicComponentData ¶ added in v0.12.145
type BasicComponentData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` // contains filtered or unexported fields }
BasicComponentData
func (*BasicComponentData) Descriptor
deprecated
added in
v0.12.145
func (*BasicComponentData) Descriptor() ([]byte, []int)
Deprecated: Use BasicComponentData.ProtoReflect.Descriptor instead.
func (*BasicComponentData) GetBasicComponentData ¶ added in v0.12.145
func (x *BasicComponentData) GetBasicComponentData() *ComponentData
func (*BasicComponentData) ProtoMessage ¶ added in v0.12.145
func (*BasicComponentData) ProtoMessage()
func (*BasicComponentData) ProtoReflect ¶ added in v0.12.145
func (x *BasicComponentData) ProtoReflect() protoreflect.Message
func (*BasicComponentData) Reset ¶ added in v0.12.145
func (x *BasicComponentData) Reset()
func (*BasicComponentData) String ¶ added in v0.12.145
func (x *BasicComponentData) String() string
type BasicPlayerPrivateState ¶
type BasicPlayerPrivateState struct {
// contains filtered or unexported fields
}
BasicPlayerPrivateState - basic PlayerPrivateState
func (*BasicPlayerPrivateState) Descriptor
deprecated
func (*BasicPlayerPrivateState) Descriptor() ([]byte, []int)
Deprecated: Use BasicPlayerPrivateState.ProtoReflect.Descriptor instead.
func (*BasicPlayerPrivateState) ProtoMessage ¶
func (*BasicPlayerPrivateState) ProtoMessage()
func (*BasicPlayerPrivateState) ProtoReflect ¶
func (x *BasicPlayerPrivateState) ProtoReflect() protoreflect.Message
func (*BasicPlayerPrivateState) Reset ¶
func (x *BasicPlayerPrivateState) Reset()
func (*BasicPlayerPrivateState) String ¶
func (x *BasicPlayerPrivateState) String() string
type BasicPlayerPrivateState2 ¶
type BasicPlayerPrivateState2 struct { Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` // contains filtered or unexported fields }
BasicPlayerPrivateState2 - basic PlayerPrivateState
func (*BasicPlayerPrivateState2) Descriptor
deprecated
func (*BasicPlayerPrivateState2) Descriptor() ([]byte, []int)
Deprecated: Use BasicPlayerPrivateState2.ProtoReflect.Descriptor instead.
func (*BasicPlayerPrivateState2) GetJson ¶
func (x *BasicPlayerPrivateState2) GetJson() string
func (*BasicPlayerPrivateState2) ProtoMessage ¶
func (*BasicPlayerPrivateState2) ProtoMessage()
func (*BasicPlayerPrivateState2) ProtoReflect ¶
func (x *BasicPlayerPrivateState2) ProtoReflect() protoreflect.Message
func (*BasicPlayerPrivateState2) Reset ¶
func (x *BasicPlayerPrivateState2) Reset()
func (*BasicPlayerPrivateState2) String ¶
func (x *BasicPlayerPrivateState2) String() string
type BasicPlayerPublicState ¶
type BasicPlayerPublicState struct { CurGameMod string `protobuf:"bytes,1,opt,name=curGameMod,proto3" json:"curGameMod,omitempty"` NextM int32 `protobuf:"varint,2,opt,name=nextM,proto3" json:"nextM,omitempty"` // contains filtered or unexported fields }
BasicPlayerPublicState - basic PlayerPublicState
func (*BasicPlayerPublicState) Descriptor
deprecated
func (*BasicPlayerPublicState) Descriptor() ([]byte, []int)
Deprecated: Use BasicPlayerPublicState.ProtoReflect.Descriptor instead.
func (*BasicPlayerPublicState) GetCurGameMod ¶
func (x *BasicPlayerPublicState) GetCurGameMod() string
func (*BasicPlayerPublicState) GetNextM ¶
func (x *BasicPlayerPublicState) GetNextM() int32
func (*BasicPlayerPublicState) ProtoMessage ¶
func (*BasicPlayerPublicState) ProtoMessage()
func (*BasicPlayerPublicState) ProtoReflect ¶
func (x *BasicPlayerPublicState) ProtoReflect() protoreflect.Message
func (*BasicPlayerPublicState) Reset ¶
func (x *BasicPlayerPublicState) Reset()
func (*BasicPlayerPublicState) String ¶
func (x *BasicPlayerPublicState) String() string
type BasicPlayerPublicState2 ¶
type BasicPlayerPublicState2 struct { Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` // contains filtered or unexported fields }
BasicPlayerPublicState2 - basic PlayerPublicState
func (*BasicPlayerPublicState2) Descriptor
deprecated
func (*BasicPlayerPublicState2) Descriptor() ([]byte, []int)
Deprecated: Use BasicPlayerPublicState2.ProtoReflect.Descriptor instead.
func (*BasicPlayerPublicState2) GetJson ¶
func (x *BasicPlayerPublicState2) GetJson() string
func (*BasicPlayerPublicState2) ProtoMessage ¶
func (*BasicPlayerPublicState2) ProtoMessage()
func (*BasicPlayerPublicState2) ProtoReflect ¶
func (x *BasicPlayerPublicState2) ProtoReflect() protoreflect.Message
func (*BasicPlayerPublicState2) Reset ¶
func (x *BasicPlayerPublicState2) Reset()
func (*BasicPlayerPublicState2) String ¶
func (x *BasicPlayerPublicState2) String() string
type BasicWinsData ¶ added in v0.10.251
type BasicWinsData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` NextComponent string `protobuf:"bytes,2,opt,name=nextComponent,proto3" json:"nextComponent,omitempty"` // contains filtered or unexported fields }
BasicWinsData
func (*BasicWinsData) Descriptor
deprecated
added in
v0.10.251
func (*BasicWinsData) Descriptor() ([]byte, []int)
Deprecated: Use BasicWinsData.ProtoReflect.Descriptor instead.
func (*BasicWinsData) GetBasicComponentData ¶ added in v0.10.251
func (x *BasicWinsData) GetBasicComponentData() *ComponentData
func (*BasicWinsData) GetNextComponent ¶ added in v0.10.251
func (x *BasicWinsData) GetNextComponent() string
func (*BasicWinsData) ProtoMessage ¶ added in v0.10.251
func (*BasicWinsData) ProtoMessage()
func (*BasicWinsData) ProtoReflect ¶ added in v0.10.251
func (x *BasicWinsData) ProtoReflect() protoreflect.Message
func (*BasicWinsData) Reset ¶ added in v0.10.251
func (x *BasicWinsData) Reset()
func (*BasicWinsData) String ¶ added in v0.10.251
func (x *BasicWinsData) String() string
type BookOf2Data ¶ added in v0.12.145
type BookOf2Data struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` Symbols []int32 `protobuf:"varint,2,rep,packed,name=symbols,proto3" json:"symbols,omitempty"` // contains filtered or unexported fields }
BookOf2Data
func (*BookOf2Data) Descriptor
deprecated
added in
v0.12.145
func (*BookOf2Data) Descriptor() ([]byte, []int)
Deprecated: Use BookOf2Data.ProtoReflect.Descriptor instead.
func (*BookOf2Data) GetBasicComponentData ¶ added in v0.12.145
func (x *BookOf2Data) GetBasicComponentData() *ComponentData
func (*BookOf2Data) GetSymbols ¶ added in v0.12.145
func (x *BookOf2Data) GetSymbols() []int32
func (*BookOf2Data) ProtoMessage ¶ added in v0.12.145
func (*BookOf2Data) ProtoMessage()
func (*BookOf2Data) ProtoReflect ¶ added in v0.12.145
func (x *BookOf2Data) ProtoReflect() protoreflect.Message
func (*BookOf2Data) Reset ¶ added in v0.12.145
func (x *BookOf2Data) Reset()
func (*BookOf2Data) String ¶ added in v0.12.145
func (x *BookOf2Data) String() string
type BookOfData ¶
type BookOfData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` Symbols []int32 `protobuf:"varint,2,rep,packed,name=symbols,proto3" json:"symbols,omitempty"` // contains filtered or unexported fields }
BookOfData
func (*BookOfData) Descriptor
deprecated
func (*BookOfData) Descriptor() ([]byte, []int)
Deprecated: Use BookOfData.ProtoReflect.Descriptor instead.
func (*BookOfData) GetBasicComponentData ¶
func (x *BookOfData) GetBasicComponentData() *ComponentData
func (*BookOfData) GetSymbols ¶
func (x *BookOfData) GetSymbols() []int32
func (*BookOfData) ProtoMessage ¶
func (*BookOfData) ProtoMessage()
func (*BookOfData) ProtoReflect ¶
func (x *BookOfData) ProtoReflect() protoreflect.Message
func (*BookOfData) Reset ¶
func (x *BookOfData) Reset()
func (*BookOfData) String ¶
func (x *BookOfData) String() string
type CollectorData ¶
type CollectorData struct { Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` NewCollector int32 `protobuf:"varint,2,opt,name=newCollector,proto3" json:"newCollector,omitempty"` // contains filtered or unexported fields }
CollectorData
func (*CollectorData) Descriptor
deprecated
func (*CollectorData) Descriptor() ([]byte, []int)
Deprecated: Use CollectorData.ProtoReflect.Descriptor instead.
func (*CollectorData) GetNewCollector ¶
func (x *CollectorData) GetNewCollector() int32
func (*CollectorData) GetVal ¶
func (x *CollectorData) GetVal() int32
func (*CollectorData) ProtoMessage ¶
func (*CollectorData) ProtoMessage()
func (*CollectorData) ProtoReflect ¶
func (x *CollectorData) ProtoReflect() protoreflect.Message
func (*CollectorData) Reset ¶
func (x *CollectorData) Reset()
func (*CollectorData) String ¶
func (x *CollectorData) String() string
type Column ¶
type Column struct { Values []int32 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
Column
func (*Column) Descriptor
deprecated
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶
func (x *Column) ProtoReflect() protoreflect.Message
type ComponentData ¶
type ComponentData struct { UsedScenes []int32 `protobuf:"varint,1,rep,packed,name=usedScenes,proto3" json:"usedScenes,omitempty"` UsedOtherScenes []int32 `protobuf:"varint,2,rep,packed,name=usedOtherScenes,proto3" json:"usedOtherScenes,omitempty"` UsedResults []int32 `protobuf:"varint,3,rep,packed,name=usedResults,proto3" json:"usedResults,omitempty"` UsedPrizeScenes []int32 `protobuf:"varint,4,rep,packed,name=usedPrizeScenes,proto3" json:"usedPrizeScenes,omitempty"` CoinWin int32 `protobuf:"varint,5,opt,name=coinWin,proto3" json:"coinWin,omitempty"` CashWin int64 `protobuf:"varint,6,opt,name=cashWin,proto3" json:"cashWin,omitempty"` TargetScene int32 `protobuf:"varint,8,opt,name=targetScene,proto3" json:"targetScene,omitempty"` RunIndex int32 `protobuf:"varint,9,opt,name=runIndex,proto3" json:"runIndex,omitempty"` // contains filtered or unexported fields }
ComponentData
func (*ComponentData) Descriptor
deprecated
func (*ComponentData) Descriptor() ([]byte, []int)
Deprecated: Use ComponentData.ProtoReflect.Descriptor instead.
func (*ComponentData) GetCashWin ¶
func (x *ComponentData) GetCashWin() int64
func (*ComponentData) GetCoinWin ¶
func (x *ComponentData) GetCoinWin() int32
func (*ComponentData) GetRunIndex ¶
func (x *ComponentData) GetRunIndex() int32
func (*ComponentData) GetTargetScene ¶
func (x *ComponentData) GetTargetScene() int32
func (*ComponentData) GetUsedOtherScenes ¶
func (x *ComponentData) GetUsedOtherScenes() []int32
func (*ComponentData) GetUsedPrizeScenes ¶
func (x *ComponentData) GetUsedPrizeScenes() []int32
func (*ComponentData) GetUsedResults ¶
func (x *ComponentData) GetUsedResults() []int32
func (*ComponentData) GetUsedScenes ¶
func (x *ComponentData) GetUsedScenes() []int32
func (*ComponentData) ProtoMessage ¶
func (*ComponentData) ProtoMessage()
func (*ComponentData) ProtoReflect ¶
func (x *ComponentData) ProtoReflect() protoreflect.Message
func (*ComponentData) Reset ¶
func (x *ComponentData) Reset()
func (*ComponentData) String ¶
func (x *ComponentData) String() string
type DTGameLogicClient ¶
type DTGameLogicClient interface { // getConfig - get config GetConfig(ctx context.Context, in *RequestConfig, opts ...grpc.CallOption) (*GameConfig, error) // initialize - initialize a player Initialize(ctx context.Context, in *RequestInitialize, opts ...grpc.CallOption) (*PlayerState, error) // play - play game Play(ctx context.Context, in *RequestPlay, opts ...grpc.CallOption) (DTGameLogic_PlayClient, error) // play2 - play game v2 Play2(ctx context.Context, in *RequestPlay, opts ...grpc.CallOption) (*ReplyPlay, error) }
DTGameLogicClient is the client API for DTGameLogic service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDTGameLogicClient ¶
func NewDTGameLogicClient(cc grpc.ClientConnInterface) DTGameLogicClient
type DTGameLogicServer ¶
type DTGameLogicServer interface { // getConfig - get config GetConfig(context.Context, *RequestConfig) (*GameConfig, error) // initialize - initialize a player Initialize(context.Context, *RequestInitialize) (*PlayerState, error) // play - play game Play(*RequestPlay, DTGameLogic_PlayServer) error // play2 - play game v2 Play2(context.Context, *RequestPlay) (*ReplyPlay, error) // contains filtered or unexported methods }
DTGameLogicServer is the server API for DTGameLogic service. All implementations must embed UnimplementedDTGameLogicServer for forward compatibility
type DTGameLogic_PlayClient ¶
type DTGameLogic_PlayClient interface { Recv() (*ReplyPlay, error) grpc.ClientStream }
type DTGameLogic_PlayServer ¶
type DTGameLogic_PlayServer interface { Send(*ReplyPlay) error grpc.ServerStream }
type GameConfig ¶
type GameConfig struct { Lines *LinesData `protobuf:"bytes,1,opt,name=lines,proto3" json:"lines,omitempty"` Reels map[string]*ReelsData `` /* 151-byte string literal not displayed */ PayTables map[int32]*Row `` /* 160-byte string literal not displayed */ Width int32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Ver string `protobuf:"bytes,6,opt,name=ver,proto3" json:"ver,omitempty"` CoreVer string `protobuf:"bytes,7,opt,name=coreVer,proto3" json:"coreVer,omitempty"` DefaultScene *GameScene `protobuf:"bytes,8,opt,name=defaultScene,proto3" json:"defaultScene,omitempty"` DefaultScene2 []*GameScene `protobuf:"bytes,9,rep,name=defaultScene2,proto3" json:"defaultScene2,omitempty"` BetMuls []int32 `protobuf:"varint,10,rep,packed,name=betMuls,proto3" json:"betMuls,omitempty"` Data string `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
GameConfig
func (*GameConfig) Descriptor
deprecated
func (*GameConfig) Descriptor() ([]byte, []int)
Deprecated: Use GameConfig.ProtoReflect.Descriptor instead.
func (*GameConfig) GetBetMuls ¶
func (x *GameConfig) GetBetMuls() []int32
func (*GameConfig) GetCoreVer ¶
func (x *GameConfig) GetCoreVer() string
func (*GameConfig) GetData ¶ added in v0.12.61
func (x *GameConfig) GetData() string
func (*GameConfig) GetDefaultScene ¶
func (x *GameConfig) GetDefaultScene() *GameScene
func (*GameConfig) GetDefaultScene2 ¶
func (x *GameConfig) GetDefaultScene2() []*GameScene
func (*GameConfig) GetHeight ¶
func (x *GameConfig) GetHeight() int32
func (*GameConfig) GetLines ¶
func (x *GameConfig) GetLines() *LinesData
func (*GameConfig) GetPayTables ¶
func (x *GameConfig) GetPayTables() map[int32]*Row
func (*GameConfig) GetReels ¶
func (x *GameConfig) GetReels() map[string]*ReelsData
func (*GameConfig) GetVer ¶
func (x *GameConfig) GetVer() string
func (*GameConfig) GetWidth ¶
func (x *GameConfig) GetWidth() int32
func (*GameConfig) ProtoMessage ¶
func (*GameConfig) ProtoMessage()
func (*GameConfig) ProtoReflect ¶
func (x *GameConfig) ProtoReflect() protoreflect.Message
func (*GameConfig) Reset ¶
func (x *GameConfig) Reset()
func (*GameConfig) String ¶
func (x *GameConfig) String() string
type GameLogicClient ¶ added in v0.12.57
type GameLogicClient interface { // getConfig - get config GetConfig(ctx context.Context, in *RequestConfig, opts ...grpc.CallOption) (*GameConfig, error) // initialize - initialize a player Initialize(ctx context.Context, in *RequestInitialize, opts ...grpc.CallOption) (*PlayerState, error) // play - play game Play(ctx context.Context, in *RequestPlay, opts ...grpc.CallOption) (GameLogic_PlayClient, error) // play2 - play game v2 Play2(ctx context.Context, in *RequestPlay, opts ...grpc.CallOption) (*ReplyPlay, error) }
GameLogicClient is the client API for GameLogic service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGameLogicClient ¶ added in v0.12.57
func NewGameLogicClient(cc grpc.ClientConnInterface) GameLogicClient
type GameLogicCollectionClient ¶ added in v0.12.57
type GameLogicCollectionClient interface { // initGame - initial game InitGame(ctx context.Context, in *RequestInitGame, opts ...grpc.CallOption) (*ReplyInitGame, error) // getGameConfig - get game config GetGameConfig(ctx context.Context, in *RequestGameConfig, opts ...grpc.CallOption) (*ReplyGameConfig, error) // initializeGamePlayer - initialize a game player InitializeGamePlayer(ctx context.Context, in *RequestInitializeGamePlayer, opts ...grpc.CallOption) (*ReplyInitializeGamePlayer, error) // playGame - play game PlayGame(ctx context.Context, in *RequestPlayGame, opts ...grpc.CallOption) (GameLogicCollection_PlayGameClient, error) // playGame2 - play game v2 PlayGame2(ctx context.Context, in *RequestPlayGame, opts ...grpc.CallOption) (*ReplyPlayGame, error) }
GameLogicCollectionClient is the client API for GameLogicCollection service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGameLogicCollectionClient ¶ added in v0.12.57
func NewGameLogicCollectionClient(cc grpc.ClientConnInterface) GameLogicCollectionClient
type GameLogicCollectionServer ¶ added in v0.12.57
type GameLogicCollectionServer interface { // initGame - initial game InitGame(context.Context, *RequestInitGame) (*ReplyInitGame, error) // getGameConfig - get game config GetGameConfig(context.Context, *RequestGameConfig) (*ReplyGameConfig, error) // initializeGamePlayer - initialize a game player InitializeGamePlayer(context.Context, *RequestInitializeGamePlayer) (*ReplyInitializeGamePlayer, error) // playGame - play game PlayGame(*RequestPlayGame, GameLogicCollection_PlayGameServer) error // playGame2 - play game v2 PlayGame2(context.Context, *RequestPlayGame) (*ReplyPlayGame, error) // contains filtered or unexported methods }
GameLogicCollectionServer is the server API for GameLogicCollection service. All implementations must embed UnimplementedGameLogicCollectionServer for forward compatibility
type GameLogicCollection_PlayGameClient ¶ added in v0.12.57
type GameLogicCollection_PlayGameClient interface { Recv() (*ReplyPlayGame, error) grpc.ClientStream }
type GameLogicCollection_PlayGameServer ¶ added in v0.12.57
type GameLogicCollection_PlayGameServer interface { Send(*ReplyPlayGame) error grpc.ServerStream }
type GameLogicServer ¶ added in v0.12.57
type GameLogicServer interface { // getConfig - get config GetConfig(context.Context, *RequestConfig) (*GameConfig, error) // initialize - initialize a player Initialize(context.Context, *RequestInitialize) (*PlayerState, error) // play - play game Play(*RequestPlay, GameLogic_PlayServer) error // play2 - play game v2 Play2(context.Context, *RequestPlay) (*ReplyPlay, error) // contains filtered or unexported methods }
GameLogicServer is the server API for GameLogic service. All implementations must embed UnimplementedGameLogicServer for forward compatibility
type GameLogic_PlayClient ¶ added in v0.12.57
type GameLogic_PlayClient interface { Recv() (*ReplyPlay, error) grpc.ClientStream }
type GameLogic_PlayServer ¶ added in v0.12.57
type GameLogic_PlayServer interface { Send(*ReplyPlay) error grpc.ServerStream }
type GameParam ¶
type GameParam struct { FirstComponent string `protobuf:"bytes,1,opt,name=firstComponent,proto3" json:"firstComponent,omitempty"` NextStepFirstComponent string `protobuf:"bytes,2,opt,name=nextStepFirstComponent,proto3" json:"nextStepFirstComponent,omitempty"` MapComponents map[string]*any1.Any `` /* 167-byte string literal not displayed */ HistoryComponents []string `protobuf:"bytes,4,rep,name=historyComponents,proto3" json:"historyComponents,omitempty"` RespinComponents []string `protobuf:"bytes,5,rep,name=respinComponents,proto3" json:"respinComponents,omitempty"` MapVals map[int32]int32 `` /* 157-byte string literal not displayed */ MapStrVals map[string]int32 `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
GameParam
func (*GameParam) Descriptor
deprecated
func (*GameParam) GetFirstComponent ¶
func (*GameParam) GetHistoryComponents ¶ added in v0.10.285
func (*GameParam) GetMapStrVals ¶ added in v0.12.16
func (*GameParam) GetMapVals ¶ added in v0.12.16
func (*GameParam) GetNextStepFirstComponent ¶
func (*GameParam) GetRespinComponents ¶ added in v0.10.285
func (*GameParam) ProtoMessage ¶
func (*GameParam) ProtoMessage()
func (*GameParam) ProtoReflect ¶
func (x *GameParam) ProtoReflect() protoreflect.Message
type GameResult ¶
type GameResult struct { CoinWin int64 `protobuf:"varint,1,opt,name=coinWin,proto3" json:"coinWin,omitempty"` // 线注的倍数 CashWin int64 `protobuf:"varint,2,opt,name=cashWin,proto3" json:"cashWin,omitempty"` // 实际的赢得 ClientData *PlayResult `protobuf:"bytes,3,opt,name=clientData,proto3" json:"clientData,omitempty"` // 局面数据 // contains filtered or unexported fields }
GameResult - game result
每个game round的结算数据
func (*GameResult) Descriptor
deprecated
func (*GameResult) Descriptor() ([]byte, []int)
Deprecated: Use GameResult.ProtoReflect.Descriptor instead.
func (*GameResult) GetCashWin ¶
func (x *GameResult) GetCashWin() int64
func (*GameResult) GetClientData ¶
func (x *GameResult) GetClientData() *PlayResult
func (*GameResult) GetCoinWin ¶
func (x *GameResult) GetCoinWin() int64
func (*GameResult) ProtoMessage ¶
func (*GameResult) ProtoMessage()
func (*GameResult) ProtoReflect ¶
func (x *GameResult) ProtoReflect() protoreflect.Message
func (*GameResult) Reset ¶
func (x *GameResult) Reset()
func (*GameResult) String ¶
func (x *GameResult) String() string
type GameScene ¶
type GameScene struct { Values []*Column `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // 列 Indexes []int32 `protobuf:"varint,2,rep,packed,name=indexes,proto3" json:"indexes,omitempty"` // 轮子索引 ValidRow []int32 `protobuf:"varint,3,rep,packed,name=validRow,proto3" json:"validRow,omitempty"` // 有效的行 // contains filtered or unexported fields }
GameScene
func (*GameScene) Descriptor
deprecated
func (*GameScene) GetIndexes ¶
func (*GameScene) GetValidRow ¶
func (*GameScene) ProtoMessage ¶
func (*GameScene) ProtoMessage()
func (*GameScene) ProtoReflect ¶
func (x *GameScene) ProtoReflect() protoreflect.Message
type GameScenePlayResult ¶
type GameScenePlayResult struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // 类型,譬如是线、scatter、还是全线等 LineIndex int32 `protobuf:"varint,2,opt,name=lineIndex,proto3" json:"lineIndex,omitempty"` // 如果是类型是线,这就是线的索引 Symbol int32 `protobuf:"varint,3,opt,name=symbol,proto3" json:"symbol,omitempty"` // 中奖符号 Mul int32 `protobuf:"varint,4,opt,name=mul,proto3" json:"mul,omitempty"` // 中奖符号的基本赔付,paytables里读取 CoinWin int32 `protobuf:"varint,5,opt,name=coinWin,proto3" json:"coinWin,omitempty"` // 线注的倍数 CashWin int32 `protobuf:"varint,6,opt,name=cashWin,proto3" json:"cashWin,omitempty"` // 实际的赔付 Pos []int32 `protobuf:"varint,7,rep,packed,name=pos,proto3" json:"pos,omitempty"` // 中奖图标的坐标,[x0,y0,x1,y1,x2,y2]这样的 OtherMul int32 `protobuf:"varint,8,opt,name=otherMul,proto3" json:"otherMul,omitempty"` // 其它的赔付倍数,譬如一些规则会有其它的翻倍赔付等 Wilds int32 `protobuf:"varint,9,opt,name=wilds,proto3" json:"wilds,omitempty"` // wilds的数量,某些情况下用来特殊赔付 SymbolNums int32 `protobuf:"varint,10,opt,name=symbolNums,proto3" json:"symbolNums,omitempty"` // 赔付的符号数量 Value int32 `protobuf:"varint,11,opt,name=value,proto3" json:"value,omitempty"` // 如果是奖励FreeSpin,这里是次数 // contains filtered or unexported fields }
GameScenePlayResult - result for slots game
func (*GameScenePlayResult) Descriptor
deprecated
func (*GameScenePlayResult) Descriptor() ([]byte, []int)
Deprecated: Use GameScenePlayResult.ProtoReflect.Descriptor instead.
func (*GameScenePlayResult) GetCashWin ¶
func (x *GameScenePlayResult) GetCashWin() int32
func (*GameScenePlayResult) GetCoinWin ¶
func (x *GameScenePlayResult) GetCoinWin() int32
func (*GameScenePlayResult) GetLineIndex ¶
func (x *GameScenePlayResult) GetLineIndex() int32
func (*GameScenePlayResult) GetMul ¶
func (x *GameScenePlayResult) GetMul() int32
func (*GameScenePlayResult) GetOtherMul ¶
func (x *GameScenePlayResult) GetOtherMul() int32
func (*GameScenePlayResult) GetPos ¶
func (x *GameScenePlayResult) GetPos() []int32
func (*GameScenePlayResult) GetSymbol ¶
func (x *GameScenePlayResult) GetSymbol() int32
func (*GameScenePlayResult) GetSymbolNums ¶
func (x *GameScenePlayResult) GetSymbolNums() int32
func (*GameScenePlayResult) GetType ¶
func (x *GameScenePlayResult) GetType() int32
func (*GameScenePlayResult) GetValue ¶ added in v0.12.10
func (x *GameScenePlayResult) GetValue() int32
func (*GameScenePlayResult) GetWilds ¶
func (x *GameScenePlayResult) GetWilds() int32
func (*GameScenePlayResult) ProtoMessage ¶
func (*GameScenePlayResult) ProtoMessage()
func (*GameScenePlayResult) ProtoReflect ¶
func (x *GameScenePlayResult) ProtoReflect() protoreflect.Message
func (*GameScenePlayResult) Reset ¶
func (x *GameScenePlayResult) Reset()
func (*GameScenePlayResult) String ¶
func (x *GameScenePlayResult) String() string
type LightningData ¶
type LightningData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` Collector int32 `protobuf:"varint,2,opt,name=collector,proto3" json:"collector,omitempty"` Val int32 `protobuf:"varint,3,opt,name=val,proto3" json:"val,omitempty"` Mul int32 `protobuf:"varint,4,opt,name=mul,proto3" json:"mul,omitempty"` NewConnector int32 `protobuf:"varint,5,opt,name=newConnector,proto3" json:"newConnector,omitempty"` // contains filtered or unexported fields }
LightningData
func (*LightningData) Descriptor
deprecated
func (*LightningData) Descriptor() ([]byte, []int)
Deprecated: Use LightningData.ProtoReflect.Descriptor instead.
func (*LightningData) GetBasicComponentData ¶
func (x *LightningData) GetBasicComponentData() *ComponentData
func (*LightningData) GetCollector ¶
func (x *LightningData) GetCollector() int32
func (*LightningData) GetMul ¶
func (x *LightningData) GetMul() int32
func (*LightningData) GetNewConnector ¶
func (x *LightningData) GetNewConnector() int32
func (*LightningData) GetVal ¶
func (x *LightningData) GetVal() int32
func (*LightningData) ProtoMessage ¶
func (*LightningData) ProtoMessage()
func (*LightningData) ProtoReflect ¶
func (x *LightningData) ProtoReflect() protoreflect.Message
func (*LightningData) Reset ¶
func (x *LightningData) Reset()
func (*LightningData) String ¶
func (x *LightningData) String() string
type LinesData ¶
type LinesData struct { Lines []*Row `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"` // contains filtered or unexported fields }
LinesData
func (*LinesData) Descriptor
deprecated
func (*LinesData) ProtoMessage ¶
func (*LinesData) ProtoMessage()
func (*LinesData) ProtoReflect ¶
func (x *LinesData) ProtoReflect() protoreflect.Message
type MaskData ¶ added in v0.10.285
type MaskData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` Num int32 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` Vals []bool `protobuf:"varint,3,rep,packed,name=vals,proto3" json:"vals,omitempty"` NewChged int32 `protobuf:"varint,4,opt,name=newChged,proto3" json:"newChged,omitempty"` NewVals []bool `protobuf:"varint,5,rep,packed,name=newVals,proto3" json:"newVals,omitempty"` // contains filtered or unexported fields }
MaskData
func (*MaskData) Descriptor
deprecated
added in
v0.10.285
func (*MaskData) GetBasicComponentData ¶ added in v0.10.285
func (x *MaskData) GetBasicComponentData() *ComponentData
func (*MaskData) GetNewChged ¶ added in v0.10.285
func (*MaskData) GetNewVals ¶ added in v0.10.285
func (*MaskData) ProtoMessage ¶ added in v0.10.285
func (*MaskData) ProtoMessage()
func (*MaskData) ProtoReflect ¶ added in v0.10.285
func (x *MaskData) ProtoReflect() protoreflect.Message
type MultiLevelMysteryData ¶
type MultiLevelMysteryData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` CurLevel int32 `protobuf:"varint,3,opt,name=curLevel,proto3" json:"curLevel,omitempty"` CurMysteryCode int32 `protobuf:"varint,4,opt,name=curMysteryCode,proto3" json:"curMysteryCode,omitempty"` // contains filtered or unexported fields }
MultiLevelMysteryData
func (*MultiLevelMysteryData) Descriptor
deprecated
func (*MultiLevelMysteryData) Descriptor() ([]byte, []int)
Deprecated: Use MultiLevelMysteryData.ProtoReflect.Descriptor instead.
func (*MultiLevelMysteryData) GetBasicComponentData ¶
func (x *MultiLevelMysteryData) GetBasicComponentData() *ComponentData
func (*MultiLevelMysteryData) GetCurLevel ¶
func (x *MultiLevelMysteryData) GetCurLevel() int32
func (*MultiLevelMysteryData) GetCurMysteryCode ¶
func (x *MultiLevelMysteryData) GetCurMysteryCode() int32
func (*MultiLevelMysteryData) ProtoMessage ¶
func (*MultiLevelMysteryData) ProtoMessage()
func (*MultiLevelMysteryData) ProtoReflect ¶
func (x *MultiLevelMysteryData) ProtoReflect() protoreflect.Message
func (*MultiLevelMysteryData) Reset ¶
func (x *MultiLevelMysteryData) Reset()
func (*MultiLevelMysteryData) String ¶
func (x *MultiLevelMysteryData) String() string
type MultiLevelReelsData ¶
type MultiLevelReelsData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` CurLevel int32 `protobuf:"varint,3,opt,name=curLevel,proto3" json:"curLevel,omitempty"` // contains filtered or unexported fields }
MultiLevelReelsData
func (*MultiLevelReelsData) Descriptor
deprecated
func (*MultiLevelReelsData) Descriptor() ([]byte, []int)
Deprecated: Use MultiLevelReelsData.ProtoReflect.Descriptor instead.
func (*MultiLevelReelsData) GetBasicComponentData ¶
func (x *MultiLevelReelsData) GetBasicComponentData() *ComponentData
func (*MultiLevelReelsData) GetCurLevel ¶
func (x *MultiLevelReelsData) GetCurLevel() int32
func (*MultiLevelReelsData) ProtoMessage ¶
func (*MultiLevelReelsData) ProtoMessage()
func (*MultiLevelReelsData) ProtoReflect ¶
func (x *MultiLevelReelsData) ProtoReflect() protoreflect.Message
func (*MultiLevelReelsData) Reset ¶
func (x *MultiLevelReelsData) Reset()
func (*MultiLevelReelsData) String ¶
func (x *MultiLevelReelsData) String() string
type MultiLevelReplaceReelData ¶ added in v0.10.308
type MultiLevelReplaceReelData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` CurLevel int32 `protobuf:"varint,3,opt,name=curLevel,proto3" json:"curLevel,omitempty"` // contains filtered or unexported fields }
MultiLevelReplaceReelData
func (*MultiLevelReplaceReelData) Descriptor
deprecated
added in
v0.10.308
func (*MultiLevelReplaceReelData) Descriptor() ([]byte, []int)
Deprecated: Use MultiLevelReplaceReelData.ProtoReflect.Descriptor instead.
func (*MultiLevelReplaceReelData) GetBasicComponentData ¶ added in v0.10.308
func (x *MultiLevelReplaceReelData) GetBasicComponentData() *ComponentData
func (*MultiLevelReplaceReelData) GetCurLevel ¶ added in v0.10.308
func (x *MultiLevelReplaceReelData) GetCurLevel() int32
func (*MultiLevelReplaceReelData) ProtoMessage ¶ added in v0.10.308
func (*MultiLevelReplaceReelData) ProtoMessage()
func (*MultiLevelReplaceReelData) ProtoReflect ¶ added in v0.10.308
func (x *MultiLevelReplaceReelData) ProtoReflect() protoreflect.Message
func (*MultiLevelReplaceReelData) Reset ¶ added in v0.10.308
func (x *MultiLevelReplaceReelData) Reset()
func (*MultiLevelReplaceReelData) String ¶ added in v0.10.308
func (x *MultiLevelReplaceReelData) String() string
type MultiWeightAwardsData ¶ added in v0.12.170
type MultiWeightAwardsData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` HasGot []bool `protobuf:"varint,2,rep,packed,name=HasGot,proto3" json:"HasGot,omitempty"` // contains filtered or unexported fields }
MultiWeightAwardsData
func (*MultiWeightAwardsData) Descriptor
deprecated
added in
v0.12.170
func (*MultiWeightAwardsData) Descriptor() ([]byte, []int)
Deprecated: Use MultiWeightAwardsData.ProtoReflect.Descriptor instead.
func (*MultiWeightAwardsData) GetBasicComponentData ¶ added in v0.12.170
func (x *MultiWeightAwardsData) GetBasicComponentData() *ComponentData
func (*MultiWeightAwardsData) GetHasGot ¶ added in v0.12.170
func (x *MultiWeightAwardsData) GetHasGot() []bool
func (*MultiWeightAwardsData) ProtoMessage ¶ added in v0.12.170
func (*MultiWeightAwardsData) ProtoMessage()
func (*MultiWeightAwardsData) ProtoReflect ¶ added in v0.12.170
func (x *MultiWeightAwardsData) ProtoReflect() protoreflect.Message
func (*MultiWeightAwardsData) Reset ¶ added in v0.12.170
func (x *MultiWeightAwardsData) Reset()
func (*MultiWeightAwardsData) String ¶ added in v0.12.170
func (x *MultiWeightAwardsData) String() string
type MysteryData ¶
type MysteryData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` CurMysteryCode int32 `protobuf:"varint,2,opt,name=curMysteryCode,proto3" json:"curMysteryCode,omitempty"` // contains filtered or unexported fields }
MysteryData
func (*MysteryData) Descriptor
deprecated
func (*MysteryData) Descriptor() ([]byte, []int)
Deprecated: Use MysteryData.ProtoReflect.Descriptor instead.
func (*MysteryData) GetBasicComponentData ¶
func (x *MysteryData) GetBasicComponentData() *ComponentData
func (*MysteryData) GetCurMysteryCode ¶
func (x *MysteryData) GetCurMysteryCode() int32
func (*MysteryData) ProtoMessage ¶
func (*MysteryData) ProtoMessage()
func (*MysteryData) ProtoReflect ¶
func (x *MysteryData) ProtoReflect() protoreflect.Message
func (*MysteryData) Reset ¶
func (x *MysteryData) Reset()
func (*MysteryData) String ¶
func (x *MysteryData) String() string
type OverlaySymbolData ¶
type OverlaySymbolData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` CurLevel int32 `protobuf:"varint,2,opt,name=curLevel,proto3" json:"curLevel,omitempty"` // contains filtered or unexported fields }
OverlaySymbolData
func (*OverlaySymbolData) Descriptor
deprecated
func (*OverlaySymbolData) Descriptor() ([]byte, []int)
Deprecated: Use OverlaySymbolData.ProtoReflect.Descriptor instead.
func (*OverlaySymbolData) GetBasicComponentData ¶
func (x *OverlaySymbolData) GetBasicComponentData() *ComponentData
func (*OverlaySymbolData) GetCurLevel ¶
func (x *OverlaySymbolData) GetCurLevel() int32
func (*OverlaySymbolData) ProtoMessage ¶
func (*OverlaySymbolData) ProtoMessage()
func (*OverlaySymbolData) ProtoReflect ¶
func (x *OverlaySymbolData) ProtoReflect() protoreflect.Message
func (*OverlaySymbolData) Reset ¶
func (x *OverlaySymbolData) Reset()
func (*OverlaySymbolData) String ¶
func (x *OverlaySymbolData) String() string
type PlayResult ¶
type PlayResult struct { CurGameMod string `protobuf:"bytes,1,opt,name=curGameMod,proto3" json:"curGameMod,omitempty"` // 当前游戏模块,一般是 bg、fg 等等 CurGameModParam *any1.Any `protobuf:"bytes,2,opt,name=curGameModParam,proto3" json:"curGameModParam,omitempty"` // 这个是游戏参数,每个游戏不一样,保存不同游戏的特殊数据 NextGameMod string `protobuf:"bytes,3,opt,name=nextGameMod,proto3" json:"nextGameMod,omitempty"` // 下一个 game round 是什么模块,可能是 bg、fg 等等 Scenes []*GameScene `protobuf:"bytes,4,rep,name=scenes,proto3" json:"scenes,omitempty"` // 游戏场景列表,如果中间可能出现场景变化,譬如符号变wild==,这里就会有多个场景,赔付始终用最后一个场景 OtherScenes []*GameScene `protobuf:"bytes,5,rep,name=otherScenes,proto3" json:"otherScenes,omitempty"` // 轮子以外的场景数据,这个用法会根据游戏有差别,譬如每个格子上需要有单独的奖励,就会放这里 Results []*GameScenePlayResult `protobuf:"bytes,6,rep,name=results,proto3" json:"results,omitempty"` // 中奖的结算列表 MulPos []int32 `protobuf:"varint,7,rep,packed,name=mulPos,proto3" json:"mulPos,omitempty"` // 倍数位置队列,类似[x0,y0,mul0,x1,y1,mul1] CurIndex int32 `protobuf:"varint,8,opt,name=curIndex,proto3" json:"curIndex,omitempty"` // 当前局面索引,因为游戏逻辑服不保存状态,所以每次从0开始 ParentIndex int32 `protobuf:"varint,9,opt,name=parentIndex,proto3" json:"parentIndex,omitempty"` // 产生当前局面的索引 ModType string `protobuf:"bytes,10,opt,name=modType,proto3" json:"modType,omitempty"` // 当前局面模式类型,bg、fg、respin、bonus、jackpot 等等 PrizeScenes []*GameScene `protobuf:"bytes,11,rep,name=prizeScenes,proto3" json:"prizeScenes,omitempty"` // 场景奖励数据,线注的倍数 PrizeCoinWin int64 `protobuf:"varint,12,opt,name=prizeCoinWin,proto3" json:"prizeCoinWin,omitempty"` // 如果有额外的奖励数据,这里是额外奖励的汇总,单位是coin,也就是线注的倍数 PrizeCashWin int64 `protobuf:"varint,13,opt,name=prizeCashWin,proto3" json:"prizeCashWin,omitempty"` // 如果有额外的奖励数据,这里是额外奖励的汇总,单位是货币单位,也就是实际的赢得 JackpotCoinWin int64 `protobuf:"varint,14,opt,name=jackpotCoinWin,proto3" json:"jackpotCoinWin,omitempty"` // 如果有游戏自身的jackpot奖励数据,这里是jackpot奖励的汇总,单位是coin,也就是线注的倍数 JackpotCashWin int64 `protobuf:"varint,15,opt,name=jackpotCashWin,proto3" json:"jackpotCashWin,omitempty"` // 如果有游戏自身的jackpot奖励数据,这里是jackpot奖励的汇总,单位是货币单位,也就是实际的赢得 JackpotType int32 `protobuf:"varint,16,opt,name=jackpotType,proto3" json:"jackpotType,omitempty"` // jackpot类型 // contains filtered or unexported fields }
PlayResult - result for play
func (*PlayResult) Descriptor
deprecated
func (*PlayResult) Descriptor() ([]byte, []int)
Deprecated: Use PlayResult.ProtoReflect.Descriptor instead.
func (*PlayResult) GetCurGameMod ¶
func (x *PlayResult) GetCurGameMod() string
func (*PlayResult) GetCurGameModParam ¶
func (x *PlayResult) GetCurGameModParam() *any1.Any
func (*PlayResult) GetCurIndex ¶
func (x *PlayResult) GetCurIndex() int32
func (*PlayResult) GetJackpotCashWin ¶
func (x *PlayResult) GetJackpotCashWin() int64
func (*PlayResult) GetJackpotCoinWin ¶
func (x *PlayResult) GetJackpotCoinWin() int64
func (*PlayResult) GetJackpotType ¶
func (x *PlayResult) GetJackpotType() int32
func (*PlayResult) GetModType ¶
func (x *PlayResult) GetModType() string
func (*PlayResult) GetMulPos ¶
func (x *PlayResult) GetMulPos() []int32
func (*PlayResult) GetNextGameMod ¶
func (x *PlayResult) GetNextGameMod() string
func (*PlayResult) GetOtherScenes ¶
func (x *PlayResult) GetOtherScenes() []*GameScene
func (*PlayResult) GetParentIndex ¶
func (x *PlayResult) GetParentIndex() int32
func (*PlayResult) GetPrizeCashWin ¶
func (x *PlayResult) GetPrizeCashWin() int64
func (*PlayResult) GetPrizeCoinWin ¶
func (x *PlayResult) GetPrizeCoinWin() int64
func (*PlayResult) GetPrizeScenes ¶
func (x *PlayResult) GetPrizeScenes() []*GameScene
func (*PlayResult) GetResults ¶
func (x *PlayResult) GetResults() []*GameScenePlayResult
func (*PlayResult) GetScenes ¶
func (x *PlayResult) GetScenes() []*GameScene
func (*PlayResult) ProtoMessage ¶
func (*PlayResult) ProtoMessage()
func (*PlayResult) ProtoReflect ¶
func (x *PlayResult) ProtoReflect() protoreflect.Message
func (*PlayResult) Reset ¶
func (x *PlayResult) Reset()
func (*PlayResult) String ¶
func (x *PlayResult) String() string
type PlayerState ¶
type PlayerState struct { Public *any1.Any `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"` Private *any1.Any `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
PlayerState
func (*PlayerState) Descriptor
deprecated
func (*PlayerState) Descriptor() ([]byte, []int)
Deprecated: Use PlayerState.ProtoReflect.Descriptor instead.
func (*PlayerState) GetPrivate ¶
func (x *PlayerState) GetPrivate() *any1.Any
func (*PlayerState) GetPublic ¶
func (x *PlayerState) GetPublic() *any1.Any
func (*PlayerState) ProtoMessage ¶
func (*PlayerState) ProtoMessage()
func (*PlayerState) ProtoReflect ¶
func (x *PlayerState) ProtoReflect() protoreflect.Message
func (*PlayerState) Reset ¶
func (x *PlayerState) Reset()
func (*PlayerState) String ¶
func (x *PlayerState) String() string
type ReelSetMysteryData ¶ added in v0.10.267
type ReelSetMysteryData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` CurMysteryCode int32 `protobuf:"varint,2,opt,name=CurMysteryCode,proto3" json:"CurMysteryCode,omitempty"` // contains filtered or unexported fields }
ReelSetMysteryData
func (*ReelSetMysteryData) Descriptor
deprecated
added in
v0.10.267
func (*ReelSetMysteryData) Descriptor() ([]byte, []int)
Deprecated: Use ReelSetMysteryData.ProtoReflect.Descriptor instead.
func (*ReelSetMysteryData) GetBasicComponentData ¶ added in v0.10.267
func (x *ReelSetMysteryData) GetBasicComponentData() *ComponentData
func (*ReelSetMysteryData) GetCurMysteryCode ¶ added in v0.10.267
func (x *ReelSetMysteryData) GetCurMysteryCode() int32
func (*ReelSetMysteryData) ProtoMessage ¶ added in v0.10.267
func (*ReelSetMysteryData) ProtoMessage()
func (*ReelSetMysteryData) ProtoReflect ¶ added in v0.10.267
func (x *ReelSetMysteryData) ProtoReflect() protoreflect.Message
func (*ReelSetMysteryData) Reset ¶ added in v0.10.267
func (x *ReelSetMysteryData) Reset()
func (*ReelSetMysteryData) String ¶ added in v0.10.267
func (x *ReelSetMysteryData) String() string
type ReelsData ¶
type ReelsData struct { Reels []*Column `protobuf:"bytes,1,rep,name=reels,proto3" json:"reels,omitempty"` // contains filtered or unexported fields }
ReelsData
func (*ReelsData) Descriptor
deprecated
func (*ReelsData) ProtoMessage ¶
func (*ReelsData) ProtoMessage()
func (*ReelsData) ProtoReflect ¶
func (x *ReelsData) ProtoReflect() protoreflect.Message
type ReplyGameConfig ¶ added in v0.12.57
type ReplyGameConfig struct { IsOK bool `protobuf:"varint,1,opt,name=isOK,proto3" json:"isOK,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` GameConfig *GameConfig `protobuf:"bytes,3,opt,name=gameConfig,proto3" json:"gameConfig,omitempty"` // contains filtered or unexported fields }
ReplyGameConfig - reply game config
func (*ReplyGameConfig) Descriptor
deprecated
added in
v0.12.57
func (*ReplyGameConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReplyGameConfig.ProtoReflect.Descriptor instead.
func (*ReplyGameConfig) GetErr ¶ added in v0.12.57
func (x *ReplyGameConfig) GetErr() string
func (*ReplyGameConfig) GetGameConfig ¶ added in v0.12.57
func (x *ReplyGameConfig) GetGameConfig() *GameConfig
func (*ReplyGameConfig) GetIsOK ¶ added in v0.12.57
func (x *ReplyGameConfig) GetIsOK() bool
func (*ReplyGameConfig) ProtoMessage ¶ added in v0.12.57
func (*ReplyGameConfig) ProtoMessage()
func (*ReplyGameConfig) ProtoReflect ¶ added in v0.12.57
func (x *ReplyGameConfig) ProtoReflect() protoreflect.Message
func (*ReplyGameConfig) Reset ¶ added in v0.12.57
func (x *ReplyGameConfig) Reset()
func (*ReplyGameConfig) String ¶ added in v0.12.57
func (x *ReplyGameConfig) String() string
type ReplyInitGame ¶ added in v0.12.57
type ReplyInitGame struct { IsOK bool `protobuf:"varint,1,opt,name=isOK,proto3" json:"isOK,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
ReplyInitGame - reply initial game
func (*ReplyInitGame) Descriptor
deprecated
added in
v0.12.57
func (*ReplyInitGame) Descriptor() ([]byte, []int)
Deprecated: Use ReplyInitGame.ProtoReflect.Descriptor instead.
func (*ReplyInitGame) GetErr ¶ added in v0.12.57
func (x *ReplyInitGame) GetErr() string
func (*ReplyInitGame) GetIsOK ¶ added in v0.12.57
func (x *ReplyInitGame) GetIsOK() bool
func (*ReplyInitGame) ProtoMessage ¶ added in v0.12.57
func (*ReplyInitGame) ProtoMessage()
func (*ReplyInitGame) ProtoReflect ¶ added in v0.12.57
func (x *ReplyInitGame) ProtoReflect() protoreflect.Message
func (*ReplyInitGame) Reset ¶ added in v0.12.57
func (x *ReplyInitGame) Reset()
func (*ReplyInitGame) String ¶ added in v0.12.57
func (x *ReplyInitGame) String() string
type ReplyInitializeGamePlayer ¶ added in v0.12.57
type ReplyInitializeGamePlayer struct { IsOK bool `protobuf:"varint,1,opt,name=isOK,proto3" json:"isOK,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` PlayerState *PlayerState `protobuf:"bytes,3,opt,name=playerState,proto3" json:"playerState,omitempty"` // contains filtered or unexported fields }
ReplyInitializeGamePlayer - reply initialize a game player
func (*ReplyInitializeGamePlayer) Descriptor
deprecated
added in
v0.12.57
func (*ReplyInitializeGamePlayer) Descriptor() ([]byte, []int)
Deprecated: Use ReplyInitializeGamePlayer.ProtoReflect.Descriptor instead.
func (*ReplyInitializeGamePlayer) GetErr ¶ added in v0.12.57
func (x *ReplyInitializeGamePlayer) GetErr() string
func (*ReplyInitializeGamePlayer) GetIsOK ¶ added in v0.12.57
func (x *ReplyInitializeGamePlayer) GetIsOK() bool
func (*ReplyInitializeGamePlayer) GetPlayerState ¶ added in v0.12.57
func (x *ReplyInitializeGamePlayer) GetPlayerState() *PlayerState
func (*ReplyInitializeGamePlayer) ProtoMessage ¶ added in v0.12.57
func (*ReplyInitializeGamePlayer) ProtoMessage()
func (*ReplyInitializeGamePlayer) ProtoReflect ¶ added in v0.12.57
func (x *ReplyInitializeGamePlayer) ProtoReflect() protoreflect.Message
func (*ReplyInitializeGamePlayer) Reset ¶ added in v0.12.57
func (x *ReplyInitializeGamePlayer) Reset()
func (*ReplyInitializeGamePlayer) String ¶ added in v0.12.57
func (x *ReplyInitializeGamePlayer) String() string
type ReplyPlay ¶
type ReplyPlay struct { RandomNumbers []*RngInfo `protobuf:"bytes,1,rep,name=randomNumbers,proto3" json:"randomNumbers,omitempty"` PlayerState *PlayerState `protobuf:"bytes,2,opt,name=playerState,proto3" json:"playerState,omitempty"` Finished bool `protobuf:"varint,3,opt,name=finished,proto3" json:"finished,omitempty"` Results []*GameResult `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"` NextCommands []string `protobuf:"bytes,5,rep,name=nextCommands,proto3" json:"nextCommands,omitempty"` // Deprecated: Marked as deprecated in game.proto. Stake *Stake `protobuf:"bytes,6,opt,name=stake,proto3" json:"stake,omitempty"` NextCommandParams []string `protobuf:"bytes,7,rep,name=nextCommandParams,proto3" json:"nextCommandParams,omitempty"` // contains filtered or unexported fields }
ReplyPlay - play output parameters for the game
func (*ReplyPlay) Descriptor
deprecated
func (*ReplyPlay) GetFinished ¶
func (*ReplyPlay) GetNextCommandParams ¶ added in v0.10.345
func (*ReplyPlay) GetNextCommands ¶
func (*ReplyPlay) GetPlayerState ¶
func (x *ReplyPlay) GetPlayerState() *PlayerState
func (*ReplyPlay) GetRandomNumbers ¶
func (*ReplyPlay) GetResults ¶
func (x *ReplyPlay) GetResults() []*GameResult
func (*ReplyPlay) ProtoMessage ¶
func (*ReplyPlay) ProtoMessage()
func (*ReplyPlay) ProtoReflect ¶
func (x *ReplyPlay) ProtoReflect() protoreflect.Message
type ReplyPlayGame ¶ added in v0.12.57
type ReplyPlayGame struct { IsOK bool `protobuf:"varint,1,opt,name=isOK,proto3" json:"isOK,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` Play *ReplyPlay `protobuf:"bytes,3,opt,name=play,proto3" json:"play,omitempty"` // contains filtered or unexported fields }
RequestPlayGame - play input parameters for the game
func (*ReplyPlayGame) Descriptor
deprecated
added in
v0.12.57
func (*ReplyPlayGame) Descriptor() ([]byte, []int)
Deprecated: Use ReplyPlayGame.ProtoReflect.Descriptor instead.
func (*ReplyPlayGame) GetErr ¶ added in v0.12.57
func (x *ReplyPlayGame) GetErr() string
func (*ReplyPlayGame) GetIsOK ¶ added in v0.12.57
func (x *ReplyPlayGame) GetIsOK() bool
func (*ReplyPlayGame) GetPlay ¶ added in v0.12.57
func (x *ReplyPlayGame) GetPlay() *ReplyPlay
func (*ReplyPlayGame) ProtoMessage ¶ added in v0.12.57
func (*ReplyPlayGame) ProtoMessage()
func (*ReplyPlayGame) ProtoReflect ¶ added in v0.12.57
func (x *ReplyPlayGame) ProtoReflect() protoreflect.Message
func (*ReplyPlayGame) Reset ¶ added in v0.12.57
func (x *ReplyPlayGame) Reset()
func (*ReplyPlayGame) String ¶ added in v0.12.57
func (x *ReplyPlayGame) String() string
type ReplyRngs ¶ added in v0.10.388
type ReplyRngs struct { Rngs []uint32 `protobuf:"varint,1,rep,packed,name=rngs,proto3" json:"rngs,omitempty"` // contains filtered or unexported fields }
ReplyRngs - reply rngs
func (*ReplyRngs) Descriptor
deprecated
added in
v0.10.388
func (*ReplyRngs) ProtoMessage ¶ added in v0.10.388
func (*ReplyRngs) ProtoMessage()
func (*ReplyRngs) ProtoReflect ¶ added in v0.10.388
func (x *ReplyRngs) ProtoReflect() protoreflect.Message
type RequestConfig ¶
type RequestConfig struct {
// contains filtered or unexported fields
}
RequestConfig
func (*RequestConfig) Descriptor
deprecated
func (*RequestConfig) Descriptor() ([]byte, []int)
Deprecated: Use RequestConfig.ProtoReflect.Descriptor instead.
func (*RequestConfig) ProtoMessage ¶
func (*RequestConfig) ProtoMessage()
func (*RequestConfig) ProtoReflect ¶
func (x *RequestConfig) ProtoReflect() protoreflect.Message
func (*RequestConfig) Reset ¶
func (x *RequestConfig) Reset()
func (*RequestConfig) String ¶
func (x *RequestConfig) String() string
type RequestGameConfig ¶ added in v0.12.57
type RequestGameConfig struct { GameCode string `protobuf:"bytes,1,opt,name=gameCode,proto3" json:"gameCode,omitempty"` Req *RequestConfig `protobuf:"bytes,2,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
RequestGameConfig - get game config
func (*RequestGameConfig) Descriptor
deprecated
added in
v0.12.57
func (*RequestGameConfig) Descriptor() ([]byte, []int)
Deprecated: Use RequestGameConfig.ProtoReflect.Descriptor instead.
func (*RequestGameConfig) GetGameCode ¶ added in v0.12.57
func (x *RequestGameConfig) GetGameCode() string
func (*RequestGameConfig) GetReq ¶ added in v0.12.57
func (x *RequestGameConfig) GetReq() *RequestConfig
func (*RequestGameConfig) ProtoMessage ¶ added in v0.12.57
func (*RequestGameConfig) ProtoMessage()
func (*RequestGameConfig) ProtoReflect ¶ added in v0.12.57
func (x *RequestGameConfig) ProtoReflect() protoreflect.Message
func (*RequestGameConfig) Reset ¶ added in v0.12.57
func (x *RequestGameConfig) Reset()
func (*RequestGameConfig) String ¶ added in v0.12.57
func (x *RequestGameConfig) String() string
type RequestInitGame ¶ added in v0.12.57
type RequestInitGame struct { GameCode string `protobuf:"bytes,1,opt,name=gameCode,proto3" json:"gameCode,omitempty"` Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
RequestInitGame - initial game
func (*RequestInitGame) Descriptor
deprecated
added in
v0.12.57
func (*RequestInitGame) Descriptor() ([]byte, []int)
Deprecated: Use RequestInitGame.ProtoReflect.Descriptor instead.
func (*RequestInitGame) GetConfig ¶ added in v0.12.57
func (x *RequestInitGame) GetConfig() string
func (*RequestInitGame) GetGameCode ¶ added in v0.12.57
func (x *RequestInitGame) GetGameCode() string
func (*RequestInitGame) ProtoMessage ¶ added in v0.12.57
func (*RequestInitGame) ProtoMessage()
func (*RequestInitGame) ProtoReflect ¶ added in v0.12.57
func (x *RequestInitGame) ProtoReflect() protoreflect.Message
func (*RequestInitGame) Reset ¶ added in v0.12.57
func (x *RequestInitGame) Reset()
func (*RequestInitGame) String ¶ added in v0.12.57
func (x *RequestInitGame) String() string
type RequestInitialize ¶
type RequestInitialize struct {
// contains filtered or unexported fields
}
RequestInitialize
func (*RequestInitialize) Descriptor
deprecated
func (*RequestInitialize) Descriptor() ([]byte, []int)
Deprecated: Use RequestInitialize.ProtoReflect.Descriptor instead.
func (*RequestInitialize) ProtoMessage ¶
func (*RequestInitialize) ProtoMessage()
func (*RequestInitialize) ProtoReflect ¶
func (x *RequestInitialize) ProtoReflect() protoreflect.Message
func (*RequestInitialize) Reset ¶
func (x *RequestInitialize) Reset()
func (*RequestInitialize) String ¶
func (x *RequestInitialize) String() string
type RequestInitializeGamePlayer ¶ added in v0.12.57
type RequestInitializeGamePlayer struct { GameCode string `protobuf:"bytes,1,opt,name=gameCode,proto3" json:"gameCode,omitempty"` // contains filtered or unexported fields }
RequestInitializeGamePlayer - initialize a game player
func (*RequestInitializeGamePlayer) Descriptor
deprecated
added in
v0.12.57
func (*RequestInitializeGamePlayer) Descriptor() ([]byte, []int)
Deprecated: Use RequestInitializeGamePlayer.ProtoReflect.Descriptor instead.
func (*RequestInitializeGamePlayer) GetGameCode ¶ added in v0.12.57
func (x *RequestInitializeGamePlayer) GetGameCode() string
func (*RequestInitializeGamePlayer) ProtoMessage ¶ added in v0.12.57
func (*RequestInitializeGamePlayer) ProtoMessage()
func (*RequestInitializeGamePlayer) ProtoReflect ¶ added in v0.12.57
func (x *RequestInitializeGamePlayer) ProtoReflect() protoreflect.Message
func (*RequestInitializeGamePlayer) Reset ¶ added in v0.12.57
func (x *RequestInitializeGamePlayer) Reset()
func (*RequestInitializeGamePlayer) String ¶ added in v0.12.57
func (x *RequestInitializeGamePlayer) String() string
type RequestPlay ¶
type RequestPlay struct { PlayerState *PlayerState `protobuf:"bytes,1,opt,name=playerState,proto3" json:"playerState,omitempty"` Cheat string `protobuf:"bytes,2,opt,name=cheat,proto3" json:"cheat,omitempty"` Stake *Stake `protobuf:"bytes,3,opt,name=stake,proto3" json:"stake,omitempty"` ClientParams string `protobuf:"bytes,4,opt,name=clientParams,proto3" json:"clientParams,omitempty"` Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty"` JackpotStakeValue int64 `protobuf:"varint,6,opt,name=jackpotStakeValue,proto3" json:"jackpotStakeValue,omitempty"` FreespinsActive bool `protobuf:"varint,7,opt,name=freespinsActive,proto3" json:"freespinsActive,omitempty"` // contains filtered or unexported fields }
RequestPlay - play input parameters for the game
func (*RequestPlay) Descriptor
deprecated
func (*RequestPlay) Descriptor() ([]byte, []int)
Deprecated: Use RequestPlay.ProtoReflect.Descriptor instead.
func (*RequestPlay) GetCheat ¶
func (x *RequestPlay) GetCheat() string
func (*RequestPlay) GetClientParams ¶
func (x *RequestPlay) GetClientParams() string
func (*RequestPlay) GetCommand ¶
func (x *RequestPlay) GetCommand() string
func (*RequestPlay) GetFreespinsActive ¶
func (x *RequestPlay) GetFreespinsActive() bool
func (*RequestPlay) GetJackpotStakeValue ¶
func (x *RequestPlay) GetJackpotStakeValue() int64
func (*RequestPlay) GetPlayerState ¶
func (x *RequestPlay) GetPlayerState() *PlayerState
func (*RequestPlay) GetStake ¶
func (x *RequestPlay) GetStake() *Stake
func (*RequestPlay) ProtoMessage ¶
func (*RequestPlay) ProtoMessage()
func (*RequestPlay) ProtoReflect ¶
func (x *RequestPlay) ProtoReflect() protoreflect.Message
func (*RequestPlay) Reset ¶
func (x *RequestPlay) Reset()
func (*RequestPlay) String ¶
func (x *RequestPlay) String() string
type RequestPlayGame ¶ added in v0.12.57
type RequestPlayGame struct { GameCode string `protobuf:"bytes,1,opt,name=gameCode,proto3" json:"gameCode,omitempty"` Play *RequestPlay `protobuf:"bytes,2,opt,name=play,proto3" json:"play,omitempty"` // contains filtered or unexported fields }
RequestPlayGame - play input parameters for the game
func (*RequestPlayGame) Descriptor
deprecated
added in
v0.12.57
func (*RequestPlayGame) Descriptor() ([]byte, []int)
Deprecated: Use RequestPlayGame.ProtoReflect.Descriptor instead.
func (*RequestPlayGame) GetGameCode ¶ added in v0.12.57
func (x *RequestPlayGame) GetGameCode() string
func (*RequestPlayGame) GetPlay ¶ added in v0.12.57
func (x *RequestPlayGame) GetPlay() *RequestPlay
func (*RequestPlayGame) ProtoMessage ¶ added in v0.12.57
func (*RequestPlayGame) ProtoMessage()
func (*RequestPlayGame) ProtoReflect ¶ added in v0.12.57
func (x *RequestPlayGame) ProtoReflect() protoreflect.Message
func (*RequestPlayGame) Reset ¶ added in v0.12.57
func (x *RequestPlayGame) Reset()
func (*RequestPlayGame) String ¶ added in v0.12.57
func (x *RequestPlayGame) String() string
type RequestRngs ¶ added in v0.10.388
type RequestRngs struct { Nums int32 `protobuf:"varint,1,opt,name=nums,proto3" json:"nums,omitempty"` Gamecode string `protobuf:"bytes,2,opt,name=gamecode,proto3" json:"gamecode,omitempty"` // contains filtered or unexported fields }
RequestRngs - request some rngs
func (*RequestRngs) Descriptor
deprecated
added in
v0.10.388
func (*RequestRngs) Descriptor() ([]byte, []int)
Deprecated: Use RequestRngs.ProtoReflect.Descriptor instead.
func (*RequestRngs) GetGamecode ¶ added in v0.10.388
func (x *RequestRngs) GetGamecode() string
func (*RequestRngs) GetNums ¶ added in v0.10.388
func (x *RequestRngs) GetNums() int32
func (*RequestRngs) ProtoMessage ¶ added in v0.10.388
func (*RequestRngs) ProtoMessage()
func (*RequestRngs) ProtoReflect ¶ added in v0.10.388
func (x *RequestRngs) ProtoReflect() protoreflect.Message
func (*RequestRngs) Reset ¶ added in v0.10.388
func (x *RequestRngs) Reset()
func (*RequestRngs) String ¶ added in v0.10.388
func (x *RequestRngs) String() string
type Respin2Data ¶ added in v0.12.225
type Respin2Data struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` LastRespinNum int32 `protobuf:"varint,2,opt,name=lastRespinNum,proto3" json:"lastRespinNum,omitempty"` // Deprecated: Marked as deprecated in lowcode.proto. TotalRespinNum int32 `protobuf:"varint,3,opt,name=totalRespinNum,proto3" json:"totalRespinNum,omitempty"` CurRespinNum int32 `protobuf:"varint,4,opt,name=curRespinNum,proto3" json:"curRespinNum,omitempty"` CurAddRespinNum int32 `protobuf:"varint,5,opt,name=curAddRespinNum,proto3" json:"curAddRespinNum,omitempty"` TotalCoinWin int64 `protobuf:"varint,6,opt,name=totalCoinWin,proto3" json:"totalCoinWin,omitempty"` TotalCashWin int64 `protobuf:"varint,7,opt,name=totalCashWin,proto3" json:"totalCashWin,omitempty"` RetriggerAddRespinNum int32 `protobuf:"varint,8,opt,name=retriggerAddRespinNum,proto3" json:"retriggerAddRespinNum,omitempty"` LastTriggerNum int32 `protobuf:"varint,9,opt,name=lastTriggerNum,proto3" json:"lastTriggerNum,omitempty"` CurTriggerNum int32 `protobuf:"varint,10,opt,name=curTriggerNum,proto3" json:"curTriggerNum,omitempty"` // contains filtered or unexported fields }
Respin2Data
func (*Respin2Data) Descriptor
deprecated
added in
v0.12.225
func (*Respin2Data) Descriptor() ([]byte, []int)
Deprecated: Use Respin2Data.ProtoReflect.Descriptor instead.
func (*Respin2Data) GetBasicComponentData ¶ added in v0.12.225
func (x *Respin2Data) GetBasicComponentData() *ComponentData
func (*Respin2Data) GetCurAddRespinNum ¶ added in v0.12.225
func (x *Respin2Data) GetCurAddRespinNum() int32
func (*Respin2Data) GetCurRespinNum ¶ added in v0.12.225
func (x *Respin2Data) GetCurRespinNum() int32
func (*Respin2Data) GetCurTriggerNum ¶ added in v0.12.225
func (x *Respin2Data) GetCurTriggerNum() int32
func (*Respin2Data) GetLastRespinNum ¶ added in v0.12.225
func (x *Respin2Data) GetLastRespinNum() int32
func (*Respin2Data) GetLastTriggerNum ¶ added in v0.12.225
func (x *Respin2Data) GetLastTriggerNum() int32
func (*Respin2Data) GetRetriggerAddRespinNum ¶ added in v0.12.225
func (x *Respin2Data) GetRetriggerAddRespinNum() int32
func (*Respin2Data) GetTotalCashWin ¶ added in v0.12.225
func (x *Respin2Data) GetTotalCashWin() int64
func (*Respin2Data) GetTotalCoinWin ¶ added in v0.12.225
func (x *Respin2Data) GetTotalCoinWin() int64
func (*Respin2Data) GetTotalRespinNum
deprecated
added in
v0.12.225
func (x *Respin2Data) GetTotalRespinNum() int32
Deprecated: Marked as deprecated in lowcode.proto.
func (*Respin2Data) ProtoMessage ¶ added in v0.12.225
func (*Respin2Data) ProtoMessage()
func (*Respin2Data) ProtoReflect ¶ added in v0.12.225
func (x *Respin2Data) ProtoReflect() protoreflect.Message
func (*Respin2Data) Reset ¶ added in v0.12.225
func (x *Respin2Data) Reset()
func (*Respin2Data) String ¶ added in v0.12.225
func (x *Respin2Data) String() string
type RespinData ¶ added in v0.10.273
type RespinData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` LastRespinNum int32 `protobuf:"varint,2,opt,name=lastRespinNum,proto3" json:"lastRespinNum,omitempty"` // Deprecated: Marked as deprecated in lowcode.proto. TotalRespinNum int32 `protobuf:"varint,3,opt,name=totalRespinNum,proto3" json:"totalRespinNum,omitempty"` CurRespinNum int32 `protobuf:"varint,4,opt,name=curRespinNum,proto3" json:"curRespinNum,omitempty"` CurAddRespinNum int32 `protobuf:"varint,5,opt,name=curAddRespinNum,proto3" json:"curAddRespinNum,omitempty"` TotalCoinWin int64 `protobuf:"varint,6,opt,name=totalCoinWin,proto3" json:"totalCoinWin,omitempty"` TotalCashWin int64 `protobuf:"varint,7,opt,name=totalCashWin,proto3" json:"totalCashWin,omitempty"` RetriggerAddRespinNum int32 `protobuf:"varint,8,opt,name=retriggerAddRespinNum,proto3" json:"retriggerAddRespinNum,omitempty"` LastTriggerNum int32 `protobuf:"varint,9,opt,name=lastTriggerNum,proto3" json:"lastTriggerNum,omitempty"` CurTriggerNum int32 `protobuf:"varint,10,opt,name=curTriggerNum,proto3" json:"curTriggerNum,omitempty"` // contains filtered or unexported fields }
RespinData
func (*RespinData) Descriptor
deprecated
added in
v0.10.273
func (*RespinData) Descriptor() ([]byte, []int)
Deprecated: Use RespinData.ProtoReflect.Descriptor instead.
func (*RespinData) GetBasicComponentData ¶ added in v0.10.273
func (x *RespinData) GetBasicComponentData() *ComponentData
func (*RespinData) GetCurAddRespinNum ¶ added in v0.10.273
func (x *RespinData) GetCurAddRespinNum() int32
func (*RespinData) GetCurRespinNum ¶ added in v0.10.273
func (x *RespinData) GetCurRespinNum() int32
func (*RespinData) GetCurTriggerNum ¶ added in v0.12.193
func (x *RespinData) GetCurTriggerNum() int32
func (*RespinData) GetLastRespinNum ¶ added in v0.10.273
func (x *RespinData) GetLastRespinNum() int32
func (*RespinData) GetLastTriggerNum ¶ added in v0.12.193
func (x *RespinData) GetLastTriggerNum() int32
func (*RespinData) GetRetriggerAddRespinNum ¶ added in v0.12.167
func (x *RespinData) GetRetriggerAddRespinNum() int32
func (*RespinData) GetTotalCashWin ¶ added in v0.10.273
func (x *RespinData) GetTotalCashWin() int64
func (*RespinData) GetTotalCoinWin ¶ added in v0.10.273
func (x *RespinData) GetTotalCoinWin() int64
func (*RespinData) GetTotalRespinNum
deprecated
added in
v0.10.273
func (x *RespinData) GetTotalRespinNum() int32
Deprecated: Marked as deprecated in lowcode.proto.
func (*RespinData) ProtoMessage ¶ added in v0.10.273
func (*RespinData) ProtoMessage()
func (*RespinData) ProtoReflect ¶ added in v0.10.273
func (x *RespinData) ProtoReflect() protoreflect.Message
func (*RespinData) Reset ¶ added in v0.10.273
func (x *RespinData) Reset()
func (*RespinData) String ¶ added in v0.10.273
func (x *RespinData) String() string
type RngClient ¶ added in v0.10.388
type RngClient interface { // getRngs - get rngs GetRngs(ctx context.Context, in *RequestRngs, opts ...grpc.CallOption) (*ReplyRngs, error) }
RngClient is the client API for Rng service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRngClient ¶ added in v0.10.388
func NewRngClient(cc grpc.ClientConnInterface) RngClient
type RngInfo ¶
type RngInfo struct { Bits int32 `protobuf:"varint,1,opt,name=bits,proto3" json:"bits,omitempty"` Range int32 `protobuf:"varint,2,opt,name=range,proto3" json:"range,omitempty"` Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
RngInfo - rng infomation
func (*RngInfo) Descriptor
deprecated
func (*RngInfo) ProtoMessage ¶
func (*RngInfo) ProtoMessage()
func (*RngInfo) ProtoReflect ¶
func (x *RngInfo) ProtoReflect() protoreflect.Message
type RngServer ¶ added in v0.10.388
type RngServer interface { // getRngs - get rngs GetRngs(context.Context, *RequestRngs) (*ReplyRngs, error) // contains filtered or unexported methods }
RngServer is the server API for Rng service. All implementations must embed UnimplementedRngServer for forward compatibility
type Row ¶
type Row struct { Values []int32 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
Row
func (*Row) Descriptor
deprecated
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type Stake ¶
type Stake struct { CoinBet int32 `protobuf:"varint,1,opt,name=coinBet,proto3" json:"coinBet,omitempty"` CashBet int32 `protobuf:"varint,2,opt,name=cashBet,proto3" json:"cashBet,omitempty"` Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` // contains filtered or unexported fields }
func (*Stake) Descriptor
deprecated
func (*Stake) GetCashBet ¶
func (*Stake) GetCoinBet ¶
func (*Stake) GetCurrency ¶
func (*Stake) ProtoMessage ¶
func (*Stake) ProtoMessage()
func (*Stake) ProtoReflect ¶
func (x *Stake) ProtoReflect() protoreflect.Message
type SymbolCollectionData ¶ added in v0.12.2
type SymbolCollectionData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` SymbolCodes []int32 `protobuf:"varint,2,rep,packed,name=symbolCodes,proto3" json:"symbolCodes,omitempty"` // contains filtered or unexported fields }
SymbolCollectionData
func (*SymbolCollectionData) Descriptor
deprecated
added in
v0.12.2
func (*SymbolCollectionData) Descriptor() ([]byte, []int)
Deprecated: Use SymbolCollectionData.ProtoReflect.Descriptor instead.
func (*SymbolCollectionData) GetBasicComponentData ¶ added in v0.12.2
func (x *SymbolCollectionData) GetBasicComponentData() *ComponentData
func (*SymbolCollectionData) GetSymbolCodes ¶ added in v0.12.2
func (x *SymbolCollectionData) GetSymbolCodes() []int32
func (*SymbolCollectionData) ProtoMessage ¶ added in v0.12.2
func (*SymbolCollectionData) ProtoMessage()
func (*SymbolCollectionData) ProtoReflect ¶ added in v0.12.2
func (x *SymbolCollectionData) ProtoReflect() protoreflect.Message
func (*SymbolCollectionData) Reset ¶ added in v0.12.2
func (x *SymbolCollectionData) Reset()
func (*SymbolCollectionData) String ¶ added in v0.12.2
func (x *SymbolCollectionData) String() string
type SymbolTriggerData ¶ added in v0.12.147
type SymbolTriggerData struct { BasicComponentData *ComponentData `protobuf:"bytes,1,opt,name=basicComponentData,proto3" json:"basicComponentData,omitempty"` NextComponent string `protobuf:"bytes,2,opt,name=nextComponent,proto3" json:"nextComponent,omitempty"` SymbolNum int32 `protobuf:"varint,3,opt,name=symbolNum,proto3" json:"symbolNum,omitempty"` WildNum int32 `protobuf:"varint,4,opt,name=wildNum,proto3" json:"wildNum,omitempty"` RespinNum int32 `protobuf:"varint,5,opt,name=respinNum,proto3" json:"respinNum,omitempty"` Wins int32 `protobuf:"varint,6,opt,name=wins,proto3" json:"wins,omitempty"` // contains filtered or unexported fields }
SymbolTriggerData
func (*SymbolTriggerData) Descriptor
deprecated
added in
v0.12.147
func (*SymbolTriggerData) Descriptor() ([]byte, []int)
Deprecated: Use SymbolTriggerData.ProtoReflect.Descriptor instead.
func (*SymbolTriggerData) GetBasicComponentData ¶ added in v0.12.147
func (x *SymbolTriggerData) GetBasicComponentData() *ComponentData
func (*SymbolTriggerData) GetNextComponent ¶ added in v0.12.147
func (x *SymbolTriggerData) GetNextComponent() string
func (*SymbolTriggerData) GetRespinNum ¶ added in v0.12.225
func (x *SymbolTriggerData) GetRespinNum() int32
func (*SymbolTriggerData) GetSymbolNum ¶ added in v0.12.225
func (x *SymbolTriggerData) GetSymbolNum() int32
func (*SymbolTriggerData) GetWildNum ¶ added in v0.12.225
func (x *SymbolTriggerData) GetWildNum() int32
func (*SymbolTriggerData) GetWins ¶ added in v0.12.236
func (x *SymbolTriggerData) GetWins() int32
func (*SymbolTriggerData) ProtoMessage ¶ added in v0.12.147
func (*SymbolTriggerData) ProtoMessage()
func (*SymbolTriggerData) ProtoReflect ¶ added in v0.12.147
func (x *SymbolTriggerData) ProtoReflect() protoreflect.Message
func (*SymbolTriggerData) Reset ¶ added in v0.12.147
func (x *SymbolTriggerData) Reset()
func (*SymbolTriggerData) String ¶ added in v0.12.147
func (x *SymbolTriggerData) String() string
type UnimplementedDTGameLogicServer ¶
type UnimplementedDTGameLogicServer struct { }
UnimplementedDTGameLogicServer must be embedded to have forward compatible implementations.
func (UnimplementedDTGameLogicServer) GetConfig ¶
func (UnimplementedDTGameLogicServer) GetConfig(context.Context, *RequestConfig) (*GameConfig, error)
func (UnimplementedDTGameLogicServer) Initialize ¶
func (UnimplementedDTGameLogicServer) Initialize(context.Context, *RequestInitialize) (*PlayerState, error)
func (UnimplementedDTGameLogicServer) Play ¶
func (UnimplementedDTGameLogicServer) Play(*RequestPlay, DTGameLogic_PlayServer) error
func (UnimplementedDTGameLogicServer) Play2 ¶ added in v0.10.378
func (UnimplementedDTGameLogicServer) Play2(context.Context, *RequestPlay) (*ReplyPlay, error)
type UnimplementedGameLogicCollectionServer ¶ added in v0.12.57
type UnimplementedGameLogicCollectionServer struct { }
UnimplementedGameLogicCollectionServer must be embedded to have forward compatible implementations.
func (UnimplementedGameLogicCollectionServer) GetGameConfig ¶ added in v0.12.57
func (UnimplementedGameLogicCollectionServer) GetGameConfig(context.Context, *RequestGameConfig) (*ReplyGameConfig, error)
func (UnimplementedGameLogicCollectionServer) InitGame ¶ added in v0.12.57
func (UnimplementedGameLogicCollectionServer) InitGame(context.Context, *RequestInitGame) (*ReplyInitGame, error)
func (UnimplementedGameLogicCollectionServer) InitializeGamePlayer ¶ added in v0.12.57
func (UnimplementedGameLogicCollectionServer) InitializeGamePlayer(context.Context, *RequestInitializeGamePlayer) (*ReplyInitializeGamePlayer, error)
func (UnimplementedGameLogicCollectionServer) PlayGame2 ¶ added in v0.12.57
func (UnimplementedGameLogicCollectionServer) PlayGame2(context.Context, *RequestPlayGame) (*ReplyPlayGame, error)
type UnimplementedGameLogicServer ¶ added in v0.12.57
type UnimplementedGameLogicServer struct { }
UnimplementedGameLogicServer must be embedded to have forward compatible implementations.
func (UnimplementedGameLogicServer) GetConfig ¶ added in v0.12.57
func (UnimplementedGameLogicServer) GetConfig(context.Context, *RequestConfig) (*GameConfig, error)
func (UnimplementedGameLogicServer) Initialize ¶ added in v0.12.57
func (UnimplementedGameLogicServer) Initialize(context.Context, *RequestInitialize) (*PlayerState, error)
func (UnimplementedGameLogicServer) Play ¶ added in v0.12.57
func (UnimplementedGameLogicServer) Play(*RequestPlay, GameLogic_PlayServer) error
func (UnimplementedGameLogicServer) Play2 ¶ added in v0.12.57
func (UnimplementedGameLogicServer) Play2(context.Context, *RequestPlay) (*ReplyPlay, error)
type UnimplementedRngServer ¶ added in v0.10.388
type UnimplementedRngServer struct { }
UnimplementedRngServer must be embedded to have forward compatible implementations.
func (UnimplementedRngServer) GetRngs ¶ added in v0.10.388
func (UnimplementedRngServer) GetRngs(context.Context, *RequestRngs) (*ReplyRngs, error)
type UnsafeDTGameLogicServer ¶
type UnsafeDTGameLogicServer interface {
// contains filtered or unexported methods
}
UnsafeDTGameLogicServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DTGameLogicServer will result in compilation errors.
type UnsafeGameLogicCollectionServer ¶ added in v0.12.57
type UnsafeGameLogicCollectionServer interface {
// contains filtered or unexported methods
}
UnsafeGameLogicCollectionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GameLogicCollectionServer will result in compilation errors.
type UnsafeGameLogicServer ¶ added in v0.12.57
type UnsafeGameLogicServer interface {
// contains filtered or unexported methods
}
UnsafeGameLogicServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GameLogicServer will result in compilation errors.
type UnsafeRngServer ¶ added in v0.10.388
type UnsafeRngServer interface {
// contains filtered or unexported methods
}
UnsafeRngServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RngServer will result in compilation errors.