From a8d8d579251f237eceab814297cba03561a1de91 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:12:18 +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 | 8 ++++++++ proto/Gameapi.proto | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/makedown/optimization.md b/makedown/optimization.md index 682162dc..8b809b9b 100644 --- a/makedown/optimization.md +++ b/makedown/optimization.md @@ -211,7 +211,14 @@ message ResSetName { string Msg = 2; } +message ReqSetPetName { + string Name = 1; +} +message ResSetPetName { + RES_CODE ResultCode = 1; + string Msg = 2; +} //体力商店购买体力 message ReqBuyEnergy{ int32 Energy = 1; // 购买体力 @@ -1429,6 +1436,7 @@ message ResPlayroomInfo{ bool defense = 9; // 是否有防御 map flip = 10; // 翻牌 <位置, 牌> int32 Chip = 11; // 碎片 + string PetName = 12; // 宠物名 } // 请求翻牌 diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index 465ca71a..5fe342e9 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -401,6 +401,16 @@ message ResSetName { string Msg = 2; } +// 设置宠物名字 +message ReqSetPetName { + string Name = 1; +} + +message ResSetPetName { + RES_CODE ResultCode = 1; + string Msg = 2; +} + // 购买能量 message ReqBuyEnergy{ int32 Energy = 1; // 购买体力 @@ -1543,6 +1553,7 @@ message ResPlayroomInfo{ bool defense = 9; // 是否有防御 map flip = 10; // 翻牌 <位置, 牌> int32 Chip = 11; // 碎片 + string PetName = 12; // 宠物名 } // 请求翻牌