using System;
namespace PKHeX.Core
{
///
/// Value passing object to simplify some initialization.
///
/// Egg Move source type enumeration.
internal readonly ref struct BreedInfo where T : Enum
{
/// Indicates the analyzed source of each move.
public readonly T[] Actual;
/// Indicates all possible sources of each move.
public readonly byte[] Possible;
/// Level Up entry for the egg.
public readonly Learnset Learnset;
/// Moves the egg knows after it is finalized.
public readonly int[] Moves;
/// Level the egg originated at.
public readonly int Level;
public BreedInfo(int count, Learnset learnset, int[] moves, int level)
{
Possible = new byte[count];
Actual = new T[count];
Learnset = learnset;
Moves = moves;
Level = level;
}
}
}