Fix SQL column capitalization
This commit is contained in:
@@ -14,14 +14,14 @@ export function car(buf: Buffer): Car {
|
||||
selector: buf.readUInt16LE(0x0044) as CarSelector,
|
||||
field_46: buf.readUInt16LE(0x0046),
|
||||
field_48: buf.readUInt16LE(0x0048),
|
||||
field_4A: buf.readUInt16LE(0x004a),
|
||||
field_4C: buf.readUInt32LE(0x004c),
|
||||
field_4a: buf.readUInt16LE(0x004a),
|
||||
field_4c: buf.readUInt32LE(0x004c),
|
||||
field_50_lo: buf.readUInt32LE(0x0050),
|
||||
field_50_hi: buf.readUInt32LE(0x0054),
|
||||
field_58: buf.readUInt16LE(0x0058),
|
||||
field_5A: buf.readUInt8(0x005a),
|
||||
field_5B: buf.readUInt8(0x005b),
|
||||
field_5C: buf.readUInt16LE(0x005c),
|
||||
field_5E: buf.readUInt16LE(0x005e),
|
||||
field_5a: buf.readUInt8(0x005a),
|
||||
field_5b: buf.readUInt8(0x005b),
|
||||
field_5c: buf.readUInt16LE(0x005c),
|
||||
field_5e: buf.readUInt16LE(0x005e),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,9 +8,9 @@ export function chara(buf: Buffer): Chara {
|
||||
field_04: buf.readUInt16LE(0x04),
|
||||
field_06: buf.readUInt16LE(0x06),
|
||||
field_08: buf.readUInt16LE(0x08),
|
||||
field_0A: buf.readUInt16LE(0x0a),
|
||||
field_0C: buf.readUInt16LE(0x0c),
|
||||
field_0E: buf.readUInt16LE(0x0e),
|
||||
field_0a: buf.readUInt16LE(0x0a),
|
||||
field_0c: buf.readUInt16LE(0x0c),
|
||||
field_0e: buf.readUInt16LE(0x0e),
|
||||
title: buf.readUInt16LE(0x10) as TitleCode, // Swapped on load
|
||||
background: buf.readUInt16LE(0x12) as BackgroundCode, // Swapped on load
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user