This commit is contained in:
aozhiwei 2023-08-11 14:05:05 +08:00
parent 89cb16593d
commit 1452f39030

View File

@ -32,8 +32,33 @@ class PBTools {
'keepCase': true
}
);
//this.cmMsgId = this.msgIdPb.lookup('CMMessageId_e');
//this.smMsgId = this.msgIdPb.lookup('SMMessageId_e');
this.csCmMsgId = this.csMsgIdPb.lookup('CMMessageId_e');
this.csSmMsgId = this.csMsgIdPb.lookup('SMMessageId_e');
}
{
this.ssProtoPb = await (new protobuf.Root()).load(
this.protoDir + 'ss_proto.proto',
{
'keepCase': true
}
);
}
{
this.ssMsgIdPb = await (new protobuf.Root()).load(
this.protoDir + 'ss_msgid.proto',
{
'keepCase': true
}
);
this.ssSSmMsgId = this.ssMsgIdPb.lookup('SSMMessageId_e');
}
{
this.mtPb = await (new protobuf.Root()).load(
this.protoDir + 'mt.proto',
{
'keepCase': true
}
);
}
}