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
DrKeyboard_Touch.cs
Go to the documentation of this file.
1using System;
2using UnityEngine;
3
4// Token: 0x02000020 RID: 32
6{
7 // Token: 0x06000099 RID: 153 RVA: 0x00003340 File Offset: 0x00001540
8 public static void AppFocusGained()
9 {
10 }
11
12 // Token: 0x0600009A RID: 154 RVA: 0x00003350 File Offset: 0x00001550
13 public DrKeyboard_Touch(TouchScreenKeyboardType type, string initialText, int maxChars, string title, string prompt, bool password = false, bool multiline = false)
14 {
15 TouchScreenKeyboard touchScreenKeyboard;
16 this._keyboard = touchScreenKeyboard;
17 }
18
19 // Token: 0x1700002B RID: 43
20 // (get) Token: 0x0600009B RID: 155 RVA: 0x0000336C File Offset: 0x0000156C
21 // (set) Token: 0x0600009C RID: 156 RVA: 0x00003388 File Offset: 0x00001588
22 public override bool active
23 {
24 get
25 {
26 while (this._keyboard.status == TouchScreenKeyboard.Status.Visible)
27 {
28 }
29 }
30 set
31 {
33 long num = 0L;
34 keyboard.active = num != 0L;
35 }
36 }
37
38 // Token: 0x1700002C RID: 44
39 // (get) Token: 0x0600009D RID: 157 RVA: 0x000033A8 File Offset: 0x000015A8
40 public override bool done
41 {
42 get
43 {
44 /*
45An exception occurred when decompiling this method (0600009D)
46
47ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean DrKeyboard_Touch::get_done()
48
49 ---> System.Exception: Basic block has to end with unconditional control flow.
50{
51 Block_0:
52 stloc:Status(var_0_0B, callgetter:Status(TouchScreenKeyboard::get_status, ldfld:TouchScreenKeyboard(DrKeyboard_Touch::_keyboard, ldloc:DrKeyboard_Touch(this))))
53}
54
55 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
56 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
57 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
58 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
59 --- End of inner exception stack trace ---
60 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
61 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
62*/;
63 }
64 }
65
66 // Token: 0x1700002D RID: 45
67 // (get) Token: 0x0600009E RID: 158 RVA: 0x000033C0 File Offset: 0x000015C0
68 // (set) Token: 0x0600009F RID: 159 RVA: 0x000033D8 File Offset: 0x000015D8
69 public override string text
70 {
71 get
72 {
73 return this._keyboard.text;
74 }
75 set
76 {
78 }
79 }
80
81 // Token: 0x1700002E RID: 46
82 // (get) Token: 0x060000A0 RID: 160 RVA: 0x000033F4 File Offset: 0x000015F4
83 public override bool wasCanceled
84 {
85 get
86 {
87 /*
88An exception occurred when decompiling this method (060000A0)
89
90ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean DrKeyboard_Touch::get_wasCanceled()
91
92 ---> System.Exception: Basic block has to end with unconditional control flow.
93{
94 Block_0:
95 stloc:Status(var_0_0B, callgetter:Status(TouchScreenKeyboard::get_status, ldfld:TouchScreenKeyboard(DrKeyboard_Touch::_keyboard, ldloc:DrKeyboard_Touch(this))))
96 stloc:Status(var_1_17, callgetter:Status(TouchScreenKeyboard::get_status, ldfld:TouchScreenKeyboard(DrKeyboard_Touch::_keyboard, ldloc:DrKeyboard_Touch(this))))
97 stloc:Status(var_2_23, callgetter:Status(TouchScreenKeyboard::get_status, ldfld:TouchScreenKeyboard(DrKeyboard_Touch::_keyboard, ldloc:DrKeyboard_Touch(this))))
98 stloc:TouchScreenKeyboard(var_3_2A, ldfld:TouchScreenKeyboard(DrKeyboard_Touch::_keyboard, ldloc:DrKeyboard_Touch(this)))
99 stloc:int64(var_4_2C, ldc.i4:int64(0))
100 callsetter:bool(TouchScreenKeyboard::set_active, ldloc:TouchScreenKeyboard(var_3_2A), ldloc:int64[exp:bool](var_4_2C))
101}
102
103 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
104 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
105 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
106 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
107 --- End of inner exception stack trace ---
108 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
109 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
110*/;
111 }
112 }
113
114 // Token: 0x04000068 RID: 104
115 private static bool appGainedFocus;
116
117 // Token: 0x04000069 RID: 105
119}
class f__AnonymousType0<< Count > j__TPar
override string text
override bool done
TouchScreenKeyboard _keyboard
static bool appGainedFocus
DrKeyboard_Touch(TouchScreenKeyboardType type, string initialText, int maxChars, string title, string prompt, bool password=false, bool multiline=false)
static void AppFocusGained()
override bool wasCanceled
override bool active
TouchScreenKeyboard.Status status