mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
40 lines
2.0 KiB
C#
40 lines
2.0 KiB
C#
using Ceras;
|
|
using Compression.BSA;
|
|
using Wabbajack.Common;
|
|
using Wabbajack.Lib.Downloaders;
|
|
using Wabbajack.VirtualFileSystem;
|
|
|
|
namespace Wabbajack.Lib
|
|
{
|
|
public class CerasConfig
|
|
{
|
|
public static readonly SerializerConfig Config;
|
|
|
|
static CerasConfig()
|
|
{
|
|
Config = new SerializerConfig
|
|
{
|
|
KnownTypes =
|
|
{
|
|
typeof(ModList), typeof(Game), typeof(Directive), typeof(IgnoredDirectly),
|
|
typeof(NoMatch), typeof(InlineFile), typeof(PropertyType), typeof(CleanedESM),
|
|
typeof(RemappedInlineFile), typeof(FromArchive), typeof(CreateBSA), typeof(PatchedFromArchive),
|
|
typeof(SourcePatch), typeof(MergedPatch), typeof(Archive), typeof(IndexedArchive), typeof(IndexedEntry),
|
|
typeof(IndexedArchiveEntry), typeof(BSAIndexedEntry), typeof(VirtualFile),
|
|
typeof(ArchiveStateObject), typeof(FileStateObject), typeof(IDownloader),
|
|
typeof(IUrlDownloader), typeof(AbstractDownloadState), typeof(ManualDownloader.State),
|
|
typeof(DropboxDownloader), typeof(GoogleDriveDownloader.State), typeof(HTTPDownloader.State),
|
|
typeof(MegaDownloader.State), typeof(ModDBDownloader.State), typeof(NexusDownloader.State),
|
|
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(VectorPlexusDownloader.State),
|
|
typeof(DeadlyStreamDownloader.State)
|
|
|
|
},
|
|
};
|
|
Config.VersionTolerance.Mode = VersionToleranceMode.Standard;
|
|
}
|
|
}
|
|
}
|