public FreeHFolders() { _folderTreeView = new FolderTreeView(Overlord.GetUserDataRootPath(), Overlord.GetDefaultPath(0)); _folderTreeView.CurrentFolderChanged = OnFolderChanged; Overlord.Init(); }
public ClassroomFolders() { _folderTreeView = new FolderTreeView(Overlord.GetUserDataRootPath(), Overlord.GetDefaultPath(0)); _folderTreeView.CurrentFolderChanged = OnFolderChanged; Overlord.Init(); Harmony.CreateAndPatchAll(typeof(ClassroomFolders)); }
public NewGameFolders() { _folderTreeView = new FolderTreeView(Overlord.GetUserDataRootPath(), Overlord.GetDefaultPath(0)) { CurrentFolderChanged = OnFolderChanged }; Overlord.Init(); }
public static void Init(PreviewCharaList list, int sex) { if (_customCharaFile != list) { _folderTreeView.DefaultPath = Overlord.GetDefaultPath(sex); _folderTreeView.CurrentFolder = _folderTreeView.DefaultPath; _customCharaFile = list; _targetScene = Scene.Instance.AddSceneName; } }
public static void Init(EntryPlayer list, int sex) { if (_newGame != list) { _folderTreeView.DefaultPath = Overlord.GetDefaultPath(sex); _folderTreeView.CurrentFolder = _folderTreeView.DefaultPath; _newGame = list; _targetScene = Scene.Instance.AddSceneName; } }
public static void Init(FreeHPreviewCharaList list, int sex) { if (_freeHFile != list) { _folderTreeView.DefaultPath = Overlord.GetDefaultPath(sex); _folderTreeView.CurrentFolder = _folderTreeView.DefaultPath; _freeHFile = list; _customFileListSelecter = list.GetComponentInChildren <CustomFileListSelecter>(); _targetScene = Scene.Instance.AddSceneName; } }
public static void InitHook(CustomCharaFile __instance) { _folderTreeView.DefaultPath = Overlord.GetDefaultPath(CustomBase.Instance.modeSex); _folderTreeView.CurrentFolder = _folderTreeView.DefaultPath; _customCharaFile = __instance; var gt = GameObject.Find("CustomScene/CustomRoot/FrontUIGroup/CustomUIGroup/CvsMenuTree/06_SystemTop"); _loadCharaToggle = gt.transform.Find("tglLoadChara").GetComponent <Toggle>(); _saveCharaToggle = gt.transform.Find("tglSaveChara").GetComponent <Toggle>(); var mt = GameObject.Find("CustomScene/CustomRoot/FrontUIGroup/CustomUIGroup/CvsMainMenu/BaseTop/tglSystem"); _catToggle = mt.GetComponent <Toggle>(); _saveFront = GameObject.Find("CustomScene/CustomRoot/FrontUIGroup/CvsCaptureFront"); _targetScene = Scene.Instance.AddSceneName; }