mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Added TESAlliance Support
This commit is contained in:
parent
7a63f0aa32
commit
02827ddc5b
@ -29,8 +29,7 @@ namespace Wabbajack.Lib
|
||||
typeof(BA2FileEntryState), typeof(MediaFireDownloader.State), typeof(ArchiveMeta),
|
||||
typeof(PropertyFile), typeof(SteamMeta), typeof(SteamWorkshopDownloader), typeof(SteamWorkshopDownloader.State),
|
||||
typeof(LoversLabDownloader.State), typeof(GameFileSourceDownloader.State), typeof(VectorPlexusDownloader.State),
|
||||
typeof(DeadlyStreamDownloader.State), typeof(AFKModsDownloader.State)
|
||||
|
||||
typeof(DeadlyStreamDownloader.State), typeof(AFKModsDownloader.State), typeof(TESAllianceDownloader.State)
|
||||
},
|
||||
};
|
||||
Config.VersionTolerance.Mode = VersionToleranceMode.Standard;
|
||||
|
@ -24,7 +24,8 @@ namespace Wabbajack.Lib.Downloaders
|
||||
typeof(SteamWorkshopDownloader.State),
|
||||
typeof(VectorPlexusDownloader.State),
|
||||
typeof(DeadlyStreamDownloader.State),
|
||||
typeof(AFKModsDownloader.State)
|
||||
typeof(AFKModsDownloader.State),
|
||||
typeof(TESAllianceDownloader.State)
|
||||
};
|
||||
public static Dictionary<string, Type> NameToType { get; set; }
|
||||
public static Dictionary<Type, string> TypeToName { get; set; }
|
||||
|
@ -21,6 +21,7 @@ namespace Wabbajack.Lib.Downloaders
|
||||
new VectorPlexusDownloader(),
|
||||
new DeadlyStreamDownloader(),
|
||||
new AFKModsDownloader(),
|
||||
new TESAllianceDownloader(),
|
||||
new HTTPDownloader(),
|
||||
new ManualDownloader(),
|
||||
};
|
||||
|
20
Wabbajack.Lib/Downloaders/TESAllianceDownloader.cs
Normal file
20
Wabbajack.Lib/Downloaders/TESAllianceDownloader.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Wabbajack.Lib.Downloaders
|
||||
{
|
||||
public class TESAllianceDownloader : AbstractIPS4Downloader<TESAllianceDownloader, TESAllianceDownloader.State>
|
||||
{
|
||||
#region INeedsDownload
|
||||
public override string SiteName => "Vector Plexus";
|
||||
public override Uri SiteURL => new Uri("http://tesalliance.org");
|
||||
public override Uri IconUri => new Uri("http://tesalliance.org/favicon.ico");
|
||||
#endregion
|
||||
|
||||
public TESAllianceDownloader() : base(new Uri("http://tesalliance.org/forums/index.php?/login/"),
|
||||
"tesalliance", "tesalliance.org")
|
||||
{
|
||||
}
|
||||
|
||||
public class State : State<TESAllianceDownloader>{}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user