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
MouseBindingSourceListener.cs
Go to the documentation of this file.
1using System;
2
3namespace InControl
4{
5 // Token: 0x02000010 RID: 16
7 {
8 // Token: 0x0600007C RID: 124 RVA: 0x00002D94 File Offset: 0x00000F94
9 public void Reset()
10 {
11 }
12
13 // Token: 0x0600007D RID: 125 RVA: 0x00002DA4 File Offset: 0x00000FA4
15 {
16 /*
17An exception occurred when decompiling this method (0600007D)
18
19ICSharpCode.Decompiler.DecompilerException: Error decompiling InControl.BindingSource InControl.MouseBindingSourceListener::Listen(InControl.BindingListenOptions,InControl.InputDevice)
20
21 ---> System.Exception: Basic block has to end with unconditional control flow.
22{
23 IL_002B:
24 stfld:int32(MouseBindingSourceListener::detectPhase, ldloc:MouseBindingSourceListener(this), ldc.i4:int32(1))
25}
26
27 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
28 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
29 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
30 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
31 --- End of inner exception stack trace ---
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 92
33 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
34*/;
35 }
36
37 // Token: 0x0600007E RID: 126 RVA: 0x00002DE8 File Offset: 0x00000FE8
38 private bool IsPressed(Mouse control)
39 {
40 if (!true)
41 {
42 }
43 bool flag;
44 return flag;
45 }
46
47 // Token: 0x0600007F RID: 127 RVA: 0x00002E08 File Offset: 0x00001008
49 {
50 bool includeMouseButtons = listenOptions.IncludeMouseButtons;
52 {
53 }
54 if (!listenOptions.IncludeMouseScrollWheel)
55 {
56 return;
57 }
58 if ("JSON integer {0} is too large or small for an Int64." == null)
59 {
60 }
61 if ("JSON integer {0} is too large or small for an Int64." == null)
62 {
63 return;
64 }
65 }
66
67 // Token: 0x06000080 RID: 128 RVA: 0x00002E3C File Offset: 0x0000103C
69 {
70 }
71
72 // Token: 0x06000081 RID: 129 RVA: 0x00002E50 File Offset: 0x00001050
73 // Note: this type is marked as 'beforefieldinit'.
75 {
76 }
77
78 // Token: 0x040000C9 RID: 201
79 public static float ScrollWheelThreshold;
80
81 // Token: 0x040000CA RID: 202
83
84 // Token: 0x040000CB RID: 203
85 private int detectPhase;
86 }
87}
class f__AnonymousType0<< Count > j__TPar
Mouse ListenForControl(BindingListenOptions listenOptions)
BindingSource Listen(BindingListenOptions listenOptions, InputDevice device)