mirror of
https://github.com/kwsch/NHSE.git
synced 2026-05-14 14:30:02 -05:00
17 lines
501 B
C#
17 lines
501 B
C#
namespace NHSE.Core
|
|
{
|
|
/// <summary>
|
|
/// <inheritdoc cref="MainSaveOffsets"/>
|
|
/// </summary>
|
|
public class MainSaveOffsets11 : MainSaveOffsets
|
|
{
|
|
public override int Villager => 0x120;
|
|
public override int RecycleBin => 0xABDE70; // +0x1E70 from v1.0
|
|
|
|
public override Villager ReadVillager(byte[] data, int index)
|
|
{
|
|
var v = data.Slice(Villager + (index * VillagerSize), VillagerSize);
|
|
return new Villager(v);
|
|
}
|
|
}
|
|
} |