From 3bc77b1d2e5585497c0f8b63bc3ecce7a31c0ae9 Mon Sep 17 00:00:00 2001 From: saicom Date: Fri, 1 Dec 2023 18:07:16 +0800 Subject: [PATCH] fix: climb协议修改 --- models.proto | 3 ++- protocode.proto | 25 ++++++++++++------------- role.proto | 28 +++++++++++++--------------- 3 files changed, 27 insertions(+), 29 deletions(-) diff --git a/models.proto b/models.proto index 642a917..c624604 100644 --- a/models.proto +++ b/models.proto @@ -148,6 +148,7 @@ message Role { bool del = 34; int32 copies_num = 35; map talent_skill = 36; //当前的天赋树技能 罗盘id->天赋节点id + int32 cur_climb_carbon_id = 37; //爬塔关卡id } message Activity { @@ -186,4 +187,4 @@ message BattleOffline { repeated string treasure_reward = 4; int32 battle_carbon = 5; repeated string boss_reward = 6; -} \ No newline at end of file +} diff --git a/protocode.proto b/protocode.proto index dc12d1a..89762ec 100644 --- a/protocode.proto +++ b/protocode.proto @@ -23,19 +23,18 @@ enum ProtoCode RoleDrawCardRpc = 115; RoleCdKeyRpc = 116; RoleStartClimbRpc = 117; - RoleMiddleClimbRpc = 118; - RoleEndClimbRpc = 119; - RoleRankClimbRpc = 120; - RoleMoppingUpRpc = 121; - ActivateTalentTreeNodeRpc = 122; - SelectTalentTreeSkillRpc = 123; - ReconnectRpc = 124; - RoleLuckyStartRpc = 125; - RoleLuckySeekRpc = 126; - RoleLuckyRewardRpc = 127; - RoleCostDiamondAddSpRpc = 128; - RoleActivityCarbonStartRpc = 129; - RoleActivityCarbonEndRpc = 130; + RoleEndClimbRpc = 118; + RoleRankClimbRpc = 119; + RoleMoppingUpRpc = 120; + ActivateTalentTreeNodeRpc = 121; + SelectTalentTreeSkillRpc = 122; + ReconnectRpc = 123; + RoleLuckyStartRpc = 124; + RoleLuckySeekRpc = 125; + RoleLuckyRewardRpc = 126; + RoleCostDiamondAddSpRpc = 127; + RoleActivityCarbonStartRpc = 128; + RoleActivityCarbonEndRpc = 129; HeroEquipReferRpc = 201; HeroFragmentCovertRpc = 202; diff --git a/role.proto b/role.proto index f034838..5ef4975 100644 --- a/role.proto +++ b/role.proto @@ -168,32 +168,30 @@ message RoleCdKeyRsp { } message RoleStartClimbReq { - int32 chapter_id = 1; - int32 carbon_id = 2; - string team_id = 3; + int32 carbon_id = 1; } message RoleStartClimbRsp { } -message RoleMiddleClimbReq { - int32 chapter_id = 1; - int32 carbon_id = 2; - string team_id = 3; -} - -message RoleMiddleClimbRsp { - int64 timestamp = 1; -} +// message RoleMiddleClimbReq { +// int32 chapter_id = 1; +// int32 carbon_id = 2; +// string team_id = 3; +// } +// +// message RoleMiddleClimbRsp { +// int64 timestamp = 1; +// } message RoleEndClimbReq { - int32 chapter_id = 1; - int32 carbon_id = 2; + int32 carbon_id = 1; string team_id = 3; } message RoleEndClimbRsp { - map record = 1; + // map record = 1; + map reward = 1; int32 hishigh = 2; int64 timestamp = 3; } -- libgit2 0.21.2