mirror of
https://github.com/djhackersdev/minime.git
synced 2026-07-05 01:30:49 -05:00
fix field name
This commit is contained in:
parent
e1454e5937
commit
a464b13e30
|
|
@ -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),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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,6 +1,6 @@
|
|||
export interface LockAccountRequest {
|
||||
type: "lock_profile_req";
|
||||
aimeId: number;
|
||||
profileId: number;
|
||||
pcbId: string;
|
||||
field_0018: number;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
export interface UnlockProfileRequest {
|
||||
type: "unlock_profile_req";
|
||||
aimeId: number;
|
||||
profileId: number;
|
||||
pcbId: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user