From c0c0b1745d9e6c2288adb5b5052ed4431e32675b Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Mon, 14 Jul 2025 16:14:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=BD=E5=8F=8B=E9=82=80=E8=AF=B7=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/Gameapi.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) 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{}