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

// Token: 0x02000344 RID: 836
public class CFX_AutoDestructShuriken : MonoBehaviour
{
	// Token: 0x06006FED RID: 28653 RVA: 0x001C661C File Offset: 0x001C481C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584609, XrefRangeEnd = 584612, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnEnable()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken.NativeMethodInfoPtr_OnEnable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006FEE RID: 28654 RVA: 0x001C6660 File Offset: 0x001C4860
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584612, XrefRangeEnd = 584617, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe IEnumerator CheckIfAlive()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken.NativeMethodInfoPtr_CheckIfAlive_Private_IEnumerator_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new IEnumerator(intPtr3) : null;
	}

	// Token: 0x06006FEF RID: 28655 RVA: 0x001C66B8 File Offset: 0x001C48B8
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe CFX_AutoDestructShuriken()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006FF0 RID: 28656 RVA: 0x001C6704 File Offset: 0x001C4904
	// Note: this type is marked as 'beforefieldinit'.
	static CFX_AutoDestructShuriken()
	{
		Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CFX_AutoDestructShuriken");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr);
		CFX_AutoDestructShuriken.NativeFieldInfoPtr_OnlyDeactivate = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, "OnlyDeactivate");
		CFX_AutoDestructShuriken.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, 100671622);
		CFX_AutoDestructShuriken.NativeMethodInfoPtr_CheckIfAlive_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, 100671623);
		CFX_AutoDestructShuriken.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, 100671624);
	}

	// Token: 0x06006FF1 RID: 28657 RVA: 0x0000351C File Offset: 0x0000171C
	public CFX_AutoDestructShuriken(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170026A6 RID: 9894
	// (get) Token: 0x06006FF2 RID: 28658 RVA: 0x001C6784 File Offset: 0x001C4984
	// (set) Token: 0x06006FF3 RID: 28659 RVA: 0x001C67AC File Offset: 0x001C49AC
	public unsafe bool OnlyDeactivate
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken.NativeFieldInfoPtr_OnlyDeactivate);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken.NativeFieldInfoPtr_OnlyDeactivate)) = value;
		}
	}

	// Token: 0x04004A51 RID: 19025
	private static readonly IntPtr NativeFieldInfoPtr_OnlyDeactivate;

	// Token: 0x04004A52 RID: 19026
	private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

	// Token: 0x04004A53 RID: 19027
	private static readonly IntPtr NativeMethodInfoPtr_CheckIfAlive_Private_IEnumerator_0;

	// Token: 0x04004A54 RID: 19028
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x02000345 RID: 837
	[ObfuscatedName("CFX_AutoDestructShuriken/<CheckIfAlive>d__2")]
	public sealed class _CheckIfAlive_d__2 : Il2CppSystem.Object
	{
		// Token: 0x06006FF4 RID: 28660 RVA: 0x001C67D0 File Offset: 0x001C49D0
		[CallerCount(323)]
		[CachedScanResults(RefRangeStart = 12254, RefRangeEnd = 12577, XrefRangeStart = 12254, XrefRangeEnd = 12577, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe _CheckIfAlive_d__2(int <>1__state)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr))
		{
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref <>1__state;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr__ctor_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x06006FF5 RID: 28661 RVA: 0x001C6830 File Offset: 0x001C4A30
		[CallerCount(5585)]
		[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void System_IDisposable_Dispose()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06006FF6 RID: 28662 RVA: 0x001C6874 File Offset: 0x001C4A74
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584593, XrefRangeEnd = 584604, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe bool MoveNext()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}

		// Token: 0x170026AA RID: 9898
		// (get) Token: 0x06006FF7 RID: 28663 RVA: 0x001C68C4 File Offset: 0x001C4AC4
		public unsafe Il2CppSystem.Object Current
		{
			[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(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new Il2CppSystem.Object(intPtr3) : null;
			}
		}

		// Token: 0x06006FF8 RID: 28664 RVA: 0x001C691C File Offset: 0x001C4B1C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584604, XrefRangeEnd = 584609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void System_Collections_IEnumerator_Reset()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x170026AB RID: 9899
		// (get) Token: 0x06006FF9 RID: 28665 RVA: 0x001C6960 File Offset: 0x001C4B60
		public unsafe Il2CppSystem.Object Current
		{
			[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(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				IntPtr intPtr3 = intPtr;
				return (intPtr3 != 0) ? new Il2CppSystem.Object(intPtr3) : null;
			}
		}

		// Token: 0x06006FFA RID: 28666 RVA: 0x001C69B8 File Offset: 0x001C4BB8
		// Note: this type is marked as 'beforefieldinit'.
		static _CheckIfAlive_d__2()
		{
			Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, "<CheckIfAlive>d__2");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___1__state = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, "<>1__state");
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___2__current = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, "<>2__current");
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___4__this = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, "<>4__this");
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr__ctor_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100671625);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100671626);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100671627);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100671628);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100671629);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100671630);
		}

		// Token: 0x06006FFB RID: 28667 RVA: 0x0000A688 File Offset: 0x00008888
		public _CheckIfAlive_d__2(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170026A7 RID: 9895
		// (get) Token: 0x06006FFC RID: 28668 RVA: 0x001C6A98 File Offset: 0x001C4C98
		// (set) Token: 0x06006FFD RID: 28669 RVA: 0x001C6AC0 File Offset: 0x001C4CC0
		public unsafe int __1__state
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___1__state);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___1__state)) = value;
			}
		}

		// Token: 0x170026A8 RID: 9896
		// (get) Token: 0x06006FFE RID: 28670 RVA: 0x001C6AE4 File Offset: 0x001C4CE4
		// (set) Token: 0x06006FFF RID: 28671 RVA: 0x001C6B18 File Offset: 0x001C4D18
		public unsafe Il2CppSystem.Object __2__current
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___2__current);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppSystem.Object(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___2__current), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170026A9 RID: 9897
		// (get) Token: 0x06007000 RID: 28672 RVA: 0x001C6B40 File Offset: 0x001C4D40
		// (set) Token: 0x06007001 RID: 28673 RVA: 0x001C6B74 File Offset: 0x001C4D74
		public unsafe CFX_AutoDestructShuriken __4__this
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___4__this);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new CFX_AutoDestructShuriken(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___4__this), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04004A55 RID: 19029
		private static readonly IntPtr NativeFieldInfoPtr___1__state;

		// Token: 0x04004A56 RID: 19030
		private static readonly IntPtr NativeFieldInfoPtr___2__current;

		// Token: 0x04004A57 RID: 19031
		private static readonly IntPtr NativeFieldInfoPtr___4__this;

		// Token: 0x04004A58 RID: 19032
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

		// Token: 0x04004A59 RID: 19033
		private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

		// Token: 0x04004A5A RID: 19034
		private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

		// Token: 0x04004A5B RID: 19035
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

		// Token: 0x04004A5C RID: 19036
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

		// Token: 0x04004A5D RID: 19037
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
	}
}
