using System.Collections.Generic;
namespace PKHeX.Core
{
///
/// Information wrapper used for Bulk Editing to apply suggested values.
///
internal sealed class PKMInfo
{
internal PKM pkm { get; }
internal PKMInfo(PKM pk) { pkm = pk; }
private LegalityAnalysis? la;
internal LegalityAnalysis Legality => la ??= new LegalityAnalysis(pkm);
public bool Legal => Legality.Valid;
internal IReadOnlyList SuggestedRelearn => Legality.GetSuggestedRelearn();
internal EncounterStatic? SuggestedEncounter => Legality.GetSuggestedMetInfo();
}
}