Commit 6761b30542b7227fa7ac7eadad3961d4e4ba6a51

Authored by zhangqijia
1 parent 4a9668af

fix: 宝石切割Attention的func

Showing 3 changed files with 11 additions and 0 deletions   Show diff stats
@@ -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 +}
@@ -80,6 +80,7 @@ message GemSlot { @@ -80,6 +80,7 @@ message GemSlot {
80 int32 slot = 3; 80 int32 slot = 3;
81 map<string, int32> reward = 4; 81 map<string, int32> reward = 4;
82 int64 end_time = 5; 82 int64 end_time = 5;
  83 + bool start = 6;
83 } 84 }
84 85
85 message Role { 86 message Role {
@@ -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;