2017-04-23 16:18:42 +00: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 23:22:32 +00:00
|
|
|
|
|
2017-06-30 02:32:29 +00: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-30 03:04:54 +00:00
|
|
|
|
public bool NoSeed;
|
|
|
|
|
|
2017-04-29 23:22:32 +00:00
|
|
|
|
/// <summary> Type of PIDIV correlation </summary>
|
|
|
|
|
public PIDType Type;
|
2017-04-23 16:18:42 +00:00
|
|
|
|
}
|
2019-01-06 09:26:18 +00:00
|
|
|
|
|
|
|
|
|
public class PIDIVTSV : PIDIV
|
|
|
|
|
{
|
|
|
|
|
public int TSV1 { get; internal set; } = -1;
|
|
|
|
|
public int TSV2 { get; internal set; } = -1;
|
|
|
|
|
}
|
2017-04-23 16:18:42 +00:00
|
|
|
|
}
|