mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
feat: linux.x64'packet
This commit is contained in:
@@ -12,7 +12,7 @@ export interface NativePacketExportType {
|
|||||||
SendPacket?: (cmd: string, data: string, trace_id: string) => void;
|
SendPacket?: (cmd: string, data: string, trace_id: string) => void;
|
||||||
}
|
}
|
||||||
export class NativePacketClient extends PacketClient {
|
export class NativePacketClient extends PacketClient {
|
||||||
private readonly supportedPlatforms = ['win32.x64'];
|
private readonly supportedPlatforms = ['win32.x64','linux.x64'];
|
||||||
private MoeHooExport: { exports: NativePacketExportType } = { exports: {} };
|
private MoeHooExport: { exports: NativePacketExportType } = { exports: {} };
|
||||||
private sendEvent = new LRUCache<number, string>(500);//seq->trace_id
|
private sendEvent = new LRUCache<number, string>(500);//seq->trace_id
|
||||||
constructor(core: NapCatCore) {
|
constructor(core: NapCatCore) {
|
||||||
|
Reference in New Issue
Block a user