github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/service/highway/highway.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/service/highway/highway.proto 3 4 package highway 5 6 import ( 7 oidb "github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb" 8 proto "github.com/RomiChan/protobuf/proto" 9 ) 10 11 type DataHighwayHead struct { 12 Version uint32 `protobuf:"varint,1,opt"` 13 Uin proto.Option[string] `protobuf:"bytes,2,opt"` 14 Command proto.Option[string] `protobuf:"bytes,3,opt"` 15 Seq proto.Option[uint32] `protobuf:"varint,4,opt"` 16 RetryTimes proto.Option[uint32] `protobuf:"varint,5,opt"` 17 AppId uint32 `protobuf:"varint,6,opt"` 18 DataFlag uint32 `protobuf:"varint,7,opt"` 19 CommandId uint32 `protobuf:"varint,8,opt"` 20 BuildVer []byte `protobuf:"bytes,9,opt"` 21 } 22 23 type FileUploadExt struct { 24 Unknown1 int32 `protobuf:"varint,1,opt"` 25 Unknown2 int32 `protobuf:"varint,2,opt"` 26 Unknown3 int32 `protobuf:"varint,3,opt"` 27 Entry *FileUploadEntry `protobuf:"bytes,100,opt"` 28 Unknown200 int32 `protobuf:"varint,200,opt"` 29 _ [0]func() 30 } 31 32 type FileUploadEntry struct { 33 BusiBuff *ExcitingBusiInfo `protobuf:"bytes,100,opt"` 34 FileEntry *ExcitingFileEntry `protobuf:"bytes,200,opt"` 35 ClientInfo *ExcitingClientInfo `protobuf:"bytes,300,opt"` 36 FileNameInfo *ExcitingFileNameInfo `protobuf:"bytes,400,opt"` 37 Host *ExcitingHostConfig `protobuf:"bytes,500,opt"` 38 _ [0]func() 39 } 40 41 type ExcitingBusiInfo struct { 42 BusId int32 `protobuf:"varint,1,opt"` 43 SenderUin uint64 `protobuf:"varint,100,opt"` 44 ReceiverUin uint64 `protobuf:"varint,200,opt"` 45 GroupCode uint64 `protobuf:"varint,400,opt"` 46 _ [0]func() 47 } 48 49 type ExcitingFileEntry struct { 50 FileSize uint64 `protobuf:"varint,100,opt"` 51 Md5 []byte `protobuf:"bytes,200,opt"` 52 CheckKey []byte `protobuf:"bytes,300,opt"` 53 Md5S2 []byte `protobuf:"bytes,400,opt"` 54 FileId string `protobuf:"bytes,600,opt"` 55 UploadKey []byte `protobuf:"bytes,700,opt"` 56 } 57 58 type ExcitingClientInfo struct { 59 ClientType int32 `protobuf:"varint,100,opt"` 60 AppId string `protobuf:"bytes,200,opt"` 61 TerminalType int32 `protobuf:"varint,300,opt"` 62 ClientVer string `protobuf:"bytes,400,opt"` 63 Unknown int32 `protobuf:"varint,600,opt"` 64 _ [0]func() 65 } 66 67 type ExcitingFileNameInfo struct { 68 FileName string `protobuf:"bytes,100,opt"` 69 _ [0]func() 70 } 71 72 type ExcitingHostConfig struct { 73 Hosts []*ExcitingHostInfo `protobuf:"bytes,200,rep"` 74 } 75 76 type ExcitingHostInfo struct { 77 Url *ExcitingUrlInfo `protobuf:"bytes,1,opt"` 78 Port uint32 `protobuf:"varint,2,opt"` 79 _ [0]func() 80 } 81 82 type ExcitingUrlInfo struct { 83 Unknown int32 `protobuf:"varint,1,opt"` 84 Host string `protobuf:"bytes,2,opt"` 85 _ [0]func() 86 } 87 88 type LoginSigHead struct { 89 Uint32LoginSigType uint32 `protobuf:"varint,1,opt"` 90 BytesLoginSig []byte `protobuf:"bytes,2,opt"` 91 AppId uint32 `protobuf:"varint,3,opt"` 92 } 93 94 type NTV2RichMediaHighwayExt struct { 95 FileUuid string `protobuf:"bytes,1,opt"` 96 UKey string `protobuf:"bytes,2,opt"` 97 Network *NTHighwayNetwork `protobuf:"bytes,5,opt"` 98 MsgInfoBody []*oidb.MsgInfoBody `protobuf:"bytes,6,rep"` 99 BlockSize uint32 `protobuf:"varint,10,opt"` 100 Hash *NTHighwayHash `protobuf:"bytes,11,opt"` 101 } 102 103 type NTHighwayHash struct { 104 FileSha1 [][]byte `protobuf:"bytes,1,rep"` 105 } 106 107 type NTHighwayNetwork struct { 108 IPv4S []*NTHighwayIPv4 `protobuf:"bytes,1,rep"` 109 } 110 111 type NTHighwayIPv4 struct { 112 Domain *NTHighwayDomain `protobuf:"bytes,1,opt"` 113 Port uint32 `protobuf:"varint,2,opt"` 114 _ [0]func() 115 } 116 117 type NTHighwayDomain struct { 118 IsEnable bool `protobuf:"varint,1,opt"` 119 IP string `protobuf:"bytes,2,opt"` 120 _ [0]func() 121 } 122 123 type ReqDataHighwayHead struct { 124 MsgBaseHead *DataHighwayHead `protobuf:"bytes,1,opt"` 125 MsgSegHead *SegHead `protobuf:"bytes,2,opt"` 126 BytesReqExtendInfo []byte `protobuf:"bytes,3,opt"` 127 Timestamp uint64 `protobuf:"varint,4,opt"` 128 MsgLoginSigHead *LoginSigHead `protobuf:"bytes,5,opt"` 129 } 130 131 type RespDataHighwayHead struct { 132 MsgBaseHead *DataHighwayHead `protobuf:"bytes,1,opt"` 133 MsgSegHead *SegHead `protobuf:"bytes,2,opt"` 134 ErrorCode uint32 `protobuf:"varint,3,opt"` 135 AllowRetry uint32 `protobuf:"varint,4,opt"` 136 CacheCost uint32 `protobuf:"varint,5,opt"` 137 HtCost uint32 `protobuf:"varint,6,opt"` 138 BytesRspExtendInfo []byte `protobuf:"bytes,7,opt"` 139 Timestamp uint64 `protobuf:"varint,8,opt"` 140 Range uint64 `protobuf:"varint,9,opt"` 141 IsReset uint32 `protobuf:"varint,10,opt"` 142 } 143 144 type SegHead struct { 145 ServiceId proto.Option[uint32] `protobuf:"varint,1,opt"` 146 Filesize uint64 `protobuf:"varint,2,opt"` 147 DataOffset proto.Option[uint64] `protobuf:"varint,3,opt"` 148 DataLength uint32 `protobuf:"varint,4,opt"` 149 RetCode proto.Option[uint32] `protobuf:"varint,5,opt"` 150 ServiceTicket []byte `protobuf:"bytes,6,opt"` 151 // uint32 Flag = 7; 152 Md5 []byte `protobuf:"bytes,8,opt"` 153 FileMd5 []byte `protobuf:"bytes,9,opt"` 154 CacheAddr proto.Option[uint32] `protobuf:"varint,10,opt"` 155 QueryTimes uint32 `protobuf:"varint,11,opt"` 156 UpdateCacheIp uint32 `protobuf:"varint,12,opt"` 157 CachePort proto.Option[uint32] `protobuf:"varint,13,opt"` 158 }