mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-19 00:43:14 +00:00
a608e0b252
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
18 lines
No EOL
597 B
C#
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();
|
|
}
|
|
} |