2022-05-16 22:14:52 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2022-05-19 03:21:38 +00:00
|
|
|
using System.Threading;
|
2022-05-16 22:14:52 +00:00
|
|
|
using Wabbajack.DTOs.Logins;
|
|
|
|
using Wabbajack.Hashing.xxHash64;
|
|
|
|
using Wabbajack.Paths;
|
|
|
|
|
|
|
|
namespace Wabbajack.DTOs.Interventions;
|
|
|
|
|
|
|
|
public class ManualDownload : AUserIntervention<ManualDownload.BrowserDownloadState>
|
|
|
|
{
|
|
|
|
public Archive Archive { get; }
|
2023-10-12 18:33:06 +00:00
|
|
|
|
2022-05-19 03:21:38 +00:00
|
|
|
public ManualDownload(Archive archive)
|
2022-05-16 22:14:52 +00:00
|
|
|
{
|
|
|
|
Archive = archive;
|
|
|
|
}
|
|
|
|
|
2023-10-12 18:33:06 +00:00
|
|
|
public record BrowserDownloadState(Uri Uri, Cookie[] Cookies, (string Key, string Value)[] Headers, string UserAgent)
|
2022-05-16 22:14:52 +00:00
|
|
|
{
|
2023-10-12 18:33:06 +00:00
|
|
|
|
2022-05-16 22:14:52 +00:00
|
|
|
}
|
|
|
|
}
|