2024-04-27 14:51:54 -04:00
|
|
|
|
using SPTInstaller.Models.Mirrors;
|
|
|
|
|
using SPTInstaller.Models.ReleaseInfo;
|
2022-07-09 00:33:55 -04:00
|
|
|
|
|
2023-07-12 09:19:33 +02:00
|
|
|
|
namespace SPTInstaller.Models;
|
|
|
|
|
|
|
|
|
|
public class InternalData
|
2022-07-09 00:33:55 -04:00
|
|
|
|
{
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The folder to install SPT into
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? TargetInstallPath { get; set; }
|
2024-05-01 10:31:55 -04:00
|
|
|
|
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The orginal EFT game path
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? OriginalGamePath { get; set; }
|
2024-05-01 10:31:55 -04:00
|
|
|
|
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The original EFT game version
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OriginalGameVersion { get; set; }
|
2024-05-01 10:31:55 -04:00
|
|
|
|
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Patcher zip file info
|
|
|
|
|
/// </summary>
|
|
|
|
|
public FileInfo PatcherZipInfo { get; set; }
|
2024-05-01 10:31:55 -04:00
|
|
|
|
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// SPT-AKI zip file info
|
|
|
|
|
/// </summary>
|
|
|
|
|
public FileInfo AkiZipInfo { get; set; }
|
2024-05-01 10:31:55 -04:00
|
|
|
|
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// <summary>
|
2024-04-25 23:33:20 -07:00
|
|
|
|
/// The release information from release.json
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// </summary>
|
2024-04-26 09:52:41 -07:00
|
|
|
|
public ReleaseInfo.ReleaseInfo ReleaseInfo { get; set; }
|
2024-04-27 14:51:54 -04:00
|
|
|
|
|
|
|
|
|
public PatchInfo PatchInfo { get; set; }
|
2024-05-01 10:31:55 -04:00
|
|
|
|
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The release download link for the patcher mirror list
|
|
|
|
|
/// </summary>
|
2024-04-27 14:51:54 -04:00
|
|
|
|
// public string PatcherMirrorsLink { get; set; }
|
2024-05-01 10:31:55 -04:00
|
|
|
|
|
2023-07-12 09:19:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Whether or not a patch is needed to downgrade the client files
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool PatchNeeded { get; set; }
|
|
|
|
|
}
|