mirror of
https://github.com/djhackersdev/minime.git
synced 2026-03-27 12:34:56 -05:00
14 lines
428 B
TypeScript
14 lines
428 B
TypeScript
import { LockProfileExtendRequest } from "../request/lockProfileExtend";
|
|
import { AimeId } from "../../model";
|
|
|
|
lockProfileExtend.msgCode = 0x006d;
|
|
lockProfileExtend.msgLen = 0x0020;
|
|
|
|
export function lockProfileExtend(buf: Buffer): LockProfileExtendRequest {
|
|
return {
|
|
type: "lock_profile_extend_req",
|
|
aimeId: buf.readUInt32LE(0x0004) as AimeId,
|
|
luid: buf.slice(0x0008, buf.indexOf("\0")).toString("ascii"),
|
|
};
|
|
}
|