|
|
|
|
@ -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.19.0
|
|
|
|
|
// source: poker.proto
|
|
|
|
|
|
|
|
|
|
package api |
|
|
|
|
@ -177,6 +177,45 @@ func (*Pong) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{2} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 成功消息
|
|
|
|
|
type ResSuccess struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResSuccess) Reset() { |
|
|
|
|
*x = ResSuccess{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[3] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResSuccess) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*ResSuccess) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResSuccess) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[3] |
|
|
|
|
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 ResSuccess.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResSuccess) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{3} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 失败响应
|
|
|
|
|
type ResFail struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
@ -189,7 +228,7 @@ type ResFail struct {
|
|
|
|
|
func (x *ResFail) Reset() { |
|
|
|
|
*x = ResFail{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[3] |
|
|
|
|
mi := &file_poker_proto_msgTypes[4] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -202,7 +241,7 @@ func (x *ResFail) String() string {
|
|
|
|
|
func (*ResFail) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResFail) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[3] |
|
|
|
|
mi := &file_poker_proto_msgTypes[4] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -215,7 +254,7 @@ func (x *ResFail) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResFail.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResFail) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{3} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{4} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResFail) GetMsg() string { |
|
|
|
|
@ -236,7 +275,7 @@ type ReqIdentity struct {
|
|
|
|
|
func (x *ReqIdentity) Reset() { |
|
|
|
|
*x = ReqIdentity{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[4] |
|
|
|
|
mi := &file_poker_proto_msgTypes[5] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -249,7 +288,7 @@ func (x *ReqIdentity) String() string {
|
|
|
|
|
func (*ReqIdentity) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqIdentity) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[4] |
|
|
|
|
mi := &file_poker_proto_msgTypes[5] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -262,7 +301,7 @@ func (x *ReqIdentity) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqIdentity.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqIdentity) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{4} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{5} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ReqIdentity) GetToken() string { |
|
|
|
|
@ -284,7 +323,7 @@ type ResIdentity struct {
|
|
|
|
|
func (x *ResIdentity) Reset() { |
|
|
|
|
*x = ResIdentity{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[5] |
|
|
|
|
mi := &file_poker_proto_msgTypes[6] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -297,7 +336,7 @@ func (x *ResIdentity) String() string {
|
|
|
|
|
func (*ResIdentity) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResIdentity) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[5] |
|
|
|
|
mi := &file_poker_proto_msgTypes[6] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -310,7 +349,7 @@ func (x *ResIdentity) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResIdentity.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResIdentity) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{5} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{6} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResIdentity) GetStatus() int32 { |
|
|
|
|
@ -336,7 +375,7 @@ type ReqLobbyView struct {
|
|
|
|
|
func (x *ReqLobbyView) Reset() { |
|
|
|
|
*x = ReqLobbyView{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[6] |
|
|
|
|
mi := &file_poker_proto_msgTypes[7] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -349,7 +388,7 @@ func (x *ReqLobbyView) String() string {
|
|
|
|
|
func (*ReqLobbyView) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqLobbyView) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[6] |
|
|
|
|
mi := &file_poker_proto_msgTypes[7] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -362,7 +401,7 @@ func (x *ReqLobbyView) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqLobbyView.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqLobbyView) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{6} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{7} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type ResLobbyView struct { |
|
|
|
|
@ -374,7 +413,7 @@ type ResLobbyView struct {
|
|
|
|
|
func (x *ResLobbyView) Reset() { |
|
|
|
|
*x = ResLobbyView{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[7] |
|
|
|
|
mi := &file_poker_proto_msgTypes[8] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -387,7 +426,7 @@ func (x *ResLobbyView) String() string {
|
|
|
|
|
func (*ResLobbyView) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResLobbyView) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[7] |
|
|
|
|
mi := &file_poker_proto_msgTypes[8] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -400,19 +439,22 @@ func (x *ResLobbyView) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResLobbyView.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResLobbyView) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{7} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{8} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type ReqCreateTable struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
Players int32 `protobuf:"varint,1,opt,name=players,proto3" json:"players,omitempty"` |
|
|
|
|
Robots int32 `protobuf:"varint,2,opt,name=robots,proto3" json:"robots,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ReqCreateTable) Reset() { |
|
|
|
|
*x = ReqCreateTable{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[8] |
|
|
|
|
mi := &file_poker_proto_msgTypes[9] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -425,7 +467,7 @@ func (x *ReqCreateTable) String() string {
|
|
|
|
|
func (*ReqCreateTable) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqCreateTable) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[8] |
|
|
|
|
mi := &file_poker_proto_msgTypes[9] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -438,19 +480,35 @@ func (x *ReqCreateTable) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqCreateTable.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqCreateTable) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{8} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{9} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ReqCreateTable) GetPlayers() int32 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Players |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ReqCreateTable) GetRobots() int32 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Robots |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type ResCreateTable struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
TableNo int32 `protobuf:"varint,1,opt,name=tableNo,proto3" json:"tableNo,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResCreateTable) Reset() { |
|
|
|
|
*x = ResCreateTable{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[9] |
|
|
|
|
mi := &file_poker_proto_msgTypes[10] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -463,7 +521,7 @@ func (x *ResCreateTable) String() string {
|
|
|
|
|
func (*ResCreateTable) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResCreateTable) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[9] |
|
|
|
|
mi := &file_poker_proto_msgTypes[10] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -476,7 +534,14 @@ func (x *ResCreateTable) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResCreateTable.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResCreateTable) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{9} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{10} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ResCreateTable) GetTableNo() int32 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.TableNo |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type ReqJoinTable struct { |
|
|
|
|
@ -488,7 +553,7 @@ type ReqJoinTable struct {
|
|
|
|
|
func (x *ReqJoinTable) Reset() { |
|
|
|
|
*x = ReqJoinTable{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[10] |
|
|
|
|
mi := &file_poker_proto_msgTypes[11] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -501,7 +566,7 @@ func (x *ReqJoinTable) String() string {
|
|
|
|
|
func (*ReqJoinTable) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ReqJoinTable) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[10] |
|
|
|
|
mi := &file_poker_proto_msgTypes[11] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -514,7 +579,7 @@ func (x *ReqJoinTable) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ReqJoinTable.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReqJoinTable) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{10} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{11} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type ResJoinTable struct { |
|
|
|
|
@ -526,7 +591,7 @@ type ResJoinTable struct {
|
|
|
|
|
func (x *ResJoinTable) Reset() { |
|
|
|
|
*x = ResJoinTable{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_poker_proto_msgTypes[11] |
|
|
|
|
mi := &file_poker_proto_msgTypes[12] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
@ -539,7 +604,7 @@ func (x *ResJoinTable) String() string {
|
|
|
|
|
func (*ResJoinTable) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ResJoinTable) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_poker_proto_msgTypes[11] |
|
|
|
|
mi := &file_poker_proto_msgTypes[12] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
@ -552,7 +617,7 @@ func (x *ResJoinTable) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResJoinTable.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResJoinTable) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{11} |
|
|
|
|
return file_poker_proto_rawDescGZIP(), []int{12} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var File_poker_proto protoreflect.FileDescriptor |
|
|
|
|
@ -567,22 +632,27 @@ var file_poker_proto_rawDesc = []byte{
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, |
|
|
|
|
0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, |
|
|
|
|
0x79, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x6f, 0x6e, |
|
|
|
|
0x67, 0x22, 0x1b, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x10, 0x0a, 0x03, |
|
|
|
|
0x6d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x23, |
|
|
|
|
0x0a, 0x0b, 0x52, 0x65, 0x71, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, |
|
|
|
|
0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, |
|
|
|
|
0x6b, 0x65, 0x6e, 0x22, 0x37, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, |
|
|
|
|
0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, |
|
|
|
|
0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, |
|
|
|
|
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x0e, 0x0a, 0x0c, |
|
|
|
|
0x52, 0x65, 0x71, 0x4c, 0x6f, 0x62, 0x62, 0x79, 0x56, 0x69, 0x65, 0x77, 0x22, 0x0e, 0x0a, 0x0c, |
|
|
|
|
0x52, 0x65, 0x73, 0x4c, 0x6f, 0x62, 0x62, 0x79, 0x56, 0x69, 0x65, 0x77, 0x22, 0x10, 0x0a, 0x0e, |
|
|
|
|
0x52, 0x65, 0x71, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x10, |
|
|
|
|
0x67, 0x22, 0x0c, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, |
|
|
|
|
0x1b, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, |
|
|
|
|
0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x23, 0x0a, 0x0b, |
|
|
|
|
0x52, 0x65, 0x71, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, |
|
|
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, |
|
|
|
|
0x6e, 0x22, 0x37, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, |
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, |
|
|
|
|
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, |
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, |
|
|
|
|
0x71, 0x4c, 0x6f, 0x62, 0x62, 0x79, 0x56, 0x69, 0x65, 0x77, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, |
|
|
|
|
0x73, 0x4c, 0x6f, 0x62, 0x62, 0x79, 0x56, 0x69, 0x65, 0x77, 0x22, 0x42, 0x0a, 0x0e, 0x52, 0x65, |
|
|
|
|
0x71, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, |
|
|
|
|
0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x70, |
|
|
|
|
0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, |
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x2a, |
|
|
|
|
0x0a, 0x0e, 0x52, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, |
|
|
|
|
0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, 0x71, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x61, 0x62, 0x6c, 0x65, |
|
|
|
|
0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x61, 0x62, 0x6c, 0x65, |
|
|
|
|
0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, |
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, |
|
|
|
|
0x05, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, |
|
|
|
|
0x71, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x0e, 0x0a, 0x0c, 0x52, 0x65, |
|
|
|
|
0x73, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, |
|
|
|
|
0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
|
@ -597,20 +667,21 @@ func file_poker_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_poker_proto_rawDescData |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var file_poker_proto_msgTypes = make([]protoimpl.MessageInfo, 12) |
|
|
|
|
var file_poker_proto_msgTypes = make([]protoimpl.MessageInfo, 13) |
|
|
|
|
var file_poker_proto_goTypes = []interface{}{ |
|
|
|
|
(*ProtoWrap)(nil), // 0: api.ProtoWrap
|
|
|
|
|
(*Ping)(nil), // 1: api.Ping
|
|
|
|
|
(*Pong)(nil), // 2: api.Pong
|
|
|
|
|
(*ResFail)(nil), // 3: api.ResFail
|
|
|
|
|
(*ReqIdentity)(nil), // 4: api.ReqIdentity
|
|
|
|
|
(*ResIdentity)(nil), // 5: api.ResIdentity
|
|
|
|
|
(*ReqLobbyView)(nil), // 6: api.ReqLobbyView
|
|
|
|
|
(*ResLobbyView)(nil), // 7: api.ResLobbyView
|
|
|
|
|
(*ReqCreateTable)(nil), // 8: api.ReqCreateTable
|
|
|
|
|
(*ResCreateTable)(nil), // 9: api.ResCreateTable
|
|
|
|
|
(*ReqJoinTable)(nil), // 10: api.ReqJoinTable
|
|
|
|
|
(*ResJoinTable)(nil), // 11: api.ResJoinTable
|
|
|
|
|
(*ResSuccess)(nil), // 3: api.ResSuccess
|
|
|
|
|
(*ResFail)(nil), // 4: api.ResFail
|
|
|
|
|
(*ReqIdentity)(nil), // 5: api.ReqIdentity
|
|
|
|
|
(*ResIdentity)(nil), // 6: api.ResIdentity
|
|
|
|
|
(*ReqLobbyView)(nil), // 7: api.ReqLobbyView
|
|
|
|
|
(*ResLobbyView)(nil), // 8: api.ResLobbyView
|
|
|
|
|
(*ReqCreateTable)(nil), // 9: api.ReqCreateTable
|
|
|
|
|
(*ResCreateTable)(nil), // 10: api.ResCreateTable
|
|
|
|
|
(*ReqJoinTable)(nil), // 11: api.ReqJoinTable
|
|
|
|
|
(*ResJoinTable)(nil), // 12: api.ResJoinTable
|
|
|
|
|
} |
|
|
|
|
var file_poker_proto_depIdxs = []int32{ |
|
|
|
|
0, // [0:0] is the sub-list for method output_type
|
|
|
|
|
@ -663,7 +734,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResFail); i { |
|
|
|
|
switch v := v.(*ResSuccess); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -675,7 +746,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqIdentity); i { |
|
|
|
|
switch v := v.(*ResFail); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -687,7 +758,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResIdentity); i { |
|
|
|
|
switch v := v.(*ReqIdentity); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -699,7 +770,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqLobbyView); i { |
|
|
|
|
switch v := v.(*ResIdentity); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -711,7 +782,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResLobbyView); i { |
|
|
|
|
switch v := v.(*ReqLobbyView); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -723,7 +794,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqCreateTable); i { |
|
|
|
|
switch v := v.(*ResLobbyView); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -735,7 +806,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResCreateTable); i { |
|
|
|
|
switch v := v.(*ReqCreateTable); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -747,7 +818,7 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqJoinTable); i { |
|
|
|
|
switch v := v.(*ResCreateTable); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
@ -759,6 +830,18 @@ func file_poker_proto_init() {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ReqJoinTable); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_poker_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ResJoinTable); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
@ -777,7 +860,7 @@ func file_poker_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
|
|
|
|
RawDescriptor: file_poker_proto_rawDesc, |
|
|
|
|
NumEnums: 0, |
|
|
|
|
NumMessages: 12, |
|
|
|
|
NumMessages: 13, |
|
|
|
|
NumExtensions: 0, |
|
|
|
|
NumServices: 0, |
|
|
|
|
}, |
|
|
|
|
|