mirror of
https://github.com/kwsch/NHSE.git
synced 2026-10-02 14:56:38 -05:00
@@ -23,7 +23,7 @@ public string TownName
|
||||
get => StringUtil.GetString(Data, 0x04, 10);
|
||||
set => StringUtil.GetBytes(value, 10).CopyTo(Data, 0x04);
|
||||
}
|
||||
public byte[] GetTownIdentity() => Data.Slice(0x00, 20);
|
||||
public byte[] GetTownIdentity() => Data.Slice(0x00, 4 + 20);
|
||||
|
||||
public uint PlayerID
|
||||
{
|
||||
@@ -37,7 +37,7 @@ public string PlayerName
|
||||
set => StringUtil.GetBytes(value, 10).CopyTo(Data, 0x20);
|
||||
}
|
||||
|
||||
public byte[] GetPlayerIdentity() => Data.Slice(0x1C, 20);
|
||||
public byte[] GetPlayerIdentity() => Data.Slice(0x1C, 4 + 20);
|
||||
|
||||
public byte[] GetEventFlags() => Data.Slice(0x38, 0x100);
|
||||
public void SetEventFlags(byte[] value) => value.CopyTo(Data, 0x38);
|
||||
|
||||
Reference in New Issue
Block a user