public Settings()
 {
     Database = new DatabaseSettings();
     LobbyServer = new LobbyServerSettings();
     AuthServer = new AuthServerSettings();
     GameServer = new GameServerSettings();
 }
Beispiel #2
0
 public Settings()
 {
     Database    = new DatabaseSettings();
     LobbyServer = new LobbyServerSettings();
     AuthServer  = new AuthServerSettings();
     GameServer  = new GameServerSettings();
 }
 public DefaultGameServer(ILoggerFactory loggerFactory, IProviderFactory <IServerSupervisor> serverSupervisorFactory, IProviderFactory <IMatchmaking> matchmakingFactory, IProviderFactory <ServerSettings> serverConfigurationFactory, IOptions <GameServerSettings> settings)
 {
     _loggerFactory              = loggerFactory;
     _logger                     = loggerFactory.CreateLogger <DefaultGameServer>();
     _serverSupervisorFactory    = serverSupervisorFactory;
     _matchmakingFactory         = matchmakingFactory;
     _serverConfigurationFactory = serverConfigurationFactory;
     _settings                   = settings.Value;
 }