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

// Token: 0x020001E4 RID: 484
public class Trap_EnemyKill : SceneEvent
{
	// Token: 0x06004C1E RID: 19486 RVA: 0x0012E6DC File Offset: 0x0012C8DC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546645, XrefRangeEnd = 546656, 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: 0x06004C1F RID: 19487 RVA: 0x0012E740 File Offset: 0x0012C940
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 541882, RefRangeEnd = 541887, XrefRangeStart = 541882, XrefRangeEnd = 541887, 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: 0x06004C20 RID: 19488 RVA: 0x0012E78C File Offset: 0x0012C98C
	// 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, 100668323);
		Trap_EnemyKill.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Trap_EnemyKill>.NativeClassPtr, 100668324);
	}

	// Token: 0x06004C21 RID: 19489 RVA: 0x00117370 File Offset: 0x00115570
	public Trap_EnemyKill(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x0400322B RID: 12843
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_Void_Collider_0;

	// Token: 0x0400322C RID: 12844
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
