(ClientGame.App app)
| 421 | } |
| 422 | |
| 423 | private static BRole getRole(ClientGame.App app) { |
| 424 | var get = new GetRoleList(); |
| 425 | get.SendForWait(app.ClientService.GetSocket(), 30_000).await(); |
| 426 | Assert.assertEquals(0, get.getResultCode()); |
| 427 | if (get.Result.getRoleList().isEmpty()) |
| 428 | return null; |
| 429 | return get.Result.getRoleList().get(0); |
| 430 | } |
| 431 | |
| 432 | private static void sleep(long gap, int times) { |
| 433 | try { |
no test coverage detected