PKHeX/PKHeX.Core/Ribbons/IRibbonSetCommon9.cs

17 lines
502 B
C#

namespace PKHeX.Core;
/// <summary> Common Ribbons introduced in Generation 9 </summary>
public interface IRibbonSetCommon9
{
bool RibbonChampionPaldea { get; set; }
bool RibbonOnceInALifetime { get; set; }
}
public static partial class RibbonExtensions
{
public static void CopyRibbonSetCommon9(this IRibbonSetCommon9 set, IRibbonSetCommon9 dest)
{
dest.RibbonChampionPaldea = set.RibbonChampionPaldea;
dest.RibbonOnceInALifetime = set.RibbonOnceInALifetime;
}
}