api.pb.go 152 KB

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