Commit 6761b30542b7227fa7ac7eadad3961d4e4ba6a51

Authored by zhangqijia
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 285 string slot_id = 1;
286 286 map<string,int32> costs = 2;
287 287 int32 attention_id = 3;
  288 + int32 gem_level = 4;
288 289 }
289 290  
290 291 message GemSliceRsp {
291 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
... ... @@ -80,6 +80,7 @@ message GemSlot {
80 80 int32 slot = 3;
81 81 map<string, int32> reward = 4;
82 82 int64 end_time = 5;
  83 + bool start = 6;
83 84 }
84 85  
85 86 message Role {
... ...
protocode.proto
... ... @@ -37,6 +37,7 @@ enum ProtoCode
37 37 StoreBuyRpc = 529;
38 38 ItemGemCompoundRpc = 530;
39 39 GemSliceRpc = 531;
  40 + GemSliceRewardRpc = 532;
40 41  
41 42 DisConnectNty = 1001;
42 43 RoleUpdatePropertyNty = 1002;
... ...