using System;
using System.Collections.Generic;
using System.Xml;
using Cpp2IlInjected;
using MEC;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x020002D9 RID: 729
[Token(Token = "0x20002D9")]
public class UIScriptMode : MonoBehaviour
{
	// Token: 0x06001B20 RID: 6944 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B20")]
	[Address(RVA = "0x189CC80", Offset = "0x189BA80", VA = "0x18189CC80")]
	public void Init()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B21 RID: 6945 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B21")]
	[Address(RVA = "0x189D040", Offset = "0x189BE40", VA = "0x18189D040")]
	public void SetBlackEdge(bool isEnabled)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B22 RID: 6946 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B22")]
	[Address(RVA = "0x189D5A0", Offset = "0x189C3A0", VA = "0x18189D5A0")]
	public void SetDialogEnable(bool isEnabled)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B23 RID: 6947 RVA: 0x000408CC File Offset: 0x0003EACC
	[Token(Token = "0x6001B23")]
	[Address(RVA = "0x189D7A0", Offset = "0x189C5A0", VA = "0x18189D7A0")]
	public void SetDialogText(string speakerName, string content)
	{
		this.dialogText.text = content;
		bool dtdValidation = ((IDtdParserAdapterWithValidation)this.dialogSpeakerName).DtdValidation;
	}

	// Token: 0x06001B24 RID: 6948 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B24")]
	[Address(RVA = "0x189D410", Offset = "0x189C210", VA = "0x18189D410")]
	public void SetDialogArrowEnable(bool isEnabled)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B25 RID: 6949 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B25")]
	[Address(RVA = "0x189D1C0", Offset = "0x189BFC0", VA = "0x18189D1C0")]
	public void SetBlackScreen(bool isEnabled, bool isGradient = true)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B26 RID: 6950 RVA: 0x000408F8 File Offset: 0x0003EAF8
	[Token(Token = "0x6001B26")]
	[Address(RVA = "0x189C8E0", Offset = "0x189B6E0", VA = "0x18189C8E0")]
	public void Dispose()
	{
		CoroutineHandle[] array = new CoroutineHandle[4];
		int length = array.Length;
		CoroutineHandle coroutineHandle = this.dialogProcessor;
		array[0] = coroutineHandle;
		CoroutineHandle coroutineHandle2 = this.dialogArrowProcessor;
		array[0] = coroutineHandle2;
		CoroutineHandle coroutineHandle3 = this.blackEdgeProcessor;
		array[1] = coroutineHandle3;
		CoroutineHandle coroutineHandle4 = this.blackScreenProcessor;
		array[1] = coroutineHandle4;
		int num = Timing.KillCoroutines(array);
	}

	// Token: 0x06001B27 RID: 6951 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B27")]
	[Address(RVA = "0x189D800", Offset = "0x189C600", VA = "0x18189D800")]
	private IEnumerator<float> ShowDialogArrow()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B28 RID: 6952 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B28")]
	[Address(RVA = "0x189C9E0", Offset = "0x189B7E0", VA = "0x18189C9E0")]
	private IEnumerator<float> FadeInBlackEdge()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B29 RID: 6953 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B29")]
	[Address(RVA = "0x189CB30", Offset = "0x189B930", VA = "0x18189CB30")]
	private IEnumerator<float> FadeOutBlackEdge()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B2A RID: 6954 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B2A")]
	[Address(RVA = "0x189CAC0", Offset = "0x189B8C0", VA = "0x18189CAC0")]
	private IEnumerator<float> FadeInDialog()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B2B RID: 6955 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B2B")]
	[Address(RVA = "0x189CC10", Offset = "0x189BA10", VA = "0x18189CC10")]
	private IEnumerator<float> FadeOutDialog()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B2C RID: 6956 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B2C")]
	[Address(RVA = "0x189CA50", Offset = "0x189B850", VA = "0x18189CA50")]
	private IEnumerator<float> FadeInBlackScreen()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B2D RID: 6957 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B2D")]
	[Address(RVA = "0x189CBA0", Offset = "0x189B9A0", VA = "0x18189CBA0")]
	private IEnumerator<float> FadeOutBlackScreen()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B2E RID: 6958 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B2E")]
	[Address(RVA = "0x189D870", Offset = "0x189C670", VA = "0x18189D870")]
	private void UpdateDialogTransparency()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B2F RID: 6959 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B2F")]
	[Address(RVA = "0x189D990", Offset = "0x189C790", VA = "0x18189D990")]
	private void UpdateNameTagTransparency()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B30 RID: 6960 RVA: 0x00040964 File Offset: 0x0003EB64
	[Token(Token = "0x6001B30")]
	[Address(RVA = "0x189CFD0", Offset = "0x189BDD0", VA = "0x18189CFD0")]
	public void Localize(LocalizationData data)
	{
		GameFontPack fontPack = data.fontPack;
		Text text = this.dialogSpeakerName;
		Font medium = fontPack.medium;
		text.font = medium;
		GameFontPack fontPack2 = data.fontPack;
		Text text2 = this.dialogText;
		Font regular = fontPack2.regular;
		text2.font = regular;
	}

