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>
|
|
/// Size & checksums section of New Disc form (DVD/BD/UMD-based)
|
|
/// </summary>
|
|
public class SizeAndChecksumsSection : ICloneable
|
|
{
|
|
[JsonProperty(PropertyName = "d_layerbreak", NullValueHandling = NullValueHandling.Ignore)]
|
|
public long Layerbreak { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "d_layerbreak_2", NullValueHandling = NullValueHandling.Ignore)]
|
|
public long Layerbreak2 { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "d_layerbreak_3", NullValueHandling = NullValueHandling.Ignore)]
|
|
public long Layerbreak3 { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "d_pic_identifier", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? PICIdentifier { get; set; }
|
|
|
|
public object Clone()
|
|
{
|
|
return new SizeAndChecksumsSection
|
|
{
|
|
Layerbreak = this.Layerbreak,
|
|
Layerbreak2 = this.Layerbreak2,
|
|
Layerbreak3 = this.Layerbreak3,
|
|
PICIdentifier = this.PICIdentifier,
|
|
};
|
|
}
|
|
}
|
|
}
|