Add native module loading and improve logging

Loaded a native module in NTQQGroupApi and added test calls to sendSsoCmdReqByContend with different parameter types. Changed fileLog default to true in config. Enhanced NativePacketClient with detailed send/receive logging. Updated NodeIKernelMsgService to accept unknown type for sendSsoCmdReqByContend param. Added process PID logging in napcat shell.
This commit is contained in:
手瓜一十雪 committed 2025-10-26 20:05:21 +08:00
1 parent 61700c1128
commit 38409f116f
5 files changed
+10 -3

No files matched your search

+1
View File
@@ -61,6 +61,7 @@ export class NativePacketClient extends IPacketClient {
const callback = this.cb.get(hash + 'recv');
callback?.({ seq, cmd, hex_data });
}
this.logger.info(`[NativePacketClient] ${type === 0 ? 'Send' : 'Recv'} - CMD: ${cmd} SEQ: ${seq} DATA: ${hex_data}`);//TODO log
}, this.napcore.config.o3HookMode == 1);
this.available = true;
}