PKHeX/PKHeX.Core/Editing/Program/IStartupSettings.cs
Kurt 93a381bfde Startup: load config before Main ctor
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
2025-08-13 20:59:46 -05:00

29 lines
768 B
C#

using System.Collections.Generic;
namespace PKHeX.Core;
/// <summary>
/// Settings used for starting up an editing environment.
/// </summary>
public interface IStartupSettings
{
/// <summary>
/// Save File version to start the environment with if a preexisting save file has not been chosen.
/// </summary>
GameVersion DefaultSaveVersion { get; }
/// <summary>
/// Method to load the environment's initial save file.
/// </summary>
SaveFileLoadSetting AutoLoadSaveOnStartup { get; }
/// <summary>
/// List of recently loaded save file paths.
/// </summary>
List<string> RecentlyLoaded { get; }
string Version { get; set; }
bool ShowChangelogOnUpdate { get; set; }
bool ForceHaXOnLaunch { get; set; }
}