Files
NobetaSource/Cpp2IL/Assembly-CSharp/GameInputManager.cs
2023-09-06 22:09:22 +02:00

1164 lines
50 KiB
C#

using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.LowLevel;
// Token: 0x0200014A RID: 330
[Token(Token = "0x200014A")]
public class GameInputManager : MonoBehaviour
{
// Token: 0x14000009 RID: 9
// (add) Token: 0x06001096 RID: 4246 RVA: 0x000020D3 File Offset: 0x000002D3
// (remove) Token: 0x06001097 RID: 4247 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x14000009")]
private event Action<ControllerDevice> deviceChangedHandler
{
[Token(Token = "0x6001096")]
[Address(RVA = "0x500A50", Offset = "0x4FF250", VA = "0x180500A50")]
[CompilerGenerated]
add
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
[Token(Token = "0x6001097")]
[Address(RVA = "0x502930", Offset = "0x501130", VA = "0x180502930")]
[CompilerGenerated]
remove
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x1400000A RID: 10
// (add) Token: 0x06001098 RID: 4248 RVA: 0x000020D3 File Offset: 0x000002D3
// (remove) Token: 0x06001099 RID: 4249 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x1400000A")]
private event Action<bool> cursorStateChangedHandler
{
[Token(Token = "0x6001098")]
[Address(RVA = "0x500BE0", Offset = "0x4FF3E0", VA = "0x180500BE0")]
[CompilerGenerated]
add
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
[Token(Token = "0x6001099")]
[Address(RVA = "0x505980", Offset = "0x504180", VA = "0x180505980")]
[CompilerGenerated]
remove
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x17000077 RID: 119
// (get) Token: 0x0600109A RID: 4250 RVA: 0x00026C38 File Offset: 0x00024E38
[Token(Token = "0x17000077")]
public GamepadVibration Vibration
{
[Token(Token = "0x600109A")]
[Address(RVA = "0x451CD0", Offset = "0x4504D0", VA = "0x180451CD0")]
get
{
return this.vibration;
}
}
// Token: 0x17000078 RID: 120
// (get) Token: 0x0600109B RID: 4251 RVA: 0x00026C4C File Offset: 0x00024E4C
[Token(Token = "0x17000078")]
public ControllerDevice CurrentDevice
{
[Token(Token = "0x600109B")]
[Address(RVA = "0x29D0F0", Offset = "0x29B8F0", VA = "0x18029D0F0")]
get
{
return this.currentDevice;
}
}
// Token: 0x17000079 RID: 121
// (get) Token: 0x0600109C RID: 4252 RVA: 0x00026C60 File Offset: 0x00024E60
[Token(Token = "0x17000079")]
public ControllerDevice LastGamepadDevice
{
[Token(Token = "0x600109C")]
[Address(RVA = "0x4A9E60", Offset = "0x4A8660", VA = "0x1804A9E60")]
get
{
return this.lastGamepadController;
}
}
// Token: 0x0600109D RID: 4253 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600109D")]
[Address(RVA = "0x501420", Offset = "0x4FFC20", VA = "0x180501420")]
public void Init(PlayerInput input, ControllerDevice defaultDevice)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600109E RID: 4254 RVA: 0x00026C74 File Offset: 0x00024E74
[Token(Token = "0x600109E")]
[Address(RVA = "0x505E90", Offset = "0x504690", VA = "0x180505E90")]
private void UpdatePointerVisibleState(InputAction.CallbackContext context)
{
if (this.currentDevice == ControllerDevice.Keyboard)
{
Action<bool> action = this.cursorStateChangedHandler;
if (action != 0)
{
action(1);
return;
}
}
}
// Token: 0x0600109F RID: 4255 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600109F")]
[Address(RVA = "0x500D00", Offset = "0x4FF500", VA = "0x180500D00")]
private void CalculatePointerMovementMouse(InputAction.CallbackContext context)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010A0 RID: 4256 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010A0")]
[Address(RVA = "0x500DB0", Offset = "0x4FF5B0", VA = "0x180500DB0")]
private void CalculatePointerMovement(InputAction.CallbackContext context)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010A1 RID: 4257 RVA: 0x00026CA0 File Offset: 0x00024EA0
[Token(Token = "0x60010A1")]
[Address(RVA = "0x5029D0", Offset = "0x5011D0", VA = "0x1805029D0")]
private void SendPointerMovementEvent(Vector2 value)
{
if (this.magicController != 0)
{
}
if (this.pointerController != 0)
{
}
}
// Token: 0x060010A2 RID: 4258 RVA: 0x00026CC0 File Offset: 0x00024EC0
[Token(Token = "0x60010A2")]
[Address(RVA = "0x500C80", Offset = "0x4FF480", VA = "0x180500C80")]
private void CalculateItemSelectionInput(InputAction.CallbackContext context)
{
float num = context.ReadValue<float>();
int num2 = 0;
IItemController itemController = this.itemController;
if ((num <= (float)num2 && itemController == 0) || itemController != 0)
{
}
}
// Token: 0x060010A3 RID: 4259 RVA: 0x00026CEC File Offset: 0x00024EEC
[Token(Token = "0x60010A3")]
[Address(RVA = "0x500E30", Offset = "0x4FF630", VA = "0x180500E30")]
private void CalculateUIMovementInput(InputAction.CallbackContext context)
{
if (!context.canceled)
{
Vector2 vector = context.ReadValue<Vector2>();
this.uiMovement.UpdateMovement(vector);
Action<bool> action = this.cursorStateChangedHandler;
if (action != 0)
{
int num = 0;
action(num);
}
}
}
// Token: 0x060010A4 RID: 4260 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010A4")]
[Address(RVA = "0x5025B0", Offset = "0x500DB0", VA = "0x1805025B0")]
private void OnControllerChanged(PlayerInput input)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010A5 RID: 4261 RVA: 0x00026D30 File Offset: 0x00024F30
[Token(Token = "0x60010A5")]
[Address(RVA = "0x501340", Offset = "0x4FFB40", VA = "0x180501340")]
private ControllerDevice GetControllerDevice(InputDevice device)
{
string layout;
for (;;)
{
layout = device.layout;
if (layout == 0)
{
return ControllerDevice.Xbox;
}
if (string.Equals(layout, "SwitchProControllerHID"))
{
break;
}
if (string.Equals(layout, "DualShock4GamepadHID"))
{
return ControllerDevice.Playstation4;
}
if (!string.Equals(layout, "DualSenseGamepadHID"))
{
goto Block_3;
}
}
return ControllerDevice.NintendoSwitch;
Block_3:
bool flag = string.Equals(layout, "XInputControllerWindows");
return ControllerDevice.Xbox;
}
// Token: 0x060010A6 RID: 4262 RVA: 0x00026D8C File Offset: 0x00024F8C
[Token(Token = "0x60010A6")]
[Address(RVA = "0x502A60", Offset = "0x501260", VA = "0x180502A60")]
public void SwitchActionMap(string actionMapName)
{
this.playerInput.SwitchCurrentActionMap(actionMapName);
this.uiMovement.Cancel();
if (string.Equals(actionMapName, "Gameplay"))
{
Action<bool> action = this.cursorStateChangedHandler;
if (action != 0)
{
int num = 0;
action(num);
}
}
this.lastActionMap = actionMapName;
throw new NullReferenceException();
}
// Token: 0x060010A7 RID: 4263 RVA: 0x00026DE0 File Offset: 0x00024FE0
[Token(Token = "0x60010A7")]
[Address(RVA = "0x500A30", Offset = "0x4FF230", VA = "0x180500A30")]
public void ActivatePlayerInput()
{
this.playerInput.ActivateInput();
}
// Token: 0x060010A8 RID: 4264 RVA: 0x00026E00 File Offset: 0x00025000
[Token(Token = "0x60010A8")]
[Address(RVA = "0x500ED0", Offset = "0x4FF6D0", VA = "0x180500ED0")]
public void DeactivatePlayerInput()
{
this.playerInput.DeactivateInput();
}
// Token: 0x060010A9 RID: 4265 RVA: 0x00026E20 File Offset: 0x00025020
[Token(Token = "0x60010A9")]
[Address(RVA = "0x5012B0", Offset = "0x4FFAB0", VA = "0x1805012B0")]
public void EnablePauseMenuAction()
{
InputActionMap inputActionMap = this.gameplayActionMap;
int num = 0;
inputActionMap.FindAction("PauseMenu", num != 0).Enable();
InputActionMap inputActionMap2 = this.uiControlActionMap;
int num2 = 0;
inputActionMap2.FindAction("PauseMenu", num2 != 0).Enable();
}
// Token: 0x060010AA RID: 4266 RVA: 0x00026E68 File Offset: 0x00025068
[Token(Token = "0x60010AA")]
[Address(RVA = "0x501220", Offset = "0x4FFA20", VA = "0x180501220")]
public void DisablePauseMenuAction()
{
InputActionMap inputActionMap = this.gameplayActionMap;
int num = 0;
inputActionMap.FindAction("PauseMenu", num != 0).Disable();
InputActionMap inputActionMap2 = this.uiControlActionMap;
int num2 = 0;
inputActionMap2.FindAction("PauseMenu", num2 != 0).Disable();
}
// Token: 0x060010AB RID: 4267 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010AB")]
[Address(RVA = "0x500A50", Offset = "0x4FF250", VA = "0x180500A50")]
public void AddDeviceChangedHandler(Action<ControllerDevice> handler)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010AC RID: 4268 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010AC")]
[Address(RVA = "0x502930", Offset = "0x501130", VA = "0x180502930")]
public void RemoveDeviceChangedHandler(Action<ControllerDevice> handler)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010AD RID: 4269 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010AD")]
[Address(RVA = "0x500BE0", Offset = "0x4FF3E0", VA = "0x180500BE0")]
public void BindCursorStateChangedHandler(Action<bool> handler)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010AE RID: 4270 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010AE")]
[Address(RVA = "0x505980", Offset = "0x504180", VA = "0x180505980")]
public void UnbindCursorStateChangedHandler(Action<bool> handler)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010AF RID: 4271 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010AF")]
[Address(RVA = "0x500AF0", Offset = "0x4FF2F0", VA = "0x180500AF0")]
public void BindAnyKeyDownHandler(Action handler)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010B0 RID: 4272 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010B0")]
[Address(RVA = "0x500EF0", Offset = "0x4FF6F0", VA = "0x180500EF0")]
private void DetectAnyKeyDown(InputEventPtr eventPtr, InputDevice device)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010B1 RID: 4273 RVA: 0x00026EB0 File Offset: 0x000250B0
[Token(Token = "0x60010B1")]
[Address(RVA = "0x458BE0", Offset = "0x4573E0", VA = "0x180458BE0")]
public void UpdateSceneMenuController(ISceneMenuController controller)
{
/*
An exception occurred when decompiling this method (060010B1)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::UpdateSceneMenuController(ISceneMenuController)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:ISceneMenuController(GameInputManager::sceneMenuController, ldloc:GameInputManager(this), ldloc:ISceneMenuController(controller)); };
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: 0x060010B2 RID: 4274 RVA: 0x00026EC4 File Offset: 0x000250C4
[Token(Token = "0x60010B2")]
[Address(RVA = "0x505EE0", Offset = "0x5046E0", VA = "0x180505EE0")]
public void UpdateStoryController(IStoryController controller)
{
/*
An exception occurred when decompiling this method (060010B2)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::UpdateStoryController(IStoryController)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:IStoryController(GameInputManager::storyController, ldloc:GameInputManager(this), ldloc:IStoryController(controller)); };
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: 0x060010B3 RID: 4275 RVA: 0x00026ED8 File Offset: 0x000250D8
[Token(Token = "0x60010B3")]
[Address(RVA = "0x505EF0", Offset = "0x5046F0", VA = "0x180505EF0")]
public void UpdateUIController(IUIController controller)
{
this.uiController = controller;
UIMovementCalculator uimovementCalculator = this.uiMovement;
IUIController iuicontroller = this.uiController;
uimovementCalculator.UpdateUIController(iuicontroller);
}
// Token: 0x060010B4 RID: 4276 RVA: 0x00026F08 File Offset: 0x00025108
[Token(Token = "0x60010B4")]
[Address(RVA = "0x505A40", Offset = "0x504240", VA = "0x180505A40")]
public void UpdateCharacterController(ICharacterController controller)
{
this.characterController = controller;
CharacterMovementCalculator characterMovementCalculator = this.characterMovement;
ICharacterController characterController = this.characterController;
characterMovementCalculator.characterController = characterController;
throw new NullReferenceException();
}
// Token: 0x060010B5 RID: 4277 RVA: 0x00026F38 File Offset: 0x00025138
[Token(Token = "0x60010B5")]
[Address(RVA = "0x458C20", Offset = "0x457420", VA = "0x180458C20")]
public void UpdateMagicController(IMagicController controller)
{
/*
An exception occurred when decompiling this method (060010B5)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::UpdateMagicController(IMagicController)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:IMagicController(GameInputManager::magicController, ldloc:GameInputManager(this), ldloc:IMagicController(controller)); };
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: 0x060010B6 RID: 4278 RVA: 0x00026F4C File Offset: 0x0002514C
[Token(Token = "0x60010B6")]
[Address(RVA = "0x458A70", Offset = "0x457270", VA = "0x180458A70")]
public void UpdateItemController(IItemController controller)
{
/*
An exception occurred when decompiling this method (060010B6)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::UpdateItemController(IItemController)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:IItemController(GameInputManager::itemController, ldloc:GameInputManager(this), ldloc:IItemController(controller)); };
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: 0x060010B7 RID: 4279 RVA: 0x00026F60 File Offset: 0x00025160
[Token(Token = "0x60010B7")]
[Address(RVA = "0x4CF0D0", Offset = "0x4CD8D0", VA = "0x1804CF0D0")]
public void BindPointerController(IPointerController controller)
{
/*
An exception occurred when decompiling this method (060010B7)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void GameInputManager::BindPointerController(IPointerController)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:IPointerController(GameInputManager::pointerController, ldloc:GameInputManager(this), ldloc:IPointerController(controller)); };
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: 0x060010B8 RID: 4280 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010B8")]
[Address(RVA = "0x505A20", Offset = "0x504220", VA = "0x180505A20")]
public void UnbindPointerController()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010B9 RID: 4281 RVA: 0x00026F74 File Offset: 0x00025174
[Token(Token = "0x60010B9")]
[Address(RVA = "0x505A90", Offset = "0x504290", VA = "0x180505A90")]
public void UpdateCursorData(Vector2 cursorPosition)
{
this.cursorPosition = cursorPosition;
}
// Token: 0x060010BA RID: 4282 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010BA")]
[Address(RVA = "0x505AA0", Offset = "0x5042A0", VA = "0x180505AA0")]
public void UpdateCursorPosition()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010BB RID: 4283 RVA: 0x00026F88 File Offset: 0x00025188
[Token(Token = "0x60010BB")]
[Address(RVA = "0x505B30", Offset = "0x504330", VA = "0x180505B30")]
public void UpdateInputBindings()
{
this.ModifyKeyboardMoveInputPath();
this.ModifyStandardInputPath("CameraMode");
this.ModifyKeyboardInputPath("Walk");
this.ModifyStandardInputPath("Dash");
this.ModifyStandardInputPath("Jump");
this.ModifyStandardInputPath("Dodge");
this.ModifyStandardInputPath("Interact");
this.ModifyStandardInputPath("Attack");
this.ModifyStandardInputPath("Chant");
this.ModifyStandardInputPath("Aim");
this.ModifyStandardInputPath("Shoot");
this.ModifyStandardInputPath("MagicMenu");
this.ModifyKeyboardInputPath("SecretMagic");
this.ModifyKeyboardInputPath("IceMagic");
this.ModifyKeyboardInputPath("FireMagic");
this.ModifyKeyboardInputPath("ThunderMagic");
this.ModifyGamepadInputPath("ItemLeftward");
this.ModifyGamepadInputPath("ItemRightward");
this.ModifyKeyboardInputPath("Item01");
this.ModifyKeyboardInputPath("Item02");
this.ModifyKeyboardInputPath("Item03");
this.ModifyKeyboardInputPath("Item04");
this.ModifyKeyboardInputPath("Item05");
this.ModifyKeyboardInputPath("Item06");
this.ModifyKeyboardInputPath("Item07");
this.ModifyKeyboardInputPath("Item08");
this.ModifyStandardInputPath("UseItem");
this.ModifyStandardInputPath("DropItem");
}
// Token: 0x060010BC RID: 4284 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010BC")]
[Address(RVA = "0x501C40", Offset = "0x500440", VA = "0x180501C40")]
private void ModifyKeyboardMoveInputPath()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010BD RID: 4285 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010BD")]
[Address(RVA = "0x502070", Offset = "0x500870", VA = "0x180502070")]
private void ModifyStandardInputPath(string actionName)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010BE RID: 4286 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010BE")]
[Address(RVA = "0x501B10", Offset = "0x500310", VA = "0x180501B10")]
private void ModifyKeyboardInputPath(string actionName)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010BF RID: 4287 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010BF")]
[Address(RVA = "0x501850", Offset = "0x500050", VA = "0x180501850")]
private void ModifyGamepadInputPath(string actionName)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010C0 RID: 4288 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010C0")]
[Address(RVA = "0x502880", Offset = "0x501080", VA = "0x180502880")]
private void OverrideKeyBinding(InputAction inputAction, string overridePath)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010C1 RID: 4289 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010C1")]
[Address(RVA = "0x5027D0", Offset = "0x500FD0", VA = "0x1805027D0")]
private void OverrideKeyBinding(InputAction inputAction, string overridePath, int bindingIndex)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010C2 RID: 4290 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010C2")]
[Address(RVA = "0x5023B0", Offset = "0x500BB0", VA = "0x1805023B0")]
private void OnApplicationFocus(bool focus)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010C3 RID: 4291 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010C3")]
[Address(RVA = "0x502520", Offset = "0x500D20", VA = "0x180502520")]
private void OnApplicationQuit()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010C4 RID: 4292 RVA: 0x000270C4 File Offset: 0x000252C4
[Token(Token = "0x60010C4")]
[Address(RVA = "0x505F40", Offset = "0x504740", VA = "0x180505F40")]
public GameInputManager()
{
CharacterMovementCalculator characterMovementCalculator = new CharacterMovementCalculator();
this.characterMovement = characterMovementCalculator;
UIMovementCalculator uimovementCalculator = new UIMovementCalculator();
this.uiMovement = uimovementCalculator;
GamepadVibration gamepadVibration = new GamepadVibration();
float[] array = new float[2];
gamepadVibration.frequency = array;
this.vibration = gamepadVibration;
this.lastActionMap = "";
base..ctor();
}
// Token: 0x060010C5 RID: 4293 RVA: 0x00027118 File Offset: 0x00025318
[Token(Token = "0x60010C5")]
[Address(RVA = "0x504F30", Offset = "0x503730", VA = "0x180504F30")]
[CompilerGenerated]
private void <Init>g__InitStageUIController|31_0()
{
InputActionMap inputActionMap = this.gameplayActionMap;
int num = 0;
InputAction inputAction = inputActionMap.FindAction("PauseMenu", num != 0);
Action<InputAction.CallbackContext> action = delegate(InputAction.CallbackContext _)
{
if (this.sceneMenuController != 0)
{
}
};
inputAction.started += action;
InputActionMap inputActionMap2 = this.uiControlActionMap;
int num2 = 0;
InputAction inputAction2 = inputActionMap2.FindAction("PauseMenu", num2 != 0);
Action<InputAction.CallbackContext> action2 = delegate(InputAction.CallbackContext _)
{
if (this.sceneMenuController != 0)
{
}
};
inputAction2.started += action2;
}
// Token: 0x060010C8 RID: 4296 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010C8")]
[Address(RVA = "0x5052B0", Offset = "0x503AB0", VA = "0x1805052B0")]
[CompilerGenerated]
private void <Init>g__InitUIInputEvent|31_1()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060010D1 RID: 4305 RVA: 0x00027268 File Offset: 0x00025468
[Token(Token = "0x60010D1")]
[Address(RVA = "0x5038C0", Offset = "0x5020C0", VA = "0x1805038C0")]
[CompilerGenerated]
private void <Init>g__InitCharacterController|31_2()
{
InputActionMap inputActionMap = this.gameplayActionMap;
int num = 0;
InputAction inputAction = inputActionMap.FindAction("CharacterMovementUp", num != 0);
Action<InputAction.CallbackContext> action = new Action(this.characterMovement.OnUpKeyPressed);
inputAction.started += action;
InputActionMap inputActionMap2 = this.gameplayActionMap;
int num2 = 0;
InputAction inputAction2 = inputActionMap2.FindAction("CharacterMovementUp", num2 != 0);
Action<InputAction.CallbackContext> action2 = new Action(this.characterMovement.OnUpKeyPressed);
inputAction2.canceled += action2;
InputActionMap inputActionMap3 = this.gameplayActionMap;
int num3 = 0;
InputAction inputAction3 = inputActionMap3.FindAction("CharacterMovementDown", num3 != 0);
Action<InputAction.CallbackContext> action3 = new Action(this.characterMovement.OnDownKeyPressed);
inputAction3.started += action3;
InputActionMap inputActionMap4 = this.gameplayActionMap;
int num4 = 0;
InputAction inputAction4 = inputActionMap4.FindAction("CharacterMovementDown", num4 != 0);
Action<InputAction.CallbackContext> action4 = new Action(this.characterMovement.OnDownKeyPressed);
inputAction4.canceled += action4;
InputActionMap inputActionMap5 = this.gameplayActionMap;
int num5 = 0;
InputAction inputAction5 = inputActionMap5.FindAction("CharacterMovementLeft", num5 != 0);
Action<InputAction.CallbackContext> action5 = new Action(this.characterMovement.OnLeftKeyPressed);
inputAction5.started += action5;
InputActionMap inputActionMap6 = this.gameplayActionMap;
int num6 = 0;
InputAction inputAction6 = inputActionMap6.FindAction("CharacterMovementLeft", num6 != 0);
Action<InputAction.CallbackContext> action6 = new Action(this.characterMovement.OnLeftKeyPressed);
inputAction6.canceled += action6;
InputActionMap inputActionMap7 = this.gameplayActionMap;
int num7 = 0;
InputAction inputAction7 = inputActionMap7.FindAction("CharacterMovementRight", num7 != 0);
Action<InputAction.CallbackContext> action7 = new Action(this.characterMovement.OnRightKeyPressed);
inputAction7.started += action7;
InputActionMap inputActionMap8 = this.gameplayActionMap;
int num8 = 0;
InputAction inputAction8 = inputActionMap8.FindAction("CharacterMovementRight", num8 != 0);
Action<InputAction.CallbackContext> action8 = new Action(this.characterMovement.OnRightKeyPressed);
inputAction8.canceled += action8;
InputActionMap inputActionMap9 = this.gameplayActionMap;
int num9 = 0;
InputAction inputAction9 = inputActionMap9.FindAction("CharacterMovement", num9 != 0);
Action<InputAction.CallbackContext> action9 = new Action(this.characterMovement.OnJoyStickChanged);
inputAction9.performed += action9;
InputActionMap inputActionMap10 = this.gameplayActionMap;
int num10 = 0;
InputAction inputAction10 = inputActionMap10.FindAction("CharacterMovement", num10 != 0);
Action<InputAction.CallbackContext> action10 = new Action(this.characterMovement.OnJoyStickChanged);
inputAction10.canceled += action10;
InputActionMap inputActionMap11 = this.gameplayActionMap;
int num11 = 0;
InputAction inputAction11 = inputActionMap11.FindAction("PointerMovement", num11 != 0);
Action<InputAction.CallbackContext> action11 = new Action(this.CalculatePointerMovement);
inputAction11.performed += action11;
InputActionMap inputActionMap12 = this.gameplayActionMap;
int num12 = 0;
InputAction inputAction12 = inputActionMap12.FindAction("PointerMovement", num12 != 0);
Action<InputAction.CallbackContext> action12 = new Action(this.CalculatePointerMovement);
inputAction12.canceled += action12;
InputActionMap inputActionMap13 = this.gameplayActionMap;
int num13 = 0;
InputAction inputAction13 = inputActionMap13.FindAction("PointerMovementMouse", num13 != 0);
Action<InputAction.CallbackContext> action13 = new Action(this.CalculatePointerMovementMouse);
inputAction13.performed += action13;
InputActionMap inputActionMap14 = this.gameplayActionMap;
int num14 = 0;
InputAction inputAction14 = inputActionMap14.FindAction("PointerMovementMouse", num14 != 0);
Action<InputAction.CallbackContext> action14 = new Action(this.CalculatePointerMovementMouse);
inputAction14.canceled += action14;
InputActionMap inputActionMap15 = this.gameplayActionMap;
int num15 = 0;
InputAction inputAction15 = inputActionMap15.FindAction("CameraMode", num15 != 0);
Action<InputAction.CallbackContext> action15 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction15.started += action15;
InputActionMap inputActionMap16 = this.gameplayActionMap;
int num16 = 0;
InputAction inputAction16 = inputActionMap16.FindAction("Jump", num16 != 0);
Action<InputAction.CallbackContext> action16 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction16.started += action16;
InputActionMap inputActionMap17 = this.gameplayActionMap;
int num17 = 0;
InputAction inputAction17 = inputActionMap17.FindAction("Dodge", num17 != 0);
Action<InputAction.CallbackContext> action17 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction17.started += action17;
InputActionMap inputActionMap18 = this.gameplayActionMap;
int num18 = 0;
InputAction inputAction18 = inputActionMap18.FindAction("Interact", num18 != 0);
Action<InputAction.CallbackContext> action18 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction18.started += action18;
InputActionMap inputActionMap19 = this.gameplayActionMap;
int num19 = 0;
InputAction inputAction19 = inputActionMap19.FindAction("Attack", num19 != 0);
Action<InputAction.CallbackContext> action19 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction19.started += action19;
InputActionMap inputActionMap20 = this.gameplayActionMap;
int num20 = 0;
InputAction inputAction20 = inputActionMap20.FindAction("Chant", num20 != 0);
Action<InputAction.CallbackContext> action20 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction20.started += action20;
InputActionMap inputActionMap21 = this.gameplayActionMap;
int num21 = 0;
InputAction inputAction21 = inputActionMap21.FindAction("Walk", num21 != 0);
Action<InputAction.CallbackContext> action21 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction21.started += action21;
InputActionMap inputActionMap22 = this.gameplayActionMap;
int num22 = 0;
InputAction inputAction22 = inputActionMap22.FindAction("Walk", num22 != 0);
Action<InputAction.CallbackContext> action22 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction22.canceled += action22;
InputActionMap inputActionMap23 = this.gameplayActionMap;
int num23 = 0;
InputAction inputAction23 = inputActionMap23.FindAction("Dash", num23 != 0);
Action<InputAction.CallbackContext> action23 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction23.started += action23;
InputActionMap inputActionMap24 = this.gameplayActionMap;
int num24 = 0;
InputAction inputAction24 = inputActionMap24.FindAction("Dash", num24 != 0);
Action<InputAction.CallbackContext> action24 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction24.canceled += action24;
InputActionMap inputActionMap25 = this.gameplayActionMap;
int num25 = 0;
InputAction inputAction25 = inputActionMap25.FindAction("Aim", num25 != 0);
Action<InputAction.CallbackContext> action25 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction25.started += action25;
InputActionMap inputActionMap26 = this.gameplayActionMap;
int num26 = 0;
InputAction inputAction26 = inputActionMap26.FindAction("Aim", num26 != 0);
Action<InputAction.CallbackContext> action26 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction26.canceled += action26;
InputActionMap inputActionMap27 = this.gameplayActionMap;
int num27 = 0;
InputAction inputAction27 = inputActionMap27.FindAction("Shoot", num27 != 0);
Action<InputAction.CallbackContext> action27 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction27.started += action27;
InputActionMap inputActionMap28 = this.gameplayActionMap;
int num28 = 0;
InputAction inputAction28 = inputActionMap28.FindAction("Shoot", num28 != 0);
Action<InputAction.CallbackContext> action28 = delegate(InputAction.CallbackContext _)
{
if (this.characterController != 0)
{
}
};
inputAction28.canceled += action28;
}
// Token: 0x060010E0 RID: 4320 RVA: 0x00027970 File Offset: 0x00025B70
[Token(Token = "0x60010E0")]
[Address(RVA = "0x504C10", Offset = "0x503410", VA = "0x180504C10")]
[CompilerGenerated]
private void <Init>g__InitMagicController|31_3()
{
InputActionMap inputActionMap = this.gameplayActionMap;
int num = 0;
InputAction inputAction = inputActionMap.FindAction("MagicMenu", num != 0);
Action<InputAction.CallbackContext> action = delegate(InputAction.CallbackContext _)
{
if (this.magicController != 0)
{
}
};
inputAction.started += action;
InputActionMap inputActionMap2 = this.gameplayActionMap;
int num2 = 0;
InputAction inputAction2 = inputActionMap2.FindAction("MagicMenu", num2 != 0);
Action<InputAction.CallbackContext> action2 = delegate(InputAction.CallbackContext _)
{
if (this.magicController != 0)
{
}
};
inputAction2.canceled += action2;
InputActionMap inputActionMap3 = this.gameplayActionMap;
int num3 = 0;
InputAction inputAction3 = inputActionMap3.FindAction("SecretMagic", num3 != 0);
Action<InputAction.CallbackContext> action3 = delegate(InputAction.CallbackContext _)
{
if (this.magicController != 0)
{
}
};
inputAction3.started += action3;
InputActionMap inputActionMap4 = this.gameplayActionMap;
int num4 = 0;
InputAction inputAction4 = inputActionMap4.FindAction("IceMagic", num4 != 0);
Action<InputAction.CallbackContext> action4 = delegate(InputAction.CallbackContext _)
{
if (this.magicController != 0)
{
}
};
inputAction4.started += action4;
InputActionMap inputActionMap5 = this.gameplayActionMap;
int num5 = 0;
InputAction inputAction5 = inputActionMap5.FindAction("FireMagic", num5 != 0);
Action<InputAction.CallbackContext> action5 = delegate(InputAction.CallbackContext _)
{
if (this.magicController != 0)
{
}
};
inputAction5.started += action5;
InputActionMap inputActionMap6 = this.gameplayActionMap;
int num6 = 0;
InputAction inputAction6 = inputActionMap6.FindAction("ThunderMagic", num6 != 0);
Action<InputAction.CallbackContext> action6 = delegate(InputAction.CallbackContext _)
{
if (this.magicController != 0)
{
}
};
inputAction6.started += action6;
}
// Token: 0x060010E7 RID: 4327 RVA: 0x00027B38 File Offset: 0x00025D38
[Token(Token = "0x60010E7")]
[Address(RVA = "0x5045A0", Offset = "0x502DA0", VA = "0x1805045A0")]
[CompilerGenerated]
private void <Init>g__InitItemController|31_4()
{
InputActionMap inputActionMap = this.gameplayActionMap;
int num = 0;
InputAction inputAction = inputActionMap.FindAction("ItemWheel", num != 0);
Action<InputAction.CallbackContext> action = new Action(this.CalculateItemSelectionInput);
inputAction.started += action;
InputActionMap inputActionMap2 = this.gameplayActionMap;
int num2 = 0;
InputAction inputAction2 = inputActionMap2.FindAction("ItemLeftward", num2 != 0);
Action<InputAction.CallbackContext> action2 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction2.started += action2;
InputActionMap inputActionMap3 = this.gameplayActionMap;
int num3 = 0;
InputAction inputAction3 = inputActionMap3.FindAction("ItemRightward", num3 != 0);
Action<InputAction.CallbackContext> action3 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction3.started += action3;
InputActionMap inputActionMap4 = this.gameplayActionMap;
int num4 = 0;
InputAction inputAction4 = inputActionMap4.FindAction("Item01", num4 != 0);
Action<InputAction.CallbackContext> action4 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction4.started += action4;
InputActionMap inputActionMap5 = this.gameplayActionMap;
int num5 = 0;
InputAction inputAction5 = inputActionMap5.FindAction("Item02", num5 != 0);
Action<InputAction.CallbackContext> action5 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction5.started += action5;
InputActionMap inputActionMap6 = this.gameplayActionMap;
int num6 = 0;
InputAction inputAction6 = inputActionMap6.FindAction("Item03", num6 != 0);
Action<InputAction.CallbackContext> action6 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction6.started += action6;
InputActionMap inputActionMap7 = this.gameplayActionMap;
int num7 = 0;
InputAction inputAction7 = inputActionMap7.FindAction("Item04", num7 != 0);
Action<InputAction.CallbackContext> action7 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction7.started += action7;
InputActionMap inputActionMap8 = this.gameplayActionMap;
int num8 = 0;
InputAction inputAction8 = inputActionMap8.FindAction("Item05", num8 != 0);
Action<InputAction.CallbackContext> action8 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction8.started += action8;
InputActionMap inputActionMap9 = this.gameplayActionMap;
int num9 = 0;
InputAction inputAction9 = inputActionMap9.FindAction("Item06", num9 != 0);
Action<InputAction.CallbackContext> action9 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction9.started += action9;
InputActionMap inputActionMap10 = this.gameplayActionMap;
int num10 = 0;
InputAction inputAction10 = inputActionMap10.FindAction("Item07", num10 != 0);
Action<InputAction.CallbackContext> action10 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction10.started += action10;
InputActionMap inputActionMap11 = this.gameplayActionMap;
int num11 = 0;
InputAction inputAction11 = inputActionMap11.FindAction("Item08", num11 != 0);
Action<InputAction.CallbackContext> action11 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction11.started += action11;
InputActionMap inputActionMap12 = this.gameplayActionMap;
int num12 = 0;
InputAction inputAction12 = inputActionMap12.FindAction("UseItem", num12 != 0);
Action<InputAction.CallbackContext> action12 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction12.started += action12;
InputActionMap inputActionMap13 = this.gameplayActionMap;
int num13 = 0;
InputAction inputAction13 = inputActionMap13.FindAction("DropItem", num13 != 0);
Action<InputAction.CallbackContext> action13 = delegate(InputAction.CallbackContext _)
{
if (this.itemController != 0)
{
}
};
inputAction13.started += action13;
}
// Token: 0x060010F4 RID: 4340 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60010F4")]
[Address(RVA = "0x505060", Offset = "0x503860", VA = "0x180505060")]
[CompilerGenerated]
private void <Init>g__InitStoryController|31_5()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04001B57 RID: 6999
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001B57")]
[SerializeField]
private ControllerDevice currentDevice;
// Token: 0x04001B58 RID: 7000
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4001B58")]
[SerializeField]
private ControllerDevice lastGamepadController;
// Token: 0x04001B59 RID: 7001
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001B59")]
private IUIController uiController;
// Token: 0x04001B5A RID: 7002
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001B5A")]
private ICharacterController characterController;
// Token: 0x04001B5B RID: 7003
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001B5B")]
private IMagicController magicController;
// Token: 0x04001B5C RID: 7004
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001B5C")]
private IItemController itemController;
// Token: 0x04001B5D RID: 7005
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4001B5D")]
private ISceneMenuController sceneMenuController;
// Token: 0x04001B5E RID: 7006
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4001B5E")]
private IStoryController storyController;
// Token: 0x04001B5F RID: 7007
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x4001B5F")]
private IPointerController pointerController;
// Token: 0x04001B60 RID: 7008
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4001B60")]
private PlayerInput playerInput;
// Token: 0x04001B61 RID: 7009
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4001B61")]
private InputActionMap gameplayActionMap;
// Token: 0x04001B62 RID: 7010
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x4001B62")]
private InputActionMap uiControlActionMap;
// Token: 0x04001B63 RID: 7011
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x4001B63")]
private InputActionMap storyActionMap;
// Token: 0x04001B64 RID: 7012
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x4001B64")]
private CharacterMovementCalculator characterMovement;
// Token: 0x04001B65 RID: 7013
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x4001B65")]
private UIMovementCalculator uiMovement;
// Token: 0x04001B66 RID: 7014
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4001B66")]
private GamepadVibration vibration;
// Token: 0x04001B69 RID: 7017
[FieldOffset(Offset = "0xA0")]
[Token(Token = "0x4001B69")]
private Vector2 cursorPosition;
// Token: 0x04001B6A RID: 7018
[FieldOffset(Offset = "0xA8")]
[Token(Token = "0x4001B6A")]
private Action anyKeyDownHandler;
// Token: 0x04001B6B RID: 7019
[FieldOffset(Offset = "0xB0")]
[Token(Token = "0x4001B6B")]
private string lastActionMap;
}