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.
14 lines
359 B
TypeScript
14 lines
359 B
TypeScript
import { RequestCode } from "./_defs";
|
|
import { LoadGachaRequest } from "../request/loadGacha";
|
|
import { AimeId } from "../../model";
|
|
|
|
loadGacha.msgCode = 0x00c1 as RequestCode;
|
|
loadGacha.msgLen = 0x0010;
|
|
|
|
export function loadGacha(buf: Buffer): LoadGachaRequest {
|
|
return {
|
|
type: "load_gacha_req",
|
|
aimeId: buf.readUInt32LE(0x0004) as AimeId,
|
|
};
|
|
}
|