예제 #1
0
        public SceneFolders()
        {
            _folderTreeView = new FolderTreeView(AI_BrowserFolders.UserDataPath, Path.Combine(AI_BrowserFolders.UserDataPath, @"studio\scene"));
            _folderTreeView.CurrentFolderChanged = OnFolderChanged;

            Harmony.CreateAndPatchAll(typeof(SceneFolders));
        }
        public SceneFolders()
        {
            _folderTreeView = new FolderTreeView(Utils.NormalizePath(UserData.Path), Path.Combine(Utils.NormalizePath(UserData.Path), @"studio\scene"));
            _folderTreeView.CurrentFolderChanged = OnFolderChanged;

            HarmonyWrapper.PatchAll(typeof(SceneFolders));
        }
예제 #3
0
 public DirectoryTree(DirectoryInfo info)
 {
     Info     = info;
     Name     = Info.Name;
     FullName = FolderTreeView.NormalizePath(Info.FullName);
     Reset();
 }
        public MakerOutfitFolders()
        {
            _folderTreeView = new FolderTreeView(AI_BrowserFolders.UserDataPath, AI_BrowserFolders.UserDataPath);
            _folderTreeView.CurrentFolderChanged = RefreshCurrentWindow;

            Harmony.CreateAndPatchAll(typeof(MakerOutfitFolders));
        }
        public MakerFolders()
        {
            _folderTreeView = new FolderTreeView(AI_BrowserFolders.UserDataPath, AI_BrowserFolders.UserDataPath);
            _folderTreeView.CurrentFolderChanged = RefreshCurrentWindow;

            Harmony.CreateAndPatchAll(typeof(MakerFolders));
            MakerCardSave.RegisterNewCardSavePathModifier(CardSavePathModifier, null);
        }
예제 #6
0
        public MainGameFolders()
        {
            var pathDefault = Path.Combine(Utils.NormalizePath(UserData.Path), "chara/female");

            _folderTreeView = new FolderTreeView(pathDefault, pathDefault)
            {
                CurrentFolder        = pathDefault,
                CurrentFolderChanged = RefreshCurrentWindow
            };

            Harmony.CreateAndPatchAll(typeof(MainGameFolders));
            //todo split out into a separate thing?
            Harmony.CreateAndPatchAll(typeof(NestedFilenamesMainGamePatch));
        }