mirror of
https://github.com/djhackersdev/minime.git
synced 2026-04-17 06:46:02 -05:00
14 lines
388 B
TypeScript
14 lines
388 B
TypeScript
import { LockProfileRequest } from "../request/lockProfile";
|
|
|
|
lockProfile.msgCode = 0x0069;
|
|
lockProfile.msgLen = 0x0020;
|
|
|
|
export function lockProfile(buf: Buffer): LockProfileRequest {
|
|
return {
|
|
type: "lock_profile_req",
|
|
aimeId: buf.readUInt32LE(0x0004),
|
|
pcbId: buf.slice(0x0008, buf.indexOf("\0", 0x0008)).toString("ascii"),
|
|
field_0018: buf.readUInt16LE(0x0018),
|
|
};
|
|
}
|