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 8 </summary>
|
|
|
|
public interface IRibbonSetCommon8
|
|
|
|
{
|
|
|
|
bool RibbonChampionGalar { get; set; }
|
|
|
|
bool RibbonTowerMaster { get; set; }
|
|
|
|
bool RibbonMasterRank { get; set; }
|
|
|
|
bool RibbonTwinklingStar { get; set; }
|
2022-11-25 01:42:17 +00:00
|
|
|
bool RibbonHisui { get; set; }
|
2022-06-18 18:04:24 +00:00
|
|
|
}
|
|
|
|
|
2023-09-18 22:56:53 +00:00
|
|
|
public static partial class RibbonExtensions
|
2019-11-16 01:34:18 +00:00
|
|
|
{
|
2023-09-18 22:56:53 +00:00
|
|
|
public static void CopyRibbonSetCommon8(this IRibbonSetCommon8 set, IRibbonSetCommon8 dest)
|
2022-06-18 18:04:24 +00:00
|
|
|
{
|
|
|
|
dest.RibbonChampionGalar = set.RibbonChampionGalar;
|
|
|
|
dest.RibbonTowerMaster = set.RibbonTowerMaster;
|
|
|
|
dest.RibbonMasterRank = set.RibbonMasterRank;
|
|
|
|
dest.RibbonTwinklingStar = set.RibbonTwinklingStar;
|
2022-11-25 01:42:17 +00:00
|
|
|
dest.RibbonHisui = set.RibbonHisui;
|
2019-11-16 01:34:18 +00:00
|
|
|
}
|
2022-06-18 18:04:24 +00:00
|
|
|
}
|