Commit c1ff4b58fa31139fb6c6549985f06aec8c08131d
1 parent
212ce609
feat: 添加英雄转生协议
Showing
2 changed files
with
14 additions
and
5 deletions
Show diff stats
game.proto
@@ -146,6 +146,14 @@ message HeroUpLevelRsp { | @@ -146,6 +146,14 @@ message HeroUpLevelRsp { | ||
146 | models.Hero hero = 1; | 146 | models.Hero hero = 1; |
147 | } | 147 | } |
148 | 148 | ||
149 | +message HeroReinReq { | ||
150 | + string hero_id = 1; | ||
151 | +} | ||
152 | + | ||
153 | +message HeroReinRsp { | ||
154 | + models.Hero hero = 1; | ||
155 | +} | ||
156 | + | ||
149 | message EmailListReq { | 157 | message EmailListReq { |
150 | } | 158 | } |
151 | 159 |
protocode.proto
@@ -22,11 +22,12 @@ enum ProtoCode | @@ -22,11 +22,12 @@ enum ProtoCode | ||
22 | EquipmentDelRpc = 514; | 22 | EquipmentDelRpc = 514; |
23 | EquipmentEnhanceRpc = 515; | 23 | EquipmentEnhanceRpc = 515; |
24 | HeroUpLevelRpc = 516; | 24 | HeroUpLevelRpc = 516; |
25 | - EmailListRpc = 517; | ||
26 | - EmailDrawRpc = 518; | ||
27 | - EmailCheckRpc = 519; | ||
28 | - EmailDelRpc = 520; | ||
29 | - StoreBuyRpc = 521; | 25 | + HeroReinRpc = 517; |
26 | + EmailListRpc = 518; | ||
27 | + EmailDrawRpc = 519; | ||
28 | + EmailCheckRpc = 520; | ||
29 | + EmailDelRpc = 521; | ||
30 | + StoreBuyRpc = 522; | ||
30 | 31 | ||
31 | DisConnectNty = 1001; | 32 | DisConnectNty = 1001; |
32 | RoleUpdatePropertyNty = 1002; | 33 | RoleUpdatePropertyNty = 1002; |