using System; using System.Threading.Tasks; using Wabbajack.Common; namespace Wabbajack.Lib.Downloaders { public interface IUpgradingState { /// /// Find a possible archive that can be combined with a server generated patch to get the input archive /// state; /// /// /// public Task<(Archive? Archive, TempFile NewFile)> FindUpgrade(Archive a, Func> downloadResolver); Task ValidateUpgrade(Hash srcHash, AbstractDownloadState newArchiveState); } }