mirror of
https://github.com/SabreTools/SabreTools.RedumpLib.git
synced 2026-07-08 18:16:25 +00:00
35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
|
{
|
|
/// <summary>
|
|
/// Version and editions section of New Disc form
|
|
/// </summary>
|
|
public class VersionAndEditionsSection : ICloneable
|
|
{
|
|
[JsonProperty(PropertyName = "d_version", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? Version { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "d_version_datfile", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? VersionDatfile { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "d_editions", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string[]? CommonEditions { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "d_editions_text", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? OtherEditions { get; set; }
|
|
|
|
public object Clone()
|
|
{
|
|
return new VersionAndEditionsSection
|
|
{
|
|
Version = this.Version,
|
|
VersionDatfile = this.VersionDatfile,
|
|
CommonEditions = this.CommonEditions,
|
|
OtherEditions = this.OtherEditions,
|
|
};
|
|
}
|
|
}
|
|
}
|