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

namespace Obi
{
	// Token: 0x020004F6 RID: 1270
	public class ObiClothPicker : MonoBehaviour
	{
		// Token: 0x060090F0 RID: 37104 RVA: 0x00254930 File Offset: 0x00252B30
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612547, XrefRangeEnd = 612551, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void add_OnParticlePicked(EventHandler<ObiClothPicker.ParticlePickEventArgs> value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(value);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_add_OnParticlePicked_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060090F1 RID: 37105 RVA: 0x0025498C File Offset: 0x00252B8C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612551, XrefRangeEnd = 612555, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void remove_OnParticlePicked(EventHandler<ObiClothPicker.ParticlePickEventArgs> value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(value);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_remove_OnParticlePicked_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060090F2 RID: 37106 RVA: 0x002549E8 File Offset: 0x00252BE8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612555, XrefRangeEnd = 612559, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void add_OnParticleHeld(EventHandler<ObiClothPicker.ParticlePickEventArgs> value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(value);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_add_OnParticleHeld_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060090F3 RID: 37107 RVA: 0x00254A44 File Offset: 0x00252C44
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612559, XrefRangeEnd = 612563, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void remove_OnParticleHeld(EventHandler<ObiClothPicker.ParticlePickEventArgs> value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(value);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_remove_OnParticleHeld_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060090F4 RID: 37108 RVA: 0x00254AA0 File Offset: 0x00252CA0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612563, XrefRangeEnd = 612567, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void add_OnParticleDragged(EventHandler<ObiClothPicker.ParticlePickEventArgs> value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(value);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_add_OnParticleDragged_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060090F5 RID: 37109 RVA: 0x00254AFC File Offset: 0x00252CFC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612567, XrefRangeEnd = 612571, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void remove_OnParticleDragged(EventHandler<ObiClothPicker.ParticlePickEventArgs> value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(value);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_remove_OnParticleDragged_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060090F6 RID: 37110 RVA: 0x00254B58 File Offset: 0x00252D58
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612571, XrefRangeEnd = 612575, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void add_OnParticleReleased(EventHandler<ObiClothPicker.ParticlePickEventArgs> value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(value);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_add_OnParticleReleased_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060090F7 RID: 37111 RVA: 0x00254BB4 File Offset: 0x00252DB4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612575, XrefRangeEnd = 612579, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void remove_OnParticleReleased(EventHandler<ObiClothPicker.ParticlePickEventArgs> value)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(value);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_remove_OnParticleReleased_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x1700312D RID: 12589
		// (get) Token: 0x060090F8 RID: 37112 RVA: 0x00254C10 File Offset: 0x00252E10
		public unsafe ObiClothBase Cloth
		{
			[CallerCount(1)]
			[CachedScanResults(RefRangeStart = 10995, RefRangeEnd = 10996, XrefRangeStart = 10995, XrefRangeEnd = 10996, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_get_Cloth_Public_get_ObiClothBase_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new ObiClothBase(intPtr3) : null;
			}
		}

		// Token: 0x060090F9 RID: 37113 RVA: 0x00254C68 File Offset: 0x00252E68
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612579, XrefRangeEnd = 612584, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Awake()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_Awake_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060090FA RID: 37114 RVA: 0x00254CAC File Offset: 0x00252EAC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612584, XrefRangeEnd = 612620, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnEnable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_OnEnable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060090FB RID: 37115 RVA: 0x00254CF0 File Offset: 0x00252EF0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612620, XrefRangeEnd = 612632, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnDisable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_OnDisable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060090FC RID: 37116 RVA: 0x00254D34 File Offset: 0x00252F34
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612632, XrefRangeEnd = 612696, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Cloth_Solver_OnFrameBegin(Il2CppSystem.Object sender, EventArgs e)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(sender);
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(e);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr_Cloth_Solver_OnFrameBegin_Private_Void_Object_EventArgs_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060090FD RID: 37117 RVA: 0x00254DA8 File Offset: 0x00252FA8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 612696, XrefRangeEnd = 612698, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe ObiClothPicker()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060090FE RID: 37118 RVA: 0x00254DF4 File Offset: 0x00252FF4
		// Note: this type is marked as 'beforefieldinit'.
		static ObiClothPicker()
		{
			Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "ObiClothPicker");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr);
			ObiClothPicker.NativeFieldInfoPtr_OnParticlePicked = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "OnParticlePicked");
			ObiClothPicker.NativeFieldInfoPtr_OnParticleHeld = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "OnParticleHeld");
			ObiClothPicker.NativeFieldInfoPtr_OnParticleDragged = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "OnParticleDragged");
			ObiClothPicker.NativeFieldInfoPtr_OnParticleReleased = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "OnParticleReleased");
			ObiClothPicker.NativeFieldInfoPtr_meshCollider = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "meshCollider");
			ObiClothPicker.NativeFieldInfoPtr_cloth = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "cloth");
			ObiClothPicker.NativeFieldInfoPtr_currentCollisionMesh = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "currentCollisionMesh");
			ObiClothPicker.NativeFieldInfoPtr_lastMousePos = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "lastMousePos");
			ObiClothPicker.NativeFieldInfoPtr_pickedParticleIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "pickedParticleIndex");
			ObiClothPicker.NativeFieldInfoPtr_pickedParticleDepth = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "pickedParticleDepth");
			ObiClothPicker.NativeMethodInfoPtr_add_OnParticlePicked_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674545);
			ObiClothPicker.NativeMethodInfoPtr_remove_OnParticlePicked_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674546);
			ObiClothPicker.NativeMethodInfoPtr_add_OnParticleHeld_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674547);
			ObiClothPicker.NativeMethodInfoPtr_remove_OnParticleHeld_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674548);
			ObiClothPicker.NativeMethodInfoPtr_add_OnParticleDragged_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674549);
			ObiClothPicker.NativeMethodInfoPtr_remove_OnParticleDragged_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674550);
			ObiClothPicker.NativeMethodInfoPtr_add_OnParticleReleased_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674551);
			ObiClothPicker.NativeMethodInfoPtr_remove_OnParticleReleased_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674552);
			ObiClothPicker.NativeMethodInfoPtr_get_Cloth_Public_get_ObiClothBase_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674553);
			ObiClothPicker.NativeMethodInfoPtr_Awake_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674554);
			ObiClothPicker.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674555);
			ObiClothPicker.NativeMethodInfoPtr_OnDisable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674556);
			ObiClothPicker.NativeMethodInfoPtr_Cloth_Solver_OnFrameBegin_Private_Void_Object_EventArgs_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674557);
			ObiClothPicker.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, 100674558);
		}

		// Token: 0x060090FF RID: 37119 RVA: 0x0000351C File Offset: 0x0000171C
		public ObiClothPicker(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003123 RID: 12579
		// (get) Token: 0x06009100 RID: 37120 RVA: 0x00255004 File Offset: 0x00253204
		// (set) Token: 0x06009101 RID: 37121 RVA: 0x00255038 File Offset: 0x00253238
		public unsafe EventHandler<ObiClothPicker.ParticlePickEventArgs> OnParticlePicked
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_OnParticlePicked);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new EventHandler<ObiClothPicker.ParticlePickEventArgs>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_OnParticlePicked), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003124 RID: 12580
		// (get) Token: 0x06009102 RID: 37122 RVA: 0x00255060 File Offset: 0x00253260
		// (set) Token: 0x06009103 RID: 37123 RVA: 0x00255094 File Offset: 0x00253294
		public unsafe EventHandler<ObiClothPicker.ParticlePickEventArgs> OnParticleHeld
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_OnParticleHeld);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new EventHandler<ObiClothPicker.ParticlePickEventArgs>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_OnParticleHeld), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003125 RID: 12581
		// (get) Token: 0x06009104 RID: 37124 RVA: 0x002550BC File Offset: 0x002532BC
		// (set) Token: 0x06009105 RID: 37125 RVA: 0x002550F0 File Offset: 0x002532F0
		public unsafe EventHandler<ObiClothPicker.ParticlePickEventArgs> OnParticleDragged
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_OnParticleDragged);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new EventHandler<ObiClothPicker.ParticlePickEventArgs>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_OnParticleDragged), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003126 RID: 12582
		// (get) Token: 0x06009106 RID: 37126 RVA: 0x00255118 File Offset: 0x00253318
		// (set) Token: 0x06009107 RID: 37127 RVA: 0x0025514C File Offset: 0x0025334C
		public unsafe EventHandler<ObiClothPicker.ParticlePickEventArgs> OnParticleReleased
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_OnParticleReleased);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new EventHandler<ObiClothPicker.ParticlePickEventArgs>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_OnParticleReleased), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003127 RID: 12583
		// (get) Token: 0x06009108 RID: 37128 RVA: 0x00255174 File Offset: 0x00253374
		// (set) Token: 0x06009109 RID: 37129 RVA: 0x002551A8 File Offset: 0x002533A8
		public unsafe MeshCollider meshCollider
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_meshCollider);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new MeshCollider(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_meshCollider), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003128 RID: 12584
		// (get) Token: 0x0600910A RID: 37130 RVA: 0x002551D0 File Offset: 0x002533D0
		// (set) Token: 0x0600910B RID: 37131 RVA: 0x00255204 File Offset: 0x00253404
		public unsafe ObiClothBase cloth
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_cloth);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new ObiClothBase(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_cloth), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003129 RID: 12585
		// (get) Token: 0x0600910C RID: 37132 RVA: 0x0025522C File Offset: 0x0025342C
		// (set) Token: 0x0600910D RID: 37133 RVA: 0x00255260 File Offset: 0x00253460
		public unsafe Mesh currentCollisionMesh
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_currentCollisionMesh);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Mesh(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_currentCollisionMesh), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700312A RID: 12586
		// (get) Token: 0x0600910E RID: 37134 RVA: 0x00255288 File Offset: 0x00253488
		// (set) Token: 0x0600910F RID: 37135 RVA: 0x002552B0 File Offset: 0x002534B0
		public unsafe Vector3 lastMousePos
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_lastMousePos);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_lastMousePos)) = value;
			}
		}

		// Token: 0x1700312B RID: 12587
		// (get) Token: 0x06009110 RID: 37136 RVA: 0x002552D4 File Offset: 0x002534D4
		// (set) Token: 0x06009111 RID: 37137 RVA: 0x002552FC File Offset: 0x002534FC
		public unsafe int pickedParticleIndex
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_pickedParticleIndex);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_pickedParticleIndex)) = value;
			}
		}

		// Token: 0x1700312C RID: 12588
		// (get) Token: 0x06009112 RID: 37138 RVA: 0x00255320 File Offset: 0x00253520
		// (set) Token: 0x06009113 RID: 37139 RVA: 0x00255348 File Offset: 0x00253548
		public unsafe float pickedParticleDepth
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_pickedParticleDepth);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.NativeFieldInfoPtr_pickedParticleDepth)) = value;
			}
		}

		// Token: 0x040060A6 RID: 24742
		private static readonly IntPtr NativeFieldInfoPtr_OnParticlePicked;

		// Token: 0x040060A7 RID: 24743
		private static readonly IntPtr NativeFieldInfoPtr_OnParticleHeld;

		// Token: 0x040060A8 RID: 24744
		private static readonly IntPtr NativeFieldInfoPtr_OnParticleDragged;

		// Token: 0x040060A9 RID: 24745
		private static readonly IntPtr NativeFieldInfoPtr_OnParticleReleased;

		// Token: 0x040060AA RID: 24746
		private static readonly IntPtr NativeFieldInfoPtr_meshCollider;

		// Token: 0x040060AB RID: 24747
		private static readonly IntPtr NativeFieldInfoPtr_cloth;

		// Token: 0x040060AC RID: 24748
		private static readonly IntPtr NativeFieldInfoPtr_currentCollisionMesh;

		// Token: 0x040060AD RID: 24749
		private static readonly IntPtr NativeFieldInfoPtr_lastMousePos;

		// Token: 0x040060AE RID: 24750
		private static readonly IntPtr NativeFieldInfoPtr_pickedParticleIndex;

		// Token: 0x040060AF RID: 24751
		private static readonly IntPtr NativeFieldInfoPtr_pickedParticleDepth;

		// Token: 0x040060B0 RID: 24752
		private static readonly IntPtr NativeMethodInfoPtr_add_OnParticlePicked_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0;

		// Token: 0x040060B1 RID: 24753
		private static readonly IntPtr NativeMethodInfoPtr_remove_OnParticlePicked_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0;

		// Token: 0x040060B2 RID: 24754
		private static readonly IntPtr NativeMethodInfoPtr_add_OnParticleHeld_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0;

		// Token: 0x040060B3 RID: 24755
		private static readonly IntPtr NativeMethodInfoPtr_remove_OnParticleHeld_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0;

		// Token: 0x040060B4 RID: 24756
		private static readonly IntPtr NativeMethodInfoPtr_add_OnParticleDragged_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0;

		// Token: 0x040060B5 RID: 24757
		private static readonly IntPtr NativeMethodInfoPtr_remove_OnParticleDragged_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0;

		// Token: 0x040060B6 RID: 24758
		private static readonly IntPtr NativeMethodInfoPtr_add_OnParticleReleased_Public_add_Void_EventHandler_1_ParticlePickEventArgs_0;

		// Token: 0x040060B7 RID: 24759
		private static readonly IntPtr NativeMethodInfoPtr_remove_OnParticleReleased_Public_rem_Void_EventHandler_1_ParticlePickEventArgs_0;

		// Token: 0x040060B8 RID: 24760
		private static readonly IntPtr NativeMethodInfoPtr_get_Cloth_Public_get_ObiClothBase_0;

		// Token: 0x040060B9 RID: 24761
		private static readonly IntPtr NativeMethodInfoPtr_Awake_Private_Void_0;

		// Token: 0x040060BA RID: 24762
		private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

		// Token: 0x040060BB RID: 24763
		private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Private_Void_0;

		// Token: 0x040060BC RID: 24764
		private static readonly IntPtr NativeMethodInfoPtr_Cloth_Solver_OnFrameBegin_Private_Void_Object_EventArgs_0;

		// Token: 0x040060BD RID: 24765
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x020004F7 RID: 1271
		public class ParticlePickEventArgs : EventArgs
		{
			// Token: 0x06009114 RID: 37140 RVA: 0x0025536C File Offset: 0x0025356C
			[CallerCount(4)]
			[CachedScanResults(RefRangeStart = 612543, RefRangeEnd = 612547, XrefRangeStart = 612539, XrefRangeEnd = 612543, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe ParticlePickEventArgs(int particleIndex, Vector3 mouseDelta)
				: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiClothPicker.ParticlePickEventArgs>.NativeClassPtr))
			{
				IntPtr* ptr;
				checked
				{
					ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
					*ptr = ref particleIndex;
				}
				ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref mouseDelta;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiClothPicker.ParticlePickEventArgs.NativeMethodInfoPtr__ctor_Public_Void_Int32_Vector3_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}

			// Token: 0x06009115 RID: 37141 RVA: 0x002553DC File Offset: 0x002535DC
			// Note: this type is marked as 'beforefieldinit'.
			static ParticlePickEventArgs()
			{
				Il2CppClassPointerStore<ObiClothPicker.ParticlePickEventArgs>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<ObiClothPicker>.NativeClassPtr, "ParticlePickEventArgs");
				IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiClothPicker.ParticlePickEventArgs>.NativeClassPtr);
				ObiClothPicker.ParticlePickEventArgs.NativeFieldInfoPtr_particleIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker.ParticlePickEventArgs>.NativeClassPtr, "particleIndex");
				ObiClothPicker.ParticlePickEventArgs.NativeFieldInfoPtr_mouseDelta = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiClothPicker.ParticlePickEventArgs>.NativeClassPtr, "mouseDelta");
				ObiClothPicker.ParticlePickEventArgs.NativeMethodInfoPtr__ctor_Public_Void_Int32_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiClothPicker.ParticlePickEventArgs>.NativeClassPtr, 100674559);
			}

			// Token: 0x06009116 RID: 37142 RVA: 0x00237837 File Offset: 0x00235A37
			public ParticlePickEventArgs(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x1700312E RID: 12590
			// (get) Token: 0x06009117 RID: 37143 RVA: 0x00255444 File Offset: 0x00253644
			// (set) Token: 0x06009118 RID: 37144 RVA: 0x0025546C File Offset: 0x0025366C
			public unsafe int particleIndex
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.ParticlePickEventArgs.NativeFieldInfoPtr_particleIndex);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.ParticlePickEventArgs.NativeFieldInfoPtr_particleIndex)) = value;
				}
			}

			// Token: 0x1700312F RID: 12591
			// (get) Token: 0x06009119 RID: 37145 RVA: 0x00255490 File Offset: 0x00253690
			// (set) Token: 0x0600911A RID: 37146 RVA: 0x002554B8 File Offset: 0x002536B8
			public unsafe Vector3 mouseDelta
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.ParticlePickEventArgs.NativeFieldInfoPtr_mouseDelta);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiClothPicker.ParticlePickEventArgs.NativeFieldInfoPtr_mouseDelta)) = value;
				}
			}

			// Token: 0x040060BE RID: 24766
			private static readonly IntPtr NativeFieldInfoPtr_particleIndex;

			// Token: 0x040060BF RID: 24767
			private static readonly IntPtr NativeFieldInfoPtr_mouseDelta;

			// Token: 0x040060C0 RID: 24768
			private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_Vector3_0;
		}
	}
}
