2017-05-28 04:17:53 +00:00
|
|
|
|
namespace PKHeX.Core
|
|
|
|
|
{
|
2017-10-24 06:12:58 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Invalid Encounter Data
|
|
|
|
|
/// </summary>
|
2017-05-28 04:17:53 +00:00
|
|
|
|
public class EncounterInvalid : IEncounterable
|
|
|
|
|
{
|
|
|
|
|
public int Species { get; }
|
2017-06-18 01:37:19 +00:00
|
|
|
|
public int LevelMin { get; }
|
|
|
|
|
public int LevelMax { get; }
|
|
|
|
|
public bool EggEncounter { get; }
|
|
|
|
|
|
2017-05-28 04:17:53 +00:00
|
|
|
|
public string Name => "Invalid";
|
|
|
|
|
|
|
|
|
|
public EncounterInvalid(PKM pkm)
|
|
|
|
|
{
|
|
|
|
|
Species = pkm.Species;
|
2017-06-18 01:37:19 +00:00
|
|
|
|
LevelMin = pkm.Met_Level;
|
|
|
|
|
LevelMax = pkm.CurrentLevel;
|
|
|
|
|
EggEncounter = pkm.WasEgg;
|
2017-05-28 04:17:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|