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

// Token: 0x020001CA RID: 458
public class CreateSoulOpenEvent : SceneEvent
{
	// Token: 0x06004B99 RID: 19353 RVA: 0x0012E39C File Offset: 0x0012C59C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569893, XrefRangeEnd = 569901, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent(Transform OpenEventPos)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(OpenEventPos);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), CreateSoulOpenEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_Transform_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004B9A RID: 19354 RVA: 0x0012E400 File Offset: 0x0012C600
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569901, XrefRangeEnd = 569912, 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), CreateSoulOpenEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06004B9C RID: 19356 RVA: 0x0012E49C File Offset: 0x0012C69C
	// Note: this type is marked as 'beforefieldinit'.
	static CreateSoulOpenEvent()
	{
		Il2CppClassPointerStore<CreateSoulOpenEvent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CreateSoulOpenEvent");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CreateSoulOpenEvent>.NativeClassPtr);
		CreateSoulOpenEvent.NativeFieldInfoPtr_CollisionOpenEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CreateSoulOpenEvent>.NativeClassPtr, "CollisionOpenEvent");
		CreateSoulOpenEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_Transform_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CreateSoulOpenEvent>.NativeClassPtr, 100668405);
		CreateSoulOpenEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CreateSoulOpenEvent>.NativeClassPtr, 100668406);
		CreateSoulOpenEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CreateSoulOpenEvent>.NativeClassPtr, 100668407);
	}

	// Token: 0x06004B9D RID: 19357 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public CreateSoulOpenEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B0F RID: 6927
	// (get) Token: 0x06004B9E RID: 19358 RVA: 0x0012E51C File Offset: 0x0012C71C
	// (set) Token: 0x06004B9F RID: 19359 RVA: 0x0012E550 File Offset: 0x0012C750
	public unsafe SceneEvent CollisionOpenEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CreateSoulOpenEvent.NativeFieldInfoPtr_CollisionOpenEvent);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SceneEvent(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CreateSoulOpenEvent.NativeFieldInfoPtr_CollisionOpenEvent), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003222 RID: 12834
	private static readonly IntPtr NativeFieldInfoPtr_CollisionOpenEvent;

	// Token: 0x04003223 RID: 12835
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_Transform_0;

	// Token: 0x04003224 RID: 12836
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003225 RID: 12837
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
