mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 00:58:01 +00:00
1486b7f14a
Remove move combobox flicker hack (no longer necessary) Add more Array.Empty usages cache mysterygift sizes seal some classes no functionality changes
23 lines
670 B
C#
23 lines
670 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Result of a Legality Check
|
|
/// </summary>
|
|
public class CheckResult
|
|
{
|
|
internal readonly Severity Judgement = Severity.Valid;
|
|
internal string Comment = LegalityCheckStrings.V;
|
|
public bool Valid => Judgement >= Severity.Fishy;
|
|
public string Rating => Judgement.Description();
|
|
internal readonly CheckIdentifier Identifier;
|
|
|
|
internal CheckResult(CheckIdentifier i) => Identifier = i;
|
|
|
|
internal CheckResult(Severity s, string c, CheckIdentifier i)
|
|
{
|
|
Judgement = s;
|
|
Comment = c;
|
|
Identifier = i;
|
|
}
|
|
}
|
|
}
|