24 lines
779 B
C#
24 lines
779 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace JD.SonyTrophy.Service
|
|
{
|
|
public sealed class TrophySet
|
|
{
|
|
public string Version { get; }
|
|
|
|
public IReadOnlyDictionary<string, Text> Translations { get; }
|
|
|
|
public string ImagePath { get; }
|
|
|
|
public Trophy[] Trophies { get; }
|
|
|
|
public TrophySet(string version, IReadOnlyDictionary<string, Text> translations, string imagePath, Trophy[] trophies)
|
|
{
|
|
Version = version ?? throw new ArgumentNullException(nameof(version));
|
|
Translations = translations ?? throw new ArgumentNullException(nameof(translations));
|
|
ImagePath = imagePath;
|
|
Trophies = trophies ?? throw new ArgumentNullException(nameof(trophies));
|
|
}
|
|
}
|
|
}
|