PKHeX/PKHeX.Core/Legality/Structures/ICheckResult.cs
Kurt 69fafcab83 Performance: Slightly reduce allocations in moveset validation (#3460)
* Reuses move parse result objects for each encounter parsed in a LegalityCheck attempt, instead of creating a new object.
* Ensures the objects are never-null, and makes cleanup easier.

Slightly adjusts some other parts of the moveset validation to reduce allocations.
2022-03-12 17:39:00 -08:00

11 lines
212 B
C#

namespace PKHeX.Core;
public interface ICheckResult
{
Severity Judgement { get; }
CheckIdentifier Identifier { get; }
string Comment { get; }
bool Valid { get; }
string Rating { get; }
}