refactor: improved and reorganized client-server api, added additional logs, fixed miss admin checks for some commands

This commit is contained in:
Oleg Agafonov 2023-11-22 23:52:00 +04:00
parent e43e918c67
commit 75958e3710
21 changed files with 371 additions and 364 deletions

View file

@ -548,7 +548,7 @@ public class LoadTest {
this.client = new SimpleMageClient(joinGameChat, logsPrefix, TEST_SHOW_GAME_LOGS_AS_HTML);
this.session = new SessionImpl(this.client);
this.session.connect(this.connection);
this.session.connectStart(this.connection);
this.client.setSession(this.session);
this.roomID = this.session.getMainRoomId();
@ -607,7 +607,7 @@ public class LoadTest {
}
public void disconnect() {
this.session.disconnect(false);
this.session.connectStop(false);
}
public void concede() {