public static bool HOTKEY_CHECK(string trigger) {// You can go to the injected Hotkey Hijack by searching #HotkeyHijack switch (trigger) { default: return(false); case "Manual Blast": RTC_Core.coreForm.btnManualBlast_Click(null, null); break; case "Start/Stop AutoCorrupt": RTC_Core.coreForm.btnAutoCorrupt_Click(null, null); break; case "Error Delay--": if (RTC_Core.coreForm.track_ErrorDelay.Value > 1) { RTC_Core.coreForm.track_ErrorDelay.Value--; RTC_Core.coreForm.track_ErrorDelay_Scroll(null, null); } break; case "Error Delay++": if (RTC_Core.coreForm.track_ErrorDelay.Value < RTC_Core.coreForm.track_ErrorDelay.Maximum) { RTC_Core.coreForm.track_ErrorDelay.Value++; RTC_Core.coreForm.track_ErrorDelay_Scroll(null, null); } break; case "Intensity--": if (RTC_Core.coreForm.track_Intensity.Value > 1) { RTC_Core.coreForm.track_Intensity.Value--; RTC_Core.coreForm.track_Intensity_Scroll(null, null); } break; case "Intensity++": if (RTC_Core.coreForm.track_Intensity.Value < RTC_Core.coreForm.track_Intensity.Maximum) { RTC_Core.coreForm.track_Intensity.Value++; RTC_Core.coreForm.track_Intensity_Scroll(null, null); } break; case "GH Load and Corrupt": RTC_Core.ghForm.cbAutoLoadState.Checked = true; RTC_Core.ghForm.btnCorrupt_Click(null, null); break; case "GH Corrupt w/o Load": bool isload = RTC_Core.ghForm.cbAutoLoadState.Checked; RTC_Core.ghForm.cbAutoLoadState.Checked = false; RTC_Core.ghForm.btnCorrupt_Click(null, null); RTC_Core.ghForm.cbAutoLoadState.Checked = isload; break; case "GH Load": RTC_Core.ghForm.btnSaveLoad.Text = "LOAD"; RTC_Core.ghForm.btnSaveLoad_Click(null, null); break; case "GH Save": RTC_Core.ghForm.btnSaveLoad.Text = "SAVE"; RTC_Core.ghForm.btnSaveLoad_Click(null, null); break; case "Reset TimeStack": RTC_TimeStack.Reset(); break; case "TimeStack Jump": RTC_TimeStack.Jump(); break; case "Induce KS Crash": RTC_RPC.Stop(); break; case "Send Raw to Stash": RTC_Core.ghForm.btnSendRaw_Click(null, null); break; case "Blast Toggle": RTC_Core.ghForm.btnBlastToggle_Click(null, null); break; } return(true); }
public void btnTimeStackJump_Click(object sender, EventArgs e) { RTC_TimeStack.Jump(); }