Compare View

switch
from
...
to
 
Commits (3)
models.proto
... ... @@ -150,6 +150,12 @@ message Role {
150 150 map<int32,TalentSkillList> talent_skill = 36; //当前的天赋树技能 罗盘id->天赋节点id
151 151 int32 cur_climb_carbon_id = 37; //爬塔关卡id
152 152 map<uint32,uint32> equip_pos_level = 38; //装备栏强化等级
  153 + map<int32,ChapterInfo> chapter_star_info = 39; // 通关记录 map[chapter_id]{star}
  154 +}
  155 +
  156 +message ChapterInfo {
  157 + uint32 total_star = 1;
  158 + uint32 reward_record = 2; //max star record
153 159 }
154 160  
155 161 message Activity {
... ...
protocode.proto
... ... @@ -36,6 +36,7 @@ enum ProtoCode
36 36 RoleActivityCarbonStartRpc = 128;
37 37 RoleActivityCarbonEndRpc = 129;
38 38 EquipPosEnhanceRpc = 130;
  39 + GetChapterStarRewardRpc = 131;
39 40  
40 41 HeroEquipReferRpc = 201;
41 42 HeroFragmentCovertRpc = 202;
... ...
role.proto
... ... @@ -313,3 +313,13 @@ message EquipPosEnhanceReq {
313 313  
314 314 message EquipPosEnhanceRsp {
315 315 }
  316 +
  317 +
  318 +message GetChapterStarRewardReq {
  319 + int32 chapter_id = 1;
  320 + uint32 star = 2;
  321 +}
  322 +
  323 +message GetChapterStarRewardRsp {
  324 + map<int32,int32> reward = 1;
  325 +}
... ...