123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: app/service/live/gift/api/grpc/v1/api.proto
- package v1
- import proto "github.com/gogo/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/gogo/protobuf/gogoproto"
- import (
- context "golang.org/x/net/context"
- grpc "google.golang.org/grpc"
- )
- import io "io"
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
- type RoomGiftListReq struct {
- RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
- AreaV2ParentId int64 `protobuf:"varint,2,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id,omitempty"`
- AreaV2Id int64 `protobuf:"varint,3,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id,omitempty"`
- Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
- Build int64 `protobuf:"varint,5,opt,name=build,proto3" json:"build,omitempty"`
- MobiApp string `protobuf:"bytes,6,opt,name=mobi_app,json=mobiApp,proto3" json:"mobi_app,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RoomGiftListReq) Reset() { *m = RoomGiftListReq{} }
- func (m *RoomGiftListReq) String() string { return proto.CompactTextString(m) }
- func (*RoomGiftListReq) ProtoMessage() {}
- func (*RoomGiftListReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{0}
- }
- func (m *RoomGiftListReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGiftListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGiftListReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGiftListReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGiftListReq.Merge(dst, src)
- }
- func (m *RoomGiftListReq) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGiftListReq) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGiftListReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGiftListReq proto.InternalMessageInfo
- type RoomGiftListResp struct {
- List []*RoomGiftListResp_List `protobuf:"bytes,1,rep,name=list" json:"list"`
- SilverList []*RoomGiftListResp_List `protobuf:"bytes,2,rep,name=silver_list,json=silverList" json:"silver_list"`
- ShowCountMap int64 `protobuf:"varint,3,opt,name=show_count_map,json=showCountMap,proto3" json:"show_count_map"`
- OldList []*RoomGiftListResp_OldList `protobuf:"bytes,4,rep,name=old_list,json=oldList" json:"old_list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RoomGiftListResp) Reset() { *m = RoomGiftListResp{} }
- func (m *RoomGiftListResp) String() string { return proto.CompactTextString(m) }
- func (*RoomGiftListResp) ProtoMessage() {}
- func (*RoomGiftListResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{1}
- }
- func (m *RoomGiftListResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGiftListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGiftListResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGiftListResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGiftListResp.Merge(dst, src)
- }
- func (m *RoomGiftListResp) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGiftListResp) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGiftListResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGiftListResp proto.InternalMessageInfo
- type RoomGiftListResp_List struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position"`
- PlanId int64 `protobuf:"varint,3,opt,name=plan_id,json=planId,proto3" json:"plan_id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RoomGiftListResp_List) Reset() { *m = RoomGiftListResp_List{} }
- func (m *RoomGiftListResp_List) String() string { return proto.CompactTextString(m) }
- func (*RoomGiftListResp_List) ProtoMessage() {}
- func (*RoomGiftListResp_List) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{1, 0}
- }
- func (m *RoomGiftListResp_List) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGiftListResp_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGiftListResp_List.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGiftListResp_List) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGiftListResp_List.Merge(dst, src)
- }
- func (m *RoomGiftListResp_List) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGiftListResp_List) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGiftListResp_List.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGiftListResp_List proto.InternalMessageInfo
- type RoomGiftListResp_OldList struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- Price int64 `protobuf:"varint,3,opt,name=price,proto3" json:"price"`
- Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type"`
- 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"`
- Img string `protobuf:"bytes,6,opt,name=img,proto3" json:"img"`
- GiftUrl string `protobuf:"bytes,7,opt,name=gift_url,json=giftUrl,proto3" json:"gift_url"`
- CountSet string `protobuf:"bytes,8,opt,name=count_set,json=countSet,proto3" json:"count_set"`
- ComboNum int64 `protobuf:"varint,9,opt,name=combo_num,json=comboNum,proto3" json:"combo_num"`
- SuperNum int64 `protobuf:"varint,10,opt,name=super_num,json=superNum,proto3" json:"super_num"`
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RoomGiftListResp_OldList) Reset() { *m = RoomGiftListResp_OldList{} }
- func (m *RoomGiftListResp_OldList) String() string { return proto.CompactTextString(m) }
- func (*RoomGiftListResp_OldList) ProtoMessage() {}
- func (*RoomGiftListResp_OldList) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{1, 1}
- }
- func (m *RoomGiftListResp_OldList) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *RoomGiftListResp_OldList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RoomGiftListResp_OldList.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *RoomGiftListResp_OldList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RoomGiftListResp_OldList.Merge(dst, src)
- }
- func (m *RoomGiftListResp_OldList) XXX_Size() int {
- return m.Size()
- }
- func (m *RoomGiftListResp_OldList) XXX_DiscardUnknown() {
- xxx_messageInfo_RoomGiftListResp_OldList.DiscardUnknown(m)
- }
- var xxx_messageInfo_RoomGiftListResp_OldList proto.InternalMessageInfo
- type GiftConfigReq struct {
- Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
- Build int64 `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GiftConfigReq) Reset() { *m = GiftConfigReq{} }
- func (m *GiftConfigReq) String() string { return proto.CompactTextString(m) }
- func (*GiftConfigReq) ProtoMessage() {}
- func (*GiftConfigReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{2}
- }
- func (m *GiftConfigReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GiftConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GiftConfigReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GiftConfigReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GiftConfigReq.Merge(dst, src)
- }
- func (m *GiftConfigReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GiftConfigReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GiftConfigReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GiftConfigReq proto.InternalMessageInfo
- type GiftConfigResp struct {
- Data []*GiftConfigResp_Config `protobuf:"bytes,1,rep,name=data" json:"data"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GiftConfigResp) Reset() { *m = GiftConfigResp{} }
- func (m *GiftConfigResp) String() string { return proto.CompactTextString(m) }
- func (*GiftConfigResp) ProtoMessage() {}
- func (*GiftConfigResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{3}
- }
- func (m *GiftConfigResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GiftConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GiftConfigResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GiftConfigResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GiftConfigResp.Merge(dst, src)
- }
- func (m *GiftConfigResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GiftConfigResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GiftConfigResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GiftConfigResp proto.InternalMessageInfo
- type GiftConfigResp_Config struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- Price int64 `protobuf:"varint,3,opt,name=price,proto3" json:"price"`
- Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type"`
- CoinType string `protobuf:"bytes,5,opt,name=coin_type,json=coinType,proto3" json:"coin_type"`
- BagGift int64 `protobuf:"varint,6,opt,name=bag_gift,json=bagGift,proto3" json:"bag_gift"`
- Effect int64 `protobuf:"varint,7,opt,name=effect,proto3" json:"effect"`
- CornerMark string `protobuf:"bytes,8,opt,name=corner_mark,json=cornerMark,proto3" json:"corner_mark"`
- Broadcast int64 `protobuf:"varint,9,opt,name=broadcast,proto3" json:"broadcast"`
- Draw int64 `protobuf:"varint,10,opt,name=draw,proto3" json:"draw"`
- StayTime int64 `protobuf:"varint,11,opt,name=stay_time,json=stayTime,proto3" json:"stay_time"`
- AnimationFrameNum int64 `protobuf:"varint,12,opt,name=animation_frame_num,json=animationFrameNum,proto3" json:"animation_frame_num"`
- Desc string `protobuf:"bytes,13,opt,name=desc,proto3" json:"desc"`
- Rule string `protobuf:"bytes,14,opt,name=rule,proto3" json:"rule"`
- Rights string `protobuf:"bytes,15,opt,name=rights,proto3" json:"rights"`
- PrivilegeRequired int64 `protobuf:"varint,16,opt,name=privilege_required,json=privilegeRequired,proto3" json:"privilege_required"`
- CountMap []*GiftConfigResp_CountMap `protobuf:"bytes,17,rep,name=count_map,json=countMap" json:"count_map"`
- ImgBasic string `protobuf:"bytes,18,opt,name=img_basic,json=imgBasic,proto3" json:"img_basic"`
- ImgDynamic string `protobuf:"bytes,19,opt,name=img_dynamic,json=imgDynamic,proto3" json:"img_dynamic"`
- FrameAnimation string `protobuf:"bytes,20,opt,name=frame_animation,json=frameAnimation,proto3" json:"frame_animation"`
- Gif string `protobuf:"bytes,21,opt,name=gif,proto3" json:"gif"`
- Webp string `protobuf:"bytes,22,opt,name=webp,proto3" json:"webp"`
- FullScWeb string `protobuf:"bytes,23,opt,name=full_sc_web,json=fullScWeb,proto3" json:"full_sc_web"`
- FullScHorizontal string `protobuf:"bytes,24,opt,name=full_sc_horizontal,json=fullScHorizontal,proto3" json:"full_sc_horizontal"`
- FullScVertical string `protobuf:"bytes,25,opt,name=full_sc_vertical,json=fullScVertical,proto3" json:"full_sc_vertical"`
- FullScHorizontalSvga string `protobuf:"bytes,26,opt,name=full_sc_horizontal_svga,json=fullScHorizontalSvga,proto3" json:"full_sc_horizontal_svga"`
- FullScVerticalSvga string `protobuf:"bytes,27,opt,name=full_sc_vertical_svga,json=fullScVerticalSvga,proto3" json:"full_sc_vertical_svga"`
- BulletHead string `protobuf:"bytes,28,opt,name=bullet_head,json=bulletHead,proto3" json:"bullet_head"`
- BulletTail string `protobuf:"bytes,29,opt,name=bullet_tail,json=bulletTail,proto3" json:"bullet_tail"`
- LimitInterval int64 `protobuf:"varint,30,opt,name=limit_interval,json=limitInterval,proto3" json:"limit_interval"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GiftConfigResp_Config) Reset() { *m = GiftConfigResp_Config{} }
- func (m *GiftConfigResp_Config) String() string { return proto.CompactTextString(m) }
- func (*GiftConfigResp_Config) ProtoMessage() {}
- func (*GiftConfigResp_Config) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{3, 0}
- }
- func (m *GiftConfigResp_Config) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GiftConfigResp_Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GiftConfigResp_Config.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GiftConfigResp_Config) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GiftConfigResp_Config.Merge(dst, src)
- }
- func (m *GiftConfigResp_Config) XXX_Size() int {
- return m.Size()
- }
- func (m *GiftConfigResp_Config) XXX_DiscardUnknown() {
- xxx_messageInfo_GiftConfigResp_Config.DiscardUnknown(m)
- }
- var xxx_messageInfo_GiftConfigResp_Config proto.InternalMessageInfo
- type GiftConfigResp_CountMap struct {
- Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num"`
- Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GiftConfigResp_CountMap) Reset() { *m = GiftConfigResp_CountMap{} }
- func (m *GiftConfigResp_CountMap) String() string { return proto.CompactTextString(m) }
- func (*GiftConfigResp_CountMap) ProtoMessage() {}
- func (*GiftConfigResp_CountMap) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{3, 1}
- }
- func (m *GiftConfigResp_CountMap) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GiftConfigResp_CountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GiftConfigResp_CountMap.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GiftConfigResp_CountMap) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GiftConfigResp_CountMap.Merge(dst, src)
- }
- func (m *GiftConfigResp_CountMap) XXX_Size() int {
- return m.Size()
- }
- func (m *GiftConfigResp_CountMap) XXX_DiscardUnknown() {
- xxx_messageInfo_GiftConfigResp_CountMap.DiscardUnknown(m)
- }
- var xxx_messageInfo_GiftConfigResp_CountMap proto.InternalMessageInfo
- type DiscountGiftListReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
- Roomid int64 `protobuf:"varint,2,opt,name=roomid,proto3" json:"roomid,omitempty"`
- AreaV2ParentId int64 `protobuf:"varint,3,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id,omitempty"`
- AreaV2Id int64 `protobuf:"varint,4,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id,omitempty"`
- Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
- Ruid int64 `protobuf:"varint,6,opt,name=ruid,proto3" json:"ruid,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DiscountGiftListReq) Reset() { *m = DiscountGiftListReq{} }
- func (m *DiscountGiftListReq) String() string { return proto.CompactTextString(m) }
- func (*DiscountGiftListReq) ProtoMessage() {}
- func (*DiscountGiftListReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{4}
- }
- func (m *DiscountGiftListReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DiscountGiftListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DiscountGiftListReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DiscountGiftListReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DiscountGiftListReq.Merge(dst, src)
- }
- func (m *DiscountGiftListReq) XXX_Size() int {
- return m.Size()
- }
- func (m *DiscountGiftListReq) XXX_DiscardUnknown() {
- xxx_messageInfo_DiscountGiftListReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_DiscountGiftListReq proto.InternalMessageInfo
- type DiscountGiftListResp struct {
- DiscountList []*DiscountGiftListResp_GiftInfo `protobuf:"bytes,1,rep,name=discount_list,json=discountList" json:"discount_list,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DiscountGiftListResp) Reset() { *m = DiscountGiftListResp{} }
- func (m *DiscountGiftListResp) String() string { return proto.CompactTextString(m) }
- func (*DiscountGiftListResp) ProtoMessage() {}
- func (*DiscountGiftListResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{5}
- }
- func (m *DiscountGiftListResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DiscountGiftListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DiscountGiftListResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DiscountGiftListResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DiscountGiftListResp.Merge(dst, src)
- }
- func (m *DiscountGiftListResp) XXX_Size() int {
- return m.Size()
- }
- func (m *DiscountGiftListResp) XXX_DiscardUnknown() {
- xxx_messageInfo_DiscountGiftListResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_DiscountGiftListResp proto.InternalMessageInfo
- type DiscountGiftListResp_GiftInfo struct {
- GiftId int64 `protobuf:"varint,1,opt,name=gift_id,json=giftId,proto3" json:"gift_id"`
- Price int64 `protobuf:"varint,2,opt,name=price,proto3" json:"price"`
- DiscountPrice int64 `protobuf:"varint,3,opt,name=discount_price,json=discountPrice,proto3" json:"discount_price"`
- CornerMark string `protobuf:"bytes,4,opt,name=corner_mark,json=cornerMark,proto3" json:"corner_mark"`
- CornerPosition int64 `protobuf:"varint,5,opt,name=corner_position,json=cornerPosition,proto3" json:"corner_position"`
- CornerColor string `protobuf:"bytes,6,opt,name=corner_color,json=cornerColor,proto3" json:"corner_color"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DiscountGiftListResp_GiftInfo) Reset() { *m = DiscountGiftListResp_GiftInfo{} }
- func (m *DiscountGiftListResp_GiftInfo) String() string { return proto.CompactTextString(m) }
- func (*DiscountGiftListResp_GiftInfo) ProtoMessage() {}
- func (*DiscountGiftListResp_GiftInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{5, 0}
- }
- func (m *DiscountGiftListResp_GiftInfo) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DiscountGiftListResp_GiftInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DiscountGiftListResp_GiftInfo.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DiscountGiftListResp_GiftInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DiscountGiftListResp_GiftInfo.Merge(dst, src)
- }
- func (m *DiscountGiftListResp_GiftInfo) XXX_Size() int {
- return m.Size()
- }
- func (m *DiscountGiftListResp_GiftInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_DiscountGiftListResp_GiftInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_DiscountGiftListResp_GiftInfo proto.InternalMessageInfo
- type DailyBagReq struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagReq) Reset() { *m = DailyBagReq{} }
- func (m *DailyBagReq) String() string { return proto.CompactTextString(m) }
- func (*DailyBagReq) ProtoMessage() {}
- func (*DailyBagReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{6}
- }
- func (m *DailyBagReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagReq.Merge(dst, src)
- }
- func (m *DailyBagReq) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagReq) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagReq proto.InternalMessageInfo
- type DailyBagResp struct {
- BagStatus int64 `protobuf:"varint,1,opt,name=bag_status,json=bagStatus,proto3" json:"bag_status"`
- BagExpireStatus int64 `protobuf:"varint,2,opt,name=bag_expire_status,json=bagExpireStatus,proto3" json:"bag_expire_status"`
- BagToast *DailyBagResp_BagToast `protobuf:"bytes,3,opt,name=bag_toast,json=bagToast" json:"bag_toast"`
- BagList []*DailyBagResp_BagList `protobuf:"bytes,4,rep,name=bag_list,json=bagList" json:"bag_list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp) Reset() { *m = DailyBagResp{} }
- func (m *DailyBagResp) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp) ProtoMessage() {}
- func (*DailyBagResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{7}
- }
- func (m *DailyBagResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp.Merge(dst, src)
- }
- func (m *DailyBagResp) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp proto.InternalMessageInfo
- type DailyBagResp_BagToast struct {
- ToastStatus int64 `protobuf:"varint,1,opt,name=toast_status,json=toastStatus,proto3" json:"toast_status"`
- ToastMessage string `protobuf:"bytes,2,opt,name=toast_message,json=toastMessage,proto3" json:"toast_message"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp_BagToast) Reset() { *m = DailyBagResp_BagToast{} }
- func (m *DailyBagResp_BagToast) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp_BagToast) ProtoMessage() {}
- func (*DailyBagResp_BagToast) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{7, 0}
- }
- func (m *DailyBagResp_BagToast) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp_BagToast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp_BagToast.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp_BagToast) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp_BagToast.Merge(dst, src)
- }
- func (m *DailyBagResp_BagToast) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp_BagToast) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp_BagToast.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp_BagToast proto.InternalMessageInfo
- type DailyBagResp_BagList struct {
- Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
- BagName string `protobuf:"bytes,2,opt,name=bag_name,json=bagName,proto3" json:"bag_name"`
- Source *DailyBagResp_BagList_Source `protobuf:"bytes,3,opt,name=source" json:"source"`
- GiftList []*DailyBagResp_BagList_GiftList `protobuf:"bytes,4,rep,name=gift_list,json=giftList" json:"gift_list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp_BagList) Reset() { *m = DailyBagResp_BagList{} }
- func (m *DailyBagResp_BagList) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp_BagList) ProtoMessage() {}
- func (*DailyBagResp_BagList) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{7, 1}
- }
- func (m *DailyBagResp_BagList) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp_BagList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp_BagList.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp_BagList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp_BagList.Merge(dst, src)
- }
- func (m *DailyBagResp_BagList) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp_BagList) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp_BagList.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp_BagList proto.InternalMessageInfo
- type DailyBagResp_BagList_Source struct {
- MedalId int64 `protobuf:"varint,1,opt,name=medal_id,json=medalId,proto3" json:"medal_id"`
- MedalName string `protobuf:"bytes,2,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
- Level int64 `protobuf:"varint,3,opt,name=level,proto3" json:"level"`
- UserLevel int64 `protobuf:"varint,4,opt,name=user_level,json=userLevel,proto3" json:"user_level"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp_BagList_Source) Reset() { *m = DailyBagResp_BagList_Source{} }
- func (m *DailyBagResp_BagList_Source) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp_BagList_Source) ProtoMessage() {}
- func (*DailyBagResp_BagList_Source) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{7, 1, 0}
- }
- func (m *DailyBagResp_BagList_Source) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp_BagList_Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp_BagList_Source.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp_BagList_Source) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp_BagList_Source.Merge(dst, src)
- }
- func (m *DailyBagResp_BagList_Source) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp_BagList_Source) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp_BagList_Source.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp_BagList_Source proto.InternalMessageInfo
- type DailyBagResp_BagList_GiftList struct {
- GiftId string `protobuf:"bytes,1,opt,name=gift_id,json=giftId,proto3" json:"gift_id"`
- GiftNum int64 `protobuf:"varint,2,opt,name=gift_num,json=giftNum,proto3" json:"gift_num"`
- ExpireAt int64 `protobuf:"varint,3,opt,name=expire_at,json=expireAt,proto3" json:"expire_at"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp_BagList_GiftList) Reset() { *m = DailyBagResp_BagList_GiftList{} }
- func (m *DailyBagResp_BagList_GiftList) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp_BagList_GiftList) ProtoMessage() {}
- func (*DailyBagResp_BagList_GiftList) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_1a46064cda2fcbfc, []int{7, 1, 1}
- }
- func (m *DailyBagResp_BagList_GiftList) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp_BagList_GiftList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp_BagList_GiftList.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp_BagList_GiftList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp_BagList_GiftList.Merge(dst, src)
- }
- func (m *DailyBagResp_BagList_GiftList) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp_BagList_GiftList) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp_BagList_GiftList.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp_BagList_GiftList proto.InternalMessageInfo
- func init() {
- proto.RegisterType((*RoomGiftListReq)(nil), "live.xgift.v1.RoomGiftListReq")
- proto.RegisterType((*RoomGiftListResp)(nil), "live.xgift.v1.RoomGiftListResp")
- proto.RegisterType((*RoomGiftListResp_List)(nil), "live.xgift.v1.RoomGiftListResp.List")
- proto.RegisterType((*RoomGiftListResp_OldList)(nil), "live.xgift.v1.RoomGiftListResp.OldList")
- proto.RegisterMapType((map[string]string)(nil), "live.xgift.v1.RoomGiftListResp.OldList.CoinTypeEntry")
- proto.RegisterMapType((map[int64]string)(nil), "live.xgift.v1.RoomGiftListResp.OldList.CountMapEntry")
- proto.RegisterType((*GiftConfigReq)(nil), "live.xgift.v1.GiftConfigReq")
- proto.RegisterType((*GiftConfigResp)(nil), "live.xgift.v1.GiftConfigResp")
- proto.RegisterType((*GiftConfigResp_Config)(nil), "live.xgift.v1.GiftConfigResp.Config")
- proto.RegisterType((*GiftConfigResp_CountMap)(nil), "live.xgift.v1.GiftConfigResp.CountMap")
- proto.RegisterType((*DiscountGiftListReq)(nil), "live.xgift.v1.DiscountGiftListReq")
- proto.RegisterType((*DiscountGiftListResp)(nil), "live.xgift.v1.DiscountGiftListResp")
- proto.RegisterType((*DiscountGiftListResp_GiftInfo)(nil), "live.xgift.v1.DiscountGiftListResp.GiftInfo")
- proto.RegisterType((*DailyBagReq)(nil), "live.xgift.v1.DailyBagReq")
- proto.RegisterType((*DailyBagResp)(nil), "live.xgift.v1.DailyBagResp")
- proto.RegisterType((*DailyBagResp_BagToast)(nil), "live.xgift.v1.DailyBagResp.BagToast")
- proto.RegisterType((*DailyBagResp_BagList)(nil), "live.xgift.v1.DailyBagResp.BagList")
- proto.RegisterType((*DailyBagResp_BagList_Source)(nil), "live.xgift.v1.DailyBagResp.BagList.Source")
- proto.RegisterType((*DailyBagResp_BagList_GiftList)(nil), "live.xgift.v1.DailyBagResp.BagList.GiftList")
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConn
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion4
- // GiftClient is the client API for Gift service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type GiftClient interface {
- RoomGiftList(ctx context.Context, in *RoomGiftListReq, opts ...grpc.CallOption) (*RoomGiftListResp, error)
- GiftConfig(ctx context.Context, in *GiftConfigReq, opts ...grpc.CallOption) (*GiftConfigResp, error)
- DiscountGiftList(ctx context.Context, in *DiscountGiftListReq, opts ...grpc.CallOption) (*DiscountGiftListResp, error)
- DailyBag(ctx context.Context, in *DailyBagReq, opts ...grpc.CallOption) (*DailyBagResp, error)
- }
- type giftClient struct {
- cc *grpc.ClientConn
- }
- func NewGiftClient(cc *grpc.ClientConn) GiftClient {
- return &giftClient{cc}
- }
- func (c *giftClient) RoomGiftList(ctx context.Context, in *RoomGiftListReq, opts ...grpc.CallOption) (*RoomGiftListResp, error) {
- out := new(RoomGiftListResp)
- err := c.cc.Invoke(ctx, "/live.xgift.v1.Gift/room_gift_list", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *giftClient) GiftConfig(ctx context.Context, in *GiftConfigReq, opts ...grpc.CallOption) (*GiftConfigResp, error) {
- out := new(GiftConfigResp)
- err := c.cc.Invoke(ctx, "/live.xgift.v1.Gift/gift_config", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *giftClient) DiscountGiftList(ctx context.Context, in *DiscountGiftListReq, opts ...grpc.CallOption) (*DiscountGiftListResp, error) {
- out := new(DiscountGiftListResp)
- err := c.cc.Invoke(ctx, "/live.xgift.v1.Gift/discount_gift_list", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *giftClient) DailyBag(ctx context.Context, in *DailyBagReq, opts ...grpc.CallOption) (*DailyBagResp, error) {
- out := new(DailyBagResp)
- err := c.cc.Invoke(ctx, "/live.xgift.v1.Gift/daily_bag", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // GiftServer is the server API for Gift service.
- type GiftServer interface {
- RoomGiftList(context.Context, *RoomGiftListReq) (*RoomGiftListResp, error)
- GiftConfig(context.Context, *GiftConfigReq) (*GiftConfigResp, error)
- DiscountGiftList(context.Context, *DiscountGiftListReq) (*DiscountGiftListResp, error)
- DailyBag(context.Context, *DailyBagReq) (*DailyBagResp, error)
- }
- func RegisterGiftServer(s *grpc.Server, srv GiftServer) {
- s.RegisterService(&_Gift_serviceDesc, srv)
- }
- func _Gift_RoomGiftList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RoomGiftListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GiftServer).RoomGiftList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xgift.v1.Gift/RoomGiftList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GiftServer).RoomGiftList(ctx, req.(*RoomGiftListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Gift_GiftConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GiftConfigReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GiftServer).GiftConfig(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xgift.v1.Gift/GiftConfig",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GiftServer).GiftConfig(ctx, req.(*GiftConfigReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Gift_DiscountGiftList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DiscountGiftListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GiftServer).DiscountGiftList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xgift.v1.Gift/DiscountGiftList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GiftServer).DiscountGiftList(ctx, req.(*DiscountGiftListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Gift_DailyBag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DailyBagReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(GiftServer).DailyBag(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/live.xgift.v1.Gift/DailyBag",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(GiftServer).DailyBag(ctx, req.(*DailyBagReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _Gift_serviceDesc = grpc.ServiceDesc{
- ServiceName: "live.xgift.v1.Gift",
- HandlerType: (*GiftServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "room_gift_list",
- Handler: _Gift_RoomGiftList_Handler,
- },
- {
- MethodName: "gift_config",
- Handler: _Gift_GiftConfig_Handler,
- },
- {
- MethodName: "discount_gift_list",
- Handler: _Gift_DiscountGiftList_Handler,
- },
- {
- MethodName: "daily_bag",
- Handler: _Gift_DailyBag_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "app/service/live/gift/api/grpc/v1/api.proto",
- }
- func (m *RoomGiftListReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGiftListReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.RoomId != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
- }
- if m.AreaV2ParentId != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.AreaV2ParentId))
- }
- if m.AreaV2Id != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.AreaV2Id))
- }
- if len(m.Platform) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.Build != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Build))
- }
- if len(m.MobiApp) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.MobiApp)))
- i += copy(dAtA[i:], m.MobiApp)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *RoomGiftListResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGiftListResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.List) > 0 {
- for _, msg := range m.List {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.SilverList) > 0 {
- for _, msg := range m.SilverList {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.ShowCountMap != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.ShowCountMap))
- }
- if len(m.OldList) > 0 {
- for _, msg := range m.OldList {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *RoomGiftListResp_List) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGiftListResp_List) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Id))
- }
- if m.Position != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Position))
- }
- if m.PlanId != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.PlanId))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *RoomGiftListResp_OldList) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *RoomGiftListResp_OldList) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Id))
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.Price != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Price))
- }
- if m.Type != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Type))
- }
- if len(m.CoinType) > 0 {
- for k, _ := range m.CoinType {
- dAtA[i] = 0x2a
- i++
- v := m.CoinType[k]
- mapSize := 1 + len(k) + sovApi(uint64(len(k))) + 1 + len(v) + sovApi(uint64(len(v)))
- i = encodeVarintApi(dAtA, i, uint64(mapSize))
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(k)))
- i += copy(dAtA[i:], k)
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(v)))
- i += copy(dAtA[i:], v)
- }
- }
- if len(m.Img) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Img)))
- i += copy(dAtA[i:], m.Img)
- }
- if len(m.GiftUrl) > 0 {
- dAtA[i] = 0x3a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.GiftUrl)))
- i += copy(dAtA[i:], m.GiftUrl)
- }
- if len(m.CountSet) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.CountSet)))
- i += copy(dAtA[i:], m.CountSet)
- }
- if m.ComboNum != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.ComboNum))
- }
- if m.SuperNum != 0 {
- dAtA[i] = 0x50
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.SuperNum))
- }
- if len(m.CountMap) > 0 {
- for k, _ := range m.CountMap {
- dAtA[i] = 0x5a
- i++
- v := m.CountMap[k]
- mapSize := 1 + sovApi(uint64(k)) + 1 + len(v) + sovApi(uint64(len(v)))
- i = encodeVarintApi(dAtA, i, uint64(mapSize))
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(k))
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(v)))
- i += copy(dAtA[i:], v)
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GiftConfigReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GiftConfigReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Platform) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.Build != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Build))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GiftConfigResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GiftConfigResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Data) > 0 {
- for _, msg := range m.Data {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GiftConfigResp_Config) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GiftConfigResp_Config) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Id))
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.Price != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Price))
- }
- if m.Type != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Type))
- }
- if len(m.CoinType) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.CoinType)))
- i += copy(dAtA[i:], m.CoinType)
- }
- if m.BagGift != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.BagGift))
- }
- if m.Effect != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Effect))
- }
- if len(m.CornerMark) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.CornerMark)))
- i += copy(dAtA[i:], m.CornerMark)
- }
- if m.Broadcast != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Broadcast))
- }
- if m.Draw != 0 {
- dAtA[i] = 0x50
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Draw))
- }
- if m.StayTime != 0 {
- dAtA[i] = 0x58
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.StayTime))
- }
- if m.AnimationFrameNum != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.AnimationFrameNum))
- }
- if len(m.Desc) > 0 {
- dAtA[i] = 0x6a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Desc)))
- i += copy(dAtA[i:], m.Desc)
- }
- if len(m.Rule) > 0 {
- dAtA[i] = 0x72
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Rule)))
- i += copy(dAtA[i:], m.Rule)
- }
- if len(m.Rights) > 0 {
- dAtA[i] = 0x7a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Rights)))
- i += copy(dAtA[i:], m.Rights)
- }
- if m.PrivilegeRequired != 0 {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.PrivilegeRequired))
- }
- if len(m.CountMap) > 0 {
- for _, msg := range m.CountMap {
- dAtA[i] = 0x8a
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.ImgBasic) > 0 {
- dAtA[i] = 0x92
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.ImgBasic)))
- i += copy(dAtA[i:], m.ImgBasic)
- }
- if len(m.ImgDynamic) > 0 {
- dAtA[i] = 0x9a
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.ImgDynamic)))
- i += copy(dAtA[i:], m.ImgDynamic)
- }
- if len(m.FrameAnimation) > 0 {
- dAtA[i] = 0xa2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.FrameAnimation)))
- i += copy(dAtA[i:], m.FrameAnimation)
- }
- if len(m.Gif) > 0 {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Gif)))
- i += copy(dAtA[i:], m.Gif)
- }
- if len(m.Webp) > 0 {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Webp)))
- i += copy(dAtA[i:], m.Webp)
- }
- if len(m.FullScWeb) > 0 {
- dAtA[i] = 0xba
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.FullScWeb)))
- i += copy(dAtA[i:], m.FullScWeb)
- }
- if len(m.FullScHorizontal) > 0 {
- dAtA[i] = 0xc2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.FullScHorizontal)))
- i += copy(dAtA[i:], m.FullScHorizontal)
- }
- if len(m.FullScVertical) > 0 {
- dAtA[i] = 0xca
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.FullScVertical)))
- i += copy(dAtA[i:], m.FullScVertical)
- }
- if len(m.FullScHorizontalSvga) > 0 {
- dAtA[i] = 0xd2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.FullScHorizontalSvga)))
- i += copy(dAtA[i:], m.FullScHorizontalSvga)
- }
- if len(m.FullScVerticalSvga) > 0 {
- dAtA[i] = 0xda
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.FullScVerticalSvga)))
- i += copy(dAtA[i:], m.FullScVerticalSvga)
- }
- if len(m.BulletHead) > 0 {
- dAtA[i] = 0xe2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.BulletHead)))
- i += copy(dAtA[i:], m.BulletHead)
- }
- if len(m.BulletTail) > 0 {
- dAtA[i] = 0xea
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.BulletTail)))
- i += copy(dAtA[i:], m.BulletTail)
- }
- if m.LimitInterval != 0 {
- dAtA[i] = 0xf0
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.LimitInterval))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GiftConfigResp_CountMap) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GiftConfigResp_CountMap) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Num != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Num))
- }
- if len(m.Text) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Text)))
- i += copy(dAtA[i:], m.Text)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DiscountGiftListReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DiscountGiftListReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Uid))
- }
- if m.Roomid != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Roomid))
- }
- if m.AreaV2ParentId != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.AreaV2ParentId))
- }
- if m.AreaV2Id != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.AreaV2Id))
- }
- if len(m.Platform) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.Ruid != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Ruid))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DiscountGiftListResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DiscountGiftListResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.DiscountList) > 0 {
- for _, msg := range m.DiscountList {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DiscountGiftListResp_GiftInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DiscountGiftListResp_GiftInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.GiftId != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.GiftId))
- }
- if m.Price != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Price))
- }
- if m.DiscountPrice != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.DiscountPrice))
- }
- if len(m.CornerMark) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.CornerMark)))
- i += copy(dAtA[i:], m.CornerMark)
- }
- if m.CornerPosition != 0 {
- dAtA[i] = 0x28
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.CornerPosition))
- }
- if len(m.CornerColor) > 0 {
- dAtA[i] = 0x32
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.CornerColor)))
- i += copy(dAtA[i:], m.CornerColor)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Uid != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Uid))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.BagStatus != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.BagStatus))
- }
- if m.BagExpireStatus != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.BagExpireStatus))
- }
- if m.BagToast != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.BagToast.Size()))
- n1, err := m.BagToast.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n1
- }
- if len(m.BagList) > 0 {
- for _, msg := range m.BagList {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp_BagToast) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp_BagToast) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.ToastStatus != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.ToastStatus))
- }
- if len(m.ToastMessage) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.ToastMessage)))
- i += copy(dAtA[i:], m.ToastMessage)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp_BagList) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp_BagList) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Type != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Type))
- }
- if len(m.BagName) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.BagName)))
- i += copy(dAtA[i:], m.BagName)
- }
- if m.Source != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Source.Size()))
- n2, err := m.Source.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n2
- }
- if len(m.GiftList) > 0 {
- for _, msg := range m.GiftList {
- dAtA[i] = 0x22
- i++
- i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp_BagList_Source) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp_BagList_Source) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.MedalId != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.MedalId))
- }
- if len(m.MedalName) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.MedalName)))
- i += copy(dAtA[i:], m.MedalName)
- }
- if m.Level != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.Level))
- }
- if m.UserLevel != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.UserLevel))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp_BagList_GiftList) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp_BagList_GiftList) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.GiftId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintApi(dAtA, i, uint64(len(m.GiftId)))
- i += copy(dAtA[i:], m.GiftId)
- }
- if m.GiftNum != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.GiftNum))
- }
- if m.ExpireAt != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintApi(dAtA, i, uint64(m.ExpireAt))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
- }
- func (m *RoomGiftListReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.RoomId != 0 {
- n += 1 + sovApi(uint64(m.RoomId))
- }
- if m.AreaV2ParentId != 0 {
- n += 1 + sovApi(uint64(m.AreaV2ParentId))
- }
- if m.AreaV2Id != 0 {
- n += 1 + sovApi(uint64(m.AreaV2Id))
- }
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Build != 0 {
- n += 1 + sovApi(uint64(m.Build))
- }
- l = len(m.MobiApp)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *RoomGiftListResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.List) > 0 {
- for _, e := range m.List {
- l = e.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- }
- if len(m.SilverList) > 0 {
- for _, e := range m.SilverList {
- l = e.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- }
- if m.ShowCountMap != 0 {
- n += 1 + sovApi(uint64(m.ShowCountMap))
- }
- if len(m.OldList) > 0 {
- for _, e := range m.OldList {
- l = e.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *RoomGiftListResp_List) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovApi(uint64(m.Id))
- }
- if m.Position != 0 {
- n += 1 + sovApi(uint64(m.Position))
- }
- if m.PlanId != 0 {
- n += 1 + sovApi(uint64(m.PlanId))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *RoomGiftListResp_OldList) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovApi(uint64(m.Id))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Price != 0 {
- n += 1 + sovApi(uint64(m.Price))
- }
- if m.Type != 0 {
- n += 1 + sovApi(uint64(m.Type))
- }
- if len(m.CoinType) > 0 {
- for k, v := range m.CoinType {
- _ = k
- _ = v
- mapEntrySize := 1 + len(k) + sovApi(uint64(len(k))) + 1 + len(v) + sovApi(uint64(len(v)))
- n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
- }
- }
- l = len(m.Img)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.GiftUrl)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.CountSet)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.ComboNum != 0 {
- n += 1 + sovApi(uint64(m.ComboNum))
- }
- if m.SuperNum != 0 {
- n += 1 + sovApi(uint64(m.SuperNum))
- }
- if len(m.CountMap) > 0 {
- for k, v := range m.CountMap {
- _ = k
- _ = v
- mapEntrySize := 1 + sovApi(uint64(k)) + 1 + len(v) + sovApi(uint64(len(v)))
- n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GiftConfigReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Build != 0 {
- n += 1 + sovApi(uint64(m.Build))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GiftConfigResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Data) > 0 {
- for _, e := range m.Data {
- l = e.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GiftConfigResp_Config) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovApi(uint64(m.Id))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Price != 0 {
- n += 1 + sovApi(uint64(m.Price))
- }
- if m.Type != 0 {
- n += 1 + sovApi(uint64(m.Type))
- }
- l = len(m.CoinType)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.BagGift != 0 {
- n += 1 + sovApi(uint64(m.BagGift))
- }
- if m.Effect != 0 {
- n += 1 + sovApi(uint64(m.Effect))
- }
- l = len(m.CornerMark)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Broadcast != 0 {
- n += 1 + sovApi(uint64(m.Broadcast))
- }
- if m.Draw != 0 {
- n += 1 + sovApi(uint64(m.Draw))
- }
- if m.StayTime != 0 {
- n += 1 + sovApi(uint64(m.StayTime))
- }
- if m.AnimationFrameNum != 0 {
- n += 1 + sovApi(uint64(m.AnimationFrameNum))
- }
- l = len(m.Desc)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Rule)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- l = len(m.Rights)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.PrivilegeRequired != 0 {
- n += 2 + sovApi(uint64(m.PrivilegeRequired))
- }
- if len(m.CountMap) > 0 {
- for _, e := range m.CountMap {
- l = e.Size()
- n += 2 + l + sovApi(uint64(l))
- }
- }
- l = len(m.ImgBasic)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.ImgDynamic)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.FrameAnimation)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.Gif)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.Webp)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.FullScWeb)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.FullScHorizontal)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.FullScVertical)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.FullScHorizontalSvga)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.FullScVerticalSvga)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.BulletHead)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- l = len(m.BulletTail)
- if l > 0 {
- n += 2 + l + sovApi(uint64(l))
- }
- if m.LimitInterval != 0 {
- n += 2 + sovApi(uint64(m.LimitInterval))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GiftConfigResp_CountMap) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Num != 0 {
- n += 1 + sovApi(uint64(m.Num))
- }
- l = len(m.Text)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DiscountGiftListReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovApi(uint64(m.Uid))
- }
- if m.Roomid != 0 {
- n += 1 + sovApi(uint64(m.Roomid))
- }
- if m.AreaV2ParentId != 0 {
- n += 1 + sovApi(uint64(m.AreaV2ParentId))
- }
- if m.AreaV2Id != 0 {
- n += 1 + sovApi(uint64(m.AreaV2Id))
- }
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Ruid != 0 {
- n += 1 + sovApi(uint64(m.Ruid))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DiscountGiftListResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.DiscountList) > 0 {
- for _, e := range m.DiscountList {
- l = e.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DiscountGiftListResp_GiftInfo) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.GiftId != 0 {
- n += 1 + sovApi(uint64(m.GiftId))
- }
- if m.Price != 0 {
- n += 1 + sovApi(uint64(m.Price))
- }
- if m.DiscountPrice != 0 {
- n += 1 + sovApi(uint64(m.DiscountPrice))
- }
- l = len(m.CornerMark)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.CornerPosition != 0 {
- n += 1 + sovApi(uint64(m.CornerPosition))
- }
- l = len(m.CornerColor)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Uid != 0 {
- n += 1 + sovApi(uint64(m.Uid))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.BagStatus != 0 {
- n += 1 + sovApi(uint64(m.BagStatus))
- }
- if m.BagExpireStatus != 0 {
- n += 1 + sovApi(uint64(m.BagExpireStatus))
- }
- if m.BagToast != nil {
- l = m.BagToast.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- if len(m.BagList) > 0 {
- for _, e := range m.BagList {
- l = e.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp_BagToast) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.ToastStatus != 0 {
- n += 1 + sovApi(uint64(m.ToastStatus))
- }
- l = len(m.ToastMessage)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp_BagList) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Type != 0 {
- n += 1 + sovApi(uint64(m.Type))
- }
- l = len(m.BagName)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Source != nil {
- l = m.Source.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- if len(m.GiftList) > 0 {
- for _, e := range m.GiftList {
- l = e.Size()
- n += 1 + l + sovApi(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp_BagList_Source) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.MedalId != 0 {
- n += 1 + sovApi(uint64(m.MedalId))
- }
- l = len(m.MedalName)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.Level != 0 {
- n += 1 + sovApi(uint64(m.Level))
- }
- if m.UserLevel != 0 {
- n += 1 + sovApi(uint64(m.UserLevel))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp_BagList_GiftList) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.GiftId)
- if l > 0 {
- n += 1 + l + sovApi(uint64(l))
- }
- if m.GiftNum != 0 {
- n += 1 + sovApi(uint64(m.GiftNum))
- }
- if m.ExpireAt != 0 {
- n += 1 + sovApi(uint64(m.ExpireAt))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func sovApi(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozApi(x uint64) (n int) {
- return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *RoomGiftListReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RoomGiftListReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RoomGiftListReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
- }
- m.RoomId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RoomId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
- }
- m.AreaV2ParentId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaV2ParentId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
- }
- m.AreaV2Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaV2Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
- }
- m.Build = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Build |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MobiApp", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MobiApp = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGiftListResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: RoomGiftListResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: RoomGiftListResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.List = append(m.List, &RoomGiftListResp_List{})
- if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SilverList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SilverList = append(m.SilverList, &RoomGiftListResp_List{})
- if err := m.SilverList[len(m.SilverList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ShowCountMap", wireType)
- }
- m.ShowCountMap = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ShowCountMap |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OldList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OldList = append(m.OldList, &RoomGiftListResp_OldList{})
- if err := m.OldList[len(m.OldList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGiftListResp_List) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: List: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType)
- }
- m.Position = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Position |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PlanId", wireType)
- }
- m.PlanId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PlanId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *RoomGiftListResp_OldList) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: OldList: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: OldList: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
- }
- m.Price = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Price |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- m.Type = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Type |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CoinType", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.CoinType == nil {
- m.CoinType = make(map[string]string)
- }
- var mapkey string
- var mapvalue string
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthApi
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- var stringLenmapvalue uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapvalue |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapvalue := int(stringLenmapvalue)
- if intStringLenmapvalue < 0 {
- return ErrInvalidLengthApi
- }
- postStringIndexmapvalue := iNdEx + intStringLenmapvalue
- if postStringIndexmapvalue > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
- iNdEx = postStringIndexmapvalue
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.CoinType[mapkey] = mapvalue
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Img = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftUrl", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.GiftUrl = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CountSet", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CountSet = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ComboNum", wireType)
- }
- m.ComboNum = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ComboNum |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SuperNum", wireType)
- }
- m.SuperNum = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SuperNum |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CountMap", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.CountMap == nil {
- m.CountMap = make(map[int64]string)
- }
- var mapkey int64
- var mapvalue string
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapkey |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- } else if fieldNum == 2 {
- var stringLenmapvalue uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapvalue |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapvalue := int(stringLenmapvalue)
- if intStringLenmapvalue < 0 {
- return ErrInvalidLengthApi
- }
- postStringIndexmapvalue := iNdEx + intStringLenmapvalue
- if postStringIndexmapvalue > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
- iNdEx = postStringIndexmapvalue
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- m.CountMap[mapkey] = mapvalue
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GiftConfigReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftConfigReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftConfigReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
- }
- m.Build = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Build |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GiftConfigResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftConfigResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftConfigResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Data = append(m.Data, &GiftConfigResp_Config{})
- if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GiftConfigResp_Config) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Config: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Config: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
- }
- m.Price = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Price |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- m.Type = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Type |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CoinType", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CoinType = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagGift", wireType)
- }
- m.BagGift = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.BagGift |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
- }
- m.Effect = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Effect |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CornerMark", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CornerMark = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Broadcast", wireType)
- }
- m.Broadcast = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Broadcast |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Draw", wireType)
- }
- m.Draw = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Draw |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 11:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StayTime", wireType)
- }
- m.StayTime = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StayTime |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 12:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AnimationFrameNum", wireType)
- }
- m.AnimationFrameNum = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AnimationFrameNum |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 13:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Desc = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 14:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Rule = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 15:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Rights", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Rights = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 16:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PrivilegeRequired", wireType)
- }
- m.PrivilegeRequired = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PrivilegeRequired |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 17:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CountMap", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CountMap = append(m.CountMap, &GiftConfigResp_CountMap{})
- if err := m.CountMap[len(m.CountMap)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 18:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ImgBasic", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ImgBasic = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 19:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ImgDynamic", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ImgDynamic = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 20:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FrameAnimation", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FrameAnimation = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 21:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Gif", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Gif = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 22:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Webp", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Webp = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 23:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScWeb", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScWeb = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 24:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScHorizontal", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScHorizontal = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 25:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScVertical", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScVertical = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 26:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScHorizontalSvga", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScHorizontalSvga = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 27:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScVerticalSvga", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScVerticalSvga = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 28:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BulletHead", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BulletHead = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 29:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BulletTail", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BulletTail = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 30:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field LimitInterval", wireType)
- }
- m.LimitInterval = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.LimitInterval |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GiftConfigResp_CountMap) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CountMap: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CountMap: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Text = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DiscountGiftListReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DiscountGiftListReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DiscountGiftListReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
- }
- m.Roomid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Roomid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
- }
- m.AreaV2ParentId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaV2ParentId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
- }
- m.AreaV2Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AreaV2Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ruid", wireType)
- }
- m.Ruid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Ruid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DiscountGiftListResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DiscountGiftListResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DiscountGiftListResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DiscountList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.DiscountList = append(m.DiscountList, &DiscountGiftListResp_GiftInfo{})
- if err := m.DiscountList[len(m.DiscountList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DiscountGiftListResp_GiftInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftId", wireType)
- }
- m.GiftId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.GiftId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
- }
- m.Price = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Price |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field DiscountPrice", wireType)
- }
- m.DiscountPrice = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.DiscountPrice |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CornerMark", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CornerMark = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field CornerPosition", wireType)
- }
- m.CornerPosition = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.CornerPosition |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CornerColor", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CornerColor = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DailyBagReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DailyBagReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
- }
- m.Uid = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Uid |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DailyBagResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DailyBagResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagStatus", wireType)
- }
- m.BagStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.BagStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagExpireStatus", wireType)
- }
- m.BagExpireStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.BagExpireStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagToast", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.BagToast == nil {
- m.BagToast = &DailyBagResp_BagToast{}
- }
- if err := m.BagToast.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BagList = append(m.BagList, &DailyBagResp_BagList{})
- if err := m.BagList[len(m.BagList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp_BagToast) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: BagToast: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: BagToast: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ToastStatus", wireType)
- }
- m.ToastStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ToastStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ToastMessage", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ToastMessage = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp_BagList) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: BagList: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: BagList: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- m.Type = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Type |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BagName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Source == nil {
- m.Source = &DailyBagResp_BagList_Source{}
- }
- if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.GiftList = append(m.GiftList, &DailyBagResp_BagList_GiftList{})
- if err := m.GiftList[len(m.GiftList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp_BagList_Source) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Source: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Source: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field MedalId", wireType)
- }
- m.MedalId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.MedalId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MedalName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MedalName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
- }
- m.Level = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Level |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field UserLevel", wireType)
- }
- m.UserLevel = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.UserLevel |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp_BagList_GiftList) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftList: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftList: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthApi
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.GiftId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftNum", wireType)
- }
- m.GiftNum = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.GiftNum |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpireAt", wireType)
- }
- m.ExpireAt = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowApi
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ExpireAt |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipApi(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthApi
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipApi(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowApi
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowApi
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowApi
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- iNdEx += length
- if length < 0 {
- return 0, ErrInvalidLengthApi
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowApi
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipApi(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
- }
- var (
- ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
- )
- func init() {
- proto.RegisterFile("app/service/live/gift/api/grpc/v1/api.proto", fileDescriptor_api_1a46064cda2fcbfc)
- }
- var fileDescriptor_api_1a46064cda2fcbfc = []byte{
- // 1934 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8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