mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-28 06:50:23 +00:00
19 lines
732 B
C#
19 lines
732 B
C#
|
namespace PKHeX.Core
|
||
|
{
|
||
|
public sealed class EncounterSlotPermissions
|
||
|
{
|
||
|
public int StaticIndex { get; set; } = -1;
|
||
|
public int MagnetPullIndex { get; set; } = -1;
|
||
|
public int StaticCount { get; set; }
|
||
|
public int MagnetPullCount { get; set; }
|
||
|
|
||
|
public bool AllowDexNav { get; set; }
|
||
|
public bool Pressure { get; set; }
|
||
|
public bool DexNav { get; set; }
|
||
|
public bool WhiteFlute { get; set; }
|
||
|
public bool BlackFlute { get; set; }
|
||
|
public bool IsNormalLead => !(WhiteFlute || BlackFlute || DexNav);
|
||
|
public bool IsDexNav => AllowDexNav && DexNav;
|
||
|
public EncounterSlotPermissions Clone() => (EncounterSlotPermissions)MemberwiseClone();
|
||
|
}
|
||
|
}
|