|
|
|
|
@ -864,7 +864,7 @@ type ReqKickOutTable struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
PlayerId int32 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"` |
|
|
|
|
PlayerId int64 `protobuf:"varint,1,opt,name=playerId,proto3" json:"playerId,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ReqKickOutTable) Reset() { |
|
|
|
|
@ -899,13 +899,52 @@ func (*ReqKickOutTable) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{16} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ReqKickOutTable) GetPlayerId() int32 { |
|
|
|
|
func (x *ReqKickOutTable) GetPlayerId() int64 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.PlayerId |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 被踢人接受消息
|
|
|
|
|
type ResKickOutTable struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResKickOutTable) Reset() { |
|
|
|
|
*x = ResKickOutTable{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[17] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResKickOutTable) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*ResKickOutTable) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResKickOutTable) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[17] |
|
|
|
|
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 ResKickOutTable.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResKickOutTable) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{17} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type ReqGameAction struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
@ -918,7 +957,7 @@ type ReqGameAction struct {
|
|
|
|
|
func (x *ReqGameAction) Reset() { |
|
|
|
|
*x = ReqGameAction{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[17] |
|
|
|
|
mi := &file_poker_proto_msgTypes[18] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -931,7 +970,7 @@ func (x *ReqGameAction) String() string {
|
|
|
|
|
func (*ReqGameAction) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqGameAction) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[17] |
|
|
|
|
mi := &file_poker_proto_msgTypes[18] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -944,7 +983,7 @@ func (x *ReqGameAction) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqGameAction.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqGameAction) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{17} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{18} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ReqGameAction) GetAction() int32 { |
|
|
|
|
@ -970,7 +1009,7 @@ type ResGameAction struct {
|
|
|
|
|
func (x *ResGameAction) Reset() { |
|
|
|
|
*x = ResGameAction{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[18] |
|
|
|
|
mi := &file_poker_proto_msgTypes[19] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -983,7 +1022,7 @@ func (x *ResGameAction) String() string {
|
|
|
|
|
func (*ResGameAction) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResGameAction) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[18] |
|
|
|
|
mi := &file_poker_proto_msgTypes[19] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -996,7 +1035,7 @@ func (x *ResGameAction) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResGameAction.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResGameAction) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{18} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{19} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 查询玩家当前游戏状态
|
|
|
|
|
@ -1009,7 +1048,7 @@ type ReqGameFullStatus struct {
|
|
|
|
|
func (x *ReqGameFullStatus) Reset() { |
|
|
|
|
*x = ReqGameFullStatus{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[19] |
|
|
|
|
mi := &file_poker_proto_msgTypes[20] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1022,7 +1061,7 @@ func (x *ReqGameFullStatus) String() string {
|
|
|
|
|
func (*ReqGameFullStatus) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqGameFullStatus) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[19] |
|
|
|
|
mi := &file_poker_proto_msgTypes[20] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1035,7 +1074,7 @@ func (x *ReqGameFullStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqGameFullStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqGameFullStatus) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{19} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{20} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type ResGameFullStatus struct { |
|
|
|
|
@ -1047,7 +1086,8 @@ type ResGameFullStatus struct {
|
|
|
|
|
TableNo int32 `protobuf:"varint,2,opt,name=tableNo,proto3" json:"tableNo,omitempty"` // 所在桌面编号
|
|
|
|
|
GameStage int32 `protobuf:"varint,3,opt,name=gameStage,proto3" json:"gameStage,omitempty"` // 游戏阶段?
|
|
|
|
|
Chip int32 `protobuf:"varint,4,opt,name=chip,proto3" json:"chip,omitempty"` // 牌桌筹码
|
|
|
|
|
RoundTimes int32 `protobuf:"varint,5,opt,name=RoundTimes,proto3" json:"RoundTimes,omitempty"` // 回合次数
|
|
|
|
|
RoundTimes int32 `protobuf:"varint,5,opt,name=roundTimes,proto3" json:"roundTimes,omitempty"` // 回合次数
|
|
|
|
|
PlayerId int64 `protobuf:"varint,6,opt,name=playerId,proto3" json:"playerId,omitempty"` // 当前玩家id
|
|
|
|
|
PublicCard []*Card `protobuf:"bytes,9,rep,name=publicCard,proto3" json:"publicCard,omitempty"` // 公共牌
|
|
|
|
|
Players []*TablePlayer `protobuf:"bytes,10,rep,name=players,proto3" json:"players,omitempty"` |
|
|
|
|
} |
|
|
|
|
@ -1055,7 +1095,7 @@ type ResGameFullStatus struct {
|
|
|
|
|
func (x *ResGameFullStatus) Reset() { |
|
|
|
|
*x = ResGameFullStatus{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[20] |
|
|
|
|
mi := &file_poker_proto_msgTypes[21] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1068,7 +1108,7 @@ func (x *ResGameFullStatus) String() string {
|
|
|
|
|
func (*ResGameFullStatus) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResGameFullStatus) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[20] |
|
|
|
|
mi := &file_poker_proto_msgTypes[21] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1081,7 +1121,7 @@ func (x *ResGameFullStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResGameFullStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResGameFullStatus) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{20} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{21} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResGameFullStatus) GetInGame() bool { |
|
|
|
|
@ -1119,6 +1159,13 @@ func (x *ResGameFullStatus) GetRoundTimes() int32 {
|
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResGameFullStatus) GetPlayerId() int64 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.PlayerId |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResGameFullStatus) GetPublicCard() []*Card { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.PublicCard |
|
|
|
|
@ -1151,7 +1198,7 @@ type TablePlayer struct {
|
|
|
|
|
func (x *TablePlayer) Reset() { |
|
|
|
|
*x = TablePlayer{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[21] |
|
|
|
|
mi := &file_poker_proto_msgTypes[22] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1164,7 +1211,7 @@ func (x *TablePlayer) String() string {
|
|
|
|
|
func (*TablePlayer) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *TablePlayer) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[21] |
|
|
|
|
mi := &file_poker_proto_msgTypes[22] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1177,7 +1224,7 @@ func (x *TablePlayer) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use TablePlayer.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TablePlayer) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{21} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{22} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *TablePlayer) GetRobot() bool { |
|
|
|
|
@ -1242,13 +1289,13 @@ type Card struct {
|
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
Dot int32 `protobuf:"varint,1,opt,name=dot,proto3" json:"dot,omitempty"` // 点数
|
|
|
|
|
Suit string `protobuf:"bytes,2,opt,name=suit,proto3" json:"suit,omitempty"` // 花色
|
|
|
|
|
Suit string `protobuf:"bytes,2,opt,name=suit,proto3" json:"suit,omitempty"` // 花色, protobuf默认值0, string类型区分空白牌
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Card) Reset() { |
|
|
|
|
*x = Card{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[22] |
|
|
|
|
mi := &file_poker_proto_msgTypes[23] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -1261,7 +1308,7 @@ func (x *Card) String() string {
|
|
|
|
|
func (*Card) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *Card) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[22] |
|
|
|
|
mi := &file_poker_proto_msgTypes[23] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -1274,7 +1321,7 @@ func (x *Card) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Card.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Card) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{22} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{23} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Card) GetDot() int32 { |
|
|
|
|
@ -1351,46 +1398,49 @@ var file_poker_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x0d, 0x52, 0x65, 0x71, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x22, |
|
|
|
|
0x2d, 0x0a, 0x0f, 0x52, 0x65, 0x71, 0x4b, 0x69, 0x63, 0x6b, 0x4f, 0x75, 0x74, 0x54, 0x61, 0x62, |
|
|
|
|
0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, |
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3b, |
|
|
|
|
0x0a, 0x0d, 0x52, 0x65, 0x71, 0x47, 0x61, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
|
|
|
|
0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, |
|
|
|
|
0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x68, 0x69, 0x70, 0x18, |
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x68, 0x69, 0x70, 0x22, 0x0f, 0x0a, 0x0d, 0x52, |
|
|
|
|
0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x13, 0x0a, 0x11, |
|
|
|
|
0x52, 0x65, 0x71, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, |
|
|
|
|
0x73, 0x22, 0xee, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x75, 0x6c, |
|
|
|
|
0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x47, 0x61, 0x6d, |
|
|
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x6e, 0x47, 0x61, 0x6d, 0x65, 0x12, |
|
|
|
|
0x18, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, |
|
|
|
|
0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x61, 0x6d, |
|
|
|
|
0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x61, |
|
|
|
|
0x6d, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x68, 0x69, 0x70, 0x18, |
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x68, 0x69, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x52, |
|
|
|
|
0x6f, 0x75, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, |
|
|
|
|
0x0a, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x0a, 0x70, |
|
|
|
|
0x75, 0x62, 0x6c, 0x69, 0x63, 0x43, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, |
|
|
|
|
0x09, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, |
|
|
|
|
0x69, 0x63, 0x43, 0x61, 0x72, 0x64, 0x12, 0x2a, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, |
|
|
|
|
0x73, 0x18, 0x0a, 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, 0xd2, 0x01, 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, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, |
|
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x04, |
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x12, 0x0a, 0x04, |
|
|
|
|
0x63, 0x68, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x68, 0x69, 0x70, |
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, |
|
|
|
|
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x73, 0x74, |
|
|
|
|
0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, |
|
|
|
|
0x12, 0x25, 0x0a, 0x08, 0x68, 0x61, 0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x18, 0x08, 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, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x61, 0x70, 0x69, 0x3b, 0x61, |
|
|
|
|
0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x22, 0x11, |
|
|
|
|
0x0a, 0x0f, 0x52, 0x65, 0x73, 0x4b, 0x69, 0x63, 0x6b, 0x4f, 0x75, 0x74, 0x54, 0x61, 0x62, 0x6c, |
|
|
|
|
0x65, 0x22, 0x3b, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x47, 0x61, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69, |
|
|
|
|
0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, |
|
|
|
|
0x28, 0x05, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x68, |
|
|
|
|
0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x68, 0x69, 0x70, 0x22, 0x0f, |
|
|
|
|
0x0a, 0x0d, 0x52, 0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, |
|
|
|
|
0x13, 0x0a, 0x11, 0x52, 0x65, 0x71, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, |
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x22, 0x8a, 0x02, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x47, 0x61, 0x6d, 0x65, |
|
|
|
|
0x46, 0x75, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, |
|
|
|
|
0x47, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x6e, 0x47, 0x61, |
|
|
|
|
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x18, 0x02, 0x20, |
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x12, 0x1c, 0x0a, 0x09, |
|
|
|
|
0x67, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, |
|
|
|
|
0x09, 0x67, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x68, |
|
|
|
|
0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x68, 0x69, 0x70, 0x12, 0x1e, |
|
|
|
|
0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, |
|
|
|
|
0x28, 0x05, 0x52, 0x0a, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x1a, |
|
|
|
|
0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, |
|
|
|
|
0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x75, |
|
|
|
|
0x62, 0x6c, 0x69, 0x63, 0x43, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, |
|
|
|
|
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, |
|
|
|
|
0x63, 0x43, 0x61, 0x72, 0x64, 0x12, 0x2a, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, |
|
|
|
|
0x18, 0x0a, 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, 0xd2, 0x01, 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, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, |
|
|
|
|
0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x04, 0x20, |
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, |
|
|
|
|
0x68, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x68, 0x69, 0x70, 0x12, |
|
|
|
|
0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, |
|
|
|
|
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x73, 0x74, 0x65, |
|
|
|
|
0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, |
|
|
|
|
0x25, 0x0a, 0x08, 0x68, 0x61, 0x6e, 0x64, 0x43, 0x61, 0x72, 0x64, 0x18, 0x08, 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, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, |
|
|
|
|
0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
|
@ -1405,7 +1455,7 @@ func file_poker_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_poker_proto_rawDescData |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var file_poker_proto_msgTypes = make([]protoimpl.MessageInfo, 23) |
|
|
|
|
var file_poker_proto_msgTypes = make([]protoimpl.MessageInfo, 24) |
|
|
|
|
var file_poker_proto_goTypes = []interface{}{ |
|
|
|
|
(*ProtoWrap)(nil), // 0: api.ProtoWrap
|
|
|
|
|
(*Ping)(nil), // 1: api.Ping
|
|
|
|
|
@ -1424,19 +1474,20 @@ var file_poker_proto_goTypes = []interface{}{
|
|
|
|
|
(*ReqLeaveTable)(nil), // 14: api.ReqLeaveTable
|
|
|
|
|
(*ReqReadyStart)(nil), // 15: api.ReqReadyStart
|
|
|
|
|
(*ReqKickOutTable)(nil), // 16: api.ReqKickOutTable
|
|
|
|
|
(*ReqGameAction)(nil), // 17: api.ReqGameAction
|
|
|
|
|
(*ResGameAction)(nil), // 18: api.ResGameAction
|
|
|
|
|
(*ReqGameFullStatus)(nil), // 19: api.ReqGameFullStatus
|
|
|
|
|
(*ResGameFullStatus)(nil), // 20: api.ResGameFullStatus
|
|
|
|
|
(*TablePlayer)(nil), // 21: api.TablePlayer
|
|
|
|
|
(*Card)(nil), // 22: api.Card
|
|
|
|
|
(*ResKickOutTable)(nil), // 17: api.ResKickOutTable
|
|
|
|
|
(*ReqGameAction)(nil), // 18: api.ReqGameAction
|
|
|
|
|
(*ResGameAction)(nil), // 19: api.ResGameAction
|
|
|
|
|
(*ReqGameFullStatus)(nil), // 20: api.ReqGameFullStatus
|
|
|
|
|
(*ResGameFullStatus)(nil), // 21: api.ResGameFullStatus
|
|
|
|
|
(*TablePlayer)(nil), // 22: api.TablePlayer
|
|
|
|
|
(*Card)(nil), // 23: api.Card
|
|
|
|
|
} |
|
|
|
|
var file_poker_proto_depIdxs = []int32{ |
|
|
|
|
9, // 0: api.ResLobbyView.tables:type_name -> api.LobbyTable
|
|
|
|
|
10, // 1: api.LobbyTable.players:type_name -> api.LobbyPlayer
|
|
|
|
|
22, // 2: api.ResGameFullStatus.publicCard:type_name -> api.Card
|
|
|
|
|
21, // 3: api.ResGameFullStatus.players:type_name -> api.TablePlayer
|
|
|
|
|
22, // 4: api.TablePlayer.handCard:type_name -> api.Card
|
|
|
|
|
23, // 2: api.ResGameFullStatus.publicCard:type_name -> api.Card
|
|
|
|
|
22, // 3: api.ResGameFullStatus.players:type_name -> api.TablePlayer
|
|
|
|
|
23, // 4: api.TablePlayer.handCard:type_name -> api.Card
|
|
|
|
|
5, // [5:5] is the sub-list for method output_type
|
|
|
|
|
5, // [5:5] is the sub-list for method input_type
|
|
|
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
|
|
|
@ -1655,7 +1706,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqGameAction); i { |
|
|
|
|
switch v := v.(*ResKickOutTable); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -1667,7 +1718,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResGameAction); i { |
|
|
|
|
switch v := v.(*ReqGameAction); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -1679,7 +1730,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqGameFullStatus); i { |
|
|
|
|
switch v := v.(*ResGameAction); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -1691,7 +1742,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResGameFullStatus); i { |
|
|
|
|
switch v := v.(*ReqGameFullStatus); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -1703,7 +1754,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*TablePlayer); i { |
|
|
|
|
switch v := v.(*ResGameFullStatus); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -1715,6 +1766,18 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*TablePlayer); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*Card); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
@ -1733,7 +1796,7 @@ func file_poker_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
|
|
|
|
RawDescriptor: file_poker_proto_rawDesc, |
|
|
|
|
NumEnums: 0, |
|
|
|
|
NumMessages: 23, |
|
|
|
|
NumMessages: 24, |
|
|
|
|
NumExtensions: 0, |
|
|
|
|
NumServices: 0, |
|
|
|
|
}, |
|
|
|
|
|