mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
19 lines
397 B
C#
19 lines
397 B
C#
|
using PKHeX.Core;
|
|||
|
|
|||
|
namespace PKHeX.WinForms
|
|||
|
{
|
|||
|
public class SlotChange
|
|||
|
{
|
|||
|
public object Parent;
|
|||
|
|
|||
|
public byte[] OriginalData;
|
|||
|
public int Offset = -1;
|
|||
|
public int Slot = -1;
|
|||
|
public int Box = -1;
|
|||
|
public PKM PKM;
|
|||
|
|
|||
|
public bool IsParty => 30 <= Slot && Slot < 36;
|
|||
|
public bool IsValid => Slot > -1 && (Box > -1 || IsParty);
|
|||
|
}
|
|||
|
}
|