123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: v1/Room.proto
- package v1
- import proto "github.com/gogo/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import io "io"
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
- type RoomGetInfoByIdReq struct {
- Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
- Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
- }
- func (m *RoomGetInfoByIdReq) Reset() { *m = RoomGetInfoByIdReq{} }
- func (m *RoomGetInfoByIdReq) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoByIdReq) ProtoMessage() {}
- func (*RoomGetInfoByIdReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{0}
- }
- func (m *RoomGetInfoByIdReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoByIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoByIdReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoByIdReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoByIdReq.Merge(dst, src)
- }
- func (m *RoomGetInfoByIdReq) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoByIdReq) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoByIdReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoByIdReq proto.InternalMessageInfo
- func (m *RoomGetInfoByIdReq) GetIds() []int64 {
- if m != nil {
- return m.Ids
- }
- return nil
- }
- func (m *RoomGetInfoByIdReq) GetFields() []string {
- if m != nil {
- return m.Fields
- }
- return nil
- }
- type RoomGetInfoByIdResp struct {
- Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data map[string]*RoomGetInfoByIdResp_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"`
- }
- func (m *RoomGetInfoByIdResp) Reset() { *m = RoomGetInfoByIdResp{} }
- func (m *RoomGetInfoByIdResp) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoByIdResp) ProtoMessage() {}
- func (*RoomGetInfoByIdResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{1}
- }
- func (m *RoomGetInfoByIdResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoByIdResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoByIdResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoByIdResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoByIdResp.Merge(dst, src)
- }
- func (m *RoomGetInfoByIdResp) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoByIdResp) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoByIdResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoByIdResp proto.InternalMessageInfo
- func (m *RoomGetInfoByIdResp) GetCode() int64 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp) GetData() map[string]*RoomGetInfoByIdResp_RoomInfo {
- if m != nil {
- return m.Data
- }
- return nil
- }
- type RoomGetInfoByIdResp_RoomInfo struct {
- Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
- Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname,omitempty"`
- Cover string `protobuf:"bytes,3,opt,name=cover,proto3" json:"cover,omitempty"`
- Uid int64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"`
- LiveTime string `protobuf:"bytes,5,opt,name=live_time,json=liveTime,proto3" json:"live_time,omitempty"`
- RoundStatus int64 `protobuf:"varint,6,opt,name=round_status,json=roundStatus,proto3" json:"round_status,omitempty"`
- OnFlag int64 `protobuf:"varint,7,opt,name=on_flag,json=onFlag,proto3" json:"on_flag,omitempty"`
- Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
- LockStatus string `protobuf:"bytes,9,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status,omitempty"`
- HiddenStatus string `protobuf:"bytes,10,opt,name=hidden_status,json=hiddenStatus,proto3" json:"hidden_status,omitempty"`
- UserCover string `protobuf:"bytes,11,opt,name=user_cover,json=userCover,proto3" json:"user_cover,omitempty"`
- ShortId int64 `protobuf:"varint,12,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
- Online int64 `protobuf:"varint,13,opt,name=online,proto3" json:"online,omitempty"`
- Area int64 `protobuf:"varint,14,opt,name=area,proto3" json:"area,omitempty"`
- AreaV2Id int64 `protobuf:"varint,15,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id,omitempty"`
- AreaV2ParentId int64 `protobuf:"varint,16,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id,omitempty"`
- AreaV2Name string `protobuf:"bytes,17,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name,omitempty"`
- AreaV2ParentName string `protobuf:"bytes,18,opt,name=area_v2_parent_name,json=areaV2ParentName,proto3" json:"area_v2_parent_name,omitempty"`
- Attentions int64 `protobuf:"varint,19,opt,name=attentions,proto3" json:"attentions,omitempty"`
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) Reset() { *m = RoomGetInfoByIdResp_RoomInfo{} }
- func (m *RoomGetInfoByIdResp_RoomInfo) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoByIdResp_RoomInfo) ProtoMessage() {}
- func (*RoomGetInfoByIdResp_RoomInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{1, 1}
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoByIdResp_RoomInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoByIdResp_RoomInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoByIdResp_RoomInfo.Merge(dst, src)
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoByIdResp_RoomInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoByIdResp_RoomInfo proto.InternalMessageInfo
- func (m *RoomGetInfoByIdResp_RoomInfo) GetRoomid() int64 {
- if m != nil {
- return m.Roomid
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetUname() string {
- if m != nil {
- return m.Uname
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetCover() string {
- if m != nil {
- return m.Cover
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetLiveTime() string {
- if m != nil {
- return m.LiveTime
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetRoundStatus() int64 {
- if m != nil {
- return m.RoundStatus
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetOnFlag() int64 {
- if m != nil {
- return m.OnFlag
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetLockStatus() string {
- if m != nil {
- return m.LockStatus
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetHiddenStatus() string {
- if m != nil {
- return m.HiddenStatus
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetUserCover() string {
- if m != nil {
- return m.UserCover
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetShortId() int64 {
- if m != nil {
- return m.ShortId
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetOnline() int64 {
- if m != nil {
- return m.Online
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetArea() int64 {
- if m != nil {
- return m.Area
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetAreaV2Id() int64 {
- if m != nil {
- return m.AreaV2Id
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetAreaV2ParentId() int64 {
- if m != nil {
- return m.AreaV2ParentId
- }
- return 0
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetAreaV2Name() string {
- if m != nil {
- return m.AreaV2Name
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetAreaV2ParentName() string {
- if m != nil {
- return m.AreaV2ParentName
- }
- return ""
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) GetAttentions() int64 {
- if m != nil {
- return m.Attentions
- }
- return 0
- }
- type RoomGetInfoReq struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
- }
- func (m *RoomGetInfoReq) Reset() { *m = RoomGetInfoReq{} }
- func (m *RoomGetInfoReq) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoReq) ProtoMessage() {}
- func (*RoomGetInfoReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{2}
- }
- func (m *RoomGetInfoReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoReq.Merge(dst, src)
- }
- func (m *RoomGetInfoReq) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoReq) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoReq proto.InternalMessageInfo
- func (m *RoomGetInfoReq) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *RoomGetInfoReq) GetFrom() string {
- if m != nil {
- return m.From
- }
- return ""
- }
- type RoomGetInfoResp struct {
- Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Data *RoomGetInfoResp_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (m *RoomGetInfoResp) Reset() { *m = RoomGetInfoResp{} }
- func (m *RoomGetInfoResp) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoResp) ProtoMessage() {}
- func (*RoomGetInfoResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{3}
- }
- func (m *RoomGetInfoResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoResp.Merge(dst, src)
- }
- func (m *RoomGetInfoResp) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoResp) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoResp proto.InternalMessageInfo
- func (m *RoomGetInfoResp) GetCode() int64 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *RoomGetInfoResp) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- func (m *RoomGetInfoResp) GetData() *RoomGetInfoResp_Data {
- if m != nil {
- return m.Data
- }
- return nil
- }
- type RoomGetInfoResp_PendantWithDesc struct {
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
- Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
- Desc string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
- }
- func (m *RoomGetInfoResp_PendantWithDesc) Reset() { *m = RoomGetInfoResp_PendantWithDesc{} }
- func (m *RoomGetInfoResp_PendantWithDesc) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoResp_PendantWithDesc) ProtoMessage() {}
- func (*RoomGetInfoResp_PendantWithDesc) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{3, 0}
- }
- func (m *RoomGetInfoResp_PendantWithDesc) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoResp_PendantWithDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoResp_PendantWithDesc.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoResp_PendantWithDesc) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoResp_PendantWithDesc.Merge(dst, src)
- }
- func (m *RoomGetInfoResp_PendantWithDesc) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoResp_PendantWithDesc) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoResp_PendantWithDesc.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoResp_PendantWithDesc proto.InternalMessageInfo
- func (m *RoomGetInfoResp_PendantWithDesc) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *RoomGetInfoResp_PendantWithDesc) GetPosition() int64 {
- if m != nil {
- return m.Position
- }
- return 0
- }
- func (m *RoomGetInfoResp_PendantWithDesc) GetValue() string {
- if m != nil {
- return m.Value
- }
- return ""
- }
- func (m *RoomGetInfoResp_PendantWithDesc) GetDesc() string {
- if m != nil {
- return m.Desc
- }
- return ""
- }
- type RoomGetInfoResp_Pendant struct {
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
- Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
- }
- func (m *RoomGetInfoResp_Pendant) Reset() { *m = RoomGetInfoResp_Pendant{} }
- func (m *RoomGetInfoResp_Pendant) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoResp_Pendant) ProtoMessage() {}
- func (*RoomGetInfoResp_Pendant) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{3, 1}
- }
- func (m *RoomGetInfoResp_Pendant) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoResp_Pendant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoResp_Pendant.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoResp_Pendant) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoResp_Pendant.Merge(dst, src)
- }
- func (m *RoomGetInfoResp_Pendant) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoResp_Pendant) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoResp_Pendant.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoResp_Pendant proto.InternalMessageInfo
- func (m *RoomGetInfoResp_Pendant) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *RoomGetInfoResp_Pendant) GetPosition() int64 {
- if m != nil {
- return m.Position
- }
- return 0
- }
- func (m *RoomGetInfoResp_Pendant) GetValue() string {
- if m != nil {
- return m.Value
- }
- return ""
- }
- type RoomGetInfoResp_Pendants struct {
- Frame *RoomGetInfoResp_PendantWithDesc `protobuf:"bytes,1,opt,name=frame,proto3" json:"frame,omitempty"`
- Badge *RoomGetInfoResp_PendantWithDesc `protobuf:"bytes,2,opt,name=badge,proto3" json:"badge,omitempty"`
- MobileFrame *RoomGetInfoResp_Pendant `protobuf:"bytes,3,opt,name=mobile_frame,json=mobileFrame,proto3" json:"mobile_frame,omitempty"`
- MobileBadge *RoomGetInfoResp_Pendant `protobuf:"bytes,4,opt,name=mobile_badge,json=mobileBadge,proto3" json:"mobile_badge,omitempty"`
- }
- func (m *RoomGetInfoResp_Pendants) Reset() { *m = RoomGetInfoResp_Pendants{} }
- func (m *RoomGetInfoResp_Pendants) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoResp_Pendants) ProtoMessage() {}
- func (*RoomGetInfoResp_Pendants) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{3, 2}
- }
- func (m *RoomGetInfoResp_Pendants) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoResp_Pendants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoResp_Pendants.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoResp_Pendants) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoResp_Pendants.Merge(dst, src)
- }
- func (m *RoomGetInfoResp_Pendants) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoResp_Pendants) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoResp_Pendants.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoResp_Pendants proto.InternalMessageInfo
- func (m *RoomGetInfoResp_Pendants) GetFrame() *RoomGetInfoResp_PendantWithDesc {
- if m != nil {
- return m.Frame
- }
- return nil
- }
- func (m *RoomGetInfoResp_Pendants) GetBadge() *RoomGetInfoResp_PendantWithDesc {
- if m != nil {
- return m.Badge
- }
- return nil
- }
- func (m *RoomGetInfoResp_Pendants) GetMobileFrame() *RoomGetInfoResp_Pendant {
- if m != nil {
- return m.MobileFrame
- }
- return nil
- }
- func (m *RoomGetInfoResp_Pendants) GetMobileBadge() *RoomGetInfoResp_Pendant {
- if m != nil {
- return m.MobileBadge
- }
- return nil
- }
- type RoomGetInfoResp_Data struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
- RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
- ShortId int64 `protobuf:"varint,3,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
- Keyframe string `protobuf:"bytes,4,opt,name=keyframe,proto3" json:"keyframe,omitempty"`
- Online int64 `protobuf:"varint,5,opt,name=online,proto3" json:"online,omitempty"`
- IsPortrait bool `protobuf:"varint,6,opt,name=is_portrait,json=isPortrait,proto3" json:"is_portrait,omitempty"`
- RoomSilentType string `protobuf:"bytes,7,opt,name=room_silent_type,json=roomSilentType,proto3" json:"room_silent_type,omitempty"`
- RoomSilentSecond int64 `protobuf:"varint,8,opt,name=room_silent_second,json=roomSilentSecond,proto3" json:"room_silent_second,omitempty"`
- RoomSilentLevel int64 `protobuf:"varint,9,opt,name=room_silent_level,json=roomSilentLevel,proto3" json:"room_silent_level,omitempty"`
- LiveStatus int64 `protobuf:"varint,10,opt,name=live_status,json=liveStatus,proto3" json:"live_status,omitempty"`
- AreaId int64 `protobuf:"varint,11,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"`
- ParentAreaId int64 `protobuf:"varint,12,opt,name=parent_area_id,json=parentAreaId,proto3" json:"parent_area_id,omitempty"`
- AreaName string `protobuf:"bytes,13,opt,name=area_name,json=areaName,proto3" json:"area_name,omitempty"`
- ParentAreaName string `protobuf:"bytes,14,opt,name=parent_area_name,json=parentAreaName,proto3" json:"parent_area_name,omitempty"`
- OldAreaId int64 `protobuf:"varint,15,opt,name=old_area_id,json=oldAreaId,proto3" json:"old_area_id,omitempty"`
- Background string `protobuf:"bytes,16,opt,name=background,proto3" json:"background,omitempty"`
- Title string `protobuf:"bytes,17,opt,name=title,proto3" json:"title,omitempty"`
- IsStrictRoom bool `protobuf:"varint,18,opt,name=is_strict_room,json=isStrictRoom,proto3" json:"is_strict_room,omitempty"`
- UserCover string `protobuf:"bytes,19,opt,name=user_cover,json=userCover,proto3" json:"user_cover,omitempty"`
- LiveTime string `protobuf:"bytes,20,opt,name=live_time,json=liveTime,proto3" json:"live_time,omitempty"`
- Pendants string `protobuf:"bytes,21,opt,name=pendants,proto3" json:"pendants,omitempty"`
- AreaPendants string `protobuf:"bytes,22,opt,name=area_pendants,json=areaPendants,proto3" json:"area_pendants,omitempty"`
- Description string `protobuf:"bytes,23,opt,name=description,proto3" json:"description,omitempty"`
- Tags string `protobuf:"bytes,24,opt,name=tags,proto3" json:"tags,omitempty"`
- Verify string `protobuf:"bytes,25,opt,name=verify,proto3" json:"verify,omitempty"`
- HotWords []string `protobuf:"bytes,26,rep,name=hot_words,json=hotWords,proto3" json:"hot_words,omitempty"`
- AllowChangeAreaTime int64 `protobuf:"varint,27,opt,name=allow_change_area_time,json=allowChangeAreaTime,proto3" json:"allow_change_area_time,omitempty"`
- AllowUploadCoverTime int64 `protobuf:"varint,28,opt,name=allow_upload_cover_time,json=allowUploadCoverTime,proto3" json:"allow_upload_cover_time,omitempty"`
- NewPendants *RoomGetInfoResp_Pendants `protobuf:"bytes,29,opt,name=new_pendants,json=newPendants,proto3" json:"new_pendants,omitempty"`
- UpSession string `protobuf:"bytes,30,opt,name=up_session,json=upSession,proto3" json:"up_session,omitempty"`
- PkStatus int64 `protobuf:"varint,31,opt,name=pk_status,json=pkStatus,proto3" json:"pk_status,omitempty"`
- }
- func (m *RoomGetInfoResp_Data) Reset() { *m = RoomGetInfoResp_Data{} }
- func (m *RoomGetInfoResp_Data) String() string { return proto.CompactTextString(m) }
- func (*RoomGetInfoResp_Data) ProtoMessage() {}
- func (*RoomGetInfoResp_Data) Descriptor() ([]byte, []int) {
- return fileDescriptor_Room_ebfa725c6fe265e6, []int{3, 3}
- }
- func (m *RoomGetInfoResp_Data) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGetInfoResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGetInfoResp_Data.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGetInfoResp_Data) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGetInfoResp_Data.Merge(dst, src)
- }
- func (m *RoomGetInfoResp_Data) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGetInfoResp_Data) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGetInfoResp_Data.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGetInfoResp_Data proto.InternalMessageInfo
- func (m *RoomGetInfoResp_Data) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetRoomId() int64 {
- if m != nil {
- return m.RoomId
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetShortId() int64 {
- if m != nil {
- return m.ShortId
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetKeyframe() string {
- if m != nil {
- return m.Keyframe
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetOnline() int64 {
- if m != nil {
- return m.Online
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetIsPortrait() bool {
- if m != nil {
- return m.IsPortrait
- }
- return false
- }
- func (m *RoomGetInfoResp_Data) GetRoomSilentType() string {
- if m != nil {
- return m.RoomSilentType
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetRoomSilentSecond() int64 {
- if m != nil {
- return m.RoomSilentSecond
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetRoomSilentLevel() int64 {
- if m != nil {
- return m.RoomSilentLevel
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetLiveStatus() int64 {
- if m != nil {
- return m.LiveStatus
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetAreaId() int64 {
- if m != nil {
- return m.AreaId
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetParentAreaId() int64 {
- if m != nil {
- return m.ParentAreaId
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetAreaName() string {
- if m != nil {
- return m.AreaName
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetParentAreaName() string {
- if m != nil {
- return m.ParentAreaName
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetOldAreaId() int64 {
- if m != nil {
- return m.OldAreaId
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetBackground() string {
- if m != nil {
- return m.Background
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetIsStrictRoom() bool {
- if m != nil {
- return m.IsStrictRoom
- }
- return false
- }
- func (m *RoomGetInfoResp_Data) GetUserCover() string {
- if m != nil {
- return m.UserCover
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetLiveTime() string {
- if m != nil {
- return m.LiveTime
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetPendants() string {
- if m != nil {
- return m.Pendants
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetAreaPendants() string {
- if m != nil {
- return m.AreaPendants
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetDescription() string {
- if m != nil {
- return m.Description
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetTags() string {
- if m != nil {
- return m.Tags
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetVerify() string {
- if m != nil {
- return m.Verify
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetHotWords() []string {
- if m != nil {
- return m.HotWords
- }
- return nil
- }
- func (m *RoomGetInfoResp_Data) GetAllowChangeAreaTime() int64 {
- if m != nil {
- return m.AllowChangeAreaTime
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetAllowUploadCoverTime() int64 {
- if m != nil {
- return m.AllowUploadCoverTime
- }
- return 0
- }
- func (m *RoomGetInfoResp_Data) GetNewPendants() *RoomGetInfoResp_Pendants {
- if m != nil {
- return m.NewPendants
- }
- return nil
- }
- func (m *RoomGetInfoResp_Data) GetUpSession() string {
- if m != nil {
- return m.UpSession
- }
- return ""
- }
- func (m *RoomGetInfoResp_Data) GetPkStatus() int64 {
- if m != nil {
- return m.PkStatus
- }
- return 0
- }
- func init() {
- proto.RegisterType((*RoomGetInfoByIdReq)(nil), "room.v1.RoomGetInfoByIdReq")
- proto.RegisterType((*RoomGetInfoByIdResp)(nil), "room.v1.RoomGetInfoByIdResp")
- proto.RegisterMapType((map[string]*RoomGetInfoByIdResp_RoomInfo)(nil), "room.v1.RoomGetInfoByIdResp.DataEntry")
- proto.RegisterType((*RoomGetInfoByIdResp_RoomInfo)(nil), "room.v1.RoomGetInfoByIdResp.RoomInfo")
- proto.RegisterType((*RoomGetInfoReq)(nil), "room.v1.RoomGetInfoReq")
- proto.RegisterType((*RoomGetInfoResp)(nil), "room.v1.RoomGetInfoResp")
- proto.RegisterType((*RoomGetInfoResp_PendantWithDesc)(nil), "room.v1.RoomGetInfoResp.PendantWithDesc")
- proto.RegisterType((*RoomGetInfoResp_Pendant)(nil), "room.v1.RoomGetInfoResp.Pendant")
- proto.RegisterType((*RoomGetInfoResp_Pendants)(nil), "room.v1.RoomGetInfoResp.Pendants")
- proto.RegisterType((*RoomGetInfoResp_Data)(nil), "room.v1.RoomGetInfoResp.Data")
- }
- func (m *RoomGetInfoByIdReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoByIdReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Ids) > 0 {
- dAtA2 := make([]byte, len(m.Ids)*10)
- var j1 int
- for _, num1 := range m.Ids {
- num := uint64(num1)
- for num >= 1<<7 {
- dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
- num >>= 7
- j1++
- }
- dAtA2[j1] = uint8(num)
- j1++
- }
- dAtA[i] = 0xa
- i++
- i = encodeVarintRoom(dAtA, i, uint64(j1))
- i += copy(dAtA[i:], dAtA2[:j1])
- }
- if len(m.Fields) > 0 {
- for _, s := range m.Fields {
- dAtA[i] = 0x12
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- return i, nil
- }
- func (m *RoomGetInfoByIdResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoByIdResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Code != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Code))
- }
- if len(m.Msg) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Msg)))
- i += copy(dAtA[i:], m.Msg)
- }
- if len(m.Data) > 0 {
- for k, _ := range m.Data {
- dAtA[i] = 0x1a
- i++
- v := m.Data[k]
- msgSize := 0
- if v != nil {
- msgSize = v.Size()
- msgSize += 1 + sovRoom(uint64(msgSize))
- }
- mapSize := 1 + len(k) + sovRoom(uint64(len(k))) + msgSize
- i = encodeVarintRoom(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- if v != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRoom(dAtA, i, uint64(v.Size()))
- n3, err := v.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n3
- }
- }
- }
- return i, nil
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Roomid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Roomid))
- }
- if len(m.Uname) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Uname)))
- i += copy(dAtA[i:], m.Uname)
- }
- if len(m.Cover) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Cover)))
- i += copy(dAtA[i:], m.Cover)
- }
- if m.Uid != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Uid))
- }
- if len(m.LiveTime) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.LiveTime)))
- i += copy(dAtA[i:], m.LiveTime)
- }
- if m.RoundStatus != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.RoundStatus))
- }
- if m.OnFlag != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.OnFlag))
- }
- if len(m.Title) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Title)))
- i += copy(dAtA[i:], m.Title)
- }
- if len(m.LockStatus) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.LockStatus)))
- i += copy(dAtA[i:], m.LockStatus)
- }
- if len(m.HiddenStatus) > 0 {
- dAtA[i] = 0x52
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.HiddenStatus)))
- i += copy(dAtA[i:], m.HiddenStatus)
- }
- if len(m.UserCover) > 0 {
- dAtA[i] = 0x5a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.UserCover)))
- i += copy(dAtA[i:], m.UserCover)
- }
- if m.ShortId != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.ShortId))
- }
- if m.Online != 0 {
- dAtA[i] = 0x68
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Online))
- }
- if m.Area != 0 {
- dAtA[i] = 0x70
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Area))
- }
- if m.AreaV2Id != 0 {
- dAtA[i] = 0x78
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2Id))
- }
- if m.AreaV2ParentId != 0 {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2ParentId))
- }
- if len(m.AreaV2Name) > 0 {
- dAtA[i] = 0x8a
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2Name)))
- i += copy(dAtA[i:], m.AreaV2Name)
- }
- if len(m.AreaV2ParentName) > 0 {
- dAtA[i] = 0x92
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2ParentName)))
- i += copy(dAtA[i:], m.AreaV2ParentName)
- }
- if m.Attentions != 0 {
- dAtA[i] = 0x98
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Attentions))
- }
- return i, nil
- }
- func (m *RoomGetInfoReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Id))
- }
- if len(m.From) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.From)))
- i += copy(dAtA[i:], m.From)
- }
- return i, nil
- }
- func (m *RoomGetInfoResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Code != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Code))
- }
- if len(m.Msg) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Msg)))
- i += copy(dAtA[i:], m.Msg)
- }
- if m.Data != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Data.Size()))
- n4, err := m.Data.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n4
- }
- return i, nil
- }
- func (m *RoomGetInfoResp_PendantWithDesc) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoResp_PendantWithDesc) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Name) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.Position != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Position))
- }
- if len(m.Value) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Value)))
- i += copy(dAtA[i:], m.Value)
- }
- if len(m.Desc) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Desc)))
- i += copy(dAtA[i:], m.Desc)
- }
- return i, nil
- }
- func (m *RoomGetInfoResp_Pendant) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoResp_Pendant) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Name) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.Position != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Position))
- }
- if len(m.Value) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Value)))
- i += copy(dAtA[i:], m.Value)
- }
- return i, nil
- }
- func (m *RoomGetInfoResp_Pendants) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoResp_Pendants) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Frame != nil {
- dAtA[i] = 0xa
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Frame.Size()))
- n5, err := m.Frame.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n5
- }
- if m.Badge != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Badge.Size()))
- n6, err := m.Badge.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n6
- }
- if m.MobileFrame != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.MobileFrame.Size()))
- n7, err := m.MobileFrame.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n7
- }
- if m.MobileBadge != nil {
- dAtA[i] = 0x22
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.MobileBadge.Size()))
- n8, err := m.MobileBadge.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n8
- }
- return i, nil
- }
- func (m *RoomGetInfoResp_Data) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGetInfoResp_Data) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Uid))
- }
- if m.RoomId != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.RoomId))
- }
- if m.ShortId != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.ShortId))
- }
- if len(m.Keyframe) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Keyframe)))
- i += copy(dAtA[i:], m.Keyframe)
- }
- if m.Online != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.Online))
- }
- if m.IsPortrait {
- dAtA[i] = 0x30
- i++
- if m.IsPortrait {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.RoomSilentType) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.RoomSilentType)))
- i += copy(dAtA[i:], m.RoomSilentType)
- }
- if m.RoomSilentSecond != 0 {
- dAtA[i] = 0x40
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.RoomSilentSecond))
- }
- if m.RoomSilentLevel != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.RoomSilentLevel))
- }
- if m.LiveStatus != 0 {
- dAtA[i] = 0x50
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.LiveStatus))
- }
- if m.AreaId != 0 {
- dAtA[i] = 0x58
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.AreaId))
- }
- if m.ParentAreaId != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.ParentAreaId))
- }
- if len(m.AreaName) > 0 {
- dAtA[i] = 0x6a
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaName)))
- i += copy(dAtA[i:], m.AreaName)
- }
- if len(m.ParentAreaName) > 0 {
- dAtA[i] = 0x72
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.ParentAreaName)))
- i += copy(dAtA[i:], m.ParentAreaName)
- }
- if m.OldAreaId != 0 {
- dAtA[i] = 0x78
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.OldAreaId))
- }
- if len(m.Background) > 0 {
- dAtA[i] = 0x82
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Background)))
- i += copy(dAtA[i:], m.Background)
- }
- if len(m.Title) > 0 {
- dAtA[i] = 0x8a
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Title)))
- i += copy(dAtA[i:], m.Title)
- }
- if m.IsStrictRoom {
- dAtA[i] = 0x90
- i++
- dAtA[i] = 0x1
- i++
- if m.IsStrictRoom {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.UserCover) > 0 {
- dAtA[i] = 0x9a
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.UserCover)))
- i += copy(dAtA[i:], m.UserCover)
- }
- if len(m.LiveTime) > 0 {
- dAtA[i] = 0xa2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.LiveTime)))
- i += copy(dAtA[i:], m.LiveTime)
- }
- if len(m.Pendants) > 0 {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Pendants)))
- i += copy(dAtA[i:], m.Pendants)
- }
- if len(m.AreaPendants) > 0 {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaPendants)))
- i += copy(dAtA[i:], m.AreaPendants)
- }
- if len(m.Description) > 0 {
- dAtA[i] = 0xba
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Description)))
- i += copy(dAtA[i:], m.Description)
- }
- if len(m.Tags) > 0 {
- dAtA[i] = 0xc2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Tags)))
- i += copy(dAtA[i:], m.Tags)
- }
- if len(m.Verify) > 0 {
- dAtA[i] = 0xca
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.Verify)))
- i += copy(dAtA[i:], m.Verify)
- }
- if len(m.HotWords) > 0 {
- for _, s := range m.HotWords {
- dAtA[i] = 0xd2
- i++
- dAtA[i] = 0x1
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if m.AllowChangeAreaTime != 0 {
- dAtA[i] = 0xd8
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.AllowChangeAreaTime))
- }
- if m.AllowUploadCoverTime != 0 {
- dAtA[i] = 0xe0
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.AllowUploadCoverTime))
- }
- if m.NewPendants != nil {
- dAtA[i] = 0xea
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.NewPendants.Size()))
- n9, err := m.NewPendants.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n9
- }
- if len(m.UpSession) > 0 {
- dAtA[i] = 0xf2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(len(m.UpSession)))
- i += copy(dAtA[i:], m.UpSession)
- }
- if m.PkStatus != 0 {
- dAtA[i] = 0xf8
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRoom(dAtA, i, uint64(m.PkStatus))
- }
- return i, nil
- }
- func encodeVarintRoom(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
- }
- func (m *RoomGetInfoByIdReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Ids) > 0 {
- l = 0
- for _, e := range m.Ids {
- l += sovRoom(uint64(e))
- }
- n += 1 + sovRoom(uint64(l)) + l
- }
- if len(m.Fields) > 0 {
- for _, s := range m.Fields {
- l = len(s)
- n += 1 + l + sovRoom(uint64(l))
- }
- }
- return n
- }
- func (m *RoomGetInfoByIdResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Code != 0 {
- n += 1 + sovRoom(uint64(m.Code))
- }
- l = len(m.Msg)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if len(m.Data) > 0 {
- for k, v := range m.Data {
- _ = k
- _ = v
- l = 0
- if v != nil {
- l = v.Size()
- l += 1 + sovRoom(uint64(l))
- }
- mapEntrySize := 1 + len(k) + sovRoom(uint64(len(k))) + l
- n += mapEntrySize + 1 + sovRoom(uint64(mapEntrySize))
- }
- }
- return n
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Roomid != 0 {
- n += 1 + sovRoom(uint64(m.Roomid))
- }
- l = len(m.Uname)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- l = len(m.Cover)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.Uid != 0 {
- n += 1 + sovRoom(uint64(m.Uid))
- }
- l = len(m.LiveTime)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.RoundStatus != 0 {
- n += 1 + sovRoom(uint64(m.RoundStatus))
- }
- if m.OnFlag != 0 {
- n += 1 + sovRoom(uint64(m.OnFlag))
- }
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- l = len(m.LockStatus)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- l = len(m.HiddenStatus)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- l = len(m.UserCover)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.ShortId != 0 {
- n += 1 + sovRoom(uint64(m.ShortId))
- }
- if m.Online != 0 {
- n += 1 + sovRoom(uint64(m.Online))
- }
- if m.Area != 0 {
- n += 1 + sovRoom(uint64(m.Area))
- }
- if m.AreaV2Id != 0 {
- n += 1 + sovRoom(uint64(m.AreaV2Id))
- }
- if m.AreaV2ParentId != 0 {
- n += 2 + sovRoom(uint64(m.AreaV2ParentId))
- }
- l = len(m.AreaV2Name)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.AreaV2ParentName)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- if m.Attentions != 0 {
- n += 2 + sovRoom(uint64(m.Attentions))
- }
- return n
- }
- func (m *RoomGetInfoReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovRoom(uint64(m.Id))
- }
- l = len(m.From)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- return n
- }
- func (m *RoomGetInfoResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Code != 0 {
- n += 1 + sovRoom(uint64(m.Code))
- }
- l = len(m.Msg)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.Data != nil {
- l = m.Data.Size()
- n += 1 + l + sovRoom(uint64(l))
- }
- return n
- }
- func (m *RoomGetInfoResp_PendantWithDesc) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.Position != 0 {
- n += 1 + sovRoom(uint64(m.Position))
- }
- l = len(m.Value)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- l = len(m.Desc)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- return n
- }
- func (m *RoomGetInfoResp_Pendant) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.Position != 0 {
- n += 1 + sovRoom(uint64(m.Position))
- }
- l = len(m.Value)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- return n
- }
- func (m *RoomGetInfoResp_Pendants) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Frame != nil {
- l = m.Frame.Size()
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.Badge != nil {
- l = m.Badge.Size()
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.MobileFrame != nil {
- l = m.MobileFrame.Size()
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.MobileBadge != nil {
- l = m.MobileBadge.Size()
- n += 1 + l + sovRoom(uint64(l))
- }
- return n
- }
- func (m *RoomGetInfoResp_Data) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovRoom(uint64(m.Uid))
- }
- if m.RoomId != 0 {
- n += 1 + sovRoom(uint64(m.RoomId))
- }
- if m.ShortId != 0 {
- n += 1 + sovRoom(uint64(m.ShortId))
- }
- l = len(m.Keyframe)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.Online != 0 {
- n += 1 + sovRoom(uint64(m.Online))
- }
- if m.IsPortrait {
- n += 2
- }
- l = len(m.RoomSilentType)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.RoomSilentSecond != 0 {
- n += 1 + sovRoom(uint64(m.RoomSilentSecond))
- }
- if m.RoomSilentLevel != 0 {
- n += 1 + sovRoom(uint64(m.RoomSilentLevel))
- }
- if m.LiveStatus != 0 {
- n += 1 + sovRoom(uint64(m.LiveStatus))
- }
- if m.AreaId != 0 {
- n += 1 + sovRoom(uint64(m.AreaId))
- }
- if m.ParentAreaId != 0 {
- n += 1 + sovRoom(uint64(m.ParentAreaId))
- }
- l = len(m.AreaName)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- l = len(m.ParentAreaName)
- if l > 0 {
- n += 1 + l + sovRoom(uint64(l))
- }
- if m.OldAreaId != 0 {
- n += 1 + sovRoom(uint64(m.OldAreaId))
- }
- l = len(m.Background)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.Title)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- if m.IsStrictRoom {
- n += 3
- }
- l = len(m.UserCover)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.LiveTime)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.Pendants)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.AreaPendants)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.Tags)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.Verify)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- if len(m.HotWords) > 0 {
- for _, s := range m.HotWords {
- l = len(s)
- n += 2 + l + sovRoom(uint64(l))
- }
- }
- if m.AllowChangeAreaTime != 0 {
- n += 2 + sovRoom(uint64(m.AllowChangeAreaTime))
- }
- if m.AllowUploadCoverTime != 0 {
- n += 2 + sovRoom(uint64(m.AllowUploadCoverTime))
- }
- if m.NewPendants != nil {
- l = m.NewPendants.Size()
- n += 2 + l + sovRoom(uint64(l))
- }
- l = len(m.UpSession)
- if l > 0 {
- n += 2 + l + sovRoom(uint64(l))
- }
- if m.PkStatus != 0 {
- n += 2 + sovRoom(uint64(m.PkStatus))
- }
- return n
- }
- func sovRoom(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozRoom(x uint64) (n int) {
- return sovRoom(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *RoomGetInfoByIdReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RoomGetInfoByIdReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RoomGetInfoByIdReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType == 0 {
- var v int64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Ids = append(m.Ids, v)
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + packedLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var elementCount int
- var count int
- for _, integer := range dAtA {
- if integer < 128 {
- count++
- }
- }
- elementCount = count
- if elementCount != 0 && len(m.Ids) == 0 {
- m.Ids = make([]int64, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Ids = append(m.Ids, v)
- }
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field Ids", wireType)
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGetInfoByIdResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RoomGetInfoByIdResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RoomGetInfoByIdResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
- }
- m.Code = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Code |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Msg = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Data == nil {
- m.Data = make(map[string]*RoomGetInfoByIdResp_RoomInfo)
- }
- var mapkey string
- var mapvalue *RoomGetInfoByIdResp_RoomInfo
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthRoom
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthRoom
- }
- postmsgIndex := iNdEx + mapmsglen
- if mapmsglen < 0 {
- return ErrInvalidLengthRoom
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &RoomGetInfoByIdResp_RoomInfo{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.Data[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGetInfoByIdResp_RoomInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RoomInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RoomInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
- }
- m.Roomid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Roomid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Uname = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Cover = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field LiveTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.LiveTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RoundStatus", wireType)
- }
- m.RoundStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RoundStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OnFlag", wireType)
- }
- m.OnFlag = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OnFlag |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Title = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.LockStatus = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 10:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field HiddenStatus", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.HiddenStatus = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UserCover", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.UserCover = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 12:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
- }
- m.ShortId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ShortId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 13:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Online", wireType)
- }
- m.Online = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Online |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 14:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
- }
- m.Area = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Area |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 15:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
- }
- m.AreaV2Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaV2Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 16:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
- }
- m.AreaV2ParentId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaV2ParentId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 17:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AreaV2Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 18:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AreaV2ParentName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 19:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Attentions", wireType)
- }
- m.Attentions = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Attentions |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGetInfoReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RoomGetInfoReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RoomGetInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.From = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGetInfoResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RoomGetInfoResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RoomGetInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
- }
- m.Code = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Code |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Msg = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Data == nil {
- m.Data = &RoomGetInfoResp_Data{}
- }
- if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGetInfoResp_PendantWithDesc) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: PendantWithDesc: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: PendantWithDesc: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType)
- }
- m.Position = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Position |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Value = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Desc = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGetInfoResp_Pendant) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Pendant: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Pendant: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType)
- }
- m.Position = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Position |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Value = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGetInfoResp_Pendants) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Pendants: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Pendants: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Frame", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Frame == nil {
- m.Frame = &RoomGetInfoResp_PendantWithDesc{}
- }
- if err := m.Frame.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Badge", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Badge == nil {
- m.Badge = &RoomGetInfoResp_PendantWithDesc{}
- }
- if err := m.Badge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MobileFrame", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.MobileFrame == nil {
- m.MobileFrame = &RoomGetInfoResp_Pendant{}
- }
- if err := m.MobileFrame.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MobileBadge", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.MobileBadge == nil {
- m.MobileBadge = &RoomGetInfoResp_Pendant{}
- }
- if err := m.MobileBadge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGetInfoResp_Data) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Data: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
- }
- m.RoomId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RoomId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
- }
- m.ShortId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ShortId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Keyframe", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Keyframe = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Online", wireType)
- }
- m.Online = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Online |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field IsPortrait", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.IsPortrait = bool(v != 0)
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RoomSilentType", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.RoomSilentType = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RoomSilentSecond", wireType)
- }
- m.RoomSilentSecond = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RoomSilentSecond |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RoomSilentLevel", wireType)
- }
- m.RoomSilentLevel = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RoomSilentLevel |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
- }
- m.LiveStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.LiveStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 11:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
- }
- m.AreaId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 12:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaId", wireType)
- }
- m.ParentAreaId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ParentAreaId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 13:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AreaName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 14:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ParentAreaName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 15:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OldAreaId", wireType)
- }
- m.OldAreaId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OldAreaId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 16:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Background", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Background = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 17:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Title = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 18:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field IsStrictRoom", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.IsStrictRoom = bool(v != 0)
- case 19:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UserCover", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.UserCover = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 20:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field LiveTime", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.LiveTime = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 21:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Pendants", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Pendants = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 22:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaPendants", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AreaPendants = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 23:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 24:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Tags = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 25:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Verify", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Verify = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 26:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field HotWords", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.HotWords = append(m.HotWords, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 27:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AllowChangeAreaTime", wireType)
- }
- m.AllowChangeAreaTime = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AllowChangeAreaTime |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 28:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AllowUploadCoverTime", wireType)
- }
- m.AllowUploadCoverTime = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AllowUploadCoverTime |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 29:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field NewPendants", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.NewPendants == nil {
- m.NewPendants = &RoomGetInfoResp_Pendants{}
- }
- if err := m.NewPendants.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 30:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field UpSession", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRoom
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.UpSession = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 31:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PkStatus", wireType)
- }
- m.PkStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PkStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipRoom(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRoom
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipRoom(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- iNdEx += length
- if length < 0 {
- return 0, ErrInvalidLengthRoom
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowRoom
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipRoom(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
- }
- var (
- ErrInvalidLengthRoom = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowRoom = fmt.Errorf("proto: integer overflow")
- )
- func init() { proto.RegisterFile("v1/Room.proto", fileDescriptor_Room_ebfa725c6fe265e6) }
- var fileDescriptor_Room_ebfa725c6fe265e6 = []byte{
- // 1206 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x51, 0x6f, 0x1b, 0xc5,
- 0x13, 0xaf, 0x7d, 0x4e, 0x72, 0x37, 0x76, 0x1c, 0x67, 0xd3, 0x7f, 0x73, 0x75, 0x53, 0xd7, 0xcd,
- 0xbf, 0x20, 0x83, 0x20, 0x28, 0x2e, 0x48, 0xa8, 0x88, 0x4a, 0xb4, 0xa5, 0xc8, 0x02, 0x41, 0x75,
- 0x29, 0x54, 0xe2, 0x81, 0xd3, 0xc5, 0xbb, 0xb6, 0x57, 0x39, 0xdf, 0x5e, 0x6e, 0xd7, 0x8e, 0xfc,
- 0x29, 0x40, 0x88, 0x67, 0xbe, 0x05, 0xdf, 0x81, 0xc7, 0x3e, 0xf2, 0x58, 0x25, 0x5f, 0x04, 0xcd,
- 0xec, 0x9d, 0xed, 0x84, 0xa4, 0xa5, 0x12, 0x4f, 0xb7, 0xf3, 0xdb, 0x99, 0xd9, 0x99, 0xd9, 0x99,
- 0xdf, 0x1e, 0xac, 0x4f, 0xf7, 0x3f, 0x0a, 0x94, 0x1a, 0xef, 0xa5, 0x99, 0x32, 0x8a, 0xad, 0x65,
- 0xb8, 0x9e, 0xee, 0xef, 0x3e, 0x04, 0x86, 0xf0, 0x57, 0xc2, 0xf4, 0x92, 0x81, 0x7a, 0x34, 0xeb,
- 0xf1, 0x40, 0x1c, 0xb3, 0x06, 0x38, 0x92, 0x6b, 0xbf, 0xd4, 0x76, 0x3a, 0x4e, 0x80, 0x4b, 0x76,
- 0x03, 0x56, 0x07, 0x52, 0xc4, 0x5c, 0xfb, 0xe5, 0xb6, 0xd3, 0xf1, 0x82, 0x5c, 0xda, 0xfd, 0x79,
- 0x15, 0xb6, 0xfe, 0xe1, 0x40, 0xa7, 0x8c, 0x41, 0xa5, 0xaf, 0xb8, 0xf0, 0x4b, 0xed, 0x52, 0xc7,
- 0x09, 0x68, 0x8d, 0x5e, 0xc7, 0x7a, 0xe8, 0x97, 0xdb, 0xa5, 0x8e, 0x17, 0xe0, 0x92, 0x3d, 0x80,
- 0x0a, 0x8f, 0x4c, 0xe4, 0x3b, 0x6d, 0xa7, 0x53, 0xed, 0xbe, 0xbb, 0x97, 0x47, 0xb5, 0x77, 0x89,
- 0xc7, 0xbd, 0x27, 0x91, 0x89, 0xbe, 0x4c, 0x4c, 0x36, 0x0b, 0xc8, 0xa6, 0xf9, 0x13, 0x78, 0x73,
- 0x08, 0x5d, 0x1f, 0x89, 0x19, 0x9d, 0xe6, 0x05, 0xb8, 0x64, 0x9f, 0xc1, 0xca, 0x34, 0x8a, 0x27,
- 0x82, 0x8e, 0xab, 0x76, 0xdf, 0x79, 0xad, 0x6f, 0xc4, 0x10, 0x08, 0xac, 0xcd, 0x83, 0xf2, 0xa7,
- 0xa5, 0xe6, 0x1f, 0x15, 0x70, 0x0b, 0x1c, 0xd3, 0x47, 0x7b, 0xc9, 0xf3, 0x84, 0x72, 0x89, 0x5d,
- 0x87, 0x95, 0x49, 0x12, 0x8d, 0x45, 0x9e, 0x94, 0x15, 0x10, 0xed, 0xab, 0xa9, 0xc8, 0x7c, 0xc7,
- 0xa2, 0x24, 0x60, 0x8c, 0x13, 0xc9, 0xfd, 0x0a, 0x39, 0xc0, 0x25, 0xbb, 0x05, 0x5e, 0x2c, 0xa7,
- 0x22, 0x34, 0x72, 0x2c, 0xfc, 0x15, 0xd2, 0x75, 0x11, 0x78, 0x2e, 0xc7, 0x82, 0xdd, 0x85, 0x5a,
- 0xa6, 0x26, 0x09, 0x0f, 0xb5, 0x89, 0xcc, 0x44, 0xfb, 0xab, 0x64, 0x57, 0x25, 0xec, 0x80, 0x20,
- 0xb6, 0x0d, 0x6b, 0x2a, 0x09, 0x07, 0x71, 0x34, 0xf4, 0xd7, 0x6c, 0x58, 0x2a, 0x79, 0x1a, 0x47,
- 0x43, 0x0c, 0xc0, 0x48, 0x13, 0x0b, 0xdf, 0xb5, 0x01, 0x90, 0xc0, 0xee, 0x40, 0x35, 0x56, 0xfd,
- 0xa3, 0xc2, 0xa1, 0x47, 0x7b, 0x80, 0x50, 0xee, 0xef, 0xff, 0xb0, 0x3e, 0x92, 0x9c, 0x8b, 0xa4,
- 0x50, 0x01, 0x52, 0xa9, 0x59, 0x30, 0x57, 0xba, 0x0d, 0x30, 0xd1, 0x22, 0x0b, 0x6d, 0x86, 0x55,
- 0xd2, 0xf0, 0x10, 0x79, 0x4c, 0x59, 0xde, 0x04, 0x57, 0x8f, 0x54, 0x66, 0x42, 0xc9, 0xfd, 0x1a,
- 0x05, 0xb5, 0x46, 0x72, 0x8f, 0x63, 0x11, 0x55, 0x12, 0xcb, 0x44, 0xf8, 0xeb, 0x45, 0xb4, 0x28,
- 0x61, 0xaf, 0x44, 0x99, 0x88, 0xfc, 0xba, 0xed, 0x15, 0x5c, 0xb3, 0x1d, 0x00, 0xfc, 0x86, 0xd3,
- 0x2e, 0x3a, 0xda, 0xa0, 0x1d, 0x17, 0x91, 0x1f, 0xba, 0x3d, 0xce, 0xde, 0x83, 0xcd, 0x62, 0x37,
- 0x8d, 0x32, 0x91, 0xd0, 0x69, 0x0d, 0x52, 0xaa, 0x5b, 0xa5, 0x67, 0x04, 0xf7, 0x38, 0x6b, 0x43,
- 0xad, 0x50, 0xa5, 0x8b, 0xda, 0xb4, 0x59, 0x5b, 0xad, 0x6f, 0xf1, 0xb6, 0x3e, 0x84, 0xad, 0x0b,
- 0xce, 0x48, 0x91, 0x91, 0x62, 0x63, 0xd9, 0x1d, 0xa9, 0xb7, 0x00, 0x22, 0x63, 0x44, 0x62, 0xa4,
- 0x4a, 0xb4, 0xbf, 0x45, 0x87, 0x2e, 0x21, 0xbb, 0x1f, 0x43, 0x7d, 0xa9, 0xc5, 0x70, 0x9a, 0xea,
- 0x50, 0x9e, 0x37, 0x4e, 0x59, 0x72, 0xcc, 0x77, 0x90, 0xa9, 0x71, 0xde, 0x33, 0xb4, 0xde, 0x7d,
- 0x55, 0x83, 0x8d, 0x73, 0x66, 0xff, 0x7a, 0x86, 0xf6, 0xe7, 0x33, 0x84, 0x7d, 0x7e, 0xfb, 0xb2,
- 0x3e, 0x9f, 0xcf, 0x4f, 0x3e, 0x3a, 0x47, 0xb0, 0xf1, 0x4c, 0x24, 0x3c, 0x4a, 0xcc, 0x0b, 0x69,
- 0x46, 0x4f, 0x84, 0xee, 0xe3, 0x59, 0x94, 0xb5, 0x9d, 0x20, 0x5a, 0xb3, 0x26, 0xb8, 0xa9, 0xd2,
- 0x12, 0xd3, 0xa2, 0x03, 0x9d, 0x60, 0x2e, 0x63, 0x87, 0xd9, 0xf1, 0xca, 0x5b, 0x9c, 0x04, 0xf4,
- 0xc2, 0x85, 0xee, 0x53, 0x8f, 0x7b, 0x01, 0xad, 0x9b, 0xdf, 0xc1, 0x5a, 0x7e, 0xd8, 0x7f, 0x73,
- 0x48, 0xf3, 0xb7, 0x32, 0xb8, 0xb9, 0x47, 0xcd, 0x1e, 0xc2, 0xca, 0x20, 0x2b, 0x7c, 0x56, 0xbb,
- 0x9d, 0x2b, 0xd3, 0xbf, 0x90, 0x70, 0x60, 0xcd, 0xd0, 0xfe, 0x30, 0xe2, 0xc3, 0x82, 0x26, 0xde,
- 0xc2, 0x9e, 0xcc, 0xd8, 0x63, 0xa8, 0x8d, 0xd5, 0xa1, 0x8c, 0x45, 0x68, 0xc3, 0xb0, 0xb7, 0xd0,
- 0x7e, 0x93, 0x9b, 0xa0, 0x6a, 0xad, 0x9e, 0x52, 0x10, 0x0b, 0x27, 0x36, 0x96, 0xca, 0xdb, 0x39,
- 0x79, 0x84, 0x46, 0xcd, 0xdf, 0x5d, 0xa8, 0xe0, 0x1d, 0x17, 0x3c, 0x53, 0x5a, 0xf0, 0xcc, 0x36,
- 0x10, 0xdf, 0xe3, 0x90, 0x94, 0x17, 0xf4, 0xd5, 0xe3, 0xe7, 0x86, 0xd5, 0x39, 0x3f, 0xac, 0x4d,
- 0x70, 0x8f, 0xc4, 0xcc, 0x26, 0x65, 0xaf, 0x73, 0x2e, 0x2f, 0x0d, 0xf2, 0xca, 0xb9, 0x41, 0xbe,
- 0x03, 0x55, 0xa9, 0xc3, 0x54, 0x65, 0x26, 0x8b, 0xa4, 0x21, 0xc6, 0x72, 0x03, 0x90, 0xfa, 0x59,
- 0x8e, 0xb0, 0x0e, 0x34, 0x28, 0x10, 0x2d, 0x63, 0x9c, 0x33, 0x33, 0x4b, 0x05, 0x31, 0x97, 0x17,
- 0xd4, 0x11, 0x3f, 0x20, 0xf8, 0xf9, 0x2c, 0x15, 0xec, 0x03, 0x60, 0xcb, 0x9a, 0x5a, 0xf4, 0x55,
- 0xc2, 0x89, 0xce, 0x9c, 0xa0, 0xb1, 0xd0, 0x3d, 0x20, 0x9c, 0xbd, 0x0f, 0x9b, 0xcb, 0xda, 0xb1,
- 0x98, 0x8a, 0x98, 0xf8, 0xcd, 0x09, 0x36, 0x16, 0xca, 0xdf, 0x20, 0x4c, 0x2c, 0x88, 0xa4, 0xbb,
- 0x44, 0x71, 0x4e, 0x00, 0x08, 0x2d, 0x58, 0x95, 0xf8, 0x40, 0x72, 0x62, 0x37, 0x27, 0x58, 0x45,
- 0xb1, 0xc7, 0xd9, 0x3d, 0xa8, 0xe7, 0x04, 0x51, 0xec, 0x5b, 0x82, 0xab, 0x59, 0xf4, 0x0b, 0xab,
- 0x75, 0x0b, 0x3c, 0xda, 0xa6, 0x4e, 0x5f, 0xb7, 0x95, 0x43, 0x80, 0xc8, 0xa3, 0x03, 0x8d, 0x65,
- 0x17, 0xa4, 0x53, 0xb7, 0x05, 0x58, 0x38, 0xc9, 0x69, 0xa6, 0xaa, 0x62, 0x3e, 0x3f, 0xc9, 0x32,
- 0xa0, 0xa7, 0x62, 0x9e, 0x1f, 0xd3, 0x02, 0x38, 0x8c, 0xfa, 0x47, 0x43, 0x7a, 0x0f, 0x88, 0xfb,
- 0xbc, 0x60, 0x09, 0x59, 0x3c, 0x01, 0x9b, 0xcb, 0x4f, 0xc0, 0x3d, 0xa8, 0x4b, 0x1d, 0x6a, 0x93,
- 0xc9, 0xbe, 0x09, 0xb1, 0x32, 0x44, 0x73, 0x6e, 0x50, 0x93, 0xfa, 0x80, 0x40, 0x6c, 0xb5, 0x0b,
- 0x14, 0xbf, 0x75, 0x91, 0xe2, 0xcf, 0x3d, 0x5b, 0xd7, 0x2f, 0x3c, 0x5b, 0x38, 0xcf, 0xf9, 0x70,
- 0xfa, 0xff, 0xb3, 0x7b, 0x85, 0x8c, 0xef, 0x0b, 0xe5, 0x33, 0x57, 0xb8, 0x61, 0xdf, 0x17, 0x04,
- 0xe7, 0x13, 0xdd, 0x86, 0x2a, 0xf2, 0x46, 0x26, 0x53, 0xe2, 0x84, 0x6d, 0x52, 0x59, 0x86, 0x90,
- 0x46, 0x4c, 0x34, 0xd4, 0xbe, 0x6f, 0x69, 0x04, 0xd7, 0xd8, 0x92, 0x53, 0x91, 0xc9, 0xc1, 0xcc,
- 0xbf, 0x49, 0x68, 0x2e, 0x61, 0xac, 0x23, 0x65, 0xc2, 0x13, 0x95, 0x71, 0xed, 0x37, 0xe9, 0xd7,
- 0xc5, 0x1d, 0x29, 0xf3, 0x02, 0x65, 0x76, 0x1f, 0x6e, 0x44, 0x71, 0xac, 0x4e, 0xc2, 0xfe, 0x28,
- 0x4a, 0x86, 0xc2, 0x16, 0x9b, 0xb2, 0xba, 0x45, 0xe5, 0xde, 0xa2, 0xdd, 0xc7, 0xb4, 0x89, 0x65,
- 0xa7, 0x04, 0x3f, 0x81, 0x6d, 0x6b, 0x34, 0x49, 0x63, 0x15, 0x71, 0x5b, 0x24, 0x6b, 0xb5, 0x43,
- 0x56, 0xd7, 0x69, 0xfb, 0x7b, 0xda, 0xa5, 0x82, 0x91, 0xd9, 0x13, 0xa8, 0x25, 0xe2, 0x64, 0x91,
- 0xfa, 0x6d, 0x9a, 0xf1, 0xbb, 0x6f, 0x9a, 0x71, 0x1d, 0x54, 0x13, 0x71, 0x32, 0x2f, 0x0e, 0xde,
- 0x4c, 0x1a, 0x6a, 0xa1, 0x35, 0xd6, 0xa6, 0x95, 0xdf, 0x4c, 0x7a, 0x60, 0x01, 0xcc, 0x36, 0x9d,
- 0xbf, 0xef, 0x77, 0x72, 0x36, 0xcd, 0x5f, 0xf7, 0xee, 0xaf, 0x25, 0xa8, 0xd0, 0xf5, 0x7e, 0x0d,
- 0xf5, 0xa1, 0x30, 0xa1, 0x4c, 0x06, 0x2a, 0x3c, 0x9c, 0x85, 0xf8, 0x23, 0x72, 0xf5, 0xdf, 0xd1,
- 0x71, 0x73, 0xe7, 0x75, 0xbf, 0x4e, 0xec, 0x73, 0x70, 0x0b, 0x67, 0x6c, 0xfb, 0xf2, 0x6c, 0x8e,
- 0x9b, 0xfe, 0x55, 0x69, 0x3e, 0xda, 0xf9, 0xf3, 0xb4, 0x55, 0x7a, 0x79, 0xda, 0x2a, 0xbd, 0x3a,
- 0x6d, 0x95, 0x7e, 0x39, 0x6b, 0x5d, 0x7b, 0x79, 0xd6, 0xba, 0xf6, 0xd7, 0x59, 0xeb, 0xda, 0x8f,
- 0xe5, 0xe9, 0xfe, 0xe1, 0x2a, 0xfd, 0xad, 0xde, 0xff, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x85, 0xf9,
- 0xa5, 0xa3, 0xbe, 0x0a, 0x00, 0x00,
- }
|