mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-17 01:28:00 +00:00
3f38b123a3
mostly renaming things, includes a little bit of added sugar and splitting methods to simplify the codebase. all methods are now PascalCase
18 lines
478 B
C#
18 lines
478 B
C#
using PKHeX.Core;
|
|
|
|
namespace PKHeX.WinForms
|
|
{
|
|
public class SlotChange
|
|
{
|
|
public object Parent { get; set; }
|
|
|
|
public byte[] OriginalData { get; set; }
|
|
public int Offset { get; set; } = -1;
|
|
public int Slot { get; set; } = -1;
|
|
public int Box { get; set; } = -1;
|
|
public PKM PKM { get; set; }
|
|
|
|
public bool IsParty => 30 <= Slot && Slot < 36;
|
|
public bool IsValid => Slot > -1 && (Box > -1 || IsParty);
|
|
}
|
|
}
|