|
@@ -676,6 +676,7 @@ type ColorData struct {
|
|
MHead string `protobuf:"bytes,7,opt,name=m_head,json=mHead,proto3" json:"m_head,omitempty"`
|
|
MHead string `protobuf:"bytes,7,opt,name=m_head,json=mHead,proto3" json:"m_head,omitempty"`
|
|
RankNum int32 `protobuf:"varint,8,opt,name=rank_num,json=rankNum,proto3" json:"rank_num,omitempty"`
|
|
RankNum int32 `protobuf:"varint,8,opt,name=rank_num,json=rankNum,proto3" json:"rank_num,omitempty"`
|
|
MCoin int32 `protobuf:"varint,9,opt,name=m_coin,json=mCoin,proto3" json:"m_coin,omitempty"`
|
|
MCoin int32 `protobuf:"varint,9,opt,name=m_coin,json=mCoin,proto3" json:"m_coin,omitempty"`
|
|
|
|
+ MRewardCoin int32 `protobuf:"varint,10,opt,name=m_reward_coin,json=mRewardCoin,proto3" json:"m_reward_coin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
}
|
|
@@ -773,6 +774,13 @@ func (x *ColorData) GetMCoin() int32 {
|
|
return 0
|
|
return 0
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+func (x *ColorData) GetMRewardCoin() int32 {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.MRewardCoin
|
|
|
|
+ }
|
|
|
|
+ return 0
|
|
|
|
+}
|
|
|
|
+
|
|
type MoveStepData struct {
|
|
type MoveStepData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MId string `protobuf:"bytes,1,opt,name=m_id,json=mId,proto3" json:"m_id,omitempty"`
|
|
MId string `protobuf:"bytes,1,opt,name=m_id,json=mId,proto3" json:"m_id,omitempty"`
|
|
@@ -1875,28 +1883,29 @@ func (x *ResMatchLudo) GetRoom() *RoomInfo {
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
|
|
|
|
-// 被踢登陆
|
|
|
|
-type BeKickLogin struct {
|
|
|
|
|
|
+// error
|
|
|
|
+type MsgError struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
- ErrMsg *MsgError `protobuf:"bytes,1,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
|
|
|
|
|
|
+ ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
|
|
|
|
+ ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
}
|
|
|
|
|
|
-func (x *BeKickLogin) Reset() {
|
|
|
|
- *x = BeKickLogin{}
|
|
|
|
|
|
+func (x *MsgError) Reset() {
|
|
|
|
+ *x = MsgError{}
|
|
mi := &file_common_proto_msgTypes[23]
|
|
mi := &file_common_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
|
|
-func (x *BeKickLogin) String() string {
|
|
|
|
|
|
+func (x *MsgError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
}
|
|
|
|
|
|
-func (*BeKickLogin) ProtoMessage() {}
|
|
|
|
|
|
+func (*MsgError) ProtoMessage() {}
|
|
|
|
|
|
-func (x *BeKickLogin) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
+func (x *MsgError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_common_proto_msgTypes[23]
|
|
mi := &file_common_proto_msgTypes[23]
|
|
if x != nil {
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -1908,41 +1917,47 @@ func (x *BeKickLogin) ProtoReflect() protoreflect.Message {
|
|
return mi.MessageOf(x)
|
|
return mi.MessageOf(x)
|
|
}
|
|
}
|
|
|
|
|
|
-// Deprecated: Use BeKickLogin.ProtoReflect.Descriptor instead.
|
|
|
|
-func (*BeKickLogin) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
+// Deprecated: Use MsgError.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*MsgError) Descriptor() ([]byte, []int) {
|
|
return file_common_proto_rawDescGZIP(), []int{23}
|
|
return file_common_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
}
|
|
|
|
|
|
-func (x *BeKickLogin) GetErrMsg() *MsgError {
|
|
|
|
|
|
+func (x *MsgError) GetErrorCode() int32 {
|
|
if x != nil {
|
|
if x != nil {
|
|
- return x.ErrMsg
|
|
|
|
|
|
+ return x.ErrorCode
|
|
}
|
|
}
|
|
- return nil
|
|
|
|
|
|
+ return 0
|
|
}
|
|
}
|
|
|
|
|
|
-// error
|
|
|
|
-type MsgError struct {
|
|
|
|
|
|
+func (x *MsgError) GetErrorMsg() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.ErrorMsg
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 更新用户信息
|
|
|
|
+type UpdateUserInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
- ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
|
|
|
|
- ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
|
|
|
|
|
|
+ Info *UserInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
}
|
|
|
|
|
|
-func (x *MsgError) Reset() {
|
|
|
|
- *x = MsgError{}
|
|
|
|
|
|
+func (x *UpdateUserInfo) Reset() {
|
|
|
|
+ *x = UpdateUserInfo{}
|
|
mi := &file_common_proto_msgTypes[24]
|
|
mi := &file_common_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
|
|
-func (x *MsgError) String() string {
|
|
|
|
|
|
+func (x *UpdateUserInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
}
|
|
|
|
|
|
-func (*MsgError) ProtoMessage() {}
|
|
|
|
|
|
+func (*UpdateUserInfo) ProtoMessage() {}
|
|
|
|
|
|
-func (x *MsgError) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
+func (x *UpdateUserInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_common_proto_msgTypes[24]
|
|
mi := &file_common_proto_msgTypes[24]
|
|
if x != nil {
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -1954,23 +1969,16 @@ func (x *MsgError) ProtoReflect() protoreflect.Message {
|
|
return mi.MessageOf(x)
|
|
return mi.MessageOf(x)
|
|
}
|
|
}
|
|
|
|
|
|
-// Deprecated: Use MsgError.ProtoReflect.Descriptor instead.
|
|
|
|
-func (*MsgError) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
+// Deprecated: Use UpdateUserInfo.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*UpdateUserInfo) Descriptor() ([]byte, []int) {
|
|
return file_common_proto_rawDescGZIP(), []int{24}
|
|
return file_common_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
}
|
|
|
|
|
|
-func (x *MsgError) GetErrorCode() int32 {
|
|
|
|
- if x != nil {
|
|
|
|
- return x.ErrorCode
|
|
|
|
- }
|
|
|
|
- return 0
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-func (x *MsgError) GetErrorMsg() string {
|
|
|
|
|
|
+func (x *UpdateUserInfo) GetInfo() *UserInfo {
|
|
if x != nil {
|
|
if x != nil {
|
|
- return x.ErrorMsg
|
|
|
|
|
|
+ return x.Info
|
|
}
|
|
}
|
|
- return ""
|
|
|
|
|
|
+ return nil
|
|
}
|
|
}
|
|
|
|
|
|
type ResHeartBeat struct {
|
|
type ResHeartBeat struct {
|
|
@@ -2061,6 +2069,217 @@ func (x *ReqHeartBeat) GetMsg() string {
|
|
return ""
|
|
return ""
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+type ShopItem struct {
|
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
+ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
+ Price int32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ShopItem) Reset() {
|
|
|
|
+ *x = ShopItem{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[27]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ShopItem) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*ShopItem) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *ShopItem) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[27]
|
|
|
|
+ if x != nil {
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+ return ms
|
|
|
|
+ }
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// Deprecated: Use ShopItem.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*ShopItem) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{27}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ShopItem) GetName() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Name
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ShopItem) GetId() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Id
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ShopItem) GetPrice() int32 {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Price
|
|
|
|
+ }
|
|
|
|
+ return 0
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 被踢登陆
|
|
|
|
+type BeKickLogin struct {
|
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
+ ErrMsg *MsgError `protobuf:"bytes,1,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *BeKickLogin) Reset() {
|
|
|
|
+ *x = BeKickLogin{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[28]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *BeKickLogin) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*BeKickLogin) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *BeKickLogin) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[28]
|
|
|
|
+ if x != nil {
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+ return ms
|
|
|
|
+ }
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// Deprecated: Use BeKickLogin.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*BeKickLogin) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{28}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *BeKickLogin) GetErrMsg() *MsgError {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.ErrMsg
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 请求商城
|
|
|
|
+type ReqShop struct {
|
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
+ ShopType int32 `protobuf:"varint,1,opt,name=shopType,proto3" json:"shopType,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqShop) Reset() {
|
|
|
|
+ *x = ReqShop{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[29]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqShop) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*ReqShop) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *ReqShop) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[29]
|
|
|
|
+ if x != nil {
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+ return ms
|
|
|
|
+ }
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// Deprecated: Use ReqShop.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*ReqShop) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{29}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqShop) GetShopType() int32 {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.ShopType
|
|
|
|
+ }
|
|
|
|
+ return 0
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 响应商城
|
|
|
|
+type ResShop struct {
|
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
+ Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
|
|
+ ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
|
|
|
|
+ List []*ShopItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResShop) Reset() {
|
|
|
|
+ *x = ResShop{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[30]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResShop) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*ResShop) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *ResShop) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[30]
|
|
|
|
+ if x != nil {
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+ return ms
|
|
|
|
+ }
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// Deprecated: Use ResShop.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*ResShop) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{30}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResShop) GetSuccess() bool {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Success
|
|
|
|
+ }
|
|
|
|
+ return false
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResShop) GetErrMsg() *MsgError {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.ErrMsg
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResShop) GetList() []*ShopItem {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.List
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
var File_common_proto protoreflect.FileDescriptor
|
|
var File_common_proto protoreflect.FileDescriptor
|
|
|
|
|
|
const file_common_proto_rawDesc = "" +
|
|
const file_common_proto_rawDesc = "" +
|
|
@@ -2099,7 +2318,7 @@ const file_common_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\n" +
|
|
"m_cur_road\x18\x04 \x01(\x0e2\t.roadTypeR\bmCurRoad\x12\x12\n" +
|
|
"m_cur_road\x18\x04 \x01(\x0e2\t.roadTypeR\bmCurRoad\x12\x12\n" +
|
|
"\x04step\x18\x05 \x01(\x05R\x04step\x12\x19\n" +
|
|
"\x04step\x18\x05 \x01(\x05R\x04step\x12\x19\n" +
|
|
- "\bold_setp\x18\x06 \x01(\x05R\aoldSetp\"\xfa\x01\n" +
|
|
|
|
|
|
+ "\bold_setp\x18\x06 \x01(\x05R\aoldSetp\"\x9e\x02\n" +
|
|
"\tColorData\x12\x11\n" +
|
|
"\tColorData\x12\x11\n" +
|
|
"\x04m_id\x18\x01 \x01(\tR\x03mId\x12\"\n" +
|
|
"\x04m_id\x18\x01 \x01(\tR\x03mId\x12\"\n" +
|
|
"\am_color\x18\x02 \x01(\x0e2\t.roleTypeR\x06mColor\x12\x17\n" +
|
|
"\am_color\x18\x02 \x01(\x0e2\t.roleTypeR\x06mColor\x12\x17\n" +
|
|
@@ -2110,7 +2329,9 @@ const file_common_proto_rawDesc = "" +
|
|
"\x06m_name\x18\x06 \x01(\tR\x05mName\x12\x15\n" +
|
|
"\x06m_name\x18\x06 \x01(\tR\x05mName\x12\x15\n" +
|
|
"\x06m_head\x18\a \x01(\tR\x05mHead\x12\x19\n" +
|
|
"\x06m_head\x18\a \x01(\tR\x05mHead\x12\x19\n" +
|
|
"\brank_num\x18\b \x01(\x05R\arankNum\x12\x15\n" +
|
|
"\brank_num\x18\b \x01(\x05R\arankNum\x12\x15\n" +
|
|
- "\x06m_coin\x18\t \x01(\x05R\x05mCoin\"P\n" +
|
|
|
|
|
|
+ "\x06m_coin\x18\t \x01(\x05R\x05mCoin\x12\"\n" +
|
|
|
|
+ "\rm_reward_coin\x18\n" +
|
|
|
|
+ " \x01(\x05R\vmRewardCoin\"P\n" +
|
|
"\fMoveStepData\x12\x11\n" +
|
|
"\fMoveStepData\x12\x11\n" +
|
|
"\x04m_id\x18\x01 \x01(\tR\x03mId\x12\x12\n" +
|
|
"\x04m_id\x18\x01 \x01(\tR\x03mId\x12\x12\n" +
|
|
"\x04step\x18\x02 \x01(\x05R\x04step\x12\x19\n" +
|
|
"\x04step\x18\x02 \x01(\x05R\x04step\x12\x19\n" +
|
|
@@ -2184,17 +2405,29 @@ const file_common_proto_rawDesc = "" +
|
|
"\fResMatchLudo\x12\x18\n" +
|
|
"\fResMatchLudo\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
|
|
"\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
|
|
"\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
|
|
- "\x04room\x18\x03 \x01(\v2\t.RoomInfoR\x04room\"1\n" +
|
|
|
|
- "\vBeKickLogin\x12\"\n" +
|
|
|
|
- "\aerr_msg\x18\x01 \x01(\v2\t.MsgErrorR\x06errMsg\"F\n" +
|
|
|
|
|
|
+ "\x04room\x18\x03 \x01(\v2\t.RoomInfoR\x04room\"F\n" +
|
|
"\bMsgError\x12\x1d\n" +
|
|
"\bMsgError\x12\x1d\n" +
|
|
"\n" +
|
|
"\n" +
|
|
"error_code\x18\x01 \x01(\x05R\terrorCode\x12\x1b\n" +
|
|
"error_code\x18\x01 \x01(\x05R\terrorCode\x12\x1b\n" +
|
|
- "\terror_msg\x18\x02 \x01(\tR\berrorMsg\" \n" +
|
|
|
|
|
|
+ "\terror_msg\x18\x02 \x01(\tR\berrorMsg\"/\n" +
|
|
|
|
+ "\x0eUpdateUserInfo\x12\x1d\n" +
|
|
|
|
+ "\x04info\x18\x01 \x01(\v2\t.UserInfoR\x04info\" \n" +
|
|
"\fResHeartBeat\x12\x10\n" +
|
|
"\fResHeartBeat\x12\x10\n" +
|
|
"\x03msg\x18\x01 \x01(\tR\x03msg\" \n" +
|
|
"\x03msg\x18\x01 \x01(\tR\x03msg\" \n" +
|
|
"\fReqHeartBeat\x12\x10\n" +
|
|
"\fReqHeartBeat\x12\x10\n" +
|
|
- "\x03msg\x18\x01 \x01(\tR\x03msg*K\n" +
|
|
|
|
|
|
+ "\x03msg\x18\x01 \x01(\tR\x03msg\"D\n" +
|
|
|
|
+ "\bShopItem\x12\x12\n" +
|
|
|
|
+ "\x04name\x18\x01 \x01(\tR\x04name\x12\x0e\n" +
|
|
|
|
+ "\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n" +
|
|
|
|
+ "\x05price\x18\x03 \x01(\x05R\x05price\"1\n" +
|
|
|
|
+ "\vBeKickLogin\x12\"\n" +
|
|
|
|
+ "\aerr_msg\x18\x01 \x01(\v2\t.MsgErrorR\x06errMsg\"%\n" +
|
|
|
|
+ "\aReqShop\x12\x1a\n" +
|
|
|
|
+ "\bshopType\x18\x01 \x01(\x05R\bshopType\"f\n" +
|
|
|
|
+ "\aResShop\x12\x18\n" +
|
|
|
|
+ "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
|
|
|
|
+ "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
|
|
|
|
+ "\x04list\x18\x03 \x03(\v2\t.ShopItemR\x04list*K\n" +
|
|
"\broleType\x12\x15\n" +
|
|
"\broleType\x12\x15\n" +
|
|
"\x11ROLE_TYPE_UNKNOWN\x10\x00\x12\a\n" +
|
|
"\x11ROLE_TYPE_UNKNOWN\x10\x00\x12\a\n" +
|
|
"\x03RED\x10\x01\x12\b\n" +
|
|
"\x03RED\x10\x01\x12\b\n" +
|
|
@@ -2245,7 +2478,7 @@ func file_common_proto_rawDescGZIP() []byte {
|
|
}
|
|
}
|
|
|
|
|
|
var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
|
|
var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
|
|
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
|
|
|
|
|
|
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 31)
|
|
var file_common_proto_goTypes = []any{
|
|
var file_common_proto_goTypes = []any{
|
|
(RoleType)(0), // 0: roleType
|
|
(RoleType)(0), // 0: roleType
|
|
(OptType)(0), // 1: OptType
|
|
(OptType)(0), // 1: OptType
|
|
@@ -2277,10 +2510,14 @@ var file_common_proto_goTypes = []any{
|
|
(*LeaveHall)(nil), // 27: LeaveHall
|
|
(*LeaveHall)(nil), // 27: LeaveHall
|
|
(*MatchLudo)(nil), // 28: MatchLudo
|
|
(*MatchLudo)(nil), // 28: MatchLudo
|
|
(*ResMatchLudo)(nil), // 29: ResMatchLudo
|
|
(*ResMatchLudo)(nil), // 29: ResMatchLudo
|
|
- (*BeKickLogin)(nil), // 30: BeKickLogin
|
|
|
|
- (*MsgError)(nil), // 31: MsgError
|
|
|
|
|
|
+ (*MsgError)(nil), // 30: MsgError
|
|
|
|
+ (*UpdateUserInfo)(nil), // 31: UpdateUserInfo
|
|
(*ResHeartBeat)(nil), // 32: ResHeartBeat
|
|
(*ResHeartBeat)(nil), // 32: ResHeartBeat
|
|
(*ReqHeartBeat)(nil), // 33: ReqHeartBeat
|
|
(*ReqHeartBeat)(nil), // 33: ReqHeartBeat
|
|
|
|
+ (*ShopItem)(nil), // 34: ShopItem
|
|
|
|
+ (*BeKickLogin)(nil), // 35: BeKickLogin
|
|
|
|
+ (*ReqShop)(nil), // 36: ReqShop
|
|
|
|
+ (*ResShop)(nil), // 37: ResShop
|
|
}
|
|
}
|
|
var file_common_proto_depIdxs = []int32{
|
|
var file_common_proto_depIdxs = []int32{
|
|
0, // 0: round.m_color:type_name -> roleType
|
|
0, // 0: round.m_color:type_name -> roleType
|
|
@@ -2301,7 +2538,7 @@ var file_common_proto_depIdxs = []int32{
|
|
0, // 15: SendColorSz.color:type_name -> roleType
|
|
0, // 15: SendColorSz.color:type_name -> roleType
|
|
0, // 16: SendRoleMove.color:type_name -> roleType
|
|
0, // 16: SendRoleMove.color:type_name -> roleType
|
|
0, // 17: NotifyPlayerSzNumber.color:type_name -> roleType
|
|
0, // 17: NotifyPlayerSzNumber.color:type_name -> roleType
|
|
- 31, // 18: NotifyPlayerSzNumber.err_msg:type_name -> MsgError
|
|
|
|
|
|
+ 30, // 18: NotifyPlayerSzNumber.err_msg:type_name -> MsgError
|
|
0, // 19: NotifyPlayerMove.color:type_name -> roleType
|
|
0, // 19: NotifyPlayerMove.color:type_name -> roleType
|
|
11, // 20: NotifyPlayerMove.step:type_name -> MoveStepData
|
|
11, // 20: NotifyPlayerMove.step:type_name -> MoveStepData
|
|
9, // 21: NotifyPlayerMove.kick:type_name -> RoleData
|
|
9, // 21: NotifyPlayerMove.kick:type_name -> RoleData
|
|
@@ -2316,20 +2553,23 @@ var file_common_proto_depIdxs = []int32{
|
|
10, // 30: NotifySettlement.finish_colors:type_name -> ColorData
|
|
10, // 30: NotifySettlement.finish_colors:type_name -> ColorData
|
|
8, // 31: NotifyUpdateRoomInfo.room_info:type_name -> RoomInfo
|
|
8, // 31: NotifyUpdateRoomInfo.room_info:type_name -> RoomInfo
|
|
20, // 32: ResLogin.userInfo:type_name -> UserInfo
|
|
20, // 32: ResLogin.userInfo:type_name -> UserInfo
|
|
- 31, // 33: ResLogin.err_msg:type_name -> MsgError
|
|
|
|
- 31, // 34: ResRegister.err_msg:type_name -> MsgError
|
|
|
|
- 31, // 35: ResEnterHall.err_msg:type_name -> MsgError
|
|
|
|
|
|
+ 30, // 33: ResLogin.err_msg:type_name -> MsgError
|
|
|
|
+ 30, // 34: ResRegister.err_msg:type_name -> MsgError
|
|
|
|
+ 30, // 35: ResEnterHall.err_msg:type_name -> MsgError
|
|
8, // 36: ResEnterHall.reconnect_room_info:type_name -> RoomInfo
|
|
8, // 36: ResEnterHall.reconnect_room_info:type_name -> RoomInfo
|
|
2, // 37: MatchLudo.select_room_type:type_name -> roomType
|
|
2, // 37: MatchLudo.select_room_type:type_name -> roomType
|
|
0, // 38: MatchLudo.select_color:type_name -> roleType
|
|
0, // 38: MatchLudo.select_color:type_name -> roleType
|
|
- 31, // 39: ResMatchLudo.err_msg:type_name -> MsgError
|
|
|
|
|
|
+ 30, // 39: ResMatchLudo.err_msg:type_name -> MsgError
|
|
8, // 40: ResMatchLudo.room:type_name -> RoomInfo
|
|
8, // 40: ResMatchLudo.room:type_name -> RoomInfo
|
|
- 31, // 41: BeKickLogin.err_msg:type_name -> MsgError
|
|
|
|
- 42, // [42:42] is the sub-list for method output_type
|
|
|
|
- 42, // [42:42] is the sub-list for method input_type
|
|
|
|
- 42, // [42:42] is the sub-list for extension type_name
|
|
|
|
- 42, // [42:42] is the sub-list for extension extendee
|
|
|
|
- 0, // [0:42] is the sub-list for field type_name
|
|
|
|
|
|
+ 20, // 41: UpdateUserInfo.info:type_name -> UserInfo
|
|
|
|
+ 30, // 42: BeKickLogin.err_msg:type_name -> MsgError
|
|
|
|
+ 30, // 43: ResShop.err_msg:type_name -> MsgError
|
|
|
|
+ 34, // 44: ResShop.list:type_name -> ShopItem
|
|
|
|
+ 45, // [45:45] is the sub-list for method output_type
|
|
|
|
+ 45, // [45:45] is the sub-list for method input_type
|
|
|
|
+ 45, // [45:45] is the sub-list for extension type_name
|
|
|
|
+ 45, // [45:45] is the sub-list for extension extendee
|
|
|
|
+ 0, // [0:45] is the sub-list for field type_name
|
|
}
|
|
}
|
|
|
|
|
|
func init() { file_common_proto_init() }
|
|
func init() { file_common_proto_init() }
|
|
@@ -2343,7 +2583,7 @@ func file_common_proto_init() {
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)),
|
|
NumEnums: 7,
|
|
NumEnums: 7,
|
|
- NumMessages: 27,
|
|
|
|
|
|
+ NumMessages: 31,
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
},
|
|
},
|