diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index c05ddb58..0254f0aa 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -1658,7 +1658,7 @@ message ResFriendTimeLine{ message ResFriendReply{ int32 Id = 1; // 回复id - int32 Type = 2; // 回复类型 1:打招呼 2:被打招呼 + FRIEND_REPLY_TYPE Type = 2; // 回复类型 1:打招呼 2:被打招呼 string Param = 3; // 回复内容 int32 Status = 4; // 状态 0:未处理 1:已处理 int64 AddTime = 5; // 添加时间 @@ -1667,6 +1667,14 @@ message ResFriendReply{ repeated ItemInfo Items = 8; // 奖励 } +enum FRIEND_REPLY_TYPE { + FRIEND_REPLY_TYPE_NONE = 0; // 默认 + FRIEND_REPLY_TYPE_GREET = 1; // 打招呼 + FRIEND_REPLY_TYPE_RETURN_GREET = 2; // 被打招呼 + REPLY_TYPE_CATNIP = 3; // 猫薄荷加好友 + REPLY_TYPE_CATNIP_ITEMS = 4; // 收到猫薄荷好友道具 +} + message ReqFriendReplyHandle{ int32 LogId = 1; // 时间线id string Param = 2; // 回复内容