back_recharge
zhangshanxue 2019-10-11 19:09:49 +08:00
commit 467024e9bb
2 changed files with 5 additions and 3 deletions

View File

@ -681,8 +681,8 @@ public class ArenaLogic {
CommonProto.FightData build = CommonProto.FightData.newBuilder()
.setFightMaxTime(SArenaSetting.getSArenaSetting().getMostTime())
.setFightSeed(seed)
.setHeroFightInfos(deffightTeamInfo)
.addMonsterList(fightTeamInfo)
.setHeroFightInfos(fightTeamInfo)
.addMonsterList(deffightTeamInfo)
.build();
ArenaInfoProto.PlayWithSbResponse response = ArenaInfoProto.PlayWithSbResponse.newBuilder().setFightData(build).build();
MessageUtil.sendMessage(session,1, MessageTypeProto.MessageType.PLAY_WITH_SB_RESPONSE_VALUE,response,true);

View File

@ -475,8 +475,10 @@ public class FriendLogic {
sendFriendStatedication(uid,friendId,1);
}
friendManager.addBlackFriendId(friendId);
}else{
}else if(optType == 2){
friendManager.delBlackFriends(friendId);
}else if(optType == 3){
friendManager.setBlackFriends(new ArrayList<>(1));
}
MessageUtil.sendMessage(session, 1, msgId, null, true);