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 | 148 | bool del = 34; |
149 | 149 | int32 copies_num = 35; |
150 | 150 | map<int32,TalentSkillList> talent_skill = 36; //当前的天赋树技能 罗盘id->天赋节点id |
151 | + int32 cur_climb_carbon_id = 37; //爬塔关卡id | |
151 | 152 | } |
152 | 153 | |
153 | 154 | message Activity { |
... | ... | @@ -186,4 +187,4 @@ message BattleOffline { |
186 | 187 | repeated string treasure_reward = 4; |
187 | 188 | int32 battle_carbon = 5; |
188 | 189 | repeated string boss_reward = 6; |
189 | -} | |
190 | 190 | \ No newline at end of file |
191 | +} | ... | ... |
protocode.proto
... | ... | @@ -23,19 +23,18 @@ enum ProtoCode |
23 | 23 | RoleDrawCardRpc = 115; |
24 | 24 | RoleCdKeyRpc = 116; |
25 | 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 | 39 | HeroEquipReferRpc = 201; |
41 | 40 | HeroFragmentCovertRpc = 202; | ... | ... |
role.proto
... | ... | @@ -168,32 +168,30 @@ message RoleCdKeyRsp { |
168 | 168 | } |
169 | 169 | |
170 | 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 | 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 | 187 | message RoleEndClimbReq { |
190 | - int32 chapter_id = 1; | |
191 | - int32 carbon_id = 2; | |
188 | + int32 carbon_id = 1; | |
192 | 189 | string team_id = 3; |
193 | 190 | } |
194 | 191 | |
195 | 192 | message RoleEndClimbRsp { |
196 | - map<string,string> record = 1; | |
193 | + // map<string,string> record = 1; | |
194 | + map<int32,int32> reward = 1; | |
197 | 195 | int32 hishigh = 2; |
198 | 196 | int64 timestamp = 3; |
199 | 197 | } | ... | ... |