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
LegacyChatMonitor.cs
Go to the documentation of this file.
1using System;
3using System.Linq;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x2000ADC")]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x170008DD")]
19 {
20 [global::Cpp2ILInjected.Token(Token = "0x60051B6")]
21 [global::Cpp2ILInjected.Address(RVA = "0x9329B8", Offset = "0x9329B8", Length = "0x58")]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyChatMonitor), Member = "NewTextMultiline", MemberParameters = new object[]
23 {
24 typeof(string),
25 typeof(bool),
27 typeof(int)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
31 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
32 get
33 {
34 throw null;
35 }
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x60051B7")]
39 [global::Cpp2ILInjected.Address(RVA = "0x932A10", Offset = "0x932A10", Length = "0x4")]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
41 public void OnResolutionChange()
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x60051B8")]
47 [global::Cpp2ILInjected.Address(RVA = "0x932A14", Offset = "0x932A14", Length = "0xF8")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = ".ctor", ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
54 {
55 throw null;
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x60051B9")]
59 [global::Cpp2ILInjected.Address(RVA = "0x932B0C", Offset = "0x932B0C", Length = "0xAC")]
60 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = ".ctor", ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
64 public void Clear()
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x60051BA")]
70 [global::Cpp2ILInjected.Address(RVA = "0x932BB8", Offset = "0x932BB8", Length = "0x8")]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 public void ResetOffset()
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x60051BB")]
78 [global::Cpp2ILInjected.Address(RVA = "0x932BC0", Offset = "0x932BC0", Length = "0x4C")]
79 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = "UpdateTimeLeft", ReturnType = typeof(void))]
82 public void Update()
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x60051BC")]
88 [global::Cpp2ILInjected.Address(RVA = "0x932C0C", Offset = "0x932C0C", Length = "0x19C")]
89 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
94 {
95 typeof(string),
96 typeof(string)
97 }, ReturnType = typeof(bool))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
99 public void Offset(int linesOffset)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x60051BD")]
105 [global::Cpp2ILInjected.Address(RVA = "0x932DA8", Offset = "0x932DA8", Length = "0x50")]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
108 {
109 typeof(int),
110 typeof(int),
111 typeof(int)
112 }, ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LegacyChatMonitor), Member = "NewTextMultiline", MemberParameters = new object[]
114 {
115 typeof(string),
116 typeof(bool),
117 typeof(Color),
118 typeof(int)
119 }, ReturnType = typeof(void))]
120 public void NewText(string newText, byte R = 255, byte G = 255, byte B = 255)
121 {
122 throw null;
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x60051BE")]
126 [global::Cpp2ILInjected.Address(RVA = "0x932F98", Offset = "0x932F98", Length = "0x1E4")]
127 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
128 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyChatMonitor), Member = "TrimIntoMultipleLines", MemberParameters = new object[]
129 {
130 typeof(byte),
131 typeof(byte),
132 typeof(byte),
133 typeof(int),
134 typeof(string)
135 }, ReturnType = typeof(string))]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = "Copy", MemberParameters = new object[] { typeof(ChatLine) }, ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
139 {
140 typeof(int),
141 typeof(int),
142 typeof(int)
143 }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "ParseMessage", MemberParameters = new object[]
145 {
146 typeof(string),
147 typeof(Color),
148 typeof(float)
149 }, ReturnType = typeof(TextSnippet[]))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "ToArray", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[] { typeof(IEnumerable<object>) }, ReturnType = "TSource[]")]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
152 {
153 typeof(int),
154 typeof(int),
155 typeof(int),
156 typeof(int),
157 typeof(float),
158 typeof(float)
159 }, ReturnType = typeof(SoundEffectInstance))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LegacyChatMonitor), Member = "TrimIntoMultipleLines", MemberParameters = new object[]
161 {
162 typeof(byte),
163 typeof(byte),
164 typeof(byte),
165 typeof(int),
166 typeof(string)
167 }, ReturnType = typeof(string))]
168 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
169 public void NewTextInternal(string newText, byte R = 255, byte G = 255, byte B = 255, bool force = false)
170 {
171 throw null;
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x60051BF")]
175 [global::Cpp2ILInjected.Address(RVA = "0x93317C", Offset = "0x93317C", Length = "0x1B8")]
176 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyChatMonitor), Member = "NewTextInternal", MemberParameters = new object[]
178 {
179 typeof(string),
180 typeof(byte),
181 typeof(byte),
182 typeof(byte),
183 typeof(bool)
184 }, ReturnType = typeof(void))]
185 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
187 {
188 typeof(int),
189 typeof(int)
190 }, ReturnType = typeof(string))]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
192 {
193 typeof(string),
194 typeof(string)
195 }, ReturnType = typeof(bool))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LegacyChatMonitor), Member = "NewTextInternal", MemberParameters = new object[]
197 {
198 typeof(string),
199 typeof(byte),
200 typeof(byte),
201 typeof(byte),
202 typeof(bool)
203 }, ReturnType = typeof(void))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
206 {
207 typeof(string),
208 typeof(string)
209 }, ReturnType = typeof(bool))]
210 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
211 private string TrimIntoMultipleLines(byte R, byte G, byte B, int maxTextSize, string oldText)
212 {
213 throw null;
214 }
215
216 [global::Cpp2ILInjected.Token(Token = "0x60051C0")]
217 [global::Cpp2ILInjected.Address(RVA = "0x932DF8", Offset = "0x932DF8", Length = "0x1A0")]
218 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
219 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyChatMonitor), Member = "NewText", MemberParameters = new object[]
220 {
221 typeof(string),
222 typeof(byte),
223 typeof(byte),
224 typeof(byte)
225 }, ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Equality", MemberParameters = new object[]
228 {
229 typeof(Color),
231 }, ReturnType = typeof(bool))]
232 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LegacyChatMonitor), Member = "get_TextMaxLengthForScreen", ReturnType = typeof(int))]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "WordwrapStringSmart", MemberParameters = new object[]
234 {
235 typeof(string),
236 typeof(Color),
238 typeof(int),
239 typeof(int)
240 }, ReturnType = typeof(List<List<TextSnippet>>))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LegacyChatMonitor), Member = "NewText", MemberParameters = new object[] { typeof(List<TextSnippet>) }, ReturnType = typeof(void))]
243 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
244 public void NewTextMultiline(string text, bool force = false, Color c = default(Color), int WidthLimit = -1)
245 {
246 throw null;
247 }
248
249 [global::Cpp2ILInjected.Token(Token = "0x60051C1")]
250 [global::Cpp2ILInjected.Address(RVA = "0x933334", Offset = "0x933334", Length = "0x104")]
251 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LegacyChatMonitor), Member = "NewTextMultiline", MemberParameters = new object[]
253 {
254 typeof(string),
255 typeof(bool),
256 typeof(Color),
257 typeof(int)
258 }, ReturnType = typeof(void))]
259 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
260 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = "Copy", MemberParameters = new object[] { typeof(ChatLine) }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "ToArray", ReturnType = "T[]")]
262 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
263 {
264 typeof(int),
265 typeof(int),
266 typeof(int),
267 typeof(int),
268 typeof(float),
269 typeof(float)
270 }, ReturnType = typeof(SoundEffectInstance))]
271 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
272 public void NewText(List<TextSnippet> snippets)
273 {
274 throw null;
275 }
276
277 [global::Cpp2ILInjected.Token(Token = "0x60051C2")]
278 [global::Cpp2ILInjected.Address(RVA = "0x933438", Offset = "0x933438", Length = "0x37C")]
279 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
280 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
283 {
284 typeof(float),
285 typeof(float)
286 }, ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedStringWithShadow", MemberParameters = new object[]
288 {
293 typeof(float),
296 typeof(ref int),
297 typeof(float),
298 typeof(float),
299 typeof(int)
300 }, ReturnType = typeof(Vector2))]
301 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
302 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeftRelease", ReturnType = typeof(bool))]
303 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
304 public void DrawChat(bool drawingPlayerChat)
305 {
306 throw null;
307 }
308
309 [global::Cpp2ILInjected.Token(Token = "0x4008A37")]
310 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
311 private int numChatLines;
312
313 [global::Cpp2ILInjected.Token(Token = "0x4008A38")]
314 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
316
317 [global::Cpp2ILInjected.Token(Token = "0x4008A39")]
318 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
319 private int chatLength;
320
321 [global::Cpp2ILInjected.Token(Token = "0x4008A3A")]
322 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
323 private int showCount;
324
325 [global::Cpp2ILInjected.Token(Token = "0x4008A3B")]
326 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
327 private int startChatLine;
328 }
329}
class f__AnonymousType0<< Count > j__TPar
string TrimIntoMultipleLines(byte R, byte G, byte B, int maxTextSize, string oldText)
void NewTextInternal(string newText, byte R=255, byte G=255, byte B=255, bool force=false)
void NewText(string newText, byte R=255, byte G=255, byte B=255)
void NewText(List< TextSnippet > snippets)
void NewTextMultiline(string text, bool force=false, Color c=default(Color), int WidthLimit=-1)