Room.pb.go 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v2/Room.proto
  3. package v2
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import io "io"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  17. type RoomGetByIdsReq struct {
  18. Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
  19. NeedUinfo int64 `protobuf:"varint,2,opt,name=need_uinfo,json=needUinfo,proto3" json:"need_uinfo,omitempty"`
  20. NeedBroadcastType int64 `protobuf:"varint,3,opt,name=need_broadcast_type,json=needBroadcastType,proto3" json:"need_broadcast_type,omitempty"`
  21. Fields []string `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
  22. From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"`
  23. }
  24. func (m *RoomGetByIdsReq) Reset() { *m = RoomGetByIdsReq{} }
  25. func (m *RoomGetByIdsReq) String() string { return proto.CompactTextString(m) }
  26. func (*RoomGetByIdsReq) ProtoMessage() {}
  27. func (*RoomGetByIdsReq) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_Room_dd99878fba5dfa8c, []int{0}
  29. }
  30. func (m *RoomGetByIdsReq) XXX_Unmarshal(b []byte) error {
  31. return m.Unmarshal(b)
  32. }
  33. func (m *RoomGetByIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. if deterministic {
  35. return xxx_messageInfo_RoomGetByIdsReq.Marshal(b, m, deterministic)
  36. } else {
  37. b = b[:cap(b)]
  38. n, err := m.MarshalTo(b)
  39. if err != nil {
  40. return nil, err
  41. }
  42. return b[:n], nil
  43. }
  44. }
  45. func (dst *RoomGetByIdsReq) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_RoomGetByIdsReq.Merge(dst, src)
  47. }
  48. func (m *RoomGetByIdsReq) XXX_Size() int {
  49. return m.Size()
  50. }
  51. func (m *RoomGetByIdsReq) XXX_DiscardUnknown() {
  52. xxx_messageInfo_RoomGetByIdsReq.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_RoomGetByIdsReq proto.InternalMessageInfo
  55. func (m *RoomGetByIdsReq) GetIds() []int64 {
  56. if m != nil {
  57. return m.Ids
  58. }
  59. return nil
  60. }
  61. func (m *RoomGetByIdsReq) GetNeedUinfo() int64 {
  62. if m != nil {
  63. return m.NeedUinfo
  64. }
  65. return 0
  66. }
  67. func (m *RoomGetByIdsReq) GetNeedBroadcastType() int64 {
  68. if m != nil {
  69. return m.NeedBroadcastType
  70. }
  71. return 0
  72. }
  73. func (m *RoomGetByIdsReq) GetFields() []string {
  74. if m != nil {
  75. return m.Fields
  76. }
  77. return nil
  78. }
  79. func (m *RoomGetByIdsReq) GetFrom() string {
  80. if m != nil {
  81. return m.From
  82. }
  83. return ""
  84. }
  85. type RoomGetByIdsResp struct {
  86. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  87. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  88. Data map[string]*RoomGetByIdsResp_RoomInfo `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  89. }
  90. func (m *RoomGetByIdsResp) Reset() { *m = RoomGetByIdsResp{} }
  91. func (m *RoomGetByIdsResp) String() string { return proto.CompactTextString(m) }
  92. func (*RoomGetByIdsResp) ProtoMessage() {}
  93. func (*RoomGetByIdsResp) Descriptor() ([]byte, []int) {
  94. return fileDescriptor_Room_dd99878fba5dfa8c, []int{1}
  95. }
  96. func (m *RoomGetByIdsResp) XXX_Unmarshal(b []byte) error {
  97. return m.Unmarshal(b)
  98. }
  99. func (m *RoomGetByIdsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  100. if deterministic {
  101. return xxx_messageInfo_RoomGetByIdsResp.Marshal(b, m, deterministic)
  102. } else {
  103. b = b[:cap(b)]
  104. n, err := m.MarshalTo(b)
  105. if err != nil {
  106. return nil, err
  107. }
  108. return b[:n], nil
  109. }
  110. }
  111. func (dst *RoomGetByIdsResp) XXX_Merge(src proto.Message) {
  112. xxx_messageInfo_RoomGetByIdsResp.Merge(dst, src)
  113. }
  114. func (m *RoomGetByIdsResp) XXX_Size() int {
  115. return m.Size()
  116. }
  117. func (m *RoomGetByIdsResp) XXX_DiscardUnknown() {
  118. xxx_messageInfo_RoomGetByIdsResp.DiscardUnknown(m)
  119. }
  120. var xxx_messageInfo_RoomGetByIdsResp proto.InternalMessageInfo
  121. func (m *RoomGetByIdsResp) GetCode() int64 {
  122. if m != nil {
  123. return m.Code
  124. }
  125. return 0
  126. }
  127. func (m *RoomGetByIdsResp) GetMsg() string {
  128. if m != nil {
  129. return m.Msg
  130. }
  131. return ""
  132. }
  133. func (m *RoomGetByIdsResp) GetData() map[string]*RoomGetByIdsResp_RoomInfo {
  134. if m != nil {
  135. return m.Data
  136. }
  137. return nil
  138. }
  139. type RoomGetByIdsResp_RoomInfo struct {
  140. Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
  141. Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname,omitempty"`
  142. Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face,omitempty"`
  143. Verify string `protobuf:"bytes,4,opt,name=verify,proto3" json:"verify,omitempty"`
  144. Cover string `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover,omitempty"`
  145. Uid int64 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid,omitempty"`
  146. LiveTime string `protobuf:"bytes,7,opt,name=live_time,json=liveTime,proto3" json:"live_time,omitempty"`
  147. RoundStatus int64 `protobuf:"varint,8,opt,name=round_status,json=roundStatus,proto3" json:"round_status,omitempty"`
  148. OnFlag int64 `protobuf:"varint,9,opt,name=on_flag,json=onFlag,proto3" json:"on_flag,omitempty"`
  149. Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"`
  150. Tags string `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"`
  151. LockStatus string `protobuf:"bytes,12,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status,omitempty"`
  152. HiddenStatus string `protobuf:"bytes,13,opt,name=hidden_status,json=hiddenStatus,proto3" json:"hidden_status,omitempty"`
  153. UserCover string `protobuf:"bytes,14,opt,name=user_cover,json=userCover,proto3" json:"user_cover,omitempty"`
  154. ShortId int64 `protobuf:"varint,15,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
  155. Online int64 `protobuf:"varint,16,opt,name=online,proto3" json:"online,omitempty"`
  156. Area int64 `protobuf:"varint,17,opt,name=area,proto3" json:"area,omitempty"`
  157. AreaV2Id int64 `protobuf:"varint,18,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id,omitempty"`
  158. AreaV2ParentId int64 `protobuf:"varint,19,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id,omitempty"`
  159. AreaPkStatus int64 `protobuf:"varint,20,opt,name=area_pk_status,json=areaPkStatus,proto3" json:"area_pk_status,omitempty"`
  160. AreaV2Name string `protobuf:"bytes,21,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name,omitempty"`
  161. AreaV2ParentName string `protobuf:"bytes,22,opt,name=area_v2_parent_name,json=areaV2ParentName,proto3" json:"area_v2_parent_name,omitempty"`
  162. Attentions int64 `protobuf:"varint,23,opt,name=attentions,proto3" json:"attentions,omitempty"`
  163. Background string `protobuf:"bytes,24,opt,name=background,proto3" json:"background,omitempty"`
  164. RoomSilent int64 `protobuf:"varint,25,opt,name=room_silent,json=roomSilent,proto3" json:"room_silent,omitempty"`
  165. RoomShield int64 `protobuf:"varint,26,opt,name=room_shield,json=roomShield,proto3" json:"room_shield,omitempty"`
  166. TryTime string `protobuf:"bytes,27,opt,name=try_time,json=tryTime,proto3" json:"try_time,omitempty"`
  167. LiveStatus int64 `protobuf:"varint,28,opt,name=live_status,json=liveStatus,proto3" json:"live_status,omitempty"`
  168. BroadcastType int64 `protobuf:"varint,29,opt,name=broadcast_type,json=broadcastType,proto3" json:"broadcast_type,omitempty"`
  169. }
  170. func (m *RoomGetByIdsResp_RoomInfo) Reset() { *m = RoomGetByIdsResp_RoomInfo{} }
  171. func (m *RoomGetByIdsResp_RoomInfo) String() string { return proto.CompactTextString(m) }
  172. func (*RoomGetByIdsResp_RoomInfo) ProtoMessage() {}
  173. func (*RoomGetByIdsResp_RoomInfo) Descriptor() ([]byte, []int) {
  174. return fileDescriptor_Room_dd99878fba5dfa8c, []int{1, 1}
  175. }
  176. func (m *RoomGetByIdsResp_RoomInfo) XXX_Unmarshal(b []byte) error {
  177. return m.Unmarshal(b)
  178. }
  179. func (m *RoomGetByIdsResp_RoomInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  180. if deterministic {
  181. return xxx_messageInfo_RoomGetByIdsResp_RoomInfo.Marshal(b, m, deterministic)
  182. } else {
  183. b = b[:cap(b)]
  184. n, err := m.MarshalTo(b)
  185. if err != nil {
  186. return nil, err
  187. }
  188. return b[:n], nil
  189. }
  190. }
  191. func (dst *RoomGetByIdsResp_RoomInfo) XXX_Merge(src proto.Message) {
  192. xxx_messageInfo_RoomGetByIdsResp_RoomInfo.Merge(dst, src)
  193. }
  194. func (m *RoomGetByIdsResp_RoomInfo) XXX_Size() int {
  195. return m.Size()
  196. }
  197. func (m *RoomGetByIdsResp_RoomInfo) XXX_DiscardUnknown() {
  198. xxx_messageInfo_RoomGetByIdsResp_RoomInfo.DiscardUnknown(m)
  199. }
  200. var xxx_messageInfo_RoomGetByIdsResp_RoomInfo proto.InternalMessageInfo
  201. func (m *RoomGetByIdsResp_RoomInfo) GetRoomid() int64 {
  202. if m != nil {
  203. return m.Roomid
  204. }
  205. return 0
  206. }
  207. func (m *RoomGetByIdsResp_RoomInfo) GetUname() string {
  208. if m != nil {
  209. return m.Uname
  210. }
  211. return ""
  212. }
  213. func (m *RoomGetByIdsResp_RoomInfo) GetFace() string {
  214. if m != nil {
  215. return m.Face
  216. }
  217. return ""
  218. }
  219. func (m *RoomGetByIdsResp_RoomInfo) GetVerify() string {
  220. if m != nil {
  221. return m.Verify
  222. }
  223. return ""
  224. }
  225. func (m *RoomGetByIdsResp_RoomInfo) GetCover() string {
  226. if m != nil {
  227. return m.Cover
  228. }
  229. return ""
  230. }
  231. func (m *RoomGetByIdsResp_RoomInfo) GetUid() int64 {
  232. if m != nil {
  233. return m.Uid
  234. }
  235. return 0
  236. }
  237. func (m *RoomGetByIdsResp_RoomInfo) GetLiveTime() string {
  238. if m != nil {
  239. return m.LiveTime
  240. }
  241. return ""
  242. }
  243. func (m *RoomGetByIdsResp_RoomInfo) GetRoundStatus() int64 {
  244. if m != nil {
  245. return m.RoundStatus
  246. }
  247. return 0
  248. }
  249. func (m *RoomGetByIdsResp_RoomInfo) GetOnFlag() int64 {
  250. if m != nil {
  251. return m.OnFlag
  252. }
  253. return 0
  254. }
  255. func (m *RoomGetByIdsResp_RoomInfo) GetTitle() string {
  256. if m != nil {
  257. return m.Title
  258. }
  259. return ""
  260. }
  261. func (m *RoomGetByIdsResp_RoomInfo) GetTags() string {
  262. if m != nil {
  263. return m.Tags
  264. }
  265. return ""
  266. }
  267. func (m *RoomGetByIdsResp_RoomInfo) GetLockStatus() string {
  268. if m != nil {
  269. return m.LockStatus
  270. }
  271. return ""
  272. }
  273. func (m *RoomGetByIdsResp_RoomInfo) GetHiddenStatus() string {
  274. if m != nil {
  275. return m.HiddenStatus
  276. }
  277. return ""
  278. }
  279. func (m *RoomGetByIdsResp_RoomInfo) GetUserCover() string {
  280. if m != nil {
  281. return m.UserCover
  282. }
  283. return ""
  284. }
  285. func (m *RoomGetByIdsResp_RoomInfo) GetShortId() int64 {
  286. if m != nil {
  287. return m.ShortId
  288. }
  289. return 0
  290. }
  291. func (m *RoomGetByIdsResp_RoomInfo) GetOnline() int64 {
  292. if m != nil {
  293. return m.Online
  294. }
  295. return 0
  296. }
  297. func (m *RoomGetByIdsResp_RoomInfo) GetArea() int64 {
  298. if m != nil {
  299. return m.Area
  300. }
  301. return 0
  302. }
  303. func (m *RoomGetByIdsResp_RoomInfo) GetAreaV2Id() int64 {
  304. if m != nil {
  305. return m.AreaV2Id
  306. }
  307. return 0
  308. }
  309. func (m *RoomGetByIdsResp_RoomInfo) GetAreaV2ParentId() int64 {
  310. if m != nil {
  311. return m.AreaV2ParentId
  312. }
  313. return 0
  314. }
  315. func (m *RoomGetByIdsResp_RoomInfo) GetAreaPkStatus() int64 {
  316. if m != nil {
  317. return m.AreaPkStatus
  318. }
  319. return 0
  320. }
  321. func (m *RoomGetByIdsResp_RoomInfo) GetAreaV2Name() string {
  322. if m != nil {
  323. return m.AreaV2Name
  324. }
  325. return ""
  326. }
  327. func (m *RoomGetByIdsResp_RoomInfo) GetAreaV2ParentName() string {
  328. if m != nil {
  329. return m.AreaV2ParentName
  330. }
  331. return ""
  332. }
  333. func (m *RoomGetByIdsResp_RoomInfo) GetAttentions() int64 {
  334. if m != nil {
  335. return m.Attentions
  336. }
  337. return 0
  338. }
  339. func (m *RoomGetByIdsResp_RoomInfo) GetBackground() string {
  340. if m != nil {
  341. return m.Background
  342. }
  343. return ""
  344. }
  345. func (m *RoomGetByIdsResp_RoomInfo) GetRoomSilent() int64 {
  346. if m != nil {
  347. return m.RoomSilent
  348. }
  349. return 0
  350. }
  351. func (m *RoomGetByIdsResp_RoomInfo) GetRoomShield() int64 {
  352. if m != nil {
  353. return m.RoomShield
  354. }
  355. return 0
  356. }
  357. func (m *RoomGetByIdsResp_RoomInfo) GetTryTime() string {
  358. if m != nil {
  359. return m.TryTime
  360. }
  361. return ""
  362. }
  363. func (m *RoomGetByIdsResp_RoomInfo) GetLiveStatus() int64 {
  364. if m != nil {
  365. return m.LiveStatus
  366. }
  367. return 0
  368. }
  369. func (m *RoomGetByIdsResp_RoomInfo) GetBroadcastType() int64 {
  370. if m != nil {
  371. return m.BroadcastType
  372. }
  373. return 0
  374. }
  375. func init() {
  376. proto.RegisterType((*RoomGetByIdsReq)(nil), "room.v2.RoomGetByIdsReq")
  377. proto.RegisterType((*RoomGetByIdsResp)(nil), "room.v2.RoomGetByIdsResp")
  378. proto.RegisterMapType((map[string]*RoomGetByIdsResp_RoomInfo)(nil), "room.v2.RoomGetByIdsResp.DataEntry")
  379. proto.RegisterType((*RoomGetByIdsResp_RoomInfo)(nil), "room.v2.RoomGetByIdsResp.RoomInfo")
  380. }
  381. func (m *RoomGetByIdsReq) Marshal() (dAtA []byte, err error) {
  382. size := m.Size()
  383. dAtA = make([]byte, size)
  384. n, err := m.MarshalTo(dAtA)
  385. if err != nil {
  386. return nil, err
  387. }
  388. return dAtA[:n], nil
  389. }
  390. func (m *RoomGetByIdsReq) MarshalTo(dAtA []byte) (int, error) {
  391. var i int
  392. _ = i
  393. var l int
  394. _ = l
  395. if len(m.Ids) > 0 {
  396. dAtA2 := make([]byte, len(m.Ids)*10)
  397. var j1 int
  398. for _, num1 := range m.Ids {
  399. num := uint64(num1)
  400. for num >= 1<<7 {
  401. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  402. num >>= 7
  403. j1++
  404. }
  405. dAtA2[j1] = uint8(num)
  406. j1++
  407. }
  408. dAtA[i] = 0xa
  409. i++
  410. i = encodeVarintRoom(dAtA, i, uint64(j1))
  411. i += copy(dAtA[i:], dAtA2[:j1])
  412. }
  413. if m.NeedUinfo != 0 {
  414. dAtA[i] = 0x10
  415. i++
  416. i = encodeVarintRoom(dAtA, i, uint64(m.NeedUinfo))
  417. }
  418. if m.NeedBroadcastType != 0 {
  419. dAtA[i] = 0x18
  420. i++
  421. i = encodeVarintRoom(dAtA, i, uint64(m.NeedBroadcastType))
  422. }
  423. if len(m.Fields) > 0 {
  424. for _, s := range m.Fields {
  425. dAtA[i] = 0x22
  426. i++
  427. l = len(s)
  428. for l >= 1<<7 {
  429. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  430. l >>= 7
  431. i++
  432. }
  433. dAtA[i] = uint8(l)
  434. i++
  435. i += copy(dAtA[i:], s)
  436. }
  437. }
  438. if len(m.From) > 0 {
  439. dAtA[i] = 0x2a
  440. i++
  441. i = encodeVarintRoom(dAtA, i, uint64(len(m.From)))
  442. i += copy(dAtA[i:], m.From)
  443. }
  444. return i, nil
  445. }
  446. func (m *RoomGetByIdsResp) Marshal() (dAtA []byte, err error) {
  447. size := m.Size()
  448. dAtA = make([]byte, size)
  449. n, err := m.MarshalTo(dAtA)
  450. if err != nil {
  451. return nil, err
  452. }
  453. return dAtA[:n], nil
  454. }
  455. func (m *RoomGetByIdsResp) MarshalTo(dAtA []byte) (int, error) {
  456. var i int
  457. _ = i
  458. var l int
  459. _ = l
  460. if m.Code != 0 {
  461. dAtA[i] = 0x8
  462. i++
  463. i = encodeVarintRoom(dAtA, i, uint64(m.Code))
  464. }
  465. if len(m.Msg) > 0 {
  466. dAtA[i] = 0x12
  467. i++
  468. i = encodeVarintRoom(dAtA, i, uint64(len(m.Msg)))
  469. i += copy(dAtA[i:], m.Msg)
  470. }
  471. if len(m.Data) > 0 {
  472. for k, _ := range m.Data {
  473. dAtA[i] = 0x1a
  474. i++
  475. v := m.Data[k]
  476. msgSize := 0
  477. if v != nil {
  478. msgSize = v.Size()
  479. msgSize += 1 + sovRoom(uint64(msgSize))
  480. }
  481. mapSize := 1 + len(k) + sovRoom(uint64(len(k))) + msgSize
  482. i = encodeVarintRoom(dAtA, i, uint64(mapSize))
  483. dAtA[i] = 0xa
  484. i++
  485. i = encodeVarintRoom(dAtA, i, uint64(len(k)))
  486. i += copy(dAtA[i:], k)
  487. if v != nil {
  488. dAtA[i] = 0x12
  489. i++
  490. i = encodeVarintRoom(dAtA, i, uint64(v.Size()))
  491. n3, err := v.MarshalTo(dAtA[i:])
  492. if err != nil {
  493. return 0, err
  494. }
  495. i += n3
  496. }
  497. }
  498. }
  499. return i, nil
  500. }
  501. func (m *RoomGetByIdsResp_RoomInfo) Marshal() (dAtA []byte, err error) {
  502. size := m.Size()
  503. dAtA = make([]byte, size)
  504. n, err := m.MarshalTo(dAtA)
  505. if err != nil {
  506. return nil, err
  507. }
  508. return dAtA[:n], nil
  509. }
  510. func (m *RoomGetByIdsResp_RoomInfo) MarshalTo(dAtA []byte) (int, error) {
  511. var i int
  512. _ = i
  513. var l int
  514. _ = l
  515. if m.Roomid != 0 {
  516. dAtA[i] = 0x8
  517. i++
  518. i = encodeVarintRoom(dAtA, i, uint64(m.Roomid))
  519. }
  520. if len(m.Uname) > 0 {
  521. dAtA[i] = 0x12
  522. i++
  523. i = encodeVarintRoom(dAtA, i, uint64(len(m.Uname)))
  524. i += copy(dAtA[i:], m.Uname)
  525. }
  526. if len(m.Face) > 0 {
  527. dAtA[i] = 0x1a
  528. i++
  529. i = encodeVarintRoom(dAtA, i, uint64(len(m.Face)))
  530. i += copy(dAtA[i:], m.Face)
  531. }
  532. if len(m.Verify) > 0 {
  533. dAtA[i] = 0x22
  534. i++
  535. i = encodeVarintRoom(dAtA, i, uint64(len(m.Verify)))
  536. i += copy(dAtA[i:], m.Verify)
  537. }
  538. if len(m.Cover) > 0 {
  539. dAtA[i] = 0x2a
  540. i++
  541. i = encodeVarintRoom(dAtA, i, uint64(len(m.Cover)))
  542. i += copy(dAtA[i:], m.Cover)
  543. }
  544. if m.Uid != 0 {
  545. dAtA[i] = 0x30
  546. i++
  547. i = encodeVarintRoom(dAtA, i, uint64(m.Uid))
  548. }
  549. if len(m.LiveTime) > 0 {
  550. dAtA[i] = 0x3a
  551. i++
  552. i = encodeVarintRoom(dAtA, i, uint64(len(m.LiveTime)))
  553. i += copy(dAtA[i:], m.LiveTime)
  554. }
  555. if m.RoundStatus != 0 {
  556. dAtA[i] = 0x40
  557. i++
  558. i = encodeVarintRoom(dAtA, i, uint64(m.RoundStatus))
  559. }
  560. if m.OnFlag != 0 {
  561. dAtA[i] = 0x48
  562. i++
  563. i = encodeVarintRoom(dAtA, i, uint64(m.OnFlag))
  564. }
  565. if len(m.Title) > 0 {
  566. dAtA[i] = 0x52
  567. i++
  568. i = encodeVarintRoom(dAtA, i, uint64(len(m.Title)))
  569. i += copy(dAtA[i:], m.Title)
  570. }
  571. if len(m.Tags) > 0 {
  572. dAtA[i] = 0x5a
  573. i++
  574. i = encodeVarintRoom(dAtA, i, uint64(len(m.Tags)))
  575. i += copy(dAtA[i:], m.Tags)
  576. }
  577. if len(m.LockStatus) > 0 {
  578. dAtA[i] = 0x62
  579. i++
  580. i = encodeVarintRoom(dAtA, i, uint64(len(m.LockStatus)))
  581. i += copy(dAtA[i:], m.LockStatus)
  582. }
  583. if len(m.HiddenStatus) > 0 {
  584. dAtA[i] = 0x6a
  585. i++
  586. i = encodeVarintRoom(dAtA, i, uint64(len(m.HiddenStatus)))
  587. i += copy(dAtA[i:], m.HiddenStatus)
  588. }
  589. if len(m.UserCover) > 0 {
  590. dAtA[i] = 0x72
  591. i++
  592. i = encodeVarintRoom(dAtA, i, uint64(len(m.UserCover)))
  593. i += copy(dAtA[i:], m.UserCover)
  594. }
  595. if m.ShortId != 0 {
  596. dAtA[i] = 0x78
  597. i++
  598. i = encodeVarintRoom(dAtA, i, uint64(m.ShortId))
  599. }
  600. if m.Online != 0 {
  601. dAtA[i] = 0x80
  602. i++
  603. dAtA[i] = 0x1
  604. i++
  605. i = encodeVarintRoom(dAtA, i, uint64(m.Online))
  606. }
  607. if m.Area != 0 {
  608. dAtA[i] = 0x88
  609. i++
  610. dAtA[i] = 0x1
  611. i++
  612. i = encodeVarintRoom(dAtA, i, uint64(m.Area))
  613. }
  614. if m.AreaV2Id != 0 {
  615. dAtA[i] = 0x90
  616. i++
  617. dAtA[i] = 0x1
  618. i++
  619. i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2Id))
  620. }
  621. if m.AreaV2ParentId != 0 {
  622. dAtA[i] = 0x98
  623. i++
  624. dAtA[i] = 0x1
  625. i++
  626. i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2ParentId))
  627. }
  628. if m.AreaPkStatus != 0 {
  629. dAtA[i] = 0xa0
  630. i++
  631. dAtA[i] = 0x1
  632. i++
  633. i = encodeVarintRoom(dAtA, i, uint64(m.AreaPkStatus))
  634. }
  635. if len(m.AreaV2Name) > 0 {
  636. dAtA[i] = 0xaa
  637. i++
  638. dAtA[i] = 0x1
  639. i++
  640. i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2Name)))
  641. i += copy(dAtA[i:], m.AreaV2Name)
  642. }
  643. if len(m.AreaV2ParentName) > 0 {
  644. dAtA[i] = 0xb2
  645. i++
  646. dAtA[i] = 0x1
  647. i++
  648. i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2ParentName)))
  649. i += copy(dAtA[i:], m.AreaV2ParentName)
  650. }
  651. if m.Attentions != 0 {
  652. dAtA[i] = 0xb8
  653. i++
  654. dAtA[i] = 0x1
  655. i++
  656. i = encodeVarintRoom(dAtA, i, uint64(m.Attentions))
  657. }
  658. if len(m.Background) > 0 {
  659. dAtA[i] = 0xc2
  660. i++
  661. dAtA[i] = 0x1
  662. i++
  663. i = encodeVarintRoom(dAtA, i, uint64(len(m.Background)))
  664. i += copy(dAtA[i:], m.Background)
  665. }
  666. if m.RoomSilent != 0 {
  667. dAtA[i] = 0xc8
  668. i++
  669. dAtA[i] = 0x1
  670. i++
  671. i = encodeVarintRoom(dAtA, i, uint64(m.RoomSilent))
  672. }
  673. if m.RoomShield != 0 {
  674. dAtA[i] = 0xd0
  675. i++
  676. dAtA[i] = 0x1
  677. i++
  678. i = encodeVarintRoom(dAtA, i, uint64(m.RoomShield))
  679. }
  680. if len(m.TryTime) > 0 {
  681. dAtA[i] = 0xda
  682. i++
  683. dAtA[i] = 0x1
  684. i++
  685. i = encodeVarintRoom(dAtA, i, uint64(len(m.TryTime)))
  686. i += copy(dAtA[i:], m.TryTime)
  687. }
  688. if m.LiveStatus != 0 {
  689. dAtA[i] = 0xe0
  690. i++
  691. dAtA[i] = 0x1
  692. i++
  693. i = encodeVarintRoom(dAtA, i, uint64(m.LiveStatus))
  694. }
  695. if m.BroadcastType != 0 {
  696. dAtA[i] = 0xe8
  697. i++
  698. dAtA[i] = 0x1
  699. i++
  700. i = encodeVarintRoom(dAtA, i, uint64(m.BroadcastType))
  701. }
  702. return i, nil
  703. }
  704. func encodeVarintRoom(dAtA []byte, offset int, v uint64) int {
  705. for v >= 1<<7 {
  706. dAtA[offset] = uint8(v&0x7f | 0x80)
  707. v >>= 7
  708. offset++
  709. }
  710. dAtA[offset] = uint8(v)
  711. return offset + 1
  712. }
  713. func (m *RoomGetByIdsReq) Size() (n int) {
  714. if m == nil {
  715. return 0
  716. }
  717. var l int
  718. _ = l
  719. if len(m.Ids) > 0 {
  720. l = 0
  721. for _, e := range m.Ids {
  722. l += sovRoom(uint64(e))
  723. }
  724. n += 1 + sovRoom(uint64(l)) + l
  725. }
  726. if m.NeedUinfo != 0 {
  727. n += 1 + sovRoom(uint64(m.NeedUinfo))
  728. }
  729. if m.NeedBroadcastType != 0 {
  730. n += 1 + sovRoom(uint64(m.NeedBroadcastType))
  731. }
  732. if len(m.Fields) > 0 {
  733. for _, s := range m.Fields {
  734. l = len(s)
  735. n += 1 + l + sovRoom(uint64(l))
  736. }
  737. }
  738. l = len(m.From)
  739. if l > 0 {
  740. n += 1 + l + sovRoom(uint64(l))
  741. }
  742. return n
  743. }
  744. func (m *RoomGetByIdsResp) Size() (n int) {
  745. if m == nil {
  746. return 0
  747. }
  748. var l int
  749. _ = l
  750. if m.Code != 0 {
  751. n += 1 + sovRoom(uint64(m.Code))
  752. }
  753. l = len(m.Msg)
  754. if l > 0 {
  755. n += 1 + l + sovRoom(uint64(l))
  756. }
  757. if len(m.Data) > 0 {
  758. for k, v := range m.Data {
  759. _ = k
  760. _ = v
  761. l = 0
  762. if v != nil {
  763. l = v.Size()
  764. l += 1 + sovRoom(uint64(l))
  765. }
  766. mapEntrySize := 1 + len(k) + sovRoom(uint64(len(k))) + l
  767. n += mapEntrySize + 1 + sovRoom(uint64(mapEntrySize))
  768. }
  769. }
  770. return n
  771. }
  772. func (m *RoomGetByIdsResp_RoomInfo) Size() (n int) {
  773. if m == nil {
  774. return 0
  775. }
  776. var l int
  777. _ = l
  778. if m.Roomid != 0 {
  779. n += 1 + sovRoom(uint64(m.Roomid))
  780. }
  781. l = len(m.Uname)
  782. if l > 0 {
  783. n += 1 + l + sovRoom(uint64(l))
  784. }
  785. l = len(m.Face)
  786. if l > 0 {
  787. n += 1 + l + sovRoom(uint64(l))
  788. }
  789. l = len(m.Verify)
  790. if l > 0 {
  791. n += 1 + l + sovRoom(uint64(l))
  792. }
  793. l = len(m.Cover)
  794. if l > 0 {
  795. n += 1 + l + sovRoom(uint64(l))
  796. }
  797. if m.Uid != 0 {
  798. n += 1 + sovRoom(uint64(m.Uid))
  799. }
  800. l = len(m.LiveTime)
  801. if l > 0 {
  802. n += 1 + l + sovRoom(uint64(l))
  803. }
  804. if m.RoundStatus != 0 {
  805. n += 1 + sovRoom(uint64(m.RoundStatus))
  806. }
  807. if m.OnFlag != 0 {
  808. n += 1 + sovRoom(uint64(m.OnFlag))
  809. }
  810. l = len(m.Title)
  811. if l > 0 {
  812. n += 1 + l + sovRoom(uint64(l))
  813. }
  814. l = len(m.Tags)
  815. if l > 0 {
  816. n += 1 + l + sovRoom(uint64(l))
  817. }
  818. l = len(m.LockStatus)
  819. if l > 0 {
  820. n += 1 + l + sovRoom(uint64(l))
  821. }
  822. l = len(m.HiddenStatus)
  823. if l > 0 {
  824. n += 1 + l + sovRoom(uint64(l))
  825. }
  826. l = len(m.UserCover)
  827. if l > 0 {
  828. n += 1 + l + sovRoom(uint64(l))
  829. }
  830. if m.ShortId != 0 {
  831. n += 1 + sovRoom(uint64(m.ShortId))
  832. }
  833. if m.Online != 0 {
  834. n += 2 + sovRoom(uint64(m.Online))
  835. }
  836. if m.Area != 0 {
  837. n += 2 + sovRoom(uint64(m.Area))
  838. }
  839. if m.AreaV2Id != 0 {
  840. n += 2 + sovRoom(uint64(m.AreaV2Id))
  841. }
  842. if m.AreaV2ParentId != 0 {
  843. n += 2 + sovRoom(uint64(m.AreaV2ParentId))
  844. }
  845. if m.AreaPkStatus != 0 {
  846. n += 2 + sovRoom(uint64(m.AreaPkStatus))
  847. }
  848. l = len(m.AreaV2Name)
  849. if l > 0 {
  850. n += 2 + l + sovRoom(uint64(l))
  851. }
  852. l = len(m.AreaV2ParentName)
  853. if l > 0 {
  854. n += 2 + l + sovRoom(uint64(l))
  855. }
  856. if m.Attentions != 0 {
  857. n += 2 + sovRoom(uint64(m.Attentions))
  858. }
  859. l = len(m.Background)
  860. if l > 0 {
  861. n += 2 + l + sovRoom(uint64(l))
  862. }
  863. if m.RoomSilent != 0 {
  864. n += 2 + sovRoom(uint64(m.RoomSilent))
  865. }
  866. if m.RoomShield != 0 {
  867. n += 2 + sovRoom(uint64(m.RoomShield))
  868. }
  869. l = len(m.TryTime)
  870. if l > 0 {
  871. n += 2 + l + sovRoom(uint64(l))
  872. }
  873. if m.LiveStatus != 0 {
  874. n += 2 + sovRoom(uint64(m.LiveStatus))
  875. }
  876. if m.BroadcastType != 0 {
  877. n += 2 + sovRoom(uint64(m.BroadcastType))
  878. }
  879. return n
  880. }
  881. func sovRoom(x uint64) (n int) {
  882. for {
  883. n++
  884. x >>= 7
  885. if x == 0 {
  886. break
  887. }
  888. }
  889. return n
  890. }
  891. func sozRoom(x uint64) (n int) {
  892. return sovRoom(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  893. }
  894. func (m *RoomGetByIdsReq) Unmarshal(dAtA []byte) error {
  895. l := len(dAtA)
  896. iNdEx := 0
  897. for iNdEx < l {
  898. preIndex := iNdEx
  899. var wire uint64
  900. for shift := uint(0); ; shift += 7 {
  901. if shift >= 64 {
  902. return ErrIntOverflowRoom
  903. }
  904. if iNdEx >= l {
  905. return io.ErrUnexpectedEOF
  906. }
  907. b := dAtA[iNdEx]
  908. iNdEx++
  909. wire |= (uint64(b) & 0x7F) << shift
  910. if b < 0x80 {
  911. break
  912. }
  913. }
  914. fieldNum := int32(wire >> 3)
  915. wireType := int(wire & 0x7)
  916. if wireType == 4 {
  917. return fmt.Errorf("proto: RoomGetByIdsReq: wiretype end group for non-group")
  918. }
  919. if fieldNum <= 0 {
  920. return fmt.Errorf("proto: RoomGetByIdsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  921. }
  922. switch fieldNum {
  923. case 1:
  924. if wireType == 0 {
  925. var v int64
  926. for shift := uint(0); ; shift += 7 {
  927. if shift >= 64 {
  928. return ErrIntOverflowRoom
  929. }
  930. if iNdEx >= l {
  931. return io.ErrUnexpectedEOF
  932. }
  933. b := dAtA[iNdEx]
  934. iNdEx++
  935. v |= (int64(b) & 0x7F) << shift
  936. if b < 0x80 {
  937. break
  938. }
  939. }
  940. m.Ids = append(m.Ids, v)
  941. } else if wireType == 2 {
  942. var packedLen int
  943. for shift := uint(0); ; shift += 7 {
  944. if shift >= 64 {
  945. return ErrIntOverflowRoom
  946. }
  947. if iNdEx >= l {
  948. return io.ErrUnexpectedEOF
  949. }
  950. b := dAtA[iNdEx]
  951. iNdEx++
  952. packedLen |= (int(b) & 0x7F) << shift
  953. if b < 0x80 {
  954. break
  955. }
  956. }
  957. if packedLen < 0 {
  958. return ErrInvalidLengthRoom
  959. }
  960. postIndex := iNdEx + packedLen
  961. if postIndex > l {
  962. return io.ErrUnexpectedEOF
  963. }
  964. var elementCount int
  965. var count int
  966. for _, integer := range dAtA {
  967. if integer < 128 {
  968. count++
  969. }
  970. }
  971. elementCount = count
  972. if elementCount != 0 && len(m.Ids) == 0 {
  973. m.Ids = make([]int64, 0, elementCount)
  974. }
  975. for iNdEx < postIndex {
  976. var v int64
  977. for shift := uint(0); ; shift += 7 {
  978. if shift >= 64 {
  979. return ErrIntOverflowRoom
  980. }
  981. if iNdEx >= l {
  982. return io.ErrUnexpectedEOF
  983. }
  984. b := dAtA[iNdEx]
  985. iNdEx++
  986. v |= (int64(b) & 0x7F) << shift
  987. if b < 0x80 {
  988. break
  989. }
  990. }
  991. m.Ids = append(m.Ids, v)
  992. }
  993. } else {
  994. return fmt.Errorf("proto: wrong wireType = %d for field Ids", wireType)
  995. }
  996. case 2:
  997. if wireType != 0 {
  998. return fmt.Errorf("proto: wrong wireType = %d for field NeedUinfo", wireType)
  999. }
  1000. m.NeedUinfo = 0
  1001. for shift := uint(0); ; shift += 7 {
  1002. if shift >= 64 {
  1003. return ErrIntOverflowRoom
  1004. }
  1005. if iNdEx >= l {
  1006. return io.ErrUnexpectedEOF
  1007. }
  1008. b := dAtA[iNdEx]
  1009. iNdEx++
  1010. m.NeedUinfo |= (int64(b) & 0x7F) << shift
  1011. if b < 0x80 {
  1012. break
  1013. }
  1014. }
  1015. case 3:
  1016. if wireType != 0 {
  1017. return fmt.Errorf("proto: wrong wireType = %d for field NeedBroadcastType", wireType)
  1018. }
  1019. m.NeedBroadcastType = 0
  1020. for shift := uint(0); ; shift += 7 {
  1021. if shift >= 64 {
  1022. return ErrIntOverflowRoom
  1023. }
  1024. if iNdEx >= l {
  1025. return io.ErrUnexpectedEOF
  1026. }
  1027. b := dAtA[iNdEx]
  1028. iNdEx++
  1029. m.NeedBroadcastType |= (int64(b) & 0x7F) << shift
  1030. if b < 0x80 {
  1031. break
  1032. }
  1033. }
  1034. case 4:
  1035. if wireType != 2 {
  1036. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  1037. }
  1038. var stringLen uint64
  1039. for shift := uint(0); ; shift += 7 {
  1040. if shift >= 64 {
  1041. return ErrIntOverflowRoom
  1042. }
  1043. if iNdEx >= l {
  1044. return io.ErrUnexpectedEOF
  1045. }
  1046. b := dAtA[iNdEx]
  1047. iNdEx++
  1048. stringLen |= (uint64(b) & 0x7F) << shift
  1049. if b < 0x80 {
  1050. break
  1051. }
  1052. }
  1053. intStringLen := int(stringLen)
  1054. if intStringLen < 0 {
  1055. return ErrInvalidLengthRoom
  1056. }
  1057. postIndex := iNdEx + intStringLen
  1058. if postIndex > l {
  1059. return io.ErrUnexpectedEOF
  1060. }
  1061. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  1062. iNdEx = postIndex
  1063. case 5:
  1064. if wireType != 2 {
  1065. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  1066. }
  1067. var stringLen uint64
  1068. for shift := uint(0); ; shift += 7 {
  1069. if shift >= 64 {
  1070. return ErrIntOverflowRoom
  1071. }
  1072. if iNdEx >= l {
  1073. return io.ErrUnexpectedEOF
  1074. }
  1075. b := dAtA[iNdEx]
  1076. iNdEx++
  1077. stringLen |= (uint64(b) & 0x7F) << shift
  1078. if b < 0x80 {
  1079. break
  1080. }
  1081. }
  1082. intStringLen := int(stringLen)
  1083. if intStringLen < 0 {
  1084. return ErrInvalidLengthRoom
  1085. }
  1086. postIndex := iNdEx + intStringLen
  1087. if postIndex > l {
  1088. return io.ErrUnexpectedEOF
  1089. }
  1090. m.From = string(dAtA[iNdEx:postIndex])
  1091. iNdEx = postIndex
  1092. default:
  1093. iNdEx = preIndex
  1094. skippy, err := skipRoom(dAtA[iNdEx:])
  1095. if err != nil {
  1096. return err
  1097. }
  1098. if skippy < 0 {
  1099. return ErrInvalidLengthRoom
  1100. }
  1101. if (iNdEx + skippy) > l {
  1102. return io.ErrUnexpectedEOF
  1103. }
  1104. iNdEx += skippy
  1105. }
  1106. }
  1107. if iNdEx > l {
  1108. return io.ErrUnexpectedEOF
  1109. }
  1110. return nil
  1111. }
  1112. func (m *RoomGetByIdsResp) Unmarshal(dAtA []byte) error {
  1113. l := len(dAtA)
  1114. iNdEx := 0
  1115. for iNdEx < l {
  1116. preIndex := iNdEx
  1117. var wire uint64
  1118. for shift := uint(0); ; shift += 7 {
  1119. if shift >= 64 {
  1120. return ErrIntOverflowRoom
  1121. }
  1122. if iNdEx >= l {
  1123. return io.ErrUnexpectedEOF
  1124. }
  1125. b := dAtA[iNdEx]
  1126. iNdEx++
  1127. wire |= (uint64(b) & 0x7F) << shift
  1128. if b < 0x80 {
  1129. break
  1130. }
  1131. }
  1132. fieldNum := int32(wire >> 3)
  1133. wireType := int(wire & 0x7)
  1134. if wireType == 4 {
  1135. return fmt.Errorf("proto: RoomGetByIdsResp: wiretype end group for non-group")
  1136. }
  1137. if fieldNum <= 0 {
  1138. return fmt.Errorf("proto: RoomGetByIdsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1139. }
  1140. switch fieldNum {
  1141. case 1:
  1142. if wireType != 0 {
  1143. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1144. }
  1145. m.Code = 0
  1146. for shift := uint(0); ; shift += 7 {
  1147. if shift >= 64 {
  1148. return ErrIntOverflowRoom
  1149. }
  1150. if iNdEx >= l {
  1151. return io.ErrUnexpectedEOF
  1152. }
  1153. b := dAtA[iNdEx]
  1154. iNdEx++
  1155. m.Code |= (int64(b) & 0x7F) << shift
  1156. if b < 0x80 {
  1157. break
  1158. }
  1159. }
  1160. case 2:
  1161. if wireType != 2 {
  1162. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1163. }
  1164. var stringLen uint64
  1165. for shift := uint(0); ; shift += 7 {
  1166. if shift >= 64 {
  1167. return ErrIntOverflowRoom
  1168. }
  1169. if iNdEx >= l {
  1170. return io.ErrUnexpectedEOF
  1171. }
  1172. b := dAtA[iNdEx]
  1173. iNdEx++
  1174. stringLen |= (uint64(b) & 0x7F) << shift
  1175. if b < 0x80 {
  1176. break
  1177. }
  1178. }
  1179. intStringLen := int(stringLen)
  1180. if intStringLen < 0 {
  1181. return ErrInvalidLengthRoom
  1182. }
  1183. postIndex := iNdEx + intStringLen
  1184. if postIndex > l {
  1185. return io.ErrUnexpectedEOF
  1186. }
  1187. m.Msg = string(dAtA[iNdEx:postIndex])
  1188. iNdEx = postIndex
  1189. case 3:
  1190. if wireType != 2 {
  1191. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1192. }
  1193. var msglen int
  1194. for shift := uint(0); ; shift += 7 {
  1195. if shift >= 64 {
  1196. return ErrIntOverflowRoom
  1197. }
  1198. if iNdEx >= l {
  1199. return io.ErrUnexpectedEOF
  1200. }
  1201. b := dAtA[iNdEx]
  1202. iNdEx++
  1203. msglen |= (int(b) & 0x7F) << shift
  1204. if b < 0x80 {
  1205. break
  1206. }
  1207. }
  1208. if msglen < 0 {
  1209. return ErrInvalidLengthRoom
  1210. }
  1211. postIndex := iNdEx + msglen
  1212. if postIndex > l {
  1213. return io.ErrUnexpectedEOF
  1214. }
  1215. if m.Data == nil {
  1216. m.Data = make(map[string]*RoomGetByIdsResp_RoomInfo)
  1217. }
  1218. var mapkey string
  1219. var mapvalue *RoomGetByIdsResp_RoomInfo
  1220. for iNdEx < postIndex {
  1221. entryPreIndex := iNdEx
  1222. var wire uint64
  1223. for shift := uint(0); ; shift += 7 {
  1224. if shift >= 64 {
  1225. return ErrIntOverflowRoom
  1226. }
  1227. if iNdEx >= l {
  1228. return io.ErrUnexpectedEOF
  1229. }
  1230. b := dAtA[iNdEx]
  1231. iNdEx++
  1232. wire |= (uint64(b) & 0x7F) << shift
  1233. if b < 0x80 {
  1234. break
  1235. }
  1236. }
  1237. fieldNum := int32(wire >> 3)
  1238. if fieldNum == 1 {
  1239. var stringLenmapkey uint64
  1240. for shift := uint(0); ; shift += 7 {
  1241. if shift >= 64 {
  1242. return ErrIntOverflowRoom
  1243. }
  1244. if iNdEx >= l {
  1245. return io.ErrUnexpectedEOF
  1246. }
  1247. b := dAtA[iNdEx]
  1248. iNdEx++
  1249. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  1250. if b < 0x80 {
  1251. break
  1252. }
  1253. }
  1254. intStringLenmapkey := int(stringLenmapkey)
  1255. if intStringLenmapkey < 0 {
  1256. return ErrInvalidLengthRoom
  1257. }
  1258. postStringIndexmapkey := iNdEx + intStringLenmapkey
  1259. if postStringIndexmapkey > l {
  1260. return io.ErrUnexpectedEOF
  1261. }
  1262. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  1263. iNdEx = postStringIndexmapkey
  1264. } else if fieldNum == 2 {
  1265. var mapmsglen int
  1266. for shift := uint(0); ; shift += 7 {
  1267. if shift >= 64 {
  1268. return ErrIntOverflowRoom
  1269. }
  1270. if iNdEx >= l {
  1271. return io.ErrUnexpectedEOF
  1272. }
  1273. b := dAtA[iNdEx]
  1274. iNdEx++
  1275. mapmsglen |= (int(b) & 0x7F) << shift
  1276. if b < 0x80 {
  1277. break
  1278. }
  1279. }
  1280. if mapmsglen < 0 {
  1281. return ErrInvalidLengthRoom
  1282. }
  1283. postmsgIndex := iNdEx + mapmsglen
  1284. if mapmsglen < 0 {
  1285. return ErrInvalidLengthRoom
  1286. }
  1287. if postmsgIndex > l {
  1288. return io.ErrUnexpectedEOF
  1289. }
  1290. mapvalue = &RoomGetByIdsResp_RoomInfo{}
  1291. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  1292. return err
  1293. }
  1294. iNdEx = postmsgIndex
  1295. } else {
  1296. iNdEx = entryPreIndex
  1297. skippy, err := skipRoom(dAtA[iNdEx:])
  1298. if err != nil {
  1299. return err
  1300. }
  1301. if skippy < 0 {
  1302. return ErrInvalidLengthRoom
  1303. }
  1304. if (iNdEx + skippy) > postIndex {
  1305. return io.ErrUnexpectedEOF
  1306. }
  1307. iNdEx += skippy
  1308. }
  1309. }
  1310. m.Data[mapkey] = mapvalue
  1311. iNdEx = postIndex
  1312. default:
  1313. iNdEx = preIndex
  1314. skippy, err := skipRoom(dAtA[iNdEx:])
  1315. if err != nil {
  1316. return err
  1317. }
  1318. if skippy < 0 {
  1319. return ErrInvalidLengthRoom
  1320. }
  1321. if (iNdEx + skippy) > l {
  1322. return io.ErrUnexpectedEOF
  1323. }
  1324. iNdEx += skippy
  1325. }
  1326. }
  1327. if iNdEx > l {
  1328. return io.ErrUnexpectedEOF
  1329. }
  1330. return nil
  1331. }
  1332. func (m *RoomGetByIdsResp_RoomInfo) Unmarshal(dAtA []byte) error {
  1333. l := len(dAtA)
  1334. iNdEx := 0
  1335. for iNdEx < l {
  1336. preIndex := iNdEx
  1337. var wire uint64
  1338. for shift := uint(0); ; shift += 7 {
  1339. if shift >= 64 {
  1340. return ErrIntOverflowRoom
  1341. }
  1342. if iNdEx >= l {
  1343. return io.ErrUnexpectedEOF
  1344. }
  1345. b := dAtA[iNdEx]
  1346. iNdEx++
  1347. wire |= (uint64(b) & 0x7F) << shift
  1348. if b < 0x80 {
  1349. break
  1350. }
  1351. }
  1352. fieldNum := int32(wire >> 3)
  1353. wireType := int(wire & 0x7)
  1354. if wireType == 4 {
  1355. return fmt.Errorf("proto: RoomInfo: wiretype end group for non-group")
  1356. }
  1357. if fieldNum <= 0 {
  1358. return fmt.Errorf("proto: RoomInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  1359. }
  1360. switch fieldNum {
  1361. case 1:
  1362. if wireType != 0 {
  1363. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  1364. }
  1365. m.Roomid = 0
  1366. for shift := uint(0); ; shift += 7 {
  1367. if shift >= 64 {
  1368. return ErrIntOverflowRoom
  1369. }
  1370. if iNdEx >= l {
  1371. return io.ErrUnexpectedEOF
  1372. }
  1373. b := dAtA[iNdEx]
  1374. iNdEx++
  1375. m.Roomid |= (int64(b) & 0x7F) << shift
  1376. if b < 0x80 {
  1377. break
  1378. }
  1379. }
  1380. case 2:
  1381. if wireType != 2 {
  1382. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  1383. }
  1384. var stringLen uint64
  1385. for shift := uint(0); ; shift += 7 {
  1386. if shift >= 64 {
  1387. return ErrIntOverflowRoom
  1388. }
  1389. if iNdEx >= l {
  1390. return io.ErrUnexpectedEOF
  1391. }
  1392. b := dAtA[iNdEx]
  1393. iNdEx++
  1394. stringLen |= (uint64(b) & 0x7F) << shift
  1395. if b < 0x80 {
  1396. break
  1397. }
  1398. }
  1399. intStringLen := int(stringLen)
  1400. if intStringLen < 0 {
  1401. return ErrInvalidLengthRoom
  1402. }
  1403. postIndex := iNdEx + intStringLen
  1404. if postIndex > l {
  1405. return io.ErrUnexpectedEOF
  1406. }
  1407. m.Uname = string(dAtA[iNdEx:postIndex])
  1408. iNdEx = postIndex
  1409. case 3:
  1410. if wireType != 2 {
  1411. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  1412. }
  1413. var stringLen uint64
  1414. for shift := uint(0); ; shift += 7 {
  1415. if shift >= 64 {
  1416. return ErrIntOverflowRoom
  1417. }
  1418. if iNdEx >= l {
  1419. return io.ErrUnexpectedEOF
  1420. }
  1421. b := dAtA[iNdEx]
  1422. iNdEx++
  1423. stringLen |= (uint64(b) & 0x7F) << shift
  1424. if b < 0x80 {
  1425. break
  1426. }
  1427. }
  1428. intStringLen := int(stringLen)
  1429. if intStringLen < 0 {
  1430. return ErrInvalidLengthRoom
  1431. }
  1432. postIndex := iNdEx + intStringLen
  1433. if postIndex > l {
  1434. return io.ErrUnexpectedEOF
  1435. }
  1436. m.Face = string(dAtA[iNdEx:postIndex])
  1437. iNdEx = postIndex
  1438. case 4:
  1439. if wireType != 2 {
  1440. return fmt.Errorf("proto: wrong wireType = %d for field Verify", wireType)
  1441. }
  1442. var stringLen uint64
  1443. for shift := uint(0); ; shift += 7 {
  1444. if shift >= 64 {
  1445. return ErrIntOverflowRoom
  1446. }
  1447. if iNdEx >= l {
  1448. return io.ErrUnexpectedEOF
  1449. }
  1450. b := dAtA[iNdEx]
  1451. iNdEx++
  1452. stringLen |= (uint64(b) & 0x7F) << shift
  1453. if b < 0x80 {
  1454. break
  1455. }
  1456. }
  1457. intStringLen := int(stringLen)
  1458. if intStringLen < 0 {
  1459. return ErrInvalidLengthRoom
  1460. }
  1461. postIndex := iNdEx + intStringLen
  1462. if postIndex > l {
  1463. return io.ErrUnexpectedEOF
  1464. }
  1465. m.Verify = string(dAtA[iNdEx:postIndex])
  1466. iNdEx = postIndex
  1467. case 5:
  1468. if wireType != 2 {
  1469. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  1470. }
  1471. var stringLen uint64
  1472. for shift := uint(0); ; shift += 7 {
  1473. if shift >= 64 {
  1474. return ErrIntOverflowRoom
  1475. }
  1476. if iNdEx >= l {
  1477. return io.ErrUnexpectedEOF
  1478. }
  1479. b := dAtA[iNdEx]
  1480. iNdEx++
  1481. stringLen |= (uint64(b) & 0x7F) << shift
  1482. if b < 0x80 {
  1483. break
  1484. }
  1485. }
  1486. intStringLen := int(stringLen)
  1487. if intStringLen < 0 {
  1488. return ErrInvalidLengthRoom
  1489. }
  1490. postIndex := iNdEx + intStringLen
  1491. if postIndex > l {
  1492. return io.ErrUnexpectedEOF
  1493. }
  1494. m.Cover = string(dAtA[iNdEx:postIndex])
  1495. iNdEx = postIndex
  1496. case 6:
  1497. if wireType != 0 {
  1498. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1499. }
  1500. m.Uid = 0
  1501. for shift := uint(0); ; shift += 7 {
  1502. if shift >= 64 {
  1503. return ErrIntOverflowRoom
  1504. }
  1505. if iNdEx >= l {
  1506. return io.ErrUnexpectedEOF
  1507. }
  1508. b := dAtA[iNdEx]
  1509. iNdEx++
  1510. m.Uid |= (int64(b) & 0x7F) << shift
  1511. if b < 0x80 {
  1512. break
  1513. }
  1514. }
  1515. case 7:
  1516. if wireType != 2 {
  1517. return fmt.Errorf("proto: wrong wireType = %d for field LiveTime", wireType)
  1518. }
  1519. var stringLen uint64
  1520. for shift := uint(0); ; shift += 7 {
  1521. if shift >= 64 {
  1522. return ErrIntOverflowRoom
  1523. }
  1524. if iNdEx >= l {
  1525. return io.ErrUnexpectedEOF
  1526. }
  1527. b := dAtA[iNdEx]
  1528. iNdEx++
  1529. stringLen |= (uint64(b) & 0x7F) << shift
  1530. if b < 0x80 {
  1531. break
  1532. }
  1533. }
  1534. intStringLen := int(stringLen)
  1535. if intStringLen < 0 {
  1536. return ErrInvalidLengthRoom
  1537. }
  1538. postIndex := iNdEx + intStringLen
  1539. if postIndex > l {
  1540. return io.ErrUnexpectedEOF
  1541. }
  1542. m.LiveTime = string(dAtA[iNdEx:postIndex])
  1543. iNdEx = postIndex
  1544. case 8:
  1545. if wireType != 0 {
  1546. return fmt.Errorf("proto: wrong wireType = %d for field RoundStatus", wireType)
  1547. }
  1548. m.RoundStatus = 0
  1549. for shift := uint(0); ; shift += 7 {
  1550. if shift >= 64 {
  1551. return ErrIntOverflowRoom
  1552. }
  1553. if iNdEx >= l {
  1554. return io.ErrUnexpectedEOF
  1555. }
  1556. b := dAtA[iNdEx]
  1557. iNdEx++
  1558. m.RoundStatus |= (int64(b) & 0x7F) << shift
  1559. if b < 0x80 {
  1560. break
  1561. }
  1562. }
  1563. case 9:
  1564. if wireType != 0 {
  1565. return fmt.Errorf("proto: wrong wireType = %d for field OnFlag", wireType)
  1566. }
  1567. m.OnFlag = 0
  1568. for shift := uint(0); ; shift += 7 {
  1569. if shift >= 64 {
  1570. return ErrIntOverflowRoom
  1571. }
  1572. if iNdEx >= l {
  1573. return io.ErrUnexpectedEOF
  1574. }
  1575. b := dAtA[iNdEx]
  1576. iNdEx++
  1577. m.OnFlag |= (int64(b) & 0x7F) << shift
  1578. if b < 0x80 {
  1579. break
  1580. }
  1581. }
  1582. case 10:
  1583. if wireType != 2 {
  1584. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  1585. }
  1586. var stringLen uint64
  1587. for shift := uint(0); ; shift += 7 {
  1588. if shift >= 64 {
  1589. return ErrIntOverflowRoom
  1590. }
  1591. if iNdEx >= l {
  1592. return io.ErrUnexpectedEOF
  1593. }
  1594. b := dAtA[iNdEx]
  1595. iNdEx++
  1596. stringLen |= (uint64(b) & 0x7F) << shift
  1597. if b < 0x80 {
  1598. break
  1599. }
  1600. }
  1601. intStringLen := int(stringLen)
  1602. if intStringLen < 0 {
  1603. return ErrInvalidLengthRoom
  1604. }
  1605. postIndex := iNdEx + intStringLen
  1606. if postIndex > l {
  1607. return io.ErrUnexpectedEOF
  1608. }
  1609. m.Title = string(dAtA[iNdEx:postIndex])
  1610. iNdEx = postIndex
  1611. case 11:
  1612. if wireType != 2 {
  1613. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  1614. }
  1615. var stringLen uint64
  1616. for shift := uint(0); ; shift += 7 {
  1617. if shift >= 64 {
  1618. return ErrIntOverflowRoom
  1619. }
  1620. if iNdEx >= l {
  1621. return io.ErrUnexpectedEOF
  1622. }
  1623. b := dAtA[iNdEx]
  1624. iNdEx++
  1625. stringLen |= (uint64(b) & 0x7F) << shift
  1626. if b < 0x80 {
  1627. break
  1628. }
  1629. }
  1630. intStringLen := int(stringLen)
  1631. if intStringLen < 0 {
  1632. return ErrInvalidLengthRoom
  1633. }
  1634. postIndex := iNdEx + intStringLen
  1635. if postIndex > l {
  1636. return io.ErrUnexpectedEOF
  1637. }
  1638. m.Tags = string(dAtA[iNdEx:postIndex])
  1639. iNdEx = postIndex
  1640. case 12:
  1641. if wireType != 2 {
  1642. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  1643. }
  1644. var stringLen uint64
  1645. for shift := uint(0); ; shift += 7 {
  1646. if shift >= 64 {
  1647. return ErrIntOverflowRoom
  1648. }
  1649. if iNdEx >= l {
  1650. return io.ErrUnexpectedEOF
  1651. }
  1652. b := dAtA[iNdEx]
  1653. iNdEx++
  1654. stringLen |= (uint64(b) & 0x7F) << shift
  1655. if b < 0x80 {
  1656. break
  1657. }
  1658. }
  1659. intStringLen := int(stringLen)
  1660. if intStringLen < 0 {
  1661. return ErrInvalidLengthRoom
  1662. }
  1663. postIndex := iNdEx + intStringLen
  1664. if postIndex > l {
  1665. return io.ErrUnexpectedEOF
  1666. }
  1667. m.LockStatus = string(dAtA[iNdEx:postIndex])
  1668. iNdEx = postIndex
  1669. case 13:
  1670. if wireType != 2 {
  1671. return fmt.Errorf("proto: wrong wireType = %d for field HiddenStatus", wireType)
  1672. }
  1673. var stringLen uint64
  1674. for shift := uint(0); ; shift += 7 {
  1675. if shift >= 64 {
  1676. return ErrIntOverflowRoom
  1677. }
  1678. if iNdEx >= l {
  1679. return io.ErrUnexpectedEOF
  1680. }
  1681. b := dAtA[iNdEx]
  1682. iNdEx++
  1683. stringLen |= (uint64(b) & 0x7F) << shift
  1684. if b < 0x80 {
  1685. break
  1686. }
  1687. }
  1688. intStringLen := int(stringLen)
  1689. if intStringLen < 0 {
  1690. return ErrInvalidLengthRoom
  1691. }
  1692. postIndex := iNdEx + intStringLen
  1693. if postIndex > l {
  1694. return io.ErrUnexpectedEOF
  1695. }
  1696. m.HiddenStatus = string(dAtA[iNdEx:postIndex])
  1697. iNdEx = postIndex
  1698. case 14:
  1699. if wireType != 2 {
  1700. return fmt.Errorf("proto: wrong wireType = %d for field UserCover", wireType)
  1701. }
  1702. var stringLen uint64
  1703. for shift := uint(0); ; shift += 7 {
  1704. if shift >= 64 {
  1705. return ErrIntOverflowRoom
  1706. }
  1707. if iNdEx >= l {
  1708. return io.ErrUnexpectedEOF
  1709. }
  1710. b := dAtA[iNdEx]
  1711. iNdEx++
  1712. stringLen |= (uint64(b) & 0x7F) << shift
  1713. if b < 0x80 {
  1714. break
  1715. }
  1716. }
  1717. intStringLen := int(stringLen)
  1718. if intStringLen < 0 {
  1719. return ErrInvalidLengthRoom
  1720. }
  1721. postIndex := iNdEx + intStringLen
  1722. if postIndex > l {
  1723. return io.ErrUnexpectedEOF
  1724. }
  1725. m.UserCover = string(dAtA[iNdEx:postIndex])
  1726. iNdEx = postIndex
  1727. case 15:
  1728. if wireType != 0 {
  1729. return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
  1730. }
  1731. m.ShortId = 0
  1732. for shift := uint(0); ; shift += 7 {
  1733. if shift >= 64 {
  1734. return ErrIntOverflowRoom
  1735. }
  1736. if iNdEx >= l {
  1737. return io.ErrUnexpectedEOF
  1738. }
  1739. b := dAtA[iNdEx]
  1740. iNdEx++
  1741. m.ShortId |= (int64(b) & 0x7F) << shift
  1742. if b < 0x80 {
  1743. break
  1744. }
  1745. }
  1746. case 16:
  1747. if wireType != 0 {
  1748. return fmt.Errorf("proto: wrong wireType = %d for field Online", wireType)
  1749. }
  1750. m.Online = 0
  1751. for shift := uint(0); ; shift += 7 {
  1752. if shift >= 64 {
  1753. return ErrIntOverflowRoom
  1754. }
  1755. if iNdEx >= l {
  1756. return io.ErrUnexpectedEOF
  1757. }
  1758. b := dAtA[iNdEx]
  1759. iNdEx++
  1760. m.Online |= (int64(b) & 0x7F) << shift
  1761. if b < 0x80 {
  1762. break
  1763. }
  1764. }
  1765. case 17:
  1766. if wireType != 0 {
  1767. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  1768. }
  1769. m.Area = 0
  1770. for shift := uint(0); ; shift += 7 {
  1771. if shift >= 64 {
  1772. return ErrIntOverflowRoom
  1773. }
  1774. if iNdEx >= l {
  1775. return io.ErrUnexpectedEOF
  1776. }
  1777. b := dAtA[iNdEx]
  1778. iNdEx++
  1779. m.Area |= (int64(b) & 0x7F) << shift
  1780. if b < 0x80 {
  1781. break
  1782. }
  1783. }
  1784. case 18:
  1785. if wireType != 0 {
  1786. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
  1787. }
  1788. m.AreaV2Id = 0
  1789. for shift := uint(0); ; shift += 7 {
  1790. if shift >= 64 {
  1791. return ErrIntOverflowRoom
  1792. }
  1793. if iNdEx >= l {
  1794. return io.ErrUnexpectedEOF
  1795. }
  1796. b := dAtA[iNdEx]
  1797. iNdEx++
  1798. m.AreaV2Id |= (int64(b) & 0x7F) << shift
  1799. if b < 0x80 {
  1800. break
  1801. }
  1802. }
  1803. case 19:
  1804. if wireType != 0 {
  1805. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
  1806. }
  1807. m.AreaV2ParentId = 0
  1808. for shift := uint(0); ; shift += 7 {
  1809. if shift >= 64 {
  1810. return ErrIntOverflowRoom
  1811. }
  1812. if iNdEx >= l {
  1813. return io.ErrUnexpectedEOF
  1814. }
  1815. b := dAtA[iNdEx]
  1816. iNdEx++
  1817. m.AreaV2ParentId |= (int64(b) & 0x7F) << shift
  1818. if b < 0x80 {
  1819. break
  1820. }
  1821. }
  1822. case 20:
  1823. if wireType != 0 {
  1824. return fmt.Errorf("proto: wrong wireType = %d for field AreaPkStatus", wireType)
  1825. }
  1826. m.AreaPkStatus = 0
  1827. for shift := uint(0); ; shift += 7 {
  1828. if shift >= 64 {
  1829. return ErrIntOverflowRoom
  1830. }
  1831. if iNdEx >= l {
  1832. return io.ErrUnexpectedEOF
  1833. }
  1834. b := dAtA[iNdEx]
  1835. iNdEx++
  1836. m.AreaPkStatus |= (int64(b) & 0x7F) << shift
  1837. if b < 0x80 {
  1838. break
  1839. }
  1840. }
  1841. case 21:
  1842. if wireType != 2 {
  1843. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
  1844. }
  1845. var stringLen uint64
  1846. for shift := uint(0); ; shift += 7 {
  1847. if shift >= 64 {
  1848. return ErrIntOverflowRoom
  1849. }
  1850. if iNdEx >= l {
  1851. return io.ErrUnexpectedEOF
  1852. }
  1853. b := dAtA[iNdEx]
  1854. iNdEx++
  1855. stringLen |= (uint64(b) & 0x7F) << shift
  1856. if b < 0x80 {
  1857. break
  1858. }
  1859. }
  1860. intStringLen := int(stringLen)
  1861. if intStringLen < 0 {
  1862. return ErrInvalidLengthRoom
  1863. }
  1864. postIndex := iNdEx + intStringLen
  1865. if postIndex > l {
  1866. return io.ErrUnexpectedEOF
  1867. }
  1868. m.AreaV2Name = string(dAtA[iNdEx:postIndex])
  1869. iNdEx = postIndex
  1870. case 22:
  1871. if wireType != 2 {
  1872. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentName", wireType)
  1873. }
  1874. var stringLen uint64
  1875. for shift := uint(0); ; shift += 7 {
  1876. if shift >= 64 {
  1877. return ErrIntOverflowRoom
  1878. }
  1879. if iNdEx >= l {
  1880. return io.ErrUnexpectedEOF
  1881. }
  1882. b := dAtA[iNdEx]
  1883. iNdEx++
  1884. stringLen |= (uint64(b) & 0x7F) << shift
  1885. if b < 0x80 {
  1886. break
  1887. }
  1888. }
  1889. intStringLen := int(stringLen)
  1890. if intStringLen < 0 {
  1891. return ErrInvalidLengthRoom
  1892. }
  1893. postIndex := iNdEx + intStringLen
  1894. if postIndex > l {
  1895. return io.ErrUnexpectedEOF
  1896. }
  1897. m.AreaV2ParentName = string(dAtA[iNdEx:postIndex])
  1898. iNdEx = postIndex
  1899. case 23:
  1900. if wireType != 0 {
  1901. return fmt.Errorf("proto: wrong wireType = %d for field Attentions", wireType)
  1902. }
  1903. m.Attentions = 0
  1904. for shift := uint(0); ; shift += 7 {
  1905. if shift >= 64 {
  1906. return ErrIntOverflowRoom
  1907. }
  1908. if iNdEx >= l {
  1909. return io.ErrUnexpectedEOF
  1910. }
  1911. b := dAtA[iNdEx]
  1912. iNdEx++
  1913. m.Attentions |= (int64(b) & 0x7F) << shift
  1914. if b < 0x80 {
  1915. break
  1916. }
  1917. }
  1918. case 24:
  1919. if wireType != 2 {
  1920. return fmt.Errorf("proto: wrong wireType = %d for field Background", wireType)
  1921. }
  1922. var stringLen uint64
  1923. for shift := uint(0); ; shift += 7 {
  1924. if shift >= 64 {
  1925. return ErrIntOverflowRoom
  1926. }
  1927. if iNdEx >= l {
  1928. return io.ErrUnexpectedEOF
  1929. }
  1930. b := dAtA[iNdEx]
  1931. iNdEx++
  1932. stringLen |= (uint64(b) & 0x7F) << shift
  1933. if b < 0x80 {
  1934. break
  1935. }
  1936. }
  1937. intStringLen := int(stringLen)
  1938. if intStringLen < 0 {
  1939. return ErrInvalidLengthRoom
  1940. }
  1941. postIndex := iNdEx + intStringLen
  1942. if postIndex > l {
  1943. return io.ErrUnexpectedEOF
  1944. }
  1945. m.Background = string(dAtA[iNdEx:postIndex])
  1946. iNdEx = postIndex
  1947. case 25:
  1948. if wireType != 0 {
  1949. return fmt.Errorf("proto: wrong wireType = %d for field RoomSilent", wireType)
  1950. }
  1951. m.RoomSilent = 0
  1952. for shift := uint(0); ; shift += 7 {
  1953. if shift >= 64 {
  1954. return ErrIntOverflowRoom
  1955. }
  1956. if iNdEx >= l {
  1957. return io.ErrUnexpectedEOF
  1958. }
  1959. b := dAtA[iNdEx]
  1960. iNdEx++
  1961. m.RoomSilent |= (int64(b) & 0x7F) << shift
  1962. if b < 0x80 {
  1963. break
  1964. }
  1965. }
  1966. case 26:
  1967. if wireType != 0 {
  1968. return fmt.Errorf("proto: wrong wireType = %d for field RoomShield", wireType)
  1969. }
  1970. m.RoomShield = 0
  1971. for shift := uint(0); ; shift += 7 {
  1972. if shift >= 64 {
  1973. return ErrIntOverflowRoom
  1974. }
  1975. if iNdEx >= l {
  1976. return io.ErrUnexpectedEOF
  1977. }
  1978. b := dAtA[iNdEx]
  1979. iNdEx++
  1980. m.RoomShield |= (int64(b) & 0x7F) << shift
  1981. if b < 0x80 {
  1982. break
  1983. }
  1984. }
  1985. case 27:
  1986. if wireType != 2 {
  1987. return fmt.Errorf("proto: wrong wireType = %d for field TryTime", wireType)
  1988. }
  1989. var stringLen uint64
  1990. for shift := uint(0); ; shift += 7 {
  1991. if shift >= 64 {
  1992. return ErrIntOverflowRoom
  1993. }
  1994. if iNdEx >= l {
  1995. return io.ErrUnexpectedEOF
  1996. }
  1997. b := dAtA[iNdEx]
  1998. iNdEx++
  1999. stringLen |= (uint64(b) & 0x7F) << shift
  2000. if b < 0x80 {
  2001. break
  2002. }
  2003. }
  2004. intStringLen := int(stringLen)
  2005. if intStringLen < 0 {
  2006. return ErrInvalidLengthRoom
  2007. }
  2008. postIndex := iNdEx + intStringLen
  2009. if postIndex > l {
  2010. return io.ErrUnexpectedEOF
  2011. }
  2012. m.TryTime = string(dAtA[iNdEx:postIndex])
  2013. iNdEx = postIndex
  2014. case 28:
  2015. if wireType != 0 {
  2016. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  2017. }
  2018. m.LiveStatus = 0
  2019. for shift := uint(0); ; shift += 7 {
  2020. if shift >= 64 {
  2021. return ErrIntOverflowRoom
  2022. }
  2023. if iNdEx >= l {
  2024. return io.ErrUnexpectedEOF
  2025. }
  2026. b := dAtA[iNdEx]
  2027. iNdEx++
  2028. m.LiveStatus |= (int64(b) & 0x7F) << shift
  2029. if b < 0x80 {
  2030. break
  2031. }
  2032. }
  2033. case 29:
  2034. if wireType != 0 {
  2035. return fmt.Errorf("proto: wrong wireType = %d for field BroadcastType", wireType)
  2036. }
  2037. m.BroadcastType = 0
  2038. for shift := uint(0); ; shift += 7 {
  2039. if shift >= 64 {
  2040. return ErrIntOverflowRoom
  2041. }
  2042. if iNdEx >= l {
  2043. return io.ErrUnexpectedEOF
  2044. }
  2045. b := dAtA[iNdEx]
  2046. iNdEx++
  2047. m.BroadcastType |= (int64(b) & 0x7F) << shift
  2048. if b < 0x80 {
  2049. break
  2050. }
  2051. }
  2052. default:
  2053. iNdEx = preIndex
  2054. skippy, err := skipRoom(dAtA[iNdEx:])
  2055. if err != nil {
  2056. return err
  2057. }
  2058. if skippy < 0 {
  2059. return ErrInvalidLengthRoom
  2060. }
  2061. if (iNdEx + skippy) > l {
  2062. return io.ErrUnexpectedEOF
  2063. }
  2064. iNdEx += skippy
  2065. }
  2066. }
  2067. if iNdEx > l {
  2068. return io.ErrUnexpectedEOF
  2069. }
  2070. return nil
  2071. }
  2072. func skipRoom(dAtA []byte) (n int, err error) {
  2073. l := len(dAtA)
  2074. iNdEx := 0
  2075. for iNdEx < l {
  2076. var wire uint64
  2077. for shift := uint(0); ; shift += 7 {
  2078. if shift >= 64 {
  2079. return 0, ErrIntOverflowRoom
  2080. }
  2081. if iNdEx >= l {
  2082. return 0, io.ErrUnexpectedEOF
  2083. }
  2084. b := dAtA[iNdEx]
  2085. iNdEx++
  2086. wire |= (uint64(b) & 0x7F) << shift
  2087. if b < 0x80 {
  2088. break
  2089. }
  2090. }
  2091. wireType := int(wire & 0x7)
  2092. switch wireType {
  2093. case 0:
  2094. for shift := uint(0); ; shift += 7 {
  2095. if shift >= 64 {
  2096. return 0, ErrIntOverflowRoom
  2097. }
  2098. if iNdEx >= l {
  2099. return 0, io.ErrUnexpectedEOF
  2100. }
  2101. iNdEx++
  2102. if dAtA[iNdEx-1] < 0x80 {
  2103. break
  2104. }
  2105. }
  2106. return iNdEx, nil
  2107. case 1:
  2108. iNdEx += 8
  2109. return iNdEx, nil
  2110. case 2:
  2111. var length int
  2112. for shift := uint(0); ; shift += 7 {
  2113. if shift >= 64 {
  2114. return 0, ErrIntOverflowRoom
  2115. }
  2116. if iNdEx >= l {
  2117. return 0, io.ErrUnexpectedEOF
  2118. }
  2119. b := dAtA[iNdEx]
  2120. iNdEx++
  2121. length |= (int(b) & 0x7F) << shift
  2122. if b < 0x80 {
  2123. break
  2124. }
  2125. }
  2126. iNdEx += length
  2127. if length < 0 {
  2128. return 0, ErrInvalidLengthRoom
  2129. }
  2130. return iNdEx, nil
  2131. case 3:
  2132. for {
  2133. var innerWire uint64
  2134. var start int = iNdEx
  2135. for shift := uint(0); ; shift += 7 {
  2136. if shift >= 64 {
  2137. return 0, ErrIntOverflowRoom
  2138. }
  2139. if iNdEx >= l {
  2140. return 0, io.ErrUnexpectedEOF
  2141. }
  2142. b := dAtA[iNdEx]
  2143. iNdEx++
  2144. innerWire |= (uint64(b) & 0x7F) << shift
  2145. if b < 0x80 {
  2146. break
  2147. }
  2148. }
  2149. innerWireType := int(innerWire & 0x7)
  2150. if innerWireType == 4 {
  2151. break
  2152. }
  2153. next, err := skipRoom(dAtA[start:])
  2154. if err != nil {
  2155. return 0, err
  2156. }
  2157. iNdEx = start + next
  2158. }
  2159. return iNdEx, nil
  2160. case 4:
  2161. return iNdEx, nil
  2162. case 5:
  2163. iNdEx += 4
  2164. return iNdEx, nil
  2165. default:
  2166. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2167. }
  2168. }
  2169. panic("unreachable")
  2170. }
  2171. var (
  2172. ErrInvalidLengthRoom = fmt.Errorf("proto: negative length found during unmarshaling")
  2173. ErrIntOverflowRoom = fmt.Errorf("proto: integer overflow")
  2174. )
  2175. func init() { proto.RegisterFile("v2/Room.proto", fileDescriptor_Room_dd99878fba5dfa8c) }
  2176. var fileDescriptor_Room_dd99878fba5dfa8c = []byte{
  2177. // 745 bytes of a gzipped FileDescriptorProto
  2178. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0xcf, 0x4e, 0xf3, 0x46,
  2179. 0x10, 0xc7, 0x38, 0x24, 0xf1, 0x24, 0x81, 0xb0, 0x50, 0x58, 0x02, 0xa4, 0x29, 0xb4, 0x52, 0x7a,
  2180. 0x68, 0x2a, 0xb9, 0x87, 0xa2, 0xde, 0x4a, 0xff, 0x29, 0x97, 0x0a, 0x19, 0xda, 0x43, 0x7b, 0xb0,
  2181. 0x36, 0xd9, 0x4d, 0xb0, 0x70, 0xbc, 0xc1, 0xde, 0x58, 0xf2, 0x5b, 0xf4, 0x09, 0xfa, 0x0e, 0x7d,
  2182. 0x8b, 0x1e, 0x39, 0x7e, 0x47, 0x04, 0x2f, 0xf2, 0x69, 0x66, 0x6d, 0xc8, 0x87, 0xc4, 0xc9, 0x33,
  2183. 0xbf, 0xf9, 0xed, 0xcc, 0xfc, 0xc6, 0xb3, 0x0b, 0x9d, 0xdc, 0xff, 0x36, 0xd0, 0x7a, 0x31, 0x5a,
  2184. 0xa6, 0xda, 0x68, 0xd6, 0x48, 0xd1, 0xce, 0xfd, 0xb3, 0x7f, 0x1d, 0xd8, 0x41, 0xfc, 0x37, 0x65,
  2185. 0x2e, 0x8b, 0xb1, 0xcc, 0x02, 0x75, 0xcf, 0xba, 0xe0, 0x46, 0x32, 0xe3, 0xce, 0xc0, 0x1d, 0xba,
  2186. 0x01, 0x9a, 0xec, 0x14, 0x20, 0x51, 0x4a, 0x86, 0xab, 0x28, 0x99, 0x69, 0xbe, 0x39, 0x70, 0x86,
  2187. 0x6e, 0xe0, 0x21, 0xf2, 0x07, 0x02, 0x6c, 0x04, 0x7b, 0x14, 0x9e, 0xa4, 0x5a, 0xc8, 0xa9, 0xc8,
  2188. 0x4c, 0x68, 0x8a, 0xa5, 0xe2, 0x2e, 0xf1, 0x76, 0x31, 0x74, 0x59, 0x45, 0x6e, 0x8a, 0xa5, 0x62,
  2189. 0x07, 0x50, 0x9f, 0x45, 0x2a, 0x96, 0x19, 0xaf, 0x0d, 0xdc, 0xa1, 0x17, 0x94, 0x1e, 0x63, 0x50,
  2190. 0x9b, 0xa5, 0x7a, 0xc1, 0xb7, 0x06, 0xce, 0xd0, 0x0b, 0xc8, 0x3e, 0xfb, 0xaf, 0x09, 0xdd, 0x4f,
  2191. 0x1b, 0xcc, 0x96, 0x48, 0x9c, 0x6a, 0xa9, 0xb8, 0x43, 0x15, 0xc8, 0xc6, 0xae, 0x17, 0xd9, 0x9c,
  2192. 0x9a, 0xf3, 0x02, 0x34, 0xd9, 0xf7, 0x50, 0x93, 0xc2, 0x08, 0xee, 0x0e, 0xdc, 0x61, 0xcb, 0x3f,
  2193. 0x1f, 0x95, 0x9a, 0x47, 0x6f, 0xd3, 0x8d, 0x7e, 0x16, 0x46, 0xfc, 0x92, 0x98, 0xb4, 0x08, 0xe8,
  2194. 0x40, 0xef, 0x6f, 0xf0, 0x5e, 0x20, 0xcc, 0x7b, 0xa7, 0x0a, 0x2a, 0xe5, 0x05, 0x68, 0xb2, 0x0b,
  2195. 0xd8, 0xca, 0x45, 0xbc, 0x52, 0x54, 0xab, 0xe5, 0x9f, 0xbd, 0x9f, 0x18, 0x81, 0x71, 0x32, 0xd3,
  2196. 0x81, 0x3d, 0xf0, 0xc3, 0xe6, 0x85, 0xd3, 0x7b, 0xac, 0x43, 0xb3, 0xc2, 0x71, 0x12, 0x78, 0x38,
  2197. 0x92, 0xa5, 0x94, 0xd2, 0x63, 0xfb, 0xb0, 0xb5, 0x4a, 0xc4, 0x42, 0x95, 0x72, 0xac, 0x43, 0xf3,
  2198. 0x11, 0x53, 0x3b, 0x58, 0x9c, 0x8f, 0x98, 0xd2, 0x2c, 0x73, 0x95, 0x46, 0xb3, 0x82, 0xd7, 0x08,
  2199. 0x2d, 0x3d, 0xcc, 0x30, 0xd5, 0xb9, 0x4a, 0xcb, 0x61, 0x5a, 0x07, 0xc5, 0xac, 0x22, 0xc9, 0xeb,
  2200. 0x54, 0x0c, 0x4d, 0x76, 0x0c, 0x5e, 0x1c, 0xe5, 0x2a, 0x34, 0xd1, 0x42, 0xf1, 0x06, 0x71, 0x9b,
  2201. 0x08, 0xdc, 0x44, 0x0b, 0xc5, 0xbe, 0x80, 0x76, 0xaa, 0x57, 0x89, 0x0c, 0x33, 0x23, 0xcc, 0x2a,
  2202. 0xe3, 0x4d, 0x3a, 0xd7, 0x22, 0xec, 0x9a, 0x20, 0x76, 0x08, 0x0d, 0x9d, 0x84, 0xb3, 0x58, 0xcc,
  2203. 0xb9, 0x67, 0x25, 0xe8, 0xe4, 0xd7, 0x58, 0xcc, 0xb1, 0x01, 0x13, 0x99, 0x58, 0x71, 0xb0, 0x0d,
  2204. 0x90, 0x83, 0x12, 0x8c, 0x98, 0x67, 0xbc, 0x65, 0x25, 0xa0, 0xcd, 0x3e, 0x87, 0x56, 0xac, 0xa7,
  2205. 0x77, 0x55, 0x91, 0x36, 0x85, 0x00, 0xa1, 0xb2, 0xc6, 0x39, 0x74, 0x6e, 0x23, 0x29, 0x55, 0x52,
  2206. 0x51, 0x3a, 0x44, 0x69, 0x5b, 0xb0, 0x24, 0x9d, 0x02, 0xac, 0x32, 0x95, 0x86, 0x56, 0xf5, 0x36,
  2207. 0x31, 0x3c, 0x44, 0x7e, 0x22, 0xe5, 0x47, 0xd0, 0xcc, 0x6e, 0x75, 0x6a, 0xc2, 0x48, 0xf2, 0x1d,
  2208. 0x6a, 0xb4, 0x41, 0xfe, 0x58, 0xe2, 0x08, 0x75, 0x12, 0x47, 0x89, 0xe2, 0xdd, 0x4a, 0x01, 0x7a,
  2209. 0xd8, 0xab, 0x48, 0x95, 0xe0, 0xbb, 0x76, 0xcb, 0xd0, 0x66, 0x27, 0x00, 0xf8, 0x0d, 0x73, 0x1f,
  2210. 0x13, 0x31, 0x8a, 0x34, 0x11, 0xf9, 0xd3, 0x1f, 0x4b, 0xf6, 0x35, 0xec, 0x56, 0xd1, 0xa5, 0x48,
  2211. 0x55, 0x42, 0xd5, 0xf6, 0x88, 0xb4, 0x6d, 0x49, 0x57, 0x04, 0x8f, 0x25, 0xfb, 0x12, 0x08, 0x09,
  2212. 0x97, 0x2f, 0xba, 0xf7, 0x89, 0xd7, 0x46, 0xf4, 0xaa, 0x52, 0x3e, 0x80, 0x76, 0x95, 0x90, 0xd6,
  2213. 0xe1, 0x33, 0x3b, 0x1b, 0x9b, 0xeb, 0x77, 0xdc, 0x89, 0x6f, 0x60, 0xef, 0x4d, 0x49, 0x22, 0x1e,
  2214. 0x10, 0xb1, 0xbb, 0x5e, 0x94, 0xe8, 0x7d, 0x00, 0x61, 0x8c, 0x4a, 0x4c, 0xa4, 0x93, 0x8c, 0x1f,
  2215. 0x52, 0xc9, 0x35, 0x04, 0xe3, 0x13, 0x31, 0xbd, 0x9b, 0xd3, 0x2f, 0xe6, 0xdc, 0x96, 0x7b, 0x45,
  2216. 0xf0, 0x5f, 0xe1, 0x8a, 0x86, 0x59, 0x14, 0xab, 0xc4, 0xf0, 0x23, 0x9b, 0x00, 0xa1, 0x6b, 0x42,
  2217. 0x5e, 0x09, 0xb7, 0x78, 0xa7, 0x79, 0x6f, 0x8d, 0x40, 0x08, 0xfe, 0x08, 0x93, 0x16, 0x76, 0xdf,
  2218. 0x8e, 0x29, 0x7f, 0xc3, 0xa4, 0x05, 0xad, 0x1b, 0x2e, 0x02, 0xee, 0x62, 0x39, 0x90, 0x13, 0x7b,
  2219. 0x16, 0xa1, 0x72, 0x1c, 0x5f, 0xc1, 0xf6, 0x9b, 0x37, 0xe6, 0x94, 0x38, 0x9d, 0xc9, 0xfa, 0xfb,
  2220. 0xe2, 0x8f, 0xa1, 0x86, 0x37, 0x8c, 0xfd, 0x08, 0x30, 0x57, 0x26, 0x9c, 0x14, 0x21, 0x3e, 0x62,
  2221. 0xfc, 0x9d, 0x7b, 0x7a, 0xdf, 0x3b, 0x7a, 0xf7, 0x06, 0x5f, 0x9e, 0xfc, 0xff, 0xd4, 0x77, 0x1e,
  2222. 0x9e, 0xfa, 0xce, 0xe3, 0x53, 0xdf, 0xf9, 0xe7, 0xb9, 0xbf, 0xf1, 0xf0, 0xdc, 0xdf, 0xf8, 0xf0,
  2223. 0xdc, 0xdf, 0xf8, 0x6b, 0x33, 0xf7, 0x27, 0x75, 0x7a, 0x4d, 0xbf, 0xfb, 0x18, 0x00, 0x00, 0xff,
  2224. 0xff, 0x7d, 0xff, 0x26, 0x39, 0x5e, 0x05, 0x00, 0x00,
  2225. }