using System;
using Cpp2IlInjected;

// Token: 0x020001B1 RID: 433
[Token(Token = "0x20001B1")]
public class BossRushMessageBox : SceneEvent
{
	// Token: 0x060013DA RID: 5082 RVA: 0x0002D1EC File Offset: 0x0002B3EC
	[Token(Token = "0x60013DA")]
	[Address(RVA = "0x114C970", Offset = "0x114B970", VA = "0x18114C970", Slot = "5")]
	public override void OpenEvent()
	{
		base.OpenEvent();
		BossRushMessageBox.DialogueType type = this.Type;
		if (type != BossRushMessageBox.DialogueType.SwitchCharacter && type != BossRushMessageBox.DialogueType.SwitchCharacter)
		{
			if (type == BossRushMessageBox.DialogueType.SwitchCharacter)
			{
				Game.AppearDialogueSelect(this.DialogueSelectEvent);
				return;
			}
			if (type != BossRushMessageBox.DialogueType.RemoveTestMode)
			{
				return;
			}
		}
		Game.PlayCanvasSE(UICanvasSFX.MessageBox);
		Game.SwitchUIControlInput();
		int num = 0;
		Game.UpdateSystemTimeScale((float)0, num != 0);
		Game.sceneManager.onSystemMenu = true;
		Game.GetUIStackingManager().Record();
		this.ShowBossRushSwitchCharacterMessageBox();
	}

	// Token: 0x060013DB RID: 5083 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60013DB")]
	[Address(RVA = "0x114CAB0", Offset = "0x114BAB0", VA = "0x18114CAB0")]
	private void ShowBossRushSwitchCharacterMessageBox()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060013DC RID: 5084 RVA: 0x0002D260 File Offset: 0x0002B460
	[Token(Token = "0x60013DC")]
	[Address(RVA = "0x32DFD0", Offset = "0x32CFD0", VA = "0x18032DFD0")]
	public BossRushMessageBox()
	{
	}

	// Token: 0x04001E05 RID: 7685
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001E05")]
	public SceneEvent[] DialogueSelectEvent;

	// Token: 0x04001E06 RID: 7686
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001E06")]
	public BossRushMessageBox.DialogueType Type;

	// Token: 0x020001B2 RID: 434
	[Token(Token = "0x20001B2")]
	public enum DialogueType
	{
		// Token: 0x04001E08 RID: 7688
		[Token(Token = "0x4001E08")]
		SwitchCharacter,
		// Token: 0x04001E09 RID: 7689
		[Token(Token = "0x4001E09")]
		RemoveTestMode,
		// Token: 0x04001E0A RID: 7690
		[Token(Token = "0x4001E0A")]
		DialogueSelect,
		// Token: 0x04001E0B RID: 7691
		[Token(Token = "0x4001E0B")]
		ResetBossRush
	}
}
