PKHeX/PKHeX.Core/Editing/Program/Settings/MysteryGiftDatabaseSettings.cs
Kurt b8478a4488 Minor tweaks
Fix localization dump
LocalizedDescription duplicate property names: not per-class, so update the internal label to be more general.
2026-05-23 10:35:35 -05:00

20 lines
612 B
C#

using System;
namespace PKHeX.Core;
public sealed class MysteryGiftDatabaseSettings
{
private const int ResultsGridRowCountMin = 5;
private const int ResultsGridRowCountMax = 20;
[LocalizedDescription("Hides gifts if the currently loaded save file cannot (indirectly) receive them.")]
public bool FilterUnavailableSpecies { get; set; } = true;
[LocalizedDescription("Visible row count for the sprite grid. Clamped from 5 to 20.")]
public int ResultsGridRowCount
{
get;
set => field = Math.Clamp(value, ResultsGridRowCountMin, ResultsGridRowCountMax);
} = 9;
}