// Token: 0x060000E6 RID: 230 RVA: 0x0000B314 File Offset: 0x00009514 public void setFocusWithKb(bool isFocus) { if (this.isFocus != isFocus) { TField.mode = 0; } TField.lastKey = -1984; TField.timeChangeMode = (long)((int)(DateTime.Now.Ticks / 1000L)); this.isFocus = isFocus; if (isFocus) { TField.currentTField = this; } else if (TField.currentTField == this) { TField.currentTField = null; } if (Thread.CurrentThread.Name == Main.mainThreadName && TField.currentTField != null) { isFocus = true; TouchScreenKeyboard.hideInput = !TField.currentTField.showSubTextField; TouchScreenKeyboardType t = TouchScreenKeyboardType.ASCIICapable; if (this.inputType == TField.INPUT_TYPE_NUMERIC) { t = TouchScreenKeyboardType.NumberPad; } bool type = false; if (this.inputType == TField.INPUT_TYPE_PASSWORD) { type = true; } TField.kb = TouchScreenKeyboard.Open(TField.currentTField.text, t, false, false, type, false, TField.currentTField.name); if (TField.kb != null) { TField.kb.text = TField.currentTField.text; } Cout.LogWarning("SHOW KEYBOARD FOR " + TField.currentTField.text); } }
// Token: 0x06000937 RID: 2359 RVA: 0x00007741 File Offset: 0x00005941 public static void flatForm(string url) { Cout.LogWarning("PLATFORM REQUEST: " + url); Application.OpenURL(url); }
// Token: 0x06000939 RID: 2361 RVA: 0x00007760 File Offset: 0x00005960 public void platformRequest(string url) { Cout.LogWarning("PLATFORM REQUEST: " + url); Application.OpenURL(url); }
// Token: 0x06000186 RID: 390 RVA: 0x0000E830 File Offset: 0x0000CA30 public ArrayList splitStrInLineA(string src, int lineWidth) { ArrayList arrayList = new ArrayList(); int num = 0; int num2 = 0; int length = src.Length; if (length < 5) { arrayList.Add(src); return(arrayList); } string text = string.Empty; try { for (;;) { while (this.getWidthNotExactOf(text) < lineWidth) { text += src[num2]; num2++; if (src[num2] == '\n') { break; } if (num2 >= length - 1) { num2 = length - 1; break; } } if (num2 != length - 1 && src[num2 + 1] != ' ') { int num3 = num2; while (src[num2 + 1] != '\n') { if (src[num2 + 1] != ' ' || src[num2] == ' ') { if (num2 != num) { num2--; continue; } } IL_E3: if (num2 == num) { num2 = num3; goto IL_ED; } goto IL_ED; } goto IL_E3; } IL_ED: string text2 = src.Substring(num, num2 + 1 - num); if (text2[0] == '\n') { text2 = text2.Substring(1, text2.Length - 1); } if (text2[text2.Length - 1] == '\n') { text2 = text2.Substring(0, text2.Length - 1); } arrayList.Add(text2); if (num2 == length - 1) { break; } num = num2 + 1; while (num != length - 1 && src[num] == ' ') { num++; } if (num == length - 1) { break; } num2 = num; text = string.Empty; } } catch (Exception ex) { Cout.LogWarning(string.Concat(new object[] { "EXCEPTION WHEN REAL SPLIT ", src, "\nend=", num2, "\n", ex.Message, "\n", ex.StackTrace })); arrayList.Add(src); } return(arrayList); }