JD2022-TU1/main/tools/services/JD.SonyTrophy.Service/OldTrophySet.cs

33 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
namespace JD.SonyTrophy.Service
{
public sealed class OldTrophySet
{
public Platform Platform { get; }
public string NPCommId { get; }
public string Version { get; }
public Text Text { get; }
public IReadOnlyDictionary<int, Text> Translations { get; }
public string ImagePath { get; }
public OldTrophy[] Trophies { get; }
public OldTrophySet(Platform platform, string nPCommId, string version, Text text, IReadOnlyDictionary<int, Text> translations, string imagePath, OldTrophy[] trophies)
{
Platform = platform;
NPCommId = nPCommId ?? throw new ArgumentNullException(nameof(nPCommId));
Version = version ?? throw new ArgumentNullException(nameof(version));
Text = text ?? throw new ArgumentNullException(nameof(text));
Translations = translations ?? throw new ArgumentNullException(nameof(translations));
ImagePath = imagePath;
Trophies = trophies ?? throw new ArgumentNullException(nameof(trophies));
}
}
}