mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 21:24:37 -05:00
add b2w2 fixed PID encounters (N's Pokemon), move nsparkle to this class redo static encounter cloning
16 lines
516 B
C#
16 lines
516 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Encounter lock values restricting certain properties to a fixed value.
|
|
/// </summary>
|
|
/// <remarks>Used in Colosseum/XD to ensure that non-shadow <see cref="PKM"/> are of a certain Nature/etc.</remarks>
|
|
public class EncounterLock
|
|
{
|
|
public int Species { get; set; }
|
|
public int Nature { get; set; } = -1;
|
|
public int Gender { get; set; } = -1;
|
|
|
|
public EncounterLock Clone() => (EncounterLock)MemberwiseClone();
|
|
}
|
|
}
|