Commit 0e0e8d998c82d6ee7d3e611dc993c1a8eaa35a20
1 parent
5d8ceb93
feat: add 装备合成协议
Showing
3 changed files
with
10 additions
and
0 deletions
Show diff stats
equipment.proto
@@ -50,3 +50,11 @@ message EquipmentDelGemRsp { | @@ -50,3 +50,11 @@ message EquipmentDelGemRsp { | ||
50 | string reward = 3; | 50 | string reward = 3; |
51 | } | 51 | } |
52 | 52 | ||
53 | +message EquipmentCompositeReq { | ||
54 | + int32 item_id = 1; | ||
55 | + int32 item_count = 2; | ||
56 | +} | ||
57 | + | ||
58 | +message EquipmentCompositeRsp { | ||
59 | + repeated models.Equipment equips = 1; | ||
60 | +} |
models.proto
@@ -24,6 +24,7 @@ message Hero { | @@ -24,6 +24,7 @@ message Hero { | ||
24 | map<int32,int32> skills = 6; | 24 | map<int32,int32> skills = 6; |
25 | map<string,int32> equipments = 7; | 25 | map<string,int32> equipments = 7; |
26 | int32 advance = 8; | 26 | int32 advance = 8; |
27 | + int32 rein_count = 9; | ||
27 | } | 28 | } |
28 | 29 | ||
29 | message Equipment { | 30 | message Equipment { |
protocode.proto
@@ -44,6 +44,7 @@ enum ProtoCode | @@ -44,6 +44,7 @@ enum ProtoCode | ||
44 | EquipmentEnhanceRpc = 402; | 44 | EquipmentEnhanceRpc = 402; |
45 | EquipmentSetGemRpc = 403; | 45 | EquipmentSetGemRpc = 403; |
46 | EquipmentDelGemRpc = 404; | 46 | EquipmentDelGemRpc = 404; |
47 | + EquipmentCompositeRpc = 405; | ||
47 | 48 | ||
48 | StoreBuyRpc = 501; | 49 | StoreBuyRpc = 501; |
49 | 50 |