mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 14:00:21 +00:00
24 lines
684 B
C#
24 lines
684 B
C#
namespace PKHeX.Core;
|
|
|
|
/// <summary> Common Ribbons introduced in Generation 9 </summary>
|
|
public interface IRibbonSetCommon9 : IRibbonPartner
|
|
{
|
|
bool RibbonChampionPaldea { get; set; }
|
|
bool RibbonOnceInALifetime { get; set; }
|
|
new bool RibbonPartner { get; set; }
|
|
}
|
|
|
|
public interface IRibbonPartner
|
|
{
|
|
public bool RibbonPartner { get; }
|
|
}
|
|
|
|
public static partial class RibbonExtensions
|
|
{
|
|
public static void CopyRibbonSetCommon9(this IRibbonSetCommon9 set, IRibbonSetCommon9 dest)
|
|
{
|
|
dest.RibbonChampionPaldea = set.RibbonChampionPaldea;
|
|
dest.RibbonOnceInALifetime = set.RibbonOnceInALifetime;
|
|
dest.RibbonPartner = set.RibbonPartner;
|
|
}
|
|
}
|