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

// Token: 0x0200022A RID: 554
public class EffectCheck : MonoBehaviour
{
	// Token: 0x060050C2 RID: 20674 RVA: 0x00141C84 File Offset: 0x0013FE84
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552266, XrefRangeEnd = 552299, 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: 0x060050C3 RID: 20675 RVA: 0x00141CC8 File Offset: 0x0013FEC8
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, 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: 0x060050C4 RID: 20676 RVA: 0x00141D0C File Offset: 0x0013FF0C
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x060050C5 RID: 20677 RVA: 0x00141D58 File Offset: 0x0013FF58
	// 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, 100668692);
		EffectCheck.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EffectCheck>.NativeClassPtr, 100668693);
		EffectCheck.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EffectCheck>.NativeClassPtr, 100668694);
	}

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

	// Token: 0x17001CDF RID: 7391
	// (get) Token: 0x060050C7 RID: 20679 RVA: 0x00141DD8 File Offset: 0x0013FFD8
	// (set) Token: 0x060050C8 RID: 20680 RVA: 0x00141E0C File Offset: 0x0014000C
	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: 0x04003586 RID: 13702
	private static readonly IntPtr NativeFieldInfoPtr_ps;

	// Token: 0x04003587 RID: 13703
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04003588 RID: 13704
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003589 RID: 13705
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
