JD2022-TU1/main/tools/services/JD.MicrosoftAchievement.Service/Achievement.cs

30 lines
869 B
C#

namespace JD.MicrosoftAchievement.Service
{
public sealed class Achievement
{
public int Id { get; }
public string NameId { get; }
public string LockedDescriptionId { get; }
public string UnlockedDescriptionId { get; }
public bool IsSecret { get; }
public bool IsBaseAchievement { get; }
public int Gamerscore { get; }
public Achievement(int id, string nameId, string lockedDescriptionId, string unlockedDescriptionId, bool isSecret, bool isBaseAchievement, int gamerscore)
{
Id = id;
NameId = nameId;
LockedDescriptionId = lockedDescriptionId;
UnlockedDescriptionId = unlockedDescriptionId;
IsSecret = isSecret;
IsBaseAchievement = isBaseAchievement;
Gamerscore = gamerscore;
}
}
}