mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
15 lines
522 B
TypeScript
15 lines
522 B
TypeScript
import { ScalarType } from "@protobuf-ts/runtime";
|
|
import { ProtoField } from "@napneko/nap-proto-core";
|
|
|
|
export const OidbSvcTrpcTcpBase = {
|
|
command: ProtoField(1, ScalarType.UINT32),
|
|
subCommand: ProtoField(2, ScalarType.UINT32),
|
|
errorCode: ProtoField(3, ScalarType.UINT32),
|
|
body: ProtoField(4, ScalarType.BYTES),
|
|
errorMsg: ProtoField(5, ScalarType.STRING, true),
|
|
isReserved: ProtoField(12, ScalarType.UINT32)
|
|
};
|
|
export const OidbSvcTrpcTcpBaseRsp = {
|
|
body: ProtoField(4, ScalarType.BYTES)
|
|
};
|