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

// Token: 0x02000346 RID: 838
public class CFX_AutodestructWhenNoChildren : MonoBehaviour
{
	// Token: 0x06007002 RID: 28674 RVA: 0x001C6B9C File Offset: 0x001C4D9C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584617, XrefRangeEnd = 584624, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutodestructWhenNoChildren.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06007004 RID: 28676 RVA: 0x001C6C2C File Offset: 0x001C4E2C
	// Note: this type is marked as 'beforefieldinit'.
	static CFX_AutodestructWhenNoChildren()
	{
		Il2CppClassPointerStore<CFX_AutodestructWhenNoChildren>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CFX_AutodestructWhenNoChildren");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CFX_AutodestructWhenNoChildren>.NativeClassPtr);
		CFX_AutodestructWhenNoChildren.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutodestructWhenNoChildren>.NativeClassPtr, 100671631);
		CFX_AutodestructWhenNoChildren.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutodestructWhenNoChildren>.NativeClassPtr, 100671632);
	}

	// Token: 0x06007005 RID: 28677 RVA: 0x0000351C File Offset: 0x0000171C
	public CFX_AutodestructWhenNoChildren(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x04004A5E RID: 19038
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004A5F RID: 19039
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
