PKHeX/PKHeX.Core/Ribbons/IRibbonSetMemory6.cs
2022-08-30 22:49:54 -07:00

20 lines
678 B
C#

namespace PKHeX.Core;
public interface IRibbonSetMemory6
{
byte RibbonCountMemoryContest { get; set; }
byte RibbonCountMemoryBattle { get; set; }
bool HasContestMemoryRibbon { get; set; }
bool HasBattleMemoryRibbon { get; set; }
}
internal static partial class RibbonExtensions
{
internal static void CopyRibbonSetMemory6(this IRibbonSetMemory6 set, IRibbonSetMemory6 dest)
{
dest.HasContestMemoryRibbon = set.HasContestMemoryRibbon;
dest.HasBattleMemoryRibbon = set.HasBattleMemoryRibbon;
dest.RibbonCountMemoryContest = set.RibbonCountMemoryContest;
dest.RibbonCountMemoryBattle = set.RibbonCountMemoryBattle;
}
}