Merge pull request #361 from erri120/deadlystream

Deadlystream Support + VectorPlexus fixes
This commit is contained in:
Timothy Baldridge 2020-01-06 15:19:38 -08:00 committed by GitHub
commit e2ebe039d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 2 deletions

View File

@ -28,7 +28,8 @@ namespace Wabbajack.Lib
typeof(BSAStateObject), typeof(BSAFileStateObject), typeof(BA2StateObject), typeof(BA2DX10EntryState),
typeof(BA2FileEntryState), typeof(MediaFireDownloader.State), typeof(ArchiveMeta),
typeof(PropertyFile), typeof(SteamMeta), typeof(SteamWorkshopDownloader), typeof(SteamWorkshopDownloader.State),
typeof(LoversLabDownloader.State), typeof(GameFileSourceDownloader.State)
typeof(LoversLabDownloader.State), typeof(GameFileSourceDownloader.State), typeof(VectorPlexusDownloader.State),
typeof(DeadlyStreamDownloader.State)
},
};

View File

@ -21,7 +21,9 @@ namespace Wabbajack.Lib.Downloaders
typeof(MegaDownloader.State),
typeof(ModDBDownloader.State),
typeof(NexusDownloader.State),
typeof(SteamWorkshopDownloader.State)
typeof(SteamWorkshopDownloader.State),
typeof(VectorPlexusDownloader.State),
typeof(DeadlyStreamDownloader.State)
};
public static Dictionary<string, Type> NameToType { get; set; }
public static Dictionary<Type, string> TypeToName { get; set; }

View File

@ -0,0 +1,24 @@
using System;
namespace Wabbajack.Lib.Downloaders
{
public class DeadlyStreamDownloader : AbstractIPS4Downloader<DeadlyStreamDownloader, DeadlyStreamDownloader.State>
{
#region INeedsDownload
public override string SiteName => "Deadly Stream";
public override Uri SiteURL => new Uri("https://www.deadlystream.com");
public override Uri IconUri => new Uri("https://www.deadlystream.com/favicon.ico");
#endregion
public DeadlyStreamDownloader() : base(new Uri("https://deadlystream.com/login"), "deadlystream",
"deadlystream.com")
{
}
public class State : State<DeadlyStreamDownloader>
{
}
}
}

View File

@ -19,6 +19,7 @@ namespace Wabbajack.Lib.Downloaders
new MediaFireDownloader(),
new LoversLabDownloader(),
new VectorPlexusDownloader(),
new DeadlyStreamDownloader(),
new HTTPDownloader(),
new ManualDownloader(),
};

View File

@ -125,6 +125,7 @@
<Compile Include="CompilationSteps\Serialization.cs" />
<Compile Include="Downloaders\AbstractIPS4Downloader.cs" />
<Compile Include="Downloaders\AbstractNeedsLoginDownloader.cs" />
<Compile Include="Downloaders\DeadlyStreamDownloader.cs" />
<Compile Include="Downloaders\GameFileSourceDownloader.cs" />
<Compile Include="Downloaders\INeedsLogin.cs" />
<Compile Include="Downloaders\LoversLabDownloader.cs" />