PKHeX/PKHeX.Core/Legality/Encounters/EncounterTradePID.cs
Kurt e9a3b4acf1 Merge PIDType and bool? shiny property
Gen5 does not follow the same convention, 0 = non, 1 = rnd, 2 = always;
not gonna bother updating for just that one

bool? occupies 2 bytes; enum:byte is 1 byte.

should probably move validity checking logic into the IEncounterable
objects instead...
2018-03-16 19:35:55 -07:00

11 lines
No EOL
270 B
C#

namespace PKHeX.Core
{
/// <summary>
/// Trade Encounter data with a fixed PID.
/// </summary>
public class EncounterTradePID : EncounterTrade
{
public uint PID;
public override Shiny Shiny { get; set; } = Shiny.FixedValue;
}
}