447 lines
20 KiB
C#
447 lines
20 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine.InputSystem;
|
|
|
|
// Token: 0x0200011D RID: 285
|
|
[Token(Token = "0x200011D")]
|
|
[Serializable]
|
|
public class GameControllerKeyMaps
|
|
{
|
|
// Token: 0x06000ECF RID: 3791 RVA: 0x00023170 File Offset: 0x00021370
|
|
[Token(Token = "0x6000ECF")]
|
|
[Address(RVA = "0x53D1F0", Offset = "0x53BFF0", VA = "0x18053D1F0")]
|
|
public GameControllerKeyMaps()
|
|
{
|
|
this.ResetKeyboardDefaultPaths();
|
|
this.ResetGamepadDefaultPaths();
|
|
}
|
|
|
|
// Token: 0x06000ED0 RID: 3792 RVA: 0x00023190 File Offset: 0x00021390
|
|
[Token(Token = "0x6000ED0")]
|
|
[Address(RVA = "0x53C410", Offset = "0x53B210", VA = "0x18053C410")]
|
|
public void ResetKeyboardDefaultPaths()
|
|
{
|
|
Dictionary<string, string> dictionary = new Dictionary();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06000ED1 RID: 3793 RVA: 0x00023260 File Offset: 0x00021460
|
|
[Token(Token = "0x6000ED1")]
|
|
[Address(RVA = "0x53C090", Offset = "0x53AE90", VA = "0x18053C090")]
|
|
public void ResetGamepadDefaultPaths()
|
|
{
|
|
Dictionary<string, string> dictionary = new Dictionary();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06000ED2 RID: 3794 RVA: 0x000232D4 File Offset: 0x000214D4
|
|
[Token(Token = "0x6000ED2")]
|
|
[Address(RVA = "0x53D050", Offset = "0x53BE50", VA = "0x18053D050")]
|
|
public void UpdateKeyboardKey(string inputActionName, string keyCode)
|
|
{
|
|
Dictionary<string, string> dictionary = this.keyboardPathMap;
|
|
this.UpdateKeymap(dictionary, inputActionName, keyCode);
|
|
}
|
|
|
|
// Token: 0x06000ED3 RID: 3795 RVA: 0x000232F4 File Offset: 0x000214F4
|
|
[Token(Token = "0x6000ED3")]
|
|
[Address(RVA = "0x53D020", Offset = "0x53BE20", VA = "0x18053D020")]
|
|
public void UpdateGamepadKey(string inputActionName, string keyCode)
|
|
{
|
|
Dictionary<string, string> dictionary = this.gamepadPathMap;
|
|
this.UpdateKeymap(dictionary, inputActionName, keyCode);
|
|
}
|
|
|
|
// Token: 0x06000ED4 RID: 3796 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000ED4")]
|
|
[Address(RVA = "0x53D080", Offset = "0x53BE80", VA = "0x18053D080")]
|
|
private void UpdateKeymap(Dictionary<string, string> map, string inputActionName, string keyCode)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000ED5 RID: 3797 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000ED5")]
|
|
[Address(RVA = "0x53BDE0", Offset = "0x53ABE0", VA = "0x18053BDE0")]
|
|
public string GetKeyboardKey(string keyCode)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000ED6 RID: 3798 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000ED6")]
|
|
[Address(RVA = "0x53B280", Offset = "0x53A080", VA = "0x18053B280")]
|
|
public string GetGamepadKey(string keyCode)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000ED7 RID: 3799 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000ED7")]
|
|
[Address(RVA = "0x53B540", Offset = "0x53A340", VA = "0x18053B540")]
|
|
public string GetGamepadUISubmitKeyCode()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000ED8 RID: 3800 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000ED8")]
|
|
[Address(RVA = "0x53B450", Offset = "0x53A250", VA = "0x18053B450")]
|
|
public string GetGamepadUICancelKeyCode()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000ED9 RID: 3801 RVA: 0x00023314 File Offset: 0x00021514
|
|
[Token(Token = "0x6000ED9")]
|
|
[Address(RVA = "0x53B120", Offset = "0x539F20", VA = "0x18053B120")]
|
|
public string[] GetControllerKeys(string actionName)
|
|
{
|
|
string[] array;
|
|
string text2;
|
|
for (;;)
|
|
{
|
|
array = new string[2];
|
|
string text = this.keyboardPathMap[actionName];
|
|
if (text == 0 || text != 0)
|
|
{
|
|
array[0] = text;
|
|
text2 = this.gamepadPathMap[actionName];
|
|
if (text2 == 0 || text2 != 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
array[1] = text2;
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x06000EDA RID: 3802 RVA: 0x0002336C File Offset: 0x0002156C
|
|
[Token(Token = "0x6000EDA")]
|
|
[Address(RVA = "0x53CBF0", Offset = "0x53B9F0", VA = "0x18053CBF0")]
|
|
public void RunKeyboardRebindOperation(string inputActionName, Action<bool, string> rebindHandler)
|
|
{
|
|
GameControllerKeyMaps.RebindingCmd rebindingCmd;
|
|
string[] array;
|
|
for (;;)
|
|
{
|
|
rebindingCmd = new GameControllerKeyMaps.RebindingCmd();
|
|
rebindingCmd.<InputActionName>k__BackingField = inputActionName;
|
|
rebindingCmd.<RebindHandler>k__BackingField = rebindHandler;
|
|
array = new string[2];
|
|
if ("<Keyboard>" == 0 || "<Keyboard>" != 0)
|
|
{
|
|
array[0] = "<Keyboard>";
|
|
if ("<Mouse>" == 0 || "<Mouse>" != 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
array[1] = "<Mouse>";
|
|
rebindingCmd.<MatchPaths>k__BackingField = array;
|
|
rebindingCmd.<IsKeyboardMode>k__BackingField = true;
|
|
this.StartRebindingOperation(rebindingCmd);
|
|
}
|
|
|
|
// Token: 0x06000EDB RID: 3803 RVA: 0x000233E8 File Offset: 0x000215E8
|
|
[Token(Token = "0x6000EDB")]
|
|
[Address(RVA = "0x53CAA0", Offset = "0x53B8A0", VA = "0x18053CAA0")]
|
|
public void RunGamepadRebindOperation(string inputActionName, Action<bool, string> rebindHandler)
|
|
{
|
|
GameControllerKeyMaps.RebindingCmd rebindingCmd;
|
|
string[] array;
|
|
do
|
|
{
|
|
rebindingCmd = new GameControllerKeyMaps.RebindingCmd();
|
|
rebindingCmd.<InputActionName>k__BackingField = inputActionName;
|
|
rebindingCmd.<RebindHandler>k__BackingField = rebindHandler;
|
|
array = new string[1];
|
|
}
|
|
while ("<Gamepad>" != 0 && array == 0);
|
|
array[0] = "<Gamepad>";
|
|
rebindingCmd.<MatchPaths>k__BackingField = array;
|
|
rebindingCmd.<IsKeyboardMode>k__BackingField = false;
|
|
this.StartRebindingOperation(rebindingCmd);
|
|
}
|
|
|
|
// Token: 0x06000EDC RID: 3804 RVA: 0x00023444 File Offset: 0x00021644
|
|
[Token(Token = "0x6000EDC")]
|
|
[Address(RVA = "0x53CDB0", Offset = "0x53BBB0", VA = "0x18053CDB0")]
|
|
private void StartRebindingOperation(GameControllerKeyMaps.RebindingCmd rebindingCmd)
|
|
{
|
|
int num;
|
|
InputAction inputAction = new InputAction("rebind", InputActionType.Button, "<Gamepad>/start", num, num, num);
|
|
num = 0;
|
|
InputAction inputDetectAction = inputAction;
|
|
InputActionRebindingExtensions.RebindingOperation rebindingOperation = inputDetectAction.PerformInteractiveRebinding(-1).OnMatchWaitForAnother(0.1f);
|
|
Action<InputActionRebindingExtensions.RebindingOperation> action = delegate(InputActionRebindingExtensions.RebindingOperation operation)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
};
|
|
InputActionRebindingExtensions.RebindingOperation rebindingOperation2 = rebindingOperation.OnComplete(action).Start();
|
|
}
|
|
|
|
// Token: 0x06000EDD RID: 3805 RVA: 0x000234BC File Offset: 0x000216BC
|
|
[Token(Token = "0x6000EDD")]
|
|
[Address(RVA = "0x53BAF0", Offset = "0x53A8F0", VA = "0x18053BAF0")]
|
|
public string[] GetInvalidKeyboardPaths()
|
|
{
|
|
string[] array;
|
|
for (;;)
|
|
{
|
|
array = new string[6];
|
|
if ("<Keyboard>/escape" == 0 || "<Keyboard>/escape" != 0)
|
|
{
|
|
array[0] = "<Keyboard>/escape";
|
|
if ("<Keyboard>/leftMeta" == 0 || "<Keyboard>/leftMeta" != 0)
|
|
{
|
|
array[1] = "<Keyboard>/leftMeta";
|
|
if ("<Keyboard>/rightMeta" == 0 || "<Keyboard>/rightMeta" != 0)
|
|
{
|
|
array[2] = "<Keyboard>/rightMeta";
|
|
if ("<Keyboard>/printScreen" == 0 || "<Keyboard>/printScreen" != 0)
|
|
{
|
|
array[3] = "<Keyboard>/printScreen";
|
|
if ("<Keyboard>/scrollLock" == 0 || "<Keyboard>/scrollLock" != 0)
|
|
{
|
|
array[4] = "<Keyboard>/scrollLock";
|
|
if ("<Keyboard>/pause" == 0 || "<Keyboard>/pause" != 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
array[5] = "<Keyboard>/pause";
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x06000EDE RID: 3806 RVA: 0x00023588 File Offset: 0x00021788
|
|
[Token(Token = "0x6000EDE")]
|
|
[Address(RVA = "0x53B630", Offset = "0x53A430", VA = "0x18053B630")]
|
|
public string[] GetInvalidGamepadPaths()
|
|
{
|
|
string[] array;
|
|
for (;;)
|
|
{
|
|
array = new string[10];
|
|
if ("<Gamepad>/start" == 0 || "<Gamepad>/start" != 0)
|
|
{
|
|
array[0] = "<Gamepad>/start";
|
|
if ("<Gamepad>/select" == 0 || "<Gamepad>/select" != 0)
|
|
{
|
|
array[1] = "<Gamepad>/select";
|
|
if ("<Gamepad>/leftStick/left" == 0 || "<Gamepad>/leftStick/left" != 0)
|
|
{
|
|
array[2] = "<Gamepad>/leftStick/left";
|
|
if ("<Gamepad>/leftStick/right" == 0 || "<Gamepad>/leftStick/right" != 0)
|
|
{
|
|
array[3] = "<Gamepad>/leftStick/right";
|
|
if ("<Gamepad>/leftStick/up" == 0 || "<Gamepad>/leftStick/up" != 0)
|
|
{
|
|
array[4] = "<Gamepad>/leftStick/up";
|
|
if ("<Gamepad>/leftStick/down" == 0 || "<Gamepad>/leftStick/down" != 0)
|
|
{
|
|
array[5] = "<Gamepad>/leftStick/down";
|
|
if ("<Gamepad>/rightStick/left" == 0 || "<Gamepad>/rightStick/left" != 0)
|
|
{
|
|
array[6] = "<Gamepad>/rightStick/left";
|
|
if ("<Gamepad>/rightStick/right" == 0 || "<Gamepad>/rightStick/right" != 0)
|
|
{
|
|
array[7] = "<Gamepad>/rightStick/right";
|
|
if ("<Gamepad>/rightStick/up" == 0 || "<Gamepad>/rightStick/up" != 0)
|
|
{
|
|
array[8] = "<Gamepad>/rightStick/up";
|
|
if ("<Gamepad>/rightStick/down" == 0 || "<Gamepad>/rightStick/down" != 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
array[9] = "<Gamepad>/rightStick/down";
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x06000EDF RID: 3807 RVA: 0x000236D0 File Offset: 0x000218D0
|
|
[Token(Token = "0x6000EDF")]
|
|
[Address(RVA = "0x53BFD0", Offset = "0x53ADD0", VA = "0x18053BFD0")]
|
|
private string[] GetSpecialPathKeywords()
|
|
{
|
|
string[] array;
|
|
do
|
|
{
|
|
array = new string[1];
|
|
}
|
|
while ("Dual" != 0 && array == 0);
|
|
array[0] = "Dual";
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x06000EE0 RID: 3808 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000EE0")]
|
|
[Address(RVA = "0x53CF50", Offset = "0x53BD50", VA = "0x18053CF50")]
|
|
private bool TryGetAlternativeGamepadPath(string buttonName, out string newEffectivePath)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0400195E RID: 6494
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400195E")]
|
|
public Dictionary<string, string> keyboardPathMap;
|
|
|
|
// Token: 0x0400195F RID: 6495
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400195F")]
|
|
public Dictionary<string, string> gamepadPathMap;
|
|
|
|
// Token: 0x0200011E RID: 286
|
|
[Token(Token = "0x200011E")]
|
|
private class RebindingCmd
|
|
{
|
|
// Token: 0x17000060 RID: 96
|
|
// (get) Token: 0x06000EE2 RID: 3810 RVA: 0x00023718 File Offset: 0x00021918
|
|
// (set) Token: 0x06000EE1 RID: 3809 RVA: 0x00023704 File Offset: 0x00021904
|
|
[Token(Token = "0x17000060")]
|
|
public string InputActionName
|
|
{
|
|
[Token(Token = "0x6000EE2")]
|
|
[Address(RVA = "0x2B4010", Offset = "0x2B2E10", VA = "0x1802B4010")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return this.<InputActionName>k__BackingField;
|
|
}
|
|
[Token(Token = "0x6000EE1")]
|
|
[Address(RVA = "0x385090", Offset = "0x383E90", VA = "0x180385090")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000EE1)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameControllerKeyMaps/RebindingCmd::set_InputActionName(System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:string(RebindingCmd::<InputActionName>k__BackingField, ldloc:RebindingCmd(this), ldloc:string(value)); };
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
|
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 344
|
|
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
|
|
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
|
|
--- End of inner exception stack trace ---
|
|
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
|
|
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 1618
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000061 RID: 97
|
|
// (get) Token: 0x06000EE4 RID: 3812 RVA: 0x00023740 File Offset: 0x00021940
|
|
// (set) Token: 0x06000EE3 RID: 3811 RVA: 0x0002372C File Offset: 0x0002192C
|
|
[Token(Token = "0x17000061")]
|
|
public Action<bool, string> RebindHandler
|
|
{
|
|
[Token(Token = "0x6000EE4")]
|
|
[Address(RVA = "0x2B4380", Offset = "0x2B3180", VA = "0x1802B4380")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return this.<RebindHandler>k__BackingField;
|
|
}
|
|
[Token(Token = "0x6000EE3")]
|
|
[Address(RVA = "0x413D20", Offset = "0x412B20", VA = "0x180413D20")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000EE3)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameControllerKeyMaps/RebindingCmd::set_RebindHandler(System.Action`2<System.Boolean,System.String>)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:class [mscorlib]System.Action`2<bool, string>(RebindingCmd::<RebindHandler>k__BackingField, ldloc:RebindingCmd(this), ldloc:class [mscorlib]System.Action`2<bool, string>(value)); };
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
|
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 344
|
|
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
|
|
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
|
|
--- End of inner exception stack trace ---
|
|
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
|
|
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 1618
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000062 RID: 98
|
|
// (get) Token: 0x06000EE6 RID: 3814 RVA: 0x00023768 File Offset: 0x00021968
|
|
// (set) Token: 0x06000EE5 RID: 3813 RVA: 0x00023754 File Offset: 0x00021954
|
|
[Token(Token = "0x17000062")]
|
|
public string[] MatchPaths
|
|
{
|
|
[Token(Token = "0x6000EE6")]
|
|
[Address(RVA = "0x28C210", Offset = "0x28B010", VA = "0x18028C210")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return this.<MatchPaths>k__BackingField;
|
|
}
|
|
[Token(Token = "0x6000EE5")]
|
|
[Address(RVA = "0x3F1EE0", Offset = "0x3F0CE0", VA = "0x1803F1EE0")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000EE5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameControllerKeyMaps/RebindingCmd::set_MatchPaths(System.String[])
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:string[](RebindingCmd::<MatchPaths>k__BackingField, ldloc:RebindingCmd(this), ldloc:string[](value)); };
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
|
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 344
|
|
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
|
|
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
|
|
--- End of inner exception stack trace ---
|
|
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
|
|
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 1618
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000063 RID: 99
|
|
// (get) Token: 0x06000EE8 RID: 3816 RVA: 0x00023790 File Offset: 0x00021990
|
|
// (set) Token: 0x06000EE7 RID: 3815 RVA: 0x0002377C File Offset: 0x0002197C
|
|
[Token(Token = "0x17000063")]
|
|
public bool IsKeyboardMode
|
|
{
|
|
[Token(Token = "0x6000EE8")]
|
|
[Address(RVA = "0x5D3320", Offset = "0x5D2120", VA = "0x1805D3320")]
|
|
get;
|
|
[Token(Token = "0x6000EE7")]
|
|
[Address(RVA = "0x5FD540", Offset = "0x5FC340", VA = "0x1805FD540")]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x06000EE9 RID: 3817 RVA: 0x000237A4 File Offset: 0x000219A4
|
|
[Token(Token = "0x6000EE9")]
|
|
[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
|
|
public RebindingCmd()
|
|
{
|
|
}
|
|
}
|
|
}
|