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

// Token: 0x020001DD RID: 477
public class SwitchDevice_Fire : SwitchDevice
{
	// Token: 0x06004BBD RID: 19389 RVA: 0x0012CF2C File Offset: 0x0012B12C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546141, XrefRangeEnd = 546150, 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: 0x06004BBE RID: 19390 RVA: 0x0012CF7C File Offset: 0x0012B17C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546150, XrefRangeEnd = 546156, 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: 0x06004BBF RID: 19391 RVA: 0x0012CFCC File Offset: 0x0012B1CC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546156, XrefRangeEnd = 546174, 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: 0x06004BC0 RID: 19392 RVA: 0x0012D030 File Offset: 0x0012B230
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546174, XrefRangeEnd = 546175, 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: 0x06004BC1 RID: 19393 RVA: 0x0012D080 File Offset: 0x0012B280
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546175, XrefRangeEnd = 546197, 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: 0x06004BC2 RID: 19394 RVA: 0x0012D0D0 File Offset: 0x0012B2D0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 546197, XrefRangeEnd = 546198, 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: 0x06004BC3 RID: 19395 RVA: 0x0012D11C File Offset: 0x0012B31C
	// 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, 100668296);
		SwitchDevice_Fire.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668297);
		SwitchDevice_Fire.NativeMethodInfoPtr_HitMagic_Public_Virtual_Void_AttackData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668298);
		SwitchDevice_Fire.NativeMethodInfoPtr_SetDamage_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668299);
		SwitchDevice_Fire.NativeMethodInfoPtr_SetRecovery_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668300);
		SwitchDevice_Fire.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SwitchDevice_Fire>.NativeClassPtr, 100668301);
	}

	// Token: 0x06004BC4 RID: 19396 RVA: 0x0012D28C File Offset: 0x0012B48C
	public SwitchDevice_Fire(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B50 RID: 6992
	// (get) Token: 0x06004BC5 RID: 19397 RVA: 0x0012D298 File Offset: 0x0012B498
	// (set) Token: 0x06004BC6 RID: 19398 RVA: 0x0012D2CC File Offset: 0x0012B4CC
	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: 0x17001B51 RID: 6993
	// (get) Token: 0x06004BC7 RID: 19399 RVA: 0x0012D2F4 File Offset: 0x0012B4F4
	// (set) Token: 0x06004BC8 RID: 19400 RVA: 0x0012D31C File Offset: 0x0012B51C
	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: 0x17001B52 RID: 6994
	// (get) Token: 0x06004BC9 RID: 19401 RVA: 0x0012D340 File Offset: 0x0012B540
	// (set) Token: 0x06004BCA RID: 19402 RVA: 0x0012D368 File Offset: 0x0012B568
	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: 0x17001B53 RID: 6995
	// (get) Token: 0x06004BCB RID: 19403 RVA: 0x0012D38C File Offset: 0x0012B58C
	// (set) Token: 0x06004BCC RID: 19404 RVA: 0x0012D3B4 File Offset: 0x0012B5B4
	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: 0x17001B54 RID: 6996
	// (get) Token: 0x06004BCD RID: 19405 RVA: 0x0012D3D8 File Offset: 0x0012B5D8
	// (set) Token: 0x06004BCE RID: 19406 RVA: 0x0012D400 File Offset: 0x0012B600
	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: 0x17001B55 RID: 6997
	// (get) Token: 0x06004BCF RID: 19407 RVA: 0x0012D424 File Offset: 0x0012B624
	// (set) Token: 0x06004BD0 RID: 19408 RVA: 0x0012D44C File Offset: 0x0012B64C
	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: 0x17001B56 RID: 6998
	// (get) Token: 0x06004BD1 RID: 19409 RVA: 0x0012D470 File Offset: 0x0012B670
	// (set) Token: 0x06004BD2 RID: 19410 RVA: 0x0012D498 File Offset: 0x0012B698
	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: 0x17001B57 RID: 6999
	// (get) Token: 0x06004BD3 RID: 19411 RVA: 0x0012D4BC File Offset: 0x0012B6BC
	// (set) Token: 0x06004BD4 RID: 19412 RVA: 0x0012D4F0 File Offset: 0x0012B6F0
	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: 0x17001B58 RID: 7000
	// (get) Token: 0x06004BD5 RID: 19413 RVA: 0x0012D518 File Offset: 0x0012B718
	// (set) Token: 0x06004BD6 RID: 19414 RVA: 0x0012D54C File Offset: 0x0012B74C
	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: 0x17001B59 RID: 7001
	// (get) Token: 0x06004BD7 RID: 19415 RVA: 0x0012D574 File Offset: 0x0012B774
	// (set) Token: 0x06004BD8 RID: 19416 RVA: 0x0012D5A8 File Offset: 0x0012B7A8
	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: 0x040031F4 RID: 12788
	private static readonly IntPtr NativeFieldInfoPtr_FireLight;

	// Token: 0x040031F5 RID: 12789
	private static readonly IntPtr NativeFieldInfoPtr_g_bLightEnable;

	// Token: 0x040031F6 RID: 12790
	private static readonly IntPtr NativeFieldInfoPtr_g_fDefaultIntensity;

	// Token: 0x040031F7 RID: 12791
	private static readonly IntPtr NativeFieldInfoPtr_g_fRandomIntensity;

	// Token: 0x040031F8 RID: 12792
	private static readonly IntPtr NativeFieldInfoPtr_g_fSpeed;

	// Token: 0x040031F9 RID: 12793
	private static readonly IntPtr NativeFieldInfoPtr_g_fIntensity;

	// Token: 0x040031FA RID: 12794
	private static readonly IntPtr NativeFieldInfoPtr_g_fRandomIntensityVal;

	// Token: 0x040031FB RID: 12795
	private static readonly IntPtr NativeFieldInfoPtr_RecoveryOpenEvent;

	// Token: 0x040031FC RID: 12796
	private static readonly IntPtr NativeFieldInfoPtr_SE_Recovery;

	// Token: 0x040031FD RID: 12797
	private static readonly IntPtr NativeFieldInfoPtr_g_SERecovery;

	// Token: 0x040031FE RID: 12798
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Virtual_Void_0;

	// Token: 0x040031FF RID: 12799
	private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

	// Token: 0x04003200 RID: 12800
	private static readonly IntPtr NativeMethodInfoPtr_HitMagic_Public_Virtual_Void_AttackData_0;

	// Token: 0x04003201 RID: 12801
	private static readonly IntPtr NativeMethodInfoPtr_SetDamage_Public_Virtual_Void_0;

	// Token: 0x04003202 RID: 12802
	private static readonly IntPtr NativeMethodInfoPtr_SetRecovery_Public_Virtual_Void_0;

	// Token: 0x04003203 RID: 12803
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
