Commit 6b7d7ac2788940c517f2aec98e718819559c156c
1 parent
6761b305
fix: 宝石切割 attention 协议
Showing
3 changed files
with
15 additions
and
2 deletions
Show diff stats
game.proto
... | ... | @@ -292,8 +292,18 @@ message GemSliceRsp { |
292 | 292 | models.GemSlot gem_slot = 1; |
293 | 293 | } |
294 | 294 | |
295 | +message GemAttentionReq { | |
296 | + string slot_id = 1; | |
297 | +} | |
298 | + | |
299 | +message GemAttentionRsp { | |
300 | + string slot_id = 1; | |
301 | + repeated int32 attentions = 2; | |
302 | +} | |
303 | + | |
295 | 304 | message GemSliceRewardReq { |
296 | 305 | string slot_id = 1; |
306 | + int32 draw_type = 2; | |
297 | 307 | } |
298 | 308 | |
299 | 309 | message GemSliceRewardRsp { | ... | ... |
models.proto
... | ... | @@ -78,9 +78,11 @@ message GemSlot { |
78 | 78 | string id = 1; // @inject_tag: index:"unique" pri:"1" |
79 | 79 | string role_id = 2; |
80 | 80 | int32 slot = 3; |
81 | - map<string, int32> reward = 4; | |
81 | + map<string,int32> reward = 4; | |
82 | 82 | int64 end_time = 5; |
83 | 83 | bool start = 6; |
84 | + repeated int32 gem_attention = 7; | |
85 | + int32 group_id = 8; | |
84 | 86 | } |
85 | 87 | |
86 | 88 | message Role { | ... | ... |
protocode.proto