fix field name

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent e1454e5937
commit a464b13e30
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ lockProfile.msgLen = 0x0020;
export function lockProfile(buf: Buffer): LockAccountRequest {
return {
type: "lock_profile_req",
aimeId: buf.readUInt32LE(0x0004),
profileId: buf.readUInt32LE(0x0004),
pcbId: buf.slice(0x0008, buf.indexOf("\0", 0x0008)).toString("ascii"),
field_0018: buf.readUInt16LE(0x0018),
};
+1 -1
View File
@@ -7,7 +7,7 @@ unlockProfile.msgLen = 0x0020;
export function unlockProfile(buf: Buffer): UnlockProfileRequest {
return {
type: "unlock_profile_req",
aimeId: buf.readUInt32LE(0x0004),
profileId: buf.readUInt32LE(0x0004),
pcbId: buf.slice(0x0008, buf.indexOf("\0", 0x0008)).toString("ascii"),
};
}
+1 -1
View File
@@ -1,6 +1,6 @@
export interface LockAccountRequest {
type: "lock_profile_req";
aimeId: number;
profileId: number;
pcbId: string;
field_0018: number;
}
+1 -1
View File
@@ -1,5 +1,5 @@
export interface UnlockProfileRequest {
type: "unlock_profile_req";
aimeId: number;
profileId: number;
pcbId: string;
}