From 9281fb98b5afee350db2660f11831a4c204b66a3 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:23:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- makedown/optimization.md | 12 ++++++++++-- proto/Gameapi.proto | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/makedown/optimization.md b/makedown/optimization.md index 5a01778b..28964f58 100644 --- a/makedown/optimization.md +++ b/makedown/optimization.md @@ -183,8 +183,16 @@ message BaseInfo { int32 EenegyMul = 1; bool IsFirstBuy = 2; // 是否已第一次购买体力商店 int32 EnergyBuy = 3; // 今日体力商店购买次数 - int32 Uid = 4; - string nickname = 5; +} + +message UserInfo { + int32 Uid = 1; // Uid + string Nickname = 2; // 昵称 + int32 Avatar = 3; // 头像框 + int32 Face = 4; // 头像 + int32 DecorateCnt = 5; // 总装饰次数 + repeated AvatarInfo AvatarList = 6; // 解锁头像框 + repeated FaceInfo FaceList = 7; // 解锁头像 } // 设置昵称 diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index b8d5f331..5f9b3b16 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -2296,8 +2296,16 @@ message BaseInfo { int32 EnergyMul = 1; // 能量倍数 bool IsFirstBuy = 2; // 是否已第一次购买体力商店 int32 EnergyBuy = 3; // 今日体力商店购买次数 - int32 Uid = 4; // Uid - string nickname = 5; // 昵称 +} + +message UserInfo { + int32 Uid = 1; + string Nickname = 2; + int32 Avatar = 3; + int32 Face = 4; + int32 DecorateCnt = 5; + repeated AvatarInfo AvatarList = 6; + repeated FaceInfo FaceList = 7; } // 设置昵称