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; }
|
|
|
|
|
2022-05-19 03:21:38 +00:00
|
|
|
public ManualDownload(Archive archive)
|
2022-05-16 22:14:52 +00:00
|
|
|
{
|
|
|
|
Archive = archive;
|
|
|
|
}
|
|
|
|
|
|
|
|
public record BrowserDownloadState(Uri Uri, Cookie[] Cookies, (string Key, string Value)[] Headers)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|