mirror of
https://github.com/SabreTools/SabreTools.RedumpLib.git
synced 2026-07-08 18:16:25 +00:00
26 lines
631 B
C#
26 lines
631 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using SabreTools.RedumpLib.Converters;
|
|
using SabreTools.RedumpLib.Data;
|
|
|
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
|
{
|
|
/// <summary>
|
|
/// EDC section of New Disc form (PSX only)
|
|
/// </summary>
|
|
public class EDCSection : ICloneable
|
|
{
|
|
[JsonProperty(PropertyName = "d_edc", NullValueHandling = NullValueHandling.Ignore)]
|
|
[JsonConverter(typeof(YesNoConverter))]
|
|
public YesNo? EDC { get; set; }
|
|
|
|
public object Clone()
|
|
{
|
|
return new EDCSection
|
|
{
|
|
EDC = this.EDC,
|
|
};
|
|
}
|
|
}
|
|
}
|