feat & fix: feat proto & revert NapProto changes

This commit is contained in:
pk5ls20
2024-10-13 16:13:34 +08:00
parent b4e22a345d
commit d21da47a7d
6 changed files with 19 additions and 17 deletions

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) {