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

            Harmony.CreateAndPatchAll(typeof(SceneFolders));
        }
コード例 #2
0
        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();
 }
コード例 #4
0
        public MakerOutfitFolders()
        {
            _folderTreeView = new FolderTreeView(AI_BrowserFolders.UserDataPath, AI_BrowserFolders.UserDataPath);
            _folderTreeView.CurrentFolderChanged = RefreshCurrentWindow;

            Harmony.CreateAndPatchAll(typeof(MakerOutfitFolders));
        }
コード例 #5
0
        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));
        }