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

// Token: 0x0200026B RID: 619
public class EffectCheck : MonoBehaviour
{
	// Token: 0x06005633 RID: 22067 RVA: 0x0015863C File Offset: 0x0015683C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580481, XrefRangeEnd = 580514, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EffectCheck.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005634 RID: 22068 RVA: 0x00158680 File Offset: 0x00156880
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EffectCheck.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005635 RID: 22069 RVA: 0x001586C4 File Offset: 0x001568C4
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe EffectCheck()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<EffectCheck>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EffectCheck.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005636 RID: 22070 RVA: 0x00158710 File Offset: 0x00156910
	// Note: this type is marked as 'beforefieldinit'.
	static EffectCheck()
	{
		Il2CppClassPointerStore<EffectCheck>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "EffectCheck");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<EffectCheck>.NativeClassPtr);
		EffectCheck.NativeFieldInfoPtr_ps = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EffectCheck>.NativeClassPtr, "ps");
		EffectCheck.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EffectCheck>.NativeClassPtr, 100669151);
		EffectCheck.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EffectCheck>.NativeClassPtr, 100669152);
		EffectCheck.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EffectCheck>.NativeClassPtr, 100669153);
	}

	// Token: 0x06005637 RID: 22071 RVA: 0x0000351C File Offset: 0x0000171C
	public EffectCheck(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E80 RID: 7808
	// (get) Token: 0x06005638 RID: 22072 RVA: 0x00158790 File Offset: 0x00156990
	// (set) Token: 0x06005639 RID: 22073 RVA: 0x001587C4 File Offset: 0x001569C4
	public unsafe ParticleSystem ps
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EffectCheck.NativeFieldInfoPtr_ps);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new ParticleSystem(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EffectCheck.NativeFieldInfoPtr_ps), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003951 RID: 14673
	private static readonly IntPtr NativeFieldInfoPtr_ps;

	// Token: 0x04003952 RID: 14674
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04003953 RID: 14675
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003954 RID: 14676
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
