|
@@ -2392,6 +2392,214 @@ func (x *HistoryRecord) GetUserId() string {
|
|
return ""
|
|
return ""
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+type ReqLudoHistory struct {
|
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqLudoHistory) Reset() {
|
|
|
|
+ *x = ReqLudoHistory{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[33]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqLudoHistory) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*ReqLudoHistory) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *ReqLudoHistory) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[33]
|
|
|
|
+ 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 ReqLudoHistory.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*ReqLudoHistory) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{33}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqLudoHistory) GetUserId() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.UserId
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+type ResLudoHistory 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 []*HistoryRecord `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoHistory) Reset() {
|
|
|
|
+ *x = ResLudoHistory{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[34]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoHistory) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*ResLudoHistory) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoHistory) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[34]
|
|
|
|
+ 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 ResLudoHistory.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*ResLudoHistory) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{34}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoHistory) GetSuccess() bool {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Success
|
|
|
|
+ }
|
|
|
|
+ return false
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoHistory) GetErrMsg() *MsgError {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.ErrMsg
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoHistory) GetList() []*HistoryRecord {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.List
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+type ReqLudoRoomInfo struct {
|
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
+ RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqLudoRoomInfo) Reset() {
|
|
|
|
+ *x = ReqLudoRoomInfo{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[35]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqLudoRoomInfo) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*ReqLudoRoomInfo) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *ReqLudoRoomInfo) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[35]
|
|
|
|
+ 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 ReqLudoRoomInfo.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*ReqLudoRoomInfo) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{35}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ReqLudoRoomInfo) GetRoomId() int64 {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.RoomId
|
|
|
|
+ }
|
|
|
|
+ return 0
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+type ResLudoRoomInfo 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"`
|
|
|
|
+ Info *RoomInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoRoomInfo) Reset() {
|
|
|
|
+ *x = ResLudoRoomInfo{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[36]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoRoomInfo) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*ResLudoRoomInfo) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoRoomInfo) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[36]
|
|
|
|
+ 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 ResLudoRoomInfo.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*ResLudoRoomInfo) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{36}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoRoomInfo) GetSuccess() bool {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Success
|
|
|
|
+ }
|
|
|
|
+ return false
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoRoomInfo) GetErrMsg() *MsgError {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.ErrMsg
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResLudoRoomInfo) GetInfo() *RoomInfo {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Info
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
type BuyShopItem struct {
|
|
type BuyShopItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
@@ -2401,7 +2609,7 @@ type BuyShopItem struct {
|
|
|
|
|
|
func (x *BuyShopItem) Reset() {
|
|
func (x *BuyShopItem) Reset() {
|
|
*x = BuyShopItem{}
|
|
*x = BuyShopItem{}
|
|
- mi := &file_common_proto_msgTypes[33]
|
|
|
|
|
|
+ mi := &file_common_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
@@ -2413,7 +2621,7 @@ func (x *BuyShopItem) String() string {
|
|
func (*BuyShopItem) ProtoMessage() {}
|
|
func (*BuyShopItem) ProtoMessage() {}
|
|
|
|
|
|
func (x *BuyShopItem) ProtoReflect() protoreflect.Message {
|
|
func (x *BuyShopItem) ProtoReflect() protoreflect.Message {
|
|
- mi := &file_common_proto_msgTypes[33]
|
|
|
|
|
|
+ mi := &file_common_proto_msgTypes[37]
|
|
if x != nil {
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -2426,7 +2634,7 @@ func (x *BuyShopItem) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use BuyShopItem.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use BuyShopItem.ProtoReflect.Descriptor instead.
|
|
func (*BuyShopItem) Descriptor() ([]byte, []int) {
|
|
func (*BuyShopItem) Descriptor() ([]byte, []int) {
|
|
- return file_common_proto_rawDescGZIP(), []int{33}
|
|
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
}
|
|
|
|
|
|
func (x *BuyShopItem) GetId() string {
|
|
func (x *BuyShopItem) GetId() string {
|
|
@@ -2590,7 +2798,19 @@ const file_common_proto_rawDesc = "" +
|
|
"\rHistoryRecord\x12\x0e\n" +
|
|
"\rHistoryRecord\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x17\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x17\n" +
|
|
"\aroom_id\x18\x02 \x01(\x05R\x06roomId\x12\x17\n" +
|
|
"\aroom_id\x18\x02 \x01(\x05R\x06roomId\x12\x17\n" +
|
|
- "\auser_id\x18\x03 \x01(\tR\x06userId\"\x1d\n" +
|
|
|
|
|
|
+ "\auser_id\x18\x03 \x01(\tR\x06userId\")\n" +
|
|
|
|
+ "\x0eReqLudoHistory\x12\x17\n" +
|
|
|
|
+ "\auser_id\x18\x01 \x01(\tR\x06userId\"r\n" +
|
|
|
|
+ "\x0eResLudoHistory\x12\x18\n" +
|
|
|
|
+ "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
|
|
|
|
+ "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\"\n" +
|
|
|
|
+ "\x04list\x18\x03 \x03(\v2\x0e.HistoryRecordR\x04list\"*\n" +
|
|
|
|
+ "\x0fReqLudoRoomInfo\x12\x17\n" +
|
|
|
|
+ "\aroom_id\x18\x01 \x01(\x03R\x06roomId\"n\n" +
|
|
|
|
+ "\x0fResLudoRoomInfo\x12\x18\n" +
|
|
|
|
+ "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
|
|
|
|
+ "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
|
|
|
|
+ "\x04info\x18\x03 \x01(\v2\t.RoomInfoR\x04info\"\x1d\n" +
|
|
"\vBuyShopItem\x12\x0e\n" +
|
|
"\vBuyShopItem\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id*K\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id*K\n" +
|
|
"\broleType\x12\x15\n" +
|
|
"\broleType\x12\x15\n" +
|
|
@@ -2643,7 +2863,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, 34)
|
|
|
|
|
|
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 38)
|
|
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
|
|
@@ -2685,7 +2905,11 @@ var file_common_proto_goTypes = []any{
|
|
(*ReqShop)(nil), // 37: ReqShop
|
|
(*ReqShop)(nil), // 37: ReqShop
|
|
(*ResShop)(nil), // 38: ResShop
|
|
(*ResShop)(nil), // 38: ResShop
|
|
(*HistoryRecord)(nil), // 39: HistoryRecord
|
|
(*HistoryRecord)(nil), // 39: HistoryRecord
|
|
- (*BuyShopItem)(nil), // 40: BuyShopItem
|
|
|
|
|
|
+ (*ReqLudoHistory)(nil), // 40: ReqLudoHistory
|
|
|
|
+ (*ResLudoHistory)(nil), // 41: ResLudoHistory
|
|
|
|
+ (*ReqLudoRoomInfo)(nil), // 42: ReqLudoRoomInfo
|
|
|
|
+ (*ResLudoRoomInfo)(nil), // 43: ResLudoRoomInfo
|
|
|
|
+ (*BuyShopItem)(nil), // 44: BuyShopItem
|
|
}
|
|
}
|
|
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
|
|
@@ -2734,11 +2958,15 @@ var file_common_proto_depIdxs = []int32{
|
|
31, // 43: BeKickLogin.err_msg:type_name -> MsgError
|
|
31, // 43: BeKickLogin.err_msg:type_name -> MsgError
|
|
31, // 44: ResShop.err_msg:type_name -> MsgError
|
|
31, // 44: ResShop.err_msg:type_name -> MsgError
|
|
35, // 45: ResShop.list:type_name -> ShopItem
|
|
35, // 45: ResShop.list:type_name -> ShopItem
|
|
- 46, // [46:46] is the sub-list for method output_type
|
|
|
|
- 46, // [46:46] is the sub-list for method input_type
|
|
|
|
- 46, // [46:46] is the sub-list for extension type_name
|
|
|
|
- 46, // [46:46] is the sub-list for extension extendee
|
|
|
|
- 0, // [0:46] is the sub-list for field type_name
|
|
|
|
|
|
+ 31, // 46: ResLudoHistory.err_msg:type_name -> MsgError
|
|
|
|
+ 39, // 47: ResLudoHistory.list:type_name -> HistoryRecord
|
|
|
|
+ 31, // 48: ResLudoRoomInfo.err_msg:type_name -> MsgError
|
|
|
|
+ 8, // 49: ResLudoRoomInfo.info:type_name -> RoomInfo
|
|
|
|
+ 50, // [50:50] is the sub-list for method output_type
|
|
|
|
+ 50, // [50:50] is the sub-list for method input_type
|
|
|
|
+ 50, // [50:50] is the sub-list for extension type_name
|
|
|
|
+ 50, // [50:50] is the sub-list for extension extendee
|
|
|
|
+ 0, // [0:50] is the sub-list for field type_name
|
|
}
|
|
}
|
|
|
|
|
|
func init() { file_common_proto_init() }
|
|
func init() { file_common_proto_init() }
|
|
@@ -2752,7 +2980,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: 34,
|
|
|
|
|
|
+ NumMessages: 38,
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
},
|
|
},
|