|
@@ -3418,6 +3418,67 @@ func (x *ResDeleteFriend) GetErrMsg() *MsgError {
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+type ResFriendOnLineStatus 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 *ResFriendOnLineStatus) Reset() {
|
|
|
+ *x = ResFriendOnLineStatus{}
|
|
|
+ mi := &file_common_proto_msgTypes[52]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResFriendOnLineStatus) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ResFriendOnLineStatus) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ResFriendOnLineStatus) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_common_proto_msgTypes[52]
|
|
|
+ if x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+func (*ResFriendOnLineStatus) Descriptor() ([]byte, []int) {
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{52}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResFriendOnLineStatus) GetSuccess() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.Success
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResFriendOnLineStatus) GetErrMsg() *MsgError {
|
|
|
+ if x != nil {
|
|
|
+ return x.ErrMsg
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResFriendOnLineStatus) GetInfo() *UserInfo {
|
|
|
+ if x != nil {
|
|
|
+ return x.Info
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
var File_common_proto protoreflect.FileDescriptor
|
|
|
|
|
|
const file_common_proto_rawDesc = "" +
|
|
@@ -3637,7 +3698,11 @@ const file_common_proto_rawDesc = "" +
|
|
|
"\bToUserID\x18\x01 \x01(\tR\bToUserID\"O\n" +
|
|
|
"\x0fResDeleteFriend\x12\x18\n" +
|
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
|
|
|
- "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg*K\n" +
|
|
|
+ "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\"t\n" +
|
|
|
+ "\x15ResFriendOnLineStatus\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" +
|
|
|
"\x11ROLE_TYPE_UNKNOWN\x10\x00\x12\a\n" +
|
|
|
"\x03RED\x10\x01\x12\b\n" +
|
|
@@ -3688,67 +3753,68 @@ func file_common_proto_rawDescGZIP() []byte {
|
|
|
}
|
|
|
|
|
|
var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
|
|
|
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 52)
|
|
|
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 53)
|
|
|
var file_common_proto_goTypes = []any{
|
|
|
- (RoleType)(0),
|
|
|
- (OptType)(0),
|
|
|
- (RoomType)(0),
|
|
|
- (RoomMode)(0),
|
|
|
- (RoadType)(0),
|
|
|
- (PlayerStatus)(0),
|
|
|
- (RoomStatus)(0),
|
|
|
- (*Round)(nil),
|
|
|
- (*RoomInfo)(nil),
|
|
|
- (*RoleData)(nil),
|
|
|
- (*ColorData)(nil),
|
|
|
- (*MoveStepData)(nil),
|
|
|
- (*SendColorSz)(nil),
|
|
|
- (*SendRoleMove)(nil),
|
|
|
- (*SendQuitRoom)(nil),
|
|
|
- (*NotifyPlayerSzNumber)(nil),
|
|
|
- (*NotifyPlayerMove)(nil),
|
|
|
- (*NotifyPlayerOpt)(nil),
|
|
|
- (*NotifyPlayerStatus)(nil),
|
|
|
- (*NotifySettlement)(nil),
|
|
|
- (*NotifyUpdateRoomInfo)(nil),
|
|
|
- (*UserInfo)(nil),
|
|
|
- (*ReqLogin)(nil),
|
|
|
- (*ResLogin)(nil),
|
|
|
- (*ReqRegister)(nil),
|
|
|
- (*ResRegister)(nil),
|
|
|
- (*EnterHall)(nil),
|
|
|
- (*ResEnterHall)(nil),
|
|
|
- (*LeaveHall)(nil),
|
|
|
- (*MatchLudo)(nil),
|
|
|
- (*ResMatchLudo)(nil),
|
|
|
- (*MsgError)(nil),
|
|
|
- (*UpdateUserInfo)(nil),
|
|
|
- (*ResHeartBeat)(nil),
|
|
|
- (*ReqHeartBeat)(nil),
|
|
|
- (*ShopItem)(nil),
|
|
|
- (*BeKickLogin)(nil),
|
|
|
- (*ReqShop)(nil),
|
|
|
- (*ResShop)(nil),
|
|
|
- (*HistoryRecord)(nil),
|
|
|
- (*ReqLudoHistory)(nil),
|
|
|
- (*ResLudoHistory)(nil),
|
|
|
- (*ReqLudoRoomInfo)(nil),
|
|
|
- (*ResLudoRoomInfo)(nil),
|
|
|
- (*BuyShopItem)(nil),
|
|
|
- (*RequestAddFriendItem)(nil),
|
|
|
- (*ReqFriendList)(nil),
|
|
|
- (*ResFriendList)(nil),
|
|
|
- (*FriendRequestItem)(nil),
|
|
|
- (*ReqFriendRequestList)(nil),
|
|
|
- (*ResFriendRequestList)(nil),
|
|
|
- (*ReqAddFriend)(nil),
|
|
|
- (*RecvAddFriendRequest)(nil),
|
|
|
- (*OptAddFriendRequest)(nil),
|
|
|
- (*NotifyOptFriend)(nil),
|
|
|
- (*SearchUser)(nil),
|
|
|
- (*ResSearchUser)(nil),
|
|
|
- (*ReqDeleteFriend)(nil),
|
|
|
- (*ResDeleteFriend)(nil),
|
|
|
+ (RoleType)(0),
|
|
|
+ (OptType)(0),
|
|
|
+ (RoomType)(0),
|
|
|
+ (RoomMode)(0),
|
|
|
+ (RoadType)(0),
|
|
|
+ (PlayerStatus)(0),
|
|
|
+ (RoomStatus)(0),
|
|
|
+ (*Round)(nil),
|
|
|
+ (*RoomInfo)(nil),
|
|
|
+ (*RoleData)(nil),
|
|
|
+ (*ColorData)(nil),
|
|
|
+ (*MoveStepData)(nil),
|
|
|
+ (*SendColorSz)(nil),
|
|
|
+ (*SendRoleMove)(nil),
|
|
|
+ (*SendQuitRoom)(nil),
|
|
|
+ (*NotifyPlayerSzNumber)(nil),
|
|
|
+ (*NotifyPlayerMove)(nil),
|
|
|
+ (*NotifyPlayerOpt)(nil),
|
|
|
+ (*NotifyPlayerStatus)(nil),
|
|
|
+ (*NotifySettlement)(nil),
|
|
|
+ (*NotifyUpdateRoomInfo)(nil),
|
|
|
+ (*UserInfo)(nil),
|
|
|
+ (*ReqLogin)(nil),
|
|
|
+ (*ResLogin)(nil),
|
|
|
+ (*ReqRegister)(nil),
|
|
|
+ (*ResRegister)(nil),
|
|
|
+ (*EnterHall)(nil),
|
|
|
+ (*ResEnterHall)(nil),
|
|
|
+ (*LeaveHall)(nil),
|
|
|
+ (*MatchLudo)(nil),
|
|
|
+ (*ResMatchLudo)(nil),
|
|
|
+ (*MsgError)(nil),
|
|
|
+ (*UpdateUserInfo)(nil),
|
|
|
+ (*ResHeartBeat)(nil),
|
|
|
+ (*ReqHeartBeat)(nil),
|
|
|
+ (*ShopItem)(nil),
|
|
|
+ (*BeKickLogin)(nil),
|
|
|
+ (*ReqShop)(nil),
|
|
|
+ (*ResShop)(nil),
|
|
|
+ (*HistoryRecord)(nil),
|
|
|
+ (*ReqLudoHistory)(nil),
|
|
|
+ (*ResLudoHistory)(nil),
|
|
|
+ (*ReqLudoRoomInfo)(nil),
|
|
|
+ (*ResLudoRoomInfo)(nil),
|
|
|
+ (*BuyShopItem)(nil),
|
|
|
+ (*RequestAddFriendItem)(nil),
|
|
|
+ (*ReqFriendList)(nil),
|
|
|
+ (*ResFriendList)(nil),
|
|
|
+ (*FriendRequestItem)(nil),
|
|
|
+ (*ReqFriendRequestList)(nil),
|
|
|
+ (*ResFriendRequestList)(nil),
|
|
|
+ (*ReqAddFriend)(nil),
|
|
|
+ (*RecvAddFriendRequest)(nil),
|
|
|
+ (*OptAddFriendRequest)(nil),
|
|
|
+ (*NotifyOptFriend)(nil),
|
|
|
+ (*SearchUser)(nil),
|
|
|
+ (*ResSearchUser)(nil),
|
|
|
+ (*ReqDeleteFriend)(nil),
|
|
|
+ (*ResDeleteFriend)(nil),
|
|
|
+ (*ResFriendOnLineStatus)(nil),
|
|
|
}
|
|
|
var file_common_proto_depIdxs = []int32{
|
|
|
0,
|
|
@@ -3812,11 +3878,13 @@ var file_common_proto_depIdxs = []int32{
|
|
|
31,
|
|
|
21,
|
|
|
31,
|
|
|
- 61,
|
|
|
- 61,
|
|
|
- 61,
|
|
|
- 61,
|
|
|
- 0,
|
|
|
+ 31,
|
|
|
+ 21,
|
|
|
+ 63,
|
|
|
+ 63,
|
|
|
+ 63,
|
|
|
+ 63,
|
|
|
+ 0,
|
|
|
}
|
|
|
|
|
|
func init() { file_common_proto_init() }
|
|
@@ -3830,7 +3898,7 @@ func file_common_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)),
|
|
|
NumEnums: 7,
|
|
|
- NumMessages: 52,
|
|
|
+ NumMessages: 53,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
|
},
|