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

namespace ch.sycoforge.Decal.Demo
{
	// Token: 0x020005FA RID: 1530
	public class Footprints : MonoBehaviour
	{
		// Token: 0x06009E94 RID: 40596 RVA: 0x002897C4 File Offset: 0x002879C4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622673, XrefRangeEnd = 622683, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Footprints.NativeMethodInfoPtr_Start_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009E95 RID: 40597 RVA: 0x00289808 File Offset: 0x00287A08
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622683, XrefRangeEnd = 622718, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Footprints.NativeMethodInfoPtr_Update_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009E96 RID: 40598 RVA: 0x0028984C File Offset: 0x00287A4C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622718, XrefRangeEnd = 622719, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe Footprints()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<Footprints>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Footprints.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009E97 RID: 40599 RVA: 0x00289898 File Offset: 0x00287A98
		// Note: this type is marked as 'beforefieldinit'.
		static Footprints()
		{
			Il2CppClassPointerStore<Footprints>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "ch.sycoforge.Decal.Demo", "Footprints");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<Footprints>.NativeClassPtr);
			Footprints.NativeFieldInfoPtr_DecalPrefab = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Footprints>.NativeClassPtr, "DecalPrefab");
			Footprints.NativeFieldInfoPtr_DistanceThreshold = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Footprints>.NativeClassPtr, "DistanceThreshold");
			Footprints.NativeFieldInfoPtr_FootDistance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Footprints>.NativeClassPtr, "FootDistance");
			Footprints.NativeFieldInfoPtr_distance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Footprints>.NativeClassPtr, "distance");
			Footprints.NativeFieldInfoPtr_index = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Footprints>.NativeClassPtr, "index");
			Footprints.NativeFieldInfoPtr_lastPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Footprints>.NativeClassPtr, "lastPosition");
			Footprints.NativeMethodInfoPtr_Start_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Footprints>.NativeClassPtr, 100675494);
			Footprints.NativeMethodInfoPtr_Update_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Footprints>.NativeClassPtr, 100675495);
			Footprints.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Footprints>.NativeClassPtr, 100675496);
		}

		// Token: 0x06009E98 RID: 40600 RVA: 0x0000351C File Offset: 0x0000171C
		public Footprints(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170035DB RID: 13787
		// (get) Token: 0x06009E99 RID: 40601 RVA: 0x0028997C File Offset: 0x00287B7C
		// (set) Token: 0x06009E9A RID: 40602 RVA: 0x002899B0 File Offset: 0x00287BB0
		public unsafe EasyDecal DecalPrefab
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_DecalPrefab);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new EasyDecal(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_DecalPrefab), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170035DC RID: 13788
		// (get) Token: 0x06009E9B RID: 40603 RVA: 0x002899D8 File Offset: 0x00287BD8
		// (set) Token: 0x06009E9C RID: 40604 RVA: 0x00289A00 File Offset: 0x00287C00
		public unsafe float DistanceThreshold
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_DistanceThreshold);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_DistanceThreshold)) = value;
			}
		}

		// Token: 0x170035DD RID: 13789
		// (get) Token: 0x06009E9D RID: 40605 RVA: 0x00289A24 File Offset: 0x00287C24
		// (set) Token: 0x06009E9E RID: 40606 RVA: 0x00289A4C File Offset: 0x00287C4C
		public unsafe float FootDistance
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_FootDistance);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_FootDistance)) = value;
			}
		}

		// Token: 0x170035DE RID: 13790
		// (get) Token: 0x06009E9F RID: 40607 RVA: 0x00289A70 File Offset: 0x00287C70
		// (set) Token: 0x06009EA0 RID: 40608 RVA: 0x00289A98 File Offset: 0x00287C98
		public unsafe float distance
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_distance);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_distance)) = value;
			}
		}

		// Token: 0x170035DF RID: 13791
		// (get) Token: 0x06009EA1 RID: 40609 RVA: 0x00289ABC File Offset: 0x00287CBC
		// (set) Token: 0x06009EA2 RID: 40610 RVA: 0x00289AE4 File Offset: 0x00287CE4
		public unsafe int index
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_index);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_index)) = value;
			}
		}

		// Token: 0x170035E0 RID: 13792
		// (get) Token: 0x06009EA3 RID: 40611 RVA: 0x00289B08 File Offset: 0x00287D08
		// (set) Token: 0x06009EA4 RID: 40612 RVA: 0x00289B30 File Offset: 0x00287D30
		public unsafe Vector3 lastPosition
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_lastPosition);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Footprints.NativeFieldInfoPtr_lastPosition)) = value;
			}
		}

		// Token: 0x04006A3C RID: 27196
		private static readonly IntPtr NativeFieldInfoPtr_DecalPrefab;

		// Token: 0x04006A3D RID: 27197
		private static readonly IntPtr NativeFieldInfoPtr_DistanceThreshold;

		// Token: 0x04006A3E RID: 27198
		private static readonly IntPtr NativeFieldInfoPtr_FootDistance;

		// Token: 0x04006A3F RID: 27199
		private static readonly IntPtr NativeFieldInfoPtr_distance;

		// Token: 0x04006A40 RID: 27200
		private static readonly IntPtr NativeFieldInfoPtr_index;

		// Token: 0x04006A41 RID: 27201
		private static readonly IntPtr NativeFieldInfoPtr_lastPosition;

		// Token: 0x04006A42 RID: 27202
		private static readonly IntPtr NativeMethodInfoPtr_Start_Public_Void_0;

		// Token: 0x04006A43 RID: 27203
		private static readonly IntPtr NativeMethodInfoPtr_Update_Public_Void_0;

		// Token: 0x04006A44 RID: 27204
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
