|
@@ -3024,6 +3024,110 @@ func (x *NotifyOptFriend) GetInfo() *RequestAddFriendItem {
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+type SearchUser 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 *SearchUser) Reset() {
|
|
|
|
+ *x = SearchUser{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[45]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *SearchUser) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*SearchUser) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *SearchUser) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[45]
|
|
|
|
+ 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 SearchUser.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*SearchUser) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{45}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *SearchUser) GetUserId() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.UserId
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+type ResSearchUser 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 *UserInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResSearchUser) Reset() {
|
|
|
|
+ *x = ResSearchUser{}
|
|
|
|
+ mi := &file_common_proto_msgTypes[46]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResSearchUser) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*ResSearchUser) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *ResSearchUser) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_common_proto_msgTypes[46]
|
|
|
|
+ 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 ResSearchUser.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*ResSearchUser) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{46}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResSearchUser) GetSuccess() bool {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Success
|
|
|
|
+ }
|
|
|
|
+ return false
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResSearchUser) GetErrMsg() *MsgError {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.ErrMsg
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *ResSearchUser) GetInfo() *UserInfo {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Info
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
var File_common_proto protoreflect.FileDescriptor
|
|
var File_common_proto protoreflect.FileDescriptor
|
|
|
|
|
|
const file_common_proto_rawDesc = "" +
|
|
const file_common_proto_rawDesc = "" +
|
|
@@ -3217,7 +3321,14 @@ const file_common_proto_rawDesc = "" +
|
|
"\x13OptAddFriendRequest\x12)\n" +
|
|
"\x13OptAddFriendRequest\x12)\n" +
|
|
"\x04info\x18\x01 \x01(\v2\x15.RequestAddFriendItemR\x04info\"<\n" +
|
|
"\x04info\x18\x01 \x01(\v2\x15.RequestAddFriendItemR\x04info\"<\n" +
|
|
"\x0fNotifyOptFriend\x12)\n" +
|
|
"\x0fNotifyOptFriend\x12)\n" +
|
|
- "\x04info\x18\x01 \x01(\v2\x15.RequestAddFriendItemR\x04info*K\n" +
|
|
|
|
|
|
+ "\x04info\x18\x01 \x01(\v2\x15.RequestAddFriendItemR\x04info\"%\n" +
|
|
|
|
+ "\n" +
|
|
|
|
+ "SearchUser\x12\x17\n" +
|
|
|
|
+ "\auser_id\x18\x01 \x01(\tR\x06userId\"l\n" +
|
|
|
|
+ "\rResSearchUser\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.UserInfoR\x04info*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" +
|
|
@@ -3268,7 +3379,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, 45)
|
|
|
|
|
|
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
|
|
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
|
|
@@ -3322,6 +3433,8 @@ var file_common_proto_goTypes = []any{
|
|
(*RecvAddFriendRequest)(nil), // 49: RecvAddFriendRequest
|
|
(*RecvAddFriendRequest)(nil), // 49: RecvAddFriendRequest
|
|
(*OptAddFriendRequest)(nil), // 50: OptAddFriendRequest
|
|
(*OptAddFriendRequest)(nil), // 50: OptAddFriendRequest
|
|
(*NotifyOptFriend)(nil), // 51: NotifyOptFriend
|
|
(*NotifyOptFriend)(nil), // 51: NotifyOptFriend
|
|
|
|
+ (*SearchUser)(nil), // 52: SearchUser
|
|
|
|
+ (*ResSearchUser)(nil), // 53: ResSearchUser
|
|
}
|
|
}
|
|
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
|
|
@@ -3379,11 +3492,13 @@ var file_common_proto_depIdxs = []int32{
|
|
21, // 52: RecvAddFriendRequest.info:type_name -> UserInfo
|
|
21, // 52: RecvAddFriendRequest.info:type_name -> UserInfo
|
|
45, // 53: OptAddFriendRequest.info:type_name -> RequestAddFriendItem
|
|
45, // 53: OptAddFriendRequest.info:type_name -> RequestAddFriendItem
|
|
45, // 54: NotifyOptFriend.info:type_name -> RequestAddFriendItem
|
|
45, // 54: NotifyOptFriend.info:type_name -> RequestAddFriendItem
|
|
- 55, // [55:55] is the sub-list for method output_type
|
|
|
|
- 55, // [55:55] is the sub-list for method input_type
|
|
|
|
- 55, // [55:55] is the sub-list for extension type_name
|
|
|
|
- 55, // [55:55] is the sub-list for extension extendee
|
|
|
|
- 0, // [0:55] is the sub-list for field type_name
|
|
|
|
|
|
+ 31, // 55: ResSearchUser.err_msg:type_name -> MsgError
|
|
|
|
+ 21, // 56: ResSearchUser.info:type_name -> UserInfo
|
|
|
|
+ 57, // [57:57] is the sub-list for method output_type
|
|
|
|
+ 57, // [57:57] is the sub-list for method input_type
|
|
|
|
+ 57, // [57:57] is the sub-list for extension type_name
|
|
|
|
+ 57, // [57:57] is the sub-list for extension extendee
|
|
|
|
+ 0, // [0:57] is the sub-list for field type_name
|
|
}
|
|
}
|
|
|
|
|
|
func init() { file_common_proto_init() }
|
|
func init() { file_common_proto_init() }
|
|
@@ -3397,7 +3512,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: 45,
|
|
|
|
|
|
+ NumMessages: 47,
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
},
|
|
},
|