feat: reportAmgomWeather a1 rnm tx

This commit is contained in:
手瓜一十雪 2024-09-18 11:01:12 +08:00
parent 0637882fbc
commit 5f73d6a913
2 changed files with 4 additions and 1 deletions

View File

@ -6,4 +6,6 @@ export interface NodeIO3MiscService {
addO3MiscListener(listeners: NodeIO3MiscListener): number;
setAmgomDataPiece(appid: string, dataPiece: Uint8Array): void;
reportAmgomWeather(type: string, uk2: string, arg: Array<string>): void;
}

View File

@ -118,7 +118,8 @@ export async function NCoreInitShell() {
quickLoginUin = '';
}
}
let dataTimestape = new Date().getTime().toString();
o3Service.reportAmgomWeather('login', 'a1', [dataTimestape, '0', '0']);
const selfInfo = await new Promise<SelfInfo>((resolve) => {
const loginListener = new NodeIKernelLoginListener();
let isLogined = false;