mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
refactor: improved and reorganized client-server api, added additional logs, fixed miss admin checks for some commands
This commit is contained in:
parent
e43e918c67
commit
75958e3710
21 changed files with 371 additions and 364 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue