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 7 </summary>
|
|
|
|
public interface IRibbonSetCommon7
|
2017-06-20 04:43:44 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
bool RibbonChampionAlola { get; set; }
|
|
|
|
bool RibbonBattleRoyale { get; set; }
|
|
|
|
bool RibbonBattleTreeGreat { get; set; }
|
|
|
|
bool RibbonBattleTreeMaster { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
internal static partial class RibbonExtensions
|
|
|
|
{
|
|
|
|
internal static void CopyRibbonSetCommon7(this IRibbonSetCommon7 set, IRibbonSetCommon7 dest)
|
|
|
|
{
|
|
|
|
dest.RibbonChampionAlola = set.RibbonChampionAlola;
|
|
|
|
dest.RibbonBattleRoyale = set.RibbonBattleRoyale;
|
|
|
|
dest.RibbonBattleTreeGreat = set.RibbonBattleTreeGreat;
|
|
|
|
dest.RibbonBattleTreeMaster = set.RibbonBattleTreeMaster;
|
2017-06-20 04:43:44 +00:00
|
|
|
}
|
|
|
|
}
|