PKHeX/PKHeX.Core/Legality/LegalityAnalyzers.cs
Kurt 103aa9aa4b
Revise EncounterArea and EncounterType for clarity (#3228)
EncounterArea now stores a more specific type'd array for encounter slots. Better iteration and less casting, as the nonspecific `Slots` fetch is rarely referenced.

EncounterType renamed to GroundTile to reflect how it actually works in Gen4. Was previously an ambiguous field that was clarified a little; we can describe it a little better now. Keep the GUI the same to not scare the end users.

Change Trash Byte properties to get/set a Span. Trash Byte legality checking easier on the garbage collector?
2021-06-29 20:58:06 -07:00

35 lines
1.8 KiB
C#

namespace PKHeX.Core
{
/// <summary>
/// Collection of analyzers that are used for parsing secondary details.
/// </summary>
internal static class LegalityAnalyzers
{
public static readonly LanguageVerifier LanguageIndex = new();
public static readonly NicknameVerifier Nickname = new();
public static readonly EffortValueVerifier EffortValues = new();
public static readonly IndividualValueVerifier IndividualValues = new();
public static readonly BallVerifier BallIndex = new();
public static readonly FormVerifier FormValues = new();
public static readonly ConsoleRegionVerifier ConsoleRegion = new();
public static readonly AbilityVerifier AbilityValues = new();
public static readonly MedalVerifier Medal = new();
public static readonly RibbonVerifier Ribbon = new();
public static readonly ItemVerifier Item = new();
public static readonly GroundTileVerifier Gen4GroundTile = new();
public static readonly HyperTrainingVerifier HyperTraining = new();
public static readonly GenderVerifier GenderValues = new();
public static readonly PIDVerifier PIDEC = new();
public static readonly NHarmoniaVerifier NHarmonia = new();
public static readonly CXDVerifier CXD = new();
public static readonly MemoryVerifier Memory = new();
public static readonly HistoryVerifier History = new();
public static readonly ContestStatVerifier Contest = new();
public static readonly TrainerNameVerifier Trainer = new();
public static readonly LevelVerifier Level = new();
public static readonly MiscVerifier MiscValues = new();
public static readonly TransferVerifier Transfer = new();
public static readonly MarkVerifier Mark = new();
}
}