Commit f132bf0858515e357d4252475ec78df3cb604464

Authored by zhangqijia
1 parent 8542b60b

fix: 添加buff协议

Showing 3 changed files with 14 additions and 7 deletions   Show diff stats
game.proto
... ... @@ -108,6 +108,11 @@ message RoleOpenBoxRsp{
108 108 map<string,int32> reward = 3;
109 109 }
110 110  
  111 +message RoleBuffRar{
  112 + string chapter_id = 1;
  113 + map<string,int32> buffs = 3;
  114 +}
  115 +
111 116 message EquipmentDelRar {
112 117 repeated string id = 1;
113 118 }
... ...
models.proto
... ... @@ -120,4 +120,5 @@ message Role {
120 120 map<int32,int32> month_task = 22;
121 121  
122 122 int32 guide_steps = 23;
  123 + map<string,string> buffs = 24;
123 124 }
124 125 \ No newline at end of file
... ...
protocode.proto
... ... @@ -17,13 +17,14 @@ enum ProtoCode
17 17 RoleGuideRpc = 509;
18 18 RoleTaskRpc = 510;
19 19 RoleOpenBoxRpc = 511;
20   - EquipmentDelRpc = 512;
21   - HeroUpLevelRpc = 513;
22   - EmailListRpc = 514;
23   - EmailDrawRpc = 515;
24   - EmailCheckRpc = 516;
25   - EmailDelRpc = 517;
26   - StoreBuyRpc = 518;
  20 + RoleBuffRpc = 512;
  21 + EquipmentDelRpc = 513;
  22 + HeroUpLevelRpc = 514;
  23 + EmailListRpc = 515;
  24 + EmailDrawRpc = 516;
  25 + EmailCheckRpc = 517;
  26 + EmailDelRpc = 518;
  27 + StoreBuyRpc = 519;
27 28  
28 29 DisConnectNty = 1001;
29 30 RoleUpdatePropertyNty = 1002;
... ...