namespace PKHeX.Core { /// /// Interface that exposes a Generation value for the object. /// public interface IGeneration { int Generation { get; set; } } public static partial class Extensions { internal static PKM GetBlank(this IGeneration gen) => PKMConverter.GetBlank(gen.Generation); } }