PKHeX/PKHeX.Core/Saves/Substructures/Gen7/SaveBlock.cs

13 lines
357 B
C#
Raw Normal View History

namespace PKHeX.Core
{
2019-02-10 04:24:38 +00:00
/// <summary>
/// Base class for a savegame data reader.
/// </summary>
public abstract class SaveBlock
{
public int Offset { get; protected set; }
protected readonly byte[] Data;
protected readonly SaveFile SAV;
protected SaveBlock(SaveFile sav) => Data = (SAV = sav).Data;
}
}