Commit 753495c6eff899239365191a19507c564f161d37
1 parent
91f70c1e
feat: 英雄升级
Showing
2 changed files
with
13 additions
and
12 deletions
Show diff stats
game.proto
... | ... | @@ -41,7 +41,6 @@ message EquipInfo { |
41 | 41 | |
42 | 42 | //ResponseCmd HeroEquipReferReq |
43 | 43 | message HeroEquipReferReq { |
44 | - | |
45 | 44 | repeated EquipInfo equipIds = 1; |
46 | 45 | string hero_id = 2; |
47 | 46 | bool refer = 3; //true 穿戴, false 脱下 |
... | ... | @@ -65,10 +64,6 @@ message RoleUpdateItemsRsp { |
65 | 64 | string items = 1; |
66 | 65 | } |
67 | 66 | |
68 | -message RoleUpdateChangeRsp { | |
69 | - | |
70 | -} | |
71 | - | |
72 | 67 | //ResponseCmd RoleClearItemsReq |
73 | 68 | message RoleClearItemsReq { |
74 | 69 | repeated string items = 1; |
... | ... | @@ -106,3 +101,9 @@ message EquipmentDelReq { |
106 | 101 | message EquipmentAddRsp { |
107 | 102 | models.Equipment equip = 1; |
108 | 103 | } |
104 | + | |
105 | +message HeroUpLevelReq { | |
106 | + string heroId = 1; | |
107 | + int32 itemId = 2; | |
108 | + int32 count = 3; | |
109 | +} | |
109 | 110 | \ No newline at end of file | ... | ... |
protocode.proto
... | ... | @@ -17,12 +17,12 @@ enum ProtoCode |
17 | 17 | RoleRsp = 9; |
18 | 18 | RoleUpdatePropertyRsp = 10; |
19 | 19 | RoleUpdateItemsRsp = 11; |
20 | - RoleUpdateChangeRsp = 12; | |
21 | - RoleClearItemsReq = 13; | |
22 | - RoleStartBattleReq = 14; | |
23 | - RoleEndBattleReq = 15; | |
24 | - RoleEndBattleRsp = 16; | |
25 | - EquipmentDelReq = 17; | |
26 | - EquipmentAddRsp = 18; | |
20 | + RoleClearItemsReq = 12; | |
21 | + RoleStartBattleReq = 13; | |
22 | + RoleEndBattleReq = 14; | |
23 | + RoleEndBattleRsp = 15; | |
24 | + EquipmentDelReq = 16; | |
25 | + EquipmentAddRsp = 17; | |
26 | + HeroUpLevelReq = 18; | |
27 | 27 | |
28 | 28 | } |
29 | 29 | \ No newline at end of file | ... | ... |