diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 3250b36..7c72d99 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -241,6 +241,9 @@ enum MessageType{ RINGFIRE_ADVANCED_REQUEST = 11708; //天赋异妖进阶 RINGFIRE_ADVANCED_RESPONSE = 11709; + + REFRESH_FRIEND_STATE_REQEUST= 11710; //刷新好友在线状态 + REFRESH_FRIEND_STATE_RESPONSE = 11711; // S 11800 SUCCESS_RESPONSE = 11800; // 通用成功回复 @@ -271,6 +274,8 @@ enum MessageType{ SEND_CHAT_INFO_INDICATION = 11818; //好友聊天推送 + SEND_FRIEND_STATE_INDICATION = 11819; // 推送好友信息 + // T 11900 TRIGGER_EVENT_REQUEST = 11900; // TRIGGER_EVENT_RESPONSE = 11901; diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 6dc74e6..fa79f6b 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -273,7 +273,7 @@ import "CommonProto.proto"; } message sendFriendInfoIndication{ - optional int32 type = 1; //1:申请好友 2: 添加好友 3:删除好友 4:赠送体力 + optional int32 type = 1; //1:申请好友 2: 添加好友 optional Friend Friends =2; //好友信息 } @@ -297,11 +297,22 @@ import "CommonProto.proto"; message FriendSearchRequest{ optional string name = 1; // 名字 } + message FriendSearchResponse{ optional int32 type = 1; // 1申请:, 2:好友. 3:已申请 optional Friend Friends =2; //好友信息 } + message SendFriendStateIndication{ + optional int32 type = 1; //1:删除好友 2: 赠送体力 + optional int32 friendId =2; //好友Id + } + + message RefreshFriendStateResponse{ + repeated int32 friendIds = 1; + } + +