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
@@ -9,6 +9,7 @@ export function createTeam(buf: Buffer): CreateTeamRequest {
return {
type: "create_team_req",
aimeId: buf.readUInt32LE(0x0004) as AimeId,
version: 1,
teamName: readSjisStr(buf, 0x0008, 0x0028),
field_0028: buf.readUInt16LE(0x0028),
field_002C: buf.readUInt32LE(0x002c),