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

Method logout

ZezeJava/ZezeJavaTest/src/Zezex/TestRoleTimer.java:393–397  ·  view source on GitHub ↗
(ClientGame.App app, long roleIdForLogOnly)

Source from the content-addressed store, hash-verified

391 }
392
393 private static void logout(ClientGame.App app, long roleIdForLogOnly) {
394 var logout = new Zeze.Builtin.Game.Online.Logout();
395 logout.SendForWait(app.ClientService.GetSocket(), 30_000).await();
396 Assert.assertEquals(0, logout.getResultCode());
397 }
398
399 private static void login(ClientGame.App app, long roleId) {
400 var login = new Zeze.Builtin.Game.Online.Login();

Callers 4

testRoleTimer1Method · 0.95
testRoleTimerCron1Method · 0.95
testRoleTimer2Method · 0.95
testRoleTimerCron2Method · 0.95

Calls 4

awaitMethod · 0.65
SendForWaitMethod · 0.45
GetSocketMethod · 0.45
getResultCodeMethod · 0.45

Tested by

no test coverage detected