idz: Add implicit version field to requests

This commit is contained in:
Tau
2021-02-03 23:43:38 +00:00
committed by da5669c09fdb0a288ba01e259a609d7779ac7fc9
parent eb276128c2
commit 198256e6ff
33 changed files with 34 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@ export function loadGarage(buf: Buffer): LoadGarageRequest {
return {
type: "load_garage_req",
aimeId: buf.readUInt32LE(0x0004) as AimeId,
version: 1,
fetchOffset: buf.readUInt8(0x0008),
field_000A: buf.readUInt16LE(0x000a),
};