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
MobileChatMonitor.cs
Go to the documentation of this file.
1using System;
10
12{
13 [global::Cpp2ILInjected.Token(Token = "0x2000ADD")]
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x170008DE")]
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x60051C3")]
20 [global::Cpp2ILInjected.Address(RVA = "0x9337B4", Offset = "0x9337B4", Length = "0x58")]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
24 get
25 {
26 throw null;
27 }
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x60051C4")]
31 [global::Cpp2ILInjected.Address(RVA = "0x93380C", Offset = "0x93380C", Length = "0x4")]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 public void OnResolutionChange()
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x60051C5")]
39 [global::Cpp2ILInjected.Address(RVA = "0x933810", Offset = "0x933810", Length = "0xF8")]
40 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = ".cctor", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = ".ctor", ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x60051C6")]
52 [global::Cpp2ILInjected.Address(RVA = "0x933908", Offset = "0x933908", Length = "0xC4")]
53 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = ".ctor", ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
57 public void Clear()
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x60051C7")]
63 [global::Cpp2ILInjected.Address(RVA = "0x9339CC", Offset = "0x9339CC", Length = "0x8")]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
65 public void ResetOffset()
66 {
67 throw null;
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x60051C8")]
71 [global::Cpp2ILInjected.Address(RVA = "0x9339D4", Offset = "0x9339D4", Length = "0x4C")]
72 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = "UpdateTimeLeft", ReturnType = typeof(void))]
75 public void Update()
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x60051C9")]
81 [global::Cpp2ILInjected.Address(RVA = "0x933A20", Offset = "0x933A20", Length = "0x19C")]
82 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
87 {
88 typeof(string),
89 typeof(string)
90 }, ReturnType = typeof(bool))]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
92 public void Offset(int linesOffset)
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x60051CA")]
98 [global::Cpp2ILInjected.Address(RVA = "0x933BBC", Offset = "0x933BBC", Length = "0x8")]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIEmotesWindow), Member = "EmoteOver", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
101 public void NewText(string newText, byte R = 255, byte G = 255, byte B = 255)
102 {
103 throw null;
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x60051CB")]
107 [global::Cpp2ILInjected.Address(RVA = "0x933BC4", Offset = "0x933BC4", Length = "0x2F0")]
108 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MobileChatMonitor), Member = "TrimIntoMultipleLines", MemberParameters = new object[]
110 {
111 typeof(byte),
112 typeof(byte),
113 typeof(byte),
114 typeof(int),
115 typeof(string)
116 }, ReturnType = typeof(string))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MobileChatMonitor), Member = "NewTextMultiline", MemberParameters = new object[]
118 {
119 typeof(string),
120 typeof(bool),
121 typeof(Color),
122 typeof(int)
123 }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = "Copy", MemberParameters = new object[] { typeof(ChatLine) }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
127 {
128 typeof(int),
129 typeof(int),
130 typeof(int)
131 }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMultiplayerChat), Member = "get_MaxChatLineWidth", ReturnType = typeof(float))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "ParseMessage", MemberParameters = new object[]
134 {
135 typeof(string),
136 typeof(Color),
137 typeof(float)
138 }, ReturnType = typeof(TextSnippet[]))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMultiplayerChat), Member = "get_MaxMiniChatLineWidth", ReturnType = typeof(float))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMultiplayerChat), Member = "get_MaxMiniTouchChatLineWidth", ReturnType = typeof(float))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMultiplayerChat), Member = "CalulateMiniTouchSnippetSize", MemberParameters = new object[] { typeof(TextSnippet[]) }, ReturnType = typeof(Vector2))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMultiplayerChat), Member = "CalulateMiniSnippetSize", MemberParameters = new object[] { typeof(TextSnippet[]) }, ReturnType = typeof(Vector2))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMultiplayerChat), Member = "CalulatePageSnippetSize", MemberParameters = new object[] { typeof(TextSnippet[]) }, ReturnType = typeof(Vector2))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
145 {
146 typeof(int),
147 typeof(int),
148 typeof(int),
149 typeof(int),
150 typeof(float),
151 typeof(float)
152 }, ReturnType = typeof(SoundEffectInstance))]
153 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
154 public void NewTextInternal(string newText, byte R = 255, byte G = 255, byte B = 255, bool force = false)
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x60051CC")]
160 [global::Cpp2ILInjected.Address(RVA = "0x933EB4", Offset = "0x933EB4", Length = "0x1B8")]
161 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
164 {
165 typeof(int),
166 typeof(int)
167 }, ReturnType = typeof(string))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
169 {
170 typeof(string),
171 typeof(string)
172 }, ReturnType = typeof(bool))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MobileChatMonitor), Member = "NewTextInternal", MemberParameters = new object[]
174 {
175 typeof(string),
176 typeof(byte),
177 typeof(byte),
178 typeof(byte),
179 typeof(bool)
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
183 {
184 typeof(string),
185 typeof(string)
186 }, ReturnType = typeof(bool))]
187 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
188 private string TrimIntoMultipleLines(byte R, byte G, byte B, int maxTextSize, string oldText)
189 {
190 throw null;
191 }
192
193 [global::Cpp2ILInjected.Token(Token = "0x60051CD")]
194 [global::Cpp2ILInjected.Address(RVA = "0x93406C", Offset = "0x93406C", Length = "0xB8")]
195 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Equality", MemberParameters = new object[]
197 {
198 typeof(Color),
200 }, ReturnType = typeof(bool))]
201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MobileChatMonitor), Member = "NewTextInternal", MemberParameters = new object[]
202 {
203 typeof(string),
204 typeof(byte),
205 typeof(byte),
206 typeof(byte),
207 typeof(bool)
208 }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
210 public void NewTextMultiline(string text, bool force = false, Color c = default(Color), int WidthLimit = -1)
211 {
212 throw null;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x60051CE")]
216 [global::Cpp2ILInjected.Address(RVA = "0x934124", Offset = "0x934124", Length = "0x104")]
217 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
218 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
219 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatLine), Member = "Copy", MemberParameters = new object[] { typeof(ChatLine) }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "ToArray", ReturnType = "T[]")]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
222 {
223 typeof(int),
224 typeof(int),
225 typeof(int),
226 typeof(int),
227 typeof(float),
228 typeof(float)
229 }, ReturnType = typeof(SoundEffectInstance))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
231 public void NewText(List<TextSnippet> snippets)
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x60051CF")]
237 [global::Cpp2ILInjected.Address(RVA = "0x934228", Offset = "0x934228", Length = "0x37C")]
238 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
239 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
242 {
243 typeof(float),
244 typeof(float)
245 }, ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "DrawColorCodedStringWithShadow", MemberParameters = new object[]
247 {
252 typeof(float),
255 typeof(ref int),
256 typeof(float),
257 typeof(float),
258 typeof(int)
259 }, ReturnType = typeof(Vector2))]
260 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeftRelease", ReturnType = typeof(bool))]
262 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
263 public void DrawChat(bool drawingPlayerChat)
264 {
265 throw null;
266 }
267
268 [global::Cpp2ILInjected.Token(Token = "0x4008A3C")]
269 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
270 public int numChatLines;
271
272 [global::Cpp2ILInjected.Token(Token = "0x4008A3D")]
273 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
275
276 [global::Cpp2ILInjected.Token(Token = "0x4008A3E")]
277 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
278 private int chatLength;
279
280 [global::Cpp2ILInjected.Token(Token = "0x4008A3F")]
281 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
282 private int showCount;
283
284 [global::Cpp2ILInjected.Token(Token = "0x4008A40")]
285 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
286 private int startChatLine;
287
288 [global::Cpp2ILInjected.Token(Token = "0x4008A41")]
289 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
290 public int numChatItems;
291 }
292}
class f__AnonymousType0<< Count > j__TPar
void NewTextMultiline(string text, bool force=false, Color c=default(Color), int WidthLimit=-1)
void NewText(List< TextSnippet > snippets)
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)
string TrimIntoMultipleLines(byte R, byte G, byte B, int maxTextSize, string oldText)