using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020002F1 RID: 753
[Token(Token = "0x20002F1")]
public class PlayerInputController : ICharacterController, IItemController, IMagicController
{
	// Token: 0x06001C9E RID: 7326 RVA: 0x000446D0 File Offset: 0x000428D0
	[Token(Token = "0x6001C9E")]
	[Address(RVA = "0x1391AD0", Offset = "0x13908D0", VA = "0x181391AD0")]
	public void Init(WizardGirlManage nobeta, PlayerController controller)
	{
		this.controller = controller;
		Game.BindCharacterController(this);
		Game.BindItemController(this);
		Game.BindMagicController(this);
	}

	// Token: 0x06001C9F RID: 7327 RVA: 0x000446F8 File Offset: 0x000428F8
	[Token(Token = "0x6001C9F")]
	[Address(RVA = "0x1391CC0", Offset = "0x1390AC0", VA = "0x181391CC0", Slot = "4")]
	public void Move(Vector2 movement)
	{
		this.controller.UpdateMovement(movement);
	}

	// Token: 0x06001CA0 RID: 7328 RVA: 0x00044718 File Offset: 0x00042918
	[Token(Token = "0x6001CA0")]
	[Address(RVA = "0x1391F00", Offset = "0x1390D00", VA = "0x181391F00", Slot = "5")]
	public void Walk(bool onHolding)
	{
		this.controller.UpdateWalkState(onHolding);
	}

	// Token: 0x06001CA1 RID: 7329 RVA: 0x00044738 File Offset: 0x00042938
	[Token(Token = "0x6001CA1")]
	[Address(RVA = "0x1391A70", Offset = "0x1390870", VA = "0x181391A70", Slot = "6")]
	public void Dash(bool onHolding)
	{
		this.controller.UpdateDashState(onHolding);
	}

	// Token: 0x06001CA2 RID: 7330 RVA: 0x00044758 File Offset: 0x00042958
	[Token(Token = "0x6001CA2")]
	[Address(RVA = "0x1391B80", Offset = "0x1390980", VA = "0x181391B80", Slot = "7")]
	public void Jump()
	{
		this.controller.OnJumpKeyDown();
	}

	// Token: 0x06001CA3 RID: 7331 RVA: 0x00044778 File Offset: 0x00042978
	[Token(Token = "0x6001CA3")]
	[Address(RVA = "0x1391A90", Offset = "0x1390890", VA = "0x181391A90", Slot = "8")]
	public void Dodge()
	{
		this.controller.OnDodgeKeyDown();
	}

	// Token: 0x06001CA4 RID: 7332 RVA: 0x00044798 File Offset: 0x00042998
	[Token(Token = "0x6001CA4")]
	[Address(RVA = "0x1391B60", Offset = "0x1390960", VA = "0x181391B60", Slot = "9")]
	public void Interact()
	{
		this.controller.OnInteractKeyDown();
	}

	// Token: 0x06001CA5 RID: 7333 RVA: 0x000447B8 File Offset: 0x000429B8
	[Token(Token = "0x6001CA5")]
	[Address(RVA = "0x1391A30", Offset = "0x1390830", VA = "0x181391A30", Slot = "10")]
	public void Attack()
	{
		this.controller.OnAttackKeyDown();
	}

	// Token: 0x06001CA6 RID: 7334 RVA: 0x000447D8 File Offset: 0x000429D8
	[Token(Token = "0x6001CA6")]
	[Address(RVA = "0x1391A50", Offset = "0x1390850", VA = "0x181391A50", Slot = "11")]
	public void Chant()
	{
		this.controller.OnChantKeyDown();
	}

	// Token: 0x06001CA7 RID: 7335 RVA: 0x000447F8 File Offset: 0x000429F8
	[Token(Token = "0x6001CA7")]
	[Address(RVA = "0x1391930", Offset = "0x1390730", VA = "0x181391930", Slot = "12")]
	public void Aim(bool onHolding)
	{
		this.controller.UpdateAimState(onHolding);
	}

	// Token: 0x06001CA8 RID: 7336 RVA: 0x00044818 File Offset: 0x00042A18
	[Token(Token = "0x6001CA8")]
	[Address(RVA = "0x1391EA0", Offset = "0x1390CA0", VA = "0x181391EA0", Slot = "13")]
	public void Shoot(bool onHolding)
	{
		this.controller.UpdateShootState(onHolding);
	}