	// Token: 0x06001B31 RID: 6961 RVA: 0x000409B4 File Offset: 0x0003EBB4
	[Token(Token = "0x6001B31")]
	[Address(RVA = "0x8D4180", Offset = "0x8D2F80", VA = "0x1808D4180")]
	public UIScriptMode()
	{
	}

	// Token: 0x0400251A RID: 9498
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400251A")]
	[SerializeField]
	private Image blackScreen;

	// Token: 0x0400251B RID: 9499
	[Token(Token = "0x400251B")]
	private const float BLACK_SPEED = 4f;

	// Token: 0x0400251C RID: 9500
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x400251C")]
	private float blackScreenAlpha = 1f;

	// Token: 0x0400251D RID: 9501
	[FieldOffset(Offset = "0x24")]
	[Token(Token = "0x400251D")]
	private bool isBlackScreenEnabled;

	// Token: 0x0400251E RID: 9502
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x400251E")]
	[SerializeField]
	private RectTransform blackEdgeRoot;

	// Token: 0x0400251F RID: 9503
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400251F")]
	[SerializeField]
	private Image blackEdgeUp;

	// Token: 0x04002520 RID: 9504
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002520")]
	[SerializeField]
	private Image blackEdgeBottom;

	// Token: 0x04002521 RID: 9505
	[Token(Token = "0x4002521")]
	private const float BLACK_EDGE_SPEED = 1.5f;

	// Token: 0x04002522 RID: 9506
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4002522")]
	private float blackEdgeAlpha;

	// Token: 0x04002523 RID: 9507
	[FieldOffset(Offset = "0x44")]
	[Token(Token = "0x4002523")]
	private bool isBlackEdgeEnabled;

	// Token: 0x04002524 RID: 9508
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4002524")]
	[SerializeField]
	private RectTransform dialogRoot;

	// Token: 0x04002525 RID: 9509
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4002525")]
	[SerializeField]
	private RectTransform dialogArrowRoot;

	// Token: 0x04002526 RID: 9510
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x4002526")]
	[SerializeField]
	private Image[] dialogBottoms;

	// Token: 0x04002527 RID: 9511
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x4002527")]
	[SerializeField]
	private Image dialogNameTag;

	// Token: 0x04002528 RID: 9512
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4002528")]
	[SerializeField]
	private Text dialogText;

	// Token: 0x04002529 RID: 9513
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4002529")]
	[SerializeField]
	private Text dialogSpeakerName;

	// Token: 0x0400252A RID: 9514
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x400252A")]
	private bool isDialogEnabled;

	// Token: 0x0400252B RID: 9515
	[FieldOffset(Offset = "0x7C")]
	[Token(Token = "0x400252B")]
	private float dialogArrowPosY;

	// Token: 0x0400252C RID: 9516
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x400252C")]
	private float dialogAlpha;

	// Token: 0x0400252D RID: 9517
	[FieldOffset(Offset = "0x84")]
	[Token(Token = "0x400252D")]
	private CoroutineHandle dialogProcessor;

	// Token: 0x0400252E RID: 9518
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x400252E")]
	private CoroutineHandle dialogArrowProcessor;

	// Token: 0x0400252F RID: 9519
	[FieldOffset(Offset = "0x8C")]
	[Token(Token = "0x400252F")]
	private CoroutineHandle blackEdgeProcessor;

	// Token: 0x04002530 RID: 9520
	[FieldOffset(Offset = "0x90")]
	[Token(Token = "0x4002530")]
	private CoroutineHandle blackScreenProcessor;
}
