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

// Token: 0x020001D2 RID: 466
public class DamagedObjectFloor : DamageObject
{
	// Token: 0x06004C78 RID: 19576 RVA: 0x00131958 File Offset: 0x0012FB58
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 571049, XrefRangeEnd = 571058, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DamagedObjectFloor.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004C79 RID: 19577 RVA: 0x001319A8 File Offset: 0x0012FBA8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 571058, XrefRangeEnd = 571061, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual 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), DamagedObjectFloor.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_New_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004C7A RID: 19578 RVA: 0x00131A0C File Offset: 0x0012FC0C
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void HitPhysical(float fStrength)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref fStrength;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), DamagedObjectFloor.NativeMethodInfoPtr_HitPhysical_Public_Virtual_Void_Single_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004C7B RID: 19579 RVA: 0x00131A6C File Offset: 0x0012FC6C
	[CallerCount(4)]
	[CachedScanResults(RefRangeStart = 570282, RefRangeEnd = 570286, XrefRangeStart = 570282, XrefRangeEnd = 570286, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe DamagedObjectFloor()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DamagedObjectFloor.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004C7C RID: 19580 RVA: 0x00131AB8 File Offset: 0x0012FCB8
	// Note: this type is marked as 'beforefieldinit'.
	static DamagedObjectFloor()
	{
		Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "DamagedObjectFloor");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr);
		DamagedObjectFloor.NativeFieldInfoPtr_g_bPlayerUp = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr, "g_bPlayerUp");
		DamagedObjectFloor.NativeFieldInfoPtr_g_fDelayDamageTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr, "g_fDelayDamageTime");
		DamagedObjectFloor.NativeFieldInfoPtr_g_fDelayDamageVal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr, "g_fDelayDamageVal");
		DamagedObjectFloor.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr, 100668458);
		DamagedObjectFloor.NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_New_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr, 100668459);
		DamagedObjectFloor.NativeMethodInfoPtr_HitPhysical_Public_Virtual_Void_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr, 100668460);
		DamagedObjectFloor.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DamagedObjectFloor>.NativeClassPtr, 100668461);
	}

	// Token: 0x06004C7D RID: 19581 RVA: 0x000952E0 File Offset: 0x000934E0
	public DamagedObjectFloor(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B5E RID: 7006
	// (get) Token: 0x06004C7E RID: 19582 RVA: 0x00131B74 File Offset: 0x0012FD74
	// (set) Token: 0x06004C7F RID: 19583 RVA: 0x00131B9C File Offset: 0x0012FD9C
	public unsafe bool g_bPlayerUp
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DamagedObjectFloor.NativeFieldInfoPtr_g_bPlayerUp);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DamagedObjectFloor.NativeFieldInfoPtr_g_bPlayerUp)) = value;
		}
	}

	// Token: 0x17001B5F RID: 7007
	// (get) Token: 0x06004C80 RID: 19584 RVA: 0x00131BC0 File Offset: 0x0012FDC0
	// (set) Token: 0x06004C81 RID: 19585 RVA: 0x00131BDE File Offset: 0x0012FDDE
	public unsafe static float g_fDelayDamageTime
	{
		get
		{
			float num;
			IL2CPP.il2cpp_field_static_get_value(DamagedObjectFloor.NativeFieldInfoPtr_g_fDelayDamageTime, (void*)(&num));
			return num;
		}
		set
		{
			IL2CPP.il2cpp_field_static_set_value(DamagedObjectFloor.NativeFieldInfoPtr_g_fDelayDamageTime, (void*)(&value));
		}
	}

	// Token: 0x17001B60 RID: 7008
	// (get) Token: 0x06004C82 RID: 19586 RVA: 0x00131BF0 File Offset: 0x0012FDF0
	// (set) Token: 0x06004C83 RID: 19587 RVA: 0x00131C18 File Offset: 0x0012FE18
	public unsafe float g_fDelayDamageVal
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DamagedObjectFloor.NativeFieldInfoPtr_g_fDelayDamageVal);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DamagedObjectFloor.NativeFieldInfoPtr_g_fDelayDamageVal)) = value;
		}
	}

	// Token: 0x040032AB RID: 12971
	private static readonly IntPtr NativeFieldInfoPtr_g_bPlayerUp;

	// Token: 0x040032AC RID: 12972
	private static readonly IntPtr NativeFieldInfoPtr_g_fDelayDamageTime;

	// Token: 0x040032AD RID: 12973
	private static readonly IntPtr NativeFieldInfoPtr_g_fDelayDamageVal;

	// Token: 0x040032AE RID: 12974
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

	// Token: 0x040032AF RID: 12975
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerEnter_Protected_Virtual_New_Void_Collider_0;

	// Token: 0x040032B0 RID: 12976
	private static readonly IntPtr NativeMethodInfoPtr_HitPhysical_Public_Virtual_Void_Single_0;

	// Token: 0x040032B1 RID: 12977
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
