Commit 05ff05d1e4f3b6b8850d12198f4157f4c4259d8e

Authored by zhangqijia
1 parent 19116a4d

fix: 增加开箱子协议

Showing 2 changed files with 17 additions and 7 deletions   Show diff stats
@@ -99,6 +99,15 @@ message RoleTaskRar { @@ -99,6 +99,15 @@ message RoleTaskRar {
99 string reward = 3; 99 string reward = 3;
100 } 100 }
101 101
  102 +message RoleOpenBoxReq {
  103 + string key = 1;
  104 + map<string, int32> costs = 2;
  105 +}
  106 +
  107 +message RoleOpenBoxRsp{
  108 + map<string, int32> reward = 3;
  109 +}
  110 +
102 message EquipmentDelRar { 111 message EquipmentDelRar {
103 repeated string id = 1; 112 repeated string id = 1;
104 } 113 }
@@ -16,13 +16,14 @@ enum ProtoCode @@ -16,13 +16,14 @@ enum ProtoCode
16 RoleEndBattleRpc = 508; 16 RoleEndBattleRpc = 508;
17 RoleGuideRpc = 509; 17 RoleGuideRpc = 509;
18 RoleTaskRpc = 510; 18 RoleTaskRpc = 510;
19 - EquipmentDelRpc = 511;  
20 - HeroUpLevelRpc = 512;  
21 - EmailListRpc = 513;  
22 - EmailDrawRpc = 514;  
23 - EmailCheckRpc = 515;  
24 - EmailDelRpc = 516;  
25 - StoreBuyRpc = 517; 19 + RoleOpenBoxRpc = 511;
  20 + EquipmentDelRpc = 512;
  21 + HeroUpLevelRpc = 513;
  22 + EmailListRpc = 514;
  23 + EmailDrawRpc = 515;
  24 + EmailCheckRpc = 516;
  25 + EmailDelRpc = 517;
  26 + StoreBuyRpc = 518;
26 27
27 DisConnectNty = 1001; 28 DisConnectNty = 1001;
28 RoleUpdatePropertyNty = 1002; 29 RoleUpdatePropertyNty = 1002;