using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

// Token: 0x020003C1 RID: 961
public class ObjectDragger : MonoBehaviour
{
	// Token: 0x06007A26 RID: 31270 RVA: 0x001F061C File Offset: 0x001EE81C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618130, XrefRangeEnd = 618137, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Awake()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObjectDragger.NativeMethodInfoPtr_Awake_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007A27 RID: 31271 RVA: 0x001F0660 File Offset: 0x001EE860
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618137, XrefRangeEnd = 618149, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnMouseDown()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObjectDragger.NativeMethodInfoPtr_OnMouseDown_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007A28 RID: 31272 RVA: 0x001F06A4 File Offset: 0x001EE8A4
	[CallerCount(64)]
	[CachedScanResults(RefRangeStart = 573441, RefRangeEnd = 573505, XrefRangeStart = 573441, XrefRangeEnd = 573505, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnMouseDrag()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObjectDragger.NativeMethodInfoPtr_OnMouseDrag_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007A29 RID: 31273 RVA: 0x001F06E8 File Offset: 0x001EE8E8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618149, XrefRangeEnd = 618161, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void FixedUpdate()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObjectDragger.NativeMethodInfoPtr_FixedUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007A2A RID: 31274 RVA: 0x001F072C File Offset: 0x001EE92C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618161, XrefRangeEnd = 618163, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void LateUpdate()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObjectDragger.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007A2B RID: 31275 RVA: 0x001F0770 File Offset: 0x001EE970
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ObjectDragger()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObjectDragger.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007A2C RID: 31276 RVA: 0x001F07BC File Offset: 0x001EE9BC
	// Note: this type is marked as 'beforefieldinit'.
	static ObjectDragger()
	{
		Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ObjectDragger");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr);
		ObjectDragger.NativeFieldInfoPtr_screenPoint = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, "screenPoint");
		ObjectDragger.NativeFieldInfoPtr_offset = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, "offset");
		ObjectDragger.NativeFieldInfoPtr_dragged = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, "dragged");
		ObjectDragger.NativeFieldInfoPtr_newPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, "newPosition");
		ObjectDragger.NativeFieldInfoPtr_body = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, "body");
		ObjectDragger.NativeMethodInfoPtr_Awake_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100672476);
		ObjectDragger.NativeMethodInfoPtr_OnMouseDown_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100672477);
		ObjectDragger.NativeMethodInfoPtr_OnMouseDrag_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100672478);
		ObjectDragger.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100672479);
		ObjectDragger.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100672480);
		ObjectDragger.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100672481);
	}

	// Token: 0x06007A2D RID: 31277 RVA: 0x0000351C File Offset: 0x0000171C
	public ObjectDragger(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170029D5 RID: 10709
	// (get) Token: 0x06007A2E RID: 31278 RVA: 0x001F08C8 File Offset: 0x001EEAC8
	// (set) Token: 0x06007A2F RID: 31279 RVA: 0x001F08F0 File Offset: 0x001EEAF0
	public unsafe Vector3 screenPoint
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_screenPoint);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_screenPoint)) = value;
		}
	}

	// Token: 0x170029D6 RID: 10710
	// (get) Token: 0x06007A30 RID: 31280 RVA: 0x001F0914 File Offset: 0x001EEB14
	// (set) Token: 0x06007A31 RID: 31281 RVA: 0x001F093C File Offset: 0x001EEB3C
	public unsafe Vector3 offset
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_offset);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_offset)) = value;
		}
	}

	// Token: 0x170029D7 RID: 10711
	// (get) Token: 0x06007A32 RID: 31282 RVA: 0x001F0960 File Offset: 0x001EEB60
	// (set) Token: 0x06007A33 RID: 31283 RVA: 0x001F0988 File Offset: 0x001EEB88
	public unsafe bool dragged
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_dragged);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_dragged)) = value;
		}
	}

	// Token: 0x170029D8 RID: 10712
	// (get) Token: 0x06007A34 RID: 31284 RVA: 0x001F09AC File Offset: 0x001EEBAC
	// (set) Token: 0x06007A35 RID: 31285 RVA: 0x001F09D4 File Offset: 0x001EEBD4
	public unsafe Vector3 newPosition
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_newPosition);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_newPosition)) = value;
		}
	}

	// Token: 0x170029D9 RID: 10713
	// (get) Token: 0x06007A36 RID: 31286 RVA: 0x001F09F8 File Offset: 0x001EEBF8
	// (set) Token: 0x06007A37 RID: 31287 RVA: 0x001F0A2C File Offset: 0x001EEC2C
	public unsafe Rigidbody body
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_body);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Rigidbody(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObjectDragger.NativeFieldInfoPtr_body), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04005127 RID: 20775
	private static readonly IntPtr NativeFieldInfoPtr_screenPoint;

	// Token: 0x04005128 RID: 20776
	private static readonly IntPtr NativeFieldInfoPtr_offset;

	// Token: 0x04005129 RID: 20777
	private static readonly IntPtr NativeFieldInfoPtr_dragged;

	// Token: 0x0400512A RID: 20778
	private static readonly IntPtr NativeFieldInfoPtr_newPosition;

	// Token: 0x0400512B RID: 20779
	private static readonly IntPtr NativeFieldInfoPtr_body;

	// Token: 0x0400512C RID: 20780
	private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

	// Token: 0x0400512D RID: 20781
	private static readonly IntPtr NativeMethodInfoPtr_OnMouseDown_Private_Void_0;

	// Token: 0x0400512E RID: 20782
	private static readonly IntPtr NativeMethodInfoPtr_OnMouseDrag_Private_Void_0;

	// Token: 0x0400512F RID: 20783
	private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

	// Token: 0x04005130 RID: 20784
	private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

	// Token: 0x04005131 RID: 20785
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
