PKHeX/PKHeX.Core/Legality/Encounters/EncounterInvalid.cs
Kurt 69cf1eaa9c add more pkhex.core xml documentation
adds a bunch of documentation useful for those unfamiliar with the core
library
2017-10-23 23:12:58 -07:00

23 lines
568 B
C#

namespace PKHeX.Core
{
/// <summary>
/// Invalid Encounter Data
/// </summary>
public class EncounterInvalid : IEncounterable
{
public int Species { get; }
public int LevelMin { get; }
public int LevelMax { get; }
public bool EggEncounter { get; }
public string Name => "Invalid";
public EncounterInvalid(PKM pkm)
{
Species = pkm.Species;
LevelMin = pkm.Met_Level;
LevelMax = pkm.CurrentLevel;
EggEncounter = pkm.WasEgg;
}
}
}