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
TextGenerator.cs
Go to the documentation of this file.
1using System;
9
10namespace UnityEngine
11{
13 [NativeHeader("Modules/TextRendering/TextGenerator.h")]
14 [global::Cpp2ILInjected.Token(Token = "0x2000005")]
15 [StructLayout(0)]
16 public sealed class TextGenerator : IDisposable
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6000004")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1FA4678", Offset = "0x1FA4678", Length = "0x8")]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "get_cachedInputTextGenerator", ReturnType = typeof(TextGenerator))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_cachedTextGenerator", ReturnType = typeof(TextGenerator))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_cachedTextGeneratorForLayout", ReturnType = typeof(TextGenerator))]
23 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x6000005")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1FA4680", Offset = "0x1FA4680", Length = "0x14C")]
31 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_cachedTextGenerator", ReturnType = typeof(TextGenerator))]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<UIVertex>), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<UICharInfo>), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<UILineInfo>), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x6000006")]
45 [global::Cpp2ILInjected.Address(RVA = "0x1FA47F4", Offset = "0x1FA47F4", Length = "0x110")]
46 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "Finalize", ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
50 protected override void Finalize()
51 {
52 throw null;
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x6000007")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1FA4904", Offset = "0x1FA4904", Length = "0xA0")]
57 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Inequality", MemberParameters = new object[]
60 {
63 }, ReturnType = typeof(bool))]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
65 private void System.IDisposable.Dispose()
66 {
67 throw null;
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x17000001")]
72 {
73 [global::Cpp2ILInjected.Token(Token = "0x6000008")]
74 [global::Cpp2ILInjected.Address(RVA = "0x1FA49E0", Offset = "0x1FA49E0", Length = "0x44")]
75 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetCharacterIndexFromPosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(int))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "LineDownCharacterPosition", MemberParameters = new object[]
78 {
79 typeof(int),
80 typeof(bool)
81 }, ReturnType = typeof(int))]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetLineEndPosition", MemberParameters = new object[]
83 {
85 typeof(int)
86 }, ReturnType = typeof(int))]
87 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "SetDrawRangeToContainCaretPosition", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
90 get
91 {
92 throw null;
93 }
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x6000009")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1FA4A60", Offset = "0x1FA4A60", Length = "0x28C")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "PopulateAlways", MemberParameters = new object[]
100 {
101 typeof(string),
103 }, ReturnType = typeof(TextGenerationError))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Object), Member = "op_Inequality", MemberParameters = new object[]
106 {
107 typeof(Object),
109 }, ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Object), Member = "get_name", ReturnType = typeof(string))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogWarningFormat", MemberParameters = new object[]
112 {
113 typeof(Object),
114 typeof(string),
115 typeof(object[])
116 }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
119 {
120 throw null;
121 }
122
123 [global::Cpp2ILInjected.Token(Token = "0x600000A")]
124 [global::Cpp2ILInjected.Address(RVA = "0x1FA4D28", Offset = "0x1FA4D28", Length = "0x8")]
125 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "FontTextureChanged", ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "OnEnable", ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
128 public void Invalidate()
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x600000B")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1FA4D30", Offset = "0x1FA4D30", Length = "0x44")]
135 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
136 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
137 public void GetCharacters(List<UICharInfo> characters)
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x600000C")]
143 [global::Cpp2ILInjected.Address(RVA = "0x1FA4DB8", Offset = "0x1FA4DB8", Length = "0x44")]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
145 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
146 public void GetLines(List<UILineInfo> lines)
147 {
148 throw null;
149 }
150
151 [global::Cpp2ILInjected.Token(Token = "0x600000D")]
152 [global::Cpp2ILInjected.Address(RVA = "0x1FA4E40", Offset = "0x1FA4E40", Length = "0x44")]
153 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
154 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
155 public void GetVertices(List<UIVertex> vertices)
156 {
157 throw null;
158 }
159
160 [global::Cpp2ILInjected.Token(Token = "0x600000E")]
161 [global::Cpp2ILInjected.Address(RVA = "0x1FA4EC8", Offset = "0x1FA4EC8", Length = "0x74")]
162 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "get_preferredWidth", ReturnType = typeof(float))]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_preferredWidth", ReturnType = typeof(float))]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "PopulateWithError", MemberParameters = new object[]
167 {
168 typeof(string),
170 }, ReturnType = typeof(TextGenerationError))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "get_rectExtents", ReturnType = typeof(Rect))]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rect), Member = "get_width", ReturnType = typeof(float))]
173 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
174 public float GetPreferredWidth(string str, TextGenerationSettings settings)
175 {
176 throw null;
177 }
178
179 [global::Cpp2ILInjected.Token(Token = "0x600000F")]
180 [global::Cpp2ILInjected.Address(RVA = "0x1FA4FE4", Offset = "0x1FA4FE4", Length = "0x70")]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "get_preferredHeight", ReturnType = typeof(float))]
182 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_preferredHeight", ReturnType = typeof(float))]
183 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "PopulateWithError", MemberParameters = new object[]
185 {
186 typeof(string),
188 }, ReturnType = typeof(TextGenerationError))]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "get_rectExtents", ReturnType = typeof(Rect))]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rect), Member = "get_height", ReturnType = typeof(float))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
192 public float GetPreferredHeight(string str, TextGenerationSettings settings)
193 {
194 throw null;
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x6000010")]
198 [global::Cpp2ILInjected.Address(RVA = "0x1FA5054", Offset = "0x1FA5054", Length = "0x190")]
199 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "UpdateLabel", ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "OnPopulateMesh", MemberParameters = new object[] { "UnityEngine.UI.VertexHelper" }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "PopulateWithError", MemberParameters = new object[]
203 {
204 typeof(string),
206 }, ReturnType = typeof(TextGenerationError))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogErrorFormat", MemberParameters = new object[]
208 {
209 typeof(Object),
210 typeof(string),
211 typeof(object[])
212 }, ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
214 public bool PopulateWithErrors(string str, TextGenerationSettings settings, GameObject context)
215 {
216 throw null;
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x6000011")]
220 [global::Cpp2ILInjected.Address(RVA = "0x1FA4F3C", Offset = "0x1FA4F3C", Length = "0x50")]
221 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
222 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "PopulateWithError", MemberParameters = new object[]
224 {
225 typeof(string),
227 }, ReturnType = typeof(TextGenerationError))]
228 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
229 public bool Populate(string str, TextGenerationSettings settings)
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x6000012")]
235 [global::Cpp2ILInjected.Address(RVA = "0x1FA51E4", Offset = "0x1FA51E4", Length = "0x90")]
236 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "GetPreferredWidth", MemberParameters = new object[]
237 {
238 typeof(string),
240 }, ReturnType = typeof(float))]
241 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "GetPreferredHeight", MemberParameters = new object[]
242 {
243 typeof(string),
245 }, ReturnType = typeof(float))]
246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "PopulateWithErrors", MemberParameters = new object[]
247 {
248 typeof(string),
251 }, ReturnType = typeof(bool))]
252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "Populate", MemberParameters = new object[]
253 {
254 typeof(string),
256 }, ReturnType = typeof(bool))]
257 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
258 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
259 {
260 typeof(string),
261 typeof(string)
262 }, ReturnType = typeof(bool))]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerationSettings), Member = "Equals", MemberParameters = new object[] { typeof(TextGenerationSettings) }, ReturnType = typeof(bool))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "PopulateAlways", MemberParameters = new object[]
265 {
266 typeof(string),
268 }, ReturnType = typeof(TextGenerationError))]
269 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
271 {
272 throw null;
273 }
274
275 [global::Cpp2ILInjected.Token(Token = "0x6000013")]
276 [global::Cpp2ILInjected.Address(RVA = "0x1FA5274", Offset = "0x1FA5274", Length = "0x108")]
277 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
278 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "PopulateWithError", MemberParameters = new object[]
279 {
280 typeof(string),
282 }, ReturnType = typeof(TextGenerationError))]
283 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
284 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "ValidatedSettings", MemberParameters = new object[] { typeof(TextGenerationSettings) }, ReturnType = typeof(TextGenerationSettings))]
285 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "Populate_Internal", MemberParameters = new object[]
286 {
287 typeof(string),
288 typeof(Font),
289 typeof(Color),
290 typeof(int),
291 typeof(float),
292 typeof(float),
293 typeof(FontStyle),
294 typeof(bool),
295 typeof(bool),
296 typeof(int),
297 typeof(int),
298 typeof(VerticalWrapMode),
299 typeof(HorizontalWrapMode),
300 typeof(bool),
301 typeof(TextAnchor),
304 typeof(bool),
305 typeof(bool),
306 typeof(ref TextGenerationError)
307 }, ReturnType = typeof(bool))]
308 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
310 {
311 throw null;
312 }
313
314 [global::Cpp2ILInjected.Token(Token = "0x17000002")]
315 public IList<UIVertex> verts
316 {
317 [global::Cpp2ILInjected.Token(Token = "0x6000014")]
318 [global::Cpp2ILInjected.Address(RVA = "0x1FA5528", Offset = "0x1FA5528", Length = "0x5C")]
319 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "OnPopulateMesh", MemberParameters = new object[] { "UnityEngine.UI.VertexHelper" }, ReturnType = typeof(void))]
321 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
322 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
323 get
324 {
325 throw null;
326 }
327 }
328
329 [global::Cpp2ILInjected.Token(Token = "0x17000003")]
330 public IList<UICharInfo> characters
331 {
332 [global::Cpp2ILInjected.Token(Token = "0x6000015")]
333 [global::Cpp2ILInjected.Address(RVA = "0x1FA5584", Offset = "0x1FA5584", Length = "0x5C")]
334 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
335 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetCharacterIndexFromPosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(int))]
336 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "LineUpCharacterPosition", MemberParameters = new object[]
337 {
338 typeof(int),
339 typeof(bool)
340 }, ReturnType = typeof(int))]
341 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "LineDownCharacterPosition", MemberParameters = new object[]
342 {
343 typeof(int),
344 typeof(bool)
345 }, ReturnType = typeof(int))]
346 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "SetDrawRangeToContainCaretPosition", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GenerateCaret", MemberParameters = new object[]
348 {
349 "UnityEngine.UI.VertexHelper",
351 }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GenerateHighlight", MemberParameters = new object[]
353 {
354 "UnityEngine.UI.VertexHelper",
356 }, ReturnType = typeof(void))]
357 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
358 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
359 get
360 {
361 throw null;
362 }
363 }
364
365 [global::Cpp2ILInjected.Token(Token = "0x17000004")]
366 public IList<UILineInfo> lines
367 {
368 [global::Cpp2ILInjected.Token(Token = "0x6000016")]
369 [global::Cpp2ILInjected.Address(RVA = "0x1FA55E0", Offset = "0x1FA55E0", Length = "0x5C")]
370 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
371 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetUnclampedCharacterLineFromPosition", MemberParameters = new object[]
372 {
375 }, ReturnType = typeof(int))]
376 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetCharacterIndexFromPosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(int))]
377 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "DetermineCharacterLine", MemberParameters = new object[]
378 {
379 typeof(int),
381 }, ReturnType = typeof(int))]
382 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "LineUpCharacterPosition", MemberParameters = new object[]
383 {
384 typeof(int),
385 typeof(bool)
386 }, ReturnType = typeof(int))]
387 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "LineDownCharacterPosition", MemberParameters = new object[]
388 {
389 typeof(int),
390 typeof(bool)
391 }, ReturnType = typeof(int))]
392 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetLineStartPosition", MemberParameters = new object[]
393 {
395 typeof(int)
396 }, ReturnType = typeof(int))]
397 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetLineEndPosition", MemberParameters = new object[]
398 {
400 typeof(int)
401 }, ReturnType = typeof(int))]
402 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "SetDrawRangeToContainCaretPosition", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
403 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GenerateCaret", MemberParameters = new object[]
404 {
405 "UnityEngine.UI.VertexHelper",
407 }, ReturnType = typeof(void))]
408 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GenerateHighlight", MemberParameters = new object[]
409 {
410 "UnityEngine.UI.VertexHelper",
412 }, ReturnType = typeof(void))]
413 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 16)]
414 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
415 get
416 {
417 throw null;
418 }
419 }
420
421 [global::Cpp2ILInjected.Token(Token = "0x17000005")]
422 public Rect rectExtents
423 {
424 [global::Cpp2ILInjected.Token(Token = "0x6000017")]
425 [global::Cpp2ILInjected.Address(RVA = "0x1FA4F8C", Offset = "0x1FA4F8C", Length = "0x58")]
426 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
427 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "SetDrawRangeToContainCaretPosition", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
428 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "GetPreferredWidth", MemberParameters = new object[]
429 {
430 typeof(string),
432 }, ReturnType = typeof(float))]
433 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "GetPreferredHeight", MemberParameters = new object[]
434 {
435 typeof(string),
437 }, ReturnType = typeof(float))]
438 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
439 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
440 get
441 {
442 throw null;
443 }
444 }
445
446 [global::Cpp2ILInjected.Token(Token = "0x17000006")]
447 public extern int characterCount
448 {
449 [global::Cpp2ILInjected.Token(Token = "0x6000018")]
450 [global::Cpp2ILInjected.Address(RVA = "0x1FA4A24", Offset = "0x1FA4A24", Length = "0x3C")]
451 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GenerateHighlight", MemberParameters = new object[]
452 {
453 "UnityEngine.UI.VertexHelper",
455 }, ReturnType = typeof(void))]
456 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
457 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
458 [MethodImpl(4096)]
459 get;
460 }
461
462 [global::Cpp2ILInjected.Token(Token = "0x17000007")]
463 public extern int lineCount
464 {
465 [global::Cpp2ILInjected.Token(Token = "0x6000019")]
466 [global::Cpp2ILInjected.Address(RVA = "0x1FA5680", Offset = "0x1FA5680", Length = "0x3C")]
467 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetUnclampedCharacterLineFromPosition", MemberParameters = new object[]
468 {
471 }, ReturnType = typeof(int))]
472 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GetCharacterIndexFromPosition", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(int))]
473 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "DetermineCharacterLine", MemberParameters = new object[]
474 {
475 typeof(int),
477 }, ReturnType = typeof(int))]
478 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "LineDownCharacterPosition", MemberParameters = new object[]
479 {
480 typeof(int),
481 typeof(bool)
482 }, ReturnType = typeof(int))]
483 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "SetDrawRangeToContainCaretPosition", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
484 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GenerateCaret", MemberParameters = new object[]
485 {
486 "UnityEngine.UI.VertexHelper",
488 }, ReturnType = typeof(void))]
489 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.InputField", Member = "GenerateHighlight", MemberParameters = new object[]
490 {
491 "UnityEngine.UI.VertexHelper",
493 }, ReturnType = typeof(void))]
494 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
495 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
496 [MethodImpl(4096)]
497 get;
498 }
499
500 [NativeMethod(IsThreadSafe = true)]
501 [global::Cpp2ILInjected.Token(Token = "0x600001A")]
502 [global::Cpp2ILInjected.Address(RVA = "0x1FA47CC", Offset = "0x1FA47CC", Length = "0x28")]
503 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
504 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
505 [MethodImpl(4096)]
506 private static extern IntPtr Internal_Create();
507
508 [NativeMethod(IsThreadSafe = true)]
509 [global::Cpp2ILInjected.Token(Token = "0x600001B")]
510 [global::Cpp2ILInjected.Address(RVA = "0x1FA49A4", Offset = "0x1FA49A4", Length = "0x3C")]
511 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
512 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
513 [MethodImpl(4096)]
514 private static extern void Internal_Destroy(IntPtr ptr);
515
516 [global::Cpp2ILInjected.Token(Token = "0x600001C")]
517 [global::Cpp2ILInjected.Address(RVA = "0x1FA56BC", Offset = "0x1FA56BC", Length = "0x14C")]
518 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
519 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "Populate_Internal", MemberParameters = new object[]
520 {
521 typeof(string),
522 typeof(Font),
523 typeof(Color),
524 typeof(int),
525 typeof(float),
526 typeof(float),
528 typeof(bool),
529 typeof(bool),
530 typeof(int),
531 typeof(int),
534 typeof(bool),
538 typeof(bool),
539 typeof(bool),
541 }, ReturnType = typeof(bool))]
542 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
543 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
544 internal bool Populate_Internal(string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, int verticalOverFlow, int horizontalOverflow, bool updateBounds, TextAnchor anchor, float extentsX, float extentsY, float pivotX, float pivotY, bool generateOutOfBounds, bool alignByGeometry, out uint error)
545 {
546 throw null;
547 }
548
549 [global::Cpp2ILInjected.Token(Token = "0x600001D")]
550 [global::Cpp2ILInjected.Address(RVA = "0x1FA537C", Offset = "0x1FA537C", Length = "0x1AC")]
551 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextGenerator), Member = "PopulateAlways", MemberParameters = new object[]
552 {
553 typeof(string),
555 }, ReturnType = typeof(TextGenerationError))]
556 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
557 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Object), Member = "op_Equality", MemberParameters = new object[]
558 {
559 typeof(Object),
561 }, ReturnType = typeof(bool))]
562 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextGenerator), Member = "Populate_Internal", MemberParameters = new object[]
563 {
564 typeof(string),
565 typeof(Font),
566 typeof(Color),
567 typeof(int),
568 typeof(float),
569 typeof(float),
570 typeof(FontStyle),
571 typeof(bool),
572 typeof(bool),
573 typeof(int),
574 typeof(int),
575 typeof(int),
576 typeof(int),
577 typeof(bool),
578 typeof(TextAnchor),
579 typeof(float),
580 typeof(float),
581 typeof(float),
582 typeof(float),
583 typeof(bool),
584 typeof(bool),
585 typeof(ref uint)
586 }, ReturnType = typeof(bool))]
587 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
588 internal bool Populate_Internal(string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, VerticalWrapMode verticalOverFlow, HorizontalWrapMode horizontalOverflow, bool updateBounds, TextAnchor anchor, Vector2 extents, Vector2 pivot, bool generateOutOfBounds, bool alignByGeometry, out TextGenerationError error)
589 {
590 throw null;
591 }
592
594 [global::Cpp2ILInjected.Token(Token = "0x600001E")]
595 [global::Cpp2ILInjected.Address(RVA = "0x1FA4E84", Offset = "0x1FA4E84", Length = "0x44")]
596 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
597 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
598 [MethodImpl(4096)]
599 private extern void GetVerticesInternal(object vertices);
600
602 [global::Cpp2ILInjected.Token(Token = "0x600001F")]
603 [global::Cpp2ILInjected.Address(RVA = "0x1FA4D74", Offset = "0x1FA4D74", Length = "0x44")]
604 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
605 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
606 [MethodImpl(4096)]
607 private extern void GetCharactersInternal(object characters);
608
610 [global::Cpp2ILInjected.Token(Token = "0x6000020")]
611 [global::Cpp2ILInjected.Address(RVA = "0x1FA4DFC", Offset = "0x1FA4DFC", Length = "0x44")]
612 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
613 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
614 [MethodImpl(4096)]
615 private extern void GetLinesInternal(object lines);
616
617 [global::Cpp2ILInjected.Token(Token = "0x6000021")]
618 [global::Cpp2ILInjected.Address(RVA = "0x1FA563C", Offset = "0x1FA563C", Length = "0x44")]
619 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
620 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
621 [MethodImpl(4096)]
622 private extern void get_rectExtents_Injected(out Rect ret);
623
624 [global::Cpp2ILInjected.Token(Token = "0x6000022")]
625 [global::Cpp2ILInjected.Address(RVA = "0x1FA5808", Offset = "0x1FA5808", Length = "0x130")]
626 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
627 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
628 [MethodImpl(4096)]
629 private extern bool Populate_Internal_Injected(string str, Font font, ref Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, int verticalOverFlow, int horizontalOverflow, bool updateBounds, TextAnchor anchor, float extentsX, float extentsY, float pivotX, float pivotY, bool generateOutOfBounds, bool alignByGeometry, out uint error);
630
631 [global::Cpp2ILInjected.Token(Token = "0x400001D")]
632 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
633 internal IntPtr m_Ptr;
634
635 [global::Cpp2ILInjected.Token(Token = "0x400001E")]
636 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
637 private string m_LastString;
638
639 [global::Cpp2ILInjected.Token(Token = "0x400001F")]
640 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
642
643 [global::Cpp2ILInjected.Token(Token = "0x4000020")]
644 [global::Cpp2ILInjected.FieldOffset(Offset = "0x80")]
645 private bool m_HasGenerated;
646
647 [global::Cpp2ILInjected.Token(Token = "0x4000021")]
648 [global::Cpp2ILInjected.FieldOffset(Offset = "0x84")]
650
651 [global::Cpp2ILInjected.Token(Token = "0x4000022")]
652 [global::Cpp2ILInjected.FieldOffset(Offset = "0x88")]
654
655 [global::Cpp2ILInjected.Token(Token = "0x4000023")]
656 [global::Cpp2ILInjected.FieldOffset(Offset = "0x90")]
658
659 [global::Cpp2ILInjected.Token(Token = "0x4000024")]
660 [global::Cpp2ILInjected.FieldOffset(Offset = "0x98")]
662
663 [global::Cpp2ILInjected.Token(Token = "0x4000025")]
664 [global::Cpp2ILInjected.FieldOffset(Offset = "0xA0")]
665 private bool m_CachedVerts;
666
667 [global::Cpp2ILInjected.Token(Token = "0x4000026")]
668 [global::Cpp2ILInjected.FieldOffset(Offset = "0xA1")]
669 private bool m_CachedCharacters;
670
671 [global::Cpp2ILInjected.Token(Token = "0x4000027")]
672 [global::Cpp2ILInjected.FieldOffset(Offset = "0xA2")]
673 private bool m_CachedLines;
674 }
675}
class f__AnonymousType0<< Count > j__TPar
TextGenerationSettings ValidatedSettings(TextGenerationSettings settings)
void GetLines(List< UILineInfo > lines)
readonly List< UIVertex > m_Verts
void GetCharacters(List< UICharInfo > characters)
bool Populate_Internal(string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, VerticalWrapMode verticalOverFlow, HorizontalWrapMode horizontalOverflow, bool updateBounds, TextAnchor anchor, Vector2 extents, Vector2 pivot, bool generateOutOfBounds, bool alignByGeometry, out TextGenerationError error)
float GetPreferredHeight(string str, TextGenerationSettings settings)
TextGenerator(int initialCapacity)
static void Internal_Destroy(IntPtr ptr)
void GetVertices(List< UIVertex > vertices)
TextGenerationError PopulateWithError(string str, TextGenerationSettings settings)
bool Populate_Internal(string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, int verticalOverFlow, int horizontalOverflow, bool updateBounds, TextAnchor anchor, float extentsX, float extentsY, float pivotX, float pivotY, bool generateOutOfBounds, bool alignByGeometry, out uint error)
TextGenerationError PopulateAlways(string str, TextGenerationSettings settings)
void GetCharactersInternal(object characters)
bool Populate_Internal_Injected(string str, Font font, ref Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, int verticalOverFlow, int horizontalOverflow, bool updateBounds, TextAnchor anchor, float extentsX, float extentsY, float pivotX, float pivotY, bool generateOutOfBounds, bool alignByGeometry, out uint error)
readonly List< UICharInfo > m_Characters
readonly List< UILineInfo > m_Lines
void get_rectExtents_Injected(out Rect ret)
bool PopulateWithErrors(string str, TextGenerationSettings settings, GameObject context)
static IntPtr Internal_Create()
TextGenerationSettings m_LastSettings
bool Populate(string str, TextGenerationSettings settings)
void GetLinesInternal(object lines)
float GetPreferredWidth(string str, TextGenerationSettings settings)
TextGenerationError m_LastValid
void GetVerticesInternal(object vertices)