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
ConsoleDriver.cs
Go to the documentation of this file.
1using System;
2using System.IO;
4using System.Text;
7
8namespace System
9{
10 [global::Cpp2ILInjected.Token(Token = "0x200016E")]
11 internal static class ConsoleDriver
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6000EB4")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1C7B6C0", Offset = "0x1C7B6C0", Length = "0xC4")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ConsoleDriver), Member = "get_IsConsole", ReturnType = typeof(bool))]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ConsoleDriver), Member = "CreateWindowsConsoleDriver", ReturnType = typeof(global::System.IConsoleDriver))]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "internalGetEnvironmentVariable", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
21 {
22 typeof(string),
23 typeof(string)
24 }, ReturnType = typeof(bool))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ConsoleDriver), Member = "CreateNullConsoleDriver", ReturnType = typeof(global::System.IConsoleDriver))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ConsoleDriver), Member = "CreateTermInfoDriver", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.IConsoleDriver))]
27 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
29 {
30 throw null;
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x6000EB5")]
34 [global::Cpp2ILInjected.Address(RVA = "0x1C7B784", Offset = "0x1C7B784", Length = "0x40")]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ConsoleDriver), Member = ".cctor", ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
38 [MethodImpl(8)]
39 private static global::System.IConsoleDriver CreateNullConsoleDriver()
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x6000EB6")]
45 [global::Cpp2ILInjected.Address(RVA = "0x1C7B7C4", Offset = "0x1C7B7C4", Length = "0x54")]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ConsoleDriver), Member = ".cctor", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.WindowsConsoleDriver), Member = ".ctor", ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
50 [MethodImpl(8)]
51 private static global::System.IConsoleDriver CreateWindowsConsoleDriver()
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6000EB7")]
57 [global::Cpp2ILInjected.Address(RVA = "0x1C7B818", Offset = "0x1C7B818", Length = "0x58")]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ConsoleDriver), Member = ".cctor", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TermInfoDriver), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
62 [MethodImpl(8)]
63 private static global::System.IConsoleDriver CreateTermInfoDriver(string term)
64 {
65 throw null;
66 }
67
68 [global::Cpp2ILInjected.Token(Token = "0x6000EB8")]
69 [global::Cpp2ILInjected.Address(RVA = "0x1C7B000", Offset = "0x1C7B000", Length = "0xC0")]
70 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
73 public static void Clear()
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6000EB9")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1C7AD78", Offset = "0x1C7AD78", Length = "0xC4")]
80 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
83 public static string ReadLine()
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x6000EBA")]
89 [global::Cpp2ILInjected.Address(RVA = "0x1C7B174", Offset = "0x1C7B174", Length = "0xD4")]
90 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "ReadKey", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(global::System.ConsoleKeyInfo))]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
94 public static global::System.ConsoleKeyInfo ReadKey(bool intercept)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x17000155")]
100 public static bool IsConsole
101 {
102 [global::Cpp2ILInjected.Token(Token = "0x6000EBB")]
103 [global::Cpp2ILInjected.Address(RVA = "0x1C7A3C4", Offset = "0x1C7A3C4", Length = "0x138")]
104 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "SetupStreams", MemberParameters = new object[]
106 {
107 typeof(global::System.Text.Encoding),
108 typeof(global::System.Text.Encoding)
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "ReadLine", ReturnType = typeof(string))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ConsoleDriver), Member = ".cctor", ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = "Init", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.MonoIO), Member = "get_ConsoleOutput", ReturnType = typeof(global::System.IntPtr))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.MonoIO), Member = "get_ConsoleInput", ReturnType = typeof(global::System.IntPtr))]
116 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
117 get
118 {
119 throw null;
120 }
121 }
122
123 [global::Cpp2ILInjected.Token(Token = "0x6000EBC")]
124 [global::Cpp2ILInjected.Address(RVA = "0x1C7BBAC", Offset = "0x1C7BBAC", Length = "0x4")]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
127 [MethodImpl(4096)]
128 private static extern bool Isatty(global::System.IntPtr handle);
129
130 [global::Cpp2ILInjected.Token(Token = "0x6000EBD")]
131 [global::Cpp2ILInjected.Address(RVA = "0x1C7BBB0", Offset = "0x1C7BBB0", Length = "0x4")]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
133 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
134 [MethodImpl(4096)]
135 internal static extern int InternalKeyAvailable(int ms_timeout);
136
137 [global::Cpp2ILInjected.Token(Token = "0x6000EBE")]
138 [global::Cpp2ILInjected.Address(RVA = "0x1C7BBB4", Offset = "0x1C7BBB4", Length = "0x4")]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
140 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
141 [MethodImpl(4096)]
142 internal unsafe static extern bool TtySetup(string keypadXmit, string teardown, out byte[] control_characters, out int* address);
143
144 [global::Cpp2ILInjected.Token(Token = "0x6000EBF")]
145 [global::Cpp2ILInjected.Address(RVA = "0x1C7BBB8", Offset = "0x1C7BBB8", Length = "0x8")]
146 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
147 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
148 [MethodImpl(4096)]
149 internal static extern bool SetEcho(bool wantEcho);
150
151 [global::Cpp2ILInjected.Token(Token = "0x4000656")]
152 internal static global::System.IConsoleDriver driver;
153
154 [global::Cpp2ILInjected.Token(Token = "0x4000657")]
155 private static bool is_console;
156
157 [global::Cpp2ILInjected.Token(Token = "0x4000658")]
158 private static bool called_isatty;
159 }
160}
class f__AnonymousType0<< Count > j__TPar
static bool called_isatty
static global::System.IConsoleDriver CreateTermInfoDriver(string term)
static global::System.IConsoleDriver CreateWindowsConsoleDriver()
static bool SetEcho(bool wantEcho)
static unsafe bool TtySetup(string keypadXmit, string teardown, out byte[] control_characters, out int *address)
static int InternalKeyAvailable(int ms_timeout)
static global::System.ConsoleKeyInfo ReadKey(bool intercept)
static global::System.IConsoleDriver CreateNullConsoleDriver()
static string ReadLine()
static void Clear()
static bool Isatty(global::System.IntPtr handle)
static global::System.IConsoleDriver driver