mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-04 16:36:30 -05:00
Allows specifying Dark mode in settings now. Extracts reusable settings objects to PKHeX.Core (drawing/GUI stuff kept in WinForms). Updating settings now refreshes backup paths/mgdb
19 lines
707 B
C#
19 lines
707 B
C#
using System.Collections.Generic;
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
public sealed class BackupSettings
|
|
{
|
|
[LocalizedDescription("Automatic Backups of Save Files are copied to the backup folder when true.")]
|
|
public bool BAKEnabled { get; set; } = true;
|
|
|
|
[LocalizedDescription("Tracks if the \"Create Backup\" prompt has been issued to the user.")]
|
|
public bool BAKPrompt { get; set; }
|
|
|
|
[LocalizedDescription("List of extra locations to look for Save Files.")]
|
|
public List<string> OtherBackupPaths { get; set; } = [];
|
|
|
|
[LocalizedDescription("Save File file-extensions (no period) that the program should also recognize.")]
|
|
public List<string> OtherSaveFileExtensions { get; set; } = [];
|
|
}
|