mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-22 15:20:07 +08:00
feat: linux.x64'packet
This commit is contained in:
parent
78b4aa9295
commit
b89f2805e7
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user