terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UITextBox.cs
Go to the documentation of this file.
1using System;
8using Terraria.UI;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000ACF")]
13 internal class UITextBox : UITextPanel<string>
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6005175")]
16 [global::Cpp2ILInjected.Address(RVA = "0x92E4A4", Offset = "0x92E4A4", Length = "0x80")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = ".ctor", MemberParameters = new object[]
18 {
19 typeof(string),
20 typeof(string),
22 typeof(Action),
23 typeof(int),
24 typeof(bool)
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UISearchBar), Member = ".ctor", MemberParameters = new object[]
27 {
29 typeof(float)
30 }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = ".ctor", MemberParameters = new object[]
33 {
34 "T",
35 typeof(float),
36 typeof(bool)
37 }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
39 public UITextBox(string text, float textScale = 1f, bool large = false)
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x6005176")]
45 [global::Cpp2ILInjected.Address(RVA = "0x92F8C4", Offset = "0x92F8C4", Length = "0x9C")]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.UI.States.UIVirtualKeyboard.<>c__DisplayClass52_0", Member = "<BuildSpaceBarArea>b__2", MemberParameters = new object[]
47 {
50 }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "PressSpace", ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "TypeText", MemberParameters = new object[]
53 {
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "Write", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "get_Text", ReturnType = typeof(string))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Insert", MemberParameters = new object[]
61 {
62 typeof(int),
63 typeof(string)
64 }, ReturnType = typeof(string))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "SetText", MemberParameters = new object[] { "T" }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
67 public void Write(string text)
68 {
69 throw null;
70 }
71
72 [global::Cpp2ILInjected.Token(Token = "0x6005177")]
73 [global::Cpp2ILInjected.Address(RVA = "0x92F960", Offset = "0x92F960", Length = "0x118")]
74 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
77 {
78 typeof(int),
79 typeof(int)
80 }, ReturnType = typeof(string))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "SetText", MemberParameters = new object[]
82 {
83 "T",
84 typeof(float),
85 typeof(bool)
86 }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "get_Text", ReturnType = typeof(string))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
89 {
90 typeof(int),
91 typeof(int)
92 }, ReturnType = typeof(int))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
94 public override void SetText(string text, float textScale, bool large)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x6005178")]
100 [global::Cpp2ILInjected.Address(RVA = "0x92FA78", Offset = "0x92FA78", Length = "0x8")]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
102 public void SetTextMaxLength(int maxLength)
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x6005179")]
108 [global::Cpp2ILInjected.Address(RVA = "0x92FA80", Offset = "0x92FA80", Length = "0xA8")]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "BackSpace", ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "<.ctor>b__50_18", MemberParameters = new object[]
111 {
114 }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "get_Text", ReturnType = typeof(string))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
118 {
119 typeof(int),
120 typeof(int)
121 }, ReturnType = typeof(string))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "SetText", MemberParameters = new object[] { "T" }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
124 public void Backspace()
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x600517A")]
130 [global::Cpp2ILInjected.Address(RVA = "0x92FB28", Offset = "0x92FB28", Length = "0x14")]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "CursorLeft", ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
133 public void CursorLeft()
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x600517B")]
139 [global::Cpp2ILInjected.Address(RVA = "0x92FB3C", Offset = "0x92FB3C", Length = "0x68")]
140 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "CursorRight", ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "get_Text", ReturnType = typeof(string))]
144 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
145 public void CursorRight()
146 {
147 throw null;
148 }
149
150 [global::Cpp2ILInjected.Token(Token = "0x600517C")]
151 [global::Cpp2ILInjected.Address(RVA = "0x92FBA4", Offset = "0x92FBA4", Length = "0x2E4")]
152 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
153 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "get_Text", ReturnType = typeof(string))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UITextPanel<>), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalculatedStyle), Member = "Position", ReturnType = typeof(Vector2))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
158 {
159 typeof(int),
160 typeof(int)
161 }, ReturnType = typeof(string))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
164 {
165 typeof(float),
166 typeof(float)
167 }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
169 {
171 typeof(float)
172 }, ReturnType = typeof(Vector2))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DrawBorderStringBig", MemberParameters = new object[]
174 {
176 typeof(string),
178 typeof(Color),
179 typeof(float),
180 typeof(float),
181 typeof(float),
182 typeof(int)
183 }, ReturnType = typeof(Vector2))]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DrawBorderString", MemberParameters = new object[]
185 {
187 typeof(string),
189 typeof(Color),
190 typeof(float),
191 typeof(float),
192 typeof(float),
193 typeof(int)
194 }, ReturnType = typeof(Vector2))]
195 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
196 protected override void DrawSelf(SpriteBatch spriteBatch)
197 {
198 throw null;
199 }
200
201 [global::Cpp2ILInjected.Token(Token = "0x40089FB")]
202 [global::Cpp2ILInjected.FieldOffset(Offset = "0x198")]
203 private int _cursor;
204
205 [global::Cpp2ILInjected.Token(Token = "0x40089FC")]
206 [global::Cpp2ILInjected.FieldOffset(Offset = "0x19C")]
207 private int _frameCount;
208
209 [global::Cpp2ILInjected.Token(Token = "0x40089FD")]
210 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1A0")]
211 private int _maxLength;
212
213 [global::Cpp2ILInjected.Token(Token = "0x40089FE")]
214 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1A4")]
215 public bool ShowInputTicker;
216
217 [global::Cpp2ILInjected.Token(Token = "0x40089FF")]
218 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1A5")]
219 public bool HideSelf;
220 }
221}
class f__AnonymousType0<< Count > j__TPar
override void DrawSelf(SpriteBatch spriteBatch)
Definition UITextBox.cs:196
UITextBox(string text, float textScale=1f, bool large=false)
Definition UITextBox.cs:39
override void SetText(string text, float textScale, bool large)
Definition UITextBox.cs:94
delegate void KeyboardSubmitEvent(string text)