修复助战数据异常bug
parent
651edbb0cb
commit
1b9cbd6f25
|
|
@ -253,12 +253,15 @@ public class CBean2Proto {
|
|||
List<CommonProto.Equip> jewels = buildHelpFightEquip(helpHero.getJewels());
|
||||
// 法相
|
||||
List<CommonProto.Equip> faxiang = buildHelpFightEquip(helpHero.getFaxiangs());
|
||||
Hero hero = helpHero.getHero();
|
||||
// 装备详细信息
|
||||
Hero hero = helpHero.getHero();
|
||||
List<CommonProto.Equip> equips = new ArrayList<>();
|
||||
hero.getEquipByPositionMap().values().forEach(v->equips.add(getEquipProto(v)));
|
||||
// 法宝
|
||||
CommonProto.Equip baublesProto = getBaublesProto(helpHero.getBaublesList(), helpHero.getBaubles());
|
||||
CommonProto.Equip.Builder baublesProto = null;
|
||||
if (helpHero.getBaubles() != null){
|
||||
baublesProto = getBaublesProto(helpHero.getBaublesList(), helpHero.getBaubles()).toBuilder();
|
||||
}
|
||||
// 获取英雄信息
|
||||
return CommonProto.HelpFightList.newBuilder()
|
||||
.setUid(otherUser.getId())
|
||||
|
|
|
|||
Loading…
Reference in New Issue