错误码同步

grimm 2024-06-22 15:06:47 +08:00
parent 52f28057e8
commit 8e027f181e
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ public class TakeArenaBattleRewardRequestHandler extends BaseHandler<ArenaInfoPr
//check condition
boolean battleResult = sArenaBattleReward.getBattleTimes() > arenaInfo.getFightNum();
if(battleResult){
throw new ErrorTableException(160);//领取条件不满足
throw new ErrorTableException(193);//领取条件不满足
}
arenaInfo.getReceivedBox().add(missionId);
ArenaLogic.saveArenaInfo(arenaInfo);

View File

@ -1018,7 +1018,7 @@ public class PlayerLogic {
}
Hero hero = userInMem.getHeroManager().getHero(heroId);
if(hero == null){
throw new ErrorTableException(159,"未找到英雄");
throw new ErrorTableException(192,"未找到英雄");
}
PlayerInfoProto.ViewHeroInfoResponse.Builder builder = PlayerInfoProto.ViewHeroInfoResponse.newBuilder();
Map<Integer, Long> heroNotBufferAttribute = HeroLogic.getInstance().calHeroNotBufferAttribute(userInMem, hero, true, teamId);