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

// Token: 0x02000369 RID: 873
public class ObjectDragger : MonoBehaviour
{
	// Token: 0x060071D3 RID: 29139 RVA: 0x001CD8D4 File Offset: 0x001CBAD4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585829, XrefRangeEnd = 585836, 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: 0x060071D4 RID: 29140 RVA: 0x001CD918 File Offset: 0x001CBB18
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585836, XrefRangeEnd = 585848, 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: 0x060071D5 RID: 29141 RVA: 0x001CD95C File Offset: 0x001CBB5C
	[CallerCount(56)]
	[CachedScanResults(RefRangeStart = 545350, RefRangeEnd = 545406, XrefRangeStart = 545350, XrefRangeEnd = 545406, 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: 0x060071D6 RID: 29142 RVA: 0x001CD9A0 File Offset: 0x001CBBA0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585848, XrefRangeEnd = 585860, 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: 0x060071D7 RID: 29143 RVA: 0x001CD9E4 File Offset: 0x001CBBE4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585860, XrefRangeEnd = 585862, 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: 0x060071D8 RID: 29144 RVA: 0x001CDA28 File Offset: 0x001CBC28
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x060071D9 RID: 29145 RVA: 0x001CDA74 File Offset: 0x001CBC74
	// 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, 100671763);
		ObjectDragger.NativeMethodInfoPtr_OnMouseDown_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100671764);
		ObjectDragger.NativeMethodInfoPtr_OnMouseDrag_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100671765);
		ObjectDragger.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100671766);
		ObjectDragger.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100671767);
		ObjectDragger.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObjectDragger>.NativeClassPtr, 100671768);
	}

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

	// Token: 0x1700273A RID: 10042
	// (get) Token: 0x060071DB RID: 29147 RVA: 0x001CDB80 File Offset: 0x001CBD80
	// (set) Token: 0x060071DC RID: 29148 RVA: 0x001CDBA8 File Offset: 0x001CBDA8
	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: 0x1700273B RID: 10043
	// (get) Token: 0x060071DD RID: 29149 RVA: 0x001CDBCC File Offset: 0x001CBDCC
	// (set) Token: 0x060071DE RID: 29150 RVA: 0x001CDBF4 File Offset: 0x001CBDF4
	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: 0x1700273C RID: 10044
	// (get) Token: 0x060071DF RID: 29151 RVA: 0x001CDC18 File Offset: 0x001CBE18
	// (set) Token: 0x060071E0 RID: 29152 RVA: 0x001CDC40 File Offset: 0x001CBE40
	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: 0x1700273D RID: 10045
	// (get) Token: 0x060071E1 RID: 29153 RVA: 0x001CDC64 File Offset: 0x001CBE64
	// (set) Token: 0x060071E2 RID: 29154 RVA: 0x001CDC8C File Offset: 0x001CBE8C
	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: 0x1700273E RID: 10046
	// (get) Token: 0x060071E3 RID: 29155 RVA: 0x001CDCB0 File Offset: 0x001CBEB0
	// (set) Token: 0x060071E4 RID: 29156 RVA: 0x001CDCE4 File Offset: 0x001CBEE4
	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: 0x04004B7E RID: 19326
	private static readonly IntPtr NativeFieldInfoPtr_screenPoint;

	// Token: 0x04004B7F RID: 19327
	private static readonly IntPtr NativeFieldInfoPtr_offset;

	// Token: 0x04004B80 RID: 19328
	private static readonly IntPtr NativeFieldInfoPtr_dragged;

	// Token: 0x04004B81 RID: 19329
	private static readonly IntPtr NativeFieldInfoPtr_newPosition;

	// Token: 0x04004B82 RID: 19330
	private static readonly IntPtr NativeFieldInfoPtr_body;

	// Token: 0x04004B83 RID: 19331
	private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

	// Token: 0x04004B84 RID: 19332
	private static readonly IntPtr NativeMethodInfoPtr_OnMouseDown_Private_Void_0;

	// Token: 0x04004B85 RID: 19333
	private static readonly IntPtr NativeMethodInfoPtr_OnMouseDrag_Private_Void_0;

	// Token: 0x04004B86 RID: 19334
	private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

	// Token: 0x04004B87 RID: 19335
	private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

	// Token: 0x04004B88 RID: 19336
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
