mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 17:18:00 +00:00
69cf1eaa9c
adds a bunch of documentation useful for those unfamiliar with the core library
23 lines
568 B
C#
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;
|
|
}
|
|
}
|
|
}
|