mirror of
https://github.com/SabreTools/SabreTools.RedumpLib.git
synced 2026-07-08 18:16:25 +00:00
32 lines
1016 B
C#
32 lines
1016 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using SabreTools.RedumpLib.Data;
|
|
|
|
namespace SabreTools.RedumpLib.Legacy.Data.Sections
|
|
{
|
|
/// <summary>
|
|
/// Dumpers and status section of New Disc form (Moderator only)
|
|
/// </summary>
|
|
public class DumpersAndStatusSection : ICloneable
|
|
{
|
|
[JsonProperty(PropertyName = "d_status", NullValueHandling = NullValueHandling.Ignore)]
|
|
public DumpStatus Status { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "d_dumpers", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string[]? Dumpers { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "d_dumpers_text", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? OtherDumpers { get; set; }
|
|
|
|
public object Clone()
|
|
{
|
|
return new DumpersAndStatusSection
|
|
{
|
|
Status = this.Status,
|
|
Dumpers = this.Dumpers?.Clone() as string[],
|
|
OtherDumpers = this.OtherDumpers,
|
|
};
|
|
}
|
|
}
|
|
}
|