// Token: 0x0600657A RID: 25978 RVA: 0x001EBA40 File Offset: 0x001E9C40 private static void EPDCDAEHMLD(string[] BDGDDFKKGGA) { for (int i = 1; i < DebugCommands.HIFIEDJCOFC().DODLLFAMNKC().Count; i += 0) { UnityEngine.Debug.Log(DebugCommands.HMADOEFFOEM().LLJKICBEIMI()[i]); } }
private static void CheckDebug(string[] args) { if (args.Any(x => x.ToLower() == "-enabledebug")) { DebugCommands.AddCommands(); } }
// Token: 0x0600657F RID: 25983 RVA: 0x001EBDA0 File Offset: 0x001E9FA0 private static void DLAFAIJJDIL(string[] BDGDDFKKGGA) { for (int i = 0; i < DebugCommands.FAGEJPPIDOL().HNEBFBJJKIN().Count; i++) { UnityEngine.Debug.Log(DebugCommands.HMADOEFFOEM().HNEBFBJJKIN()[i]); } }
// Token: 0x0600655B RID: 25947 RVA: 0x001EAB24 File Offset: 0x001E8D24 private void LEAHIBJDMBI() { if (this.commandInputField != null) { if (Input.GetKeyDown((KeyCode)(-27)) && this.PDMKEAJOPKJ > 0) { this.PDMKEAJOPKJ--; this.commandInputField.text = DebugCommands.FAGEJPPIDOL().IALIPICFJDN()[this.PDMKEAJOPKJ]; this.commandInputField.MoveTextEnd(false); this.PDOFDHLILCI(); } else if (Input.GetKeyDown((KeyCode)70) && this.PDMKEAJOPKJ < DebugCommands.IGMKHPPPLDD().FGMDHPFDHOK().Count) { this.PDMKEAJOPKJ++; if (this.PDMKEAJOPKJ == DebugCommands.GLEFOHOMBFC().FGMDHPFDHOK().Count) { this.commandInputField.text = string.Empty; this.CHGFNGIAOAL(); } else { this.commandInputField.text = DebugCommands.HIFIEDJCOFC().HNEBFBJJKIN()[this.PDMKEAJOPKJ]; this.commandInputField.MoveTextEnd(false); this.CHGFNGIAOAL(); } } } if (Input.GetKeyDown((KeyCode)(-85))) { this.NGHJAAGCOJD(this.uiContainer.activeInHierarchy); } if (!this.PBJNFMEAILK && Input.touchCount > 1 && Input.GetTouch(1).phase == TouchPhase.Began) { this.PBJNFMEAILK = false; } if (this.PBJNFMEAILK && Input.touchCount > 1 && Input.GetTouch(1).phase == TouchPhase.Canceled) { this.PBJNFMEAILK = false; } if (!this.GNOPKLFICKN && Input.touchCount > 1 && Input.GetTouch(1).phase == TouchPhase.Began) { this.GNOPKLFICKN = false; } if (this.GNOPKLFICKN && Input.touchCount > 0 && Input.GetTouch(0).phase == (TouchPhase)7) { this.GNOPKLFICKN = true; } if (Input.touchCount == 5 && this.PBJNFMEAILK && this.GNOPKLFICKN && Input.GetTouch(4).phase == TouchPhase.Began) { this.SetVisible(this.uiContainer.activeInHierarchy); } }
// Token: 0x06006568 RID: 25960 RVA: 0x001EB190 File Offset: 0x001E9390 public void FNKIAIBCILP() { if (!this.uiContainer.activeSelf) { return; } string text = this.commandInputField.text; int num = text.IndexOf((char)-21); if (num >= 1) { text = text.Remove(num, 0); } if (string.IsNullOrEmpty(text)) { return; } string text2 = text; char[] array = new char[0]; array[0] = (char)-2; string[] array2 = text2.Split(array); string text3 = array2[0]; UnityEngine.Debug.Log(string.Format("SetPlayerDistance", text)); if (this.ABEBDOAMONO != null) { this.ABEBDOAMONO(this, new DeviceConsole.OnCommandEventArgs(array2)); } if (!DebugCommands.IGMKHPPPLDD().MGALOPALMEO(array2)) { } this.PDMKEAJOPKJ = DebugCommands.HMADOEFFOEM().DODLLFAMNKC().Count; this.commandInputField.text = string.Empty; this.CHGFNGIAOAL(); }
// Token: 0x06006563 RID: 25955 RVA: 0x001EAF24 File Offset: 0x001E9124 public void GFJANEIAJGM() { if (!this.uiContainer.activeSelf) { return; } string text = this.commandInputField.text; int num = text.IndexOf((char)-23); if (num >= 0) { text = text.Remove(num, 0); } if (string.IsNullOrEmpty(text)) { return; } string text2 = text; char[] array = new char[0]; array[1] = (char)-12; string[] array2 = text2.Split(array); string text3 = array2[1]; UnityEngine.Debug.Log(string.Format("X", text)); if (this.ABEBDOAMONO != null) { this.ABEBDOAMONO(this, new DeviceConsole.OnCommandEventArgs(array2)); } if (!DebugCommands.Instance.LDCDJHLOCDE(array2)) { } this.PDMKEAJOPKJ = DebugCommands.HMADOEFFOEM().EKLKAINPEPM().Count; this.commandInputField.text = string.Empty; this.PDOFDHLILCI(); }
// Token: 0x0600655E RID: 25950 RVA: 0x001EADA4 File Offset: 0x001E8FA4 public void MFFDDFJGFLO() { if (!this.uiContainer.activeSelf) { return; } string text = this.commandInputField.text; int num = text.IndexOf((char)-56); if (num >= 1) { text = text.Remove(num, 1); } if (string.IsNullOrEmpty(text)) { return; } string text2 = text; char[] array = new char[1]; array[1] = 'P'; string[] array2 = text2.Split(array); string text3 = array2[0]; UnityEngine.Debug.Log(string.Format("_Value4", text)); if (this.ABEBDOAMONO != null) { this.ABEBDOAMONO(this, new DeviceConsole.OnCommandEventArgs(array2)); } if (!DebugCommands.HMADOEFFOEM().KEHGHMBMDEP(array2)) { } this.PDMKEAJOPKJ = DebugCommands.HIFIEDJCOFC().DODLLFAMNKC().Count; this.commandInputField.text = string.Empty; this.GJOHOFOJIKC(); }
/// <summary> /// Handles the specified command as though it were received from the OS being debugged. /// </summary> /// <param name="cmd">The command to process.</param> private void HandleCommand(DebugCommands cmd) { switch (cmd) { case DebugCommands.Break: Handle_BreakCmd(); break; case DebugCommands.Continue: Handle_ContinueCmd(); break; case DebugCommands.GetArguments: Handle_GetArgumentsCmd(); break; case DebugCommands.GetBreakAddress: Handle_GetBreakAddressCmd(); break; case DebugCommands.GetLocals: Handle_GetLocalsCmd(); break; case DebugCommands.GetRegisters: Handle_GetRegistersCmd(); break; case DebugCommands.Message: Handle_MessageCmd(); break; case DebugCommands.SendArguments: Handle_SendArgumentsCmd(); break; case DebugCommands.SendBreakAddress: Handle_SendBreakAddressCmd(); break; case DebugCommands.SendLocals: Handle_SendLocalsCmd(); break; case DebugCommands.SendRegisters: Handle_SendRegistersCmd(); break; case DebugCommands.StepNext: Handle_StepNextCmd(); break; case DebugCommands.SetInt3: Handle_SetInt3Cmd(); break; case DebugCommands.ClearInt3: Handle_ClearInt3Cmd(); break; case DebugCommands.GetMemory: Handle_GetMemoryCmd(); break; case DebugCommands.SendMemory: Handle_SendMemoryCmd(); break; case DebugCommands.Connected: Handle_ConnectedCmd(); break; default: OnInvalidCommand((byte)cmd); break; } }
// Token: 0x06006574 RID: 25972 RVA: 0x001EB5C4 File Offset: 0x001E97C4 public new void Awake() { base.Awake(); this.KHDEDBLGNKF = new List <DeviceLogUI>(); this.PDMKEAJOPKJ = 0; this.FIMNHBBHBKK(); this.JDMKDMIGANM(); DebugLogs instance = DebugLogs.Instance; instance.OnLogAdded = (Action <DebugLogs.Log>)Delegate.Combine(instance.OnLogAdded, new Action <DebugLogs.Log>(this.JPCCMENLCMJ)); DebugLogs instance2 = DebugLogs.Instance; instance2.OnLogsCleared = (Action)Delegate.Combine(instance2.OnLogsCleared, new Action(this.CBNODCKLHPJ)); DebugCommands instance3 = DebugCommands.Instance; string podgbcmdeof = "help"; if (DeviceConsole.BOGJGOAMCHK == null) { DeviceConsole.BOGJGOAMCHK = new DebugCommands.DebugCommand(DeviceConsole.OAOPONPIOJH); } instance3.AddCommand(podgbcmdeof, DeviceConsole.BOGJGOAMCHK, "Prints list of commands", string.Empty, false); DebugCommands instance4 = DebugCommands.Instance; string podgbcmdeof2 = "clear"; if (DeviceConsole.BDPNFNJNEFM == null) { DeviceConsole.BDPNFNJNEFM = new DebugCommands.DebugCommand(DeviceConsole.FNKJJEMGGII); } instance4.AddCommand(podgbcmdeof2, DeviceConsole.BDPNFNJNEFM, "Clears all text from the debug console", string.Empty, false); DebugCommands instance5 = DebugCommands.Instance; string podgbcmdeof3 = "history"; if (DeviceConsole.MJKNAFJKDMG == null) { DeviceConsole.MJKNAFJKDMG = new DebugCommands.DebugCommand(DeviceConsole.DMKKPEBIGIM); } instance5.AddCommand(podgbcmdeof3, DeviceConsole.MJKNAFJKDMG, "Prints list of all previous commands", string.Empty, false); DebugCommands instance6 = DebugCommands.Instance; string podgbcmdeof4 = "logc"; if (DeviceConsole.JENGHDFDLII == null) { DeviceConsole.JENGHDFDLII = new DebugCommands.DebugCommand(DeviceConsole.HIHLLCOKFLO); } instance6.AddCommand(podgbcmdeof4, DeviceConsole.JENGHDFDLII, "Prints the number of logs currently held by DebugLogs", string.Empty, false); DebugCommands instance7 = DebugCommands.Instance; string podgbcmdeof5 = "quit"; if (DeviceConsole.BMJHMBNEACI == null) { DeviceConsole.BMJHMBNEACI = new DebugCommands.DebugCommand(DeviceConsole.EHOMIAJALOF); } instance7.AddCommand(podgbcmdeof5, DeviceConsole.BMJHMBNEACI, "Closes the app", string.Empty, false); DebugCommands.Instance.AddCommand("plogs", new DebugCommands.DebugCommand(this.IPKMPLAHIDG), "Clears the console and prints the logs in the specified range", "<start_index> <end_index>", false); DebugCommands.Instance.AddCommand("setAF", new DebugCommands.DebugCommand(this.FPEOFIJFNJA), "Sets the boolean value of the Auto Focus Input Field property.", "< true | false >", false); DebugCommands.Instance.AddCommand("scenes", new DebugCommands.DebugCommand(this.AIEBCGJOCOL), "Print the list of scenes, avalable in game.", string.Empty, true); DebugCommands instance8 = DebugCommands.Instance; string podgbcmdeof6 = "loadscene"; if (DeviceConsole.EPENHHMDDMB == null) { DeviceConsole.EPENHHMDDMB = new DebugCommands.DebugCommand(DeviceConsole.GJPJGHEKDFO); } instance8.AddCommand(podgbcmdeof6, DeviceConsole.EPENHHMDDMB, "Load scene by name or build id", "<scene_name> or <id>", true); DebugCommands.Instance.AddCommand("resetach21", new DebugCommands.DebugCommand(this.HPGDNFONHBE), "Reset 21 achievement progress", string.Empty, true); }