PKHeX/PKHeX.Core/Legality/Structures/EncounterLock.cs
Kurt 80baaea3b7 add b2w2 n's pokemon PIDs
add b2w2 fixed PID encounters (N's Pokemon), move nsparkle to this class
redo static encounter cloning
2017-12-18 15:25:40 -08:00

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();
}
}