using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020001D2 RID: 466
[Token(Token = "0x20001D2")]
public class SwitchDevice_Fire : SwitchDevice
{
	// Token: 0x06001388 RID: 5000 RVA: 0x0002CCF8 File Offset: 0x0002AEF8
	[Token(Token = "0x6001388")]
	[Address(RVA = "0xAB9EC0", Offset = "0xAB8CC0", VA = "0x180AB9EC0", Slot = "4")]
	public override void Init()
	{
		base.Init();
		if (!this.g_bLightEnable)
		{
		}
		float num = this.g_fDefaultIntensity;
		this.g_fIntensity = num;
		GameObject se_Recovery = this.SE_Recovery;
		this.g_fRandomIntensityVal = 0f;
		Transform transform = base.transform;
		SoundEffect soundEffectOfPrefabs = Common.GetSoundEffectOfPrefabs(se_Recovery, transform);
		this.g_SERecovery = soundEffectOfPrefabs;
		Game.BindStageTimeScale(this.g_SERecovery);
	}

	// Token: 0x06001389 RID: 5001 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001389")]
	[Address(RVA = "0xABA270", Offset = "0xAB9070", VA = "0x180ABA270", Slot = "6")]
	protected override void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600138A RID: 5002 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600138A")]
	[Address(RVA = "0xAB9BF0", Offset = "0xAB89F0", VA = "0x180AB9BF0", Slot = "10")]
	public override void HitMagic(AttackData AD)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600138B RID: 5003 RVA: 0x0002CD58 File Offset: 0x0002AF58
	[Token(Token = "0x600138B")]
	[Address(RVA = "0xAB9F90", Offset = "0xAB8D90", VA = "0x180AB9F90", Slot = "14")]
	public override void SetDamage()
	{
		base.SetDamage();
		this.g_bLightEnable = false;
	}

	// Token: 0x0600138C RID: 5004 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600138C")]
	[Address(RVA = "0xAB9FB0", Offset = "0xAB8DB0", VA = "0x180AB9FB0", Slot = "15")]
	public override void SetRecovery()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600138D RID: 5005 RVA: 0x0002CD74 File Offset: 0x0002AF74
	[Token(Token = "0x600138D")]
	[Address(RVA = "0xABA420", Offset = "0xAB9220", VA = "0x180ABA420")]
	public SwitchDevice_Fire()
	{
		this.g_bSound = true;
		base..ctor();
	}

	// Token: 0x04001E6C RID: 7788
	[FieldOffset(Offset = "0x180")]
	[Token(Token = "0x4001E6C")]
	public Light FireLight;

	// Token: 0x04001E6D RID: 7789
	[FieldOffset(Offset = "0x188")]
	[Token(Token = "0x4001E6D")]
	private bool g_bLightEnable = true;

	// Token: 0x04001E6E RID: 7790
	[FieldOffset(Offset = "0x18C")]
	[Token(Token = "0x4001E6E")]
	private float g_fDefaultIntensity = 9f;

	// Token: 0x04001E6F RID: 7791
	[FieldOffset(Offset = "0x190")]
	[Token(Token = "0x4001E6F")]
	private float g_fRandomIntensity = 1f;

	// Token: 0x04001E70 RID: 7792
	[FieldOffset(Offset = "0x194")]
	[Token(Token = "0x4001E70")]
	private float g_fSpeed = 5f;

	// Token: 0x04001E71 RID: 7793
	[FieldOffset(Offset = "0x198")]
	[Token(Token = "0x4001E71")]
	private float g_fIntensity;

	// Token: 0x04001E72 RID: 7794
	[FieldOffset(Offset = "0x19C")]
	[Token(Token = "0x4001E72")]
	private float g_fRandomIntensityVal;

	// Token: 0x04001E73 RID: 7795
	[FieldOffset(Offset = "0x1A0")]
	[Token(Token = "0x4001E73")]
	public SceneEvent[] RecoveryOpenEvent;

	// Token: 0x04001E74 RID: 7796
	[FieldOffset(Offset = "0x1A8")]
	[Token(Token = "0x4001E74")]
	public GameObject SE_Recovery;

	// Token: 0x04001E75 RID: 7797
	[FieldOffset(Offset = "0x1B0")]
	[Token(Token = "0x4001E75")]
	private SoundEffect g_SERecovery;
}
