PKHeX/PKHeX.Core/Legality/Structures/EncounterLock.cs

14 lines
441 B
C#
Raw Normal View History

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