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_Base.cs
Go to the documentation of this file.
1using System;
2using UnityEngine;
3
4// Token: 0x0200001B RID: 27
5public abstract class DrKeyboard_Base
6{
7 // Token: 0x06000083 RID: 131 RVA: 0x00003108 File Offset: 0x00001308
8 public static DrKeyboard_Base Create(TouchScreenKeyboardType type, string initialText, int maxChars, string title, string prompt, bool password = false, bool multiline = false, bool filterText = true)
9 {
10 /*
11An exception occurred when decompiling this method (06000083)
12
13ICSharpCode.Decompiler.DecompilerException: Error decompiling DrKeyboard_Base DrKeyboard_Base::Create(UnityEngine.TouchScreenKeyboardType,System.String,System.Int32,System.String,System.String,System.Boolean,System.Boolean,System.Boolean)
14
15 ---> System.Exception: Basic block has to end with unconditional control flow.
16{
17 Block_0:
18 stloc:bool(var_1_07, callgetter:bool(Application::get_isEditor))
19}
20
21 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
22 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
23 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
24 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
25 --- End of inner exception stack trace ---
26 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
27 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
28*/;
29 }
30
31 // Token: 0x17000022 RID: 34
32 // (get) Token: 0x06000084 RID: 132 RVA: 0x0000311C File Offset: 0x0000131C
33 public static bool isSupported
34 {
35 get
36 {
37 bool isEditor = Application.isEditor;
38 return true;
39 }
40 }
41
42 // Token: 0x17000023 RID: 35
43 // (get) Token: 0x06000085 RID: 133
44 // (set) Token: 0x06000086 RID: 134
45 public abstract bool active { get; set; }
46
47 // Token: 0x17000024 RID: 36
48 // (get) Token: 0x06000087 RID: 135
49 public abstract bool wasCanceled { get; }
50
51 // Token: 0x17000025 RID: 37
52 // (get) Token: 0x06000088 RID: 136
53 public abstract bool done { get; }
54
55 // Token: 0x17000026 RID: 38
56 // (get) Token: 0x06000089 RID: 137
57 // (set) Token: 0x0600008A RID: 138
58 public abstract string text { get; set; }
59
60 // Token: 0x0600008B RID: 139 RVA: 0x0000313C File Offset: 0x0000133C
61 public virtual void Update()
62 {
63 }
64
65 // Token: 0x0600008C RID: 140 RVA: 0x0000314C File Offset: 0x0000134C
66 protected DrKeyboard_Base()
67 {
68 }
69}
class f__AnonymousType0<< Count > j__TPar
virtual void Update()
static bool isSupported
static DrKeyboard_Base Create(TouchScreenKeyboardType type, string initialText, int maxChars, string title, string prompt, bool password=false, bool multiline=false, bool filterText=true)