feat: reportAmgomWeather a1 rnm tx

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

No files matched your search

+2
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;
}
+2 -1
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;