2022-08-16 04:04:30 +00:00
|
|
|
namespace PKHeX.Core;
|
2022-06-18 18:04:24 +00:00
|
|
|
|
|
|
|
/// <summary> Common Ribbons introduced in Generation 3 </summary>
|
|
|
|
public interface IRibbonSetCommon3
|
2017-06-20 04:43:44 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
bool RibbonChampionG3 { get; set; }
|
|
|
|
bool RibbonArtist { get; set; }
|
|
|
|
bool RibbonEffort { get; set; }
|
|
|
|
}
|
|
|
|
|
2023-09-18 22:56:53 +00:00
|
|
|
public static partial class RibbonExtensions
|
2022-06-18 18:04:24 +00:00
|
|
|
{
|
2023-09-18 22:56:53 +00:00
|
|
|
public static void CopyRibbonSetCommon3(this IRibbonSetCommon3 set, IRibbonSetCommon3 dest)
|
2022-06-18 18:04:24 +00:00
|
|
|
{
|
|
|
|
dest.RibbonChampionG3 = set.RibbonChampionG3;
|
|
|
|
dest.RibbonArtist = set.RibbonArtist;
|
|
|
|
dest.RibbonEffort = set.RibbonEffort;
|
2017-06-20 04:43:44 +00:00
|
|
|
}
|
|
|
|
}
|