PKHeX/PKHeX.Core/Legality/Moves/LearnVersion.cs
Kurt 88ddc5822e c#10: readonly record structs
Reduces some boilerplate constructors/equality compares
2021-12-04 18:32:35 -08:00

6 lines
161 B
C#

namespace PKHeX.Core;
public readonly record struct LearnVersion(int Level, GameVersion Game = GameVersion.Any)
{
public bool IsLevelUp => Level >= 0;
}