2022-08-24 04:25:22 +00:00
|
|
|
namespace PKHeX.Core;
|
|
|
|
|
|
|
|
public interface IRibbonSetMemory6
|
|
|
|
{
|
|
|
|
byte RibbonCountMemoryContest { get; set; }
|
|
|
|
byte RibbonCountMemoryBattle { get; set; }
|
|
|
|
bool HasContestMemoryRibbon { get; set; }
|
|
|
|
bool HasBattleMemoryRibbon { get; set; }
|
|
|
|
}
|
|
|
|
|
2023-09-18 22:56:53 +00:00
|
|
|
public static partial class RibbonExtensions
|
2022-08-24 04:25:22 +00:00
|
|
|
{
|
2023-09-18 22:56:53 +00:00
|
|
|
public static void CopyRibbonSetMemory6(this IRibbonSetMemory6 set, IRibbonSetMemory6 dest)
|
2022-08-24 04:25:22 +00:00
|
|
|
{
|
|
|
|
dest.HasContestMemoryRibbon = set.HasContestMemoryRibbon;
|
|
|
|
dest.HasBattleMemoryRibbon = set.HasBattleMemoryRibbon;
|
2022-08-31 05:49:54 +00:00
|
|
|
dest.RibbonCountMemoryContest = set.RibbonCountMemoryContest;
|
|
|
|
dest.RibbonCountMemoryBattle = set.RibbonCountMemoryBattle;
|
2022-08-24 04:25:22 +00:00
|
|
|
}
|
|
|
|
}
|