mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
30 lines
619 B
Protocol Buffer
30 lines
619 B
Protocol Buffer
syntax = "proto3";
|
|
package SysMsg;
|
|
|
|
message SystemMessage {
|
|
repeated SystemMessageHeader header = 1;
|
|
repeated SystemMessageMsgSpec msgSpec = 2;
|
|
SystemMessageBodyWrapper bodyWrapper = 3;
|
|
}
|
|
|
|
message SystemMessageHeader {
|
|
uint32 peerNumber = 1;
|
|
string peerString = 2;
|
|
uint32 uin = 5;
|
|
optional string uid = 6;
|
|
}
|
|
|
|
message SystemMessageMsgSpec {
|
|
uint32 msgType = 1;
|
|
uint32 subType = 2;
|
|
uint32 subSubType = 3;
|
|
uint32 msgSeq = 5;
|
|
uint32 time = 6;
|
|
//uint64 msgId = 12;
|
|
uint32 other = 13;
|
|
}
|
|
|
|
message SystemMessageBodyWrapper {
|
|
bytes body = 2;
|
|
// Find the first [08], or ignore the first 7 bytes?
|
|
} |