Esempio n. 1
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);
        }