github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/action/action.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/LagrangeDev/LagrangeGo/client/packets/pb/action";
     4  
     5  import "pb/message/message.proto";
     6  
     7  message FaceRoamRequest {
     8    optional PlatInfo Comm = 1;
     9    uint32 SelfUin = 2;
    10    uint32 SubCmd = 3; // 1
    11    uint32 Field6 = 6; // 1
    12  }
    13  
    14  message PlatInfo {
    15    uint32 ImPlat = 1;
    16    optional string OSVersion = 2;
    17    optional string QVersion = 3;
    18  }
    19  
    20  message FaceRoamResponse {
    21    uint32 RetCode = 1;
    22    string ErrMsg = 2;
    23    uint32 SubCmd = 3;
    24    FaceRoamUserInfo UserInfo = 6;
    25  }
    26  
    27  message FaceRoamUserInfo {
    28    repeated string FileName = 1;
    29    repeated string DeleteFile = 2;
    30    string Bid = 3;
    31    uint32 MaxRoamSize = 4;
    32    repeated uint32 EmojiType = 5;
    33  }
    34  
    35  message SendMessageRequest {
    36    int32 State = 1;
    37    int32 SizeCache = 2;
    38    bytes UnknownFields = 3;
    39    RoutingHead RoutingHead = 4;
    40    ContentHead ContentHead = 5;
    41    MessageBody MessageBody = 6;
    42    int32 MsgSeq = 7;
    43    int32 MsgRand = 8;
    44    bytes SyncCookie = 9;
    45    int32 MsgVia = 10;
    46    int32 DataStatist = 11;
    47    MessageControl MessageControl = 12;
    48    int32 MultiSendSeq = 13;
    49  }
    50  
    51  message SendMessageResponse {
    52    int32 Result = 1;
    53    optional string ErrMsg = 2;
    54    uint32 Timestamp1 = 3;
    55    uint32 Field10 = 10;
    56    optional uint32 GroupSequence = 11;
    57    uint32 Timestamp2 = 12;
    58    uint32 PrivateSequence = 14;
    59  }
    60  
    61  message SetStatus {
    62    uint32 Field1 = 1;
    63    uint32 Status = 2;
    64    uint32 ExtStatus = 3;
    65    optional SetStatusCustomExt CustomExt = 4;
    66  }
    67  
    68  message SetStatusCustomExt {
    69    uint32 FaceId = 1;
    70    optional string Text = 2;
    71    uint32 Field3 = 3;
    72  }
    73  
    74  message SetStatusResponse {
    75    string Message = 2;
    76  }
    77  
    78  // http conn start
    79  
    80  message HttpConn {
    81    int32 Field1 = 1; // 0
    82    int32 Field2 = 2; // 0
    83    int32 Field3 = 3; // 16
    84    int32 Field4 = 4; // 1
    85    string Tgt = 5; // tgt lower hex
    86    int32 Field6 = 6; // 3
    87    repeated int32 ServiceTypes = 7; // 1, 5, 10, 21 for image
    88    int32 Field9 = 9; // 2
    89    int32 Field10 = 10; // 9
    90    int32 Field11 = 11; // 8
    91    string Ver = 15; // 1.0.1
    92  }
    93  
    94  message HttpConn0x6ff_501 {
    95    HttpConn HttpConn = 0x501;
    96  }
    97  
    98  message HttpConn0x6ff_501Response {
    99    HttpConnResponse HttpConn = 0x501;
   100  }
   101  
   102  message HttpConnResponse {
   103    bytes SigSession = 1;
   104    bytes SessionKey = 2;
   105    repeated ServerInfo ServerInfos = 3;
   106  }
   107  
   108  message ServerAddr {
   109    uint32 Type = 1;
   110    fixed32 IP = 2;
   111    uint32 Port = 3;
   112    uint32 Area = 4;
   113  }
   114  
   115  message ServerInfo {
   116    uint32 ServiceType = 1;
   117    repeated ServerAddr ServerAddrs = 2;
   118  }