33 lines
986 B
C#
33 lines
986 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace JD.SonyTrophy.Service
|
|
{
|
|
public sealed class OldTrophy
|
|
{
|
|
public int Id { get; }
|
|
|
|
public bool IsSecret { get; }
|
|
|
|
public bool IsRequiredForPlatinium { get; }
|
|
|
|
public TrophyGrade Grade { get; }
|
|
|
|
public Text Text { get; }
|
|
|
|
public IReadOnlyDictionary<int, Text> Translations { get; }
|
|
|
|
public string ImagePath { get; }
|
|
|
|
public OldTrophy(int id, bool isSecret, bool isRequiredForPlatinium, TrophyGrade grade, Text text, IReadOnlyDictionary<int, Text> translations, string imagePath)
|
|
{
|
|
Id = id;
|
|
IsSecret = isSecret;
|
|
IsRequiredForPlatinium = isRequiredForPlatinium;
|
|
Grade = grade;
|
|
Text = text ?? throw new ArgumentNullException(nameof(text));
|
|
Translations = translations ?? throw new ArgumentNullException(nameof(translations));
|
|
ImagePath = imagePath;
|
|
}
|
|
}
|
|
}
|