terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Append() [1/2]

virtual void UnityEngine.UI.InputField.Append ( char input)
inlineprotectedvirtual

Definition at line 1653 of file InputField.cs.

1654 {
1655 if (!true)
1656 {
1657 }
1658 bool flag = char.IsSurrogate(input);
1659 if (!this.m_ReadOnly)
1660 {
1661 string text = this.m_Text;
1662 int num = 16381;
1663 int stringLength = text._stringLength;
1664 bool isSupported = TouchScreenKeyboard.isSupported;
1666 {
1667 string text2;
1668 int stringLength2 = text2._stringLength;
1669 int caretPosition = this.m_CaretPosition;
1670 string text3;
1671 int stringLength3 = text3._stringLength;
1672 if (num == 0)
1673 {
1674 }
1675 int num2 = Math.Min(1073741824, 0);
1676 string text4 = this.m_Text;
1678 string text5;
1679 int stringLength4 = text5._stringLength;
1681 string text6;
1682 int stringLength5 = text6._stringLength;
1684 string text7;
1685 int stringLength6 = text7._stringLength;
1687 string text8;
1688 int stringLength7 = text8._stringLength;
1689 string text9 = this.m_Text;
1691 string text10;
1692 int stringLength8 = text10._stringLength;
1693 string text11 = this.m_Text;
1695 string text12 = this.m_Text;
1696 string text13;
1697 int stringLength9 = text13._stringLength;
1699 return;
1700 }
1701 }
1702 }
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152

References UnityEngine.UI.InputField.caretPosition, UnityEngine.UI.InputField.input, UnityEngine.TouchScreenKeyboard.isSupported, j__TPar, UnityEngine.UI.InputField.m_CaretPosition, UnityEngine.UI.InputField.m_CaretSelectPosition, UnityEngine.UI.InputField.m_ReadOnly, UnityEngine.UI.InputField.m_Text, UnityEngine.UI.InputField.m_TouchKeyboardAllowsInPlaceEditing, System.Math.Min(), and UnityEngine.UI.InputField.text.