From daec81c63054431243d60df91e25dbcd84b3a854 Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Thu, 13 Jul 2023 14:56:21 +0800 Subject: [PATCH] feat: 增加战斗离线数据存储 --- models.proto | 9 ++++++++- role.proto | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/models.proto b/models.proto index c3f53a1..676a95d 100644 --- a/models.proto +++ b/models.proto @@ -143,7 +143,6 @@ message Role { int32 lucky_seek = 33; // lucky black cat seek bool del = 34; int32 copies_num = 35; - int32 battle_carbon = 36; } message Activity { @@ -173,4 +172,12 @@ message Dispatch { repeated string heros = 5; int64 end_time = 6; bool status = 7; // true=正在派遣 +} + +message BattleOffline { + string team_id = 1; + string drop_reward = 2; + repeated string MapItemDrops = 3; + repeated string TreasureReward = 4; + int32 battle_carbon = 5; } \ No newline at end of file diff --git a/role.proto b/role.proto index 6f77cff..fbf05bb 100644 --- a/role.proto +++ b/role.proto @@ -35,6 +35,8 @@ message LoginRsp { map dispatch = 11; map circle_task = 12; map limit_task = 13; + + models.BattleOffline battle_offline = 14; } message CreateRar { @@ -67,6 +69,7 @@ message RoleClearItemsRar { message RoleStartBattleReq { int32 chapter_id = 1; int32 carbon_id = 2; + string team_id = 3; } message RoleStartBattleRsp { -- libgit2 0.21.2