using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000345 RID: 837
[Token(Token = "0x2000345")]
public class PlayerInputController : ICharacterController, IItemController, IMagicController
{
	// Token: 0x06001F2C RID: 7980 RVA: 0x0004AAB4 File Offset: 0x00048CB4
	[Token(Token = "0x6001F2C")]
	[Address(RVA = "0x1342F50", Offset = "0x1341F50", VA = "0x181342F50")]
	public void Init(WizardGirlManage nobeta, PlayerController controller)
	{
		this.controller = controller;
		Game.BindCharacterController(this);
		Game.BindItemController(this);
		Game.BindMagicController(this);
	}

	// Token: 0x06001F2D RID: 7981 RVA: 0x0004AADC File Offset: 0x00048CDC
	[Token(Token = "0x6001F2D")]
	[Address(RVA = "0x1343140", Offset = "0x1342140", VA = "0x181343140", Slot = "4")]
	public void Move(Vector2 movement)
	{
		this.controller.UpdateMovement(movement);
	}

	// Token: 0x06001F2E RID: 7982 RVA: 0x0004AAFC File Offset: 0x00048CFC
	[Token(Token = "0x6001F2E")]
	[Address(RVA = "0x1343380", Offset = "0x1342380", VA = "0x181343380", Slot = "5")]
	public void Walk(bool onHolding)
	{
		this.controller.UpdateWalkState(onHolding);
	}

	// Token: 0x06001F2F RID: 7983 RVA: 0x0004AB1C File Offset: 0x00048D1C
	[Token(Token = "0x6001F2F")]
	[Address(RVA = "0x1342EF0", Offset = "0x1341EF0", VA = "0x181342EF0", Slot = "6")]
	public void Dash(bool onHolding)
	{
		this.controller.UpdateDashState(onHolding);
	}

	// Token: 0x06001F30 RID: 7984 RVA: 0x0004AB3C File Offset: 0x00048D3C
	[Token(Token = "0x6001F30")]
	[Address(RVA = "0x1343000", Offset = "0x1342000", VA = "0x181343000", Slot = "7")]
	public void Jump()
	{
		this.controller.OnJumpKeyDown();
	}

	// Token: 0x06001F31 RID: 7985 RVA: 0x0004AB5C File Offset: 0x00048D5C
	[Token(Token = "0x6001F31")]
	[Address(RVA = "0x1342F10", Offset = "0x1341F10", VA = "0x181342F10", Slot = "8")]
	public void Dodge()
	{
		this.controller.OnDodgeKeyDown();
	}

	// Token: 0x06001F32 RID: 7986 RVA: 0x0004AB7C File Offset: 0x00048D7C
	[Token(Token = "0x6001F32")]
	[Address(RVA = "0x1342FE0", Offset = "0x1341FE0", VA = "0x181342FE0", Slot = "9")]
	public void Interact()
	{
		this.controller.OnInteractKeyDown();
	}

	// Token: 0x06001F33 RID: 7987 RVA: 0x0004AB9C File Offset: 0x00048D9C
	[Token(Token = "0x6001F33")]
	[Address(RVA = "0x1342EB0", Offset = "0x1341EB0", VA = "0x181342EB0", Slot = "10")]
	public void Attack()
	{
		this.controller.OnAttackKeyDown();
	}

	// Token: 0x06001F34 RID: 7988 RVA: 0x0004ABBC File Offset: 0x00048DBC
	[Token(Token = "0x6001F34")]
	[Address(RVA = "0x1342ED0", Offset = "0x1341ED0", VA = "0x181342ED0", Slot = "11")]
	public void Chant()
	{
		this.controller.OnChantKeyDown();
	}

	// Token: 0x06001F35 RID: 7989 RVA: 0x0004ABDC File Offset: 0x00048DDC
	[Token(Token = "0x6001F35")]
	[Address(RVA = "0x1342DB0", Offset = "0x1341DB0", VA = "0x181342DB0", Slot = "12")]
	public void Aim(bool onHolding)
	{
		this.controller.UpdateAimState(onHolding);
	}

