using System;
using Cpp2IlInjected;
using Newtonsoft.Json;

// Token: 0x02000140 RID: 320
[Token(Token = "0x2000140")]
[Serializable]
public class AchievementData
{
	// Token: 0x17000063 RID: 99
	// (get) Token: 0x06000FE7 RID: 4071 RVA: 0x00024C64 File Offset: 0x00022E64
	[Token(Token = "0x17000063")]
	[JsonIgnore]
	public bool HasUnlocked
	{
		[Token(Token = "0x6000FE7")]
		[Address(RVA = "0x4351C0", Offset = "0x4341C0", VA = "0x1804351C0")]
		get
		{
			return this.unlocked;
		}
	}

	// Token: 0x06000FE8 RID: 4072 RVA: 0x00024C78 File Offset: 0x00022E78
	[Token(Token = "0x6000FE8")]
	[Address(RVA = "0xDA44B0", Offset = "0xDA34B0", VA = "0x180DA44B0")]
	public AchievementData(GameAchievement id, bool unlocked)
	{
		this.id = id;
		this.unlocked = unlocked;
	}

	// Token: 0x06000FE9 RID: 4073 RVA: 0x00024C9C File Offset: 0x00022E9C
	[Token(Token = "0x6000FE9")]
	[Address(RVA = "0x7DF390", Offset = "0x7DE390", VA = "0x1807DF390")]
	public void Unlock()
	{
		this.unlocked = true;
	}

	// Token: 0x06000FEA RID: 4074 RVA: 0x00024CB0 File Offset: 0x00022EB0
	[Token(Token = "0x6000FEA")]
	[Address(RVA = "0xDA44A0", Offset = "0xDA34A0", VA = "0x180DA44A0")]
	public void Lock()
	{
		this.unlocked = false;
	}

	// Token: 0x04001A43 RID: 6723
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4001A43")]
	public GameAchievement id;

	// Token: 0x04001A44 RID: 6724
	[FieldOffset(Offset = "0x14")]
	[Token(Token = "0x4001A44")]
	public bool unlocked;
}
