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
@@ -11,6 +11,7 @@ export function createProfile(buf: Buffer): CreateProfileRequest {
return {
type: "create_profile_req",
aimeId: buf.readInt32LE(0x0004) as AimeId,
version: 1,
luid: readAsciiStr(buf, 0x0008, 0x001e),
name: readSjisStr(buf, 0x001e, 0x0034),
field_0034: buf.readUInt32LE(0x0034),