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

// Token: 0x020003B7 RID: 951
public class DynamicBoneColliderBase : MonoBehaviour
{
	// Token: 0x060079D8 RID: 31192 RVA: 0x001EF224 File Offset: 0x001ED424
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual void Collide(ref Vector3 particlePosition, float particleRadius)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = &particlePosition;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref particleRadius;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DynamicBoneColliderBase.NativeMethodInfoPtr_Collide_Public_Virtual_New_Void_byref_Vector3_Single_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079D9 RID: 31193 RVA: 0x001EF298 File Offset: 0x001ED498
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617951, XrefRangeEnd = 617953, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe DynamicBoneColliderBase()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DynamicBoneColliderBase>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DynamicBoneColliderBase.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060079DA RID: 31194 RVA: 0x001EF2E4 File Offset: 0x001ED4E4
	// Note: this type is marked as 'beforefieldinit'.
	static DynamicBoneColliderBase()
	{
		Il2CppClassPointerStore<DynamicBoneColliderBase>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "DynamicBoneColliderBase");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DynamicBoneColliderBase>.NativeClassPtr);
		DynamicBoneColliderBase.NativeFieldInfoPtr_m_Direction = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DynamicBoneColliderBase>.NativeClassPtr, "m_Direction");
		DynamicBoneColliderBase.NativeFieldInfoPtr_m_Center = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DynamicBoneColliderBase>.NativeClassPtr, "m_Center");
		DynamicBoneColliderBase.NativeFieldInfoPtr_m_Bound = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DynamicBoneColliderBase>.NativeClassPtr, "m_Bound");
		DynamicBoneColliderBase.NativeMethodInfoPtr_Collide_Public_Virtual_New_Void_byref_Vector3_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneColliderBase>.NativeClassPtr, 100672444);
		DynamicBoneColliderBase.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DynamicBoneColliderBase>.NativeClassPtr, 100672445);
	}

	// Token: 0x060079DB RID: 31195 RVA: 0x0000351C File Offset: 0x0000171C
	public DynamicBoneColliderBase(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170029C4 RID: 10692
	// (get) Token: 0x060079DC RID: 31196 RVA: 0x001EF378 File Offset: 0x001ED578
	// (set) Token: 0x060079DD RID: 31197 RVA: 0x001EF3A0 File Offset: 0x001ED5A0
	public unsafe DynamicBoneColliderBase.Direction m_Direction
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneColliderBase.NativeFieldInfoPtr_m_Direction);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneColliderBase.NativeFieldInfoPtr_m_Direction)) = value;
		}
	}

	// Token: 0x170029C5 RID: 10693
	// (get) Token: 0x060079DE RID: 31198 RVA: 0x001EF3C4 File Offset: 0x001ED5C4
	// (set) Token: 0x060079DF RID: 31199 RVA: 0x001EF3EC File Offset: 0x001ED5EC
	public unsafe Vector3 m_Center
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneColliderBase.NativeFieldInfoPtr_m_Center);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneColliderBase.NativeFieldInfoPtr_m_Center)) = value;
		}
	}

	// Token: 0x170029C6 RID: 10694
	// (get) Token: 0x060079E0 RID: 31200 RVA: 0x001EF410 File Offset: 0x001ED610
	// (set) Token: 0x060079E1 RID: 31201 RVA: 0x001EF438 File Offset: 0x001ED638
	public unsafe DynamicBoneColliderBase.Bound m_Bound
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneColliderBase.NativeFieldInfoPtr_m_Bound);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DynamicBoneColliderBase.NativeFieldInfoPtr_m_Bound)) = value;
		}
	}

	// Token: 0x040050F1 RID: 20721
	private static readonly IntPtr NativeFieldInfoPtr_m_Direction;

	// Token: 0x040050F2 RID: 20722
	private static readonly IntPtr NativeFieldInfoPtr_m_Center;

	// Token: 0x040050F3 RID: 20723
	private static readonly IntPtr NativeFieldInfoPtr_m_Bound;

	// Token: 0x040050F4 RID: 20724
	private static readonly IntPtr NativeMethodInfoPtr_Collide_Public_Virtual_New_Void_byref_Vector3_Single_0;

	// Token: 0x040050F5 RID: 20725
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x020003B8 RID: 952
	public enum Direction
	{
		// Token: 0x040050F7 RID: 20727
		X,
		// Token: 0x040050F8 RID: 20728
		Y,
		// Token: 0x040050F9 RID: 20729
		Z
	}

	// Token: 0x020003B9 RID: 953
	public enum Bound
	{
		// Token: 0x040050FB RID: 20731
		Outside,
		// Token: 0x040050FC RID: 20732
		Inside
	}
}
