public VersionService( GamePathService gamePathService, DownloadUrlService urlService, LibraryService libraryService, HttpClient client) { _gamePathService = gamePathService; _urlService = urlService; _libraryService = libraryService; _client = client; _versions = new Dictionary <string, Version>(8); }
public ForgeInstallService( GamePathService gamePathService, DownloadUrlService urlService, VersionService versionService, LogService logService, HttpClient client) { _gamePathService = gamePathService; _urlService = urlService; _versionService = versionService; _logService = logService; _client = client; }
public FabricInstallService( GamePathService gamePathService, DownloadUrlService downloadUrlService, VersionService versionService) { _gamePathService = gamePathService; _urlService = downloadUrlService; _versionService = versionService; _client = new HttpClient { Timeout = TimeSpan.FromSeconds(10) }; }
public VersionService( GamePathService gamePathService, DownloadUrlService urlService, LibraryService libraryService) { _gamePathService = gamePathService; _urlService = urlService; _libraryService = libraryService; _versions = new Dictionary <string, Version>(8); _client = new HttpClient { Timeout = TimeSpan.FromSeconds(15) }; }
public LibraryService(GamePathService gamePathService, DownloadUrlService urlService) { _gamePathService = gamePathService; _urlService = urlService; }