Room.pb.go 143 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v1/Room.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. type RoomAllLiveForBigdataReq struct {
  19. }
  20. func (m *RoomAllLiveForBigdataReq) Reset() { *m = RoomAllLiveForBigdataReq{} }
  21. func (m *RoomAllLiveForBigdataReq) String() string { return proto.CompactTextString(m) }
  22. func (*RoomAllLiveForBigdataReq) ProtoMessage() {}
  23. func (*RoomAllLiveForBigdataReq) Descriptor() ([]byte, []int) {
  24. return fileDescriptor_Room_fa88de92f5bc1f28, []int{0}
  25. }
  26. func (m *RoomAllLiveForBigdataReq) XXX_Unmarshal(b []byte) error {
  27. return m.Unmarshal(b)
  28. }
  29. func (m *RoomAllLiveForBigdataReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  30. if deterministic {
  31. return xxx_messageInfo_RoomAllLiveForBigdataReq.Marshal(b, m, deterministic)
  32. } else {
  33. b = b[:cap(b)]
  34. n, err := m.MarshalTo(b)
  35. if err != nil {
  36. return nil, err
  37. }
  38. return b[:n], nil
  39. }
  40. }
  41. func (dst *RoomAllLiveForBigdataReq) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_RoomAllLiveForBigdataReq.Merge(dst, src)
  43. }
  44. func (m *RoomAllLiveForBigdataReq) XXX_Size() int {
  45. return m.Size()
  46. }
  47. func (m *RoomAllLiveForBigdataReq) XXX_DiscardUnknown() {
  48. xxx_messageInfo_RoomAllLiveForBigdataReq.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_RoomAllLiveForBigdataReq proto.InternalMessageInfo
  51. type RoomAllLiveForBigdataResp struct {
  52. // code
  53. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  54. // msg
  55. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  56. // 房间信息map
  57. Data []*RoomAllLiveForBigdataResp_RoomInfo `protobuf:"bytes,3,rep,name=data" json:"data"`
  58. }
  59. func (m *RoomAllLiveForBigdataResp) Reset() { *m = RoomAllLiveForBigdataResp{} }
  60. func (m *RoomAllLiveForBigdataResp) String() string { return proto.CompactTextString(m) }
  61. func (*RoomAllLiveForBigdataResp) ProtoMessage() {}
  62. func (*RoomAllLiveForBigdataResp) Descriptor() ([]byte, []int) {
  63. return fileDescriptor_Room_fa88de92f5bc1f28, []int{1}
  64. }
  65. func (m *RoomAllLiveForBigdataResp) XXX_Unmarshal(b []byte) error {
  66. return m.Unmarshal(b)
  67. }
  68. func (m *RoomAllLiveForBigdataResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  69. if deterministic {
  70. return xxx_messageInfo_RoomAllLiveForBigdataResp.Marshal(b, m, deterministic)
  71. } else {
  72. b = b[:cap(b)]
  73. n, err := m.MarshalTo(b)
  74. if err != nil {
  75. return nil, err
  76. }
  77. return b[:n], nil
  78. }
  79. }
  80. func (dst *RoomAllLiveForBigdataResp) XXX_Merge(src proto.Message) {
  81. xxx_messageInfo_RoomAllLiveForBigdataResp.Merge(dst, src)
  82. }
  83. func (m *RoomAllLiveForBigdataResp) XXX_Size() int {
  84. return m.Size()
  85. }
  86. func (m *RoomAllLiveForBigdataResp) XXX_DiscardUnknown() {
  87. xxx_messageInfo_RoomAllLiveForBigdataResp.DiscardUnknown(m)
  88. }
  89. var xxx_messageInfo_RoomAllLiveForBigdataResp proto.InternalMessageInfo
  90. func (m *RoomAllLiveForBigdataResp) GetCode() int64 {
  91. if m != nil {
  92. return m.Code
  93. }
  94. return 0
  95. }
  96. func (m *RoomAllLiveForBigdataResp) GetMsg() string {
  97. if m != nil {
  98. return m.Msg
  99. }
  100. return ""
  101. }
  102. func (m *RoomAllLiveForBigdataResp) GetData() []*RoomAllLiveForBigdataResp_RoomInfo {
  103. if m != nil {
  104. return m.Data
  105. }
  106. return nil
  107. }
  108. type RoomAllLiveForBigdataResp_RoomInfo struct {
  109. // 房间id
  110. Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid"`
  111. // 用户id
  112. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  113. // 创建时间
  114. CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time"`
  115. // 短位号
  116. ShortId int64 `protobuf:"varint,4,opt,name=short_id,json=shortId,proto3" json:"short_id"`
  117. // 在线人数
  118. Online int64 `protobuf:"varint,5,opt,name=online,proto3" json:"online"`
  119. // 分区id
  120. Area int64 `protobuf:"varint,6,opt,name=area,proto3" json:"area"`
  121. // 分区v2 id
  122. AreaV2Id int64 `protobuf:"varint,7,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id"`
  123. // 分区v2 父分区id
  124. AreaV2ParentId int64 `protobuf:"varint,8,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id"`
  125. // 关注人数
  126. Attentions int64 `protobuf:"varint,9,opt,name=attentions,proto3" json:"attentions"`
  127. }
  128. func (m *RoomAllLiveForBigdataResp_RoomInfo) Reset() { *m = RoomAllLiveForBigdataResp_RoomInfo{} }
  129. func (m *RoomAllLiveForBigdataResp_RoomInfo) String() string { return proto.CompactTextString(m) }
  130. func (*RoomAllLiveForBigdataResp_RoomInfo) ProtoMessage() {}
  131. func (*RoomAllLiveForBigdataResp_RoomInfo) Descriptor() ([]byte, []int) {
  132. return fileDescriptor_Room_fa88de92f5bc1f28, []int{1, 0}
  133. }
  134. func (m *RoomAllLiveForBigdataResp_RoomInfo) XXX_Unmarshal(b []byte) error {
  135. return m.Unmarshal(b)
  136. }
  137. func (m *RoomAllLiveForBigdataResp_RoomInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  138. if deterministic {
  139. return xxx_messageInfo_RoomAllLiveForBigdataResp_RoomInfo.Marshal(b, m, deterministic)
  140. } else {
  141. b = b[:cap(b)]
  142. n, err := m.MarshalTo(b)
  143. if err != nil {
  144. return nil, err
  145. }
  146. return b[:n], nil
  147. }
  148. }
  149. func (dst *RoomAllLiveForBigdataResp_RoomInfo) XXX_Merge(src proto.Message) {
  150. xxx_messageInfo_RoomAllLiveForBigdataResp_RoomInfo.Merge(dst, src)
  151. }
  152. func (m *RoomAllLiveForBigdataResp_RoomInfo) XXX_Size() int {
  153. return m.Size()
  154. }
  155. func (m *RoomAllLiveForBigdataResp_RoomInfo) XXX_DiscardUnknown() {
  156. xxx_messageInfo_RoomAllLiveForBigdataResp_RoomInfo.DiscardUnknown(m)
  157. }
  158. var xxx_messageInfo_RoomAllLiveForBigdataResp_RoomInfo proto.InternalMessageInfo
  159. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetRoomid() int64 {
  160. if m != nil {
  161. return m.Roomid
  162. }
  163. return 0
  164. }
  165. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetUid() int64 {
  166. if m != nil {
  167. return m.Uid
  168. }
  169. return 0
  170. }
  171. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetCreateTime() int64 {
  172. if m != nil {
  173. return m.CreateTime
  174. }
  175. return 0
  176. }
  177. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetShortId() int64 {
  178. if m != nil {
  179. return m.ShortId
  180. }
  181. return 0
  182. }
  183. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetOnline() int64 {
  184. if m != nil {
  185. return m.Online
  186. }
  187. return 0
  188. }
  189. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetArea() int64 {
  190. if m != nil {
  191. return m.Area
  192. }
  193. return 0
  194. }
  195. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetAreaV2Id() int64 {
  196. if m != nil {
  197. return m.AreaV2Id
  198. }
  199. return 0
  200. }
  201. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetAreaV2ParentId() int64 {
  202. if m != nil {
  203. return m.AreaV2ParentId
  204. }
  205. return 0
  206. }
  207. func (m *RoomAllLiveForBigdataResp_RoomInfo) GetAttentions() int64 {
  208. if m != nil {
  209. return m.Attentions
  210. }
  211. return 0
  212. }
  213. type RoomGetInfoByIdReq struct {
  214. // 房间id, 可以为短号
  215. Ids []int64 `protobuf:"varint,1,rep,packed,name=ids" json:"ids"`
  216. // 需要哪些字段, 不传默认所有
  217. Fields []string `protobuf:"bytes,2,rep,name=fields" json:"fields"`
  218. }
  219. func (m *RoomGetInfoByIdReq) Reset() { *m = RoomGetInfoByIdReq{} }
  220. func (m *RoomGetInfoByIdReq) String() string { return proto.CompactTextString(m) }
  221. func (*RoomGetInfoByIdReq) ProtoMessage() {}
  222. func (*RoomGetInfoByIdReq) Descriptor() ([]byte, []int) {
  223. return fileDescriptor_Room_fa88de92f5bc1f28, []int{2}
  224. }
  225. func (m *RoomGetInfoByIdReq) XXX_Unmarshal(b []byte) error {
  226. return m.Unmarshal(b)
  227. }
  228. func (m *RoomGetInfoByIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  229. if deterministic {
  230. return xxx_messageInfo_RoomGetInfoByIdReq.Marshal(b, m, deterministic)
  231. } else {
  232. b = b[:cap(b)]
  233. n, err := m.MarshalTo(b)
  234. if err != nil {
  235. return nil, err
  236. }
  237. return b[:n], nil
  238. }
  239. }
  240. func (dst *RoomGetInfoByIdReq) XXX_Merge(src proto.Message) {
  241. xxx_messageInfo_RoomGetInfoByIdReq.Merge(dst, src)
  242. }
  243. func (m *RoomGetInfoByIdReq) XXX_Size() int {
  244. return m.Size()
  245. }
  246. func (m *RoomGetInfoByIdReq) XXX_DiscardUnknown() {
  247. xxx_messageInfo_RoomGetInfoByIdReq.DiscardUnknown(m)
  248. }
  249. var xxx_messageInfo_RoomGetInfoByIdReq proto.InternalMessageInfo
  250. func (m *RoomGetInfoByIdReq) GetIds() []int64 {
  251. if m != nil {
  252. return m.Ids
  253. }
  254. return nil
  255. }
  256. func (m *RoomGetInfoByIdReq) GetFields() []string {
  257. if m != nil {
  258. return m.Fields
  259. }
  260. return nil
  261. }
  262. type RoomGetInfoByIdResp struct {
  263. // code
  264. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  265. // msg
  266. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  267. // 房间信息map
  268. Data map[int64]*RoomGetInfoByIdResp_RoomInfo `protobuf:"bytes,3,rep,name=data" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  269. }
  270. func (m *RoomGetInfoByIdResp) Reset() { *m = RoomGetInfoByIdResp{} }
  271. func (m *RoomGetInfoByIdResp) String() string { return proto.CompactTextString(m) }
  272. func (*RoomGetInfoByIdResp) ProtoMessage() {}
  273. func (*RoomGetInfoByIdResp) Descriptor() ([]byte, []int) {
  274. return fileDescriptor_Room_fa88de92f5bc1f28, []int{3}
  275. }
  276. func (m *RoomGetInfoByIdResp) XXX_Unmarshal(b []byte) error {
  277. return m.Unmarshal(b)
  278. }
  279. func (m *RoomGetInfoByIdResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  280. if deterministic {
  281. return xxx_messageInfo_RoomGetInfoByIdResp.Marshal(b, m, deterministic)
  282. } else {
  283. b = b[:cap(b)]
  284. n, err := m.MarshalTo(b)
  285. if err != nil {
  286. return nil, err
  287. }
  288. return b[:n], nil
  289. }
  290. }
  291. func (dst *RoomGetInfoByIdResp) XXX_Merge(src proto.Message) {
  292. xxx_messageInfo_RoomGetInfoByIdResp.Merge(dst, src)
  293. }
  294. func (m *RoomGetInfoByIdResp) XXX_Size() int {
  295. return m.Size()
  296. }
  297. func (m *RoomGetInfoByIdResp) XXX_DiscardUnknown() {
  298. xxx_messageInfo_RoomGetInfoByIdResp.DiscardUnknown(m)
  299. }
  300. var xxx_messageInfo_RoomGetInfoByIdResp proto.InternalMessageInfo
  301. func (m *RoomGetInfoByIdResp) GetCode() int64 {
  302. if m != nil {
  303. return m.Code
  304. }
  305. return 0
  306. }
  307. func (m *RoomGetInfoByIdResp) GetMsg() string {
  308. if m != nil {
  309. return m.Msg
  310. }
  311. return ""
  312. }
  313. func (m *RoomGetInfoByIdResp) GetData() map[int64]*RoomGetInfoByIdResp_RoomInfo {
  314. if m != nil {
  315. return m.Data
  316. }
  317. return nil
  318. }
  319. type RoomGetInfoByIdResp_RoomInfo struct {
  320. // 房间id
  321. Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid"`
  322. // 用户名, 不可靠.
  323. Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname"`
  324. // 封面
  325. Cover string `protobuf:"bytes,3,opt,name=cover,proto3" json:"cover"`
  326. // 用户id
  327. Uid int64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid"`
  328. // 开播时间
  329. LiveTime string `protobuf:"bytes,5,opt,name=live_time,json=liveTime,proto3" json:"live_time"`
  330. // 轮播状态
  331. RoundStatus int64 `protobuf:"varint,6,opt,name=round_status,json=roundStatus,proto3" json:"round_status"`
  332. // 是否开播
  333. OnFlag int64 `protobuf:"varint,7,opt,name=on_flag,json=onFlag,proto3" json:"on_flag"`
  334. // 直播间标题
  335. Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title"`
  336. // 锁定到时间
  337. LockStatus string `protobuf:"bytes,9,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status"`
  338. // 隐藏到时间
  339. HiddenStatus string `protobuf:"bytes,10,opt,name=hidden_status,json=hiddenStatus,proto3" json:"hidden_status"`
  340. // 也是封面...
  341. UserCover string `protobuf:"bytes,11,opt,name=user_cover,json=userCover,proto3" json:"user_cover"`
  342. // 短号
  343. ShortId int64 `protobuf:"varint,12,opt,name=short_id,json=shortId,proto3" json:"short_id"`
  344. // 在线人数
  345. Online int64 `protobuf:"varint,13,opt,name=online,proto3" json:"online"`
  346. // 分区id
  347. Area int64 `protobuf:"varint,14,opt,name=area,proto3" json:"area"`
  348. // 分区v2 id
  349. AreaV2Id int64 `protobuf:"varint,15,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id"`
  350. // 分区v2 父分区id
  351. AreaV2ParentId int64 `protobuf:"varint,16,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id"`
  352. // 分区v2名字 fields加了该字段才会给
  353. AreaV2Name string `protobuf:"bytes,17,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
  354. // 分区v2父分区名字 fields加了该字段才会给
  355. AreaV2ParentName string `protobuf:"bytes,18,opt,name=area_v2_parent_name,json=areaV2ParentName,proto3" json:"area_v2_parent_name"`
  356. // 关注人数
  357. Attentions int64 `protobuf:"varint,19,opt,name=attentions,proto3" json:"attentions"`
  358. }
  359. func (m *RoomGetInfoByIdResp_RoomInfo) Reset() { *m = RoomGetInfoByIdResp_RoomInfo{} }
  360. func (m *RoomGetInfoByIdResp_RoomInfo) String() string { return proto.CompactTextString(m) }
  361. func (*RoomGetInfoByIdResp_RoomInfo) ProtoMessage() {}
  362. func (*RoomGetInfoByIdResp_RoomInfo) Descriptor() ([]byte, []int) {
  363. return fileDescriptor_Room_fa88de92f5bc1f28, []int{3, 1}
  364. }
  365. func (m *RoomGetInfoByIdResp_RoomInfo) XXX_Unmarshal(b []byte) error {
  366. return m.Unmarshal(b)
  367. }
  368. func (m *RoomGetInfoByIdResp_RoomInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  369. if deterministic {
  370. return xxx_messageInfo_RoomGetInfoByIdResp_RoomInfo.Marshal(b, m, deterministic)
  371. } else {
  372. b = b[:cap(b)]
  373. n, err := m.MarshalTo(b)
  374. if err != nil {
  375. return nil, err
  376. }
  377. return b[:n], nil
  378. }
  379. }
  380. func (dst *RoomGetInfoByIdResp_RoomInfo) XXX_Merge(src proto.Message) {
  381. xxx_messageInfo_RoomGetInfoByIdResp_RoomInfo.Merge(dst, src)
  382. }
  383. func (m *RoomGetInfoByIdResp_RoomInfo) XXX_Size() int {
  384. return m.Size()
  385. }
  386. func (m *RoomGetInfoByIdResp_RoomInfo) XXX_DiscardUnknown() {
  387. xxx_messageInfo_RoomGetInfoByIdResp_RoomInfo.DiscardUnknown(m)
  388. }
  389. var xxx_messageInfo_RoomGetInfoByIdResp_RoomInfo proto.InternalMessageInfo
  390. func (m *RoomGetInfoByIdResp_RoomInfo) GetRoomid() int64 {
  391. if m != nil {
  392. return m.Roomid
  393. }
  394. return 0
  395. }
  396. func (m *RoomGetInfoByIdResp_RoomInfo) GetUname() string {
  397. if m != nil {
  398. return m.Uname
  399. }
  400. return ""
  401. }
  402. func (m *RoomGetInfoByIdResp_RoomInfo) GetCover() string {
  403. if m != nil {
  404. return m.Cover
  405. }
  406. return ""
  407. }
  408. func (m *RoomGetInfoByIdResp_RoomInfo) GetUid() int64 {
  409. if m != nil {
  410. return m.Uid
  411. }
  412. return 0
  413. }
  414. func (m *RoomGetInfoByIdResp_RoomInfo) GetLiveTime() string {
  415. if m != nil {
  416. return m.LiveTime
  417. }
  418. return ""
  419. }
  420. func (m *RoomGetInfoByIdResp_RoomInfo) GetRoundStatus() int64 {
  421. if m != nil {
  422. return m.RoundStatus
  423. }
  424. return 0
  425. }
  426. func (m *RoomGetInfoByIdResp_RoomInfo) GetOnFlag() int64 {
  427. if m != nil {
  428. return m.OnFlag
  429. }
  430. return 0
  431. }
  432. func (m *RoomGetInfoByIdResp_RoomInfo) GetTitle() string {
  433. if m != nil {
  434. return m.Title
  435. }
  436. return ""
  437. }
  438. func (m *RoomGetInfoByIdResp_RoomInfo) GetLockStatus() string {
  439. if m != nil {
  440. return m.LockStatus
  441. }
  442. return ""
  443. }
  444. func (m *RoomGetInfoByIdResp_RoomInfo) GetHiddenStatus() string {
  445. if m != nil {
  446. return m.HiddenStatus
  447. }
  448. return ""
  449. }
  450. func (m *RoomGetInfoByIdResp_RoomInfo) GetUserCover() string {
  451. if m != nil {
  452. return m.UserCover
  453. }
  454. return ""
  455. }
  456. func (m *RoomGetInfoByIdResp_RoomInfo) GetShortId() int64 {
  457. if m != nil {
  458. return m.ShortId
  459. }
  460. return 0
  461. }
  462. func (m *RoomGetInfoByIdResp_RoomInfo) GetOnline() int64 {
  463. if m != nil {
  464. return m.Online
  465. }
  466. return 0
  467. }
  468. func (m *RoomGetInfoByIdResp_RoomInfo) GetArea() int64 {
  469. if m != nil {
  470. return m.Area
  471. }
  472. return 0
  473. }
  474. func (m *RoomGetInfoByIdResp_RoomInfo) GetAreaV2Id() int64 {
  475. if m != nil {
  476. return m.AreaV2Id
  477. }
  478. return 0
  479. }
  480. func (m *RoomGetInfoByIdResp_RoomInfo) GetAreaV2ParentId() int64 {
  481. if m != nil {
  482. return m.AreaV2ParentId
  483. }
  484. return 0
  485. }
  486. func (m *RoomGetInfoByIdResp_RoomInfo) GetAreaV2Name() string {
  487. if m != nil {
  488. return m.AreaV2Name
  489. }
  490. return ""
  491. }
  492. func (m *RoomGetInfoByIdResp_RoomInfo) GetAreaV2ParentName() string {
  493. if m != nil {
  494. return m.AreaV2ParentName
  495. }
  496. return ""
  497. }
  498. func (m *RoomGetInfoByIdResp_RoomInfo) GetAttentions() int64 {
  499. if m != nil {
  500. return m.Attentions
  501. }
  502. return 0
  503. }
  504. type RoomGetStatusInfoByUidsReq struct {
  505. // 用户id
  506. Uids []int64 `protobuf:"varint,1,rep,packed,name=uids" json:"uids"`
  507. // 是否只获取在播的用户信息 默认0
  508. FilterOffline int64 `protobuf:"varint,2,opt,name=filter_offline,json=filterOffline,proto3" json:"filter_offline"`
  509. // 是否显示隐藏的房间 默认0
  510. ShowHidden int64 `protobuf:"varint,3,opt,name=show_hidden,json=showHidden,proto3" json:"show_hidden"`
  511. // 是否过滤首页黑名单的房间 默认0
  512. FilterIndexBlack int64 `protobuf:"varint,4,opt,name=filter_index_black,json=filterIndexBlack,proto3" json:"filter_index_black"`
  513. // 是否过滤放映厅 默认0
  514. FilterVideo int64 `protobuf:"varint,5,opt,name=filter_video,json=filterVideo,proto3" json:"filter_video"`
  515. // 是否需要横竖屏信息 默认0
  516. NeedBroadcastType int64 `protobuf:"varint,6,opt,name=need_broadcast_type,json=needBroadcastType,proto3" json:"need_broadcast_type"`
  517. }
  518. func (m *RoomGetStatusInfoByUidsReq) Reset() { *m = RoomGetStatusInfoByUidsReq{} }
  519. func (m *RoomGetStatusInfoByUidsReq) String() string { return proto.CompactTextString(m) }
  520. func (*RoomGetStatusInfoByUidsReq) ProtoMessage() {}
  521. func (*RoomGetStatusInfoByUidsReq) Descriptor() ([]byte, []int) {
  522. return fileDescriptor_Room_fa88de92f5bc1f28, []int{4}
  523. }
  524. func (m *RoomGetStatusInfoByUidsReq) XXX_Unmarshal(b []byte) error {
  525. return m.Unmarshal(b)
  526. }
  527. func (m *RoomGetStatusInfoByUidsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  528. if deterministic {
  529. return xxx_messageInfo_RoomGetStatusInfoByUidsReq.Marshal(b, m, deterministic)
  530. } else {
  531. b = b[:cap(b)]
  532. n, err := m.MarshalTo(b)
  533. if err != nil {
  534. return nil, err
  535. }
  536. return b[:n], nil
  537. }
  538. }
  539. func (dst *RoomGetStatusInfoByUidsReq) XXX_Merge(src proto.Message) {
  540. xxx_messageInfo_RoomGetStatusInfoByUidsReq.Merge(dst, src)
  541. }
  542. func (m *RoomGetStatusInfoByUidsReq) XXX_Size() int {
  543. return m.Size()
  544. }
  545. func (m *RoomGetStatusInfoByUidsReq) XXX_DiscardUnknown() {
  546. xxx_messageInfo_RoomGetStatusInfoByUidsReq.DiscardUnknown(m)
  547. }
  548. var xxx_messageInfo_RoomGetStatusInfoByUidsReq proto.InternalMessageInfo
  549. func (m *RoomGetStatusInfoByUidsReq) GetUids() []int64 {
  550. if m != nil {
  551. return m.Uids
  552. }
  553. return nil
  554. }
  555. func (m *RoomGetStatusInfoByUidsReq) GetFilterOffline() int64 {
  556. if m != nil {
  557. return m.FilterOffline
  558. }
  559. return 0
  560. }
  561. func (m *RoomGetStatusInfoByUidsReq) GetShowHidden() int64 {
  562. if m != nil {
  563. return m.ShowHidden
  564. }
  565. return 0
  566. }
  567. func (m *RoomGetStatusInfoByUidsReq) GetFilterIndexBlack() int64 {
  568. if m != nil {
  569. return m.FilterIndexBlack
  570. }
  571. return 0
  572. }
  573. func (m *RoomGetStatusInfoByUidsReq) GetFilterVideo() int64 {
  574. if m != nil {
  575. return m.FilterVideo
  576. }
  577. return 0
  578. }
  579. func (m *RoomGetStatusInfoByUidsReq) GetNeedBroadcastType() int64 {
  580. if m != nil {
  581. return m.NeedBroadcastType
  582. }
  583. return 0
  584. }
  585. type RoomGetStatusInfoByUidsResp struct {
  586. //
  587. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  588. //
  589. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  590. //
  591. Data map[int64]*RoomGetStatusInfoByUidsResp_RoomInfo `protobuf:"bytes,3,rep,name=data" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  592. }
  593. func (m *RoomGetStatusInfoByUidsResp) Reset() { *m = RoomGetStatusInfoByUidsResp{} }
  594. func (m *RoomGetStatusInfoByUidsResp) String() string { return proto.CompactTextString(m) }
  595. func (*RoomGetStatusInfoByUidsResp) ProtoMessage() {}
  596. func (*RoomGetStatusInfoByUidsResp) Descriptor() ([]byte, []int) {
  597. return fileDescriptor_Room_fa88de92f5bc1f28, []int{5}
  598. }
  599. func (m *RoomGetStatusInfoByUidsResp) XXX_Unmarshal(b []byte) error {
  600. return m.Unmarshal(b)
  601. }
  602. func (m *RoomGetStatusInfoByUidsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  603. if deterministic {
  604. return xxx_messageInfo_RoomGetStatusInfoByUidsResp.Marshal(b, m, deterministic)
  605. } else {
  606. b = b[:cap(b)]
  607. n, err := m.MarshalTo(b)
  608. if err != nil {
  609. return nil, err
  610. }
  611. return b[:n], nil
  612. }
  613. }
  614. func (dst *RoomGetStatusInfoByUidsResp) XXX_Merge(src proto.Message) {
  615. xxx_messageInfo_RoomGetStatusInfoByUidsResp.Merge(dst, src)
  616. }
  617. func (m *RoomGetStatusInfoByUidsResp) XXX_Size() int {
  618. return m.Size()
  619. }
  620. func (m *RoomGetStatusInfoByUidsResp) XXX_DiscardUnknown() {
  621. xxx_messageInfo_RoomGetStatusInfoByUidsResp.DiscardUnknown(m)
  622. }
  623. var xxx_messageInfo_RoomGetStatusInfoByUidsResp proto.InternalMessageInfo
  624. func (m *RoomGetStatusInfoByUidsResp) GetCode() int64 {
  625. if m != nil {
  626. return m.Code
  627. }
  628. return 0
  629. }
  630. func (m *RoomGetStatusInfoByUidsResp) GetMsg() string {
  631. if m != nil {
  632. return m.Msg
  633. }
  634. return ""
  635. }
  636. func (m *RoomGetStatusInfoByUidsResp) GetData() map[int64]*RoomGetStatusInfoByUidsResp_RoomInfo {
  637. if m != nil {
  638. return m.Data
  639. }
  640. return nil
  641. }
  642. type RoomGetStatusInfoByUidsResp_RoomInfo struct {
  643. // 直播间标题
  644. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title"`
  645. // 房间id
  646. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  647. // 用户id
  648. Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
  649. // 人气值
  650. Online int64 `protobuf:"varint,4,opt,name=online,proto3" json:"online"`
  651. // 开播时间
  652. LiveTime int64 `protobuf:"varint,5,opt,name=live_time,json=liveTime,proto3" json:"live_time"`
  653. // 1开播 2 轮播 0 未开播
  654. LiveStatus int64 `protobuf:"varint,6,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  655. // 短号
  656. ShortId int64 `protobuf:"varint,7,opt,name=short_id,json=shortId,proto3" json:"short_id"`
  657. // 老的分区id (2,3)
  658. Area int64 `protobuf:"varint,8,opt,name=area,proto3" json:"area"`
  659. // 老的分区名字
  660. AreaName string `protobuf:"bytes,9,opt,name=area_name,json=areaName,proto3" json:"area_name"`
  661. // 子分区id (172,189)
  662. AreaV2Id int64 `protobuf:"varint,10,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id"`
  663. // 子分区名字
  664. AreaV2Name string `protobuf:"bytes,11,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
  665. // 父分区名字
  666. AreaV2ParentName string `protobuf:"bytes,12,opt,name=area_v2_parent_name,json=areaV2ParentName,proto3" json:"area_v2_parent_name"`
  667. // 父分区id (1,2)
  668. AreaV2ParentId int64 `protobuf:"varint,13,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id"`
  669. // 老分区标签
  670. TagName string `protobuf:"bytes,14,opt,name=tag_name,json=tagName,proto3" json:"tag_name"`
  671. // 房间标签
  672. Tags string `protobuf:"bytes,15,opt,name=tags,proto3" json:"tags"`
  673. // 用户昵称
  674. Uname string `protobuf:"bytes,16,opt,name=uname,proto3" json:"uname"`
  675. // 用户设定的封面
  676. CoverFromUser string `protobuf:"bytes,17,opt,name=cover_from_user,json=coverFromUser,proto3" json:"cover_from_user"`
  677. // 关键帧
  678. Keyframe string `protobuf:"bytes,18,opt,name=keyframe,proto3" json:"keyframe"`
  679. // 锁定到的时间
  680. LockTill string `protobuf:"bytes,19,opt,name=lock_till,json=lockTill,proto3" json:"lock_till"`
  681. // 隐藏到的时间
  682. HiddenTill string `protobuf:"bytes,20,opt,name=hidden_till,json=hiddenTill,proto3" json:"hidden_till"`
  683. // 横竖屏,只有传了need_broadcast_type才会返回 0:横屏 1:竖屏 -1:异常情况
  684. BroadcastType int64 `protobuf:"varint,21,opt,name=broadcast_type,json=broadcastType,proto3" json:"broadcast_type"`
  685. }
  686. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) Reset() { *m = RoomGetStatusInfoByUidsResp_RoomInfo{} }
  687. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) String() string { return proto.CompactTextString(m) }
  688. func (*RoomGetStatusInfoByUidsResp_RoomInfo) ProtoMessage() {}
  689. func (*RoomGetStatusInfoByUidsResp_RoomInfo) Descriptor() ([]byte, []int) {
  690. return fileDescriptor_Room_fa88de92f5bc1f28, []int{5, 1}
  691. }
  692. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) XXX_Unmarshal(b []byte) error {
  693. return m.Unmarshal(b)
  694. }
  695. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  696. if deterministic {
  697. return xxx_messageInfo_RoomGetStatusInfoByUidsResp_RoomInfo.Marshal(b, m, deterministic)
  698. } else {
  699. b = b[:cap(b)]
  700. n, err := m.MarshalTo(b)
  701. if err != nil {
  702. return nil, err
  703. }
  704. return b[:n], nil
  705. }
  706. }
  707. func (dst *RoomGetStatusInfoByUidsResp_RoomInfo) XXX_Merge(src proto.Message) {
  708. xxx_messageInfo_RoomGetStatusInfoByUidsResp_RoomInfo.Merge(dst, src)
  709. }
  710. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) XXX_Size() int {
  711. return m.Size()
  712. }
  713. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) XXX_DiscardUnknown() {
  714. xxx_messageInfo_RoomGetStatusInfoByUidsResp_RoomInfo.DiscardUnknown(m)
  715. }
  716. var xxx_messageInfo_RoomGetStatusInfoByUidsResp_RoomInfo proto.InternalMessageInfo
  717. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetTitle() string {
  718. if m != nil {
  719. return m.Title
  720. }
  721. return ""
  722. }
  723. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetRoomId() int64 {
  724. if m != nil {
  725. return m.RoomId
  726. }
  727. return 0
  728. }
  729. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetUid() int64 {
  730. if m != nil {
  731. return m.Uid
  732. }
  733. return 0
  734. }
  735. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetOnline() int64 {
  736. if m != nil {
  737. return m.Online
  738. }
  739. return 0
  740. }
  741. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetLiveTime() int64 {
  742. if m != nil {
  743. return m.LiveTime
  744. }
  745. return 0
  746. }
  747. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetLiveStatus() int64 {
  748. if m != nil {
  749. return m.LiveStatus
  750. }
  751. return 0
  752. }
  753. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetShortId() int64 {
  754. if m != nil {
  755. return m.ShortId
  756. }
  757. return 0
  758. }
  759. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetArea() int64 {
  760. if m != nil {
  761. return m.Area
  762. }
  763. return 0
  764. }
  765. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetAreaName() string {
  766. if m != nil {
  767. return m.AreaName
  768. }
  769. return ""
  770. }
  771. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetAreaV2Id() int64 {
  772. if m != nil {
  773. return m.AreaV2Id
  774. }
  775. return 0
  776. }
  777. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetAreaV2Name() string {
  778. if m != nil {
  779. return m.AreaV2Name
  780. }
  781. return ""
  782. }
  783. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetAreaV2ParentName() string {
  784. if m != nil {
  785. return m.AreaV2ParentName
  786. }
  787. return ""
  788. }
  789. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetAreaV2ParentId() int64 {
  790. if m != nil {
  791. return m.AreaV2ParentId
  792. }
  793. return 0
  794. }
  795. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetTagName() string {
  796. if m != nil {
  797. return m.TagName
  798. }
  799. return ""
  800. }
  801. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetTags() string {
  802. if m != nil {
  803. return m.Tags
  804. }
  805. return ""
  806. }
  807. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetUname() string {
  808. if m != nil {
  809. return m.Uname
  810. }
  811. return ""
  812. }
  813. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetCoverFromUser() string {
  814. if m != nil {
  815. return m.CoverFromUser
  816. }
  817. return ""
  818. }
  819. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetKeyframe() string {
  820. if m != nil {
  821. return m.Keyframe
  822. }
  823. return ""
  824. }
  825. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetLockTill() string {
  826. if m != nil {
  827. return m.LockTill
  828. }
  829. return ""
  830. }
  831. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetHiddenTill() string {
  832. if m != nil {
  833. return m.HiddenTill
  834. }
  835. return ""
  836. }
  837. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) GetBroadcastType() int64 {
  838. if m != nil {
  839. return m.BroadcastType
  840. }
  841. return 0
  842. }
  843. type RoomMobileRoomInitReq struct {
  844. // 房间号或者短位号
  845. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  846. // 语言 hant: 国际版繁体中文 hans: 国际版简体中文
  847. Lang string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang"`
  848. }
  849. func (m *RoomMobileRoomInitReq) Reset() { *m = RoomMobileRoomInitReq{} }
  850. func (m *RoomMobileRoomInitReq) String() string { return proto.CompactTextString(m) }
  851. func (*RoomMobileRoomInitReq) ProtoMessage() {}
  852. func (*RoomMobileRoomInitReq) Descriptor() ([]byte, []int) {
  853. return fileDescriptor_Room_fa88de92f5bc1f28, []int{6}
  854. }
  855. func (m *RoomMobileRoomInitReq) XXX_Unmarshal(b []byte) error {
  856. return m.Unmarshal(b)
  857. }
  858. func (m *RoomMobileRoomInitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  859. if deterministic {
  860. return xxx_messageInfo_RoomMobileRoomInitReq.Marshal(b, m, deterministic)
  861. } else {
  862. b = b[:cap(b)]
  863. n, err := m.MarshalTo(b)
  864. if err != nil {
  865. return nil, err
  866. }
  867. return b[:n], nil
  868. }
  869. }
  870. func (dst *RoomMobileRoomInitReq) XXX_Merge(src proto.Message) {
  871. xxx_messageInfo_RoomMobileRoomInitReq.Merge(dst, src)
  872. }
  873. func (m *RoomMobileRoomInitReq) XXX_Size() int {
  874. return m.Size()
  875. }
  876. func (m *RoomMobileRoomInitReq) XXX_DiscardUnknown() {
  877. xxx_messageInfo_RoomMobileRoomInitReq.DiscardUnknown(m)
  878. }
  879. var xxx_messageInfo_RoomMobileRoomInitReq proto.InternalMessageInfo
  880. func (m *RoomMobileRoomInitReq) GetId() int64 {
  881. if m != nil {
  882. return m.Id
  883. }
  884. return 0
  885. }
  886. func (m *RoomMobileRoomInitReq) GetLang() string {
  887. if m != nil {
  888. return m.Lang
  889. }
  890. return ""
  891. }
  892. type RoomMobileRoomInitResp struct {
  893. // code
  894. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  895. // msg
  896. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  897. //
  898. Data *RoomMobileRoomInitResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  899. }
  900. func (m *RoomMobileRoomInitResp) Reset() { *m = RoomMobileRoomInitResp{} }
  901. func (m *RoomMobileRoomInitResp) String() string { return proto.CompactTextString(m) }
  902. func (*RoomMobileRoomInitResp) ProtoMessage() {}
  903. func (*RoomMobileRoomInitResp) Descriptor() ([]byte, []int) {
  904. return fileDescriptor_Room_fa88de92f5bc1f28, []int{7}
  905. }
  906. func (m *RoomMobileRoomInitResp) XXX_Unmarshal(b []byte) error {
  907. return m.Unmarshal(b)
  908. }
  909. func (m *RoomMobileRoomInitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  910. if deterministic {
  911. return xxx_messageInfo_RoomMobileRoomInitResp.Marshal(b, m, deterministic)
  912. } else {
  913. b = b[:cap(b)]
  914. n, err := m.MarshalTo(b)
  915. if err != nil {
  916. return nil, err
  917. }
  918. return b[:n], nil
  919. }
  920. }
  921. func (dst *RoomMobileRoomInitResp) XXX_Merge(src proto.Message) {
  922. xxx_messageInfo_RoomMobileRoomInitResp.Merge(dst, src)
  923. }
  924. func (m *RoomMobileRoomInitResp) XXX_Size() int {
  925. return m.Size()
  926. }
  927. func (m *RoomMobileRoomInitResp) XXX_DiscardUnknown() {
  928. xxx_messageInfo_RoomMobileRoomInitResp.DiscardUnknown(m)
  929. }
  930. var xxx_messageInfo_RoomMobileRoomInitResp proto.InternalMessageInfo
  931. func (m *RoomMobileRoomInitResp) GetCode() int64 {
  932. if m != nil {
  933. return m.Code
  934. }
  935. return 0
  936. }
  937. func (m *RoomMobileRoomInitResp) GetMsg() string {
  938. if m != nil {
  939. return m.Msg
  940. }
  941. return ""
  942. }
  943. func (m *RoomMobileRoomInitResp) GetData() *RoomMobileRoomInitResp_Data {
  944. if m != nil {
  945. return m.Data
  946. }
  947. return nil
  948. }
  949. type RoomMobileRoomInitResp_Data struct {
  950. // 房间号
  951. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  952. // 短号
  953. ShortId int64 `protobuf:"varint,2,opt,name=short_id,json=shortId,proto3" json:"short_id"`
  954. // 主播uid
  955. Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
  956. // 是否p2p
  957. NeedP2P int64 `protobuf:"varint,4,opt,name=need_p2p,json=needP2p,proto3" json:"need_p2p"`
  958. // 是否锁定
  959. IsLocked bool `protobuf:"varint,5,opt,name=is_locked,json=isLocked,proto3" json:"is_locked"`
  960. // 是否隐藏
  961. IsHidden bool `protobuf:"varint,6,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden"`
  962. // 锁定时间戳
  963. LockTill int64 `protobuf:"varint,7,opt,name=lock_till,json=lockTill,proto3" json:"lock_till"`
  964. // 隐藏时间戳
  965. HiddenTill int64 `protobuf:"varint,8,opt,name=hidden_till,json=hiddenTill,proto3" json:"hidden_till"`
  966. // 是否加密
  967. Encrypted bool `protobuf:"varint,9,opt,name=encrypted,proto3" json:"encrypted"`
  968. // 加密房间是否通过密码验证, encrypted=true时才有意义
  969. PwdVerified bool `protobuf:"varint,10,opt,name=pwd_verified,json=pwdVerified,proto3" json:"pwd_verified"`
  970. // 是否竖屏
  971. IsPortrait bool `protobuf:"varint,11,opt,name=is_portrait,json=isPortrait,proto3" json:"is_portrait"`
  972. // 开播状态 0:关播 1:直播 2:轮播
  973. LiveStatus int64 `protobuf:"varint,12,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  974. // 特殊直播间值 0 为普通直播间 1为付费直播间
  975. IsSp int64 `protobuf:"varint,13,opt,name=is_sp,json=isSp,proto3" json:"is_sp"`
  976. // 特殊直播间标志 0 为普通直播间,1为付费直播间, 2为拜年祭直播间
  977. SpecialType int64 `protobuf:"varint,14,opt,name=special_type,json=specialType,proto3" json:"special_type"`
  978. }
  979. func (m *RoomMobileRoomInitResp_Data) Reset() { *m = RoomMobileRoomInitResp_Data{} }
  980. func (m *RoomMobileRoomInitResp_Data) String() string { return proto.CompactTextString(m) }
  981. func (*RoomMobileRoomInitResp_Data) ProtoMessage() {}
  982. func (*RoomMobileRoomInitResp_Data) Descriptor() ([]byte, []int) {
  983. return fileDescriptor_Room_fa88de92f5bc1f28, []int{7, 0}
  984. }
  985. func (m *RoomMobileRoomInitResp_Data) XXX_Unmarshal(b []byte) error {
  986. return m.Unmarshal(b)
  987. }
  988. func (m *RoomMobileRoomInitResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  989. if deterministic {
  990. return xxx_messageInfo_RoomMobileRoomInitResp_Data.Marshal(b, m, deterministic)
  991. } else {
  992. b = b[:cap(b)]
  993. n, err := m.MarshalTo(b)
  994. if err != nil {
  995. return nil, err
  996. }
  997. return b[:n], nil
  998. }
  999. }
  1000. func (dst *RoomMobileRoomInitResp_Data) XXX_Merge(src proto.Message) {
  1001. xxx_messageInfo_RoomMobileRoomInitResp_Data.Merge(dst, src)
  1002. }
  1003. func (m *RoomMobileRoomInitResp_Data) XXX_Size() int {
  1004. return m.Size()
  1005. }
  1006. func (m *RoomMobileRoomInitResp_Data) XXX_DiscardUnknown() {
  1007. xxx_messageInfo_RoomMobileRoomInitResp_Data.DiscardUnknown(m)
  1008. }
  1009. var xxx_messageInfo_RoomMobileRoomInitResp_Data proto.InternalMessageInfo
  1010. func (m *RoomMobileRoomInitResp_Data) GetRoomId() int64 {
  1011. if m != nil {
  1012. return m.RoomId
  1013. }
  1014. return 0
  1015. }
  1016. func (m *RoomMobileRoomInitResp_Data) GetShortId() int64 {
  1017. if m != nil {
  1018. return m.ShortId
  1019. }
  1020. return 0
  1021. }
  1022. func (m *RoomMobileRoomInitResp_Data) GetUid() int64 {
  1023. if m != nil {
  1024. return m.Uid
  1025. }
  1026. return 0
  1027. }
  1028. func (m *RoomMobileRoomInitResp_Data) GetNeedP2P() int64 {
  1029. if m != nil {
  1030. return m.NeedP2P
  1031. }
  1032. return 0
  1033. }
  1034. func (m *RoomMobileRoomInitResp_Data) GetIsLocked() bool {
  1035. if m != nil {
  1036. return m.IsLocked
  1037. }
  1038. return false
  1039. }
  1040. func (m *RoomMobileRoomInitResp_Data) GetIsHidden() bool {
  1041. if m != nil {
  1042. return m.IsHidden
  1043. }
  1044. return false
  1045. }
  1046. func (m *RoomMobileRoomInitResp_Data) GetLockTill() int64 {
  1047. if m != nil {
  1048. return m.LockTill
  1049. }
  1050. return 0
  1051. }
  1052. func (m *RoomMobileRoomInitResp_Data) GetHiddenTill() int64 {
  1053. if m != nil {
  1054. return m.HiddenTill
  1055. }
  1056. return 0
  1057. }
  1058. func (m *RoomMobileRoomInitResp_Data) GetEncrypted() bool {
  1059. if m != nil {
  1060. return m.Encrypted
  1061. }
  1062. return false
  1063. }
  1064. func (m *RoomMobileRoomInitResp_Data) GetPwdVerified() bool {
  1065. if m != nil {
  1066. return m.PwdVerified
  1067. }
  1068. return false
  1069. }
  1070. func (m *RoomMobileRoomInitResp_Data) GetIsPortrait() bool {
  1071. if m != nil {
  1072. return m.IsPortrait
  1073. }
  1074. return false
  1075. }
  1076. func (m *RoomMobileRoomInitResp_Data) GetLiveStatus() int64 {
  1077. if m != nil {
  1078. return m.LiveStatus
  1079. }
  1080. return 0
  1081. }
  1082. func (m *RoomMobileRoomInitResp_Data) GetIsSp() int64 {
  1083. if m != nil {
  1084. return m.IsSp
  1085. }
  1086. return 0
  1087. }
  1088. func (m *RoomMobileRoomInitResp_Data) GetSpecialType() int64 {
  1089. if m != nil {
  1090. return m.SpecialType
  1091. }
  1092. return 0
  1093. }
  1094. type RoomIncrDanmuSendNumReq struct {
  1095. // 房间号
  1096. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  1097. // 弹幕类型0普通1抽奖
  1098. Mode int64 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode"`
  1099. }
  1100. func (m *RoomIncrDanmuSendNumReq) Reset() { *m = RoomIncrDanmuSendNumReq{} }
  1101. func (m *RoomIncrDanmuSendNumReq) String() string { return proto.CompactTextString(m) }
  1102. func (*RoomIncrDanmuSendNumReq) ProtoMessage() {}
  1103. func (*RoomIncrDanmuSendNumReq) Descriptor() ([]byte, []int) {
  1104. return fileDescriptor_Room_fa88de92f5bc1f28, []int{8}
  1105. }
  1106. func (m *RoomIncrDanmuSendNumReq) XXX_Unmarshal(b []byte) error {
  1107. return m.Unmarshal(b)
  1108. }
  1109. func (m *RoomIncrDanmuSendNumReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1110. if deterministic {
  1111. return xxx_messageInfo_RoomIncrDanmuSendNumReq.Marshal(b, m, deterministic)
  1112. } else {
  1113. b = b[:cap(b)]
  1114. n, err := m.MarshalTo(b)
  1115. if err != nil {
  1116. return nil, err
  1117. }
  1118. return b[:n], nil
  1119. }
  1120. }
  1121. func (dst *RoomIncrDanmuSendNumReq) XXX_Merge(src proto.Message) {
  1122. xxx_messageInfo_RoomIncrDanmuSendNumReq.Merge(dst, src)
  1123. }
  1124. func (m *RoomIncrDanmuSendNumReq) XXX_Size() int {
  1125. return m.Size()
  1126. }
  1127. func (m *RoomIncrDanmuSendNumReq) XXX_DiscardUnknown() {
  1128. xxx_messageInfo_RoomIncrDanmuSendNumReq.DiscardUnknown(m)
  1129. }
  1130. var xxx_messageInfo_RoomIncrDanmuSendNumReq proto.InternalMessageInfo
  1131. func (m *RoomIncrDanmuSendNumReq) GetRoomId() int64 {
  1132. if m != nil {
  1133. return m.RoomId
  1134. }
  1135. return 0
  1136. }
  1137. func (m *RoomIncrDanmuSendNumReq) GetMode() int64 {
  1138. if m != nil {
  1139. return m.Mode
  1140. }
  1141. return 0
  1142. }
  1143. type RoomIncrDanmuSendNumResp struct {
  1144. //
  1145. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  1146. //
  1147. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  1148. //
  1149. Data *RoomIncrDanmuSendNumResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  1150. }
  1151. func (m *RoomIncrDanmuSendNumResp) Reset() { *m = RoomIncrDanmuSendNumResp{} }
  1152. func (m *RoomIncrDanmuSendNumResp) String() string { return proto.CompactTextString(m) }
  1153. func (*RoomIncrDanmuSendNumResp) ProtoMessage() {}
  1154. func (*RoomIncrDanmuSendNumResp) Descriptor() ([]byte, []int) {
  1155. return fileDescriptor_Room_fa88de92f5bc1f28, []int{9}
  1156. }
  1157. func (m *RoomIncrDanmuSendNumResp) XXX_Unmarshal(b []byte) error {
  1158. return m.Unmarshal(b)
  1159. }
  1160. func (m *RoomIncrDanmuSendNumResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1161. if deterministic {
  1162. return xxx_messageInfo_RoomIncrDanmuSendNumResp.Marshal(b, m, deterministic)
  1163. } else {
  1164. b = b[:cap(b)]
  1165. n, err := m.MarshalTo(b)
  1166. if err != nil {
  1167. return nil, err
  1168. }
  1169. return b[:n], nil
  1170. }
  1171. }
  1172. func (dst *RoomIncrDanmuSendNumResp) XXX_Merge(src proto.Message) {
  1173. xxx_messageInfo_RoomIncrDanmuSendNumResp.Merge(dst, src)
  1174. }
  1175. func (m *RoomIncrDanmuSendNumResp) XXX_Size() int {
  1176. return m.Size()
  1177. }
  1178. func (m *RoomIncrDanmuSendNumResp) XXX_DiscardUnknown() {
  1179. xxx_messageInfo_RoomIncrDanmuSendNumResp.DiscardUnknown(m)
  1180. }
  1181. var xxx_messageInfo_RoomIncrDanmuSendNumResp proto.InternalMessageInfo
  1182. func (m *RoomIncrDanmuSendNumResp) GetCode() int64 {
  1183. if m != nil {
  1184. return m.Code
  1185. }
  1186. return 0
  1187. }
  1188. func (m *RoomIncrDanmuSendNumResp) GetMsg() string {
  1189. if m != nil {
  1190. return m.Msg
  1191. }
  1192. return ""
  1193. }
  1194. func (m *RoomIncrDanmuSendNumResp) GetData() *RoomIncrDanmuSendNumResp_Data {
  1195. if m != nil {
  1196. return m.Data
  1197. }
  1198. return nil
  1199. }
  1200. type RoomIncrDanmuSendNumResp_Data struct {
  1201. }
  1202. func (m *RoomIncrDanmuSendNumResp_Data) Reset() { *m = RoomIncrDanmuSendNumResp_Data{} }
  1203. func (m *RoomIncrDanmuSendNumResp_Data) String() string { return proto.CompactTextString(m) }
  1204. func (*RoomIncrDanmuSendNumResp_Data) ProtoMessage() {}
  1205. func (*RoomIncrDanmuSendNumResp_Data) Descriptor() ([]byte, []int) {
  1206. return fileDescriptor_Room_fa88de92f5bc1f28, []int{9, 0}
  1207. }
  1208. func (m *RoomIncrDanmuSendNumResp_Data) XXX_Unmarshal(b []byte) error {
  1209. return m.Unmarshal(b)
  1210. }
  1211. func (m *RoomIncrDanmuSendNumResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1212. if deterministic {
  1213. return xxx_messageInfo_RoomIncrDanmuSendNumResp_Data.Marshal(b, m, deterministic)
  1214. } else {
  1215. b = b[:cap(b)]
  1216. n, err := m.MarshalTo(b)
  1217. if err != nil {
  1218. return nil, err
  1219. }
  1220. return b[:n], nil
  1221. }
  1222. }
  1223. func (dst *RoomIncrDanmuSendNumResp_Data) XXX_Merge(src proto.Message) {
  1224. xxx_messageInfo_RoomIncrDanmuSendNumResp_Data.Merge(dst, src)
  1225. }
  1226. func (m *RoomIncrDanmuSendNumResp_Data) XXX_Size() int {
  1227. return m.Size()
  1228. }
  1229. func (m *RoomIncrDanmuSendNumResp_Data) XXX_DiscardUnknown() {
  1230. xxx_messageInfo_RoomIncrDanmuSendNumResp_Data.DiscardUnknown(m)
  1231. }
  1232. var xxx_messageInfo_RoomIncrDanmuSendNumResp_Data proto.InternalMessageInfo
  1233. func init() {
  1234. proto.RegisterType((*RoomAllLiveForBigdataReq)(nil), "room.v1.RoomAllLiveForBigdataReq")
  1235. proto.RegisterType((*RoomAllLiveForBigdataResp)(nil), "room.v1.RoomAllLiveForBigdataResp")
  1236. proto.RegisterType((*RoomAllLiveForBigdataResp_RoomInfo)(nil), "room.v1.RoomAllLiveForBigdataResp.RoomInfo")
  1237. proto.RegisterType((*RoomGetInfoByIdReq)(nil), "room.v1.RoomGetInfoByIdReq")
  1238. proto.RegisterType((*RoomGetInfoByIdResp)(nil), "room.v1.RoomGetInfoByIdResp")
  1239. proto.RegisterMapType((map[int64]*RoomGetInfoByIdResp_RoomInfo)(nil), "room.v1.RoomGetInfoByIdResp.DataEntry")
  1240. proto.RegisterType((*RoomGetInfoByIdResp_RoomInfo)(nil), "room.v1.RoomGetInfoByIdResp.RoomInfo")
  1241. proto.RegisterType((*RoomGetStatusInfoByUidsReq)(nil), "room.v1.RoomGetStatusInfoByUidsReq")
  1242. proto.RegisterType((*RoomGetStatusInfoByUidsResp)(nil), "room.v1.RoomGetStatusInfoByUidsResp")
  1243. proto.RegisterMapType((map[int64]*RoomGetStatusInfoByUidsResp_RoomInfo)(nil), "room.v1.RoomGetStatusInfoByUidsResp.DataEntry")
  1244. proto.RegisterType((*RoomGetStatusInfoByUidsResp_RoomInfo)(nil), "room.v1.RoomGetStatusInfoByUidsResp.RoomInfo")
  1245. proto.RegisterType((*RoomMobileRoomInitReq)(nil), "room.v1.RoomMobileRoomInitReq")
  1246. proto.RegisterType((*RoomMobileRoomInitResp)(nil), "room.v1.RoomMobileRoomInitResp")
  1247. proto.RegisterType((*RoomMobileRoomInitResp_Data)(nil), "room.v1.RoomMobileRoomInitResp.Data")
  1248. proto.RegisterType((*RoomIncrDanmuSendNumReq)(nil), "room.v1.RoomIncrDanmuSendNumReq")
  1249. proto.RegisterType((*RoomIncrDanmuSendNumResp)(nil), "room.v1.RoomIncrDanmuSendNumResp")
  1250. proto.RegisterType((*RoomIncrDanmuSendNumResp_Data)(nil), "room.v1.RoomIncrDanmuSendNumResp.Data")
  1251. }
  1252. func (m *RoomAllLiveForBigdataReq) Marshal() (dAtA []byte, err error) {
  1253. size := m.Size()
  1254. dAtA = make([]byte, size)
  1255. n, err := m.MarshalTo(dAtA)
  1256. if err != nil {
  1257. return nil, err
  1258. }
  1259. return dAtA[:n], nil
  1260. }
  1261. func (m *RoomAllLiveForBigdataReq) MarshalTo(dAtA []byte) (int, error) {
  1262. var i int
  1263. _ = i
  1264. var l int
  1265. _ = l
  1266. return i, nil
  1267. }
  1268. func (m *RoomAllLiveForBigdataResp) Marshal() (dAtA []byte, err error) {
  1269. size := m.Size()
  1270. dAtA = make([]byte, size)
  1271. n, err := m.MarshalTo(dAtA)
  1272. if err != nil {
  1273. return nil, err
  1274. }
  1275. return dAtA[:n], nil
  1276. }
  1277. func (m *RoomAllLiveForBigdataResp) MarshalTo(dAtA []byte) (int, error) {
  1278. var i int
  1279. _ = i
  1280. var l int
  1281. _ = l
  1282. if m.Code != 0 {
  1283. dAtA[i] = 0x8
  1284. i++
  1285. i = encodeVarintRoom(dAtA, i, uint64(m.Code))
  1286. }
  1287. if len(m.Msg) > 0 {
  1288. dAtA[i] = 0x12
  1289. i++
  1290. i = encodeVarintRoom(dAtA, i, uint64(len(m.Msg)))
  1291. i += copy(dAtA[i:], m.Msg)
  1292. }
  1293. if len(m.Data) > 0 {
  1294. for _, msg := range m.Data {
  1295. dAtA[i] = 0x1a
  1296. i++
  1297. i = encodeVarintRoom(dAtA, i, uint64(msg.Size()))
  1298. n, err := msg.MarshalTo(dAtA[i:])
  1299. if err != nil {
  1300. return 0, err
  1301. }
  1302. i += n
  1303. }
  1304. }
  1305. return i, nil
  1306. }
  1307. func (m *RoomAllLiveForBigdataResp_RoomInfo) Marshal() (dAtA []byte, err error) {
  1308. size := m.Size()
  1309. dAtA = make([]byte, size)
  1310. n, err := m.MarshalTo(dAtA)
  1311. if err != nil {
  1312. return nil, err
  1313. }
  1314. return dAtA[:n], nil
  1315. }
  1316. func (m *RoomAllLiveForBigdataResp_RoomInfo) MarshalTo(dAtA []byte) (int, error) {
  1317. var i int
  1318. _ = i
  1319. var l int
  1320. _ = l
  1321. if m.Roomid != 0 {
  1322. dAtA[i] = 0x8
  1323. i++
  1324. i = encodeVarintRoom(dAtA, i, uint64(m.Roomid))
  1325. }
  1326. if m.Uid != 0 {
  1327. dAtA[i] = 0x10
  1328. i++
  1329. i = encodeVarintRoom(dAtA, i, uint64(m.Uid))
  1330. }
  1331. if m.CreateTime != 0 {
  1332. dAtA[i] = 0x18
  1333. i++
  1334. i = encodeVarintRoom(dAtA, i, uint64(m.CreateTime))
  1335. }
  1336. if m.ShortId != 0 {
  1337. dAtA[i] = 0x20
  1338. i++
  1339. i = encodeVarintRoom(dAtA, i, uint64(m.ShortId))
  1340. }
  1341. if m.Online != 0 {
  1342. dAtA[i] = 0x28
  1343. i++
  1344. i = encodeVarintRoom(dAtA, i, uint64(m.Online))
  1345. }
  1346. if m.Area != 0 {
  1347. dAtA[i] = 0x30
  1348. i++
  1349. i = encodeVarintRoom(dAtA, i, uint64(m.Area))
  1350. }
  1351. if m.AreaV2Id != 0 {
  1352. dAtA[i] = 0x38
  1353. i++
  1354. i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2Id))
  1355. }
  1356. if m.AreaV2ParentId != 0 {
  1357. dAtA[i] = 0x40
  1358. i++
  1359. i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2ParentId))
  1360. }
  1361. if m.Attentions != 0 {
  1362. dAtA[i] = 0x48
  1363. i++
  1364. i = encodeVarintRoom(dAtA, i, uint64(m.Attentions))
  1365. }
  1366. return i, nil
  1367. }
  1368. func (m *RoomGetInfoByIdReq) Marshal() (dAtA []byte, err error) {
  1369. size := m.Size()
  1370. dAtA = make([]byte, size)
  1371. n, err := m.MarshalTo(dAtA)
  1372. if err != nil {
  1373. return nil, err
  1374. }
  1375. return dAtA[:n], nil
  1376. }
  1377. func (m *RoomGetInfoByIdReq) MarshalTo(dAtA []byte) (int, error) {
  1378. var i int
  1379. _ = i
  1380. var l int
  1381. _ = l
  1382. if len(m.Ids) > 0 {
  1383. dAtA2 := make([]byte, len(m.Ids)*10)
  1384. var j1 int
  1385. for _, num1 := range m.Ids {
  1386. num := uint64(num1)
  1387. for num >= 1<<7 {
  1388. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  1389. num >>= 7
  1390. j1++
  1391. }
  1392. dAtA2[j1] = uint8(num)
  1393. j1++
  1394. }
  1395. dAtA[i] = 0xa
  1396. i++
  1397. i = encodeVarintRoom(dAtA, i, uint64(j1))
  1398. i += copy(dAtA[i:], dAtA2[:j1])
  1399. }
  1400. if len(m.Fields) > 0 {
  1401. for _, s := range m.Fields {
  1402. dAtA[i] = 0x12
  1403. i++
  1404. l = len(s)
  1405. for l >= 1<<7 {
  1406. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1407. l >>= 7
  1408. i++
  1409. }
  1410. dAtA[i] = uint8(l)
  1411. i++
  1412. i += copy(dAtA[i:], s)
  1413. }
  1414. }
  1415. return i, nil
  1416. }
  1417. func (m *RoomGetInfoByIdResp) Marshal() (dAtA []byte, err error) {
  1418. size := m.Size()
  1419. dAtA = make([]byte, size)
  1420. n, err := m.MarshalTo(dAtA)
  1421. if err != nil {
  1422. return nil, err
  1423. }
  1424. return dAtA[:n], nil
  1425. }
  1426. func (m *RoomGetInfoByIdResp) MarshalTo(dAtA []byte) (int, error) {
  1427. var i int
  1428. _ = i
  1429. var l int
  1430. _ = l
  1431. if m.Code != 0 {
  1432. dAtA[i] = 0x8
  1433. i++
  1434. i = encodeVarintRoom(dAtA, i, uint64(m.Code))
  1435. }
  1436. if len(m.Msg) > 0 {
  1437. dAtA[i] = 0x12
  1438. i++
  1439. i = encodeVarintRoom(dAtA, i, uint64(len(m.Msg)))
  1440. i += copy(dAtA[i:], m.Msg)
  1441. }
  1442. if len(m.Data) > 0 {
  1443. for k, _ := range m.Data {
  1444. dAtA[i] = 0x1a
  1445. i++
  1446. v := m.Data[k]
  1447. msgSize := 0
  1448. if v != nil {
  1449. msgSize = v.Size()
  1450. msgSize += 1 + sovRoom(uint64(msgSize))
  1451. }
  1452. mapSize := 1 + sovRoom(uint64(k)) + msgSize
  1453. i = encodeVarintRoom(dAtA, i, uint64(mapSize))
  1454. dAtA[i] = 0x8
  1455. i++
  1456. i = encodeVarintRoom(dAtA, i, uint64(k))
  1457. if v != nil {
  1458. dAtA[i] = 0x12
  1459. i++
  1460. i = encodeVarintRoom(dAtA, i, uint64(v.Size()))
  1461. n3, err := v.MarshalTo(dAtA[i:])
  1462. if err != nil {
  1463. return 0, err
  1464. }
  1465. i += n3
  1466. }
  1467. }
  1468. }
  1469. return i, nil
  1470. }
  1471. func (m *RoomGetInfoByIdResp_RoomInfo) Marshal() (dAtA []byte, err error) {
  1472. size := m.Size()
  1473. dAtA = make([]byte, size)
  1474. n, err := m.MarshalTo(dAtA)
  1475. if err != nil {
  1476. return nil, err
  1477. }
  1478. return dAtA[:n], nil
  1479. }
  1480. func (m *RoomGetInfoByIdResp_RoomInfo) MarshalTo(dAtA []byte) (int, error) {
  1481. var i int
  1482. _ = i
  1483. var l int
  1484. _ = l
  1485. if m.Roomid != 0 {
  1486. dAtA[i] = 0x8
  1487. i++
  1488. i = encodeVarintRoom(dAtA, i, uint64(m.Roomid))
  1489. }
  1490. if len(m.Uname) > 0 {
  1491. dAtA[i] = 0x12
  1492. i++
  1493. i = encodeVarintRoom(dAtA, i, uint64(len(m.Uname)))
  1494. i += copy(dAtA[i:], m.Uname)
  1495. }
  1496. if len(m.Cover) > 0 {
  1497. dAtA[i] = 0x1a
  1498. i++
  1499. i = encodeVarintRoom(dAtA, i, uint64(len(m.Cover)))
  1500. i += copy(dAtA[i:], m.Cover)
  1501. }
  1502. if m.Uid != 0 {
  1503. dAtA[i] = 0x20
  1504. i++
  1505. i = encodeVarintRoom(dAtA, i, uint64(m.Uid))
  1506. }
  1507. if len(m.LiveTime) > 0 {
  1508. dAtA[i] = 0x2a
  1509. i++
  1510. i = encodeVarintRoom(dAtA, i, uint64(len(m.LiveTime)))
  1511. i += copy(dAtA[i:], m.LiveTime)
  1512. }
  1513. if m.RoundStatus != 0 {
  1514. dAtA[i] = 0x30
  1515. i++
  1516. i = encodeVarintRoom(dAtA, i, uint64(m.RoundStatus))
  1517. }
  1518. if m.OnFlag != 0 {
  1519. dAtA[i] = 0x38
  1520. i++
  1521. i = encodeVarintRoom(dAtA, i, uint64(m.OnFlag))
  1522. }
  1523. if len(m.Title) > 0 {
  1524. dAtA[i] = 0x42
  1525. i++
  1526. i = encodeVarintRoom(dAtA, i, uint64(len(m.Title)))
  1527. i += copy(dAtA[i:], m.Title)
  1528. }
  1529. if len(m.LockStatus) > 0 {
  1530. dAtA[i] = 0x4a
  1531. i++
  1532. i = encodeVarintRoom(dAtA, i, uint64(len(m.LockStatus)))
  1533. i += copy(dAtA[i:], m.LockStatus)
  1534. }
  1535. if len(m.HiddenStatus) > 0 {
  1536. dAtA[i] = 0x52
  1537. i++
  1538. i = encodeVarintRoom(dAtA, i, uint64(len(m.HiddenStatus)))
  1539. i += copy(dAtA[i:], m.HiddenStatus)
  1540. }
  1541. if len(m.UserCover) > 0 {
  1542. dAtA[i] = 0x5a
  1543. i++
  1544. i = encodeVarintRoom(dAtA, i, uint64(len(m.UserCover)))
  1545. i += copy(dAtA[i:], m.UserCover)
  1546. }
  1547. if m.ShortId != 0 {
  1548. dAtA[i] = 0x60
  1549. i++
  1550. i = encodeVarintRoom(dAtA, i, uint64(m.ShortId))
  1551. }
  1552. if m.Online != 0 {
  1553. dAtA[i] = 0x68
  1554. i++
  1555. i = encodeVarintRoom(dAtA, i, uint64(m.Online))
  1556. }
  1557. if m.Area != 0 {
  1558. dAtA[i] = 0x70
  1559. i++
  1560. i = encodeVarintRoom(dAtA, i, uint64(m.Area))
  1561. }
  1562. if m.AreaV2Id != 0 {
  1563. dAtA[i] = 0x78
  1564. i++
  1565. i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2Id))
  1566. }
  1567. if m.AreaV2ParentId != 0 {
  1568. dAtA[i] = 0x80
  1569. i++
  1570. dAtA[i] = 0x1
  1571. i++
  1572. i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2ParentId))
  1573. }
  1574. if len(m.AreaV2Name) > 0 {
  1575. dAtA[i] = 0x8a
  1576. i++
  1577. dAtA[i] = 0x1
  1578. i++
  1579. i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2Name)))
  1580. i += copy(dAtA[i:], m.AreaV2Name)
  1581. }
  1582. if len(m.AreaV2ParentName) > 0 {
  1583. dAtA[i] = 0x92
  1584. i++
  1585. dAtA[i] = 0x1
  1586. i++
  1587. i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2ParentName)))
  1588. i += copy(dAtA[i:], m.AreaV2ParentName)
  1589. }
  1590. if m.Attentions != 0 {
  1591. dAtA[i] = 0x98
  1592. i++
  1593. dAtA[i] = 0x1
  1594. i++
  1595. i = encodeVarintRoom(dAtA, i, uint64(m.Attentions))
  1596. }
  1597. return i, nil
  1598. }
  1599. func (m *RoomGetStatusInfoByUidsReq) Marshal() (dAtA []byte, err error) {
  1600. size := m.Size()
  1601. dAtA = make([]byte, size)
  1602. n, err := m.MarshalTo(dAtA)
  1603. if err != nil {
  1604. return nil, err
  1605. }
  1606. return dAtA[:n], nil
  1607. }
  1608. func (m *RoomGetStatusInfoByUidsReq) MarshalTo(dAtA []byte) (int, error) {
  1609. var i int
  1610. _ = i
  1611. var l int
  1612. _ = l
  1613. if len(m.Uids) > 0 {
  1614. dAtA5 := make([]byte, len(m.Uids)*10)
  1615. var j4 int
  1616. for _, num1 := range m.Uids {
  1617. num := uint64(num1)
  1618. for num >= 1<<7 {
  1619. dAtA5[j4] = uint8(uint64(num)&0x7f | 0x80)
  1620. num >>= 7
  1621. j4++
  1622. }
  1623. dAtA5[j4] = uint8(num)
  1624. j4++
  1625. }
  1626. dAtA[i] = 0xa
  1627. i++
  1628. i = encodeVarintRoom(dAtA, i, uint64(j4))
  1629. i += copy(dAtA[i:], dAtA5[:j4])
  1630. }
  1631. if m.FilterOffline != 0 {
  1632. dAtA[i] = 0x10
  1633. i++
  1634. i = encodeVarintRoom(dAtA, i, uint64(m.FilterOffline))
  1635. }
  1636. if m.ShowHidden != 0 {
  1637. dAtA[i] = 0x18
  1638. i++
  1639. i = encodeVarintRoom(dAtA, i, uint64(m.ShowHidden))
  1640. }
  1641. if m.FilterIndexBlack != 0 {
  1642. dAtA[i] = 0x20
  1643. i++
  1644. i = encodeVarintRoom(dAtA, i, uint64(m.FilterIndexBlack))
  1645. }
  1646. if m.FilterVideo != 0 {
  1647. dAtA[i] = 0x28
  1648. i++
  1649. i = encodeVarintRoom(dAtA, i, uint64(m.FilterVideo))
  1650. }
  1651. if m.NeedBroadcastType != 0 {
  1652. dAtA[i] = 0x30
  1653. i++
  1654. i = encodeVarintRoom(dAtA, i, uint64(m.NeedBroadcastType))
  1655. }
  1656. return i, nil
  1657. }
  1658. func (m *RoomGetStatusInfoByUidsResp) Marshal() (dAtA []byte, err error) {
  1659. size := m.Size()
  1660. dAtA = make([]byte, size)
  1661. n, err := m.MarshalTo(dAtA)
  1662. if err != nil {
  1663. return nil, err
  1664. }
  1665. return dAtA[:n], nil
  1666. }
  1667. func (m *RoomGetStatusInfoByUidsResp) MarshalTo(dAtA []byte) (int, error) {
  1668. var i int
  1669. _ = i
  1670. var l int
  1671. _ = l
  1672. if m.Code != 0 {
  1673. dAtA[i] = 0x8
  1674. i++
  1675. i = encodeVarintRoom(dAtA, i, uint64(m.Code))
  1676. }
  1677. if len(m.Msg) > 0 {
  1678. dAtA[i] = 0x12
  1679. i++
  1680. i = encodeVarintRoom(dAtA, i, uint64(len(m.Msg)))
  1681. i += copy(dAtA[i:], m.Msg)
  1682. }
  1683. if len(m.Data) > 0 {
  1684. for k, _ := range m.Data {
  1685. dAtA[i] = 0x1a
  1686. i++
  1687. v := m.Data[k]
  1688. msgSize := 0
  1689. if v != nil {
  1690. msgSize = v.Size()
  1691. msgSize += 1 + sovRoom(uint64(msgSize))
  1692. }
  1693. mapSize := 1 + sovRoom(uint64(k)) + msgSize
  1694. i = encodeVarintRoom(dAtA, i, uint64(mapSize))
  1695. dAtA[i] = 0x8
  1696. i++
  1697. i = encodeVarintRoom(dAtA, i, uint64(k))
  1698. if v != nil {
  1699. dAtA[i] = 0x12
  1700. i++
  1701. i = encodeVarintRoom(dAtA, i, uint64(v.Size()))
  1702. n6, err := v.MarshalTo(dAtA[i:])
  1703. if err != nil {
  1704. return 0, err
  1705. }
  1706. i += n6
  1707. }
  1708. }
  1709. }
  1710. return i, nil
  1711. }
  1712. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) Marshal() (dAtA []byte, err error) {
  1713. size := m.Size()
  1714. dAtA = make([]byte, size)
  1715. n, err := m.MarshalTo(dAtA)
  1716. if err != nil {
  1717. return nil, err
  1718. }
  1719. return dAtA[:n], nil
  1720. }
  1721. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) MarshalTo(dAtA []byte) (int, error) {
  1722. var i int
  1723. _ = i
  1724. var l int
  1725. _ = l
  1726. if len(m.Title) > 0 {
  1727. dAtA[i] = 0xa
  1728. i++
  1729. i = encodeVarintRoom(dAtA, i, uint64(len(m.Title)))
  1730. i += copy(dAtA[i:], m.Title)
  1731. }
  1732. if m.RoomId != 0 {
  1733. dAtA[i] = 0x10
  1734. i++
  1735. i = encodeVarintRoom(dAtA, i, uint64(m.RoomId))
  1736. }
  1737. if m.Uid != 0 {
  1738. dAtA[i] = 0x18
  1739. i++
  1740. i = encodeVarintRoom(dAtA, i, uint64(m.Uid))
  1741. }
  1742. if m.Online != 0 {
  1743. dAtA[i] = 0x20
  1744. i++
  1745. i = encodeVarintRoom(dAtA, i, uint64(m.Online))
  1746. }
  1747. if m.LiveTime != 0 {
  1748. dAtA[i] = 0x28
  1749. i++
  1750. i = encodeVarintRoom(dAtA, i, uint64(m.LiveTime))
  1751. }
  1752. if m.LiveStatus != 0 {
  1753. dAtA[i] = 0x30
  1754. i++
  1755. i = encodeVarintRoom(dAtA, i, uint64(m.LiveStatus))
  1756. }
  1757. if m.ShortId != 0 {
  1758. dAtA[i] = 0x38
  1759. i++
  1760. i = encodeVarintRoom(dAtA, i, uint64(m.ShortId))
  1761. }
  1762. if m.Area != 0 {
  1763. dAtA[i] = 0x40
  1764. i++
  1765. i = encodeVarintRoom(dAtA, i, uint64(m.Area))
  1766. }
  1767. if len(m.AreaName) > 0 {
  1768. dAtA[i] = 0x4a
  1769. i++
  1770. i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaName)))
  1771. i += copy(dAtA[i:], m.AreaName)
  1772. }
  1773. if m.AreaV2Id != 0 {
  1774. dAtA[i] = 0x50
  1775. i++
  1776. i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2Id))
  1777. }
  1778. if len(m.AreaV2Name) > 0 {
  1779. dAtA[i] = 0x5a
  1780. i++
  1781. i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2Name)))
  1782. i += copy(dAtA[i:], m.AreaV2Name)
  1783. }
  1784. if len(m.AreaV2ParentName) > 0 {
  1785. dAtA[i] = 0x62
  1786. i++
  1787. i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2ParentName)))
  1788. i += copy(dAtA[i:], m.AreaV2ParentName)
  1789. }
  1790. if m.AreaV2ParentId != 0 {
  1791. dAtA[i] = 0x68
  1792. i++
  1793. i = encodeVarintRoom(dAtA, i, uint64(m.AreaV2ParentId))
  1794. }
  1795. if len(m.TagName) > 0 {
  1796. dAtA[i] = 0x72
  1797. i++
  1798. i = encodeVarintRoom(dAtA, i, uint64(len(m.TagName)))
  1799. i += copy(dAtA[i:], m.TagName)
  1800. }
  1801. if len(m.Tags) > 0 {
  1802. dAtA[i] = 0x7a
  1803. i++
  1804. i = encodeVarintRoom(dAtA, i, uint64(len(m.Tags)))
  1805. i += copy(dAtA[i:], m.Tags)
  1806. }
  1807. if len(m.Uname) > 0 {
  1808. dAtA[i] = 0x82
  1809. i++
  1810. dAtA[i] = 0x1
  1811. i++
  1812. i = encodeVarintRoom(dAtA, i, uint64(len(m.Uname)))
  1813. i += copy(dAtA[i:], m.Uname)
  1814. }
  1815. if len(m.CoverFromUser) > 0 {
  1816. dAtA[i] = 0x8a
  1817. i++
  1818. dAtA[i] = 0x1
  1819. i++
  1820. i = encodeVarintRoom(dAtA, i, uint64(len(m.CoverFromUser)))
  1821. i += copy(dAtA[i:], m.CoverFromUser)
  1822. }
  1823. if len(m.Keyframe) > 0 {
  1824. dAtA[i] = 0x92
  1825. i++
  1826. dAtA[i] = 0x1
  1827. i++
  1828. i = encodeVarintRoom(dAtA, i, uint64(len(m.Keyframe)))
  1829. i += copy(dAtA[i:], m.Keyframe)
  1830. }
  1831. if len(m.LockTill) > 0 {
  1832. dAtA[i] = 0x9a
  1833. i++
  1834. dAtA[i] = 0x1
  1835. i++
  1836. i = encodeVarintRoom(dAtA, i, uint64(len(m.LockTill)))
  1837. i += copy(dAtA[i:], m.LockTill)
  1838. }
  1839. if len(m.HiddenTill) > 0 {
  1840. dAtA[i] = 0xa2
  1841. i++
  1842. dAtA[i] = 0x1
  1843. i++
  1844. i = encodeVarintRoom(dAtA, i, uint64(len(m.HiddenTill)))
  1845. i += copy(dAtA[i:], m.HiddenTill)
  1846. }
  1847. if m.BroadcastType != 0 {
  1848. dAtA[i] = 0xa8
  1849. i++
  1850. dAtA[i] = 0x1
  1851. i++
  1852. i = encodeVarintRoom(dAtA, i, uint64(m.BroadcastType))
  1853. }
  1854. return i, nil
  1855. }
  1856. func (m *RoomMobileRoomInitReq) Marshal() (dAtA []byte, err error) {
  1857. size := m.Size()
  1858. dAtA = make([]byte, size)
  1859. n, err := m.MarshalTo(dAtA)
  1860. if err != nil {
  1861. return nil, err
  1862. }
  1863. return dAtA[:n], nil
  1864. }
  1865. func (m *RoomMobileRoomInitReq) MarshalTo(dAtA []byte) (int, error) {
  1866. var i int
  1867. _ = i
  1868. var l int
  1869. _ = l
  1870. if m.Id != 0 {
  1871. dAtA[i] = 0x8
  1872. i++
  1873. i = encodeVarintRoom(dAtA, i, uint64(m.Id))
  1874. }
  1875. if len(m.Lang) > 0 {
  1876. dAtA[i] = 0x12
  1877. i++
  1878. i = encodeVarintRoom(dAtA, i, uint64(len(m.Lang)))
  1879. i += copy(dAtA[i:], m.Lang)
  1880. }
  1881. return i, nil
  1882. }
  1883. func (m *RoomMobileRoomInitResp) Marshal() (dAtA []byte, err error) {
  1884. size := m.Size()
  1885. dAtA = make([]byte, size)
  1886. n, err := m.MarshalTo(dAtA)
  1887. if err != nil {
  1888. return nil, err
  1889. }
  1890. return dAtA[:n], nil
  1891. }
  1892. func (m *RoomMobileRoomInitResp) MarshalTo(dAtA []byte) (int, error) {
  1893. var i int
  1894. _ = i
  1895. var l int
  1896. _ = l
  1897. if m.Code != 0 {
  1898. dAtA[i] = 0x8
  1899. i++
  1900. i = encodeVarintRoom(dAtA, i, uint64(m.Code))
  1901. }
  1902. if len(m.Msg) > 0 {
  1903. dAtA[i] = 0x12
  1904. i++
  1905. i = encodeVarintRoom(dAtA, i, uint64(len(m.Msg)))
  1906. i += copy(dAtA[i:], m.Msg)
  1907. }
  1908. if m.Data != nil {
  1909. dAtA[i] = 0x1a
  1910. i++
  1911. i = encodeVarintRoom(dAtA, i, uint64(m.Data.Size()))
  1912. n7, err := m.Data.MarshalTo(dAtA[i:])
  1913. if err != nil {
  1914. return 0, err
  1915. }
  1916. i += n7
  1917. }
  1918. return i, nil
  1919. }
  1920. func (m *RoomMobileRoomInitResp_Data) Marshal() (dAtA []byte, err error) {
  1921. size := m.Size()
  1922. dAtA = make([]byte, size)
  1923. n, err := m.MarshalTo(dAtA)
  1924. if err != nil {
  1925. return nil, err
  1926. }
  1927. return dAtA[:n], nil
  1928. }
  1929. func (m *RoomMobileRoomInitResp_Data) MarshalTo(dAtA []byte) (int, error) {
  1930. var i int
  1931. _ = i
  1932. var l int
  1933. _ = l
  1934. if m.RoomId != 0 {
  1935. dAtA[i] = 0x8
  1936. i++
  1937. i = encodeVarintRoom(dAtA, i, uint64(m.RoomId))
  1938. }
  1939. if m.ShortId != 0 {
  1940. dAtA[i] = 0x10
  1941. i++
  1942. i = encodeVarintRoom(dAtA, i, uint64(m.ShortId))
  1943. }
  1944. if m.Uid != 0 {
  1945. dAtA[i] = 0x18
  1946. i++
  1947. i = encodeVarintRoom(dAtA, i, uint64(m.Uid))
  1948. }
  1949. if m.NeedP2P != 0 {
  1950. dAtA[i] = 0x20
  1951. i++
  1952. i = encodeVarintRoom(dAtA, i, uint64(m.NeedP2P))
  1953. }
  1954. if m.IsLocked {
  1955. dAtA[i] = 0x28
  1956. i++
  1957. if m.IsLocked {
  1958. dAtA[i] = 1
  1959. } else {
  1960. dAtA[i] = 0
  1961. }
  1962. i++
  1963. }
  1964. if m.IsHidden {
  1965. dAtA[i] = 0x30
  1966. i++
  1967. if m.IsHidden {
  1968. dAtA[i] = 1
  1969. } else {
  1970. dAtA[i] = 0
  1971. }
  1972. i++
  1973. }
  1974. if m.LockTill != 0 {
  1975. dAtA[i] = 0x38
  1976. i++
  1977. i = encodeVarintRoom(dAtA, i, uint64(m.LockTill))
  1978. }
  1979. if m.HiddenTill != 0 {
  1980. dAtA[i] = 0x40
  1981. i++
  1982. i = encodeVarintRoom(dAtA, i, uint64(m.HiddenTill))
  1983. }
  1984. if m.Encrypted {
  1985. dAtA[i] = 0x48
  1986. i++
  1987. if m.Encrypted {
  1988. dAtA[i] = 1
  1989. } else {
  1990. dAtA[i] = 0
  1991. }
  1992. i++
  1993. }
  1994. if m.PwdVerified {
  1995. dAtA[i] = 0x50
  1996. i++
  1997. if m.PwdVerified {
  1998. dAtA[i] = 1
  1999. } else {
  2000. dAtA[i] = 0
  2001. }
  2002. i++
  2003. }
  2004. if m.IsPortrait {
  2005. dAtA[i] = 0x58
  2006. i++
  2007. if m.IsPortrait {
  2008. dAtA[i] = 1
  2009. } else {
  2010. dAtA[i] = 0
  2011. }
  2012. i++
  2013. }
  2014. if m.LiveStatus != 0 {
  2015. dAtA[i] = 0x60
  2016. i++
  2017. i = encodeVarintRoom(dAtA, i, uint64(m.LiveStatus))
  2018. }
  2019. if m.IsSp != 0 {
  2020. dAtA[i] = 0x68
  2021. i++
  2022. i = encodeVarintRoom(dAtA, i, uint64(m.IsSp))
  2023. }
  2024. if m.SpecialType != 0 {
  2025. dAtA[i] = 0x70
  2026. i++
  2027. i = encodeVarintRoom(dAtA, i, uint64(m.SpecialType))
  2028. }
  2029. return i, nil
  2030. }
  2031. func (m *RoomIncrDanmuSendNumReq) Marshal() (dAtA []byte, err error) {
  2032. size := m.Size()
  2033. dAtA = make([]byte, size)
  2034. n, err := m.MarshalTo(dAtA)
  2035. if err != nil {
  2036. return nil, err
  2037. }
  2038. return dAtA[:n], nil
  2039. }
  2040. func (m *RoomIncrDanmuSendNumReq) MarshalTo(dAtA []byte) (int, error) {
  2041. var i int
  2042. _ = i
  2043. var l int
  2044. _ = l
  2045. if m.RoomId != 0 {
  2046. dAtA[i] = 0x8
  2047. i++
  2048. i = encodeVarintRoom(dAtA, i, uint64(m.RoomId))
  2049. }
  2050. if m.Mode != 0 {
  2051. dAtA[i] = 0x10
  2052. i++
  2053. i = encodeVarintRoom(dAtA, i, uint64(m.Mode))
  2054. }
  2055. return i, nil
  2056. }
  2057. func (m *RoomIncrDanmuSendNumResp) Marshal() (dAtA []byte, err error) {
  2058. size := m.Size()
  2059. dAtA = make([]byte, size)
  2060. n, err := m.MarshalTo(dAtA)
  2061. if err != nil {
  2062. return nil, err
  2063. }
  2064. return dAtA[:n], nil
  2065. }
  2066. func (m *RoomIncrDanmuSendNumResp) MarshalTo(dAtA []byte) (int, error) {
  2067. var i int
  2068. _ = i
  2069. var l int
  2070. _ = l
  2071. if m.Code != 0 {
  2072. dAtA[i] = 0x8
  2073. i++
  2074. i = encodeVarintRoom(dAtA, i, uint64(m.Code))
  2075. }
  2076. if len(m.Msg) > 0 {
  2077. dAtA[i] = 0x12
  2078. i++
  2079. i = encodeVarintRoom(dAtA, i, uint64(len(m.Msg)))
  2080. i += copy(dAtA[i:], m.Msg)
  2081. }
  2082. if m.Data != nil {
  2083. dAtA[i] = 0x1a
  2084. i++
  2085. i = encodeVarintRoom(dAtA, i, uint64(m.Data.Size()))
  2086. n8, err := m.Data.MarshalTo(dAtA[i:])
  2087. if err != nil {
  2088. return 0, err
  2089. }
  2090. i += n8
  2091. }
  2092. return i, nil
  2093. }
  2094. func (m *RoomIncrDanmuSendNumResp_Data) Marshal() (dAtA []byte, err error) {
  2095. size := m.Size()
  2096. dAtA = make([]byte, size)
  2097. n, err := m.MarshalTo(dAtA)
  2098. if err != nil {
  2099. return nil, err
  2100. }
  2101. return dAtA[:n], nil
  2102. }
  2103. func (m *RoomIncrDanmuSendNumResp_Data) MarshalTo(dAtA []byte) (int, error) {
  2104. var i int
  2105. _ = i
  2106. var l int
  2107. _ = l
  2108. return i, nil
  2109. }
  2110. func encodeVarintRoom(dAtA []byte, offset int, v uint64) int {
  2111. for v >= 1<<7 {
  2112. dAtA[offset] = uint8(v&0x7f | 0x80)
  2113. v >>= 7
  2114. offset++
  2115. }
  2116. dAtA[offset] = uint8(v)
  2117. return offset + 1
  2118. }
  2119. func (m *RoomAllLiveForBigdataReq) Size() (n int) {
  2120. if m == nil {
  2121. return 0
  2122. }
  2123. var l int
  2124. _ = l
  2125. return n
  2126. }
  2127. func (m *RoomAllLiveForBigdataResp) Size() (n int) {
  2128. if m == nil {
  2129. return 0
  2130. }
  2131. var l int
  2132. _ = l
  2133. if m.Code != 0 {
  2134. n += 1 + sovRoom(uint64(m.Code))
  2135. }
  2136. l = len(m.Msg)
  2137. if l > 0 {
  2138. n += 1 + l + sovRoom(uint64(l))
  2139. }
  2140. if len(m.Data) > 0 {
  2141. for _, e := range m.Data {
  2142. l = e.Size()
  2143. n += 1 + l + sovRoom(uint64(l))
  2144. }
  2145. }
  2146. return n
  2147. }
  2148. func (m *RoomAllLiveForBigdataResp_RoomInfo) Size() (n int) {
  2149. if m == nil {
  2150. return 0
  2151. }
  2152. var l int
  2153. _ = l
  2154. if m.Roomid != 0 {
  2155. n += 1 + sovRoom(uint64(m.Roomid))
  2156. }
  2157. if m.Uid != 0 {
  2158. n += 1 + sovRoom(uint64(m.Uid))
  2159. }
  2160. if m.CreateTime != 0 {
  2161. n += 1 + sovRoom(uint64(m.CreateTime))
  2162. }
  2163. if m.ShortId != 0 {
  2164. n += 1 + sovRoom(uint64(m.ShortId))
  2165. }
  2166. if m.Online != 0 {
  2167. n += 1 + sovRoom(uint64(m.Online))
  2168. }
  2169. if m.Area != 0 {
  2170. n += 1 + sovRoom(uint64(m.Area))
  2171. }
  2172. if m.AreaV2Id != 0 {
  2173. n += 1 + sovRoom(uint64(m.AreaV2Id))
  2174. }
  2175. if m.AreaV2ParentId != 0 {
  2176. n += 1 + sovRoom(uint64(m.AreaV2ParentId))
  2177. }
  2178. if m.Attentions != 0 {
  2179. n += 1 + sovRoom(uint64(m.Attentions))
  2180. }
  2181. return n
  2182. }
  2183. func (m *RoomGetInfoByIdReq) Size() (n int) {
  2184. if m == nil {
  2185. return 0
  2186. }
  2187. var l int
  2188. _ = l
  2189. if len(m.Ids) > 0 {
  2190. l = 0
  2191. for _, e := range m.Ids {
  2192. l += sovRoom(uint64(e))
  2193. }
  2194. n += 1 + sovRoom(uint64(l)) + l
  2195. }
  2196. if len(m.Fields) > 0 {
  2197. for _, s := range m.Fields {
  2198. l = len(s)
  2199. n += 1 + l + sovRoom(uint64(l))
  2200. }
  2201. }
  2202. return n
  2203. }
  2204. func (m *RoomGetInfoByIdResp) Size() (n int) {
  2205. if m == nil {
  2206. return 0
  2207. }
  2208. var l int
  2209. _ = l
  2210. if m.Code != 0 {
  2211. n += 1 + sovRoom(uint64(m.Code))
  2212. }
  2213. l = len(m.Msg)
  2214. if l > 0 {
  2215. n += 1 + l + sovRoom(uint64(l))
  2216. }
  2217. if len(m.Data) > 0 {
  2218. for k, v := range m.Data {
  2219. _ = k
  2220. _ = v
  2221. l = 0
  2222. if v != nil {
  2223. l = v.Size()
  2224. l += 1 + sovRoom(uint64(l))
  2225. }
  2226. mapEntrySize := 1 + sovRoom(uint64(k)) + l
  2227. n += mapEntrySize + 1 + sovRoom(uint64(mapEntrySize))
  2228. }
  2229. }
  2230. return n
  2231. }
  2232. func (m *RoomGetInfoByIdResp_RoomInfo) Size() (n int) {
  2233. if m == nil {
  2234. return 0
  2235. }
  2236. var l int
  2237. _ = l
  2238. if m.Roomid != 0 {
  2239. n += 1 + sovRoom(uint64(m.Roomid))
  2240. }
  2241. l = len(m.Uname)
  2242. if l > 0 {
  2243. n += 1 + l + sovRoom(uint64(l))
  2244. }
  2245. l = len(m.Cover)
  2246. if l > 0 {
  2247. n += 1 + l + sovRoom(uint64(l))
  2248. }
  2249. if m.Uid != 0 {
  2250. n += 1 + sovRoom(uint64(m.Uid))
  2251. }
  2252. l = len(m.LiveTime)
  2253. if l > 0 {
  2254. n += 1 + l + sovRoom(uint64(l))
  2255. }
  2256. if m.RoundStatus != 0 {
  2257. n += 1 + sovRoom(uint64(m.RoundStatus))
  2258. }
  2259. if m.OnFlag != 0 {
  2260. n += 1 + sovRoom(uint64(m.OnFlag))
  2261. }
  2262. l = len(m.Title)
  2263. if l > 0 {
  2264. n += 1 + l + sovRoom(uint64(l))
  2265. }
  2266. l = len(m.LockStatus)
  2267. if l > 0 {
  2268. n += 1 + l + sovRoom(uint64(l))
  2269. }
  2270. l = len(m.HiddenStatus)
  2271. if l > 0 {
  2272. n += 1 + l + sovRoom(uint64(l))
  2273. }
  2274. l = len(m.UserCover)
  2275. if l > 0 {
  2276. n += 1 + l + sovRoom(uint64(l))
  2277. }
  2278. if m.ShortId != 0 {
  2279. n += 1 + sovRoom(uint64(m.ShortId))
  2280. }
  2281. if m.Online != 0 {
  2282. n += 1 + sovRoom(uint64(m.Online))
  2283. }
  2284. if m.Area != 0 {
  2285. n += 1 + sovRoom(uint64(m.Area))
  2286. }
  2287. if m.AreaV2Id != 0 {
  2288. n += 1 + sovRoom(uint64(m.AreaV2Id))
  2289. }
  2290. if m.AreaV2ParentId != 0 {
  2291. n += 2 + sovRoom(uint64(m.AreaV2ParentId))
  2292. }
  2293. l = len(m.AreaV2Name)
  2294. if l > 0 {
  2295. n += 2 + l + sovRoom(uint64(l))
  2296. }
  2297. l = len(m.AreaV2ParentName)
  2298. if l > 0 {
  2299. n += 2 + l + sovRoom(uint64(l))
  2300. }
  2301. if m.Attentions != 0 {
  2302. n += 2 + sovRoom(uint64(m.Attentions))
  2303. }
  2304. return n
  2305. }
  2306. func (m *RoomGetStatusInfoByUidsReq) Size() (n int) {
  2307. if m == nil {
  2308. return 0
  2309. }
  2310. var l int
  2311. _ = l
  2312. if len(m.Uids) > 0 {
  2313. l = 0
  2314. for _, e := range m.Uids {
  2315. l += sovRoom(uint64(e))
  2316. }
  2317. n += 1 + sovRoom(uint64(l)) + l
  2318. }
  2319. if m.FilterOffline != 0 {
  2320. n += 1 + sovRoom(uint64(m.FilterOffline))
  2321. }
  2322. if m.ShowHidden != 0 {
  2323. n += 1 + sovRoom(uint64(m.ShowHidden))
  2324. }
  2325. if m.FilterIndexBlack != 0 {
  2326. n += 1 + sovRoom(uint64(m.FilterIndexBlack))
  2327. }
  2328. if m.FilterVideo != 0 {
  2329. n += 1 + sovRoom(uint64(m.FilterVideo))
  2330. }
  2331. if m.NeedBroadcastType != 0 {
  2332. n += 1 + sovRoom(uint64(m.NeedBroadcastType))
  2333. }
  2334. return n
  2335. }
  2336. func (m *RoomGetStatusInfoByUidsResp) Size() (n int) {
  2337. if m == nil {
  2338. return 0
  2339. }
  2340. var l int
  2341. _ = l
  2342. if m.Code != 0 {
  2343. n += 1 + sovRoom(uint64(m.Code))
  2344. }
  2345. l = len(m.Msg)
  2346. if l > 0 {
  2347. n += 1 + l + sovRoom(uint64(l))
  2348. }
  2349. if len(m.Data) > 0 {
  2350. for k, v := range m.Data {
  2351. _ = k
  2352. _ = v
  2353. l = 0
  2354. if v != nil {
  2355. l = v.Size()
  2356. l += 1 + sovRoom(uint64(l))
  2357. }
  2358. mapEntrySize := 1 + sovRoom(uint64(k)) + l
  2359. n += mapEntrySize + 1 + sovRoom(uint64(mapEntrySize))
  2360. }
  2361. }
  2362. return n
  2363. }
  2364. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) Size() (n int) {
  2365. if m == nil {
  2366. return 0
  2367. }
  2368. var l int
  2369. _ = l
  2370. l = len(m.Title)
  2371. if l > 0 {
  2372. n += 1 + l + sovRoom(uint64(l))
  2373. }
  2374. if m.RoomId != 0 {
  2375. n += 1 + sovRoom(uint64(m.RoomId))
  2376. }
  2377. if m.Uid != 0 {
  2378. n += 1 + sovRoom(uint64(m.Uid))
  2379. }
  2380. if m.Online != 0 {
  2381. n += 1 + sovRoom(uint64(m.Online))
  2382. }
  2383. if m.LiveTime != 0 {
  2384. n += 1 + sovRoom(uint64(m.LiveTime))
  2385. }
  2386. if m.LiveStatus != 0 {
  2387. n += 1 + sovRoom(uint64(m.LiveStatus))
  2388. }
  2389. if m.ShortId != 0 {
  2390. n += 1 + sovRoom(uint64(m.ShortId))
  2391. }
  2392. if m.Area != 0 {
  2393. n += 1 + sovRoom(uint64(m.Area))
  2394. }
  2395. l = len(m.AreaName)
  2396. if l > 0 {
  2397. n += 1 + l + sovRoom(uint64(l))
  2398. }
  2399. if m.AreaV2Id != 0 {
  2400. n += 1 + sovRoom(uint64(m.AreaV2Id))
  2401. }
  2402. l = len(m.AreaV2Name)
  2403. if l > 0 {
  2404. n += 1 + l + sovRoom(uint64(l))
  2405. }
  2406. l = len(m.AreaV2ParentName)
  2407. if l > 0 {
  2408. n += 1 + l + sovRoom(uint64(l))
  2409. }
  2410. if m.AreaV2ParentId != 0 {
  2411. n += 1 + sovRoom(uint64(m.AreaV2ParentId))
  2412. }
  2413. l = len(m.TagName)
  2414. if l > 0 {
  2415. n += 1 + l + sovRoom(uint64(l))
  2416. }
  2417. l = len(m.Tags)
  2418. if l > 0 {
  2419. n += 1 + l + sovRoom(uint64(l))
  2420. }
  2421. l = len(m.Uname)
  2422. if l > 0 {
  2423. n += 2 + l + sovRoom(uint64(l))
  2424. }
  2425. l = len(m.CoverFromUser)
  2426. if l > 0 {
  2427. n += 2 + l + sovRoom(uint64(l))
  2428. }
  2429. l = len(m.Keyframe)
  2430. if l > 0 {
  2431. n += 2 + l + sovRoom(uint64(l))
  2432. }
  2433. l = len(m.LockTill)
  2434. if l > 0 {
  2435. n += 2 + l + sovRoom(uint64(l))
  2436. }
  2437. l = len(m.HiddenTill)
  2438. if l > 0 {
  2439. n += 2 + l + sovRoom(uint64(l))
  2440. }
  2441. if m.BroadcastType != 0 {
  2442. n += 2 + sovRoom(uint64(m.BroadcastType))
  2443. }
  2444. return n
  2445. }
  2446. func (m *RoomMobileRoomInitReq) Size() (n int) {
  2447. if m == nil {
  2448. return 0
  2449. }
  2450. var l int
  2451. _ = l
  2452. if m.Id != 0 {
  2453. n += 1 + sovRoom(uint64(m.Id))
  2454. }
  2455. l = len(m.Lang)
  2456. if l > 0 {
  2457. n += 1 + l + sovRoom(uint64(l))
  2458. }
  2459. return n
  2460. }
  2461. func (m *RoomMobileRoomInitResp) Size() (n int) {
  2462. if m == nil {
  2463. return 0
  2464. }
  2465. var l int
  2466. _ = l
  2467. if m.Code != 0 {
  2468. n += 1 + sovRoom(uint64(m.Code))
  2469. }
  2470. l = len(m.Msg)
  2471. if l > 0 {
  2472. n += 1 + l + sovRoom(uint64(l))
  2473. }
  2474. if m.Data != nil {
  2475. l = m.Data.Size()
  2476. n += 1 + l + sovRoom(uint64(l))
  2477. }
  2478. return n
  2479. }
  2480. func (m *RoomMobileRoomInitResp_Data) Size() (n int) {
  2481. if m == nil {
  2482. return 0
  2483. }
  2484. var l int
  2485. _ = l
  2486. if m.RoomId != 0 {
  2487. n += 1 + sovRoom(uint64(m.RoomId))
  2488. }
  2489. if m.ShortId != 0 {
  2490. n += 1 + sovRoom(uint64(m.ShortId))
  2491. }
  2492. if m.Uid != 0 {
  2493. n += 1 + sovRoom(uint64(m.Uid))
  2494. }
  2495. if m.NeedP2P != 0 {
  2496. n += 1 + sovRoom(uint64(m.NeedP2P))
  2497. }
  2498. if m.IsLocked {
  2499. n += 2
  2500. }
  2501. if m.IsHidden {
  2502. n += 2
  2503. }
  2504. if m.LockTill != 0 {
  2505. n += 1 + sovRoom(uint64(m.LockTill))
  2506. }
  2507. if m.HiddenTill != 0 {
  2508. n += 1 + sovRoom(uint64(m.HiddenTill))
  2509. }
  2510. if m.Encrypted {
  2511. n += 2
  2512. }
  2513. if m.PwdVerified {
  2514. n += 2
  2515. }
  2516. if m.IsPortrait {
  2517. n += 2
  2518. }
  2519. if m.LiveStatus != 0 {
  2520. n += 1 + sovRoom(uint64(m.LiveStatus))
  2521. }
  2522. if m.IsSp != 0 {
  2523. n += 1 + sovRoom(uint64(m.IsSp))
  2524. }
  2525. if m.SpecialType != 0 {
  2526. n += 1 + sovRoom(uint64(m.SpecialType))
  2527. }
  2528. return n
  2529. }
  2530. func (m *RoomIncrDanmuSendNumReq) Size() (n int) {
  2531. if m == nil {
  2532. return 0
  2533. }
  2534. var l int
  2535. _ = l
  2536. if m.RoomId != 0 {
  2537. n += 1 + sovRoom(uint64(m.RoomId))
  2538. }
  2539. if m.Mode != 0 {
  2540. n += 1 + sovRoom(uint64(m.Mode))
  2541. }
  2542. return n
  2543. }
  2544. func (m *RoomIncrDanmuSendNumResp) Size() (n int) {
  2545. if m == nil {
  2546. return 0
  2547. }
  2548. var l int
  2549. _ = l
  2550. if m.Code != 0 {
  2551. n += 1 + sovRoom(uint64(m.Code))
  2552. }
  2553. l = len(m.Msg)
  2554. if l > 0 {
  2555. n += 1 + l + sovRoom(uint64(l))
  2556. }
  2557. if m.Data != nil {
  2558. l = m.Data.Size()
  2559. n += 1 + l + sovRoom(uint64(l))
  2560. }
  2561. return n
  2562. }
  2563. func (m *RoomIncrDanmuSendNumResp_Data) Size() (n int) {
  2564. if m == nil {
  2565. return 0
  2566. }
  2567. var l int
  2568. _ = l
  2569. return n
  2570. }
  2571. func sovRoom(x uint64) (n int) {
  2572. for {
  2573. n++
  2574. x >>= 7
  2575. if x == 0 {
  2576. break
  2577. }
  2578. }
  2579. return n
  2580. }
  2581. func sozRoom(x uint64) (n int) {
  2582. return sovRoom(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2583. }
  2584. func (m *RoomAllLiveForBigdataReq) Unmarshal(dAtA []byte) error {
  2585. l := len(dAtA)
  2586. iNdEx := 0
  2587. for iNdEx < l {
  2588. preIndex := iNdEx
  2589. var wire uint64
  2590. for shift := uint(0); ; shift += 7 {
  2591. if shift >= 64 {
  2592. return ErrIntOverflowRoom
  2593. }
  2594. if iNdEx >= l {
  2595. return io.ErrUnexpectedEOF
  2596. }
  2597. b := dAtA[iNdEx]
  2598. iNdEx++
  2599. wire |= (uint64(b) & 0x7F) << shift
  2600. if b < 0x80 {
  2601. break
  2602. }
  2603. }
  2604. fieldNum := int32(wire >> 3)
  2605. wireType := int(wire & 0x7)
  2606. if wireType == 4 {
  2607. return fmt.Errorf("proto: RoomAllLiveForBigdataReq: wiretype end group for non-group")
  2608. }
  2609. if fieldNum <= 0 {
  2610. return fmt.Errorf("proto: RoomAllLiveForBigdataReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2611. }
  2612. switch fieldNum {
  2613. default:
  2614. iNdEx = preIndex
  2615. skippy, err := skipRoom(dAtA[iNdEx:])
  2616. if err != nil {
  2617. return err
  2618. }
  2619. if skippy < 0 {
  2620. return ErrInvalidLengthRoom
  2621. }
  2622. if (iNdEx + skippy) > l {
  2623. return io.ErrUnexpectedEOF
  2624. }
  2625. iNdEx += skippy
  2626. }
  2627. }
  2628. if iNdEx > l {
  2629. return io.ErrUnexpectedEOF
  2630. }
  2631. return nil
  2632. }
  2633. func (m *RoomAllLiveForBigdataResp) Unmarshal(dAtA []byte) error {
  2634. l := len(dAtA)
  2635. iNdEx := 0
  2636. for iNdEx < l {
  2637. preIndex := iNdEx
  2638. var wire uint64
  2639. for shift := uint(0); ; shift += 7 {
  2640. if shift >= 64 {
  2641. return ErrIntOverflowRoom
  2642. }
  2643. if iNdEx >= l {
  2644. return io.ErrUnexpectedEOF
  2645. }
  2646. b := dAtA[iNdEx]
  2647. iNdEx++
  2648. wire |= (uint64(b) & 0x7F) << shift
  2649. if b < 0x80 {
  2650. break
  2651. }
  2652. }
  2653. fieldNum := int32(wire >> 3)
  2654. wireType := int(wire & 0x7)
  2655. if wireType == 4 {
  2656. return fmt.Errorf("proto: RoomAllLiveForBigdataResp: wiretype end group for non-group")
  2657. }
  2658. if fieldNum <= 0 {
  2659. return fmt.Errorf("proto: RoomAllLiveForBigdataResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2660. }
  2661. switch fieldNum {
  2662. case 1:
  2663. if wireType != 0 {
  2664. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  2665. }
  2666. m.Code = 0
  2667. for shift := uint(0); ; shift += 7 {
  2668. if shift >= 64 {
  2669. return ErrIntOverflowRoom
  2670. }
  2671. if iNdEx >= l {
  2672. return io.ErrUnexpectedEOF
  2673. }
  2674. b := dAtA[iNdEx]
  2675. iNdEx++
  2676. m.Code |= (int64(b) & 0x7F) << shift
  2677. if b < 0x80 {
  2678. break
  2679. }
  2680. }
  2681. case 2:
  2682. if wireType != 2 {
  2683. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  2684. }
  2685. var stringLen uint64
  2686. for shift := uint(0); ; shift += 7 {
  2687. if shift >= 64 {
  2688. return ErrIntOverflowRoom
  2689. }
  2690. if iNdEx >= l {
  2691. return io.ErrUnexpectedEOF
  2692. }
  2693. b := dAtA[iNdEx]
  2694. iNdEx++
  2695. stringLen |= (uint64(b) & 0x7F) << shift
  2696. if b < 0x80 {
  2697. break
  2698. }
  2699. }
  2700. intStringLen := int(stringLen)
  2701. if intStringLen < 0 {
  2702. return ErrInvalidLengthRoom
  2703. }
  2704. postIndex := iNdEx + intStringLen
  2705. if postIndex > l {
  2706. return io.ErrUnexpectedEOF
  2707. }
  2708. m.Msg = string(dAtA[iNdEx:postIndex])
  2709. iNdEx = postIndex
  2710. case 3:
  2711. if wireType != 2 {
  2712. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  2713. }
  2714. var msglen int
  2715. for shift := uint(0); ; shift += 7 {
  2716. if shift >= 64 {
  2717. return ErrIntOverflowRoom
  2718. }
  2719. if iNdEx >= l {
  2720. return io.ErrUnexpectedEOF
  2721. }
  2722. b := dAtA[iNdEx]
  2723. iNdEx++
  2724. msglen |= (int(b) & 0x7F) << shift
  2725. if b < 0x80 {
  2726. break
  2727. }
  2728. }
  2729. if msglen < 0 {
  2730. return ErrInvalidLengthRoom
  2731. }
  2732. postIndex := iNdEx + msglen
  2733. if postIndex > l {
  2734. return io.ErrUnexpectedEOF
  2735. }
  2736. m.Data = append(m.Data, &RoomAllLiveForBigdataResp_RoomInfo{})
  2737. if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2738. return err
  2739. }
  2740. iNdEx = postIndex
  2741. default:
  2742. iNdEx = preIndex
  2743. skippy, err := skipRoom(dAtA[iNdEx:])
  2744. if err != nil {
  2745. return err
  2746. }
  2747. if skippy < 0 {
  2748. return ErrInvalidLengthRoom
  2749. }
  2750. if (iNdEx + skippy) > l {
  2751. return io.ErrUnexpectedEOF
  2752. }
  2753. iNdEx += skippy
  2754. }
  2755. }
  2756. if iNdEx > l {
  2757. return io.ErrUnexpectedEOF
  2758. }
  2759. return nil
  2760. }
  2761. func (m *RoomAllLiveForBigdataResp_RoomInfo) Unmarshal(dAtA []byte) error {
  2762. l := len(dAtA)
  2763. iNdEx := 0
  2764. for iNdEx < l {
  2765. preIndex := iNdEx
  2766. var wire uint64
  2767. for shift := uint(0); ; shift += 7 {
  2768. if shift >= 64 {
  2769. return ErrIntOverflowRoom
  2770. }
  2771. if iNdEx >= l {
  2772. return io.ErrUnexpectedEOF
  2773. }
  2774. b := dAtA[iNdEx]
  2775. iNdEx++
  2776. wire |= (uint64(b) & 0x7F) << shift
  2777. if b < 0x80 {
  2778. break
  2779. }
  2780. }
  2781. fieldNum := int32(wire >> 3)
  2782. wireType := int(wire & 0x7)
  2783. if wireType == 4 {
  2784. return fmt.Errorf("proto: RoomInfo: wiretype end group for non-group")
  2785. }
  2786. if fieldNum <= 0 {
  2787. return fmt.Errorf("proto: RoomInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  2788. }
  2789. switch fieldNum {
  2790. case 1:
  2791. if wireType != 0 {
  2792. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  2793. }
  2794. m.Roomid = 0
  2795. for shift := uint(0); ; shift += 7 {
  2796. if shift >= 64 {
  2797. return ErrIntOverflowRoom
  2798. }
  2799. if iNdEx >= l {
  2800. return io.ErrUnexpectedEOF
  2801. }
  2802. b := dAtA[iNdEx]
  2803. iNdEx++
  2804. m.Roomid |= (int64(b) & 0x7F) << shift
  2805. if b < 0x80 {
  2806. break
  2807. }
  2808. }
  2809. case 2:
  2810. if wireType != 0 {
  2811. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  2812. }
  2813. m.Uid = 0
  2814. for shift := uint(0); ; shift += 7 {
  2815. if shift >= 64 {
  2816. return ErrIntOverflowRoom
  2817. }
  2818. if iNdEx >= l {
  2819. return io.ErrUnexpectedEOF
  2820. }
  2821. b := dAtA[iNdEx]
  2822. iNdEx++
  2823. m.Uid |= (int64(b) & 0x7F) << shift
  2824. if b < 0x80 {
  2825. break
  2826. }
  2827. }
  2828. case 3:
  2829. if wireType != 0 {
  2830. return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType)
  2831. }
  2832. m.CreateTime = 0
  2833. for shift := uint(0); ; shift += 7 {
  2834. if shift >= 64 {
  2835. return ErrIntOverflowRoom
  2836. }
  2837. if iNdEx >= l {
  2838. return io.ErrUnexpectedEOF
  2839. }
  2840. b := dAtA[iNdEx]
  2841. iNdEx++
  2842. m.CreateTime |= (int64(b) & 0x7F) << shift
  2843. if b < 0x80 {
  2844. break
  2845. }
  2846. }
  2847. case 4:
  2848. if wireType != 0 {
  2849. return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
  2850. }
  2851. m.ShortId = 0
  2852. for shift := uint(0); ; shift += 7 {
  2853. if shift >= 64 {
  2854. return ErrIntOverflowRoom
  2855. }
  2856. if iNdEx >= l {
  2857. return io.ErrUnexpectedEOF
  2858. }
  2859. b := dAtA[iNdEx]
  2860. iNdEx++
  2861. m.ShortId |= (int64(b) & 0x7F) << shift
  2862. if b < 0x80 {
  2863. break
  2864. }
  2865. }
  2866. case 5:
  2867. if wireType != 0 {
  2868. return fmt.Errorf("proto: wrong wireType = %d for field Online", wireType)
  2869. }
  2870. m.Online = 0
  2871. for shift := uint(0); ; shift += 7 {
  2872. if shift >= 64 {
  2873. return ErrIntOverflowRoom
  2874. }
  2875. if iNdEx >= l {
  2876. return io.ErrUnexpectedEOF
  2877. }
  2878. b := dAtA[iNdEx]
  2879. iNdEx++
  2880. m.Online |= (int64(b) & 0x7F) << shift
  2881. if b < 0x80 {
  2882. break
  2883. }
  2884. }
  2885. case 6:
  2886. if wireType != 0 {
  2887. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  2888. }
  2889. m.Area = 0
  2890. for shift := uint(0); ; shift += 7 {
  2891. if shift >= 64 {
  2892. return ErrIntOverflowRoom
  2893. }
  2894. if iNdEx >= l {
  2895. return io.ErrUnexpectedEOF
  2896. }
  2897. b := dAtA[iNdEx]
  2898. iNdEx++
  2899. m.Area |= (int64(b) & 0x7F) << shift
  2900. if b < 0x80 {
  2901. break
  2902. }
  2903. }
  2904. case 7:
  2905. if wireType != 0 {
  2906. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
  2907. }
  2908. m.AreaV2Id = 0
  2909. for shift := uint(0); ; shift += 7 {
  2910. if shift >= 64 {
  2911. return ErrIntOverflowRoom
  2912. }
  2913. if iNdEx >= l {
  2914. return io.ErrUnexpectedEOF
  2915. }
  2916. b := dAtA[iNdEx]
  2917. iNdEx++
  2918. m.AreaV2Id |= (int64(b) & 0x7F) << shift
  2919. if b < 0x80 {
  2920. break
  2921. }
  2922. }
  2923. case 8:
  2924. if wireType != 0 {
  2925. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
  2926. }
  2927. m.AreaV2ParentId = 0
  2928. for shift := uint(0); ; shift += 7 {
  2929. if shift >= 64 {
  2930. return ErrIntOverflowRoom
  2931. }
  2932. if iNdEx >= l {
  2933. return io.ErrUnexpectedEOF
  2934. }
  2935. b := dAtA[iNdEx]
  2936. iNdEx++
  2937. m.AreaV2ParentId |= (int64(b) & 0x7F) << shift
  2938. if b < 0x80 {
  2939. break
  2940. }
  2941. }
  2942. case 9:
  2943. if wireType != 0 {
  2944. return fmt.Errorf("proto: wrong wireType = %d for field Attentions", wireType)
  2945. }
  2946. m.Attentions = 0
  2947. for shift := uint(0); ; shift += 7 {
  2948. if shift >= 64 {
  2949. return ErrIntOverflowRoom
  2950. }
  2951. if iNdEx >= l {
  2952. return io.ErrUnexpectedEOF
  2953. }
  2954. b := dAtA[iNdEx]
  2955. iNdEx++
  2956. m.Attentions |= (int64(b) & 0x7F) << shift
  2957. if b < 0x80 {
  2958. break
  2959. }
  2960. }
  2961. default:
  2962. iNdEx = preIndex
  2963. skippy, err := skipRoom(dAtA[iNdEx:])
  2964. if err != nil {
  2965. return err
  2966. }
  2967. if skippy < 0 {
  2968. return ErrInvalidLengthRoom
  2969. }
  2970. if (iNdEx + skippy) > l {
  2971. return io.ErrUnexpectedEOF
  2972. }
  2973. iNdEx += skippy
  2974. }
  2975. }
  2976. if iNdEx > l {
  2977. return io.ErrUnexpectedEOF
  2978. }
  2979. return nil
  2980. }
  2981. func (m *RoomGetInfoByIdReq) Unmarshal(dAtA []byte) error {
  2982. l := len(dAtA)
  2983. iNdEx := 0
  2984. for iNdEx < l {
  2985. preIndex := iNdEx
  2986. var wire uint64
  2987. for shift := uint(0); ; shift += 7 {
  2988. if shift >= 64 {
  2989. return ErrIntOverflowRoom
  2990. }
  2991. if iNdEx >= l {
  2992. return io.ErrUnexpectedEOF
  2993. }
  2994. b := dAtA[iNdEx]
  2995. iNdEx++
  2996. wire |= (uint64(b) & 0x7F) << shift
  2997. if b < 0x80 {
  2998. break
  2999. }
  3000. }
  3001. fieldNum := int32(wire >> 3)
  3002. wireType := int(wire & 0x7)
  3003. if wireType == 4 {
  3004. return fmt.Errorf("proto: RoomGetInfoByIdReq: wiretype end group for non-group")
  3005. }
  3006. if fieldNum <= 0 {
  3007. return fmt.Errorf("proto: RoomGetInfoByIdReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3008. }
  3009. switch fieldNum {
  3010. case 1:
  3011. if wireType == 0 {
  3012. var v int64
  3013. for shift := uint(0); ; shift += 7 {
  3014. if shift >= 64 {
  3015. return ErrIntOverflowRoom
  3016. }
  3017. if iNdEx >= l {
  3018. return io.ErrUnexpectedEOF
  3019. }
  3020. b := dAtA[iNdEx]
  3021. iNdEx++
  3022. v |= (int64(b) & 0x7F) << shift
  3023. if b < 0x80 {
  3024. break
  3025. }
  3026. }
  3027. m.Ids = append(m.Ids, v)
  3028. } else if wireType == 2 {
  3029. var packedLen int
  3030. for shift := uint(0); ; shift += 7 {
  3031. if shift >= 64 {
  3032. return ErrIntOverflowRoom
  3033. }
  3034. if iNdEx >= l {
  3035. return io.ErrUnexpectedEOF
  3036. }
  3037. b := dAtA[iNdEx]
  3038. iNdEx++
  3039. packedLen |= (int(b) & 0x7F) << shift
  3040. if b < 0x80 {
  3041. break
  3042. }
  3043. }
  3044. if packedLen < 0 {
  3045. return ErrInvalidLengthRoom
  3046. }
  3047. postIndex := iNdEx + packedLen
  3048. if postIndex > l {
  3049. return io.ErrUnexpectedEOF
  3050. }
  3051. var elementCount int
  3052. var count int
  3053. for _, integer := range dAtA {
  3054. if integer < 128 {
  3055. count++
  3056. }
  3057. }
  3058. elementCount = count
  3059. if elementCount != 0 && len(m.Ids) == 0 {
  3060. m.Ids = make([]int64, 0, elementCount)
  3061. }
  3062. for iNdEx < postIndex {
  3063. var v int64
  3064. for shift := uint(0); ; shift += 7 {
  3065. if shift >= 64 {
  3066. return ErrIntOverflowRoom
  3067. }
  3068. if iNdEx >= l {
  3069. return io.ErrUnexpectedEOF
  3070. }
  3071. b := dAtA[iNdEx]
  3072. iNdEx++
  3073. v |= (int64(b) & 0x7F) << shift
  3074. if b < 0x80 {
  3075. break
  3076. }
  3077. }
  3078. m.Ids = append(m.Ids, v)
  3079. }
  3080. } else {
  3081. return fmt.Errorf("proto: wrong wireType = %d for field Ids", wireType)
  3082. }
  3083. case 2:
  3084. if wireType != 2 {
  3085. return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType)
  3086. }
  3087. var stringLen uint64
  3088. for shift := uint(0); ; shift += 7 {
  3089. if shift >= 64 {
  3090. return ErrIntOverflowRoom
  3091. }
  3092. if iNdEx >= l {
  3093. return io.ErrUnexpectedEOF
  3094. }
  3095. b := dAtA[iNdEx]
  3096. iNdEx++
  3097. stringLen |= (uint64(b) & 0x7F) << shift
  3098. if b < 0x80 {
  3099. break
  3100. }
  3101. }
  3102. intStringLen := int(stringLen)
  3103. if intStringLen < 0 {
  3104. return ErrInvalidLengthRoom
  3105. }
  3106. postIndex := iNdEx + intStringLen
  3107. if postIndex > l {
  3108. return io.ErrUnexpectedEOF
  3109. }
  3110. m.Fields = append(m.Fields, string(dAtA[iNdEx:postIndex]))
  3111. iNdEx = postIndex
  3112. default:
  3113. iNdEx = preIndex
  3114. skippy, err := skipRoom(dAtA[iNdEx:])
  3115. if err != nil {
  3116. return err
  3117. }
  3118. if skippy < 0 {
  3119. return ErrInvalidLengthRoom
  3120. }
  3121. if (iNdEx + skippy) > l {
  3122. return io.ErrUnexpectedEOF
  3123. }
  3124. iNdEx += skippy
  3125. }
  3126. }
  3127. if iNdEx > l {
  3128. return io.ErrUnexpectedEOF
  3129. }
  3130. return nil
  3131. }
  3132. func (m *RoomGetInfoByIdResp) Unmarshal(dAtA []byte) error {
  3133. l := len(dAtA)
  3134. iNdEx := 0
  3135. for iNdEx < l {
  3136. preIndex := iNdEx
  3137. var wire uint64
  3138. for shift := uint(0); ; shift += 7 {
  3139. if shift >= 64 {
  3140. return ErrIntOverflowRoom
  3141. }
  3142. if iNdEx >= l {
  3143. return io.ErrUnexpectedEOF
  3144. }
  3145. b := dAtA[iNdEx]
  3146. iNdEx++
  3147. wire |= (uint64(b) & 0x7F) << shift
  3148. if b < 0x80 {
  3149. break
  3150. }
  3151. }
  3152. fieldNum := int32(wire >> 3)
  3153. wireType := int(wire & 0x7)
  3154. if wireType == 4 {
  3155. return fmt.Errorf("proto: RoomGetInfoByIdResp: wiretype end group for non-group")
  3156. }
  3157. if fieldNum <= 0 {
  3158. return fmt.Errorf("proto: RoomGetInfoByIdResp: illegal tag %d (wire type %d)", fieldNum, wire)
  3159. }
  3160. switch fieldNum {
  3161. case 1:
  3162. if wireType != 0 {
  3163. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  3164. }
  3165. m.Code = 0
  3166. for shift := uint(0); ; shift += 7 {
  3167. if shift >= 64 {
  3168. return ErrIntOverflowRoom
  3169. }
  3170. if iNdEx >= l {
  3171. return io.ErrUnexpectedEOF
  3172. }
  3173. b := dAtA[iNdEx]
  3174. iNdEx++
  3175. m.Code |= (int64(b) & 0x7F) << shift
  3176. if b < 0x80 {
  3177. break
  3178. }
  3179. }
  3180. case 2:
  3181. if wireType != 2 {
  3182. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  3183. }
  3184. var stringLen uint64
  3185. for shift := uint(0); ; shift += 7 {
  3186. if shift >= 64 {
  3187. return ErrIntOverflowRoom
  3188. }
  3189. if iNdEx >= l {
  3190. return io.ErrUnexpectedEOF
  3191. }
  3192. b := dAtA[iNdEx]
  3193. iNdEx++
  3194. stringLen |= (uint64(b) & 0x7F) << shift
  3195. if b < 0x80 {
  3196. break
  3197. }
  3198. }
  3199. intStringLen := int(stringLen)
  3200. if intStringLen < 0 {
  3201. return ErrInvalidLengthRoom
  3202. }
  3203. postIndex := iNdEx + intStringLen
  3204. if postIndex > l {
  3205. return io.ErrUnexpectedEOF
  3206. }
  3207. m.Msg = string(dAtA[iNdEx:postIndex])
  3208. iNdEx = postIndex
  3209. case 3:
  3210. if wireType != 2 {
  3211. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  3212. }
  3213. var msglen int
  3214. for shift := uint(0); ; shift += 7 {
  3215. if shift >= 64 {
  3216. return ErrIntOverflowRoom
  3217. }
  3218. if iNdEx >= l {
  3219. return io.ErrUnexpectedEOF
  3220. }
  3221. b := dAtA[iNdEx]
  3222. iNdEx++
  3223. msglen |= (int(b) & 0x7F) << shift
  3224. if b < 0x80 {
  3225. break
  3226. }
  3227. }
  3228. if msglen < 0 {
  3229. return ErrInvalidLengthRoom
  3230. }
  3231. postIndex := iNdEx + msglen
  3232. if postIndex > l {
  3233. return io.ErrUnexpectedEOF
  3234. }
  3235. if m.Data == nil {
  3236. m.Data = make(map[int64]*RoomGetInfoByIdResp_RoomInfo)
  3237. }
  3238. var mapkey int64
  3239. var mapvalue *RoomGetInfoByIdResp_RoomInfo
  3240. for iNdEx < postIndex {
  3241. entryPreIndex := iNdEx
  3242. var wire uint64
  3243. for shift := uint(0); ; shift += 7 {
  3244. if shift >= 64 {
  3245. return ErrIntOverflowRoom
  3246. }
  3247. if iNdEx >= l {
  3248. return io.ErrUnexpectedEOF
  3249. }
  3250. b := dAtA[iNdEx]
  3251. iNdEx++
  3252. wire |= (uint64(b) & 0x7F) << shift
  3253. if b < 0x80 {
  3254. break
  3255. }
  3256. }
  3257. fieldNum := int32(wire >> 3)
  3258. if fieldNum == 1 {
  3259. for shift := uint(0); ; shift += 7 {
  3260. if shift >= 64 {
  3261. return ErrIntOverflowRoom
  3262. }
  3263. if iNdEx >= l {
  3264. return io.ErrUnexpectedEOF
  3265. }
  3266. b := dAtA[iNdEx]
  3267. iNdEx++
  3268. mapkey |= (int64(b) & 0x7F) << shift
  3269. if b < 0x80 {
  3270. break
  3271. }
  3272. }
  3273. } else if fieldNum == 2 {
  3274. var mapmsglen int
  3275. for shift := uint(0); ; shift += 7 {
  3276. if shift >= 64 {
  3277. return ErrIntOverflowRoom
  3278. }
  3279. if iNdEx >= l {
  3280. return io.ErrUnexpectedEOF
  3281. }
  3282. b := dAtA[iNdEx]
  3283. iNdEx++
  3284. mapmsglen |= (int(b) & 0x7F) << shift
  3285. if b < 0x80 {
  3286. break
  3287. }
  3288. }
  3289. if mapmsglen < 0 {
  3290. return ErrInvalidLengthRoom
  3291. }
  3292. postmsgIndex := iNdEx + mapmsglen
  3293. if mapmsglen < 0 {
  3294. return ErrInvalidLengthRoom
  3295. }
  3296. if postmsgIndex > l {
  3297. return io.ErrUnexpectedEOF
  3298. }
  3299. mapvalue = &RoomGetInfoByIdResp_RoomInfo{}
  3300. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  3301. return err
  3302. }
  3303. iNdEx = postmsgIndex
  3304. } else {
  3305. iNdEx = entryPreIndex
  3306. skippy, err := skipRoom(dAtA[iNdEx:])
  3307. if err != nil {
  3308. return err
  3309. }
  3310. if skippy < 0 {
  3311. return ErrInvalidLengthRoom
  3312. }
  3313. if (iNdEx + skippy) > postIndex {
  3314. return io.ErrUnexpectedEOF
  3315. }
  3316. iNdEx += skippy
  3317. }
  3318. }
  3319. m.Data[mapkey] = mapvalue
  3320. iNdEx = postIndex
  3321. default:
  3322. iNdEx = preIndex
  3323. skippy, err := skipRoom(dAtA[iNdEx:])
  3324. if err != nil {
  3325. return err
  3326. }
  3327. if skippy < 0 {
  3328. return ErrInvalidLengthRoom
  3329. }
  3330. if (iNdEx + skippy) > l {
  3331. return io.ErrUnexpectedEOF
  3332. }
  3333. iNdEx += skippy
  3334. }
  3335. }
  3336. if iNdEx > l {
  3337. return io.ErrUnexpectedEOF
  3338. }
  3339. return nil
  3340. }
  3341. func (m *RoomGetInfoByIdResp_RoomInfo) Unmarshal(dAtA []byte) error {
  3342. l := len(dAtA)
  3343. iNdEx := 0
  3344. for iNdEx < l {
  3345. preIndex := iNdEx
  3346. var wire uint64
  3347. for shift := uint(0); ; shift += 7 {
  3348. if shift >= 64 {
  3349. return ErrIntOverflowRoom
  3350. }
  3351. if iNdEx >= l {
  3352. return io.ErrUnexpectedEOF
  3353. }
  3354. b := dAtA[iNdEx]
  3355. iNdEx++
  3356. wire |= (uint64(b) & 0x7F) << shift
  3357. if b < 0x80 {
  3358. break
  3359. }
  3360. }
  3361. fieldNum := int32(wire >> 3)
  3362. wireType := int(wire & 0x7)
  3363. if wireType == 4 {
  3364. return fmt.Errorf("proto: RoomInfo: wiretype end group for non-group")
  3365. }
  3366. if fieldNum <= 0 {
  3367. return fmt.Errorf("proto: RoomInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3368. }
  3369. switch fieldNum {
  3370. case 1:
  3371. if wireType != 0 {
  3372. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  3373. }
  3374. m.Roomid = 0
  3375. for shift := uint(0); ; shift += 7 {
  3376. if shift >= 64 {
  3377. return ErrIntOverflowRoom
  3378. }
  3379. if iNdEx >= l {
  3380. return io.ErrUnexpectedEOF
  3381. }
  3382. b := dAtA[iNdEx]
  3383. iNdEx++
  3384. m.Roomid |= (int64(b) & 0x7F) << shift
  3385. if b < 0x80 {
  3386. break
  3387. }
  3388. }
  3389. case 2:
  3390. if wireType != 2 {
  3391. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  3392. }
  3393. var stringLen uint64
  3394. for shift := uint(0); ; shift += 7 {
  3395. if shift >= 64 {
  3396. return ErrIntOverflowRoom
  3397. }
  3398. if iNdEx >= l {
  3399. return io.ErrUnexpectedEOF
  3400. }
  3401. b := dAtA[iNdEx]
  3402. iNdEx++
  3403. stringLen |= (uint64(b) & 0x7F) << shift
  3404. if b < 0x80 {
  3405. break
  3406. }
  3407. }
  3408. intStringLen := int(stringLen)
  3409. if intStringLen < 0 {
  3410. return ErrInvalidLengthRoom
  3411. }
  3412. postIndex := iNdEx + intStringLen
  3413. if postIndex > l {
  3414. return io.ErrUnexpectedEOF
  3415. }
  3416. m.Uname = string(dAtA[iNdEx:postIndex])
  3417. iNdEx = postIndex
  3418. case 3:
  3419. if wireType != 2 {
  3420. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  3421. }
  3422. var stringLen uint64
  3423. for shift := uint(0); ; shift += 7 {
  3424. if shift >= 64 {
  3425. return ErrIntOverflowRoom
  3426. }
  3427. if iNdEx >= l {
  3428. return io.ErrUnexpectedEOF
  3429. }
  3430. b := dAtA[iNdEx]
  3431. iNdEx++
  3432. stringLen |= (uint64(b) & 0x7F) << shift
  3433. if b < 0x80 {
  3434. break
  3435. }
  3436. }
  3437. intStringLen := int(stringLen)
  3438. if intStringLen < 0 {
  3439. return ErrInvalidLengthRoom
  3440. }
  3441. postIndex := iNdEx + intStringLen
  3442. if postIndex > l {
  3443. return io.ErrUnexpectedEOF
  3444. }
  3445. m.Cover = string(dAtA[iNdEx:postIndex])
  3446. iNdEx = postIndex
  3447. case 4:
  3448. if wireType != 0 {
  3449. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  3450. }
  3451. m.Uid = 0
  3452. for shift := uint(0); ; shift += 7 {
  3453. if shift >= 64 {
  3454. return ErrIntOverflowRoom
  3455. }
  3456. if iNdEx >= l {
  3457. return io.ErrUnexpectedEOF
  3458. }
  3459. b := dAtA[iNdEx]
  3460. iNdEx++
  3461. m.Uid |= (int64(b) & 0x7F) << shift
  3462. if b < 0x80 {
  3463. break
  3464. }
  3465. }
  3466. case 5:
  3467. if wireType != 2 {
  3468. return fmt.Errorf("proto: wrong wireType = %d for field LiveTime", wireType)
  3469. }
  3470. var stringLen uint64
  3471. for shift := uint(0); ; shift += 7 {
  3472. if shift >= 64 {
  3473. return ErrIntOverflowRoom
  3474. }
  3475. if iNdEx >= l {
  3476. return io.ErrUnexpectedEOF
  3477. }
  3478. b := dAtA[iNdEx]
  3479. iNdEx++
  3480. stringLen |= (uint64(b) & 0x7F) << shift
  3481. if b < 0x80 {
  3482. break
  3483. }
  3484. }
  3485. intStringLen := int(stringLen)
  3486. if intStringLen < 0 {
  3487. return ErrInvalidLengthRoom
  3488. }
  3489. postIndex := iNdEx + intStringLen
  3490. if postIndex > l {
  3491. return io.ErrUnexpectedEOF
  3492. }
  3493. m.LiveTime = string(dAtA[iNdEx:postIndex])
  3494. iNdEx = postIndex
  3495. case 6:
  3496. if wireType != 0 {
  3497. return fmt.Errorf("proto: wrong wireType = %d for field RoundStatus", wireType)
  3498. }
  3499. m.RoundStatus = 0
  3500. for shift := uint(0); ; shift += 7 {
  3501. if shift >= 64 {
  3502. return ErrIntOverflowRoom
  3503. }
  3504. if iNdEx >= l {
  3505. return io.ErrUnexpectedEOF
  3506. }
  3507. b := dAtA[iNdEx]
  3508. iNdEx++
  3509. m.RoundStatus |= (int64(b) & 0x7F) << shift
  3510. if b < 0x80 {
  3511. break
  3512. }
  3513. }
  3514. case 7:
  3515. if wireType != 0 {
  3516. return fmt.Errorf("proto: wrong wireType = %d for field OnFlag", wireType)
  3517. }
  3518. m.OnFlag = 0
  3519. for shift := uint(0); ; shift += 7 {
  3520. if shift >= 64 {
  3521. return ErrIntOverflowRoom
  3522. }
  3523. if iNdEx >= l {
  3524. return io.ErrUnexpectedEOF
  3525. }
  3526. b := dAtA[iNdEx]
  3527. iNdEx++
  3528. m.OnFlag |= (int64(b) & 0x7F) << shift
  3529. if b < 0x80 {
  3530. break
  3531. }
  3532. }
  3533. case 8:
  3534. if wireType != 2 {
  3535. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  3536. }
  3537. var stringLen uint64
  3538. for shift := uint(0); ; shift += 7 {
  3539. if shift >= 64 {
  3540. return ErrIntOverflowRoom
  3541. }
  3542. if iNdEx >= l {
  3543. return io.ErrUnexpectedEOF
  3544. }
  3545. b := dAtA[iNdEx]
  3546. iNdEx++
  3547. stringLen |= (uint64(b) & 0x7F) << shift
  3548. if b < 0x80 {
  3549. break
  3550. }
  3551. }
  3552. intStringLen := int(stringLen)
  3553. if intStringLen < 0 {
  3554. return ErrInvalidLengthRoom
  3555. }
  3556. postIndex := iNdEx + intStringLen
  3557. if postIndex > l {
  3558. return io.ErrUnexpectedEOF
  3559. }
  3560. m.Title = string(dAtA[iNdEx:postIndex])
  3561. iNdEx = postIndex
  3562. case 9:
  3563. if wireType != 2 {
  3564. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  3565. }
  3566. var stringLen uint64
  3567. for shift := uint(0); ; shift += 7 {
  3568. if shift >= 64 {
  3569. return ErrIntOverflowRoom
  3570. }
  3571. if iNdEx >= l {
  3572. return io.ErrUnexpectedEOF
  3573. }
  3574. b := dAtA[iNdEx]
  3575. iNdEx++
  3576. stringLen |= (uint64(b) & 0x7F) << shift
  3577. if b < 0x80 {
  3578. break
  3579. }
  3580. }
  3581. intStringLen := int(stringLen)
  3582. if intStringLen < 0 {
  3583. return ErrInvalidLengthRoom
  3584. }
  3585. postIndex := iNdEx + intStringLen
  3586. if postIndex > l {
  3587. return io.ErrUnexpectedEOF
  3588. }
  3589. m.LockStatus = string(dAtA[iNdEx:postIndex])
  3590. iNdEx = postIndex
  3591. case 10:
  3592. if wireType != 2 {
  3593. return fmt.Errorf("proto: wrong wireType = %d for field HiddenStatus", wireType)
  3594. }
  3595. var stringLen uint64
  3596. for shift := uint(0); ; shift += 7 {
  3597. if shift >= 64 {
  3598. return ErrIntOverflowRoom
  3599. }
  3600. if iNdEx >= l {
  3601. return io.ErrUnexpectedEOF
  3602. }
  3603. b := dAtA[iNdEx]
  3604. iNdEx++
  3605. stringLen |= (uint64(b) & 0x7F) << shift
  3606. if b < 0x80 {
  3607. break
  3608. }
  3609. }
  3610. intStringLen := int(stringLen)
  3611. if intStringLen < 0 {
  3612. return ErrInvalidLengthRoom
  3613. }
  3614. postIndex := iNdEx + intStringLen
  3615. if postIndex > l {
  3616. return io.ErrUnexpectedEOF
  3617. }
  3618. m.HiddenStatus = string(dAtA[iNdEx:postIndex])
  3619. iNdEx = postIndex
  3620. case 11:
  3621. if wireType != 2 {
  3622. return fmt.Errorf("proto: wrong wireType = %d for field UserCover", wireType)
  3623. }
  3624. var stringLen uint64
  3625. for shift := uint(0); ; shift += 7 {
  3626. if shift >= 64 {
  3627. return ErrIntOverflowRoom
  3628. }
  3629. if iNdEx >= l {
  3630. return io.ErrUnexpectedEOF
  3631. }
  3632. b := dAtA[iNdEx]
  3633. iNdEx++
  3634. stringLen |= (uint64(b) & 0x7F) << shift
  3635. if b < 0x80 {
  3636. break
  3637. }
  3638. }
  3639. intStringLen := int(stringLen)
  3640. if intStringLen < 0 {
  3641. return ErrInvalidLengthRoom
  3642. }
  3643. postIndex := iNdEx + intStringLen
  3644. if postIndex > l {
  3645. return io.ErrUnexpectedEOF
  3646. }
  3647. m.UserCover = string(dAtA[iNdEx:postIndex])
  3648. iNdEx = postIndex
  3649. case 12:
  3650. if wireType != 0 {
  3651. return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
  3652. }
  3653. m.ShortId = 0
  3654. for shift := uint(0); ; shift += 7 {
  3655. if shift >= 64 {
  3656. return ErrIntOverflowRoom
  3657. }
  3658. if iNdEx >= l {
  3659. return io.ErrUnexpectedEOF
  3660. }
  3661. b := dAtA[iNdEx]
  3662. iNdEx++
  3663. m.ShortId |= (int64(b) & 0x7F) << shift
  3664. if b < 0x80 {
  3665. break
  3666. }
  3667. }
  3668. case 13:
  3669. if wireType != 0 {
  3670. return fmt.Errorf("proto: wrong wireType = %d for field Online", wireType)
  3671. }
  3672. m.Online = 0
  3673. for shift := uint(0); ; shift += 7 {
  3674. if shift >= 64 {
  3675. return ErrIntOverflowRoom
  3676. }
  3677. if iNdEx >= l {
  3678. return io.ErrUnexpectedEOF
  3679. }
  3680. b := dAtA[iNdEx]
  3681. iNdEx++
  3682. m.Online |= (int64(b) & 0x7F) << shift
  3683. if b < 0x80 {
  3684. break
  3685. }
  3686. }
  3687. case 14:
  3688. if wireType != 0 {
  3689. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  3690. }
  3691. m.Area = 0
  3692. for shift := uint(0); ; shift += 7 {
  3693. if shift >= 64 {
  3694. return ErrIntOverflowRoom
  3695. }
  3696. if iNdEx >= l {
  3697. return io.ErrUnexpectedEOF
  3698. }
  3699. b := dAtA[iNdEx]
  3700. iNdEx++
  3701. m.Area |= (int64(b) & 0x7F) << shift
  3702. if b < 0x80 {
  3703. break
  3704. }
  3705. }
  3706. case 15:
  3707. if wireType != 0 {
  3708. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
  3709. }
  3710. m.AreaV2Id = 0
  3711. for shift := uint(0); ; shift += 7 {
  3712. if shift >= 64 {
  3713. return ErrIntOverflowRoom
  3714. }
  3715. if iNdEx >= l {
  3716. return io.ErrUnexpectedEOF
  3717. }
  3718. b := dAtA[iNdEx]
  3719. iNdEx++
  3720. m.AreaV2Id |= (int64(b) & 0x7F) << shift
  3721. if b < 0x80 {
  3722. break
  3723. }
  3724. }
  3725. case 16:
  3726. if wireType != 0 {
  3727. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
  3728. }
  3729. m.AreaV2ParentId = 0
  3730. for shift := uint(0); ; shift += 7 {
  3731. if shift >= 64 {
  3732. return ErrIntOverflowRoom
  3733. }
  3734. if iNdEx >= l {
  3735. return io.ErrUnexpectedEOF
  3736. }
  3737. b := dAtA[iNdEx]
  3738. iNdEx++
  3739. m.AreaV2ParentId |= (int64(b) & 0x7F) << shift
  3740. if b < 0x80 {
  3741. break
  3742. }
  3743. }
  3744. case 17:
  3745. if wireType != 2 {
  3746. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
  3747. }
  3748. var stringLen uint64
  3749. for shift := uint(0); ; shift += 7 {
  3750. if shift >= 64 {
  3751. return ErrIntOverflowRoom
  3752. }
  3753. if iNdEx >= l {
  3754. return io.ErrUnexpectedEOF
  3755. }
  3756. b := dAtA[iNdEx]
  3757. iNdEx++
  3758. stringLen |= (uint64(b) & 0x7F) << shift
  3759. if b < 0x80 {
  3760. break
  3761. }
  3762. }
  3763. intStringLen := int(stringLen)
  3764. if intStringLen < 0 {
  3765. return ErrInvalidLengthRoom
  3766. }
  3767. postIndex := iNdEx + intStringLen
  3768. if postIndex > l {
  3769. return io.ErrUnexpectedEOF
  3770. }
  3771. m.AreaV2Name = string(dAtA[iNdEx:postIndex])
  3772. iNdEx = postIndex
  3773. case 18:
  3774. if wireType != 2 {
  3775. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentName", wireType)
  3776. }
  3777. var stringLen uint64
  3778. for shift := uint(0); ; shift += 7 {
  3779. if shift >= 64 {
  3780. return ErrIntOverflowRoom
  3781. }
  3782. if iNdEx >= l {
  3783. return io.ErrUnexpectedEOF
  3784. }
  3785. b := dAtA[iNdEx]
  3786. iNdEx++
  3787. stringLen |= (uint64(b) & 0x7F) << shift
  3788. if b < 0x80 {
  3789. break
  3790. }
  3791. }
  3792. intStringLen := int(stringLen)
  3793. if intStringLen < 0 {
  3794. return ErrInvalidLengthRoom
  3795. }
  3796. postIndex := iNdEx + intStringLen
  3797. if postIndex > l {
  3798. return io.ErrUnexpectedEOF
  3799. }
  3800. m.AreaV2ParentName = string(dAtA[iNdEx:postIndex])
  3801. iNdEx = postIndex
  3802. case 19:
  3803. if wireType != 0 {
  3804. return fmt.Errorf("proto: wrong wireType = %d for field Attentions", wireType)
  3805. }
  3806. m.Attentions = 0
  3807. for shift := uint(0); ; shift += 7 {
  3808. if shift >= 64 {
  3809. return ErrIntOverflowRoom
  3810. }
  3811. if iNdEx >= l {
  3812. return io.ErrUnexpectedEOF
  3813. }
  3814. b := dAtA[iNdEx]
  3815. iNdEx++
  3816. m.Attentions |= (int64(b) & 0x7F) << shift
  3817. if b < 0x80 {
  3818. break
  3819. }
  3820. }
  3821. default:
  3822. iNdEx = preIndex
  3823. skippy, err := skipRoom(dAtA[iNdEx:])
  3824. if err != nil {
  3825. return err
  3826. }
  3827. if skippy < 0 {
  3828. return ErrInvalidLengthRoom
  3829. }
  3830. if (iNdEx + skippy) > l {
  3831. return io.ErrUnexpectedEOF
  3832. }
  3833. iNdEx += skippy
  3834. }
  3835. }
  3836. if iNdEx > l {
  3837. return io.ErrUnexpectedEOF
  3838. }
  3839. return nil
  3840. }
  3841. func (m *RoomGetStatusInfoByUidsReq) Unmarshal(dAtA []byte) error {
  3842. l := len(dAtA)
  3843. iNdEx := 0
  3844. for iNdEx < l {
  3845. preIndex := iNdEx
  3846. var wire uint64
  3847. for shift := uint(0); ; shift += 7 {
  3848. if shift >= 64 {
  3849. return ErrIntOverflowRoom
  3850. }
  3851. if iNdEx >= l {
  3852. return io.ErrUnexpectedEOF
  3853. }
  3854. b := dAtA[iNdEx]
  3855. iNdEx++
  3856. wire |= (uint64(b) & 0x7F) << shift
  3857. if b < 0x80 {
  3858. break
  3859. }
  3860. }
  3861. fieldNum := int32(wire >> 3)
  3862. wireType := int(wire & 0x7)
  3863. if wireType == 4 {
  3864. return fmt.Errorf("proto: RoomGetStatusInfoByUidsReq: wiretype end group for non-group")
  3865. }
  3866. if fieldNum <= 0 {
  3867. return fmt.Errorf("proto: RoomGetStatusInfoByUidsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3868. }
  3869. switch fieldNum {
  3870. case 1:
  3871. if wireType == 0 {
  3872. var v int64
  3873. for shift := uint(0); ; shift += 7 {
  3874. if shift >= 64 {
  3875. return ErrIntOverflowRoom
  3876. }
  3877. if iNdEx >= l {
  3878. return io.ErrUnexpectedEOF
  3879. }
  3880. b := dAtA[iNdEx]
  3881. iNdEx++
  3882. v |= (int64(b) & 0x7F) << shift
  3883. if b < 0x80 {
  3884. break
  3885. }
  3886. }
  3887. m.Uids = append(m.Uids, v)
  3888. } else if wireType == 2 {
  3889. var packedLen int
  3890. for shift := uint(0); ; shift += 7 {
  3891. if shift >= 64 {
  3892. return ErrIntOverflowRoom
  3893. }
  3894. if iNdEx >= l {
  3895. return io.ErrUnexpectedEOF
  3896. }
  3897. b := dAtA[iNdEx]
  3898. iNdEx++
  3899. packedLen |= (int(b) & 0x7F) << shift
  3900. if b < 0x80 {
  3901. break
  3902. }
  3903. }
  3904. if packedLen < 0 {
  3905. return ErrInvalidLengthRoom
  3906. }
  3907. postIndex := iNdEx + packedLen
  3908. if postIndex > l {
  3909. return io.ErrUnexpectedEOF
  3910. }
  3911. var elementCount int
  3912. var count int
  3913. for _, integer := range dAtA {
  3914. if integer < 128 {
  3915. count++
  3916. }
  3917. }
  3918. elementCount = count
  3919. if elementCount != 0 && len(m.Uids) == 0 {
  3920. m.Uids = make([]int64, 0, elementCount)
  3921. }
  3922. for iNdEx < postIndex {
  3923. var v int64
  3924. for shift := uint(0); ; shift += 7 {
  3925. if shift >= 64 {
  3926. return ErrIntOverflowRoom
  3927. }
  3928. if iNdEx >= l {
  3929. return io.ErrUnexpectedEOF
  3930. }
  3931. b := dAtA[iNdEx]
  3932. iNdEx++
  3933. v |= (int64(b) & 0x7F) << shift
  3934. if b < 0x80 {
  3935. break
  3936. }
  3937. }
  3938. m.Uids = append(m.Uids, v)
  3939. }
  3940. } else {
  3941. return fmt.Errorf("proto: wrong wireType = %d for field Uids", wireType)
  3942. }
  3943. case 2:
  3944. if wireType != 0 {
  3945. return fmt.Errorf("proto: wrong wireType = %d for field FilterOffline", wireType)
  3946. }
  3947. m.FilterOffline = 0
  3948. for shift := uint(0); ; shift += 7 {
  3949. if shift >= 64 {
  3950. return ErrIntOverflowRoom
  3951. }
  3952. if iNdEx >= l {
  3953. return io.ErrUnexpectedEOF
  3954. }
  3955. b := dAtA[iNdEx]
  3956. iNdEx++
  3957. m.FilterOffline |= (int64(b) & 0x7F) << shift
  3958. if b < 0x80 {
  3959. break
  3960. }
  3961. }
  3962. case 3:
  3963. if wireType != 0 {
  3964. return fmt.Errorf("proto: wrong wireType = %d for field ShowHidden", wireType)
  3965. }
  3966. m.ShowHidden = 0
  3967. for shift := uint(0); ; shift += 7 {
  3968. if shift >= 64 {
  3969. return ErrIntOverflowRoom
  3970. }
  3971. if iNdEx >= l {
  3972. return io.ErrUnexpectedEOF
  3973. }
  3974. b := dAtA[iNdEx]
  3975. iNdEx++
  3976. m.ShowHidden |= (int64(b) & 0x7F) << shift
  3977. if b < 0x80 {
  3978. break
  3979. }
  3980. }
  3981. case 4:
  3982. if wireType != 0 {
  3983. return fmt.Errorf("proto: wrong wireType = %d for field FilterIndexBlack", wireType)
  3984. }
  3985. m.FilterIndexBlack = 0
  3986. for shift := uint(0); ; shift += 7 {
  3987. if shift >= 64 {
  3988. return ErrIntOverflowRoom
  3989. }
  3990. if iNdEx >= l {
  3991. return io.ErrUnexpectedEOF
  3992. }
  3993. b := dAtA[iNdEx]
  3994. iNdEx++
  3995. m.FilterIndexBlack |= (int64(b) & 0x7F) << shift
  3996. if b < 0x80 {
  3997. break
  3998. }
  3999. }
  4000. case 5:
  4001. if wireType != 0 {
  4002. return fmt.Errorf("proto: wrong wireType = %d for field FilterVideo", wireType)
  4003. }
  4004. m.FilterVideo = 0
  4005. for shift := uint(0); ; shift += 7 {
  4006. if shift >= 64 {
  4007. return ErrIntOverflowRoom
  4008. }
  4009. if iNdEx >= l {
  4010. return io.ErrUnexpectedEOF
  4011. }
  4012. b := dAtA[iNdEx]
  4013. iNdEx++
  4014. m.FilterVideo |= (int64(b) & 0x7F) << shift
  4015. if b < 0x80 {
  4016. break
  4017. }
  4018. }
  4019. case 6:
  4020. if wireType != 0 {
  4021. return fmt.Errorf("proto: wrong wireType = %d for field NeedBroadcastType", wireType)
  4022. }
  4023. m.NeedBroadcastType = 0
  4024. for shift := uint(0); ; shift += 7 {
  4025. if shift >= 64 {
  4026. return ErrIntOverflowRoom
  4027. }
  4028. if iNdEx >= l {
  4029. return io.ErrUnexpectedEOF
  4030. }
  4031. b := dAtA[iNdEx]
  4032. iNdEx++
  4033. m.NeedBroadcastType |= (int64(b) & 0x7F) << shift
  4034. if b < 0x80 {
  4035. break
  4036. }
  4037. }
  4038. default:
  4039. iNdEx = preIndex
  4040. skippy, err := skipRoom(dAtA[iNdEx:])
  4041. if err != nil {
  4042. return err
  4043. }
  4044. if skippy < 0 {
  4045. return ErrInvalidLengthRoom
  4046. }
  4047. if (iNdEx + skippy) > l {
  4048. return io.ErrUnexpectedEOF
  4049. }
  4050. iNdEx += skippy
  4051. }
  4052. }
  4053. if iNdEx > l {
  4054. return io.ErrUnexpectedEOF
  4055. }
  4056. return nil
  4057. }
  4058. func (m *RoomGetStatusInfoByUidsResp) Unmarshal(dAtA []byte) error {
  4059. l := len(dAtA)
  4060. iNdEx := 0
  4061. for iNdEx < l {
  4062. preIndex := iNdEx
  4063. var wire uint64
  4064. for shift := uint(0); ; shift += 7 {
  4065. if shift >= 64 {
  4066. return ErrIntOverflowRoom
  4067. }
  4068. if iNdEx >= l {
  4069. return io.ErrUnexpectedEOF
  4070. }
  4071. b := dAtA[iNdEx]
  4072. iNdEx++
  4073. wire |= (uint64(b) & 0x7F) << shift
  4074. if b < 0x80 {
  4075. break
  4076. }
  4077. }
  4078. fieldNum := int32(wire >> 3)
  4079. wireType := int(wire & 0x7)
  4080. if wireType == 4 {
  4081. return fmt.Errorf("proto: RoomGetStatusInfoByUidsResp: wiretype end group for non-group")
  4082. }
  4083. if fieldNum <= 0 {
  4084. return fmt.Errorf("proto: RoomGetStatusInfoByUidsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4085. }
  4086. switch fieldNum {
  4087. case 1:
  4088. if wireType != 0 {
  4089. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  4090. }
  4091. m.Code = 0
  4092. for shift := uint(0); ; shift += 7 {
  4093. if shift >= 64 {
  4094. return ErrIntOverflowRoom
  4095. }
  4096. if iNdEx >= l {
  4097. return io.ErrUnexpectedEOF
  4098. }
  4099. b := dAtA[iNdEx]
  4100. iNdEx++
  4101. m.Code |= (int64(b) & 0x7F) << shift
  4102. if b < 0x80 {
  4103. break
  4104. }
  4105. }
  4106. case 2:
  4107. if wireType != 2 {
  4108. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  4109. }
  4110. var stringLen uint64
  4111. for shift := uint(0); ; shift += 7 {
  4112. if shift >= 64 {
  4113. return ErrIntOverflowRoom
  4114. }
  4115. if iNdEx >= l {
  4116. return io.ErrUnexpectedEOF
  4117. }
  4118. b := dAtA[iNdEx]
  4119. iNdEx++
  4120. stringLen |= (uint64(b) & 0x7F) << shift
  4121. if b < 0x80 {
  4122. break
  4123. }
  4124. }
  4125. intStringLen := int(stringLen)
  4126. if intStringLen < 0 {
  4127. return ErrInvalidLengthRoom
  4128. }
  4129. postIndex := iNdEx + intStringLen
  4130. if postIndex > l {
  4131. return io.ErrUnexpectedEOF
  4132. }
  4133. m.Msg = string(dAtA[iNdEx:postIndex])
  4134. iNdEx = postIndex
  4135. case 3:
  4136. if wireType != 2 {
  4137. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  4138. }
  4139. var msglen int
  4140. for shift := uint(0); ; shift += 7 {
  4141. if shift >= 64 {
  4142. return ErrIntOverflowRoom
  4143. }
  4144. if iNdEx >= l {
  4145. return io.ErrUnexpectedEOF
  4146. }
  4147. b := dAtA[iNdEx]
  4148. iNdEx++
  4149. msglen |= (int(b) & 0x7F) << shift
  4150. if b < 0x80 {
  4151. break
  4152. }
  4153. }
  4154. if msglen < 0 {
  4155. return ErrInvalidLengthRoom
  4156. }
  4157. postIndex := iNdEx + msglen
  4158. if postIndex > l {
  4159. return io.ErrUnexpectedEOF
  4160. }
  4161. if m.Data == nil {
  4162. m.Data = make(map[int64]*RoomGetStatusInfoByUidsResp_RoomInfo)
  4163. }
  4164. var mapkey int64
  4165. var mapvalue *RoomGetStatusInfoByUidsResp_RoomInfo
  4166. for iNdEx < postIndex {
  4167. entryPreIndex := iNdEx
  4168. var wire uint64
  4169. for shift := uint(0); ; shift += 7 {
  4170. if shift >= 64 {
  4171. return ErrIntOverflowRoom
  4172. }
  4173. if iNdEx >= l {
  4174. return io.ErrUnexpectedEOF
  4175. }
  4176. b := dAtA[iNdEx]
  4177. iNdEx++
  4178. wire |= (uint64(b) & 0x7F) << shift
  4179. if b < 0x80 {
  4180. break
  4181. }
  4182. }
  4183. fieldNum := int32(wire >> 3)
  4184. if fieldNum == 1 {
  4185. for shift := uint(0); ; shift += 7 {
  4186. if shift >= 64 {
  4187. return ErrIntOverflowRoom
  4188. }
  4189. if iNdEx >= l {
  4190. return io.ErrUnexpectedEOF
  4191. }
  4192. b := dAtA[iNdEx]
  4193. iNdEx++
  4194. mapkey |= (int64(b) & 0x7F) << shift
  4195. if b < 0x80 {
  4196. break
  4197. }
  4198. }
  4199. } else if fieldNum == 2 {
  4200. var mapmsglen int
  4201. for shift := uint(0); ; shift += 7 {
  4202. if shift >= 64 {
  4203. return ErrIntOverflowRoom
  4204. }
  4205. if iNdEx >= l {
  4206. return io.ErrUnexpectedEOF
  4207. }
  4208. b := dAtA[iNdEx]
  4209. iNdEx++
  4210. mapmsglen |= (int(b) & 0x7F) << shift
  4211. if b < 0x80 {
  4212. break
  4213. }
  4214. }
  4215. if mapmsglen < 0 {
  4216. return ErrInvalidLengthRoom
  4217. }
  4218. postmsgIndex := iNdEx + mapmsglen
  4219. if mapmsglen < 0 {
  4220. return ErrInvalidLengthRoom
  4221. }
  4222. if postmsgIndex > l {
  4223. return io.ErrUnexpectedEOF
  4224. }
  4225. mapvalue = &RoomGetStatusInfoByUidsResp_RoomInfo{}
  4226. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  4227. return err
  4228. }
  4229. iNdEx = postmsgIndex
  4230. } else {
  4231. iNdEx = entryPreIndex
  4232. skippy, err := skipRoom(dAtA[iNdEx:])
  4233. if err != nil {
  4234. return err
  4235. }
  4236. if skippy < 0 {
  4237. return ErrInvalidLengthRoom
  4238. }
  4239. if (iNdEx + skippy) > postIndex {
  4240. return io.ErrUnexpectedEOF
  4241. }
  4242. iNdEx += skippy
  4243. }
  4244. }
  4245. m.Data[mapkey] = mapvalue
  4246. iNdEx = postIndex
  4247. default:
  4248. iNdEx = preIndex
  4249. skippy, err := skipRoom(dAtA[iNdEx:])
  4250. if err != nil {
  4251. return err
  4252. }
  4253. if skippy < 0 {
  4254. return ErrInvalidLengthRoom
  4255. }
  4256. if (iNdEx + skippy) > l {
  4257. return io.ErrUnexpectedEOF
  4258. }
  4259. iNdEx += skippy
  4260. }
  4261. }
  4262. if iNdEx > l {
  4263. return io.ErrUnexpectedEOF
  4264. }
  4265. return nil
  4266. }
  4267. func (m *RoomGetStatusInfoByUidsResp_RoomInfo) Unmarshal(dAtA []byte) error {
  4268. l := len(dAtA)
  4269. iNdEx := 0
  4270. for iNdEx < l {
  4271. preIndex := iNdEx
  4272. var wire uint64
  4273. for shift := uint(0); ; shift += 7 {
  4274. if shift >= 64 {
  4275. return ErrIntOverflowRoom
  4276. }
  4277. if iNdEx >= l {
  4278. return io.ErrUnexpectedEOF
  4279. }
  4280. b := dAtA[iNdEx]
  4281. iNdEx++
  4282. wire |= (uint64(b) & 0x7F) << shift
  4283. if b < 0x80 {
  4284. break
  4285. }
  4286. }
  4287. fieldNum := int32(wire >> 3)
  4288. wireType := int(wire & 0x7)
  4289. if wireType == 4 {
  4290. return fmt.Errorf("proto: RoomInfo: wiretype end group for non-group")
  4291. }
  4292. if fieldNum <= 0 {
  4293. return fmt.Errorf("proto: RoomInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  4294. }
  4295. switch fieldNum {
  4296. case 1:
  4297. if wireType != 2 {
  4298. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  4299. }
  4300. var stringLen uint64
  4301. for shift := uint(0); ; shift += 7 {
  4302. if shift >= 64 {
  4303. return ErrIntOverflowRoom
  4304. }
  4305. if iNdEx >= l {
  4306. return io.ErrUnexpectedEOF
  4307. }
  4308. b := dAtA[iNdEx]
  4309. iNdEx++
  4310. stringLen |= (uint64(b) & 0x7F) << shift
  4311. if b < 0x80 {
  4312. break
  4313. }
  4314. }
  4315. intStringLen := int(stringLen)
  4316. if intStringLen < 0 {
  4317. return ErrInvalidLengthRoom
  4318. }
  4319. postIndex := iNdEx + intStringLen
  4320. if postIndex > l {
  4321. return io.ErrUnexpectedEOF
  4322. }
  4323. m.Title = string(dAtA[iNdEx:postIndex])
  4324. iNdEx = postIndex
  4325. case 2:
  4326. if wireType != 0 {
  4327. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  4328. }
  4329. m.RoomId = 0
  4330. for shift := uint(0); ; shift += 7 {
  4331. if shift >= 64 {
  4332. return ErrIntOverflowRoom
  4333. }
  4334. if iNdEx >= l {
  4335. return io.ErrUnexpectedEOF
  4336. }
  4337. b := dAtA[iNdEx]
  4338. iNdEx++
  4339. m.RoomId |= (int64(b) & 0x7F) << shift
  4340. if b < 0x80 {
  4341. break
  4342. }
  4343. }
  4344. case 3:
  4345. if wireType != 0 {
  4346. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  4347. }
  4348. m.Uid = 0
  4349. for shift := uint(0); ; shift += 7 {
  4350. if shift >= 64 {
  4351. return ErrIntOverflowRoom
  4352. }
  4353. if iNdEx >= l {
  4354. return io.ErrUnexpectedEOF
  4355. }
  4356. b := dAtA[iNdEx]
  4357. iNdEx++
  4358. m.Uid |= (int64(b) & 0x7F) << shift
  4359. if b < 0x80 {
  4360. break
  4361. }
  4362. }
  4363. case 4:
  4364. if wireType != 0 {
  4365. return fmt.Errorf("proto: wrong wireType = %d for field Online", wireType)
  4366. }
  4367. m.Online = 0
  4368. for shift := uint(0); ; shift += 7 {
  4369. if shift >= 64 {
  4370. return ErrIntOverflowRoom
  4371. }
  4372. if iNdEx >= l {
  4373. return io.ErrUnexpectedEOF
  4374. }
  4375. b := dAtA[iNdEx]
  4376. iNdEx++
  4377. m.Online |= (int64(b) & 0x7F) << shift
  4378. if b < 0x80 {
  4379. break
  4380. }
  4381. }
  4382. case 5:
  4383. if wireType != 0 {
  4384. return fmt.Errorf("proto: wrong wireType = %d for field LiveTime", wireType)
  4385. }
  4386. m.LiveTime = 0
  4387. for shift := uint(0); ; shift += 7 {
  4388. if shift >= 64 {
  4389. return ErrIntOverflowRoom
  4390. }
  4391. if iNdEx >= l {
  4392. return io.ErrUnexpectedEOF
  4393. }
  4394. b := dAtA[iNdEx]
  4395. iNdEx++
  4396. m.LiveTime |= (int64(b) & 0x7F) << shift
  4397. if b < 0x80 {
  4398. break
  4399. }
  4400. }
  4401. case 6:
  4402. if wireType != 0 {
  4403. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  4404. }
  4405. m.LiveStatus = 0
  4406. for shift := uint(0); ; shift += 7 {
  4407. if shift >= 64 {
  4408. return ErrIntOverflowRoom
  4409. }
  4410. if iNdEx >= l {
  4411. return io.ErrUnexpectedEOF
  4412. }
  4413. b := dAtA[iNdEx]
  4414. iNdEx++
  4415. m.LiveStatus |= (int64(b) & 0x7F) << shift
  4416. if b < 0x80 {
  4417. break
  4418. }
  4419. }
  4420. case 7:
  4421. if wireType != 0 {
  4422. return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
  4423. }
  4424. m.ShortId = 0
  4425. for shift := uint(0); ; shift += 7 {
  4426. if shift >= 64 {
  4427. return ErrIntOverflowRoom
  4428. }
  4429. if iNdEx >= l {
  4430. return io.ErrUnexpectedEOF
  4431. }
  4432. b := dAtA[iNdEx]
  4433. iNdEx++
  4434. m.ShortId |= (int64(b) & 0x7F) << shift
  4435. if b < 0x80 {
  4436. break
  4437. }
  4438. }
  4439. case 8:
  4440. if wireType != 0 {
  4441. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  4442. }
  4443. m.Area = 0
  4444. for shift := uint(0); ; shift += 7 {
  4445. if shift >= 64 {
  4446. return ErrIntOverflowRoom
  4447. }
  4448. if iNdEx >= l {
  4449. return io.ErrUnexpectedEOF
  4450. }
  4451. b := dAtA[iNdEx]
  4452. iNdEx++
  4453. m.Area |= (int64(b) & 0x7F) << shift
  4454. if b < 0x80 {
  4455. break
  4456. }
  4457. }
  4458. case 9:
  4459. if wireType != 2 {
  4460. return fmt.Errorf("proto: wrong wireType = %d for field AreaName", wireType)
  4461. }
  4462. var stringLen uint64
  4463. for shift := uint(0); ; shift += 7 {
  4464. if shift >= 64 {
  4465. return ErrIntOverflowRoom
  4466. }
  4467. if iNdEx >= l {
  4468. return io.ErrUnexpectedEOF
  4469. }
  4470. b := dAtA[iNdEx]
  4471. iNdEx++
  4472. stringLen |= (uint64(b) & 0x7F) << shift
  4473. if b < 0x80 {
  4474. break
  4475. }
  4476. }
  4477. intStringLen := int(stringLen)
  4478. if intStringLen < 0 {
  4479. return ErrInvalidLengthRoom
  4480. }
  4481. postIndex := iNdEx + intStringLen
  4482. if postIndex > l {
  4483. return io.ErrUnexpectedEOF
  4484. }
  4485. m.AreaName = string(dAtA[iNdEx:postIndex])
  4486. iNdEx = postIndex
  4487. case 10:
  4488. if wireType != 0 {
  4489. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
  4490. }
  4491. m.AreaV2Id = 0
  4492. for shift := uint(0); ; shift += 7 {
  4493. if shift >= 64 {
  4494. return ErrIntOverflowRoom
  4495. }
  4496. if iNdEx >= l {
  4497. return io.ErrUnexpectedEOF
  4498. }
  4499. b := dAtA[iNdEx]
  4500. iNdEx++
  4501. m.AreaV2Id |= (int64(b) & 0x7F) << shift
  4502. if b < 0x80 {
  4503. break
  4504. }
  4505. }
  4506. case 11:
  4507. if wireType != 2 {
  4508. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
  4509. }
  4510. var stringLen uint64
  4511. for shift := uint(0); ; shift += 7 {
  4512. if shift >= 64 {
  4513. return ErrIntOverflowRoom
  4514. }
  4515. if iNdEx >= l {
  4516. return io.ErrUnexpectedEOF
  4517. }
  4518. b := dAtA[iNdEx]
  4519. iNdEx++
  4520. stringLen |= (uint64(b) & 0x7F) << shift
  4521. if b < 0x80 {
  4522. break
  4523. }
  4524. }
  4525. intStringLen := int(stringLen)
  4526. if intStringLen < 0 {
  4527. return ErrInvalidLengthRoom
  4528. }
  4529. postIndex := iNdEx + intStringLen
  4530. if postIndex > l {
  4531. return io.ErrUnexpectedEOF
  4532. }
  4533. m.AreaV2Name = string(dAtA[iNdEx:postIndex])
  4534. iNdEx = postIndex
  4535. case 12:
  4536. if wireType != 2 {
  4537. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentName", wireType)
  4538. }
  4539. var stringLen uint64
  4540. for shift := uint(0); ; shift += 7 {
  4541. if shift >= 64 {
  4542. return ErrIntOverflowRoom
  4543. }
  4544. if iNdEx >= l {
  4545. return io.ErrUnexpectedEOF
  4546. }
  4547. b := dAtA[iNdEx]
  4548. iNdEx++
  4549. stringLen |= (uint64(b) & 0x7F) << shift
  4550. if b < 0x80 {
  4551. break
  4552. }
  4553. }
  4554. intStringLen := int(stringLen)
  4555. if intStringLen < 0 {
  4556. return ErrInvalidLengthRoom
  4557. }
  4558. postIndex := iNdEx + intStringLen
  4559. if postIndex > l {
  4560. return io.ErrUnexpectedEOF
  4561. }
  4562. m.AreaV2ParentName = string(dAtA[iNdEx:postIndex])
  4563. iNdEx = postIndex
  4564. case 13:
  4565. if wireType != 0 {
  4566. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
  4567. }
  4568. m.AreaV2ParentId = 0
  4569. for shift := uint(0); ; shift += 7 {
  4570. if shift >= 64 {
  4571. return ErrIntOverflowRoom
  4572. }
  4573. if iNdEx >= l {
  4574. return io.ErrUnexpectedEOF
  4575. }
  4576. b := dAtA[iNdEx]
  4577. iNdEx++
  4578. m.AreaV2ParentId |= (int64(b) & 0x7F) << shift
  4579. if b < 0x80 {
  4580. break
  4581. }
  4582. }
  4583. case 14:
  4584. if wireType != 2 {
  4585. return fmt.Errorf("proto: wrong wireType = %d for field TagName", wireType)
  4586. }
  4587. var stringLen uint64
  4588. for shift := uint(0); ; shift += 7 {
  4589. if shift >= 64 {
  4590. return ErrIntOverflowRoom
  4591. }
  4592. if iNdEx >= l {
  4593. return io.ErrUnexpectedEOF
  4594. }
  4595. b := dAtA[iNdEx]
  4596. iNdEx++
  4597. stringLen |= (uint64(b) & 0x7F) << shift
  4598. if b < 0x80 {
  4599. break
  4600. }
  4601. }
  4602. intStringLen := int(stringLen)
  4603. if intStringLen < 0 {
  4604. return ErrInvalidLengthRoom
  4605. }
  4606. postIndex := iNdEx + intStringLen
  4607. if postIndex > l {
  4608. return io.ErrUnexpectedEOF
  4609. }
  4610. m.TagName = string(dAtA[iNdEx:postIndex])
  4611. iNdEx = postIndex
  4612. case 15:
  4613. if wireType != 2 {
  4614. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  4615. }
  4616. var stringLen uint64
  4617. for shift := uint(0); ; shift += 7 {
  4618. if shift >= 64 {
  4619. return ErrIntOverflowRoom
  4620. }
  4621. if iNdEx >= l {
  4622. return io.ErrUnexpectedEOF
  4623. }
  4624. b := dAtA[iNdEx]
  4625. iNdEx++
  4626. stringLen |= (uint64(b) & 0x7F) << shift
  4627. if b < 0x80 {
  4628. break
  4629. }
  4630. }
  4631. intStringLen := int(stringLen)
  4632. if intStringLen < 0 {
  4633. return ErrInvalidLengthRoom
  4634. }
  4635. postIndex := iNdEx + intStringLen
  4636. if postIndex > l {
  4637. return io.ErrUnexpectedEOF
  4638. }
  4639. m.Tags = string(dAtA[iNdEx:postIndex])
  4640. iNdEx = postIndex
  4641. case 16:
  4642. if wireType != 2 {
  4643. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  4644. }
  4645. var stringLen uint64
  4646. for shift := uint(0); ; shift += 7 {
  4647. if shift >= 64 {
  4648. return ErrIntOverflowRoom
  4649. }
  4650. if iNdEx >= l {
  4651. return io.ErrUnexpectedEOF
  4652. }
  4653. b := dAtA[iNdEx]
  4654. iNdEx++
  4655. stringLen |= (uint64(b) & 0x7F) << shift
  4656. if b < 0x80 {
  4657. break
  4658. }
  4659. }
  4660. intStringLen := int(stringLen)
  4661. if intStringLen < 0 {
  4662. return ErrInvalidLengthRoom
  4663. }
  4664. postIndex := iNdEx + intStringLen
  4665. if postIndex > l {
  4666. return io.ErrUnexpectedEOF
  4667. }
  4668. m.Uname = string(dAtA[iNdEx:postIndex])
  4669. iNdEx = postIndex
  4670. case 17:
  4671. if wireType != 2 {
  4672. return fmt.Errorf("proto: wrong wireType = %d for field CoverFromUser", wireType)
  4673. }
  4674. var stringLen uint64
  4675. for shift := uint(0); ; shift += 7 {
  4676. if shift >= 64 {
  4677. return ErrIntOverflowRoom
  4678. }
  4679. if iNdEx >= l {
  4680. return io.ErrUnexpectedEOF
  4681. }
  4682. b := dAtA[iNdEx]
  4683. iNdEx++
  4684. stringLen |= (uint64(b) & 0x7F) << shift
  4685. if b < 0x80 {
  4686. break
  4687. }
  4688. }
  4689. intStringLen := int(stringLen)
  4690. if intStringLen < 0 {
  4691. return ErrInvalidLengthRoom
  4692. }
  4693. postIndex := iNdEx + intStringLen
  4694. if postIndex > l {
  4695. return io.ErrUnexpectedEOF
  4696. }
  4697. m.CoverFromUser = string(dAtA[iNdEx:postIndex])
  4698. iNdEx = postIndex
  4699. case 18:
  4700. if wireType != 2 {
  4701. return fmt.Errorf("proto: wrong wireType = %d for field Keyframe", wireType)
  4702. }
  4703. var stringLen uint64
  4704. for shift := uint(0); ; shift += 7 {
  4705. if shift >= 64 {
  4706. return ErrIntOverflowRoom
  4707. }
  4708. if iNdEx >= l {
  4709. return io.ErrUnexpectedEOF
  4710. }
  4711. b := dAtA[iNdEx]
  4712. iNdEx++
  4713. stringLen |= (uint64(b) & 0x7F) << shift
  4714. if b < 0x80 {
  4715. break
  4716. }
  4717. }
  4718. intStringLen := int(stringLen)
  4719. if intStringLen < 0 {
  4720. return ErrInvalidLengthRoom
  4721. }
  4722. postIndex := iNdEx + intStringLen
  4723. if postIndex > l {
  4724. return io.ErrUnexpectedEOF
  4725. }
  4726. m.Keyframe = string(dAtA[iNdEx:postIndex])
  4727. iNdEx = postIndex
  4728. case 19:
  4729. if wireType != 2 {
  4730. return fmt.Errorf("proto: wrong wireType = %d for field LockTill", wireType)
  4731. }
  4732. var stringLen uint64
  4733. for shift := uint(0); ; shift += 7 {
  4734. if shift >= 64 {
  4735. return ErrIntOverflowRoom
  4736. }
  4737. if iNdEx >= l {
  4738. return io.ErrUnexpectedEOF
  4739. }
  4740. b := dAtA[iNdEx]
  4741. iNdEx++
  4742. stringLen |= (uint64(b) & 0x7F) << shift
  4743. if b < 0x80 {
  4744. break
  4745. }
  4746. }
  4747. intStringLen := int(stringLen)
  4748. if intStringLen < 0 {
  4749. return ErrInvalidLengthRoom
  4750. }
  4751. postIndex := iNdEx + intStringLen
  4752. if postIndex > l {
  4753. return io.ErrUnexpectedEOF
  4754. }
  4755. m.LockTill = string(dAtA[iNdEx:postIndex])
  4756. iNdEx = postIndex
  4757. case 20:
  4758. if wireType != 2 {
  4759. return fmt.Errorf("proto: wrong wireType = %d for field HiddenTill", wireType)
  4760. }
  4761. var stringLen uint64
  4762. for shift := uint(0); ; shift += 7 {
  4763. if shift >= 64 {
  4764. return ErrIntOverflowRoom
  4765. }
  4766. if iNdEx >= l {
  4767. return io.ErrUnexpectedEOF
  4768. }
  4769. b := dAtA[iNdEx]
  4770. iNdEx++
  4771. stringLen |= (uint64(b) & 0x7F) << shift
  4772. if b < 0x80 {
  4773. break
  4774. }
  4775. }
  4776. intStringLen := int(stringLen)
  4777. if intStringLen < 0 {
  4778. return ErrInvalidLengthRoom
  4779. }
  4780. postIndex := iNdEx + intStringLen
  4781. if postIndex > l {
  4782. return io.ErrUnexpectedEOF
  4783. }
  4784. m.HiddenTill = string(dAtA[iNdEx:postIndex])
  4785. iNdEx = postIndex
  4786. case 21:
  4787. if wireType != 0 {
  4788. return fmt.Errorf("proto: wrong wireType = %d for field BroadcastType", wireType)
  4789. }
  4790. m.BroadcastType = 0
  4791. for shift := uint(0); ; shift += 7 {
  4792. if shift >= 64 {
  4793. return ErrIntOverflowRoom
  4794. }
  4795. if iNdEx >= l {
  4796. return io.ErrUnexpectedEOF
  4797. }
  4798. b := dAtA[iNdEx]
  4799. iNdEx++
  4800. m.BroadcastType |= (int64(b) & 0x7F) << shift
  4801. if b < 0x80 {
  4802. break
  4803. }
  4804. }
  4805. default:
  4806. iNdEx = preIndex
  4807. skippy, err := skipRoom(dAtA[iNdEx:])
  4808. if err != nil {
  4809. return err
  4810. }
  4811. if skippy < 0 {
  4812. return ErrInvalidLengthRoom
  4813. }
  4814. if (iNdEx + skippy) > l {
  4815. return io.ErrUnexpectedEOF
  4816. }
  4817. iNdEx += skippy
  4818. }
  4819. }
  4820. if iNdEx > l {
  4821. return io.ErrUnexpectedEOF
  4822. }
  4823. return nil
  4824. }
  4825. func (m *RoomMobileRoomInitReq) Unmarshal(dAtA []byte) error {
  4826. l := len(dAtA)
  4827. iNdEx := 0
  4828. for iNdEx < l {
  4829. preIndex := iNdEx
  4830. var wire uint64
  4831. for shift := uint(0); ; shift += 7 {
  4832. if shift >= 64 {
  4833. return ErrIntOverflowRoom
  4834. }
  4835. if iNdEx >= l {
  4836. return io.ErrUnexpectedEOF
  4837. }
  4838. b := dAtA[iNdEx]
  4839. iNdEx++
  4840. wire |= (uint64(b) & 0x7F) << shift
  4841. if b < 0x80 {
  4842. break
  4843. }
  4844. }
  4845. fieldNum := int32(wire >> 3)
  4846. wireType := int(wire & 0x7)
  4847. if wireType == 4 {
  4848. return fmt.Errorf("proto: RoomMobileRoomInitReq: wiretype end group for non-group")
  4849. }
  4850. if fieldNum <= 0 {
  4851. return fmt.Errorf("proto: RoomMobileRoomInitReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4852. }
  4853. switch fieldNum {
  4854. case 1:
  4855. if wireType != 0 {
  4856. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  4857. }
  4858. m.Id = 0
  4859. for shift := uint(0); ; shift += 7 {
  4860. if shift >= 64 {
  4861. return ErrIntOverflowRoom
  4862. }
  4863. if iNdEx >= l {
  4864. return io.ErrUnexpectedEOF
  4865. }
  4866. b := dAtA[iNdEx]
  4867. iNdEx++
  4868. m.Id |= (int64(b) & 0x7F) << shift
  4869. if b < 0x80 {
  4870. break
  4871. }
  4872. }
  4873. case 2:
  4874. if wireType != 2 {
  4875. return fmt.Errorf("proto: wrong wireType = %d for field Lang", wireType)
  4876. }
  4877. var stringLen uint64
  4878. for shift := uint(0); ; shift += 7 {
  4879. if shift >= 64 {
  4880. return ErrIntOverflowRoom
  4881. }
  4882. if iNdEx >= l {
  4883. return io.ErrUnexpectedEOF
  4884. }
  4885. b := dAtA[iNdEx]
  4886. iNdEx++
  4887. stringLen |= (uint64(b) & 0x7F) << shift
  4888. if b < 0x80 {
  4889. break
  4890. }
  4891. }
  4892. intStringLen := int(stringLen)
  4893. if intStringLen < 0 {
  4894. return ErrInvalidLengthRoom
  4895. }
  4896. postIndex := iNdEx + intStringLen
  4897. if postIndex > l {
  4898. return io.ErrUnexpectedEOF
  4899. }
  4900. m.Lang = string(dAtA[iNdEx:postIndex])
  4901. iNdEx = postIndex
  4902. default:
  4903. iNdEx = preIndex
  4904. skippy, err := skipRoom(dAtA[iNdEx:])
  4905. if err != nil {
  4906. return err
  4907. }
  4908. if skippy < 0 {
  4909. return ErrInvalidLengthRoom
  4910. }
  4911. if (iNdEx + skippy) > l {
  4912. return io.ErrUnexpectedEOF
  4913. }
  4914. iNdEx += skippy
  4915. }
  4916. }
  4917. if iNdEx > l {
  4918. return io.ErrUnexpectedEOF
  4919. }
  4920. return nil
  4921. }
  4922. func (m *RoomMobileRoomInitResp) Unmarshal(dAtA []byte) error {
  4923. l := len(dAtA)
  4924. iNdEx := 0
  4925. for iNdEx < l {
  4926. preIndex := iNdEx
  4927. var wire uint64
  4928. for shift := uint(0); ; shift += 7 {
  4929. if shift >= 64 {
  4930. return ErrIntOverflowRoom
  4931. }
  4932. if iNdEx >= l {
  4933. return io.ErrUnexpectedEOF
  4934. }
  4935. b := dAtA[iNdEx]
  4936. iNdEx++
  4937. wire |= (uint64(b) & 0x7F) << shift
  4938. if b < 0x80 {
  4939. break
  4940. }
  4941. }
  4942. fieldNum := int32(wire >> 3)
  4943. wireType := int(wire & 0x7)
  4944. if wireType == 4 {
  4945. return fmt.Errorf("proto: RoomMobileRoomInitResp: wiretype end group for non-group")
  4946. }
  4947. if fieldNum <= 0 {
  4948. return fmt.Errorf("proto: RoomMobileRoomInitResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4949. }
  4950. switch fieldNum {
  4951. case 1:
  4952. if wireType != 0 {
  4953. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  4954. }
  4955. m.Code = 0
  4956. for shift := uint(0); ; shift += 7 {
  4957. if shift >= 64 {
  4958. return ErrIntOverflowRoom
  4959. }
  4960. if iNdEx >= l {
  4961. return io.ErrUnexpectedEOF
  4962. }
  4963. b := dAtA[iNdEx]
  4964. iNdEx++
  4965. m.Code |= (int64(b) & 0x7F) << shift
  4966. if b < 0x80 {
  4967. break
  4968. }
  4969. }
  4970. case 2:
  4971. if wireType != 2 {
  4972. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  4973. }
  4974. var stringLen uint64
  4975. for shift := uint(0); ; shift += 7 {
  4976. if shift >= 64 {
  4977. return ErrIntOverflowRoom
  4978. }
  4979. if iNdEx >= l {
  4980. return io.ErrUnexpectedEOF
  4981. }
  4982. b := dAtA[iNdEx]
  4983. iNdEx++
  4984. stringLen |= (uint64(b) & 0x7F) << shift
  4985. if b < 0x80 {
  4986. break
  4987. }
  4988. }
  4989. intStringLen := int(stringLen)
  4990. if intStringLen < 0 {
  4991. return ErrInvalidLengthRoom
  4992. }
  4993. postIndex := iNdEx + intStringLen
  4994. if postIndex > l {
  4995. return io.ErrUnexpectedEOF
  4996. }
  4997. m.Msg = string(dAtA[iNdEx:postIndex])
  4998. iNdEx = postIndex
  4999. case 3:
  5000. if wireType != 2 {
  5001. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  5002. }
  5003. var msglen int
  5004. for shift := uint(0); ; shift += 7 {
  5005. if shift >= 64 {
  5006. return ErrIntOverflowRoom
  5007. }
  5008. if iNdEx >= l {
  5009. return io.ErrUnexpectedEOF
  5010. }
  5011. b := dAtA[iNdEx]
  5012. iNdEx++
  5013. msglen |= (int(b) & 0x7F) << shift
  5014. if b < 0x80 {
  5015. break
  5016. }
  5017. }
  5018. if msglen < 0 {
  5019. return ErrInvalidLengthRoom
  5020. }
  5021. postIndex := iNdEx + msglen
  5022. if postIndex > l {
  5023. return io.ErrUnexpectedEOF
  5024. }
  5025. if m.Data == nil {
  5026. m.Data = &RoomMobileRoomInitResp_Data{}
  5027. }
  5028. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5029. return err
  5030. }
  5031. iNdEx = postIndex
  5032. default:
  5033. iNdEx = preIndex
  5034. skippy, err := skipRoom(dAtA[iNdEx:])
  5035. if err != nil {
  5036. return err
  5037. }
  5038. if skippy < 0 {
  5039. return ErrInvalidLengthRoom
  5040. }
  5041. if (iNdEx + skippy) > l {
  5042. return io.ErrUnexpectedEOF
  5043. }
  5044. iNdEx += skippy
  5045. }
  5046. }
  5047. if iNdEx > l {
  5048. return io.ErrUnexpectedEOF
  5049. }
  5050. return nil
  5051. }
  5052. func (m *RoomMobileRoomInitResp_Data) Unmarshal(dAtA []byte) error {
  5053. l := len(dAtA)
  5054. iNdEx := 0
  5055. for iNdEx < l {
  5056. preIndex := iNdEx
  5057. var wire uint64
  5058. for shift := uint(0); ; shift += 7 {
  5059. if shift >= 64 {
  5060. return ErrIntOverflowRoom
  5061. }
  5062. if iNdEx >= l {
  5063. return io.ErrUnexpectedEOF
  5064. }
  5065. b := dAtA[iNdEx]
  5066. iNdEx++
  5067. wire |= (uint64(b) & 0x7F) << shift
  5068. if b < 0x80 {
  5069. break
  5070. }
  5071. }
  5072. fieldNum := int32(wire >> 3)
  5073. wireType := int(wire & 0x7)
  5074. if wireType == 4 {
  5075. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  5076. }
  5077. if fieldNum <= 0 {
  5078. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  5079. }
  5080. switch fieldNum {
  5081. case 1:
  5082. if wireType != 0 {
  5083. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  5084. }
  5085. m.RoomId = 0
  5086. for shift := uint(0); ; shift += 7 {
  5087. if shift >= 64 {
  5088. return ErrIntOverflowRoom
  5089. }
  5090. if iNdEx >= l {
  5091. return io.ErrUnexpectedEOF
  5092. }
  5093. b := dAtA[iNdEx]
  5094. iNdEx++
  5095. m.RoomId |= (int64(b) & 0x7F) << shift
  5096. if b < 0x80 {
  5097. break
  5098. }
  5099. }
  5100. case 2:
  5101. if wireType != 0 {
  5102. return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
  5103. }
  5104. m.ShortId = 0
  5105. for shift := uint(0); ; shift += 7 {
  5106. if shift >= 64 {
  5107. return ErrIntOverflowRoom
  5108. }
  5109. if iNdEx >= l {
  5110. return io.ErrUnexpectedEOF
  5111. }
  5112. b := dAtA[iNdEx]
  5113. iNdEx++
  5114. m.ShortId |= (int64(b) & 0x7F) << shift
  5115. if b < 0x80 {
  5116. break
  5117. }
  5118. }
  5119. case 3:
  5120. if wireType != 0 {
  5121. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  5122. }
  5123. m.Uid = 0
  5124. for shift := uint(0); ; shift += 7 {
  5125. if shift >= 64 {
  5126. return ErrIntOverflowRoom
  5127. }
  5128. if iNdEx >= l {
  5129. return io.ErrUnexpectedEOF
  5130. }
  5131. b := dAtA[iNdEx]
  5132. iNdEx++
  5133. m.Uid |= (int64(b) & 0x7F) << shift
  5134. if b < 0x80 {
  5135. break
  5136. }
  5137. }
  5138. case 4:
  5139. if wireType != 0 {
  5140. return fmt.Errorf("proto: wrong wireType = %d for field NeedP2P", wireType)
  5141. }
  5142. m.NeedP2P = 0
  5143. for shift := uint(0); ; shift += 7 {
  5144. if shift >= 64 {
  5145. return ErrIntOverflowRoom
  5146. }
  5147. if iNdEx >= l {
  5148. return io.ErrUnexpectedEOF
  5149. }
  5150. b := dAtA[iNdEx]
  5151. iNdEx++
  5152. m.NeedP2P |= (int64(b) & 0x7F) << shift
  5153. if b < 0x80 {
  5154. break
  5155. }
  5156. }
  5157. case 5:
  5158. if wireType != 0 {
  5159. return fmt.Errorf("proto: wrong wireType = %d for field IsLocked", wireType)
  5160. }
  5161. var v int
  5162. for shift := uint(0); ; shift += 7 {
  5163. if shift >= 64 {
  5164. return ErrIntOverflowRoom
  5165. }
  5166. if iNdEx >= l {
  5167. return io.ErrUnexpectedEOF
  5168. }
  5169. b := dAtA[iNdEx]
  5170. iNdEx++
  5171. v |= (int(b) & 0x7F) << shift
  5172. if b < 0x80 {
  5173. break
  5174. }
  5175. }
  5176. m.IsLocked = bool(v != 0)
  5177. case 6:
  5178. if wireType != 0 {
  5179. return fmt.Errorf("proto: wrong wireType = %d for field IsHidden", wireType)
  5180. }
  5181. var v int
  5182. for shift := uint(0); ; shift += 7 {
  5183. if shift >= 64 {
  5184. return ErrIntOverflowRoom
  5185. }
  5186. if iNdEx >= l {
  5187. return io.ErrUnexpectedEOF
  5188. }
  5189. b := dAtA[iNdEx]
  5190. iNdEx++
  5191. v |= (int(b) & 0x7F) << shift
  5192. if b < 0x80 {
  5193. break
  5194. }
  5195. }
  5196. m.IsHidden = bool(v != 0)
  5197. case 7:
  5198. if wireType != 0 {
  5199. return fmt.Errorf("proto: wrong wireType = %d for field LockTill", wireType)
  5200. }
  5201. m.LockTill = 0
  5202. for shift := uint(0); ; shift += 7 {
  5203. if shift >= 64 {
  5204. return ErrIntOverflowRoom
  5205. }
  5206. if iNdEx >= l {
  5207. return io.ErrUnexpectedEOF
  5208. }
  5209. b := dAtA[iNdEx]
  5210. iNdEx++
  5211. m.LockTill |= (int64(b) & 0x7F) << shift
  5212. if b < 0x80 {
  5213. break
  5214. }
  5215. }
  5216. case 8:
  5217. if wireType != 0 {
  5218. return fmt.Errorf("proto: wrong wireType = %d for field HiddenTill", wireType)
  5219. }
  5220. m.HiddenTill = 0
  5221. for shift := uint(0); ; shift += 7 {
  5222. if shift >= 64 {
  5223. return ErrIntOverflowRoom
  5224. }
  5225. if iNdEx >= l {
  5226. return io.ErrUnexpectedEOF
  5227. }
  5228. b := dAtA[iNdEx]
  5229. iNdEx++
  5230. m.HiddenTill |= (int64(b) & 0x7F) << shift
  5231. if b < 0x80 {
  5232. break
  5233. }
  5234. }
  5235. case 9:
  5236. if wireType != 0 {
  5237. return fmt.Errorf("proto: wrong wireType = %d for field Encrypted", wireType)
  5238. }
  5239. var v int
  5240. for shift := uint(0); ; shift += 7 {
  5241. if shift >= 64 {
  5242. return ErrIntOverflowRoom
  5243. }
  5244. if iNdEx >= l {
  5245. return io.ErrUnexpectedEOF
  5246. }
  5247. b := dAtA[iNdEx]
  5248. iNdEx++
  5249. v |= (int(b) & 0x7F) << shift
  5250. if b < 0x80 {
  5251. break
  5252. }
  5253. }
  5254. m.Encrypted = bool(v != 0)
  5255. case 10:
  5256. if wireType != 0 {
  5257. return fmt.Errorf("proto: wrong wireType = %d for field PwdVerified", wireType)
  5258. }
  5259. var v int
  5260. for shift := uint(0); ; shift += 7 {
  5261. if shift >= 64 {
  5262. return ErrIntOverflowRoom
  5263. }
  5264. if iNdEx >= l {
  5265. return io.ErrUnexpectedEOF
  5266. }
  5267. b := dAtA[iNdEx]
  5268. iNdEx++
  5269. v |= (int(b) & 0x7F) << shift
  5270. if b < 0x80 {
  5271. break
  5272. }
  5273. }
  5274. m.PwdVerified = bool(v != 0)
  5275. case 11:
  5276. if wireType != 0 {
  5277. return fmt.Errorf("proto: wrong wireType = %d for field IsPortrait", wireType)
  5278. }
  5279. var v int
  5280. for shift := uint(0); ; shift += 7 {
  5281. if shift >= 64 {
  5282. return ErrIntOverflowRoom
  5283. }
  5284. if iNdEx >= l {
  5285. return io.ErrUnexpectedEOF
  5286. }
  5287. b := dAtA[iNdEx]
  5288. iNdEx++
  5289. v |= (int(b) & 0x7F) << shift
  5290. if b < 0x80 {
  5291. break
  5292. }
  5293. }
  5294. m.IsPortrait = bool(v != 0)
  5295. case 12:
  5296. if wireType != 0 {
  5297. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  5298. }
  5299. m.LiveStatus = 0
  5300. for shift := uint(0); ; shift += 7 {
  5301. if shift >= 64 {
  5302. return ErrIntOverflowRoom
  5303. }
  5304. if iNdEx >= l {
  5305. return io.ErrUnexpectedEOF
  5306. }
  5307. b := dAtA[iNdEx]
  5308. iNdEx++
  5309. m.LiveStatus |= (int64(b) & 0x7F) << shift
  5310. if b < 0x80 {
  5311. break
  5312. }
  5313. }
  5314. case 13:
  5315. if wireType != 0 {
  5316. return fmt.Errorf("proto: wrong wireType = %d for field IsSp", wireType)
  5317. }
  5318. m.IsSp = 0
  5319. for shift := uint(0); ; shift += 7 {
  5320. if shift >= 64 {
  5321. return ErrIntOverflowRoom
  5322. }
  5323. if iNdEx >= l {
  5324. return io.ErrUnexpectedEOF
  5325. }
  5326. b := dAtA[iNdEx]
  5327. iNdEx++
  5328. m.IsSp |= (int64(b) & 0x7F) << shift
  5329. if b < 0x80 {
  5330. break
  5331. }
  5332. }
  5333. case 14:
  5334. if wireType != 0 {
  5335. return fmt.Errorf("proto: wrong wireType = %d for field SpecialType", wireType)
  5336. }
  5337. m.SpecialType = 0
  5338. for shift := uint(0); ; shift += 7 {
  5339. if shift >= 64 {
  5340. return ErrIntOverflowRoom
  5341. }
  5342. if iNdEx >= l {
  5343. return io.ErrUnexpectedEOF
  5344. }
  5345. b := dAtA[iNdEx]
  5346. iNdEx++
  5347. m.SpecialType |= (int64(b) & 0x7F) << shift
  5348. if b < 0x80 {
  5349. break
  5350. }
  5351. }
  5352. default:
  5353. iNdEx = preIndex
  5354. skippy, err := skipRoom(dAtA[iNdEx:])
  5355. if err != nil {
  5356. return err
  5357. }
  5358. if skippy < 0 {
  5359. return ErrInvalidLengthRoom
  5360. }
  5361. if (iNdEx + skippy) > l {
  5362. return io.ErrUnexpectedEOF
  5363. }
  5364. iNdEx += skippy
  5365. }
  5366. }
  5367. if iNdEx > l {
  5368. return io.ErrUnexpectedEOF
  5369. }
  5370. return nil
  5371. }
  5372. func (m *RoomIncrDanmuSendNumReq) Unmarshal(dAtA []byte) error {
  5373. l := len(dAtA)
  5374. iNdEx := 0
  5375. for iNdEx < l {
  5376. preIndex := iNdEx
  5377. var wire uint64
  5378. for shift := uint(0); ; shift += 7 {
  5379. if shift >= 64 {
  5380. return ErrIntOverflowRoom
  5381. }
  5382. if iNdEx >= l {
  5383. return io.ErrUnexpectedEOF
  5384. }
  5385. b := dAtA[iNdEx]
  5386. iNdEx++
  5387. wire |= (uint64(b) & 0x7F) << shift
  5388. if b < 0x80 {
  5389. break
  5390. }
  5391. }
  5392. fieldNum := int32(wire >> 3)
  5393. wireType := int(wire & 0x7)
  5394. if wireType == 4 {
  5395. return fmt.Errorf("proto: RoomIncrDanmuSendNumReq: wiretype end group for non-group")
  5396. }
  5397. if fieldNum <= 0 {
  5398. return fmt.Errorf("proto: RoomIncrDanmuSendNumReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5399. }
  5400. switch fieldNum {
  5401. case 1:
  5402. if wireType != 0 {
  5403. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  5404. }
  5405. m.RoomId = 0
  5406. for shift := uint(0); ; shift += 7 {
  5407. if shift >= 64 {
  5408. return ErrIntOverflowRoom
  5409. }
  5410. if iNdEx >= l {
  5411. return io.ErrUnexpectedEOF
  5412. }
  5413. b := dAtA[iNdEx]
  5414. iNdEx++
  5415. m.RoomId |= (int64(b) & 0x7F) << shift
  5416. if b < 0x80 {
  5417. break
  5418. }
  5419. }
  5420. case 2:
  5421. if wireType != 0 {
  5422. return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
  5423. }
  5424. m.Mode = 0
  5425. for shift := uint(0); ; shift += 7 {
  5426. if shift >= 64 {
  5427. return ErrIntOverflowRoom
  5428. }
  5429. if iNdEx >= l {
  5430. return io.ErrUnexpectedEOF
  5431. }
  5432. b := dAtA[iNdEx]
  5433. iNdEx++
  5434. m.Mode |= (int64(b) & 0x7F) << shift
  5435. if b < 0x80 {
  5436. break
  5437. }
  5438. }
  5439. default:
  5440. iNdEx = preIndex
  5441. skippy, err := skipRoom(dAtA[iNdEx:])
  5442. if err != nil {
  5443. return err
  5444. }
  5445. if skippy < 0 {
  5446. return ErrInvalidLengthRoom
  5447. }
  5448. if (iNdEx + skippy) > l {
  5449. return io.ErrUnexpectedEOF
  5450. }
  5451. iNdEx += skippy
  5452. }
  5453. }
  5454. if iNdEx > l {
  5455. return io.ErrUnexpectedEOF
  5456. }
  5457. return nil
  5458. }
  5459. func (m *RoomIncrDanmuSendNumResp) Unmarshal(dAtA []byte) error {
  5460. l := len(dAtA)
  5461. iNdEx := 0
  5462. for iNdEx < l {
  5463. preIndex := iNdEx
  5464. var wire uint64
  5465. for shift := uint(0); ; shift += 7 {
  5466. if shift >= 64 {
  5467. return ErrIntOverflowRoom
  5468. }
  5469. if iNdEx >= l {
  5470. return io.ErrUnexpectedEOF
  5471. }
  5472. b := dAtA[iNdEx]
  5473. iNdEx++
  5474. wire |= (uint64(b) & 0x7F) << shift
  5475. if b < 0x80 {
  5476. break
  5477. }
  5478. }
  5479. fieldNum := int32(wire >> 3)
  5480. wireType := int(wire & 0x7)
  5481. if wireType == 4 {
  5482. return fmt.Errorf("proto: RoomIncrDanmuSendNumResp: wiretype end group for non-group")
  5483. }
  5484. if fieldNum <= 0 {
  5485. return fmt.Errorf("proto: RoomIncrDanmuSendNumResp: illegal tag %d (wire type %d)", fieldNum, wire)
  5486. }
  5487. switch fieldNum {
  5488. case 1:
  5489. if wireType != 0 {
  5490. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  5491. }
  5492. m.Code = 0
  5493. for shift := uint(0); ; shift += 7 {
  5494. if shift >= 64 {
  5495. return ErrIntOverflowRoom
  5496. }
  5497. if iNdEx >= l {
  5498. return io.ErrUnexpectedEOF
  5499. }
  5500. b := dAtA[iNdEx]
  5501. iNdEx++
  5502. m.Code |= (int64(b) & 0x7F) << shift
  5503. if b < 0x80 {
  5504. break
  5505. }
  5506. }
  5507. case 2:
  5508. if wireType != 2 {
  5509. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  5510. }
  5511. var stringLen uint64
  5512. for shift := uint(0); ; shift += 7 {
  5513. if shift >= 64 {
  5514. return ErrIntOverflowRoom
  5515. }
  5516. if iNdEx >= l {
  5517. return io.ErrUnexpectedEOF
  5518. }
  5519. b := dAtA[iNdEx]
  5520. iNdEx++
  5521. stringLen |= (uint64(b) & 0x7F) << shift
  5522. if b < 0x80 {
  5523. break
  5524. }
  5525. }
  5526. intStringLen := int(stringLen)
  5527. if intStringLen < 0 {
  5528. return ErrInvalidLengthRoom
  5529. }
  5530. postIndex := iNdEx + intStringLen
  5531. if postIndex > l {
  5532. return io.ErrUnexpectedEOF
  5533. }
  5534. m.Msg = string(dAtA[iNdEx:postIndex])
  5535. iNdEx = postIndex
  5536. case 3:
  5537. if wireType != 2 {
  5538. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  5539. }
  5540. var msglen int
  5541. for shift := uint(0); ; shift += 7 {
  5542. if shift >= 64 {
  5543. return ErrIntOverflowRoom
  5544. }
  5545. if iNdEx >= l {
  5546. return io.ErrUnexpectedEOF
  5547. }
  5548. b := dAtA[iNdEx]
  5549. iNdEx++
  5550. msglen |= (int(b) & 0x7F) << shift
  5551. if b < 0x80 {
  5552. break
  5553. }
  5554. }
  5555. if msglen < 0 {
  5556. return ErrInvalidLengthRoom
  5557. }
  5558. postIndex := iNdEx + msglen
  5559. if postIndex > l {
  5560. return io.ErrUnexpectedEOF
  5561. }
  5562. if m.Data == nil {
  5563. m.Data = &RoomIncrDanmuSendNumResp_Data{}
  5564. }
  5565. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5566. return err
  5567. }
  5568. iNdEx = postIndex
  5569. default:
  5570. iNdEx = preIndex
  5571. skippy, err := skipRoom(dAtA[iNdEx:])
  5572. if err != nil {
  5573. return err
  5574. }
  5575. if skippy < 0 {
  5576. return ErrInvalidLengthRoom
  5577. }
  5578. if (iNdEx + skippy) > l {
  5579. return io.ErrUnexpectedEOF
  5580. }
  5581. iNdEx += skippy
  5582. }
  5583. }
  5584. if iNdEx > l {
  5585. return io.ErrUnexpectedEOF
  5586. }
  5587. return nil
  5588. }
  5589. func (m *RoomIncrDanmuSendNumResp_Data) Unmarshal(dAtA []byte) error {
  5590. l := len(dAtA)
  5591. iNdEx := 0
  5592. for iNdEx < l {
  5593. preIndex := iNdEx
  5594. var wire uint64
  5595. for shift := uint(0); ; shift += 7 {
  5596. if shift >= 64 {
  5597. return ErrIntOverflowRoom
  5598. }
  5599. if iNdEx >= l {
  5600. return io.ErrUnexpectedEOF
  5601. }
  5602. b := dAtA[iNdEx]
  5603. iNdEx++
  5604. wire |= (uint64(b) & 0x7F) << shift
  5605. if b < 0x80 {
  5606. break
  5607. }
  5608. }
  5609. fieldNum := int32(wire >> 3)
  5610. wireType := int(wire & 0x7)
  5611. if wireType == 4 {
  5612. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  5613. }
  5614. if fieldNum <= 0 {
  5615. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  5616. }
  5617. switch fieldNum {
  5618. default:
  5619. iNdEx = preIndex
  5620. skippy, err := skipRoom(dAtA[iNdEx:])
  5621. if err != nil {
  5622. return err
  5623. }
  5624. if skippy < 0 {
  5625. return ErrInvalidLengthRoom
  5626. }
  5627. if (iNdEx + skippy) > l {
  5628. return io.ErrUnexpectedEOF
  5629. }
  5630. iNdEx += skippy
  5631. }
  5632. }
  5633. if iNdEx > l {
  5634. return io.ErrUnexpectedEOF
  5635. }
  5636. return nil
  5637. }
  5638. func skipRoom(dAtA []byte) (n int, err error) {
  5639. l := len(dAtA)
  5640. iNdEx := 0
  5641. for iNdEx < l {
  5642. var wire uint64
  5643. for shift := uint(0); ; shift += 7 {
  5644. if shift >= 64 {
  5645. return 0, ErrIntOverflowRoom
  5646. }
  5647. if iNdEx >= l {
  5648. return 0, io.ErrUnexpectedEOF
  5649. }
  5650. b := dAtA[iNdEx]
  5651. iNdEx++
  5652. wire |= (uint64(b) & 0x7F) << shift
  5653. if b < 0x80 {
  5654. break
  5655. }
  5656. }
  5657. wireType := int(wire & 0x7)
  5658. switch wireType {
  5659. case 0:
  5660. for shift := uint(0); ; shift += 7 {
  5661. if shift >= 64 {
  5662. return 0, ErrIntOverflowRoom
  5663. }
  5664. if iNdEx >= l {
  5665. return 0, io.ErrUnexpectedEOF
  5666. }
  5667. iNdEx++
  5668. if dAtA[iNdEx-1] < 0x80 {
  5669. break
  5670. }
  5671. }
  5672. return iNdEx, nil
  5673. case 1:
  5674. iNdEx += 8
  5675. return iNdEx, nil
  5676. case 2:
  5677. var length int
  5678. for shift := uint(0); ; shift += 7 {
  5679. if shift >= 64 {
  5680. return 0, ErrIntOverflowRoom
  5681. }
  5682. if iNdEx >= l {
  5683. return 0, io.ErrUnexpectedEOF
  5684. }
  5685. b := dAtA[iNdEx]
  5686. iNdEx++
  5687. length |= (int(b) & 0x7F) << shift
  5688. if b < 0x80 {
  5689. break
  5690. }
  5691. }
  5692. iNdEx += length
  5693. if length < 0 {
  5694. return 0, ErrInvalidLengthRoom
  5695. }
  5696. return iNdEx, nil
  5697. case 3:
  5698. for {
  5699. var innerWire uint64
  5700. var start int = iNdEx
  5701. for shift := uint(0); ; shift += 7 {
  5702. if shift >= 64 {
  5703. return 0, ErrIntOverflowRoom
  5704. }
  5705. if iNdEx >= l {
  5706. return 0, io.ErrUnexpectedEOF
  5707. }
  5708. b := dAtA[iNdEx]
  5709. iNdEx++
  5710. innerWire |= (uint64(b) & 0x7F) << shift
  5711. if b < 0x80 {
  5712. break
  5713. }
  5714. }
  5715. innerWireType := int(innerWire & 0x7)
  5716. if innerWireType == 4 {
  5717. break
  5718. }
  5719. next, err := skipRoom(dAtA[start:])
  5720. if err != nil {
  5721. return 0, err
  5722. }
  5723. iNdEx = start + next
  5724. }
  5725. return iNdEx, nil
  5726. case 4:
  5727. return iNdEx, nil
  5728. case 5:
  5729. iNdEx += 4
  5730. return iNdEx, nil
  5731. default:
  5732. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  5733. }
  5734. }
  5735. panic("unreachable")
  5736. }
  5737. var (
  5738. ErrInvalidLengthRoom = fmt.Errorf("proto: negative length found during unmarshaling")
  5739. ErrIntOverflowRoom = fmt.Errorf("proto: integer overflow")
  5740. )
  5741. func init() { proto.RegisterFile("v1/Room.proto", fileDescriptor_Room_fa88de92f5bc1f28) }
  5742. var fileDescriptor_Room_fa88de92f5bc1f28 = []byte{
  5743. // 1667 bytes of a gzipped FileDescriptorProto
  5744. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x98, 0xcb, 0x6e, 0xdb, 0xcc,
  5745. 0x15, 0xc7, 0xa3, 0x8b, 0x25, 0xea, 0xc8, 0x52, 0x6c, 0x3a, 0x17, 0x45, 0x31, 0x44, 0x47, 0x75,
  5746. 0x1b, 0x23, 0x69, 0x9c, 0x46, 0x01, 0x8a, 0xa6, 0xd9, 0xb4, 0x8e, 0xeb, 0x54, 0x68, 0x92, 0xa6,
  5747. 0xe3, 0x24, 0x05, 0x0a, 0xa4, 0x04, 0x25, 0x8e, 0xe4, 0x81, 0x29, 0x52, 0x22, 0x29, 0xa5, 0xda,
  5748. 0x76, 0xd1, 0x75, 0x5f, 0xa1, 0xbb, 0xbe, 0x40, 0xdf, 0x20, 0x8b, 0xa2, 0xab, 0x00, 0xdd, 0x74,
  5749. 0x45, 0x14, 0xc9, 0x8e, 0xdf, 0x4b, 0x7c, 0x98, 0x33, 0x43, 0x91, 0xba, 0xdb, 0xc9, 0xb7, 0x19,
  5750. 0xce, 0xf9, 0xcf, 0x95, 0x33, 0xe7, 0xfc, 0x66, 0x48, 0x28, 0x8d, 0x1e, 0x3d, 0x24, 0x8e, 0xd3,
  5751. 0x3b, 0xec, 0xbb, 0x8e, 0xef, 0xa8, 0x79, 0x97, 0xe7, 0x47, 0x8f, 0xaa, 0x0f, 0xba, 0xcc, 0x3f,
  5752. 0x1b, 0xb6, 0x0e, 0xdb, 0x4e, 0xef, 0x61, 0xd7, 0xe9, 0x3a, 0x0f, 0xb1, 0xbc, 0x35, 0xec, 0xa0,
  5753. 0x85, 0x06, 0xe6, 0x44, 0xbb, 0x7a, 0x15, 0x2a, 0xbc, 0x97, 0x5f, 0x5b, 0xd6, 0x0b, 0x36, 0xa2,
  5754. 0x27, 0x8e, 0x7b, 0xc4, 0xba, 0xa6, 0xe1, 0x1b, 0x84, 0x0e, 0xea, 0xff, 0xcc, 0xc2, 0xad, 0x25,
  5755. 0x85, 0x5e, 0x5f, 0xdd, 0x85, 0x6c, 0xdb, 0x31, 0x69, 0x25, 0xb5, 0x97, 0x3a, 0xc8, 0x1c, 0x29,
  5756. 0x61, 0xa0, 0xa1, 0x4d, 0x30, 0x55, 0x6f, 0x41, 0xa6, 0xe7, 0x75, 0x2b, 0xe9, 0xbd, 0xd4, 0x41,
  5757. 0xe1, 0x28, 0x1f, 0x06, 0x1a, 0x37, 0x09, 0x4f, 0xd4, 0x26, 0x64, 0x79, 0x27, 0x95, 0xcc, 0x5e,
  5758. 0xe6, 0xa0, 0xd8, 0xb8, 0x7f, 0x28, 0x67, 0x7e, 0xb8, 0x74, 0x28, 0x2c, 0x69, 0xda, 0x1d, 0x47,
  5759. 0x8c, 0x82, 0x32, 0xa6, 0xd5, 0xbf, 0x65, 0x40, 0x89, 0x0a, 0xd5, 0x3a, 0xe4, 0x78, 0x57, 0xcc,
  5760. 0x94, 0x53, 0x82, 0x30, 0xd0, 0xa4, 0x42, 0xe4, 0x93, 0x4f, 0x6b, 0xc8, 0x4c, 0x9c, 0x56, 0x46,
  5761. 0x4c, 0x6b, 0xc8, 0x4c, 0xc2, 0x13, 0xf5, 0x67, 0x50, 0x6c, 0xbb, 0xd4, 0xf0, 0xa9, 0xee, 0xb3,
  5762. 0x1e, 0xad, 0x64, 0xb0, 0xca, 0xd5, 0x30, 0xd0, 0x92, 0x32, 0x01, 0x61, 0xbc, 0x61, 0x3d, 0xaa,
  5763. 0xde, 0x05, 0xc5, 0x3b, 0x73, 0x5c, 0x5f, 0x67, 0x66, 0x25, 0x8b, 0xd5, 0x37, 0xc3, 0x40, 0x9b,
  5764. 0x68, 0x24, 0x8f, 0xb9, 0xa6, 0xc9, 0x67, 0xe6, 0xd8, 0x16, 0xb3, 0x69, 0x65, 0x23, 0x9e, 0x99,
  5765. 0x50, 0x88, 0x7c, 0xf2, 0xe5, 0x34, 0x5c, 0x6a, 0x54, 0x72, 0xf1, 0x72, 0x72, 0x9b, 0x60, 0xaa,
  5766. 0xfe, 0x14, 0x80, 0x3f, 0xf5, 0x51, 0x83, 0x0f, 0x96, 0xc7, 0x3a, 0xe5, 0x30, 0xd0, 0x12, 0x2a,
  5767. 0x51, 0x78, 0xfe, 0x5d, 0xa3, 0x69, 0xaa, 0xbf, 0x82, 0xed, 0x48, 0xef, 0x1b, 0x2e, 0xb5, 0x71,
  5768. 0x86, 0x0a, 0x36, 0xba, 0x1e, 0x06, 0xda, 0x7c, 0x21, 0x29, 0x8b, 0xb6, 0xaf, 0x51, 0x68, 0x9a,
  5769. 0xea, 0x21, 0x80, 0xe1, 0xfb, 0xd4, 0xf6, 0x99, 0x63, 0x7b, 0x95, 0x42, 0x62, 0xbc, 0x89, 0x4a,
  5770. 0x12, 0xf9, 0xfa, 0x29, 0xa8, 0x7c, 0x1f, 0x9e, 0x53, 0x1f, 0xf7, 0x69, 0xdc, 0x34, 0x09, 0x1d,
  5771. 0xf0, 0xd5, 0x66, 0xa6, 0x57, 0x49, 0xed, 0x65, 0xa2, 0xd5, 0x66, 0xa6, 0x47, 0x78, 0xc2, 0x97,
  5772. 0xa4, 0xc3, 0xa8, 0x65, 0x7a, 0x95, 0xf4, 0x5e, 0xe6, 0xa0, 0x20, 0x96, 0x44, 0x28, 0x44, 0x3e,
  5773. 0xeb, 0xff, 0x51, 0x60, 0x67, 0xae, 0xd7, 0x6f, 0xf1, 0xbc, 0xe3, 0x29, 0xcf, 0xfb, 0xc9, 0x94,
  5774. 0xe7, 0xcd, 0x0c, 0x72, 0x78, 0x6c, 0xf8, 0xc6, 0x6f, 0x6c, 0xdf, 0x1d, 0xcf, 0x39, 0xdd, 0x9f,
  5775. 0xa1, 0x30, 0x29, 0x54, 0xb7, 0x20, 0x73, 0x4e, 0xc7, 0x62, 0x2a, 0x84, 0x67, 0xd5, 0xa7, 0xb0,
  5776. 0x31, 0x32, 0xac, 0x21, 0xc5, 0x19, 0x14, 0x1b, 0x3f, 0x5e, 0x39, 0x4a, 0xe4, 0xbc, 0x44, 0xb4,
  5777. 0xf9, 0x65, 0xfa, 0x17, 0xa9, 0xea, 0x7f, 0x73, 0x97, 0x74, 0x6a, 0x0d, 0x36, 0x86, 0xb6, 0xd1,
  5778. 0xa3, 0xf2, 0x9d, 0x0b, 0x61, 0xa0, 0x09, 0x81, 0x88, 0x07, 0xaf, 0xd0, 0x76, 0x46, 0xd4, 0x45,
  5779. 0xa7, 0x96, 0x15, 0x50, 0x20, 0xe2, 0x11, 0x85, 0x45, 0x76, 0x41, 0x58, 0xdc, 0x83, 0x82, 0xc5,
  5780. 0x46, 0x32, 0x28, 0x36, 0xb0, 0x7d, 0x29, 0x0c, 0xb4, 0x58, 0x24, 0x0a, 0xcf, 0x62, 0x40, 0x3c,
  5781. 0x86, 0x4d, 0xd7, 0x19, 0xda, 0xa6, 0xee, 0xf9, 0x86, 0x3f, 0xf4, 0xa4, 0x2f, 0x6f, 0x85, 0x81,
  5782. 0x36, 0xa5, 0x93, 0x22, 0x5a, 0xa7, 0x68, 0xa8, 0xfb, 0x90, 0x77, 0x6c, 0xbd, 0x63, 0x19, 0x5d,
  5783. 0xe9, 0xd7, 0xc5, 0x30, 0xd0, 0x22, 0x89, 0x87, 0xc7, 0x89, 0x65, 0x74, 0xf9, 0x2b, 0xf8, 0xcc,
  5784. 0xb7, 0x28, 0xba, 0xb1, 0x7c, 0x05, 0x14, 0x88, 0x78, 0xf0, 0xf0, 0xb5, 0x9c, 0xf6, 0x79, 0x34,
  5785. 0x74, 0x01, 0xab, 0x61, 0xf8, 0x26, 0x64, 0x02, 0xdc, 0x90, 0x03, 0xff, 0x1c, 0x4a, 0x67, 0xcc,
  5786. 0x34, 0xa9, 0x1d, 0xb5, 0x01, 0x6c, 0xb3, 0x1d, 0x06, 0xda, 0x74, 0x01, 0xd9, 0x14, 0xa6, 0x6c,
  5787. 0xf7, 0x00, 0x60, 0xe8, 0x51, 0x57, 0x17, 0x4b, 0x5a, 0xc4, 0x46, 0x18, 0x1b, 0xb1, 0x4a, 0x0a,
  5788. 0x3c, 0xff, 0x0c, 0xd7, 0x36, 0x49, 0x89, 0xcd, 0x8b, 0x51, 0xa2, 0xb4, 0x96, 0x12, 0xe5, 0x0b,
  5789. 0x50, 0xe2, 0xea, 0xd7, 0x50, 0x62, 0xeb, 0x32, 0x94, 0x68, 0xc0, 0x66, 0x54, 0x09, 0xfd, 0x6f,
  5790. 0x1b, 0xd7, 0x02, 0xf7, 0x3b, 0xa9, 0x13, 0x10, 0xed, 0x5e, 0x71, 0x5f, 0x3c, 0x81, 0x9d, 0x99,
  5791. 0x8e, 0xb1, 0xa9, 0x8a, 0x4d, 0x6f, 0x86, 0x81, 0xb6, 0xa8, 0x98, 0x6c, 0x25, 0x47, 0xc6, 0x7e,
  5792. 0xa6, 0x09, 0xb5, 0xb3, 0x96, 0x50, 0xdf, 0xa5, 0xa1, 0x2a, 0x23, 0x50, 0xec, 0xa3, 0x88, 0xc3,
  5793. 0xb7, 0x9c, 0x48, 0x74, 0xc0, 0x17, 0x76, 0x18, 0xb3, 0x0a, 0x17, 0x96, 0xdb, 0x04, 0x53, 0xf5,
  5794. 0x09, 0x94, 0x3b, 0xcc, 0xf2, 0xa9, 0xab, 0x3b, 0x9d, 0x0e, 0x6e, 0x91, 0x38, 0x41, 0xd4, 0x30,
  5795. 0xd0, 0x66, 0x4a, 0x48, 0x49, 0xd8, 0xbf, 0x17, 0x26, 0xf7, 0x4b, 0xef, 0xcc, 0xf9, 0xa0, 0x0b,
  5796. 0x17, 0x4a, 0x1e, 0x2b, 0x09, 0x99, 0x00, 0x37, 0x7e, 0x8b, 0x79, 0xf5, 0x18, 0x54, 0xd9, 0x25,
  5797. 0xb3, 0x4d, 0xfa, 0x17, 0xbd, 0x65, 0x19, 0xed, 0x73, 0x19, 0x9b, 0x37, 0xc2, 0x40, 0x5b, 0x50,
  5798. 0x4a, 0xb6, 0x84, 0xd6, 0xe4, 0xd2, 0x11, 0x57, 0x78, 0x2c, 0xca, 0x7a, 0x23, 0x66, 0x52, 0x47,
  5799. 0x9e, 0x3c, 0xb8, 0x37, 0x49, 0x9d, 0x14, 0x85, 0xf5, 0x8e, 0x1b, 0xea, 0x73, 0xd8, 0xb1, 0x29,
  5800. 0x35, 0xf5, 0x96, 0xeb, 0x18, 0x66, 0xdb, 0xf0, 0x7c, 0xdd, 0x1f, 0xf7, 0xa9, 0x8c, 0x63, 0xdc,
  5801. 0x9c, 0x05, 0xc5, 0x64, 0x9b, 0x8b, 0x47, 0x91, 0xf6, 0x66, 0xdc, 0xa7, 0xf5, 0x8f, 0x05, 0xb8,
  5802. 0xbd, 0x74, 0xb5, 0xbf, 0x05, 0xe1, 0x2f, 0xa6, 0x10, 0x7e, 0x38, 0x0b, 0xd7, 0x45, 0x83, 0xad,
  5803. 0x40, 0x79, 0x67, 0x35, 0xca, 0x9f, 0x4d, 0xa3, 0xfc, 0xc1, 0x85, 0x46, 0x5b, 0x84, 0xf4, 0x7f,
  5804. 0xe5, 0x13, 0x48, 0x9f, 0xa0, 0x2c, 0xb5, 0x04, 0x65, 0xfb, 0x80, 0xb7, 0x39, 0x7d, 0x72, 0x51,
  5805. 0x41, 0x22, 0x4a, 0x49, 0x50, 0xbf, 0x39, 0xb9, 0xca, 0x64, 0x16, 0x30, 0x3b, 0x26, 0x49, 0x76,
  5806. 0x29, 0x49, 0xe6, 0xb8, 0x9e, 0x59, 0xce, 0x75, 0xce, 0x56, 0x2e, 0x4f, 0x61, 0x5d, 0xb0, 0x35,
  5807. 0x96, 0x09, 0x70, 0x43, 0x32, 0x32, 0x09, 0xbd, 0xfc, 0x2a, 0xe8, 0x45, 0x40, 0x53, 0x16, 0x02,
  5808. 0xed, 0x1e, 0x14, 0x90, 0x06, 0x88, 0x88, 0x42, 0x7c, 0xf8, 0x4c, 0x44, 0x81, 0x33, 0x04, 0xc2,
  5809. 0x34, 0xfc, 0x60, 0x0d, 0xfc, 0x66, 0xd1, 0x55, 0xfc, 0x7a, 0x74, 0x6d, 0x5e, 0x16, 0x5d, 0x0b,
  5810. 0xc1, 0x5b, 0xba, 0x0c, 0x78, 0xef, 0x82, 0xe2, 0x1b, 0x5d, 0x31, 0x7c, 0x19, 0x87, 0xc7, 0xe5,
  5811. 0x8d, 0x34, 0x92, 0xf7, 0x8d, 0x2e, 0x0e, 0xb5, 0x0b, 0x59, 0xdf, 0xe8, 0x7a, 0x78, 0x16, 0x14,
  5812. 0xc4, 0xf2, 0x72, 0x9b, 0x60, 0x1a, 0x5f, 0x1c, 0xb6, 0x96, 0x5c, 0x1c, 0x9e, 0xc2, 0x55, 0x3c,
  5813. 0xcf, 0xf4, 0x8e, 0xeb, 0xf4, 0x74, 0x7e, 0xa6, 0x49, 0xc6, 0xef, 0x84, 0x81, 0x36, 0x5b, 0x44,
  5814. 0x4a, 0x28, 0x9c, 0xb8, 0x4e, 0xef, 0xad, 0x47, 0x5d, 0xf5, 0x00, 0x94, 0x73, 0x3a, 0xee, 0xb8,
  5815. 0x31, 0xde, 0x71, 0x92, 0x91, 0x46, 0x26, 0x39, 0xf4, 0x45, 0x7e, 0x48, 0xfb, 0xcc, 0xb2, 0x10,
  5816. 0xe5, 0xd1, 0x1d, 0x23, 0x12, 0x89, 0xc2, 0xb3, 0x6f, 0x98, 0x65, 0x71, 0x5f, 0x94, 0x87, 0x33,
  5817. 0xd6, 0xbe, 0x16, 0x9f, 0xf3, 0x09, 0x99, 0x80, 0x30, 0xb0, 0xc5, 0x13, 0x28, 0xcf, 0xf0, 0xec,
  5818. 0x7a, 0x0c, 0xef, 0x19, 0x94, 0x95, 0x5a, 0x53, 0x18, 0x7b, 0x09, 0xd7, 0x79, 0xd8, 0xbe, 0x74,
  5819. 0x5a, 0xcc, 0xa2, 0x22, 0x80, 0x99, 0xcf, 0x8f, 0x8b, 0x1b, 0x90, 0x9e, 0x5c, 0xc9, 0x72, 0x61,
  5820. 0xa0, 0xa5, 0x99, 0x49, 0xd2, 0x0c, 0xdd, 0xd9, 0x32, 0xec, 0x08, 0x5d, 0xb8, 0xde, 0xdc, 0x26,
  5821. 0x98, 0xd6, 0xff, 0x9a, 0x83, 0x1b, 0x8b, 0xfa, 0xfb, 0x16, 0x20, 0x1e, 0x4d, 0x80, 0xc8, 0x11,
  5822. 0xb5, 0x3f, 0x85, 0xa8, 0xf9, 0x71, 0x90, 0x85, 0x73, 0x18, 0x0c, 0xb3, 0x90, 0xe5, 0x05, 0x49,
  5823. 0xf2, 0xa4, 0x96, 0x93, 0x27, 0x19, 0xdc, 0xe9, 0x55, 0xc1, 0xbd, 0x02, 0x51, 0x77, 0x41, 0xc1,
  5824. 0xa3, 0xa4, 0xdf, 0xe8, 0x27, 0xbf, 0x9d, 0x22, 0x8d, 0xe4, 0x79, 0xee, 0x75, 0xa3, 0xcf, 0x7d,
  5825. 0x83, 0x79, 0x3a, 0xdf, 0x7e, 0x6a, 0x22, 0xa7, 0x14, 0xe1, 0x1b, 0x13, 0x91, 0x28, 0xcc, 0x7b,
  5826. 0x81, 0x39, 0x59, 0x57, 0x9e, 0xb4, 0xb9, 0xa9, 0xba, 0xf2, 0x9c, 0x55, 0x98, 0x27, 0x4f, 0xd9,
  5827. 0x29, 0x9f, 0xcb, 0x27, 0xf8, 0xb7, 0xde, 0xe7, 0x94, 0x98, 0x7f, 0xcb, 0x7c, 0xee, 0x3e, 0x14,
  5828. 0xa8, 0xdd, 0x76, 0xc7, 0x7d, 0x9f, 0x9a, 0x08, 0x2e, 0x39, 0x93, 0x89, 0x48, 0xe2, 0x2c, 0x3f,
  5829. 0xaa, 0xfb, 0x1f, 0x4c, 0x7d, 0x44, 0x5d, 0xd6, 0x61, 0x54, 0xb0, 0x4b, 0x11, 0x2c, 0x4a, 0xea,
  5830. 0xa4, 0xd8, 0xff, 0x60, 0xbe, 0x93, 0x06, 0x9f, 0x13, 0xf3, 0xf4, 0xbe, 0xe3, 0xfa, 0xae, 0xc1,
  5831. 0x7c, 0xe4, 0x97, 0x22, 0xe6, 0x94, 0x90, 0x09, 0x30, 0xef, 0xb5, 0xcc, 0xcf, 0x52, 0x7c, 0x73,
  5832. 0x3d, 0xc5, 0x6b, 0xb0, 0xc1, 0x3c, 0xdd, 0xeb, 0x4b, 0x38, 0x21, 0x1f, 0x50, 0x20, 0x59, 0xe6,
  5833. 0x9d, 0xf6, 0xf9, 0xc4, 0xbd, 0x3e, 0x6d, 0x33, 0xc3, 0x12, 0x71, 0x55, 0x8e, 0xef, 0x18, 0x49,
  5834. 0x9d, 0x14, 0xa5, 0x85, 0x31, 0xf5, 0x1e, 0x6e, 0x0a, 0x8f, 0x6c, 0xbb, 0xc7, 0x86, 0xdd, 0x1b,
  5835. 0x9e, 0x52, 0xdb, 0x7c, 0x35, 0xec, 0xf1, 0xa8, 0xba, 0x98, 0xfb, 0xed, 0x42, 0xb6, 0xc7, 0x43,
  5836. 0x25, 0x1d, 0x87, 0x4a, 0x0f, 0x43, 0x85, 0xa7, 0xf5, 0x7f, 0xa4, 0xc4, 0x1f, 0x8d, 0xf9, 0xfe,
  5837. 0x7f, 0x98, 0x2f, 0xc7, 0xd4, 0xdc, 0x97, 0xe3, 0xa2, 0x91, 0x16, 0xc7, 0x59, 0x4e, 0x84, 0x59,
  5838. 0xe3, 0x63, 0x06, 0xb2, 0xbc, 0xa5, 0xfa, 0x1e, 0xae, 0x19, 0x96, 0xa5, 0xe3, 0xfa, 0x77, 0x1c,
  5839. 0x57, 0x6f, 0x89, 0x9f, 0x1e, 0xea, 0x9d, 0x75, 0x3f, 0x45, 0x06, 0xd5, 0xfa, 0xfa, 0xff, 0x26,
  5840. 0xea, 0xef, 0xa0, 0xdc, 0xa5, 0xbe, 0xce, 0xec, 0x8e, 0xa3, 0xb7, 0xc6, 0x3a, 0x33, 0xd5, 0xdb,
  5841. 0xcb, 0xbf, 0x46, 0x07, 0xd5, 0xdd, 0x55, 0x9f, 0xaa, 0xaa, 0x09, 0x37, 0x79, 0x67, 0xc2, 0x4d,
  5842. 0x26, 0x7d, 0xe2, 0xf5, 0xf8, 0x47, 0xeb, 0x2f, 0x46, 0x83, 0xea, 0xfe, 0x45, 0x6e, 0x4f, 0xea,
  5843. 0x1f, 0xa0, 0xdc, 0x9b, 0xa2, 0x96, 0x5a, 0x5b, 0x89, 0xb4, 0x41, 0x55, 0x5b, 0x83, 0x3c, 0xf5,
  5844. 0x8f, 0xb0, 0xc5, 0x66, 0xb6, 0x48, 0xdd, 0x5b, 0xb3, 0x83, 0x83, 0xea, 0x9d, 0xb5, 0x7b, 0x7c,
  5845. 0xb4, 0xfb, 0xef, 0xcf, 0xb5, 0xd4, 0xa7, 0xcf, 0xb5, 0xd4, 0xff, 0x3f, 0xd7, 0x52, 0x7f, 0xff,
  5846. 0x52, 0xbb, 0xf2, 0xe9, 0x4b, 0xed, 0xca, 0xff, 0xbe, 0xd4, 0xae, 0xfc, 0x29, 0x3d, 0x7a, 0xd4,
  5847. 0xca, 0xe1, 0x0f, 0xb6, 0xc7, 0xdf, 0x07, 0x00, 0x00, 0xff, 0xff, 0xf7, 0xf6, 0x57, 0xe0, 0xa9,
  5848. 0x13, 0x00, 0x00,
  5849. }