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

     1  syntax = "proto3";
     2  
     3  option go_package = "github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb";
     4  
     5  // Group File Upload
     6  message OidbSvcTrpcTcp0x6D6 {
     7    optional OidbSvcTrpcTcp0x6D6Upload File = 1;
     8    optional OidbSvcTrpcTcp0x6D6Download Download = 3;
     9    optional OidbSvcTrpcTcp0x6D6Move Move = 6;
    10  }
    11  
    12  message OidbSvcTrpcTcp0x6D6Upload {
    13    uint32 GroupUin = 1;
    14    uint32 AppId = 2; // 7
    15    uint32 BusId = 3; // 102
    16    uint32 Entrance = 4; // 6
    17    string TargetDirectory = 5;
    18    string FileName = 6;
    19    string LocalDirectory = 7;
    20    uint64 FileSize = 8;
    21    bytes FileSha1 = 9;
    22    bytes FileSha3 = 10;
    23    bytes FileMd5 = 11;
    24    bool Field15 = 15;
    25  }
    26  
    27  message OidbSvcTrpcTcp0x6D6Download {
    28    uint32 GroupUin = 1;
    29    uint32 AppId = 2; // 7
    30    uint32 BusId = 3; // 102
    31    string FileId = 4;
    32  }
    33  
    34  message OidbSvcTrpcTcp0x6D6Move {
    35    uint32 GroupUin = 1;
    36    uint32 AppId = 2; // 7
    37    uint32 BusId = 3; // 102
    38    string FileId = 4;
    39    string ParentDirectory = 5;
    40    string TargetDirectory = 6;
    41  }
    42  
    43  message OidbSvcTrpcTcp0x6D6Response {
    44    OidbSvcTrpcTcp0x6D6_0Response Upload = 1;
    45    OidbSvcTrpcTcp0x6D6_2Response Download = 3;
    46  }
    47  
    48  message OidbSvcTrpcTcp0x6D6_0Response {
    49    int32 RetCode = 1;
    50    string RetMsg = 2;
    51    string ClientWording = 3;
    52    string UploadIp = 4;
    53    string ServerDns = 5;
    54    int32 BusId = 6;
    55    string FileId = 7;
    56    bytes CheckKey = 8;
    57    bytes FileKey = 9;
    58    bool BoolFileExist = 10;
    59    repeated string UploadIpLanV4 = 12;
    60    repeated string UploadIpLanV6 = 13;
    61    uint32 UploadPort = 14;
    62  }
    63  
    64  message OidbSvcTrpcTcp0x6D6_2Response {
    65    int32 RetCode = 1;
    66    string RetMsg = 2;
    67    string ClientWording = 3;
    68    string DownloadIp = 4;
    69    string DownloadDns = 5;
    70    bytes DownloadUrl = 6;
    71    bytes FileSha1 = 7;
    72    bytes FileSha3 = 8;
    73    bytes FileMd5 = 9;
    74    bytes CookieVal = 10;
    75    string SaveFileName = 11;
    76    uint32 PreviewPort = 12;
    77  }