PKHeX/PKHeX.Core/Editing/Bulk/PKMInfo.cs
Kurt a608e0b252 Minor clean
Remove some unnecessary properties from SaveFile
Enumerate checksum flag results for GC memcard checking
Remove unnecessary checks on savefile type
Add some documentation
Decapitalize some method parameters
2019-07-14 15:06:45 -07:00

18 lines
No EOL
597 B
C#

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