Example #1
0
    //public PersonalID(ISaveFile save, int offset) => this = save.ReadStruct<PersonalID>(offset);

    public void Write(BinaryData data, int offset)
    {
        TownId.Write(data, offset);
        data.WriteU32(offset + 0x1C, this.UniqueId);
        data.WriteString(offset + 0x20, this.Name, 10);
    }