mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
Reduce visibility of internal legality enum
This commit is contained in:
parent
75da70069c
commit
c146e9402f
1 changed files with 4 additions and 2 deletions
|
@ -90,7 +90,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
public static GeoValid GetValidity(this IGeoTrack g)
|
||||
public static bool GetIsValid(this IGeoTrack g) => g.GetValidity() == GeoValid.Valid;
|
||||
|
||||
internal static GeoValid GetValidity(this IGeoTrack g)
|
||||
{
|
||||
bool end = false;
|
||||
GeoValid result;
|
||||
|
@ -121,7 +123,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
public enum GeoValid
|
||||
internal enum GeoValid
|
||||
{
|
||||
Valid,
|
||||
CountryAfterPreviousEmpty,
|
||||
|
|
Loading…
Reference in a new issue