Commit 6761b30542b7227fa7ac7eadad3961d4e4ba6a51
1 parent
4a9668af
fix: 宝石切割Attention的func
Showing
3 changed files
with
11 additions
and
0 deletions
Show diff stats
game.proto
@@ -285,8 +285,17 @@ message GemSliceReq { | @@ -285,8 +285,17 @@ message GemSliceReq { | ||
285 | string slot_id = 1; | 285 | string slot_id = 1; |
286 | map<string,int32> costs = 2; | 286 | map<string,int32> costs = 2; |
287 | int32 attention_id = 3; | 287 | int32 attention_id = 3; |
288 | + int32 gem_level = 4; | ||
288 | } | 289 | } |
289 | 290 | ||
290 | message GemSliceRsp { | 291 | message GemSliceRsp { |
291 | models.GemSlot gem_slot = 1; | 292 | models.GemSlot gem_slot = 1; |
292 | } | 293 | } |
294 | + | ||
295 | +message GemSliceRewardReq { | ||
296 | + string slot_id = 1; | ||
297 | +} | ||
298 | + | ||
299 | +message GemSliceRewardRsp { | ||
300 | + string reward = 1; | ||
301 | +} |
models.proto
protocode.proto
@@ -37,6 +37,7 @@ enum ProtoCode | @@ -37,6 +37,7 @@ enum ProtoCode | ||
37 | StoreBuyRpc = 529; | 37 | StoreBuyRpc = 529; |
38 | ItemGemCompoundRpc = 530; | 38 | ItemGemCompoundRpc = 530; |
39 | GemSliceRpc = 531; | 39 | GemSliceRpc = 531; |
40 | + GemSliceRewardRpc = 532; | ||
40 | 41 | ||
41 | DisConnectNty = 1001; | 42 | DisConnectNty = 1001; |
42 | RoleUpdatePropertyNty = 1002; | 43 | RoleUpdatePropertyNty = 1002; |