using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200019D RID: 413
[Token(Token = "0x200019D")]
public class Teleport_BossRush : Teleport
{
	// Token: 0x06001395 RID: 5013 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001395")]
	[Address(RVA = "0xF59A40", Offset = "0xF58A40", VA = "0x180F59A40", Slot = "4")]
	protected override void Start()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001396 RID: 5014 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001396")]
	[Address(RVA = "0xF59FE0", Offset = "0xF58FE0", VA = "0x180F59FE0", Slot = "6")]
	protected override void Update()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001397 RID: 5015 RVA: 0x0002C934 File Offset: 0x0002AB34
	[Token(Token = "0x6001397")]
	[Address(RVA = "0xF599E0", Offset = "0xF589E0", VA = "0x180F599E0", Slot = "8")]
	public override void StartUp()
	{
		this.PS_Teleport.Play(true);
		SoundEffect g_SEStart = this.g_SEStart;
		int num = 0;
		this.g_bStartUp = true;
		this.g_iLevel = num;
		this.g_fStartUpTimeVal = (float)num;
		this.g_bSEStart = true;
		g_SEStart.PlayRandom(1f, 1f);
	}

	// Token: 0x06001398 RID: 5016 RVA: 0x0002C988 File Offset: 0x0002AB88
	[Token(Token = "0x6001398")]
	[Address(RVA = "0xF598D0", Offset = "0xF588D0", VA = "0x180F598D0", Slot = "9")]
	public override void SetEnable(bool bEnable)
	{
		this.g_bEnable = bEnable;
		SoundEffect g_SELoop = this.g_SELoop;
		if (!bEnable)
		{
			g_SELoop.Stop();
			Light lg = this.LG;
			int num = 0;
			lg.enabled = num != 0;
			this.PS_MagicCircle.Stop(true);
			BoxCollider g_BC = this.g_BC;
			int num2 = 0;
			g_BC.enabled = num2 != 0;
			return;
		}
		g_SELoop.PlayRandom(1f, 1f);
		this.LG.enabled = true;
		this.PS_MagicCircle.Play(true);
		this.g_BC.enabled = true;
		this.g_SEStartUp.PlayRandom(1f, 1f);
	}

	// Token: 0x06001399 RID: 5017 RVA: 0x0002CA2C File Offset: 0x0002AC2C
	[Token(Token = "0x6001399")]
	[Address(RVA = "0xF5AFA0", Offset = "0xF59FA0", VA = "0x180F5AFA0")]
	public Teleport_BossRush()
	{
		this.g_fSEStartPitch = 0.5f;
		this.DefaultEnable = true;
		base..ctor();
	}

	// Token: 0x04001D9C RID: 7580
	[FieldOffset(Offset = "0xD0")]
	[Token(Token = "0x4001D9C")]
	public GameObject SE_StartUp;

	// Token: 0x04001D9D RID: 7581
	[FieldOffset(Offset = "0xD8")]
	[Token(Token = "0x4001D9D")]
	private SoundEffect g_SEStartUp;

	// Token: 0x04001D9E RID: 7582
	[FieldOffset(Offset = "0xE0")]
	[Token(Token = "0x4001D9E")]
	public bool TeleportedClose;

	// Token: 0x04001D9F RID: 7583
	[FieldOffset(Offset = "0xE1")]
	[Token(Token = "0x4001D9F")]
	public bool TeleportBossRushEnd;

	// Token: 0x04001DA0 RID: 7584
	[FieldOffset(Offset = "0xE8")]
	[Token(Token = "0x4001DA0")]
	public LoadScript ScriptEvent;

	// Token: 0x04001DA1 RID: 7585
	[FieldOffset(Offset = "0xF0")]
	[Token(Token = "0x4001DA1")]
	public SaveSystem.ScriptType bossRewardFlag;

	// Token: 0x04001DA2 RID: 7586
	[FieldOffset(Offset = "0xF8")]
	[Token(Token = "0x4001DA2")]
	public GameObject WinReward;

	// Token: 0x04001DA3 RID: 7587
	[Token(Token = "0x4001DA3")]
	private const float StartUpTime = 2.4f;
}
