Commit 1f5165e61cb80b369c2799ca330a2f40fe61f32e
1 parent
3050ad04
fix: 增加抽卡协议
Showing
2 changed files
with
23 additions
and
14 deletions
Show diff stats
game.proto
@@ -131,6 +131,17 @@ message RoleCostRsp { | @@ -131,6 +131,17 @@ message RoleCostRsp { | ||
131 | int32 cur = 1; | 131 | int32 cur = 1; |
132 | } | 132 | } |
133 | 133 | ||
134 | +message RoleLogOutRar { | ||
135 | +} | ||
136 | + | ||
137 | +message RoleDropReq { | ||
138 | + string key = 1; | ||
139 | +} | ||
140 | + | ||
141 | +message RoleDropRsp { | ||
142 | + map<string,int32> reward = 3; | ||
143 | +} | ||
144 | + | ||
134 | message EquipmentDelReq { | 145 | message EquipmentDelReq { |
135 | repeated string id = 1; | 146 | repeated string id = 1; |
136 | } | 147 | } |
@@ -226,6 +237,3 @@ message StoreUpdatePropertyNty { | @@ -226,6 +237,3 @@ message StoreUpdatePropertyNty { | ||
226 | repeated string keys = 1; // 键 名字 | 237 | repeated string keys = 1; // 键 名字 |
227 | models.Store store = 2; | 238 | models.Store store = 2; |
228 | } | 239 | } |
229 | - | ||
230 | -message RoleLogOutRar { | ||
231 | -} | ||
232 | \ No newline at end of file | 240 | \ No newline at end of file |
protocode.proto
@@ -20,17 +20,18 @@ enum ProtoCode | @@ -20,17 +20,18 @@ enum ProtoCode | ||
20 | RoleBuffRpc = 512; | 20 | RoleBuffRpc = 512; |
21 | RoleResetChapterRpc = 513; | 21 | RoleResetChapterRpc = 513; |
22 | RoleCostRpc = 514; | 22 | RoleCostRpc = 514; |
23 | - EquipmentDelRpc = 515; | ||
24 | - EquipmentEnhanceRpc = 516; | ||
25 | - HeroUpLevelRpc = 517; | ||
26 | - HeroReinRpc = 518; | ||
27 | - HeroSkillUpLevelRpc = 519; | ||
28 | - EmailListRpc = 520; | ||
29 | - EmailDrawRpc = 521; | ||
30 | - EmailCheckRpc = 522; | ||
31 | - EmailDelRpc = 523; | ||
32 | - StoreBuyRpc = 524; | ||
33 | - RoleLogOutRpc = 525; | 23 | + RoleLogOutRpc = 515; |
24 | + RoleDropRpc = 516; | ||
25 | + EquipmentDelRpc = 517; | ||
26 | + EquipmentEnhanceRpc = 518; | ||
27 | + HeroUpLevelRpc = 519; | ||
28 | + HeroReinRpc = 520; | ||
29 | + HeroSkillUpLevelRpc = 521; | ||
30 | + EmailListRpc = 522; | ||
31 | + EmailDrawRpc = 523; | ||
32 | + EmailCheckRpc = 524; | ||
33 | + EmailDelRpc = 525; | ||
34 | + StoreBuyRpc = 526; | ||
34 | 35 | ||
35 | DisConnectNty = 1001; | 36 | DisConnectNty = 1001; |
36 | RoleUpdatePropertyNty = 1002; | 37 | RoleUpdatePropertyNty = 1002; |