PKHeX/PKHeX.Core/Legality/Evolutions/DexLevel.cs
Kurt eac3804c7b Clean up dexlevel/evocriteria constructor usage
DexLevel was the initial abstraction, which was expanded/reused for
evolution details

I should probably merge the two classes since everything is passed as
EvoCriteria
The encounter generators do some silly form fuzzy match which can now be
more accurately checked since I've moved Form to DexLevel... maybe a
future commit can clean that up.

encounterarea2 was reusing this class, just use a throwaway readonly
struct as our temp value storage
2019-12-05 23:04:24 -08:00

19 lines
No EOL
444 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;
}
}
}