mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 05:05:44 +08:00
The onMSFSsoError method now accepts a numeric code and a string description as parameters instead of a single unknown argument. This change clarifies the expected input for error handling.
28 lines
706 B
TypeScript
28 lines
706 B
TypeScript
import { MsfChangeReasonType, MsfStatusType } from '@/napcat-core/types/adapter';
|
|
|
|
export class NodeIDependsAdapter {
|
|
onMSFStatusChange (_statusType: MsfStatusType, _changeReasonType: MsfChangeReasonType) {
|
|
|
|
}
|
|
|
|
onMSFSsoError (_code: number, _desc: string) {
|
|
|
|
}
|
|
|
|
getGroupCode (_args: unknown) {
|
|
|
|
}
|
|
|
|
// onSendMsfReply (_seq: string, _cmd: string, _uk1: number, _uk2: string, _rsp: {
|
|
// ssoRetCode: 0,
|
|
// trpcRetCode: 0,
|
|
// trpcFuncCode: 0,
|
|
// errorMsg: '',
|
|
// pbBuffer: Uint8Array,
|
|
// transInfoMap: Map<unknown, unknown>;
|
|
// }) {
|
|
|
|
// console.log('[NodeIDependsAdapter] onSendMsfReply', _seq, _cmd, _uk1, _uk2, Buffer.from(_rsp.pbBuffer).toString('hex'));
|
|
// }
|
|
}
|