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

Method localLogout

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

Source from the content-addressed store, hash-verified

2098 }
2099
2100 public long localLogout(long roleId) throws Exception {
2101 var onlineShared = _tOnlineShared.get(roleId);
2102 if (onlineShared == null)
2103 return Procedure.LogicError;
2104 var linkSid = onlineShared.getLink().getLinkSid();
2105 var link = providerApp.providerService.getLinks().get(onlineShared.getLink().getLinkName());
2106 return localLogout(roleId, link.getSocket(), linkSid);
2107 }
2108
2109 private long localLogout(long roleId, @NotNull AsyncSocket link, long linkSid) throws Exception {
2110 //var local = _tlocal.get(session.getRoleId());

Callers 1

Calls 12

getLoginOnlineSharedMethod · 0.95
assignLogoutVersionMethod · 0.95
logoutTriggerMethod · 0.95
whileCommitMethod · 0.95
getLinksMethod · 0.80
getMethod · 0.65
getLinkSidMethod · 0.65
getLinkMethod · 0.65
getLinkNameMethod · 0.65
getSocketMethod · 0.45
setLinkSidMethod · 0.45
SendMethod · 0.45

Tested by

no test coverage detected