mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-20 04:38:25 -05:00
Utilize FormInfo to remap battle forms into hatch forms so the encounter matches something valid, and is flagged later in FormVerifier
15 lines
420 B
C#
15 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}]";
|
|
}
|