github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/service/oidb/OidbSvcTrpcTcp0xE37_1200.proto (about) 1 syntax = "proto3"; 2 3 option go_package = "github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb"; 4 5 // FileDownload 6 message OidbSvcTrpcTcp0xE37_1200 { 7 uint32 SubCommand = 1; // 1200 8 int32 Field2 = 2; // 1 9 OidbSvcTrpcTcp0xE37_1200Body Body = 14; 10 int32 Field101 = 101; // 3 11 int32 Field102 = 102; // 103 12 int32 Field200 = 200; // 1 13 bytes Field99999 = 99999; // 0xc0, 0x85, 0x2c, 0x01 14 // Actually it is a sub-proto 90200: 1, but we it would be more easy to just hardcode it 15 } 16 17 message OidbSvcTrpcTcp0xE37_1200Body { 18 string ReceiverUid = 10; 19 string FileUuid = 20; 20 int32 Type = 30; // 2 21 string FileHash = 60; 22 int32 T2 = 601; // 0 23 } 24 25 message OidbSvcTrpcTcp0xE37_1200Response { 26 uint32 Command = 1; 27 uint32 SubCommand = 2; 28 OidbSvcTrpcTcp0xE37_1200ResponseBody Body = 14; 29 uint32 Field50 = 50; 30 } 31 32 message OidbSvcTrpcTcp0xE37_1200ResponseBody { 33 uint32 Field10 = 10; 34 string State = 20; 35 OidbSvcTrpcTcp0xE37_1200Result Result = 30; 36 OidbSvcTrpcTcp0xE37_1200Metadata Metadata = 40; 37 } 38 39 message OidbSvcTrpcTcp0xE37_1200Result { 40 string Server = 20; 41 uint32 Port = 40; 42 string Url = 50; 43 repeated string AdditionalServer = 60; 44 uint32 SsoPort = 80; 45 string SsoUrl = 90; 46 bytes Extra = 120; 47 } 48 49 message OidbSvcTrpcTcp0xE37_1200Metadata { 50 uint32 Uin = 1; 51 uint32 Field2 = 2; 52 uint32 Field3 = 3; 53 uint32 Size = 4; 54 uint32 Timestamp = 5; 55 string FileUuid = 6; 56 string FileName = 7; 57 bytes Field100 = 100; 58 bytes Field101 = 101; 59 uint32 Field110 = 110; 60 uint32 Timestamp1 = 130; 61 string FileHash = 140; 62 bytes Field141 = 141; 63 bytes Field142 = 142; 64 }