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
ControlsTouchTagHandler.cs
Go to the documentation of this file.
1using System;
3using System.Text;
8using Terraria;
12
13[global::Cpp2ILInjected.Token(Token = "0x20000FF")]
15{
16 [global::Cpp2ILInjected.Token(Token = "0x6000698")]
17 [global::Cpp2ILInjected.Address(RVA = "0xD1C140", Offset = "0xD1C140", Length = "0x300")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "ApplyMultiLineAlignment", MemberParameters = new object[]
20 {
22 typeof(string),
23 typeof(ref int)
24 }, ReturnType = typeof(string))]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUINPCDialogue), Member = "UpdateText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteFont), Member = "MeasureMaxString", MemberParameters = new object[]
27 {
29 typeof(ref int),
30 typeof(float),
31 typeof(float)
32 }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
34 {
37 }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont.CharacterSource), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
41 public static bool MeasureInline(ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x6000699")]
47 [global::Cpp2ILInjected.Address(RVA = "0xD1C440", Offset = "0xD1C440", Length = "0x314")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
50 {
52 typeof(string),
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
57 {
62 }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
64 {
66 typeof(string),
69 typeof(float),
73 typeof(float)
74 }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawStringMultiLineRight", MemberParameters = new object[]
76 {
78 typeof(string),
81 typeof(float),
85 typeof(float)
86 }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawStringMultiLineCentre", MemberParameters = new object[]
88 {
90 typeof(string),
93 typeof(float),
97 typeof(float)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
100 {
104 typeof(Color),
105 typeof(float),
109 typeof(float)
110 }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
112 {
114 typeof(string),
115 typeof(int),
116 typeof(int),
118 typeof(Color),
119 typeof(float),
122 typeof(Vector2[])
123 }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
125 {
128 typeof(int),
129 typeof(int),
131 typeof(Color),
132 typeof(float),
135 typeof(Vector2[])
136 }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
138 {
140 typeof(string),
141 typeof(int),
142 typeof(int),
144 typeof(Color),
145 typeof(float),
149 typeof(float)
150 }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
152 {
155 typeof(int),
156 typeof(int),
158 typeof(Color),
159 typeof(float),
163 typeof(float)
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont.CharacterSource), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsTouchTagHandler.ControlsTouchSnippet), Member = "Draw", MemberParameters = new object[]
168 {
169 typeof(int),
170 typeof(int),
171 typeof(bool),
175 typeof(Color),
176 typeof(float)
177 }, ReturnType = typeof(bool))]
178 public static bool PrintInline(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x600069A")]
184 [global::Cpp2ILInjected.Address(RVA = "0xD1D010", Offset = "0xD1D010", Length = "0x24C")]
185 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
186 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Split", MemberParameters = new object[]
188 {
189 typeof(char),
191 }, ReturnType = typeof(string[]))]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "TryParse", MemberParameters = new object[]
193 {
194 typeof(string),
195 typeof(ref int)
196 }, ReturnType = typeof(bool))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsTouchTagHandler.ControlsTouchSnippet), Member = ".ctor", MemberParameters = new object[]
198 {
199 typeof(int),
200 typeof(int)
201 }, ReturnType = typeof(void))]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
206 public TextSnippet Parse(string text, Color baseColor = default(Color), string options = null)
207 {
208 throw null;
209 }
210
211 [global::Cpp2ILInjected.Token(Token = "0x600069B")]
212 [global::Cpp2ILInjected.Address(RVA = "0xD1D2FC", Offset = "0xD1D2FC", Length = "0x8")]
213 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
216 {
217 throw null;
218 }
219
220 [global::Cpp2ILInjected.Token(Token = "0x2000100")]
222 {
223 [global::Cpp2ILInjected.Token(Token = "0x600069C")]
224 [global::Cpp2ILInjected.Address(RVA = "0xD1D25C", Offset = "0xD1D25C", Length = "0xA0")]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsTouchTagHandler), Member = "Parse", MemberParameters = new object[]
226 {
227 typeof(string),
228 typeof(Color),
229 typeof(string)
230 }, ReturnType = typeof(TextSnippet))]
231 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
232 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
233 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
234 public ControlsTouchSnippet(int controlType, int itemId)
235 {
236 throw null;
237 }
238
239 [global::Cpp2ILInjected.Token(Token = "0x600069D")]
240 [global::Cpp2ILInjected.Address(RVA = "0xD1C754", Offset = "0xD1C754", Length = "0x8BC")]
241 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
242 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsTouchTagHandler.ControlsTouchSnippet), Member = "UniqueDraw", MemberParameters = new object[]
243 {
244 typeof(bool),
245 typeof(ref Vector2),
246 typeof(SpriteBatch),
247 typeof(Vector2),
248 typeof(Color),
249 typeof(float)
250 }, ReturnType = typeof(bool))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ControlsTouchTagHandler), Member = "PrintInline", MemberParameters = new object[]
252 {
255 typeof(Color),
256 typeof(float),
258 typeof(int),
259 typeof(ref int),
261 }, ReturnType = typeof(bool))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
265 {
267 typeof(float)
268 }, ReturnType = typeof(Vector2))]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
270 {
273 }, ReturnType = typeof(Vector2))]
274 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "Draw", MemberParameters = new object[]
276 {
278 typeof(Item),
279 typeof(string),
280 typeof(bool),
281 typeof(ref float),
282 typeof(bool),
283 typeof(bool),
284 typeof(bool),
285 typeof(bool)
286 }, ReturnType = typeof(GUITransactionButton.InputState))]
287 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIQuickActionButton), Member = "GetIconFrame", MemberParameters = new object[]
288 {
292 }, ReturnType = typeof(void))]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WiresUI.Settings), Member = "get_ToolMode", ReturnType = typeof(WiresUI.Settings.MultiToolMode))]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Frame", MemberParameters = new object[]
295 {
297 typeof(int),
298 typeof(int),
299 typeof(int),
300 typeof(int),
301 typeof(int),
302 typeof(int)
303 }, ReturnType = typeof(Rectangle))]
304 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "Draw", MemberParameters = new object[]
305 {
309 typeof(string),
310 typeof(bool),
311 typeof(ref float),
312 typeof(Color?),
313 typeof(bool),
314 typeof(bool),
315 typeof(bool),
316 typeof(bool)
317 }, ReturnType = typeof(GUITransactionButton.InputState))]
318 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
319 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 28)]
320 public static bool Draw(int touchControl, int itemId, bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Color color = default(Color), float scale = 1f)
321 {
322 throw null;
323 }
324
325 [global::Cpp2ILInjected.Token(Token = "0x600069E")]
326 [global::Cpp2ILInjected.Address(RVA = "0xD1D304", Offset = "0xD1D304", Length = "0x2C")]
327 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControlsTouchTagHandler.ControlsTouchSnippet), Member = "Draw", MemberParameters = new object[]
329 {
330 typeof(int),
331 typeof(int),
332 typeof(bool),
333 typeof(ref Vector2),
334 typeof(SpriteBatch),
335 typeof(Vector2),
336 typeof(Color),
337 typeof(float)
338 }, ReturnType = typeof(bool))]
339 public override bool UniqueDraw(bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Color color = default(Color), float scale = 1f)
340 {
341 throw null;
342 }
343
344 [global::Cpp2ILInjected.Token(Token = "0x600069F")]
345 [global::Cpp2ILInjected.Address(RVA = "0xD1D330", Offset = "0xD1D330", Length = "0x8")]
346 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
347 public override float GetStringLength(SpriteFont font)
348 {
349 throw null;
350 }
351
352 [global::Cpp2ILInjected.Token(Token = "0x60006A0")]
353 [global::Cpp2ILInjected.Address(RVA = "0xD1D338", Offset = "0xD1D338", Length = "0x1E0")]
354 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
355 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
356 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIQuickActionButton), Member = "GetIconFrame", MemberParameters = new object[]
357 {
361 }, ReturnType = typeof(void))]
362 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUITransactionButton), Member = "GetRegion", MemberParameters = new object[] { typeof(TransactionButton_Layout) }, ReturnType = typeof(Rectangle))]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(Vector2))]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
365 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
366 public static Vector2 GetSize(int touchControl)
367 {
368 throw null;
369 }
370
371 [global::Cpp2ILInjected.Token(Token = "0x4000524")]
372 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
373 private int _controlType;
374
375 [global::Cpp2ILInjected.Token(Token = "0x4000525")]
376 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
377 private int _itemId;
378 }
379}
class f__AnonymousType0<< Count > j__TPar
static bool Draw(int touchControl, int itemId, bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position=default(Vector2), Color color=default(Color), float scale=1f)
override bool UniqueDraw(bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position=default(Vector2), Color color=default(Color), float scale=1f)
static bool MeasureInline(ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
static bool PrintInline(SpriteBatch spriteBatch, Vector2 position, Color color, float scale, ref SpriteFont.CharacterSource text, int offset, ref int endOffset, ref Vector2 size)
TextSnippet Parse(string text, Color baseColor=default(Color), string options=null)