mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Moved some trivial member instantiations to in-line
No need to make every sub compiler create these
This commit is contained in:
parent
deafaf5ebd
commit
9580301a4f
@ -18,13 +18,13 @@ namespace Wabbajack.Lib
|
|||||||
public string ModListOutputFolder;
|
public string ModListOutputFolder;
|
||||||
public string ModListOutputFile;
|
public string ModListOutputFile;
|
||||||
|
|
||||||
public List<Archive> SelectedArchives;
|
public List<Archive> SelectedArchives = new List<Archive>();
|
||||||
public List<Directive> InstallDirectives;
|
public List<Directive> InstallDirectives = new List<Directive>();
|
||||||
public List<RawSourceFile> AllFiles;
|
public List<RawSourceFile> AllFiles = new List<RawSourceFile>();
|
||||||
public ModList ModList;
|
public ModList ModList = new ModList();
|
||||||
public VirtualFileSystem VFS;
|
public VirtualFileSystem VFS = VirtualFileSystem.VFS;
|
||||||
public List<IndexedArchive> IndexedArchives;
|
public List<IndexedArchive> IndexedArchives = new List<IndexedArchive>();
|
||||||
public Dictionary<string, IEnumerable<VirtualFile>> IndexedFiles;
|
public Dictionary<string, IEnumerable<VirtualFile>> IndexedFiles = new Dictionary<string, IEnumerable<VirtualFile>>();
|
||||||
|
|
||||||
public abstract void Info(string msg);
|
public abstract void Info(string msg);
|
||||||
public abstract void Status(string msg);
|
public abstract void Status(string msg);
|
||||||
|
@ -50,15 +50,6 @@ namespace Wabbajack.Lib
|
|||||||
|
|
||||||
ModListOutputFolder = "output_folder";
|
ModListOutputFolder = "output_folder";
|
||||||
ModListOutputFile = MO2Profile + ExtensionManager.Extension;
|
ModListOutputFile = MO2Profile + ExtensionManager.Extension;
|
||||||
|
|
||||||
SelectedArchives = new List<Archive>();
|
|
||||||
InstallDirectives = new List<Directive>();
|
|
||||||
AllFiles = new List<RawSourceFile>();
|
|
||||||
ModList = new ModList();
|
|
||||||
|
|
||||||
VFS = VirtualFileSystem.VFS;
|
|
||||||
IndexedArchives = new List<IndexedArchive>();
|
|
||||||
IndexedFiles = new Dictionary<string, IEnumerable<VirtualFile>>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public dynamic MO2Ini { get; }
|
public dynamic MO2Ini { get; }
|
||||||
|
@ -55,13 +55,6 @@ namespace Wabbajack.Lib
|
|||||||
|
|
||||||
// TODO: add custom modlist name
|
// TODO: add custom modlist name
|
||||||
ModListOutputFile = $"VORTEX_TEST_MODLIST{ExtensionManager.Extension}";
|
ModListOutputFile = $"VORTEX_TEST_MODLIST{ExtensionManager.Extension}";
|
||||||
|
|
||||||
VFS = VirtualFileSystem.VFS;
|
|
||||||
|
|
||||||
SelectedArchives = new List<Archive>();
|
|
||||||
AllFiles = new List<RawSourceFile>();
|
|
||||||
IndexedArchives = new List<IndexedArchive>();
|
|
||||||
IndexedFiles = new Dictionary<string, IEnumerable<VirtualFile>>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Info(string msg)
|
public override void Info(string msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user