2018-03-29 01:52:50 +00:00
|
|
|
|
namespace PKHeX.Core
|
|
|
|
|
{
|
2019-10-04 02:09:02 +00:00
|
|
|
|
public sealed class SimpleTrainerInfo : ITrainerInfo
|
2018-03-29 01:52:50 +00:00
|
|
|
|
{
|
|
|
|
|
public string OT { get; set; } = "PKHeX";
|
2018-04-28 18:06:58 +00:00
|
|
|
|
public int TID { get; set; } = 12345;
|
|
|
|
|
public int SID { get; set; } = 54321;
|
2018-03-29 01:52:50 +00:00
|
|
|
|
public int Gender { get; set; } = 0;
|
|
|
|
|
public int Language { get; set; } = (int)LanguageID.English;
|
|
|
|
|
|
|
|
|
|
public int ConsoleRegion { get; set; } = 1; // North America
|
|
|
|
|
public int SubRegion { get; set; } = 7; // California
|
|
|
|
|
public int Country { get; set; } = 49; // USA
|
|
|
|
|
|
2019-11-27 00:55:28 +00:00
|
|
|
|
public int Game { get; }
|
2018-03-29 01:52:50 +00:00
|
|
|
|
public int Generation { get; set; } = PKX.Generation;
|
2019-11-27 00:55:28 +00:00
|
|
|
|
|
|
|
|
|
public SimpleTrainerInfo(GameVersion game = GameVersion.SW)
|
|
|
|
|
{
|
|
|
|
|
Game = (int) game;
|
|
|
|
|
if (GameVersion.GG.Contains(game) || game.GetGeneration() >= 8)
|
|
|
|
|
ConsoleRegion = SubRegion = Country = 0;
|
|
|
|
|
}
|
2018-03-29 01:52:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|