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

// Token: 0x020001DB RID: 475
public class SwitchDevice_Check : SceneEvent
{
	// Token: 0x06004BA1 RID: 19361 RVA: 0x0012C8A4 File Offset: 0x0012AAA4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546100, XrefRangeEnd = 546106, 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: 0x06004BA2 RID: 19362 RVA: 0x0012C908 File Offset: 0x0012AB08
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546106, XrefRangeEnd = 546113, 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: 0x06004BA3 RID: 19363 RVA: 0x0012C94C File Offset: 0x0012AB4C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546113, XrefRangeEnd = 546126, 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: 0x06004BA4 RID: 19364 RVA: 0x0012C99C File Offset: 0x0012AB9C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546126, XrefRangeEnd = 546127, 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: 0x06004BA5 RID: 19365 RVA: 0x0012C9E8 File Offset: 0x0012ABE8
	// 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, 100668290);
		SwitchDevice_Check.NativeMethodInfoPtr_Update_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, 100668291);
		SwitchDevice_Check.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, 100668292);
		SwitchDevice_Check.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Check>.NativeClassPtr, 100668293);
	}

	// Token: 0x06004BA6 RID: 19366 RVA: 0x00117370 File Offset: 0x00115570
	public SwitchDevice_Check(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B47 RID: 6983
	// (get) Token: 0x06004BA7 RID: 19367 RVA: 0x0012CAE0 File Offset: 0x0012ACE0
	// (set) Token: 0x06004BA8 RID: 19368 RVA: 0x0012CB14 File Offset: 0x0012AD14
	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: 0x17001B48 RID: 6984
	// (get) Token: 0x06004BA9 RID: 19369 RVA: 0x0012CB3C File Offset: 0x0012AD3C
	// (set) Token: 0x06004BAA RID: 19370 RVA: 0x0012CB64 File Offset: 0x0012AD64
	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: 0x17001B49 RID: 6985
	// (get) Token: 0x06004BAB RID: 19371 RVA: 0x0012CB88 File Offset: 0x0012AD88
	// (set) Token: 0x06004BAC RID: 19372 RVA: 0x0012CBB0 File Offset: 0x0012ADB0
	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: 0x17001B4A RID: 6986
	// (get) Token: 0x06004BAD RID: 19373 RVA: 0x0012CBD4 File Offset: 0x0012ADD4
	// (set) Token: 0x06004BAE RID: 19374 RVA: 0x0012CC08 File Offset: 0x0012AE08
	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: 0x17001B4B RID: 6987
	// (get) Token: 0x06004BAF RID: 19375 RVA: 0x0012CC30 File Offset: 0x0012AE30
	// (set) Token: 0x06004BB0 RID: 19376 RVA: 0x0012CC64 File Offset: 0x0012AE64
	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: 0x17001B4C RID: 6988
	// (get) Token: 0x06004BB1 RID: 19377 RVA: 0x0012CC8C File Offset: 0x0012AE8C
	// (set) Token: 0x06004BB2 RID: 19378 RVA: 0x0012CCC0 File Offset: 0x0012AEC0
	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: 0x040031E5 RID: 12773
	private static readonly IntPtr NativeFieldInfoPtr_SD;

	// Token: 0x040031E6 RID: 12774
	private static readonly IntPtr NativeFieldInfoPtr_DamagedRecovery;

	// Token: 0x040031E7 RID: 12775
	private static readonly IntPtr NativeFieldInfoPtr_DamagedTime;

	// Token: 0x040031E8 RID: 12776
	private static readonly IntPtr NativeFieldInfoPtr_g_fDamagedTime;

	// Token: 0x040031E9 RID: 12777
	private static readonly IntPtr NativeFieldInfoPtr_DeathOpenEvent;

	// Token: 0x040031EA RID: 12778
	private static readonly IntPtr NativeFieldInfoPtr_DeathReleaseEvent;

	// Token: 0x040031EB RID: 12779
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x040031EC RID: 12780
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;

	// Token: 0x040031ED RID: 12781
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040031EE RID: 12782
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
