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

// Token: 0x020001A7 RID: 423
public class FollowParticleSystem : SceneEvent
{
	// Token: 0x0600482C RID: 18476 RVA: 0x0011F87C File Offset: 0x0011DA7C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543722, XrefRangeEnd = 543746, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void InitData(SceneEventManager SEM)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(SEM);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), FollowParticleSystem.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600482D RID: 18477 RVA: 0x0011F8E0 File Offset: 0x0011DAE0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543746, XrefRangeEnd = 543749, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FollowParticleSystem.NativeMethodInfoPtr_Update_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600482E RID: 18478 RVA: 0x0011F924 File Offset: 0x0011DB24
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543749, XrefRangeEnd = 543751, 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), FollowParticleSystem.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600482F RID: 18479 RVA: 0x0011F974 File Offset: 0x0011DB74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543751, XrefRangeEnd = 543754, 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), FollowParticleSystem.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004830 RID: 18480 RVA: 0x0011F9C4 File Offset: 0x0011DBC4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543754, XrefRangeEnd = 543755, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnTriggerEnter(Collider other)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(other);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), FollowParticleSystem.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004831 RID: 18481 RVA: 0x0011FA28 File Offset: 0x0011DC28
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543755, XrefRangeEnd = 543756, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnTriggerExit(Collider other)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(other);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), FollowParticleSystem.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004832 RID: 18482 RVA: 0x0011FA8C File Offset: 0x0011DC8C
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 541882, RefRangeEnd = 541887, XrefRangeStart = 541882, XrefRangeEnd = 541887, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe FollowParticleSystem()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FollowParticleSystem.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004833 RID: 18483 RVA: 0x0011FAD8 File Offset: 0x0011DCD8
	// Note: this type is marked as 'beforefieldinit'.
	static FollowParticleSystem()
	{
		Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "FollowParticleSystem");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr);
		FollowParticleSystem.NativeFieldInfoPtr_PS = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, "PS");
		FollowParticleSystem.NativeFieldInfoPtr_g_Camera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, "g_Camera");
		FollowParticleSystem.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, 100668084);
		FollowParticleSystem.NativeMethodInfoPtr_Update_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, 100668085);
		FollowParticleSystem.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, 100668086);
		FollowParticleSystem.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, 100668087);
		FollowParticleSystem.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, 100668088);
		FollowParticleSystem.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, 100668089);
		FollowParticleSystem.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FollowParticleSystem>.NativeClassPtr, 100668090);
	}

	// Token: 0x06004834 RID: 18484 RVA: 0x00117370 File Offset: 0x00115570
	public FollowParticleSystem(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001A21 RID: 6689
	// (get) Token: 0x06004835 RID: 18485 RVA: 0x0011FBBC File Offset: 0x0011DDBC
	// (set) Token: 0x06004836 RID: 18486 RVA: 0x0011FBF0 File Offset: 0x0011DDF0
	public unsafe ParticleSystem PS
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FollowParticleSystem.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(FollowParticleSystem.NativeFieldInfoPtr_PS), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001A22 RID: 6690
	// (get) Token: 0x06004837 RID: 18487 RVA: 0x0011FC18 File Offset: 0x0011DE18
	// (set) Token: 0x06004838 RID: 18488 RVA: 0x0011FC4C File Offset: 0x0011DE4C
	public unsafe Transform g_Camera
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FollowParticleSystem.NativeFieldInfoPtr_g_Camera);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FollowParticleSystem.NativeFieldInfoPtr_g_Camera), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04002FC4 RID: 12228
	private static readonly IntPtr NativeFieldInfoPtr_PS;

	// Token: 0x04002FC5 RID: 12229
	private static readonly IntPtr NativeFieldInfoPtr_g_Camera;

	// Token: 0x04002FC6 RID: 12230
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x04002FC7 RID: 12231
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;

	// Token: 0x04002FC8 RID: 12232
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04002FC9 RID: 12233
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;

	// Token: 0x04002FCA RID: 12234
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0;

	// Token: 0x04002FCB RID: 12235
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x04002FCC RID: 12236
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