	// Token: 0x06001CA9 RID: 7337 RVA: 0x00044838 File Offset: 0x00042A38
	[Token(Token = "0x6001CA9")]
	[Address(RVA = "0x1391EC0", Offset = "0x1390CC0", VA = "0x181391EC0", Slot = "14")]
	public void SwitchCameraMode()
	{
		this.controller.SwitchCameraMode();
	}

	// Token: 0x06001CAA RID: 7338 RVA: 0x00044858 File Offset: 0x00042A58
	[Token(Token = "0x6001CAA")]
	[Address(RVA = "0x1391CE0", Offset = "0x1390AE0", VA = "0x181391CE0", Slot = "15")]
	public void SelectItemLeftward()
	{
		Game.PlayHandlerSE(UIHandlerSFX.ItemSelection);
		Game.UpdateItemSelectMove(Game.GetItemSelectPos() - 1);
		PlayerItem g_Item = this.controller.g_Item;
		int itemSelectPos = Game.GetItemSelectPos();
		if (itemSelectPos < g_Item.g_iItemSize)
		{
			Game.UpdateInstructions(g_Item.g_HoldItem[itemSelectPos]);
			return;
		}
		Game.UpdateInstructions(ItemSystem.ItemType.Null);
	}

	// Token: 0x06001CAB RID: 7339 RVA: 0x000448B4 File Offset: 0x00042AB4
	[Token(Token = "0x6001CAB")]
	[Address(RVA = "0x1391DB0", Offset = "0x1390BB0", VA = "0x181391DB0", Slot = "16")]
	public void SelectItemRightward()
	{
		Game.PlayHandlerSE(UIHandlerSFX.ItemSelection);
		Game.UpdateItemSelectMove(Game.GetItemSelectPos() + 1);
		PlayerItem g_Item = this.controller.g_Item;
		int itemSelectPos = Game.GetItemSelectPos();
		if (itemSelectPos < g_Item.g_iItemSize)
		{
			Game.UpdateInstructions(g_Item.g_HoldItem[itemSelectPos]);
			return;
		}
		Game.UpdateInstructions(ItemSystem.ItemType.Null);
	}

	// Token: 0x06001CAC RID: 7340 RVA: 0x00044910 File Offset: 0x00042B10
	[Token(Token = "0x6001CAC")]
	[Address(RVA = "0x1391E80", Offset = "0x1390C80", VA = "0x181391E80", Slot = "17")]
	public void SelectItem(int index)
	{
		this.controller.OnUseItemHotKeyDown(index);
	}

	// Token: 0x06001CAD RID: 7341 RVA: 0x00044930 File Offset: 0x00042B30
	[Token(Token = "0x6001CAD")]
	[Address(RVA = "0x1391EE0", Offset = "0x1390CE0", VA = "0x181391EE0", Slot = "18")]
	public void UseItem()
	{
		this.controller.OnUseItemKeyDown();
	}

	// Token: 0x06001CAE RID: 7342 RVA: 0x00044950 File Offset: 0x00042B50
	[Token(Token = "0x6001CAE")]
	[Address(RVA = "0x1391AB0", Offset = "0x13908B0", VA = "0x181391AB0", Slot = "19")]
	public void DropItem()
	{
		this.controller.OnDropItemKeyDown();
	}

	// Token: 0x06001CAF RID: 7343 RVA: 0x00044970 File Offset: 0x00042B70
	[Token(Token = "0x6001CAF")]
	[Address(RVA = "0x1391950", Offset = "0x1390750", VA = "0x181391950", Slot = "20")]
	public void AppearMagicMenu(bool onHolding)
	{
		this.controller.EnableMagicMenu(onHolding);
	}

	// Token: 0x06001CB0 RID: 7344 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001CB0")]
	[Address(RVA = "0x1391BA0", Offset = "0x13909A0", VA = "0x181391BA0", Slot = "21")]
	public void MoveMenuPointer(Vector2 movement)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001CB1 RID: 7345 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001CB1")]
	[Address(RVA = "0x1391970", Offset = "0x1390770", VA = "0x181391970", Slot = "22")]
	public void ApplyMagic(int index)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001CB2 RID: 7346 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001CB2")]
	[Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00")]
	public void Dispose()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001CB3 RID: 7347 RVA: 0x00044990 File Offset: 0x00042B90
	[Token(Token = "0x6001CB3")]
	[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
	public PlayerInputController()
	{
		this.Dispose();
	}

	// Token: 0x040025CB RID: 9675
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x40025CB")]
	private PlayerController controller;
}
