This commit is contained in:
idranme
2024-09-12 18:29:18 +08:00
parent ceb063143a
commit b1a892cf4e
3 changed files with 1 additions and 134 deletions

View File

@@ -12,7 +12,7 @@
"deploy-win": "cmd /c \"xcopy /C /S /Y dist\\* %LITELOADERQQNT_PROFILE%\\plugins\\LLOneBot\\\"",
"format": "prettier -cw .",
"check": "tsc",
"compile:proto": "pbjs --no-convert --no-encode --no-verify -t static-module -w es6 -p src/ntqqapi/proto -o src/ntqqapi/proto/compiled.js systemMessage.proto profileLikeTip.proto && pbts -o src/ntqqapi/proto/compiled.d.ts src/ntqqapi/proto/compiled.js"
"compile:proto": "pbjs --no-create --no-convert --no-encode --no-verify -t static-module -w es6 -p src/ntqqapi/proto -o src/ntqqapi/proto/compiled.js systemMessage.proto profileLikeTip.proto && pbts -o src/ntqqapi/proto/compiled.d.ts src/ntqqapi/proto/compiled.js"
},
"author": "",
"license": "MIT",

View File

@@ -34,13 +34,6 @@ export namespace SysMsg {
/** SystemMessage bodyWrapper. */
public bodyWrapper?: (SysMsg.ISystemMessageBodyWrapper|null);
/**
* Creates a new SystemMessage instance using the specified properties.
* @param [properties] Properties to set
* @returns SystemMessage instance
*/
public static create(properties?: SysMsg.ISystemMessage): SysMsg.SystemMessage;
/**
* Decodes a SystemMessage message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
@@ -105,13 +98,6 @@ export namespace SysMsg {
/** SystemMessageHeader uid. */
public uid?: (string|null);
/**
* Creates a new SystemMessageHeader instance using the specified properties.
* @param [properties] Properties to set
* @returns SystemMessageHeader instance
*/
public static create(properties?: SysMsg.ISystemMessageHeader): SysMsg.SystemMessageHeader;
/**
* Decodes a SystemMessageHeader message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
@@ -188,13 +174,6 @@ export namespace SysMsg {
/** SystemMessageMsgSpec other. */
public other: number;
/**
* Creates a new SystemMessageMsgSpec instance using the specified properties.
* @param [properties] Properties to set
* @returns SystemMessageMsgSpec instance
*/
public static create(properties?: SysMsg.ISystemMessageMsgSpec): SysMsg.SystemMessageMsgSpec;
/**
* Decodes a SystemMessageMsgSpec message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
@@ -241,13 +220,6 @@ export namespace SysMsg {
/** SystemMessageBodyWrapper body. */
public body: Uint8Array;
/**
* Creates a new SystemMessageBodyWrapper instance using the specified properties.
* @param [properties] Properties to set
* @returns SystemMessageBodyWrapper instance
*/
public static create(properties?: SysMsg.ISystemMessageBodyWrapper): SysMsg.SystemMessageBodyWrapper;
/**
* Decodes a SystemMessageBodyWrapper message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
@@ -306,13 +278,6 @@ export namespace SysMsg {
/** LikeDetail nickname. */
public nickname: string;
/**
* Creates a new LikeDetail instance using the specified properties.
* @param [properties] Properties to set
* @returns LikeDetail instance
*/
public static create(properties?: SysMsg.ILikeDetail): SysMsg.LikeDetail;
/**
* Decodes a LikeDetail message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
@@ -371,13 +336,6 @@ export namespace SysMsg {
/** LikeMsg detail. */
public detail?: (SysMsg.ILikeDetail|null);
/**
* Creates a new LikeMsg instance using the specified properties.
* @param [properties] Properties to set
* @returns LikeMsg instance
*/
public static create(properties?: SysMsg.ILikeMsg): SysMsg.LikeMsg;
/**
* Decodes a LikeMsg message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
@@ -424,13 +382,6 @@ export namespace SysMsg {
/** ProfileLikeTip msg. */
public msg?: (SysMsg.ILikeMsg|null);
/**
* Creates a new ProfileLikeTip instance using the specified properties.
* @param [properties] Properties to set
* @returns ProfileLikeTip instance
*/
public static create(properties?: SysMsg.IProfileLikeTip): SysMsg.ProfileLikeTip;
/**
* Decodes a ProfileLikeTip message from the specified reader or buffer.
* @param reader Reader or buffer to decode from

View File

@@ -68,18 +68,6 @@ export const SysMsg = $root.SysMsg = (() => {
*/
SystemMessage.prototype.bodyWrapper = null;
/**
* Creates a new SystemMessage instance using the specified properties.
* @function create
* @memberof SysMsg.SystemMessage
* @static
* @param {SysMsg.ISystemMessage=} [properties] Properties to set
* @returns {SysMsg.SystemMessage} SystemMessage instance
*/
SystemMessage.create = function create(properties) {
return new SystemMessage(properties);
};
/**
* Decodes a SystemMessage message from the specified reader or buffer.
* @function decode
@@ -224,18 +212,6 @@ export const SysMsg = $root.SysMsg = (() => {
set: $util.oneOfSetter($oneOfFields)
});
/**
* Creates a new SystemMessageHeader instance using the specified properties.
* @function create
* @memberof SysMsg.SystemMessageHeader
* @static
* @param {SysMsg.ISystemMessageHeader=} [properties] Properties to set
* @returns {SysMsg.SystemMessageHeader} SystemMessageHeader instance
*/
SystemMessageHeader.create = function create(properties) {
return new SystemMessageHeader(properties);
};
/**
* Decodes a SystemMessageHeader message from the specified reader or buffer.
* @function decode
@@ -389,18 +365,6 @@ export const SysMsg = $root.SysMsg = (() => {
*/
SystemMessageMsgSpec.prototype.other = 0;
/**
* Creates a new SystemMessageMsgSpec instance using the specified properties.
* @function create
* @memberof SysMsg.SystemMessageMsgSpec
* @static
* @param {SysMsg.ISystemMessageMsgSpec=} [properties] Properties to set
* @returns {SysMsg.SystemMessageMsgSpec} SystemMessageMsgSpec instance
*/
SystemMessageMsgSpec.create = function create(properties) {
return new SystemMessageMsgSpec(properties);
};
/**
* Decodes a SystemMessageMsgSpec message from the specified reader or buffer.
* @function decode
@@ -517,18 +481,6 @@ export const SysMsg = $root.SysMsg = (() => {
*/
SystemMessageBodyWrapper.prototype.body = $util.newBuffer([]);
/**
* Creates a new SystemMessageBodyWrapper instance using the specified properties.
* @function create
* @memberof SysMsg.SystemMessageBodyWrapper
* @static
* @param {SysMsg.ISystemMessageBodyWrapper=} [properties] Properties to set
* @returns {SysMsg.SystemMessageBodyWrapper} SystemMessageBodyWrapper instance
*/
SystemMessageBodyWrapper.create = function create(properties) {
return new SystemMessageBodyWrapper(properties);
};
/**
* Decodes a SystemMessageBodyWrapper message from the specified reader or buffer.
* @function decode
@@ -643,18 +595,6 @@ export const SysMsg = $root.SysMsg = (() => {
*/
LikeDetail.prototype.nickname = "";
/**
* Creates a new LikeDetail instance using the specified properties.
* @function create
* @memberof SysMsg.LikeDetail
* @static
* @param {SysMsg.ILikeDetail=} [properties] Properties to set
* @returns {SysMsg.LikeDetail} LikeDetail instance
*/
LikeDetail.create = function create(properties) {
return new LikeDetail(properties);
};
/**
* Decodes a LikeDetail message from the specified reader or buffer.
* @function decode
@@ -777,18 +717,6 @@ export const SysMsg = $root.SysMsg = (() => {
*/
LikeMsg.prototype.detail = null;
/**
* Creates a new LikeMsg instance using the specified properties.
* @function create
* @memberof SysMsg.LikeMsg
* @static
* @param {SysMsg.ILikeMsg=} [properties] Properties to set
* @returns {SysMsg.LikeMsg} LikeMsg instance
*/
LikeMsg.create = function create(properties) {
return new LikeMsg(properties);
};
/**
* Decodes a LikeMsg message from the specified reader or buffer.
* @function decode
@@ -893,18 +821,6 @@ export const SysMsg = $root.SysMsg = (() => {
*/
ProfileLikeTip.prototype.msg = null;
/**
* Creates a new ProfileLikeTip instance using the specified properties.
* @function create
* @memberof SysMsg.ProfileLikeTip
* @static
* @param {SysMsg.IProfileLikeTip=} [properties] Properties to set
* @returns {SysMsg.ProfileLikeTip} ProfileLikeTip instance
*/
ProfileLikeTip.create = function create(properties) {
return new ProfileLikeTip(properties);
};
/**
* Decodes a ProfileLikeTip message from the specified reader or buffer.
* @function decode