Add ExportManager.

This commit is contained in:
Ottermandias 2023-03-28 16:58:20 +02:00
parent 2b7292adb8
commit a8000fbf14
11 changed files with 141 additions and 89 deletions

View file

@ -47,11 +47,11 @@ public readonly struct ModSaveGroup : ISavable
public ModSaveGroup(Mod mod, int groupIdx)
{
_basePath = mod.ModPath;
_groupIdx = groupIdx;
if (_groupIdx < 0)
_defaultMod = mod.Default;
else
_group = mod.Groups[groupIdx];
_groupIdx = groupIdx;
_group = mod.Groups[_groupIdx];
}
public ModSaveGroup(DirectoryInfo basePath, IModGroup group, int groupIdx)