using System;
using Cpp2IlInjected;

// Token: 0x0200012E RID: 302
[Token(Token = "0x200012E")]
public class GameSaveVer46
{
	// Token: 0x06000F2E RID: 3886 RVA: 0x000240A8 File Offset: 0x000222A8
	[Token(Token = "0x6000F2E")]
	[Address(RVA = "0x549D60", Offset = "0x548B60", VA = "0x180549D60")]
	public GameSave UpgradeVersion()
	{
		GameSave gameSave = new GameSave();
		gameSave.dataVersion = (int)((ulong)46L);
		GameSaveBasicDataVer46 gameSaveBasicDataVer = this.basic;
		GameSaveBasicData gameSaveBasicData = new GameSaveBasicData();
		int dataIndex = gameSaveBasicDataVer.dataIndex;
		gameSaveBasicData.dataIndex = dataIndex;
		GameDifficulty difficulty = gameSaveBasicDataVer.difficulty;
		gameSaveBasicData.difficulty = difficulty;
		GameStage stage = gameSaveBasicDataVer.stage;
		gameSaveBasicData.stage = stage;
		int savePoint = gameSaveBasicDataVer.savePoint;
		gameSaveBasicData.savePoint = savePoint;
		int num = 0;
		bool showTeleportMenu = gameSaveBasicDataVer.showTeleportMenu;
		gameSaveBasicData.showTeleportMenu = showTeleportMenu;
		long timeStamp = gameSaveBasicDataVer.timeStamp;
		gameSaveBasicData.timeStamp = timeStamp;
		ulong playedSeconds = gameSaveBasicDataVer.playedSeconds;
		if (playedSeconds == (ulong)0L)
		{
			ulong gamingTime = gameSaveBasicDataVer.gamingTime;
		}
		gameSaveBasicData.gamingTime = playedSeconds;
		int gameBeatingCounter = gameSaveBasicDataVer.gameBeatingCounter;
		int gameClearedTimes = gameSaveBasicDataVer.gameClearedTimes;
		gameSaveBasicData.gameCleared = num;
		gameSave.basic = gameSaveBasicData;
		PlayerStatsData playerStatsData = this.stats;
		gameSave.stats = playerStatsData;
		GamePropertyData gamePropertyData = this.props;
		gameSave.props = gamePropertyData;
		StageFlagData stageFlagData = this.flags;
		gameSave.flags = stageFlagData;
		TutorialTipData tutorialTipData = this.tips;
		gameSave.tips = tutorialTipData;
		return gameSave;
	}

	// Token: 0x06000F2F RID: 3887 RVA: 0x000241B8 File Offset: 0x000223B8
	[Token(Token = "0x6000F2F")]
	[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
	public GameSaveVer46()
	{
	}

	// Token: 0x04001A21 RID: 6689
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4001A21")]
	public GameSaveBasicDataVer46 basic;

	// Token: 0x04001A22 RID: 6690
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001A22")]
	public PlayerStatsData stats;

	// Token: 0x04001A23 RID: 6691
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001A23")]
	public GamePropertyData props;

	// Token: 0x04001A24 RID: 6692
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001A24")]
	public StageFlagData flags;

	// Token: 0x04001A25 RID: 6693
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001A25")]
	public TutorialTipData tips;
}
