mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
0cdaae1d51
check antishiny rerolls as required, reduce allocations
24 lines
843 B
C#
24 lines
843 B
C#
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;
|
|
|
|
/// <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>
|
|
public bool NoSeed;
|
|
|
|
/// <summary> Type of PIDIV correlation </summary>
|
|
public PIDType Type;
|
|
}
|
|
|
|
public class PIDIVTSV : PIDIV
|
|
{
|
|
public int TSV1 { get; internal set; } = -1;
|
|
public int TSV2 { get; internal set; } = -1;
|
|
}
|
|
}
|