PKHeX/PKHeX.Core/Saves/SaveFileState.cs
Kurt 9696da2eb3 Minor clean
Seal ComboItem
Reorder methods for easier reading
Fix BulkGenerator living dex setting CurrentLevel -- needs to be after species,form as EXPGrowth can vary for forms.
2022-03-05 18:13:31 -08:00

20 lines
732 B
C#

namespace PKHeX.Core;
/// <summary>
/// Tracks information about modifications made to a <see cref="SaveFile"/>
/// </summary>
public sealed record SaveFileState(bool Exportable = true)
{
/// <summary>
/// Mutable value tracking if the save file has been changed. This is set manually by modifications, and not for all modifications.
/// </summary>
public bool Edited { get; set; }
/// <summary>
/// Toggle determining if the save file can be exported.
/// </summary>
/// <remarks>
/// This is always true, unless the save file is a "fake" save file with blank data. Blank Save Files are essentially zeroed out buffers.
/// </remarks>
public bool Exportable { get; } = Exportable;
}