Commit 3bc77b1d2e5585497c0f8b63bc3ecce7a31c0ae9
1 parent
cec53649
fix: climb协议修改
Showing
3 changed files
with
27 additions
and
29 deletions
Show diff stats
models.proto
| @@ -148,6 +148,7 @@ message Role { | @@ -148,6 +148,7 @@ message Role { | ||
| 148 | bool del = 34; | 148 | bool del = 34; |
| 149 | int32 copies_num = 35; | 149 | int32 copies_num = 35; |
| 150 | map<int32,TalentSkillList> talent_skill = 36; //当前的天赋树技能 罗盘id->天赋节点id | 150 | map<int32,TalentSkillList> talent_skill = 36; //当前的天赋树技能 罗盘id->天赋节点id |
| 151 | + int32 cur_climb_carbon_id = 37; //爬塔关卡id | ||
| 151 | } | 152 | } |
| 152 | 153 | ||
| 153 | message Activity { | 154 | message Activity { |
| @@ -186,4 +187,4 @@ message BattleOffline { | @@ -186,4 +187,4 @@ message BattleOffline { | ||
| 186 | repeated string treasure_reward = 4; | 187 | repeated string treasure_reward = 4; |
| 187 | int32 battle_carbon = 5; | 188 | int32 battle_carbon = 5; |
| 188 | repeated string boss_reward = 6; | 189 | repeated string boss_reward = 6; |
| 189 | -} | ||
| 190 | \ No newline at end of file | 190 | \ No newline at end of file |
| 191 | +} |
protocode.proto
| @@ -23,19 +23,18 @@ enum ProtoCode | @@ -23,19 +23,18 @@ enum ProtoCode | ||
| 23 | RoleDrawCardRpc = 115; | 23 | RoleDrawCardRpc = 115; |
| 24 | RoleCdKeyRpc = 116; | 24 | RoleCdKeyRpc = 116; |
| 25 | RoleStartClimbRpc = 117; | 25 | RoleStartClimbRpc = 117; |
| 26 | - RoleMiddleClimbRpc = 118; | ||
| 27 | - RoleEndClimbRpc = 119; | ||
| 28 | - RoleRankClimbRpc = 120; | ||
| 29 | - RoleMoppingUpRpc = 121; | ||
| 30 | - ActivateTalentTreeNodeRpc = 122; | ||
| 31 | - SelectTalentTreeSkillRpc = 123; | ||
| 32 | - ReconnectRpc = 124; | ||
| 33 | - RoleLuckyStartRpc = 125; | ||
| 34 | - RoleLuckySeekRpc = 126; | ||
| 35 | - RoleLuckyRewardRpc = 127; | ||
| 36 | - RoleCostDiamondAddSpRpc = 128; | ||
| 37 | - RoleActivityCarbonStartRpc = 129; | ||
| 38 | - RoleActivityCarbonEndRpc = 130; | 26 | + RoleEndClimbRpc = 118; |
| 27 | + RoleRankClimbRpc = 119; | ||
| 28 | + RoleMoppingUpRpc = 120; | ||
| 29 | + ActivateTalentTreeNodeRpc = 121; | ||
| 30 | + SelectTalentTreeSkillRpc = 122; | ||
| 31 | + ReconnectRpc = 123; | ||
| 32 | + RoleLuckyStartRpc = 124; | ||
| 33 | + RoleLuckySeekRpc = 125; | ||
| 34 | + RoleLuckyRewardRpc = 126; | ||
| 35 | + RoleCostDiamondAddSpRpc = 127; | ||
| 36 | + RoleActivityCarbonStartRpc = 128; | ||
| 37 | + RoleActivityCarbonEndRpc = 129; | ||
| 39 | 38 | ||
| 40 | HeroEquipReferRpc = 201; | 39 | HeroEquipReferRpc = 201; |
| 41 | HeroFragmentCovertRpc = 202; | 40 | HeroFragmentCovertRpc = 202; |
role.proto
| @@ -168,32 +168,30 @@ message RoleCdKeyRsp { | @@ -168,32 +168,30 @@ message RoleCdKeyRsp { | ||
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | message RoleStartClimbReq { | 170 | message RoleStartClimbReq { |
| 171 | - int32 chapter_id = 1; | ||
| 172 | - int32 carbon_id = 2; | ||
| 173 | - string team_id = 3; | 171 | + int32 carbon_id = 1; |
| 174 | } | 172 | } |
| 175 | 173 | ||
| 176 | message RoleStartClimbRsp { | 174 | message RoleStartClimbRsp { |
| 177 | } | 175 | } |
| 178 | 176 | ||
| 179 | -message RoleMiddleClimbReq { | ||
| 180 | - int32 chapter_id = 1; | ||
| 181 | - int32 carbon_id = 2; | ||
| 182 | - string team_id = 3; | ||
| 183 | -} | ||
| 184 | - | ||
| 185 | -message RoleMiddleClimbRsp { | ||
| 186 | - int64 timestamp = 1; | ||
| 187 | -} | 177 | +// message RoleMiddleClimbReq { |
| 178 | +// int32 chapter_id = 1; | ||
| 179 | +// int32 carbon_id = 2; | ||
| 180 | +// string team_id = 3; | ||
| 181 | +// } | ||
| 182 | +// | ||
| 183 | +// message RoleMiddleClimbRsp { | ||
| 184 | +// int64 timestamp = 1; | ||
| 185 | +// } | ||
| 188 | 186 | ||
| 189 | message RoleEndClimbReq { | 187 | message RoleEndClimbReq { |
| 190 | - int32 chapter_id = 1; | ||
| 191 | - int32 carbon_id = 2; | 188 | + int32 carbon_id = 1; |
| 192 | string team_id = 3; | 189 | string team_id = 3; |
| 193 | } | 190 | } |
| 194 | 191 | ||
| 195 | message RoleEndClimbRsp { | 192 | message RoleEndClimbRsp { |
| 196 | - map<string,string> record = 1; | 193 | + // map<string,string> record = 1; |
| 194 | + map<int32,int32> reward = 1; | ||
| 197 | int32 hishigh = 2; | 195 | int32 hishigh = 2; |
| 198 | int64 timestamp = 3; | 196 | int64 timestamp = 3; |
| 199 | } | 197 | } |