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; }