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: 0x02000182 RID: 386
|
|
public class IMagicController : Il2CppObjectBase
|
|
{
|
|
// Token: 0x0600476D RID: 18285 RVA: 0x0011CDD8 File Offset: 0x0011AFD8
|
|
[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: 0x0600476E RID: 18286 RVA: 0x0011CE38 File Offset: 0x0011B038
|
|
[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: 0x0600476F RID: 18287 RVA: 0x0011CE98 File Offset: 0x0011B098
|
|
[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: 0x06004770 RID: 18288 RVA: 0x0011CEF8 File Offset: 0x0011B0F8
|
|
// 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, 100668036);
|
|
IMagicController.NativeMethodInfoPtr_MoveMenuPointer_Public_Abstract_Virtual_New_Void_Vector2_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IMagicController>.NativeClassPtr, 100668037);
|
|
IMagicController.NativeMethodInfoPtr_ApplyMagic_Public_Abstract_Virtual_New_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IMagicController>.NativeClassPtr, 100668038);
|
|
}
|
|
|
|
// Token: 0x06004771 RID: 18289 RVA: 0x000FB296 File Offset: 0x000F9496
|
|
public IMagicController(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04002F38 RID: 12088
|
|
private static readonly IntPtr NativeMethodInfoPtr_AppearMagicMenu_Public_Abstract_Virtual_New_Void_Boolean_0;
|
|
|
|
// Token: 0x04002F39 RID: 12089
|
|
private static readonly IntPtr NativeMethodInfoPtr_MoveMenuPointer_Public_Abstract_Virtual_New_Void_Vector2_0;
|
|
|
|
// Token: 0x04002F3A RID: 12090
|
|
private static readonly IntPtr NativeMethodInfoPtr_ApplyMagic_Public_Abstract_Virtual_New_Void_Int32_0;
|
|
}
|