Skip to content

Commit

Permalink
Use newly DownloadClient for InstallManagerBase
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-nyan committed Aug 29, 2024
1 parent 3b57b28 commit 053e1ea
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,22 @@ namespace CollapseLauncher.InstallManager
internal class GameInstallPackage : IAssetIndexSummary
{
#region Properties
public string URL { get; set; }
public string DecompressedURL { get; set; }
public string Name { get; set; }
public string PathOutput { get; set; }
public GameInstallPackageType PackageType { get; set; }
public long Size { get; set; }
public long SizeRequired { get; set; }
public long SizeDownloaded { get; set; }
public GameVersion Version { get; set; }
public byte[] Hash { get; set; }
public string HashString { get => HexTool.BytesToHexUnsafe(Hash); }
public string LanguageID { get; set; }
public List<GameInstallPackage> Segments { get; set; }
public string RunCommand { get; set; }
public string PluginId { get; set; }
public string URL { get; set; }
public string DecompressedURL { get; set; }
public string Name { get; set; }
public string PathOutput { get; set; }
public GameInstallPackageType PackageType { get; set; }
public long Size { get; set; }
public long SizeRequired { get; set; }
public long SizeDownloaded { get; set; }
public GameVersion Version { get; set; }
public byte[] Hash { get; set; }
public string HashString { get => HexTool.BytesToHexUnsafe(Hash); }
public string LanguageID { get; set; }
public List<GameInstallPackage> Segments { get; set; }
public string RunCommand { get; set; }
public string PluginId { get; set; }
public bool IsUseLegacyDownloader { get; set; }
#endregion

public GameInstallPackage(RegionResourcePlugin packageProperty, string pathOutput)
Expand Down
Loading

0 comments on commit 053e1ea

Please sign in to comment.