PKHeX/PKHeX.Core/Ribbons/IRibbonSetCommon9.cs
Kurt 03182ebd3d Update 22.11.24
Adds support for Scarlet & Violet.

Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2022-11-24 17:42:17 -08:00

17 lines
506 B
C#

namespace PKHeX.Core;
/// <summary> Common Ribbons introduced in Generation 9 </summary>
public interface IRibbonSetCommon9
{
bool RibbonChampionPaldea { get; set; }
bool RibbonOnceInALifetime { get; set; }
}
internal static partial class RibbonExtensions
{
internal static void CopyRibbonSetCommon9(this IRibbonSetCommon9 set, IRibbonSetCommon9 dest)
{
dest.RibbonChampionPaldea = set.RibbonChampionPaldea;
dest.RibbonOnceInALifetime = set.RibbonOnceInALifetime;
}
}