mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
eb7ed44b29
Results in a little more code, but each path is less tangled simplify some expressions remove RBDragonair content in favor of a strict filter for catch rate Move gen1 trade trainer names to stringconverter, since pk1/pk2 shouldn't refer to legality classes
21 lines
No EOL
524 B
C#
21 lines
No EOL
524 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Small general purpose value passing object with misc data pertaining to an encountered Species.
|
|
/// </summary>
|
|
public class DexLevel
|
|
{
|
|
public readonly int Species;
|
|
public readonly int Form;
|
|
|
|
public int Level { get; set; }
|
|
|
|
protected DexLevel(int species, int form)
|
|
{
|
|
Species = species;
|
|
Form = form;
|
|
}
|
|
|
|
public override string ToString() => $"{(Species) Species} [{Level}]";
|
|
}
|
|
} |