Commit ccfcf050a15195c7d24c65c93e220394990b657a
1 parent
158d343b
feat: add climb proto
Showing
2 changed files
with
40 additions
and
19 deletions
Show diff stats
game.proto
| ... | ... | @@ -56,7 +56,6 @@ message HeroEquipReferRar { |
| 56 | 56 | |
| 57 | 57 | message HeroFragmentCovertReq{ |
| 58 | 58 | string hero_id = 1; |
| 59 | - int32 fragment_count = 2; | |
| 60 | 59 | } |
| 61 | 60 | |
| 62 | 61 | message HeroFragmentCovertRsp{ |
| ... | ... | @@ -161,7 +160,26 @@ message RoleCdKeyReq { |
| 161 | 160 | } |
| 162 | 161 | |
| 163 | 162 | message RoleCdKeyRsp { |
| 164 | - string reward = 2; | |
| 163 | + string reward = 1; | |
| 164 | +} | |
| 165 | + | |
| 166 | +message RoleStartClimbReq { | |
| 167 | + int32 chapter_id = 1; | |
| 168 | + int32 carbon_id = 2; | |
| 169 | + string team_id = 3; | |
| 170 | +} | |
| 171 | + | |
| 172 | +message RoleStartClimbRsp { | |
| 173 | +} | |
| 174 | + | |
| 175 | +message RoleEndClimbReq { | |
| 176 | + int32 chapter_id = 1; | |
| 177 | + int32 carbon_id = 2; | |
| 178 | + string team_id = 3; | |
| 179 | +} | |
| 180 | + | |
| 181 | +message RoleEndClimbRsp { | |
| 182 | + string reward = 1; | |
| 165 | 183 | } |
| 166 | 184 | |
| 167 | 185 | message EquipmentDelReq { |
| ... | ... | @@ -325,3 +343,4 @@ message GemSliceRewardReq { |
| 325 | 343 | message GemSliceRewardRsp { |
| 326 | 344 | string reward = 1; |
| 327 | 345 | } |
| 346 | + | ... | ... |
protocode.proto
| ... | ... | @@ -24,23 +24,25 @@ enum ProtoCode |
| 24 | 24 | RoleLogOutRpc = 516; |
| 25 | 25 | RoleDrawCardRpc = 517; |
| 26 | 26 | RoleCdKeyRpc = 518; |
| 27 | - EquipmentDelRpc = 519; | |
| 28 | - EquipmentEnhanceRpc = 520; | |
| 29 | - EquipmentSetGemRpc = 521; | |
| 30 | - EquipmentDelGemRpc = 522; | |
| 31 | - HeroUpLevelRpc = 523; | |
| 32 | - HeroReinRpc = 524; | |
| 33 | - HeroSkillUpLevelRpc = 525; | |
| 34 | - EmailListRpc = 526; | |
| 35 | - EmailDrawRpc = 527; | |
| 36 | - EmailCheckRpc = 528; | |
| 37 | - EmailDelRpc = 529; | |
| 38 | - StoreBuyRpc = 530; | |
| 39 | - ItemGemCompoundRpc = 531; | |
| 40 | - GemSliceRpc = 532; | |
| 41 | - GemSliceStopRpc = 533; | |
| 42 | - GemAttentionRpc = 534; | |
| 43 | - GemSliceRewardRpc = 535; | |
| 27 | + RoleStartClimbRpc = 519; | |
| 28 | + RoleEndClimbRpc = 520; | |
| 29 | + EquipmentDelRpc = 521; | |
| 30 | + EquipmentEnhanceRpc = 522; | |
| 31 | + EquipmentSetGemRpc = 523; | |
| 32 | + EquipmentDelGemRpc = 524; | |
| 33 | + HeroUpLevelRpc = 525; | |
| 34 | + HeroReinRpc = 526; | |
| 35 | + HeroSkillUpLevelRpc = 527; | |
| 36 | + EmailListRpc = 528; | |
| 37 | + EmailDrawRpc = 529; | |
| 38 | + EmailCheckRpc = 530; | |
| 39 | + EmailDelRpc = 531; | |
| 40 | + StoreBuyRpc = 532; | |
| 41 | + ItemGemCompoundRpc = 533; | |
| 42 | + GemSliceRpc = 534; | |
| 43 | + GemSliceStopRpc = 535; | |
| 44 | + GemAttentionRpc = 536; | |
| 45 | + GemSliceRewardRpc = 537; | |
| 44 | 46 | |
| 45 | 47 | DisConnectNty = 1001; |
| 46 | 48 | RoleUpdatePropertyNty = 1002; | ... | ... |