-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File Downloader Submodule Major Refactor (Hi3Helper.Http) (#563)
# Main Goal As per title, this PR contains some huge changes to our own File Downloader Submodule implementation that we use for Collapse called: Hi3Helper.Http. The changes brings some new features to improve the reliability of the downloading process for certain parts, like Game Installation/Update, Game Repair, Cache Updates and Internal APIs. The changes that worth to mention are including: - **[New]** Bandwidth/Speed Limiter With this new feature, the user can now set the download speed limit. - **[New]** Download File Size Pre-allocation. Thanks to this feature, the download file would not need to have merged before the file can be used. - **[Imp][Performance]** Reduce unnecessary ``async`` thread overhead. - **[Imp]** Use delegates in replacement for event-based ``DownloadEvent`` to notify the download progress. This has benefits if you're performing download multiple files within a single Downloader instance for other purposes. By using delegates, you can subscribe the download progress to a specific file you wanted to track. - **[Imp]** Changing the language specification from C# 8.0 to C# 9.0. However, this PR requires some changes in some parts, including: - [x] Game Repair - [x] Genshin Impact - [x] Honkai Impact 3rd - [x] Honkai: Star Rail - [x] Cache Update - [x] Honkai Impact 3rd - [x] Honkai: Star Rail - [x] Launcher API/Sprites Loader - [x] HoYoPlay - [x] Sophon - [x] ``FallbackCDNUtil`` - [x] Game Conversion Utils - [x] ``InstallManagerBase`` - [x] Genshin Impact - [x] Honkai Impact 3rd - [x] Honkai: Star Rail - [x] Zenless Zone Zero - [x] Launcher Updater ## PR Status : - Overall Status : Completed - Commits : Completed - Synced to base (Collapse:main) : Not yet - Build status : OK - Crashing : No - Bug found caused by PR : - ### Templates <details> <summary>Changelog Prefixes</summary> ``` **[New]** **[Imp]** **[Fix]** **[Loc]** **[Doc]** ``` </details>
- Loading branch information
Showing
43 changed files
with
2,049 additions
and
1,113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.