|
|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.28.1
|
|
|
|
|
// protoc v3.21.12
|
|
|
|
|
// protoc v3.17.3
|
|
|
|
|
// source: poker.proto
|
|
|
|
|
|
|
|
|
|
package api |
|
|
|
|
@ -1267,6 +1267,7 @@ type TablePlayer struct {
|
|
|
|
|
Master bool `protobuf:"varint,8,opt,name=master,proto3" json:"master,omitempty"` // 是否房主
|
|
|
|
|
RoundBetTimes int32 `protobuf:"varint,11,opt,name=roundBetTimes,proto3" json:"roundBetTimes,omitempty"` // 该局下注次数
|
|
|
|
|
TotalBetChip int32 `protobuf:"varint,13,opt,name=totalBetChip,proto3" json:"totalBetChip,omitempty"` // 该局牌已下注筹码
|
|
|
|
|
HandType *HandType `protobuf:"bytes,12,opt,name=handType,proto3" json:"handType,omitempty"` // 手牌组合牌型
|
|
|
|
|
BetRole *BetRole `protobuf:"bytes,14,opt,name=betRole,proto3" json:"betRole,omitempty"` // 下注时规则限制
|
|
|
|
|
HandCard []*Card `protobuf:"bytes,15,rep,name=handCard,proto3" json:"handCard,omitempty"` // 手牌
|
|
|
|
|
} |
|
|
|
|
@ -1373,6 +1374,13 @@ func (x *TablePlayer) GetTotalBetChip() int32 {
|
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *TablePlayer) GetHandType() *HandType { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.HandType |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *TablePlayer) GetBetRole() *BetRole { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.BetRole |
|
|
|
|
@ -1506,6 +1514,69 @@ func (x *BetRole) GetBetOpts() []int32 {
|
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type HandType struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
Hand string `protobuf:"bytes,1,opt,name=hand,proto3" json:"hand,omitempty"` |
|
|
|
|
HandZh string `protobuf:"bytes,2,opt,name=handZh,proto3" json:"handZh,omitempty"` |
|
|
|
|
Point int64 `protobuf:"varint,3,opt,name=point,proto3" json:"point,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *HandType) Reset() { |
|
|
|
|
*x = HandType{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[26] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *HandType) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*HandType) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *HandType) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[26] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
return ms |
|
|
|
|
} |
|
|
|
|
return mi.MessageOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Deprecated: Use HandType.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*HandType) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{26} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *HandType) GetHand() string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Hand |
|
|
|
|
} |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *HandType) GetHandZh() string { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.HandZh |
|
|
|
|
} |
|
|
|
|
return "" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *HandType) GetPoint() int64 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Point |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 开始游戏
|
|
|
|
|
type ReqGameStart struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
@ -1516,7 +1587,7 @@ type ReqGameStart struct {
|
|
|
|
|
func (x *ReqGameStart) Reset() { |
|
|
|
|
*x = ReqGameStart{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[26] |
|
|
|
|
mi := &file_poker_proto_msgTypes[27] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1529,7 +1600,7 @@ func (x *ReqGameStart) String() string {
|
|
|
|
|
func (*ReqGameStart) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqGameStart) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[26] |
|
|
|
|
mi := &file_poker_proto_msgTypes[27] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1542,7 +1613,7 @@ func (x *ReqGameStart) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqGameStart.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqGameStart) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{26} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{27} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 解散房间
|
|
|
|
|
@ -1555,7 +1626,7 @@ type ReqDismissGameTable struct {
|
|
|
|
|
func (x *ReqDismissGameTable) Reset() { |
|
|
|
|
*x = ReqDismissGameTable{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[27] |
|
|
|
|
mi := &file_poker_proto_msgTypes[28] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1568,7 +1639,7 @@ func (x *ReqDismissGameTable) String() string {
|
|
|
|
|
func (*ReqDismissGameTable) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqDismissGameTable) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[27] |
|
|
|
|
mi := &file_poker_proto_msgTypes[28] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1581,7 +1652,7 @@ func (x *ReqDismissGameTable) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqDismissGameTable.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqDismissGameTable) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{27} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{28} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type ResDismissGameTable struct { |
|
|
|
|
@ -1593,7 +1664,7 @@ type ResDismissGameTable struct {
|
|
|
|
|
func (x *ResDismissGameTable) Reset() { |
|
|
|
|
*x = ResDismissGameTable{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[28] |
|
|
|
|
mi := &file_poker_proto_msgTypes[29] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1606,7 +1677,7 @@ func (x *ResDismissGameTable) String() string {
|
|
|
|
|
func (*ResDismissGameTable) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResDismissGameTable) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[28] |
|
|
|
|
mi := &file_poker_proto_msgTypes[29] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1619,7 +1690,7 @@ func (x *ResDismissGameTable) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResDismissGameTable.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResDismissGameTable) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{28} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{29} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 下注
|
|
|
|
|
@ -1635,7 +1706,7 @@ type ReqBetting struct {
|
|
|
|
|
func (x *ReqBetting) Reset() { |
|
|
|
|
*x = ReqBetting{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[29] |
|
|
|
|
mi := &file_poker_proto_msgTypes[30] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1648,7 +1719,7 @@ func (x *ReqBetting) String() string {
|
|
|
|
|
func (*ReqBetting) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqBetting) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[29] |
|
|
|
|
mi := &file_poker_proto_msgTypes[30] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1661,7 +1732,7 @@ func (x *ReqBetting) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqBetting.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqBetting) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{29} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{30} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ReqBetting) GetBetType() int32 { |
|
|
|
|
@ -1693,7 +1764,7 @@ type ResNoticePlayerLine struct {
|
|
|
|
|
func (x *ResNoticePlayerLine) Reset() { |
|
|
|
|
*x = ResNoticePlayerLine{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[30] |
|
|
|
|
mi := &file_poker_proto_msgTypes[31] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1706,7 +1777,7 @@ func (x *ResNoticePlayerLine) String() string {
|
|
|
|
|
func (*ResNoticePlayerLine) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResNoticePlayerLine) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[30] |
|
|
|
|
mi := &file_poker_proto_msgTypes[31] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1719,7 +1790,7 @@ func (x *ResNoticePlayerLine) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResNoticePlayerLine.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResNoticePlayerLine) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{30} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{31} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResNoticePlayerLine) GetPlayerId() int64 { |
|
|
|
|
@ -1761,7 +1832,7 @@ type ResGameEndSettle struct {
|
|
|
|
|
func (x *ResGameEndSettle) Reset() { |
|
|
|
|
*x = ResGameEndSettle{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[31] |
|
|
|
|
mi := &file_poker_proto_msgTypes[32] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1774,7 +1845,7 @@ func (x *ResGameEndSettle) String() string {
|
|
|
|
|
func (*ResGameEndSettle) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResGameEndSettle) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[31] |
|
|
|
|
mi := &file_poker_proto_msgTypes[32] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1787,7 +1858,7 @@ func (x *ResGameEndSettle) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResGameEndSettle.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResGameEndSettle) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{31} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{32} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResGameEndSettle) GetGame() *ResGameFullStatus { |
|
|
|
|
@ -1809,7 +1880,7 @@ type ResCalcWinnerChip struct {
|
|
|
|
|
func (x *ResCalcWinnerChip) Reset() { |
|
|
|
|
*x = ResCalcWinnerChip{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[32] |
|
|
|
|
mi := &file_poker_proto_msgTypes[33] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1822,7 +1893,7 @@ func (x *ResCalcWinnerChip) String() string {
|
|
|
|
|
func (*ResCalcWinnerChip) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResCalcWinnerChip) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[32] |
|
|
|
|
mi := &file_poker_proto_msgTypes[33] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1835,7 +1906,7 @@ func (x *ResCalcWinnerChip) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResCalcWinnerChip.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResCalcWinnerChip) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{32} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{33} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResCalcWinnerChip) GetWinsChip() map[int64]int32 { |
|
|
|
|
@ -1857,7 +1928,7 @@ type ResGameNextRound struct {
|
|
|
|
|
func (x *ResGameNextRound) Reset() { |
|
|
|
|
*x = ResGameNextRound{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[33] |
|
|
|
|
mi := &file_poker_proto_msgTypes[34] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1870,7 +1941,7 @@ func (x *ResGameNextRound) String() string {
|
|
|
|
|
func (*ResGameNextRound) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResGameNextRound) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[33] |
|
|
|
|
mi := &file_poker_proto_msgTypes[34] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1883,7 +1954,7 @@ func (x *ResGameNextRound) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResGameNextRound.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResGameNextRound) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{33} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{34} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResGameNextRound) GetRound() int32 { |
|
|
|
|
@ -1987,7 +2058,7 @@ var file_poker_proto_rawDesc = []byte{
|
|
|
|
|
0x61, 0x72, 0x64, 0x12, 0x2a, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x0f, |
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, |
|
|
|
|
0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x22, |
|
|
|
|
0xe4, 0x02, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, |
|
|
|
|
0x8f, 0x03, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, |
|
|
|
|
0x14, 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, |
|
|
|
|
0x72, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, |
|
|
|
|
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, |
|
|
|
|
@ -2004,53 +2075,60 @@ var file_poker_proto_rawDesc = []byte{
|
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x65, 0x74, 0x54, 0x69, |
|
|
|
|
0x6d, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x65, 0x74, 0x43, |
|
|
|
|
0x68, 0x69, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, |
|
|
|
|
0x42, 0x65, 0x74, 0x43, 0x68, 0x69, 0x70, 0x12, 0x26, 0x0a, 0x07, 0x62, 0x65, 0x74, 0x52, 0x6f, |
|
|
|
|
0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, |
|
|
|
|
0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x07, 0x62, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, |
|
|
|
|
0x25, 0x0a, 0x08, 0x68, 0x61, 0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x18, 0x0f, 0x20, 0x03, 0x28, |
|
|
|
|
0x0b, 0x32, 0x09, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x08, 0x68, 0x61, |
|
|
|
|
0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x22, 0x2c, 0x0a, 0x04, 0x43, 0x61, 0x72, 0x64, 0x12, 0x10, |
|
|
|
|
0x0a, 0x03, 0x64, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x6f, 0x74, |
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x73, 0x75, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
|
|
|
|
0x73, 0x75, 0x69, 0x74, 0x22, 0x53, 0x0a, 0x07, 0x42, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, |
|
|
|
|
0x16, 0x0a, 0x06, 0x62, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, |
|
|
|
|
0x06, 0x62, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x65, 0x74, 0x4d, 0x61, |
|
|
|
|
0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x12, |
|
|
|
|
0x18, 0x0a, 0x07, 0x62, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x05, |
|
|
|
|
0x52, 0x07, 0x62, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, 0x71, |
|
|
|
|
0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x71, |
|
|
|
|
0x42, 0x65, 0x74, 0x43, 0x68, 0x69, 0x70, 0x12, 0x29, 0x0a, 0x08, 0x68, 0x61, 0x6e, 0x64, 0x54, |
|
|
|
|
0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x70, 0x69, 0x2e, |
|
|
|
|
0x48, 0x61, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x68, 0x61, 0x6e, 0x64, 0x54, 0x79, |
|
|
|
|
0x70, 0x65, 0x12, 0x26, 0x0a, 0x07, 0x62, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x0e, 0x20, |
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x65, 0x74, 0x52, 0x6f, 0x6c, |
|
|
|
|
0x65, 0x52, 0x07, 0x62, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x08, 0x68, 0x61, |
|
|
|
|
0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x61, |
|
|
|
|
0x70, 0x69, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x08, 0x68, 0x61, 0x6e, 0x64, 0x43, 0x61, 0x72, |
|
|
|
|
0x64, 0x22, 0x2c, 0x0a, 0x04, 0x43, 0x61, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x6f, 0x74, |
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, |
|
|
|
|
0x75, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x75, 0x69, 0x74, 0x22, |
|
|
|
|
0x53, 0x0a, 0x07, 0x42, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x65, |
|
|
|
|
0x74, 0x4d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x65, 0x74, 0x4d, |
|
|
|
|
0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, |
|
|
|
|
0x28, 0x05, 0x52, 0x06, 0x62, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x65, |
|
|
|
|
0x74, 0x4f, 0x70, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x62, 0x65, 0x74, |
|
|
|
|
0x4f, 0x70, 0x74, 0x73, 0x22, 0x4c, 0x0a, 0x08, 0x48, 0x61, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, |
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
|
|
|
|
0x68, 0x61, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x5a, 0x68, 0x18, 0x02, |
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x5a, 0x68, 0x12, 0x14, 0x0a, 0x05, |
|
|
|
|
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x6f, 0x69, |
|
|
|
|
0x6e, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, 0x71, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, |
|
|
|
|
0x72, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x71, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, |
|
|
|
|
0x47, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x73, |
|
|
|
|
0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, |
|
|
|
|
0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x47, 0x61, |
|
|
|
|
0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x40, 0x0a, 0x0a, 0x52, 0x65, 0x71, 0x42, 0x65, |
|
|
|
|
0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, |
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x62, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, |
|
|
|
|
0x18, 0x0a, 0x07, 0x62, 0x65, 0x74, 0x43, 0x68, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, |
|
|
|
|
0x52, 0x07, 0x62, 0x65, 0x74, 0x43, 0x68, 0x69, 0x70, 0x22, 0x73, 0x0a, 0x13, 0x52, 0x65, 0x73, |
|
|
|
|
0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, |
|
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, |
|
|
|
|
0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, |
|
|
|
|
0x6c, 0x69, 0x6e, 0x65, 0x31, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x69, 0x6e, |
|
|
|
|
0x65, 0x31, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x32, 0x18, 0x0c, 0x20, 0x01, 0x28, |
|
|
|
|
0x09, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x32, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, |
|
|
|
|
0x33, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x33, 0x22, 0x3e, |
|
|
|
|
0x0a, 0x10, 0x52, 0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x74, |
|
|
|
|
0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, |
|
|
|
|
0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x75, |
|
|
|
|
0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x22, 0x92, |
|
|
|
|
0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x43, 0x61, 0x6c, 0x63, 0x57, 0x69, 0x6e, 0x6e, 0x65, 0x72, |
|
|
|
|
0x43, 0x68, 0x69, 0x70, 0x12, 0x40, 0x0a, 0x08, 0x77, 0x69, 0x6e, 0x73, 0x43, 0x68, 0x69, 0x70, |
|
|
|
|
0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, |
|
|
|
|
0x43, 0x61, 0x6c, 0x63, 0x57, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x69, 0x70, 0x2e, 0x57, |
|
|
|
|
0x69, 0x6e, 0x73, 0x43, 0x68, 0x69, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x77, 0x69, |
|
|
|
|
0x6e, 0x73, 0x43, 0x68, 0x69, 0x70, 0x1a, 0x3b, 0x0a, 0x0d, 0x57, 0x69, 0x6e, 0x73, 0x43, 0x68, |
|
|
|
|
0x69, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, |
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, |
|
|
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, |
|
|
|
|
0x02, 0x38, 0x01, 0x22, 0x28, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x4e, 0x65, |
|
|
|
|
0x78, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, |
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x0b, 0x5a, |
|
|
|
|
0x09, 0x2e, 0x2f, 0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
|
|
|
|
0x6f, 0x33, |
|
|
|
|
0x22, 0x40, 0x0a, 0x0a, 0x52, 0x65, 0x71, 0x42, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x18, |
|
|
|
|
0x0a, 0x07, 0x62, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, |
|
|
|
|
0x07, 0x62, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x65, 0x74, 0x43, |
|
|
|
|
0x68, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x62, 0x65, 0x74, 0x43, 0x68, |
|
|
|
|
0x69, 0x70, 0x22, 0x73, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, |
|
|
|
|
0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, |
|
|
|
|
0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, |
|
|
|
|
0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x31, 0x18, 0x0b, |
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x31, 0x12, 0x14, 0x0a, 0x05, 0x6c, |
|
|
|
|
0x69, 0x6e, 0x65, 0x32, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, |
|
|
|
|
0x32, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x33, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, |
|
|
|
|
0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x33, 0x22, 0x3e, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x47, 0x61, |
|
|
|
|
0x6d, 0x65, 0x45, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x67, |
|
|
|
|
0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, |
|
|
|
|
0x52, 0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, |
|
|
|
|
0x73, 0x52, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x22, 0x92, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x43, |
|
|
|
|
0x61, 0x6c, 0x63, 0x57, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x68, 0x69, 0x70, 0x12, 0x40, 0x0a, |
|
|
|
|
0x08, 0x77, 0x69, 0x6e, 0x73, 0x43, 0x68, 0x69, 0x70, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, |
|
|
|
|
0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x43, 0x61, 0x6c, 0x63, 0x57, 0x69, 0x6e, |
|
|
|
|
0x6e, 0x65, 0x72, 0x43, 0x68, 0x69, 0x70, 0x2e, 0x57, 0x69, 0x6e, 0x73, 0x43, 0x68, 0x69, 0x70, |
|
|
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x77, 0x69, 0x6e, 0x73, 0x43, 0x68, 0x69, 0x70, 0x1a, |
|
|
|
|
0x3b, 0x0a, 0x0d, 0x57, 0x69, 0x6e, 0x73, 0x43, 0x68, 0x69, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, |
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, |
|
|
|
|
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
|
|
|
|
0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x28, 0x0a, 0x10, |
|
|
|
|
0x52, 0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x4e, 0x65, 0x78, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, |
|
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, |
|
|
|
|
0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x61, 0x70, 0x69, 0x3b, |
|
|
|
|
0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
|
@ -2065,7 +2143,7 @@ func file_poker_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_poker_proto_rawDescData |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var file_poker_proto_msgTypes = make([]protoimpl.MessageInfo, 35) |
|
|
|
|
var file_poker_proto_msgTypes = make([]protoimpl.MessageInfo, 36) |
|
|
|
|
var file_poker_proto_goTypes = []interface{}{ |
|
|
|
|
(*ProtoWrap)(nil), // 0: api.ProtoWrap
|
|
|
|
|
(*Ping)(nil), // 1: api.Ping
|
|
|
|
|
@ -2093,30 +2171,32 @@ var file_poker_proto_goTypes = []interface{}{
|
|
|
|
|
(*TablePlayer)(nil), // 23: api.TablePlayer
|
|
|
|
|
(*Card)(nil), // 24: api.Card
|
|
|
|
|
(*BetRole)(nil), // 25: api.BetRole
|
|
|
|
|
(*ReqGameStart)(nil), // 26: api.ReqGameStart
|
|
|
|
|
(*ReqDismissGameTable)(nil), // 27: api.ReqDismissGameTable
|
|
|
|
|
(*ResDismissGameTable)(nil), // 28: api.ResDismissGameTable
|
|
|
|
|
(*ReqBetting)(nil), // 29: api.ReqBetting
|
|
|
|
|
(*ResNoticePlayerLine)(nil), // 30: api.ResNoticePlayerLine
|
|
|
|
|
(*ResGameEndSettle)(nil), // 31: api.ResGameEndSettle
|
|
|
|
|
(*ResCalcWinnerChip)(nil), // 32: api.ResCalcWinnerChip
|
|
|
|
|
(*ResGameNextRound)(nil), // 33: api.ResGameNextRound
|
|
|
|
|
nil, // 34: api.ResCalcWinnerChip.WinsChipEntry
|
|
|
|
|
(*HandType)(nil), // 26: api.HandType
|
|
|
|
|
(*ReqGameStart)(nil), // 27: api.ReqGameStart
|
|
|
|
|
(*ReqDismissGameTable)(nil), // 28: api.ReqDismissGameTable
|
|
|
|
|
(*ResDismissGameTable)(nil), // 29: api.ResDismissGameTable
|
|
|
|
|
(*ReqBetting)(nil), // 30: api.ReqBetting
|
|
|
|
|
(*ResNoticePlayerLine)(nil), // 31: api.ResNoticePlayerLine
|
|
|
|
|
(*ResGameEndSettle)(nil), // 32: api.ResGameEndSettle
|
|
|
|
|
(*ResCalcWinnerChip)(nil), // 33: api.ResCalcWinnerChip
|
|
|
|
|
(*ResGameNextRound)(nil), // 34: api.ResGameNextRound
|
|
|
|
|
nil, // 35: api.ResCalcWinnerChip.WinsChipEntry
|
|
|
|
|
} |
|
|
|
|
var file_poker_proto_depIdxs = []int32{ |
|
|
|
|
9, // 0: api.ResLobbyView.tables:type_name -> api.LobbyTable
|
|
|
|
|
10, // 1: api.LobbyTable.players:type_name -> api.LobbyPlayer
|
|
|
|
|
24, // 2: api.ResGameFullStatus.publicCard:type_name -> api.Card
|
|
|
|
|
23, // 3: api.ResGameFullStatus.players:type_name -> api.TablePlayer
|
|
|
|
|
25, // 4: api.TablePlayer.betRole:type_name -> api.BetRole
|
|
|
|
|
24, // 5: api.TablePlayer.handCard:type_name -> api.Card
|
|
|
|
|
22, // 6: api.ResGameEndSettle.game:type_name -> api.ResGameFullStatus
|
|
|
|
|
34, // 7: api.ResCalcWinnerChip.winsChip:type_name -> api.ResCalcWinnerChip.WinsChipEntry
|
|
|
|
|
8, // [8:8] is the sub-list for method output_type
|
|
|
|
|
8, // [8:8] is the sub-list for method input_type
|
|
|
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
|
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:8] is the sub-list for field type_name
|
|
|
|
|
26, // 4: api.TablePlayer.handType:type_name -> api.HandType
|
|
|
|
|
25, // 5: api.TablePlayer.betRole:type_name -> api.BetRole
|
|
|
|
|
24, // 6: api.TablePlayer.handCard:type_name -> api.Card
|
|
|
|
|
22, // 7: api.ResGameEndSettle.game:type_name -> api.ResGameFullStatus
|
|
|
|
|
35, // 8: api.ResCalcWinnerChip.winsChip:type_name -> api.ResCalcWinnerChip.WinsChipEntry
|
|
|
|
|
9, // [9:9] is the sub-list for method output_type
|
|
|
|
|
9, // [9:9] is the sub-list for method input_type
|
|
|
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
|
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:9] is the sub-list for field type_name
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func init() { file_poker_proto_init() } |
|
|
|
|
@ -2438,7 +2518,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqGameStart); i { |
|
|
|
|
switch v := v.(*HandType); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -2450,7 +2530,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqDismissGameTable); i { |
|
|
|
|
switch v := v.(*ReqGameStart); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -2462,7 +2542,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResDismissGameTable); i { |
|
|
|
|
switch v := v.(*ReqDismissGameTable); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -2474,7 +2554,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqBetting); i { |
|
|
|
|
switch v := v.(*ResDismissGameTable); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -2486,7 +2566,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResNoticePlayerLine); i { |
|
|
|
|
switch v := v.(*ReqBetting); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -2498,7 +2578,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResGameEndSettle); i { |
|
|
|
|
switch v := v.(*ResNoticePlayerLine); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -2510,7 +2590,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResCalcWinnerChip); i { |
|
|
|
|
switch v := v.(*ResGameEndSettle); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -2522,6 +2602,18 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResCalcWinnerChip); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResGameNextRound); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
@ -2540,7 +2632,7 @@ func file_poker_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
|
|
|
|
RawDescriptor: file_poker_proto_rawDesc, |
|
|
|
|
NumEnums: 0, |
|
|
|
|
NumMessages: 35, |
|
|
|
|
NumMessages: 36, |
|
|
|
|
NumExtensions: 0, |
|
|
|
|
NumServices: 0, |
|
|
|
|
}, |
|
|
|
|
|