MCPcopy Create free account
hub / github.com/e2wugui/zeze / getLoginLocal

Method getLoginLocal

ZezeJava/ZezeJava/src/main/java/Zeze/Game/Online.java:593–598  ·  view source on GitHub ↗
(long roleId)

Source from the content-addressed store, hash-verified

591 }
592
593 private BLocal getLoginLocal(long roleId) {
594 var bLocal = _tlocal.get(roleId);
595 if (bLocal == null || bLocal.getLoginVersion() != getOrAddOnlineShared(roleId).getLoginVersion())
596 throw new IllegalStateException("roleId not online or invalid version. " + roleId);
597 return bLocal;
598 }
599
600 private final ConcurrentHashMap<Long, Long> localActiveTimes = new ConcurrentHashMap<>();
601

Callers 2

setLocalBeanMethod · 0.95
getOrAddLocalBeanMethod · 0.95

Calls 3

getOrAddOnlineSharedMethod · 0.95
getMethod · 0.65
getLoginVersionMethod · 0.65

Tested by

no test coverage detected