	// Token: 0x06001F36 RID: 7990 RVA: 0x0004ABFC File Offset: 0x00048DFC
	[Token(Token = "0x6001F36")]
	[Address(RVA = "0x1343320", Offset = "0x1342320", VA = "0x181343320", Slot = "13")]
	public void Shoot(bool onHolding)
	{
		this.controller.UpdateShootState(onHolding);
	}

	// Token: 0x06001F37 RID: 7991 RVA: 0x0004AC1C File Offset: 0x00048E1C
	[Token(Token = "0x6001F37")]
	[Address(RVA = "0x1343340", Offset = "0x1342340", VA = "0x181343340", Slot = "14")]
	public void SwitchCameraMode()
	{
		this.controller.SwitchCameraMode();
	}

	// Token: 0x06001F38 RID: 7992 RVA: 0x0004AC3C File Offset: 0x00048E3C
	[Token(Token = "0x6001F38")]
	[Address(RVA = "0x1343160", Offset = "0x1342160", VA = "0x181343160", 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: 0x06001F39 RID: 7993 RVA: 0x0004AC98 File Offset: 0x00048E98
	[Token(Token = "0x6001F39")]
	[Address(RVA = "0x1343230", Offset = "0x1342230", VA = "0x181343230", 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: 0x06001F3A RID: 7994 RVA: 0x0004ACF4 File Offset: 0x00048EF4
	[Token(Token = "0x6001F3A")]
	[Address(RVA = "0x1343300", Offset = "0x1342300", VA = "0x181343300", Slot = "17")]
	public void SelectItem(int index)
	{
		this.controller.OnUseItemHotKeyDown(index);
	}

	// Token: 0x06001F3B RID: 7995 RVA: 0x0004AD14 File Offset: 0x00048F14
	[Token(Token = "0x6001F3B")]
	[Address(RVA = "0x1343360", Offset = "0x1342360", VA = "0x181343360", Slot = "18")]
	public void UseItem()
	{
		this.controller.OnUseItemKeyDown();
	}

	// Token: 0x06001F3C RID: 7996 RVA: 0x0004AD34 File Offset: 0x00048F34
	[Token(Token = "0x6001F3C")]
	[Address(RVA = "0x1342F30", Offset = "0x1341F30", VA = "0x181342F30", Slot = "19")]
	public void DropItem()
	{
		this.controller.OnDropItemKeyDown();
	}

	// Token: 0x06001F3D RID: 7997 RVA: 0x0004AD54 File Offset: 0x00048F54
	[Token(Token = "0x6001F3D")]
	[Address(RVA = "0x1342DD0", Offset = "0x1341DD0", VA = "0x181342DD0", Slot = "20")]
	public void AppearMagicMenu(bool onHolding)
	{
		this.controller.EnableMagicMenu(onHolding);
	}

	// Token: 0x06001F3E RID: 7998 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001F3E")]
	[Address(RVA = "0x1343020", Offset = "0x1342020", VA = "0x181343020", Slot = "21")]
	public void MoveMenuPointer(Vector2 movement)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001F3F RID: 7999 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001F3F")]
	[Address(RVA = "0x1342DF0", Offset = "0x1341DF0", VA = "0x181342DF0", Slot = "22")]
	public void ApplyMagic(int index)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001F40 RID: 8000 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001F40")]
	[Address(RVA = "0x29E8B0", Offset = "0x29D8B0", VA = "0x18029E8B0")]
	public void Dispose()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001F41 RID: 8001 RVA: 0x0004AD74 File Offset: 0x00048F74
	[Token(Token = "0x6001F41")]
	[Address(RVA = "0x36ABD0", Offset = "0x369BD0", VA = "0x18036ABD0")]
	public PlayerInputController()
	{
		this.Dispose();
	}

	// Token: 0x0400287D RID: 10365
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x400287D")]
	private PlayerController controller;
}
