diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index cdb210e1..ee636fb8 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -632,6 +632,7 @@ message UserInfo { repeated EmojiInfo EmojiList = 10; // 表情列表 map SetEmoji = 11; // 已设置的头像 string IdNum = 12; // 身份证号码 + string AddCode = 13; // 邀请码 } // 设置昵称 @@ -1403,6 +1404,16 @@ message ResKv{ map kv = 1; } +message ReqFriendByCode{ + string Code = 1; // 邀请码 +} + +message ResFriendByCode{ + RES_CODE Code = 1; + string Msg = 2; + ResPlayerSimple Player = 3; // 玩家信息 +} + // 好友推荐 message ReqFriendRecommend{}