mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-21 09:53:14 +00:00
b7211000b0
Only present in mainline gen6/7 game pairs, so it's not wise to have it for all games
19 lines
456 B
C#
19 lines
456 B
C#
namespace PKHeX.Core
|
|
{
|
|
public interface IRegionOrigin
|
|
{
|
|
int ConsoleRegion { get; set; }
|
|
int Country { get; set; }
|
|
int Region { get; set; }
|
|
}
|
|
|
|
public static partial class Extensions
|
|
{
|
|
public static void SetDefaultRegionOrigins(this IRegionOrigin o)
|
|
{
|
|
o.ConsoleRegion = 1; // North America
|
|
o.Region = 7; // California
|
|
o.Country = 49; // USA
|
|
}
|
|
}
|
|
}
|