Rename chara fields back to offsets
Label all or label none.
This commit is contained in:
@@ -4,8 +4,8 @@ import { Chara } from "../model/chara";
|
||||
export function chara(buf: Buffer): Chara {
|
||||
return {
|
||||
gender: buf.readUInt16LE(0x00) === 0 ? "male" : "female",
|
||||
clothing: buf.readUInt16LE(0x02),
|
||||
mouth: buf.readUInt16LE(0x04),
|
||||
field_02: buf.readUInt16LE(0x02),
|
||||
field_04: buf.readUInt16LE(0x04),
|
||||
field_06: buf.readUInt16LE(0x06),
|
||||
field_08: buf.readUInt16LE(0x08),
|
||||
field_0A: buf.readUInt16LE(0x0a),
|
||||
|
||||
Reference in New Issue
Block a user