PKHeX/PKHeX.Core/Saves/Util/BinaryExportSetting.cs

17 lines
329 B
C#
Raw Normal View History

using System;
namespace PKHeX.Core;
[Flags]
public enum BinaryExportSetting
{
None,
IncludeFooter = 1 << 0,
IncludeHeader = 1 << 1,
}
public static class BinaryExportSettingExtensions
{
public static bool HasFlagFast(this BinaryExportSetting value, BinaryExportSetting setting) => (value & setting) != 0;
}