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

Method auth

ZezeJava/ZezeJavaTest/src/Zezex/TestGameTimer.java:349–356  ·  view source on GitHub ↗
(BLoginToken.Data token, ClientGame.App app, String account)

Source from the content-addressed store, hash-verified

347 }
348
349 @SuppressWarnings("SameParameterValue")
350 private static void auth(BLoginToken.Data token, ClientGame.App app, String account) {
351 var auth = new Auth();
352 auth.Argument.setAccount(account);
353 auth.Argument.setLoginQueueToken(token.getToken());
354 auth.SendForWait(app.ClientService.GetSocket(), 10_000).await();
355 Assert.assertEquals(0, auth.getResultCode());
356 }
357
358 @SuppressWarnings("SameParameterValue")
359 private static long createRole(ClientGame.App app, String role) {

Callers 2

testRoleTimer1Method · 0.95
testRoleTimer2Method · 0.95

Calls 6

getTokenMethod · 0.65
awaitMethod · 0.65
setAccountMethod · 0.45
SendForWaitMethod · 0.45
GetSocketMethod · 0.45
getResultCodeMethod · 0.45

Tested by

no test coverage detected