Commit 9e63e79023175c5d6bac23b1f1baa9fc2ef52edd
1 parent
91c34b4f
fix: proto协议号恢复到10月,新增协议号放到末尾
Showing
2 changed files
with
120 additions
and
120 deletions
Show diff stats
game.proto
... | ... | @@ -54,14 +54,6 @@ message HeroEquipReferRar { |
54 | 54 | bool refer = 3; //true 穿戴, false 脱下 |
55 | 55 | } |
56 | 56 | |
57 | -message HeroFragmentCovertReq { | |
58 | - string hero_id = 1; | |
59 | -} | |
60 | - | |
61 | -message HeroFragmentCovertRsp { | |
62 | - models.Hero hero = 1; | |
63 | -} | |
64 | - | |
65 | 57 | message RoleUpdatePropertyNty { |
66 | 58 | repeated string keys = 1; |
67 | 59 | models.Role role = 2; |
... | ... | @@ -142,67 +134,6 @@ message RoleCostRsp { |
142 | 134 | int32 cur = 1; |
143 | 135 | } |
144 | 136 | |
145 | -message RoleLogOutRar { | |
146 | -} | |
147 | - | |
148 | -message RoleDrawCardReq { | |
149 | - int32 group_id = 1; | |
150 | - int32 pool_id = 2; | |
151 | - int32 draw_count = 3; | |
152 | -} | |
153 | - | |
154 | -message RoleDrawCardRsp { | |
155 | - string reward = 1; | |
156 | -} | |
157 | - | |
158 | -message RoleCdKeyReq { | |
159 | - string cdkey = 1; | |
160 | -} | |
161 | - | |
162 | -message RoleCdKeyRsp { | |
163 | - string reward = 1; | |
164 | -} | |
165 | - | |
166 | -message RoleStartClimbReq { | |
167 | - int32 chapter_id = 1; | |
168 | - int32 carbon_id = 2; | |
169 | - string team_id = 3; | |
170 | -} | |
171 | - | |
172 | -message RoleStartClimbRsp { | |
173 | -} | |
174 | - | |
175 | -message RoleMiddleClimbReq { | |
176 | - int32 chapter_id = 1; | |
177 | - int32 carbon_id = 2; | |
178 | - string team_id = 3; | |
179 | -} | |
180 | - | |
181 | -message RoleMiddleClimbRsp { | |
182 | - string reward = 1; | |
183 | - int64 timestamp = 2; | |
184 | -} | |
185 | - | |
186 | -message RoleEndClimbReq { | |
187 | - int32 chapter_id = 1; | |
188 | - int32 carbon_id = 2; | |
189 | - string team_id = 3; | |
190 | -} | |
191 | - | |
192 | -message RoleEndClimbRsp { | |
193 | - string reward = 1; | |
194 | - int32 hishigh = 2; | |
195 | - int64 timestamp = 3; | |
196 | -} | |
197 | - | |
198 | -message RoleRankClimbReq { | |
199 | - int32 chapter_id = 1; | |
200 | -} | |
201 | - | |
202 | -message RoleRankClimbRsp { | |
203 | - repeated models.RankClimb rank = 1; | |
204 | -} | |
205 | - | |
206 | 137 | message EquipmentDelReq { |
207 | 138 | repeated string id = 1; |
208 | 139 | } |
... | ... | @@ -223,27 +154,6 @@ message EquipmentEnhanceRsp { |
223 | 154 | models.Equipment equip = 1; |
224 | 155 | } |
225 | 156 | |
226 | -message EquipmentSetGemReq { | |
227 | - string equip_id = 1; | |
228 | - string gem_id = 2; | |
229 | -} | |
230 | - | |
231 | -message EquipmentSetGemRsp { | |
232 | - string equip_id = 1; | |
233 | - string gem_ids = 2; | |
234 | -} | |
235 | - | |
236 | -message EquipmentDelGemReq { | |
237 | - string equip_id = 1; | |
238 | - string gem_id = 2; | |
239 | -} | |
240 | - | |
241 | -message EquipmentDelGemRsp { | |
242 | - string equip_id = 1; | |
243 | - string gem_ids = 2; | |
244 | - string reward = 3; | |
245 | -} | |
246 | - | |
247 | 157 | message HeroUpLevelReq { |
248 | 158 | string heroId = 1; |
249 | 159 | string items = 2; // [itemId1=count1, itemId2=count2] |
... | ... | @@ -320,6 +230,97 @@ message StoreUpdatePropertyNty { |
320 | 230 | models.Store store = 2; |
321 | 231 | } |
322 | 232 | |
233 | +message HeroFragmentCovertReq { | |
234 | + string hero_id = 1; | |
235 | +} | |
236 | + | |
237 | +message HeroFragmentCovertRsp { | |
238 | + models.Hero hero = 1; | |
239 | +} | |
240 | + | |
241 | +message RoleLogOutRar { | |
242 | +} | |
243 | + | |
244 | +message RoleDrawCardReq { | |
245 | + int32 group_id = 1; | |
246 | + int32 pool_id = 2; | |
247 | + int32 draw_count = 3; | |
248 | +} | |
249 | + | |
250 | +message RoleDrawCardRsp { | |
251 | + string reward = 1; | |
252 | +} | |
253 | + | |
254 | +message RoleCdKeyReq { | |
255 | + string cdkey = 1; | |
256 | +} | |
257 | + | |
258 | +message RoleCdKeyRsp { | |
259 | + string reward = 1; | |
260 | +} | |
261 | + | |
262 | +message RoleStartClimbReq { | |
263 | + int32 chapter_id = 1; | |
264 | + int32 carbon_id = 2; | |
265 | + string team_id = 3; | |
266 | +} | |
267 | + | |
268 | +message RoleStartClimbRsp { | |
269 | +} | |
270 | + | |
271 | +message RoleMiddleClimbReq { | |
272 | + int32 chapter_id = 1; | |
273 | + int32 carbon_id = 2; | |
274 | + string team_id = 3; | |
275 | +} | |
276 | + | |
277 | +message RoleMiddleClimbRsp { | |
278 | + string reward = 1; | |
279 | + int64 timestamp = 2; | |
280 | +} | |
281 | + | |
282 | +message RoleEndClimbReq { | |
283 | + int32 chapter_id = 1; | |
284 | + int32 carbon_id = 2; | |
285 | + string team_id = 3; | |
286 | +} | |
287 | + | |
288 | +message RoleEndClimbRsp { | |
289 | + string reward = 1; | |
290 | + int32 hishigh = 2; | |
291 | + int64 timestamp = 3; | |
292 | +} | |
293 | + | |
294 | +message RoleRankClimbReq { | |
295 | + int32 chapter_id = 1; | |
296 | +} | |
297 | + | |
298 | +message RoleRankClimbRsp { | |
299 | + repeated models.RankClimb rank = 1; | |
300 | +} | |
301 | + | |
302 | +message EquipmentSetGemReq { | |
303 | + string equip_id = 1; | |
304 | + string gem_id = 2; | |
305 | +} | |
306 | + | |
307 | +message EquipmentSetGemRsp { | |
308 | + string equip_id = 1; | |
309 | + string gem_ids = 2; | |
310 | +} | |
311 | + | |
312 | +message EquipmentDelGemReq { | |
313 | + string equip_id = 1; | |
314 | + string gem_id = 2; | |
315 | +} | |
316 | + | |
317 | +message EquipmentDelGemRsp { | |
318 | + string equip_id = 1; | |
319 | + string gem_ids = 2; | |
320 | + string reward = 3; | |
321 | +} | |
322 | + | |
323 | + | |
323 | 324 | message ItemGemCompoundReq { |
324 | 325 | int32 gem_id = 1; |
325 | 326 | int32 gem_count = 2; |
... | ... | @@ -364,4 +365,3 @@ message GemSliceRewardReq { |
364 | 365 | message GemSliceRewardRsp { |
365 | 366 | string reward = 1; |
366 | 367 | } |
367 | - | ... | ... |
protocode.proto
... | ... | @@ -11,35 +11,35 @@ enum ProtoCode |
11 | 11 | CreateRpc = 503; |
12 | 12 | ChangeTeamRpc = 504; |
13 | 13 | HeroEquipReferRpc = 505; |
14 | - HeroFragmentCovertRpc = 506; | |
15 | - RoleClearItemsRpc = 507; | |
16 | - RoleStartBattleRpc = 508; | |
17 | - RoleEndBattleRpc = 509; | |
18 | - RoleGuideRpc = 510; | |
19 | - RoleTaskRpc = 511; | |
20 | - RoleOpenBoxRpc = 512; | |
21 | - RoleBuffRpc = 513; | |
22 | - RoleResetChapterRpc = 514; | |
23 | - RoleCostRpc = 515; | |
24 | - RoleLogOutRpc = 516; | |
25 | - RoleDrawCardRpc = 517; | |
26 | - RoleCdKeyRpc = 518; | |
27 | - RoleStartClimbRpc = 519; | |
28 | - RoleMiddleClimbRpc = 520; | |
29 | - RoleEndClimbRpc = 521; | |
30 | - RoleRankClimbRpc = 522; | |
31 | - EquipmentDelRpc = 523; | |
32 | - EquipmentEnhanceRpc = 524; | |
33 | - EquipmentSetGemRpc = 525; | |
34 | - EquipmentDelGemRpc = 526; | |
35 | - HeroUpLevelRpc = 527; | |
36 | - HeroReinRpc = 528; | |
37 | - HeroSkillUpLevelRpc = 529; | |
38 | - EmailListRpc = 530; | |
39 | - EmailDrawRpc = 531; | |
40 | - EmailCheckRpc = 532; | |
41 | - EmailDelRpc = 533; | |
42 | - StoreBuyRpc = 534; | |
14 | + RoleClearItemsRpc = 506; | |
15 | + RoleStartBattleRpc = 507; | |
16 | + RoleEndBattleRpc = 508; | |
17 | + RoleGuideRpc = 509; | |
18 | + RoleTaskRpc = 510; | |
19 | + RoleOpenBoxRpc = 511; | |
20 | + RoleBuffRpc = 512; | |
21 | + RoleResetChapterRpc = 513; | |
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 | + HeroFragmentCovertRpc = 525; | |
34 | + RoleLogOutRpc = 526; | |
35 | + RoleDrawCardRpc = 527; | |
36 | + RoleCdKeyRpc = 528; | |
37 | + RoleStartClimbRpc = 529; | |
38 | + RoleMiddleClimbRpc = 530; | |
39 | + RoleEndClimbRpc = 531; | |
40 | + RoleRankClimbRpc = 532; | |
41 | + EquipmentSetGemRpc = 533; | |
42 | + EquipmentDelGemRpc = 534; | |
43 | 43 | ItemGemCompoundRpc = 535; |
44 | 44 | GemSliceRpc = 536; |
45 | 45 | GemSliceStopRpc = 537; | ... | ... |