From 2f3e7d105d7b0590f02a23e8b86ff61cdc562217 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 6 Oct 2022 10:25:27 -0700 Subject: [PATCH] Add dumping info section skeleton --- CHANGELIST.md | 1 + RedumpLib/Data/SubmissionInfo.cs | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/CHANGELIST.md b/CHANGELIST.md index 88531998..829a59f2 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -133,6 +133,7 @@ - Add unused command filename parser - Add initial framework for reporting dumping program - Report specific DIC version, if possible +- Add dumping info section skeleton ### 2.3 (2022-02-05) - Start overhauling Redump information pulling, again diff --git a/RedumpLib/Data/SubmissionInfo.cs b/RedumpLib/Data/SubmissionInfo.cs index 6f558816..1f1ea4ca 100644 --- a/RedumpLib/Data/SubmissionInfo.cs +++ b/RedumpLib/Data/SubmissionInfo.cs @@ -41,6 +41,9 @@ namespace RedumpLib.Data [JsonProperty(PropertyName = "common_disc_info", DefaultValueHandling = DefaultValueHandling.Ignore)] public CommonDiscInfoSection CommonDiscInfo { get; set; } = new CommonDiscInfoSection(); + [JsonProperty(PropertyName = "dumping_info", DefaultValueHandling = DefaultValueHandling.Ignore)] + public DumpingInfoSection DumpingInfo { get; set; } = new DumpingInfoSection(); + [JsonProperty(PropertyName = "versions_and_editions", DefaultValueHandling = DefaultValueHandling.Ignore)] public VersionAndEditionsSection VersionAndEditions { get; set; } = new VersionAndEditionsSection(); @@ -279,6 +282,22 @@ namespace RedumpLib.Data } } + /// + /// Dumping info section for moderation + /// + public class DumpingInfoSection : ICloneable + { + // TODO: Add properties here + + public object Clone() + { + return new DumpingInfoSection + { + // TODO: Add properties here + }; + } + } + /// /// Version and editions section of New Disc form ///