Make Every Class Internal

This commit is contained in:
copecone committed 2026-08-17 03:16:19 +09:00
1 parent 54b7eb7466
commit 485ebffbd3
38 files changed
+50 -51

No files matched your search

+3 -3
View File
@@ -4,7 +4,7 @@ namespace ADOFAIRenderer.Data
/// Base class for double input validation limits.
/// Multiple limits can be composed on a single input field — all are checked in order.
/// </summary>
public abstract class DoubleLimit
internal abstract class DoubleLimit
{
/// <summary>
/// Validates the given double value against this limit.
@@ -21,7 +21,7 @@ namespace ADOFAIRenderer.Data
/// <summary>
/// Requires the double value to be strictly positive (> 0).
/// </summary>
public class PositiveOnlyDoubleLimit : DoubleLimit
internal class PositiveOnlyDoubleLimit : DoubleLimit
{
public override bool Validate(double value, out string errorMessage)
{
@@ -40,7 +40,7 @@ namespace ADOFAIRenderer.Data
/// Requires the double value to be within an inclusive [Min, Max] range.
/// Either bound can be null to represent an unbounded side.
/// </summary>
public class RangeDoubleLimit : DoubleLimit
internal class RangeDoubleLimit : DoubleLimit
{
public double? Min { get; }
public double? Max { get; }
+1 -1
View File
@@ -5,7 +5,7 @@ using UnityEngine.UIElements;
namespace ADOFAIRenderer.Data.Input
{
public class DoubleInputValidator
internal class DoubleInputValidator
{
private struct FieldEntry
{
+1 -1
View File
@@ -11,7 +11,7 @@ namespace ADOFAIRenderer.Data.Input
/// Populates choices from enum names and provides typed access to the selected value.
/// </summary>
/// <typeparam name="T">The enum type to bind.</typeparam>
public class EnumDropdownBinder<T> where T : struct, Enum
internal class EnumDropdownBinder<T> where T : struct, Enum
{
private readonly DropdownField? _dropdown;
private readonly List<T> _values;
+1 -1
View File
@@ -5,7 +5,7 @@ using UnityEngine.UIElements;
namespace ADOFAIRenderer.Data.Input
{
public class IntegerInputValidator
internal class IntegerInputValidator
{
private struct FieldEntry
{
+3 -3
View File
@@ -4,7 +4,7 @@ namespace ADOFAIRenderer.Data
/// Base class for integer input validation limits.
/// Multiple limits can be composed on a single input field — all are checked in order.
/// </summary>
public abstract class IntegerLimit
internal abstract class IntegerLimit
{
/// <summary>
/// Validates the given integer value against this limit.
@@ -21,7 +21,7 @@ namespace ADOFAIRenderer.Data
/// <summary>
/// Requires the integer value to be strictly positive (> 0).
/// </summary>
public class PositiveOnlyIntegerLimit : IntegerLimit
internal class PositiveOnlyIntegerLimit : IntegerLimit
{
public override bool Validate(int value, out string errorMessage)
{
@@ -40,7 +40,7 @@ namespace ADOFAIRenderer.Data
/// Requires the integer value to be within an inclusive [Min, Max] range.
/// Either bound can be null to represent an unbounded side.
/// </summary>
public class RangeIntegerLimit : IntegerLimit
internal class RangeIntegerLimit : IntegerLimit
{
public int? Min { get; }
public int? Max { get; }
+2 -2
View File
@@ -9,13 +9,13 @@ using Newtonsoft.Json.Linq;
namespace ADOFAIRenderer.Data
{
public class RenderPreset
internal class RenderPreset
{
public string Name { get; set; } = string.Empty;
public RenderConfig Config { get; set; } = null!;
}
public static class PresetManager
internal static class PresetManager
{
private static string GetPresetsDirectory()
{
+4 -4
View File
@@ -2,7 +2,7 @@ using ADOFAIRenderer.Util.FFmpeg;
namespace ADOFAIRenderer.Data
{
public class RenderConfig
internal class RenderConfig
{
public double RenderFPS { get; set; }
public double VideoFPS { get; set; }
@@ -18,14 +18,14 @@ namespace ADOFAIRenderer.Data
public bool ShowJudgementText { get; set; }
}
public class AdvancedConfig
internal class AdvancedConfig
{
public int? RandomSeed { get; set; } = null;
public bool ProcessAudio { get; set; } = true;
public bool NonTile { get; set; } = false;
}
public class VideoEncodingConfig
internal class VideoEncodingConfig
{
public Codec Codec { get; set; } = Codec.H264;
public RateControlMode RateControlMode { get; set; } = RateControlMode.CBR;
@@ -38,7 +38,7 @@ namespace ADOFAIRenderer.Data
public bool ForceSoftwareEncoder { get; set; } = false;
}
public class AudioEncodingConfig
internal class AudioEncodingConfig
{
private int _audioSampleRate = 44100;
private int _audioChannels = 2;