PKHeX/PKHeX.Core/Ribbons/IRibbonSetCommon8.cs

24 lines
767 B
C#
Raw Normal View History

namespace PKHeX.Core;
/// <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; }
bool RibbonHisui { get; set; }
}
internal static partial class RibbonExtensions
2019-11-16 01:34:18 +00:00
{
internal static void CopyRibbonSetCommon8(this IRibbonSetCommon8 set, IRibbonSetCommon8 dest)
{
dest.RibbonChampionGalar = set.RibbonChampionGalar;
dest.RibbonTowerMaster = set.RibbonTowerMaster;
dest.RibbonMasterRank = set.RibbonMasterRank;
dest.RibbonTwinklingStar = set.RibbonTwinklingStar;
dest.RibbonHisui = set.RibbonHisui;
2019-11-16 01:34:18 +00:00
}
}