Commit db9831507ebf4d9ae39b60e4bc8f4a3d00f0b635

Authored by zhangqijia
1 parent 054f5e8a

fix: 活动关卡的相关协议

Showing 2 changed files with 9 additions and 10 deletions   Show diff stats
protocode.proto
... ... @@ -33,8 +33,8 @@ enum ProtoCode
33 33 RoleLuckySeekRpc = 125;
34 34 RoleLuckyRewardRpc = 126;
35 35 RoleCostDiamondAddSpRpc = 127;
36   - RoleSurviveCarbonStartRpc = 128;
37   - RoleSurviveCarbonEndRpc = 129;
  36 + RoleActivityCarbonStartRpc = 128;
  37 + RoleActivityCarbonEndRpc = 129;
38 38  
39 39 HeroEquipReferRpc = 201;
40 40 HeroFragmentCovertRpc = 202;
... ... @@ -77,9 +77,6 @@ enum ProtoCode
77 77 DispatchEndRpc = 803;
78 78 DispatchQuickRpc = 804;
79 79  
80   - CarbonSurviveStartRpc = 901;
81   - CarbonSurviveEndRpc = 902;
82   -
83 80  
84 81 DisConnectNty = 1001;
85 82 RoleUpdatePropertyNty = 1002;
... ...
role.proto
... ... @@ -278,16 +278,18 @@ message RoleTaskOpenNty {
278 278 }
279 279  
280 280  
281   -message RoleSurviveCarbonStartReq {
282   - int32 carbon_id = 1;
  281 +message RoleActivityCarbonStartReq {
  282 + int32 act_type = 1;
  283 + int32 act_id = 2;
  284 + int32 carbon_id = 3;
283 285 }
284 286  
285   -message RoleSurviveCarbonStartRsp {
  287 +message RoleActivityCarbonStartRsp {
286 288 }
287 289  
288   -message RoleSurviveCarbonEndReq {
  290 +message RoleActivityCarbonEndReq {
289 291 }
290 292  
291   -message RoleSurviveCarbonEndRsp {
  293 +message RoleActivityCarbonEndRsp {
292 294 map<int32,int32> reward = 1;
293 295 }
... ...