コード例 #1
0
 // 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);
     }
 }
コード例 #2
0
    // 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();
    }