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

namespace Obi
{
	// Token: 0x020004B6 RID: 1206
	public class ObiCollisionMaterial : ScriptableObject
	{
		// Token: 0x17002FEF RID: 12271
		// (get) Token: 0x06008CB4 RID: 36020 RVA: 0x00241B38 File Offset: 0x0023FD38
		public unsafe IntPtr OniCollisionMaterial
		{
			[CallerCount(10)]
			[CachedScanResults(RefRangeStart = 7233, RefRangeEnd = 7243, XrefRangeStart = 7233, XrefRangeEnd = 7243, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiCollisionMaterial.NativeMethodInfoPtr_get_OniCollisionMaterial_Public_get_IntPtr_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x06008CB5 RID: 36021 RVA: 0x00241B88 File Offset: 0x0023FD88
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 608290, XrefRangeEnd = 608292, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnEnable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiCollisionMaterial.NativeMethodInfoPtr_OnEnable_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008CB6 RID: 36022 RVA: 0x00241BCC File Offset: 0x0023FDCC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 608292, XrefRangeEnd = 608294, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnDisable()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiCollisionMaterial.NativeMethodInfoPtr_OnDisable_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008CB7 RID: 36023 RVA: 0x00241C10 File Offset: 0x0023FE10
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 608294, XrefRangeEnd = 608295, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnValidate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiCollisionMaterial.NativeMethodInfoPtr_OnValidate_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008CB8 RID: 36024 RVA: 0x00241C54 File Offset: 0x0023FE54
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 608295, XrefRangeEnd = 608297, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe ObiCollisionMaterial()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiCollisionMaterial.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008CB9 RID: 36025 RVA: 0x00241CA0 File Offset: 0x0023FEA0
		// Note: this type is marked as 'beforefieldinit'.
		static ObiCollisionMaterial()
		{
			Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "ObiCollisionMaterial");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr);
			ObiCollisionMaterial.NativeFieldInfoPtr_oniCollisionMaterial = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, "oniCollisionMaterial");
			ObiCollisionMaterial.NativeFieldInfoPtr_adaptor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, "adaptor");
			ObiCollisionMaterial.NativeFieldInfoPtr_friction = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, "friction");
			ObiCollisionMaterial.NativeFieldInfoPtr_stickiness = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, "stickiness");
			ObiCollisionMaterial.NativeFieldInfoPtr_stickDistance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, "stickDistance");
			ObiCollisionMaterial.NativeFieldInfoPtr_frictionCombine = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, "frictionCombine");
			ObiCollisionMaterial.NativeFieldInfoPtr_stickinessCombine = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, "stickinessCombine");
			ObiCollisionMaterial.NativeMethodInfoPtr_get_OniCollisionMaterial_Public_get_IntPtr_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, 100674107);
			ObiCollisionMaterial.NativeMethodInfoPtr_OnEnable_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, 100674108);
			ObiCollisionMaterial.NativeMethodInfoPtr_OnDisable_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, 100674109);
			ObiCollisionMaterial.NativeMethodInfoPtr_OnValidate_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, 100674110);
			ObiCollisionMaterial.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiCollisionMaterial>.NativeClassPtr, 100674111);
		}

		// Token: 0x06008CBA RID: 36026 RVA: 0x00009DEC File Offset: 0x00007FEC
		public ObiCollisionMaterial(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002FE8 RID: 12264
		// (get) Token: 0x06008CBB RID: 36027 RVA: 0x00241DC0 File Offset: 0x0023FFC0
		// (set) Token: 0x06008CBC RID: 36028 RVA: 0x00241DE8 File Offset: 0x0023FFE8
		public unsafe IntPtr oniCollisionMaterial
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_oniCollisionMaterial);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_oniCollisionMaterial)) = value;
			}
		}

		// Token: 0x17002FE9 RID: 12265
		// (get) Token: 0x06008CBD RID: 36029 RVA: 0x00241E0C File Offset: 0x0024000C
		// (set) Token: 0x06008CBE RID: 36030 RVA: 0x00241E34 File Offset: 0x00240034
		public unsafe Oni.CollisionMaterial adaptor
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_adaptor);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_adaptor)) = value;
			}
		}

		// Token: 0x17002FEA RID: 12266
		// (get) Token: 0x06008CBF RID: 36031 RVA: 0x00241E58 File Offset: 0x00240058
		// (set) Token: 0x06008CC0 RID: 36032 RVA: 0x00241E80 File Offset: 0x00240080
		public unsafe float friction
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_friction);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_friction)) = value;
			}
		}

		// Token: 0x17002FEB RID: 12267
		// (get) Token: 0x06008CC1 RID: 36033 RVA: 0x00241EA4 File Offset: 0x002400A4
		// (set) Token: 0x06008CC2 RID: 36034 RVA: 0x00241ECC File Offset: 0x002400CC
		public unsafe float stickiness
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_stickiness);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_stickiness)) = value;
			}
		}

		// Token: 0x17002FEC RID: 12268
		// (get) Token: 0x06008CC3 RID: 36035 RVA: 0x00241EF0 File Offset: 0x002400F0
		// (set) Token: 0x06008CC4 RID: 36036 RVA: 0x00241F18 File Offset: 0x00240118
		public unsafe float stickDistance
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_stickDistance);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_stickDistance)) = value;
			}
		}

		// Token: 0x17002FED RID: 12269
		// (get) Token: 0x06008CC5 RID: 36037 RVA: 0x00241F3C File Offset: 0x0024013C
		// (set) Token: 0x06008CC6 RID: 36038 RVA: 0x00241F64 File Offset: 0x00240164
		public unsafe Oni.MaterialCombineMode frictionCombine
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_frictionCombine);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_frictionCombine)) = value;
			}
		}

		// Token: 0x17002FEE RID: 12270
		// (get) Token: 0x06008CC7 RID: 36039 RVA: 0x00241F88 File Offset: 0x00240188
		// (set) Token: 0x06008CC8 RID: 36040 RVA: 0x00241FB0 File Offset: 0x002401B0
		public unsafe Oni.MaterialCombineMode stickinessCombine
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_stickinessCombine);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiCollisionMaterial.NativeFieldInfoPtr_stickinessCombine)) = value;
			}
		}

		// Token: 0x04005DC0 RID: 24000
		private static readonly IntPtr NativeFieldInfoPtr_oniCollisionMaterial;

		// Token: 0x04005DC1 RID: 24001
		private static readonly IntPtr NativeFieldInfoPtr_adaptor;

		// Token: 0x04005DC2 RID: 24002
		private static readonly IntPtr NativeFieldInfoPtr_friction;

		// Token: 0x04005DC3 RID: 24003
		private static readonly IntPtr NativeFieldInfoPtr_stickiness;

		// Token: 0x04005DC4 RID: 24004
		private static readonly IntPtr NativeFieldInfoPtr_stickDistance;

		// Token: 0x04005DC5 RID: 24005
		private static readonly IntPtr NativeFieldInfoPtr_frictionCombine;

		// Token: 0x04005DC6 RID: 24006
		private static readonly IntPtr NativeFieldInfoPtr_stickinessCombine;

		// Token: 0x04005DC7 RID: 24007
		private static readonly IntPtr NativeMethodInfoPtr_get_OniCollisionMaterial_Public_get_IntPtr_0;

		// Token: 0x04005DC8 RID: 24008
		private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Public_Void_0;

		// Token: 0x04005DC9 RID: 24009
		private static readonly IntPtr NativeMethodInfoPtr_OnDisable_Public_Void_0;

		// Token: 0x04005DCA RID: 24010
		private static readonly IntPtr NativeMethodInfoPtr_OnValidate_Public_Void_0;

		// Token: 0x04005DCB RID: 24011
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
