Turns out (while researching team creation) the profile ext id is just the aime id. After creating a team a profile discovery request is immediately issued with the "profile id" in the field that holds the aime id during initial profile load.
15 lines
482 B
TypeScript
15 lines
482 B
TypeScript
import { RequestCode } from "./_defs";
|
|
import { LockProfileExtendRequest } from "../request/lockProfileExtend";
|
|
import { AimeId } from "../../model";
|
|
|
|
lockProfileExtend.msgCode = 0x006d as RequestCode;
|
|
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"),
|
|
};
|
|
}
|