42 lines
1.7 KiB
C#
42 lines
1.7 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200015D RID: 349
|
|
public class IPointerController : Il2CppObjectBase
|
|
{
|
|
// Token: 0x060043A7 RID: 17319 RVA: 0x0010CC10 File Offset: 0x0010AE10
|
|
[CallerCount(0)]
|
|
public unsafe virtual void OnPointerMove(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), IPointerController.NativeMethodInfoPtr_OnPointerMove_Public_Abstract_Virtual_New_Void_Vector2_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060043A8 RID: 17320 RVA: 0x0010CC6F File Offset: 0x0010AE6F
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static IPointerController()
|
|
{
|
|
Il2CppClassPointerStore<IPointerController>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "IPointerController");
|
|
IPointerController.NativeMethodInfoPtr_OnPointerMove_Public_Abstract_Virtual_New_Void_Vector2_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IPointerController>.NativeClassPtr, 100667682);
|
|
}
|
|
|
|
// Token: 0x060043A9 RID: 17321 RVA: 0x000EE522 File Offset: 0x000EC722
|
|
public IPointerController(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04002C9C RID: 11420
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnPointerMove_Public_Abstract_Virtual_New_Void_Vector2_0;
|
|
}
|