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
ChatManager.cs
Go to the documentation of this file.
1using System;
5using System.Text;
11using Terraria.Chat;
18
19namespace Terraria.UI.Chat
20{
21 [global::Cpp2ILInjected.Token(Token = "0x200072D")]
22 public static class ChatManager
23 {
24 [global::Cpp2ILInjected.Token(Token = "0x6003CC7")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1493A74", Offset = "0x1493A74", Length = "0xD0")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TextSnippet), Member = "GetVisibleColor", ReturnType = typeof(Color))]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "Lerp", MemberParameters = new object[]
30 {
33 typeof(float)
34 }, ReturnType = typeof(Color))]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
36 public static Color WaveColor(Color color)
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x6003CC8")]
42 [global::Cpp2ILInjected.Address(RVA = "0x1493B44", Offset = "0x1493B44", Length = "0x15C")]
43 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawColorCodedStringWithShadow", MemberParameters = new object[]
45 {
48 typeof(string),
51 typeof(float),
54 typeof(float),
55 typeof(float)
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIText), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(Type))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(RuntimeTypeHandle) }, ReturnType = typeof(Type))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Type), Member = "op_Equality", MemberParameters = new object[]
62 {
63 typeof(Type),
65 }, ReturnType = typeof(bool))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlainTagHandler.PlainSnippet), Member = ".ctor", MemberParameters = new object[]
67 {
68 typeof(string),
70 typeof(float)
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
73 public static void ConvertNormalSnippets(TextSnippet[] snippets)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6003CC9")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1576AF0", Offset = "0x1576AF0", Length = "0xDC")]
80 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
81 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatInitializer), Member = "Load", ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", ReturnType = typeof(string))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ConcurrentDictionary<object, object>), Member = "set_Item", MemberParameters = new object[]
86 {
87 typeof(object),
88 typeof(object)
89 }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
91 public static void Register<T>(params string[] names) where T : ITagHandler, new()
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x6003CCA")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1493CA0", Offset = "0x1493CA0", Length = "0xDC")]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "ParseMessage", MemberParameters = new object[]
99 {
100 typeof(string),
101 typeof(Color),
102 typeof(float)
103 }, ReturnType = typeof(TextSnippet[]))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", ReturnType = typeof(string))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ConcurrentDictionary<object, object>), Member = "ContainsKey", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ConcurrentDictionary<object, object>), Member = "get_Item", MemberParameters = new object[] { typeof(object) }, ReturnType = "TValue")]
108 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
109 private static ITagHandler GetHandler(string tagName)
110 {
111 throw null;
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x6003CCB")]
115 [global::Cpp2ILInjected.Address(RVA = "0x1493D7C", Offset = "0x1493D7C", Length = "0x800")]
116 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player.OverheadMessage), Member = "NewMessage", MemberParameters = new object[]
118 {
119 typeof(string),
120 typeof(int)
121 }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Utils), Member = "WordwrapStringSmart", MemberParameters = new object[]
123 {
124 typeof(string),
125 typeof(Color),
127 typeof(int),
128 typeof(int)
129 }, ReturnType = typeof(List<List<TextSnippet>>))]
130 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "GetStringSize", MemberParameters = new object[]
131 {
133 typeof(string),
135 typeof(float)
136 }, ReturnType = typeof(Vector2))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawColorCodedStringWithShadow", MemberParameters = new object[]
138 {
141 typeof(string),
143 typeof(Color),
144 typeof(float),
147 typeof(float),
148 typeof(float)
149 }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIText), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyChatMonitor), Member = "NewTextInternal", MemberParameters = new object[]
152 {
153 typeof(string),
154 typeof(byte),
155 typeof(byte),
156 typeof(byte),
157 typeof(bool)
158 }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MobileChatMonitor), Member = "NewTextInternal", MemberParameters = new object[]
160 {
161 typeof(string),
162 typeof(byte),
163 typeof(byte),
164 typeof(byte),
165 typeof(bool)
166 }, ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = "Matches", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(MatchCollection))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MatchCollection), Member = "GetEnumerator", ReturnType = typeof(IEnumerator))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
172 {
173 typeof(int),
174 typeof(int)
175 }, ReturnType = typeof(string))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextSnippet), Member = ".ctor", MemberParameters = new object[]
177 {
178 typeof(string),
179 typeof(Color),
180 typeof(float)
181 }, ReturnType = typeof(void))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GroupCollection), Member = "get_Item", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Group))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Capture), Member = "get_Value", ReturnType = typeof(string))]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "GetHandler", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ITagHandler))]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "ToArray", ReturnType = "T[]")]
187 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 36)]
188 public static TextSnippet[] ParseMessage(string text, Color baseColor, float maxWidth = -1f)
189 {
190 throw null;
191 }
192
193 [global::Cpp2ILInjected.Token(Token = "0x6003CCC")]
194 [global::Cpp2ILInjected.Address(RVA = "0x1494614", Offset = "0x1494614", Length = "0x84")]
195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemSlot), Member = "OverrideLeftClick", MemberParameters = new object[]
196 {
197 typeof(Item[]),
198 typeof(int),
199 typeof(int)
200 }, ReturnType = typeof(bool))]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
204 {
205 typeof(string),
206 typeof(string)
207 }, ReturnType = typeof(string))]
208 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
209 public static bool AddChatText(SpriteFont font, string text, Vector2 baseScale)
210 {
211 throw null;
212 }
213
214 [global::Cpp2ILInjected.Token(Token = "0x6003CCD")]
215 [global::Cpp2ILInjected.Address(RVA = "0x1494698", Offset = "0x1494698", Length = "0xCC")]
216 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIStringButton), Member = "DrawButton", MemberParameters = new object[]
217 {
219 typeof(string),
220 typeof(ref float),
221 typeof(bool),
222 typeof(bool)
223 }, ReturnType = typeof(bool))]
224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LayoutCalculator), Member = "GetChatManagerAlignmentOffset", MemberParameters = new object[]
225 {
227 typeof(string),
228 typeof(float),
230 }, ReturnType = typeof(Vector2))]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUISettingsOverlay), Member = "DrawTitle", ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_14_EntityHealthBars", ReturnType = typeof(void))]
233 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemSlot), Member = "DrawMoney", MemberParameters = new object[]
234 {
236 typeof(string),
237 typeof(float),
238 typeof(float),
239 typeof(int[]),
240 typeof(bool),
242 }, ReturnType = typeof(void))]
243 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomCurrencySingleCoin), Member = "DrawSavingsMoney", MemberParameters = new object[]
244 {
246 typeof(string),
247 typeof(float),
248 typeof(float),
249 typeof(long),
250 typeof(bool)
251 }, ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIAchievementListItem), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIKeybindingSimpleListItem), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "ParseMessage", MemberParameters = new object[]
256 {
257 typeof(string),
258 typeof(Color),
259 typeof(float)
260 }, ReturnType = typeof(TextSnippet[]))]
261 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
262 public static Vector2 GetStringSize(SpriteFont font, string text, Vector2 baseScale, float maxWidth = -1f)
263 {
264 throw null;
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x6003CCE")]
268 [global::Cpp2ILInjected.Address(RVA = "0x1494764", Offset = "0x1494764", Length = "0x8B0")]
269 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerChat), Member = "CalulatePageSnippetSize", MemberParameters = new object[] { typeof(TextSnippet[]) }, ReturnType = typeof(Vector2))]
271 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerChat), Member = "CalulateMiniSnippetSize", MemberParameters = new object[] { typeof(TextSnippet[]) }, ReturnType = typeof(Vector2))]
272 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerChat), Member = "CalulateMiniTouchSnippetSize", MemberParameters = new object[] { typeof(TextSnippet[]) }, ReturnType = typeof(Vector2))]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerChat), Member = "DrawNotification", ReturnType = typeof(void))]
274 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUINPCDialogue), Member = "UpdateText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LayoutCalculator), Member = "GetChatManagerAlignmentOffset", MemberParameters = new object[]
276 {
278 typeof(TextSnippet[]),
279 typeof(float),
281 typeof(float)
282 }, ReturnType = typeof(Vector2))]
283 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player.OverheadMessage), Member = "NewMessage", MemberParameters = new object[]
284 {
285 typeof(string),
286 typeof(int)
287 }, ReturnType = typeof(void))]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseX", ReturnType = typeof(int))]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseY", ReturnType = typeof(int))]
291 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
292 {
293 typeof(float),
294 typeof(float)
295 }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
298 {
299 typeof(float),
300 typeof(float)
301 }, ReturnType = typeof(float))]
302 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
303 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
304 {
305 typeof(string),
306 typeof(int),
307 typeof(int)
308 }, ReturnType = typeof(Vector2))]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
310 {
313 }, ReturnType = typeof(Vector2))]
314 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
315 {
317 typeof(float)
318 }, ReturnType = typeof(Vector2))]
319 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "GetMaxCharacterIndex", MemberParameters = new object[]
320 {
321 typeof(string),
322 typeof(int),
323 typeof(int),
324 typeof(float),
325 typeof(float)
326 }, ReturnType = typeof(int))]
327 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
328 {
331 }, ReturnType = typeof(Vector2))]
332 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Between", MemberParameters = new object[]
333 {
337 }, ReturnType = typeof(bool))]
338 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
339 public static Vector2 GetStringSize(SpriteFont font, TextSnippet[] snippets, Vector2 baseScale, float maxWidth = -1f)
340 {
341 throw null;
342 }
343
344 [global::Cpp2ILInjected.Token(Token = "0x6003CCF")]
345 [global::Cpp2ILInjected.Address(RVA = "0x1495014", Offset = "0x1495014", Length = "0x1A8")]
346 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
347 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawColorCodedStringWithShadow", MemberParameters = new object[]
348 {
353 typeof(float),
356 typeof(ref int),
357 typeof(float),
358 typeof(float),
359 typeof(int)
360 }, ReturnType = typeof(Vector2))]
361 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawColorCodedStringWithShadow", MemberParameters = new object[]
362 {
365 typeof(string),
367 typeof(Color),
368 typeof(float),
371 typeof(float),
372 typeof(float)
373 }, ReturnType = typeof(void))]
374 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIText), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
375 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
377 {
379 typeof(float)
380 }, ReturnType = typeof(Vector2))]
381 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
382 {
385 }, ReturnType = typeof(Vector2))]
386 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedString", MemberParameters = new object[]
387 {
390 typeof(TextSnippet[]),
392 typeof(Color),
393 typeof(float),
396 typeof(ref int),
397 typeof(float),
398 typeof(bool),
399 typeof(int)
400 }, ReturnType = typeof(Vector2))]
401 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
402 public static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, SpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f, int maxLines = 100)
403 {
404 throw null;
405 }
406
407 [global::Cpp2ILInjected.Token(Token = "0x6003CD0")]
408 [global::Cpp2ILInjected.Address(RVA = "0x14951BC", Offset = "0x14951BC", Length = "0xE38")]
409 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
410 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawColorCodedStringShadow", MemberParameters = new object[]
411 {
416 typeof(Color),
417 typeof(float),
420 typeof(float),
421 typeof(float),
422 typeof(int)
423 }, ReturnType = typeof(void))]
424 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawColorCodedStringWithShadow", MemberParameters = new object[]
425 {
428 typeof(TextSnippet[]),
430 typeof(float),
433 typeof(ref int),
434 typeof(float),
435 typeof(float),
436 typeof(int)
437 }, ReturnType = typeof(Vector2))]
438 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawColorCodedStringWithShadow", MemberParameters = new object[]
439 {
442 typeof(string),
444 typeof(Color),
445 typeof(float),
448 typeof(float),
449 typeof(float)
450 }, ReturnType = typeof(void))]
451 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIText), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
452 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
453 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseX", ReturnType = typeof(int))]
454 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseY", ReturnType = typeof(int))]
455 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
456 {
457 typeof(float),
458 typeof(float)
459 }, ReturnType = typeof(void))]
460 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
461 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
462 {
465 }, ReturnType = typeof(Vector2))]
466 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Between", MemberParameters = new object[]
467 {
471 }, ReturnType = typeof(bool))]
472 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
473 {
474 typeof(float),
475 typeof(float)
476 }, ReturnType = typeof(float))]
477 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
478 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
479 {
480 typeof(string),
481 typeof(int),
482 typeof(int)
483 }, ReturnType = typeof(Vector2))]
484 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
485 {
488 }, ReturnType = typeof(Vector2))]
489 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
490 {
492 typeof(float)
493 }, ReturnType = typeof(Vector2))]
494 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
495 {
497 typeof(string),
498 typeof(int),
499 typeof(int),
501 typeof(Color),
502 typeof(float),
506 typeof(float)
507 }, ReturnType = typeof(void))]
508 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "GetMaxCharacterIndex", MemberParameters = new object[]
509 {
510 typeof(string),
511 typeof(int),
512 typeof(int),
513 typeof(float),
514 typeof(float)
515 }, ReturnType = typeof(int))]
516 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 30)]
517 public static Vector2 DrawColorCodedString(SpriteBatch spriteBatch, SpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth, bool ignoreColors = false, int maxLines = 100)
518 {
519 throw null;
520 }
521
522 [global::Cpp2ILInjected.Token(Token = "0x6003CD1")]
523 [global::Cpp2ILInjected.Address(RVA = "0x1495FF4", Offset = "0x1495FF4", Length = "0x174")]
524 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "Draw", MemberParameters = new object[]
525 {
528 typeof(ref int),
529 typeof(float),
530 typeof(int)
531 }, ReturnType = typeof(void))]
532 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawPlayerChatBubbles", ReturnType = typeof(void))]
533 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyChatMonitor), Member = "DrawChat", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
534 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MobileChatMonitor), Member = "DrawChat", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
535 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RemadeChatMonitor), Member = "DrawChat", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
536 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
537 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedStringShadow", MemberParameters = new object[]
538 {
541 typeof(TextSnippet[]),
543 typeof(Color),
544 typeof(float),
547 typeof(float),
548 typeof(float),
549 typeof(int)
550 }, ReturnType = typeof(void))]
551 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedString", MemberParameters = new object[]
552 {
555 typeof(TextSnippet[]),
557 typeof(Color),
558 typeof(float),
561 typeof(ref int),
562 typeof(float),
563 typeof(bool),
564 typeof(int)
565 }, ReturnType = typeof(Vector2))]
566 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
567 public static Vector2 DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, TextSnippet[] snippets, Vector2 position, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth = -1f, float spread = 2f, int maxLines = 100)
568 {
569 throw null;
570 }
571
572 [global::Cpp2ILInjected.Token(Token = "0x6003CD2")]
573 [global::Cpp2ILInjected.Address(RVA = "0x1496168", Offset = "0x1496168", Length = "0x18C")]
574 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
575 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawStringWithShadow", MemberParameters = new object[]
576 {
579 typeof(string),
581 typeof(Color),
582 typeof(float),
585 typeof(float),
586 typeof(float)
587 }, ReturnType = typeof(void))]
588 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Segments.LocalizedTextSegment), Member = "Draw", MemberParameters = new object[] { typeof(ref GameAnimationSegment) }, ReturnType = typeof(void))]
589 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
590 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
591 {
593 typeof(float)
594 }, ReturnType = typeof(Vector2))]
595 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
596 public static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f)
597 {
598 throw null;
599 }
600
601 [global::Cpp2ILInjected.Token(Token = "0x6003CD3")]
602 [global::Cpp2ILInjected.Address(RVA = "0x1496A18", Offset = "0x1496A18", Length = "0x190")]
603 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
604 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_14_EntityHealthBars", ReturnType = typeof(void))]
605 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawStringWithShadow", MemberParameters = new object[]
606 {
609 typeof(string),
611 typeof(Color),
612 typeof(float),
615 typeof(float),
616 typeof(float),
617 typeof(int)
618 }, ReturnType = typeof(void))]
619 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
620 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
621 {
623 typeof(float)
624 }, ReturnType = typeof(Vector2))]
625 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedString", MemberParameters = new object[]
626 {
627 typeof(Vector2[]),
630 typeof(string),
632 typeof(Color),
633 typeof(float),
636 typeof(float),
637 typeof(bool),
638 typeof(int)
639 }, ReturnType = typeof(void))]
640 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
641 public static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f, int maxLines = 100)
642 {
643 throw null;
644 }
645
646 [global::Cpp2ILInjected.Token(Token = "0x6003CD4")]
647 [global::Cpp2ILInjected.Address(RVA = "0x1496BA8", Offset = "0x1496BA8", Length = "0x188")]
648 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
649 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawStringWithShadow", MemberParameters = new object[]
650 {
655 typeof(Color),
656 typeof(float),
659 typeof(float),
660 typeof(float)
661 }, ReturnType = typeof(void))]
662 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
663 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
664 {
666 typeof(float)
667 }, ReturnType = typeof(Vector2))]
668 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
669 public static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, SpriteFont font, StringBuilder text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f)
670 {
671 throw null;
672 }
673
674 [global::Cpp2ILInjected.Token(Token = "0x6003CD5")]
675 [global::Cpp2ILInjected.Address(RVA = "0x14971E8", Offset = "0x14971E8", Length = "0x730")]
676 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
677 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_14_EntityHealthBars", ReturnType = typeof(void))]
678 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawStringWithShadow", MemberParameters = new object[]
679 {
682 typeof(string),
684 typeof(Color),
685 typeof(float),
688 typeof(float),
689 typeof(float)
690 }, ReturnType = typeof(void))]
691 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawStringWithShadow", MemberParameters = new object[]
692 {
695 typeof(string),
697 typeof(Color),
698 typeof(float),
701 typeof(float),
702 typeof(float),
703 typeof(int)
704 }, ReturnType = typeof(void))]
705 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Segments.LocalizedTextSegment), Member = "Draw", MemberParameters = new object[] { typeof(ref GameAnimationSegment) }, ReturnType = typeof(void))]
706 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
707 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
708 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
709 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
710 {
711 typeof(string),
712 typeof(int),
713 typeof(int)
714 }, ReturnType = typeof(Vector2))]
715 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
716 {
717 typeof(float),
718 typeof(float)
719 }, ReturnType = typeof(float))]
720 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
721 {
723 typeof(float)
724 }, ReturnType = typeof(Vector2))]
725 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
726 {
728 typeof(string),
729 typeof(int),
730 typeof(int),
732 typeof(Color),
733 typeof(float),
737 typeof(float)
738 }, ReturnType = typeof(void))]
739 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
740 public static void DrawColorCodedString(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, bool ignoreColors = false, int maxLines = 100)
741 {
742 throw null;
743 }
744
745 [global::Cpp2ILInjected.Token(Token = "0x6003CD6")]
746 [global::Cpp2ILInjected.Address(RVA = "0x14962F4", Offset = "0x14962F4", Length = "0x724")]
747 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
748 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawColorCodedStringShadow", MemberParameters = new object[]
749 {
752 typeof(string),
754 typeof(Color),
755 typeof(float),
758 typeof(float),
759 typeof(float),
760 typeof(int)
761 }, ReturnType = typeof(void))]
762 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
763 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
764 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
765 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
766 {
767 typeof(string),
768 typeof(int),
769 typeof(int)
770 }, ReturnType = typeof(Vector2))]
771 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
772 {
773 typeof(float),
774 typeof(float)
775 }, ReturnType = typeof(float))]
776 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
777 {
779 typeof(float)
780 }, ReturnType = typeof(Vector2))]
781 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
782 {
784 typeof(string),
785 typeof(int),
786 typeof(int),
788 typeof(Color),
789 typeof(float),
792 typeof(Vector2[])
793 }, ReturnType = typeof(void))]
794 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
795 public static void DrawColorCodedString(Vector2[] offsets, SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, bool ignoreColors = false, int maxLines = 100)
796 {
797 throw null;
798 }
799
800 [global::Cpp2ILInjected.Token(Token = "0x6003CD7")]
801 [global::Cpp2ILInjected.Address(RVA = "0x1497918", Offset = "0x1497918", Length = "0x4B4")]
802 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
803 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChatManager), Member = "DrawStringWithShadow", MemberParameters = new object[]
804 {
809 typeof(Color),
810 typeof(float),
813 typeof(float),
814 typeof(float)
815 }, ReturnType = typeof(void))]
816 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
817 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
818 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "get_Length", ReturnType = typeof(int))]
819 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
820 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
821 {
823 typeof(int),
824 typeof(int)
825 }, ReturnType = typeof(Vector2))]
826 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
827 {
828 typeof(float),
829 typeof(float)
830 }, ReturnType = typeof(float))]
831 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
832 {
834 typeof(float)
835 }, ReturnType = typeof(Vector2))]
836 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
837 {
840 typeof(int),
841 typeof(int),
843 typeof(Color),
844 typeof(float),
848 typeof(float)
849 }, ReturnType = typeof(void))]
850 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
851 public static Vector2 DrawColorCodedString(SpriteBatch spriteBatch, SpriteFont font, StringBuilder text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, bool ignoreColors = false)
852 {
853 throw null;
854 }
855
856 [global::Cpp2ILInjected.Token(Token = "0x6003CD8")]
857 [global::Cpp2ILInjected.Address(RVA = "0x1496D30", Offset = "0x1496D30", Length = "0x4B8")]
858 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
859 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
860 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "get_Length", ReturnType = typeof(int))]
861 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
862 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
863 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[]
864 {
866 typeof(int),
867 typeof(int)
868 }, ReturnType = typeof(Vector2))]
869 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
870 {
871 typeof(float),
872 typeof(float)
873 }, ReturnType = typeof(float))]
874 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
875 {
877 typeof(float)
878 }, ReturnType = typeof(Vector2))]
879 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "DrawString", MemberParameters = new object[]
880 {
883 typeof(int),
884 typeof(int),
886 typeof(Color),
887 typeof(float),
890 typeof(Vector2[])
891 }, ReturnType = typeof(void))]
892 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
893 public static Vector2 DrawColorCodedString(Vector2[] offsets, SpriteBatch spriteBatch, SpriteFont font, StringBuilder text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, bool ignoreColors = false)
894 {
895 throw null;
896 }
897
898 [global::Cpp2ILInjected.Token(Token = "0x6003CD9")]
899 [global::Cpp2ILInjected.Address(RVA = "0x1497DCC", Offset = "0x1497DCC", Length = "0x1C0")]
900 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawInterface_14_EntityHealthBars", ReturnType = typeof(void))]
901 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Utils), Member = "DrawBorderString", MemberParameters = new object[]
902 {
904 typeof(string),
906 typeof(Color),
907 typeof(float),
908 typeof(float),
909 typeof(float),
910 typeof(int)
911 }, ReturnType = typeof(Vector2))]
912 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemSlot), Member = "Draw", MemberParameters = new object[]
913 {
915 typeof(Item[]),
916 typeof(int),
917 typeof(int),
919 typeof(Color),
921 }, ReturnType = typeof(void))]
922 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChestUI), Member = "DrawName", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
923 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ChestUI), Member = "DrawButton", MemberParameters = new object[]
924 {
926 typeof(int),
927 typeof(int),
928 typeof(int)
929 }, ReturnType = typeof(void))]
930 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Graphics.Capture.CaptureInterface.ModeChangeSettings", Member = "Draw", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
931 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CaptureInterface), Member = "DrawCameraLock", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
932 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyMultiplayerClosePlayersOverlay), Member = "Draw", ReturnType = typeof(void))]
933 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIAchievementListItem), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
934 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIKeybindingSimpleListItem), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
935 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIKeybindingToggleListItem), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
936 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 16)]
937 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "ParseMessage", MemberParameters = new object[]
938 {
939 typeof(string),
940 typeof(Color),
941 typeof(float)
942 }, ReturnType = typeof(TextSnippet[]))]
943 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "ConvertNormalSnippets", MemberParameters = new object[] { typeof(TextSnippet[]) }, ReturnType = typeof(void))]
944 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedStringShadow", MemberParameters = new object[]
945 {
948 typeof(TextSnippet[]),
950 typeof(Color),
951 typeof(float),
954 typeof(float),
955 typeof(float),
956 typeof(int)
957 }, ReturnType = typeof(void))]
958 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedString", MemberParameters = new object[]
959 {
962 typeof(TextSnippet[]),
964 typeof(Color),
965 typeof(float),
968 typeof(ref int),
969 typeof(float),
970 typeof(bool),
971 typeof(int)
972 }, ReturnType = typeof(Vector2))]
973 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
974 public static void DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f)
975 {
976 throw null;
977 }
978
979 [global::Cpp2ILInjected.Token(Token = "0x6003CDA")]
980 [global::Cpp2ILInjected.Address(RVA = "0x1497F8C", Offset = "0x1497F8C", Length = "0x1B0")]
981 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
982 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPopoutMenu), Member = "DrawMenu", MemberParameters = new object[]
983 {
985 typeof(string[]),
987 }, ReturnType = typeof(int))]
988 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "Draw", MemberParameters = new object[]
989 {
991 typeof(string),
992 typeof(Color),
993 typeof(bool)
994 }, ReturnType = typeof(void))]
995 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "DrawWithShadow", MemberParameters = new object[]
996 {
998 typeof(string),
1000 typeof(Color)
1001 }, ReturnType = typeof(void))]
1002 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "DrawButton", MemberParameters = new object[]
1003 {
1005 typeof(string),
1006 typeof(Color)
1007 }, ReturnType = typeof(bool))]
1008 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIStringButton), Member = "DrawButton", MemberParameters = new object[]
1009 {
1011 typeof(string),
1012 typeof(ref float),
1013 typeof(bool),
1014 typeof(bool)
1015 }, ReturnType = typeof(bool))]
1016 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUICrafting), Member = "MaterialItemTooltipDraw", MemberParameters = new object[]
1017 {
1019 typeof(int),
1020 typeof(Vector2),
1021 typeof(float)
1022 }, ReturnType = typeof(void))]
1023 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUICrafting), Member = "MaterialItemDraw", MemberParameters = new object[]
1024 {
1026 typeof(int),
1027 typeof(Vector2),
1028 typeof(float)
1029 }, ReturnType = typeof(void))]
1030 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIInventory), Member = "DrawItem", MemberParameters = new object[]
1031 {
1034 typeof(Item[]),
1035 typeof(int),
1036 typeof(Vector2),
1037 typeof(Color),
1038 typeof(float)
1039 }, ReturnType = typeof(void))]
1040 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIReforgePopup), Member = "DrawPrefixes", ReturnType = typeof(void))]
1041 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GameTipsDisplay), Member = "Draw", MemberParameters = new object[]
1042 {
1044 typeof(float)
1045 }, ReturnType = typeof(void))]
1046 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
1047 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedStringShadow", MemberParameters = new object[]
1048 {
1051 typeof(string),
1052 typeof(Vector2),
1053 typeof(Color),
1054 typeof(float),
1055 typeof(Vector2),
1056 typeof(Vector2),
1057 typeof(float),
1058 typeof(float)
1059 }, ReturnType = typeof(void))]
1060 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedString", MemberParameters = new object[]
1061 {
1064 typeof(string),
1065 typeof(Vector2),
1066 typeof(Color),
1067 typeof(float),
1068 typeof(Vector2),
1069 typeof(Vector2),
1070 typeof(float),
1071 typeof(bool),
1072 typeof(int)
1073 }, ReturnType = typeof(void))]
1074 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
1075 public static void DrawStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f)
1076 {
1077 throw null;
1078 }
1079
1080 [global::Cpp2ILInjected.Token(Token = "0x6003CDB")]
1081 [global::Cpp2ILInjected.Address(RVA = "0x149813C", Offset = "0x149813C", Length = "0x1C0")]
1082 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1083 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIAchievementsMenu), Member = "AchievementDraw", MemberParameters = new object[]
1084 {
1086 typeof(int),
1087 typeof(Vector2),
1088 typeof(float)
1089 }, ReturnType = typeof(void))]
1090 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1091 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedStringShadow", MemberParameters = new object[]
1092 {
1095 typeof(string),
1096 typeof(Vector2),
1097 typeof(Color),
1098 typeof(float),
1099 typeof(Vector2),
1100 typeof(Vector2),
1101 typeof(float),
1102 typeof(float),
1103 typeof(int)
1104 }, ReturnType = typeof(void))]
1105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedString", MemberParameters = new object[]
1106 {
1109 typeof(string),
1110 typeof(Vector2),
1111 typeof(Color),
1112 typeof(float),
1113 typeof(Vector2),
1114 typeof(Vector2),
1115 typeof(float),
1116 typeof(bool),
1117 typeof(int)
1118 }, ReturnType = typeof(void))]
1119 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
1120 public static void DrawStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f, int maxLines = 100)
1121 {
1122 throw null;
1123 }
1124
1125 [global::Cpp2ILInjected.Token(Token = "0x6003CDC")]
1126 [global::Cpp2ILInjected.Address(RVA = "0x14982FC", Offset = "0x14982FC", Length = "0x1AC")]
1127 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1128 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIString), Member = "Draw", MemberParameters = new object[]
1129 {
1132 typeof(Color)
1133 }, ReturnType = typeof(void))]
1134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIHotbar), Member = "DrawHotbarItem", MemberParameters = new object[]
1135 {
1138 typeof(Item[]),
1139 typeof(int),
1140 typeof(Vector2),
1141 typeof(Color),
1142 typeof(float)
1143 }, ReturnType = typeof(void))]
1144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIInventory), Member = "DrawItem", MemberParameters = new object[]
1145 {
1148 typeof(Item[]),
1149 typeof(int),
1150 typeof(Vector2),
1151 typeof(Color),
1152 typeof(float)
1153 }, ReturnType = typeof(void))]
1154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemSlot), Member = "Draw", MemberParameters = new object[]
1155 {
1157 typeof(Item[]),
1158 typeof(int),
1159 typeof(int),
1160 typeof(Vector2),
1161 typeof(Color),
1162 typeof(Color)
1163 }, ReturnType = typeof(void))]
1164 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
1165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedStringShadow", MemberParameters = new object[]
1166 {
1170 typeof(Vector2),
1171 typeof(Color),
1172 typeof(float),
1173 typeof(Vector2),
1174 typeof(Vector2),
1175 typeof(float),
1176 typeof(float)
1177 }, ReturnType = typeof(void))]
1178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedString", MemberParameters = new object[]
1179 {
1183 typeof(Vector2),
1184 typeof(Color),
1185 typeof(float),
1186 typeof(Vector2),
1187 typeof(Vector2),
1188 typeof(float),
1189 typeof(bool)
1190 }, ReturnType = typeof(Vector2))]
1191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
1192 public static void DrawStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, StringBuilder text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth = -1f, float spread = 2f)
1193 {
1194 throw null;
1195 }
1196
1197 // Note: this type is marked as 'beforefieldinit'.
1198 [global::Cpp2ILInjected.Token(Token = "0x6003CDD")]
1199 [global::Cpp2ILInjected.Address(RVA = "0x14984A8", Offset = "0x14984A8", Length = "0x248")]
1200 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatCommandProcessor), Member = ".ctor", ReturnType = typeof(void))]
1202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ConcurrentDictionary<object, object>), Member = ".ctor", ReturnType = typeof(void))]
1203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_UnaryNegation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
1204 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
1206 {
1207 throw null;
1208 }
1209
1210 [global::Cpp2ILInjected.Token(Token = "0x4007BE6")]
1212
1213 [global::Cpp2ILInjected.Token(Token = "0x4007BE7")]
1215
1216 [global::Cpp2ILInjected.Token(Token = "0x4007BE8")]
1218
1219 [global::Cpp2ILInjected.Token(Token = "0x4007BE9")]
1221
1222 [global::Cpp2ILInjected.Token(Token = "0x4007BEA")]
1223 public static bool AllowColon;
1224
1225 [global::Cpp2ILInjected.Token(Token = "0x4007BEB")]
1227
1228 [global::Cpp2ILInjected.Token(Token = "0x200072E")]
1229 public static class Regexes
1230 {
1231 // Note: this type is marked as 'beforefieldinit'.
1232 [global::Cpp2ILInjected.Token(Token = "0x6003CDE")]
1233 [global::Cpp2ILInjected.Address(RVA = "0x14986F0", Offset = "0x14986F0", Length = "0x94")]
1234 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = ".ctor", MemberParameters = new object[]
1236 {
1237 typeof(string),
1239 }, ReturnType = typeof(void))]
1240 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
1241 static Regexes()
1242 {
1243 throw null;
1244 }
1245
1246 [global::Cpp2ILInjected.Token(Token = "0x4007BEC")]
1247 public static readonly Regex Format;
1248 }
1249 }
1250}
class f__AnonymousType0<< Count > j__TPar
static void DrawStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
static SpriteBatch overloadedSpriteBatch
static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, SpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f, int maxLines=100)
static Vector2 DrawColorCodedString(SpriteBatch spriteBatch, SpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth, bool ignoreColors=false, int maxLines=100)
static bool AddChatText(SpriteFont font, string text, Vector2 baseScale)
static Vector2 GetStringSize(SpriteFont font, TextSnippet[] snippets, Vector2 baseScale, float maxWidth=-1f)
static void DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
static Vector2 GetStringSize(SpriteFont font, string text, Vector2 baseScale, float maxWidth=-1f)
static Vector2 DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, TextSnippet[] snippets, Vector2 position, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth=-1f, float spread=2f, int maxLines=100)
static void DrawStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, StringBuilder text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
static readonly Vector2[] ShadowDirections
static readonly ChatCommandProcessor Commands
static Vector2[] ShadowDirectionsScaled
static void DrawColorCodedString(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, bool ignoreColors=false, int maxLines=100)
static Color WaveColor(Color color)
static TextSnippet[] ParseMessage(string text, Color baseColor, float maxWidth=-1f)
static ConcurrentDictionary< string, ITagHandler > _handlers
static void Register< T >(params string[] names)
static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, SpriteFont font, StringBuilder text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
static Vector2 DrawColorCodedString(Vector2[] offsets, SpriteBatch spriteBatch, SpriteFont font, StringBuilder text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, bool ignoreColors=false)
static void ConvertNormalSnippets(TextSnippet[] snippets)
static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f, int maxLines=100)
static ITagHandler GetHandler(string tagName)
static void DrawStringWithShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f, int maxLines=100)
static void DrawColorCodedString(Vector2[] offsets, SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, bool ignoreColors=false, int maxLines=100)
static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, SpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
static Vector2 DrawColorCodedString(SpriteBatch spriteBatch, SpriteFont font, StringBuilder text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, bool ignoreColors=false)