Commit 6f143ad030d2acb9ca7c7bc93cfbadd2ec1f97c3

Authored by zhangqijia
1 parent 4278ef1d

feat: 增加爬塔中间协议, 1. 客户端异常退出,登录时候返回爬塔奖励。2正常退出,结算时候给奖励

Showing 3 changed files with 30 additions and 18 deletions   Show diff stats
@@ -172,6 +172,16 @@ message RoleStartClimbReq { @@ -172,6 +172,16 @@ message RoleStartClimbReq {
172 message RoleStartClimbRsp { 172 message RoleStartClimbRsp {
173 } 173 }
174 174
  175 +message RoleMiddleClimbReq {
  176 + int32 chapter_id = 1;
  177 + int32 carbon_id = 2;
  178 + string team_id = 3;
  179 +}
  180 +
  181 +message RoleMiddleClimbRsp {
  182 + string reward = 1;
  183 +}
  184 +
175 message RoleEndClimbReq { 185 message RoleEndClimbReq {
176 int32 chapter_id = 1; 186 int32 chapter_id = 1;
177 int32 carbon_id = 2; 187 int32 carbon_id = 2;
@@ -122,4 +122,5 @@ message Role { @@ -122,4 +122,5 @@ message Role {
122 int64 otime = 27; // 离线时间 122 int64 otime = 27; // 离线时间
123 int64 ctime = 28; // 创建时间 123 int64 ctime = 28; // 创建时间
124 string channel = 29; 124 string channel = 29;
  125 + string climb_reward = 30;
125 } 126 }
126 \ No newline at end of file 127 \ No newline at end of file
@@ -25,24 +25,25 @@ enum ProtoCode @@ -25,24 +25,25 @@ enum ProtoCode
25 RoleDrawCardRpc = 517; 25 RoleDrawCardRpc = 517;
26 RoleCdKeyRpc = 518; 26 RoleCdKeyRpc = 518;
27 RoleStartClimbRpc = 519; 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; 28 + RoleMiddleClimbRpc = 520;
  29 + RoleEndClimbRpc = 521;
  30 + EquipmentDelRpc = 522;
  31 + EquipmentEnhanceRpc = 523;
  32 + EquipmentSetGemRpc = 524;
  33 + EquipmentDelGemRpc = 525;
  34 + HeroUpLevelRpc = 526;
  35 + HeroReinRpc = 527;
  36 + HeroSkillUpLevelRpc = 528;
  37 + EmailListRpc = 529;
  38 + EmailDrawRpc = 530;
  39 + EmailCheckRpc = 531;
  40 + EmailDelRpc = 532;
  41 + StoreBuyRpc = 533;
  42 + ItemGemCompoundRpc = 534;
  43 + GemSliceRpc = 535;
  44 + GemSliceStopRpc = 536;
  45 + GemAttentionRpc = 537;
  46 + GemSliceRewardRpc = 538;
46 47
47 DisConnectNty = 1001; 48 DisConnectNty = 1001;
48 RoleUpdatePropertyNty = 1002; 49 RoleUpdatePropertyNty = 1002;