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

// Token: 0x02000388 RID: 904
public class SparksExecutioner : MonoBehaviour
{
	// Token: 0x06007724 RID: 30500 RVA: 0x001E5078 File Offset: 0x001E3278
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616302, XrefRangeEnd = 616305, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SparksExecutioner.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007725 RID: 30501 RVA: 0x001E50BC File Offset: 0x001E32BC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616305, XrefRangeEnd = 616310, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Kill()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SparksExecutioner.NativeMethodInfoPtr_Kill_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007726 RID: 30502 RVA: 0x001E5100 File Offset: 0x001E3300
	[CallerCount(8)]
	[CachedScanResults(RefRangeStart = 616294, RefRangeEnd = 616302, XrefRangeStart = 616294, XrefRangeEnd = 616302, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SparksExecutioner()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SparksExecutioner>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SparksExecutioner.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007727 RID: 30503 RVA: 0x001E514C File Offset: 0x001E334C
	// Note: this type is marked as 'beforefieldinit'.
	static SparksExecutioner()
	{
		Il2CppClassPointerStore<SparksExecutioner>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SparksExecutioner");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SparksExecutioner>.NativeClassPtr);
		SparksExecutioner.NativeFieldInfoPtr_Lifetime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SparksExecutioner>.NativeClassPtr, "Lifetime");
		SparksExecutioner.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SparksExecutioner>.NativeClassPtr, 100672251);
		SparksExecutioner.NativeMethodInfoPtr_Kill_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SparksExecutioner>.NativeClassPtr, 100672252);
		SparksExecutioner.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SparksExecutioner>.NativeClassPtr, 100672253);
	}

	// Token: 0x06007728 RID: 30504 RVA: 0x0000351C File Offset: 0x0000171C
	public SparksExecutioner(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170028EA RID: 10474
	// (get) Token: 0x06007729 RID: 30505 RVA: 0x001E51CC File Offset: 0x001E33CC
	// (set) Token: 0x0600772A RID: 30506 RVA: 0x001E51F4 File Offset: 0x001E33F4
	public unsafe float Lifetime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SparksExecutioner.NativeFieldInfoPtr_Lifetime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SparksExecutioner.NativeFieldInfoPtr_Lifetime)) = value;
		}
	}

	// Token: 0x04004F57 RID: 20311
	private static readonly IntPtr NativeFieldInfoPtr_Lifetime;

	// Token: 0x04004F58 RID: 20312
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004F59 RID: 20313
	private static readonly IntPtr NativeMethodInfoPtr_Kill_Private_Void_0;

	// Token: 0x04004F5A RID: 20314
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
