mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-22 02:13:10 +00:00
20 lines
567 B
C#
20 lines
567 B
C#
|
namespace PKHeX.Core
|
|||
|
{
|
|||
|
public class CheckResult
|
|||
|
{
|
|||
|
internal readonly Severity Judgement = Severity.Valid;
|
|||
|
internal string Comment = LegalityCheckStrings.V;
|
|||
|
public bool Valid => Judgement >= Severity.Fishy;
|
|||
|
public bool Flag;
|
|||
|
internal readonly CheckIdentifier Identifier;
|
|||
|
|
|||
|
internal CheckResult(CheckIdentifier i) { Identifier = i; }
|
|||
|
internal CheckResult(Severity s, string c, CheckIdentifier i)
|
|||
|
{
|
|||
|
Judgement = s;
|
|||
|
Comment = c;
|
|||
|
Identifier = i;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|