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
Console.cs
Go to the documentation of this file.
1using System;
2using System.IO;
6using System.Text;
9
10namespace System
11{
12 [global::Cpp2ILInjected.Token(Token = "0x200016B")]
13 public static class Console
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6000E94")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1C79D9C", Offset = "0x1C79D9C", Length = "0x1FC")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console.WindowsConsole), Member = "GetInputCodePage", ReturnType = typeof(int))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Encoding), Member = "GetEncoding", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.Text.Encoding))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console.WindowsConsole), Member = "GetOutputCodePage", ReturnType = typeof(int))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.EncodingHelper), Member = "InternalCodePage", MemberParameters = new object[] { typeof(ref int) }, ReturnType = typeof(string))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Encoding), Member = "get_Default", ReturnType = typeof(global::System.Text.Encoding))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.EncodingHelper), Member = "get_UTF8Unmarked", ReturnType = typeof(global::System.Text.Encoding))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "SetupStreams", MemberParameters = new object[]
26 {
27 typeof(global::System.Text.Encoding),
28 typeof(global::System.Text.Encoding)
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
31 static Console()
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x6000E95")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1C7A030", Offset = "0x1C7A030", Length = "0x394")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = ".cctor", ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "set_InputEncoding", MemberParameters = new object[] { typeof(global::System.Text.Encoding) }, ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "set_OutputEncoding", MemberParameters = new object[] { typeof(global::System.Text.Encoding) }, ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ConsoleDriver), Member = "get_IsConsole", ReturnType = typeof(bool))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "OpenStandardInput", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IO.Stream))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.CStreamReader), Member = ".ctor", MemberParameters = new object[]
46 {
47 typeof(global::System.IO.Stream),
48 typeof(global::System.Text.Encoding)
49 }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "OpenStandardOutput", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IO.Stream))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.CStreamWriter), Member = ".ctor", MemberParameters = new object[]
52 {
53 typeof(global::System.IO.Stream),
54 typeof(global::System.Text.Encoding),
55 typeof(bool)
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.TextWriter), Member = "Synchronized", MemberParameters = new object[] { typeof(global::System.IO.TextWriter) }, ReturnType = typeof(global::System.IO.TextWriter))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "OpenStandardError", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IO.Stream))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.UnexceptionalStreamReader), Member = ".ctor", MemberParameters = new object[]
60 {
61 typeof(global::System.IO.Stream),
62 typeof(global::System.Text.Encoding)
63 }, ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.TextReader), Member = "Synchronized", MemberParameters = new object[] { typeof(global::System.IO.TextReader) }, ReturnType = typeof(global::System.IO.TextReader))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.UnexceptionalStreamWriter), Member = ".ctor", MemberParameters = new object[]
66 {
67 typeof(global::System.IO.Stream),
68 typeof(global::System.Text.Encoding)
69 }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
72 private static void SetupStreams(global::System.Text.Encoding inputEncoding, global::System.Text.Encoding outputEncoding)
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x17000151")]
78 public static global::System.IO.TextWriter Error
79 {
80 [global::Cpp2ILInjected.Token(Token = "0x6000E96")]
81 [global::Cpp2ILInjected.Address(RVA = "0x1C7A6AC", Offset = "0x1C7A6AC", Length = "0x58")]
82 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
83 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
84 get
85 {
86 throw null;
87 }
88 }
89
90 [global::Cpp2ILInjected.Token(Token = "0x17000152")]
91 public static global::System.IO.TextWriter Out
92 {
93 [global::Cpp2ILInjected.Token(Token = "0x6000E97")]
94 [global::Cpp2ILInjected.Address(RVA = "0x1C7A704", Offset = "0x1C7A704", Length = "0x58")]
95 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
96 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
97 get
98 {
99 throw null;
100 }
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x6000E98")]
104 [global::Cpp2ILInjected.Address(RVA = "0x1C7A75C", Offset = "0x1C7A75C", Length = "0x150")]
105 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "OpenStandardError", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IO.Stream))]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "OpenStandardInput", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IO.Stream))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "OpenStandardOutput", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(global::System.IO.Stream))]
109 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.FileStream), Member = ".ctor", MemberParameters = new object[]
111 {
112 typeof(global::System.IntPtr),
113 typeof(global::System.IO.FileAccess),
114 typeof(bool),
115 typeof(int),
116 typeof(bool),
117 typeof(bool)
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
121 private static global::System.IO.Stream Open(global::System.IntPtr handle, global::System.IO.FileAccess access, int bufferSize)
122 {
123 throw null;
124 }
125
126 [global::Cpp2ILInjected.Token(Token = "0x6000E99")]
127 [global::Cpp2ILInjected.Address(RVA = "0x1C7A61C", Offset = "0x1C7A61C", Length = "0x90")]
128 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "SetupStreams", MemberParameters = new object[]
129 {
130 typeof(global::System.Text.Encoding),
131 typeof(global::System.Text.Encoding)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.MonoIO), Member = "get_ConsoleError", ReturnType = typeof(global::System.IntPtr))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "Open", MemberParameters = new object[]
136 {
137 typeof(global::System.IntPtr),
138 typeof(global::System.IO.FileAccess),
139 typeof(int)
140 }, ReturnType = typeof(global::System.IO.Stream))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
142 public static global::System.IO.Stream OpenStandardError(int bufferSize)
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x6000E9A")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1C7A4FC", Offset = "0x1C7A4FC", Length = "0x90")]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "SetupStreams", MemberParameters = new object[]
150 {
151 typeof(global::System.Text.Encoding),
152 typeof(global::System.Text.Encoding)
153 }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = "Init", ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.MonoIO), Member = "get_ConsoleInput", ReturnType = typeof(global::System.IntPtr))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "Open", MemberParameters = new object[]
158 {
159 typeof(global::System.IntPtr),
160 typeof(global::System.IO.FileAccess),
161 typeof(int)
162 }, ReturnType = typeof(global::System.IO.Stream))]
163 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
164 public static global::System.IO.Stream OpenStandardInput(int bufferSize)
165 {
166 throw null;
167 }
168
169 [global::Cpp2ILInjected.Token(Token = "0x6000E9B")]
170 [global::Cpp2ILInjected.Address(RVA = "0x1C7A58C", Offset = "0x1C7A58C", Length = "0x90")]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "SetupStreams", MemberParameters = new object[]
172 {
173 typeof(global::System.Text.Encoding),
174 typeof(global::System.Text.Encoding)
175 }, ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.MonoIO), Member = "get_ConsoleOutput", ReturnType = typeof(global::System.IntPtr))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "Open", MemberParameters = new object[]
180 {
181 typeof(global::System.IntPtr),
182 typeof(global::System.IO.FileAccess),
183 typeof(int)
184 }, ReturnType = typeof(global::System.IO.Stream))]
185 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
186 public static global::System.IO.Stream OpenStandardOutput(int bufferSize)
187 {
188 throw null;
189 }
190
191 [global::Cpp2ILInjected.Token(Token = "0x6000E9C")]
192 [global::Cpp2ILInjected.Address(RVA = "0x1C7A8AC", Offset = "0x1C7A8AC", Length = "0xE0")]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.IO.ConsoleOutputMirror", Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.IO.ConsoleOutputMirror", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UnityLogWriter", Member = "Init", ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.TextWriter), Member = "Synchronized", MemberParameters = new object[] { typeof(global::System.IO.TextWriter) }, ReturnType = typeof(global::System.IO.TextWriter))]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
199 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
200 public static void SetOut(global::System.IO.TextWriter newOut)
201 {
202 throw null;
203 }
204
205 [global::Cpp2ILInjected.Token(Token = "0x6000E9D")]
206 [global::Cpp2ILInjected.Address(RVA = "0x1C7A98C", Offset = "0x1C7A98C", Length = "0x6C")]
207 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "startDedInputCallBack", ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Utilities.CrashWatcher.<>c", Member = "<Inititialize>b__18_0", MemberParameters = new object[]
209 {
210 typeof(object),
211 typeof(global::System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs)
212 }, ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Utilities.CrashWatcher.<>c", Member = "<Inititialize>b__18_1", MemberParameters = new object[]
214 {
215 typeof(object),
216 typeof(global::System.UnhandledExceptionEventArgs)
217 }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
219 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
220 public static void Write(string value)
221 {
222 throw null;
223 }
224
225 [global::Cpp2ILInjected.Token(Token = "0x6000E9E")]
226 [global::Cpp2ILInjected.Address(RVA = "0x1C7A9F8", Offset = "0x1C7A9F8", Length = "0x7C")]
227 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "TraceWriteLine", MemberParameters = new object[]
228 {
229 typeof(string),
230 "System.Object[]"
231 }, ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.BZip2.BZip2OutputStream", Member = "TraceOutput", MemberParameters = new object[]
233 {
234 "Ionic.BZip2.BZip2OutputStream.TraceBits",
235 typeof(string),
236 "System.Object[]"
237 }, ReturnType = typeof(void))]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
239 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
240 public static void Write(string format, object arg0)
241 {
242 throw null;
243 }
244
245 [global::Cpp2ILInjected.Token(Token = "0x6000E9F")]
246 [global::Cpp2ILInjected.Address(RVA = "0x1C7AA74", Offset = "0x1C7AA74", Length = "0x6C")]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "WorldFile_OldConsole", Member = "LoadFileFormatHeader", MemberParameters = new object[]
248 {
249 typeof(global::System.IO.BinaryReader),
250 "System.Boolean[]&",
251 "System.Int32[]&"
252 }, ReturnType = typeof(bool))]
253 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "WorldFile_OldSwitch", Member = "LoadFileFormatHeader", MemberParameters = new object[]
254 {
255 typeof(global::System.IO.BinaryReader),
256 "System.Boolean[]&",
257 "System.Int32[]&"
258 }, ReturnType = typeof(bool))]
259 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.WorldFile", Member = "LoadFileFormatHeader", MemberParameters = new object[]
260 {
261 typeof(global::System.IO.BinaryReader),
262 "System.Boolean[]&",
263 "System.Int32[]&",
264 typeof(ref int)
265 }, ReturnType = typeof(bool))]
266 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
267 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
268 public static void WriteLine(object value)
269 {
270 throw null;
271 }
272
273 [global::Cpp2ILInjected.Token(Token = "0x6000EA0")]
274 [global::Cpp2ILInjected.Address(RVA = "0x1C7AAE0", Offset = "0x1C7AAE0", Length = "0x6C")]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "WorldFile_OldConsole", Member = "LoadFileFormatHeader", MemberParameters = new object[]
276 {
277 typeof(global::System.IO.BinaryReader),
278 "System.Boolean[]&",
279 "System.Int32[]&"
280 }, ReturnType = typeof(bool))]
281 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "WorldFile_OldSwitch", Member = "LoadFileFormatHeader", MemberParameters = new object[]
282 {
283 typeof(global::System.IO.BinaryReader),
284 "System.Boolean[]&",
285 "System.Int32[]&"
286 }, ReturnType = typeof(bool))]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Liquid", Member = "StartPanic", ReturnType = typeof(void))]
288 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Liquid", Member = "UpdateLiquid", ReturnType = typeof(void))]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "startDedInputCallBack", ReturnType = typeof(void))]
290 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "DoUpdate", MemberParameters = new object[] { "Microsoft.Xna.Framework.GameTime" }, ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "PrintTimedMessage", MemberParameters = new object[]
292 {
293 typeof(string),
294 "System.Object[]"
295 }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.NetMessage", Member = "SyncOnePlayer", MemberParameters = new object[]
297 {
298 typeof(int),
299 typeof(int),
300 typeof(int)
301 }, ReturnType = typeof(void))]
302 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Program", Member = "SetupLogging", ReturnType = typeof(void))]
303 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldGen", Member = "playWorldCallBack", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
304 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldGen", Member = "serverLoadWorldCallBack", ReturnType = typeof(void))]
305 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Utilities.CrashWatcher", Member = "Inititialize", ReturnType = typeof(void))]
306 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Utilities.MultiTimer", Member = "StopAndPrint", ReturnType = typeof(bool))]
307 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Localization.LanguageManager", Member = "LoadFilesForCulture", MemberParameters = new object[] { "Terraria.Localization.GameCulture" }, ReturnType = typeof(void))]
308 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.Preferences", Member = "Save", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(bool))]
309 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.WorldFile", Member = "LoadFileFormatHeader", MemberParameters = new object[]
310 {
311 typeof(global::System.IO.BinaryReader),
312 "System.Boolean[]&",
313 "System.Int32[]&",
314 typeof(ref int)
315 }, ReturnType = typeof(bool))]
316 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.DataStructures.BufferPool", Member = "PrintBufferSizes", ReturnType = typeof(void))]
317 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Net.LegacyNetBufferPool", Member = "PrintBufferSizes", ReturnType = typeof(void))]
318 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Net.Sockets.TcpSocket", Member = "ListenLoop", ReturnType = typeof(void))]
319 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.Utilities.MultiTimer", Member = "StopAndPrint", ReturnType = typeof(bool))]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "DeleteFileWithRetry", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
321 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 62)]
322 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
323 public static void WriteLine(string value)
324 {
325 throw null;
326 }
327
328 [global::Cpp2ILInjected.Token(Token = "0x6000EA1")]
329 [global::Cpp2ILInjected.Address(RVA = "0x1C7AB4C", Offset = "0x1C7AB4C", Length = "0x9C")]
330 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "TraceWriteLine", MemberParameters = new object[]
331 {
332 typeof(string),
333 "System.Object[]"
334 }, ReturnType = typeof(void))]
335 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.BZip2.BZip2OutputStream", Member = "TraceOutput", MemberParameters = new object[]
336 {
337 "Ionic.BZip2.BZip2OutputStream.TraceBits",
338 typeof(string),
339 "System.Object[]"
340 }, ReturnType = typeof(void))]
341 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
342 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
343 public static void WriteLine(string format, params object[] arg)
344 {
345 throw null;
346 }
347
348 [global::Cpp2ILInjected.Token(Token = "0x6000EA2")]
349 [global::Cpp2ILInjected.Address(RVA = "0x1C7ABE8", Offset = "0x1C7ABE8", Length = "0x84")]
350 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.FavoritesFile", Member = "Load", ReturnType = typeof(void))]
351 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Chat.Commands.SayChatCommand", Member = "ProcessIncomingMessage", MemberParameters = new object[]
352 {
353 typeof(string),
354 typeof(byte)
355 }, ReturnType = typeof(void))]
356 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Liquid.LiquidRenderer", Member = "SetWaveMaskData", MemberParameters = new object[] { "Microsoft.Xna.Framework.Graphics.Texture2D&" }, ReturnType = typeof(void))]
357 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.IO.ConsoleOutputMirror", Member = "ToFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
358 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
359 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
360 public static void WriteLine(string format, object arg0, object arg1)
361 {
362 throw null;
363 }
364
365 [global::Cpp2ILInjected.Token(Token = "0x6000EA3")]
366 [global::Cpp2ILInjected.Address(RVA = "0x1C7AC6C", Offset = "0x1C7AC6C", Length = "0x10C")]
367 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
368 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "ReadLineInput", ReturnType = typeof(string))]
369 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ConsoleDriver), Member = "get_IsConsole", ReturnType = typeof(bool))]
371 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
372 public static string ReadLine()
373 {
374 throw null;
375 }
376
377 [global::Cpp2ILInjected.Token(Token = "0x17000153")]
378 public static global::System.Text.Encoding InputEncoding
379 {
380 [global::Cpp2ILInjected.Token(Token = "0x6000EA4")]
381 [global::Cpp2ILInjected.Address(RVA = "0x1C7AE3C", Offset = "0x1C7AE3C", Length = "0x58")]
382 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
383 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
384 get
385 {
386 throw null;
387 }
388 [global::Cpp2ILInjected.Token(Token = "0x6000EA5")]
389 [global::Cpp2ILInjected.Address(RVA = "0x1C7AE94", Offset = "0x1C7AE94", Length = "0x64")]
390 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Program", Member = "InitializeConsoleOutput", ReturnType = typeof(void))]
391 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
392 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "SetupStreams", MemberParameters = new object[]
393 {
394 typeof(global::System.Text.Encoding),
395 typeof(global::System.Text.Encoding)
396 }, ReturnType = typeof(void))]
397 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
398 set
399 {
400 throw null;
401 }
402 }
403
404 [global::Cpp2ILInjected.Token(Token = "0x17000154")]
405 public static global::System.Text.Encoding OutputEncoding
406 {
407 [global::Cpp2ILInjected.Token(Token = "0x6000EA6")]
408 [global::Cpp2ILInjected.Address(RVA = "0x1C7AEF8", Offset = "0x1C7AEF8", Length = "0x58")]
409 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
410 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
411 get
412 {
413 throw null;
414 }
415 [global::Cpp2ILInjected.Token(Token = "0x6000EA7")]
416 [global::Cpp2ILInjected.Address(RVA = "0x1C7AF50", Offset = "0x1C7AF50", Length = "0x64")]
417 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Program", Member = "InitializeConsoleOutput", ReturnType = typeof(void))]
418 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
419 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "SetupStreams", MemberParameters = new object[]
420 {
421 typeof(global::System.Text.Encoding),
422 typeof(global::System.Text.Encoding)
423 }, ReturnType = typeof(void))]
424 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
425 set
426 {
427 throw null;
428 }
429 }
430
431 [global::Cpp2ILInjected.Token(Token = "0x6000EA8")]
432 [global::Cpp2ILInjected.Address(RVA = "0x1C7AFB4", Offset = "0x1C7AFB4", Length = "0x4C")]
433 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "DedServ", ReturnType = typeof(void))]
434 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "startDedInputCallBack", ReturnType = typeof(void))]
435 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
436 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
437 public static void Clear()
438 {
439 throw null;
440 }
441
442 [global::Cpp2ILInjected.Token(Token = "0x6000EA9")]
443 [global::Cpp2ILInjected.Address(RVA = "0x1C7B0C0", Offset = "0x1C7B0C0", Length = "0x58")]
444 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.CStreamReader), Member = "Read", ReturnType = typeof(int))]
445 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
446 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "ReadKey", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(global::System.ConsoleKeyInfo))]
447 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
448 public static global::System.ConsoleKeyInfo ReadKey()
449 {
450 throw null;
451 }
452
453 [global::Cpp2ILInjected.Token(Token = "0x6000EAA")]
454 [global::Cpp2ILInjected.Address(RVA = "0x1C7B118", Offset = "0x1C7B118", Length = "0x5C")]
455 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "ReadKey", ReturnType = typeof(global::System.ConsoleKeyInfo))]
456 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
457 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ConsoleDriver), Member = "ReadKey", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(global::System.ConsoleKeyInfo))]
458 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
459 public static global::System.ConsoleKeyInfo ReadKey(bool intercept)
460 {
461 throw null;
462 }
463
464 [global::Cpp2ILInjected.Token(Token = "0x6000EAB")]
465 [global::Cpp2ILInjected.Address(RVA = "0x1C7B248", Offset = "0x1C7B248", Length = "0x1D0")]
466 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
467 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console.WindowsConsole), Member = "DoWindowsConsoleCancelEvent", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
468 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
469 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ConsoleCancelEventArgs), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.ConsoleSpecialKey) }, ReturnType = typeof(void))]
470 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
471 private static void DoConsoleCancelEvent()
472 {
473 throw null;
474 }
475
476 [global::Cpp2ILInjected.Token(Token = "0x400064E")]
477 internal static global::System.IO.TextWriter stdout;
478
479 [global::Cpp2ILInjected.Token(Token = "0x400064F")]
480 private static global::System.IO.TextWriter stderr;
481
482 [global::Cpp2ILInjected.Token(Token = "0x4000650")]
483 private static global::System.IO.TextReader stdin;
484
485 [global::Cpp2ILInjected.Token(Token = "0x4000651")]
486 private static global::System.Text.Encoding inputEncoding;
487
488 [global::Cpp2ILInjected.Token(Token = "0x4000652")]
489 private static global::System.Text.Encoding outputEncoding;
490
491 [global::Cpp2ILInjected.Token(Token = "0x4000653")]
492 private static global::System.ConsoleCancelEventHandler cancel_event;
493
494 [global::Cpp2ILInjected.Token(Token = "0x200016C")]
495 private class WindowsConsole
496 {
497 [global::Cpp2ILInjected.Token(Token = "0x6000EAC")]
498 [global::Cpp2ILInjected.Address(RVA = "0x1C7B418", Offset = "0x1C7B418", Length = "0x68")]
499 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
500 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console.WindowsConsole), Member = "GetInputCodePage", ReturnType = typeof(int))]
501 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
502 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
503 [global::System.Runtime.InteropServices.PreserveSig]
504 private static extern int GetConsoleCP();
505
506 [global::Cpp2ILInjected.Token(Token = "0x6000EAD")]
507 [global::Cpp2ILInjected.Address(RVA = "0x1C7B480", Offset = "0x1C7B480", Length = "0x6C")]
508 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
509 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console.WindowsConsole), Member = "GetOutputCodePage", ReturnType = typeof(int))]
510 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
511 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
512 [global::System.Runtime.InteropServices.PreserveSig]
513 private static extern int GetConsoleOutputCP();
514
515 [global::Cpp2ILInjected.Token(Token = "0x6000EAE")]
516 [global::Cpp2ILInjected.Address(RVA = "0x1C7B4EC", Offset = "0x1C7B4EC", Length = "0x60")]
517 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
518 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
519 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console), Member = "DoConsoleCancelEvent", ReturnType = typeof(void))]
520 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
521 private static bool DoWindowsConsoleCancelEvent(int keyCode)
522 {
523 throw null;
524 }
525
526 [global::Cpp2ILInjected.Token(Token = "0x6000EAF")]
527 [global::Cpp2ILInjected.Address(RVA = "0x1C79F98", Offset = "0x1C79F98", Length = "0x4C")]
528 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = ".cctor", ReturnType = typeof(void))]
529 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
530 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console.WindowsConsole), Member = "GetConsoleCP", ReturnType = typeof(int))]
531 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
532 [MethodImpl(8)]
533 public static int GetInputCodePage()
534 {
535 throw null;
536 }
537
538 [global::Cpp2ILInjected.Token(Token = "0x6000EB0")]
539 [global::Cpp2ILInjected.Address(RVA = "0x1C79FE4", Offset = "0x1C79FE4", Length = "0x4C")]
540 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = ".cctor", ReturnType = typeof(void))]
541 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
542 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Console.WindowsConsole), Member = "GetConsoleOutputCP", ReturnType = typeof(int))]
543 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
544 [MethodImpl(8)]
545 public static int GetOutputCodePage()
546 {
547 throw null;
548 }
549
550 // Note: this type is marked as 'beforefieldinit'.
551 [global::Cpp2ILInjected.Token(Token = "0x6000EB1")]
552 [global::Cpp2ILInjected.Address(RVA = "0x1C7B54C", Offset = "0x1C7B54C", Length = "0x9C")]
553 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
554 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.Console.WindowsConsole.WindowsCancelHandler", Member = ".ctor", MemberParameters = new object[]
555 {
556 typeof(object),
557 typeof(global::System.IntPtr)
558 }, ReturnType = typeof(void))]
559 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
561 {
562 throw null;
563 }
564
565 [global::Cpp2ILInjected.Token(Token = "0x4000654")]
566 public static bool ctrlHandlerAdded;
567
568 [global::Cpp2ILInjected.Token(Token = "0x4000655")]
569 private static global::System.Console.WindowsConsole.WindowsCancelHandler cancelHandler;
570
571 [global::Cpp2ILInjected.Token(Token = "0x200016D")]
572 private delegate bool WindowsCancelHandler(int keyCode);
573 }
574 }
575}
class f__AnonymousType0<< Count > j__TPar
static int GetInputCodePage()
Definition Console.cs:533
static global::System.Console.WindowsConsole.WindowsCancelHandler cancelHandler
Definition Console.cs:569
static int GetOutputCodePage()
Definition Console.cs:545
delegate bool WindowsCancelHandler(int keyCode)
static bool DoWindowsConsoleCancelEvent(int keyCode)
Definition Console.cs:521
static global::System.IO.TextReader stdin
Definition Console.cs:483
static string ReadLine()
Definition Console.cs:372
static global::System.IO.TextWriter stdout
Definition Console.cs:477
static global::System.IO.Stream OpenStandardOutput(int bufferSize)
Definition Console.cs:186
static global::System.ConsoleKeyInfo ReadKey()
Definition Console.cs:448
static global::System.IO.Stream OpenStandardError(int bufferSize)
Definition Console.cs:142
static global::System.ConsoleKeyInfo ReadKey(bool intercept)
Definition Console.cs:459
static global::System.ConsoleCancelEventHandler cancel_event
Definition Console.cs:492
static global::System.IO.Stream OpenStandardInput(int bufferSize)
Definition Console.cs:164
static global::System.Text.Encoding inputEncoding
Definition Console.cs:486
static Console()
Definition Console.cs:31
static void Clear()
Definition Console.cs:437
static void WriteLine(object value)
Definition Console.cs:268
static void SetOut(global::System.IO.TextWriter newOut)
Definition Console.cs:200
static void Write(string format, object arg0)
Definition Console.cs:240
static global::System.IO.Stream Open(global::System.IntPtr handle, global::System.IO.FileAccess access, int bufferSize)
Definition Console.cs:121
static void WriteLine(string value)
Definition Console.cs:323
static global::System.Text.Encoding outputEncoding
Definition Console.cs:489
static void WriteLine(string format, params object[] arg)
Definition Console.cs:343
static void Write(string value)
Definition Console.cs:220
static void WriteLine(string format, object arg0, object arg1)
Definition Console.cs:360
static void SetupStreams(global::System.Text.Encoding inputEncoding, global::System.Text.Encoding outputEncoding)
Definition Console.cs:72
static global::System.IO.TextWriter stderr
Definition Console.cs:480
static void DoConsoleCancelEvent()
Definition Console.cs:471
static global::System.IO.TextWriter Out
Definition Console.cs:92
ConsoleKeyInfo(char keyChar, global::System.ConsoleKey key, bool shift, bool alt, bool control)