feat & fix: feat proto & revert NapProto changes

This commit is contained in:
pk5ls20 committed 2024-10-13 16:13:34 +08:00
1 parent 2501d7d22a
commit dd5f936cfc
6 files changed
+19 -17

No files matched your search

+2 -2
View File
@@ -55,8 +55,8 @@ export class NTQQGroupApi {
);
}
async sendPocketRkey() {
let hex = '08E7A00210CA01221D0A130A05080110CA011206A80602B006011A0208022206080A081408022A006001';
let ret = await this.core.apis.PacketApi.sendPacket('OidbSvcTrpcTcp.0x9067_202', hex, true);
let u8 = await this.core.apis.PacketApi.buildRkeyPacket()
let ret = await this.core.apis.PacketApi.sendPacket('OidbSvcTrpcTcp.0x9067_202', Buffer.from(u8).toString('hex'), true);
//console.log('ret: ', ret);
}
async sendPacketPoke(group: number, peer: number) {