using System;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.InputSystem;

// Token: 0x0200016E RID: 366
[Token(Token = "0x200016E")]
public class CharacterMovementCalculator
{
	// Token: 0x060011F3 RID: 4595 RVA: 0x000294B4 File Offset: 0x000276B4
	[Token(Token = "0x60011F3")]
	[Address(RVA = "0x454210", Offset = "0x453210", VA = "0x180454210")]
	public void UpdateCharacterController(ICharacterController characterController)
	{
		/*
An exception occurred when decompiling this method (060011F3)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void CharacterMovementCalculator::UpdateCharacterController(ICharacterController)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:ICharacterController(CharacterMovementCalculator::characterController, ldloc:CharacterMovementCalculator(this), ldloc:ICharacterController(characterController)); }; 
   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: 0x060011F4 RID: 4596 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011F4")]
	[Address(RVA = "0xB96690", Offset = "0xB95690", VA = "0x180B96690")]
	public void OnUpKeyPressed(InputAction.CallbackContext context)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060011F5 RID: 4597 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011F5")]
	[Address(RVA = "0xB96410", Offset = "0xB95410", VA = "0x180B96410")]
	public void OnDownKeyPressed(InputAction.CallbackContext context)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060011F6 RID: 4598 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011F6")]
	[Address(RVA = "0xB96530", Offset = "0xB95530", VA = "0x180B96530")]
	public void OnLeftKeyPressed(InputAction.CallbackContext context)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060011F7 RID: 4599 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011F7")]
	[Address(RVA = "0xB965E0", Offset = "0xB955E0", VA = "0x180B965E0")]
	public void OnRightKeyPressed(InputAction.CallbackContext context)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060011F8 RID: 4600 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60011F8")]
	[Address(RVA = "0xB963A0", Offset = "0xB953A0", VA = "0x180B963A0")]
	private void CalculateKeyboardInput()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060011F9 RID: 4601 RVA: 0x000294C8 File Offset: 0x000276C8
	[Token(Token = "0x60011F9")]
	[Address(RVA = "0xB964C0", Offset = "0xB954C0", VA = "0x180B964C0")]
	public void OnJoyStickChanged(InputAction.CallbackContext context)
	{
		Vector2 vector = context.ReadValue<Vector2>();
		if (this.characterController != 0)
		{
		}
	}

	// Token: 0x060011FA RID: 4602 RVA: 0x000294E8 File Offset: 0x000276E8
	[Token(Token = "0x60011FA")]
	[Address(RVA = "0x36ABD0", Offset = "0x369BD0", VA = "0x18036ABD0")]
	public CharacterMovementCalculator()
	{
	}

	// Token: 0x04001C8F RID: 7311
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4001C8F")]
	private bool onUpKeyPressed;

	// Token: 0x04001C90 RID: 7312
	[FieldOffset(Offset = "0x11")]
	[Token(Token = "0x4001C90")]
	private bool onDownKeyPressed;

	// Token: 0x04001C91 RID: 7313
	[FieldOffset(Offset = "0x12")]
	[Token(Token = "0x4001C91")]
	private bool onLeftKeyPressed;

	// Token: 0x04001C92 RID: 7314
	[FieldOffset(Offset = "0x13")]
	[Token(Token = "0x4001C92")]
	private bool onRightKeyPressed;

	// Token: 0x04001C93 RID: 7315
	[FieldOffset(Offset = "0x14")]
	[Token(Token = "0x4001C93")]
	private float verticalInput;

	// Token: 0x04001C94 RID: 7316
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001C94")]
	private float horizontalInput;

	// Token: 0x04001C95 RID: 7317
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001C95")]
	private ICharacterController characterController;
}
