コード例 #1
0
 public LobbyCoordinator(ILobby deafultLobby, LobbyCoordinatorCommandProcessor lobbyCoordinatorCommandProcessor)
 {
     _lobbyCoordinatorCommandProcessor = lobbyCoordinatorCommandProcessor;
     deafultLobby.StartLobby();
     _deafultLobbyId = deafultLobby.GetLobbyId();
     _lobbies        = new List <ILobby>
     {
         deafultLobby
     };
 }
コード例 #2
0
 private string FormatLobbyInfo(ILobby lobby)
 {
     return($"Lobby Type: {lobby.GetLobbyType()} | Lobby Id: {lobby.GetLobbyId()}");
 }