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

// Token: 0x02000221 RID: 545
public class Trap_EnemyKill : SceneEvent
{
	// Token: 0x0600514F RID: 20815 RVA: 0x00143EFC File Offset: 0x001420FC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574738, XrefRangeEnd = 574749, 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), Trap_EnemyKill.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

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

	// Token: 0x06005151 RID: 20817 RVA: 0x00143FAC File Offset: 0x001421AC
	// Note: this type is marked as 'beforefieldinit'.
	static Trap_EnemyKill()
	{
		Il2CppClassPointerStore<Trap_EnemyKill>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "Trap_EnemyKill");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<Trap_EnemyKill>.NativeClassPtr);
		Trap_EnemyKill.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Trap_EnemyKill>.NativeClassPtr, 100668760);
		Trap_EnemyKill.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Trap_EnemyKill>.NativeClassPtr, 100668761);
	}

	// Token: 0x06005152 RID: 20818 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public Trap_EnemyKill(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x040035AC RID: 13740
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0;

	// Token: 0x040035AD RID: 13741
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
