using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;

// Token: 0x020001D4 RID: 468
public class SetEnemyDeathEvent : EnemyEvent
{
	// Token: 0x06004B15 RID: 19221 RVA: 0x0012A854 File Offset: 0x00128A54
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545792, XrefRangeEnd = 545796, 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), SetEnemyDeathEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004B16 RID: 19222 RVA: 0x0012A8B8 File Offset: 0x00128AB8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SetEnemyDeathEvent()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SetEnemyDeathEvent>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SetEnemyDeathEvent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004B17 RID: 19223 RVA: 0x0012A904 File Offset: 0x00128B04
	// Note: this type is marked as 'beforefieldinit'.
	static SetEnemyDeathEvent()
	{
		Il2CppClassPointerStore<SetEnemyDeathEvent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SetEnemyDeathEvent");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SetEnemyDeathEvent>.NativeClassPtr);
		SetEnemyDeathEvent.NativeFieldInfoPtr_DeathOpenEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SetEnemyDeathEvent>.NativeClassPtr, "DeathOpenEvent");
		SetEnemyDeathEvent.NativeFieldInfoPtr_DeathReleaseEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SetEnemyDeathEvent>.NativeClassPtr, "DeathReleaseEvent");
		SetEnemyDeathEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetEnemyDeathEvent>.NativeClassPtr, 100668260);
		SetEnemyDeathEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetEnemyDeathEvent>.NativeClassPtr, 100668261);
	}

	// Token: 0x06004B18 RID: 19224 RVA: 0x0011EB9C File Offset: 0x0011CD9C
	public SetEnemyDeathEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B17 RID: 6935
	// (get) Token: 0x06004B19 RID: 19225 RVA: 0x0012A984 File Offset: 0x00128B84
	// (set) Token: 0x06004B1A RID: 19226 RVA: 0x0012A9B8 File Offset: 0x00128BB8
	public unsafe Il2CppReferenceArray<SceneEvent> DeathOpenEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetEnemyDeathEvent.NativeFieldInfoPtr_DeathOpenEvent);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<SceneEvent>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetEnemyDeathEvent.NativeFieldInfoPtr_DeathOpenEvent), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001B18 RID: 6936
	// (get) Token: 0x06004B1B RID: 19227 RVA: 0x0012A9E0 File Offset: 0x00128BE0
	// (set) Token: 0x06004B1C RID: 19228 RVA: 0x0012AA14 File Offset: 0x00128C14
	public unsafe Il2CppReferenceArray<SceneEvent> DeathReleaseEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetEnemyDeathEvent.NativeFieldInfoPtr_DeathReleaseEvent);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<SceneEvent>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SetEnemyDeathEvent.NativeFieldInfoPtr_DeathReleaseEvent), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003197 RID: 12695
	private static readonly IntPtr NativeFieldInfoPtr_DeathOpenEvent;

	// Token: 0x04003198 RID: 12696
	private static readonly IntPtr NativeFieldInfoPtr_DeathReleaseEvent;

	// Token: 0x04003199 RID: 12697
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x0400319A RID: 12698
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
