mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Added AFK Mods support
This commit is contained in:
parent
d82cb91fde
commit
1e854df650
@ -29,7 +29,7 @@ namespace Wabbajack.Lib
|
|||||||
typeof(BA2FileEntryState), typeof(MediaFireDownloader.State), typeof(ArchiveMeta),
|
typeof(BA2FileEntryState), typeof(MediaFireDownloader.State), typeof(ArchiveMeta),
|
||||||
typeof(PropertyFile), typeof(SteamMeta), typeof(SteamWorkshopDownloader), typeof(SteamWorkshopDownloader.State),
|
typeof(PropertyFile), typeof(SteamMeta), typeof(SteamWorkshopDownloader), typeof(SteamWorkshopDownloader.State),
|
||||||
typeof(LoversLabDownloader.State), typeof(GameFileSourceDownloader.State), typeof(VectorPlexusDownloader.State),
|
typeof(LoversLabDownloader.State), typeof(GameFileSourceDownloader.State), typeof(VectorPlexusDownloader.State),
|
||||||
typeof(DeadlyStreamDownloader.State)
|
typeof(DeadlyStreamDownloader.State), typeof(AFKModsDownloader.State)
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
18
Wabbajack.Lib/Downloaders/AFKModsDownloader.cs
Normal file
18
Wabbajack.Lib/Downloaders/AFKModsDownloader.cs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Wabbajack.Lib.Downloaders
|
||||||
|
{
|
||||||
|
public class AFKModsDownloader : AbstractIPS4Downloader<AFKModsDownloader, AFKModsDownloader.State>
|
||||||
|
{
|
||||||
|
#region INeedsDownload
|
||||||
|
public override string SiteName => "AFK Mods";
|
||||||
|
public override Uri SiteURL => new Uri("https://www.afkmods.com");
|
||||||
|
public override Uri IconUri => new Uri("https://www.afkmods.com/favicon.ico");
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public AFKModsDownloader() : base(new Uri("https://www.afkmods.com/index.php?/login/"),
|
||||||
|
"afkmods", "www.afkmods.com"){}
|
||||||
|
|
||||||
|
public class State : State<AFKModsDownloader>{}
|
||||||
|
}
|
||||||
|
}
|
@ -23,7 +23,8 @@ namespace Wabbajack.Lib.Downloaders
|
|||||||
typeof(NexusDownloader.State),
|
typeof(NexusDownloader.State),
|
||||||
typeof(SteamWorkshopDownloader.State),
|
typeof(SteamWorkshopDownloader.State),
|
||||||
typeof(VectorPlexusDownloader.State),
|
typeof(VectorPlexusDownloader.State),
|
||||||
typeof(DeadlyStreamDownloader.State)
|
typeof(DeadlyStreamDownloader.State),
|
||||||
|
typeof(AFKModsDownloader.State)
|
||||||
};
|
};
|
||||||
public static Dictionary<string, Type> NameToType { get; set; }
|
public static Dictionary<string, Type> NameToType { get; set; }
|
||||||
public static Dictionary<Type, string> TypeToName { get; set; }
|
public static Dictionary<Type, string> TypeToName { get; set; }
|
||||||
|
@ -20,6 +20,7 @@ namespace Wabbajack.Lib.Downloaders
|
|||||||
new LoversLabDownloader(),
|
new LoversLabDownloader(),
|
||||||
new VectorPlexusDownloader(),
|
new VectorPlexusDownloader(),
|
||||||
new DeadlyStreamDownloader(),
|
new DeadlyStreamDownloader(),
|
||||||
|
new AFKModsDownloader(),
|
||||||
new HTTPDownloader(),
|
new HTTPDownloader(),
|
||||||
new ManualDownloader(),
|
new ManualDownloader(),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user