using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes;
using UnityEngine;

// Token: 0x02000156 RID: 342
public class IMagicController : Il2CppObjectBase
{
	// Token: 0x06004330 RID: 17200 RVA: 0x0010AE80 File Offset: 0x00109080
	[CallerCount(0)]
	public unsafe virtual void AppearMagicMenu(bool onHolding)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref onHolding;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IMagicController.NativeMethodInfoPtr_AppearMagicMenu_Public_Abstract_Virtual_New_Void_Boolean_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004331 RID: 17201 RVA: 0x0010AEE0 File Offset: 0x001090E0
	[CallerCount(0)]
	public unsafe virtual void MoveMenuPointer(Vector2 movement)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref movement;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IMagicController.NativeMethodInfoPtr_MoveMenuPointer_Public_Abstract_Virtual_New_Void_Vector2_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004332 RID: 17202 RVA: 0x0010AF40 File Offset: 0x00109140
	[CallerCount(0)]
	public unsafe virtual void ApplyMagic(int index)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref index;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IMagicController.NativeMethodInfoPtr_ApplyMagic_Public_Abstract_Virtual_New_Void_Int32_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004333 RID: 17203 RVA: 0x0010AFA0 File Offset: 0x001091A0
	// Note: this type is marked as 'beforefieldinit'.
	static IMagicController()
	{
		Il2CppClassPointerStore<IMagicController>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "IMagicController");
		IMagicController.NativeMethodInfoPtr_AppearMagicMenu_Public_Abstract_Virtual_New_Void_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IMagicController>.NativeClassPtr, 100667653);
		IMagicController.NativeMethodInfoPtr_MoveMenuPointer_Public_Abstract_Virtual_New_Void_Vector2_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IMagicController>.NativeClassPtr, 100667654);
		IMagicController.NativeMethodInfoPtr_ApplyMagic_Public_Abstract_Virtual_New_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IMagicController>.NativeClassPtr, 100667655);
	}

	// Token: 0x06004334 RID: 17204 RVA: 0x000ED5BE File Offset: 0x000EB7BE
	public IMagicController(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x04002C4E RID: 11342
	private static readonly IntPtr NativeMethodInfoPtr_AppearMagicMenu_Public_Abstract_Virtual_New_Void_Boolean_0;

	// Token: 0x04002C4F RID: 11343
	private static readonly IntPtr NativeMethodInfoPtr_MoveMenuPointer_Public_Abstract_Virtual_New_Void_Vector2_0;

	// Token: 0x04002C50 RID: 11344
	private static readonly IntPtr NativeMethodInfoPtr_ApplyMagic_Public_Abstract_Virtual_New_Void_Int32_0;
}
