namespace PKHeX.Core { /// /// Tracks information about modifications made to a /// public sealed class SaveFileState { /// /// Mutable value tracking if the save file has been changed. This is set manually by modifications, and not for all modifications. /// public bool Edited { get; set; } /// /// Toggle determining if the save file can be exported. /// /// /// This is always true, unless the save file is a "fake" save file with blank data. Blank Save Files are essentially zeroed out buffers. /// public readonly bool Exportable; /// /// Original Binary Data the save file was loaded with. /// public readonly byte[] BAK; public SaveFileState(byte[] bak, bool exportable = true) { BAK = bak; Exportable = exportable; } } }