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

// Token: 0x0200029C RID: 668
[Token(Token = "0x200029C")]
public class UITeleportHandler : UIHandlerBase
{
	// Token: 0x170000F5 RID: 245
	// (get) Token: 0x06001918 RID: 6424 RVA: 0x0003D8D4 File Offset: 0x0003BAD4
	[Token(Token = "0x170000F5")]
	public GameStage Stage
	{
		[Token(Token = "0x6001918")]
		[Address(RVA = "0x52DE70", Offset = "0x52CE70", VA = "0x18052DE70")]
		get
		{
			return this.stage;
		}
	}

	// Token: 0x170000F6 RID: 246
	// (get) Token: 0x06001919 RID: 6425 RVA: 0x0003D8E8 File Offset: 0x0003BAE8
	[Token(Token = "0x170000F6")]
	public int SavePoint
	{
		[Token(Token = "0x6001919")]
		[Address(RVA = "0x52DDF0", Offset = "0x52CDF0", VA = "0x18052DDF0")]
		get
		{
			return this.savePoint;
		}
	}

	// Token: 0x170000F7 RID: 247
	// (get) Token: 0x0600191A RID: 6426 RVA: 0x0003D8FC File Offset: 0x0003BAFC
	[Token(Token = "0x170000F7")]
	public bool HasUnlocked
	{
		[Token(Token = "0x600191A")]
		[Address(RVA = "0x7603F0", Offset = "0x75F3F0", VA = "0x1807603F0")]
		get
		{
			return this.hasUnlocked;
		}
	}

	// Token: 0x0600191B RID: 6427 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600191B")]
	[Address(RVA = "0xCB41F0", Offset = "0xCB31F0", VA = "0x180CB41F0")]
	public void Init(GameStage stage, int savePoint)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600191C RID: 6428 RVA: 0x0003D910 File Offset: 0x0003BB10
	[Token(Token = "0x600191C")]
	[Address(RVA = "0xCB42F0", Offset = "0xCB32F0", VA = "0x180CB42F0", Slot = "8")]
	public override void OnSelect()
	{
		Action<UIHandlerBase> onSelectedHandler = this.onSelectedHandler;
		if (onSelectedHandler != 0)
		{
			onSelectedHandler(this);
			return;
		}
	}

	// Token: 0x0600191D RID: 6429 RVA: 0x0003D930 File Offset: 0x0003BB30
	[Token(Token = "0x600191D")]
	[Address(RVA = "0xCB42A0", Offset = "0xCB32A0", VA = "0x180CB42A0", Slot = "9")]
	public override void OnDeselect()
	{
		Action<UIHandlerBase> onDeselectedHandler = this.onDeselectedHandler;
		if (onDeselectedHandler != 0)
		{
			onDeselectedHandler(this);
			return;
		}
	}

	// Token: 0x0600191E RID: 6430 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600191E")]
	[Address(RVA = "0xCB4340", Offset = "0xCB3340", VA = "0x180CB4340")]
	public void UpdateUnlockState()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600191F RID: 6431 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600191F")]
	[Address(RVA = "0xCB4290", Offset = "0xCB3290", VA = "0x180CB4290")]
	public bool IsCurrentLocation(GameStage stage, int savePoint)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001920 RID: 6432 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001920")]
	[Address(RVA = "0xCB40E0", Offset = "0xCB30E0", VA = "0x180CB40E0")]
	public string GetLocationText()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001921 RID: 6433 RVA: 0x0003D950 File Offset: 0x0003BB50
	[Token(Token = "0x6001921")]
	[Address(RVA = "0x41ED30", Offset = "0x41DD30", VA = "0x18041ED30")]
	public UITeleportHandler()
	{
	}

	// Token: 0x040023B5 RID: 9141
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x40023B5")]
	[SerializeField]
	private GameStage stage;

	// Token: 0x040023B6 RID: 9142
	[FieldOffset(Offset = "0x6C")]
	[Token(Token = "0x40023B6")]
	[SerializeField]
	private int savePoint;

	// Token: 0x040023B7 RID: 9143
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x40023B7")]
	[SerializeField]
	private bool hasUnlocked;

	// Token: 0x040023B8 RID: 9144
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x40023B8")]
	[SerializeField]
	private Image background;

	// Token: 0x040023B9 RID: 9145
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x40023B9")]
	[SerializeField]
	private Image icon;
}
