Commit 43fb22d7a86722bd3eefca8cf3cbdc4e466c58f8
1 parent
98f1de76
fix: add cdkey
Showing
2 changed files
with
22 additions
and
13 deletions
Show diff stats
game.proto
@@ -146,6 +146,14 @@ message RoleDrawCardRsp { | @@ -146,6 +146,14 @@ message RoleDrawCardRsp { | ||
146 | string reward = 1; | 146 | string reward = 1; |
147 | } | 147 | } |
148 | 148 | ||
149 | +message RoleCdKeyReq { | ||
150 | + string cdkey = 1; | ||
151 | +} | ||
152 | + | ||
153 | +message RoleCdKeyRsp { | ||
154 | + string reward = 2; | ||
155 | +} | ||
156 | + | ||
149 | message EquipmentDelReq { | 157 | message EquipmentDelReq { |
150 | repeated string id = 1; | 158 | repeated string id = 1; |
151 | } | 159 | } |
protocode.proto
@@ -22,19 +22,20 @@ enum ProtoCode | @@ -22,19 +22,20 @@ enum ProtoCode | ||
22 | RoleCostRpc = 514; | 22 | RoleCostRpc = 514; |
23 | RoleLogOutRpc = 515; | 23 | RoleLogOutRpc = 515; |
24 | RoleDrawCardRpc = 516; | 24 | RoleDrawCardRpc = 516; |
25 | - EquipmentDelRpc = 517; | ||
26 | - EquipmentEnhanceRpc = 518; | ||
27 | - EquipmentSetGemRpc = 519; | ||
28 | - EquipmentDelGemRpc = 520; | ||
29 | - HeroUpLevelRpc = 521; | ||
30 | - HeroReinRpc = 522; | ||
31 | - HeroSkillUpLevelRpc = 523; | ||
32 | - EmailListRpc = 524; | ||
33 | - EmailDrawRpc = 525; | ||
34 | - EmailCheckRpc = 526; | ||
35 | - EmailDelRpc = 527; | ||
36 | - StoreBuyRpc = 528; | ||
37 | - ItemGemCompoundRpc = 529; | 25 | + RoleCdKeyRpc = 517; |
26 | + EquipmentDelRpc = 518; | ||
27 | + EquipmentEnhanceRpc = 519; | ||
28 | + EquipmentSetGemRpc = 520; | ||
29 | + EquipmentDelGemRpc = 521; | ||
30 | + HeroUpLevelRpc = 522; | ||
31 | + HeroReinRpc = 523; | ||
32 | + HeroSkillUpLevelRpc = 524; | ||
33 | + EmailListRpc = 525; | ||
34 | + EmailDrawRpc = 526; | ||
35 | + EmailCheckRpc = 527; | ||
36 | + EmailDelRpc = 528; | ||
37 | + StoreBuyRpc = 529; | ||
38 | + ItemGemCompoundRpc = 530; | ||
38 | 39 | ||
39 | DisConnectNty = 1001; | 40 | DisConnectNty = 1001; |
40 | RoleUpdatePropertyNty = 1002; | 41 | RoleUpdatePropertyNty = 1002; |