数字游戏
parent
5c914494a9
commit
204d2f53ba
|
|
@ -150,6 +150,7 @@ public class HandlerLogicThread extends Thread{
|
|||
}
|
||||
}finally {
|
||||
destroyISession();
|
||||
// LOGGER.info("zzzzz:{}",null == SimpleTransaction.current());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class SimpleTransaction {
|
|||
SimpleTransaction var0 = threadlocal.get();
|
||||
if (var0 != null)
|
||||
var0.reset();
|
||||
threadlocal.set(null);
|
||||
threadlocal.remove();
|
||||
}
|
||||
|
||||
Lockey get(Lockey lockey) {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import rpc.protocols.PlayerInfoProto;
|
|||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* 数字小游戏
|
||||
* 数字小游戏 战斗
|
||||
*/
|
||||
@Component
|
||||
public class CompareNumBonusHandler extends BaseHandler {
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ import rpc.protocols.PlayerInfoProto;
|
|||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* 比数小游戏 层级信息
|
||||
*/
|
||||
@Component
|
||||
public class CompareNumInfoHandler extends BaseHandler {
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ import org.springframework.stereotype.Component;
|
|||
import rpc.protocols.MessageTypeProto;
|
||||
import rpc.protocols.PlayerInfoProto;
|
||||
|
||||
/**
|
||||
* 比数小游戏 获取基础信息
|
||||
*/
|
||||
@Component
|
||||
public class GetCompareInfoHandler extends BaseHandler {
|
||||
@Override
|
||||
|
|
@ -33,7 +36,7 @@ public class GetCompareInfoHandler extends BaseHandler {
|
|||
response.setLevelId(player.getCompareNumLevelId())
|
||||
.setCompleteNum(SCompareNumSetting.getChapterNumById(player.getCompareNumLevelId(), player.isCompareNumEndGame()))
|
||||
.addAllRewardIdArr(player.getCompareNumRewardInfo())
|
||||
.setRewardStartTime(player.getCompareNumRewardStartTime());
|
||||
.setRewardStartTime((int) (player.getCompareNumRewardStartTime()/1000));
|
||||
|
||||
MessageUtil.sendMessage(session, 1, MessageTypeProto.MessageType.GET_COMPARENUM_INFO_RESPONSE_VALUE, response.build(), true);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4067,7 +4067,7 @@ public class HeroLogic {
|
|||
totalForce += playerSkill.getFight();
|
||||
}
|
||||
}
|
||||
LOGGER.info("calTeamTotalForce uid={} teamId={} 总战力={} 耗时={}ms", targetUser.getId(), teamId, totalForce, TimeUtils.now() - now);
|
||||
// LOGGER.info("calTeamTotalForce uid={} teamId={} 总战力={} 耗时={}ms", targetUser.getId(), teamId, totalForce, TimeUtils.now() - now);
|
||||
return totalForce;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue