mirror of
https://github.com/kwsch/PKHeX
synced 2025-03-07 08:47:21 +00:00
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();
|
|
}
|
|
}
|