Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDTGameLogicServer(s grpc.ServiceRegistrar, srv DTGameLogicServer)
- 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 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) 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 GameParam
- func (*GameParam) Descriptor() ([]byte, []int)deprecated
- func (x *GameParam) GetFirstComponent() string
- func (x *GameParam) GetMapComponents() map[string]*any1.Any
- func (x *GameParam) GetNextStepFirstComponent() 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) 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 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 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 ReplyPlay
- func (*ReplyPlay) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyPlay) GetFinished() bool
- 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 RequestConfig
- type RequestInitialize
- 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 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) GetLastRespinNum() int32
- func (x *RespinData) GetTotalCashWin() int64
- func (x *RespinData) GetTotalCoinWin() int64
- func (x *RespinData) GetTotalRespinNum() int32
- func (*RespinData) ProtoMessage()
- func (x *RespinData) ProtoReflect() protoreflect.Message
- func (x *RespinData) Reset()
- func (x *RespinData) String() string
- 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 Row
- type Stake
- type UnimplementedDTGameLogicServer
- type UnsafeDTGameLogicServer
Constants ¶
const ( DTGameLogic_GetConfig_FullMethodName = "/sgc7pb.DTGameLogic/getConfig" DTGameLogic_Initialize_FullMethodName = "/sgc7pb.DTGameLogic/initialize" DTGameLogic_Play_FullMethodName = "/sgc7pb.DTGameLogic/play" )
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, }, }, Streams: []grpc.StreamDesc{ { StreamName: "play", Handler: _DTGameLogic_Play_Handler, ServerStreams: true, }, }, Metadata: "dtgame.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_dtgame_proto protoreflect.FileDescriptor
var File_lowcode_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDTGameLogicServer ¶
func RegisterDTGameLogicServer(s grpc.ServiceRegistrar, srv DTGameLogicServer)
Types ¶
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 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) }
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 // 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"` // 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) 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 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 */ // contains filtered or unexported fields }
GameParam
func (*GameParam) Descriptor
deprecated
func (*GameParam) GetFirstComponent ¶
func (*GameParam) GetNextStepFirstComponent ¶
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"` // 赔付的符号数量 // 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) 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 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 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 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 dtgame.proto. Stake *Stake `protobuf:"bytes,6,opt,name=stake,proto3" json:"stake,omitempty"` // contains filtered or unexported fields }
ReplyPlay - play output parameters for the game
func (*ReplyPlay) Descriptor
deprecated
func (*ReplyPlay) GetFinished ¶
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 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 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 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 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"` 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"` // 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) GetLastRespinNum ¶ added in v0.10.273
func (x *RespinData) GetLastRespinNum() 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 ¶ added in v0.10.273
func (x *RespinData) GetTotalRespinNum() int32
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 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 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 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
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.