mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
fix
This commit is contained in:
parent
add759e889
commit
12ab6d4a7d
@ -1,7 +1,7 @@
|
|||||||
import BaseAction from '../BaseAction';
|
import BaseAction from '../BaseAction';
|
||||||
import { ActionName } from '../types';
|
import { ActionName } from '../types';
|
||||||
export class GetOnlineClient extends BaseAction<void, Array<any>> {
|
export class GetOnlineClient extends BaseAction<void, Array<any>> {
|
||||||
actionName = ActionName.GetRobotUinRange;
|
actionName = ActionName.GetOnlineClient;
|
||||||
|
|
||||||
protected async _handle(payload: void) {
|
protected async _handle(payload: void) {
|
||||||
|
|
||||||
|
32
src/proto/SysMessage.DeviceChange.proto
Normal file
32
src/proto/SysMessage.DeviceChange.proto
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
package SysMessage;
|
||||||
|
message Data {
|
||||||
|
repeated Header header = 1;
|
||||||
|
repeated Body body = 2;
|
||||||
|
repeated Event event = 3;
|
||||||
|
}
|
||||||
|
message Event {
|
||||||
|
repeated Content content = 2;
|
||||||
|
}
|
||||||
|
message Devices {
|
||||||
|
string deviceName = 5;
|
||||||
|
string appname = 9;
|
||||||
|
}
|
||||||
|
message Content {
|
||||||
|
repeated Devices devices = 5;
|
||||||
|
}
|
||||||
|
message Header {
|
||||||
|
uint32 PeerNumber = 1;
|
||||||
|
string PeerString = 2;
|
||||||
|
uint32 Uin = 5;
|
||||||
|
optional string Uid = 6;
|
||||||
|
}
|
||||||
|
message Body {
|
||||||
|
uint32 MsgType = 1;
|
||||||
|
uint32 SubType_0 = 2;
|
||||||
|
uint32 SubType_1 = 3;
|
||||||
|
uint32 MsgSeq= 5;
|
||||||
|
uint32 Time = 6;
|
||||||
|
uint64 MsgID = 12;
|
||||||
|
uint32 Other = 13;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user