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

// Token: 0x02000211 RID: 529
public class SetEnemyDeathEvent : EnemyEvent
{
	// Token: 0x06005045 RID: 20549 RVA: 0x00140000 File Offset: 0x0013E200
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573891, XrefRangeEnd = 573895, 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: 0x06005046 RID: 20550 RVA: 0x00140064 File Offset: 0x0013E264
	[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: 0x06005047 RID: 20551 RVA: 0x001400B0 File Offset: 0x0013E2B0
	// 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, 100668696);
		SetEnemyDeathEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SetEnemyDeathEvent>.NativeClassPtr, 100668697);
	}

	// Token: 0x06005048 RID: 20552 RVA: 0x00133600 File Offset: 0x00131800
	public SetEnemyDeathEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C9A RID: 7322
	// (get) Token: 0x06005049 RID: 20553 RVA: 0x00140130 File Offset: 0x0013E330
	// (set) Token: 0x0600504A RID: 20554 RVA: 0x00140164 File Offset: 0x0013E364
	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: 0x17001C9B RID: 7323
	// (get) Token: 0x0600504B RID: 20555 RVA: 0x0014018C File Offset: 0x0013E38C
	// (set) Token: 0x0600504C RID: 20556 RVA: 0x001401C0 File Offset: 0x0013E3C0
	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: 0x04003517 RID: 13591
	private static readonly IntPtr NativeFieldInfoPtr_DeathOpenEvent;

	// Token: 0x04003518 RID: 13592
	private static readonly IntPtr NativeFieldInfoPtr_DeathReleaseEvent;

	// Token: 0x04003519 RID: 13593
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x0400351A RID: 13594
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
