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

Method isOnline

ZezeJava/ZezeJava/src/main/java/Zeze/Arch/Online.java:245–254  ·  view source on GitHub ↗
(String account)

Source from the content-addressed store, hash-verified

243 }
244
245 public boolean isOnline(String account) {
246 var online = getOnline(account);
247 if (null == online)
248 return false;
249 for (var login : online.getLogins().values()) {
250 if (login.getLink().getState() == eLogined)
251 return true;
252 }
253 return false;
254 }
255
256 public boolean isOnline(String account, String clientId) {
257 var online = getOnline(account);

Callers

nothing calls this directly

Calls 6

getOnlineMethod · 0.95
valuesMethod · 0.65
getStateMethod · 0.65
getLinkMethod · 0.65
getMethod · 0.65
getLoginsMethod · 0.45

Tested by

no test coverage detected