mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
26 lines
592 B
C#
26 lines
592 B
C#
|
namespace PKHeX
|
|||
|
{
|
|||
|
public sealed class BlockInfo
|
|||
|
{
|
|||
|
// General
|
|||
|
public int Offset;
|
|||
|
public int Length;
|
|||
|
|
|||
|
// Gen6
|
|||
|
public ushort ID;
|
|||
|
public ushort Checksum;
|
|||
|
public BlockInfo() { }
|
|||
|
|
|||
|
// Gen4/5
|
|||
|
public readonly int ChecksumOffset;
|
|||
|
public readonly int ChecksumMirror;
|
|||
|
public BlockInfo(int offset, int length, int chkOffset, int chkMirror)
|
|||
|
{
|
|||
|
Offset = offset;
|
|||
|
Length = length;
|
|||
|
ChecksumOffset = chkOffset;
|
|||
|
ChecksumMirror = chkMirror;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|