Documentation ¶
Index ¶
- Constants
- Variables
- type PBContinueTxReq
- func (*PBContinueTxReq) Descriptor() ([]byte, []int)
- func (m *PBContinueTxReq) GetFee() int64
- func (m *PBContinueTxReq) GetGameId() string
- func (*PBContinueTxReq) ProtoMessage()
- func (m *PBContinueTxReq) Reset()
- func (m *PBContinueTxReq) String() string
- func (m *PBContinueTxReq) XXX_DiscardUnknown()
- func (m *PBContinueTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBContinueTxReq) XXX_Merge(src proto.Message)
- func (m *PBContinueTxReq) XXX_Size() int
- func (m *PBContinueTxReq) XXX_Unmarshal(b []byte) error
- type PBGameAction
- func (*PBGameAction) Descriptor() ([]byte, []int)
- func (m *PBGameAction) GetContinue() *PBGameContinue
- func (m *PBGameAction) GetPlay() *PBGamePlay
- func (m *PBGameAction) GetQuery() *PBGameQuery
- func (m *PBGameAction) GetQuit() *PBGameQuit
- func (m *PBGameAction) GetStart() *PBGameStart
- func (m *PBGameAction) GetTy() int32
- func (m *PBGameAction) GetValue() isPBGameAction_Value
- func (*PBGameAction) ProtoMessage()
- func (m *PBGameAction) Reset()
- func (m *PBGameAction) String() string
- func (m *PBGameAction) XXX_DiscardUnknown()
- func (m *PBGameAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameAction) XXX_Merge(src proto.Message)
- func (*PBGameAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *PBGameAction) XXX_Size() int
- func (m *PBGameAction) XXX_Unmarshal(b []byte) error
- type PBGameAction_Continue
- type PBGameAction_Play
- type PBGameAction_Query
- type PBGameAction_Quit
- type PBGameAction_Start
- type PBGameContinue
- func (*PBGameContinue) Descriptor() ([]byte, []int)
- func (m *PBGameContinue) GetGameId() string
- func (*PBGameContinue) ProtoMessage()
- func (m *PBGameContinue) Reset()
- func (m *PBGameContinue) String() string
- func (m *PBGameContinue) XXX_DiscardUnknown()
- func (m *PBGameContinue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameContinue) XXX_Merge(src proto.Message)
- func (m *PBGameContinue) XXX_Size() int
- func (m *PBGameContinue) XXX_Unmarshal(b []byte) error
- type PBGameIndexRecord
- func (*PBGameIndexRecord) Descriptor() ([]byte, []int)
- func (m *PBGameIndexRecord) GetGameId() string
- func (m *PBGameIndexRecord) GetIndex() int64
- func (*PBGameIndexRecord) ProtoMessage()
- func (m *PBGameIndexRecord) Reset()
- func (m *PBGameIndexRecord) String() string
- func (m *PBGameIndexRecord) XXX_DiscardUnknown()
- func (m *PBGameIndexRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameIndexRecord) XXX_Merge(src proto.Message)
- func (m *PBGameIndexRecord) XXX_Size() int
- func (m *PBGameIndexRecord) XXX_Unmarshal(b []byte) error
- type PBGameIndexRecords
- func (*PBGameIndexRecords) Descriptor() ([]byte, []int)
- func (m *PBGameIndexRecords) GetRecords() []*PBGameIndexRecord
- func (*PBGameIndexRecords) ProtoMessage()
- func (m *PBGameIndexRecords) Reset()
- func (m *PBGameIndexRecords) String() string
- func (m *PBGameIndexRecords) XXX_DiscardUnknown()
- func (m *PBGameIndexRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameIndexRecords) XXX_Merge(src proto.Message)
- func (m *PBGameIndexRecords) XXX_Size() int
- func (m *PBGameIndexRecords) XXX_Unmarshal(b []byte) error
- type PBGamePlay
- func (*PBGamePlay) Descriptor() ([]byte, []int)
- func (m *PBGamePlay) GetAddress() []string
- func (m *PBGamePlay) GetGameId() string
- func (m *PBGamePlay) GetRound() int32
- func (m *PBGamePlay) GetValue() int64
- func (*PBGamePlay) ProtoMessage()
- func (m *PBGamePlay) Reset()
- func (m *PBGamePlay) String() string
- func (m *PBGamePlay) XXX_DiscardUnknown()
- func (m *PBGamePlay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGamePlay) XXX_Merge(src proto.Message)
- func (m *PBGamePlay) XXX_Size() int
- func (m *PBGamePlay) XXX_Unmarshal(b []byte) error
- type PBGameQuery
- func (*PBGameQuery) Descriptor() ([]byte, []int)
- func (m *PBGameQuery) GetGameId() string
- func (*PBGameQuery) ProtoMessage()
- func (m *PBGameQuery) Reset()
- func (m *PBGameQuery) String() string
- func (m *PBGameQuery) XXX_DiscardUnknown()
- func (m *PBGameQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameQuery) XXX_Merge(src proto.Message)
- func (m *PBGameQuery) XXX_Size() int
- func (m *PBGameQuery) XXX_Unmarshal(b []byte) error
- type PBGameQuit
- func (*PBGameQuit) Descriptor() ([]byte, []int)
- func (m *PBGameQuit) GetGameId() string
- func (*PBGameQuit) ProtoMessage()
- func (m *PBGameQuit) Reset()
- func (m *PBGameQuit) String() string
- func (m *PBGameQuit) XXX_DiscardUnknown()
- func (m *PBGameQuit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameQuit) XXX_Merge(src proto.Message)
- func (m *PBGameQuit) XXX_Size() int
- func (m *PBGameQuit) XXX_Unmarshal(b []byte) error
- type PBGameRecord
- func (*PBGameRecord) Descriptor() ([]byte, []int)
- func (m *PBGameRecord) GetGameId() string
- func (m *PBGameRecord) GetIndex() int64
- func (m *PBGameRecord) GetStatus() int32
- func (*PBGameRecord) ProtoMessage()
- func (m *PBGameRecord) Reset()
- func (m *PBGameRecord) String() string
- func (m *PBGameRecord) XXX_DiscardUnknown()
- func (m *PBGameRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameRecord) XXX_Merge(src proto.Message)
- func (m *PBGameRecord) XXX_Size() int
- func (m *PBGameRecord) XXX_Unmarshal(b []byte) error
- type PBGameRecords
- func (*PBGameRecords) Descriptor() ([]byte, []int)
- func (m *PBGameRecords) GetRecords() []*PBGameRecord
- func (*PBGameRecords) ProtoMessage()
- func (m *PBGameRecords) Reset()
- func (m *PBGameRecords) String() string
- func (m *PBGameRecords) XXX_DiscardUnknown()
- func (m *PBGameRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameRecords) XXX_Merge(src proto.Message)
- func (m *PBGameRecords) XXX_Size() int
- func (m *PBGameRecords) XXX_Unmarshal(b []byte) error
- type PBGameStart
- func (*PBGameStart) Descriptor() ([]byte, []int)
- func (m *PBGameStart) GetPlayerNum() int32
- func (m *PBGameStart) GetValue() int64
- func (*PBGameStart) ProtoMessage()
- func (m *PBGameStart) Reset()
- func (m *PBGameStart) String() string
- func (m *PBGameStart) XXX_DiscardUnknown()
- func (m *PBGameStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBGameStart) XXX_Merge(src proto.Message)
- func (m *PBGameStart) XXX_Size() int
- func (m *PBGameStart) XXX_Unmarshal(b []byte) error
- type PBHand
- func (*PBHand) Descriptor() ([]byte, []int)
- func (m *PBHand) GetAddress() string
- func (m *PBHand) GetCards() []int32
- func (m *PBHand) GetIsWin() bool
- func (m *PBHand) GetLeverage() int32
- func (m *PBHand) GetResult() int32
- func (m *PBHand) GetRoundTime() string
- func (*PBHand) ProtoMessage()
- func (m *PBHand) Reset()
- func (m *PBHand) String() string
- func (m *PBHand) XXX_DiscardUnknown()
- func (m *PBHand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBHand) XXX_Merge(src proto.Message)
- func (m *PBHand) XXX_Size() int
- func (m *PBHand) XXX_Unmarshal(b []byte) error
- type PBPlayer
- func (*PBPlayer) Descriptor() ([]byte, []int)
- func (m *PBPlayer) GetAddress() string
- func (m *PBPlayer) GetHands() []*PBHand
- func (m *PBPlayer) GetMatchTime() string
- func (m *PBPlayer) GetReady() bool
- func (m *PBPlayer) GetTxHash() int64
- func (*PBPlayer) ProtoMessage()
- func (m *PBPlayer) Reset()
- func (m *PBPlayer) String() string
- func (m *PBPlayer) XXX_DiscardUnknown()
- func (m *PBPlayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBPlayer) XXX_Merge(src proto.Message)
- func (m *PBPlayer) XXX_Size() int
- func (m *PBPlayer) XXX_Unmarshal(b []byte) error
- type PBPoker
- func (*PBPoker) Descriptor() ([]byte, []int)
- func (m *PBPoker) GetCards() []int32
- func (m *PBPoker) GetPointer() int32
- func (*PBPoker) ProtoMessage()
- func (m *PBPoker) Reset()
- func (m *PBPoker) String() string
- func (m *PBPoker) XXX_DiscardUnknown()
- func (m *PBPoker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBPoker) XXX_Merge(src proto.Message)
- func (m *PBPoker) XXX_Size() int
- func (m *PBPoker) XXX_Unmarshal(b []byte) error
- type PBQueryReq
- func (*PBQueryReq) Descriptor() ([]byte, []int)
- func (m *PBQueryReq) GetFee() int64
- func (m *PBQueryReq) GetGameId() string
- func (*PBQueryReq) ProtoMessage()
- func (m *PBQueryReq) Reset()
- func (m *PBQueryReq) String() string
- func (m *PBQueryReq) XXX_DiscardUnknown()
- func (m *PBQueryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBQueryReq) XXX_Merge(src proto.Message)
- func (m *PBQueryReq) XXX_Size() int
- func (m *PBQueryReq) XXX_Unmarshal(b []byte) error
- type PBQuitTxReq
- func (*PBQuitTxReq) Descriptor() ([]byte, []int)
- func (m *PBQuitTxReq) GetFee() int64
- func (m *PBQuitTxReq) GetGameId() string
- func (*PBQuitTxReq) ProtoMessage()
- func (m *PBQuitTxReq) Reset()
- func (m *PBQuitTxReq) String() string
- func (m *PBQuitTxReq) XXX_DiscardUnknown()
- func (m *PBQuitTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBQuitTxReq) XXX_Merge(src proto.Message)
- func (m *PBQuitTxReq) XXX_Size() int
- func (m *PBQuitTxReq) XXX_Unmarshal(b []byte) error
- type PBResult
- func (*PBResult) Descriptor() ([]byte, []int)
- func (m *PBResult) GetDealer() string
- func (m *PBResult) GetDealerLeverage() int32
- func (m *PBResult) GetHands() []*PBHand
- func (m *PBResult) GetLeverage() int32
- func (m *PBResult) GetWinner() string
- func (*PBResult) ProtoMessage()
- func (m *PBResult) Reset()
- func (m *PBResult) String() string
- func (m *PBResult) XXX_DiscardUnknown()
- func (m *PBResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBResult) XXX_Merge(src proto.Message)
- func (m *PBResult) XXX_Size() int
- func (m *PBResult) XXX_Unmarshal(b []byte) error
- type PBStartTxReq
- func (*PBStartTxReq) Descriptor() ([]byte, []int)
- func (m *PBStartTxReq) GetFee() int64
- func (m *PBStartTxReq) GetPlayerNum() int32
- func (m *PBStartTxReq) GetValue() int64
- func (*PBStartTxReq) ProtoMessage()
- func (m *PBStartTxReq) Reset()
- func (m *PBStartTxReq) String() string
- func (m *PBStartTxReq) XXX_DiscardUnknown()
- func (m *PBStartTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBStartTxReq) XXX_Merge(src proto.Message)
- func (m *PBStartTxReq) XXX_Size() int
- func (m *PBStartTxReq) XXX_Unmarshal(b []byte) error
- type PokerBull
- func (*PokerBull) Descriptor() ([]byte, []int)
- func (m *PokerBull) GetDealerAddr() string
- func (m *PokerBull) GetGameId() string
- func (m *PokerBull) GetIndex() int64
- func (m *PokerBull) GetIsWaiting() bool
- func (m *PokerBull) GetPlayerNum() int32
- func (m *PokerBull) GetPlayers() []*PBPlayer
- func (m *PokerBull) GetPoker() *PBPoker
- func (m *PokerBull) GetPreStatus() int32
- func (m *PokerBull) GetPrevIndex() int64
- func (m *PokerBull) GetQuitTime() string
- func (m *PokerBull) GetQuitTxHash() string
- func (m *PokerBull) GetResults() []*PBResult
- func (m *PokerBull) GetRound() int32
- func (m *PokerBull) GetStartTime() string
- func (m *PokerBull) GetStartTxHash() string
- func (m *PokerBull) GetStatus() int32
- func (m *PokerBull) GetValue() int64
- func (*PokerBull) ProtoMessage()
- func (m *PokerBull) Reset()
- func (m *PokerBull) String() string
- func (m *PokerBull) XXX_DiscardUnknown()
- func (m *PokerBull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PokerBull) XXX_Merge(src proto.Message)
- func (m *PokerBull) XXX_Size() int
- func (m *PokerBull) XXX_Unmarshal(b []byte) error
- type PokerBullType
- type QueryPBGameByRound
- func (*QueryPBGameByRound) Descriptor() ([]byte, []int)
- func (m *QueryPBGameByRound) GetGameId() string
- func (m *QueryPBGameByRound) GetRound() int32
- func (*QueryPBGameByRound) ProtoMessage()
- func (m *QueryPBGameByRound) Reset()
- func (m *QueryPBGameByRound) String() string
- func (m *QueryPBGameByRound) XXX_DiscardUnknown()
- func (m *QueryPBGameByRound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPBGameByRound) XXX_Merge(src proto.Message)
- func (m *QueryPBGameByRound) XXX_Size() int
- func (m *QueryPBGameByRound) XXX_Unmarshal(b []byte) error
- type QueryPBGameInfo
- func (*QueryPBGameInfo) Descriptor() ([]byte, []int)
- func (m *QueryPBGameInfo) GetAddr() string
- func (m *QueryPBGameInfo) GetGameId() string
- func (m *QueryPBGameInfo) GetIndex() int64
- func (m *QueryPBGameInfo) GetStatus() int32
- func (*QueryPBGameInfo) ProtoMessage()
- func (m *QueryPBGameInfo) Reset()
- func (m *QueryPBGameInfo) String() string
- func (m *QueryPBGameInfo) XXX_DiscardUnknown()
- func (m *QueryPBGameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPBGameInfo) XXX_Merge(src proto.Message)
- func (m *QueryPBGameInfo) XXX_Size() int
- func (m *QueryPBGameInfo) XXX_Unmarshal(b []byte) error
- type QueryPBGameInfos
- func (*QueryPBGameInfos) Descriptor() ([]byte, []int)
- func (m *QueryPBGameInfos) GetGameIds() []string
- func (*QueryPBGameInfos) ProtoMessage()
- func (m *QueryPBGameInfos) Reset()
- func (m *QueryPBGameInfos) String() string
- func (m *QueryPBGameInfos) XXX_DiscardUnknown()
- func (m *QueryPBGameInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPBGameInfos) XXX_Merge(src proto.Message)
- func (m *QueryPBGameInfos) XXX_Size() int
- func (m *QueryPBGameInfos) XXX_Unmarshal(b []byte) error
- type QueryPBGameListByStatusAndPlayerNum
- func (*QueryPBGameListByStatusAndPlayerNum) Descriptor() ([]byte, []int)
- func (m *QueryPBGameListByStatusAndPlayerNum) GetIndex() int64
- func (m *QueryPBGameListByStatusAndPlayerNum) GetPlayerNum() int32
- func (m *QueryPBGameListByStatusAndPlayerNum) GetStatus() int32
- func (*QueryPBGameListByStatusAndPlayerNum) ProtoMessage()
- func (m *QueryPBGameListByStatusAndPlayerNum) Reset()
- func (m *QueryPBGameListByStatusAndPlayerNum) String() string
- func (m *QueryPBGameListByStatusAndPlayerNum) XXX_DiscardUnknown()
- func (m *QueryPBGameListByStatusAndPlayerNum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPBGameListByStatusAndPlayerNum) XXX_Merge(src proto.Message)
- func (m *QueryPBGameListByStatusAndPlayerNum) XXX_Size() int
- func (m *QueryPBGameListByStatusAndPlayerNum) XXX_Unmarshal(b []byte) error
- type ReceiptPBGame
- func (*ReceiptPBGame) Descriptor() ([]byte, []int)
- func (m *ReceiptPBGame) GetAddr() string
- func (m *ReceiptPBGame) GetGameId() string
- func (m *ReceiptPBGame) GetIndex() int64
- func (m *ReceiptPBGame) GetIsWaiting() bool
- func (m *ReceiptPBGame) GetPlayerNum() int32
- func (m *ReceiptPBGame) GetPlayers() []string
- func (m *ReceiptPBGame) GetPreStatus() int32
- func (m *ReceiptPBGame) GetPrevIndex() int64
- func (m *ReceiptPBGame) GetRound() int32
- func (m *ReceiptPBGame) GetStatus() int32
- func (m *ReceiptPBGame) GetValue() int64
- func (*ReceiptPBGame) ProtoMessage()
- func (m *ReceiptPBGame) Reset()
- func (m *ReceiptPBGame) String() string
- func (m *ReceiptPBGame) XXX_DiscardUnknown()
- func (m *ReceiptPBGame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptPBGame) XXX_Merge(src proto.Message)
- func (m *ReceiptPBGame) XXX_Size() int
- func (m *ReceiptPBGame) XXX_Unmarshal(b []byte) error
- type ReplyPBGame
- func (*ReplyPBGame) Descriptor() ([]byte, []int)
- func (m *ReplyPBGame) GetGame() *PokerBull
- func (*ReplyPBGame) ProtoMessage()
- func (m *ReplyPBGame) Reset()
- func (m *ReplyPBGame) String() string
- func (m *ReplyPBGame) XXX_DiscardUnknown()
- func (m *ReplyPBGame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyPBGame) XXX_Merge(src proto.Message)
- func (m *ReplyPBGame) XXX_Size() int
- func (m *ReplyPBGame) XXX_Unmarshal(b []byte) error
- type ReplyPBGameByRound
- func (*ReplyPBGameByRound) Descriptor() ([]byte, []int)
- func (m *ReplyPBGameByRound) GetGameId() string
- func (m *ReplyPBGameByRound) GetIsWaiting() bool
- func (m *ReplyPBGameByRound) GetPlayers() []*PBPlayer
- func (m *ReplyPBGameByRound) GetResult() *PBResult
- func (m *ReplyPBGameByRound) GetReturn() int64
- func (m *ReplyPBGameByRound) GetStatus() int32
- func (m *ReplyPBGameByRound) GetValue() int64
- func (*ReplyPBGameByRound) ProtoMessage()
- func (m *ReplyPBGameByRound) Reset()
- func (m *ReplyPBGameByRound) String() string
- func (m *ReplyPBGameByRound) XXX_DiscardUnknown()
- func (m *ReplyPBGameByRound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyPBGameByRound) XXX_Merge(src proto.Message)
- func (m *ReplyPBGameByRound) XXX_Size() int
- func (m *ReplyPBGameByRound) XXX_Unmarshal(b []byte) error
- type ReplyPBGameList
- func (*ReplyPBGameList) Descriptor() ([]byte, []int)
- func (m *ReplyPBGameList) GetGames() []*PokerBull
- func (*ReplyPBGameList) ProtoMessage()
- func (m *ReplyPBGameList) Reset()
- func (m *ReplyPBGameList) String() string
- func (m *ReplyPBGameList) XXX_DiscardUnknown()
- func (m *ReplyPBGameList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyPBGameList) XXX_Merge(src proto.Message)
- func (m *ReplyPBGameList) XXX_Size() int
- func (m *ReplyPBGameList) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( PBGameActionStart = iota + 1 PBGameActionContinue PBGameActionQuit PBGameActionQuery PBGameActionPlay )
game action ty
View Source
const ( // PlayStyleDefault 默认游戏类型 PlayStyleDefault = iota + 1 // PlayStyleDealer 庄家玩法 PlayStyleDealer )
View Source
const ( // TyLogPBGameStart log for start PBgame TyLogPBGameStart = 721 // TyLogPBGameContinue log for continue PBgame TyLogPBGameContinue = 722 // TyLogPBGameQuit log for quit PBgame TyLogPBGameQuit = 723 // TyLogPBGameQuery log for query PBgame TyLogPBGameQuery = 724 // TyLogPBGamePlay log for play PBgame TyLogPBGamePlay = 725 )
View Source
const ( // FuncNameQueryGameListByIDs 根据id列表查询game列表 FuncNameQueryGameListByIDs = "QueryGameListByIDs" // FuncNameQueryGameByID 根据id查询game FuncNameQueryGameByID = "QueryGameByID" // FuncNameQueryGameByAddr 根据地址查询game FuncNameQueryGameByAddr = "QueryGameByAddr" // FuncNameQueryGameByStatus 根据status查询game FuncNameQueryGameByStatus = "QueryGameByStatus" // FuncNameQueryGameByRound 查询某一回合游戏结果 FuncNameQueryGameByRound = "QueryGameByRound" // CreateStartTx 创建开始交易 CreateStartTx = "Start" // CreateContinueTx 创建继续交易 CreateContinueTx = "Continue" // CreateQuitTx 创建退出交易 CreateQuitTx = "Quit" // CreatePlayTx 创建已匹配玩家交易 CreatePlayTx = "Play" )
View Source
const ( // ListDESC 降序 ListDESC = int32(0) // DefaultCount 默认一次取多少条记录 DefaultCount = int32(20) // MaxPlayerNum 最大玩家数 MaxPlayerNum = 5 // MinPlayerNum 最小玩家数 MinPlayerNum = 2 // MinPlayValue 最小赌注 MinPlayValue = 10 * types.Coin // DefaultStyle 默认游戏类型 DefaultStyle = PlayStyleDefault // PlatformAddress 平台地址 PlatformAddress = "1PHtChNt3UcfssR7v7trKSk3WJtAWjKjjX" // PlatformFee 平台佣金 PlatformFee = int64(0.005 * float64(types.Coin)) // DeveloperAddress 开发着地址 DeveloperAddress = "1D6RFZNp2rh6QdbcZ1d7RWuBUz61We6SD7" // DeveloperFee 开发者佣金 DeveloperFee = int64(0.005 * float64(types.Coin)) // WinnerReturn 赢家回报率 WinnerReturn = types.Coin - DeveloperFee - PlatformFee // PlatformSignAddress 平台签名地址 PlatformSignAddress = "1Geb4ppNiAwMKKyrJgcis3JA57FkqsXvdR" )
Variables ¶
View Source
var ( JRPCName = "pokerbull" PokerBullX = "pokerbull" ExecerPokerBull = []byte(PokerBullX) )
包的名字可以通过配置文件来配置 建议用github的组织名称,或者用户名字开头, 再加上自己的插件的名字 如果发生重名,可以通过配置文件修改这些名字
Functions ¶
This section is empty.
Types ¶
type PBContinueTxReq ¶
type PBContinueTxReq struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBContinueTxReq) Descriptor ¶
func (*PBContinueTxReq) Descriptor() ([]byte, []int)
func (*PBContinueTxReq) GetFee ¶
func (m *PBContinueTxReq) GetFee() int64
func (*PBContinueTxReq) GetGameId ¶
func (m *PBContinueTxReq) GetGameId() string
func (*PBContinueTxReq) ProtoMessage ¶
func (*PBContinueTxReq) ProtoMessage()
func (*PBContinueTxReq) Reset ¶
func (m *PBContinueTxReq) Reset()
func (*PBContinueTxReq) String ¶
func (m *PBContinueTxReq) String() string
func (*PBContinueTxReq) XXX_DiscardUnknown ¶
func (m *PBContinueTxReq) XXX_DiscardUnknown()
func (*PBContinueTxReq) XXX_Marshal ¶
func (m *PBContinueTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBContinueTxReq) XXX_Merge ¶
func (m *PBContinueTxReq) XXX_Merge(src proto.Message)
func (*PBContinueTxReq) XXX_Size ¶
func (m *PBContinueTxReq) XXX_Size() int
func (*PBContinueTxReq) XXX_Unmarshal ¶
func (m *PBContinueTxReq) XXX_Unmarshal(b []byte) error
type PBGameAction ¶
type PBGameAction struct { // Types that are valid to be assigned to Value: // *PBGameAction_Start // *PBGameAction_Continue // *PBGameAction_Quit // *PBGameAction_Query // *PBGameAction_Play Value isPBGameAction_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,10,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
游戏状态
func (*PBGameAction) Descriptor ¶
func (*PBGameAction) Descriptor() ([]byte, []int)
func (*PBGameAction) GetContinue ¶
func (m *PBGameAction) GetContinue() *PBGameContinue
func (*PBGameAction) GetPlay ¶
func (m *PBGameAction) GetPlay() *PBGamePlay
func (*PBGameAction) GetQuery ¶
func (m *PBGameAction) GetQuery() *PBGameQuery
func (*PBGameAction) GetQuit ¶
func (m *PBGameAction) GetQuit() *PBGameQuit
func (*PBGameAction) GetStart ¶
func (m *PBGameAction) GetStart() *PBGameStart
func (*PBGameAction) GetTy ¶
func (m *PBGameAction) GetTy() int32
func (*PBGameAction) GetValue ¶
func (m *PBGameAction) GetValue() isPBGameAction_Value
func (*PBGameAction) ProtoMessage ¶
func (*PBGameAction) ProtoMessage()
func (*PBGameAction) Reset ¶
func (m *PBGameAction) Reset()
func (*PBGameAction) String ¶
func (m *PBGameAction) String() string
func (*PBGameAction) XXX_DiscardUnknown ¶
func (m *PBGameAction) XXX_DiscardUnknown()
func (*PBGameAction) XXX_Marshal ¶
func (m *PBGameAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameAction) XXX_Merge ¶
func (m *PBGameAction) XXX_Merge(src proto.Message)
func (*PBGameAction) XXX_OneofFuncs ¶
func (*PBGameAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*PBGameAction) XXX_Size ¶
func (m *PBGameAction) XXX_Size() int
func (*PBGameAction) XXX_Unmarshal ¶
func (m *PBGameAction) XXX_Unmarshal(b []byte) error
type PBGameAction_Continue ¶
type PBGameAction_Continue struct {
Continue *PBGameContinue `protobuf:"bytes,2,opt,name=continue,proto3,oneof"`
}
type PBGameAction_Play ¶
type PBGameAction_Play struct {
Play *PBGamePlay `protobuf:"bytes,5,opt,name=play,proto3,oneof"`
}
type PBGameAction_Query ¶
type PBGameAction_Query struct {
Query *PBGameQuery `protobuf:"bytes,4,opt,name=query,proto3,oneof"`
}
type PBGameAction_Quit ¶
type PBGameAction_Quit struct {
Quit *PBGameQuit `protobuf:"bytes,3,opt,name=quit,proto3,oneof"`
}
type PBGameAction_Start ¶
type PBGameAction_Start struct {
Start *PBGameStart `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}
type PBGameContinue ¶
type PBGameContinue struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
游戏继续
func (*PBGameContinue) Descriptor ¶
func (*PBGameContinue) Descriptor() ([]byte, []int)
func (*PBGameContinue) GetGameId ¶
func (m *PBGameContinue) GetGameId() string
func (*PBGameContinue) ProtoMessage ¶
func (*PBGameContinue) ProtoMessage()
func (*PBGameContinue) Reset ¶
func (m *PBGameContinue) Reset()
func (*PBGameContinue) String ¶
func (m *PBGameContinue) String() string
func (*PBGameContinue) XXX_DiscardUnknown ¶
func (m *PBGameContinue) XXX_DiscardUnknown()
func (*PBGameContinue) XXX_Marshal ¶
func (m *PBGameContinue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameContinue) XXX_Merge ¶
func (m *PBGameContinue) XXX_Merge(src proto.Message)
func (*PBGameContinue) XXX_Size ¶
func (m *PBGameContinue) XXX_Size() int
func (*PBGameContinue) XXX_Unmarshal ¶
func (m *PBGameContinue) XXX_Unmarshal(b []byte) error
type PBGameIndexRecord ¶
type PBGameIndexRecord struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBGameIndexRecord) Descriptor ¶
func (*PBGameIndexRecord) Descriptor() ([]byte, []int)
func (*PBGameIndexRecord) GetGameId ¶
func (m *PBGameIndexRecord) GetGameId() string
func (*PBGameIndexRecord) GetIndex ¶
func (m *PBGameIndexRecord) GetIndex() int64
func (*PBGameIndexRecord) ProtoMessage ¶
func (*PBGameIndexRecord) ProtoMessage()
func (*PBGameIndexRecord) Reset ¶
func (m *PBGameIndexRecord) Reset()
func (*PBGameIndexRecord) String ¶
func (m *PBGameIndexRecord) String() string
func (*PBGameIndexRecord) XXX_DiscardUnknown ¶
func (m *PBGameIndexRecord) XXX_DiscardUnknown()
func (*PBGameIndexRecord) XXX_Marshal ¶
func (m *PBGameIndexRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameIndexRecord) XXX_Merge ¶
func (m *PBGameIndexRecord) XXX_Merge(src proto.Message)
func (*PBGameIndexRecord) XXX_Size ¶
func (m *PBGameIndexRecord) XXX_Size() int
func (*PBGameIndexRecord) XXX_Unmarshal ¶
func (m *PBGameIndexRecord) XXX_Unmarshal(b []byte) error
type PBGameIndexRecords ¶
type PBGameIndexRecords struct { Records []*PBGameIndexRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBGameIndexRecords) Descriptor ¶
func (*PBGameIndexRecords) Descriptor() ([]byte, []int)
func (*PBGameIndexRecords) GetRecords ¶
func (m *PBGameIndexRecords) GetRecords() []*PBGameIndexRecord
func (*PBGameIndexRecords) ProtoMessage ¶
func (*PBGameIndexRecords) ProtoMessage()
func (*PBGameIndexRecords) Reset ¶
func (m *PBGameIndexRecords) Reset()
func (*PBGameIndexRecords) String ¶
func (m *PBGameIndexRecords) String() string
func (*PBGameIndexRecords) XXX_DiscardUnknown ¶
func (m *PBGameIndexRecords) XXX_DiscardUnknown()
func (*PBGameIndexRecords) XXX_Marshal ¶
func (m *PBGameIndexRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameIndexRecords) XXX_Merge ¶
func (m *PBGameIndexRecords) XXX_Merge(src proto.Message)
func (*PBGameIndexRecords) XXX_Size ¶
func (m *PBGameIndexRecords) XXX_Size() int
func (*PBGameIndexRecords) XXX_Unmarshal ¶
func (m *PBGameIndexRecords) XXX_Unmarshal(b []byte) error
type PBGamePlay ¶
type PBGamePlay struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` Address []string `protobuf:"bytes,4,rep,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
已匹配玩家直接游戏
func (*PBGamePlay) Descriptor ¶
func (*PBGamePlay) Descriptor() ([]byte, []int)
func (*PBGamePlay) GetAddress ¶
func (m *PBGamePlay) GetAddress() []string
func (*PBGamePlay) GetGameId ¶
func (m *PBGamePlay) GetGameId() string
func (*PBGamePlay) GetRound ¶
func (m *PBGamePlay) GetRound() int32
func (*PBGamePlay) GetValue ¶
func (m *PBGamePlay) GetValue() int64
func (*PBGamePlay) ProtoMessage ¶
func (*PBGamePlay) ProtoMessage()
func (*PBGamePlay) Reset ¶
func (m *PBGamePlay) Reset()
func (*PBGamePlay) String ¶
func (m *PBGamePlay) String() string
func (*PBGamePlay) XXX_DiscardUnknown ¶
func (m *PBGamePlay) XXX_DiscardUnknown()
func (*PBGamePlay) XXX_Marshal ¶
func (m *PBGamePlay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGamePlay) XXX_Merge ¶
func (m *PBGamePlay) XXX_Merge(src proto.Message)
func (*PBGamePlay) XXX_Size ¶
func (m *PBGamePlay) XXX_Size() int
func (*PBGamePlay) XXX_Unmarshal ¶
func (m *PBGamePlay) XXX_Unmarshal(b []byte) error
type PBGameQuery ¶
type PBGameQuery struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询游戏结果
func (*PBGameQuery) Descriptor ¶
func (*PBGameQuery) Descriptor() ([]byte, []int)
func (*PBGameQuery) GetGameId ¶
func (m *PBGameQuery) GetGameId() string
func (*PBGameQuery) ProtoMessage ¶
func (*PBGameQuery) ProtoMessage()
func (*PBGameQuery) Reset ¶
func (m *PBGameQuery) Reset()
func (*PBGameQuery) String ¶
func (m *PBGameQuery) String() string
func (*PBGameQuery) XXX_DiscardUnknown ¶
func (m *PBGameQuery) XXX_DiscardUnknown()
func (*PBGameQuery) XXX_Marshal ¶
func (m *PBGameQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameQuery) XXX_Merge ¶
func (m *PBGameQuery) XXX_Merge(src proto.Message)
func (*PBGameQuery) XXX_Size ¶
func (m *PBGameQuery) XXX_Size() int
func (*PBGameQuery) XXX_Unmarshal ¶
func (m *PBGameQuery) XXX_Unmarshal(b []byte) error
type PBGameQuit ¶
type PBGameQuit struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
游戏结束
func (*PBGameQuit) Descriptor ¶
func (*PBGameQuit) Descriptor() ([]byte, []int)
func (*PBGameQuit) GetGameId ¶
func (m *PBGameQuit) GetGameId() string
func (*PBGameQuit) ProtoMessage ¶
func (*PBGameQuit) ProtoMessage()
func (*PBGameQuit) Reset ¶
func (m *PBGameQuit) Reset()
func (*PBGameQuit) String ¶
func (m *PBGameQuit) String() string
func (*PBGameQuit) XXX_DiscardUnknown ¶
func (m *PBGameQuit) XXX_DiscardUnknown()
func (*PBGameQuit) XXX_Marshal ¶
func (m *PBGameQuit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameQuit) XXX_Merge ¶
func (m *PBGameQuit) XXX_Merge(src proto.Message)
func (*PBGameQuit) XXX_Size ¶
func (m *PBGameQuit) XXX_Size() int
func (*PBGameQuit) XXX_Unmarshal ¶
func (m *PBGameQuit) XXX_Unmarshal(b []byte) error
type PBGameRecord ¶
type PBGameRecord struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
索引value值
func (*PBGameRecord) Descriptor ¶
func (*PBGameRecord) Descriptor() ([]byte, []int)
func (*PBGameRecord) GetGameId ¶
func (m *PBGameRecord) GetGameId() string
func (*PBGameRecord) GetIndex ¶
func (m *PBGameRecord) GetIndex() int64
func (*PBGameRecord) GetStatus ¶
func (m *PBGameRecord) GetStatus() int32
func (*PBGameRecord) ProtoMessage ¶
func (*PBGameRecord) ProtoMessage()
func (*PBGameRecord) Reset ¶
func (m *PBGameRecord) Reset()
func (*PBGameRecord) String ¶
func (m *PBGameRecord) String() string
func (*PBGameRecord) XXX_DiscardUnknown ¶
func (m *PBGameRecord) XXX_DiscardUnknown()
func (*PBGameRecord) XXX_Marshal ¶
func (m *PBGameRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameRecord) XXX_Merge ¶
func (m *PBGameRecord) XXX_Merge(src proto.Message)
func (*PBGameRecord) XXX_Size ¶
func (m *PBGameRecord) XXX_Size() int
func (*PBGameRecord) XXX_Unmarshal ¶
func (m *PBGameRecord) XXX_Unmarshal(b []byte) error
type PBGameRecords ¶
type PBGameRecords struct { Records []*PBGameRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBGameRecords) Descriptor ¶
func (*PBGameRecords) Descriptor() ([]byte, []int)
func (*PBGameRecords) GetRecords ¶
func (m *PBGameRecords) GetRecords() []*PBGameRecord
func (*PBGameRecords) ProtoMessage ¶
func (*PBGameRecords) ProtoMessage()
func (*PBGameRecords) Reset ¶
func (m *PBGameRecords) Reset()
func (*PBGameRecords) String ¶
func (m *PBGameRecords) String() string
func (*PBGameRecords) XXX_DiscardUnknown ¶
func (m *PBGameRecords) XXX_DiscardUnknown()
func (*PBGameRecords) XXX_Marshal ¶
func (m *PBGameRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameRecords) XXX_Merge ¶
func (m *PBGameRecords) XXX_Merge(src proto.Message)
func (*PBGameRecords) XXX_Size ¶
func (m *PBGameRecords) XXX_Size() int
func (*PBGameRecords) XXX_Unmarshal ¶
func (m *PBGameRecords) XXX_Unmarshal(b []byte) error
type PBGameStart ¶
type PBGameStart struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` PlayerNum int32 `protobuf:"varint,2,opt,name=playerNum,proto3" json:"playerNum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
游戏启动
func (*PBGameStart) Descriptor ¶
func (*PBGameStart) Descriptor() ([]byte, []int)
func (*PBGameStart) GetPlayerNum ¶
func (m *PBGameStart) GetPlayerNum() int32
func (*PBGameStart) GetValue ¶
func (m *PBGameStart) GetValue() int64
func (*PBGameStart) ProtoMessage ¶
func (*PBGameStart) ProtoMessage()
func (*PBGameStart) Reset ¶
func (m *PBGameStart) Reset()
func (*PBGameStart) String ¶
func (m *PBGameStart) String() string
func (*PBGameStart) XXX_DiscardUnknown ¶
func (m *PBGameStart) XXX_DiscardUnknown()
func (*PBGameStart) XXX_Marshal ¶
func (m *PBGameStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBGameStart) XXX_Merge ¶
func (m *PBGameStart) XXX_Merge(src proto.Message)
func (*PBGameStart) XXX_Size ¶
func (m *PBGameStart) XXX_Size() int
func (*PBGameStart) XXX_Unmarshal ¶
func (m *PBGameStart) XXX_Unmarshal(b []byte) error
type PBHand ¶
type PBHand struct { Cards []int32 `protobuf:"varint,1,rep,packed,name=cards,proto3" json:"cards,omitempty"` Result int32 `protobuf:"varint,2,opt,name=result,proto3" json:"result,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` IsWin bool `protobuf:"varint,4,opt,name=isWin,proto3" json:"isWin,omitempty"` Leverage int32 `protobuf:"varint,5,opt,name=leverage,proto3" json:"leverage,omitempty"` RoundTime string `protobuf:"bytes,6,opt,name=roundTime,proto3" json:"roundTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
一把牌
func (*PBHand) Descriptor ¶
func (*PBHand) GetAddress ¶
func (*PBHand) GetLeverage ¶
func (*PBHand) GetRoundTime ¶
func (*PBHand) ProtoMessage ¶
func (*PBHand) ProtoMessage()
func (*PBHand) XXX_DiscardUnknown ¶
func (m *PBHand) XXX_DiscardUnknown()
func (*PBHand) XXX_Marshal ¶
func (*PBHand) XXX_Unmarshal ¶
type PBPlayer ¶
type PBPlayer struct { Hands []*PBHand `protobuf:"bytes,1,rep,name=hands,proto3" json:"hands,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` TxHash int64 `protobuf:"varint,3,opt,name=txHash,proto3" json:"txHash,omitempty"` Ready bool `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"` MatchTime string `protobuf:"bytes,5,opt,name=matchTime,proto3" json:"matchTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
玩家
func (*PBPlayer) Descriptor ¶
func (*PBPlayer) GetAddress ¶
func (*PBPlayer) GetMatchTime ¶
func (*PBPlayer) ProtoMessage ¶
func (*PBPlayer) ProtoMessage()
func (*PBPlayer) XXX_DiscardUnknown ¶
func (m *PBPlayer) XXX_DiscardUnknown()
func (*PBPlayer) XXX_Marshal ¶
func (*PBPlayer) XXX_Unmarshal ¶
type PBPoker ¶
type PBPoker struct { Cards []int32 `protobuf:"varint,1,rep,packed,name=cards,proto3" json:"cards,omitempty"` Pointer int32 `protobuf:"varint,2,opt,name=pointer,proto3" json:"pointer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
扑克牌
func (*PBPoker) Descriptor ¶
func (*PBPoker) GetPointer ¶
func (*PBPoker) ProtoMessage ¶
func (*PBPoker) ProtoMessage()
func (*PBPoker) XXX_DiscardUnknown ¶
func (m *PBPoker) XXX_DiscardUnknown()
func (*PBPoker) XXX_Marshal ¶
func (*PBPoker) XXX_Unmarshal ¶
type PBQueryReq ¶
type PBQueryReq struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBQueryReq) Descriptor ¶
func (*PBQueryReq) Descriptor() ([]byte, []int)
func (*PBQueryReq) GetFee ¶
func (m *PBQueryReq) GetFee() int64
func (*PBQueryReq) GetGameId ¶
func (m *PBQueryReq) GetGameId() string
func (*PBQueryReq) ProtoMessage ¶
func (*PBQueryReq) ProtoMessage()
func (*PBQueryReq) Reset ¶
func (m *PBQueryReq) Reset()
func (*PBQueryReq) String ¶
func (m *PBQueryReq) String() string
func (*PBQueryReq) XXX_DiscardUnknown ¶
func (m *PBQueryReq) XXX_DiscardUnknown()
func (*PBQueryReq) XXX_Marshal ¶
func (m *PBQueryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBQueryReq) XXX_Merge ¶
func (m *PBQueryReq) XXX_Merge(src proto.Message)
func (*PBQueryReq) XXX_Size ¶
func (m *PBQueryReq) XXX_Size() int
func (*PBQueryReq) XXX_Unmarshal ¶
func (m *PBQueryReq) XXX_Unmarshal(b []byte) error
type PBQuitTxReq ¶
type PBQuitTxReq struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBQuitTxReq) Descriptor ¶
func (*PBQuitTxReq) Descriptor() ([]byte, []int)
func (*PBQuitTxReq) GetFee ¶
func (m *PBQuitTxReq) GetFee() int64
func (*PBQuitTxReq) GetGameId ¶
func (m *PBQuitTxReq) GetGameId() string
func (*PBQuitTxReq) ProtoMessage ¶
func (*PBQuitTxReq) ProtoMessage()
func (*PBQuitTxReq) Reset ¶
func (m *PBQuitTxReq) Reset()
func (*PBQuitTxReq) String ¶
func (m *PBQuitTxReq) String() string
func (*PBQuitTxReq) XXX_DiscardUnknown ¶
func (m *PBQuitTxReq) XXX_DiscardUnknown()
func (*PBQuitTxReq) XXX_Marshal ¶
func (m *PBQuitTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBQuitTxReq) XXX_Merge ¶
func (m *PBQuitTxReq) XXX_Merge(src proto.Message)
func (*PBQuitTxReq) XXX_Size ¶
func (m *PBQuitTxReq) XXX_Size() int
func (*PBQuitTxReq) XXX_Unmarshal ¶
func (m *PBQuitTxReq) XXX_Unmarshal(b []byte) error
type PBResult ¶
type PBResult struct { Hands []*PBHand `protobuf:"bytes,1,rep,name=hands,proto3" json:"hands,omitempty"` Winner string `protobuf:"bytes,2,opt,name=winner,proto3" json:"winner,omitempty"` Leverage int32 `protobuf:"varint,3,opt,name=leverage,proto3" json:"leverage,omitempty"` Dealer string `protobuf:"bytes,4,opt,name=dealer,proto3" json:"dealer,omitempty"` DealerLeverage int32 `protobuf:"varint,5,opt,name=dealerLeverage,proto3" json:"dealerLeverage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
本局游戏结果
func (*PBResult) Descriptor ¶
func (*PBResult) GetDealerLeverage ¶
func (*PBResult) GetLeverage ¶
func (*PBResult) ProtoMessage ¶
func (*PBResult) ProtoMessage()
func (*PBResult) XXX_DiscardUnknown ¶
func (m *PBResult) XXX_DiscardUnknown()
func (*PBResult) XXX_Marshal ¶
func (*PBResult) XXX_Unmarshal ¶
type PBStartTxReq ¶
type PBStartTxReq struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` PlayerNum int32 `protobuf:"varint,2,opt,name=playerNum,proto3" json:"playerNum,omitempty"` Fee int64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBStartTxReq) Descriptor ¶
func (*PBStartTxReq) Descriptor() ([]byte, []int)
func (*PBStartTxReq) GetFee ¶
func (m *PBStartTxReq) GetFee() int64
func (*PBStartTxReq) GetPlayerNum ¶
func (m *PBStartTxReq) GetPlayerNum() int32
func (*PBStartTxReq) GetValue ¶
func (m *PBStartTxReq) GetValue() int64
func (*PBStartTxReq) ProtoMessage ¶
func (*PBStartTxReq) ProtoMessage()
func (*PBStartTxReq) Reset ¶
func (m *PBStartTxReq) Reset()
func (*PBStartTxReq) String ¶
func (m *PBStartTxReq) String() string
func (*PBStartTxReq) XXX_DiscardUnknown ¶
func (m *PBStartTxReq) XXX_DiscardUnknown()
func (*PBStartTxReq) XXX_Marshal ¶
func (m *PBStartTxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBStartTxReq) XXX_Merge ¶
func (m *PBStartTxReq) XXX_Merge(src proto.Message)
func (*PBStartTxReq) XXX_Size ¶
func (m *PBStartTxReq) XXX_Size() int
func (*PBStartTxReq) XXX_Unmarshal ¶
func (m *PBStartTxReq) XXX_Unmarshal(b []byte) error
type PokerBull ¶
type PokerBull struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` StartTime string `protobuf:"bytes,3,opt,name=startTime,proto3" json:"startTime,omitempty"` StartTxHash string `protobuf:"bytes,4,opt,name=startTxHash,proto3" json:"startTxHash,omitempty"` Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` Poker *PBPoker `protobuf:"bytes,6,opt,name=poker,proto3" json:"poker,omitempty"` Players []*PBPlayer `protobuf:"bytes,7,rep,name=players,proto3" json:"players,omitempty"` PlayerNum int32 `protobuf:"varint,8,opt,name=playerNum,proto3" json:"playerNum,omitempty"` Results []*PBResult `protobuf:"bytes,9,rep,name=results,proto3" json:"results,omitempty"` Index int64 `protobuf:"varint,10,opt,name=index,proto3" json:"index,omitempty"` PrevIndex int64 `protobuf:"varint,11,opt,name=prevIndex,proto3" json:"prevIndex,omitempty"` QuitTime string `protobuf:"bytes,12,opt,name=quitTime,proto3" json:"quitTime,omitempty"` QuitTxHash string `protobuf:"bytes,13,opt,name=quitTxHash,proto3" json:"quitTxHash,omitempty"` DealerAddr string `protobuf:"bytes,14,opt,name=dealerAddr,proto3" json:"dealerAddr,omitempty"` IsWaiting bool `protobuf:"varint,15,opt,name=isWaiting,proto3" json:"isWaiting,omitempty"` PreStatus int32 `protobuf:"varint,16,opt,name=preStatus,proto3" json:"preStatus,omitempty"` Round int32 `protobuf:"varint,17,opt,name=round,proto3" json:"round,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
斗牛游戏内容
func (*PokerBull) Descriptor ¶
func (*PokerBull) GetDealerAddr ¶
func (*PokerBull) GetIsWaiting ¶
func (*PokerBull) GetPlayerNum ¶
func (*PokerBull) GetPlayers ¶
func (*PokerBull) GetPreStatus ¶
func (*PokerBull) GetPrevIndex ¶
func (*PokerBull) GetQuitTime ¶
func (*PokerBull) GetQuitTxHash ¶
func (*PokerBull) GetResults ¶
func (*PokerBull) GetStartTime ¶
func (*PokerBull) GetStartTxHash ¶
func (*PokerBull) ProtoMessage ¶
func (*PokerBull) ProtoMessage()
func (*PokerBull) XXX_DiscardUnknown ¶
func (m *PokerBull) XXX_DiscardUnknown()
func (*PokerBull) XXX_Marshal ¶
func (*PokerBull) XXX_Unmarshal ¶
type PokerBullType ¶
type PokerBullType struct {
types.ExecTypeBase
}
PokerBullType 斗牛执行器类型
func (*PokerBullType) GetLogMap ¶
func (t *PokerBullType) GetLogMap() map[int64]*types.LogInfo
GetLogMap 获取日志map
func (*PokerBullType) GetPayload ¶
func (t *PokerBullType) GetPayload() types.Message
GetPayload 获取payload
func (*PokerBullType) GetTypeMap ¶
func (t *PokerBullType) GetTypeMap() map[string]int32
GetTypeMap 获取类型map
type QueryPBGameByRound ¶
type QueryPBGameByRound struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
QueryPBGameByRound 根据gameId和回合数查询某回合的游戏结果
func (*QueryPBGameByRound) Descriptor ¶
func (*QueryPBGameByRound) Descriptor() ([]byte, []int)
func (*QueryPBGameByRound) GetGameId ¶
func (m *QueryPBGameByRound) GetGameId() string
func (*QueryPBGameByRound) GetRound ¶
func (m *QueryPBGameByRound) GetRound() int32
func (*QueryPBGameByRound) ProtoMessage ¶
func (*QueryPBGameByRound) ProtoMessage()
func (*QueryPBGameByRound) Reset ¶
func (m *QueryPBGameByRound) Reset()
func (*QueryPBGameByRound) String ¶
func (m *QueryPBGameByRound) String() string
func (*QueryPBGameByRound) XXX_DiscardUnknown ¶
func (m *QueryPBGameByRound) XXX_DiscardUnknown()
func (*QueryPBGameByRound) XXX_Marshal ¶
func (m *QueryPBGameByRound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPBGameByRound) XXX_Merge ¶
func (m *QueryPBGameByRound) XXX_Merge(src proto.Message)
func (*QueryPBGameByRound) XXX_Size ¶
func (m *QueryPBGameByRound) XXX_Size() int
func (*QueryPBGameByRound) XXX_Unmarshal ¶
func (m *QueryPBGameByRound) XXX_Unmarshal(b []byte) error
type QueryPBGameInfo ¶
type QueryPBGameInfo struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` Index int64 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*QueryPBGameInfo) Descriptor ¶
func (*QueryPBGameInfo) Descriptor() ([]byte, []int)
func (*QueryPBGameInfo) GetAddr ¶
func (m *QueryPBGameInfo) GetAddr() string
func (*QueryPBGameInfo) GetGameId ¶
func (m *QueryPBGameInfo) GetGameId() string
func (*QueryPBGameInfo) GetIndex ¶
func (m *QueryPBGameInfo) GetIndex() int64
func (*QueryPBGameInfo) GetStatus ¶
func (m *QueryPBGameInfo) GetStatus() int32
func (*QueryPBGameInfo) ProtoMessage ¶
func (*QueryPBGameInfo) ProtoMessage()
func (*QueryPBGameInfo) Reset ¶
func (m *QueryPBGameInfo) Reset()
func (*QueryPBGameInfo) String ¶
func (m *QueryPBGameInfo) String() string
func (*QueryPBGameInfo) XXX_DiscardUnknown ¶
func (m *QueryPBGameInfo) XXX_DiscardUnknown()
func (*QueryPBGameInfo) XXX_Marshal ¶
func (m *QueryPBGameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPBGameInfo) XXX_Merge ¶
func (m *QueryPBGameInfo) XXX_Merge(src proto.Message)
func (*QueryPBGameInfo) XXX_Size ¶
func (m *QueryPBGameInfo) XXX_Size() int
func (*QueryPBGameInfo) XXX_Unmarshal ¶
func (m *QueryPBGameInfo) XXX_Unmarshal(b []byte) error
type QueryPBGameInfos ¶
type QueryPBGameInfos struct { GameIds []string `protobuf:"bytes,1,rep,name=gameIds,proto3" json:"gameIds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*QueryPBGameInfos) Descriptor ¶
func (*QueryPBGameInfos) Descriptor() ([]byte, []int)
func (*QueryPBGameInfos) GetGameIds ¶
func (m *QueryPBGameInfos) GetGameIds() []string
func (*QueryPBGameInfos) ProtoMessage ¶
func (*QueryPBGameInfos) ProtoMessage()
func (*QueryPBGameInfos) Reset ¶
func (m *QueryPBGameInfos) Reset()
func (*QueryPBGameInfos) String ¶
func (m *QueryPBGameInfos) String() string
func (*QueryPBGameInfos) XXX_DiscardUnknown ¶
func (m *QueryPBGameInfos) XXX_DiscardUnknown()
func (*QueryPBGameInfos) XXX_Marshal ¶
func (m *QueryPBGameInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPBGameInfos) XXX_Merge ¶
func (m *QueryPBGameInfos) XXX_Merge(src proto.Message)
func (*QueryPBGameInfos) XXX_Size ¶
func (m *QueryPBGameInfos) XXX_Size() int
func (*QueryPBGameInfos) XXX_Unmarshal ¶
func (m *QueryPBGameInfos) XXX_Unmarshal(b []byte) error
type QueryPBGameListByStatusAndPlayerNum ¶
type QueryPBGameListByStatusAndPlayerNum struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` PlayerNum int32 `protobuf:"varint,2,opt,name=playerNum,proto3" json:"playerNum,omitempty"` Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
根据状态和游戏人数查找
func (*QueryPBGameListByStatusAndPlayerNum) Descriptor ¶
func (*QueryPBGameListByStatusAndPlayerNum) Descriptor() ([]byte, []int)
func (*QueryPBGameListByStatusAndPlayerNum) GetIndex ¶
func (m *QueryPBGameListByStatusAndPlayerNum) GetIndex() int64
func (*QueryPBGameListByStatusAndPlayerNum) GetPlayerNum ¶
func (m *QueryPBGameListByStatusAndPlayerNum) GetPlayerNum() int32
func (*QueryPBGameListByStatusAndPlayerNum) GetStatus ¶
func (m *QueryPBGameListByStatusAndPlayerNum) GetStatus() int32
func (*QueryPBGameListByStatusAndPlayerNum) ProtoMessage ¶
func (*QueryPBGameListByStatusAndPlayerNum) ProtoMessage()
func (*QueryPBGameListByStatusAndPlayerNum) Reset ¶
func (m *QueryPBGameListByStatusAndPlayerNum) Reset()
func (*QueryPBGameListByStatusAndPlayerNum) String ¶
func (m *QueryPBGameListByStatusAndPlayerNum) String() string
func (*QueryPBGameListByStatusAndPlayerNum) XXX_DiscardUnknown ¶
func (m *QueryPBGameListByStatusAndPlayerNum) XXX_DiscardUnknown()
func (*QueryPBGameListByStatusAndPlayerNum) XXX_Marshal ¶
func (m *QueryPBGameListByStatusAndPlayerNum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPBGameListByStatusAndPlayerNum) XXX_Merge ¶
func (m *QueryPBGameListByStatusAndPlayerNum) XXX_Merge(src proto.Message)
func (*QueryPBGameListByStatusAndPlayerNum) XXX_Size ¶
func (m *QueryPBGameListByStatusAndPlayerNum) XXX_Size() int
func (*QueryPBGameListByStatusAndPlayerNum) XXX_Unmarshal ¶
func (m *QueryPBGameListByStatusAndPlayerNum) XXX_Unmarshal(b []byte) error
type ReceiptPBGame ¶
type ReceiptPBGame struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` Index int64 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` PrevIndex int64 `protobuf:"varint,5,opt,name=prevIndex,proto3" json:"prevIndex,omitempty"` PlayerNum int32 `protobuf:"varint,6,opt,name=playerNum,proto3" json:"playerNum,omitempty"` Value int64 `protobuf:"varint,7,opt,name=value,proto3" json:"value,omitempty"` IsWaiting bool `protobuf:"varint,8,opt,name=isWaiting,proto3" json:"isWaiting,omitempty"` Players []string `protobuf:"bytes,9,rep,name=players,proto3" json:"players,omitempty"` PreStatus int32 `protobuf:"varint,10,opt,name=preStatus,proto3" json:"preStatus,omitempty"` Round int32 `protobuf:"varint,11,opt,name=round,proto3" json:"round,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptPBGame) Descriptor ¶
func (*ReceiptPBGame) Descriptor() ([]byte, []int)
func (*ReceiptPBGame) GetAddr ¶
func (m *ReceiptPBGame) GetAddr() string
func (*ReceiptPBGame) GetGameId ¶
func (m *ReceiptPBGame) GetGameId() string
func (*ReceiptPBGame) GetIndex ¶
func (m *ReceiptPBGame) GetIndex() int64
func (*ReceiptPBGame) GetIsWaiting ¶
func (m *ReceiptPBGame) GetIsWaiting() bool
func (*ReceiptPBGame) GetPlayerNum ¶
func (m *ReceiptPBGame) GetPlayerNum() int32
func (*ReceiptPBGame) GetPlayers ¶
func (m *ReceiptPBGame) GetPlayers() []string
func (*ReceiptPBGame) GetPreStatus ¶
func (m *ReceiptPBGame) GetPreStatus() int32
func (*ReceiptPBGame) GetPrevIndex ¶
func (m *ReceiptPBGame) GetPrevIndex() int64
func (*ReceiptPBGame) GetRound ¶
func (m *ReceiptPBGame) GetRound() int32
func (*ReceiptPBGame) GetStatus ¶
func (m *ReceiptPBGame) GetStatus() int32
func (*ReceiptPBGame) GetValue ¶
func (m *ReceiptPBGame) GetValue() int64
func (*ReceiptPBGame) ProtoMessage ¶
func (*ReceiptPBGame) ProtoMessage()
func (*ReceiptPBGame) Reset ¶
func (m *ReceiptPBGame) Reset()
func (*ReceiptPBGame) String ¶
func (m *ReceiptPBGame) String() string
func (*ReceiptPBGame) XXX_DiscardUnknown ¶
func (m *ReceiptPBGame) XXX_DiscardUnknown()
func (*ReceiptPBGame) XXX_Marshal ¶
func (m *ReceiptPBGame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptPBGame) XXX_Merge ¶
func (m *ReceiptPBGame) XXX_Merge(src proto.Message)
func (*ReceiptPBGame) XXX_Size ¶
func (m *ReceiptPBGame) XXX_Size() int
func (*ReceiptPBGame) XXX_Unmarshal ¶
func (m *ReceiptPBGame) XXX_Unmarshal(b []byte) error
type ReplyPBGame ¶
type ReplyPBGame struct { Game *PokerBull `protobuf:"bytes,1,opt,name=game,proto3" json:"game,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyPBGame) Descriptor ¶
func (*ReplyPBGame) Descriptor() ([]byte, []int)
func (*ReplyPBGame) GetGame ¶
func (m *ReplyPBGame) GetGame() *PokerBull
func (*ReplyPBGame) ProtoMessage ¶
func (*ReplyPBGame) ProtoMessage()
func (*ReplyPBGame) Reset ¶
func (m *ReplyPBGame) Reset()
func (*ReplyPBGame) String ¶
func (m *ReplyPBGame) String() string
func (*ReplyPBGame) XXX_DiscardUnknown ¶
func (m *ReplyPBGame) XXX_DiscardUnknown()
func (*ReplyPBGame) XXX_Marshal ¶
func (m *ReplyPBGame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyPBGame) XXX_Merge ¶
func (m *ReplyPBGame) XXX_Merge(src proto.Message)
func (*ReplyPBGame) XXX_Size ¶
func (m *ReplyPBGame) XXX_Size() int
func (*ReplyPBGame) XXX_Unmarshal ¶
func (m *ReplyPBGame) XXX_Unmarshal(b []byte) error
type ReplyPBGameByRound ¶
type ReplyPBGameByRound struct { GameId string `protobuf:"bytes,1,opt,name=gameId,proto3" json:"gameId,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Result *PBResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` IsWaiting bool `protobuf:"varint,4,opt,name=isWaiting,proto3" json:"isWaiting,omitempty"` Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` Players []*PBPlayer `protobuf:"bytes,6,rep,name=players,proto3" json:"players,omitempty"` Return int64 `protobuf:"varint,7,opt,name=return,proto3" json:"return,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReplyPBGameByRound 某一回合游戏结果
func (*ReplyPBGameByRound) Descriptor ¶
func (*ReplyPBGameByRound) Descriptor() ([]byte, []int)
func (*ReplyPBGameByRound) GetGameId ¶
func (m *ReplyPBGameByRound) GetGameId() string
func (*ReplyPBGameByRound) GetIsWaiting ¶
func (m *ReplyPBGameByRound) GetIsWaiting() bool
func (*ReplyPBGameByRound) GetPlayers ¶
func (m *ReplyPBGameByRound) GetPlayers() []*PBPlayer
func (*ReplyPBGameByRound) GetResult ¶
func (m *ReplyPBGameByRound) GetResult() *PBResult
func (*ReplyPBGameByRound) GetReturn ¶
func (m *ReplyPBGameByRound) GetReturn() int64
func (*ReplyPBGameByRound) GetStatus ¶
func (m *ReplyPBGameByRound) GetStatus() int32
func (*ReplyPBGameByRound) GetValue ¶
func (m *ReplyPBGameByRound) GetValue() int64
func (*ReplyPBGameByRound) ProtoMessage ¶
func (*ReplyPBGameByRound) ProtoMessage()
func (*ReplyPBGameByRound) Reset ¶
func (m *ReplyPBGameByRound) Reset()
func (*ReplyPBGameByRound) String ¶
func (m *ReplyPBGameByRound) String() string
func (*ReplyPBGameByRound) XXX_DiscardUnknown ¶
func (m *ReplyPBGameByRound) XXX_DiscardUnknown()
func (*ReplyPBGameByRound) XXX_Marshal ¶
func (m *ReplyPBGameByRound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyPBGameByRound) XXX_Merge ¶
func (m *ReplyPBGameByRound) XXX_Merge(src proto.Message)
func (*ReplyPBGameByRound) XXX_Size ¶
func (m *ReplyPBGameByRound) XXX_Size() int
func (*ReplyPBGameByRound) XXX_Unmarshal ¶
func (m *ReplyPBGameByRound) XXX_Unmarshal(b []byte) error
type ReplyPBGameList ¶
type ReplyPBGameList struct { Games []*PokerBull `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyPBGameList) Descriptor ¶
func (*ReplyPBGameList) Descriptor() ([]byte, []int)
func (*ReplyPBGameList) GetGames ¶
func (m *ReplyPBGameList) GetGames() []*PokerBull
func (*ReplyPBGameList) ProtoMessage ¶
func (*ReplyPBGameList) ProtoMessage()
func (*ReplyPBGameList) Reset ¶
func (m *ReplyPBGameList) Reset()
func (*ReplyPBGameList) String ¶
func (m *ReplyPBGameList) String() string
func (*ReplyPBGameList) XXX_DiscardUnknown ¶
func (m *ReplyPBGameList) XXX_DiscardUnknown()
func (*ReplyPBGameList) XXX_Marshal ¶
func (m *ReplyPBGameList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyPBGameList) XXX_Merge ¶
func (m *ReplyPBGameList) XXX_Merge(src proto.Message)
func (*ReplyPBGameList) XXX_Size ¶
func (m *ReplyPBGameList) XXX_Size() int
func (*ReplyPBGameList) XXX_Unmarshal ¶
func (m *ReplyPBGameList) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.