sgc7pb

package
v0.10.81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
var File_dtgame_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 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) Descriptor() ([]byte, []int)

Deprecated: Use Column.ProtoReflect.Descriptor instead.

func (*Column) GetValues

func (x *Column) GetValues() []int32

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) ProtoReflect

func (x *Column) ProtoReflect() protoreflect.Message

func (*Column) Reset

func (x *Column) Reset()

func (*Column) String

func (x *Column) 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.

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 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) Descriptor() ([]byte, []int)

Deprecated: Use GameScene.ProtoReflect.Descriptor instead.

func (*GameScene) GetIndexes

func (x *GameScene) GetIndexes() []int32

func (*GameScene) GetValidRow

func (x *GameScene) GetValidRow() []int32

func (*GameScene) GetValues

func (x *GameScene) GetValues() []*Column

func (*GameScene) ProtoMessage

func (*GameScene) ProtoMessage()

func (*GameScene) ProtoReflect

func (x *GameScene) ProtoReflect() protoreflect.Message

func (*GameScene) Reset

func (x *GameScene) Reset()

func (*GameScene) String

func (x *GameScene) String() string

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 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) Descriptor() ([]byte, []int)

Deprecated: Use LinesData.ProtoReflect.Descriptor instead.

func (*LinesData) GetLines

func (x *LinesData) GetLines() []*Row

func (*LinesData) ProtoMessage

func (*LinesData) ProtoMessage()

func (*LinesData) ProtoReflect

func (x *LinesData) ProtoReflect() protoreflect.Message

func (*LinesData) Reset

func (x *LinesData) Reset()

func (*LinesData) String

func (x *LinesData) String() string

type PlayResult

type PlayResult struct {
	CurGameMod      string                 `protobuf:"bytes,1,opt,name=curGameMod,proto3" json:"curGameMod,omitempty"`           // 当前游戏模块,一般是 bg、fg 等等
	CurGameModParam *any.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() *any.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  *any.Any `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"`
	Private *any.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() *any.Any

func (*PlayerState) GetPublic

func (x *PlayerState) GetPublic() *any.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 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) Descriptor() ([]byte, []int)

Deprecated: Use ReelsData.ProtoReflect.Descriptor instead.

func (*ReelsData) GetReels

func (x *ReelsData) GetReels() []*Column

func (*ReelsData) ProtoMessage

func (*ReelsData) ProtoMessage()

func (*ReelsData) ProtoReflect

func (x *ReelsData) ProtoReflect() protoreflect.Message

func (*ReelsData) Reset

func (x *ReelsData) Reset()

func (*ReelsData) String

func (x *ReelsData) 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: Do not use.
	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) Descriptor() ([]byte, []int)

Deprecated: Use ReplyPlay.ProtoReflect.Descriptor instead.

func (*ReplyPlay) GetFinished

func (x *ReplyPlay) GetFinished() bool

func (*ReplyPlay) GetNextCommands

func (x *ReplyPlay) GetNextCommands() []string

func (*ReplyPlay) GetPlayerState

func (x *ReplyPlay) GetPlayerState() *PlayerState

func (*ReplyPlay) GetRandomNumbers

func (x *ReplyPlay) GetRandomNumbers() []*RngInfo

func (*ReplyPlay) GetResults

func (x *ReplyPlay) GetResults() []*GameResult

func (*ReplyPlay) GetStake deprecated

func (x *ReplyPlay) GetStake() *Stake

Deprecated: Do not use.

func (*ReplyPlay) ProtoMessage

func (*ReplyPlay) ProtoMessage()

func (*ReplyPlay) ProtoReflect

func (x *ReplyPlay) ProtoReflect() protoreflect.Message

func (*ReplyPlay) Reset

func (x *ReplyPlay) Reset()

func (*ReplyPlay) String

func (x *ReplyPlay) String() string

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 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) Descriptor() ([]byte, []int)

Deprecated: Use RngInfo.ProtoReflect.Descriptor instead.

func (*RngInfo) GetBits

func (x *RngInfo) GetBits() int32

func (*RngInfo) GetRange

func (x *RngInfo) GetRange() int32

func (*RngInfo) GetValue

func (x *RngInfo) GetValue() int32

func (*RngInfo) ProtoMessage

func (*RngInfo) ProtoMessage()

func (*RngInfo) ProtoReflect

func (x *RngInfo) ProtoReflect() protoreflect.Message

func (*RngInfo) Reset

func (x *RngInfo) Reset()

func (*RngInfo) String

func (x *RngInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetValues

func (x *Row) GetValues() []int32

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) ProtoReflect

func (x *Row) ProtoReflect() protoreflect.Message

func (*Row) Reset

func (x *Row) Reset()

func (*Row) String

func (x *Row) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Stake.ProtoReflect.Descriptor instead.

func (*Stake) GetCashBet

func (x *Stake) GetCashBet() int32

func (*Stake) GetCoinBet

func (x *Stake) GetCoinBet() int32

func (*Stake) GetCurrency

func (x *Stake) GetCurrency() string

func (*Stake) ProtoMessage

func (*Stake) ProtoMessage()

func (*Stake) ProtoReflect

func (x *Stake) ProtoReflect() protoreflect.Message

func (*Stake) Reset

func (x *Stake) Reset()

func (*Stake) String

func (x *Stake) String() string

type UnimplementedDTGameLogicServer

type UnimplementedDTGameLogicServer struct {
}

UnimplementedDTGameLogicServer must be embedded to have forward compatible implementations.

func (UnimplementedDTGameLogicServer) GetConfig

func (UnimplementedDTGameLogicServer) Initialize

func (UnimplementedDTGameLogicServer) Play

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL