github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/message/component.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/message/component.proto 3 4 package message 5 6 import ( 7 proto "github.com/RomiChan/protobuf/proto" 8 ) 9 10 type Attr struct { 11 CodePage int32 `protobuf:"varint,1,opt"` 12 Time int32 `protobuf:"varint,2,opt"` 13 Random int32 `protobuf:"varint,3,opt"` 14 Color int32 `protobuf:"varint,4,opt"` 15 Size int32 `protobuf:"varint,5,opt"` 16 Effect int32 `protobuf:"varint,6,opt"` 17 CharSet int32 `protobuf:"varint,7,opt"` 18 PitchAndFamily int32 `protobuf:"varint,8,opt"` 19 FontName string `protobuf:"bytes,9,opt"` 20 ReserveData []byte `protobuf:"bytes,10,opt"` 21 } 22 23 type GroupInfo struct { 24 GroupCode uint64 `protobuf:"varint,1,opt"` 25 GroupType int32 `protobuf:"varint,2,opt"` 26 GroupInfoSeq int64 `protobuf:"varint,3,opt"` 27 GroupCard string `protobuf:"bytes,4,opt"` 28 GroupLevel int32 `protobuf:"varint,5,opt"` 29 GroupCardType int32 `protobuf:"varint,6,opt"` 30 GroupName []byte `protobuf:"bytes,7,opt"` 31 } 32 33 type MutilTransHead struct { 34 Status int32 `protobuf:"varint,1,opt"` 35 MsgId int32 `protobuf:"varint,2,opt"` 36 _ [0]func() 37 } 38 39 type NotOnlineFile struct { 40 FileType proto.Option[int32] `protobuf:"varint,1,opt"` 41 Sig []byte `protobuf:"bytes,2,opt"` 42 FileUuid proto.Option[string] `protobuf:"bytes,3,opt"` 43 FileMd5 []byte `protobuf:"bytes,4,opt"` 44 FileName proto.Option[string] `protobuf:"bytes,5,opt"` 45 FileSize proto.Option[int64] `protobuf:"varint,6,opt"` 46 Note []byte `protobuf:"bytes,7,opt"` 47 Reserved proto.Option[int32] `protobuf:"varint,8,opt"` 48 Subcmd proto.Option[int32] `protobuf:"varint,9,opt"` 49 MicroCloud proto.Option[int32] `protobuf:"varint,10,opt"` 50 BytesFileUrls [][]byte `protobuf:"bytes,11,rep"` 51 DownloadFlag proto.Option[int32] `protobuf:"varint,12,opt"` 52 DangerEvel proto.Option[int32] `protobuf:"varint,50,opt"` 53 LifeTime proto.Option[int32] `protobuf:"varint,51,opt"` 54 UploadTime proto.Option[int32] `protobuf:"varint,52,opt"` 55 AbsFileType proto.Option[int32] `protobuf:"varint,53,opt"` 56 ClientType proto.Option[int32] `protobuf:"varint,54,opt"` 57 ExpireTime proto.Option[int32] `protobuf:"varint,55,opt"` 58 PbReserve []byte `protobuf:"bytes,56,opt"` 59 FileHash proto.Option[string] `protobuf:"bytes,57,opt"` 60 } 61 62 type Ptt struct { 63 FileType int32 `protobuf:"varint,1,opt"` 64 SrcUin uint64 `protobuf:"varint,2,opt"` 65 FileUuid string `protobuf:"bytes,3,opt"` 66 FileMd5 []byte `protobuf:"bytes,4,opt"` 67 FileName string `protobuf:"bytes,5,opt"` 68 FileSize int32 `protobuf:"varint,6,opt"` 69 Reserve []byte `protobuf:"bytes,7,opt"` 70 FileId int32 `protobuf:"varint,8,opt"` 71 ServerIp int32 `protobuf:"varint,9,opt"` 72 ServerPort int32 `protobuf:"varint,10,opt"` 73 BoolValid bool `protobuf:"varint,11,opt"` 74 Signature []byte `protobuf:"bytes,12,opt"` 75 Shortcut []byte `protobuf:"bytes,13,opt"` 76 FileKey []byte `protobuf:"bytes,14,opt"` 77 MagicPttIndex int32 `protobuf:"varint,15,opt"` 78 VoiceSwitch int32 `protobuf:"varint,16,opt"` 79 PttUrl []byte `protobuf:"bytes,17,opt"` 80 GroupFileKey string `protobuf:"bytes,18,opt"` 81 Time int32 `protobuf:"varint,19,opt"` 82 DownPara []byte `protobuf:"bytes,20,opt"` 83 Format int32 `protobuf:"varint,29,opt"` 84 PbReserve []byte `protobuf:"bytes,30,opt"` 85 BytesPttUrls [][]byte `protobuf:"bytes,31,rep"` 86 DownloadFlag int32 `protobuf:"varint,32,opt"` 87 } 88 89 type RichText struct { 90 Attr *Attr `protobuf:"bytes,1,opt"` 91 Elems []*Elem `protobuf:"bytes,2,rep"` 92 NotOnlineFile *NotOnlineFile `protobuf:"bytes,3,opt"` 93 Ptt *Ptt `protobuf:"bytes,4,opt"` 94 } 95 96 type ButtonExtra struct { 97 Data *KeyboardData `protobuf:"bytes,1,opt"` 98 _ [0]func() 99 } 100 101 type KeyboardData struct { 102 Rows []*Row `protobuf:"bytes,1,rep"` 103 } 104 105 type Row struct { 106 Buttons []*Button `protobuf:"bytes,1,rep"` 107 } 108 109 type Button struct { 110 ID string `protobuf:"bytes,1,opt"` 111 RenderData *RenderData `protobuf:"bytes,2,opt"` 112 Action *Action `protobuf:"bytes,3,opt"` 113 _ [0]func() 114 } 115 116 type RenderData struct { 117 Label string `protobuf:"bytes,1,opt"` 118 VisitedLabel string `protobuf:"bytes,2,opt"` 119 Style int32 `protobuf:"varint,3,opt"` 120 _ [0]func() 121 } 122 123 type Action struct { 124 Type int32 `protobuf:"varint,1,opt"` 125 Permission *Permission `protobuf:"bytes,2,opt"` 126 // uint64 ClickLimit = 3; 127 UnsupportTips string `protobuf:"bytes,4,opt"` 128 Data string `protobuf:"bytes,5,opt"` 129 Reply bool `protobuf:"varint,7,opt"` 130 Enter bool `protobuf:"varint,8,opt"` 131 _ [0]func() 132 } 133 134 type Permission struct { 135 Type int32 `protobuf:"varint,1,opt"` 136 SpecifyRoleIds []string `protobuf:"bytes,2,rep"` 137 SpecifyUserIds []string `protobuf:"bytes,3,rep"` 138 } 139 140 type FileExtra struct { 141 File *NotOnlineFile `protobuf:"bytes,1,opt"` 142 _ [0]func() 143 } 144 145 type GroupFileExtra struct { 146 Field1 uint32 `protobuf:"varint,1,opt"` 147 FileName string `protobuf:"bytes,2,opt"` 148 Display string `protobuf:"bytes,3,opt"` 149 Inner *GroupFileExtraInner `protobuf:"bytes,7,opt"` 150 _ [0]func() 151 } 152 153 type GroupFileExtraInner struct { 154 Info *GroupFileExtraInfo `protobuf:"bytes,2,opt"` 155 _ [0]func() 156 } 157 158 type GroupFileExtraInfo struct { 159 BusId uint32 `protobuf:"varint,1,opt"` 160 FileId string `protobuf:"bytes,2,opt"` 161 FileSize uint64 `protobuf:"varint,3,opt"` 162 FileName string `protobuf:"bytes,4,opt"` 163 Field5 uint32 `protobuf:"varint,5,opt"` 164 Field7 string `protobuf:"bytes,7,opt"` 165 FileMd5 string `protobuf:"bytes,8,opt"` 166 _ [0]func() 167 } 168 169 type ImageExtraUrl struct { 170 OrigUrl string `protobuf:"bytes,30,opt"` 171 _ [0]func() 172 } 173 174 type PokeExtra struct { 175 Type uint32 `protobuf:"varint,1,opt"` 176 Field7 uint32 `protobuf:"varint,7,opt"` 177 Field8 uint32 `protobuf:"varint,8,opt"` 178 _ [0]func() 179 }