mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-24 11:23:11 +00:00
1d0993f852
Utilize FormInfo to remap battle forms into hatch forms so the encounter matches something valid, and is flagged later in FormVerifier
14 lines
420 B
C#
14 lines
420 B
C#
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Small general purpose value passing object with misc data pertaining to an encountered Species.
|
|
/// </summary>
|
|
public record DexLevel(int Species, int Form) : ISpeciesForm
|
|
{
|
|
/// <summary>
|
|
/// Maximum Level
|
|
/// </summary>
|
|
public int Level { get; set; }
|
|
|
|
public override string ToString() => $"{(Species)Species}{(Form == 0 ? "" : $"-{Form}")} [{Level}]";
|
|
}
|