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
KeyConfiguration.cs
Go to the documentation of this file.
1using System;
3
4namespace Terraria.GameInput
5{
6 // Token: 0x020006C9 RID: 1737
7 public class KeyConfiguration
8 {
9 // Token: 0x17000713 RID: 1811
10 // (get) Token: 0x060039E6 RID: 14822 RVA: 0x0022F398 File Offset: 0x0022D598
12 {
13 get
14 {
15 /*
16An exception occurred when decompiling this method (060039E6)
17
18ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.GameInput.KeyConfiguration::get_DoGrappleAndInteractShareTheSameKey()
19
20 ---> System.Exception: Basic block has to end with unconditional control flow.
21{
22 Block_0:
23 stloc:valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Entry[](var_0_0B, ldfld:valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Entry<!0, !1>[][exp:valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Entry[]](Dictionary`2::_entries, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype Terraria.GameInput.TriggerNames, class [mscorlib]System.Collections.Generic.List`1<string>>[exp:Dictionary`2](KeyConfiguration::KeyStatus, ldloc:KeyConfiguration(this))))
24 stloc:valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Entry[](var_1_17, ldfld:valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Entry<!0, !1>[][exp:valuetype [mscorlib]System.Collections.Generic.Dictionary`2/Entry[]](Dictionary`2::_entries, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype Terraria.GameInput.TriggerNames, class [mscorlib]System.Collections.Generic.List`1<string>>[exp:Dictionary`2](KeyConfiguration::KeyStatus, ldloc:KeyConfiguration(this))))
25 stloc:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype Terraria.GameInput.TriggerNames, class [mscorlib]System.Collections.Generic.List`1<string>>(var_2_1E, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype Terraria.GameInput.TriggerNames, class [mscorlib]System.Collections.Generic.List`1<string>>(KeyConfiguration::KeyStatus, ldloc:KeyConfiguration(this)))
26 stloc:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype Terraria.GameInput.TriggerNames, class [mscorlib]System.Collections.Generic.List`1<string>>(var_3_25, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<valuetype Terraria.GameInput.TriggerNames, class [mscorlib]System.Collections.Generic.List`1<string>>(KeyConfiguration::KeyStatus, ldloc:KeyConfiguration(this)))
27}
28
29 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
30 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
31 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
32 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
33 --- End of inner exception stack trace ---
34 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
35 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
36*/;
37 }
38 }
39
40 // Token: 0x060039E7 RID: 14823 RVA: 0x0022F3D0 File Offset: 0x0022D5D0
45
46 // Token: 0x060039E8 RID: 14824 RVA: 0x0022F3E8 File Offset: 0x0022D5E8
47 public void Processkey(TriggersSet set, string newKey)
48 {
50 bool[] keyStatus2 = set.KeyStatus;
51 }
52
53 // Token: 0x060039E9 RID: 14825 RVA: 0x0022F454 File Offset: 0x0022D654
55 {
57 bool[] keyStatus2 = oldSet.KeyStatus;
58 bool[] keyStatus3 = newSet.KeyStatus;
59 }
60
61 // Token: 0x060039EA RID: 14826 RVA: 0x0022F48C File Offset: 0x0022D68C
75
76 // Token: 0x060039EB RID: 14827 RVA: 0x0022F524 File Offset: 0x0022D724
82
83 // Token: 0x060039EC RID: 14828 RVA: 0x0022F550 File Offset: 0x0022D750
85 {
86 }
87
88 // Token: 0x04007A10 RID: 31248
90 }
91}
class f__AnonymousType0<< Count > j__TPar
Dictionary< TKey, TValue >.Entry[] _entries
void CopyKeyState(TriggersSet oldSet, TriggersSet newSet, string newKey)
void Processkey(TriggersSet set, string newKey)
Dictionary< TriggerNames, List< string > > KeyStatus
Dictionary< TriggerNames, List< string > > WritePreferences()
void ReadPreferences(Dictionary< TriggerNames, List< string > > dict)