using System;
using Cpp2IlInjected;
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x020002BC RID: 700
[Token(Token = "0x20002BC")]
public class UIInteractionPrompt : MonoBehaviour
{
	// Token: 0x06001A49 RID: 6729 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001A49")]
	[Address(RVA = "0x76BDB0", Offset = "0x76ABB0", VA = "0x18076BDB0")]
	public void Init()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001A4A RID: 6730 RVA: 0x0003EE34 File Offset: 0x0003D034
	[Token(Token = "0x6001A4A")]
	[Address(RVA = "0x76BCB0", Offset = "0x76AAB0", VA = "0x18076BCB0")]
	public void Appear(string source)
	{
		this.content.text = source;
		if (this.fadeOutProcessor.IsPlaying())
		{
			this.fadeOutProcessor.Complete();
		}
		this.fadeInProcessor.Restart(true, -1f);
	}

	// Token: 0x06001A4B RID: 6731 RVA: 0x0003EE80 File Offset: 0x0003D080
	[Token(Token = "0x6001A4B")]
	[Address(RVA = "0x76BD40", Offset = "0x76AB40", VA = "0x18076BD40")]
	public void Hide()
	{
		if (base.gameObject.activeSelf)
		{
			if (this.fadeInProcessor.IsPlaying())
			{
				this.fadeInProcessor.Complete();
			}
			this.fadeOutProcessor.Restart(true, -1f);
			return;
		}
	}

	// Token: 0x06001A4C RID: 6732 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001A4C")]
	[Address(RVA = "0x76C1D0", Offset = "0x76AFD0", VA = "0x18076C1D0")]
	public void UpdateInputIcon(ControllerDevice device)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001A4D RID: 6733 RVA: 0x0003EECC File Offset: 0x0003D0CC
	[Token(Token = "0x6001A4D")]
	[Address(RVA = "0x76C140", Offset = "0x76AF40", VA = "0x18076C140")]
	public void SetFont(GameFontPack fontPack)
	{
		Text text = this.content;
		Font medium = fontPack.medium;
		text.font = medium;
		Text label = this.inputIcon.label;
		Font regular = fontPack.regular;
		label.font = regular;
	}

	// Token: 0x06001A4E RID: 6734 RVA: 0x0003EF10 File Offset: 0x0003D110
	[Token(Token = "0x6001A4E")]
	[Address(RVA = "0x76BD10", Offset = "0x76AB10", VA = "0x18076BD10")]
	public void Dispose()
	{
		Sequence sequence = this.fadeInProcessor;
		int num = 0;
		sequence.Kill(num != 0);
		Sequence sequence2 = this.fadeOutProcessor;
		int num2 = 0;
		sequence2.Kill(num2 != 0);
	}

	// Token: 0x06001A4F RID: 6735 RVA: 0x0003EF40 File Offset: 0x0003D140
	[Token(Token = "0x6001A4F")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public UIInteractionPrompt()
	{
	}

	// Token: 0x04002425 RID: 9253
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002425")]
	[SerializeField]
	private CanvasGroup canvasGroup;

	// Token: 0x04002426 RID: 9254
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002426")]
	[SerializeField]
	private RectTransform rectTransform;

	// Token: 0x04002427 RID: 9255
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4002427")]
	[SerializeField]
	private UIInputIcon inputIcon;

	// Token: 0x04002428 RID: 9256
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4002428")]
	[SerializeField]
	private Text content;

	// Token: 0x04002429 RID: 9257
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002429")]
	private Sequence fadeInProcessor;

	// Token: 0x0400242A RID: 9258
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x400242A")]
	private Sequence fadeOutProcessor;
}
