terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
TouchScreenKeyboard.cs
Go to the documentation of this file.
1using System;
8
9namespace UnityEngine
10{
11 // Token: 0x02000093 RID: 147
12 [NativeHeader("Runtime/Input/KeyboardOnScreen.h")]
13 [NativeConditional("ENABLE_ONSCREEN_KEYBOARD")]
14 [NativeHeader("Runtime/Export/TouchScreenKeyboard/TouchScreenKeyboard.bindings.h")]
16 {
17 // Token: 0x0600028F RID: 655 RVA: 0x00005BCC File Offset: 0x00003DCC
18 [FreeFunction("TouchScreenKeyboard_Destroy", IsThreadSafe = true)]
19 private static void Internal_Destroy(IntPtr ptr)
20 {
21 throw new MissingMethodException();
22 }
23
24 // Token: 0x06000290 RID: 656 RVA: 0x00005BE0 File Offset: 0x00003DE0
25 private void Destroy()
26 {
27 IntPtr ptr = this.m_Ptr;
28 IntPtr ptr2 = this.m_Ptr;
29 throw new MissingMethodException();
30 }
31
32 // Token: 0x06000291 RID: 657 RVA: 0x00005C08 File Offset: 0x00003E08
33 protected override void Finalize()
34 {
35 this.Destroy();
36 base.Finalize();
37 }
38
39 // Token: 0x06000292 RID: 658 RVA: 0x00005C44 File Offset: 0x00003E44
40 public TouchScreenKeyboard(string text, TouchScreenKeyboardType keyboardType, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder, int characterLimit)
41 {
42 uint num2;
43 uint num = Convert.ToUInt32(Convert.ToUInt32(Convert.ToUInt32(Convert.ToUInt32(num2 != 0U) != 0U) != 0U) != 0U);
44 throw new MissingMethodException();
45 }
46
47 // Token: 0x06000293 RID: 659 RVA: 0x00005C74 File Offset: 0x00003E74
48 [FreeFunction("TouchScreenKeyboard_InternalConstructorHelper")]
53
54 // Token: 0x17000097 RID: 151
55 // (get) Token: 0x06000294 RID: 660 RVA: 0x00005C88 File Offset: 0x00003E88
56 public static bool isSupported
57 {
58 get
59 {
60 /*
61An exception occurred when decompiling this method (06000294)
62
63ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean UnityEngine.TouchScreenKeyboard::get_isSupported()
64
65 ---> System.Exception: Basic block has to end with unconditional control flow.
66{
67 Block_0:
68 stloc:RuntimePlatform(var_1_07, callgetter:RuntimePlatform(Application::get_platform))
69}
70
71 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
72 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
73 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
74 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
75 --- End of inner exception stack trace ---
76 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
77 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
78*/;
79 }
80 }
81
82 // Token: 0x17000098 RID: 152
83 // (get) Token: 0x06000295 RID: 661 RVA: 0x000021B3 File Offset: 0x000003B3
84 internal static bool disableInPlaceEditing
85 {
87 get
88 {
89 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
90 }
91 }
92
93 // Token: 0x17000099 RID: 153
94 // (get) Token: 0x06000296 RID: 662 RVA: 0x00005CA0 File Offset: 0x00003EA0
95 public static bool isInPlaceEditingAllowed
96 {
97 get
98 {
99 throw new MissingMethodException();
100 }
101 }
102
103 // Token: 0x06000297 RID: 663 RVA: 0x00005CB4 File Offset: 0x00003EB4
104 [FreeFunction("TouchScreenKeyboard_IsInplaceEditingAllowed")]
105 private static bool IsInPlaceEditingAllowed()
106 {
107 throw new MissingMethodException();
108 }
109
110 // Token: 0x06000298 RID: 664 RVA: 0x000021B3 File Offset: 0x000003B3
111 public static TouchScreenKeyboard Open(string text, [DefaultValue("TouchScreenKeyboardType.Default")] TouchScreenKeyboardType keyboardType, [DefaultValue("true")] bool autocorrection, [DefaultValue("false")] bool multiline, [DefaultValue("false")] bool secure, [DefaultValue("false")] bool alert, [DefaultValue("\"\"")] string textPlaceholder, [DefaultValue("0")] int characterLimit)
112 {
113 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
114 }
115
116 // Token: 0x1700009A RID: 154
117 // (get) Token: 0x06000299 RID: 665 RVA: 0x00005CC8 File Offset: 0x00003EC8
118 // (set) Token: 0x0600029A RID: 666 RVA: 0x00005CDC File Offset: 0x00003EDC
119 public string text
120 {
121 [NativeName("GetText")]
122 get
123 {
124 throw new MissingMethodException();
125 }
126 [NativeName("SetText")]
127 set
128 {
129 throw new MissingMethodException();
130 }
131 }
132
133 // Token: 0x1700009B RID: 155
134 // (set) Token: 0x0600029B RID: 667 RVA: 0x00005CF0 File Offset: 0x00003EF0
135 public static bool hideInput
136 {
137 [NativeName("SetInputHidden")]
138 set
139 {
140 throw new MissingMethodException();
141 }
142 }
143
144 // Token: 0x1700009C RID: 156
145 // (get) Token: 0x0600029C RID: 668 RVA: 0x00005D04 File Offset: 0x00003F04
146 // (set) Token: 0x0600029D RID: 669 RVA: 0x00005D18 File Offset: 0x00003F18
147 public bool active
148 {
149 [NativeName("IsActive")]
150 get
151 {
152 throw new MissingMethodException();
153 }
154 [NativeName("SetActive")]
155 set
156 {
157 throw new MissingMethodException();
158 }
159 }
160
161 // Token: 0x1700009D RID: 157
162 // (get) Token: 0x0600029E RID: 670 RVA: 0x00005D2C File Offset: 0x00003F2C
164 {
165 [NativeName("GetKeyboardStatus")]
166 get
167 {
168 throw new MissingMethodException();
169 }
170 }
171
172 // Token: 0x1700009E RID: 158
173 // (set) Token: 0x0600029F RID: 671 RVA: 0x00005D40 File Offset: 0x00003F40
174 public int characterLimit
175 {
176 [NativeName("SetCharacterLimit")]
177 set
178 {
179 throw new MissingMethodException();
180 }
181 }
182
183 // Token: 0x1700009F RID: 159
184 // (get) Token: 0x060002A0 RID: 672 RVA: 0x00005D54 File Offset: 0x00003F54
185 public bool canGetSelection
186 {
187 [NativeName("CanGetSelection")]
188 get
189 {
190 throw new MissingMethodException();
191 }
192 }
193
194 // Token: 0x170000A0 RID: 160
195 // (get) Token: 0x060002A1 RID: 673 RVA: 0x00005D68 File Offset: 0x00003F68
196 public bool canSetSelection
197 {
198 [NativeName("CanSetSelection")]
199 get
200 {
201 throw new MissingMethodException();
202 }
203 }
204
205 // Token: 0x170000A1 RID: 161
206 // (get) Token: 0x060002A2 RID: 674 RVA: 0x00005D7C File Offset: 0x00003F7C
207 // (set) Token: 0x060002A3 RID: 675 RVA: 0x00005D90 File Offset: 0x00003F90
209 {
210 get
211 {
212 throw new MissingMethodException();
213 }
214 set
215 {
216 throw new MissingMethodException();
217 }
218 }
219
220 // Token: 0x060002A4 RID: 676 RVA: 0x00005DB0 File Offset: 0x00003FB0
221 private static void GetSelection([Out] int start, [Out] int length)
222 {
223 throw new MissingMethodException();
224 }
225
226 // Token: 0x060002A5 RID: 677 RVA: 0x00005DC4 File Offset: 0x00003FC4
227 private static void SetSelection(int start, int length)
228 {
229 throw new MissingMethodException();
230 }
231
232 // Token: 0x04000330 RID: 816
234 internal IntPtr m_Ptr;
235
236 // Token: 0x04000331 RID: 817
239 private static bool <disableInPlaceEditing>k__BackingField;
240
241 // Token: 0x02000094 RID: 148
242 public enum Status
243 {
244 // Token: 0x04000333 RID: 819
245 Visible,
246 // Token: 0x04000334 RID: 820
247 Done,
248 // Token: 0x04000335 RID: 821
249 Canceled,
250 // Token: 0x04000336 RID: 822
252 }
253 }
254}
class f__AnonymousType0<< Count > j__TPar
static uint ToUInt32(object value)
Definition Convert.cs:1572
static IntPtr TouchScreenKeyboard_InternalConstructorHelper(TouchScreenKeyboard_InternalConstructorHelperArguments arguments, string text, string textPlaceholder)
static bool< disableInPlaceEditing > k__BackingField
static void GetSelection([Out] int start, [Out] int length)
TouchScreenKeyboard.Status status
TouchScreenKeyboard(string text, TouchScreenKeyboardType keyboardType, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder, int characterLimit)
static TouchScreenKeyboard Open(string text, [DefaultValue("TouchScreenKeyboardType.Default")] TouchScreenKeyboardType keyboardType, [DefaultValue("true")] bool autocorrection, [DefaultValue("false")] bool multiline, [DefaultValue("false")] bool secure, [DefaultValue("false")] bool alert, [DefaultValue("\"\"")] string textPlaceholder, [DefaultValue("0")] int characterLimit)
static void Internal_Destroy(IntPtr ptr)
static void SetSelection(int start, int length)