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

Method getLogin

ZezeJava/ZezeJava/src/main/java/Zeze/Arch/Online.java:277–283  ·  view source on GitHub ↗
(@NotNull String account, @NotNull String clientId)

Source from the content-addressed store, hash-verified

275 }
276
277 public @Nullable BOnline getLogin(@NotNull String account, @NotNull String clientId) {
278 var onlines = getOnline(account);
279 if (onlines == null)
280 return null;
281 var login = onlines.getLogins().get(clientId);
282 return login != null && login.getLink().getState() == eLogined ? login : null;
283 }
284
285 public int getState(@NotNull String account, @NotNull String clientId) {
286 var onlines = getOnline(account);

Callers 7

addReliableNotifyMarkMethod · 0.95
sendReliableNotifyMethod · 0.95
getLoginVersionMethod · 0.95
isLoginMethod · 0.95
ProcessLogoutRequestMethod · 0.95

Calls 5

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

Tested by

no test coverage detected