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

// Token: 0x0200021A RID: 538
public class SwitchDevice_Fire : SwitchDevice
{
	// Token: 0x060050EE RID: 20718 RVA: 0x0014274C File Offset: 0x0014094C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574242, XrefRangeEnd = 574251, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SwitchDevice_Fire.NativeMethodInfoPtr_Init_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050EF RID: 20719 RVA: 0x0014279C File Offset: 0x0014099C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574251, XrefRangeEnd = 574257, 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), SwitchDevice_Fire.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050F0 RID: 20720 RVA: 0x001427EC File Offset: 0x001409EC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574257, XrefRangeEnd = 574275, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void HitMagic(AttackData AD)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(AD);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SwitchDevice_Fire.NativeMethodInfoPtr_HitMagic_Public_Virtual_Void_AttackData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060050F1 RID: 20721 RVA: 0x00142850 File Offset: 0x00140A50
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574275, XrefRangeEnd = 574276, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void SetDamage()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SwitchDevice_Fire.NativeMethodInfoPtr_SetDamage_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050F2 RID: 20722 RVA: 0x001428A0 File Offset: 0x00140AA0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574276, XrefRangeEnd = 574298, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void SetRecovery()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), SwitchDevice_Fire.NativeMethodInfoPtr_SetRecovery_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050F3 RID: 20723 RVA: 0x001428F0 File Offset: 0x00140AF0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 574298, XrefRangeEnd = 574299, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SwitchDevice_Fire()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SwitchDevice_Fire.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050F4 RID: 20724 RVA: 0x0014293C File Offset: 0x00140B3C
	// Note: this type is marked as 'beforefieldinit'.
	static SwitchDevice_Fire()
	{
		Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SwitchDevice_Fire");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr);
		SwitchDevice_Fire.NativeFieldInfoPtr_FireLight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "FireLight");
		SwitchDevice_Fire.NativeFieldInfoPtr_g_bLightEnable = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "g_bLightEnable");
		SwitchDevice_Fire.NativeFieldInfoPtr_g_fDefaultIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "g_fDefaultIntensity");
		SwitchDevice_Fire.NativeFieldInfoPtr_g_fRandomIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "g_fRandomIntensity");
		SwitchDevice_Fire.NativeFieldInfoPtr_g_fSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "g_fSpeed");
		SwitchDevice_Fire.NativeFieldInfoPtr_g_fIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "g_fIntensity");
		SwitchDevice_Fire.NativeFieldInfoPtr_g_fRandomIntensityVal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "g_fRandomIntensityVal");
		SwitchDevice_Fire.NativeFieldInfoPtr_RecoveryOpenEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "RecoveryOpenEvent");
		SwitchDevice_Fire.NativeFieldInfoPtr_SE_Recovery = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "SE_Recovery");
		SwitchDevice_Fire.NativeFieldInfoPtr_g_SERecovery = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, "g_SERecovery");
		SwitchDevice_Fire.NativeMethodInfoPtr_Init_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668733);
		SwitchDevice_Fire.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668734);
		SwitchDevice_Fire.NativeMethodInfoPtr_HitMagic_Public_Virtual_Void_AttackData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668735);
		SwitchDevice_Fire.NativeMethodInfoPtr_SetDamage_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668736);
		SwitchDevice_Fire.NativeMethodInfoPtr_SetRecovery_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668737);
		SwitchDevice_Fire.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668738);
	}

	// Token: 0x060050F5 RID: 20725 RVA: 0x00142AAC File Offset: 0x00140CAC
	public SwitchDevice_Fire(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CD3 RID: 7379
	// (get) Token: 0x060050F6 RID: 20726 RVA: 0x00142AB8 File Offset: 0x00140CB8
	// (set) Token: 0x060050F7 RID: 20727 RVA: 0x00142AEC File Offset: 0x00140CEC
	public unsafe Light FireLight
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_FireLight);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Light(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_FireLight), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CD4 RID: 7380
	// (get) Token: 0x060050F8 RID: 20728 RVA: 0x00142B14 File Offset: 0x00140D14
	// (set) Token: 0x060050F9 RID: 20729 RVA: 0x00142B3C File Offset: 0x00140D3C
	public unsafe bool g_bLightEnable
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_bLightEnable);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_bLightEnable)) = value;
		}
	}

	// Token: 0x17001CD5 RID: 7381
	// (get) Token: 0x060050FA RID: 20730 RVA: 0x00142B60 File Offset: 0x00140D60
	// (set) Token: 0x060050FB RID: 20731 RVA: 0x00142B88 File Offset: 0x00140D88
	public unsafe float g_fDefaultIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fDefaultIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fDefaultIntensity)) = value;
		}
	}

	// Token: 0x17001CD6 RID: 7382
	// (get) Token: 0x060050FC RID: 20732 RVA: 0x00142BAC File Offset: 0x00140DAC
	// (set) Token: 0x060050FD RID: 20733 RVA: 0x00142BD4 File Offset: 0x00140DD4
	public unsafe float g_fRandomIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fRandomIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fRandomIntensity)) = value;
		}
	}

	// Token: 0x17001CD7 RID: 7383
	// (get) Token: 0x060050FE RID: 20734 RVA: 0x00142BF8 File Offset: 0x00140DF8
	// (set) Token: 0x060050FF RID: 20735 RVA: 0x00142C20 File Offset: 0x00140E20
	public unsafe float g_fSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fSpeed)) = value;
		}
	}

	// Token: 0x17001CD8 RID: 7384
	// (get) Token: 0x06005100 RID: 20736 RVA: 0x00142C44 File Offset: 0x00140E44
	// (set) Token: 0x06005101 RID: 20737 RVA: 0x00142C6C File Offset: 0x00140E6C
	public unsafe float g_fIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fIntensity)) = value;
		}
	}

	// Token: 0x17001CD9 RID: 7385
	// (get) Token: 0x06005102 RID: 20738 RVA: 0x00142C90 File Offset: 0x00140E90
	// (set) Token: 0x06005103 RID: 20739 RVA: 0x00142CB8 File Offset: 0x00140EB8
	public unsafe float g_fRandomIntensityVal
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fRandomIntensityVal);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_fRandomIntensityVal)) = value;
		}
	}

	// Token: 0x17001CDA RID: 7386
	// (get) Token: 0x06005104 RID: 20740 RVA: 0x00142CDC File Offset: 0x00140EDC
	// (set) Token: 0x06005105 RID: 20741 RVA: 0x00142D10 File Offset: 0x00140F10
	public unsafe Il2CppReferenceArray<SceneEvent> RecoveryOpenEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_RecoveryOpenEvent);
			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_Fire.NativeFieldInfoPtr_RecoveryOpenEvent), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CDB RID: 7387
	// (get) Token: 0x06005106 RID: 20742 RVA: 0x00142D38 File Offset: 0x00140F38
	// (set) Token: 0x06005107 RID: 20743 RVA: 0x00142D6C File Offset: 0x00140F6C
	public unsafe GameObject SE_Recovery
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_SE_Recovery);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_SE_Recovery), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CDC RID: 7388
	// (get) Token: 0x06005108 RID: 20744 RVA: 0x00142D94 File Offset: 0x00140F94
	// (set) Token: 0x06005109 RID: 20745 RVA: 0x00142DC8 File Offset: 0x00140FC8
	public unsafe SoundEffect g_SERecovery
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_SERecovery);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SoundEffect(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SwitchDevice_Fire.NativeFieldInfoPtr_g_SERecovery), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003575 RID: 13685
	private static readonly IntPtr NativeFieldInfoPtr_FireLight;

	// Token: 0x04003576 RID: 13686
	private static readonly IntPtr NativeFieldInfoPtr_g_bLightEnable;

	// Token: 0x04003577 RID: 13687
	private static readonly IntPtr NativeFieldInfoPtr_g_fDefaultIntensity;

	// Token: 0x04003578 RID: 13688
	private static readonly IntPtr NativeFieldInfoPtr_g_fRandomIntensity;

	// Token: 0x04003579 RID: 13689
	private static readonly IntPtr NativeFieldInfoPtr_g_fSpeed;

	// Token: 0x0400357A RID: 13690
	private static readonly IntPtr NativeFieldInfoPtr_g_fIntensity;

	// Token: 0x0400357B RID: 13691
	private static readonly IntPtr NativeFieldInfoPtr_g_fRandomIntensityVal;

	// Token: 0x0400357C RID: 13692
	private static readonly IntPtr NativeFieldInfoPtr_RecoveryOpenEvent;

	// Token: 0x0400357D RID: 13693
	private static readonly IntPtr NativeFieldInfoPtr_SE_Recovery;

	// Token: 0x0400357E RID: 13694
	private static readonly IntPtr NativeFieldInfoPtr_g_SERecovery;

	// Token: 0x0400357F RID: 13695
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Virtual_Void_0;

	// Token: 0x04003580 RID: 13696
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

	// Token: 0x04003581 RID: 13697
	private static readonly IntPtr NativeMethodInfoPtr_HitMagic_Public_Virtual_Void_AttackData_0;

	// Token: 0x04003582 RID: 13698
	private static readonly IntPtr NativeMethodInfoPtr_SetDamage_Public_Virtual_Void_0;

	// Token: 0x04003583 RID: 13699
	private static readonly IntPtr NativeMethodInfoPtr_SetRecovery_Public_Virtual_Void_0;

	// Token: 0x04003584 RID: 13700
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
