Commit 76690ca0cbdf0aff89ea6be9e58ea34bdf97d84f

Authored by zhangqijia
1 parent eed8e8dc

feat: 添加碎片兑换英雄协议

Showing 2 changed files with 12 additions and 5 deletions   Show diff stats
@@ -20,14 +20,20 @@ message HeroEquipReferRar { @@ -20,14 +20,20 @@ message HeroEquipReferRar {
20 } 20 }
21 21
22 message HeroFragmentCovertReq { 22 message HeroFragmentCovertReq {
23 - string hero_id = 1;  
24 - int32 frag_count = 2; 23 + int32 frag_id = 1;
25 } 24 }
26 25
27 message HeroFragmentCovertRsp { 26 message HeroFragmentCovertRsp {
28 models.Hero hero = 1; 27 models.Hero hero = 1;
29 } 28 }
30 29
  30 +message HeroUpStarReq {
  31 + string hero_id = 1;
  32 +}
  33 +
  34 +message HeroUpStarRsp {
  35 + models.Hero hero = 1;
  36 +}
31 37
32 message HeroUpLevelReq { 38 message HeroUpLevelReq {
33 string heroId = 1; 39 string heroId = 1;
@@ -29,9 +29,10 @@ enum ProtoCode @@ -29,9 +29,10 @@ enum ProtoCode
29 29
30 HeroEquipReferRpc = 201; 30 HeroEquipReferRpc = 201;
31 HeroFragmentCovertRpc = 202; 31 HeroFragmentCovertRpc = 202;
32 - HeroUpLevelRpc = 203;  
33 - HeroReinRpc = 204;  
34 - HeroSkillUpLevelRpc = 205; 32 + HeroUpStarRpc = 203;
  33 + HeroUpLevelRpc = 204;
  34 + HeroReinRpc = 205;
  35 + HeroSkillUpLevelRpc = 206;
35 36
36 EmailListRpc = 301; 37 EmailListRpc = 301;
37 EmailDrawRpc = 302; 38 EmailDrawRpc = 302;