using System;
using Cpp2IlInjected;
using MarsSDK;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x02000252 RID: 594
[Token(Token = "0x2000252")]
public class UITeleportHandler : UIHandlerBase
{
	// Token: 0x170000E6 RID: 230
	// (get) Token: 0x060016FA RID: 5882 RVA: 0x00038178 File Offset: 0x00036378
	[Token(Token = "0x170000E6")]
	public GameStage Stage
	{
		[Token(Token = "0x60016FA")]
		[Address(RVA = "0x502B20", Offset = "0x501920", VA = "0x180502B20")]
		get
		{
			return this.stage;
		}
	}

	// Token: 0x170000E7 RID: 231
	// (get) Token: 0x060016FB RID: 5883 RVA: 0x0003818C File Offset: 0x0003638C
	[Token(Token = "0x170000E7")]
	public int SavePoint
	{
		[Token(Token = "0x60016FB")]
		[Address(RVA = "0x502AA0", Offset = "0x5018A0", VA = "0x180502AA0")]
		get
		{
			return this.savePoint;
		}
	}

	// Token: 0x170000E8 RID: 232
	// (get) Token: 0x060016FC RID: 5884 RVA: 0x000381A0 File Offset: 0x000363A0
	[Token(Token = "0x170000E8")]
	public bool HasUnlocked
	{
		[Token(Token = "0x60016FC")]
		[Address(RVA = "0x6EC690", Offset = "0x6EB490", VA = "0x1806EC690")]
		get
		{
			return this.hasUnlocked;
		}
	}

	// Token: 0x060016FD RID: 5885 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016FD")]
	[Address(RVA = "0x18AF0F0", Offset = "0x18ADEF0", VA = "0x1818AF0F0")]
	public void Init(GameStage stage, int savePoint)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016FE RID: 5886 RVA: 0x000381B4 File Offset: 0x000363B4
	[Token(Token = "0x60016FE")]
	[Address(RVA = "0x18AF1F0", Offset = "0x18ADFF0", VA = "0x1818AF1F0", Slot = "8")]
	public override void OnSelect()
	{
		Action<UIHandlerBase> onSelectedHandler = this.onSelectedHandler;
		if (onSelectedHandler != 0)
		{
			onSelectedHandler(this);
			return;
		}
	}

	// Token: 0x060016FF RID: 5887 RVA: 0x000381D4 File Offset: 0x000363D4
	[Token(Token = "0x60016FF")]
	[Address(RVA = "0x18AF1A0", Offset = "0x18ADFA0", VA = "0x1818AF1A0", Slot = "9")]
	public override void OnDeselect()
	{
		Action<UIHandlerBase> onDeselectedHandler = this.onDeselectedHandler;
		if (onDeselectedHandler != 0)
		{
			onDeselectedHandler(this);
			return;
		}
	}

	// Token: 0x06001700 RID: 5888 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001700")]
	[Address(RVA = "0x18AF240", Offset = "0x18AE040", VA = "0x1818AF240")]
	public void UpdateUnlockState()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001701 RID: 5889 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001701")]
	[Address(RVA = "0x18AF190", Offset = "0x18ADF90", VA = "0x1818AF190")]
	public bool IsCurrentLocation(GameStage stage, int savePoint)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001702 RID: 5890 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001702")]
	[Address(RVA = "0x18AEFE0", Offset = "0x18ADDE0", VA = "0x1818AEFE0")]
	public string GetLocationText()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001703 RID: 5891 RVA: 0x000381F4 File Offset: 0x000363F4
	[Token(Token = "0x6001703")]
	[Address(RVA = "0x3FBF80", Offset = "0x3FAD80", VA = "0x1803FBF80")]
	public UITeleportHandler()
	{
	}

	// Token: 0x04002167 RID: 8551
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4002167")]
	[SerializeField]
	private GameStage stage;

	// Token: 0x04002168 RID: 8552
	[FieldOffset(Offset = "0x6C")]
	[Token(Token = "0x4002168")]
	[SerializeField]
	private int savePoint;

	// Token: 0x04002169 RID: 8553
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4002169")]
	[SerializeField]
	private bool hasUnlocked;

	// Token: 0x0400216A RID: 8554
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x400216A")]
	[SerializeField]
	private Image background;

	// Token: 0x0400216B RID: 8555
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x400216B")]
	[SerializeField]
	private Image icon;
}
