using System;
using Cpp2IlInjected;
using Newtonsoft.Json;

// Token: 0x02000116 RID: 278
[Token(Token = "0x2000116")]
[Serializable]
public class AchievementData
{
	// Token: 0x1700005F RID: 95
	// (get) Token: 0x06000EAC RID: 3756 RVA: 0x00022D44 File Offset: 0x00020F44
	[Token(Token = "0x1700005F")]
	[JsonIgnore]
	public bool HasUnlocked
	{
		[Token(Token = "0x6000EAC")]
		[Address(RVA = "0x412250", Offset = "0x411050", VA = "0x180412250")]
		get
		{
			return this.unlocked;
		}
	}

	// Token: 0x06000EAD RID: 3757 RVA: 0x00022D58 File Offset: 0x00020F58
	[Token(Token = "0x6000EAD")]
	[Address(RVA = "0xDA5AE0", Offset = "0xDA48E0", VA = "0x180DA5AE0")]
	public AchievementData(GameAchievement id, bool unlocked)
	{
		this.id = id;
		this.unlocked = unlocked;
	}

	// Token: 0x06000EAE RID: 3758 RVA: 0x00022D7C File Offset: 0x00020F7C
	[Token(Token = "0x6000EAE")]
	[Address(RVA = "0x7716D0", Offset = "0x7704D0", VA = "0x1807716D0")]
	public void Unlock()
	{
		this.unlocked = true;
	}

	// Token: 0x06000EAF RID: 3759 RVA: 0x00022D90 File Offset: 0x00020F90
	[Token(Token = "0x6000EAF")]
	[Address(RVA = "0x11E13D0", Offset = "0x11E01D0", VA = "0x1811E13D0")]
	public void Lock()
	{
		this.unlocked = false;
	}

	// Token: 0x0400192E RID: 6446
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x400192E")]
	public GameAchievement id;

	// Token: 0x0400192F RID: 6447
	[FieldOffset(Offset = "0x14")]
	[Token(Token = "0x400192F")]
	public bool unlocked;
}
