80 lines
3.7 KiB
C#
80 lines
3.7 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200015C RID: 348
|
|
public class IMagicController : Il2CppObjectBase
|
|
{
|
|
// Token: 0x060043A2 RID: 17314 RVA: 0x0010CA8C File Offset: 0x0010AC8C
|
|
[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: 0x060043A3 RID: 17315 RVA: 0x0010CAEC File Offset: 0x0010ACEC
|
|
[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: 0x060043A4 RID: 17316 RVA: 0x0010CB4C File Offset: 0x0010AD4C
|
|
[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: 0x060043A5 RID: 17317 RVA: 0x0010CBAC File Offset: 0x0010ADAC
|
|
// 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, 100667679);
|
|
IMagicController.NativeMethodInfoPtr_MoveMenuPointer_Public_Abstract_Virtual_New_Void_Vector2_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IMagicController>.NativeClassPtr, 100667680);
|
|
IMagicController.NativeMethodInfoPtr_ApplyMagic_Public_Abstract_Virtual_New_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IMagicController>.NativeClassPtr, 100667681);
|
|
}
|
|
|
|
// Token: 0x060043A6 RID: 17318 RVA: 0x000EE522 File Offset: 0x000EC722
|
|
public IMagicController(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04002C99 RID: 11417
|
|
private static readonly IntPtr NativeMethodInfoPtr_AppearMagicMenu_Public_Abstract_Virtual_New_Void_Boolean_0;
|
|
|
|
// Token: 0x04002C9A RID: 11418
|
|
private static readonly IntPtr NativeMethodInfoPtr_MoveMenuPointer_Public_Abstract_Virtual_New_Void_Vector2_0;
|
|
|
|
// Token: 0x04002C9B RID: 11419
|
|
private static readonly IntPtr NativeMethodInfoPtr_ApplyMagic_Public_Abstract_Virtual_New_Void_Int32_0;
|
|
}
|