From 6b7d7ac2788940c517f2aec98e718819559c156c Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Wed, 16 Nov 2022 11:56:04 +0800 Subject: [PATCH] fix: 宝石切割 attention 协议 --- game.proto | 10 ++++++++++ models.proto | 4 +++- protocode.proto | 3 ++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/game.proto b/game.proto index 8446ca1..8a315e3 100644 --- a/game.proto +++ b/game.proto @@ -292,8 +292,18 @@ message GemSliceRsp { models.GemSlot gem_slot = 1; } +message GemAttentionReq { + string slot_id = 1; +} + +message GemAttentionRsp { + string slot_id = 1; + repeated int32 attentions = 2; +} + message GemSliceRewardReq { string slot_id = 1; + int32 draw_type = 2; } message GemSliceRewardRsp { diff --git a/models.proto b/models.proto index 2b3917b..a1b1799 100644 --- a/models.proto +++ b/models.proto @@ -78,9 +78,11 @@ message GemSlot { string id = 1; // @inject_tag: index:"unique" pri:"1" string role_id = 2; int32 slot = 3; - map reward = 4; + map reward = 4; int64 end_time = 5; bool start = 6; + repeated int32 gem_attention = 7; + int32 group_id = 8; } message Role { diff --git a/protocode.proto b/protocode.proto index 1b7bbfc..3a8731d 100644 --- a/protocode.proto +++ b/protocode.proto @@ -37,7 +37,8 @@ enum ProtoCode StoreBuyRpc = 529; ItemGemCompoundRpc = 530; GemSliceRpc = 531; - GemSliceRewardRpc = 532; + GemAttentionRpc = 532; + GemSliceRewardRpc = 533; DisConnectNty = 1001; RoleUpdatePropertyNty = 1002; -- libgit2 0.21.2