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: 0x02000183 RID: 387
|
|
public class IPointerController : Il2CppObjectBase
|
|
{
|
|
// Token: 0x06004772 RID: 18290 RVA: 0x0011CF5C File Offset: 0x0011B15C
|
|
[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: 0x06004773 RID: 18291 RVA: 0x0011CFBB File Offset: 0x0011B1BB
|
|
// 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, 100668039);
|
|
}
|
|
|
|
// Token: 0x06004774 RID: 18292 RVA: 0x000FB296 File Offset: 0x000F9496
|
|
public IPointerController(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04002F3B RID: 12091
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnPointerMove_Public_Abstract_Virtual_New_Void_Vector2_0;
|
|
}
|