Exemplo n.º 1
0
 public static void Save()
 {
     iniFile.WriteValue("startup", "show", StartupShowMainForm ? "1" : "0");
     iniFile.WriteValue("overlay", "show", ShowOverlay ? "1" : "0");
     iniFile.WriteValue("overlay", "x", OverlayX.ToString());
     iniFile.WriteValue("overlay", "y", OverlayY.ToString());
     iniFile.WriteValue("overlay", "autohideoverlay", autoHideOverlay ? "1" : "0");
     iniFile.WriteValue("notification", "flashwindow", FlashWindow ? "1" : "0");
     iniFile.WriteValue("notification", "fatesound", FateSound ? "1" : "0");
     iniFile.WriteValue("notification", "customsound", CustomSound ? "1" : "0");
     iniFile.WriteValue("notification", "customsoundpath", CustomSoundPath);
     iniFile.WriteValue("notification", "telegram", TelegramEnabled ? "1" : "0");
     iniFile.WriteValue("notification", "telegramqueuestatus", TelegramQueueStatusEnabled ? "1" : "0");
     iniFile.WriteValue("notification", "telegramChatId", TelegramChatId);
     iniFile.WriteValue("notification", "discord", DiscordEnabled ? "1" : "0");
     iniFile.WriteValue("notification", "discordaccount", DiscordAccount);
     iniFile.WriteValue("misc", "useVPN", useVPN ? "1" : "0");
     iniFile.WriteValue("misc", "cheatroulette", CheatRoulette ? "1" : "0");
     iniFile.WriteValue("misc", "copymacro", copyMacro ? "1" : "0");
     iniFile.WriteValue("misc", "language", Language);
     iniFile.WriteValue("fate", "fates", string.Join(",", FATEs));
     iniFile.WriteValue("internal", "updated", Updated ? "1" : "0");
     iniFile.WriteValue("http", "customHttpRequest", customHttpRequest ? "1" : "0");
     iniFile.WriteValue("http", "customHttpUrl", customHttpUrl);
     iniFile.WriteValue("http", "requestOnDutyMatched", requestOnDutyMatched ? "1" : "0");
     iniFile.WriteValue("http", "requestOnFateOccured", requestOnFateOccured ? "1" : "0");
     iniFile.WriteValue("dev", "debuglog", debugLog ? "1" : "0");
 }
Exemplo n.º 2
0
 public static void Save()
 {
     iniFile.WriteValue("crack", "crack", Crack ? "1" : "0");
     iniFile.WriteValue("internal", "firstrun", FirstRun ? "1" : "0");
     iniFile.WriteValue("startup", "show", StartupShowMainForm ? "1" : "0");
     iniFile.WriteValue("overlay", "show", ShowOverlay ? "1" : "0");
     iniFile.WriteValue("overlay", "autohide", AutoOverlayHide ? "1" : "0");
     iniFile.WriteValue("overlay", "x", OverlayX.ToString());
     iniFile.WriteValue("overlay", "y", OverlayY.ToString());
     iniFile.WriteValue("notification", "flashwindow", FlashWindow ? "1" : "0");
     iniFile.WriteValue("misc", "cheatroulette", CheatRoulette ? "1" : "0");
     iniFile.WriteValue("misc", "heartbeatlock", HeartBeatLock ? "1" : "0");
     iniFile.WriteValue("misc", "roulettetips", RouletteTips ? "1" : "0");
     iniFile.WriteValue("misc", "language", Language);
     iniFile.WriteValue("update", "dfaupdate", dfaUpdate);
     iniFile.WriteValue("update", "dataupdate", dataUpdate);
     iniFile.WriteValue("update", "checkbeta", CheckBeta ? "1" : "0");
     iniFile.WriteValue("fate", "fates", string.Join(",", FATEs));
     iniFile.WriteValue("internal", "updated", Updated ? "1" : "0");
     iniFile.WriteValue("notification", "playsound", PlaySound ? "1" : "0");
     iniFile.WriteValue("notification", "tts", TTS ? "1" : "0");
     iniFile.WriteValue("notification", "ttscache", TTSCache);
     iniFile.WriteValue("notification", "ttsspeed", TTSSpeed);
     iniFile.WriteValue("notification", "ttsvol", TTSVol.ToString());
     iniFile.WriteValue("dev", "debuglog", DebugLog ? "1" : "0");
     iniFile.WriteValue("dev", "netfilter", NetFilter ? "1" : "0");
     iniFile.WriteValue("notification", "soundlocation", SoundLocation);
     iniFile.WriteValue("tracker", "trackerenabled", TrackerEnabled ? "1" : "0");
     iniFile.WriteValue("tracker", "trackermirror", TrackerMirror);
     iniFile.WriteValue("tracker", "autotracker", AutoTracker ? "1" : "0");
     iniFile.WriteValue("dll", "node", NodeVersion.ToString());
 }
Exemplo n.º 3
0
 public static void Save()
 {
     iniFile.WriteValue("startup", "show", StartupShowMainForm ? "1" : "0");
     iniFile.WriteValue("overlay", "show", ShowOverlay ? "1" : "0");
     iniFile.WriteValue("overlay", "autohide", AutoOverlayHide ? "1" : "0");
     iniFile.WriteValue("overlay", "x", OverlayX.ToString());
     iniFile.WriteValue("overlay", "y", OverlayY.ToString());
     iniFile.WriteValue("notification", "twitter", TwitterEnabled ? "1" : "0");
     iniFile.WriteValue("notification", "twitteraccount", TwitterAccount);
     iniFile.WriteValue("notification", "flashwindow", FlashWindow ? "1" : "0");
     iniFile.WriteValue("misc", "cheatroulette", CheatRoulette ? "1" : "0");
     iniFile.WriteValue("fate", "fates", string.Join(",", FATEs));
     iniFile.WriteValue("internal", "updated", Updated ? "1" : "0");
 }
Exemplo n.º 4
0
 public static void Save()
 {
     iniFile.WriteValue("startup", "show", StartupShowMainForm ? "1" : "0");
     iniFile.WriteValue("overlay", "show", ShowOverlay ? "1" : "0");
     iniFile.WriteValue("overlay", "x", OverlayX.ToString());
     iniFile.WriteValue("overlay", "y", OverlayY.ToString());
     iniFile.WriteValue("notification", "flashwindow", FlashWindow ? "1" : "0");
     iniFile.WriteValue("notification", "fatesound", FateSound ? "1" : "0");
     iniFile.WriteValue("notification", "customsound", CustomSound ? "1" : "0");
     iniFile.WriteValue("notification", "customsoundpath", CustomSoundPath);
     iniFile.WriteValue("misc", "cheatroulette", CheatRoulette ? "1" : "0");
     iniFile.WriteValue("misc", "language", Language);
     iniFile.WriteValue("fate", "fates", string.Join(",", FATEs));
     iniFile.WriteValue("internal", "updated", Updated ? "1" : "0");
 }