diff --git a/models.proto b/models.proto index ebfe02f..730d786 100644 --- a/models.proto +++ b/models.proto @@ -150,6 +150,12 @@ message Role { map talent_skill = 36; //当前的天赋树技能 罗盘id->天赋节点id int32 cur_climb_carbon_id = 37; //爬塔关卡id map equip_pos_level = 38; //装备栏强化等级 + map chapter_star_info = 39; // 通关记录 map[chapter_id]{star} +} + +message ChapterInfo { + uint32 total_star = 1; + uint32 reward_record = 2; //max star record } message Activity { diff --git a/protocode.proto b/protocode.proto index 4a72155..4974064 100644 --- a/protocode.proto +++ b/protocode.proto @@ -36,6 +36,7 @@ enum ProtoCode RoleActivityCarbonStartRpc = 128; RoleActivityCarbonEndRpc = 129; EquipPosEnhanceRpc = 130; + GetChapterStarRewardRpc = 131; HeroEquipReferRpc = 201; HeroFragmentCovertRpc = 202; diff --git a/role.proto b/role.proto index f127a61..71a0588 100644 --- a/role.proto +++ b/role.proto @@ -313,3 +313,13 @@ message EquipPosEnhanceReq { message EquipPosEnhanceRsp { } + + +message GetChapterStarRewardReq { + int32 chapter_id = 1; + uint32 star = 2; +} + +message GetChapterStarRewardRsp { + map reward = 1; +} -- libgit2 0.21.2