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

// Token: 0x0200034C RID: 844
public class DestroyObj : MonoBehaviour
{
	// Token: 0x0600705B RID: 28763 RVA: 0x001C80FC File Offset: 0x001C62FC
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DestroyObj.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600705C RID: 28764 RVA: 0x001C8140 File Offset: 0x001C6340
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584862, XrefRangeEnd = 584868, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DestroyObj.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600705D RID: 28765 RVA: 0x001C8184 File Offset: 0x001C6384
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584868, XrefRangeEnd = 584869, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe DestroyObj()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DestroyObj>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DestroyObj.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600705E RID: 28766 RVA: 0x001C81D0 File Offset: 0x001C63D0
	// Note: this type is marked as 'beforefieldinit'.
	static DestroyObj()
	{
		Il2CppClassPointerStore<DestroyObj>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "DestroyObj");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DestroyObj>.NativeClassPtr);
		DestroyObj.NativeFieldInfoPtr_timer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DestroyObj>.NativeClassPtr, "timer");
		DestroyObj.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DestroyObj>.NativeClassPtr, 100671658);
		DestroyObj.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DestroyObj>.NativeClassPtr, 100671659);
		DestroyObj.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DestroyObj>.NativeClassPtr, 100671660);
	}

	// Token: 0x0600705F RID: 28767 RVA: 0x0000351C File Offset: 0x0000171C
	public DestroyObj(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170026C8 RID: 9928
	// (get) Token: 0x06007060 RID: 28768 RVA: 0x001C8250 File Offset: 0x001C6450
	// (set) Token: 0x06007061 RID: 28769 RVA: 0x001C8278 File Offset: 0x001C6478
	public unsafe float timer
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DestroyObj.NativeFieldInfoPtr_timer);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DestroyObj.NativeFieldInfoPtr_timer)) = value;
		}
	}

	// Token: 0x04004A92 RID: 19090
	private static readonly IntPtr NativeFieldInfoPtr_timer;

	// Token: 0x04004A93 RID: 19091
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004A94 RID: 19092
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004A95 RID: 19093
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
