public CopyAndModifyOutfitFiles(string?bodySlidePath, string dataFolderPath, MeshPaths?meshPaths = null, IFileSystem?fileSystem = null)
        {
            _fileSystem = fileSystem ?? new FileSystem();

            MeshPaths = meshPaths ?? new MeshPaths(_fileSystem);

            File      = _fileSystem.File;
            Directory = _fileSystem.Directory;
            Path      = _fileSystem.Path;

            BodySlideInstallPath = bodySlidePath ?? Path.Join(dataFolderPath, "CalienteTools", "BodySlide");
        }
Beispiel #2
0
        public Program(IPatcherState <ISkyrimMod, ISkyrimModGetter> state, IFileSystem?fileSystem = null)
        {
            State     = state;
            LinkCache = state.LinkCache;
            PatchMod  = state.PatchMod;
            LoadOrder = state.LoadOrder;

            _fileSystem = fileSystem ?? new FileSystem();

            Path = _fileSystem.Path;

            TexturePaths = new TexturePaths(_fileSystem);
            MeshPaths    = new MeshPaths(_fileSystem);
            TextureSets  = new TextureSets(PatchMod, LinkCache, texturePaths: TexturePaths, fileSystem: _fileSystem);
            HeadParts    = new HeadParts(PatchMod, LinkCache, TextureSets, MeshPaths, _fileSystem);
        }