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

// Token: 0x02000278 RID: 632
[Token(Token = "0x2000278")]
public class UIHistoryHandler : MonoBehaviour
{
	// Token: 0x06001783 RID: 6019 RVA: 0x00035760 File Offset: 0x00033960
	[Token(Token = "0x6001783")]
	[Address(RVA = "0x19E4F10", Offset = "0x19E3F10", VA = "0x1819E4F10")]
	public void UpdateValue(string value)
	{
		((ICanvasElement)this.content).GraphicUpdateComplete();
	}

	// Token: 0x06001784 RID: 6020 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001784")]
	[Address(RVA = "0x19E4DF0", Offset = "0x19E3DF0", VA = "0x1819E4DF0")]
	public void UpdateAlpha(float alpha)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001785 RID: 6021 RVA: 0x00035780 File Offset: 0x00033980
	[Token(Token = "0x6001785")]
	[Address(RVA = "0x19E4E60", Offset = "0x19E3E60", VA = "0x1819E4E60")]
	public void UpdateSize(float size)
	{
		TweenerCore<Vector3, Vector3, VectorOptions> tweenerCore = ShortcutExtensions.DOScale(this.content.rectTransform, size, 0.3f).SetEase((Ease)((uint)3)).SetUpdate(true)
			.Play<TweenerCore<Vector3, Vector3, VectorOptions>>();
	}

	// Token: 0x06001786 RID: 6022 RVA: 0x000357BC File Offset: 0x000339BC
	[Token(Token = "0x6001786")]
	[Address(RVA = "0x19E4D40", Offset = "0x19E3D40", VA = "0x1819E4D40")]
	public void Localize(LocalizationData data, int index)
	{
		Text text = this.label;
		string text2 = data.systemText.GetText(index);
		text.text = text2;
		GameFontPack fontPack = data.fontPack;
		Text text3 = this.label;
		Font regular = fontPack.regular;
		text3.font = regular;
		GameFontPack fontPack2 = data.fontPack;
		Text text4 = this.content;
		Font light = fontPack2.light;
		text4.font = light;
	}

	// Token: 0x06001787 RID: 6023 RVA: 0x0003582C File Offset: 0x00033A2C
	[Token(Token = "0x6001787")]
	[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
	public UIHistoryHandler()
	{
	}

	// Token: 0x040022F8 RID: 8952
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40022F8")]
	[SerializeField]
	private Text label;

	// Token: 0x040022F9 RID: 8953
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x40022F9")]
	[SerializeField]
	private Text content;
}
