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: 0x02000157 RID: 343
|
|
public class IPointerController : Il2CppObjectBase
|
|
{
|
|
// Token: 0x06004335 RID: 17205 RVA: 0x0010B004 File Offset: 0x00109204
|
|
[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: 0x06004336 RID: 17206 RVA: 0x0010B063 File Offset: 0x00109263
|
|
// 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, 100667656);
|
|
}
|
|
|
|
// Token: 0x06004337 RID: 17207 RVA: 0x000ED5BE File Offset: 0x000EB7BE
|
|
public IPointerController(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04002C51 RID: 11345
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnPointerMove_Public_Abstract_Virtual_New_Void_Vector2_0;
|
|
}
|