Пример #1
0
 private function registerLobby()
 {
     $connectedPlayerCount = count($this->storage->players) + count($this->storage->spectators);
     $this->matchMakingService->registerLobby($this->storage->serverLogin, $this->getReadyPlayersCount(), $connectedPlayerCount, $this->storage->server->name, $this->backLink);
 }