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

// Token: 0x020002DD RID: 733
[Token(Token = "0x20002DD")]
public class UISceneLoading : MonoBehaviour
{
	// Token: 0x06001B71 RID: 7025 RVA: 0x00042DC4 File Offset: 0x00040FC4
	[Token(Token = "0x6001B71")]
	[Address(RVA = "0x94DE30", Offset = "0x94CE30", VA = "0x18094DE30")]
	public void Init()
	{
		CanvasGroup canvasGroup = this.canvasGroup;
		int num = 0;
		canvasGroup.alpha = (float)num;
		GameObject gameObject = base.gameObject;
		int num2 = 0;
		gameObject.SetActive(num2 != 0);
	}

	// Token: 0x06001B72 RID: 7026 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B72")]
	[Address(RVA = "0x94DB70", Offset = "0x94CB70", VA = "0x18094DB70")]
	public void Appear(Action completionHandler)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B73 RID: 7027 RVA: 0x00042DF8 File Offset: 0x00040FF8
	[Token(Token = "0x6001B73")]
	[Address(RVA = "0x94DCF0", Offset = "0x94CCF0", VA = "0x18094DCF0")]
	public void Hide(Action completionHandler)
	{
		CanvasGroup canvasGroup = this.canvasGroup;
		int num = 0;
		TweenerCore<float, float, FloatOptions> tweenerCore = DOTweenModuleUI.DOFade(canvasGroup, (float)num, 0.3f).SetEase((Ease)((uint)15));
		TweenCallback tweenCallback = delegate
		{
			Action completionHandler2 = completionHandler;
			if (completionHandler2 != 0)
			{
				completionHandler2();
			}
			GameObject gameObject = this.gameObject;
			int num2 = 0;
			gameObject.SetActive(num2 != 0);
		};
		TweenerCore<float, float, FloatOptions> tweenerCore2 = tweenerCore.OnComplete(tweenCallback).Play<TweenerCore<float, float, FloatOptions>>();
	}

	// Token: 0x06001B74 RID: 7028 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B74")]
	[Address(RVA = "0x94DEF0", Offset = "0x94CEF0", VA = "0x18094DEF0")]
	public void UpdateProgress(float progress)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001B75 RID: 7029 RVA: 0x00042E5C File Offset: 0x0004105C
	[Token(Token = "0x6001B75")]
	[Address(RVA = "0x94DE80", Offset = "0x94CE80", VA = "0x18094DE80")]
	public void Localize(LocalizationData data)
	{
		string text = data.systemText.GetText(320);
		this.loadingText = text;
		GameFontPack fontPack = data.fontPack;
		Text text2 = this.progressLabel;
		Font light = fontPack.light;
		text2.font = light;
	}

	// Token: 0x06001B76 RID: 7030 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001B76")]
	[Address(RVA = "0x94DFE0", Offset = "0x94CFE0", VA = "0x18094DFE0")]
	public UISceneLoading()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0400255C RID: 9564
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400255C")]
	[SerializeField]
	private CanvasGroup canvasGroup;

	// Token: 0x0400255D RID: 9565
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x400255D")]
	[SerializeField]
	private Image loadingBar;

	// Token: 0x0400255E RID: 9566
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x400255E")]
	[SerializeField]
	private Text progressLabel;

	// Token: 0x0400255F RID: 9567
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400255F")]
	private string loadingText;
}
