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