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