mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 00:58:01 +00:00
75202c7a89
reducing allocations, increasing clarity by removing some magic numbers probably can rewrite some of the evo loading/checking for even less, but good for now.
12 lines
343 B
C#
12 lines
343 B
C#
namespace PKHeX.Core
|
|
{
|
|
public sealed class EvoCriteria : DexLevel
|
|
{
|
|
public int MinLevel { get; set; }
|
|
public bool RequiresLvlUp { get; set; }
|
|
public int Form { get; set; } = -1;
|
|
public int Method { get; set; } = -1;
|
|
|
|
public bool IsTradeRequired => ((EvolutionType) Method).IsTrade();
|
|
}
|
|
}
|