public static float CurrentRecallChance(this SaveData.Heroine heroine, int question, int answer) { var result = 0f; heroine.SafeProc(h => h.chaCtrl.SafeProcObject(cc => result = cc.CurrentRecallChance(question, answer))); return(result); }
public static ulong TimesAnswerSelected(this SaveData.Heroine heroine, int question, int answer) { ulong result = 0; heroine.SafeProc(h => h.chaCtrl.SafeProcObject(cc => result = cc.TimesAnswerSelected(question, answer))); return(result); }
public static bool CanRecallAnswer(this SaveData.Heroine heroine, int question, int answer) { var result = false; heroine.SafeProc(h => h.chaCtrl.SafeProcObject(cc => result = cc.CanRecallAnswer(question, answer))); return(result); }
public static int GetCoordinateType(this SaveData.Heroine heroine) { var result = -1; heroine.SafeProc(h => h.chaCtrl.SafeProc( cc => cc.chaFile.SafeProc( cf => cf.status.SafeProc( s => result = s.coordinateType)))); return(result); }
private void SceneManager_sceneUnloaded(Scene arg0) { if (!_supportedSceneNames.Contains(arg0.name)) { return; } _targetHeroine.SafeProc(h => h.PersistData()); CurrentlyEnabled = false; _targetHeroine = null; }
public static void Remember(this SaveData.Heroine heroine, int question, int answer, bool isCorrect) { heroine.SafeProc(h => h.chaCtrl.SafeProcObject(cc => cc.Remember(question, answer, isCorrect))); }