mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-21 01:43:10 +00:00
69fafcab83
* 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.
11 lines
212 B
C#
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; }
|
|
}
|