From adce6269d4abfcddfbdf4cb486d71e036c096dba Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Fri, 22 Aug 2025 16:46:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E4=BB=B6=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/Gameapi.proto | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index 766c5c00..17c9821b 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -403,6 +403,26 @@ message ResPlayerChessInfo{ ChessBag ChessBag = 3; repeated string RetireEmit = 4; repeated int32 Honor = 5; + PartBag PartBag = 6; +} + +message PartBag{ + repeated PartBagGrid PartBagGrids = 1; //已解锁零件背包格子 +} + +message PartBagGrid{ + int32 PartId = 1; //零件ID + int32 Count = 2; //数量 +} + +message ReqPutPartInBag{ + int32 ChessId = 1; //零件ID + map mChessData = 2; +} + +message ResPutPartInBag{ + RES_CODE code = 1; + string msg = 2; }