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

// Token: 0x02000200 RID: 512
public class PlaySceneParticleSystem : SceneEvent
{
	// Token: 0x06004F5B RID: 20315 RVA: 0x0013C68C File Offset: 0x0013A88C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572790, XrefRangeEnd = 572798, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlaySceneParticleSystem.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F5C RID: 20316 RVA: 0x0013C6D0 File Offset: 0x0013A8D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572798, XrefRangeEnd = 572804, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PlaySceneParticleSystem.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F5D RID: 20317 RVA: 0x0013C720 File Offset: 0x0013A920
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572804, XrefRangeEnd = 572811, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void ReleaseEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PlaySceneParticleSystem.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F5E RID: 20318 RVA: 0x0013C770 File Offset: 0x0013A970
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe PlaySceneParticleSystem()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlaySceneParticleSystem.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004F5F RID: 20319 RVA: 0x0013C7BC File Offset: 0x0013A9BC
	// Note: this type is marked as 'beforefieldinit'.
	static PlaySceneParticleSystem()
	{
		Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "PlaySceneParticleSystem");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr);
		PlaySceneParticleSystem.NativeFieldInfoPtr_ScenePS = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr, "ScenePS");
		PlaySceneParticleSystem.NativeFieldInfoPtr_g_fStageTimeScale = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr, "g_fStageTimeScale");
		PlaySceneParticleSystem.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr, 100668626);
		PlaySceneParticleSystem.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr, 100668627);
		PlaySceneParticleSystem.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr, 100668628);
		PlaySceneParticleSystem.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySceneParticleSystem>.NativeClassPtr, 100668629);
	}

	// Token: 0x06004F60 RID: 20320 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public PlaySceneParticleSystem(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C53 RID: 7251
	// (get) Token: 0x06004F61 RID: 20321 RVA: 0x0013C864 File Offset: 0x0013AA64
	// (set) Token: 0x06004F62 RID: 20322 RVA: 0x0013C898 File Offset: 0x0013AA98
	public unsafe ParticleSystem ScenePS
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySceneParticleSystem.NativeFieldInfoPtr_ScenePS);
			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(PlaySceneParticleSystem.NativeFieldInfoPtr_ScenePS), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C54 RID: 7252
	// (get) Token: 0x06004F63 RID: 20323 RVA: 0x0013C8C0 File Offset: 0x0013AAC0
	// (set) Token: 0x06004F64 RID: 20324 RVA: 0x0013C8E8 File Offset: 0x0013AAE8
	public unsafe float g_fStageTimeScale
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySceneParticleSystem.NativeFieldInfoPtr_g_fStageTimeScale);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySceneParticleSystem.NativeFieldInfoPtr_g_fStageTimeScale)) = value;
		}
	}

	// Token: 0x04003474 RID: 13428
	private static readonly IntPtr NativeFieldInfoPtr_ScenePS;

	// Token: 0x04003475 RID: 13429
	private static readonly IntPtr NativeFieldInfoPtr_g_fStageTimeScale;

	// Token: 0x04003476 RID: 13430
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003477 RID: 13431
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003478 RID: 13432
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;

	// Token: 0x04003479 RID: 13433
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
