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

// Token: 0x0200039E RID: 926
public class CFX_AutodestructWhenNoChildren : MonoBehaviour
{
	// Token: 0x06007855 RID: 30805 RVA: 0x001E98E4 File Offset: 0x001E7AE4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616918, XrefRangeEnd = 616925, 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: 0x06007856 RID: 30806 RVA: 0x001E9928 File Offset: 0x001E7B28
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06007857 RID: 30807 RVA: 0x001E9974 File Offset: 0x001E7B74
	// 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, 100672344);
		CFX_AutodestructWhenNoChildren.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutodestructWhenNoChildren>.NativeClassPtr, 100672345);
	}

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

	// Token: 0x04005007 RID: 20487
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04005008 RID: 20488
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
