using System;
using Cpp2IlInjected;
using DG.Tweening;
using DG.Tweening.Core;
using DG.Tweening.Plugins.Options;
using Newtonsoft.Json.Converters;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x02000266 RID: 614
[Token(Token = "0x2000266")]
public class TitleSceneManager : GameSceneBase, ISceneMenuController
{
	// Token: 0x060016F1 RID: 5873 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016F1")]
	[Address(RVA = "0xF5E740", Offset = "0xF5D740", VA = "0x180F5E740", Slot = "4")]
	public override void Enter()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016F2 RID: 5874 RVA: 0x000337A0 File Offset: 0x000319A0
	[Token(Token = "0x60016F2")]
	[Address(RVA = "0xF5E9C0", Offset = "0xF5D9C0", VA = "0x180F5E9C0")]
	private void Localize(LocalizationData data)
	{
		Text text = this.pressAnyKeyLabel;
		string text2 = data.systemText.GetText(280);
		text.text = text2;
		GameFontPack fontPack = data.fontPack;
		Text text3 = this.pressAnyKeyLabel;
		Font medium = fontPack.medium;
		text3.font = medium;
		string name = ((IXmlDocumentType)this.openingMenu).Name;
	}

	// Token: 0x060016F3 RID: 5875 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016F3")]
	[Address(RVA = "0xF5F470", Offset = "0xF5E470", VA = "0x180F5F470")]
	private void WaitForAnyKeyDown()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016F4 RID: 5876 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016F4")]
	[Address(RVA = "0xF5EA60", Offset = "0xF5DA60", VA = "0x180F5EA60")]
	private void OnAnyKeyDown()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016F5 RID: 5877 RVA: 0x00033800 File Offset: 0x00031A00
	[Token(Token = "0x60016F5")]
	[Address(RVA = "0xF5EF40", Offset = "0xF5DF40", VA = "0x180F5EF40")]
	private void OpenMenuUI()
	{
		UIOpeningMenu uiopeningMenu = this.openingMenu;
		Action action = new Action(this.WaitForAnyKeyDown);
		uiopeningMenu.Open(action);
		Game.BindSceneMenuController(this);
		if (!this.blackScreenEnable)
		{
			this.blackScreenEnable = true;
			Sequence sequence = DOTween.Sequence();
			TweenerCore<Color, Color, ColorOptions> tweenerCore = DOTweenModuleUI.DOFade(this.blackScreen, 0.9f, 0.18f);
			Sequence sequence2 = sequence.Join(tweenerCore).Play<Sequence>();
		}
	}

	// Token: 0x060016F6 RID: 5878 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016F6")]
	[Address(RVA = "0xF5F0A0", Offset = "0xF5E0A0", VA = "0x180F5F0A0")]
	private void ShowBossRushTipsMessageBox()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016F7 RID: 5879 RVA: 0x00033874 File Offset: 0x00031A74
	[Token(Token = "0x60016F7")]
	[Address(RVA = "0xF5E660", Offset = "0xF5D660", VA = "0x180F5E660")]
	private void EnableBlackScreen(bool enable)
	{
		if (this.blackScreenEnable != enable)
		{
			this.blackScreenEnable = enable;
			if (!enable)
			{
				Sequence sequence = DOTween.Sequence();
			}
			Sequence sequence2 = DOTween.Sequence();
			TweenerCore<Color, Color, ColorOptions> tweenerCore = DOTweenModuleUI.DOFade(this.blackScreen, 0.9f, 0.18f);
			Sequence sequence3 = sequence2.Join(tweenerCore).Play<Sequence>();
		}
	}

	// Token: 0x060016F8 RID: 5880 RVA: 0x000338CC File Offset: 0x00031ACC
	[Token(Token = "0x60016F8")]
	[Address(RVA = "0xF5EE90", Offset = "0xF5DE90", VA = "0x180F5EE90")]
	private void OnDestroy()
	{
		Game.onLanguageChanged -= new Action(this.Localize);
	}

	// Token: 0x060016F9 RID: 5881 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016F9")]
	[Address(RVA = "0x29E8B0", Offset = "0x29D8B0", VA = "0x18029E8B0", Slot = "5")]
	public void OpenSceneMenu()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016FA RID: 5882 RVA: 0x000338EC File Offset: 0x00031AEC
	[Token(Token = "0x60016FA")]
	[Address(RVA = "0xF5E640", Offset = "0xF5D640", VA = "0x180F5E640", Slot = "6")]
	public void CloseSceneMenu()
	{
		this.openingMenu.OnSceneMenuClosed();
	}

	// Token: 0x060016FB RID: 5883 RVA: 0x0003390C File Offset: 0x00031B0C
	[Token(Token = "0x60016FB")]
	[Address(RVA = "0x41ED30", Offset = "0x41DD30", VA = "0x18041ED30")]
	public TitleSceneManager()
	{
	}

	// Token: 0x04002292 RID: 8850
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002292")]
	[SerializeField]
	private Text pressAnyKeyLabel;

	// Token: 0x04002293 RID: 8851
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002293")]
	[SerializeField]
	private Image pressAnyKeyEffect;

	// Token: 0x04002294 RID: 8852
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4002294")]
	[SerializeField]
	private Image blackScreen;

	// Token: 0x04002295 RID: 8853
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4002295")]
	[SerializeField]
	private bool waitForAnyKey;

	// Token: 0x04002296 RID: 8854
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002296")]
	[SerializeField]
	private UIOpeningMenu openingMenu;

	// Token: 0x04002297 RID: 8855
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4002297")]
	[SerializeField]
	private SceneBGMController bgm;

	// Token: 0x04002298 RID: 8856
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4002298")]
	private Sequence pressAnyKeySequence;

	// Token: 0x04002299 RID: 8857
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4002299")]
	private bool blackScreenEnable;
}
