Beispiel #1
0
 public AssetService(
     GamePathService gamePathService,
     DownloadUrlService urlService,
     HttpClient client)
 {
     _gamePathService = gamePathService;
     _urlService      = urlService;
     _client          = client;
 }
Beispiel #2
0
        public AssetService(GamePathService gamePathService, DownloadUrlService urlService)
        {
            _gamePathService = gamePathService;
            _urlService      = urlService;

            _client = new HttpClient()
            {
                Timeout = TimeSpan.FromSeconds(15)
            };
        }
Beispiel #3
0
        public VersionService(GamePathService gamePathService, DownloadUrlService urlService)
        {
            _gamePathService = gamePathService;
            _urlService      = urlService;
            _versions        = new Dictionary <string, Version>(8);

            _client = new HttpClient {
                Timeout = TimeSpan.FromSeconds(15)
            };
        }
Beispiel #4
0
        public VersionService(
            GamePathService gamePathService,
            DownloadUrlService urlService,
            LibraryService libraryService,
            HttpClient client)
        {
            _gamePathService = gamePathService;
            _urlService      = urlService;
            _libraryService  = libraryService;
            _client          = client;

            _versions = new Dictionary <string, Version>(8);
        }
Beispiel #5
0
 public LaunchService(GamePathService gamePathService)
 {
     _gamePathService = gamePathService;
 }
Beispiel #6
0
 public LibraryService(GamePathService gamePathService, DownloadUrlService urlService)
 {
     _gamePathService = gamePathService;
     _urlService      = urlService;
 }
Beispiel #7
0
 public LaunchService(GamePathService gamePathService, LogService logService)
 {
     _gamePathService = gamePathService;
     _logService      = logService;
 }