Fix SQL column capitalization

This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent 84023e2eb8
commit a5256c97d3
11 changed files with 85 additions and 64 deletions
+6 -6
View File
@@ -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),
};
}
+3 -3
View File
@@ -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
};