PKHeX/PKHeX.Core/Ribbons/IRibbonSetCommon9.cs

18 lines
506 B
C#
Raw Normal View History

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