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

// Token: 0x02000218 RID: 536
public class SwitchDevice_Check : SceneEvent
{
	// Token: 0x060050D2 RID: 20690 RVA: 0x001420C4 File Offset: 0x001402C4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574201, XrefRangeEnd = 574207, 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), SwitchDevice_Check.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060050D3 RID: 20691 RVA: 0x00142128 File Offset: 0x00140328
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574207, XrefRangeEnd = 574214, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SwitchDevice_Check.NativeMethodInfoPtr_Update_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050D4 RID: 20692 RVA: 0x0014216C File Offset: 0x0014036C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574214, XrefRangeEnd = 574227, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SwitchDevice_Check.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x060050D6 RID: 20694 RVA: 0x00142208 File Offset: 0x00140408
	// Note: this type is marked as 'beforefieldinit'.
	static SwitchDevice_Check()
	{
		Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SwitchDevice_Check");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr);
		SwitchDevice_Check.NativeFieldInfoPtr_SD = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, "SD");
		SwitchDevice_Check.NativeFieldInfoPtr_DamagedRecovery = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, "DamagedRecovery");
		SwitchDevice_Check.NativeFieldInfoPtr_DamagedTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, "DamagedTime");
		SwitchDevice_Check.NativeFieldInfoPtr_g_fDamagedTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, "g_fDamagedTime");
		SwitchDevice_Check.NativeFieldInfoPtr_DeathOpenEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, "DeathOpenEvent");
		SwitchDevice_Check.NativeFieldInfoPtr_DeathReleaseEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, "DeathReleaseEvent");
		SwitchDevice_Check.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, 100668727);
		SwitchDevice_Check.NativeMethodInfoPtr_Update_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, 100668728);
		SwitchDevice_Check.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, 100668729);
		SwitchDevice_Check.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, 100668730);
	}

	// Token: 0x060050D7 RID: 20695 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public SwitchDevice_Check(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CCA RID: 7370
	// (get) Token: 0x060050D8 RID: 20696 RVA: 0x00142300 File Offset: 0x00140500
	// (set) Token: 0x060050D9 RID: 20697 RVA: 0x00142334 File Offset: 0x00140534
	public unsafe Il2CppReferenceArray<SwitchDevice_Fire> SD
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.NativeFieldInfoPtr_SD);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<SwitchDevice_Fire>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.NativeFieldInfoPtr_SD), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CCB RID: 7371
	// (get) Token: 0x060050DA RID: 20698 RVA: 0x0014235C File Offset: 0x0014055C
	// (set) Token: 0x060050DB RID: 20699 RVA: 0x00142384 File Offset: 0x00140584
	public unsafe bool DamagedRecovery
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.NativeFieldInfoPtr_DamagedRecovery);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.NativeFieldInfoPtr_DamagedRecovery)) = value;
		}
	}

	// Token: 0x17001CCC RID: 7372
	// (get) Token: 0x060050DC RID: 20700 RVA: 0x001423A8 File Offset: 0x001405A8
	// (set) Token: 0x060050DD RID: 20701 RVA: 0x001423D0 File Offset: 0x001405D0
	public unsafe float DamagedTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.NativeFieldInfoPtr_DamagedTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.NativeFieldInfoPtr_DamagedTime)) = value;
		}
	}

	// Token: 0x17001CCD RID: 7373
	// (get) Token: 0x060050DE RID: 20702 RVA: 0x001423F4 File Offset: 0x001405F4
	// (set) Token: 0x060050DF RID: 20703 RVA: 0x00142428 File Offset: 0x00140628
	public unsafe Il2CppStructArray<float> g_fDamagedTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.NativeFieldInfoPtr_g_fDamagedTime);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppStructArray<float>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.NativeFieldInfoPtr_g_fDamagedTime), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CCE RID: 7374
	// (get) Token: 0x060050E0 RID: 20704 RVA: 0x00142450 File Offset: 0x00140650
	// (set) Token: 0x060050E1 RID: 20705 RVA: 0x00142484 File Offset: 0x00140684
	public unsafe Il2CppReferenceArray<SceneEvent> DeathOpenEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.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(SwitchDevice_Check.NativeFieldInfoPtr_DeathOpenEvent), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CCF RID: 7375
	// (get) Token: 0x060050E2 RID: 20706 RVA: 0x001424AC File Offset: 0x001406AC
	// (set) Token: 0x060050E3 RID: 20707 RVA: 0x001424E0 File Offset: 0x001406E0
	public unsafe Il2CppReferenceArray<SceneEvent> DeathReleaseEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Check.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(SwitchDevice_Check.NativeFieldInfoPtr_DeathReleaseEvent), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003566 RID: 13670
	private static readonly IntPtr NativeFieldInfoPtr_SD;

	// Token: 0x04003567 RID: 13671
	private static readonly IntPtr NativeFieldInfoPtr_DamagedRecovery;

	// Token: 0x04003568 RID: 13672
	private static readonly IntPtr NativeFieldInfoPtr_DamagedTime;

	// Token: 0x04003569 RID: 13673
	private static readonly IntPtr NativeFieldInfoPtr_g_fDamagedTime;

	// Token: 0x0400356A RID: 13674
	private static readonly IntPtr NativeFieldInfoPtr_DeathOpenEvent;

	// Token: 0x0400356B RID: 13675
	private static readonly IntPtr NativeFieldInfoPtr_DeathReleaseEvent;

	// Token: 0x0400356C RID: 13676
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x0400356D RID: 13677
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;

	// Token: 0x0400356E RID: 13678
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400356F RID: 13679
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
