2017-01-07 23:54:09 -08:00
|
|
|
|
namespace PKHeX.Core
|
2016-11-08 08:43:57 -08:00
|
|
|
|
{
|
2017-11-06 22:44:51 -08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Small general purpose value passing object with misc data pertaining to an encountered Species.
|
|
|
|
|
/// </summary>
|
2016-11-08 08:43:57 -08:00
|
|
|
|
public class DexLevel
|
|
|
|
|
{
|
2019-12-05 23:04:24 -08:00
|
|
|
|
public readonly int Species;
|
|
|
|
|
public readonly int Form;
|
|
|
|
|
|
2017-06-17 18:37:19 -07:00
|
|
|
|
public int Level { get; set; }
|
2019-12-05 23:04:24 -08:00
|
|
|
|
|
|
|
|
|
protected DexLevel(int species, int form)
|
|
|
|
|
{
|
|
|
|
|
Species = species;
|
|
|
|
|
Form = form;
|
|
|
|
|
}
|
2020-07-19 13:32:40 -05:00
|
|
|
|
|
|
|
|
|
public override string ToString() => $"{(Species) Species} [{Level}]";
|
2016-11-08 08:43:57 -08:00
|
|
|
|
}
|
2018-06-18 19:10:21 -07:00
|
|
|
|
}
|