2017-04-23 09:18:42 -07:00
|
|
|
|
namespace PKHeX.Core
|
|
|
|
|
{
|
|
|
|
|
public class PIDIV
|
|
|
|
|
{
|
|
|
|
|
/// <summary> The RNG that generated the PKM from the <see cref="OriginSeed"/> </summary>
|
|
|
|
|
public RNG RNG;
|
|
|
|
|
|
|
|
|
|
/// <summary> The RNG seed which immediately generates the PIDIV (starting with PID or IVs, whichever comes first). </summary>
|
|
|
|
|
public uint OriginSeed;
|
2017-04-29 16:22:32 -07:00
|
|
|
|
|
2017-06-29 19:32:29 -07:00
|
|
|
|
/// <summary> Indicates that there is no <see cref="OriginSeed"/> to refer to. </summary>
|
|
|
|
|
/// <remarks> Some PIDIVs may be generated without a single seed, but may follow a traceable pattern. </remarks>
|
2017-04-29 20:04:54 -07:00
|
|
|
|
public bool NoSeed;
|
|
|
|
|
|
2017-04-29 16:22:32 -07:00
|
|
|
|
/// <summary> Type of PIDIV correlation </summary>
|
|
|
|
|
public PIDType Type;
|
2017-04-23 09:18:42 -07:00
|
|
|
|
}
|
2019-01-06 01:26:18 -08:00
|
|
|
|
|
|
|
|
|
public class PIDIVTSV : PIDIV
|
|
|
|
|
{
|
|
|
|
|
public int TSV1 { get; internal set; } = -1;
|
|
|
|
|
public int TSV2 { get; internal set; } = -1;
|
|
|
|
|
}
|
2017-04-23 09:18:42 -07:00
|
|
|
|
}
|