client2world_activity2.pb.cc 3.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715647166471764718647196472064721647226472364724647256472664727647286472964730647316473264733647346473564736647376473864739647406474164742647436474464745647466474764748647496475064751647526475364754647556475664757647586475964760647616476264763647646476564766647676476864769647706477164772647736477464775647766477764778647796478064781647826478364784647856478664787647886478964790647916479264793647946479564796647976479864799648006480164802648036480464805648066480764808648096481064811648126481364814648156481664817648186481964820648216482264823648246482564826648276482864829648306483164832648336483464835648366483764838648396484064841648426484364844648456484664847648486484964850648516485264853648546485564856648576485864859648606486164862648636486464865648666486764868648696487064871648726487364874648756487664877648786487964880648816488264883648846488564886648876488864889648906489164892648936489464895648966489764898648996490064901649026490364904649056490664907649086490964910649116491264913649146491564916649176491864919649206492164922649236492464925649266492764928649296493064931649326493364934649356493664937649386493964940649416494264943649446494564946649476494864949649506495164952649536495464955649566495764958649596496064961649626496364964649656496664967649686496964970649716497264973649746497564976649776497864979649806498164982649836498464985649866498764988649896499064991649926499364994649956499664997649986499965000650016500265003650046500565006650076500865009650106501165012650136501465015650166501765018650196502065021650226502365024650256502665027650286502965030650316503265033650346503565036650376503865039650406504165042650436504465045650466504765048650496505065051650526505365054650556505665057650586505965060650616506265063650646506565066650676506865069650706507165072650736507465075650766507765078650796508065081650826508365084650856508665087650886508965090650916509265093650946509565096650976509865099651006510165102651036510465105651066510765108651096511065111651126511365114651156511665117651186511965120651216512265123651246512565126651276512865129651306513165132651336513465135651366513765138651396514065141651426514365144651456514665147651486514965150651516515265153651546515565156651576515865159651606516165162651636516465165651666516765168651696517065171651726517365174651756517665177651786517965180651816518265183651846518565186651876518865189651906519165192651936519465195651966519765198651996520065201652026520365204652056520665207652086520965210652116521265213652146521565216652176521865219652206522165222652236522465225652266522765228652296523065231652326523365234652356523665237652386523965240652416524265243652446524565246652476524865249652506525165252652536525465255652566525765258652596526065261652626526365264652656526665267652686526965270652716527265273652746527565276652776527865279652806528165282652836528465285652866528765288652896529065291652926529365294652956529665297652986529965300653016530265303653046530565306653076530865309653106531165312653136531465315653166531765318653196532065321653226532365324653256532665327653286532965330653316533265333653346533565336653376533865339653406534165342653436534465345653466534765348653496535065351653526535365354653556535665357653586535965360653616536265363653646536565366653676536865369653706537165372653736537465375653766537765378653796538065381653826538365384653856538665387653886538965390653916539265393653946539565396653976539865399654006540165402654036540465405654066540765408654096541065411654126541365414654156541665417654186541965420654216542265423654246542565426654276542865429654306543165432654336543465435654366543765438654396544065441654426544365444654456544665447654486544965450654516545265453654546545565456654576545865459654606546165462654636546465465654666546765468654696547065471654726547365474654756547665477654786547965480654816548265483654846548565486654876548865489654906549165492654936549465495654966549765498654996550065501655026550365504655056550665507655086550965510655116551265513655146551565516655176551865519655206552165522655236552465525655266552765528655296553065531655326553365534655356553665537655386553965540655416554265543655446554565546655476554865549655506555165552655536555465555655566555765558655596556065561655626556365564655656556665567655686556965570655716557265573655746557565576655776557865579655806558165582655836558465585655866558765588655896559065591655926559365594655956559665597655986559965600656016560265603656046560565606656076560865609656106561165612656136561465615656166561765618656196562065621656226562365624656256562665627656286562965630656316563265633656346563565636656376563865639656406564165642656436564465645656466564765648656496565065651656526565365654656556565665657656586565965660656616566265663656646566565666656676566865669656706567165672656736567465675656766567765678656796568065681656826568365684656856568665687656886568965690656916569265693656946569565696656976569865699657006570165702657036570465705657066570765708657096571065711657126571365714657156571665717657186571965720657216572265723657246572565726657276572865729657306573165732657336573465735657366573765738657396574065741657426574365744657456574665747657486574965750657516575265753657546575565756657576575865759657606576165762657636576465765657666576765768657696577065771657726577365774657756577665777657786577965780657816578265783657846578565786657876578865789657906579165792657936579465795657966579765798657996580065801658026580365804658056580665807658086580965810658116581265813658146581565816658176581865819658206582165822658236582465825658266582765828658296583065831658326583365834658356583665837658386583965840658416584265843658446584565846658476584865849658506585165852658536585465855658566585765858658596586065861658626586365864658656586665867658686586965870658716587265873658746587565876658776587865879658806588165882658836588465885658866588765888658896589065891658926589365894658956589665897658986589965900659016590265903659046590565906659076590865909659106591165912659136591465915659166591765918659196592065921659226592365924659256592665927659286592965930659316593265933659346593565936659376593865939659406594165942659436594465945659466594765948659496595065951659526595365954659556595665957659586595965960659616596265963659646596565966659676596865969659706597165972659736597465975659766597765978659796598065981659826598365984659856598665987659886598965990659916599265993659946599565996659976599865999660006600166002660036600466005660066600766008660096601066011660126601366014660156601666017660186601966020660216602266023660246602566026660276602866029660306603166032660336603466035660366603766038660396604066041660426604366044660456604666047660486604966050660516605266053660546605566056660576605866059660606606166062660636606466065660666606766068660696607066071660726607366074660756607666077660786607966080660816608266083660846608566086660876608866089660906609166092660936609466095660966609766098660996610066101661026610366104661056610666107661086610966110661116611266113661146611566116661176611866119661206612166122661236612466125661266612766128661296613066131661326613366134661356613666137661386613966140661416614266143661446614566146661476614866149661506615166152661536615466155661566615766158661596616066161661626616366164661656616666167661686616966170661716617266173661746617566176661776617866179661806618166182661836618466185661866618766188661896619066191661926619366194661956619666197661986619966200662016620266203662046620566206662076620866209662106621166212662136621466215662166621766218662196622066221662226622366224662256622666227662286622966230662316623266233662346623566236662376623866239662406624166242662436624466245662466624766248662496625066251662526625366254662556625666257662586625966260662616626266263662646626566266662676626866269662706627166272662736627466275662766627766278662796628066281662826628366284662856628666287662886628966290662916629266293662946629566296662976629866299663006630166302663036630466305663066630766308663096631066311663126631366314663156631666317663186631966320663216632266323663246632566326663276632866329663306633166332663336633466335663366633766338663396634066341663426634366344663456634666347663486634966350663516635266353663546635566356663576635866359663606636166362663636636466365663666636766368663696637066371663726637366374663756637666377663786637966380663816638266383663846638566386663876638866389663906639166392663936639466395663966639766398663996640066401664026640366404664056640666407664086640966410664116641266413664146641566416664176641866419664206642166422664236642466425664266642766428664296643066431664326643366434664356643666437664386643966440664416644266443664446644566446664476644866449664506645166452664536645466455664566645766458664596646066461664626646366464664656646666467664686646966470664716647266473664746647566476664776647866479664806648166482664836648466485664866648766488664896649066491664926649366494664956649666497664986649966500665016650266503665046650566506665076650866509665106651166512665136651466515665166651766518665196652066521665226652366524665256652666527665286652966530665316653266533665346653566536665376653866539665406654166542665436654466545665466654766548665496655066551665526655366554665556655666557665586655966560665616656266563665646656566566665676656866569665706657166572665736657466575665766657766578665796658066581665826658366584665856658666587665886658966590665916659266593665946659566596665976659866599666006660166602666036660466605666066660766608666096661066611666126661366614666156661666617666186661966620666216662266623666246662566626666276662866629666306663166632666336663466635666366663766638666396664066641666426664366644666456664666647666486664966650666516665266653666546665566656666576665866659666606666166662666636666466665666666666766668666696667066671666726667366674666756667666677666786667966680666816668266683666846668566686666876668866689666906669166692666936669466695666966669766698666996670066701667026670366704667056670666707667086670966710667116671266713667146671566716667176671866719667206672166722667236672466725667266672766728667296673066731667326673366734667356673666737667386673966740667416674266743667446674566746667476674866749667506675166752667536675466755667566675766758667596676066761667626676366764667656676666767667686676966770667716677266773667746677566776667776677866779667806678166782667836678466785667866678766788667896679066791667926679366794667956679666797667986679966800668016680266803668046680566806668076680866809668106681166812668136681466815668166681766818668196682066821668226682366824668256682666827668286682966830668316683266833668346683566836668376683866839668406684166842668436684466845668466684766848668496685066851668526685366854668556685666857668586685966860668616686266863668646686566866668676686866869668706687166872668736687466875668766687766878668796688066881668826688366884668856688666887668886688966890668916689266893668946689566896668976689866899669006690166902669036690466905669066690766908669096691066911669126691366914669156691666917669186691966920669216692266923669246692566926669276692866929669306693166932669336693466935669366693766938669396694066941669426694366944669456694666947669486694966950669516695266953669546695566956669576695866959669606696166962669636696466965669666696766968669696697066971669726697366974669756697666977669786697966980669816698266983669846698566986669876698866989669906699166992669936699466995669966699766998669996700067001670026700367004670056700667007670086700967010670116701267013670146701567016670176701867019670206702167022670236702467025670266702767028670296703067031670326703367034670356703667037670386703967040670416704267043670446704567046670476704867049670506705167052670536705467055670566705767058670596706067061670626706367064670656706667067670686706967070670716707267073670746707567076670776707867079670806708167082670836708467085670866708767088670896709067091670926709367094670956709667097670986709967100671016710267103671046710567106671076710867109671106711167112671136711467115671166711767118671196712067121671226712367124671256712667127671286712967130671316713267133671346713567136671376713867139671406714167142671436714467145671466714767148671496715067151671526715367154671556715667157671586715967160671616716267163671646716567166671676716867169671706717167172671736717467175671766717767178671796718067181671826718367184671856718667187671886718967190671916719267193671946719567196671976719867199672006720167202672036720467205672066720767208672096721067211672126721367214672156721667217672186721967220672216722267223672246722567226672276722867229672306723167232672336723467235672366723767238672396724067241672426724367244672456724667247672486724967250672516725267253672546725567256672576725867259672606726167262672636726467265672666726767268672696727067271672726727367274672756727667277672786727967280672816728267283672846728567286672876728867289672906729167292672936729467295672966729767298672996730067301673026730367304673056730667307673086730967310673116731267313673146731567316673176731867319673206732167322673236732467325673266732767328673296733067331673326733367334673356733667337673386733967340673416734267343673446734567346673476734867349673506735167352673536735467355673566735767358673596736067361673626736367364673656736667367673686736967370673716737267373673746737567376673776737867379673806738167382673836738467385673866738767388673896739067391673926739367394673956739667397673986739967400674016740267403674046740567406674076740867409674106741167412674136741467415674166741767418674196742067421674226742367424674256742667427674286742967430674316743267433674346743567436674376743867439674406744167442674436744467445674466744767448674496745067451674526745367454674556745667457674586745967460674616746267463674646746567466674676746867469674706747167472674736747467475674766747767478674796748067481674826748367484674856748667487674886748967490674916749267493674946749567496674976749867499675006750167502675036750467505675066750767508675096751067511675126751367514675156751667517675186751967520675216752267523675246752567526675276752867529675306753167532675336753467535675366753767538675396754067541675426754367544675456754667547675486754967550675516755267553675546755567556675576755867559675606756167562675636756467565675666756767568675696757067571675726757367574675756757667577675786757967580675816758267583675846758567586675876758867589675906759167592675936759467595675966759767598675996760067601676026760367604676056760667607676086760967610676116761267613676146761567616676176761867619676206762167622676236762467625676266762767628676296763067631676326763367634676356763667637676386763967640676416764267643676446764567646676476764867649676506765167652676536765467655676566765767658676596766067661676626766367664676656766667667676686766967670676716767267673676746767567676676776767867679676806768167682676836768467685676866768767688676896769067691676926769367694676956769667697676986769967700677016770267703677046770567706677076770867709677106771167712677136771467715677166771767718677196772067721677226772367724677256772667727677286772967730677316773267733677346773567736677376773867739677406774167742677436774467745677466774767748677496775067751677526775367754677556775667757677586775967760677616776267763677646776567766677676776867769677706777167772677736777467775677766777767778677796778067781677826778367784677856778667787677886778967790677916779267793677946779567796677976779867799678006780167802678036780467805678066780767808678096781067811678126781367814678156781667817678186781967820678216782267823678246782567826678276782867829678306783167832678336783467835678366783767838678396784067841678426784367844678456784667847678486784967850678516785267853678546785567856678576785867859678606786167862678636786467865678666786767868678696787067871678726787367874678756787667877678786787967880678816788267883678846788567886678876788867889678906789167892678936789467895678966789767898678996790067901679026790367904679056790667907679086790967910679116791267913679146791567916679176791867919679206792167922679236792467925679266792767928679296793067931679326793367934679356793667937679386793967940679416794267943679446794567946679476794867949679506795167952679536795467955679566795767958679596796067961679626796367964679656796667967679686796967970679716797267973679746797567976679776797867979679806798167982679836798467985679866798767988679896799067991679926799367994679956799667997679986799968000680016800268003680046800568006680076800868009680106801168012680136801468015680166801768018680196802068021680226802368024680256802668027680286802968030680316803268033680346803568036680376803868039680406804168042680436804468045680466804768048680496805068051680526805368054680556805668057680586805968060680616806268063680646806568066680676806868069680706807168072680736807468075680766807768078680796808068081680826808368084680856808668087680886808968090680916809268093680946809568096680976809868099681006810168102681036810468105681066810768108681096811068111681126811368114681156811668117681186811968120681216812268123681246812568126681276812868129681306813168132681336813468135681366813768138681396814068141681426814368144681456814668147681486814968150681516815268153681546815568156681576815868159681606816168162681636816468165681666816768168681696817068171681726817368174681756817668177681786817968180681816818268183681846818568186681876818868189681906819168192681936819468195681966819768198681996820068201682026820368204682056820668207682086820968210682116821268213682146821568216682176821868219682206822168222682236822468225682266822768228682296823068231682326823368234682356823668237682386823968240682416824268243682446824568246682476824868249682506825168252682536825468255682566825768258682596826068261682626826368264682656826668267682686826968270682716827268273682746827568276682776827868279682806828168282682836828468285682866828768288682896829068291682926829368294682956829668297682986829968300683016830268303683046830568306683076830868309683106831168312683136831468315683166831768318683196832068321683226832368324683256832668327683286832968330683316833268333683346833568336683376833868339683406834168342683436834468345683466834768348683496835068351683526835368354683556835668357683586835968360683616836268363683646836568366683676836868369683706837168372683736837468375683766837768378683796838068381683826838368384683856838668387683886838968390683916839268393683946839568396683976839868399684006840168402684036840468405684066840768408684096841068411684126841368414684156841668417684186841968420684216842268423684246842568426684276842868429684306843168432684336843468435684366843768438684396844068441684426844368444684456844668447684486844968450684516845268453684546845568456684576845868459684606846168462684636846468465684666846768468684696847068471684726847368474684756847668477684786847968480684816848268483684846848568486684876848868489684906849168492684936849468495684966849768498684996850068501685026850368504685056850668507685086850968510685116851268513685146851568516685176851868519685206852168522685236852468525685266852768528685296853068531685326853368534685356853668537685386853968540685416854268543685446854568546685476854868549685506855168552685536855468555685566855768558685596856068561685626856368564685656856668567685686856968570685716857268573685746857568576685776857868579685806858168582685836858468585685866858768588685896859068591685926859368594685956859668597685986859968600686016860268603686046860568606686076860868609686106861168612686136861468615686166861768618686196862068621686226862368624686256862668627686286862968630686316863268633686346863568636686376863868639686406864168642686436864468645686466864768648686496865068651686526865368654686556865668657686586865968660686616866268663686646866568666686676866868669686706867168672686736867468675686766867768678686796868068681686826868368684686856868668687686886868968690686916869268693686946869568696686976869868699687006870168702687036870468705687066870768708687096871068711687126871368714687156871668717687186871968720687216872268723687246872568726687276872868729687306873168732687336873468735687366873768738687396874068741687426874368744687456874668747687486874968750687516875268753687546875568756687576875868759687606876168762687636876468765687666876768768687696877068771687726877368774687756877668777687786877968780687816878268783687846878568786687876878868789687906879168792687936879468795687966879768798687996880068801688026880368804688056880668807688086880968810688116881268813688146881568816688176881868819688206882168822688236882468825688266882768828688296883068831688326883368834688356883668837688386883968840688416884268843688446884568846688476884868849688506885168852688536885468855688566885768858688596886068861688626886368864688656886668867688686886968870688716887268873688746887568876688776887868879688806888168882688836888468885688866888768888688896889068891688926889368894688956889668897688986889968900689016890268903689046890568906689076890868909689106891168912689136891468915689166891768918689196892068921689226892368924689256892668927689286892968930689316893268933689346893568936689376893868939689406894168942689436894468945689466894768948689496895068951689526895368954689556895668957689586895968960689616896268963689646896568966689676896868969689706897168972689736897468975689766897768978689796898068981689826898368984689856898668987689886898968990689916899268993689946899568996689976899868999690006900169002690036900469005690066900769008690096901069011690126901369014690156901669017690186901969020690216902269023690246902569026690276902869029690306903169032690336903469035690366903769038690396904069041690426904369044690456904669047690486904969050690516905269053690546905569056690576905869059690606906169062690636906469065690666906769068690696907069071690726907369074690756907669077690786907969080690816908269083690846908569086690876908869089690906909169092690936909469095690966909769098690996910069101691026910369104691056910669107691086910969110691116911269113691146911569116691176911869119691206912169122691236912469125691266912769128691296913069131691326913369134691356913669137691386913969140691416914269143691446914569146691476914869149691506915169152691536915469155691566915769158691596916069161691626916369164691656916669167691686916969170691716917269173691746917569176691776917869179691806918169182691836918469185691866918769188691896919069191691926919369194691956919669197691986919969200692016920269203692046920569206692076920869209692106921169212692136921469215692166921769218692196922069221692226922369224692256922669227692286922969230692316923269233692346923569236692376923869239692406924169242692436924469245692466924769248692496925069251692526925369254692556925669257692586925969260692616926269263692646926569266692676926869269692706927169272692736927469275692766927769278692796928069281692826928369284692856928669287692886928969290692916929269293692946929569296692976929869299693006930169302693036930469305693066930769308693096931069311693126931369314693156931669317693186931969320693216932269323693246932569326693276932869329693306933169332693336933469335693366933769338693396934069341693426934369344693456934669347693486934969350693516935269353693546935569356693576935869359693606936169362693636936469365693666936769368693696937069371693726937369374693756937669377693786937969380693816938269383693846938569386693876938869389693906939169392693936939469395693966939769398693996940069401694026940369404694056940669407694086940969410694116941269413694146941569416694176941869419694206942169422694236942469425694266942769428694296943069431694326943369434694356943669437694386943969440694416944269443694446944569446694476944869449694506945169452694536945469455694566945769458694596946069461694626946369464694656946669467694686946969470694716947269473694746947569476694776947869479694806948169482694836948469485694866948769488694896949069491694926949369494694956949669497694986949969500695016950269503695046950569506695076950869509695106951169512695136951469515695166951769518695196952069521695226952369524695256952669527695286952969530695316953269533695346953569536695376953869539695406954169542695436954469545695466954769548695496955069551695526955369554695556955669557695586955969560695616956269563695646956569566695676956869569695706957169572695736957469575695766957769578695796958069581695826958369584695856958669587695886958969590695916959269593695946959569596695976959869599696006960169602696036960469605696066960769608696096961069611696126961369614696156961669617696186961969620696216962269623696246962569626696276962869629696306963169632696336963469635696366963769638696396964069641696426964369644696456964669647696486964969650696516965269653696546965569656696576965869659696606966169662696636966469665696666966769668696696967069671696726967369674696756967669677696786967969680696816968269683696846968569686696876968869689696906969169692696936969469695696966969769698696996970069701697026970369704697056970669707697086970969710697116971269713697146971569716697176971869719697206972169722697236972469725697266972769728697296973069731697326973369734697356973669737697386973969740697416974269743697446974569746697476974869749697506975169752697536975469755697566975769758697596976069761697626976369764697656976669767697686976969770697716977269773697746977569776697776977869779697806978169782697836978469785697866978769788697896979069791697926979369794697956979669797697986979969800698016980269803698046980569806698076980869809698106981169812698136981469815698166981769818698196982069821698226982369824698256982669827698286982969830698316983269833698346983569836698376983869839698406984169842698436984469845698466984769848698496985069851698526985369854698556985669857698586985969860698616986269863698646986569866698676986869869698706987169872698736987469875698766987769878698796988069881698826988369884698856988669887698886988969890698916989269893698946989569896698976989869899699006990169902699036990469905699066990769908699096991069911699126991369914699156991669917699186991969920699216992269923699246992569926699276992869929699306993169932699336993469935699366993769938699396994069941699426994369944699456994669947699486994969950699516995269953699546995569956699576995869959699606996169962699636996469965699666996769968699696997069971699726997369974699756997669977699786997969980699816998269983699846998569986699876998869989699906999169992699936999469995699966999769998699997000070001700027000370004700057000670007700087000970010700117001270013700147001570016700177001870019700207002170022700237002470025700267002770028700297003070031700327003370034700357003670037700387003970040700417004270043700447004570046700477004870049700507005170052700537005470055700567005770058700597006070061700627006370064700657006670067700687006970070700717007270073700747007570076700777007870079700807008170082700837008470085700867008770088700897009070091700927009370094700957009670097700987009970100701017010270103701047010570106701077010870109701107011170112701137011470115701167011770118701197012070121701227012370124701257012670127701287012970130701317013270133701347013570136701377013870139701407014170142701437014470145701467014770148701497015070151701527015370154701557015670157701587015970160701617016270163701647016570166701677016870169701707017170172701737017470175701767017770178701797018070181701827018370184701857018670187701887018970190701917019270193701947019570196701977019870199702007020170202702037020470205702067020770208702097021070211702127021370214702157021670217702187021970220702217022270223702247022570226702277022870229702307023170232702337023470235702367023770238702397024070241702427024370244702457024670247702487024970250702517025270253702547025570256702577025870259702607026170262702637026470265702667026770268702697027070271702727027370274702757027670277702787027970280702817028270283702847028570286702877028870289702907029170292702937029470295702967029770298702997030070301703027030370304703057030670307703087030970310703117031270313703147031570316703177031870319703207032170322703237032470325703267032770328703297033070331703327033370334703357033670337703387033970340703417034270343703447034570346703477034870349703507035170352703537035470355703567035770358703597036070361703627036370364703657036670367703687036970370703717037270373703747037570376703777037870379703807038170382703837038470385703867038770388703897039070391703927039370394703957039670397703987039970400704017040270403704047040570406704077040870409704107041170412704137041470415704167041770418704197042070421704227042370424704257042670427704287042970430704317043270433704347043570436704377043870439704407044170442704437044470445704467044770448704497045070451704527045370454704557045670457704587045970460704617046270463704647046570466704677046870469704707047170472704737047470475704767047770478704797048070481704827048370484704857048670487704887048970490704917049270493704947049570496704977049870499705007050170502705037050470505705067050770508705097051070511705127051370514705157051670517705187051970520705217052270523705247052570526705277052870529705307053170532705337053470535705367053770538705397054070541705427054370544705457054670547705487054970550705517055270553705547055570556705577055870559705607056170562705637056470565705667056770568705697057070571705727057370574705757057670577705787057970580705817058270583705847058570586705877058870589705907059170592705937059470595705967059770598705997060070601706027060370604706057060670607706087060970610706117061270613706147061570616706177061870619706207062170622706237062470625706267062770628706297063070631706327063370634706357063670637706387063970640706417064270643706447064570646706477064870649706507065170652706537065470655706567065770658706597066070661706627066370664706657066670667706687066970670706717067270673706747067570676706777067870679706807068170682706837068470685706867068770688706897069070691706927069370694706957069670697706987069970700707017070270703707047070570706707077070870709707107071170712707137071470715707167071770718707197072070721707227072370724707257072670727707287072970730707317073270733707347073570736707377073870739707407074170742707437074470745707467074770748707497075070751707527075370754707557075670757707587075970760707617076270763707647076570766707677076870769707707077170772707737077470775707767077770778707797078070781707827078370784707857078670787707887078970790707917079270793707947079570796707977079870799708007080170802708037080470805708067080770808708097081070811708127081370814708157081670817708187081970820708217082270823708247082570826708277082870829708307083170832708337083470835708367083770838708397084070841708427084370844708457084670847708487084970850708517085270853708547085570856708577085870859708607086170862708637086470865708667086770868708697087070871708727087370874708757087670877708787087970880708817088270883708847088570886708877088870889708907089170892708937089470895708967089770898708997090070901709027090370904709057090670907709087090970910709117091270913709147091570916709177091870919709207092170922709237092470925709267092770928709297093070931709327093370934709357093670937709387093970940709417094270943709447094570946709477094870949709507095170952709537095470955709567095770958709597096070961709627096370964709657096670967709687096970970709717097270973709747097570976709777097870979709807098170982709837098470985709867098770988709897099070991709927099370994709957099670997709987099971000710017100271003710047100571006710077100871009710107101171012710137101471015710167101771018710197102071021710227102371024710257102671027710287102971030710317103271033710347103571036710377103871039710407104171042710437104471045710467104771048710497105071051710527105371054710557105671057710587105971060710617106271063710647106571066710677106871069710707107171072710737107471075710767107771078710797108071081710827108371084710857108671087710887108971090710917109271093710947109571096710977109871099711007110171102711037110471105711067110771108711097111071111711127111371114711157111671117711187111971120711217112271123711247112571126711277112871129711307113171132711337113471135711367113771138711397114071141711427114371144711457114671147711487114971150711517115271153711547115571156711577115871159711607116171162711637116471165711667116771168711697117071171711727117371174711757117671177711787117971180711817118271183711847118571186711877118871189711907119171192711937119471195711967119771198711997120071201712027120371204712057120671207712087120971210712117121271213712147121571216712177121871219712207122171222712237122471225712267122771228712297123071231712327123371234712357123671237712387123971240712417124271243712447124571246712477124871249712507125171252712537125471255712567125771258712597126071261712627126371264712657126671267712687126971270712717127271273712747127571276712777127871279712807128171282712837128471285712867128771288712897129071291712927129371294712957129671297712987129971300713017130271303713047130571306713077130871309713107131171312713137131471315713167131771318713197132071321713227132371324713257132671327713287132971330713317133271333713347133571336713377133871339713407134171342713437134471345713467134771348713497135071351713527135371354713557135671357713587135971360713617136271363713647136571366713677136871369713707137171372713737137471375713767137771378713797138071381713827138371384713857138671387713887138971390713917139271393713947139571396713977139871399714007140171402714037140471405714067140771408714097141071411714127141371414714157141671417714187141971420714217142271423714247142571426714277142871429714307143171432714337143471435714367143771438714397144071441714427144371444714457144671447714487144971450714517145271453714547145571456714577145871459714607146171462714637146471465714667146771468714697147071471714727147371474714757147671477714787147971480714817148271483714847148571486714877148871489714907149171492714937149471495714967149771498714997150071501715027150371504715057150671507715087150971510715117151271513715147151571516715177151871519715207152171522715237152471525715267152771528715297153071531715327153371534715357153671537715387153971540715417154271543715447154571546715477154871549715507155171552715537155471555715567155771558715597156071561715627156371564715657156671567715687156971570715717157271573715747157571576715777157871579715807158171582715837158471585715867158771588715897159071591715927159371594715957159671597715987159971600716017160271603716047160571606716077160871609716107161171612716137161471615716167161771618716197162071621716227162371624716257162671627716287162971630716317163271633716347163571636716377163871639716407164171642716437164471645716467164771648716497165071651716527165371654716557165671657716587165971660716617166271663716647166571666716677166871669716707167171672716737167471675716767167771678716797168071681716827168371684716857168671687716887168971690716917169271693716947169571696716977169871699717007170171702717037170471705717067170771708717097171071711717127171371714717157171671717717187171971720717217172271723717247172571726717277172871729717307173171732717337173471735717367173771738717397174071741717427174371744717457174671747717487174971750717517175271753717547175571756717577175871759717607176171762717637176471765717667176771768717697177071771717727177371774717757177671777717787177971780717817178271783717847178571786717877178871789717907179171792717937179471795717967179771798717997180071801718027180371804718057180671807718087180971810718117181271813718147181571816718177181871819718207182171822718237182471825718267182771828718297183071831718327183371834718357183671837718387183971840718417184271843718447184571846718477184871849718507185171852718537185471855718567185771858718597186071861718627186371864718657186671867718687186971870718717187271873718747187571876718777187871879718807188171882718837188471885718867188771888718897189071891718927189371894718957189671897718987189971900719017190271903719047190571906719077190871909719107191171912719137191471915719167191771918719197192071921719227192371924719257192671927719287192971930719317193271933719347193571936719377193871939719407194171942719437194471945719467194771948719497195071951719527195371954719557195671957719587195971960719617196271963719647196571966719677196871969719707197171972719737197471975719767197771978719797198071981719827198371984719857198671987719887198971990719917199271993719947199571996719977199871999720007200172002720037200472005720067200772008720097201072011720127201372014720157201672017720187201972020720217202272023720247202572026720277202872029720307203172032720337203472035720367203772038720397204072041720427204372044720457204672047720487204972050720517205272053720547205572056720577205872059720607206172062720637206472065720667206772068720697207072071720727207372074720757207672077720787207972080720817208272083720847208572086720877208872089720907209172092720937209472095720967209772098720997210072101721027210372104721057210672107721087210972110721117211272113721147211572116721177211872119721207212172122721237212472125721267212772128721297213072131721327213372134721357213672137721387213972140721417214272143721447214572146721477214872149721507215172152721537215472155721567215772158721597216072161721627216372164721657216672167721687216972170721717217272173721747217572176721777217872179721807218172182721837218472185721867218772188721897219072191721927219372194721957219672197721987219972200722017220272203722047220572206722077220872209722107221172212722137221472215722167221772218722197222072221722227222372224722257222672227722287222972230722317223272233722347223572236722377223872239722407224172242722437224472245722467224772248722497225072251722527225372254722557225672257722587225972260722617226272263722647226572266722677226872269722707227172272722737227472275722767227772278722797228072281722827228372284722857228672287722887228972290722917229272293722947229572296722977229872299723007230172302723037230472305723067230772308723097231072311723127231372314723157231672317723187231972320723217232272323723247232572326723277232872329723307233172332723337233472335723367233772338723397234072341723427234372344723457234672347723487234972350723517235272353723547235572356723577235872359723607236172362723637236472365723667236772368723697237072371723727237372374723757237672377723787237972380723817238272383723847238572386723877238872389723907239172392723937239472395723967239772398723997240072401724027240372404724057240672407724087240972410724117241272413724147241572416724177241872419724207242172422724237242472425724267242772428724297243072431724327243372434724357243672437724387243972440724417244272443724447244572446724477244872449724507245172452724537245472455724567245772458724597246072461724627246372464724657246672467724687246972470724717247272473724747247572476724777247872479724807248172482724837248472485724867248772488724897249072491724927249372494724957249672497724987249972500725017250272503725047250572506725077250872509725107251172512725137251472515725167251772518725197252072521725227252372524725257252672527725287252972530725317253272533725347253572536725377253872539725407254172542725437254472545725467254772548725497255072551725527255372554725557255672557725587255972560725617256272563725647256572566725677256872569725707257172572725737257472575725767257772578725797258072581725827258372584725857258672587725887258972590725917259272593725947259572596725977259872599726007260172602726037260472605726067260772608726097261072611726127261372614726157261672617726187261972620726217262272623726247262572626726277262872629726307263172632726337263472635726367263772638726397264072641726427264372644726457264672647726487264972650726517265272653726547265572656726577265872659726607266172662726637266472665726667266772668726697267072671726727267372674726757267672677726787267972680726817268272683726847268572686726877268872689726907269172692726937269472695726967269772698726997270072701727027270372704727057270672707727087270972710727117271272713727147271572716727177271872719727207272172722727237272472725727267272772728727297273072731727327273372734727357273672737727387273972740727417274272743727447274572746727477274872749727507275172752727537275472755727567275772758727597276072761727627276372764727657276672767727687276972770727717277272773727747277572776727777277872779727807278172782727837278472785727867278772788727897279072791727927279372794727957279672797727987279972800728017280272803728047280572806728077280872809728107281172812728137281472815728167281772818728197282072821728227282372824728257282672827728287282972830728317283272833728347283572836728377283872839728407284172842728437284472845728467284772848728497285072851728527285372854728557285672857728587285972860728617286272863728647286572866728677286872869728707287172872728737287472875728767287772878728797288072881728827288372884728857288672887728887288972890728917289272893728947289572896728977289872899729007290172902729037290472905729067290772908729097291072911729127291372914729157291672917729187291972920729217292272923729247292572926729277292872929729307293172932729337293472935729367293772938729397294072941729427294372944729457294672947729487294972950729517295272953729547295572956729577295872959729607296172962729637296472965729667296772968729697297072971729727297372974729757297672977729787297972980729817298272983729847298572986729877298872989729907299172992729937299472995729967299772998729997300073001730027300373004730057300673007730087300973010730117301273013730147301573016730177301873019730207302173022730237302473025730267302773028730297303073031730327303373034730357303673037730387303973040730417304273043730447304573046730477304873049730507305173052730537305473055730567305773058730597306073061730627306373064730657306673067730687306973070730717307273073730747307573076730777307873079730807308173082730837308473085730867308773088730897309073091730927309373094730957309673097730987309973100731017310273103731047310573106731077310873109731107311173112731137311473115731167311773118731197312073121731227312373124731257312673127731287312973130731317313273133731347313573136731377313873139731407314173142731437314473145731467314773148731497315073151731527315373154731557315673157731587315973160731617316273163731647316573166731677316873169731707317173172731737317473175731767317773178731797318073181731827318373184731857318673187731887318973190731917319273193731947319573196731977319873199732007320173202732037320473205732067320773208732097321073211732127321373214732157321673217732187321973220732217322273223732247322573226732277322873229732307323173232732337323473235732367323773238732397324073241732427324373244732457324673247732487324973250732517325273253732547325573256732577325873259732607326173262732637326473265732667326773268732697327073271732727327373274732757327673277732787327973280732817328273283732847328573286732877328873289732907329173292732937329473295732967329773298732997330073301733027330373304733057330673307733087330973310733117331273313733147331573316733177331873319733207332173322733237332473325733267332773328733297333073331733327333373334733357333673337733387333973340733417334273343733447334573346733477334873349733507335173352733537335473355733567335773358733597336073361733627336373364733657336673367733687336973370733717337273373733747337573376733777337873379733807338173382733837338473385733867338773388733897339073391733927339373394733957339673397733987339973400734017340273403734047340573406734077340873409734107341173412734137341473415734167341773418734197342073421734227342373424734257342673427734287342973430734317343273433734347343573436734377343873439734407344173442734437344473445734467344773448734497345073451734527345373454734557345673457734587345973460734617346273463734647346573466734677346873469734707347173472734737347473475734767347773478734797348073481734827348373484734857348673487734887348973490734917349273493734947349573496734977349873499735007350173502735037350473505735067350773508735097351073511735127351373514735157351673517735187351973520735217352273523735247352573526735277352873529735307353173532735337353473535735367353773538735397354073541735427354373544735457354673547735487354973550735517355273553735547355573556735577355873559735607356173562735637356473565735667356773568735697357073571735727357373574735757357673577735787357973580735817358273583735847358573586735877358873589735907359173592735937359473595735967359773598735997360073601736027360373604736057360673607736087360973610736117361273613736147361573616736177361873619736207362173622736237362473625736267362773628736297363073631736327363373634736357363673637736387363973640736417364273643736447364573646736477364873649736507365173652736537365473655736567365773658736597366073661736627366373664736657366673667736687366973670736717367273673736747367573676736777367873679736807368173682736837368473685736867368773688736897369073691736927369373694736957369673697736987369973700737017370273703737047370573706737077370873709737107371173712737137371473715737167371773718737197372073721737227372373724737257372673727737287372973730737317373273733737347373573736737377373873739737407374173742737437374473745737467374773748737497375073751737527375373754737557375673757737587375973760737617376273763737647376573766737677376873769737707377173772737737377473775737767377773778737797378073781737827378373784737857378673787737887378973790737917379273793737947379573796737977379873799738007380173802738037380473805738067380773808738097381073811738127381373814738157381673817738187381973820738217382273823738247382573826738277382873829738307383173832738337383473835738367383773838738397384073841738427384373844738457384673847738487384973850738517385273853738547385573856738577385873859738607386173862738637386473865738667386773868738697387073871738727387373874738757387673877738787387973880738817388273883738847388573886738877388873889738907389173892738937389473895738967389773898738997390073901739027390373904739057390673907739087390973910739117391273913739147391573916739177391873919739207392173922739237392473925739267392773928739297393073931739327393373934739357393673937739387393973940739417394273943739447394573946739477394873949739507395173952739537395473955739567395773958739597396073961739627396373964739657396673967739687396973970739717397273973739747397573976739777397873979739807398173982739837398473985739867398773988739897399073991739927399373994739957399673997739987399974000740017400274003740047400574006740077400874009740107401174012740137401474015740167401774018740197402074021740227402374024740257402674027740287402974030740317403274033740347403574036740377403874039740407404174042740437404474045740467404774048740497405074051740527405374054740557405674057740587405974060740617406274063740647406574066740677406874069740707407174072740737407474075740767407774078740797408074081740827408374084740857408674087740887408974090740917409274093740947409574096740977409874099741007410174102741037410474105741067410774108741097411074111741127411374114741157411674117741187411974120741217412274123741247412574126741277412874129741307413174132741337413474135741367413774138741397414074141741427414374144741457414674147741487414974150741517415274153741547415574156741577415874159741607416174162741637416474165741667416774168741697417074171741727417374174741757417674177741787417974180741817418274183741847418574186741877418874189741907419174192741937419474195741967419774198741997420074201742027420374204742057420674207742087420974210742117421274213742147421574216742177421874219742207422174222742237422474225742267422774228742297423074231742327423374234742357423674237742387423974240742417424274243742447424574246742477424874249742507425174252742537425474255742567425774258742597426074261742627426374264742657426674267742687426974270742717427274273742747427574276742777427874279742807428174282742837428474285742867428774288742897429074291742927429374294742957429674297742987429974300743017430274303743047430574306743077430874309743107431174312743137431474315743167431774318743197432074321743227432374324743257432674327743287432974330743317433274333743347433574336743377433874339743407434174342743437434474345743467434774348743497435074351743527435374354743557435674357743587435974360743617436274363743647436574366743677436874369743707437174372743737437474375743767437774378743797438074381743827438374384743857438674387743887438974390743917439274393743947439574396743977439874399744007440174402744037440474405744067440774408744097441074411744127441374414744157441674417744187441974420744217442274423744247442574426744277442874429744307443174432744337443474435744367443774438744397444074441744427444374444744457444674447744487444974450744517445274453744547445574456744577445874459744607446174462744637446474465744667446774468744697447074471744727447374474744757447674477744787447974480744817448274483744847448574486744877448874489744907449174492744937449474495744967449774498744997450074501745027450374504745057450674507745087450974510745117451274513745147451574516745177451874519745207452174522745237452474525745267452774528745297453074531745327453374534745357453674537745387453974540745417454274543745447454574546745477454874549745507455174552745537455474555745567455774558745597456074561745627456374564745657456674567745687456974570745717457274573745747457574576745777457874579745807458174582745837458474585745867458774588745897459074591745927459374594745957459674597745987459974600746017460274603746047460574606746077460874609746107461174612746137461474615746167461774618746197462074621746227462374624746257462674627746287462974630746317463274633746347463574636746377463874639746407464174642746437464474645746467464774648746497465074651746527465374654746557465674657746587465974660746617466274663746647466574666746677466874669746707467174672746737467474675746767467774678746797468074681746827468374684746857468674687746887468974690746917469274693746947469574696746977469874699747007470174702747037470474705747067470774708747097471074711747127471374714747157471674717747187471974720747217472274723747247472574726747277472874729747307473174732747337473474735747367473774738747397474074741747427474374744747457474674747747487474974750747517475274753747547475574756747577475874759747607476174762747637476474765747667476774768747697477074771747727477374774747757477674777747787477974780747817478274783747847478574786747877478874789747907479174792747937479474795747967479774798747997480074801748027480374804748057480674807748087480974810748117481274813748147481574816748177481874819748207482174822748237482474825748267482774828748297483074831748327483374834748357483674837748387483974840748417484274843748447484574846748477484874849748507485174852748537485474855748567485774858748597486074861748627486374864748657486674867748687486974870748717487274873748747487574876748777487874879748807488174882748837488474885748867488774888748897489074891748927489374894748957489674897748987489974900749017490274903749047490574906749077490874909749107491174912749137491474915749167491774918749197492074921749227492374924749257492674927749287492974930749317493274933749347493574936749377493874939749407494174942749437494474945749467494774948749497495074951749527495374954749557495674957749587495974960749617496274963749647496574966749677496874969749707497174972749737497474975749767497774978749797498074981749827498374984749857498674987749887498974990749917499274993749947499574996749977499874999750007500175002750037500475005750067500775008750097501075011750127501375014750157501675017750187501975020750217502275023750247502575026750277502875029750307503175032750337503475035750367503775038750397504075041750427504375044750457504675047750487504975050750517505275053750547505575056750577505875059750607506175062750637506475065750667506775068750697507075071750727507375074750757507675077750787507975080750817508275083750847508575086750877508875089750907509175092750937509475095750967509775098750997510075101751027510375104751057510675107751087510975110751117511275113751147511575116751177511875119751207512175122751237512475125751267512775128751297513075131751327513375134751357513675137751387513975140751417514275143751447514575146751477514875149751507515175152751537515475155751567515775158751597516075161751627516375164751657516675167751687516975170751717517275173751747517575176751777517875179751807518175182751837518475185751867518775188751897519075191751927519375194751957519675197751987519975200752017520275203752047520575206752077520875209752107521175212752137521475215752167521775218752197522075221752227522375224752257522675227752287522975230752317523275233752347523575236752377523875239752407524175242752437524475245752467524775248752497525075251752527525375254752557525675257752587525975260752617526275263752647526575266752677526875269752707527175272752737527475275752767527775278752797528075281752827528375284752857528675287752887528975290752917529275293752947529575296752977529875299753007530175302753037530475305753067530775308753097531075311753127531375314753157531675317753187531975320753217532275323753247532575326753277532875329753307533175332753337533475335753367533775338753397534075341753427534375344753457534675347753487534975350753517535275353753547535575356753577535875359753607536175362753637536475365753667536775368753697537075371753727537375374753757537675377753787537975380753817538275383753847538575386753877538875389753907539175392753937539475395753967539775398753997540075401754027540375404754057540675407754087540975410754117541275413754147541575416754177541875419754207542175422754237542475425754267542775428754297543075431754327543375434754357543675437754387543975440754417544275443754447544575446754477544875449754507545175452754537545475455754567545775458754597546075461754627546375464754657546675467754687546975470754717547275473754747547575476754777547875479754807548175482754837548475485754867548775488754897549075491754927549375494754957549675497754987549975500755017550275503755047550575506755077550875509755107551175512755137551475515755167551775518755197552075521755227552375524755257552675527755287552975530755317553275533755347553575536755377553875539755407554175542755437554475545755467554775548755497555075551755527555375554755557555675557755587555975560755617556275563755647556575566755677556875569755707557175572755737557475575755767557775578755797558075581755827558375584755857558675587755887558975590755917559275593755947559575596755977559875599756007560175602756037560475605756067560775608756097561075611756127561375614756157561675617756187561975620756217562275623756247562575626756277562875629756307563175632756337563475635756367563775638756397564075641756427564375644756457564675647756487564975650756517565275653756547565575656756577565875659756607566175662756637566475665756667566775668756697567075671756727567375674756757567675677756787567975680756817568275683756847568575686756877568875689756907569175692756937569475695756967569775698756997570075701757027570375704757057570675707757087570975710757117571275713757147571575716757177571875719757207572175722757237572475725757267572775728757297573075731757327573375734757357573675737757387573975740757417574275743757447574575746757477574875749757507575175752757537575475755757567575775758757597576075761757627576375764757657576675767757687576975770757717577275773757747577575776757777577875779757807578175782757837578475785757867578775788757897579075791757927579375794757957579675797757987579975800758017580275803758047580575806758077580875809758107581175812758137581475815758167581775818758197582075821758227582375824758257582675827758287582975830758317583275833758347583575836758377583875839758407584175842758437584475845758467584775848758497585075851758527585375854758557585675857758587585975860758617586275863758647586575866758677586875869758707587175872758737587475875758767587775878758797588075881758827588375884758857588675887758887588975890758917589275893758947589575896758977589875899759007590175902759037590475905759067590775908759097591075911759127591375914759157591675917759187591975920759217592275923759247592575926759277592875929759307593175932759337593475935759367593775938759397594075941759427594375944759457594675947759487594975950759517595275953759547595575956759577595875959759607596175962759637596475965759667596775968759697597075971759727597375974759757597675977759787597975980759817598275983759847598575986759877598875989759907599175992759937599475995759967599775998759997600076001760027600376004760057600676007760087600976010760117601276013760147601576016760177601876019760207602176022760237602476025760267602776028760297603076031760327603376034760357603676037760387603976040760417604276043760447604576046760477604876049760507605176052760537605476055760567605776058760597606076061760627606376064760657606676067760687606976070760717607276073760747607576076760777607876079760807608176082760837608476085760867608776088760897609076091760927609376094760957609676097760987609976100761017610276103761047610576106761077610876109761107611176112761137611476115761167611776118761197612076121761227612376124761257612676127761287612976130761317613276133761347613576136761377613876139761407614176142761437614476145761467614776148761497615076151761527615376154761557615676157761587615976160761617616276163761647616576166761677616876169761707617176172761737617476175761767617776178761797618076181761827618376184761857618676187761887618976190761917619276193761947619576196761977619876199762007620176202762037620476205762067620776208762097621076211762127621376214762157621676217762187621976220762217622276223762247622576226762277622876229762307623176232762337623476235762367623776238762397624076241762427624376244762457624676247762487624976250762517625276253762547625576256762577625876259762607626176262762637626476265762667626776268762697627076271762727627376274762757627676277762787627976280762817628276283762847628576286762877628876289762907629176292762937629476295762967629776298762997630076301763027630376304763057630676307763087630976310763117631276313763147631576316763177631876319763207632176322763237632476325763267632776328763297633076331763327633376334763357633676337763387633976340763417634276343763447634576346763477634876349763507635176352763537635476355763567635776358763597636076361763627636376364763657636676367763687636976370763717637276373763747637576376763777637876379763807638176382763837638476385763867638776388763897639076391763927639376394763957639676397763987639976400764017640276403764047640576406764077640876409764107641176412764137641476415764167641776418764197642076421764227642376424764257642676427764287642976430764317643276433764347643576436764377643876439764407644176442764437644476445764467644776448764497645076451764527645376454764557645676457764587645976460764617646276463764647646576466764677646876469764707647176472764737647476475764767647776478764797648076481764827648376484764857648676487764887648976490764917649276493764947649576496764977649876499765007650176502765037650476505765067650776508765097651076511765127651376514765157651676517765187651976520765217652276523765247652576526765277652876529765307653176532765337653476535765367653776538765397654076541765427654376544765457654676547765487654976550765517655276553765547655576556765577655876559765607656176562765637656476565765667656776568765697657076571765727657376574765757657676577765787657976580765817658276583765847658576586765877658876589765907659176592765937659476595765967659776598765997660076601766027660376604766057660676607766087660976610766117661276613766147661576616766177661876619766207662176622766237662476625766267662776628766297663076631766327663376634766357663676637766387663976640766417664276643766447664576646766477664876649766507665176652766537665476655766567665776658766597666076661766627666376664766657666676667766687666976670766717667276673766747667576676766777667876679766807668176682766837668476685766867668776688766897669076691766927669376694766957669676697766987669976700767017670276703767047670576706767077670876709767107671176712767137671476715767167671776718767197672076721767227672376724767257672676727767287672976730767317673276733767347673576736767377673876739767407674176742767437674476745767467674776748767497675076751767527675376754767557675676757767587675976760767617676276763767647676576766767677676876769767707677176772767737677476775767767677776778767797678076781767827678376784767857678676787767887678976790767917679276793767947679576796767977679876799768007680176802768037680476805768067680776808768097681076811768127681376814768157681676817768187681976820768217682276823768247682576826768277682876829768307683176832768337683476835768367683776838768397684076841768427684376844768457684676847768487684976850768517685276853768547685576856768577685876859768607686176862768637686476865768667686776868768697687076871768727687376874768757687676877768787687976880768817688276883768847688576886768877688876889768907689176892768937689476895768967689776898768997690076901769027690376904769057690676907769087690976910769117691276913769147691576916769177691876919769207692176922769237692476925769267692776928769297693076931769327693376934769357693676937769387693976940769417694276943769447694576946769477694876949769507695176952769537695476955769567695776958769597696076961769627696376964769657696676967769687696976970769717697276973769747697576976769777697876979769807698176982769837698476985769867698776988769897699076991769927699376994769957699676997769987699977000770017700277003770047700577006770077700877009770107701177012770137701477015770167701777018770197702077021770227702377024770257702677027770287702977030770317703277033770347703577036770377703877039770407704177042770437704477045770467704777048770497705077051770527705377054770557705677057770587705977060770617706277063770647706577066770677706877069770707707177072770737707477075770767707777078770797708077081770827708377084770857708677087770887708977090770917709277093770947709577096770977709877099771007710177102771037710477105771067710777108771097711077111771127711377114771157711677117771187711977120771217712277123771247712577126771277712877129771307713177132771337713477135771367713777138771397714077141771427714377144771457714677147771487714977150771517715277153771547715577156771577715877159771607716177162771637716477165771667716777168771697717077171771727717377174771757717677177771787717977180771817718277183771847718577186771877718877189771907719177192771937719477195771967719777198771997720077201772027720377204772057720677207772087720977210772117721277213772147721577216772177721877219772207722177222772237722477225772267722777228772297723077231772327723377234772357723677237772387723977240772417724277243772447724577246772477724877249772507725177252772537725477255772567725777258772597726077261772627726377264772657726677267772687726977270772717727277273772747727577276772777727877279772807728177282772837728477285772867728777288772897729077291772927729377294772957729677297772987729977300773017730277303773047730577306773077730877309773107731177312773137731477315773167731777318773197732077321773227732377324773257732677327773287732977330773317733277333773347733577336773377733877339773407734177342773437734477345773467734777348773497735077351773527735377354773557735677357773587735977360773617736277363773647736577366773677736877369773707737177372773737737477375773767737777378773797738077381773827738377384773857738677387773887738977390773917739277393773947739577396773977739877399774007740177402774037740477405774067740777408774097741077411774127741377414774157741677417774187741977420774217742277423774247742577426774277742877429774307743177432774337743477435774367743777438774397744077441774427744377444774457744677447774487744977450774517745277453774547745577456774577745877459774607746177462774637746477465774667746777468774697747077471774727747377474774757747677477774787747977480774817748277483774847748577486774877748877489774907749177492774937749477495774967749777498774997750077501775027750377504775057750677507775087750977510775117751277513775147751577516775177751877519775207752177522775237752477525775267752777528775297753077531775327753377534775357753677537775387753977540775417754277543775447754577546775477754877549775507755177552775537755477555775567755777558775597756077561775627756377564775657756677567775687756977570775717757277573775747757577576775777757877579775807758177582775837758477585775867758777588775897759077591775927759377594775957759677597775987759977600776017760277603776047760577606776077760877609776107761177612776137761477615776167761777618776197762077621776227762377624776257762677627776287762977630776317763277633776347763577636776377763877639776407764177642776437764477645776467764777648776497765077651776527765377654776557765677657776587765977660776617766277663776647766577666776677766877669776707767177672776737767477675776767767777678776797768077681776827768377684776857768677687776887768977690776917769277693776947769577696776977769877699777007770177702777037770477705777067770777708777097771077711777127771377714777157771677717777187771977720777217772277723777247772577726777277772877729777307773177732777337773477735777367773777738777397774077741777427774377744777457774677747777487774977750777517775277753777547775577756777577775877759777607776177762777637776477765777667776777768777697777077771777727777377774777757777677777777787777977780777817778277783777847778577786777877778877789777907779177792777937779477795777967779777798777997780077801778027780377804778057780677807778087780977810778117781277813778147781577816778177781877819778207782177822778237782477825778267782777828778297783077831778327783377834778357783677837778387783977840778417784277843778447784577846778477784877849778507785177852778537785477855778567785777858778597786077861778627786377864778657786677867778687786977870778717787277873778747787577876778777787877879778807788177882778837788477885778867788777888778897789077891778927789377894778957789677897778987789977900779017790277903779047790577906779077790877909779107791177912779137791477915779167791777918779197792077921779227792377924779257792677927779287792977930779317793277933779347793577936779377793877939779407794177942779437794477945779467794777948779497795077951779527795377954779557795677957779587795977960779617796277963779647796577966779677796877969779707797177972779737797477975779767797777978779797798077981779827798377984779857798677987779887798977990779917799277993779947799577996779977799877999780007800178002780037800478005780067800778008780097801078011780127801378014780157801678017780187801978020780217802278023780247802578026780277802878029780307803178032780337803478035780367803778038780397804078041780427804378044780457804678047780487804978050780517805278053780547805578056780577805878059780607806178062780637806478065780667806778068780697807078071780727807378074780757807678077780787807978080780817808278083780847808578086780877808878089780907809178092780937809478095780967809778098780997810078101781027810378104781057810678107781087810978110781117811278113781147811578116781177811878119781207812178122781237812478125781267812778128781297813078131781327813378134781357813678137781387813978140781417814278143781447814578146781477814878149781507815178152781537815478155781567815778158781597816078161781627816378164781657816678167781687816978170781717817278173781747817578176781777817878179781807818178182781837818478185781867818778188781897819078191781927819378194781957819678197781987819978200782017820278203782047820578206782077820878209782107821178212782137821478215782167821778218782197822078221782227822378224782257822678227782287822978230782317823278233782347823578236782377823878239782407824178242782437824478245782467824778248782497825078251782527825378254782557825678257782587825978260782617826278263782647826578266782677826878269782707827178272782737827478275782767827778278782797828078281782827828378284782857828678287782887828978290782917829278293782947829578296782977829878299783007830178302783037830478305783067830778308783097831078311783127831378314783157831678317783187831978320783217832278323783247832578326783277832878329783307833178332783337833478335783367833778338783397834078341783427834378344783457834678347783487834978350783517835278353783547835578356783577835878359783607836178362783637836478365783667836778368783697837078371783727837378374783757837678377783787837978380783817838278383783847838578386783877838878389783907839178392783937839478395783967839778398783997840078401784027840378404784057840678407784087840978410784117841278413784147841578416784177841878419784207842178422784237842478425784267842778428784297843078431784327843378434784357843678437784387843978440784417844278443784447844578446784477844878449784507845178452784537845478455784567845778458784597846078461784627846378464784657846678467784687846978470784717847278473784747847578476784777847878479784807848178482784837848478485784867848778488784897849078491784927849378494784957849678497784987849978500785017850278503785047850578506785077850878509785107851178512785137851478515785167851778518785197852078521785227852378524785257852678527785287852978530785317853278533785347853578536785377853878539785407854178542785437854478545785467854778548785497855078551785527855378554785557855678557785587855978560785617856278563785647856578566785677856878569785707857178572785737857478575785767857778578785797858078581785827858378584785857858678587785887858978590785917859278593785947859578596785977859878599786007860178602786037860478605786067860778608786097861078611786127861378614786157861678617786187861978620786217862278623786247862578626786277862878629786307863178632786337863478635786367863778638786397864078641786427864378644786457864678647786487864978650786517865278653786547865578656786577865878659786607866178662786637866478665786667866778668786697867078671786727867378674786757867678677786787867978680786817868278683786847868578686786877868878689786907869178692786937869478695786967869778698786997870078701787027870378704787057870678707787087870978710787117871278713787147871578716787177871878719787207872178722787237872478725787267872778728787297873078731787327873378734787357873678737787387873978740787417874278743787447874578746787477874878749787507875178752787537875478755787567875778758787597876078761787627876378764787657876678767787687876978770787717877278773787747877578776787777877878779787807878178782787837878478785787867878778788787897879078791787927879378794787957879678797787987879978800788017880278803788047880578806788077880878809788107881178812788137881478815788167881778818788197882078821788227882378824788257882678827788287882978830788317883278833788347883578836788377883878839788407884178842788437884478845788467884778848788497885078851788527885378854788557885678857788587885978860788617886278863788647886578866788677886878869788707887178872788737887478875788767887778878788797888078881788827888378884788857888678887788887888978890788917889278893788947889578896788977889878899789007890178902789037890478905789067890778908789097891078911789127891378914789157891678917789187891978920789217892278923789247892578926789277892878929789307893178932789337893478935789367893778938789397894078941789427894378944789457894678947789487894978950789517895278953789547895578956789577895878959789607896178962789637896478965789667896778968789697897078971789727897378974789757897678977789787897978980789817898278983789847898578986789877898878989789907899178992789937899478995789967899778998789997900079001790027900379004790057900679007790087900979010790117901279013790147901579016790177901879019790207902179022790237902479025790267902779028790297903079031790327903379034790357903679037790387903979040790417904279043790447904579046790477904879049790507905179052790537905479055790567905779058790597906079061790627906379064790657906679067790687906979070790717907279073790747907579076790777907879079790807908179082790837908479085790867908779088790897909079091790927909379094790957909679097790987909979100791017910279103791047910579106791077910879109791107911179112791137911479115791167911779118791197912079121791227912379124791257912679127791287912979130791317913279133791347913579136791377913879139791407914179142791437914479145791467914779148791497915079151791527915379154791557915679157791587915979160791617916279163791647916579166791677916879169791707917179172791737917479175791767917779178791797918079181791827918379184791857918679187791887918979190791917919279193791947919579196791977919879199792007920179202792037920479205792067920779208792097921079211792127921379214792157921679217792187921979220792217922279223792247922579226792277922879229792307923179232792337923479235792367923779238792397924079241792427924379244792457924679247792487924979250792517925279253792547925579256792577925879259792607926179262792637926479265792667926779268792697927079271792727927379274792757927679277792787927979280792817928279283792847928579286792877928879289792907929179292792937929479295792967929779298792997930079301793027930379304793057930679307793087930979310793117931279313793147931579316793177931879319793207932179322793237932479325793267932779328793297933079331793327933379334793357933679337793387933979340793417934279343793447934579346793477934879349793507935179352793537935479355793567935779358793597936079361793627936379364793657936679367793687936979370793717937279373793747937579376793777937879379793807938179382793837938479385793867938779388793897939079391793927939379394793957939679397793987939979400794017940279403794047940579406794077940879409794107941179412794137941479415794167941779418794197942079421794227942379424794257942679427794287942979430794317943279433794347943579436794377943879439794407944179442794437944479445794467944779448794497945079451794527945379454794557945679457794587945979460794617946279463794647946579466794677946879469794707947179472794737947479475794767947779478794797948079481794827948379484794857948679487794887948979490794917949279493794947949579496794977949879499795007950179502795037950479505795067950779508795097951079511795127951379514795157951679517795187951979520795217952279523795247952579526795277952879529795307953179532795337953479535795367953779538795397954079541795427954379544795457954679547795487954979550795517955279553795547955579556795577955879559795607956179562795637956479565795667956779568795697957079571795727957379574795757957679577795787957979580795817958279583795847958579586795877958879589795907959179592795937959479595795967959779598795997960079601796027960379604796057960679607796087960979610796117961279613796147961579616796177961879619796207962179622796237962479625796267962779628796297963079631796327963379634796357963679637796387963979640796417964279643796447964579646796477964879649796507965179652796537965479655796567965779658796597966079661796627966379664796657966679667796687966979670796717967279673796747967579676796777967879679796807968179682796837968479685796867968779688796897969079691796927969379694796957969679697796987969979700797017970279703797047970579706797077970879709797107971179712797137971479715797167971779718797197972079721797227972379724797257972679727797287972979730797317973279733797347973579736797377973879739797407974179742797437974479745797467974779748797497975079751797527975379754797557975679757797587975979760797617976279763797647976579766797677976879769797707977179772797737977479775797767977779778797797978079781797827978379784797857978679787797887978979790797917979279793797947979579796797977979879799798007980179802798037980479805798067980779808798097981079811798127981379814798157981679817798187981979820798217982279823798247982579826798277982879829798307983179832798337983479835798367983779838798397984079841798427984379844798457984679847798487984979850798517985279853798547985579856798577985879859798607986179862798637986479865798667986779868798697987079871798727987379874798757987679877798787987979880798817988279883798847988579886798877988879889798907989179892798937989479895798967989779898798997990079901799027990379904799057990679907799087990979910799117991279913799147991579916799177991879919799207992179922799237992479925799267992779928799297993079931799327993379934799357993679937799387993979940799417994279943799447994579946799477994879949799507995179952799537995479955799567995779958799597996079961799627996379964799657996679967799687996979970799717997279973799747997579976799777997879979799807998179982799837998479985799867998779988799897999079991799927999379994799957999679997799987999980000800018000280003800048000580006800078000880009800108001180012800138001480015800168001780018800198002080021800228002380024800258002680027800288002980030800318003280033800348003580036800378003880039800408004180042800438004480045800468004780048800498005080051800528005380054800558005680057800588005980060800618006280063800648006580066800678006880069800708007180072800738007480075800768007780078800798008080081800828008380084800858008680087800888008980090800918009280093800948009580096800978009880099801008010180102801038010480105801068010780108801098011080111801128011380114801158011680117801188011980120801218012280123801248012580126801278012880129801308013180132801338013480135801368013780138801398014080141801428014380144801458014680147801488014980150801518015280153801548015580156801578015880159801608016180162801638016480165801668016780168801698017080171801728017380174801758017680177801788017980180801818018280183801848018580186801878018880189801908019180192801938019480195801968019780198801998020080201802028020380204802058020680207802088020980210802118021280213802148021580216802178021880219802208022180222802238022480225802268022780228802298023080231802328023380234802358023680237802388023980240802418024280243802448024580246802478024880249802508025180252802538025480255802568025780258802598026080261802628026380264802658026680267802688026980270802718027280273802748027580276802778027880279802808028180282802838028480285802868028780288802898029080291802928029380294802958029680297802988029980300803018030280303803048030580306803078030880309803108031180312803138031480315803168031780318803198032080321803228032380324803258032680327803288032980330803318033280333803348033580336803378033880339803408034180342803438034480345803468034780348803498035080351803528035380354803558035680357803588035980360803618036280363803648036580366803678036880369803708037180372803738037480375803768037780378803798038080381803828038380384803858038680387803888038980390803918039280393803948039580396803978039880399804008040180402804038040480405804068040780408804098041080411804128041380414804158041680417804188041980420804218042280423804248042580426804278042880429804308043180432804338043480435804368043780438804398044080441804428044380444804458044680447804488044980450804518045280453804548045580456804578045880459804608046180462804638046480465804668046780468804698047080471804728047380474804758047680477804788047980480804818048280483804848048580486804878048880489804908049180492804938049480495804968049780498804998050080501805028050380504805058050680507805088050980510805118051280513805148051580516805178051880519805208052180522805238052480525805268052780528805298053080531805328053380534805358053680537805388053980540805418054280543805448054580546805478054880549805508055180552805538055480555805568055780558805598056080561805628056380564805658056680567805688056980570805718057280573805748057580576805778057880579805808058180582805838058480585805868058780588805898059080591805928059380594805958059680597805988059980600806018060280603806048060580606806078060880609806108061180612806138061480615806168061780618806198062080621806228062380624806258062680627806288062980630806318063280633806348063580636806378063880639806408064180642806438064480645806468064780648806498065080651806528065380654806558065680657806588065980660806618066280663806648066580666806678066880669806708067180672806738067480675806768067780678806798068080681806828068380684806858068680687806888068980690806918069280693806948069580696806978069880699807008070180702807038070480705807068070780708807098071080711807128071380714807158071680717807188071980720807218072280723807248072580726807278072880729807308073180732807338073480735807368073780738807398074080741807428074380744807458074680747807488074980750807518075280753807548075580756807578075880759807608076180762807638076480765807668076780768807698077080771807728077380774807758077680777807788077980780807818078280783807848078580786807878078880789807908079180792807938079480795807968079780798807998080080801808028080380804808058080680807808088080980810808118081280813808148081580816808178081880819808208082180822808238082480825808268082780828808298083080831808328083380834808358083680837808388083980840808418084280843808448084580846808478084880849808508085180852808538085480855808568085780858808598086080861808628086380864808658086680867808688086980870808718087280873808748087580876808778087880879808808088180882808838088480885808868088780888808898089080891808928089380894808958089680897808988089980900809018090280903809048090580906809078090880909809108091180912809138091480915809168091780918809198092080921809228092380924809258092680927809288092980930809318093280933809348093580936809378093880939809408094180942809438094480945809468094780948809498095080951809528095380954809558095680957809588095980960809618096280963809648096580966809678096880969809708097180972809738097480975809768097780978809798098080981809828098380984809858098680987809888098980990809918099280993809948099580996809978099880999810008100181002810038100481005810068100781008810098101081011810128101381014810158101681017810188101981020810218102281023810248102581026810278102881029810308103181032810338103481035810368103781038810398104081041810428104381044810458104681047810488104981050810518105281053810548105581056810578105881059810608106181062810638106481065810668106781068810698107081071810728107381074810758107681077810788107981080810818108281083810848108581086810878108881089810908109181092810938109481095810968109781098810998110081101811028110381104811058110681107811088110981110811118111281113811148111581116811178111881119811208112181122811238112481125811268112781128811298113081131811328113381134811358113681137811388113981140811418114281143811448114581146811478114881149811508115181152811538115481155811568115781158811598116081161811628116381164811658116681167811688116981170811718117281173811748117581176811778117881179811808118181182811838118481185811868118781188811898119081191811928119381194811958119681197811988119981200812018120281203812048120581206812078120881209812108121181212812138121481215812168121781218812198122081221812228122381224812258122681227812288122981230812318123281233812348123581236812378123881239812408124181242812438124481245812468124781248812498125081251812528125381254812558125681257812588125981260812618126281263812648126581266812678126881269812708127181272812738127481275812768127781278812798128081281812828128381284812858128681287812888128981290812918129281293812948129581296812978129881299813008130181302813038130481305813068130781308813098131081311813128131381314813158131681317813188131981320813218132281323813248132581326813278132881329813308133181332813338133481335813368133781338813398134081341813428134381344813458134681347813488134981350813518135281353813548135581356813578135881359813608136181362813638136481365813668136781368813698137081371813728137381374813758137681377813788137981380813818138281383813848138581386813878138881389813908139181392813938139481395813968139781398813998140081401814028140381404814058140681407814088140981410814118141281413814148141581416814178141881419814208142181422814238142481425814268142781428814298143081431814328143381434814358143681437814388143981440814418144281443814448144581446814478144881449814508145181452814538145481455814568145781458814598146081461814628146381464814658146681467814688146981470814718147281473814748147581476814778147881479814808148181482814838148481485814868148781488814898149081491814928149381494814958149681497814988149981500815018150281503815048150581506815078150881509815108151181512815138151481515815168151781518815198152081521815228152381524815258152681527815288152981530815318153281533815348153581536815378153881539815408154181542815438154481545815468154781548815498155081551815528155381554815558155681557815588155981560815618156281563815648156581566815678156881569815708157181572815738157481575815768157781578815798158081581815828158381584815858158681587815888158981590815918159281593815948159581596815978159881599816008160181602816038160481605816068160781608816098161081611816128161381614816158161681617816188161981620816218162281623816248162581626816278162881629816308163181632816338163481635816368163781638816398164081641816428164381644816458164681647816488164981650816518165281653816548165581656816578165881659816608166181662816638166481665816668166781668816698167081671816728167381674816758167681677816788167981680816818168281683816848168581686816878168881689816908169181692816938169481695816968169781698816998170081701817028170381704817058170681707817088170981710817118171281713817148171581716817178171881719817208172181722817238172481725817268172781728817298173081731817328173381734817358173681737817388173981740817418174281743817448174581746817478174881749817508175181752817538175481755817568175781758817598176081761817628176381764817658176681767817688176981770817718177281773817748177581776817778177881779817808178181782817838178481785817868178781788817898179081791817928179381794817958179681797817988179981800818018180281803818048180581806818078180881809818108181181812818138181481815818168181781818818198182081821818228182381824818258182681827818288182981830818318183281833818348183581836818378183881839818408184181842818438184481845818468184781848818498185081851818528185381854818558185681857818588185981860818618186281863818648186581866818678186881869818708187181872818738187481875818768187781878818798188081881818828188381884818858188681887818888188981890818918189281893818948189581896818978189881899819008190181902819038190481905819068190781908819098191081911819128191381914819158191681917819188191981920819218192281923819248192581926819278192881929819308193181932819338193481935819368193781938819398194081941819428194381944819458194681947819488194981950819518195281953819548195581956819578195881959819608196181962819638196481965819668196781968819698197081971819728197381974819758197681977819788197981980819818198281983819848198581986819878198881989819908199181992819938199481995819968199781998819998200082001820028200382004820058200682007820088200982010820118201282013820148201582016820178201882019820208202182022820238202482025820268202782028820298203082031820328203382034820358203682037820388203982040820418204282043820448204582046820478204882049820508205182052820538205482055820568205782058820598206082061820628206382064820658206682067820688206982070820718207282073820748207582076820778207882079820808208182082820838208482085820868208782088820898209082091820928209382094820958209682097820988209982100821018210282103821048210582106821078210882109821108211182112821138211482115821168211782118821198212082121821228212382124821258212682127821288212982130821318213282133821348213582136821378213882139821408214182142821438214482145821468214782148821498215082151821528215382154821558215682157821588215982160821618216282163821648216582166821678216882169821708217182172821738217482175821768217782178821798218082181821828218382184821858218682187821888218982190821918219282193821948219582196821978219882199822008220182202822038220482205822068220782208822098221082211822128221382214822158221682217822188221982220822218222282223822248222582226822278222882229822308223182232822338223482235822368223782238822398224082241822428224382244822458224682247822488224982250822518225282253822548225582256822578225882259822608226182262822638226482265822668226782268822698227082271822728227382274822758227682277822788227982280822818228282283822848228582286822878228882289822908229182292822938229482295822968229782298822998230082301823028230382304823058230682307823088230982310823118231282313823148231582316823178231882319823208232182322823238232482325823268232782328823298233082331823328233382334823358233682337823388233982340823418234282343823448234582346823478234882349823508235182352823538235482355823568235782358823598236082361823628236382364823658236682367823688236982370823718237282373823748237582376823778237882379823808238182382823838238482385823868238782388823898239082391823928239382394823958239682397823988239982400824018240282403824048240582406824078240882409824108241182412824138241482415824168241782418824198242082421824228242382424824258242682427824288242982430824318243282433824348243582436824378243882439824408244182442824438244482445824468244782448824498245082451824528245382454824558245682457824588245982460824618246282463824648246582466824678246882469824708247182472824738247482475824768247782478824798248082481824828248382484824858248682487824888248982490824918249282493824948249582496824978249882499825008250182502825038250482505825068250782508825098251082511825128251382514825158251682517825188251982520825218252282523825248252582526825278252882529825308253182532825338253482535825368253782538825398254082541825428254382544825458254682547825488254982550825518255282553825548255582556825578255882559825608256182562825638256482565825668256782568825698257082571825728257382574825758257682577825788257982580825818258282583825848258582586825878258882589825908259182592825938259482595825968259782598825998260082601826028260382604826058260682607826088260982610826118261282613826148261582616826178261882619826208262182622826238262482625826268262782628826298263082631826328263382634826358263682637826388263982640826418264282643826448264582646826478264882649826508265182652826538265482655826568265782658826598266082661826628266382664826658266682667826688266982670826718267282673826748267582676826778267882679826808268182682826838268482685826868268782688826898269082691826928269382694826958269682697826988269982700827018270282703827048270582706827078270882709827108271182712827138271482715827168271782718827198272082721827228272382724827258272682727827288272982730827318273282733827348273582736827378273882739827408274182742827438274482745827468274782748827498275082751827528275382754827558275682757827588275982760827618276282763827648276582766827678276882769827708277182772827738277482775827768277782778827798278082781827828278382784827858278682787827888278982790827918279282793827948279582796827978279882799828008280182802828038280482805828068280782808828098281082811828128281382814828158281682817828188281982820828218282282823828248282582826828278282882829828308283182832828338283482835828368283782838828398284082841828428284382844828458284682847828488284982850828518285282853828548285582856828578285882859828608286182862828638286482865828668286782868828698287082871828728287382874828758287682877828788287982880828818288282883828848288582886828878288882889828908289182892828938289482895828968289782898828998290082901829028290382904829058290682907829088290982910829118291282913829148291582916829178291882919829208292182922829238292482925829268292782928829298293082931829328293382934829358293682937829388293982940829418294282943829448294582946829478294882949829508295182952829538295482955829568295782958829598296082961829628296382964829658296682967829688296982970829718297282973829748297582976829778297882979829808298182982829838298482985829868298782988829898299082991829928299382994829958299682997829988299983000830018300283003830048300583006830078300883009830108301183012830138301483015830168301783018830198302083021830228302383024830258302683027830288302983030830318303283033830348303583036830378303883039830408304183042830438304483045830468304783048830498305083051830528305383054830558305683057830588305983060830618306283063830648306583066830678306883069830708307183072830738307483075830768307783078830798308083081830828308383084830858308683087830888308983090830918309283093830948309583096830978309883099831008310183102831038310483105831068310783108831098311083111831128311383114831158311683117831188311983120831218312283123831248312583126831278312883129831308313183132831338313483135831368313783138831398314083141831428314383144831458314683147831488314983150831518315283153831548315583156831578315883159831608316183162831638316483165831668316783168831698317083171831728317383174831758317683177831788317983180831818318283183831848318583186831878318883189831908319183192831938319483195831968319783198831998320083201832028320383204832058320683207832088320983210832118321283213832148321583216832178321883219832208322183222832238322483225832268322783228832298323083231832328323383234832358323683237832388323983240832418324283243832448324583246832478324883249832508325183252832538325483255832568325783258832598326083261832628326383264832658326683267832688326983270832718327283273832748327583276832778327883279832808328183282832838328483285832868328783288832898329083291832928329383294832958329683297832988329983300833018330283303833048330583306833078330883309833108331183312833138331483315833168331783318833198332083321833228332383324833258332683327833288332983330833318333283333833348333583336833378333883339833408334183342833438334483345833468334783348833498335083351833528335383354833558335683357833588335983360833618336283363833648336583366833678336883369833708337183372833738337483375833768337783378833798338083381833828338383384833858338683387833888338983390833918339283393833948339583396833978339883399834008340183402834038340483405834068340783408834098341083411834128341383414834158341683417834188341983420834218342283423834248342583426834278342883429834308343183432834338343483435834368343783438834398344083441834428344383444834458344683447834488344983450834518345283453834548345583456834578345883459834608346183462834638346483465834668346783468834698347083471834728347383474834758347683477834788347983480834818348283483834848348583486834878348883489834908349183492834938349483495834968349783498834998350083501835028350383504835058350683507835088350983510835118351283513835148351583516835178351883519835208352183522835238352483525835268352783528835298353083531835328353383534835358353683537835388353983540835418354283543835448354583546835478354883549835508355183552835538355483555835568355783558835598356083561835628356383564835658356683567835688356983570835718357283573835748357583576835778357883579835808358183582835838358483585835868358783588835898359083591835928359383594835958359683597835988359983600836018360283603836048360583606836078360883609836108361183612836138361483615836168361783618836198362083621836228362383624836258362683627836288362983630836318363283633836348363583636836378363883639836408364183642836438364483645836468364783648836498365083651836528365383654836558365683657836588365983660836618366283663836648366583666836678366883669836708367183672836738367483675836768367783678836798368083681836828368383684836858368683687836888368983690836918369283693836948369583696836978369883699837008370183702837038370483705837068370783708837098371083711837128371383714837158371683717837188371983720837218372283723837248372583726837278372883729837308373183732837338373483735837368373783738837398374083741837428374383744837458374683747837488374983750837518375283753837548375583756837578375883759837608376183762837638376483765837668376783768837698377083771837728377383774837758377683777837788377983780837818378283783837848378583786837878378883789837908379183792837938379483795837968379783798837998380083801838028380383804838058380683807838088380983810838118381283813838148381583816838178381883819838208382183822838238382483825838268382783828838298383083831838328383383834838358383683837838388383983840838418384283843838448384583846838478384883849838508385183852838538385483855838568385783858838598386083861838628386383864838658386683867838688386983870838718387283873838748387583876838778387883879838808388183882838838388483885838868388783888838898389083891838928389383894838958389683897838988389983900839018390283903839048390583906839078390883909839108391183912839138391483915839168391783918839198392083921839228392383924839258392683927839288392983930839318393283933839348393583936839378393883939839408394183942839438394483945839468394783948839498395083951839528395383954839558395683957839588395983960839618396283963839648396583966839678396883969839708397183972839738397483975839768397783978839798398083981839828398383984839858398683987839888398983990839918399283993839948399583996839978399883999840008400184002840038400484005840068400784008840098401084011840128401384014840158401684017840188401984020840218402284023840248402584026840278402884029840308403184032840338403484035840368403784038840398404084041840428404384044840458404684047840488404984050840518405284053840548405584056840578405884059840608406184062840638406484065840668406784068840698407084071840728407384074840758407684077840788407984080840818408284083840848408584086840878408884089840908409184092840938409484095840968409784098840998410084101841028410384104841058410684107841088410984110841118411284113841148411584116841178411884119841208412184122841238412484125841268412784128841298413084131841328413384134841358413684137841388413984140841418414284143841448414584146841478414884149841508415184152841538415484155841568415784158841598416084161841628416384164841658416684167841688416984170841718417284173841748417584176841778417884179841808418184182841838418484185841868418784188841898419084191841928419384194841958419684197841988419984200842018420284203842048420584206842078420884209842108421184212842138421484215842168421784218842198422084221842228422384224842258422684227842288422984230842318423284233842348423584236842378423884239842408424184242842438424484245842468424784248842498425084251842528425384254842558425684257842588425984260842618426284263842648426584266842678426884269842708427184272842738427484275842768427784278842798428084281842828428384284842858428684287842888428984290842918429284293842948429584296842978429884299843008430184302843038430484305843068430784308843098431084311843128431384314843158431684317843188431984320843218432284323843248432584326843278432884329843308433184332843338433484335843368433784338843398434084341843428434384344843458434684347843488434984350843518435284353843548435584356843578435884359843608436184362843638436484365843668436784368843698437084371843728437384374843758437684377843788437984380843818438284383843848438584386843878438884389843908439184392843938439484395843968439784398843998440084401844028440384404844058440684407844088440984410844118441284413844148441584416844178441884419844208442184422844238442484425844268442784428844298443084431844328443384434844358443684437844388443984440844418444284443844448444584446844478444884449844508445184452844538445484455844568445784458844598446084461844628446384464844658446684467844688446984470844718447284473844748447584476844778447884479844808448184482844838448484485844868448784488844898449084491844928449384494844958449684497844988449984500845018450284503845048450584506845078450884509845108451184512845138451484515845168451784518845198452084521845228452384524845258452684527845288452984530845318453284533845348453584536845378453884539845408454184542845438454484545845468454784548845498455084551845528455384554845558455684557845588455984560845618456284563845648456584566845678456884569845708457184572845738457484575845768457784578845798458084581845828458384584845858458684587845888458984590845918459284593845948459584596845978459884599846008460184602846038460484605846068460784608846098461084611846128461384614846158461684617846188461984620846218462284623846248462584626846278462884629846308463184632846338463484635846368463784638846398464084641846428464384644846458464684647846488464984650846518465284653846548465584656846578465884659846608466184662846638466484665846668466784668846698467084671846728467384674846758467684677846788467984680846818468284683846848468584686846878468884689846908469184692846938469484695846968469784698846998470084701847028470384704847058470684707847088470984710847118471284713847148471584716847178471884719847208472184722847238472484725847268472784728847298473084731847328473384734847358473684737847388473984740847418474284743847448474584746847478474884749847508475184752847538475484755847568475784758847598476084761847628476384764847658476684767847688476984770847718477284773847748477584776847778477884779847808478184782847838478484785847868478784788847898479084791847928479384794847958479684797847988479984800848018480284803848048480584806848078480884809848108481184812848138481484815848168481784818848198482084821848228482384824848258482684827848288482984830848318483284833848348483584836848378483884839848408484184842848438484484845848468484784848848498485084851848528485384854848558485684857848588485984860848618486284863848648486584866848678486884869848708487184872848738487484875848768487784878848798488084881848828488384884848858488684887848888488984890848918489284893848948489584896848978489884899849008490184902849038490484905849068490784908849098491084911849128491384914849158491684917849188491984920849218492284923849248492584926849278492884929849308493184932849338493484935849368493784938849398494084941849428494384944849458494684947849488494984950849518495284953849548495584956849578495884959849608496184962849638496484965849668496784968849698497084971849728497384974849758497684977849788497984980849818498284983849848498584986849878498884989849908499184992849938499484995849968499784998849998500085001850028500385004850058500685007850088500985010850118501285013850148501585016850178501885019850208502185022850238502485025850268502785028850298503085031850328503385034850358503685037850388503985040850418504285043850448504585046850478504885049850508505185052850538505485055850568505785058850598506085061850628506385064850658506685067850688506985070850718507285073850748507585076850778507885079850808508185082850838508485085850868508785088850898509085091850928509385094850958509685097850988509985100851018510285103851048510585106851078510885109851108511185112851138511485115851168511785118851198512085121851228512385124851258512685127851288512985130851318513285133851348513585136851378513885139851408514185142851438514485145851468514785148851498515085151851528515385154851558515685157851588515985160851618516285163851648516585166851678516885169851708517185172851738517485175851768517785178851798518085181851828518385184851858518685187851888518985190851918519285193851948519585196851978519885199852008520185202852038520485205852068520785208852098521085211852128521385214852158521685217852188521985220852218522285223852248522585226852278522885229852308523185232852338523485235852368523785238852398524085241852428524385244852458524685247852488524985250852518525285253852548525585256852578525885259852608526185262852638526485265852668526785268852698527085271852728527385274852758527685277852788527985280852818528285283852848528585286852878528885289852908529185292852938529485295852968529785298852998530085301853028530385304853058530685307853088530985310853118531285313853148531585316853178531885319853208532185322853238532485325853268532785328853298533085331853328533385334853358533685337853388533985340853418534285343853448534585346853478534885349853508535185352853538535485355853568535785358853598536085361853628536385364853658536685367853688536985370853718537285373853748537585376853778537885379853808538185382853838538485385853868538785388853898539085391853928539385394853958539685397853988539985400854018540285403854048540585406854078540885409854108541185412854138541485415854168541785418854198542085421854228542385424854258542685427854288542985430854318543285433854348543585436854378543885439854408544185442854438544485445854468544785448854498545085451854528545385454854558545685457854588545985460854618546285463854648546585466854678546885469854708547185472854738547485475854768547785478854798548085481854828548385484854858548685487854888548985490854918549285493854948549585496854978549885499855008550185502855038550485505855068550785508855098551085511855128551385514855158551685517855188551985520855218552285523855248552585526855278552885529855308553185532855338553485535855368553785538855398554085541855428554385544855458554685547855488554985550855518555285553855548555585556855578555885559855608556185562855638556485565855668556785568855698557085571855728557385574855758557685577855788557985580855818558285583855848558585586855878558885589855908559185592855938559485595855968559785598855998560085601856028560385604856058560685607856088560985610856118561285613856148561585616856178561885619856208562185622856238562485625856268562785628856298563085631856328563385634856358563685637856388563985640856418564285643856448564585646856478564885649856508565185652856538565485655856568565785658856598566085661856628566385664856658566685667856688566985670856718567285673856748567585676856778567885679856808568185682856838568485685856868568785688856898569085691856928569385694856958569685697856988569985700857018570285703857048570585706857078570885709857108571185712857138571485715857168571785718857198572085721857228572385724857258572685727857288572985730857318573285733857348573585736857378573885739857408574185742857438574485745857468574785748857498575085751857528575385754857558575685757857588575985760857618576285763857648576585766857678576885769857708577185772857738577485775857768577785778857798578085781857828578385784857858578685787857888578985790857918579285793857948579585796857978579885799858008580185802858038580485805858068580785808858098581085811858128581385814858158581685817858188581985820858218582285823858248582585826858278582885829858308583185832858338583485835858368583785838858398584085841858428584385844858458584685847858488584985850858518585285853858548585585856858578585885859858608586185862858638586485865858668586785868858698587085871858728587385874858758587685877858788587985880858818588285883858848588585886858878588885889858908589185892858938589485895858968589785898858998590085901859028590385904859058590685907859088590985910859118591285913859148591585916859178591885919859208592185922859238592485925859268592785928859298593085931859328593385934859358593685937859388593985940859418594285943859448594585946859478594885949859508595185952859538595485955859568595785958859598596085961859628596385964859658596685967859688596985970859718597285973859748597585976859778597885979859808598185982859838598485985859868598785988859898599085991859928599385994859958599685997859988599986000860018600286003860048600586006860078600886009860108601186012860138601486015860168601786018860198602086021860228602386024860258602686027860288602986030860318603286033860348603586036860378603886039860408604186042860438604486045860468604786048860498605086051860528605386054860558605686057860588605986060860618606286063860648606586066860678606886069860708607186072860738607486075860768607786078860798608086081860828608386084860858608686087860888608986090860918609286093860948609586096860978609886099861008610186102861038610486105861068610786108861098611086111861128611386114861158611686117861188611986120861218612286123861248612586126861278612886129861308613186132861338613486135861368613786138861398614086141861428614386144861458614686147861488614986150861518615286153861548615586156861578615886159861608616186162861638616486165861668616786168861698617086171861728617386174861758617686177861788617986180861818618286183861848618586186861878618886189861908619186192861938619486195861968619786198861998620086201862028620386204862058620686207862088620986210862118621286213862148621586216862178621886219862208622186222862238622486225862268622786228862298623086231862328623386234862358623686237862388623986240862418624286243862448624586246862478624886249862508625186252862538625486255862568625786258862598626086261862628626386264862658626686267862688626986270862718627286273862748627586276862778627886279862808628186282862838628486285862868628786288862898629086291862928629386294862958629686297862988629986300863018630286303863048630586306863078630886309863108631186312863138631486315863168631786318863198632086321863228632386324863258632686327863288632986330863318633286333863348633586336863378633886339863408634186342863438634486345863468634786348863498635086351863528635386354863558635686357863588635986360863618636286363863648636586366863678636886369863708637186372863738637486375863768637786378863798638086381863828638386384863858638686387863888638986390863918639286393863948639586396863978639886399864008640186402864038640486405864068640786408864098641086411864128641386414864158641686417864188641986420864218642286423864248642586426864278642886429864308643186432864338643486435864368643786438864398644086441864428644386444864458644686447864488644986450864518645286453864548645586456864578645886459864608646186462864638646486465864668646786468864698647086471864728647386474864758647686477864788647986480864818648286483864848648586486864878648886489864908649186492864938649486495864968649786498864998650086501865028650386504865058650686507865088650986510865118651286513865148651586516865178651886519865208652186522865238652486525865268652786528865298653086531865328653386534865358653686537865388653986540865418654286543865448654586546865478654886549865508655186552865538655486555865568655786558865598656086561865628656386564865658656686567865688656986570865718657286573865748657586576865778657886579865808658186582865838658486585865868658786588865898659086591865928659386594865958659686597865988659986600866018660286603866048660586606866078660886609866108661186612866138661486615866168661786618866198662086621866228662386624866258662686627866288662986630866318663286633866348663586636866378663886639866408664186642866438664486645866468664786648866498665086651866528665386654866558665686657866588665986660866618666286663866648666586666866678666886669866708667186672866738667486675866768667786678866798668086681866828668386684866858668686687866888668986690866918669286693866948669586696866978669886699867008670186702867038670486705867068670786708867098671086711867128671386714867158671686717867188671986720867218672286723867248672586726867278672886729867308673186732867338673486735867368673786738867398674086741867428674386744867458674686747867488674986750867518675286753867548675586756867578675886759867608676186762867638676486765867668676786768867698677086771867728677386774867758677686777867788677986780867818678286783867848678586786867878678886789867908679186792867938679486795867968679786798867998680086801868028680386804868058680686807868088680986810868118681286813868148681586816868178681886819868208682186822868238682486825868268682786828868298683086831868328683386834868358683686837868388683986840868418684286843868448684586846868478684886849868508685186852868538685486855868568685786858868598686086861868628686386864868658686686867868688686986870868718687286873868748687586876868778687886879868808688186882868838688486885868868688786888868898689086891868928689386894868958689686897868988689986900869018690286903869048690586906869078690886909869108691186912869138691486915869168691786918869198692086921869228692386924869258692686927869288692986930869318693286933869348693586936869378693886939869408694186942869438694486945869468694786948869498695086951869528695386954869558695686957869588695986960869618696286963869648696586966869678696886969869708697186972869738697486975869768697786978869798698086981869828698386984869858698686987869888698986990869918699286993869948699586996869978699886999870008700187002870038700487005870068700787008870098701087011870128701387014870158701687017870188701987020870218702287023870248702587026870278702887029870308703187032870338703487035870368703787038870398704087041870428704387044870458704687047870488704987050870518705287053870548705587056870578705887059870608706187062870638706487065870668706787068870698707087071870728707387074870758707687077870788707987080870818708287083870848708587086870878708887089870908709187092870938709487095870968709787098870998710087101871028710387104871058710687107871088710987110871118711287113871148711587116871178711887119871208712187122871238712487125871268712787128871298713087131871328713387134871358713687137871388713987140871418714287143871448714587146871478714887149871508715187152871538715487155871568715787158871598716087161871628716387164871658716687167871688716987170871718717287173871748717587176871778717887179871808718187182871838718487185871868718787188871898719087191871928719387194871958719687197871988719987200872018720287203872048720587206872078720887209872108721187212872138721487215872168721787218872198722087221872228722387224872258722687227872288722987230872318723287233872348723587236872378723887239872408724187242872438724487245872468724787248872498725087251872528725387254872558725687257872588725987260872618726287263872648726587266872678726887269872708727187272872738727487275872768727787278872798728087281872828728387284872858728687287872888728987290872918729287293872948729587296872978729887299873008730187302873038730487305873068730787308873098731087311873128731387314873158731687317873188731987320873218732287323873248732587326873278732887329873308733187332873338733487335873368733787338873398734087341873428734387344873458734687347873488734987350873518735287353873548735587356873578735887359873608736187362873638736487365873668736787368873698737087371873728737387374873758737687377873788737987380873818738287383873848738587386873878738887389873908739187392873938739487395873968739787398873998740087401874028740387404874058740687407874088740987410874118741287413874148741587416874178741887419874208742187422874238742487425874268742787428874298743087431874328743387434874358743687437874388743987440874418744287443874448744587446874478744887449874508745187452874538745487455874568745787458874598746087461874628746387464874658746687467874688746987470874718747287473874748747587476874778747887479874808748187482874838748487485874868748787488874898749087491874928749387494874958749687497874988749987500875018750287503875048750587506875078750887509875108751187512875138751487515875168751787518875198752087521875228752387524875258752687527875288752987530875318753287533875348753587536875378753887539875408754187542875438754487545875468754787548875498755087551875528755387554875558755687557875588755987560875618756287563875648756587566875678756887569875708757187572875738757487575875768757787578875798758087581875828758387584875858758687587875888758987590875918759287593875948759587596875978759887599876008760187602876038760487605876068760787608876098761087611876128761387614876158761687617876188761987620876218762287623876248762587626876278762887629876308763187632876338763487635876368763787638876398764087641876428764387644876458764687647876488764987650876518765287653876548765587656876578765887659876608766187662876638766487665876668766787668876698767087671876728767387674876758767687677876788767987680876818768287683876848768587686876878768887689876908769187692876938769487695876968769787698876998770087701877028770387704877058770687707877088770987710877118771287713877148771587716877178771887719877208772187722877238772487725877268772787728877298773087731877328773387734877358773687737877388773987740877418774287743877448774587746877478774887749877508775187752877538775487755877568775787758877598776087761877628776387764877658776687767877688776987770877718777287773877748777587776877778777887779877808778187782877838778487785877868778787788877898779087791877928779387794877958779687797877988779987800878018780287803878048780587806878078780887809878108781187812878138781487815878168781787818878198782087821878228782387824878258782687827878288782987830878318783287833878348783587836878378783887839878408784187842878438784487845878468784787848878498785087851878528785387854878558785687857878588785987860878618786287863878648786587866878678786887869878708787187872878738787487875878768787787878878798788087881878828788387884878858788687887878888788987890878918789287893878948789587896878978789887899879008790187902879038790487905879068790787908879098791087911879128791387914879158791687917879188791987920879218792287923879248792587926879278792887929879308793187932879338793487935879368793787938879398794087941879428794387944879458794687947879488794987950879518795287953879548795587956879578795887959879608796187962879638796487965879668796787968879698797087971879728797387974879758797687977879788797987980879818798287983879848798587986879878798887989879908799187992879938799487995879968799787998879998800088001880028800388004880058800688007880088800988010880118801288013880148801588016880178801888019880208802188022880238802488025880268802788028880298803088031880328803388034880358803688037880388803988040880418804288043880448804588046880478804888049880508805188052880538805488055880568805788058880598806088061880628806388064880658806688067880688806988070880718807288073880748807588076880778807888079880808808188082880838808488085880868808788088880898809088091880928809388094880958809688097880988809988100881018810288103881048810588106881078810888109881108811188112881138811488115881168811788118881198812088121881228812388124881258812688127881288812988130881318813288133881348813588136881378813888139881408814188142881438814488145881468814788148881498815088151881528815388154881558815688157881588815988160881618816288163881648816588166881678816888169881708817188172881738817488175881768817788178881798818088181881828818388184881858818688187881888818988190881918819288193881948819588196881978819888199882008820188202882038820488205882068820788208882098821088211882128821388214882158821688217882188821988220882218822288223882248822588226882278822888229882308823188232882338823488235882368823788238882398824088241882428824388244882458824688247882488824988250882518825288253882548825588256882578825888259882608826188262882638826488265882668826788268882698827088271882728827388274882758827688277882788827988280882818828288283882848828588286882878828888289882908829188292882938829488295882968829788298882998830088301883028830388304883058830688307883088830988310883118831288313883148831588316883178831888319883208832188322883238832488325883268832788328883298833088331883328833388334883358833688337883388833988340883418834288343883448834588346883478834888349883508835188352883538835488355883568835788358883598836088361883628836388364883658836688367883688836988370883718837288373883748837588376883778837888379883808838188382883838838488385883868838788388883898839088391883928839388394883958839688397883988839988400884018840288403884048840588406884078840888409884108841188412884138841488415884168841788418884198842088421884228842388424884258842688427884288842988430884318843288433884348843588436884378843888439884408844188442884438844488445884468844788448884498845088451884528845388454884558845688457884588845988460884618846288463884648846588466884678846888469884708847188472884738847488475884768847788478884798848088481884828848388484884858848688487884888848988490884918849288493884948849588496884978849888499885008850188502885038850488505885068850788508885098851088511885128851388514885158851688517885188851988520885218852288523885248852588526885278852888529885308853188532885338853488535885368853788538885398854088541885428854388544885458854688547885488854988550885518855288553885548855588556885578855888559885608856188562885638856488565885668856788568885698857088571885728857388574885758857688577885788857988580885818858288583885848858588586885878858888589885908859188592885938859488595885968859788598885998860088601886028860388604886058860688607886088860988610886118861288613886148861588616886178861888619886208862188622886238862488625886268862788628886298863088631886328863388634886358863688637886388863988640886418864288643886448864588646886478864888649886508865188652886538865488655886568865788658886598866088661886628866388664886658866688667886688866988670886718867288673886748867588676886778867888679886808868188682886838868488685886868868788688886898869088691886928869388694886958869688697886988869988700887018870288703887048870588706887078870888709887108871188712887138871488715887168871788718887198872088721887228872388724887258872688727887288872988730887318873288733887348873588736887378873888739887408874188742887438874488745887468874788748887498875088751887528875388754887558875688757887588875988760887618876288763887648876588766887678876888769887708877188772887738877488775887768877788778887798878088781887828878388784887858878688787887888878988790887918879288793887948879588796887978879888799888008880188802888038880488805888068880788808888098881088811888128881388814888158881688817888188881988820888218882288823888248882588826888278882888829888308883188832888338883488835888368883788838888398884088841888428884388844888458884688847888488884988850888518885288853888548885588856888578885888859888608886188862888638886488865888668886788868888698887088871888728887388874888758887688877888788887988880888818888288883888848888588886888878888888889888908889188892888938889488895888968889788898888998890088901889028890388904889058890688907889088890988910889118891288913889148891588916889178891888919889208892188922889238892488925889268892788928889298893088931889328893388934889358893688937889388893988940889418894288943889448894588946889478894888949889508895188952889538895488955889568895788958889598896088961889628896388964889658896688967889688896988970889718897288973889748897588976889778897888979889808898188982889838898488985889868898788988889898899088991889928899388994889958899688997889988899989000890018900289003890048900589006890078900889009890108901189012890138901489015890168901789018890198902089021890228902389024890258902689027890288902989030890318903289033890348903589036890378903889039890408904189042890438904489045890468904789048890498905089051890528905389054890558905689057890588905989060890618906289063890648906589066890678906889069890708907189072890738907489075890768907789078890798908089081890828908389084890858908689087890888908989090890918909289093890948909589096890978909889099891008910189102891038910489105891068910789108891098911089111891128911389114891158911689117891188911989120891218912289123891248912589126891278912889129891308913189132891338913489135891368913789138891398914089141891428914389144891458914689147891488914989150891518915289153891548915589156891578915889159891608916189162891638916489165891668916789168891698917089171891728917389174891758917689177891788917989180891818918289183891848918589186891878918889189891908919189192891938919489195891968919789198891998920089201892028920389204892058920689207892088920989210892118921289213892148921589216892178921889219892208922189222892238922489225892268922789228892298923089231892328923389234892358923689237892388923989240892418924289243892448924589246892478924889249892508925189252892538925489255892568925789258892598926089261892628926389264892658926689267892688926989270892718927289273892748927589276892778927889279892808928189282892838928489285892868928789288892898929089291892928929389294892958929689297892988929989300893018930289303893048930589306893078930889309893108931189312893138931489315893168931789318893198932089321893228932389324893258932689327893288932989330893318933289333893348933589336893378933889339893408934189342893438934489345893468934789348893498935089351893528935389354893558935689357893588935989360893618936289363893648936589366893678936889369893708937189372893738937489375893768937789378893798938089381893828938389384893858938689387893888938989390893918939289393893948939589396893978939889399894008940189402894038940489405894068940789408894098941089411894128941389414894158941689417894188941989420894218942289423894248942589426894278942889429894308943189432894338943489435894368943789438894398944089441894428944389444894458944689447894488944989450894518945289453894548945589456894578945889459894608946189462894638946489465894668946789468894698947089471894728947389474894758947689477894788947989480894818948289483894848948589486894878948889489894908949189492894938949489495894968949789498894998950089501895028950389504895058950689507895088950989510895118951289513895148951589516895178951889519895208952189522895238952489525895268952789528895298953089531895328953389534895358953689537895388953989540895418954289543895448954589546895478954889549895508955189552895538955489555895568955789558895598956089561895628956389564895658956689567895688956989570895718957289573895748957589576895778957889579895808958189582895838958489585895868958789588895898959089591895928959389594895958959689597895988959989600896018960289603896048960589606896078960889609896108961189612896138961489615896168961789618896198962089621896228962389624896258962689627896288962989630896318963289633896348963589636896378963889639896408964189642896438964489645896468964789648896498965089651896528965389654896558965689657896588965989660896618966289663896648966589666896678966889669896708967189672896738967489675896768967789678896798968089681896828968389684896858968689687896888968989690896918969289693896948969589696896978969889699897008970189702897038970489705897068970789708897098971089711897128971389714897158971689717897188971989720897218972289723897248972589726897278972889729897308973189732897338973489735897368973789738897398974089741897428974389744897458974689747897488974989750897518975289753897548975589756897578975889759897608976189762897638976489765897668976789768897698977089771897728977389774897758977689777897788977989780897818978289783897848978589786897878978889789897908979189792897938979489795897968979789798897998980089801898028980389804898058980689807898088980989810898118981289813898148981589816898178981889819898208982189822898238982489825898268982789828898298983089831898328983389834898358983689837898388983989840898418984289843898448984589846898478984889849898508985189852898538985489855898568985789858898598986089861898628986389864898658986689867898688986989870898718987289873898748987589876898778987889879898808988189882898838988489885898868988789888898898989089891898928989389894898958989689897898988989989900899018990289903899048990589906899078990889909899108991189912899138991489915899168991789918899198992089921899228992389924899258992689927899288992989930899318993289933899348993589936899378993889939899408994189942899438994489945899468994789948899498995089951899528995389954899558995689957899588995989960899618996289963899648996589966899678996889969899708997189972899738997489975899768997789978899798998089981899828998389984899858998689987899888998989990899918999289993899948999589996899978999889999900009000190002900039000490005900069000790008900099001090011900129001390014900159001690017900189001990020900219002290023900249002590026900279002890029900309003190032900339003490035900369003790038900399004090041900429004390044900459004690047900489004990050900519005290053900549005590056900579005890059900609006190062900639006490065900669006790068900699007090071900729007390074900759007690077900789007990080900819008290083900849008590086900879008890089900909009190092900939009490095900969009790098900999010090101901029010390104901059010690107901089010990110901119011290113901149011590116901179011890119901209012190122901239012490125901269012790128901299013090131901329013390134901359013690137901389013990140901419014290143901449014590146901479014890149901509015190152901539015490155901569015790158901599016090161901629016390164901659016690167901689016990170901719017290173901749017590176901779017890179901809018190182901839018490185901869018790188901899019090191901929019390194901959019690197901989019990200902019020290203902049020590206902079020890209902109021190212902139021490215902169021790218902199022090221902229022390224902259022690227902289022990230902319023290233902349023590236902379023890239902409024190242902439024490245902469024790248902499025090251902529025390254902559025690257902589025990260902619026290263902649026590266902679026890269902709027190272902739027490275902769027790278902799028090281902829028390284902859028690287902889028990290902919029290293902949029590296902979029890299903009030190302903039030490305903069030790308903099031090311903129031390314903159031690317903189031990320903219032290323903249032590326903279032890329903309033190332903339033490335903369033790338903399034090341903429034390344903459034690347903489034990350903519035290353903549035590356903579035890359903609036190362903639036490365903669036790368903699037090371903729037390374903759037690377903789037990380903819038290383903849038590386903879038890389903909039190392903939039490395903969039790398903999040090401904029040390404904059040690407904089040990410904119041290413904149041590416904179041890419904209042190422904239042490425904269042790428904299043090431904329043390434904359043690437904389043990440904419044290443904449044590446904479044890449904509045190452904539045490455904569045790458904599046090461904629046390464904659046690467904689046990470904719047290473904749047590476904779047890479904809048190482904839048490485904869048790488904899049090491904929049390494904959049690497904989049990500905019050290503905049050590506905079050890509905109051190512
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_activity2.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "client2world_activity2.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace client2world_protocols {
  16. namespace {
  17. const ::google::protobuf::Descriptor* packetw2c_activity_quest_notify_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. packetw2c_activity_quest_notify_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* packetw2c_syn_new_year_info_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. packetw2c_syn_new_year_info_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* packetc2w_recv_new_year_login_reward_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. packetc2w_recv_new_year_login_reward_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* packetw2c_recv_new_year_login_reward_result_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. packetw2c_recv_new_year_login_reward_result_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetw2c_syn_national_day_info_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetw2c_syn_national_day_info_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetw2c_national_day_quest_notify_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetw2c_national_day_quest_notify_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetc2w_recv_national_day_login_reward_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetc2w_recv_national_day_login_reward_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* packetw2c_recv_national_day_login_reward_result_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. packetw2c_recv_national_day_login_reward_result_reflection_ = NULL;
  41. const ::google::protobuf::Descriptor* packetc2w_recv_national_day_quest_award_descriptor_ = NULL;
  42. const ::google::protobuf::internal::GeneratedMessageReflection*
  43. packetc2w_recv_national_day_quest_award_reflection_ = NULL;
  44. const ::google::protobuf::Descriptor* packetw2c_recv_national_day_quest_award_result_descriptor_ = NULL;
  45. const ::google::protobuf::internal::GeneratedMessageReflection*
  46. packetw2c_recv_national_day_quest_award_result_reflection_ = NULL;
  47. const ::google::protobuf::Descriptor* packetc2w_national_day_choose_task_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. packetc2w_national_day_choose_task_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* packetw2c_national_day_choose_task_result_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. packetw2c_national_day_choose_task_result_reflection_ = NULL;
  53. const ::google::protobuf::Descriptor* packetw2c_syn_spring_day_info_descriptor_ = NULL;
  54. const ::google::protobuf::internal::GeneratedMessageReflection*
  55. packetw2c_syn_spring_day_info_reflection_ = NULL;
  56. const ::google::protobuf::Descriptor* packetc2w_recv_spring_day_login_reward_descriptor_ = NULL;
  57. const ::google::protobuf::internal::GeneratedMessageReflection*
  58. packetc2w_recv_spring_day_login_reward_reflection_ = NULL;
  59. const ::google::protobuf::Descriptor* packetw2c_recv_spring_day_login_reward_result_descriptor_ = NULL;
  60. const ::google::protobuf::internal::GeneratedMessageReflection*
  61. packetw2c_recv_spring_day_login_reward_result_reflection_ = NULL;
  62. const ::google::protobuf::Descriptor* packetw2c_syn_hunt_fish_info_descriptor_ = NULL;
  63. const ::google::protobuf::internal::GeneratedMessageReflection*
  64. packetw2c_syn_hunt_fish_info_reflection_ = NULL;
  65. const ::google::protobuf::Descriptor* packetc2w_get_hunt_fish_quest_descriptor_ = NULL;
  66. const ::google::protobuf::internal::GeneratedMessageReflection*
  67. packetc2w_get_hunt_fish_quest_reflection_ = NULL;
  68. const ::google::protobuf::Descriptor* packetw2c_get_hunt_fish_quest_result_descriptor_ = NULL;
  69. const ::google::protobuf::internal::GeneratedMessageReflection*
  70. packetw2c_get_hunt_fish_quest_result_reflection_ = NULL;
  71. const ::google::protobuf::Descriptor* packetc2w_recv_hunt_fish_quest_award_descriptor_ = NULL;
  72. const ::google::protobuf::internal::GeneratedMessageReflection*
  73. packetc2w_recv_hunt_fish_quest_award_reflection_ = NULL;
  74. const ::google::protobuf::Descriptor* packetw2c_recv_hunt_fish_quest_award_result_descriptor_ = NULL;
  75. const ::google::protobuf::internal::GeneratedMessageReflection*
  76. packetw2c_recv_hunt_fish_quest_award_result_reflection_ = NULL;
  77. const ::google::protobuf::Descriptor* packetw2c_syn_recharge_activity_info_descriptor_ = NULL;
  78. const ::google::protobuf::internal::GeneratedMessageReflection*
  79. packetw2c_syn_recharge_activity_info_reflection_ = NULL;
  80. const ::google::protobuf::Descriptor* packetc2w_recharge_activity_rebate_descriptor_ = NULL;
  81. const ::google::protobuf::internal::GeneratedMessageReflection*
  82. packetc2w_recharge_activity_rebate_reflection_ = NULL;
  83. const ::google::protobuf::Descriptor* packetw2c_recharge_activity_rebate_result_descriptor_ = NULL;
  84. const ::google::protobuf::internal::GeneratedMessageReflection*
  85. packetw2c_recharge_activity_rebate_result_reflection_ = NULL;
  86. const ::google::protobuf::Descriptor* packetw2c_syn_wuyi_vacation_info_descriptor_ = NULL;
  87. const ::google::protobuf::internal::GeneratedMessageReflection*
  88. packetw2c_syn_wuyi_vacation_info_reflection_ = NULL;
  89. const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_login_reward_descriptor_ = NULL;
  90. const ::google::protobuf::internal::GeneratedMessageReflection*
  91. packetc2w_recv_wuyi_login_reward_reflection_ = NULL;
  92. const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_login_reward_result_descriptor_ = NULL;
  93. const ::google::protobuf::internal::GeneratedMessageReflection*
  94. packetw2c_recv_wuyi_login_reward_result_reflection_ = NULL;
  95. const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_quest_award_descriptor_ = NULL;
  96. const ::google::protobuf::internal::GeneratedMessageReflection*
  97. packetc2w_recv_wuyi_quest_award_reflection_ = NULL;
  98. const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_quest_award_result_descriptor_ = NULL;
  99. const ::google::protobuf::internal::GeneratedMessageReflection*
  100. packetw2c_recv_wuyi_quest_award_result_reflection_ = NULL;
  101. const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_handbooks_gold_descriptor_ = NULL;
  102. const ::google::protobuf::internal::GeneratedMessageReflection*
  103. packetc2w_recv_wuyi_handbooks_gold_reflection_ = NULL;
  104. const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_handbooks_gold_result_descriptor_ = NULL;
  105. const ::google::protobuf::internal::GeneratedMessageReflection*
  106. packetw2c_recv_wuyi_handbooks_gold_result_reflection_ = NULL;
  107. const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_handbooks_award_descriptor_ = NULL;
  108. const ::google::protobuf::internal::GeneratedMessageReflection*
  109. packetc2w_recv_wuyi_handbooks_award_reflection_ = NULL;
  110. const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_handbooks_award_result_descriptor_ = NULL;
  111. const ::google::protobuf::internal::GeneratedMessageReflection*
  112. packetw2c_recv_wuyi_handbooks_award_result_reflection_ = NULL;
  113. const ::google::protobuf::Descriptor* packetc2w_wuyi_lottery_descriptor_ = NULL;
  114. const ::google::protobuf::internal::GeneratedMessageReflection*
  115. packetc2w_wuyi_lottery_reflection_ = NULL;
  116. const ::google::protobuf::Descriptor* packetw2c_wuyi_lottery_result_descriptor_ = NULL;
  117. const ::google::protobuf::internal::GeneratedMessageReflection*
  118. packetw2c_wuyi_lottery_result_reflection_ = NULL;
  119. const ::google::protobuf::Descriptor* pointRewardInfos_descriptor_ = NULL;
  120. const ::google::protobuf::internal::GeneratedMessageReflection*
  121. pointRewardInfos_reflection_ = NULL;
  122. const ::google::protobuf::Descriptor* pointInfos_descriptor_ = NULL;
  123. const ::google::protobuf::internal::GeneratedMessageReflection*
  124. pointInfos_reflection_ = NULL;
  125. const ::google::protobuf::Descriptor* packetw2c_syn_room_quest_info_descriptor_ = NULL;
  126. const ::google::protobuf::internal::GeneratedMessageReflection*
  127. packetw2c_syn_room_quest_info_reflection_ = NULL;
  128. const ::google::protobuf::Descriptor* packetc2w_get_room_quest_descriptor_ = NULL;
  129. const ::google::protobuf::internal::GeneratedMessageReflection*
  130. packetc2w_get_room_quest_reflection_ = NULL;
  131. const ::google::protobuf::Descriptor* packetw2c_get_room_quest_result_descriptor_ = NULL;
  132. const ::google::protobuf::internal::GeneratedMessageReflection*
  133. packetw2c_get_room_quest_result_reflection_ = NULL;
  134. const ::google::protobuf::Descriptor* packetc2w_recv_room_quest_award_descriptor_ = NULL;
  135. const ::google::protobuf::internal::GeneratedMessageReflection*
  136. packetc2w_recv_room_quest_award_reflection_ = NULL;
  137. const ::google::protobuf::Descriptor* packetw2c_recv_room_quest_award_result_descriptor_ = NULL;
  138. const ::google::protobuf::internal::GeneratedMessageReflection*
  139. packetw2c_recv_room_quest_award_result_reflection_ = NULL;
  140. const ::google::protobuf::Descriptor* packetc2w_recv_room_quest_point_award_descriptor_ = NULL;
  141. const ::google::protobuf::internal::GeneratedMessageReflection*
  142. packetc2w_recv_room_quest_point_award_reflection_ = NULL;
  143. const ::google::protobuf::Descriptor* packetw2c_recv_room_quest_point_award_result_descriptor_ = NULL;
  144. const ::google::protobuf::internal::GeneratedMessageReflection*
  145. packetw2c_recv_room_quest_point_award_result_reflection_ = NULL;
  146. const ::google::protobuf::Descriptor* packetw2c_syn_catch_fish_info_descriptor_ = NULL;
  147. const ::google::protobuf::internal::GeneratedMessageReflection*
  148. packetw2c_syn_catch_fish_info_reflection_ = NULL;
  149. const ::google::protobuf::Descriptor* catchFishHistory_descriptor_ = NULL;
  150. const ::google::protobuf::internal::GeneratedMessageReflection*
  151. catchFishHistory_reflection_ = NULL;
  152. const ::google::protobuf::Descriptor* catchFishInfo_descriptor_ = NULL;
  153. const ::google::protobuf::internal::GeneratedMessageReflection*
  154. catchFishInfo_reflection_ = NULL;
  155. const ::google::protobuf::Descriptor* packetc2w_catch_fish_descriptor_ = NULL;
  156. const ::google::protobuf::internal::GeneratedMessageReflection*
  157. packetc2w_catch_fish_reflection_ = NULL;
  158. const ::google::protobuf::Descriptor* packetw2c_catch_fish_result_descriptor_ = NULL;
  159. const ::google::protobuf::internal::GeneratedMessageReflection*
  160. packetw2c_catch_fish_result_reflection_ = NULL;
  161. const ::google::protobuf::Descriptor* packetc2w_catch_fish_history_descriptor_ = NULL;
  162. const ::google::protobuf::internal::GeneratedMessageReflection*
  163. packetc2w_catch_fish_history_reflection_ = NULL;
  164. const ::google::protobuf::Descriptor* packetw2c_catch_fish_history_result_descriptor_ = NULL;
  165. const ::google::protobuf::internal::GeneratedMessageReflection*
  166. packetw2c_catch_fish_history_result_reflection_ = NULL;
  167. const ::google::protobuf::Descriptor* packetw2c_syn_duanwu_vacation_info_descriptor_ = NULL;
  168. const ::google::protobuf::internal::GeneratedMessageReflection*
  169. packetw2c_syn_duanwu_vacation_info_reflection_ = NULL;
  170. const ::google::protobuf::Descriptor* packetc2w_get_duanwu_vacation_quest_descriptor_ = NULL;
  171. const ::google::protobuf::internal::GeneratedMessageReflection*
  172. packetc2w_get_duanwu_vacation_quest_reflection_ = NULL;
  173. const ::google::protobuf::Descriptor* packetw2c_get_duanwu_vacation_quest_result_descriptor_ = NULL;
  174. const ::google::protobuf::internal::GeneratedMessageReflection*
  175. packetw2c_get_duanwu_vacation_quest_result_reflection_ = NULL;
  176. const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_login_reward_descriptor_ = NULL;
  177. const ::google::protobuf::internal::GeneratedMessageReflection*
  178. packetc2w_recv_duanwu_login_reward_reflection_ = NULL;
  179. const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_login_reward_result_descriptor_ = NULL;
  180. const ::google::protobuf::internal::GeneratedMessageReflection*
  181. packetw2c_recv_duanwu_login_reward_result_reflection_ = NULL;
  182. const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_quest_award_descriptor_ = NULL;
  183. const ::google::protobuf::internal::GeneratedMessageReflection*
  184. packetc2w_recv_duanwu_quest_award_reflection_ = NULL;
  185. const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_quest_award_result_descriptor_ = NULL;
  186. const ::google::protobuf::internal::GeneratedMessageReflection*
  187. packetw2c_recv_duanwu_quest_award_result_reflection_ = NULL;
  188. const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_handbooks_gold_descriptor_ = NULL;
  189. const ::google::protobuf::internal::GeneratedMessageReflection*
  190. packetc2w_recv_duanwu_handbooks_gold_reflection_ = NULL;
  191. const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_handbooks_gold_result_descriptor_ = NULL;
  192. const ::google::protobuf::internal::GeneratedMessageReflection*
  193. packetw2c_recv_duanwu_handbooks_gold_result_reflection_ = NULL;
  194. const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_handbooks_award_descriptor_ = NULL;
  195. const ::google::protobuf::internal::GeneratedMessageReflection*
  196. packetc2w_recv_duanwu_handbooks_award_reflection_ = NULL;
  197. const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_handbooks_award_result_descriptor_ = NULL;
  198. const ::google::protobuf::internal::GeneratedMessageReflection*
  199. packetw2c_recv_duanwu_handbooks_award_result_reflection_ = NULL;
  200. const ::google::protobuf::Descriptor* packetc2w_duanwu_lottery_descriptor_ = NULL;
  201. const ::google::protobuf::internal::GeneratedMessageReflection*
  202. packetc2w_duanwu_lottery_reflection_ = NULL;
  203. const ::google::protobuf::Descriptor* packetw2c_duanwu_lottery_result_descriptor_ = NULL;
  204. const ::google::protobuf::internal::GeneratedMessageReflection*
  205. packetw2c_duanwu_lottery_result_reflection_ = NULL;
  206. const ::google::protobuf::Descriptor* packetw2c_syn_summer_vacation_info_descriptor_ = NULL;
  207. const ::google::protobuf::internal::GeneratedMessageReflection*
  208. packetw2c_syn_summer_vacation_info_reflection_ = NULL;
  209. const ::google::protobuf::Descriptor* packetc2w_get_summer_quest_descriptor_ = NULL;
  210. const ::google::protobuf::internal::GeneratedMessageReflection*
  211. packetc2w_get_summer_quest_reflection_ = NULL;
  212. const ::google::protobuf::Descriptor* packetw2c_get_summer_quest_result_descriptor_ = NULL;
  213. const ::google::protobuf::internal::GeneratedMessageReflection*
  214. packetw2c_get_summer_quest_result_reflection_ = NULL;
  215. const ::google::protobuf::Descriptor* packetc2w_recv_summer_login_reward_descriptor_ = NULL;
  216. const ::google::protobuf::internal::GeneratedMessageReflection*
  217. packetc2w_recv_summer_login_reward_reflection_ = NULL;
  218. const ::google::protobuf::Descriptor* packetw2c_recv_summer_login_reward_result_descriptor_ = NULL;
  219. const ::google::protobuf::internal::GeneratedMessageReflection*
  220. packetw2c_recv_summer_login_reward_result_reflection_ = NULL;
  221. const ::google::protobuf::Descriptor* packetc2w_recv_summer_quest_award_descriptor_ = NULL;
  222. const ::google::protobuf::internal::GeneratedMessageReflection*
  223. packetc2w_recv_summer_quest_award_reflection_ = NULL;
  224. const ::google::protobuf::Descriptor* packetw2c_recv_summer_quest_award_result_descriptor_ = NULL;
  225. const ::google::protobuf::internal::GeneratedMessageReflection*
  226. packetw2c_recv_summer_quest_award_result_reflection_ = NULL;
  227. const ::google::protobuf::Descriptor* packetc2w_recv_summer_handbooks_gold_descriptor_ = NULL;
  228. const ::google::protobuf::internal::GeneratedMessageReflection*
  229. packetc2w_recv_summer_handbooks_gold_reflection_ = NULL;
  230. const ::google::protobuf::Descriptor* packetw2c_recv_summer_handbooks_gold_result_descriptor_ = NULL;
  231. const ::google::protobuf::internal::GeneratedMessageReflection*
  232. packetw2c_recv_summer_handbooks_gold_result_reflection_ = NULL;
  233. const ::google::protobuf::Descriptor* packetc2w_recv_summer_handbooks_award_descriptor_ = NULL;
  234. const ::google::protobuf::internal::GeneratedMessageReflection*
  235. packetc2w_recv_summer_handbooks_award_reflection_ = NULL;
  236. const ::google::protobuf::Descriptor* packetw2c_recv_summer_handbooks_award_result_descriptor_ = NULL;
  237. const ::google::protobuf::internal::GeneratedMessageReflection*
  238. packetw2c_recv_summer_handbooks_award_result_reflection_ = NULL;
  239. const ::google::protobuf::Descriptor* packetc2w_summer_lottery_descriptor_ = NULL;
  240. const ::google::protobuf::internal::GeneratedMessageReflection*
  241. packetc2w_summer_lottery_reflection_ = NULL;
  242. const ::google::protobuf::Descriptor* packetw2c_summer_lottery_result_descriptor_ = NULL;
  243. const ::google::protobuf::internal::GeneratedMessageReflection*
  244. packetw2c_summer_lottery_result_reflection_ = NULL;
  245. const ::google::protobuf::Descriptor* onr_history_info_descriptor_ = NULL;
  246. const ::google::protobuf::internal::GeneratedMessageReflection*
  247. onr_history_info_reflection_ = NULL;
  248. const ::google::protobuf::Descriptor* packetw2c_syn_one_night_rich_info_descriptor_ = NULL;
  249. const ::google::protobuf::internal::GeneratedMessageReflection*
  250. packetw2c_syn_one_night_rich_info_reflection_ = NULL;
  251. const ::google::protobuf::Descriptor* packetc2w_recv_one_night_rich_award_descriptor_ = NULL;
  252. const ::google::protobuf::internal::GeneratedMessageReflection*
  253. packetc2w_recv_one_night_rich_award_reflection_ = NULL;
  254. const ::google::protobuf::Descriptor* packetw2c_recv_one_night_rich_result_descriptor_ = NULL;
  255. const ::google::protobuf::internal::GeneratedMessageReflection*
  256. packetw2c_recv_one_night_rich_result_reflection_ = NULL;
  257. const ::google::protobuf::Descriptor* packetc2w_recv_onr_historyList_descriptor_ = NULL;
  258. const ::google::protobuf::internal::GeneratedMessageReflection*
  259. packetc2w_recv_onr_historyList_reflection_ = NULL;
  260. const ::google::protobuf::Descriptor* packetw2c_recv_onr_historyList_result_descriptor_ = NULL;
  261. const ::google::protobuf::internal::GeneratedMessageReflection*
  262. packetw2c_recv_onr_historyList_result_reflection_ = NULL;
  263. const ::google::protobuf::Descriptor* packetw2c_syn_fortune_star_info_descriptor_ = NULL;
  264. const ::google::protobuf::internal::GeneratedMessageReflection*
  265. packetw2c_syn_fortune_star_info_reflection_ = NULL;
  266. const ::google::protobuf::Descriptor* packetc2w_get_fortune_star_quest_descriptor_ = NULL;
  267. const ::google::protobuf::internal::GeneratedMessageReflection*
  268. packetc2w_get_fortune_star_quest_reflection_ = NULL;
  269. const ::google::protobuf::Descriptor* packetw2c_get_fortune_star_quest_result_descriptor_ = NULL;
  270. const ::google::protobuf::internal::GeneratedMessageReflection*
  271. packetw2c_get_fortune_star_quest_result_reflection_ = NULL;
  272. const ::google::protobuf::Descriptor* packetc2w_recv_fortune_star_quest_award_descriptor_ = NULL;
  273. const ::google::protobuf::internal::GeneratedMessageReflection*
  274. packetc2w_recv_fortune_star_quest_award_reflection_ = NULL;
  275. const ::google::protobuf::Descriptor* packetw2c_recv_fortune_star_quest_award_result_descriptor_ = NULL;
  276. const ::google::protobuf::internal::GeneratedMessageReflection*
  277. packetw2c_recv_fortune_star_quest_award_result_reflection_ = NULL;
  278. const ::google::protobuf::Descriptor* packetc2w_recv_fortune_star_award_descriptor_ = NULL;
  279. const ::google::protobuf::internal::GeneratedMessageReflection*
  280. packetc2w_recv_fortune_star_award_reflection_ = NULL;
  281. const ::google::protobuf::Descriptor* packetw2c_recv_fortune_star_award_result_descriptor_ = NULL;
  282. const ::google::protobuf::internal::GeneratedMessageReflection*
  283. packetw2c_recv_fortune_star_award_result_reflection_ = NULL;
  284. const ::google::protobuf::Descriptor* activity_rank_descriptor_ = NULL;
  285. const ::google::protobuf::internal::GeneratedMessageReflection*
  286. activity_rank_reflection_ = NULL;
  287. const ::google::protobuf::Descriptor* personal_tailor_lottery_history_descriptor_ = NULL;
  288. const ::google::protobuf::internal::GeneratedMessageReflection*
  289. personal_tailor_lottery_history_reflection_ = NULL;
  290. const ::google::protobuf::Descriptor* packetw2c_syn_personal_tailor_info_descriptor_ = NULL;
  291. const ::google::protobuf::internal::GeneratedMessageReflection*
  292. packetw2c_syn_personal_tailor_info_reflection_ = NULL;
  293. const ::google::protobuf::Descriptor* packetc2w_get_personal_tailor_rank_descriptor_ = NULL;
  294. const ::google::protobuf::internal::GeneratedMessageReflection*
  295. packetc2w_get_personal_tailor_rank_reflection_ = NULL;
  296. const ::google::protobuf::Descriptor* packetw2c_get_personal_tailor_rank_result_descriptor_ = NULL;
  297. const ::google::protobuf::internal::GeneratedMessageReflection*
  298. packetw2c_get_personal_tailor_rank_result_reflection_ = NULL;
  299. const ::google::protobuf::Descriptor* packetc2w_get_personal_tailor_lottry_history_descriptor_ = NULL;
  300. const ::google::protobuf::internal::GeneratedMessageReflection*
  301. packetc2w_get_personal_tailor_lottry_history_reflection_ = NULL;
  302. const ::google::protobuf::Descriptor* packetw2c_get_personal_tailor_lottry_history_result_descriptor_ = NULL;
  303. const ::google::protobuf::internal::GeneratedMessageReflection*
  304. packetw2c_get_personal_tailor_lottry_history_result_reflection_ = NULL;
  305. const ::google::protobuf::Descriptor* packetc2w_personal_tailor_lottery_descriptor_ = NULL;
  306. const ::google::protobuf::internal::GeneratedMessageReflection*
  307. packetc2w_personal_tailor_lottery_reflection_ = NULL;
  308. const ::google::protobuf::Descriptor* packetw2c_personal_tailor_lottery_result_descriptor_ = NULL;
  309. const ::google::protobuf::internal::GeneratedMessageReflection*
  310. packetw2c_personal_tailor_lottery_result_reflection_ = NULL;
  311. const ::google::protobuf::Descriptor* packetc2w_personal_tailor_exchange_descriptor_ = NULL;
  312. const ::google::protobuf::internal::GeneratedMessageReflection*
  313. packetc2w_personal_tailor_exchange_reflection_ = NULL;
  314. const ::google::protobuf::Descriptor* packetw2c_personal_tailor_exchange_result_descriptor_ = NULL;
  315. const ::google::protobuf::internal::GeneratedMessageReflection*
  316. packetw2c_personal_tailor_exchange_result_reflection_ = NULL;
  317. const ::google::protobuf::Descriptor* packetw2c_syn_time_limit_purchase_info_descriptor_ = NULL;
  318. const ::google::protobuf::internal::GeneratedMessageReflection*
  319. packetw2c_syn_time_limit_purchase_info_reflection_ = NULL;
  320. const ::google::protobuf::Descriptor* packetc2w_time_limit_purchase_lottery_descriptor_ = NULL;
  321. const ::google::protobuf::internal::GeneratedMessageReflection*
  322. packetc2w_time_limit_purchase_lottery_reflection_ = NULL;
  323. const ::google::protobuf::Descriptor* packetw2c_time_limit_purchase_lottery_result_descriptor_ = NULL;
  324. const ::google::protobuf::internal::GeneratedMessageReflection*
  325. packetw2c_time_limit_purchase_lottery_result_reflection_ = NULL;
  326. const ::google::protobuf::Descriptor* packetw2c_syn_lucky_bag_info_descriptor_ = NULL;
  327. const ::google::protobuf::internal::GeneratedMessageReflection*
  328. packetw2c_syn_lucky_bag_info_reflection_ = NULL;
  329. const ::google::protobuf::Descriptor* packetw2c_syn_vip_limit_purchase_info_descriptor_ = NULL;
  330. const ::google::protobuf::internal::GeneratedMessageReflection*
  331. packetw2c_syn_vip_limit_purchase_info_reflection_ = NULL;
  332. const ::google::protobuf::Descriptor* packetw2c_syn_turret_lottery_info_descriptor_ = NULL;
  333. const ::google::protobuf::internal::GeneratedMessageReflection*
  334. packetw2c_syn_turret_lottery_info_reflection_ = NULL;
  335. const ::google::protobuf::Descriptor* packetc2w_turret_lottery_descriptor_ = NULL;
  336. const ::google::protobuf::internal::GeneratedMessageReflection*
  337. packetc2w_turret_lottery_reflection_ = NULL;
  338. const ::google::protobuf::Descriptor* packetw2c_turret_lottery_result_descriptor_ = NULL;
  339. const ::google::protobuf::internal::GeneratedMessageReflection*
  340. packetw2c_turret_lottery_result_reflection_ = NULL;
  341. const ::google::protobuf::Descriptor* packetw2c_syn_smashing_eggs_info_descriptor_ = NULL;
  342. const ::google::protobuf::internal::GeneratedMessageReflection*
  343. packetw2c_syn_smashing_eggs_info_reflection_ = NULL;
  344. const ::google::protobuf::Descriptor* packetc2w_get_smashing_eggs_info_descriptor_ = NULL;
  345. const ::google::protobuf::internal::GeneratedMessageReflection*
  346. packetc2w_get_smashing_eggs_info_reflection_ = NULL;
  347. const ::google::protobuf::Descriptor* packetc2w_smashing_eggs_descriptor_ = NULL;
  348. const ::google::protobuf::internal::GeneratedMessageReflection*
  349. packetc2w_smashing_eggs_reflection_ = NULL;
  350. const ::google::protobuf::Descriptor* packetw2c_smashing_eggs_result_descriptor_ = NULL;
  351. const ::google::protobuf::internal::GeneratedMessageReflection*
  352. packetw2c_smashing_eggs_result_reflection_ = NULL;
  353. const ::google::protobuf::Descriptor* packetc2w_get_smashing_eggs_rank_descriptor_ = NULL;
  354. const ::google::protobuf::internal::GeneratedMessageReflection*
  355. packetc2w_get_smashing_eggs_rank_reflection_ = NULL;
  356. const ::google::protobuf::Descriptor* packetw2c_get_smashing_eggs_rank_result_descriptor_ = NULL;
  357. const ::google::protobuf::internal::GeneratedMessageReflection*
  358. packetw2c_get_smashing_eggs_rank_result_reflection_ = NULL;
  359. const ::google::protobuf::Descriptor* packetw2c_syn_rich_lottery_info_descriptor_ = NULL;
  360. const ::google::protobuf::internal::GeneratedMessageReflection*
  361. packetw2c_syn_rich_lottery_info_reflection_ = NULL;
  362. const ::google::protobuf::Descriptor* packetc2w_rich_lottery_descriptor_ = NULL;
  363. const ::google::protobuf::internal::GeneratedMessageReflection*
  364. packetc2w_rich_lottery_reflection_ = NULL;
  365. const ::google::protobuf::Descriptor* packetw2c_rich_lottery_result_descriptor_ = NULL;
  366. const ::google::protobuf::internal::GeneratedMessageReflection*
  367. packetw2c_rich_lottery_result_reflection_ = NULL;
  368. const ::google::protobuf::Descriptor* packetw2c_syn_summer_revels_info_descriptor_ = NULL;
  369. const ::google::protobuf::internal::GeneratedMessageReflection*
  370. packetw2c_syn_summer_revels_info_reflection_ = NULL;
  371. const ::google::protobuf::Descriptor* packetc2w_get_summer_revels_rank_descriptor_ = NULL;
  372. const ::google::protobuf::internal::GeneratedMessageReflection*
  373. packetc2w_get_summer_revels_rank_reflection_ = NULL;
  374. const ::google::protobuf::Descriptor* packetw2c_get_summer_revels_rank_result_descriptor_ = NULL;
  375. const ::google::protobuf::internal::GeneratedMessageReflection*
  376. packetw2c_get_summer_revels_rank_result_reflection_ = NULL;
  377. const ::google::protobuf::Descriptor* packetc2w_summer_revels_lottery_descriptor_ = NULL;
  378. const ::google::protobuf::internal::GeneratedMessageReflection*
  379. packetc2w_summer_revels_lottery_reflection_ = NULL;
  380. const ::google::protobuf::Descriptor* packetw2c_summer_revels_lottery_result_descriptor_ = NULL;
  381. const ::google::protobuf::internal::GeneratedMessageReflection*
  382. packetw2c_summer_revels_lottery_result_reflection_ = NULL;
  383. const ::google::protobuf::Descriptor* attackInfo_descriptor_ = NULL;
  384. const ::google::protobuf::internal::GeneratedMessageReflection*
  385. attackInfo_reflection_ = NULL;
  386. const ::google::protobuf::Descriptor* demonTowerInfo_descriptor_ = NULL;
  387. const ::google::protobuf::internal::GeneratedMessageReflection*
  388. demonTowerInfo_reflection_ = NULL;
  389. const ::google::protobuf::Descriptor* weaponInfo_descriptor_ = NULL;
  390. const ::google::protobuf::internal::GeneratedMessageReflection*
  391. weaponInfo_reflection_ = NULL;
  392. const ::google::protobuf::Descriptor* packetw2c_syn_kill_demons_info_descriptor_ = NULL;
  393. const ::google::protobuf::internal::GeneratedMessageReflection*
  394. packetw2c_syn_kill_demons_info_reflection_ = NULL;
  395. const ::google::protobuf::Descriptor* packetc2w_recv_kill_demons_quest_award_descriptor_ = NULL;
  396. const ::google::protobuf::internal::GeneratedMessageReflection*
  397. packetc2w_recv_kill_demons_quest_award_reflection_ = NULL;
  398. const ::google::protobuf::Descriptor* packetw2c_recv_kill_demons_quest_award_result_descriptor_ = NULL;
  399. const ::google::protobuf::internal::GeneratedMessageReflection*
  400. packetw2c_recv_kill_demons_quest_award_result_reflection_ = NULL;
  401. const ::google::protobuf::Descriptor* packetc2w_recv_trial_score_award_descriptor_ = NULL;
  402. const ::google::protobuf::internal::GeneratedMessageReflection*
  403. packetc2w_recv_trial_score_award_reflection_ = NULL;
  404. const ::google::protobuf::Descriptor* packetw2c_recv_trial_score_award_result_descriptor_ = NULL;
  405. const ::google::protobuf::internal::GeneratedMessageReflection*
  406. packetw2c_recv_trial_score_award_result_reflection_ = NULL;
  407. const ::google::protobuf::Descriptor* packetc2w_recv_star_award_descriptor_ = NULL;
  408. const ::google::protobuf::internal::GeneratedMessageReflection*
  409. packetc2w_recv_star_award_reflection_ = NULL;
  410. const ::google::protobuf::Descriptor* packetw2c_recv_star_award_result_descriptor_ = NULL;
  411. const ::google::protobuf::internal::GeneratedMessageReflection*
  412. packetw2c_recv_star_award_result_reflection_ = NULL;
  413. const ::google::protobuf::Descriptor* packetc2w_attack_demon_descriptor_ = NULL;
  414. const ::google::protobuf::internal::GeneratedMessageReflection*
  415. packetc2w_attack_demon_reflection_ = NULL;
  416. const ::google::protobuf::Descriptor* packetw2c_attack_demon_result_descriptor_ = NULL;
  417. const ::google::protobuf::internal::GeneratedMessageReflection*
  418. packetw2c_attack_demon_result_reflection_ = NULL;
  419. const ::google::protobuf::Descriptor* packetc2w_get_kill_demons_rank_descriptor_ = NULL;
  420. const ::google::protobuf::internal::GeneratedMessageReflection*
  421. packetc2w_get_kill_demons_rank_reflection_ = NULL;
  422. const ::google::protobuf::Descriptor* packetw2c_get_kill_demons_rank_result_descriptor_ = NULL;
  423. const ::google::protobuf::internal::GeneratedMessageReflection*
  424. packetw2c_get_kill_demons_rank_result_reflection_ = NULL;
  425. const ::google::protobuf::Descriptor* packetc2w_kill_demons_smelt_descriptor_ = NULL;
  426. const ::google::protobuf::internal::GeneratedMessageReflection*
  427. packetc2w_kill_demons_smelt_reflection_ = NULL;
  428. const ::google::protobuf::Descriptor* packetw2c_kill_demons_smelt_result_descriptor_ = NULL;
  429. const ::google::protobuf::internal::GeneratedMessageReflection*
  430. packetw2c_kill_demons_smelt_result_reflection_ = NULL;
  431. const ::google::protobuf::Descriptor* packetc2w_recv_sword_energy_award_descriptor_ = NULL;
  432. const ::google::protobuf::internal::GeneratedMessageReflection*
  433. packetc2w_recv_sword_energy_award_reflection_ = NULL;
  434. const ::google::protobuf::Descriptor* packetw2c_recv_sword_energy_award_result_descriptor_ = NULL;
  435. const ::google::protobuf::internal::GeneratedMessageReflection*
  436. packetw2c_recv_sword_energy_award_result_reflection_ = NULL;
  437. const ::google::protobuf::Descriptor* packetc2w_kill_demons_task_descriptor_ = NULL;
  438. const ::google::protobuf::internal::GeneratedMessageReflection*
  439. packetc2w_kill_demons_task_reflection_ = NULL;
  440. const ::google::protobuf::Descriptor* packetw2c_kill_demons_task_result_descriptor_ = NULL;
  441. const ::google::protobuf::internal::GeneratedMessageReflection*
  442. packetw2c_kill_demons_task_result_reflection_ = NULL;
  443. const ::google::protobuf::Descriptor* packetw2c_syn_2020_national_info_descriptor_ = NULL;
  444. const ::google::protobuf::internal::GeneratedMessageReflection*
  445. packetw2c_syn_2020_national_info_reflection_ = NULL;
  446. const ::google::protobuf::Descriptor* packetc2w_get_2020_national_quest_descriptor_ = NULL;
  447. const ::google::protobuf::internal::GeneratedMessageReflection*
  448. packetc2w_get_2020_national_quest_reflection_ = NULL;
  449. const ::google::protobuf::Descriptor* packetw2c_get_2020_national_quest_result_descriptor_ = NULL;
  450. const ::google::protobuf::internal::GeneratedMessageReflection*
  451. packetw2c_get_2020_national_quest_result_reflection_ = NULL;
  452. const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_login_reward_descriptor_ = NULL;
  453. const ::google::protobuf::internal::GeneratedMessageReflection*
  454. packetc2w_recv_2020_national_login_reward_reflection_ = NULL;
  455. const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_login_reward_result_descriptor_ = NULL;
  456. const ::google::protobuf::internal::GeneratedMessageReflection*
  457. packetw2c_recv_2020_national_login_reward_result_reflection_ = NULL;
  458. const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_quest_award_descriptor_ = NULL;
  459. const ::google::protobuf::internal::GeneratedMessageReflection*
  460. packetc2w_recv_2020_national_quest_award_reflection_ = NULL;
  461. const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_quest_award_result_descriptor_ = NULL;
  462. const ::google::protobuf::internal::GeneratedMessageReflection*
  463. packetw2c_recv_2020_national_quest_award_result_reflection_ = NULL;
  464. const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_handbooks_gold_descriptor_ = NULL;
  465. const ::google::protobuf::internal::GeneratedMessageReflection*
  466. packetc2w_recv_2020_national_handbooks_gold_reflection_ = NULL;
  467. const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_handbooks_gold_result_descriptor_ = NULL;
  468. const ::google::protobuf::internal::GeneratedMessageReflection*
  469. packetw2c_recv_2020_national_handbooks_gold_result_reflection_ = NULL;
  470. const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_handbooks_award_descriptor_ = NULL;
  471. const ::google::protobuf::internal::GeneratedMessageReflection*
  472. packetc2w_recv_2020_national_handbooks_award_reflection_ = NULL;
  473. const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_handbooks_award_result_descriptor_ = NULL;
  474. const ::google::protobuf::internal::GeneratedMessageReflection*
  475. packetw2c_recv_2020_national_handbooks_award_result_reflection_ = NULL;
  476. const ::google::protobuf::Descriptor* packetc2w_2020_national_lottery_descriptor_ = NULL;
  477. const ::google::protobuf::internal::GeneratedMessageReflection*
  478. packetc2w_2020_national_lottery_reflection_ = NULL;
  479. const ::google::protobuf::Descriptor* packetw2c_2020_national_lottery_result_descriptor_ = NULL;
  480. const ::google::protobuf::internal::GeneratedMessageReflection*
  481. packetw2c_2020_national_lottery_result_reflection_ = NULL;
  482. const ::google::protobuf::Descriptor* packetw2c_syn_personal_tailor_new_info_descriptor_ = NULL;
  483. const ::google::protobuf::internal::GeneratedMessageReflection*
  484. packetw2c_syn_personal_tailor_new_info_reflection_ = NULL;
  485. const ::google::protobuf::Descriptor* packetc2w_change_personal_tailor_items_descriptor_ = NULL;
  486. const ::google::protobuf::internal::GeneratedMessageReflection*
  487. packetc2w_change_personal_tailor_items_reflection_ = NULL;
  488. const ::google::protobuf::Descriptor* packetw2c_change_personal_tailor_items_result_descriptor_ = NULL;
  489. const ::google::protobuf::internal::GeneratedMessageReflection*
  490. packetw2c_change_personal_tailor_items_result_reflection_ = NULL;
  491. const ::google::protobuf::Descriptor* packetw2c_syn_super_value_gift_activity_info_descriptor_ = NULL;
  492. const ::google::protobuf::internal::GeneratedMessageReflection*
  493. packetw2c_syn_super_value_gift_activity_info_reflection_ = NULL;
  494. const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_info_descriptor_ = NULL;
  495. const ::google::protobuf::internal::GeneratedMessageReflection*
  496. packetw2c_syn_double_eleven_info_reflection_ = NULL;
  497. const ::google::protobuf::Descriptor* packetc2w_get_double_eleven_quest_descriptor_ = NULL;
  498. const ::google::protobuf::internal::GeneratedMessageReflection*
  499. packetc2w_get_double_eleven_quest_reflection_ = NULL;
  500. const ::google::protobuf::Descriptor* packetw2c_get_double_eleven_quest_result_descriptor_ = NULL;
  501. const ::google::protobuf::internal::GeneratedMessageReflection*
  502. packetw2c_get_double_eleven_quest_result_reflection_ = NULL;
  503. const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_gift_reflush_descriptor_ = NULL;
  504. const ::google::protobuf::internal::GeneratedMessageReflection*
  505. packetw2c_syn_double_eleven_gift_reflush_reflection_ = NULL;
  506. const ::google::protobuf::Descriptor* packetc2w_get_double_eleven_rank_descriptor_ = NULL;
  507. const ::google::protobuf::internal::GeneratedMessageReflection*
  508. packetc2w_get_double_eleven_rank_reflection_ = NULL;
  509. const ::google::protobuf::Descriptor* packetw2c_get_double_eleven_rank_result_descriptor_ = NULL;
  510. const ::google::protobuf::internal::GeneratedMessageReflection*
  511. packetw2c_get_double_eleven_rank_result_reflection_ = NULL;
  512. const ::google::protobuf::Descriptor* packetc2w_double_eleven_lottery_descriptor_ = NULL;
  513. const ::google::protobuf::internal::GeneratedMessageReflection*
  514. packetc2w_double_eleven_lottery_reflection_ = NULL;
  515. const ::google::protobuf::Descriptor* packetw2c_double_eleven_lottery_result_descriptor_ = NULL;
  516. const ::google::protobuf::internal::GeneratedMessageReflection*
  517. packetw2c_double_eleven_lottery_result_reflection_ = NULL;
  518. const ::google::protobuf::Descriptor* packetc2w_receive_double_eleven_recharge_reward_descriptor_ = NULL;
  519. const ::google::protobuf::internal::GeneratedMessageReflection*
  520. packetc2w_receive_double_eleven_recharge_reward_reflection_ = NULL;
  521. const ::google::protobuf::Descriptor* packetw2c_receive_double_eleven_recharge_reward_result_descriptor_ = NULL;
  522. const ::google::protobuf::internal::GeneratedMessageReflection*
  523. packetw2c_receive_double_eleven_recharge_reward_result_reflection_ = NULL;
  524. const ::google::protobuf::Descriptor* packetc2w_syn_double_eleven_diamond_gift_count_descriptor_ = NULL;
  525. const ::google::protobuf::internal::GeneratedMessageReflection*
  526. packetc2w_syn_double_eleven_diamond_gift_count_reflection_ = NULL;
  527. const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_ = NULL;
  528. const ::google::protobuf::internal::GeneratedMessageReflection*
  529. packetw2c_syn_double_eleven_diamond_gift_count_result_reflection_ = NULL;
  530. const ::google::protobuf::Descriptor* packetc2w_recv_double_eleven_quest_award_descriptor_ = NULL;
  531. const ::google::protobuf::internal::GeneratedMessageReflection*
  532. packetc2w_recv_double_eleven_quest_award_reflection_ = NULL;
  533. const ::google::protobuf::Descriptor* packetw2c_recv_double_eleven_quest_award_result_descriptor_ = NULL;
  534. const ::google::protobuf::internal::GeneratedMessageReflection*
  535. packetw2c_recv_double_eleven_quest_award_result_reflection_ = NULL;
  536. const ::google::protobuf::Descriptor* packetc2w_double_eleven_buy_lottery_ticket_descriptor_ = NULL;
  537. const ::google::protobuf::internal::GeneratedMessageReflection*
  538. packetc2w_double_eleven_buy_lottery_ticket_reflection_ = NULL;
  539. const ::google::protobuf::Descriptor* packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_ = NULL;
  540. const ::google::protobuf::internal::GeneratedMessageReflection*
  541. packetw2c_double_eleven_buy_lottery_ticket_result_reflection_ = NULL;
  542. const ::google::protobuf::Descriptor* packetw2c_syn_wing_experience_info_descriptor_ = NULL;
  543. const ::google::protobuf::internal::GeneratedMessageReflection*
  544. packetw2c_syn_wing_experience_info_reflection_ = NULL;
  545. const ::google::protobuf::Descriptor* packetc2w_wing_experience_receive_wing_descriptor_ = NULL;
  546. const ::google::protobuf::internal::GeneratedMessageReflection*
  547. packetc2w_wing_experience_receive_wing_reflection_ = NULL;
  548. const ::google::protobuf::Descriptor* packetw2c_wing_experience_receive_wing_result_descriptor_ = NULL;
  549. const ::google::protobuf::internal::GeneratedMessageReflection*
  550. packetw2c_wing_experience_receive_wing_result_reflection_ = NULL;
  551. const ::google::protobuf::Descriptor* exchangeInfo_descriptor_ = NULL;
  552. const ::google::protobuf::internal::GeneratedMessageReflection*
  553. exchangeInfo_reflection_ = NULL;
  554. const ::google::protobuf::Descriptor* packetw2c_syn_kingcraft_info_descriptor_ = NULL;
  555. const ::google::protobuf::internal::GeneratedMessageReflection*
  556. packetw2c_syn_kingcraft_info_reflection_ = NULL;
  557. const ::google::protobuf::Descriptor* packetc2w_get_kingcraft_rank_descriptor_ = NULL;
  558. const ::google::protobuf::internal::GeneratedMessageReflection*
  559. packetc2w_get_kingcraft_rank_reflection_ = NULL;
  560. const ::google::protobuf::Descriptor* packetw2c_get_kingcraft_rank_result_descriptor_ = NULL;
  561. const ::google::protobuf::internal::GeneratedMessageReflection*
  562. packetw2c_get_kingcraft_rank_result_reflection_ = NULL;
  563. const ::google::protobuf::Descriptor* packetc2w_kingcraft_lottery_descriptor_ = NULL;
  564. const ::google::protobuf::internal::GeneratedMessageReflection*
  565. packetc2w_kingcraft_lottery_reflection_ = NULL;
  566. const ::google::protobuf::Descriptor* packetw2c_kingcraft_lottery_result_descriptor_ = NULL;
  567. const ::google::protobuf::internal::GeneratedMessageReflection*
  568. packetw2c_kingcraft_lottery_result_reflection_ = NULL;
  569. const ::google::protobuf::Descriptor* packetc2w_receive_kingcraft_recharge_reward_descriptor_ = NULL;
  570. const ::google::protobuf::internal::GeneratedMessageReflection*
  571. packetc2w_receive_kingcraft_recharge_reward_reflection_ = NULL;
  572. const ::google::protobuf::Descriptor* packetw2c_receive_kingcraft_recharge_reward_result_descriptor_ = NULL;
  573. const ::google::protobuf::internal::GeneratedMessageReflection*
  574. packetw2c_receive_kingcraft_recharge_reward_result_reflection_ = NULL;
  575. const ::google::protobuf::Descriptor* packetc2w_receive_kingcraft_exchange_descriptor_ = NULL;
  576. const ::google::protobuf::internal::GeneratedMessageReflection*
  577. packetc2w_receive_kingcraft_exchange_reflection_ = NULL;
  578. const ::google::protobuf::Descriptor* packetw2c_receive_kingcraft_exchange_result_descriptor_ = NULL;
  579. const ::google::protobuf::internal::GeneratedMessageReflection*
  580. packetw2c_receive_kingcraft_exchange_result_reflection_ = NULL;
  581. const ::google::protobuf::Descriptor* packetc2w_kingcraft_sign_descriptor_ = NULL;
  582. const ::google::protobuf::internal::GeneratedMessageReflection*
  583. packetc2w_kingcraft_sign_reflection_ = NULL;
  584. const ::google::protobuf::Descriptor* packetw2c_kingcraft_sign_result_descriptor_ = NULL;
  585. const ::google::protobuf::internal::GeneratedMessageReflection*
  586. packetw2c_kingcraft_sign_result_reflection_ = NULL;
  587. const ::google::protobuf::Descriptor* packetw2c_syn_double_egg_activity_info_descriptor_ = NULL;
  588. const ::google::protobuf::internal::GeneratedMessageReflection*
  589. packetw2c_syn_double_egg_activity_info_reflection_ = NULL;
  590. const ::google::protobuf::Descriptor* touchingFishRecInfo_descriptor_ = NULL;
  591. const ::google::protobuf::internal::GeneratedMessageReflection*
  592. touchingFishRecInfo_reflection_ = NULL;
  593. const ::google::protobuf::Descriptor* packetw2c_syn_touching_fish_activity_info_descriptor_ = NULL;
  594. const ::google::protobuf::internal::GeneratedMessageReflection*
  595. packetw2c_syn_touching_fish_activity_info_reflection_ = NULL;
  596. const ::google::protobuf::Descriptor* packetw2c_syn_touching_fish_exp_descriptor_ = NULL;
  597. const ::google::protobuf::internal::GeneratedMessageReflection*
  598. packetw2c_syn_touching_fish_exp_reflection_ = NULL;
  599. const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_level_reward_descriptor_ = NULL;
  600. const ::google::protobuf::internal::GeneratedMessageReflection*
  601. packetc2w_recv_touching_fish_level_reward_reflection_ = NULL;
  602. const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_level_reward_result_descriptor_ = NULL;
  603. const ::google::protobuf::internal::GeneratedMessageReflection*
  604. packetw2c_recv_touching_fish_level_reward_result_reflection_ = NULL;
  605. const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_task_descriptor_ = NULL;
  606. const ::google::protobuf::internal::GeneratedMessageReflection*
  607. packetc2w_recv_touching_fish_task_reflection_ = NULL;
  608. const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_task_result_descriptor_ = NULL;
  609. const ::google::protobuf::internal::GeneratedMessageReflection*
  610. packetw2c_recv_touching_fish_task_result_reflection_ = NULL;
  611. const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_quest_award_descriptor_ = NULL;
  612. const ::google::protobuf::internal::GeneratedMessageReflection*
  613. packetc2w_recv_touching_fish_quest_award_reflection_ = NULL;
  614. const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_quest_award_result_descriptor_ = NULL;
  615. const ::google::protobuf::internal::GeneratedMessageReflection*
  616. packetw2c_recv_touching_fish_quest_award_result_reflection_ = NULL;
  617. const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_week_box_descriptor_ = NULL;
  618. const ::google::protobuf::internal::GeneratedMessageReflection*
  619. packetc2w_recv_touching_fish_week_box_reflection_ = NULL;
  620. const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_week_box_result_descriptor_ = NULL;
  621. const ::google::protobuf::internal::GeneratedMessageReflection*
  622. packetw2c_recv_touching_fish_week_box_result_reflection_ = NULL;
  623. const ::google::protobuf::Descriptor* packetc2w_flush_touching_fish_quest_descriptor_ = NULL;
  624. const ::google::protobuf::internal::GeneratedMessageReflection*
  625. packetc2w_flush_touching_fish_quest_reflection_ = NULL;
  626. const ::google::protobuf::Descriptor* packetw2c_flush_touching_fish_quest_result_descriptor_ = NULL;
  627. const ::google::protobuf::internal::GeneratedMessageReflection*
  628. packetw2c_flush_touching_fish_quest_result_reflection_ = NULL;
  629. const ::google::protobuf::Descriptor* packetc2w_get_touching_fish_rank_descriptor_ = NULL;
  630. const ::google::protobuf::internal::GeneratedMessageReflection*
  631. packetc2w_get_touching_fish_rank_reflection_ = NULL;
  632. const ::google::protobuf::Descriptor* packetw2c_get_touching_fish_rank_result_descriptor_ = NULL;
  633. const ::google::protobuf::internal::GeneratedMessageReflection*
  634. packetw2c_get_touching_fish_rank_result_reflection_ = NULL;
  635. const ::google::protobuf::Descriptor* packetw2c_syn_fishing_celebration_info_descriptor_ = NULL;
  636. const ::google::protobuf::internal::GeneratedMessageReflection*
  637. packetw2c_syn_fishing_celebration_info_reflection_ = NULL;
  638. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_lottery_descriptor_ = NULL;
  639. const ::google::protobuf::internal::GeneratedMessageReflection*
  640. packetc2w_fishing_celebration_lottery_reflection_ = NULL;
  641. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_lottery_result_descriptor_ = NULL;
  642. const ::google::protobuf::internal::GeneratedMessageReflection*
  643. packetw2c_fishing_celebration_lottery_result_reflection_ = NULL;
  644. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_activate_descriptor_ = NULL;
  645. const ::google::protobuf::internal::GeneratedMessageReflection*
  646. packetc2w_fishing_celebration_activate_reflection_ = NULL;
  647. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_activate_result_descriptor_ = NULL;
  648. const ::google::protobuf::internal::GeneratedMessageReflection*
  649. packetw2c_fishing_celebration_activate_result_reflection_ = NULL;
  650. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_exchange_descriptor_ = NULL;
  651. const ::google::protobuf::internal::GeneratedMessageReflection*
  652. packetc2w_fishing_celebration_exchange_reflection_ = NULL;
  653. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_exchange_result_descriptor_ = NULL;
  654. const ::google::protobuf::internal::GeneratedMessageReflection*
  655. packetw2c_fishing_celebration_exchange_result_reflection_ = NULL;
  656. const ::google::protobuf::Descriptor* packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_ = NULL;
  657. const ::google::protobuf::internal::GeneratedMessageReflection*
  658. packetw2c_syn_fishing_celebration_free_gift_lottery_reflection_ = NULL;
  659. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_gift_lottery_descriptor_ = NULL;
  660. const ::google::protobuf::internal::GeneratedMessageReflection*
  661. packetc2w_fishing_celebration_gift_lottery_reflection_ = NULL;
  662. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_gift_lottery_result_descriptor_ = NULL;
  663. const ::google::protobuf::internal::GeneratedMessageReflection*
  664. packetw2c_fishing_celebration_gift_lottery_result_reflection_ = NULL;
  665. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_gift_lottery_reward_descriptor_ = NULL;
  666. const ::google::protobuf::internal::GeneratedMessageReflection*
  667. packetc2w_fishing_celebration_gift_lottery_reward_reflection_ = NULL;
  668. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_ = NULL;
  669. const ::google::protobuf::internal::GeneratedMessageReflection*
  670. packetw2c_fishing_celebration_gift_lottery_reward_result_reflection_ = NULL;
  671. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_buy_gift_descriptor_ = NULL;
  672. const ::google::protobuf::internal::GeneratedMessageReflection*
  673. packetc2w_fishing_celebration_buy_gift_reflection_ = NULL;
  674. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_buy_gift_result_descriptor_ = NULL;
  675. const ::google::protobuf::internal::GeneratedMessageReflection*
  676. packetw2c_fishing_celebration_buy_gift_result_reflection_ = NULL;
  677. const ::google::protobuf::Descriptor* packetc2w_get_fishing_celebration_rank_descriptor_ = NULL;
  678. const ::google::protobuf::internal::GeneratedMessageReflection*
  679. packetc2w_get_fishing_celebration_rank_reflection_ = NULL;
  680. const ::google::protobuf::Descriptor* packetw2c_get_fishing_celebration_rank_result_descriptor_ = NULL;
  681. const ::google::protobuf::internal::GeneratedMessageReflection*
  682. packetw2c_get_fishing_celebration_rank_result_reflection_ = NULL;
  683. const ::google::protobuf::Descriptor* prizeKey_descriptor_ = NULL;
  684. const ::google::protobuf::internal::GeneratedMessageReflection*
  685. prizeKey_reflection_ = NULL;
  686. const ::google::protobuf::Descriptor* packetw2c_syn_feed_back_info_descriptor_ = NULL;
  687. const ::google::protobuf::internal::GeneratedMessageReflection*
  688. packetw2c_syn_feed_back_info_reflection_ = NULL;
  689. const ::google::protobuf::Descriptor* packetc2w_get_feed_back_vip_reward_descriptor_ = NULL;
  690. const ::google::protobuf::internal::GeneratedMessageReflection*
  691. packetc2w_get_feed_back_vip_reward_reflection_ = NULL;
  692. const ::google::protobuf::Descriptor* packetw2c_get_feed_back_vip_reward_result_descriptor_ = NULL;
  693. const ::google::protobuf::internal::GeneratedMessageReflection*
  694. packetw2c_get_feed_back_vip_reward_result_reflection_ = NULL;
  695. const ::google::protobuf::Descriptor* packetc2w_get_feed_back_keylist_descriptor_ = NULL;
  696. const ::google::protobuf::internal::GeneratedMessageReflection*
  697. packetc2w_get_feed_back_keylist_reflection_ = NULL;
  698. const ::google::protobuf::Descriptor* packetw2c_get_feed_back_keylist_result_descriptor_ = NULL;
  699. const ::google::protobuf::internal::GeneratedMessageReflection*
  700. packetw2c_get_feed_back_keylist_result_reflection_ = NULL;
  701. const ::google::protobuf::Descriptor* packetw2c_syn_chip_treasure_info_descriptor_ = NULL;
  702. const ::google::protobuf::internal::GeneratedMessageReflection*
  703. packetw2c_syn_chip_treasure_info_reflection_ = NULL;
  704. const ::google::protobuf::Descriptor* packetc2w_chip_treasure_lottery_descriptor_ = NULL;
  705. const ::google::protobuf::internal::GeneratedMessageReflection*
  706. packetc2w_chip_treasure_lottery_reflection_ = NULL;
  707. const ::google::protobuf::Descriptor* packetw2c_chip_treasure_lottery_result_descriptor_ = NULL;
  708. const ::google::protobuf::internal::GeneratedMessageReflection*
  709. packetw2c_chip_treasure_lottery_result_reflection_ = NULL;
  710. const ::google::protobuf::Descriptor* sendGoldHistory_descriptor_ = NULL;
  711. const ::google::protobuf::internal::GeneratedMessageReflection*
  712. sendGoldHistory_reflection_ = NULL;
  713. const ::google::protobuf::Descriptor* sendGoldInfo_descriptor_ = NULL;
  714. const ::google::protobuf::internal::GeneratedMessageReflection*
  715. sendGoldInfo_reflection_ = NULL;
  716. const ::google::protobuf::Descriptor* packetw2c_syn_summer_plan_info_descriptor_ = NULL;
  717. const ::google::protobuf::internal::GeneratedMessageReflection*
  718. packetw2c_syn_summer_plan_info_reflection_ = NULL;
  719. const ::google::protobuf::Descriptor* packetc2w_summer_plan_get_redpacket_task_descriptor_ = NULL;
  720. const ::google::protobuf::internal::GeneratedMessageReflection*
  721. packetc2w_summer_plan_get_redpacket_task_reflection_ = NULL;
  722. const ::google::protobuf::Descriptor* packetw2c_summer_plan_get_redpacket_task_result_descriptor_ = NULL;
  723. const ::google::protobuf::internal::GeneratedMessageReflection*
  724. packetw2c_summer_plan_get_redpacket_task_result_reflection_ = NULL;
  725. const ::google::protobuf::Descriptor* packetc2w_summer_plan_sendgold_info_descriptor_ = NULL;
  726. const ::google::protobuf::internal::GeneratedMessageReflection*
  727. packetc2w_summer_plan_sendgold_info_reflection_ = NULL;
  728. const ::google::protobuf::Descriptor* packetw2c_summer_plan_sendgold_info_result_descriptor_ = NULL;
  729. const ::google::protobuf::internal::GeneratedMessageReflection*
  730. packetw2c_summer_plan_sendgold_info_result_reflection_ = NULL;
  731. const ::google::protobuf::Descriptor* packetc2w_summer_plan_active_descriptor_ = NULL;
  732. const ::google::protobuf::internal::GeneratedMessageReflection*
  733. packetc2w_summer_plan_active_reflection_ = NULL;
  734. const ::google::protobuf::Descriptor* packetw2c_summer_plan_active_result_descriptor_ = NULL;
  735. const ::google::protobuf::internal::GeneratedMessageReflection*
  736. packetw2c_summer_plan_active_result_reflection_ = NULL;
  737. const ::google::protobuf::Descriptor* packetc2w_summer_plan_recv_redpacket_descriptor_ = NULL;
  738. const ::google::protobuf::internal::GeneratedMessageReflection*
  739. packetc2w_summer_plan_recv_redpacket_reflection_ = NULL;
  740. const ::google::protobuf::Descriptor* packetw2c_summer_plan_recv_redpacket_result_descriptor_ = NULL;
  741. const ::google::protobuf::internal::GeneratedMessageReflection*
  742. packetw2c_summer_plan_recv_redpacket_result_reflection_ = NULL;
  743. const ::google::protobuf::Descriptor* packetc2w_summer_plan_recv_recharged_descriptor_ = NULL;
  744. const ::google::protobuf::internal::GeneratedMessageReflection*
  745. packetc2w_summer_plan_recv_recharged_reflection_ = NULL;
  746. const ::google::protobuf::Descriptor* packetw2c_summer_plan_recv_recharged_result_descriptor_ = NULL;
  747. const ::google::protobuf::internal::GeneratedMessageReflection*
  748. packetw2c_summer_plan_recv_recharged_result_reflection_ = NULL;
  749. const ::google::protobuf::Descriptor* packetc2w_summer_plan_buy_sendgold_gift_descriptor_ = NULL;
  750. const ::google::protobuf::internal::GeneratedMessageReflection*
  751. packetc2w_summer_plan_buy_sendgold_gift_reflection_ = NULL;
  752. const ::google::protobuf::Descriptor* packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_ = NULL;
  753. const ::google::protobuf::internal::GeneratedMessageReflection*
  754. packetw2c_summer_plan_buy_sendgold_gift_result_reflection_ = NULL;
  755. const ::google::protobuf::Descriptor* packetc2w_summer_plan_launch_descriptor_ = NULL;
  756. const ::google::protobuf::internal::GeneratedMessageReflection*
  757. packetc2w_summer_plan_launch_reflection_ = NULL;
  758. const ::google::protobuf::Descriptor* packetw2c_summer_plan_launch_result_descriptor_ = NULL;
  759. const ::google::protobuf::internal::GeneratedMessageReflection*
  760. packetw2c_summer_plan_launch_result_reflection_ = NULL;
  761. const ::google::protobuf::Descriptor* packetc2w_summer_plan_touch_gold_descriptor_ = NULL;
  762. const ::google::protobuf::internal::GeneratedMessageReflection*
  763. packetc2w_summer_plan_touch_gold_reflection_ = NULL;
  764. const ::google::protobuf::Descriptor* packetw2c_summer_plan_touch_gold_result_descriptor_ = NULL;
  765. const ::google::protobuf::internal::GeneratedMessageReflection*
  766. packetw2c_summer_plan_touch_gold_result_reflection_ = NULL;
  767. const ::google::protobuf::Descriptor* packetw2c_syn_happy_summer_info_descriptor_ = NULL;
  768. const ::google::protobuf::internal::GeneratedMessageReflection*
  769. packetw2c_syn_happy_summer_info_reflection_ = NULL;
  770. const ::google::protobuf::Descriptor* packetc2w_get_happy_summer_rank_descriptor_ = NULL;
  771. const ::google::protobuf::internal::GeneratedMessageReflection*
  772. packetc2w_get_happy_summer_rank_reflection_ = NULL;
  773. const ::google::protobuf::Descriptor* packetw2c_get_happy_summer_rank_result_descriptor_ = NULL;
  774. const ::google::protobuf::internal::GeneratedMessageReflection*
  775. packetw2c_get_happy_summer_rank_result_reflection_ = NULL;
  776. const ::google::protobuf::Descriptor* packetc2w_happy_summer_open_box_descriptor_ = NULL;
  777. const ::google::protobuf::internal::GeneratedMessageReflection*
  778. packetc2w_happy_summer_open_box_reflection_ = NULL;
  779. const ::google::protobuf::Descriptor* packetw2c_happy_summer_open_box_result_descriptor_ = NULL;
  780. const ::google::protobuf::internal::GeneratedMessageReflection*
  781. packetw2c_happy_summer_open_box_result_reflection_ = NULL;
  782. const ::google::protobuf::Descriptor* packetc2w_happy_summer_lottery_descriptor_ = NULL;
  783. const ::google::protobuf::internal::GeneratedMessageReflection*
  784. packetc2w_happy_summer_lottery_reflection_ = NULL;
  785. const ::google::protobuf::Descriptor* packetw2c_happy_summer_lottery_result_descriptor_ = NULL;
  786. const ::google::protobuf::internal::GeneratedMessageReflection*
  787. packetw2c_happy_summer_lottery_result_reflection_ = NULL;
  788. const ::google::protobuf::Descriptor* packetc2w_recv_happy_summer_quest_award_descriptor_ = NULL;
  789. const ::google::protobuf::internal::GeneratedMessageReflection*
  790. packetc2w_recv_happy_summer_quest_award_reflection_ = NULL;
  791. const ::google::protobuf::Descriptor* packetw2c_recv_happy_summer_quest_award_result_descriptor_ = NULL;
  792. const ::google::protobuf::internal::GeneratedMessageReflection*
  793. packetw2c_recv_happy_summer_quest_award_result_reflection_ = NULL;
  794. const ::google::protobuf::Descriptor* packetc2w_get_happy_summer_quest_descriptor_ = NULL;
  795. const ::google::protobuf::internal::GeneratedMessageReflection*
  796. packetc2w_get_happy_summer_quest_reflection_ = NULL;
  797. const ::google::protobuf::Descriptor* packetw2c_get_happy_summer_quest_result_descriptor_ = NULL;
  798. const ::google::protobuf::internal::GeneratedMessageReflection*
  799. packetw2c_get_happy_summer_quest_result_reflection_ = NULL;
  800. } // namespace
  801. void protobuf_AssignDesc_client2world_5factivity2_2eproto() {
  802. protobuf_AddDesc_client2world_5factivity2_2eproto();
  803. const ::google::protobuf::FileDescriptor* file =
  804. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  805. "client2world_activity2.proto");
  806. GOOGLE_CHECK(file != NULL);
  807. packetw2c_activity_quest_notify_descriptor_ = file->message_type(0);
  808. static const int packetw2c_activity_quest_notify_offsets_[7] = {
  809. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, packet_id_),
  810. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, activityid_),
  811. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, type_),
  812. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, id_),
  813. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, count_),
  814. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, param_),
  815. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, endtime_),
  816. };
  817. packetw2c_activity_quest_notify_reflection_ =
  818. new ::google::protobuf::internal::GeneratedMessageReflection(
  819. packetw2c_activity_quest_notify_descriptor_,
  820. packetw2c_activity_quest_notify::default_instance_,
  821. packetw2c_activity_quest_notify_offsets_,
  822. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, _has_bits_[0]),
  823. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_activity_quest_notify, _unknown_fields_),
  824. -1,
  825. ::google::protobuf::DescriptorPool::generated_pool(),
  826. ::google::protobuf::MessageFactory::generated_factory(),
  827. sizeof(packetw2c_activity_quest_notify));
  828. packetw2c_syn_new_year_info_descriptor_ = file->message_type(1);
  829. static const int packetw2c_syn_new_year_info_offsets_[5] = {
  830. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, packet_id_),
  831. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, activitystate_),
  832. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, starttime_),
  833. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, endtime_),
  834. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, signlist_),
  835. };
  836. packetw2c_syn_new_year_info_reflection_ =
  837. new ::google::protobuf::internal::GeneratedMessageReflection(
  838. packetw2c_syn_new_year_info_descriptor_,
  839. packetw2c_syn_new_year_info::default_instance_,
  840. packetw2c_syn_new_year_info_offsets_,
  841. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, _has_bits_[0]),
  842. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_new_year_info, _unknown_fields_),
  843. -1,
  844. ::google::protobuf::DescriptorPool::generated_pool(),
  845. ::google::protobuf::MessageFactory::generated_factory(),
  846. sizeof(packetw2c_syn_new_year_info));
  847. packetc2w_recv_new_year_login_reward_descriptor_ = file->message_type(2);
  848. static const int packetc2w_recv_new_year_login_reward_offsets_[2] = {
  849. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_new_year_login_reward, packet_id_),
  850. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_new_year_login_reward, signindex_),
  851. };
  852. packetc2w_recv_new_year_login_reward_reflection_ =
  853. new ::google::protobuf::internal::GeneratedMessageReflection(
  854. packetc2w_recv_new_year_login_reward_descriptor_,
  855. packetc2w_recv_new_year_login_reward::default_instance_,
  856. packetc2w_recv_new_year_login_reward_offsets_,
  857. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_new_year_login_reward, _has_bits_[0]),
  858. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_new_year_login_reward, _unknown_fields_),
  859. -1,
  860. ::google::protobuf::DescriptorPool::generated_pool(),
  861. ::google::protobuf::MessageFactory::generated_factory(),
  862. sizeof(packetc2w_recv_new_year_login_reward));
  863. packetw2c_recv_new_year_login_reward_result_descriptor_ = file->message_type(3);
  864. static const int packetw2c_recv_new_year_login_reward_result_offsets_[3] = {
  865. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, packet_id_),
  866. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, signindex_),
  867. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, result_),
  868. };
  869. packetw2c_recv_new_year_login_reward_result_reflection_ =
  870. new ::google::protobuf::internal::GeneratedMessageReflection(
  871. packetw2c_recv_new_year_login_reward_result_descriptor_,
  872. packetw2c_recv_new_year_login_reward_result::default_instance_,
  873. packetw2c_recv_new_year_login_reward_result_offsets_,
  874. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, _has_bits_[0]),
  875. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_new_year_login_reward_result, _unknown_fields_),
  876. -1,
  877. ::google::protobuf::DescriptorPool::generated_pool(),
  878. ::google::protobuf::MessageFactory::generated_factory(),
  879. sizeof(packetw2c_recv_new_year_login_reward_result));
  880. packetw2c_syn_national_day_info_descriptor_ = file->message_type(4);
  881. static const int packetw2c_syn_national_day_info_offsets_[8] = {
  882. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, packet_id_),
  883. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, activitystate_),
  884. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, starttime_),
  885. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, endtime_),
  886. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, signlist_),
  887. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, questbranch_),
  888. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, questlist_),
  889. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, rewardrecvlist_),
  890. };
  891. packetw2c_syn_national_day_info_reflection_ =
  892. new ::google::protobuf::internal::GeneratedMessageReflection(
  893. packetw2c_syn_national_day_info_descriptor_,
  894. packetw2c_syn_national_day_info::default_instance_,
  895. packetw2c_syn_national_day_info_offsets_,
  896. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, _has_bits_[0]),
  897. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_national_day_info, _unknown_fields_),
  898. -1,
  899. ::google::protobuf::DescriptorPool::generated_pool(),
  900. ::google::protobuf::MessageFactory::generated_factory(),
  901. sizeof(packetw2c_syn_national_day_info));
  902. packetw2c_national_day_quest_notify_descriptor_ = file->message_type(5);
  903. static const int packetw2c_national_day_quest_notify_offsets_[5] = {
  904. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, packet_id_),
  905. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, type_),
  906. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, id_),
  907. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, count_),
  908. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, endtime_),
  909. };
  910. packetw2c_national_day_quest_notify_reflection_ =
  911. new ::google::protobuf::internal::GeneratedMessageReflection(
  912. packetw2c_national_day_quest_notify_descriptor_,
  913. packetw2c_national_day_quest_notify::default_instance_,
  914. packetw2c_national_day_quest_notify_offsets_,
  915. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, _has_bits_[0]),
  916. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_quest_notify, _unknown_fields_),
  917. -1,
  918. ::google::protobuf::DescriptorPool::generated_pool(),
  919. ::google::protobuf::MessageFactory::generated_factory(),
  920. sizeof(packetw2c_national_day_quest_notify));
  921. packetc2w_recv_national_day_login_reward_descriptor_ = file->message_type(6);
  922. static const int packetc2w_recv_national_day_login_reward_offsets_[2] = {
  923. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_login_reward, packet_id_),
  924. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_login_reward, signindex_),
  925. };
  926. packetc2w_recv_national_day_login_reward_reflection_ =
  927. new ::google::protobuf::internal::GeneratedMessageReflection(
  928. packetc2w_recv_national_day_login_reward_descriptor_,
  929. packetc2w_recv_national_day_login_reward::default_instance_,
  930. packetc2w_recv_national_day_login_reward_offsets_,
  931. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_login_reward, _has_bits_[0]),
  932. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_login_reward, _unknown_fields_),
  933. -1,
  934. ::google::protobuf::DescriptorPool::generated_pool(),
  935. ::google::protobuf::MessageFactory::generated_factory(),
  936. sizeof(packetc2w_recv_national_day_login_reward));
  937. packetw2c_recv_national_day_login_reward_result_descriptor_ = file->message_type(7);
  938. static const int packetw2c_recv_national_day_login_reward_result_offsets_[3] = {
  939. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, packet_id_),
  940. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, signindex_),
  941. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, result_),
  942. };
  943. packetw2c_recv_national_day_login_reward_result_reflection_ =
  944. new ::google::protobuf::internal::GeneratedMessageReflection(
  945. packetw2c_recv_national_day_login_reward_result_descriptor_,
  946. packetw2c_recv_national_day_login_reward_result::default_instance_,
  947. packetw2c_recv_national_day_login_reward_result_offsets_,
  948. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, _has_bits_[0]),
  949. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_login_reward_result, _unknown_fields_),
  950. -1,
  951. ::google::protobuf::DescriptorPool::generated_pool(),
  952. ::google::protobuf::MessageFactory::generated_factory(),
  953. sizeof(packetw2c_recv_national_day_login_reward_result));
  954. packetc2w_recv_national_day_quest_award_descriptor_ = file->message_type(8);
  955. static const int packetc2w_recv_national_day_quest_award_offsets_[2] = {
  956. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_quest_award, packet_id_),
  957. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_quest_award, questid_),
  958. };
  959. packetc2w_recv_national_day_quest_award_reflection_ =
  960. new ::google::protobuf::internal::GeneratedMessageReflection(
  961. packetc2w_recv_national_day_quest_award_descriptor_,
  962. packetc2w_recv_national_day_quest_award::default_instance_,
  963. packetc2w_recv_national_day_quest_award_offsets_,
  964. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_quest_award, _has_bits_[0]),
  965. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_national_day_quest_award, _unknown_fields_),
  966. -1,
  967. ::google::protobuf::DescriptorPool::generated_pool(),
  968. ::google::protobuf::MessageFactory::generated_factory(),
  969. sizeof(packetc2w_recv_national_day_quest_award));
  970. packetw2c_recv_national_day_quest_award_result_descriptor_ = file->message_type(9);
  971. static const int packetw2c_recv_national_day_quest_award_result_offsets_[6] = {
  972. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, packet_id_),
  973. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, result_),
  974. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, questid_),
  975. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, branch_),
  976. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, nexttaskid_),
  977. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, items_),
  978. };
  979. packetw2c_recv_national_day_quest_award_result_reflection_ =
  980. new ::google::protobuf::internal::GeneratedMessageReflection(
  981. packetw2c_recv_national_day_quest_award_result_descriptor_,
  982. packetw2c_recv_national_day_quest_award_result::default_instance_,
  983. packetw2c_recv_national_day_quest_award_result_offsets_,
  984. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, _has_bits_[0]),
  985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_national_day_quest_award_result, _unknown_fields_),
  986. -1,
  987. ::google::protobuf::DescriptorPool::generated_pool(),
  988. ::google::protobuf::MessageFactory::generated_factory(),
  989. sizeof(packetw2c_recv_national_day_quest_award_result));
  990. packetc2w_national_day_choose_task_descriptor_ = file->message_type(10);
  991. static const int packetc2w_national_day_choose_task_offsets_[2] = {
  992. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_national_day_choose_task, packet_id_),
  993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_national_day_choose_task, branch_),
  994. };
  995. packetc2w_national_day_choose_task_reflection_ =
  996. new ::google::protobuf::internal::GeneratedMessageReflection(
  997. packetc2w_national_day_choose_task_descriptor_,
  998. packetc2w_national_day_choose_task::default_instance_,
  999. packetc2w_national_day_choose_task_offsets_,
  1000. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_national_day_choose_task, _has_bits_[0]),
  1001. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_national_day_choose_task, _unknown_fields_),
  1002. -1,
  1003. ::google::protobuf::DescriptorPool::generated_pool(),
  1004. ::google::protobuf::MessageFactory::generated_factory(),
  1005. sizeof(packetc2w_national_day_choose_task));
  1006. packetw2c_national_day_choose_task_result_descriptor_ = file->message_type(11);
  1007. static const int packetw2c_national_day_choose_task_result_offsets_[4] = {
  1008. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, packet_id_),
  1009. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, result_),
  1010. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, branch_),
  1011. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, nexttaskid_),
  1012. };
  1013. packetw2c_national_day_choose_task_result_reflection_ =
  1014. new ::google::protobuf::internal::GeneratedMessageReflection(
  1015. packetw2c_national_day_choose_task_result_descriptor_,
  1016. packetw2c_national_day_choose_task_result::default_instance_,
  1017. packetw2c_national_day_choose_task_result_offsets_,
  1018. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, _has_bits_[0]),
  1019. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_national_day_choose_task_result, _unknown_fields_),
  1020. -1,
  1021. ::google::protobuf::DescriptorPool::generated_pool(),
  1022. ::google::protobuf::MessageFactory::generated_factory(),
  1023. sizeof(packetw2c_national_day_choose_task_result));
  1024. packetw2c_syn_spring_day_info_descriptor_ = file->message_type(12);
  1025. static const int packetw2c_syn_spring_day_info_offsets_[5] = {
  1026. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, packet_id_),
  1027. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, activitystate_),
  1028. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, starttime_),
  1029. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, endtime_),
  1030. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, signlist_),
  1031. };
  1032. packetw2c_syn_spring_day_info_reflection_ =
  1033. new ::google::protobuf::internal::GeneratedMessageReflection(
  1034. packetw2c_syn_spring_day_info_descriptor_,
  1035. packetw2c_syn_spring_day_info::default_instance_,
  1036. packetw2c_syn_spring_day_info_offsets_,
  1037. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, _has_bits_[0]),
  1038. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_spring_day_info, _unknown_fields_),
  1039. -1,
  1040. ::google::protobuf::DescriptorPool::generated_pool(),
  1041. ::google::protobuf::MessageFactory::generated_factory(),
  1042. sizeof(packetw2c_syn_spring_day_info));
  1043. packetc2w_recv_spring_day_login_reward_descriptor_ = file->message_type(13);
  1044. static const int packetc2w_recv_spring_day_login_reward_offsets_[2] = {
  1045. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_spring_day_login_reward, packet_id_),
  1046. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_spring_day_login_reward, signindex_),
  1047. };
  1048. packetc2w_recv_spring_day_login_reward_reflection_ =
  1049. new ::google::protobuf::internal::GeneratedMessageReflection(
  1050. packetc2w_recv_spring_day_login_reward_descriptor_,
  1051. packetc2w_recv_spring_day_login_reward::default_instance_,
  1052. packetc2w_recv_spring_day_login_reward_offsets_,
  1053. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_spring_day_login_reward, _has_bits_[0]),
  1054. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_spring_day_login_reward, _unknown_fields_),
  1055. -1,
  1056. ::google::protobuf::DescriptorPool::generated_pool(),
  1057. ::google::protobuf::MessageFactory::generated_factory(),
  1058. sizeof(packetc2w_recv_spring_day_login_reward));
  1059. packetw2c_recv_spring_day_login_reward_result_descriptor_ = file->message_type(14);
  1060. static const int packetw2c_recv_spring_day_login_reward_result_offsets_[3] = {
  1061. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, packet_id_),
  1062. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, signindex_),
  1063. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, result_),
  1064. };
  1065. packetw2c_recv_spring_day_login_reward_result_reflection_ =
  1066. new ::google::protobuf::internal::GeneratedMessageReflection(
  1067. packetw2c_recv_spring_day_login_reward_result_descriptor_,
  1068. packetw2c_recv_spring_day_login_reward_result::default_instance_,
  1069. packetw2c_recv_spring_day_login_reward_result_offsets_,
  1070. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, _has_bits_[0]),
  1071. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_spring_day_login_reward_result, _unknown_fields_),
  1072. -1,
  1073. ::google::protobuf::DescriptorPool::generated_pool(),
  1074. ::google::protobuf::MessageFactory::generated_factory(),
  1075. sizeof(packetw2c_recv_spring_day_login_reward_result));
  1076. packetw2c_syn_hunt_fish_info_descriptor_ = file->message_type(15);
  1077. static const int packetw2c_syn_hunt_fish_info_offsets_[4] = {
  1078. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, packet_id_),
  1079. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, activitystate_),
  1080. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, starttime_),
  1081. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, endtime_),
  1082. };
  1083. packetw2c_syn_hunt_fish_info_reflection_ =
  1084. new ::google::protobuf::internal::GeneratedMessageReflection(
  1085. packetw2c_syn_hunt_fish_info_descriptor_,
  1086. packetw2c_syn_hunt_fish_info::default_instance_,
  1087. packetw2c_syn_hunt_fish_info_offsets_,
  1088. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, _has_bits_[0]),
  1089. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_hunt_fish_info, _unknown_fields_),
  1090. -1,
  1091. ::google::protobuf::DescriptorPool::generated_pool(),
  1092. ::google::protobuf::MessageFactory::generated_factory(),
  1093. sizeof(packetw2c_syn_hunt_fish_info));
  1094. packetc2w_get_hunt_fish_quest_descriptor_ = file->message_type(16);
  1095. static const int packetc2w_get_hunt_fish_quest_offsets_[1] = {
  1096. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_hunt_fish_quest, packet_id_),
  1097. };
  1098. packetc2w_get_hunt_fish_quest_reflection_ =
  1099. new ::google::protobuf::internal::GeneratedMessageReflection(
  1100. packetc2w_get_hunt_fish_quest_descriptor_,
  1101. packetc2w_get_hunt_fish_quest::default_instance_,
  1102. packetc2w_get_hunt_fish_quest_offsets_,
  1103. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_hunt_fish_quest, _has_bits_[0]),
  1104. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_hunt_fish_quest, _unknown_fields_),
  1105. -1,
  1106. ::google::protobuf::DescriptorPool::generated_pool(),
  1107. ::google::protobuf::MessageFactory::generated_factory(),
  1108. sizeof(packetc2w_get_hunt_fish_quest));
  1109. packetw2c_get_hunt_fish_quest_result_descriptor_ = file->message_type(17);
  1110. static const int packetw2c_get_hunt_fish_quest_result_offsets_[2] = {
  1111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_hunt_fish_quest_result, packet_id_),
  1112. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_hunt_fish_quest_result, questlist_),
  1113. };
  1114. packetw2c_get_hunt_fish_quest_result_reflection_ =
  1115. new ::google::protobuf::internal::GeneratedMessageReflection(
  1116. packetw2c_get_hunt_fish_quest_result_descriptor_,
  1117. packetw2c_get_hunt_fish_quest_result::default_instance_,
  1118. packetw2c_get_hunt_fish_quest_result_offsets_,
  1119. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_hunt_fish_quest_result, _has_bits_[0]),
  1120. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_hunt_fish_quest_result, _unknown_fields_),
  1121. -1,
  1122. ::google::protobuf::DescriptorPool::generated_pool(),
  1123. ::google::protobuf::MessageFactory::generated_factory(),
  1124. sizeof(packetw2c_get_hunt_fish_quest_result));
  1125. packetc2w_recv_hunt_fish_quest_award_descriptor_ = file->message_type(18);
  1126. static const int packetc2w_recv_hunt_fish_quest_award_offsets_[2] = {
  1127. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_hunt_fish_quest_award, packet_id_),
  1128. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_hunt_fish_quest_award, questid_),
  1129. };
  1130. packetc2w_recv_hunt_fish_quest_award_reflection_ =
  1131. new ::google::protobuf::internal::GeneratedMessageReflection(
  1132. packetc2w_recv_hunt_fish_quest_award_descriptor_,
  1133. packetc2w_recv_hunt_fish_quest_award::default_instance_,
  1134. packetc2w_recv_hunt_fish_quest_award_offsets_,
  1135. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_hunt_fish_quest_award, _has_bits_[0]),
  1136. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_hunt_fish_quest_award, _unknown_fields_),
  1137. -1,
  1138. ::google::protobuf::DescriptorPool::generated_pool(),
  1139. ::google::protobuf::MessageFactory::generated_factory(),
  1140. sizeof(packetc2w_recv_hunt_fish_quest_award));
  1141. packetw2c_recv_hunt_fish_quest_award_result_descriptor_ = file->message_type(19);
  1142. static const int packetw2c_recv_hunt_fish_quest_award_result_offsets_[4] = {
  1143. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, packet_id_),
  1144. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, result_),
  1145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, questid_),
  1146. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, items_),
  1147. };
  1148. packetw2c_recv_hunt_fish_quest_award_result_reflection_ =
  1149. new ::google::protobuf::internal::GeneratedMessageReflection(
  1150. packetw2c_recv_hunt_fish_quest_award_result_descriptor_,
  1151. packetw2c_recv_hunt_fish_quest_award_result::default_instance_,
  1152. packetw2c_recv_hunt_fish_quest_award_result_offsets_,
  1153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, _has_bits_[0]),
  1154. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_hunt_fish_quest_award_result, _unknown_fields_),
  1155. -1,
  1156. ::google::protobuf::DescriptorPool::generated_pool(),
  1157. ::google::protobuf::MessageFactory::generated_factory(),
  1158. sizeof(packetw2c_recv_hunt_fish_quest_award_result));
  1159. packetw2c_syn_recharge_activity_info_descriptor_ = file->message_type(20);
  1160. static const int packetw2c_syn_recharge_activity_info_offsets_[6] = {
  1161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, packet_id_),
  1162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, activitystate_),
  1163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, starttime_),
  1164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, endtime_),
  1165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, totalrecharge_),
  1166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, rewardrecvlist_),
  1167. };
  1168. packetw2c_syn_recharge_activity_info_reflection_ =
  1169. new ::google::protobuf::internal::GeneratedMessageReflection(
  1170. packetw2c_syn_recharge_activity_info_descriptor_,
  1171. packetw2c_syn_recharge_activity_info::default_instance_,
  1172. packetw2c_syn_recharge_activity_info_offsets_,
  1173. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, _has_bits_[0]),
  1174. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_recharge_activity_info, _unknown_fields_),
  1175. -1,
  1176. ::google::protobuf::DescriptorPool::generated_pool(),
  1177. ::google::protobuf::MessageFactory::generated_factory(),
  1178. sizeof(packetw2c_syn_recharge_activity_info));
  1179. packetc2w_recharge_activity_rebate_descriptor_ = file->message_type(21);
  1180. static const int packetc2w_recharge_activity_rebate_offsets_[2] = {
  1181. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recharge_activity_rebate, packet_id_),
  1182. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recharge_activity_rebate, rewardid_),
  1183. };
  1184. packetc2w_recharge_activity_rebate_reflection_ =
  1185. new ::google::protobuf::internal::GeneratedMessageReflection(
  1186. packetc2w_recharge_activity_rebate_descriptor_,
  1187. packetc2w_recharge_activity_rebate::default_instance_,
  1188. packetc2w_recharge_activity_rebate_offsets_,
  1189. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recharge_activity_rebate, _has_bits_[0]),
  1190. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recharge_activity_rebate, _unknown_fields_),
  1191. -1,
  1192. ::google::protobuf::DescriptorPool::generated_pool(),
  1193. ::google::protobuf::MessageFactory::generated_factory(),
  1194. sizeof(packetc2w_recharge_activity_rebate));
  1195. packetw2c_recharge_activity_rebate_result_descriptor_ = file->message_type(22);
  1196. static const int packetw2c_recharge_activity_rebate_result_offsets_[3] = {
  1197. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, packet_id_),
  1198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, result_),
  1199. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, rewardid_),
  1200. };
  1201. packetw2c_recharge_activity_rebate_result_reflection_ =
  1202. new ::google::protobuf::internal::GeneratedMessageReflection(
  1203. packetw2c_recharge_activity_rebate_result_descriptor_,
  1204. packetw2c_recharge_activity_rebate_result::default_instance_,
  1205. packetw2c_recharge_activity_rebate_result_offsets_,
  1206. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, _has_bits_[0]),
  1207. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recharge_activity_rebate_result, _unknown_fields_),
  1208. -1,
  1209. ::google::protobuf::DescriptorPool::generated_pool(),
  1210. ::google::protobuf::MessageFactory::generated_factory(),
  1211. sizeof(packetw2c_recharge_activity_rebate_result));
  1212. packetw2c_syn_wuyi_vacation_info_descriptor_ = file->message_type(23);
  1213. static const int packetw2c_syn_wuyi_vacation_info_offsets_[10] = {
  1214. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, packet_id_),
  1215. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, starttime_),
  1216. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, endtime_),
  1217. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, signcount_),
  1218. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, cansign_),
  1219. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, questlist_),
  1220. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, haishenlist_),
  1221. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, handbooksawardstat_),
  1222. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, handbooksstat_),
  1223. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, paddycount_),
  1224. };
  1225. packetw2c_syn_wuyi_vacation_info_reflection_ =
  1226. new ::google::protobuf::internal::GeneratedMessageReflection(
  1227. packetw2c_syn_wuyi_vacation_info_descriptor_,
  1228. packetw2c_syn_wuyi_vacation_info::default_instance_,
  1229. packetw2c_syn_wuyi_vacation_info_offsets_,
  1230. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, _has_bits_[0]),
  1231. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wuyi_vacation_info, _unknown_fields_),
  1232. -1,
  1233. ::google::protobuf::DescriptorPool::generated_pool(),
  1234. ::google::protobuf::MessageFactory::generated_factory(),
  1235. sizeof(packetw2c_syn_wuyi_vacation_info));
  1236. packetc2w_recv_wuyi_login_reward_descriptor_ = file->message_type(24);
  1237. static const int packetc2w_recv_wuyi_login_reward_offsets_[2] = {
  1238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_login_reward, packet_id_),
  1239. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_login_reward, signindex_),
  1240. };
  1241. packetc2w_recv_wuyi_login_reward_reflection_ =
  1242. new ::google::protobuf::internal::GeneratedMessageReflection(
  1243. packetc2w_recv_wuyi_login_reward_descriptor_,
  1244. packetc2w_recv_wuyi_login_reward::default_instance_,
  1245. packetc2w_recv_wuyi_login_reward_offsets_,
  1246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_login_reward, _has_bits_[0]),
  1247. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_login_reward, _unknown_fields_),
  1248. -1,
  1249. ::google::protobuf::DescriptorPool::generated_pool(),
  1250. ::google::protobuf::MessageFactory::generated_factory(),
  1251. sizeof(packetc2w_recv_wuyi_login_reward));
  1252. packetw2c_recv_wuyi_login_reward_result_descriptor_ = file->message_type(25);
  1253. static const int packetw2c_recv_wuyi_login_reward_result_offsets_[4] = {
  1254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, packet_id_),
  1255. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, signindex_),
  1256. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, result_),
  1257. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, exhandbooksid_),
  1258. };
  1259. packetw2c_recv_wuyi_login_reward_result_reflection_ =
  1260. new ::google::protobuf::internal::GeneratedMessageReflection(
  1261. packetw2c_recv_wuyi_login_reward_result_descriptor_,
  1262. packetw2c_recv_wuyi_login_reward_result::default_instance_,
  1263. packetw2c_recv_wuyi_login_reward_result_offsets_,
  1264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, _has_bits_[0]),
  1265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_login_reward_result, _unknown_fields_),
  1266. -1,
  1267. ::google::protobuf::DescriptorPool::generated_pool(),
  1268. ::google::protobuf::MessageFactory::generated_factory(),
  1269. sizeof(packetw2c_recv_wuyi_login_reward_result));
  1270. packetc2w_recv_wuyi_quest_award_descriptor_ = file->message_type(26);
  1271. static const int packetc2w_recv_wuyi_quest_award_offsets_[4] = {
  1272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, packet_id_),
  1273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, type_),
  1274. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, questid_),
  1275. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, receivebit_),
  1276. };
  1277. packetc2w_recv_wuyi_quest_award_reflection_ =
  1278. new ::google::protobuf::internal::GeneratedMessageReflection(
  1279. packetc2w_recv_wuyi_quest_award_descriptor_,
  1280. packetc2w_recv_wuyi_quest_award::default_instance_,
  1281. packetc2w_recv_wuyi_quest_award_offsets_,
  1282. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, _has_bits_[0]),
  1283. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_quest_award, _unknown_fields_),
  1284. -1,
  1285. ::google::protobuf::DescriptorPool::generated_pool(),
  1286. ::google::protobuf::MessageFactory::generated_factory(),
  1287. sizeof(packetc2w_recv_wuyi_quest_award));
  1288. packetw2c_recv_wuyi_quest_award_result_descriptor_ = file->message_type(27);
  1289. static const int packetw2c_recv_wuyi_quest_award_result_offsets_[6] = {
  1290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, packet_id_),
  1291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, result_),
  1292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, type_),
  1293. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, questid_),
  1294. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, receivebit_),
  1295. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, items_),
  1296. };
  1297. packetw2c_recv_wuyi_quest_award_result_reflection_ =
  1298. new ::google::protobuf::internal::GeneratedMessageReflection(
  1299. packetw2c_recv_wuyi_quest_award_result_descriptor_,
  1300. packetw2c_recv_wuyi_quest_award_result::default_instance_,
  1301. packetw2c_recv_wuyi_quest_award_result_offsets_,
  1302. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, _has_bits_[0]),
  1303. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_quest_award_result, _unknown_fields_),
  1304. -1,
  1305. ::google::protobuf::DescriptorPool::generated_pool(),
  1306. ::google::protobuf::MessageFactory::generated_factory(),
  1307. sizeof(packetw2c_recv_wuyi_quest_award_result));
  1308. packetc2w_recv_wuyi_handbooks_gold_descriptor_ = file->message_type(28);
  1309. static const int packetc2w_recv_wuyi_handbooks_gold_offsets_[2] = {
  1310. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_gold, packet_id_),
  1311. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_gold, handbooksid_),
  1312. };
  1313. packetc2w_recv_wuyi_handbooks_gold_reflection_ =
  1314. new ::google::protobuf::internal::GeneratedMessageReflection(
  1315. packetc2w_recv_wuyi_handbooks_gold_descriptor_,
  1316. packetc2w_recv_wuyi_handbooks_gold::default_instance_,
  1317. packetc2w_recv_wuyi_handbooks_gold_offsets_,
  1318. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_gold, _has_bits_[0]),
  1319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_gold, _unknown_fields_),
  1320. -1,
  1321. ::google::protobuf::DescriptorPool::generated_pool(),
  1322. ::google::protobuf::MessageFactory::generated_factory(),
  1323. sizeof(packetc2w_recv_wuyi_handbooks_gold));
  1324. packetw2c_recv_wuyi_handbooks_gold_result_descriptor_ = file->message_type(29);
  1325. static const int packetw2c_recv_wuyi_handbooks_gold_result_offsets_[3] = {
  1326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, packet_id_),
  1327. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, handbooksid_),
  1328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, result_),
  1329. };
  1330. packetw2c_recv_wuyi_handbooks_gold_result_reflection_ =
  1331. new ::google::protobuf::internal::GeneratedMessageReflection(
  1332. packetw2c_recv_wuyi_handbooks_gold_result_descriptor_,
  1333. packetw2c_recv_wuyi_handbooks_gold_result::default_instance_,
  1334. packetw2c_recv_wuyi_handbooks_gold_result_offsets_,
  1335. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, _has_bits_[0]),
  1336. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_gold_result, _unknown_fields_),
  1337. -1,
  1338. ::google::protobuf::DescriptorPool::generated_pool(),
  1339. ::google::protobuf::MessageFactory::generated_factory(),
  1340. sizeof(packetw2c_recv_wuyi_handbooks_gold_result));
  1341. packetc2w_recv_wuyi_handbooks_award_descriptor_ = file->message_type(30);
  1342. static const int packetc2w_recv_wuyi_handbooks_award_offsets_[2] = {
  1343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_award, packet_id_),
  1344. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_award, type_),
  1345. };
  1346. packetc2w_recv_wuyi_handbooks_award_reflection_ =
  1347. new ::google::protobuf::internal::GeneratedMessageReflection(
  1348. packetc2w_recv_wuyi_handbooks_award_descriptor_,
  1349. packetc2w_recv_wuyi_handbooks_award::default_instance_,
  1350. packetc2w_recv_wuyi_handbooks_award_offsets_,
  1351. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_award, _has_bits_[0]),
  1352. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_wuyi_handbooks_award, _unknown_fields_),
  1353. -1,
  1354. ::google::protobuf::DescriptorPool::generated_pool(),
  1355. ::google::protobuf::MessageFactory::generated_factory(),
  1356. sizeof(packetc2w_recv_wuyi_handbooks_award));
  1357. packetw2c_recv_wuyi_handbooks_award_result_descriptor_ = file->message_type(31);
  1358. static const int packetw2c_recv_wuyi_handbooks_award_result_offsets_[4] = {
  1359. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, packet_id_),
  1360. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, result_),
  1361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, typelist_),
  1362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, handbooksgold_),
  1363. };
  1364. packetw2c_recv_wuyi_handbooks_award_result_reflection_ =
  1365. new ::google::protobuf::internal::GeneratedMessageReflection(
  1366. packetw2c_recv_wuyi_handbooks_award_result_descriptor_,
  1367. packetw2c_recv_wuyi_handbooks_award_result::default_instance_,
  1368. packetw2c_recv_wuyi_handbooks_award_result_offsets_,
  1369. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, _has_bits_[0]),
  1370. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_wuyi_handbooks_award_result, _unknown_fields_),
  1371. -1,
  1372. ::google::protobuf::DescriptorPool::generated_pool(),
  1373. ::google::protobuf::MessageFactory::generated_factory(),
  1374. sizeof(packetw2c_recv_wuyi_handbooks_award_result));
  1375. packetc2w_wuyi_lottery_descriptor_ = file->message_type(32);
  1376. static const int packetc2w_wuyi_lottery_offsets_[2] = {
  1377. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wuyi_lottery, packet_id_),
  1378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wuyi_lottery, type_),
  1379. };
  1380. packetc2w_wuyi_lottery_reflection_ =
  1381. new ::google::protobuf::internal::GeneratedMessageReflection(
  1382. packetc2w_wuyi_lottery_descriptor_,
  1383. packetc2w_wuyi_lottery::default_instance_,
  1384. packetc2w_wuyi_lottery_offsets_,
  1385. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wuyi_lottery, _has_bits_[0]),
  1386. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wuyi_lottery, _unknown_fields_),
  1387. -1,
  1388. ::google::protobuf::DescriptorPool::generated_pool(),
  1389. ::google::protobuf::MessageFactory::generated_factory(),
  1390. sizeof(packetc2w_wuyi_lottery));
  1391. packetw2c_wuyi_lottery_result_descriptor_ = file->message_type(33);
  1392. static const int packetw2c_wuyi_lottery_result_offsets_[4] = {
  1393. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, packet_id_),
  1394. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, result_),
  1395. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, type_),
  1396. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, rewardid_),
  1397. };
  1398. packetw2c_wuyi_lottery_result_reflection_ =
  1399. new ::google::protobuf::internal::GeneratedMessageReflection(
  1400. packetw2c_wuyi_lottery_result_descriptor_,
  1401. packetw2c_wuyi_lottery_result::default_instance_,
  1402. packetw2c_wuyi_lottery_result_offsets_,
  1403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, _has_bits_[0]),
  1404. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wuyi_lottery_result, _unknown_fields_),
  1405. -1,
  1406. ::google::protobuf::DescriptorPool::generated_pool(),
  1407. ::google::protobuf::MessageFactory::generated_factory(),
  1408. sizeof(packetw2c_wuyi_lottery_result));
  1409. pointRewardInfos_descriptor_ = file->message_type(34);
  1410. static const int pointRewardInfos_offsets_[2] = {
  1411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointRewardInfos, id_),
  1412. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointRewardInfos, received_),
  1413. };
  1414. pointRewardInfos_reflection_ =
  1415. new ::google::protobuf::internal::GeneratedMessageReflection(
  1416. pointRewardInfos_descriptor_,
  1417. pointRewardInfos::default_instance_,
  1418. pointRewardInfos_offsets_,
  1419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointRewardInfos, _has_bits_[0]),
  1420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointRewardInfos, _unknown_fields_),
  1421. -1,
  1422. ::google::protobuf::DescriptorPool::generated_pool(),
  1423. ::google::protobuf::MessageFactory::generated_factory(),
  1424. sizeof(pointRewardInfos));
  1425. pointInfos_descriptor_ = file->message_type(35);
  1426. static const int pointInfos_offsets_[2] = {
  1427. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointInfos, roomid_),
  1428. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointInfos, count_),
  1429. };
  1430. pointInfos_reflection_ =
  1431. new ::google::protobuf::internal::GeneratedMessageReflection(
  1432. pointInfos_descriptor_,
  1433. pointInfos::default_instance_,
  1434. pointInfos_offsets_,
  1435. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointInfos, _has_bits_[0]),
  1436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(pointInfos, _unknown_fields_),
  1437. -1,
  1438. ::google::protobuf::DescriptorPool::generated_pool(),
  1439. ::google::protobuf::MessageFactory::generated_factory(),
  1440. sizeof(pointInfos));
  1441. packetw2c_syn_room_quest_info_descriptor_ = file->message_type(36);
  1442. static const int packetw2c_syn_room_quest_info_offsets_[7] = {
  1443. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, packet_id_),
  1444. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, activitystate_),
  1445. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, starttime_),
  1446. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, endtime_),
  1447. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, pointrewardinfos_),
  1448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, questpoints_),
  1449. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, sharkcardtype_),
  1450. };
  1451. packetw2c_syn_room_quest_info_reflection_ =
  1452. new ::google::protobuf::internal::GeneratedMessageReflection(
  1453. packetw2c_syn_room_quest_info_descriptor_,
  1454. packetw2c_syn_room_quest_info::default_instance_,
  1455. packetw2c_syn_room_quest_info_offsets_,
  1456. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, _has_bits_[0]),
  1457. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_room_quest_info, _unknown_fields_),
  1458. -1,
  1459. ::google::protobuf::DescriptorPool::generated_pool(),
  1460. ::google::protobuf::MessageFactory::generated_factory(),
  1461. sizeof(packetw2c_syn_room_quest_info));
  1462. packetc2w_get_room_quest_descriptor_ = file->message_type(37);
  1463. static const int packetc2w_get_room_quest_offsets_[1] = {
  1464. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_room_quest, packet_id_),
  1465. };
  1466. packetc2w_get_room_quest_reflection_ =
  1467. new ::google::protobuf::internal::GeneratedMessageReflection(
  1468. packetc2w_get_room_quest_descriptor_,
  1469. packetc2w_get_room_quest::default_instance_,
  1470. packetc2w_get_room_quest_offsets_,
  1471. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_room_quest, _has_bits_[0]),
  1472. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_room_quest, _unknown_fields_),
  1473. -1,
  1474. ::google::protobuf::DescriptorPool::generated_pool(),
  1475. ::google::protobuf::MessageFactory::generated_factory(),
  1476. sizeof(packetc2w_get_room_quest));
  1477. packetw2c_get_room_quest_result_descriptor_ = file->message_type(38);
  1478. static const int packetw2c_get_room_quest_result_offsets_[3] = {
  1479. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, packet_id_),
  1480. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, questlist_),
  1481. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, sharkcardtype_),
  1482. };
  1483. packetw2c_get_room_quest_result_reflection_ =
  1484. new ::google::protobuf::internal::GeneratedMessageReflection(
  1485. packetw2c_get_room_quest_result_descriptor_,
  1486. packetw2c_get_room_quest_result::default_instance_,
  1487. packetw2c_get_room_quest_result_offsets_,
  1488. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, _has_bits_[0]),
  1489. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_room_quest_result, _unknown_fields_),
  1490. -1,
  1491. ::google::protobuf::DescriptorPool::generated_pool(),
  1492. ::google::protobuf::MessageFactory::generated_factory(),
  1493. sizeof(packetw2c_get_room_quest_result));
  1494. packetc2w_recv_room_quest_award_descriptor_ = file->message_type(39);
  1495. static const int packetc2w_recv_room_quest_award_offsets_[2] = {
  1496. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_award, packet_id_),
  1497. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_award, questid_),
  1498. };
  1499. packetc2w_recv_room_quest_award_reflection_ =
  1500. new ::google::protobuf::internal::GeneratedMessageReflection(
  1501. packetc2w_recv_room_quest_award_descriptor_,
  1502. packetc2w_recv_room_quest_award::default_instance_,
  1503. packetc2w_recv_room_quest_award_offsets_,
  1504. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_award, _has_bits_[0]),
  1505. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_award, _unknown_fields_),
  1506. -1,
  1507. ::google::protobuf::DescriptorPool::generated_pool(),
  1508. ::google::protobuf::MessageFactory::generated_factory(),
  1509. sizeof(packetc2w_recv_room_quest_award));
  1510. packetw2c_recv_room_quest_award_result_descriptor_ = file->message_type(40);
  1511. static const int packetw2c_recv_room_quest_award_result_offsets_[4] = {
  1512. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, packet_id_),
  1513. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, result_),
  1514. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, questid_),
  1515. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, items_),
  1516. };
  1517. packetw2c_recv_room_quest_award_result_reflection_ =
  1518. new ::google::protobuf::internal::GeneratedMessageReflection(
  1519. packetw2c_recv_room_quest_award_result_descriptor_,
  1520. packetw2c_recv_room_quest_award_result::default_instance_,
  1521. packetw2c_recv_room_quest_award_result_offsets_,
  1522. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, _has_bits_[0]),
  1523. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_award_result, _unknown_fields_),
  1524. -1,
  1525. ::google::protobuf::DescriptorPool::generated_pool(),
  1526. ::google::protobuf::MessageFactory::generated_factory(),
  1527. sizeof(packetw2c_recv_room_quest_award_result));
  1528. packetc2w_recv_room_quest_point_award_descriptor_ = file->message_type(41);
  1529. static const int packetc2w_recv_room_quest_point_award_offsets_[2] = {
  1530. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_point_award, packet_id_),
  1531. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_point_award, questid_),
  1532. };
  1533. packetc2w_recv_room_quest_point_award_reflection_ =
  1534. new ::google::protobuf::internal::GeneratedMessageReflection(
  1535. packetc2w_recv_room_quest_point_award_descriptor_,
  1536. packetc2w_recv_room_quest_point_award::default_instance_,
  1537. packetc2w_recv_room_quest_point_award_offsets_,
  1538. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_point_award, _has_bits_[0]),
  1539. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_room_quest_point_award, _unknown_fields_),
  1540. -1,
  1541. ::google::protobuf::DescriptorPool::generated_pool(),
  1542. ::google::protobuf::MessageFactory::generated_factory(),
  1543. sizeof(packetc2w_recv_room_quest_point_award));
  1544. packetw2c_recv_room_quest_point_award_result_descriptor_ = file->message_type(42);
  1545. static const int packetw2c_recv_room_quest_point_award_result_offsets_[4] = {
  1546. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, packet_id_),
  1547. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, result_),
  1548. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, questid_),
  1549. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, items_),
  1550. };
  1551. packetw2c_recv_room_quest_point_award_result_reflection_ =
  1552. new ::google::protobuf::internal::GeneratedMessageReflection(
  1553. packetw2c_recv_room_quest_point_award_result_descriptor_,
  1554. packetw2c_recv_room_quest_point_award_result::default_instance_,
  1555. packetw2c_recv_room_quest_point_award_result_offsets_,
  1556. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, _has_bits_[0]),
  1557. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_room_quest_point_award_result, _unknown_fields_),
  1558. -1,
  1559. ::google::protobuf::DescriptorPool::generated_pool(),
  1560. ::google::protobuf::MessageFactory::generated_factory(),
  1561. sizeof(packetw2c_recv_room_quest_point_award_result));
  1562. packetw2c_syn_catch_fish_info_descriptor_ = file->message_type(43);
  1563. static const int packetw2c_syn_catch_fish_info_offsets_[6] = {
  1564. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, packet_id_),
  1565. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, activitystate_),
  1566. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, starttime_),
  1567. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, endtime_),
  1568. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, coincount_),
  1569. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, historylist_),
  1570. };
  1571. packetw2c_syn_catch_fish_info_reflection_ =
  1572. new ::google::protobuf::internal::GeneratedMessageReflection(
  1573. packetw2c_syn_catch_fish_info_descriptor_,
  1574. packetw2c_syn_catch_fish_info::default_instance_,
  1575. packetw2c_syn_catch_fish_info_offsets_,
  1576. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, _has_bits_[0]),
  1577. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_catch_fish_info, _unknown_fields_),
  1578. -1,
  1579. ::google::protobuf::DescriptorPool::generated_pool(),
  1580. ::google::protobuf::MessageFactory::generated_factory(),
  1581. sizeof(packetw2c_syn_catch_fish_info));
  1582. catchFishHistory_descriptor_ = file->message_type(44);
  1583. static const int catchFishHistory_offsets_[5] = {
  1584. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, time_),
  1585. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, nickname_),
  1586. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, fishtype_),
  1587. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, rate_),
  1588. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, gold_),
  1589. };
  1590. catchFishHistory_reflection_ =
  1591. new ::google::protobuf::internal::GeneratedMessageReflection(
  1592. catchFishHistory_descriptor_,
  1593. catchFishHistory::default_instance_,
  1594. catchFishHistory_offsets_,
  1595. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, _has_bits_[0]),
  1596. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishHistory, _unknown_fields_),
  1597. -1,
  1598. ::google::protobuf::DescriptorPool::generated_pool(),
  1599. ::google::protobuf::MessageFactory::generated_factory(),
  1600. sizeof(catchFishHistory));
  1601. catchFishInfo_descriptor_ = file->message_type(45);
  1602. static const int catchFishInfo_offsets_[2] = {
  1603. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishInfo, rate_),
  1604. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishInfo, gold_),
  1605. };
  1606. catchFishInfo_reflection_ =
  1607. new ::google::protobuf::internal::GeneratedMessageReflection(
  1608. catchFishInfo_descriptor_,
  1609. catchFishInfo::default_instance_,
  1610. catchFishInfo_offsets_,
  1611. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishInfo, _has_bits_[0]),
  1612. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(catchFishInfo, _unknown_fields_),
  1613. -1,
  1614. ::google::protobuf::DescriptorPool::generated_pool(),
  1615. ::google::protobuf::MessageFactory::generated_factory(),
  1616. sizeof(catchFishInfo));
  1617. packetc2w_catch_fish_descriptor_ = file->message_type(46);
  1618. static const int packetc2w_catch_fish_offsets_[3] = {
  1619. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, packet_id_),
  1620. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, fishtype_),
  1621. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, nettype_),
  1622. };
  1623. packetc2w_catch_fish_reflection_ =
  1624. new ::google::protobuf::internal::GeneratedMessageReflection(
  1625. packetc2w_catch_fish_descriptor_,
  1626. packetc2w_catch_fish::default_instance_,
  1627. packetc2w_catch_fish_offsets_,
  1628. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, _has_bits_[0]),
  1629. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish, _unknown_fields_),
  1630. -1,
  1631. ::google::protobuf::DescriptorPool::generated_pool(),
  1632. ::google::protobuf::MessageFactory::generated_factory(),
  1633. sizeof(packetc2w_catch_fish));
  1634. packetw2c_catch_fish_result_descriptor_ = file->message_type(47);
  1635. static const int packetw2c_catch_fish_result_offsets_[5] = {
  1636. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, packet_id_),
  1637. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, result_),
  1638. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, fishtype_),
  1639. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, nettype_),
  1640. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, catchfishinfo_),
  1641. };
  1642. packetw2c_catch_fish_result_reflection_ =
  1643. new ::google::protobuf::internal::GeneratedMessageReflection(
  1644. packetw2c_catch_fish_result_descriptor_,
  1645. packetw2c_catch_fish_result::default_instance_,
  1646. packetw2c_catch_fish_result_offsets_,
  1647. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, _has_bits_[0]),
  1648. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_result, _unknown_fields_),
  1649. -1,
  1650. ::google::protobuf::DescriptorPool::generated_pool(),
  1651. ::google::protobuf::MessageFactory::generated_factory(),
  1652. sizeof(packetw2c_catch_fish_result));
  1653. packetc2w_catch_fish_history_descriptor_ = file->message_type(48);
  1654. static const int packetc2w_catch_fish_history_offsets_[1] = {
  1655. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish_history, packet_id_),
  1656. };
  1657. packetc2w_catch_fish_history_reflection_ =
  1658. new ::google::protobuf::internal::GeneratedMessageReflection(
  1659. packetc2w_catch_fish_history_descriptor_,
  1660. packetc2w_catch_fish_history::default_instance_,
  1661. packetc2w_catch_fish_history_offsets_,
  1662. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish_history, _has_bits_[0]),
  1663. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_catch_fish_history, _unknown_fields_),
  1664. -1,
  1665. ::google::protobuf::DescriptorPool::generated_pool(),
  1666. ::google::protobuf::MessageFactory::generated_factory(),
  1667. sizeof(packetc2w_catch_fish_history));
  1668. packetw2c_catch_fish_history_result_descriptor_ = file->message_type(49);
  1669. static const int packetw2c_catch_fish_history_result_offsets_[2] = {
  1670. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_history_result, packet_id_),
  1671. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_history_result, historylist_),
  1672. };
  1673. packetw2c_catch_fish_history_result_reflection_ =
  1674. new ::google::protobuf::internal::GeneratedMessageReflection(
  1675. packetw2c_catch_fish_history_result_descriptor_,
  1676. packetw2c_catch_fish_history_result::default_instance_,
  1677. packetw2c_catch_fish_history_result_offsets_,
  1678. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_history_result, _has_bits_[0]),
  1679. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_catch_fish_history_result, _unknown_fields_),
  1680. -1,
  1681. ::google::protobuf::DescriptorPool::generated_pool(),
  1682. ::google::protobuf::MessageFactory::generated_factory(),
  1683. sizeof(packetw2c_catch_fish_history_result));
  1684. packetw2c_syn_duanwu_vacation_info_descriptor_ = file->message_type(50);
  1685. static const int packetw2c_syn_duanwu_vacation_info_offsets_[9] = {
  1686. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, packet_id_),
  1687. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, starttime_),
  1688. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, endtime_),
  1689. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, signcount_),
  1690. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, cansign_),
  1691. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, resettimes_),
  1692. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, handbooksawardstat_),
  1693. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, handbooksstat_),
  1694. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, paddycount_),
  1695. };
  1696. packetw2c_syn_duanwu_vacation_info_reflection_ =
  1697. new ::google::protobuf::internal::GeneratedMessageReflection(
  1698. packetw2c_syn_duanwu_vacation_info_descriptor_,
  1699. packetw2c_syn_duanwu_vacation_info::default_instance_,
  1700. packetw2c_syn_duanwu_vacation_info_offsets_,
  1701. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, _has_bits_[0]),
  1702. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_duanwu_vacation_info, _unknown_fields_),
  1703. -1,
  1704. ::google::protobuf::DescriptorPool::generated_pool(),
  1705. ::google::protobuf::MessageFactory::generated_factory(),
  1706. sizeof(packetw2c_syn_duanwu_vacation_info));
  1707. packetc2w_get_duanwu_vacation_quest_descriptor_ = file->message_type(51);
  1708. static const int packetc2w_get_duanwu_vacation_quest_offsets_[1] = {
  1709. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_duanwu_vacation_quest, packet_id_),
  1710. };
  1711. packetc2w_get_duanwu_vacation_quest_reflection_ =
  1712. new ::google::protobuf::internal::GeneratedMessageReflection(
  1713. packetc2w_get_duanwu_vacation_quest_descriptor_,
  1714. packetc2w_get_duanwu_vacation_quest::default_instance_,
  1715. packetc2w_get_duanwu_vacation_quest_offsets_,
  1716. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_duanwu_vacation_quest, _has_bits_[0]),
  1717. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_duanwu_vacation_quest, _unknown_fields_),
  1718. -1,
  1719. ::google::protobuf::DescriptorPool::generated_pool(),
  1720. ::google::protobuf::MessageFactory::generated_factory(),
  1721. sizeof(packetc2w_get_duanwu_vacation_quest));
  1722. packetw2c_get_duanwu_vacation_quest_result_descriptor_ = file->message_type(52);
  1723. static const int packetw2c_get_duanwu_vacation_quest_result_offsets_[2] = {
  1724. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_duanwu_vacation_quest_result, packet_id_),
  1725. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_duanwu_vacation_quest_result, questlist_),
  1726. };
  1727. packetw2c_get_duanwu_vacation_quest_result_reflection_ =
  1728. new ::google::protobuf::internal::GeneratedMessageReflection(
  1729. packetw2c_get_duanwu_vacation_quest_result_descriptor_,
  1730. packetw2c_get_duanwu_vacation_quest_result::default_instance_,
  1731. packetw2c_get_duanwu_vacation_quest_result_offsets_,
  1732. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_duanwu_vacation_quest_result, _has_bits_[0]),
  1733. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_duanwu_vacation_quest_result, _unknown_fields_),
  1734. -1,
  1735. ::google::protobuf::DescriptorPool::generated_pool(),
  1736. ::google::protobuf::MessageFactory::generated_factory(),
  1737. sizeof(packetw2c_get_duanwu_vacation_quest_result));
  1738. packetc2w_recv_duanwu_login_reward_descriptor_ = file->message_type(53);
  1739. static const int packetc2w_recv_duanwu_login_reward_offsets_[2] = {
  1740. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_login_reward, packet_id_),
  1741. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_login_reward, signindex_),
  1742. };
  1743. packetc2w_recv_duanwu_login_reward_reflection_ =
  1744. new ::google::protobuf::internal::GeneratedMessageReflection(
  1745. packetc2w_recv_duanwu_login_reward_descriptor_,
  1746. packetc2w_recv_duanwu_login_reward::default_instance_,
  1747. packetc2w_recv_duanwu_login_reward_offsets_,
  1748. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_login_reward, _has_bits_[0]),
  1749. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_login_reward, _unknown_fields_),
  1750. -1,
  1751. ::google::protobuf::DescriptorPool::generated_pool(),
  1752. ::google::protobuf::MessageFactory::generated_factory(),
  1753. sizeof(packetc2w_recv_duanwu_login_reward));
  1754. packetw2c_recv_duanwu_login_reward_result_descriptor_ = file->message_type(54);
  1755. static const int packetw2c_recv_duanwu_login_reward_result_offsets_[4] = {
  1756. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, packet_id_),
  1757. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, signindex_),
  1758. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, result_),
  1759. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, exhandbooksid_),
  1760. };
  1761. packetw2c_recv_duanwu_login_reward_result_reflection_ =
  1762. new ::google::protobuf::internal::GeneratedMessageReflection(
  1763. packetw2c_recv_duanwu_login_reward_result_descriptor_,
  1764. packetw2c_recv_duanwu_login_reward_result::default_instance_,
  1765. packetw2c_recv_duanwu_login_reward_result_offsets_,
  1766. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, _has_bits_[0]),
  1767. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_login_reward_result, _unknown_fields_),
  1768. -1,
  1769. ::google::protobuf::DescriptorPool::generated_pool(),
  1770. ::google::protobuf::MessageFactory::generated_factory(),
  1771. sizeof(packetw2c_recv_duanwu_login_reward_result));
  1772. packetc2w_recv_duanwu_quest_award_descriptor_ = file->message_type(55);
  1773. static const int packetc2w_recv_duanwu_quest_award_offsets_[3] = {
  1774. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, packet_id_),
  1775. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, questid_),
  1776. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, receivebit_),
  1777. };
  1778. packetc2w_recv_duanwu_quest_award_reflection_ =
  1779. new ::google::protobuf::internal::GeneratedMessageReflection(
  1780. packetc2w_recv_duanwu_quest_award_descriptor_,
  1781. packetc2w_recv_duanwu_quest_award::default_instance_,
  1782. packetc2w_recv_duanwu_quest_award_offsets_,
  1783. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, _has_bits_[0]),
  1784. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_quest_award, _unknown_fields_),
  1785. -1,
  1786. ::google::protobuf::DescriptorPool::generated_pool(),
  1787. ::google::protobuf::MessageFactory::generated_factory(),
  1788. sizeof(packetc2w_recv_duanwu_quest_award));
  1789. packetw2c_recv_duanwu_quest_award_result_descriptor_ = file->message_type(56);
  1790. static const int packetw2c_recv_duanwu_quest_award_result_offsets_[5] = {
  1791. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, packet_id_),
  1792. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, result_),
  1793. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, questid_),
  1794. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, receivebit_),
  1795. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, items_),
  1796. };
  1797. packetw2c_recv_duanwu_quest_award_result_reflection_ =
  1798. new ::google::protobuf::internal::GeneratedMessageReflection(
  1799. packetw2c_recv_duanwu_quest_award_result_descriptor_,
  1800. packetw2c_recv_duanwu_quest_award_result::default_instance_,
  1801. packetw2c_recv_duanwu_quest_award_result_offsets_,
  1802. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, _has_bits_[0]),
  1803. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_quest_award_result, _unknown_fields_),
  1804. -1,
  1805. ::google::protobuf::DescriptorPool::generated_pool(),
  1806. ::google::protobuf::MessageFactory::generated_factory(),
  1807. sizeof(packetw2c_recv_duanwu_quest_award_result));
  1808. packetc2w_recv_duanwu_handbooks_gold_descriptor_ = file->message_type(57);
  1809. static const int packetc2w_recv_duanwu_handbooks_gold_offsets_[2] = {
  1810. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_gold, packet_id_),
  1811. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_gold, handbooksid_),
  1812. };
  1813. packetc2w_recv_duanwu_handbooks_gold_reflection_ =
  1814. new ::google::protobuf::internal::GeneratedMessageReflection(
  1815. packetc2w_recv_duanwu_handbooks_gold_descriptor_,
  1816. packetc2w_recv_duanwu_handbooks_gold::default_instance_,
  1817. packetc2w_recv_duanwu_handbooks_gold_offsets_,
  1818. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_gold, _has_bits_[0]),
  1819. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_gold, _unknown_fields_),
  1820. -1,
  1821. ::google::protobuf::DescriptorPool::generated_pool(),
  1822. ::google::protobuf::MessageFactory::generated_factory(),
  1823. sizeof(packetc2w_recv_duanwu_handbooks_gold));
  1824. packetw2c_recv_duanwu_handbooks_gold_result_descriptor_ = file->message_type(58);
  1825. static const int packetw2c_recv_duanwu_handbooks_gold_result_offsets_[3] = {
  1826. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, packet_id_),
  1827. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, handbooksid_),
  1828. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, result_),
  1829. };
  1830. packetw2c_recv_duanwu_handbooks_gold_result_reflection_ =
  1831. new ::google::protobuf::internal::GeneratedMessageReflection(
  1832. packetw2c_recv_duanwu_handbooks_gold_result_descriptor_,
  1833. packetw2c_recv_duanwu_handbooks_gold_result::default_instance_,
  1834. packetw2c_recv_duanwu_handbooks_gold_result_offsets_,
  1835. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, _has_bits_[0]),
  1836. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_gold_result, _unknown_fields_),
  1837. -1,
  1838. ::google::protobuf::DescriptorPool::generated_pool(),
  1839. ::google::protobuf::MessageFactory::generated_factory(),
  1840. sizeof(packetw2c_recv_duanwu_handbooks_gold_result));
  1841. packetc2w_recv_duanwu_handbooks_award_descriptor_ = file->message_type(59);
  1842. static const int packetc2w_recv_duanwu_handbooks_award_offsets_[2] = {
  1843. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_award, packet_id_),
  1844. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_award, type_),
  1845. };
  1846. packetc2w_recv_duanwu_handbooks_award_reflection_ =
  1847. new ::google::protobuf::internal::GeneratedMessageReflection(
  1848. packetc2w_recv_duanwu_handbooks_award_descriptor_,
  1849. packetc2w_recv_duanwu_handbooks_award::default_instance_,
  1850. packetc2w_recv_duanwu_handbooks_award_offsets_,
  1851. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_award, _has_bits_[0]),
  1852. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_duanwu_handbooks_award, _unknown_fields_),
  1853. -1,
  1854. ::google::protobuf::DescriptorPool::generated_pool(),
  1855. ::google::protobuf::MessageFactory::generated_factory(),
  1856. sizeof(packetc2w_recv_duanwu_handbooks_award));
  1857. packetw2c_recv_duanwu_handbooks_award_result_descriptor_ = file->message_type(60);
  1858. static const int packetw2c_recv_duanwu_handbooks_award_result_offsets_[4] = {
  1859. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, packet_id_),
  1860. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, result_),
  1861. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, typelist_),
  1862. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, handbooksgold_),
  1863. };
  1864. packetw2c_recv_duanwu_handbooks_award_result_reflection_ =
  1865. new ::google::protobuf::internal::GeneratedMessageReflection(
  1866. packetw2c_recv_duanwu_handbooks_award_result_descriptor_,
  1867. packetw2c_recv_duanwu_handbooks_award_result::default_instance_,
  1868. packetw2c_recv_duanwu_handbooks_award_result_offsets_,
  1869. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, _has_bits_[0]),
  1870. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_duanwu_handbooks_award_result, _unknown_fields_),
  1871. -1,
  1872. ::google::protobuf::DescriptorPool::generated_pool(),
  1873. ::google::protobuf::MessageFactory::generated_factory(),
  1874. sizeof(packetw2c_recv_duanwu_handbooks_award_result));
  1875. packetc2w_duanwu_lottery_descriptor_ = file->message_type(61);
  1876. static const int packetc2w_duanwu_lottery_offsets_[2] = {
  1877. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_duanwu_lottery, packet_id_),
  1878. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_duanwu_lottery, type_),
  1879. };
  1880. packetc2w_duanwu_lottery_reflection_ =
  1881. new ::google::protobuf::internal::GeneratedMessageReflection(
  1882. packetc2w_duanwu_lottery_descriptor_,
  1883. packetc2w_duanwu_lottery::default_instance_,
  1884. packetc2w_duanwu_lottery_offsets_,
  1885. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_duanwu_lottery, _has_bits_[0]),
  1886. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_duanwu_lottery, _unknown_fields_),
  1887. -1,
  1888. ::google::protobuf::DescriptorPool::generated_pool(),
  1889. ::google::protobuf::MessageFactory::generated_factory(),
  1890. sizeof(packetc2w_duanwu_lottery));
  1891. packetw2c_duanwu_lottery_result_descriptor_ = file->message_type(62);
  1892. static const int packetw2c_duanwu_lottery_result_offsets_[4] = {
  1893. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, packet_id_),
  1894. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, result_),
  1895. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, type_),
  1896. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, rewardid_),
  1897. };
  1898. packetw2c_duanwu_lottery_result_reflection_ =
  1899. new ::google::protobuf::internal::GeneratedMessageReflection(
  1900. packetw2c_duanwu_lottery_result_descriptor_,
  1901. packetw2c_duanwu_lottery_result::default_instance_,
  1902. packetw2c_duanwu_lottery_result_offsets_,
  1903. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, _has_bits_[0]),
  1904. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_duanwu_lottery_result, _unknown_fields_),
  1905. -1,
  1906. ::google::protobuf::DescriptorPool::generated_pool(),
  1907. ::google::protobuf::MessageFactory::generated_factory(),
  1908. sizeof(packetw2c_duanwu_lottery_result));
  1909. packetw2c_syn_summer_vacation_info_descriptor_ = file->message_type(63);
  1910. static const int packetw2c_syn_summer_vacation_info_offsets_[10] = {
  1911. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, packet_id_),
  1912. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, activitystate_),
  1913. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, starttime_),
  1914. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, endtime_),
  1915. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, signcount_),
  1916. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, resettimes_),
  1917. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, cansign_),
  1918. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, handbooksawardstat_),
  1919. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, handbooksstat_),
  1920. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, paddycount_),
  1921. };
  1922. packetw2c_syn_summer_vacation_info_reflection_ =
  1923. new ::google::protobuf::internal::GeneratedMessageReflection(
  1924. packetw2c_syn_summer_vacation_info_descriptor_,
  1925. packetw2c_syn_summer_vacation_info::default_instance_,
  1926. packetw2c_syn_summer_vacation_info_offsets_,
  1927. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, _has_bits_[0]),
  1928. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_vacation_info, _unknown_fields_),
  1929. -1,
  1930. ::google::protobuf::DescriptorPool::generated_pool(),
  1931. ::google::protobuf::MessageFactory::generated_factory(),
  1932. sizeof(packetw2c_syn_summer_vacation_info));
  1933. packetc2w_get_summer_quest_descriptor_ = file->message_type(64);
  1934. static const int packetc2w_get_summer_quest_offsets_[1] = {
  1935. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_quest, packet_id_),
  1936. };
  1937. packetc2w_get_summer_quest_reflection_ =
  1938. new ::google::protobuf::internal::GeneratedMessageReflection(
  1939. packetc2w_get_summer_quest_descriptor_,
  1940. packetc2w_get_summer_quest::default_instance_,
  1941. packetc2w_get_summer_quest_offsets_,
  1942. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_quest, _has_bits_[0]),
  1943. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_quest, _unknown_fields_),
  1944. -1,
  1945. ::google::protobuf::DescriptorPool::generated_pool(),
  1946. ::google::protobuf::MessageFactory::generated_factory(),
  1947. sizeof(packetc2w_get_summer_quest));
  1948. packetw2c_get_summer_quest_result_descriptor_ = file->message_type(65);
  1949. static const int packetw2c_get_summer_quest_result_offsets_[2] = {
  1950. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_quest_result, packet_id_),
  1951. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_quest_result, questlist_),
  1952. };
  1953. packetw2c_get_summer_quest_result_reflection_ =
  1954. new ::google::protobuf::internal::GeneratedMessageReflection(
  1955. packetw2c_get_summer_quest_result_descriptor_,
  1956. packetw2c_get_summer_quest_result::default_instance_,
  1957. packetw2c_get_summer_quest_result_offsets_,
  1958. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_quest_result, _has_bits_[0]),
  1959. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_quest_result, _unknown_fields_),
  1960. -1,
  1961. ::google::protobuf::DescriptorPool::generated_pool(),
  1962. ::google::protobuf::MessageFactory::generated_factory(),
  1963. sizeof(packetw2c_get_summer_quest_result));
  1964. packetc2w_recv_summer_login_reward_descriptor_ = file->message_type(66);
  1965. static const int packetc2w_recv_summer_login_reward_offsets_[2] = {
  1966. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_login_reward, packet_id_),
  1967. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_login_reward, signindex_),
  1968. };
  1969. packetc2w_recv_summer_login_reward_reflection_ =
  1970. new ::google::protobuf::internal::GeneratedMessageReflection(
  1971. packetc2w_recv_summer_login_reward_descriptor_,
  1972. packetc2w_recv_summer_login_reward::default_instance_,
  1973. packetc2w_recv_summer_login_reward_offsets_,
  1974. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_login_reward, _has_bits_[0]),
  1975. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_login_reward, _unknown_fields_),
  1976. -1,
  1977. ::google::protobuf::DescriptorPool::generated_pool(),
  1978. ::google::protobuf::MessageFactory::generated_factory(),
  1979. sizeof(packetc2w_recv_summer_login_reward));
  1980. packetw2c_recv_summer_login_reward_result_descriptor_ = file->message_type(67);
  1981. static const int packetw2c_recv_summer_login_reward_result_offsets_[4] = {
  1982. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, packet_id_),
  1983. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, signindex_),
  1984. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, result_),
  1985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, exhandbooksid_),
  1986. };
  1987. packetw2c_recv_summer_login_reward_result_reflection_ =
  1988. new ::google::protobuf::internal::GeneratedMessageReflection(
  1989. packetw2c_recv_summer_login_reward_result_descriptor_,
  1990. packetw2c_recv_summer_login_reward_result::default_instance_,
  1991. packetw2c_recv_summer_login_reward_result_offsets_,
  1992. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, _has_bits_[0]),
  1993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_login_reward_result, _unknown_fields_),
  1994. -1,
  1995. ::google::protobuf::DescriptorPool::generated_pool(),
  1996. ::google::protobuf::MessageFactory::generated_factory(),
  1997. sizeof(packetw2c_recv_summer_login_reward_result));
  1998. packetc2w_recv_summer_quest_award_descriptor_ = file->message_type(68);
  1999. static const int packetc2w_recv_summer_quest_award_offsets_[3] = {
  2000. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, packet_id_),
  2001. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, questid_),
  2002. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, receivebit_),
  2003. };
  2004. packetc2w_recv_summer_quest_award_reflection_ =
  2005. new ::google::protobuf::internal::GeneratedMessageReflection(
  2006. packetc2w_recv_summer_quest_award_descriptor_,
  2007. packetc2w_recv_summer_quest_award::default_instance_,
  2008. packetc2w_recv_summer_quest_award_offsets_,
  2009. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, _has_bits_[0]),
  2010. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_quest_award, _unknown_fields_),
  2011. -1,
  2012. ::google::protobuf::DescriptorPool::generated_pool(),
  2013. ::google::protobuf::MessageFactory::generated_factory(),
  2014. sizeof(packetc2w_recv_summer_quest_award));
  2015. packetw2c_recv_summer_quest_award_result_descriptor_ = file->message_type(69);
  2016. static const int packetw2c_recv_summer_quest_award_result_offsets_[5] = {
  2017. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, packet_id_),
  2018. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, result_),
  2019. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, questid_),
  2020. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, receivebit_),
  2021. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, items_),
  2022. };
  2023. packetw2c_recv_summer_quest_award_result_reflection_ =
  2024. new ::google::protobuf::internal::GeneratedMessageReflection(
  2025. packetw2c_recv_summer_quest_award_result_descriptor_,
  2026. packetw2c_recv_summer_quest_award_result::default_instance_,
  2027. packetw2c_recv_summer_quest_award_result_offsets_,
  2028. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, _has_bits_[0]),
  2029. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_quest_award_result, _unknown_fields_),
  2030. -1,
  2031. ::google::protobuf::DescriptorPool::generated_pool(),
  2032. ::google::protobuf::MessageFactory::generated_factory(),
  2033. sizeof(packetw2c_recv_summer_quest_award_result));
  2034. packetc2w_recv_summer_handbooks_gold_descriptor_ = file->message_type(70);
  2035. static const int packetc2w_recv_summer_handbooks_gold_offsets_[2] = {
  2036. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_gold, packet_id_),
  2037. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_gold, handbooksid_),
  2038. };
  2039. packetc2w_recv_summer_handbooks_gold_reflection_ =
  2040. new ::google::protobuf::internal::GeneratedMessageReflection(
  2041. packetc2w_recv_summer_handbooks_gold_descriptor_,
  2042. packetc2w_recv_summer_handbooks_gold::default_instance_,
  2043. packetc2w_recv_summer_handbooks_gold_offsets_,
  2044. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_gold, _has_bits_[0]),
  2045. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_gold, _unknown_fields_),
  2046. -1,
  2047. ::google::protobuf::DescriptorPool::generated_pool(),
  2048. ::google::protobuf::MessageFactory::generated_factory(),
  2049. sizeof(packetc2w_recv_summer_handbooks_gold));
  2050. packetw2c_recv_summer_handbooks_gold_result_descriptor_ = file->message_type(71);
  2051. static const int packetw2c_recv_summer_handbooks_gold_result_offsets_[3] = {
  2052. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, packet_id_),
  2053. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, handbooksid_),
  2054. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, result_),
  2055. };
  2056. packetw2c_recv_summer_handbooks_gold_result_reflection_ =
  2057. new ::google::protobuf::internal::GeneratedMessageReflection(
  2058. packetw2c_recv_summer_handbooks_gold_result_descriptor_,
  2059. packetw2c_recv_summer_handbooks_gold_result::default_instance_,
  2060. packetw2c_recv_summer_handbooks_gold_result_offsets_,
  2061. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, _has_bits_[0]),
  2062. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_gold_result, _unknown_fields_),
  2063. -1,
  2064. ::google::protobuf::DescriptorPool::generated_pool(),
  2065. ::google::protobuf::MessageFactory::generated_factory(),
  2066. sizeof(packetw2c_recv_summer_handbooks_gold_result));
  2067. packetc2w_recv_summer_handbooks_award_descriptor_ = file->message_type(72);
  2068. static const int packetc2w_recv_summer_handbooks_award_offsets_[2] = {
  2069. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_award, packet_id_),
  2070. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_award, type_),
  2071. };
  2072. packetc2w_recv_summer_handbooks_award_reflection_ =
  2073. new ::google::protobuf::internal::GeneratedMessageReflection(
  2074. packetc2w_recv_summer_handbooks_award_descriptor_,
  2075. packetc2w_recv_summer_handbooks_award::default_instance_,
  2076. packetc2w_recv_summer_handbooks_award_offsets_,
  2077. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_award, _has_bits_[0]),
  2078. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_summer_handbooks_award, _unknown_fields_),
  2079. -1,
  2080. ::google::protobuf::DescriptorPool::generated_pool(),
  2081. ::google::protobuf::MessageFactory::generated_factory(),
  2082. sizeof(packetc2w_recv_summer_handbooks_award));
  2083. packetw2c_recv_summer_handbooks_award_result_descriptor_ = file->message_type(73);
  2084. static const int packetw2c_recv_summer_handbooks_award_result_offsets_[4] = {
  2085. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, packet_id_),
  2086. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, result_),
  2087. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, typelist_),
  2088. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, handbooksgold_),
  2089. };
  2090. packetw2c_recv_summer_handbooks_award_result_reflection_ =
  2091. new ::google::protobuf::internal::GeneratedMessageReflection(
  2092. packetw2c_recv_summer_handbooks_award_result_descriptor_,
  2093. packetw2c_recv_summer_handbooks_award_result::default_instance_,
  2094. packetw2c_recv_summer_handbooks_award_result_offsets_,
  2095. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, _has_bits_[0]),
  2096. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_summer_handbooks_award_result, _unknown_fields_),
  2097. -1,
  2098. ::google::protobuf::DescriptorPool::generated_pool(),
  2099. ::google::protobuf::MessageFactory::generated_factory(),
  2100. sizeof(packetw2c_recv_summer_handbooks_award_result));
  2101. packetc2w_summer_lottery_descriptor_ = file->message_type(74);
  2102. static const int packetc2w_summer_lottery_offsets_[2] = {
  2103. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_lottery, packet_id_),
  2104. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_lottery, type_),
  2105. };
  2106. packetc2w_summer_lottery_reflection_ =
  2107. new ::google::protobuf::internal::GeneratedMessageReflection(
  2108. packetc2w_summer_lottery_descriptor_,
  2109. packetc2w_summer_lottery::default_instance_,
  2110. packetc2w_summer_lottery_offsets_,
  2111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_lottery, _has_bits_[0]),
  2112. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_lottery, _unknown_fields_),
  2113. -1,
  2114. ::google::protobuf::DescriptorPool::generated_pool(),
  2115. ::google::protobuf::MessageFactory::generated_factory(),
  2116. sizeof(packetc2w_summer_lottery));
  2117. packetw2c_summer_lottery_result_descriptor_ = file->message_type(75);
  2118. static const int packetw2c_summer_lottery_result_offsets_[4] = {
  2119. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, packet_id_),
  2120. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, result_),
  2121. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, type_),
  2122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, rewardid_),
  2123. };
  2124. packetw2c_summer_lottery_result_reflection_ =
  2125. new ::google::protobuf::internal::GeneratedMessageReflection(
  2126. packetw2c_summer_lottery_result_descriptor_,
  2127. packetw2c_summer_lottery_result::default_instance_,
  2128. packetw2c_summer_lottery_result_offsets_,
  2129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, _has_bits_[0]),
  2130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_lottery_result, _unknown_fields_),
  2131. -1,
  2132. ::google::protobuf::DescriptorPool::generated_pool(),
  2133. ::google::protobuf::MessageFactory::generated_factory(),
  2134. sizeof(packetw2c_summer_lottery_result));
  2135. onr_history_info_descriptor_ = file->message_type(76);
  2136. static const int onr_history_info_offsets_[2] = {
  2137. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(onr_history_info, name_),
  2138. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(onr_history_info, rate_),
  2139. };
  2140. onr_history_info_reflection_ =
  2141. new ::google::protobuf::internal::GeneratedMessageReflection(
  2142. onr_history_info_descriptor_,
  2143. onr_history_info::default_instance_,
  2144. onr_history_info_offsets_,
  2145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(onr_history_info, _has_bits_[0]),
  2146. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(onr_history_info, _unknown_fields_),
  2147. -1,
  2148. ::google::protobuf::DescriptorPool::generated_pool(),
  2149. ::google::protobuf::MessageFactory::generated_factory(),
  2150. sizeof(onr_history_info));
  2151. packetw2c_syn_one_night_rich_info_descriptor_ = file->message_type(77);
  2152. static const int packetw2c_syn_one_night_rich_info_offsets_[7] = {
  2153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, packet_id_),
  2154. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, activitystate_),
  2155. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, starttime_),
  2156. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, endtime_),
  2157. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, recharged_),
  2158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, lotteryid_),
  2159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, receivecheck_),
  2160. };
  2161. packetw2c_syn_one_night_rich_info_reflection_ =
  2162. new ::google::protobuf::internal::GeneratedMessageReflection(
  2163. packetw2c_syn_one_night_rich_info_descriptor_,
  2164. packetw2c_syn_one_night_rich_info::default_instance_,
  2165. packetw2c_syn_one_night_rich_info_offsets_,
  2166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, _has_bits_[0]),
  2167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_one_night_rich_info, _unknown_fields_),
  2168. -1,
  2169. ::google::protobuf::DescriptorPool::generated_pool(),
  2170. ::google::protobuf::MessageFactory::generated_factory(),
  2171. sizeof(packetw2c_syn_one_night_rich_info));
  2172. packetc2w_recv_one_night_rich_award_descriptor_ = file->message_type(78);
  2173. static const int packetc2w_recv_one_night_rich_award_offsets_[2] = {
  2174. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_one_night_rich_award, packet_id_),
  2175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_one_night_rich_award, type_),
  2176. };
  2177. packetc2w_recv_one_night_rich_award_reflection_ =
  2178. new ::google::protobuf::internal::GeneratedMessageReflection(
  2179. packetc2w_recv_one_night_rich_award_descriptor_,
  2180. packetc2w_recv_one_night_rich_award::default_instance_,
  2181. packetc2w_recv_one_night_rich_award_offsets_,
  2182. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_one_night_rich_award, _has_bits_[0]),
  2183. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_one_night_rich_award, _unknown_fields_),
  2184. -1,
  2185. ::google::protobuf::DescriptorPool::generated_pool(),
  2186. ::google::protobuf::MessageFactory::generated_factory(),
  2187. sizeof(packetc2w_recv_one_night_rich_award));
  2188. packetw2c_recv_one_night_rich_result_descriptor_ = file->message_type(79);
  2189. static const int packetw2c_recv_one_night_rich_result_offsets_[4] = {
  2190. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, packet_id_),
  2191. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, result_),
  2192. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, type_),
  2193. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, index_),
  2194. };
  2195. packetw2c_recv_one_night_rich_result_reflection_ =
  2196. new ::google::protobuf::internal::GeneratedMessageReflection(
  2197. packetw2c_recv_one_night_rich_result_descriptor_,
  2198. packetw2c_recv_one_night_rich_result::default_instance_,
  2199. packetw2c_recv_one_night_rich_result_offsets_,
  2200. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, _has_bits_[0]),
  2201. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_one_night_rich_result, _unknown_fields_),
  2202. -1,
  2203. ::google::protobuf::DescriptorPool::generated_pool(),
  2204. ::google::protobuf::MessageFactory::generated_factory(),
  2205. sizeof(packetw2c_recv_one_night_rich_result));
  2206. packetc2w_recv_onr_historyList_descriptor_ = file->message_type(80);
  2207. static const int packetc2w_recv_onr_historyList_offsets_[1] = {
  2208. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_onr_historyList, packet_id_),
  2209. };
  2210. packetc2w_recv_onr_historyList_reflection_ =
  2211. new ::google::protobuf::internal::GeneratedMessageReflection(
  2212. packetc2w_recv_onr_historyList_descriptor_,
  2213. packetc2w_recv_onr_historyList::default_instance_,
  2214. packetc2w_recv_onr_historyList_offsets_,
  2215. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_onr_historyList, _has_bits_[0]),
  2216. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_onr_historyList, _unknown_fields_),
  2217. -1,
  2218. ::google::protobuf::DescriptorPool::generated_pool(),
  2219. ::google::protobuf::MessageFactory::generated_factory(),
  2220. sizeof(packetc2w_recv_onr_historyList));
  2221. packetw2c_recv_onr_historyList_result_descriptor_ = file->message_type(81);
  2222. static const int packetw2c_recv_onr_historyList_result_offsets_[2] = {
  2223. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_onr_historyList_result, packet_id_),
  2224. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_onr_historyList_result, historylist_),
  2225. };
  2226. packetw2c_recv_onr_historyList_result_reflection_ =
  2227. new ::google::protobuf::internal::GeneratedMessageReflection(
  2228. packetw2c_recv_onr_historyList_result_descriptor_,
  2229. packetw2c_recv_onr_historyList_result::default_instance_,
  2230. packetw2c_recv_onr_historyList_result_offsets_,
  2231. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_onr_historyList_result, _has_bits_[0]),
  2232. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_onr_historyList_result, _unknown_fields_),
  2233. -1,
  2234. ::google::protobuf::DescriptorPool::generated_pool(),
  2235. ::google::protobuf::MessageFactory::generated_factory(),
  2236. sizeof(packetw2c_recv_onr_historyList_result));
  2237. packetw2c_syn_fortune_star_info_descriptor_ = file->message_type(82);
  2238. static const int packetw2c_syn_fortune_star_info_offsets_[5] = {
  2239. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, packet_id_),
  2240. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, activitystate_),
  2241. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, starttime_),
  2242. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, endtime_),
  2243. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, myfortunestar_),
  2244. };
  2245. packetw2c_syn_fortune_star_info_reflection_ =
  2246. new ::google::protobuf::internal::GeneratedMessageReflection(
  2247. packetw2c_syn_fortune_star_info_descriptor_,
  2248. packetw2c_syn_fortune_star_info::default_instance_,
  2249. packetw2c_syn_fortune_star_info_offsets_,
  2250. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, _has_bits_[0]),
  2251. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fortune_star_info, _unknown_fields_),
  2252. -1,
  2253. ::google::protobuf::DescriptorPool::generated_pool(),
  2254. ::google::protobuf::MessageFactory::generated_factory(),
  2255. sizeof(packetw2c_syn_fortune_star_info));
  2256. packetc2w_get_fortune_star_quest_descriptor_ = file->message_type(83);
  2257. static const int packetc2w_get_fortune_star_quest_offsets_[1] = {
  2258. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fortune_star_quest, packet_id_),
  2259. };
  2260. packetc2w_get_fortune_star_quest_reflection_ =
  2261. new ::google::protobuf::internal::GeneratedMessageReflection(
  2262. packetc2w_get_fortune_star_quest_descriptor_,
  2263. packetc2w_get_fortune_star_quest::default_instance_,
  2264. packetc2w_get_fortune_star_quest_offsets_,
  2265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fortune_star_quest, _has_bits_[0]),
  2266. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fortune_star_quest, _unknown_fields_),
  2267. -1,
  2268. ::google::protobuf::DescriptorPool::generated_pool(),
  2269. ::google::protobuf::MessageFactory::generated_factory(),
  2270. sizeof(packetc2w_get_fortune_star_quest));
  2271. packetw2c_get_fortune_star_quest_result_descriptor_ = file->message_type(84);
  2272. static const int packetw2c_get_fortune_star_quest_result_offsets_[2] = {
  2273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fortune_star_quest_result, packet_id_),
  2274. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fortune_star_quest_result, questlist_),
  2275. };
  2276. packetw2c_get_fortune_star_quest_result_reflection_ =
  2277. new ::google::protobuf::internal::GeneratedMessageReflection(
  2278. packetw2c_get_fortune_star_quest_result_descriptor_,
  2279. packetw2c_get_fortune_star_quest_result::default_instance_,
  2280. packetw2c_get_fortune_star_quest_result_offsets_,
  2281. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fortune_star_quest_result, _has_bits_[0]),
  2282. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fortune_star_quest_result, _unknown_fields_),
  2283. -1,
  2284. ::google::protobuf::DescriptorPool::generated_pool(),
  2285. ::google::protobuf::MessageFactory::generated_factory(),
  2286. sizeof(packetw2c_get_fortune_star_quest_result));
  2287. packetc2w_recv_fortune_star_quest_award_descriptor_ = file->message_type(85);
  2288. static const int packetc2w_recv_fortune_star_quest_award_offsets_[2] = {
  2289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_quest_award, packet_id_),
  2290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_quest_award, questid_),
  2291. };
  2292. packetc2w_recv_fortune_star_quest_award_reflection_ =
  2293. new ::google::protobuf::internal::GeneratedMessageReflection(
  2294. packetc2w_recv_fortune_star_quest_award_descriptor_,
  2295. packetc2w_recv_fortune_star_quest_award::default_instance_,
  2296. packetc2w_recv_fortune_star_quest_award_offsets_,
  2297. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_quest_award, _has_bits_[0]),
  2298. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_quest_award, _unknown_fields_),
  2299. -1,
  2300. ::google::protobuf::DescriptorPool::generated_pool(),
  2301. ::google::protobuf::MessageFactory::generated_factory(),
  2302. sizeof(packetc2w_recv_fortune_star_quest_award));
  2303. packetw2c_recv_fortune_star_quest_award_result_descriptor_ = file->message_type(86);
  2304. static const int packetw2c_recv_fortune_star_quest_award_result_offsets_[4] = {
  2305. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, packet_id_),
  2306. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, result_),
  2307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, questid_),
  2308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, items_),
  2309. };
  2310. packetw2c_recv_fortune_star_quest_award_result_reflection_ =
  2311. new ::google::protobuf::internal::GeneratedMessageReflection(
  2312. packetw2c_recv_fortune_star_quest_award_result_descriptor_,
  2313. packetw2c_recv_fortune_star_quest_award_result::default_instance_,
  2314. packetw2c_recv_fortune_star_quest_award_result_offsets_,
  2315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, _has_bits_[0]),
  2316. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_quest_award_result, _unknown_fields_),
  2317. -1,
  2318. ::google::protobuf::DescriptorPool::generated_pool(),
  2319. ::google::protobuf::MessageFactory::generated_factory(),
  2320. sizeof(packetw2c_recv_fortune_star_quest_award_result));
  2321. packetc2w_recv_fortune_star_award_descriptor_ = file->message_type(87);
  2322. static const int packetc2w_recv_fortune_star_award_offsets_[2] = {
  2323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_award, packet_id_),
  2324. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_award, index_),
  2325. };
  2326. packetc2w_recv_fortune_star_award_reflection_ =
  2327. new ::google::protobuf::internal::GeneratedMessageReflection(
  2328. packetc2w_recv_fortune_star_award_descriptor_,
  2329. packetc2w_recv_fortune_star_award::default_instance_,
  2330. packetc2w_recv_fortune_star_award_offsets_,
  2331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_award, _has_bits_[0]),
  2332. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_fortune_star_award, _unknown_fields_),
  2333. -1,
  2334. ::google::protobuf::DescriptorPool::generated_pool(),
  2335. ::google::protobuf::MessageFactory::generated_factory(),
  2336. sizeof(packetc2w_recv_fortune_star_award));
  2337. packetw2c_recv_fortune_star_award_result_descriptor_ = file->message_type(88);
  2338. static const int packetw2c_recv_fortune_star_award_result_offsets_[4] = {
  2339. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, packet_id_),
  2340. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, result_),
  2341. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, index_),
  2342. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, myfortunestar_),
  2343. };
  2344. packetw2c_recv_fortune_star_award_result_reflection_ =
  2345. new ::google::protobuf::internal::GeneratedMessageReflection(
  2346. packetw2c_recv_fortune_star_award_result_descriptor_,
  2347. packetw2c_recv_fortune_star_award_result::default_instance_,
  2348. packetw2c_recv_fortune_star_award_result_offsets_,
  2349. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, _has_bits_[0]),
  2350. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_fortune_star_award_result, _unknown_fields_),
  2351. -1,
  2352. ::google::protobuf::DescriptorPool::generated_pool(),
  2353. ::google::protobuf::MessageFactory::generated_factory(),
  2354. sizeof(packetw2c_recv_fortune_star_award_result));
  2355. activity_rank_descriptor_ = file->message_type(89);
  2356. static const int activity_rank_offsets_[7] = {
  2357. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, nickname_),
  2358. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, playerid_),
  2359. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, vip_),
  2360. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, headid_),
  2361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, frameid_),
  2362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, score_),
  2363. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, rank_),
  2364. };
  2365. activity_rank_reflection_ =
  2366. new ::google::protobuf::internal::GeneratedMessageReflection(
  2367. activity_rank_descriptor_,
  2368. activity_rank::default_instance_,
  2369. activity_rank_offsets_,
  2370. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, _has_bits_[0]),
  2371. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(activity_rank, _unknown_fields_),
  2372. -1,
  2373. ::google::protobuf::DescriptorPool::generated_pool(),
  2374. ::google::protobuf::MessageFactory::generated_factory(),
  2375. sizeof(activity_rank));
  2376. personal_tailor_lottery_history_descriptor_ = file->message_type(90);
  2377. static const int personal_tailor_lottery_history_offsets_[3] = {
  2378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, nickname_),
  2379. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, itemname_),
  2380. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, count_),
  2381. };
  2382. personal_tailor_lottery_history_reflection_ =
  2383. new ::google::protobuf::internal::GeneratedMessageReflection(
  2384. personal_tailor_lottery_history_descriptor_,
  2385. personal_tailor_lottery_history::default_instance_,
  2386. personal_tailor_lottery_history_offsets_,
  2387. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, _has_bits_[0]),
  2388. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(personal_tailor_lottery_history, _unknown_fields_),
  2389. -1,
  2390. ::google::protobuf::DescriptorPool::generated_pool(),
  2391. ::google::protobuf::MessageFactory::generated_factory(),
  2392. sizeof(personal_tailor_lottery_history));
  2393. packetw2c_syn_personal_tailor_info_descriptor_ = file->message_type(91);
  2394. static const int packetw2c_syn_personal_tailor_info_offsets_[9] = {
  2395. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, packet_id_),
  2396. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, activitystate_),
  2397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, starttime_),
  2398. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, endtime_),
  2399. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, exchangeticket1_),
  2400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, exchangeticket2_),
  2401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, points_),
  2402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, ranklist_),
  2403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, historylist_),
  2404. };
  2405. packetw2c_syn_personal_tailor_info_reflection_ =
  2406. new ::google::protobuf::internal::GeneratedMessageReflection(
  2407. packetw2c_syn_personal_tailor_info_descriptor_,
  2408. packetw2c_syn_personal_tailor_info::default_instance_,
  2409. packetw2c_syn_personal_tailor_info_offsets_,
  2410. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, _has_bits_[0]),
  2411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_info, _unknown_fields_),
  2412. -1,
  2413. ::google::protobuf::DescriptorPool::generated_pool(),
  2414. ::google::protobuf::MessageFactory::generated_factory(),
  2415. sizeof(packetw2c_syn_personal_tailor_info));
  2416. packetc2w_get_personal_tailor_rank_descriptor_ = file->message_type(92);
  2417. static const int packetc2w_get_personal_tailor_rank_offsets_[1] = {
  2418. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_rank, packet_id_),
  2419. };
  2420. packetc2w_get_personal_tailor_rank_reflection_ =
  2421. new ::google::protobuf::internal::GeneratedMessageReflection(
  2422. packetc2w_get_personal_tailor_rank_descriptor_,
  2423. packetc2w_get_personal_tailor_rank::default_instance_,
  2424. packetc2w_get_personal_tailor_rank_offsets_,
  2425. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_rank, _has_bits_[0]),
  2426. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_rank, _unknown_fields_),
  2427. -1,
  2428. ::google::protobuf::DescriptorPool::generated_pool(),
  2429. ::google::protobuf::MessageFactory::generated_factory(),
  2430. sizeof(packetc2w_get_personal_tailor_rank));
  2431. packetw2c_get_personal_tailor_rank_result_descriptor_ = file->message_type(93);
  2432. static const int packetw2c_get_personal_tailor_rank_result_offsets_[3] = {
  2433. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, packet_id_),
  2434. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, ranklist_),
  2435. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, mypoints_),
  2436. };
  2437. packetw2c_get_personal_tailor_rank_result_reflection_ =
  2438. new ::google::protobuf::internal::GeneratedMessageReflection(
  2439. packetw2c_get_personal_tailor_rank_result_descriptor_,
  2440. packetw2c_get_personal_tailor_rank_result::default_instance_,
  2441. packetw2c_get_personal_tailor_rank_result_offsets_,
  2442. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, _has_bits_[0]),
  2443. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_rank_result, _unknown_fields_),
  2444. -1,
  2445. ::google::protobuf::DescriptorPool::generated_pool(),
  2446. ::google::protobuf::MessageFactory::generated_factory(),
  2447. sizeof(packetw2c_get_personal_tailor_rank_result));
  2448. packetc2w_get_personal_tailor_lottry_history_descriptor_ = file->message_type(94);
  2449. static const int packetc2w_get_personal_tailor_lottry_history_offsets_[1] = {
  2450. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_lottry_history, packet_id_),
  2451. };
  2452. packetc2w_get_personal_tailor_lottry_history_reflection_ =
  2453. new ::google::protobuf::internal::GeneratedMessageReflection(
  2454. packetc2w_get_personal_tailor_lottry_history_descriptor_,
  2455. packetc2w_get_personal_tailor_lottry_history::default_instance_,
  2456. packetc2w_get_personal_tailor_lottry_history_offsets_,
  2457. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_lottry_history, _has_bits_[0]),
  2458. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_personal_tailor_lottry_history, _unknown_fields_),
  2459. -1,
  2460. ::google::protobuf::DescriptorPool::generated_pool(),
  2461. ::google::protobuf::MessageFactory::generated_factory(),
  2462. sizeof(packetc2w_get_personal_tailor_lottry_history));
  2463. packetw2c_get_personal_tailor_lottry_history_result_descriptor_ = file->message_type(95);
  2464. static const int packetw2c_get_personal_tailor_lottry_history_result_offsets_[2] = {
  2465. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_lottry_history_result, packet_id_),
  2466. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_lottry_history_result, historylist_),
  2467. };
  2468. packetw2c_get_personal_tailor_lottry_history_result_reflection_ =
  2469. new ::google::protobuf::internal::GeneratedMessageReflection(
  2470. packetw2c_get_personal_tailor_lottry_history_result_descriptor_,
  2471. packetw2c_get_personal_tailor_lottry_history_result::default_instance_,
  2472. packetw2c_get_personal_tailor_lottry_history_result_offsets_,
  2473. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_lottry_history_result, _has_bits_[0]),
  2474. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_personal_tailor_lottry_history_result, _unknown_fields_),
  2475. -1,
  2476. ::google::protobuf::DescriptorPool::generated_pool(),
  2477. ::google::protobuf::MessageFactory::generated_factory(),
  2478. sizeof(packetw2c_get_personal_tailor_lottry_history_result));
  2479. packetc2w_personal_tailor_lottery_descriptor_ = file->message_type(96);
  2480. static const int packetc2w_personal_tailor_lottery_offsets_[2] = {
  2481. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_lottery, packet_id_),
  2482. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_lottery, count_),
  2483. };
  2484. packetc2w_personal_tailor_lottery_reflection_ =
  2485. new ::google::protobuf::internal::GeneratedMessageReflection(
  2486. packetc2w_personal_tailor_lottery_descriptor_,
  2487. packetc2w_personal_tailor_lottery::default_instance_,
  2488. packetc2w_personal_tailor_lottery_offsets_,
  2489. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_lottery, _has_bits_[0]),
  2490. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_lottery, _unknown_fields_),
  2491. -1,
  2492. ::google::protobuf::DescriptorPool::generated_pool(),
  2493. ::google::protobuf::MessageFactory::generated_factory(),
  2494. sizeof(packetc2w_personal_tailor_lottery));
  2495. packetw2c_personal_tailor_lottery_result_descriptor_ = file->message_type(97);
  2496. static const int packetw2c_personal_tailor_lottery_result_offsets_[4] = {
  2497. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, packet_id_),
  2498. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, result_),
  2499. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, count_),
  2500. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, index_),
  2501. };
  2502. packetw2c_personal_tailor_lottery_result_reflection_ =
  2503. new ::google::protobuf::internal::GeneratedMessageReflection(
  2504. packetw2c_personal_tailor_lottery_result_descriptor_,
  2505. packetw2c_personal_tailor_lottery_result::default_instance_,
  2506. packetw2c_personal_tailor_lottery_result_offsets_,
  2507. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, _has_bits_[0]),
  2508. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_lottery_result, _unknown_fields_),
  2509. -1,
  2510. ::google::protobuf::DescriptorPool::generated_pool(),
  2511. ::google::protobuf::MessageFactory::generated_factory(),
  2512. sizeof(packetw2c_personal_tailor_lottery_result));
  2513. packetc2w_personal_tailor_exchange_descriptor_ = file->message_type(98);
  2514. static const int packetc2w_personal_tailor_exchange_offsets_[2] = {
  2515. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_exchange, packet_id_),
  2516. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_exchange, index_),
  2517. };
  2518. packetc2w_personal_tailor_exchange_reflection_ =
  2519. new ::google::protobuf::internal::GeneratedMessageReflection(
  2520. packetc2w_personal_tailor_exchange_descriptor_,
  2521. packetc2w_personal_tailor_exchange::default_instance_,
  2522. packetc2w_personal_tailor_exchange_offsets_,
  2523. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_exchange, _has_bits_[0]),
  2524. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_personal_tailor_exchange, _unknown_fields_),
  2525. -1,
  2526. ::google::protobuf::DescriptorPool::generated_pool(),
  2527. ::google::protobuf::MessageFactory::generated_factory(),
  2528. sizeof(packetc2w_personal_tailor_exchange));
  2529. packetw2c_personal_tailor_exchange_result_descriptor_ = file->message_type(99);
  2530. static const int packetw2c_personal_tailor_exchange_result_offsets_[3] = {
  2531. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, packet_id_),
  2532. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, result_),
  2533. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, index_),
  2534. };
  2535. packetw2c_personal_tailor_exchange_result_reflection_ =
  2536. new ::google::protobuf::internal::GeneratedMessageReflection(
  2537. packetw2c_personal_tailor_exchange_result_descriptor_,
  2538. packetw2c_personal_tailor_exchange_result::default_instance_,
  2539. packetw2c_personal_tailor_exchange_result_offsets_,
  2540. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, _has_bits_[0]),
  2541. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_personal_tailor_exchange_result, _unknown_fields_),
  2542. -1,
  2543. ::google::protobuf::DescriptorPool::generated_pool(),
  2544. ::google::protobuf::MessageFactory::generated_factory(),
  2545. sizeof(packetw2c_personal_tailor_exchange_result));
  2546. packetw2c_syn_time_limit_purchase_info_descriptor_ = file->message_type(100);
  2547. static const int packetw2c_syn_time_limit_purchase_info_offsets_[5] = {
  2548. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, packet_id_),
  2549. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, activitystate_),
  2550. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, starttime_),
  2551. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, endtime_),
  2552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, itemclock_),
  2553. };
  2554. packetw2c_syn_time_limit_purchase_info_reflection_ =
  2555. new ::google::protobuf::internal::GeneratedMessageReflection(
  2556. packetw2c_syn_time_limit_purchase_info_descriptor_,
  2557. packetw2c_syn_time_limit_purchase_info::default_instance_,
  2558. packetw2c_syn_time_limit_purchase_info_offsets_,
  2559. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, _has_bits_[0]),
  2560. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_time_limit_purchase_info, _unknown_fields_),
  2561. -1,
  2562. ::google::protobuf::DescriptorPool::generated_pool(),
  2563. ::google::protobuf::MessageFactory::generated_factory(),
  2564. sizeof(packetw2c_syn_time_limit_purchase_info));
  2565. packetc2w_time_limit_purchase_lottery_descriptor_ = file->message_type(101);
  2566. static const int packetc2w_time_limit_purchase_lottery_offsets_[2] = {
  2567. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_time_limit_purchase_lottery, packet_id_),
  2568. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_time_limit_purchase_lottery, count_),
  2569. };
  2570. packetc2w_time_limit_purchase_lottery_reflection_ =
  2571. new ::google::protobuf::internal::GeneratedMessageReflection(
  2572. packetc2w_time_limit_purchase_lottery_descriptor_,
  2573. packetc2w_time_limit_purchase_lottery::default_instance_,
  2574. packetc2w_time_limit_purchase_lottery_offsets_,
  2575. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_time_limit_purchase_lottery, _has_bits_[0]),
  2576. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_time_limit_purchase_lottery, _unknown_fields_),
  2577. -1,
  2578. ::google::protobuf::DescriptorPool::generated_pool(),
  2579. ::google::protobuf::MessageFactory::generated_factory(),
  2580. sizeof(packetc2w_time_limit_purchase_lottery));
  2581. packetw2c_time_limit_purchase_lottery_result_descriptor_ = file->message_type(102);
  2582. static const int packetw2c_time_limit_purchase_lottery_result_offsets_[4] = {
  2583. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, packet_id_),
  2584. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, result_),
  2585. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, count_),
  2586. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, index_),
  2587. };
  2588. packetw2c_time_limit_purchase_lottery_result_reflection_ =
  2589. new ::google::protobuf::internal::GeneratedMessageReflection(
  2590. packetw2c_time_limit_purchase_lottery_result_descriptor_,
  2591. packetw2c_time_limit_purchase_lottery_result::default_instance_,
  2592. packetw2c_time_limit_purchase_lottery_result_offsets_,
  2593. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, _has_bits_[0]),
  2594. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_time_limit_purchase_lottery_result, _unknown_fields_),
  2595. -1,
  2596. ::google::protobuf::DescriptorPool::generated_pool(),
  2597. ::google::protobuf::MessageFactory::generated_factory(),
  2598. sizeof(packetw2c_time_limit_purchase_lottery_result));
  2599. packetw2c_syn_lucky_bag_info_descriptor_ = file->message_type(103);
  2600. static const int packetw2c_syn_lucky_bag_info_offsets_[4] = {
  2601. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, packet_id_),
  2602. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, activitystate_),
  2603. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, starttime_),
  2604. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, endtime_),
  2605. };
  2606. packetw2c_syn_lucky_bag_info_reflection_ =
  2607. new ::google::protobuf::internal::GeneratedMessageReflection(
  2608. packetw2c_syn_lucky_bag_info_descriptor_,
  2609. packetw2c_syn_lucky_bag_info::default_instance_,
  2610. packetw2c_syn_lucky_bag_info_offsets_,
  2611. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, _has_bits_[0]),
  2612. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_lucky_bag_info, _unknown_fields_),
  2613. -1,
  2614. ::google::protobuf::DescriptorPool::generated_pool(),
  2615. ::google::protobuf::MessageFactory::generated_factory(),
  2616. sizeof(packetw2c_syn_lucky_bag_info));
  2617. packetw2c_syn_vip_limit_purchase_info_descriptor_ = file->message_type(104);
  2618. static const int packetw2c_syn_vip_limit_purchase_info_offsets_[4] = {
  2619. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, packet_id_),
  2620. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, activitystate_),
  2621. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, starttime_),
  2622. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, endtime_),
  2623. };
  2624. packetw2c_syn_vip_limit_purchase_info_reflection_ =
  2625. new ::google::protobuf::internal::GeneratedMessageReflection(
  2626. packetw2c_syn_vip_limit_purchase_info_descriptor_,
  2627. packetw2c_syn_vip_limit_purchase_info::default_instance_,
  2628. packetw2c_syn_vip_limit_purchase_info_offsets_,
  2629. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, _has_bits_[0]),
  2630. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_vip_limit_purchase_info, _unknown_fields_),
  2631. -1,
  2632. ::google::protobuf::DescriptorPool::generated_pool(),
  2633. ::google::protobuf::MessageFactory::generated_factory(),
  2634. sizeof(packetw2c_syn_vip_limit_purchase_info));
  2635. packetw2c_syn_turret_lottery_info_descriptor_ = file->message_type(105);
  2636. static const int packetw2c_syn_turret_lottery_info_offsets_[4] = {
  2637. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, packet_id_),
  2638. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, activitystate_),
  2639. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, starttime_),
  2640. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, endtime_),
  2641. };
  2642. packetw2c_syn_turret_lottery_info_reflection_ =
  2643. new ::google::protobuf::internal::GeneratedMessageReflection(
  2644. packetw2c_syn_turret_lottery_info_descriptor_,
  2645. packetw2c_syn_turret_lottery_info::default_instance_,
  2646. packetw2c_syn_turret_lottery_info_offsets_,
  2647. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, _has_bits_[0]),
  2648. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_turret_lottery_info, _unknown_fields_),
  2649. -1,
  2650. ::google::protobuf::DescriptorPool::generated_pool(),
  2651. ::google::protobuf::MessageFactory::generated_factory(),
  2652. sizeof(packetw2c_syn_turret_lottery_info));
  2653. packetc2w_turret_lottery_descriptor_ = file->message_type(106);
  2654. static const int packetc2w_turret_lottery_offsets_[2] = {
  2655. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_turret_lottery, packet_id_),
  2656. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_turret_lottery, count_),
  2657. };
  2658. packetc2w_turret_lottery_reflection_ =
  2659. new ::google::protobuf::internal::GeneratedMessageReflection(
  2660. packetc2w_turret_lottery_descriptor_,
  2661. packetc2w_turret_lottery::default_instance_,
  2662. packetc2w_turret_lottery_offsets_,
  2663. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_turret_lottery, _has_bits_[0]),
  2664. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_turret_lottery, _unknown_fields_),
  2665. -1,
  2666. ::google::protobuf::DescriptorPool::generated_pool(),
  2667. ::google::protobuf::MessageFactory::generated_factory(),
  2668. sizeof(packetc2w_turret_lottery));
  2669. packetw2c_turret_lottery_result_descriptor_ = file->message_type(107);
  2670. static const int packetw2c_turret_lottery_result_offsets_[4] = {
  2671. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, packet_id_),
  2672. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, result_),
  2673. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, count_),
  2674. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, index_),
  2675. };
  2676. packetw2c_turret_lottery_result_reflection_ =
  2677. new ::google::protobuf::internal::GeneratedMessageReflection(
  2678. packetw2c_turret_lottery_result_descriptor_,
  2679. packetw2c_turret_lottery_result::default_instance_,
  2680. packetw2c_turret_lottery_result_offsets_,
  2681. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, _has_bits_[0]),
  2682. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_turret_lottery_result, _unknown_fields_),
  2683. -1,
  2684. ::google::protobuf::DescriptorPool::generated_pool(),
  2685. ::google::protobuf::MessageFactory::generated_factory(),
  2686. sizeof(packetw2c_turret_lottery_result));
  2687. packetw2c_syn_smashing_eggs_info_descriptor_ = file->message_type(108);
  2688. static const int packetw2c_syn_smashing_eggs_info_offsets_[7] = {
  2689. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, packet_id_),
  2690. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, activitystate_),
  2691. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, starttime_),
  2692. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, endtime_),
  2693. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, recharged_),
  2694. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, hammer_),
  2695. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, jackpot_),
  2696. };
  2697. packetw2c_syn_smashing_eggs_info_reflection_ =
  2698. new ::google::protobuf::internal::GeneratedMessageReflection(
  2699. packetw2c_syn_smashing_eggs_info_descriptor_,
  2700. packetw2c_syn_smashing_eggs_info::default_instance_,
  2701. packetw2c_syn_smashing_eggs_info_offsets_,
  2702. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, _has_bits_[0]),
  2703. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_smashing_eggs_info, _unknown_fields_),
  2704. -1,
  2705. ::google::protobuf::DescriptorPool::generated_pool(),
  2706. ::google::protobuf::MessageFactory::generated_factory(),
  2707. sizeof(packetw2c_syn_smashing_eggs_info));
  2708. packetc2w_get_smashing_eggs_info_descriptor_ = file->message_type(109);
  2709. static const int packetc2w_get_smashing_eggs_info_offsets_[1] = {
  2710. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_info, packet_id_),
  2711. };
  2712. packetc2w_get_smashing_eggs_info_reflection_ =
  2713. new ::google::protobuf::internal::GeneratedMessageReflection(
  2714. packetc2w_get_smashing_eggs_info_descriptor_,
  2715. packetc2w_get_smashing_eggs_info::default_instance_,
  2716. packetc2w_get_smashing_eggs_info_offsets_,
  2717. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_info, _has_bits_[0]),
  2718. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_info, _unknown_fields_),
  2719. -1,
  2720. ::google::protobuf::DescriptorPool::generated_pool(),
  2721. ::google::protobuf::MessageFactory::generated_factory(),
  2722. sizeof(packetc2w_get_smashing_eggs_info));
  2723. packetc2w_smashing_eggs_descriptor_ = file->message_type(110);
  2724. static const int packetc2w_smashing_eggs_offsets_[2] = {
  2725. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_smashing_eggs, packet_id_),
  2726. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_smashing_eggs, type_),
  2727. };
  2728. packetc2w_smashing_eggs_reflection_ =
  2729. new ::google::protobuf::internal::GeneratedMessageReflection(
  2730. packetc2w_smashing_eggs_descriptor_,
  2731. packetc2w_smashing_eggs::default_instance_,
  2732. packetc2w_smashing_eggs_offsets_,
  2733. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_smashing_eggs, _has_bits_[0]),
  2734. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_smashing_eggs, _unknown_fields_),
  2735. -1,
  2736. ::google::protobuf::DescriptorPool::generated_pool(),
  2737. ::google::protobuf::MessageFactory::generated_factory(),
  2738. sizeof(packetc2w_smashing_eggs));
  2739. packetw2c_smashing_eggs_result_descriptor_ = file->message_type(111);
  2740. static const int packetw2c_smashing_eggs_result_offsets_[4] = {
  2741. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, packet_id_),
  2742. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, result_),
  2743. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, type_),
  2744. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, index_),
  2745. };
  2746. packetw2c_smashing_eggs_result_reflection_ =
  2747. new ::google::protobuf::internal::GeneratedMessageReflection(
  2748. packetw2c_smashing_eggs_result_descriptor_,
  2749. packetw2c_smashing_eggs_result::default_instance_,
  2750. packetw2c_smashing_eggs_result_offsets_,
  2751. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, _has_bits_[0]),
  2752. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_smashing_eggs_result, _unknown_fields_),
  2753. -1,
  2754. ::google::protobuf::DescriptorPool::generated_pool(),
  2755. ::google::protobuf::MessageFactory::generated_factory(),
  2756. sizeof(packetw2c_smashing_eggs_result));
  2757. packetc2w_get_smashing_eggs_rank_descriptor_ = file->message_type(112);
  2758. static const int packetc2w_get_smashing_eggs_rank_offsets_[1] = {
  2759. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_rank, packet_id_),
  2760. };
  2761. packetc2w_get_smashing_eggs_rank_reflection_ =
  2762. new ::google::protobuf::internal::GeneratedMessageReflection(
  2763. packetc2w_get_smashing_eggs_rank_descriptor_,
  2764. packetc2w_get_smashing_eggs_rank::default_instance_,
  2765. packetc2w_get_smashing_eggs_rank_offsets_,
  2766. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_rank, _has_bits_[0]),
  2767. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_smashing_eggs_rank, _unknown_fields_),
  2768. -1,
  2769. ::google::protobuf::DescriptorPool::generated_pool(),
  2770. ::google::protobuf::MessageFactory::generated_factory(),
  2771. sizeof(packetc2w_get_smashing_eggs_rank));
  2772. packetw2c_get_smashing_eggs_rank_result_descriptor_ = file->message_type(113);
  2773. static const int packetw2c_get_smashing_eggs_rank_result_offsets_[3] = {
  2774. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, packet_id_),
  2775. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, ranklist_),
  2776. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, mypoint_),
  2777. };
  2778. packetw2c_get_smashing_eggs_rank_result_reflection_ =
  2779. new ::google::protobuf::internal::GeneratedMessageReflection(
  2780. packetw2c_get_smashing_eggs_rank_result_descriptor_,
  2781. packetw2c_get_smashing_eggs_rank_result::default_instance_,
  2782. packetw2c_get_smashing_eggs_rank_result_offsets_,
  2783. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, _has_bits_[0]),
  2784. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_smashing_eggs_rank_result, _unknown_fields_),
  2785. -1,
  2786. ::google::protobuf::DescriptorPool::generated_pool(),
  2787. ::google::protobuf::MessageFactory::generated_factory(),
  2788. sizeof(packetw2c_get_smashing_eggs_rank_result));
  2789. packetw2c_syn_rich_lottery_info_descriptor_ = file->message_type(114);
  2790. static const int packetw2c_syn_rich_lottery_info_offsets_[5] = {
  2791. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, packet_id_),
  2792. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, activitystate_),
  2793. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, starttime_),
  2794. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, endtime_),
  2795. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, mult_),
  2796. };
  2797. packetw2c_syn_rich_lottery_info_reflection_ =
  2798. new ::google::protobuf::internal::GeneratedMessageReflection(
  2799. packetw2c_syn_rich_lottery_info_descriptor_,
  2800. packetw2c_syn_rich_lottery_info::default_instance_,
  2801. packetw2c_syn_rich_lottery_info_offsets_,
  2802. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, _has_bits_[0]),
  2803. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_rich_lottery_info, _unknown_fields_),
  2804. -1,
  2805. ::google::protobuf::DescriptorPool::generated_pool(),
  2806. ::google::protobuf::MessageFactory::generated_factory(),
  2807. sizeof(packetw2c_syn_rich_lottery_info));
  2808. packetc2w_rich_lottery_descriptor_ = file->message_type(115);
  2809. static const int packetc2w_rich_lottery_offsets_[1] = {
  2810. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_rich_lottery, packet_id_),
  2811. };
  2812. packetc2w_rich_lottery_reflection_ =
  2813. new ::google::protobuf::internal::GeneratedMessageReflection(
  2814. packetc2w_rich_lottery_descriptor_,
  2815. packetc2w_rich_lottery::default_instance_,
  2816. packetc2w_rich_lottery_offsets_,
  2817. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_rich_lottery, _has_bits_[0]),
  2818. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_rich_lottery, _unknown_fields_),
  2819. -1,
  2820. ::google::protobuf::DescriptorPool::generated_pool(),
  2821. ::google::protobuf::MessageFactory::generated_factory(),
  2822. sizeof(packetc2w_rich_lottery));
  2823. packetw2c_rich_lottery_result_descriptor_ = file->message_type(116);
  2824. static const int packetw2c_rich_lottery_result_offsets_[3] = {
  2825. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, packet_id_),
  2826. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, result_),
  2827. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, mult_),
  2828. };
  2829. packetw2c_rich_lottery_result_reflection_ =
  2830. new ::google::protobuf::internal::GeneratedMessageReflection(
  2831. packetw2c_rich_lottery_result_descriptor_,
  2832. packetw2c_rich_lottery_result::default_instance_,
  2833. packetw2c_rich_lottery_result_offsets_,
  2834. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, _has_bits_[0]),
  2835. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_rich_lottery_result, _unknown_fields_),
  2836. -1,
  2837. ::google::protobuf::DescriptorPool::generated_pool(),
  2838. ::google::protobuf::MessageFactory::generated_factory(),
  2839. sizeof(packetw2c_rich_lottery_result));
  2840. packetw2c_syn_summer_revels_info_descriptor_ = file->message_type(117);
  2841. static const int packetw2c_syn_summer_revels_info_offsets_[8] = {
  2842. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, packet_id_),
  2843. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, activitystate_),
  2844. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, starttime_),
  2845. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, endtime_),
  2846. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, points_),
  2847. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, todayrecharged_),
  2848. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, ranklist_),
  2849. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, receivecheck_),
  2850. };
  2851. packetw2c_syn_summer_revels_info_reflection_ =
  2852. new ::google::protobuf::internal::GeneratedMessageReflection(
  2853. packetw2c_syn_summer_revels_info_descriptor_,
  2854. packetw2c_syn_summer_revels_info::default_instance_,
  2855. packetw2c_syn_summer_revels_info_offsets_,
  2856. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, _has_bits_[0]),
  2857. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_revels_info, _unknown_fields_),
  2858. -1,
  2859. ::google::protobuf::DescriptorPool::generated_pool(),
  2860. ::google::protobuf::MessageFactory::generated_factory(),
  2861. sizeof(packetw2c_syn_summer_revels_info));
  2862. packetc2w_get_summer_revels_rank_descriptor_ = file->message_type(118);
  2863. static const int packetc2w_get_summer_revels_rank_offsets_[1] = {
  2864. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_revels_rank, packet_id_),
  2865. };
  2866. packetc2w_get_summer_revels_rank_reflection_ =
  2867. new ::google::protobuf::internal::GeneratedMessageReflection(
  2868. packetc2w_get_summer_revels_rank_descriptor_,
  2869. packetc2w_get_summer_revels_rank::default_instance_,
  2870. packetc2w_get_summer_revels_rank_offsets_,
  2871. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_revels_rank, _has_bits_[0]),
  2872. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_summer_revels_rank, _unknown_fields_),
  2873. -1,
  2874. ::google::protobuf::DescriptorPool::generated_pool(),
  2875. ::google::protobuf::MessageFactory::generated_factory(),
  2876. sizeof(packetc2w_get_summer_revels_rank));
  2877. packetw2c_get_summer_revels_rank_result_descriptor_ = file->message_type(119);
  2878. static const int packetw2c_get_summer_revels_rank_result_offsets_[3] = {
  2879. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, packet_id_),
  2880. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, ranklist_),
  2881. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, mypoints_),
  2882. };
  2883. packetw2c_get_summer_revels_rank_result_reflection_ =
  2884. new ::google::protobuf::internal::GeneratedMessageReflection(
  2885. packetw2c_get_summer_revels_rank_result_descriptor_,
  2886. packetw2c_get_summer_revels_rank_result::default_instance_,
  2887. packetw2c_get_summer_revels_rank_result_offsets_,
  2888. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, _has_bits_[0]),
  2889. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_summer_revels_rank_result, _unknown_fields_),
  2890. -1,
  2891. ::google::protobuf::DescriptorPool::generated_pool(),
  2892. ::google::protobuf::MessageFactory::generated_factory(),
  2893. sizeof(packetw2c_get_summer_revels_rank_result));
  2894. packetc2w_summer_revels_lottery_descriptor_ = file->message_type(120);
  2895. static const int packetc2w_summer_revels_lottery_offsets_[2] = {
  2896. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_revels_lottery, packet_id_),
  2897. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_revels_lottery, index_),
  2898. };
  2899. packetc2w_summer_revels_lottery_reflection_ =
  2900. new ::google::protobuf::internal::GeneratedMessageReflection(
  2901. packetc2w_summer_revels_lottery_descriptor_,
  2902. packetc2w_summer_revels_lottery::default_instance_,
  2903. packetc2w_summer_revels_lottery_offsets_,
  2904. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_revels_lottery, _has_bits_[0]),
  2905. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_revels_lottery, _unknown_fields_),
  2906. -1,
  2907. ::google::protobuf::DescriptorPool::generated_pool(),
  2908. ::google::protobuf::MessageFactory::generated_factory(),
  2909. sizeof(packetc2w_summer_revels_lottery));
  2910. packetw2c_summer_revels_lottery_result_descriptor_ = file->message_type(121);
  2911. static const int packetw2c_summer_revels_lottery_result_offsets_[4] = {
  2912. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, packet_id_),
  2913. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, result_),
  2914. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, index_),
  2915. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, items_),
  2916. };
  2917. packetw2c_summer_revels_lottery_result_reflection_ =
  2918. new ::google::protobuf::internal::GeneratedMessageReflection(
  2919. packetw2c_summer_revels_lottery_result_descriptor_,
  2920. packetw2c_summer_revels_lottery_result::default_instance_,
  2921. packetw2c_summer_revels_lottery_result_offsets_,
  2922. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, _has_bits_[0]),
  2923. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_revels_lottery_result, _unknown_fields_),
  2924. -1,
  2925. ::google::protobuf::DescriptorPool::generated_pool(),
  2926. ::google::protobuf::MessageFactory::generated_factory(),
  2927. sizeof(packetw2c_summer_revels_lottery_result));
  2928. attackInfo_descriptor_ = file->message_type(122);
  2929. static const int attackInfo_offsets_[2] = {
  2930. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(attackInfo, weaponid_),
  2931. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(attackInfo, harmvalue_),
  2932. };
  2933. attackInfo_reflection_ =
  2934. new ::google::protobuf::internal::GeneratedMessageReflection(
  2935. attackInfo_descriptor_,
  2936. attackInfo::default_instance_,
  2937. attackInfo_offsets_,
  2938. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(attackInfo, _has_bits_[0]),
  2939. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(attackInfo, _unknown_fields_),
  2940. -1,
  2941. ::google::protobuf::DescriptorPool::generated_pool(),
  2942. ::google::protobuf::MessageFactory::generated_factory(),
  2943. sizeof(attackInfo));
  2944. demonTowerInfo_descriptor_ = file->message_type(123);
  2945. static const int demonTowerInfo_offsets_[6] = {
  2946. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, floor_),
  2947. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, leftlife_),
  2948. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, curround_),
  2949. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, killcount_),
  2950. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, starcount_),
  2951. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, attackhistory_),
  2952. };
  2953. demonTowerInfo_reflection_ =
  2954. new ::google::protobuf::internal::GeneratedMessageReflection(
  2955. demonTowerInfo_descriptor_,
  2956. demonTowerInfo::default_instance_,
  2957. demonTowerInfo_offsets_,
  2958. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, _has_bits_[0]),
  2959. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(demonTowerInfo, _unknown_fields_),
  2960. -1,
  2961. ::google::protobuf::DescriptorPool::generated_pool(),
  2962. ::google::protobuf::MessageFactory::generated_factory(),
  2963. sizeof(demonTowerInfo));
  2964. weaponInfo_descriptor_ = file->message_type(124);
  2965. static const int weaponInfo_offsets_[2] = {
  2966. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(weaponInfo, weaponid_),
  2967. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(weaponInfo, count_),
  2968. };
  2969. weaponInfo_reflection_ =
  2970. new ::google::protobuf::internal::GeneratedMessageReflection(
  2971. weaponInfo_descriptor_,
  2972. weaponInfo::default_instance_,
  2973. weaponInfo_offsets_,
  2974. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(weaponInfo, _has_bits_[0]),
  2975. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(weaponInfo, _unknown_fields_),
  2976. -1,
  2977. ::google::protobuf::DescriptorPool::generated_pool(),
  2978. ::google::protobuf::MessageFactory::generated_factory(),
  2979. sizeof(weaponInfo));
  2980. packetw2c_syn_kill_demons_info_descriptor_ = file->message_type(125);
  2981. static const int packetw2c_syn_kill_demons_info_offsets_[15] = {
  2982. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, packet_id_),
  2983. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, activitystate_),
  2984. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, starttime_),
  2985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, endtime_),
  2986. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, trialscore_),
  2987. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, trialscorehistory_),
  2988. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, swordenergy_),
  2989. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, smelttimes_),
  2990. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, huntdemonscore_),
  2991. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, receivetrial_),
  2992. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, receiveswordenergy_),
  2993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, receivestar_),
  2994. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, towerlist_),
  2995. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, weaponlist_),
  2996. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, starcount_),
  2997. };
  2998. packetw2c_syn_kill_demons_info_reflection_ =
  2999. new ::google::protobuf::internal::GeneratedMessageReflection(
  3000. packetw2c_syn_kill_demons_info_descriptor_,
  3001. packetw2c_syn_kill_demons_info::default_instance_,
  3002. packetw2c_syn_kill_demons_info_offsets_,
  3003. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, _has_bits_[0]),
  3004. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kill_demons_info, _unknown_fields_),
  3005. -1,
  3006. ::google::protobuf::DescriptorPool::generated_pool(),
  3007. ::google::protobuf::MessageFactory::generated_factory(),
  3008. sizeof(packetw2c_syn_kill_demons_info));
  3009. packetc2w_recv_kill_demons_quest_award_descriptor_ = file->message_type(126);
  3010. static const int packetc2w_recv_kill_demons_quest_award_offsets_[2] = {
  3011. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_kill_demons_quest_award, packet_id_),
  3012. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_kill_demons_quest_award, questid_),
  3013. };
  3014. packetc2w_recv_kill_demons_quest_award_reflection_ =
  3015. new ::google::protobuf::internal::GeneratedMessageReflection(
  3016. packetc2w_recv_kill_demons_quest_award_descriptor_,
  3017. packetc2w_recv_kill_demons_quest_award::default_instance_,
  3018. packetc2w_recv_kill_demons_quest_award_offsets_,
  3019. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_kill_demons_quest_award, _has_bits_[0]),
  3020. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_kill_demons_quest_award, _unknown_fields_),
  3021. -1,
  3022. ::google::protobuf::DescriptorPool::generated_pool(),
  3023. ::google::protobuf::MessageFactory::generated_factory(),
  3024. sizeof(packetc2w_recv_kill_demons_quest_award));
  3025. packetw2c_recv_kill_demons_quest_award_result_descriptor_ = file->message_type(127);
  3026. static const int packetw2c_recv_kill_demons_quest_award_result_offsets_[4] = {
  3027. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, packet_id_),
  3028. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, result_),
  3029. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, questid_),
  3030. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, items_),
  3031. };
  3032. packetw2c_recv_kill_demons_quest_award_result_reflection_ =
  3033. new ::google::protobuf::internal::GeneratedMessageReflection(
  3034. packetw2c_recv_kill_demons_quest_award_result_descriptor_,
  3035. packetw2c_recv_kill_demons_quest_award_result::default_instance_,
  3036. packetw2c_recv_kill_demons_quest_award_result_offsets_,
  3037. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, _has_bits_[0]),
  3038. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_kill_demons_quest_award_result, _unknown_fields_),
  3039. -1,
  3040. ::google::protobuf::DescriptorPool::generated_pool(),
  3041. ::google::protobuf::MessageFactory::generated_factory(),
  3042. sizeof(packetw2c_recv_kill_demons_quest_award_result));
  3043. packetc2w_recv_trial_score_award_descriptor_ = file->message_type(128);
  3044. static const int packetc2w_recv_trial_score_award_offsets_[2] = {
  3045. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_trial_score_award, packet_id_),
  3046. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_trial_score_award, index_),
  3047. };
  3048. packetc2w_recv_trial_score_award_reflection_ =
  3049. new ::google::protobuf::internal::GeneratedMessageReflection(
  3050. packetc2w_recv_trial_score_award_descriptor_,
  3051. packetc2w_recv_trial_score_award::default_instance_,
  3052. packetc2w_recv_trial_score_award_offsets_,
  3053. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_trial_score_award, _has_bits_[0]),
  3054. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_trial_score_award, _unknown_fields_),
  3055. -1,
  3056. ::google::protobuf::DescriptorPool::generated_pool(),
  3057. ::google::protobuf::MessageFactory::generated_factory(),
  3058. sizeof(packetc2w_recv_trial_score_award));
  3059. packetw2c_recv_trial_score_award_result_descriptor_ = file->message_type(129);
  3060. static const int packetw2c_recv_trial_score_award_result_offsets_[3] = {
  3061. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, packet_id_),
  3062. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, result_),
  3063. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, index_),
  3064. };
  3065. packetw2c_recv_trial_score_award_result_reflection_ =
  3066. new ::google::protobuf::internal::GeneratedMessageReflection(
  3067. packetw2c_recv_trial_score_award_result_descriptor_,
  3068. packetw2c_recv_trial_score_award_result::default_instance_,
  3069. packetw2c_recv_trial_score_award_result_offsets_,
  3070. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, _has_bits_[0]),
  3071. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_trial_score_award_result, _unknown_fields_),
  3072. -1,
  3073. ::google::protobuf::DescriptorPool::generated_pool(),
  3074. ::google::protobuf::MessageFactory::generated_factory(),
  3075. sizeof(packetw2c_recv_trial_score_award_result));
  3076. packetc2w_recv_star_award_descriptor_ = file->message_type(130);
  3077. static const int packetc2w_recv_star_award_offsets_[2] = {
  3078. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_star_award, packet_id_),
  3079. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_star_award, index_),
  3080. };
  3081. packetc2w_recv_star_award_reflection_ =
  3082. new ::google::protobuf::internal::GeneratedMessageReflection(
  3083. packetc2w_recv_star_award_descriptor_,
  3084. packetc2w_recv_star_award::default_instance_,
  3085. packetc2w_recv_star_award_offsets_,
  3086. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_star_award, _has_bits_[0]),
  3087. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_star_award, _unknown_fields_),
  3088. -1,
  3089. ::google::protobuf::DescriptorPool::generated_pool(),
  3090. ::google::protobuf::MessageFactory::generated_factory(),
  3091. sizeof(packetc2w_recv_star_award));
  3092. packetw2c_recv_star_award_result_descriptor_ = file->message_type(131);
  3093. static const int packetw2c_recv_star_award_result_offsets_[3] = {
  3094. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, packet_id_),
  3095. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, result_),
  3096. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, index_),
  3097. };
  3098. packetw2c_recv_star_award_result_reflection_ =
  3099. new ::google::protobuf::internal::GeneratedMessageReflection(
  3100. packetw2c_recv_star_award_result_descriptor_,
  3101. packetw2c_recv_star_award_result::default_instance_,
  3102. packetw2c_recv_star_award_result_offsets_,
  3103. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, _has_bits_[0]),
  3104. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_star_award_result, _unknown_fields_),
  3105. -1,
  3106. ::google::protobuf::DescriptorPool::generated_pool(),
  3107. ::google::protobuf::MessageFactory::generated_factory(),
  3108. sizeof(packetw2c_recv_star_award_result));
  3109. packetc2w_attack_demon_descriptor_ = file->message_type(132);
  3110. static const int packetc2w_attack_demon_offsets_[4] = {
  3111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, packet_id_),
  3112. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, floor_),
  3113. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, ishangup_),
  3114. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, weaponid_),
  3115. };
  3116. packetc2w_attack_demon_reflection_ =
  3117. new ::google::protobuf::internal::GeneratedMessageReflection(
  3118. packetc2w_attack_demon_descriptor_,
  3119. packetc2w_attack_demon::default_instance_,
  3120. packetc2w_attack_demon_offsets_,
  3121. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, _has_bits_[0]),
  3122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_attack_demon, _unknown_fields_),
  3123. -1,
  3124. ::google::protobuf::DescriptorPool::generated_pool(),
  3125. ::google::protobuf::MessageFactory::generated_factory(),
  3126. sizeof(packetc2w_attack_demon));
  3127. packetw2c_attack_demon_result_descriptor_ = file->message_type(133);
  3128. static const int packetw2c_attack_demon_result_offsets_[10] = {
  3129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, packet_id_),
  3130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, result_),
  3131. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, floor_),
  3132. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, ishangup_),
  3133. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, weaponid_),
  3134. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, harmvalue_),
  3135. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, curround_),
  3136. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, leftlife_),
  3137. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, balancestar_),
  3138. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, items_),
  3139. };
  3140. packetw2c_attack_demon_result_reflection_ =
  3141. new ::google::protobuf::internal::GeneratedMessageReflection(
  3142. packetw2c_attack_demon_result_descriptor_,
  3143. packetw2c_attack_demon_result::default_instance_,
  3144. packetw2c_attack_demon_result_offsets_,
  3145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, _has_bits_[0]),
  3146. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_attack_demon_result, _unknown_fields_),
  3147. -1,
  3148. ::google::protobuf::DescriptorPool::generated_pool(),
  3149. ::google::protobuf::MessageFactory::generated_factory(),
  3150. sizeof(packetw2c_attack_demon_result));
  3151. packetc2w_get_kill_demons_rank_descriptor_ = file->message_type(134);
  3152. static const int packetc2w_get_kill_demons_rank_offsets_[1] = {
  3153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kill_demons_rank, packet_id_),
  3154. };
  3155. packetc2w_get_kill_demons_rank_reflection_ =
  3156. new ::google::protobuf::internal::GeneratedMessageReflection(
  3157. packetc2w_get_kill_demons_rank_descriptor_,
  3158. packetc2w_get_kill_demons_rank::default_instance_,
  3159. packetc2w_get_kill_demons_rank_offsets_,
  3160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kill_demons_rank, _has_bits_[0]),
  3161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kill_demons_rank, _unknown_fields_),
  3162. -1,
  3163. ::google::protobuf::DescriptorPool::generated_pool(),
  3164. ::google::protobuf::MessageFactory::generated_factory(),
  3165. sizeof(packetc2w_get_kill_demons_rank));
  3166. packetw2c_get_kill_demons_rank_result_descriptor_ = file->message_type(135);
  3167. static const int packetw2c_get_kill_demons_rank_result_offsets_[4] = {
  3168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, packet_id_),
  3169. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, ranklist_),
  3170. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, thresholdvalue_),
  3171. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, myrank_),
  3172. };
  3173. packetw2c_get_kill_demons_rank_result_reflection_ =
  3174. new ::google::protobuf::internal::GeneratedMessageReflection(
  3175. packetw2c_get_kill_demons_rank_result_descriptor_,
  3176. packetw2c_get_kill_demons_rank_result::default_instance_,
  3177. packetw2c_get_kill_demons_rank_result_offsets_,
  3178. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, _has_bits_[0]),
  3179. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kill_demons_rank_result, _unknown_fields_),
  3180. -1,
  3181. ::google::protobuf::DescriptorPool::generated_pool(),
  3182. ::google::protobuf::MessageFactory::generated_factory(),
  3183. sizeof(packetw2c_get_kill_demons_rank_result));
  3184. packetc2w_kill_demons_smelt_descriptor_ = file->message_type(136);
  3185. static const int packetc2w_kill_demons_smelt_offsets_[2] = {
  3186. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_smelt, packet_id_),
  3187. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_smelt, smelttimes_),
  3188. };
  3189. packetc2w_kill_demons_smelt_reflection_ =
  3190. new ::google::protobuf::internal::GeneratedMessageReflection(
  3191. packetc2w_kill_demons_smelt_descriptor_,
  3192. packetc2w_kill_demons_smelt::default_instance_,
  3193. packetc2w_kill_demons_smelt_offsets_,
  3194. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_smelt, _has_bits_[0]),
  3195. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_smelt, _unknown_fields_),
  3196. -1,
  3197. ::google::protobuf::DescriptorPool::generated_pool(),
  3198. ::google::protobuf::MessageFactory::generated_factory(),
  3199. sizeof(packetc2w_kill_demons_smelt));
  3200. packetw2c_kill_demons_smelt_result_descriptor_ = file->message_type(137);
  3201. static const int packetw2c_kill_demons_smelt_result_offsets_[4] = {
  3202. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, packet_id_),
  3203. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, result_),
  3204. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, smelttimes_),
  3205. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, smeltreward_),
  3206. };
  3207. packetw2c_kill_demons_smelt_result_reflection_ =
  3208. new ::google::protobuf::internal::GeneratedMessageReflection(
  3209. packetw2c_kill_demons_smelt_result_descriptor_,
  3210. packetw2c_kill_demons_smelt_result::default_instance_,
  3211. packetw2c_kill_demons_smelt_result_offsets_,
  3212. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, _has_bits_[0]),
  3213. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_smelt_result, _unknown_fields_),
  3214. -1,
  3215. ::google::protobuf::DescriptorPool::generated_pool(),
  3216. ::google::protobuf::MessageFactory::generated_factory(),
  3217. sizeof(packetw2c_kill_demons_smelt_result));
  3218. packetc2w_recv_sword_energy_award_descriptor_ = file->message_type(138);
  3219. static const int packetc2w_recv_sword_energy_award_offsets_[2] = {
  3220. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_sword_energy_award, packet_id_),
  3221. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_sword_energy_award, index_),
  3222. };
  3223. packetc2w_recv_sword_energy_award_reflection_ =
  3224. new ::google::protobuf::internal::GeneratedMessageReflection(
  3225. packetc2w_recv_sword_energy_award_descriptor_,
  3226. packetc2w_recv_sword_energy_award::default_instance_,
  3227. packetc2w_recv_sword_energy_award_offsets_,
  3228. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_sword_energy_award, _has_bits_[0]),
  3229. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_sword_energy_award, _unknown_fields_),
  3230. -1,
  3231. ::google::protobuf::DescriptorPool::generated_pool(),
  3232. ::google::protobuf::MessageFactory::generated_factory(),
  3233. sizeof(packetc2w_recv_sword_energy_award));
  3234. packetw2c_recv_sword_energy_award_result_descriptor_ = file->message_type(139);
  3235. static const int packetw2c_recv_sword_energy_award_result_offsets_[3] = {
  3236. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, packet_id_),
  3237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, result_),
  3238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, index_),
  3239. };
  3240. packetw2c_recv_sword_energy_award_result_reflection_ =
  3241. new ::google::protobuf::internal::GeneratedMessageReflection(
  3242. packetw2c_recv_sword_energy_award_result_descriptor_,
  3243. packetw2c_recv_sword_energy_award_result::default_instance_,
  3244. packetw2c_recv_sword_energy_award_result_offsets_,
  3245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, _has_bits_[0]),
  3246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_sword_energy_award_result, _unknown_fields_),
  3247. -1,
  3248. ::google::protobuf::DescriptorPool::generated_pool(),
  3249. ::google::protobuf::MessageFactory::generated_factory(),
  3250. sizeof(packetw2c_recv_sword_energy_award_result));
  3251. packetc2w_kill_demons_task_descriptor_ = file->message_type(140);
  3252. static const int packetc2w_kill_demons_task_offsets_[1] = {
  3253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_task, packet_id_),
  3254. };
  3255. packetc2w_kill_demons_task_reflection_ =
  3256. new ::google::protobuf::internal::GeneratedMessageReflection(
  3257. packetc2w_kill_demons_task_descriptor_,
  3258. packetc2w_kill_demons_task::default_instance_,
  3259. packetc2w_kill_demons_task_offsets_,
  3260. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_task, _has_bits_[0]),
  3261. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kill_demons_task, _unknown_fields_),
  3262. -1,
  3263. ::google::protobuf::DescriptorPool::generated_pool(),
  3264. ::google::protobuf::MessageFactory::generated_factory(),
  3265. sizeof(packetc2w_kill_demons_task));
  3266. packetw2c_kill_demons_task_result_descriptor_ = file->message_type(141);
  3267. static const int packetw2c_kill_demons_task_result_offsets_[2] = {
  3268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_task_result, packet_id_),
  3269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_task_result, questlist_),
  3270. };
  3271. packetw2c_kill_demons_task_result_reflection_ =
  3272. new ::google::protobuf::internal::GeneratedMessageReflection(
  3273. packetw2c_kill_demons_task_result_descriptor_,
  3274. packetw2c_kill_demons_task_result::default_instance_,
  3275. packetw2c_kill_demons_task_result_offsets_,
  3276. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_task_result, _has_bits_[0]),
  3277. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kill_demons_task_result, _unknown_fields_),
  3278. -1,
  3279. ::google::protobuf::DescriptorPool::generated_pool(),
  3280. ::google::protobuf::MessageFactory::generated_factory(),
  3281. sizeof(packetw2c_kill_demons_task_result));
  3282. packetw2c_syn_2020_national_info_descriptor_ = file->message_type(142);
  3283. static const int packetw2c_syn_2020_national_info_offsets_[9] = {
  3284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, packet_id_),
  3285. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, activitystate_),
  3286. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, starttime_),
  3287. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, endtime_),
  3288. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, signcount_),
  3289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, cansign_),
  3290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, handbooksawardstat_),
  3291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, handbooksstat_),
  3292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, paddycount_),
  3293. };
  3294. packetw2c_syn_2020_national_info_reflection_ =
  3295. new ::google::protobuf::internal::GeneratedMessageReflection(
  3296. packetw2c_syn_2020_national_info_descriptor_,
  3297. packetw2c_syn_2020_national_info::default_instance_,
  3298. packetw2c_syn_2020_national_info_offsets_,
  3299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, _has_bits_[0]),
  3300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_2020_national_info, _unknown_fields_),
  3301. -1,
  3302. ::google::protobuf::DescriptorPool::generated_pool(),
  3303. ::google::protobuf::MessageFactory::generated_factory(),
  3304. sizeof(packetw2c_syn_2020_national_info));
  3305. packetc2w_get_2020_national_quest_descriptor_ = file->message_type(143);
  3306. static const int packetc2w_get_2020_national_quest_offsets_[1] = {
  3307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_2020_national_quest, packet_id_),
  3308. };
  3309. packetc2w_get_2020_national_quest_reflection_ =
  3310. new ::google::protobuf::internal::GeneratedMessageReflection(
  3311. packetc2w_get_2020_national_quest_descriptor_,
  3312. packetc2w_get_2020_national_quest::default_instance_,
  3313. packetc2w_get_2020_national_quest_offsets_,
  3314. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_2020_national_quest, _has_bits_[0]),
  3315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_2020_national_quest, _unknown_fields_),
  3316. -1,
  3317. ::google::protobuf::DescriptorPool::generated_pool(),
  3318. ::google::protobuf::MessageFactory::generated_factory(),
  3319. sizeof(packetc2w_get_2020_national_quest));
  3320. packetw2c_get_2020_national_quest_result_descriptor_ = file->message_type(144);
  3321. static const int packetw2c_get_2020_national_quest_result_offsets_[2] = {
  3322. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_2020_national_quest_result, packet_id_),
  3323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_2020_national_quest_result, questlist_),
  3324. };
  3325. packetw2c_get_2020_national_quest_result_reflection_ =
  3326. new ::google::protobuf::internal::GeneratedMessageReflection(
  3327. packetw2c_get_2020_national_quest_result_descriptor_,
  3328. packetw2c_get_2020_national_quest_result::default_instance_,
  3329. packetw2c_get_2020_national_quest_result_offsets_,
  3330. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_2020_national_quest_result, _has_bits_[0]),
  3331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_2020_national_quest_result, _unknown_fields_),
  3332. -1,
  3333. ::google::protobuf::DescriptorPool::generated_pool(),
  3334. ::google::protobuf::MessageFactory::generated_factory(),
  3335. sizeof(packetw2c_get_2020_national_quest_result));
  3336. packetc2w_recv_2020_national_login_reward_descriptor_ = file->message_type(145);
  3337. static const int packetc2w_recv_2020_national_login_reward_offsets_[2] = {
  3338. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_login_reward, packet_id_),
  3339. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_login_reward, signindex_),
  3340. };
  3341. packetc2w_recv_2020_national_login_reward_reflection_ =
  3342. new ::google::protobuf::internal::GeneratedMessageReflection(
  3343. packetc2w_recv_2020_national_login_reward_descriptor_,
  3344. packetc2w_recv_2020_national_login_reward::default_instance_,
  3345. packetc2w_recv_2020_national_login_reward_offsets_,
  3346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_login_reward, _has_bits_[0]),
  3347. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_login_reward, _unknown_fields_),
  3348. -1,
  3349. ::google::protobuf::DescriptorPool::generated_pool(),
  3350. ::google::protobuf::MessageFactory::generated_factory(),
  3351. sizeof(packetc2w_recv_2020_national_login_reward));
  3352. packetw2c_recv_2020_national_login_reward_result_descriptor_ = file->message_type(146);
  3353. static const int packetw2c_recv_2020_national_login_reward_result_offsets_[4] = {
  3354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, packet_id_),
  3355. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, signindex_),
  3356. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, result_),
  3357. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, exhandbooksid_),
  3358. };
  3359. packetw2c_recv_2020_national_login_reward_result_reflection_ =
  3360. new ::google::protobuf::internal::GeneratedMessageReflection(
  3361. packetw2c_recv_2020_national_login_reward_result_descriptor_,
  3362. packetw2c_recv_2020_national_login_reward_result::default_instance_,
  3363. packetw2c_recv_2020_national_login_reward_result_offsets_,
  3364. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, _has_bits_[0]),
  3365. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_login_reward_result, _unknown_fields_),
  3366. -1,
  3367. ::google::protobuf::DescriptorPool::generated_pool(),
  3368. ::google::protobuf::MessageFactory::generated_factory(),
  3369. sizeof(packetw2c_recv_2020_national_login_reward_result));
  3370. packetc2w_recv_2020_national_quest_award_descriptor_ = file->message_type(147);
  3371. static const int packetc2w_recv_2020_national_quest_award_offsets_[3] = {
  3372. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, packet_id_),
  3373. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, questid_),
  3374. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, receivebit_),
  3375. };
  3376. packetc2w_recv_2020_national_quest_award_reflection_ =
  3377. new ::google::protobuf::internal::GeneratedMessageReflection(
  3378. packetc2w_recv_2020_national_quest_award_descriptor_,
  3379. packetc2w_recv_2020_national_quest_award::default_instance_,
  3380. packetc2w_recv_2020_national_quest_award_offsets_,
  3381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, _has_bits_[0]),
  3382. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_quest_award, _unknown_fields_),
  3383. -1,
  3384. ::google::protobuf::DescriptorPool::generated_pool(),
  3385. ::google::protobuf::MessageFactory::generated_factory(),
  3386. sizeof(packetc2w_recv_2020_national_quest_award));
  3387. packetw2c_recv_2020_national_quest_award_result_descriptor_ = file->message_type(148);
  3388. static const int packetw2c_recv_2020_national_quest_award_result_offsets_[5] = {
  3389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, packet_id_),
  3390. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, result_),
  3391. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, questid_),
  3392. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, receivebit_),
  3393. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, items_),
  3394. };
  3395. packetw2c_recv_2020_national_quest_award_result_reflection_ =
  3396. new ::google::protobuf::internal::GeneratedMessageReflection(
  3397. packetw2c_recv_2020_national_quest_award_result_descriptor_,
  3398. packetw2c_recv_2020_national_quest_award_result::default_instance_,
  3399. packetw2c_recv_2020_national_quest_award_result_offsets_,
  3400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, _has_bits_[0]),
  3401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_quest_award_result, _unknown_fields_),
  3402. -1,
  3403. ::google::protobuf::DescriptorPool::generated_pool(),
  3404. ::google::protobuf::MessageFactory::generated_factory(),
  3405. sizeof(packetw2c_recv_2020_national_quest_award_result));
  3406. packetc2w_recv_2020_national_handbooks_gold_descriptor_ = file->message_type(149);
  3407. static const int packetc2w_recv_2020_national_handbooks_gold_offsets_[2] = {
  3408. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_gold, packet_id_),
  3409. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_gold, handbooksid_),
  3410. };
  3411. packetc2w_recv_2020_national_handbooks_gold_reflection_ =
  3412. new ::google::protobuf::internal::GeneratedMessageReflection(
  3413. packetc2w_recv_2020_national_handbooks_gold_descriptor_,
  3414. packetc2w_recv_2020_national_handbooks_gold::default_instance_,
  3415. packetc2w_recv_2020_national_handbooks_gold_offsets_,
  3416. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_gold, _has_bits_[0]),
  3417. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_gold, _unknown_fields_),
  3418. -1,
  3419. ::google::protobuf::DescriptorPool::generated_pool(),
  3420. ::google::protobuf::MessageFactory::generated_factory(),
  3421. sizeof(packetc2w_recv_2020_national_handbooks_gold));
  3422. packetw2c_recv_2020_national_handbooks_gold_result_descriptor_ = file->message_type(150);
  3423. static const int packetw2c_recv_2020_national_handbooks_gold_result_offsets_[3] = {
  3424. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, packet_id_),
  3425. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, handbooksid_),
  3426. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, result_),
  3427. };
  3428. packetw2c_recv_2020_national_handbooks_gold_result_reflection_ =
  3429. new ::google::protobuf::internal::GeneratedMessageReflection(
  3430. packetw2c_recv_2020_national_handbooks_gold_result_descriptor_,
  3431. packetw2c_recv_2020_national_handbooks_gold_result::default_instance_,
  3432. packetw2c_recv_2020_national_handbooks_gold_result_offsets_,
  3433. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, _has_bits_[0]),
  3434. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_gold_result, _unknown_fields_),
  3435. -1,
  3436. ::google::protobuf::DescriptorPool::generated_pool(),
  3437. ::google::protobuf::MessageFactory::generated_factory(),
  3438. sizeof(packetw2c_recv_2020_national_handbooks_gold_result));
  3439. packetc2w_recv_2020_national_handbooks_award_descriptor_ = file->message_type(151);
  3440. static const int packetc2w_recv_2020_national_handbooks_award_offsets_[2] = {
  3441. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_award, packet_id_),
  3442. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_award, type_),
  3443. };
  3444. packetc2w_recv_2020_national_handbooks_award_reflection_ =
  3445. new ::google::protobuf::internal::GeneratedMessageReflection(
  3446. packetc2w_recv_2020_national_handbooks_award_descriptor_,
  3447. packetc2w_recv_2020_national_handbooks_award::default_instance_,
  3448. packetc2w_recv_2020_national_handbooks_award_offsets_,
  3449. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_award, _has_bits_[0]),
  3450. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_2020_national_handbooks_award, _unknown_fields_),
  3451. -1,
  3452. ::google::protobuf::DescriptorPool::generated_pool(),
  3453. ::google::protobuf::MessageFactory::generated_factory(),
  3454. sizeof(packetc2w_recv_2020_national_handbooks_award));
  3455. packetw2c_recv_2020_national_handbooks_award_result_descriptor_ = file->message_type(152);
  3456. static const int packetw2c_recv_2020_national_handbooks_award_result_offsets_[3] = {
  3457. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, packet_id_),
  3458. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, result_),
  3459. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, type_),
  3460. };
  3461. packetw2c_recv_2020_national_handbooks_award_result_reflection_ =
  3462. new ::google::protobuf::internal::GeneratedMessageReflection(
  3463. packetw2c_recv_2020_national_handbooks_award_result_descriptor_,
  3464. packetw2c_recv_2020_national_handbooks_award_result::default_instance_,
  3465. packetw2c_recv_2020_national_handbooks_award_result_offsets_,
  3466. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, _has_bits_[0]),
  3467. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_2020_national_handbooks_award_result, _unknown_fields_),
  3468. -1,
  3469. ::google::protobuf::DescriptorPool::generated_pool(),
  3470. ::google::protobuf::MessageFactory::generated_factory(),
  3471. sizeof(packetw2c_recv_2020_national_handbooks_award_result));
  3472. packetc2w_2020_national_lottery_descriptor_ = file->message_type(153);
  3473. static const int packetc2w_2020_national_lottery_offsets_[2] = {
  3474. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_2020_national_lottery, packet_id_),
  3475. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_2020_national_lottery, type_),
  3476. };
  3477. packetc2w_2020_national_lottery_reflection_ =
  3478. new ::google::protobuf::internal::GeneratedMessageReflection(
  3479. packetc2w_2020_national_lottery_descriptor_,
  3480. packetc2w_2020_national_lottery::default_instance_,
  3481. packetc2w_2020_national_lottery_offsets_,
  3482. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_2020_national_lottery, _has_bits_[0]),
  3483. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_2020_national_lottery, _unknown_fields_),
  3484. -1,
  3485. ::google::protobuf::DescriptorPool::generated_pool(),
  3486. ::google::protobuf::MessageFactory::generated_factory(),
  3487. sizeof(packetc2w_2020_national_lottery));
  3488. packetw2c_2020_national_lottery_result_descriptor_ = file->message_type(154);
  3489. static const int packetw2c_2020_national_lottery_result_offsets_[4] = {
  3490. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, packet_id_),
  3491. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, result_),
  3492. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, type_),
  3493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, rewardid_),
  3494. };
  3495. packetw2c_2020_national_lottery_result_reflection_ =
  3496. new ::google::protobuf::internal::GeneratedMessageReflection(
  3497. packetw2c_2020_national_lottery_result_descriptor_,
  3498. packetw2c_2020_national_lottery_result::default_instance_,
  3499. packetw2c_2020_national_lottery_result_offsets_,
  3500. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, _has_bits_[0]),
  3501. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_2020_national_lottery_result, _unknown_fields_),
  3502. -1,
  3503. ::google::protobuf::DescriptorPool::generated_pool(),
  3504. ::google::protobuf::MessageFactory::generated_factory(),
  3505. sizeof(packetw2c_2020_national_lottery_result));
  3506. packetw2c_syn_personal_tailor_new_info_descriptor_ = file->message_type(155);
  3507. static const int packetw2c_syn_personal_tailor_new_info_offsets_[5] = {
  3508. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, packet_id_),
  3509. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, activitystate_),
  3510. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, starttime_),
  3511. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, endtime_),
  3512. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, tailoritems_),
  3513. };
  3514. packetw2c_syn_personal_tailor_new_info_reflection_ =
  3515. new ::google::protobuf::internal::GeneratedMessageReflection(
  3516. packetw2c_syn_personal_tailor_new_info_descriptor_,
  3517. packetw2c_syn_personal_tailor_new_info::default_instance_,
  3518. packetw2c_syn_personal_tailor_new_info_offsets_,
  3519. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, _has_bits_[0]),
  3520. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_personal_tailor_new_info, _unknown_fields_),
  3521. -1,
  3522. ::google::protobuf::DescriptorPool::generated_pool(),
  3523. ::google::protobuf::MessageFactory::generated_factory(),
  3524. sizeof(packetw2c_syn_personal_tailor_new_info));
  3525. packetc2w_change_personal_tailor_items_descriptor_ = file->message_type(156);
  3526. static const int packetc2w_change_personal_tailor_items_offsets_[2] = {
  3527. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_change_personal_tailor_items, packet_id_),
  3528. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_change_personal_tailor_items, tailoritems_),
  3529. };
  3530. packetc2w_change_personal_tailor_items_reflection_ =
  3531. new ::google::protobuf::internal::GeneratedMessageReflection(
  3532. packetc2w_change_personal_tailor_items_descriptor_,
  3533. packetc2w_change_personal_tailor_items::default_instance_,
  3534. packetc2w_change_personal_tailor_items_offsets_,
  3535. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_change_personal_tailor_items, _has_bits_[0]),
  3536. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_change_personal_tailor_items, _unknown_fields_),
  3537. -1,
  3538. ::google::protobuf::DescriptorPool::generated_pool(),
  3539. ::google::protobuf::MessageFactory::generated_factory(),
  3540. sizeof(packetc2w_change_personal_tailor_items));
  3541. packetw2c_change_personal_tailor_items_result_descriptor_ = file->message_type(157);
  3542. static const int packetw2c_change_personal_tailor_items_result_offsets_[3] = {
  3543. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, packet_id_),
  3544. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, tailoritems_),
  3545. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, result_),
  3546. };
  3547. packetw2c_change_personal_tailor_items_result_reflection_ =
  3548. new ::google::protobuf::internal::GeneratedMessageReflection(
  3549. packetw2c_change_personal_tailor_items_result_descriptor_,
  3550. packetw2c_change_personal_tailor_items_result::default_instance_,
  3551. packetw2c_change_personal_tailor_items_result_offsets_,
  3552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, _has_bits_[0]),
  3553. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_change_personal_tailor_items_result, _unknown_fields_),
  3554. -1,
  3555. ::google::protobuf::DescriptorPool::generated_pool(),
  3556. ::google::protobuf::MessageFactory::generated_factory(),
  3557. sizeof(packetw2c_change_personal_tailor_items_result));
  3558. packetw2c_syn_super_value_gift_activity_info_descriptor_ = file->message_type(158);
  3559. static const int packetw2c_syn_super_value_gift_activity_info_offsets_[4] = {
  3560. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, packet_id_),
  3561. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, activitystate_),
  3562. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, starttime_),
  3563. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, endtime_),
  3564. };
  3565. packetw2c_syn_super_value_gift_activity_info_reflection_ =
  3566. new ::google::protobuf::internal::GeneratedMessageReflection(
  3567. packetw2c_syn_super_value_gift_activity_info_descriptor_,
  3568. packetw2c_syn_super_value_gift_activity_info::default_instance_,
  3569. packetw2c_syn_super_value_gift_activity_info_offsets_,
  3570. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, _has_bits_[0]),
  3571. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_super_value_gift_activity_info, _unknown_fields_),
  3572. -1,
  3573. ::google::protobuf::DescriptorPool::generated_pool(),
  3574. ::google::protobuf::MessageFactory::generated_factory(),
  3575. sizeof(packetw2c_syn_super_value_gift_activity_info));
  3576. packetw2c_syn_double_eleven_info_descriptor_ = file->message_type(159);
  3577. static const int packetw2c_syn_double_eleven_info_offsets_[13] = {
  3578. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, packet_id_),
  3579. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, activitystate_),
  3580. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, starttime_),
  3581. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, endtime_),
  3582. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, lotteryticket_),
  3583. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, lotterycount_),
  3584. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, luckyvalue_),
  3585. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, recharged_),
  3586. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, rechargecheck_),
  3587. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, leftcount_),
  3588. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, canbuy_),
  3589. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, ranklist_),
  3590. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, thresholdvalue_),
  3591. };
  3592. packetw2c_syn_double_eleven_info_reflection_ =
  3593. new ::google::protobuf::internal::GeneratedMessageReflection(
  3594. packetw2c_syn_double_eleven_info_descriptor_,
  3595. packetw2c_syn_double_eleven_info::default_instance_,
  3596. packetw2c_syn_double_eleven_info_offsets_,
  3597. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, _has_bits_[0]),
  3598. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_info, _unknown_fields_),
  3599. -1,
  3600. ::google::protobuf::DescriptorPool::generated_pool(),
  3601. ::google::protobuf::MessageFactory::generated_factory(),
  3602. sizeof(packetw2c_syn_double_eleven_info));
  3603. packetc2w_get_double_eleven_quest_descriptor_ = file->message_type(160);
  3604. static const int packetc2w_get_double_eleven_quest_offsets_[1] = {
  3605. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_quest, packet_id_),
  3606. };
  3607. packetc2w_get_double_eleven_quest_reflection_ =
  3608. new ::google::protobuf::internal::GeneratedMessageReflection(
  3609. packetc2w_get_double_eleven_quest_descriptor_,
  3610. packetc2w_get_double_eleven_quest::default_instance_,
  3611. packetc2w_get_double_eleven_quest_offsets_,
  3612. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_quest, _has_bits_[0]),
  3613. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_quest, _unknown_fields_),
  3614. -1,
  3615. ::google::protobuf::DescriptorPool::generated_pool(),
  3616. ::google::protobuf::MessageFactory::generated_factory(),
  3617. sizeof(packetc2w_get_double_eleven_quest));
  3618. packetw2c_get_double_eleven_quest_result_descriptor_ = file->message_type(161);
  3619. static const int packetw2c_get_double_eleven_quest_result_offsets_[2] = {
  3620. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_quest_result, packet_id_),
  3621. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_quest_result, questlist_),
  3622. };
  3623. packetw2c_get_double_eleven_quest_result_reflection_ =
  3624. new ::google::protobuf::internal::GeneratedMessageReflection(
  3625. packetw2c_get_double_eleven_quest_result_descriptor_,
  3626. packetw2c_get_double_eleven_quest_result::default_instance_,
  3627. packetw2c_get_double_eleven_quest_result_offsets_,
  3628. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_quest_result, _has_bits_[0]),
  3629. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_quest_result, _unknown_fields_),
  3630. -1,
  3631. ::google::protobuf::DescriptorPool::generated_pool(),
  3632. ::google::protobuf::MessageFactory::generated_factory(),
  3633. sizeof(packetw2c_get_double_eleven_quest_result));
  3634. packetw2c_syn_double_eleven_gift_reflush_descriptor_ = file->message_type(162);
  3635. static const int packetw2c_syn_double_eleven_gift_reflush_offsets_[2] = {
  3636. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_gift_reflush, packet_id_),
  3637. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_gift_reflush, leftcount_),
  3638. };
  3639. packetw2c_syn_double_eleven_gift_reflush_reflection_ =
  3640. new ::google::protobuf::internal::GeneratedMessageReflection(
  3641. packetw2c_syn_double_eleven_gift_reflush_descriptor_,
  3642. packetw2c_syn_double_eleven_gift_reflush::default_instance_,
  3643. packetw2c_syn_double_eleven_gift_reflush_offsets_,
  3644. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_gift_reflush, _has_bits_[0]),
  3645. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_gift_reflush, _unknown_fields_),
  3646. -1,
  3647. ::google::protobuf::DescriptorPool::generated_pool(),
  3648. ::google::protobuf::MessageFactory::generated_factory(),
  3649. sizeof(packetw2c_syn_double_eleven_gift_reflush));
  3650. packetc2w_get_double_eleven_rank_descriptor_ = file->message_type(163);
  3651. static const int packetc2w_get_double_eleven_rank_offsets_[1] = {
  3652. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_rank, packet_id_),
  3653. };
  3654. packetc2w_get_double_eleven_rank_reflection_ =
  3655. new ::google::protobuf::internal::GeneratedMessageReflection(
  3656. packetc2w_get_double_eleven_rank_descriptor_,
  3657. packetc2w_get_double_eleven_rank::default_instance_,
  3658. packetc2w_get_double_eleven_rank_offsets_,
  3659. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_rank, _has_bits_[0]),
  3660. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_double_eleven_rank, _unknown_fields_),
  3661. -1,
  3662. ::google::protobuf::DescriptorPool::generated_pool(),
  3663. ::google::protobuf::MessageFactory::generated_factory(),
  3664. sizeof(packetc2w_get_double_eleven_rank));
  3665. packetw2c_get_double_eleven_rank_result_descriptor_ = file->message_type(164);
  3666. static const int packetw2c_get_double_eleven_rank_result_offsets_[5] = {
  3667. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, packet_id_),
  3668. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, ranklist_),
  3669. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, mycount_),
  3670. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, myrank_),
  3671. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, thresholdvalue_),
  3672. };
  3673. packetw2c_get_double_eleven_rank_result_reflection_ =
  3674. new ::google::protobuf::internal::GeneratedMessageReflection(
  3675. packetw2c_get_double_eleven_rank_result_descriptor_,
  3676. packetw2c_get_double_eleven_rank_result::default_instance_,
  3677. packetw2c_get_double_eleven_rank_result_offsets_,
  3678. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, _has_bits_[0]),
  3679. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_double_eleven_rank_result, _unknown_fields_),
  3680. -1,
  3681. ::google::protobuf::DescriptorPool::generated_pool(),
  3682. ::google::protobuf::MessageFactory::generated_factory(),
  3683. sizeof(packetw2c_get_double_eleven_rank_result));
  3684. packetc2w_double_eleven_lottery_descriptor_ = file->message_type(165);
  3685. static const int packetc2w_double_eleven_lottery_offsets_[3] = {
  3686. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, packet_id_),
  3687. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, type_),
  3688. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, count_),
  3689. };
  3690. packetc2w_double_eleven_lottery_reflection_ =
  3691. new ::google::protobuf::internal::GeneratedMessageReflection(
  3692. packetc2w_double_eleven_lottery_descriptor_,
  3693. packetc2w_double_eleven_lottery::default_instance_,
  3694. packetc2w_double_eleven_lottery_offsets_,
  3695. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, _has_bits_[0]),
  3696. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_lottery, _unknown_fields_),
  3697. -1,
  3698. ::google::protobuf::DescriptorPool::generated_pool(),
  3699. ::google::protobuf::MessageFactory::generated_factory(),
  3700. sizeof(packetc2w_double_eleven_lottery));
  3701. packetw2c_double_eleven_lottery_result_descriptor_ = file->message_type(166);
  3702. static const int packetw2c_double_eleven_lottery_result_offsets_[6] = {
  3703. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, packet_id_),
  3704. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, result_),
  3705. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, type_),
  3706. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, count_),
  3707. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, rewardid_),
  3708. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, rewardidex_),
  3709. };
  3710. packetw2c_double_eleven_lottery_result_reflection_ =
  3711. new ::google::protobuf::internal::GeneratedMessageReflection(
  3712. packetw2c_double_eleven_lottery_result_descriptor_,
  3713. packetw2c_double_eleven_lottery_result::default_instance_,
  3714. packetw2c_double_eleven_lottery_result_offsets_,
  3715. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, _has_bits_[0]),
  3716. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_lottery_result, _unknown_fields_),
  3717. -1,
  3718. ::google::protobuf::DescriptorPool::generated_pool(),
  3719. ::google::protobuf::MessageFactory::generated_factory(),
  3720. sizeof(packetw2c_double_eleven_lottery_result));
  3721. packetc2w_receive_double_eleven_recharge_reward_descriptor_ = file->message_type(167);
  3722. static const int packetc2w_receive_double_eleven_recharge_reward_offsets_[2] = {
  3723. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_double_eleven_recharge_reward, packet_id_),
  3724. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_double_eleven_recharge_reward, index_),
  3725. };
  3726. packetc2w_receive_double_eleven_recharge_reward_reflection_ =
  3727. new ::google::protobuf::internal::GeneratedMessageReflection(
  3728. packetc2w_receive_double_eleven_recharge_reward_descriptor_,
  3729. packetc2w_receive_double_eleven_recharge_reward::default_instance_,
  3730. packetc2w_receive_double_eleven_recharge_reward_offsets_,
  3731. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_double_eleven_recharge_reward, _has_bits_[0]),
  3732. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_double_eleven_recharge_reward, _unknown_fields_),
  3733. -1,
  3734. ::google::protobuf::DescriptorPool::generated_pool(),
  3735. ::google::protobuf::MessageFactory::generated_factory(),
  3736. sizeof(packetc2w_receive_double_eleven_recharge_reward));
  3737. packetw2c_receive_double_eleven_recharge_reward_result_descriptor_ = file->message_type(168);
  3738. static const int packetw2c_receive_double_eleven_recharge_reward_result_offsets_[3] = {
  3739. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, packet_id_),
  3740. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, result_),
  3741. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, index_),
  3742. };
  3743. packetw2c_receive_double_eleven_recharge_reward_result_reflection_ =
  3744. new ::google::protobuf::internal::GeneratedMessageReflection(
  3745. packetw2c_receive_double_eleven_recharge_reward_result_descriptor_,
  3746. packetw2c_receive_double_eleven_recharge_reward_result::default_instance_,
  3747. packetw2c_receive_double_eleven_recharge_reward_result_offsets_,
  3748. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, _has_bits_[0]),
  3749. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_double_eleven_recharge_reward_result, _unknown_fields_),
  3750. -1,
  3751. ::google::protobuf::DescriptorPool::generated_pool(),
  3752. ::google::protobuf::MessageFactory::generated_factory(),
  3753. sizeof(packetw2c_receive_double_eleven_recharge_reward_result));
  3754. packetc2w_syn_double_eleven_diamond_gift_count_descriptor_ = file->message_type(169);
  3755. static const int packetc2w_syn_double_eleven_diamond_gift_count_offsets_[1] = {
  3756. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_double_eleven_diamond_gift_count, packet_id_),
  3757. };
  3758. packetc2w_syn_double_eleven_diamond_gift_count_reflection_ =
  3759. new ::google::protobuf::internal::GeneratedMessageReflection(
  3760. packetc2w_syn_double_eleven_diamond_gift_count_descriptor_,
  3761. packetc2w_syn_double_eleven_diamond_gift_count::default_instance_,
  3762. packetc2w_syn_double_eleven_diamond_gift_count_offsets_,
  3763. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_double_eleven_diamond_gift_count, _has_bits_[0]),
  3764. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_double_eleven_diamond_gift_count, _unknown_fields_),
  3765. -1,
  3766. ::google::protobuf::DescriptorPool::generated_pool(),
  3767. ::google::protobuf::MessageFactory::generated_factory(),
  3768. sizeof(packetc2w_syn_double_eleven_diamond_gift_count));
  3769. packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_ = file->message_type(170);
  3770. static const int packetw2c_syn_double_eleven_diamond_gift_count_result_offsets_[3] = {
  3771. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, packet_id_),
  3772. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, leftcount_),
  3773. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, canbuy_),
  3774. };
  3775. packetw2c_syn_double_eleven_diamond_gift_count_result_reflection_ =
  3776. new ::google::protobuf::internal::GeneratedMessageReflection(
  3777. packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_,
  3778. packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_,
  3779. packetw2c_syn_double_eleven_diamond_gift_count_result_offsets_,
  3780. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, _has_bits_[0]),
  3781. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_eleven_diamond_gift_count_result, _unknown_fields_),
  3782. -1,
  3783. ::google::protobuf::DescriptorPool::generated_pool(),
  3784. ::google::protobuf::MessageFactory::generated_factory(),
  3785. sizeof(packetw2c_syn_double_eleven_diamond_gift_count_result));
  3786. packetc2w_recv_double_eleven_quest_award_descriptor_ = file->message_type(171);
  3787. static const int packetc2w_recv_double_eleven_quest_award_offsets_[2] = {
  3788. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_double_eleven_quest_award, packet_id_),
  3789. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_double_eleven_quest_award, questid_),
  3790. };
  3791. packetc2w_recv_double_eleven_quest_award_reflection_ =
  3792. new ::google::protobuf::internal::GeneratedMessageReflection(
  3793. packetc2w_recv_double_eleven_quest_award_descriptor_,
  3794. packetc2w_recv_double_eleven_quest_award::default_instance_,
  3795. packetc2w_recv_double_eleven_quest_award_offsets_,
  3796. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_double_eleven_quest_award, _has_bits_[0]),
  3797. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_double_eleven_quest_award, _unknown_fields_),
  3798. -1,
  3799. ::google::protobuf::DescriptorPool::generated_pool(),
  3800. ::google::protobuf::MessageFactory::generated_factory(),
  3801. sizeof(packetc2w_recv_double_eleven_quest_award));
  3802. packetw2c_recv_double_eleven_quest_award_result_descriptor_ = file->message_type(172);
  3803. static const int packetw2c_recv_double_eleven_quest_award_result_offsets_[4] = {
  3804. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, packet_id_),
  3805. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, result_),
  3806. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, questid_),
  3807. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, items_),
  3808. };
  3809. packetw2c_recv_double_eleven_quest_award_result_reflection_ =
  3810. new ::google::protobuf::internal::GeneratedMessageReflection(
  3811. packetw2c_recv_double_eleven_quest_award_result_descriptor_,
  3812. packetw2c_recv_double_eleven_quest_award_result::default_instance_,
  3813. packetw2c_recv_double_eleven_quest_award_result_offsets_,
  3814. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, _has_bits_[0]),
  3815. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_double_eleven_quest_award_result, _unknown_fields_),
  3816. -1,
  3817. ::google::protobuf::DescriptorPool::generated_pool(),
  3818. ::google::protobuf::MessageFactory::generated_factory(),
  3819. sizeof(packetw2c_recv_double_eleven_quest_award_result));
  3820. packetc2w_double_eleven_buy_lottery_ticket_descriptor_ = file->message_type(173);
  3821. static const int packetc2w_double_eleven_buy_lottery_ticket_offsets_[2] = {
  3822. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_buy_lottery_ticket, packet_id_),
  3823. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_buy_lottery_ticket, index_),
  3824. };
  3825. packetc2w_double_eleven_buy_lottery_ticket_reflection_ =
  3826. new ::google::protobuf::internal::GeneratedMessageReflection(
  3827. packetc2w_double_eleven_buy_lottery_ticket_descriptor_,
  3828. packetc2w_double_eleven_buy_lottery_ticket::default_instance_,
  3829. packetc2w_double_eleven_buy_lottery_ticket_offsets_,
  3830. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_buy_lottery_ticket, _has_bits_[0]),
  3831. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_double_eleven_buy_lottery_ticket, _unknown_fields_),
  3832. -1,
  3833. ::google::protobuf::DescriptorPool::generated_pool(),
  3834. ::google::protobuf::MessageFactory::generated_factory(),
  3835. sizeof(packetc2w_double_eleven_buy_lottery_ticket));
  3836. packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_ = file->message_type(174);
  3837. static const int packetw2c_double_eleven_buy_lottery_ticket_result_offsets_[3] = {
  3838. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, packet_id_),
  3839. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, result_),
  3840. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, index_),
  3841. };
  3842. packetw2c_double_eleven_buy_lottery_ticket_result_reflection_ =
  3843. new ::google::protobuf::internal::GeneratedMessageReflection(
  3844. packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_,
  3845. packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_,
  3846. packetw2c_double_eleven_buy_lottery_ticket_result_offsets_,
  3847. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, _has_bits_[0]),
  3848. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_double_eleven_buy_lottery_ticket_result, _unknown_fields_),
  3849. -1,
  3850. ::google::protobuf::DescriptorPool::generated_pool(),
  3851. ::google::protobuf::MessageFactory::generated_factory(),
  3852. sizeof(packetw2c_double_eleven_buy_lottery_ticket_result));
  3853. packetw2c_syn_wing_experience_info_descriptor_ = file->message_type(175);
  3854. static const int packetw2c_syn_wing_experience_info_offsets_[5] = {
  3855. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, packet_id_),
  3856. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, activitystate_),
  3857. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, starttime_),
  3858. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, endtime_),
  3859. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, received_),
  3860. };
  3861. packetw2c_syn_wing_experience_info_reflection_ =
  3862. new ::google::protobuf::internal::GeneratedMessageReflection(
  3863. packetw2c_syn_wing_experience_info_descriptor_,
  3864. packetw2c_syn_wing_experience_info::default_instance_,
  3865. packetw2c_syn_wing_experience_info_offsets_,
  3866. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, _has_bits_[0]),
  3867. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_wing_experience_info, _unknown_fields_),
  3868. -1,
  3869. ::google::protobuf::DescriptorPool::generated_pool(),
  3870. ::google::protobuf::MessageFactory::generated_factory(),
  3871. sizeof(packetw2c_syn_wing_experience_info));
  3872. packetc2w_wing_experience_receive_wing_descriptor_ = file->message_type(176);
  3873. static const int packetc2w_wing_experience_receive_wing_offsets_[1] = {
  3874. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wing_experience_receive_wing, packet_id_),
  3875. };
  3876. packetc2w_wing_experience_receive_wing_reflection_ =
  3877. new ::google::protobuf::internal::GeneratedMessageReflection(
  3878. packetc2w_wing_experience_receive_wing_descriptor_,
  3879. packetc2w_wing_experience_receive_wing::default_instance_,
  3880. packetc2w_wing_experience_receive_wing_offsets_,
  3881. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wing_experience_receive_wing, _has_bits_[0]),
  3882. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_wing_experience_receive_wing, _unknown_fields_),
  3883. -1,
  3884. ::google::protobuf::DescriptorPool::generated_pool(),
  3885. ::google::protobuf::MessageFactory::generated_factory(),
  3886. sizeof(packetc2w_wing_experience_receive_wing));
  3887. packetw2c_wing_experience_receive_wing_result_descriptor_ = file->message_type(177);
  3888. static const int packetw2c_wing_experience_receive_wing_result_offsets_[2] = {
  3889. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wing_experience_receive_wing_result, packet_id_),
  3890. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wing_experience_receive_wing_result, result_),
  3891. };
  3892. packetw2c_wing_experience_receive_wing_result_reflection_ =
  3893. new ::google::protobuf::internal::GeneratedMessageReflection(
  3894. packetw2c_wing_experience_receive_wing_result_descriptor_,
  3895. packetw2c_wing_experience_receive_wing_result::default_instance_,
  3896. packetw2c_wing_experience_receive_wing_result_offsets_,
  3897. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wing_experience_receive_wing_result, _has_bits_[0]),
  3898. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_wing_experience_receive_wing_result, _unknown_fields_),
  3899. -1,
  3900. ::google::protobuf::DescriptorPool::generated_pool(),
  3901. ::google::protobuf::MessageFactory::generated_factory(),
  3902. sizeof(packetw2c_wing_experience_receive_wing_result));
  3903. exchangeInfo_descriptor_ = file->message_type(178);
  3904. static const int exchangeInfo_offsets_[2] = {
  3905. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(exchangeInfo, id_),
  3906. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(exchangeInfo, times_),
  3907. };
  3908. exchangeInfo_reflection_ =
  3909. new ::google::protobuf::internal::GeneratedMessageReflection(
  3910. exchangeInfo_descriptor_,
  3911. exchangeInfo::default_instance_,
  3912. exchangeInfo_offsets_,
  3913. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(exchangeInfo, _has_bits_[0]),
  3914. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(exchangeInfo, _unknown_fields_),
  3915. -1,
  3916. ::google::protobuf::DescriptorPool::generated_pool(),
  3917. ::google::protobuf::MessageFactory::generated_factory(),
  3918. sizeof(exchangeInfo));
  3919. packetw2c_syn_kingcraft_info_descriptor_ = file->message_type(179);
  3920. static const int packetw2c_syn_kingcraft_info_offsets_[14] = {
  3921. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, packet_id_),
  3922. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, activitystate_),
  3923. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, starttime_),
  3924. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, endtime_),
  3925. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, shieldcount_),
  3926. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, lotteryticket_),
  3927. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, lotterycount_),
  3928. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, recharged_),
  3929. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, rechargecheck_),
  3930. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, signcount_),
  3931. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, cansign_),
  3932. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, ranklist_),
  3933. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, thresholdvalue_),
  3934. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, exchangelist_),
  3935. };
  3936. packetw2c_syn_kingcraft_info_reflection_ =
  3937. new ::google::protobuf::internal::GeneratedMessageReflection(
  3938. packetw2c_syn_kingcraft_info_descriptor_,
  3939. packetw2c_syn_kingcraft_info::default_instance_,
  3940. packetw2c_syn_kingcraft_info_offsets_,
  3941. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, _has_bits_[0]),
  3942. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_kingcraft_info, _unknown_fields_),
  3943. -1,
  3944. ::google::protobuf::DescriptorPool::generated_pool(),
  3945. ::google::protobuf::MessageFactory::generated_factory(),
  3946. sizeof(packetw2c_syn_kingcraft_info));
  3947. packetc2w_get_kingcraft_rank_descriptor_ = file->message_type(180);
  3948. static const int packetc2w_get_kingcraft_rank_offsets_[1] = {
  3949. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kingcraft_rank, packet_id_),
  3950. };
  3951. packetc2w_get_kingcraft_rank_reflection_ =
  3952. new ::google::protobuf::internal::GeneratedMessageReflection(
  3953. packetc2w_get_kingcraft_rank_descriptor_,
  3954. packetc2w_get_kingcraft_rank::default_instance_,
  3955. packetc2w_get_kingcraft_rank_offsets_,
  3956. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kingcraft_rank, _has_bits_[0]),
  3957. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_kingcraft_rank, _unknown_fields_),
  3958. -1,
  3959. ::google::protobuf::DescriptorPool::generated_pool(),
  3960. ::google::protobuf::MessageFactory::generated_factory(),
  3961. sizeof(packetc2w_get_kingcraft_rank));
  3962. packetw2c_get_kingcraft_rank_result_descriptor_ = file->message_type(181);
  3963. static const int packetw2c_get_kingcraft_rank_result_offsets_[5] = {
  3964. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, packet_id_),
  3965. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, ranklist_),
  3966. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, mycount_),
  3967. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, myrank_),
  3968. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, thresholdvalue_),
  3969. };
  3970. packetw2c_get_kingcraft_rank_result_reflection_ =
  3971. new ::google::protobuf::internal::GeneratedMessageReflection(
  3972. packetw2c_get_kingcraft_rank_result_descriptor_,
  3973. packetw2c_get_kingcraft_rank_result::default_instance_,
  3974. packetw2c_get_kingcraft_rank_result_offsets_,
  3975. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, _has_bits_[0]),
  3976. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_kingcraft_rank_result, _unknown_fields_),
  3977. -1,
  3978. ::google::protobuf::DescriptorPool::generated_pool(),
  3979. ::google::protobuf::MessageFactory::generated_factory(),
  3980. sizeof(packetw2c_get_kingcraft_rank_result));
  3981. packetc2w_kingcraft_lottery_descriptor_ = file->message_type(182);
  3982. static const int packetc2w_kingcraft_lottery_offsets_[3] = {
  3983. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, packet_id_),
  3984. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, type_),
  3985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, count_),
  3986. };
  3987. packetc2w_kingcraft_lottery_reflection_ =
  3988. new ::google::protobuf::internal::GeneratedMessageReflection(
  3989. packetc2w_kingcraft_lottery_descriptor_,
  3990. packetc2w_kingcraft_lottery::default_instance_,
  3991. packetc2w_kingcraft_lottery_offsets_,
  3992. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, _has_bits_[0]),
  3993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_lottery, _unknown_fields_),
  3994. -1,
  3995. ::google::protobuf::DescriptorPool::generated_pool(),
  3996. ::google::protobuf::MessageFactory::generated_factory(),
  3997. sizeof(packetc2w_kingcraft_lottery));
  3998. packetw2c_kingcraft_lottery_result_descriptor_ = file->message_type(183);
  3999. static const int packetw2c_kingcraft_lottery_result_offsets_[5] = {
  4000. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, packet_id_),
  4001. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, result_),
  4002. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, type_),
  4003. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, count_),
  4004. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, rewardid_),
  4005. };
  4006. packetw2c_kingcraft_lottery_result_reflection_ =
  4007. new ::google::protobuf::internal::GeneratedMessageReflection(
  4008. packetw2c_kingcraft_lottery_result_descriptor_,
  4009. packetw2c_kingcraft_lottery_result::default_instance_,
  4010. packetw2c_kingcraft_lottery_result_offsets_,
  4011. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, _has_bits_[0]),
  4012. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_lottery_result, _unknown_fields_),
  4013. -1,
  4014. ::google::protobuf::DescriptorPool::generated_pool(),
  4015. ::google::protobuf::MessageFactory::generated_factory(),
  4016. sizeof(packetw2c_kingcraft_lottery_result));
  4017. packetc2w_receive_kingcraft_recharge_reward_descriptor_ = file->message_type(184);
  4018. static const int packetc2w_receive_kingcraft_recharge_reward_offsets_[2] = {
  4019. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_recharge_reward, packet_id_),
  4020. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_recharge_reward, index_),
  4021. };
  4022. packetc2w_receive_kingcraft_recharge_reward_reflection_ =
  4023. new ::google::protobuf::internal::GeneratedMessageReflection(
  4024. packetc2w_receive_kingcraft_recharge_reward_descriptor_,
  4025. packetc2w_receive_kingcraft_recharge_reward::default_instance_,
  4026. packetc2w_receive_kingcraft_recharge_reward_offsets_,
  4027. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_recharge_reward, _has_bits_[0]),
  4028. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_recharge_reward, _unknown_fields_),
  4029. -1,
  4030. ::google::protobuf::DescriptorPool::generated_pool(),
  4031. ::google::protobuf::MessageFactory::generated_factory(),
  4032. sizeof(packetc2w_receive_kingcraft_recharge_reward));
  4033. packetw2c_receive_kingcraft_recharge_reward_result_descriptor_ = file->message_type(185);
  4034. static const int packetw2c_receive_kingcraft_recharge_reward_result_offsets_[3] = {
  4035. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, packet_id_),
  4036. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, result_),
  4037. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, index_),
  4038. };
  4039. packetw2c_receive_kingcraft_recharge_reward_result_reflection_ =
  4040. new ::google::protobuf::internal::GeneratedMessageReflection(
  4041. packetw2c_receive_kingcraft_recharge_reward_result_descriptor_,
  4042. packetw2c_receive_kingcraft_recharge_reward_result::default_instance_,
  4043. packetw2c_receive_kingcraft_recharge_reward_result_offsets_,
  4044. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, _has_bits_[0]),
  4045. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_recharge_reward_result, _unknown_fields_),
  4046. -1,
  4047. ::google::protobuf::DescriptorPool::generated_pool(),
  4048. ::google::protobuf::MessageFactory::generated_factory(),
  4049. sizeof(packetw2c_receive_kingcraft_recharge_reward_result));
  4050. packetc2w_receive_kingcraft_exchange_descriptor_ = file->message_type(186);
  4051. static const int packetc2w_receive_kingcraft_exchange_offsets_[2] = {
  4052. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_exchange, packet_id_),
  4053. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_exchange, index_),
  4054. };
  4055. packetc2w_receive_kingcraft_exchange_reflection_ =
  4056. new ::google::protobuf::internal::GeneratedMessageReflection(
  4057. packetc2w_receive_kingcraft_exchange_descriptor_,
  4058. packetc2w_receive_kingcraft_exchange::default_instance_,
  4059. packetc2w_receive_kingcraft_exchange_offsets_,
  4060. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_exchange, _has_bits_[0]),
  4061. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_kingcraft_exchange, _unknown_fields_),
  4062. -1,
  4063. ::google::protobuf::DescriptorPool::generated_pool(),
  4064. ::google::protobuf::MessageFactory::generated_factory(),
  4065. sizeof(packetc2w_receive_kingcraft_exchange));
  4066. packetw2c_receive_kingcraft_exchange_result_descriptor_ = file->message_type(187);
  4067. static const int packetw2c_receive_kingcraft_exchange_result_offsets_[3] = {
  4068. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, packet_id_),
  4069. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, index_),
  4070. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, result_),
  4071. };
  4072. packetw2c_receive_kingcraft_exchange_result_reflection_ =
  4073. new ::google::protobuf::internal::GeneratedMessageReflection(
  4074. packetw2c_receive_kingcraft_exchange_result_descriptor_,
  4075. packetw2c_receive_kingcraft_exchange_result::default_instance_,
  4076. packetw2c_receive_kingcraft_exchange_result_offsets_,
  4077. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, _has_bits_[0]),
  4078. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_kingcraft_exchange_result, _unknown_fields_),
  4079. -1,
  4080. ::google::protobuf::DescriptorPool::generated_pool(),
  4081. ::google::protobuf::MessageFactory::generated_factory(),
  4082. sizeof(packetw2c_receive_kingcraft_exchange_result));
  4083. packetc2w_kingcraft_sign_descriptor_ = file->message_type(188);
  4084. static const int packetc2w_kingcraft_sign_offsets_[2] = {
  4085. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_sign, packet_id_),
  4086. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_sign, signday_),
  4087. };
  4088. packetc2w_kingcraft_sign_reflection_ =
  4089. new ::google::protobuf::internal::GeneratedMessageReflection(
  4090. packetc2w_kingcraft_sign_descriptor_,
  4091. packetc2w_kingcraft_sign::default_instance_,
  4092. packetc2w_kingcraft_sign_offsets_,
  4093. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_sign, _has_bits_[0]),
  4094. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_kingcraft_sign, _unknown_fields_),
  4095. -1,
  4096. ::google::protobuf::DescriptorPool::generated_pool(),
  4097. ::google::protobuf::MessageFactory::generated_factory(),
  4098. sizeof(packetc2w_kingcraft_sign));
  4099. packetw2c_kingcraft_sign_result_descriptor_ = file->message_type(189);
  4100. static const int packetw2c_kingcraft_sign_result_offsets_[3] = {
  4101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, packet_id_),
  4102. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, signday_),
  4103. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, result_),
  4104. };
  4105. packetw2c_kingcraft_sign_result_reflection_ =
  4106. new ::google::protobuf::internal::GeneratedMessageReflection(
  4107. packetw2c_kingcraft_sign_result_descriptor_,
  4108. packetw2c_kingcraft_sign_result::default_instance_,
  4109. packetw2c_kingcraft_sign_result_offsets_,
  4110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, _has_bits_[0]),
  4111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_kingcraft_sign_result, _unknown_fields_),
  4112. -1,
  4113. ::google::protobuf::DescriptorPool::generated_pool(),
  4114. ::google::protobuf::MessageFactory::generated_factory(),
  4115. sizeof(packetw2c_kingcraft_sign_result));
  4116. packetw2c_syn_double_egg_activity_info_descriptor_ = file->message_type(190);
  4117. static const int packetw2c_syn_double_egg_activity_info_offsets_[4] = {
  4118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, packet_id_),
  4119. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, activitystate_),
  4120. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, starttime_),
  4121. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, endtime_),
  4122. };
  4123. packetw2c_syn_double_egg_activity_info_reflection_ =
  4124. new ::google::protobuf::internal::GeneratedMessageReflection(
  4125. packetw2c_syn_double_egg_activity_info_descriptor_,
  4126. packetw2c_syn_double_egg_activity_info::default_instance_,
  4127. packetw2c_syn_double_egg_activity_info_offsets_,
  4128. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, _has_bits_[0]),
  4129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_double_egg_activity_info, _unknown_fields_),
  4130. -1,
  4131. ::google::protobuf::DescriptorPool::generated_pool(),
  4132. ::google::protobuf::MessageFactory::generated_factory(),
  4133. sizeof(packetw2c_syn_double_egg_activity_info));
  4134. touchingFishRecInfo_descriptor_ = file->message_type(191);
  4135. static const int touchingFishRecInfo_offsets_[2] = {
  4136. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(touchingFishRecInfo, id_),
  4137. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(touchingFishRecInfo, recvalue_),
  4138. };
  4139. touchingFishRecInfo_reflection_ =
  4140. new ::google::protobuf::internal::GeneratedMessageReflection(
  4141. touchingFishRecInfo_descriptor_,
  4142. touchingFishRecInfo::default_instance_,
  4143. touchingFishRecInfo_offsets_,
  4144. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(touchingFishRecInfo, _has_bits_[0]),
  4145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(touchingFishRecInfo, _unknown_fields_),
  4146. -1,
  4147. ::google::protobuf::DescriptorPool::generated_pool(),
  4148. ::google::protobuf::MessageFactory::generated_factory(),
  4149. sizeof(touchingFishRecInfo));
  4150. packetw2c_syn_touching_fish_activity_info_descriptor_ = file->message_type(192);
  4151. static const int packetw2c_syn_touching_fish_activity_info_offsets_[13] = {
  4152. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, packet_id_),
  4153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, activitystate_),
  4154. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, starttime_),
  4155. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, endtime_),
  4156. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, season_),
  4157. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, exp_),
  4158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, level_),
  4159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, curweek_),
  4160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, weekstarttime_),
  4161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, weekendtime_),
  4162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, weekexp_),
  4163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, levelrevids_),
  4164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, weekboxrev_),
  4165. };
  4166. packetw2c_syn_touching_fish_activity_info_reflection_ =
  4167. new ::google::protobuf::internal::GeneratedMessageReflection(
  4168. packetw2c_syn_touching_fish_activity_info_descriptor_,
  4169. packetw2c_syn_touching_fish_activity_info::default_instance_,
  4170. packetw2c_syn_touching_fish_activity_info_offsets_,
  4171. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, _has_bits_[0]),
  4172. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_activity_info, _unknown_fields_),
  4173. -1,
  4174. ::google::protobuf::DescriptorPool::generated_pool(),
  4175. ::google::protobuf::MessageFactory::generated_factory(),
  4176. sizeof(packetw2c_syn_touching_fish_activity_info));
  4177. packetw2c_syn_touching_fish_exp_descriptor_ = file->message_type(193);
  4178. static const int packetw2c_syn_touching_fish_exp_offsets_[4] = {
  4179. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, packet_id_),
  4180. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, exp_),
  4181. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, level_),
  4182. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, weekexp_),
  4183. };
  4184. packetw2c_syn_touching_fish_exp_reflection_ =
  4185. new ::google::protobuf::internal::GeneratedMessageReflection(
  4186. packetw2c_syn_touching_fish_exp_descriptor_,
  4187. packetw2c_syn_touching_fish_exp::default_instance_,
  4188. packetw2c_syn_touching_fish_exp_offsets_,
  4189. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, _has_bits_[0]),
  4190. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_touching_fish_exp, _unknown_fields_),
  4191. -1,
  4192. ::google::protobuf::DescriptorPool::generated_pool(),
  4193. ::google::protobuf::MessageFactory::generated_factory(),
  4194. sizeof(packetw2c_syn_touching_fish_exp));
  4195. packetc2w_recv_touching_fish_level_reward_descriptor_ = file->message_type(194);
  4196. static const int packetc2w_recv_touching_fish_level_reward_offsets_[2] = {
  4197. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_level_reward, packet_id_),
  4198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_level_reward, recid_),
  4199. };
  4200. packetc2w_recv_touching_fish_level_reward_reflection_ =
  4201. new ::google::protobuf::internal::GeneratedMessageReflection(
  4202. packetc2w_recv_touching_fish_level_reward_descriptor_,
  4203. packetc2w_recv_touching_fish_level_reward::default_instance_,
  4204. packetc2w_recv_touching_fish_level_reward_offsets_,
  4205. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_level_reward, _has_bits_[0]),
  4206. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_level_reward, _unknown_fields_),
  4207. -1,
  4208. ::google::protobuf::DescriptorPool::generated_pool(),
  4209. ::google::protobuf::MessageFactory::generated_factory(),
  4210. sizeof(packetc2w_recv_touching_fish_level_reward));
  4211. packetw2c_recv_touching_fish_level_reward_result_descriptor_ = file->message_type(195);
  4212. static const int packetw2c_recv_touching_fish_level_reward_result_offsets_[4] = {
  4213. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, packet_id_),
  4214. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, result_),
  4215. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, recid_),
  4216. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, recvalue_),
  4217. };
  4218. packetw2c_recv_touching_fish_level_reward_result_reflection_ =
  4219. new ::google::protobuf::internal::GeneratedMessageReflection(
  4220. packetw2c_recv_touching_fish_level_reward_result_descriptor_,
  4221. packetw2c_recv_touching_fish_level_reward_result::default_instance_,
  4222. packetw2c_recv_touching_fish_level_reward_result_offsets_,
  4223. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, _has_bits_[0]),
  4224. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_level_reward_result, _unknown_fields_),
  4225. -1,
  4226. ::google::protobuf::DescriptorPool::generated_pool(),
  4227. ::google::protobuf::MessageFactory::generated_factory(),
  4228. sizeof(packetw2c_recv_touching_fish_level_reward_result));
  4229. packetc2w_recv_touching_fish_task_descriptor_ = file->message_type(196);
  4230. static const int packetc2w_recv_touching_fish_task_offsets_[1] = {
  4231. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_task, packet_id_),
  4232. };
  4233. packetc2w_recv_touching_fish_task_reflection_ =
  4234. new ::google::protobuf::internal::GeneratedMessageReflection(
  4235. packetc2w_recv_touching_fish_task_descriptor_,
  4236. packetc2w_recv_touching_fish_task::default_instance_,
  4237. packetc2w_recv_touching_fish_task_offsets_,
  4238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_task, _has_bits_[0]),
  4239. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_task, _unknown_fields_),
  4240. -1,
  4241. ::google::protobuf::DescriptorPool::generated_pool(),
  4242. ::google::protobuf::MessageFactory::generated_factory(),
  4243. sizeof(packetc2w_recv_touching_fish_task));
  4244. packetw2c_recv_touching_fish_task_result_descriptor_ = file->message_type(197);
  4245. static const int packetw2c_recv_touching_fish_task_result_offsets_[3] = {
  4246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, packet_id_),
  4247. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, questlist_),
  4248. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, weekquestlist_),
  4249. };
  4250. packetw2c_recv_touching_fish_task_result_reflection_ =
  4251. new ::google::protobuf::internal::GeneratedMessageReflection(
  4252. packetw2c_recv_touching_fish_task_result_descriptor_,
  4253. packetw2c_recv_touching_fish_task_result::default_instance_,
  4254. packetw2c_recv_touching_fish_task_result_offsets_,
  4255. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, _has_bits_[0]),
  4256. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_task_result, _unknown_fields_),
  4257. -1,
  4258. ::google::protobuf::DescriptorPool::generated_pool(),
  4259. ::google::protobuf::MessageFactory::generated_factory(),
  4260. sizeof(packetw2c_recv_touching_fish_task_result));
  4261. packetc2w_recv_touching_fish_quest_award_descriptor_ = file->message_type(198);
  4262. static const int packetc2w_recv_touching_fish_quest_award_offsets_[2] = {
  4263. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_quest_award, packet_id_),
  4264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_quest_award, questid_),
  4265. };
  4266. packetc2w_recv_touching_fish_quest_award_reflection_ =
  4267. new ::google::protobuf::internal::GeneratedMessageReflection(
  4268. packetc2w_recv_touching_fish_quest_award_descriptor_,
  4269. packetc2w_recv_touching_fish_quest_award::default_instance_,
  4270. packetc2w_recv_touching_fish_quest_award_offsets_,
  4271. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_quest_award, _has_bits_[0]),
  4272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_quest_award, _unknown_fields_),
  4273. -1,
  4274. ::google::protobuf::DescriptorPool::generated_pool(),
  4275. ::google::protobuf::MessageFactory::generated_factory(),
  4276. sizeof(packetc2w_recv_touching_fish_quest_award));
  4277. packetw2c_recv_touching_fish_quest_award_result_descriptor_ = file->message_type(199);
  4278. static const int packetw2c_recv_touching_fish_quest_award_result_offsets_[4] = {
  4279. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, packet_id_),
  4280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, result_),
  4281. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, questid_),
  4282. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, items_),
  4283. };
  4284. packetw2c_recv_touching_fish_quest_award_result_reflection_ =
  4285. new ::google::protobuf::internal::GeneratedMessageReflection(
  4286. packetw2c_recv_touching_fish_quest_award_result_descriptor_,
  4287. packetw2c_recv_touching_fish_quest_award_result::default_instance_,
  4288. packetw2c_recv_touching_fish_quest_award_result_offsets_,
  4289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, _has_bits_[0]),
  4290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_quest_award_result, _unknown_fields_),
  4291. -1,
  4292. ::google::protobuf::DescriptorPool::generated_pool(),
  4293. ::google::protobuf::MessageFactory::generated_factory(),
  4294. sizeof(packetw2c_recv_touching_fish_quest_award_result));
  4295. packetc2w_recv_touching_fish_week_box_descriptor_ = file->message_type(200);
  4296. static const int packetc2w_recv_touching_fish_week_box_offsets_[1] = {
  4297. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_week_box, packet_id_),
  4298. };
  4299. packetc2w_recv_touching_fish_week_box_reflection_ =
  4300. new ::google::protobuf::internal::GeneratedMessageReflection(
  4301. packetc2w_recv_touching_fish_week_box_descriptor_,
  4302. packetc2w_recv_touching_fish_week_box::default_instance_,
  4303. packetc2w_recv_touching_fish_week_box_offsets_,
  4304. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_week_box, _has_bits_[0]),
  4305. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_touching_fish_week_box, _unknown_fields_),
  4306. -1,
  4307. ::google::protobuf::DescriptorPool::generated_pool(),
  4308. ::google::protobuf::MessageFactory::generated_factory(),
  4309. sizeof(packetc2w_recv_touching_fish_week_box));
  4310. packetw2c_recv_touching_fish_week_box_result_descriptor_ = file->message_type(201);
  4311. static const int packetw2c_recv_touching_fish_week_box_result_offsets_[4] = {
  4312. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, packet_id_),
  4313. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, result_),
  4314. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, weekboxrev_),
  4315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, items_),
  4316. };
  4317. packetw2c_recv_touching_fish_week_box_result_reflection_ =
  4318. new ::google::protobuf::internal::GeneratedMessageReflection(
  4319. packetw2c_recv_touching_fish_week_box_result_descriptor_,
  4320. packetw2c_recv_touching_fish_week_box_result::default_instance_,
  4321. packetw2c_recv_touching_fish_week_box_result_offsets_,
  4322. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, _has_bits_[0]),
  4323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_touching_fish_week_box_result, _unknown_fields_),
  4324. -1,
  4325. ::google::protobuf::DescriptorPool::generated_pool(),
  4326. ::google::protobuf::MessageFactory::generated_factory(),
  4327. sizeof(packetw2c_recv_touching_fish_week_box_result));
  4328. packetc2w_flush_touching_fish_quest_descriptor_ = file->message_type(202);
  4329. static const int packetc2w_flush_touching_fish_quest_offsets_[2] = {
  4330. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_flush_touching_fish_quest, packet_id_),
  4331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_flush_touching_fish_quest, questid_),
  4332. };
  4333. packetc2w_flush_touching_fish_quest_reflection_ =
  4334. new ::google::protobuf::internal::GeneratedMessageReflection(
  4335. packetc2w_flush_touching_fish_quest_descriptor_,
  4336. packetc2w_flush_touching_fish_quest::default_instance_,
  4337. packetc2w_flush_touching_fish_quest_offsets_,
  4338. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_flush_touching_fish_quest, _has_bits_[0]),
  4339. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_flush_touching_fish_quest, _unknown_fields_),
  4340. -1,
  4341. ::google::protobuf::DescriptorPool::generated_pool(),
  4342. ::google::protobuf::MessageFactory::generated_factory(),
  4343. sizeof(packetc2w_flush_touching_fish_quest));
  4344. packetw2c_flush_touching_fish_quest_result_descriptor_ = file->message_type(203);
  4345. static const int packetw2c_flush_touching_fish_quest_result_offsets_[4] = {
  4346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, packet_id_),
  4347. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, result_),
  4348. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, questid_),
  4349. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, newquestid_),
  4350. };
  4351. packetw2c_flush_touching_fish_quest_result_reflection_ =
  4352. new ::google::protobuf::internal::GeneratedMessageReflection(
  4353. packetw2c_flush_touching_fish_quest_result_descriptor_,
  4354. packetw2c_flush_touching_fish_quest_result::default_instance_,
  4355. packetw2c_flush_touching_fish_quest_result_offsets_,
  4356. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, _has_bits_[0]),
  4357. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_flush_touching_fish_quest_result, _unknown_fields_),
  4358. -1,
  4359. ::google::protobuf::DescriptorPool::generated_pool(),
  4360. ::google::protobuf::MessageFactory::generated_factory(),
  4361. sizeof(packetw2c_flush_touching_fish_quest_result));
  4362. packetc2w_get_touching_fish_rank_descriptor_ = file->message_type(204);
  4363. static const int packetc2w_get_touching_fish_rank_offsets_[1] = {
  4364. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_touching_fish_rank, packet_id_),
  4365. };
  4366. packetc2w_get_touching_fish_rank_reflection_ =
  4367. new ::google::protobuf::internal::GeneratedMessageReflection(
  4368. packetc2w_get_touching_fish_rank_descriptor_,
  4369. packetc2w_get_touching_fish_rank::default_instance_,
  4370. packetc2w_get_touching_fish_rank_offsets_,
  4371. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_touching_fish_rank, _has_bits_[0]),
  4372. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_touching_fish_rank, _unknown_fields_),
  4373. -1,
  4374. ::google::protobuf::DescriptorPool::generated_pool(),
  4375. ::google::protobuf::MessageFactory::generated_factory(),
  4376. sizeof(packetc2w_get_touching_fish_rank));
  4377. packetw2c_get_touching_fish_rank_result_descriptor_ = file->message_type(205);
  4378. static const int packetw2c_get_touching_fish_rank_result_offsets_[4] = {
  4379. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, packet_id_),
  4380. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, ranklist_),
  4381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, thresholdvalue_),
  4382. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, myrank_),
  4383. };
  4384. packetw2c_get_touching_fish_rank_result_reflection_ =
  4385. new ::google::protobuf::internal::GeneratedMessageReflection(
  4386. packetw2c_get_touching_fish_rank_result_descriptor_,
  4387. packetw2c_get_touching_fish_rank_result::default_instance_,
  4388. packetw2c_get_touching_fish_rank_result_offsets_,
  4389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, _has_bits_[0]),
  4390. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_touching_fish_rank_result, _unknown_fields_),
  4391. -1,
  4392. ::google::protobuf::DescriptorPool::generated_pool(),
  4393. ::google::protobuf::MessageFactory::generated_factory(),
  4394. sizeof(packetw2c_get_touching_fish_rank_result));
  4395. packetw2c_syn_fishing_celebration_info_descriptor_ = file->message_type(206);
  4396. static const int packetw2c_syn_fishing_celebration_info_offsets_[19] = {
  4397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, packet_id_),
  4398. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, activitystate_),
  4399. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, starttime_),
  4400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, endtime_),
  4401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, curlv_),
  4402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, bubblescore_),
  4403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, cleticket_),
  4404. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, clelotteryticket_),
  4405. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, lotterycount_),
  4406. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, giftlotterycount_),
  4407. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, giftlotteryfreecount_),
  4408. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, giftlotterystate_),
  4409. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, giftlotteryticket_),
  4410. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, exchangelist_),
  4411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, itema_),
  4412. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, itemb_),
  4413. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, itemc_),
  4414. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, ranklist_),
  4415. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, thresholdvalue_),
  4416. };
  4417. packetw2c_syn_fishing_celebration_info_reflection_ =
  4418. new ::google::protobuf::internal::GeneratedMessageReflection(
  4419. packetw2c_syn_fishing_celebration_info_descriptor_,
  4420. packetw2c_syn_fishing_celebration_info::default_instance_,
  4421. packetw2c_syn_fishing_celebration_info_offsets_,
  4422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, _has_bits_[0]),
  4423. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_info, _unknown_fields_),
  4424. -1,
  4425. ::google::protobuf::DescriptorPool::generated_pool(),
  4426. ::google::protobuf::MessageFactory::generated_factory(),
  4427. sizeof(packetw2c_syn_fishing_celebration_info));
  4428. packetc2w_fishing_celebration_lottery_descriptor_ = file->message_type(207);
  4429. static const int packetc2w_fishing_celebration_lottery_offsets_[3] = {
  4430. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, packet_id_),
  4431. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, alllottery_),
  4432. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, type_),
  4433. };
  4434. packetc2w_fishing_celebration_lottery_reflection_ =
  4435. new ::google::protobuf::internal::GeneratedMessageReflection(
  4436. packetc2w_fishing_celebration_lottery_descriptor_,
  4437. packetc2w_fishing_celebration_lottery::default_instance_,
  4438. packetc2w_fishing_celebration_lottery_offsets_,
  4439. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, _has_bits_[0]),
  4440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_lottery, _unknown_fields_),
  4441. -1,
  4442. ::google::protobuf::DescriptorPool::generated_pool(),
  4443. ::google::protobuf::MessageFactory::generated_factory(),
  4444. sizeof(packetc2w_fishing_celebration_lottery));
  4445. packetw2c_fishing_celebration_lottery_result_descriptor_ = file->message_type(208);
  4446. static const int packetw2c_fishing_celebration_lottery_result_offsets_[6] = {
  4447. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, packet_id_),
  4448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, result_),
  4449. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, alllottery_),
  4450. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, type_),
  4451. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, costtocket_),
  4452. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, rewardid_),
  4453. };
  4454. packetw2c_fishing_celebration_lottery_result_reflection_ =
  4455. new ::google::protobuf::internal::GeneratedMessageReflection(
  4456. packetw2c_fishing_celebration_lottery_result_descriptor_,
  4457. packetw2c_fishing_celebration_lottery_result::default_instance_,
  4458. packetw2c_fishing_celebration_lottery_result_offsets_,
  4459. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, _has_bits_[0]),
  4460. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_lottery_result, _unknown_fields_),
  4461. -1,
  4462. ::google::protobuf::DescriptorPool::generated_pool(),
  4463. ::google::protobuf::MessageFactory::generated_factory(),
  4464. sizeof(packetw2c_fishing_celebration_lottery_result));
  4465. packetc2w_fishing_celebration_activate_descriptor_ = file->message_type(209);
  4466. static const int packetc2w_fishing_celebration_activate_offsets_[2] = {
  4467. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_activate, packet_id_),
  4468. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_activate, lv_),
  4469. };
  4470. packetc2w_fishing_celebration_activate_reflection_ =
  4471. new ::google::protobuf::internal::GeneratedMessageReflection(
  4472. packetc2w_fishing_celebration_activate_descriptor_,
  4473. packetc2w_fishing_celebration_activate::default_instance_,
  4474. packetc2w_fishing_celebration_activate_offsets_,
  4475. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_activate, _has_bits_[0]),
  4476. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_activate, _unknown_fields_),
  4477. -1,
  4478. ::google::protobuf::DescriptorPool::generated_pool(),
  4479. ::google::protobuf::MessageFactory::generated_factory(),
  4480. sizeof(packetc2w_fishing_celebration_activate));
  4481. packetw2c_fishing_celebration_activate_result_descriptor_ = file->message_type(210);
  4482. static const int packetw2c_fishing_celebration_activate_result_offsets_[3] = {
  4483. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, packet_id_),
  4484. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, result_),
  4485. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, lv_),
  4486. };
  4487. packetw2c_fishing_celebration_activate_result_reflection_ =
  4488. new ::google::protobuf::internal::GeneratedMessageReflection(
  4489. packetw2c_fishing_celebration_activate_result_descriptor_,
  4490. packetw2c_fishing_celebration_activate_result::default_instance_,
  4491. packetw2c_fishing_celebration_activate_result_offsets_,
  4492. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, _has_bits_[0]),
  4493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_activate_result, _unknown_fields_),
  4494. -1,
  4495. ::google::protobuf::DescriptorPool::generated_pool(),
  4496. ::google::protobuf::MessageFactory::generated_factory(),
  4497. sizeof(packetw2c_fishing_celebration_activate_result));
  4498. packetc2w_fishing_celebration_exchange_descriptor_ = file->message_type(211);
  4499. static const int packetc2w_fishing_celebration_exchange_offsets_[3] = {
  4500. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, packet_id_),
  4501. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, index_),
  4502. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, count_),
  4503. };
  4504. packetc2w_fishing_celebration_exchange_reflection_ =
  4505. new ::google::protobuf::internal::GeneratedMessageReflection(
  4506. packetc2w_fishing_celebration_exchange_descriptor_,
  4507. packetc2w_fishing_celebration_exchange::default_instance_,
  4508. packetc2w_fishing_celebration_exchange_offsets_,
  4509. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, _has_bits_[0]),
  4510. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_exchange, _unknown_fields_),
  4511. -1,
  4512. ::google::protobuf::DescriptorPool::generated_pool(),
  4513. ::google::protobuf::MessageFactory::generated_factory(),
  4514. sizeof(packetc2w_fishing_celebration_exchange));
  4515. packetw2c_fishing_celebration_exchange_result_descriptor_ = file->message_type(212);
  4516. static const int packetw2c_fishing_celebration_exchange_result_offsets_[5] = {
  4517. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, packet_id_),
  4518. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, result_),
  4519. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, index_),
  4520. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, count_),
  4521. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, getpro_),
  4522. };
  4523. packetw2c_fishing_celebration_exchange_result_reflection_ =
  4524. new ::google::protobuf::internal::GeneratedMessageReflection(
  4525. packetw2c_fishing_celebration_exchange_result_descriptor_,
  4526. packetw2c_fishing_celebration_exchange_result::default_instance_,
  4527. packetw2c_fishing_celebration_exchange_result_offsets_,
  4528. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, _has_bits_[0]),
  4529. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_exchange_result, _unknown_fields_),
  4530. -1,
  4531. ::google::protobuf::DescriptorPool::generated_pool(),
  4532. ::google::protobuf::MessageFactory::generated_factory(),
  4533. sizeof(packetw2c_fishing_celebration_exchange_result));
  4534. packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_ = file->message_type(213);
  4535. static const int packetw2c_syn_fishing_celebration_free_gift_lottery_offsets_[2] = {
  4536. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_free_gift_lottery, packet_id_),
  4537. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_free_gift_lottery, freecount_),
  4538. };
  4539. packetw2c_syn_fishing_celebration_free_gift_lottery_reflection_ =
  4540. new ::google::protobuf::internal::GeneratedMessageReflection(
  4541. packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_,
  4542. packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_,
  4543. packetw2c_syn_fishing_celebration_free_gift_lottery_offsets_,
  4544. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_free_gift_lottery, _has_bits_[0]),
  4545. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_fishing_celebration_free_gift_lottery, _unknown_fields_),
  4546. -1,
  4547. ::google::protobuf::DescriptorPool::generated_pool(),
  4548. ::google::protobuf::MessageFactory::generated_factory(),
  4549. sizeof(packetw2c_syn_fishing_celebration_free_gift_lottery));
  4550. packetc2w_fishing_celebration_gift_lottery_descriptor_ = file->message_type(214);
  4551. static const int packetc2w_fishing_celebration_gift_lottery_offsets_[3] = {
  4552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, packet_id_),
  4553. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, type_),
  4554. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, isadv_),
  4555. };
  4556. packetc2w_fishing_celebration_gift_lottery_reflection_ =
  4557. new ::google::protobuf::internal::GeneratedMessageReflection(
  4558. packetc2w_fishing_celebration_gift_lottery_descriptor_,
  4559. packetc2w_fishing_celebration_gift_lottery::default_instance_,
  4560. packetc2w_fishing_celebration_gift_lottery_offsets_,
  4561. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, _has_bits_[0]),
  4562. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery, _unknown_fields_),
  4563. -1,
  4564. ::google::protobuf::DescriptorPool::generated_pool(),
  4565. ::google::protobuf::MessageFactory::generated_factory(),
  4566. sizeof(packetc2w_fishing_celebration_gift_lottery));
  4567. packetw2c_fishing_celebration_gift_lottery_result_descriptor_ = file->message_type(215);
  4568. static const int packetw2c_fishing_celebration_gift_lottery_result_offsets_[6] = {
  4569. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, packet_id_),
  4570. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, result_),
  4571. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, type_),
  4572. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, isadv_),
  4573. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, rewardid_),
  4574. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, freecount_),
  4575. };
  4576. packetw2c_fishing_celebration_gift_lottery_result_reflection_ =
  4577. new ::google::protobuf::internal::GeneratedMessageReflection(
  4578. packetw2c_fishing_celebration_gift_lottery_result_descriptor_,
  4579. packetw2c_fishing_celebration_gift_lottery_result::default_instance_,
  4580. packetw2c_fishing_celebration_gift_lottery_result_offsets_,
  4581. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, _has_bits_[0]),
  4582. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_result, _unknown_fields_),
  4583. -1,
  4584. ::google::protobuf::DescriptorPool::generated_pool(),
  4585. ::google::protobuf::MessageFactory::generated_factory(),
  4586. sizeof(packetw2c_fishing_celebration_gift_lottery_result));
  4587. packetc2w_fishing_celebration_gift_lottery_reward_descriptor_ = file->message_type(216);
  4588. static const int packetc2w_fishing_celebration_gift_lottery_reward_offsets_[2] = {
  4589. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery_reward, packet_id_),
  4590. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery_reward, type_),
  4591. };
  4592. packetc2w_fishing_celebration_gift_lottery_reward_reflection_ =
  4593. new ::google::protobuf::internal::GeneratedMessageReflection(
  4594. packetc2w_fishing_celebration_gift_lottery_reward_descriptor_,
  4595. packetc2w_fishing_celebration_gift_lottery_reward::default_instance_,
  4596. packetc2w_fishing_celebration_gift_lottery_reward_offsets_,
  4597. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery_reward, _has_bits_[0]),
  4598. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_gift_lottery_reward, _unknown_fields_),
  4599. -1,
  4600. ::google::protobuf::DescriptorPool::generated_pool(),
  4601. ::google::protobuf::MessageFactory::generated_factory(),
  4602. sizeof(packetc2w_fishing_celebration_gift_lottery_reward));
  4603. packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_ = file->message_type(217);
  4604. static const int packetw2c_fishing_celebration_gift_lottery_reward_result_offsets_[3] = {
  4605. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, packet_id_),
  4606. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, result_),
  4607. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, type_),
  4608. };
  4609. packetw2c_fishing_celebration_gift_lottery_reward_result_reflection_ =
  4610. new ::google::protobuf::internal::GeneratedMessageReflection(
  4611. packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_,
  4612. packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_,
  4613. packetw2c_fishing_celebration_gift_lottery_reward_result_offsets_,
  4614. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, _has_bits_[0]),
  4615. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_gift_lottery_reward_result, _unknown_fields_),
  4616. -1,
  4617. ::google::protobuf::DescriptorPool::generated_pool(),
  4618. ::google::protobuf::MessageFactory::generated_factory(),
  4619. sizeof(packetw2c_fishing_celebration_gift_lottery_reward_result));
  4620. packetc2w_fishing_celebration_buy_gift_descriptor_ = file->message_type(218);
  4621. static const int packetc2w_fishing_celebration_buy_gift_offsets_[2] = {
  4622. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_buy_gift, packet_id_),
  4623. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_buy_gift, index_),
  4624. };
  4625. packetc2w_fishing_celebration_buy_gift_reflection_ =
  4626. new ::google::protobuf::internal::GeneratedMessageReflection(
  4627. packetc2w_fishing_celebration_buy_gift_descriptor_,
  4628. packetc2w_fishing_celebration_buy_gift::default_instance_,
  4629. packetc2w_fishing_celebration_buy_gift_offsets_,
  4630. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_buy_gift, _has_bits_[0]),
  4631. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_fishing_celebration_buy_gift, _unknown_fields_),
  4632. -1,
  4633. ::google::protobuf::DescriptorPool::generated_pool(),
  4634. ::google::protobuf::MessageFactory::generated_factory(),
  4635. sizeof(packetc2w_fishing_celebration_buy_gift));
  4636. packetw2c_fishing_celebration_buy_gift_result_descriptor_ = file->message_type(219);
  4637. static const int packetw2c_fishing_celebration_buy_gift_result_offsets_[3] = {
  4638. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, packet_id_),
  4639. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, result_),
  4640. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, index_),
  4641. };
  4642. packetw2c_fishing_celebration_buy_gift_result_reflection_ =
  4643. new ::google::protobuf::internal::GeneratedMessageReflection(
  4644. packetw2c_fishing_celebration_buy_gift_result_descriptor_,
  4645. packetw2c_fishing_celebration_buy_gift_result::default_instance_,
  4646. packetw2c_fishing_celebration_buy_gift_result_offsets_,
  4647. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, _has_bits_[0]),
  4648. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_fishing_celebration_buy_gift_result, _unknown_fields_),
  4649. -1,
  4650. ::google::protobuf::DescriptorPool::generated_pool(),
  4651. ::google::protobuf::MessageFactory::generated_factory(),
  4652. sizeof(packetw2c_fishing_celebration_buy_gift_result));
  4653. packetc2w_get_fishing_celebration_rank_descriptor_ = file->message_type(220);
  4654. static const int packetc2w_get_fishing_celebration_rank_offsets_[1] = {
  4655. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fishing_celebration_rank, packet_id_),
  4656. };
  4657. packetc2w_get_fishing_celebration_rank_reflection_ =
  4658. new ::google::protobuf::internal::GeneratedMessageReflection(
  4659. packetc2w_get_fishing_celebration_rank_descriptor_,
  4660. packetc2w_get_fishing_celebration_rank::default_instance_,
  4661. packetc2w_get_fishing_celebration_rank_offsets_,
  4662. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fishing_celebration_rank, _has_bits_[0]),
  4663. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_fishing_celebration_rank, _unknown_fields_),
  4664. -1,
  4665. ::google::protobuf::DescriptorPool::generated_pool(),
  4666. ::google::protobuf::MessageFactory::generated_factory(),
  4667. sizeof(packetc2w_get_fishing_celebration_rank));
  4668. packetw2c_get_fishing_celebration_rank_result_descriptor_ = file->message_type(221);
  4669. static const int packetw2c_get_fishing_celebration_rank_result_offsets_[4] = {
  4670. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, packet_id_),
  4671. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, ranklist_),
  4672. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, thresholdvalue_),
  4673. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, myrank_),
  4674. };
  4675. packetw2c_get_fishing_celebration_rank_result_reflection_ =
  4676. new ::google::protobuf::internal::GeneratedMessageReflection(
  4677. packetw2c_get_fishing_celebration_rank_result_descriptor_,
  4678. packetw2c_get_fishing_celebration_rank_result::default_instance_,
  4679. packetw2c_get_fishing_celebration_rank_result_offsets_,
  4680. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, _has_bits_[0]),
  4681. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_fishing_celebration_rank_result, _unknown_fields_),
  4682. -1,
  4683. ::google::protobuf::DescriptorPool::generated_pool(),
  4684. ::google::protobuf::MessageFactory::generated_factory(),
  4685. sizeof(packetw2c_get_fishing_celebration_rank_result));
  4686. prizeKey_descriptor_ = file->message_type(222);
  4687. static const int prizeKey_offsets_[3] = {
  4688. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, gear_),
  4689. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, rank_),
  4690. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, keylist_),
  4691. };
  4692. prizeKey_reflection_ =
  4693. new ::google::protobuf::internal::GeneratedMessageReflection(
  4694. prizeKey_descriptor_,
  4695. prizeKey::default_instance_,
  4696. prizeKey_offsets_,
  4697. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, _has_bits_[0]),
  4698. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(prizeKey, _unknown_fields_),
  4699. -1,
  4700. ::google::protobuf::DescriptorPool::generated_pool(),
  4701. ::google::protobuf::MessageFactory::generated_factory(),
  4702. sizeof(prizeKey));
  4703. packetw2c_syn_feed_back_info_descriptor_ = file->message_type(223);
  4704. static const int packetw2c_syn_feed_back_info_offsets_[8] = {
  4705. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, packet_id_),
  4706. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, activitystate_),
  4707. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, starttime_),
  4708. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, endtime_),
  4709. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, receivetime_),
  4710. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, curgear_),
  4711. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, vipreveivecount_),
  4712. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, prizelist_),
  4713. };
  4714. packetw2c_syn_feed_back_info_reflection_ =
  4715. new ::google::protobuf::internal::GeneratedMessageReflection(
  4716. packetw2c_syn_feed_back_info_descriptor_,
  4717. packetw2c_syn_feed_back_info::default_instance_,
  4718. packetw2c_syn_feed_back_info_offsets_,
  4719. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, _has_bits_[0]),
  4720. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_feed_back_info, _unknown_fields_),
  4721. -1,
  4722. ::google::protobuf::DescriptorPool::generated_pool(),
  4723. ::google::protobuf::MessageFactory::generated_factory(),
  4724. sizeof(packetw2c_syn_feed_back_info));
  4725. packetc2w_get_feed_back_vip_reward_descriptor_ = file->message_type(224);
  4726. static const int packetc2w_get_feed_back_vip_reward_offsets_[2] = {
  4727. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_vip_reward, packet_id_),
  4728. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_vip_reward, gear_),
  4729. };
  4730. packetc2w_get_feed_back_vip_reward_reflection_ =
  4731. new ::google::protobuf::internal::GeneratedMessageReflection(
  4732. packetc2w_get_feed_back_vip_reward_descriptor_,
  4733. packetc2w_get_feed_back_vip_reward::default_instance_,
  4734. packetc2w_get_feed_back_vip_reward_offsets_,
  4735. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_vip_reward, _has_bits_[0]),
  4736. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_vip_reward, _unknown_fields_),
  4737. -1,
  4738. ::google::protobuf::DescriptorPool::generated_pool(),
  4739. ::google::protobuf::MessageFactory::generated_factory(),
  4740. sizeof(packetc2w_get_feed_back_vip_reward));
  4741. packetw2c_get_feed_back_vip_reward_result_descriptor_ = file->message_type(225);
  4742. static const int packetw2c_get_feed_back_vip_reward_result_offsets_[5] = {
  4743. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, packet_id_),
  4744. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, result_),
  4745. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, vip_),
  4746. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, vipreveivecount_),
  4747. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, gear_),
  4748. };
  4749. packetw2c_get_feed_back_vip_reward_result_reflection_ =
  4750. new ::google::protobuf::internal::GeneratedMessageReflection(
  4751. packetw2c_get_feed_back_vip_reward_result_descriptor_,
  4752. packetw2c_get_feed_back_vip_reward_result::default_instance_,
  4753. packetw2c_get_feed_back_vip_reward_result_offsets_,
  4754. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, _has_bits_[0]),
  4755. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_vip_reward_result, _unknown_fields_),
  4756. -1,
  4757. ::google::protobuf::DescriptorPool::generated_pool(),
  4758. ::google::protobuf::MessageFactory::generated_factory(),
  4759. sizeof(packetw2c_get_feed_back_vip_reward_result));
  4760. packetc2w_get_feed_back_keylist_descriptor_ = file->message_type(226);
  4761. static const int packetc2w_get_feed_back_keylist_offsets_[2] = {
  4762. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_keylist, packet_id_),
  4763. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_keylist, gear_),
  4764. };
  4765. packetc2w_get_feed_back_keylist_reflection_ =
  4766. new ::google::protobuf::internal::GeneratedMessageReflection(
  4767. packetc2w_get_feed_back_keylist_descriptor_,
  4768. packetc2w_get_feed_back_keylist::default_instance_,
  4769. packetc2w_get_feed_back_keylist_offsets_,
  4770. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_keylist, _has_bits_[0]),
  4771. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_feed_back_keylist, _unknown_fields_),
  4772. -1,
  4773. ::google::protobuf::DescriptorPool::generated_pool(),
  4774. ::google::protobuf::MessageFactory::generated_factory(),
  4775. sizeof(packetc2w_get_feed_back_keylist));
  4776. packetw2c_get_feed_back_keylist_result_descriptor_ = file->message_type(227);
  4777. static const int packetw2c_get_feed_back_keylist_result_offsets_[3] = {
  4778. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, packet_id_),
  4779. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, gear_),
  4780. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, keylist_),
  4781. };
  4782. packetw2c_get_feed_back_keylist_result_reflection_ =
  4783. new ::google::protobuf::internal::GeneratedMessageReflection(
  4784. packetw2c_get_feed_back_keylist_result_descriptor_,
  4785. packetw2c_get_feed_back_keylist_result::default_instance_,
  4786. packetw2c_get_feed_back_keylist_result_offsets_,
  4787. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, _has_bits_[0]),
  4788. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_feed_back_keylist_result, _unknown_fields_),
  4789. -1,
  4790. ::google::protobuf::DescriptorPool::generated_pool(),
  4791. ::google::protobuf::MessageFactory::generated_factory(),
  4792. sizeof(packetw2c_get_feed_back_keylist_result));
  4793. packetw2c_syn_chip_treasure_info_descriptor_ = file->message_type(228);
  4794. static const int packetw2c_syn_chip_treasure_info_offsets_[4] = {
  4795. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, packet_id_),
  4796. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, activitystate_),
  4797. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, starttime_),
  4798. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, endtime_),
  4799. };
  4800. packetw2c_syn_chip_treasure_info_reflection_ =
  4801. new ::google::protobuf::internal::GeneratedMessageReflection(
  4802. packetw2c_syn_chip_treasure_info_descriptor_,
  4803. packetw2c_syn_chip_treasure_info::default_instance_,
  4804. packetw2c_syn_chip_treasure_info_offsets_,
  4805. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, _has_bits_[0]),
  4806. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_chip_treasure_info, _unknown_fields_),
  4807. -1,
  4808. ::google::protobuf::DescriptorPool::generated_pool(),
  4809. ::google::protobuf::MessageFactory::generated_factory(),
  4810. sizeof(packetw2c_syn_chip_treasure_info));
  4811. packetc2w_chip_treasure_lottery_descriptor_ = file->message_type(229);
  4812. static const int packetc2w_chip_treasure_lottery_offsets_[3] = {
  4813. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, packet_id_),
  4814. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, type_),
  4815. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, count_),
  4816. };
  4817. packetc2w_chip_treasure_lottery_reflection_ =
  4818. new ::google::protobuf::internal::GeneratedMessageReflection(
  4819. packetc2w_chip_treasure_lottery_descriptor_,
  4820. packetc2w_chip_treasure_lottery::default_instance_,
  4821. packetc2w_chip_treasure_lottery_offsets_,
  4822. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, _has_bits_[0]),
  4823. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_chip_treasure_lottery, _unknown_fields_),
  4824. -1,
  4825. ::google::protobuf::DescriptorPool::generated_pool(),
  4826. ::google::protobuf::MessageFactory::generated_factory(),
  4827. sizeof(packetc2w_chip_treasure_lottery));
  4828. packetw2c_chip_treasure_lottery_result_descriptor_ = file->message_type(230);
  4829. static const int packetw2c_chip_treasure_lottery_result_offsets_[5] = {
  4830. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, packet_id_),
  4831. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, result_),
  4832. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, type_),
  4833. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, count_),
  4834. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, index_),
  4835. };
  4836. packetw2c_chip_treasure_lottery_result_reflection_ =
  4837. new ::google::protobuf::internal::GeneratedMessageReflection(
  4838. packetw2c_chip_treasure_lottery_result_descriptor_,
  4839. packetw2c_chip_treasure_lottery_result::default_instance_,
  4840. packetw2c_chip_treasure_lottery_result_offsets_,
  4841. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, _has_bits_[0]),
  4842. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_chip_treasure_lottery_result, _unknown_fields_),
  4843. -1,
  4844. ::google::protobuf::DescriptorPool::generated_pool(),
  4845. ::google::protobuf::MessageFactory::generated_factory(),
  4846. sizeof(packetw2c_chip_treasure_lottery_result));
  4847. sendGoldHistory_descriptor_ = file->message_type(231);
  4848. static const int sendGoldHistory_offsets_[3] = {
  4849. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, round_),
  4850. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, nickname_),
  4851. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, gold_),
  4852. };
  4853. sendGoldHistory_reflection_ =
  4854. new ::google::protobuf::internal::GeneratedMessageReflection(
  4855. sendGoldHistory_descriptor_,
  4856. sendGoldHistory::default_instance_,
  4857. sendGoldHistory_offsets_,
  4858. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, _has_bits_[0]),
  4859. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldHistory, _unknown_fields_),
  4860. -1,
  4861. ::google::protobuf::DescriptorPool::generated_pool(),
  4862. ::google::protobuf::MessageFactory::generated_factory(),
  4863. sizeof(sendGoldHistory));
  4864. sendGoldInfo_descriptor_ = file->message_type(232);
  4865. static const int sendGoldInfo_offsets_[6] = {
  4866. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, gear_),
  4867. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, jackpot_),
  4868. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, curround_),
  4869. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, buycount_),
  4870. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, parttimes_),
  4871. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, historylist_),
  4872. };
  4873. sendGoldInfo_reflection_ =
  4874. new ::google::protobuf::internal::GeneratedMessageReflection(
  4875. sendGoldInfo_descriptor_,
  4876. sendGoldInfo::default_instance_,
  4877. sendGoldInfo_offsets_,
  4878. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, _has_bits_[0]),
  4879. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sendGoldInfo, _unknown_fields_),
  4880. -1,
  4881. ::google::protobuf::DescriptorPool::generated_pool(),
  4882. ::google::protobuf::MessageFactory::generated_factory(),
  4883. sizeof(sendGoldInfo));
  4884. packetw2c_syn_summer_plan_info_descriptor_ = file->message_type(233);
  4885. static const int packetw2c_syn_summer_plan_info_offsets_[16] = {
  4886. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, packet_id_),
  4887. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, activitystate_),
  4888. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, starttime_),
  4889. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, endtime_),
  4890. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, active_),
  4891. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, summerbingo_),
  4892. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, freerocketcount_),
  4893. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, freerocketcold_),
  4894. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, rocketleftrecv_),
  4895. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, rocketcurheight_),
  4896. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, recharged_),
  4897. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, rechargedrecv_),
  4898. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, draweyeenergy_),
  4899. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, touchgoldenergy_),
  4900. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, draweyetimes_),
  4901. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, touchgoldtimes_),
  4902. };
  4903. packetw2c_syn_summer_plan_info_reflection_ =
  4904. new ::google::protobuf::internal::GeneratedMessageReflection(
  4905. packetw2c_syn_summer_plan_info_descriptor_,
  4906. packetw2c_syn_summer_plan_info::default_instance_,
  4907. packetw2c_syn_summer_plan_info_offsets_,
  4908. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, _has_bits_[0]),
  4909. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_summer_plan_info, _unknown_fields_),
  4910. -1,
  4911. ::google::protobuf::DescriptorPool::generated_pool(),
  4912. ::google::protobuf::MessageFactory::generated_factory(),
  4913. sizeof(packetw2c_syn_summer_plan_info));
  4914. packetc2w_summer_plan_get_redpacket_task_descriptor_ = file->message_type(234);
  4915. static const int packetc2w_summer_plan_get_redpacket_task_offsets_[1] = {
  4916. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_get_redpacket_task, packet_id_),
  4917. };
  4918. packetc2w_summer_plan_get_redpacket_task_reflection_ =
  4919. new ::google::protobuf::internal::GeneratedMessageReflection(
  4920. packetc2w_summer_plan_get_redpacket_task_descriptor_,
  4921. packetc2w_summer_plan_get_redpacket_task::default_instance_,
  4922. packetc2w_summer_plan_get_redpacket_task_offsets_,
  4923. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_get_redpacket_task, _has_bits_[0]),
  4924. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_get_redpacket_task, _unknown_fields_),
  4925. -1,
  4926. ::google::protobuf::DescriptorPool::generated_pool(),
  4927. ::google::protobuf::MessageFactory::generated_factory(),
  4928. sizeof(packetc2w_summer_plan_get_redpacket_task));
  4929. packetw2c_summer_plan_get_redpacket_task_result_descriptor_ = file->message_type(235);
  4930. static const int packetw2c_summer_plan_get_redpacket_task_result_offsets_[2] = {
  4931. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_get_redpacket_task_result, packet_id_),
  4932. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_get_redpacket_task_result, questlist_),
  4933. };
  4934. packetw2c_summer_plan_get_redpacket_task_result_reflection_ =
  4935. new ::google::protobuf::internal::GeneratedMessageReflection(
  4936. packetw2c_summer_plan_get_redpacket_task_result_descriptor_,
  4937. packetw2c_summer_plan_get_redpacket_task_result::default_instance_,
  4938. packetw2c_summer_plan_get_redpacket_task_result_offsets_,
  4939. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_get_redpacket_task_result, _has_bits_[0]),
  4940. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_get_redpacket_task_result, _unknown_fields_),
  4941. -1,
  4942. ::google::protobuf::DescriptorPool::generated_pool(),
  4943. ::google::protobuf::MessageFactory::generated_factory(),
  4944. sizeof(packetw2c_summer_plan_get_redpacket_task_result));
  4945. packetc2w_summer_plan_sendgold_info_descriptor_ = file->message_type(236);
  4946. static const int packetc2w_summer_plan_sendgold_info_offsets_[1] = {
  4947. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_sendgold_info, packet_id_),
  4948. };
  4949. packetc2w_summer_plan_sendgold_info_reflection_ =
  4950. new ::google::protobuf::internal::GeneratedMessageReflection(
  4951. packetc2w_summer_plan_sendgold_info_descriptor_,
  4952. packetc2w_summer_plan_sendgold_info::default_instance_,
  4953. packetc2w_summer_plan_sendgold_info_offsets_,
  4954. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_sendgold_info, _has_bits_[0]),
  4955. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_sendgold_info, _unknown_fields_),
  4956. -1,
  4957. ::google::protobuf::DescriptorPool::generated_pool(),
  4958. ::google::protobuf::MessageFactory::generated_factory(),
  4959. sizeof(packetc2w_summer_plan_sendgold_info));
  4960. packetw2c_summer_plan_sendgold_info_result_descriptor_ = file->message_type(237);
  4961. static const int packetw2c_summer_plan_sendgold_info_result_offsets_[2] = {
  4962. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_sendgold_info_result, packet_id_),
  4963. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_sendgold_info_result, sendgoldinfolist_),
  4964. };
  4965. packetw2c_summer_plan_sendgold_info_result_reflection_ =
  4966. new ::google::protobuf::internal::GeneratedMessageReflection(
  4967. packetw2c_summer_plan_sendgold_info_result_descriptor_,
  4968. packetw2c_summer_plan_sendgold_info_result::default_instance_,
  4969. packetw2c_summer_plan_sendgold_info_result_offsets_,
  4970. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_sendgold_info_result, _has_bits_[0]),
  4971. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_sendgold_info_result, _unknown_fields_),
  4972. -1,
  4973. ::google::protobuf::DescriptorPool::generated_pool(),
  4974. ::google::protobuf::MessageFactory::generated_factory(),
  4975. sizeof(packetw2c_summer_plan_sendgold_info_result));
  4976. packetc2w_summer_plan_active_descriptor_ = file->message_type(238);
  4977. static const int packetc2w_summer_plan_active_offsets_[1] = {
  4978. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_active, packet_id_),
  4979. };
  4980. packetc2w_summer_plan_active_reflection_ =
  4981. new ::google::protobuf::internal::GeneratedMessageReflection(
  4982. packetc2w_summer_plan_active_descriptor_,
  4983. packetc2w_summer_plan_active::default_instance_,
  4984. packetc2w_summer_plan_active_offsets_,
  4985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_active, _has_bits_[0]),
  4986. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_active, _unknown_fields_),
  4987. -1,
  4988. ::google::protobuf::DescriptorPool::generated_pool(),
  4989. ::google::protobuf::MessageFactory::generated_factory(),
  4990. sizeof(packetc2w_summer_plan_active));
  4991. packetw2c_summer_plan_active_result_descriptor_ = file->message_type(239);
  4992. static const int packetw2c_summer_plan_active_result_offsets_[2] = {
  4993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_active_result, packet_id_),
  4994. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_active_result, result_),
  4995. };
  4996. packetw2c_summer_plan_active_result_reflection_ =
  4997. new ::google::protobuf::internal::GeneratedMessageReflection(
  4998. packetw2c_summer_plan_active_result_descriptor_,
  4999. packetw2c_summer_plan_active_result::default_instance_,
  5000. packetw2c_summer_plan_active_result_offsets_,
  5001. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_active_result, _has_bits_[0]),
  5002. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_active_result, _unknown_fields_),
  5003. -1,
  5004. ::google::protobuf::DescriptorPool::generated_pool(),
  5005. ::google::protobuf::MessageFactory::generated_factory(),
  5006. sizeof(packetw2c_summer_plan_active_result));
  5007. packetc2w_summer_plan_recv_redpacket_descriptor_ = file->message_type(240);
  5008. static const int packetc2w_summer_plan_recv_redpacket_offsets_[2] = {
  5009. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_redpacket, packet_id_),
  5010. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_redpacket, index_),
  5011. };
  5012. packetc2w_summer_plan_recv_redpacket_reflection_ =
  5013. new ::google::protobuf::internal::GeneratedMessageReflection(
  5014. packetc2w_summer_plan_recv_redpacket_descriptor_,
  5015. packetc2w_summer_plan_recv_redpacket::default_instance_,
  5016. packetc2w_summer_plan_recv_redpacket_offsets_,
  5017. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_redpacket, _has_bits_[0]),
  5018. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_redpacket, _unknown_fields_),
  5019. -1,
  5020. ::google::protobuf::DescriptorPool::generated_pool(),
  5021. ::google::protobuf::MessageFactory::generated_factory(),
  5022. sizeof(packetc2w_summer_plan_recv_redpacket));
  5023. packetw2c_summer_plan_recv_redpacket_result_descriptor_ = file->message_type(241);
  5024. static const int packetw2c_summer_plan_recv_redpacket_result_offsets_[4] = {
  5025. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, packet_id_),
  5026. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, result_),
  5027. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, index_),
  5028. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, items_),
  5029. };
  5030. packetw2c_summer_plan_recv_redpacket_result_reflection_ =
  5031. new ::google::protobuf::internal::GeneratedMessageReflection(
  5032. packetw2c_summer_plan_recv_redpacket_result_descriptor_,
  5033. packetw2c_summer_plan_recv_redpacket_result::default_instance_,
  5034. packetw2c_summer_plan_recv_redpacket_result_offsets_,
  5035. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, _has_bits_[0]),
  5036. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_redpacket_result, _unknown_fields_),
  5037. -1,
  5038. ::google::protobuf::DescriptorPool::generated_pool(),
  5039. ::google::protobuf::MessageFactory::generated_factory(),
  5040. sizeof(packetw2c_summer_plan_recv_redpacket_result));
  5041. packetc2w_summer_plan_recv_recharged_descriptor_ = file->message_type(242);
  5042. static const int packetc2w_summer_plan_recv_recharged_offsets_[2] = {
  5043. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_recharged, packet_id_),
  5044. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_recharged, index_),
  5045. };
  5046. packetc2w_summer_plan_recv_recharged_reflection_ =
  5047. new ::google::protobuf::internal::GeneratedMessageReflection(
  5048. packetc2w_summer_plan_recv_recharged_descriptor_,
  5049. packetc2w_summer_plan_recv_recharged::default_instance_,
  5050. packetc2w_summer_plan_recv_recharged_offsets_,
  5051. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_recharged, _has_bits_[0]),
  5052. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_recv_recharged, _unknown_fields_),
  5053. -1,
  5054. ::google::protobuf::DescriptorPool::generated_pool(),
  5055. ::google::protobuf::MessageFactory::generated_factory(),
  5056. sizeof(packetc2w_summer_plan_recv_recharged));
  5057. packetw2c_summer_plan_recv_recharged_result_descriptor_ = file->message_type(243);
  5058. static const int packetw2c_summer_plan_recv_recharged_result_offsets_[3] = {
  5059. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, packet_id_),
  5060. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, result_),
  5061. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, index_),
  5062. };
  5063. packetw2c_summer_plan_recv_recharged_result_reflection_ =
  5064. new ::google::protobuf::internal::GeneratedMessageReflection(
  5065. packetw2c_summer_plan_recv_recharged_result_descriptor_,
  5066. packetw2c_summer_plan_recv_recharged_result::default_instance_,
  5067. packetw2c_summer_plan_recv_recharged_result_offsets_,
  5068. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, _has_bits_[0]),
  5069. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_recv_recharged_result, _unknown_fields_),
  5070. -1,
  5071. ::google::protobuf::DescriptorPool::generated_pool(),
  5072. ::google::protobuf::MessageFactory::generated_factory(),
  5073. sizeof(packetw2c_summer_plan_recv_recharged_result));
  5074. packetc2w_summer_plan_buy_sendgold_gift_descriptor_ = file->message_type(244);
  5075. static const int packetc2w_summer_plan_buy_sendgold_gift_offsets_[2] = {
  5076. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_buy_sendgold_gift, packet_id_),
  5077. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_buy_sendgold_gift, giftid_),
  5078. };
  5079. packetc2w_summer_plan_buy_sendgold_gift_reflection_ =
  5080. new ::google::protobuf::internal::GeneratedMessageReflection(
  5081. packetc2w_summer_plan_buy_sendgold_gift_descriptor_,
  5082. packetc2w_summer_plan_buy_sendgold_gift::default_instance_,
  5083. packetc2w_summer_plan_buy_sendgold_gift_offsets_,
  5084. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_buy_sendgold_gift, _has_bits_[0]),
  5085. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_buy_sendgold_gift, _unknown_fields_),
  5086. -1,
  5087. ::google::protobuf::DescriptorPool::generated_pool(),
  5088. ::google::protobuf::MessageFactory::generated_factory(),
  5089. sizeof(packetc2w_summer_plan_buy_sendgold_gift));
  5090. packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_ = file->message_type(245);
  5091. static const int packetw2c_summer_plan_buy_sendgold_gift_result_offsets_[4] = {
  5092. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, packet_id_),
  5093. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, result_),
  5094. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, giftid_),
  5095. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, items_),
  5096. };
  5097. packetw2c_summer_plan_buy_sendgold_gift_result_reflection_ =
  5098. new ::google::protobuf::internal::GeneratedMessageReflection(
  5099. packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_,
  5100. packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_,
  5101. packetw2c_summer_plan_buy_sendgold_gift_result_offsets_,
  5102. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, _has_bits_[0]),
  5103. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_buy_sendgold_gift_result, _unknown_fields_),
  5104. -1,
  5105. ::google::protobuf::DescriptorPool::generated_pool(),
  5106. ::google::protobuf::MessageFactory::generated_factory(),
  5107. sizeof(packetw2c_summer_plan_buy_sendgold_gift_result));
  5108. packetc2w_summer_plan_launch_descriptor_ = file->message_type(246);
  5109. static const int packetc2w_summer_plan_launch_offsets_[1] = {
  5110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_launch, packet_id_),
  5111. };
  5112. packetc2w_summer_plan_launch_reflection_ =
  5113. new ::google::protobuf::internal::GeneratedMessageReflection(
  5114. packetc2w_summer_plan_launch_descriptor_,
  5115. packetc2w_summer_plan_launch::default_instance_,
  5116. packetc2w_summer_plan_launch_offsets_,
  5117. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_launch, _has_bits_[0]),
  5118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_launch, _unknown_fields_),
  5119. -1,
  5120. ::google::protobuf::DescriptorPool::generated_pool(),
  5121. ::google::protobuf::MessageFactory::generated_factory(),
  5122. sizeof(packetc2w_summer_plan_launch));
  5123. packetw2c_summer_plan_launch_result_descriptor_ = file->message_type(247);
  5124. static const int packetw2c_summer_plan_launch_result_offsets_[5] = {
  5125. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, packet_id_),
  5126. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, result_),
  5127. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, height_),
  5128. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, freerocketcount_),
  5129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, freerocketcold_),
  5130. };
  5131. packetw2c_summer_plan_launch_result_reflection_ =
  5132. new ::google::protobuf::internal::GeneratedMessageReflection(
  5133. packetw2c_summer_plan_launch_result_descriptor_,
  5134. packetw2c_summer_plan_launch_result::default_instance_,
  5135. packetw2c_summer_plan_launch_result_offsets_,
  5136. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, _has_bits_[0]),
  5137. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_launch_result, _unknown_fields_),
  5138. -1,
  5139. ::google::protobuf::DescriptorPool::generated_pool(),
  5140. ::google::protobuf::MessageFactory::generated_factory(),
  5141. sizeof(packetw2c_summer_plan_launch_result));
  5142. packetc2w_summer_plan_touch_gold_descriptor_ = file->message_type(248);
  5143. static const int packetc2w_summer_plan_touch_gold_offsets_[2] = {
  5144. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_touch_gold, packet_id_),
  5145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_touch_gold, index_),
  5146. };
  5147. packetc2w_summer_plan_touch_gold_reflection_ =
  5148. new ::google::protobuf::internal::GeneratedMessageReflection(
  5149. packetc2w_summer_plan_touch_gold_descriptor_,
  5150. packetc2w_summer_plan_touch_gold::default_instance_,
  5151. packetc2w_summer_plan_touch_gold_offsets_,
  5152. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_touch_gold, _has_bits_[0]),
  5153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_summer_plan_touch_gold, _unknown_fields_),
  5154. -1,
  5155. ::google::protobuf::DescriptorPool::generated_pool(),
  5156. ::google::protobuf::MessageFactory::generated_factory(),
  5157. sizeof(packetc2w_summer_plan_touch_gold));
  5158. packetw2c_summer_plan_touch_gold_result_descriptor_ = file->message_type(249);
  5159. static const int packetw2c_summer_plan_touch_gold_result_offsets_[6] = {
  5160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, packet_id_),
  5161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, result_),
  5162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, index_),
  5163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, free_),
  5164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, draweyeenergy_),
  5165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, touchgoldenergy_),
  5166. };
  5167. packetw2c_summer_plan_touch_gold_result_reflection_ =
  5168. new ::google::protobuf::internal::GeneratedMessageReflection(
  5169. packetw2c_summer_plan_touch_gold_result_descriptor_,
  5170. packetw2c_summer_plan_touch_gold_result::default_instance_,
  5171. packetw2c_summer_plan_touch_gold_result_offsets_,
  5172. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, _has_bits_[0]),
  5173. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_summer_plan_touch_gold_result, _unknown_fields_),
  5174. -1,
  5175. ::google::protobuf::DescriptorPool::generated_pool(),
  5176. ::google::protobuf::MessageFactory::generated_factory(),
  5177. sizeof(packetw2c_summer_plan_touch_gold_result));
  5178. packetw2c_syn_happy_summer_info_descriptor_ = file->message_type(250);
  5179. static const int packetw2c_syn_happy_summer_info_offsets_[9] = {
  5180. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, packet_id_),
  5181. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, activitystate_),
  5182. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, starttime_),
  5183. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, endtime_),
  5184. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, points_),
  5185. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, blindboxkey_),
  5186. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, lotterkey_),
  5187. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, blindboxlist_),
  5188. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, questlist_),
  5189. };
  5190. packetw2c_syn_happy_summer_info_reflection_ =
  5191. new ::google::protobuf::internal::GeneratedMessageReflection(
  5192. packetw2c_syn_happy_summer_info_descriptor_,
  5193. packetw2c_syn_happy_summer_info::default_instance_,
  5194. packetw2c_syn_happy_summer_info_offsets_,
  5195. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, _has_bits_[0]),
  5196. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_happy_summer_info, _unknown_fields_),
  5197. -1,
  5198. ::google::protobuf::DescriptorPool::generated_pool(),
  5199. ::google::protobuf::MessageFactory::generated_factory(),
  5200. sizeof(packetw2c_syn_happy_summer_info));
  5201. packetc2w_get_happy_summer_rank_descriptor_ = file->message_type(251);
  5202. static const int packetc2w_get_happy_summer_rank_offsets_[1] = {
  5203. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_rank, packet_id_),
  5204. };
  5205. packetc2w_get_happy_summer_rank_reflection_ =
  5206. new ::google::protobuf::internal::GeneratedMessageReflection(
  5207. packetc2w_get_happy_summer_rank_descriptor_,
  5208. packetc2w_get_happy_summer_rank::default_instance_,
  5209. packetc2w_get_happy_summer_rank_offsets_,
  5210. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_rank, _has_bits_[0]),
  5211. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_rank, _unknown_fields_),
  5212. -1,
  5213. ::google::protobuf::DescriptorPool::generated_pool(),
  5214. ::google::protobuf::MessageFactory::generated_factory(),
  5215. sizeof(packetc2w_get_happy_summer_rank));
  5216. packetw2c_get_happy_summer_rank_result_descriptor_ = file->message_type(252);
  5217. static const int packetw2c_get_happy_summer_rank_result_offsets_[5] = {
  5218. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, packet_id_),
  5219. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, ranklist_),
  5220. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, mycount_),
  5221. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, myrank_),
  5222. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, thresholdvalue_),
  5223. };
  5224. packetw2c_get_happy_summer_rank_result_reflection_ =
  5225. new ::google::protobuf::internal::GeneratedMessageReflection(
  5226. packetw2c_get_happy_summer_rank_result_descriptor_,
  5227. packetw2c_get_happy_summer_rank_result::default_instance_,
  5228. packetw2c_get_happy_summer_rank_result_offsets_,
  5229. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, _has_bits_[0]),
  5230. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_rank_result, _unknown_fields_),
  5231. -1,
  5232. ::google::protobuf::DescriptorPool::generated_pool(),
  5233. ::google::protobuf::MessageFactory::generated_factory(),
  5234. sizeof(packetw2c_get_happy_summer_rank_result));
  5235. packetc2w_happy_summer_open_box_descriptor_ = file->message_type(253);
  5236. static const int packetc2w_happy_summer_open_box_offsets_[2] = {
  5237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_open_box, packet_id_),
  5238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_open_box, index_),
  5239. };
  5240. packetc2w_happy_summer_open_box_reflection_ =
  5241. new ::google::protobuf::internal::GeneratedMessageReflection(
  5242. packetc2w_happy_summer_open_box_descriptor_,
  5243. packetc2w_happy_summer_open_box::default_instance_,
  5244. packetc2w_happy_summer_open_box_offsets_,
  5245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_open_box, _has_bits_[0]),
  5246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_open_box, _unknown_fields_),
  5247. -1,
  5248. ::google::protobuf::DescriptorPool::generated_pool(),
  5249. ::google::protobuf::MessageFactory::generated_factory(),
  5250. sizeof(packetc2w_happy_summer_open_box));
  5251. packetw2c_happy_summer_open_box_result_descriptor_ = file->message_type(254);
  5252. static const int packetw2c_happy_summer_open_box_result_offsets_[5] = {
  5253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, packet_id_),
  5254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, result_),
  5255. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, index_),
  5256. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, items_),
  5257. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, curblindboxkey_),
  5258. };
  5259. packetw2c_happy_summer_open_box_result_reflection_ =
  5260. new ::google::protobuf::internal::GeneratedMessageReflection(
  5261. packetw2c_happy_summer_open_box_result_descriptor_,
  5262. packetw2c_happy_summer_open_box_result::default_instance_,
  5263. packetw2c_happy_summer_open_box_result_offsets_,
  5264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, _has_bits_[0]),
  5265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_open_box_result, _unknown_fields_),
  5266. -1,
  5267. ::google::protobuf::DescriptorPool::generated_pool(),
  5268. ::google::protobuf::MessageFactory::generated_factory(),
  5269. sizeof(packetw2c_happy_summer_open_box_result));
  5270. packetc2w_happy_summer_lottery_descriptor_ = file->message_type(255);
  5271. static const int packetc2w_happy_summer_lottery_offsets_[2] = {
  5272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_lottery, packet_id_),
  5273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_lottery, all_),
  5274. };
  5275. packetc2w_happy_summer_lottery_reflection_ =
  5276. new ::google::protobuf::internal::GeneratedMessageReflection(
  5277. packetc2w_happy_summer_lottery_descriptor_,
  5278. packetc2w_happy_summer_lottery::default_instance_,
  5279. packetc2w_happy_summer_lottery_offsets_,
  5280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_lottery, _has_bits_[0]),
  5281. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_happy_summer_lottery, _unknown_fields_),
  5282. -1,
  5283. ::google::protobuf::DescriptorPool::generated_pool(),
  5284. ::google::protobuf::MessageFactory::generated_factory(),
  5285. sizeof(packetc2w_happy_summer_lottery));
  5286. packetw2c_happy_summer_lottery_result_descriptor_ = file->message_type(256);
  5287. static const int packetw2c_happy_summer_lottery_result_offsets_[4] = {
  5288. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, packet_id_),
  5289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, all_),
  5290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, result_),
  5291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, rewardindex_),
  5292. };
  5293. packetw2c_happy_summer_lottery_result_reflection_ =
  5294. new ::google::protobuf::internal::GeneratedMessageReflection(
  5295. packetw2c_happy_summer_lottery_result_descriptor_,
  5296. packetw2c_happy_summer_lottery_result::default_instance_,
  5297. packetw2c_happy_summer_lottery_result_offsets_,
  5298. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, _has_bits_[0]),
  5299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_happy_summer_lottery_result, _unknown_fields_),
  5300. -1,
  5301. ::google::protobuf::DescriptorPool::generated_pool(),
  5302. ::google::protobuf::MessageFactory::generated_factory(),
  5303. sizeof(packetw2c_happy_summer_lottery_result));
  5304. packetc2w_recv_happy_summer_quest_award_descriptor_ = file->message_type(257);
  5305. static const int packetc2w_recv_happy_summer_quest_award_offsets_[2] = {
  5306. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_happy_summer_quest_award, packet_id_),
  5307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_happy_summer_quest_award, questid_),
  5308. };
  5309. packetc2w_recv_happy_summer_quest_award_reflection_ =
  5310. new ::google::protobuf::internal::GeneratedMessageReflection(
  5311. packetc2w_recv_happy_summer_quest_award_descriptor_,
  5312. packetc2w_recv_happy_summer_quest_award::default_instance_,
  5313. packetc2w_recv_happy_summer_quest_award_offsets_,
  5314. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_happy_summer_quest_award, _has_bits_[0]),
  5315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_happy_summer_quest_award, _unknown_fields_),
  5316. -1,
  5317. ::google::protobuf::DescriptorPool::generated_pool(),
  5318. ::google::protobuf::MessageFactory::generated_factory(),
  5319. sizeof(packetc2w_recv_happy_summer_quest_award));
  5320. packetw2c_recv_happy_summer_quest_award_result_descriptor_ = file->message_type(258);
  5321. static const int packetw2c_recv_happy_summer_quest_award_result_offsets_[3] = {
  5322. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, packet_id_),
  5323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, result_),
  5324. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, questid_),
  5325. };
  5326. packetw2c_recv_happy_summer_quest_award_result_reflection_ =
  5327. new ::google::protobuf::internal::GeneratedMessageReflection(
  5328. packetw2c_recv_happy_summer_quest_award_result_descriptor_,
  5329. packetw2c_recv_happy_summer_quest_award_result::default_instance_,
  5330. packetw2c_recv_happy_summer_quest_award_result_offsets_,
  5331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, _has_bits_[0]),
  5332. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_happy_summer_quest_award_result, _unknown_fields_),
  5333. -1,
  5334. ::google::protobuf::DescriptorPool::generated_pool(),
  5335. ::google::protobuf::MessageFactory::generated_factory(),
  5336. sizeof(packetw2c_recv_happy_summer_quest_award_result));
  5337. packetc2w_get_happy_summer_quest_descriptor_ = file->message_type(259);
  5338. static const int packetc2w_get_happy_summer_quest_offsets_[1] = {
  5339. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_quest, packet_id_),
  5340. };
  5341. packetc2w_get_happy_summer_quest_reflection_ =
  5342. new ::google::protobuf::internal::GeneratedMessageReflection(
  5343. packetc2w_get_happy_summer_quest_descriptor_,
  5344. packetc2w_get_happy_summer_quest::default_instance_,
  5345. packetc2w_get_happy_summer_quest_offsets_,
  5346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_quest, _has_bits_[0]),
  5347. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_happy_summer_quest, _unknown_fields_),
  5348. -1,
  5349. ::google::protobuf::DescriptorPool::generated_pool(),
  5350. ::google::protobuf::MessageFactory::generated_factory(),
  5351. sizeof(packetc2w_get_happy_summer_quest));
  5352. packetw2c_get_happy_summer_quest_result_descriptor_ = file->message_type(260);
  5353. static const int packetw2c_get_happy_summer_quest_result_offsets_[2] = {
  5354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_quest_result, packet_id_),
  5355. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_quest_result, questlist_),
  5356. };
  5357. packetw2c_get_happy_summer_quest_result_reflection_ =
  5358. new ::google::protobuf::internal::GeneratedMessageReflection(
  5359. packetw2c_get_happy_summer_quest_result_descriptor_,
  5360. packetw2c_get_happy_summer_quest_result::default_instance_,
  5361. packetw2c_get_happy_summer_quest_result_offsets_,
  5362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_quest_result, _has_bits_[0]),
  5363. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_happy_summer_quest_result, _unknown_fields_),
  5364. -1,
  5365. ::google::protobuf::DescriptorPool::generated_pool(),
  5366. ::google::protobuf::MessageFactory::generated_factory(),
  5367. sizeof(packetw2c_get_happy_summer_quest_result));
  5368. }
  5369. namespace {
  5370. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  5371. inline void protobuf_AssignDescriptorsOnce() {
  5372. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  5373. &protobuf_AssignDesc_client2world_5factivity2_2eproto);
  5374. }
  5375. void protobuf_RegisterTypes(const ::std::string&) {
  5376. protobuf_AssignDescriptorsOnce();
  5377. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5378. packetw2c_activity_quest_notify_descriptor_, &packetw2c_activity_quest_notify::default_instance());
  5379. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5380. packetw2c_syn_new_year_info_descriptor_, &packetw2c_syn_new_year_info::default_instance());
  5381. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5382. packetc2w_recv_new_year_login_reward_descriptor_, &packetc2w_recv_new_year_login_reward::default_instance());
  5383. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5384. packetw2c_recv_new_year_login_reward_result_descriptor_, &packetw2c_recv_new_year_login_reward_result::default_instance());
  5385. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5386. packetw2c_syn_national_day_info_descriptor_, &packetw2c_syn_national_day_info::default_instance());
  5387. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5388. packetw2c_national_day_quest_notify_descriptor_, &packetw2c_national_day_quest_notify::default_instance());
  5389. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5390. packetc2w_recv_national_day_login_reward_descriptor_, &packetc2w_recv_national_day_login_reward::default_instance());
  5391. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5392. packetw2c_recv_national_day_login_reward_result_descriptor_, &packetw2c_recv_national_day_login_reward_result::default_instance());
  5393. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5394. packetc2w_recv_national_day_quest_award_descriptor_, &packetc2w_recv_national_day_quest_award::default_instance());
  5395. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5396. packetw2c_recv_national_day_quest_award_result_descriptor_, &packetw2c_recv_national_day_quest_award_result::default_instance());
  5397. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5398. packetc2w_national_day_choose_task_descriptor_, &packetc2w_national_day_choose_task::default_instance());
  5399. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5400. packetw2c_national_day_choose_task_result_descriptor_, &packetw2c_national_day_choose_task_result::default_instance());
  5401. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5402. packetw2c_syn_spring_day_info_descriptor_, &packetw2c_syn_spring_day_info::default_instance());
  5403. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5404. packetc2w_recv_spring_day_login_reward_descriptor_, &packetc2w_recv_spring_day_login_reward::default_instance());
  5405. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5406. packetw2c_recv_spring_day_login_reward_result_descriptor_, &packetw2c_recv_spring_day_login_reward_result::default_instance());
  5407. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5408. packetw2c_syn_hunt_fish_info_descriptor_, &packetw2c_syn_hunt_fish_info::default_instance());
  5409. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5410. packetc2w_get_hunt_fish_quest_descriptor_, &packetc2w_get_hunt_fish_quest::default_instance());
  5411. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5412. packetw2c_get_hunt_fish_quest_result_descriptor_, &packetw2c_get_hunt_fish_quest_result::default_instance());
  5413. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5414. packetc2w_recv_hunt_fish_quest_award_descriptor_, &packetc2w_recv_hunt_fish_quest_award::default_instance());
  5415. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5416. packetw2c_recv_hunt_fish_quest_award_result_descriptor_, &packetw2c_recv_hunt_fish_quest_award_result::default_instance());
  5417. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5418. packetw2c_syn_recharge_activity_info_descriptor_, &packetw2c_syn_recharge_activity_info::default_instance());
  5419. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5420. packetc2w_recharge_activity_rebate_descriptor_, &packetc2w_recharge_activity_rebate::default_instance());
  5421. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5422. packetw2c_recharge_activity_rebate_result_descriptor_, &packetw2c_recharge_activity_rebate_result::default_instance());
  5423. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5424. packetw2c_syn_wuyi_vacation_info_descriptor_, &packetw2c_syn_wuyi_vacation_info::default_instance());
  5425. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5426. packetc2w_recv_wuyi_login_reward_descriptor_, &packetc2w_recv_wuyi_login_reward::default_instance());
  5427. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5428. packetw2c_recv_wuyi_login_reward_result_descriptor_, &packetw2c_recv_wuyi_login_reward_result::default_instance());
  5429. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5430. packetc2w_recv_wuyi_quest_award_descriptor_, &packetc2w_recv_wuyi_quest_award::default_instance());
  5431. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5432. packetw2c_recv_wuyi_quest_award_result_descriptor_, &packetw2c_recv_wuyi_quest_award_result::default_instance());
  5433. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5434. packetc2w_recv_wuyi_handbooks_gold_descriptor_, &packetc2w_recv_wuyi_handbooks_gold::default_instance());
  5435. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5436. packetw2c_recv_wuyi_handbooks_gold_result_descriptor_, &packetw2c_recv_wuyi_handbooks_gold_result::default_instance());
  5437. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5438. packetc2w_recv_wuyi_handbooks_award_descriptor_, &packetc2w_recv_wuyi_handbooks_award::default_instance());
  5439. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5440. packetw2c_recv_wuyi_handbooks_award_result_descriptor_, &packetw2c_recv_wuyi_handbooks_award_result::default_instance());
  5441. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5442. packetc2w_wuyi_lottery_descriptor_, &packetc2w_wuyi_lottery::default_instance());
  5443. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5444. packetw2c_wuyi_lottery_result_descriptor_, &packetw2c_wuyi_lottery_result::default_instance());
  5445. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5446. pointRewardInfos_descriptor_, &pointRewardInfos::default_instance());
  5447. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5448. pointInfos_descriptor_, &pointInfos::default_instance());
  5449. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5450. packetw2c_syn_room_quest_info_descriptor_, &packetw2c_syn_room_quest_info::default_instance());
  5451. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5452. packetc2w_get_room_quest_descriptor_, &packetc2w_get_room_quest::default_instance());
  5453. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5454. packetw2c_get_room_quest_result_descriptor_, &packetw2c_get_room_quest_result::default_instance());
  5455. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5456. packetc2w_recv_room_quest_award_descriptor_, &packetc2w_recv_room_quest_award::default_instance());
  5457. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5458. packetw2c_recv_room_quest_award_result_descriptor_, &packetw2c_recv_room_quest_award_result::default_instance());
  5459. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5460. packetc2w_recv_room_quest_point_award_descriptor_, &packetc2w_recv_room_quest_point_award::default_instance());
  5461. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5462. packetw2c_recv_room_quest_point_award_result_descriptor_, &packetw2c_recv_room_quest_point_award_result::default_instance());
  5463. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5464. packetw2c_syn_catch_fish_info_descriptor_, &packetw2c_syn_catch_fish_info::default_instance());
  5465. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5466. catchFishHistory_descriptor_, &catchFishHistory::default_instance());
  5467. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5468. catchFishInfo_descriptor_, &catchFishInfo::default_instance());
  5469. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5470. packetc2w_catch_fish_descriptor_, &packetc2w_catch_fish::default_instance());
  5471. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5472. packetw2c_catch_fish_result_descriptor_, &packetw2c_catch_fish_result::default_instance());
  5473. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5474. packetc2w_catch_fish_history_descriptor_, &packetc2w_catch_fish_history::default_instance());
  5475. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5476. packetw2c_catch_fish_history_result_descriptor_, &packetw2c_catch_fish_history_result::default_instance());
  5477. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5478. packetw2c_syn_duanwu_vacation_info_descriptor_, &packetw2c_syn_duanwu_vacation_info::default_instance());
  5479. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5480. packetc2w_get_duanwu_vacation_quest_descriptor_, &packetc2w_get_duanwu_vacation_quest::default_instance());
  5481. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5482. packetw2c_get_duanwu_vacation_quest_result_descriptor_, &packetw2c_get_duanwu_vacation_quest_result::default_instance());
  5483. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5484. packetc2w_recv_duanwu_login_reward_descriptor_, &packetc2w_recv_duanwu_login_reward::default_instance());
  5485. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5486. packetw2c_recv_duanwu_login_reward_result_descriptor_, &packetw2c_recv_duanwu_login_reward_result::default_instance());
  5487. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5488. packetc2w_recv_duanwu_quest_award_descriptor_, &packetc2w_recv_duanwu_quest_award::default_instance());
  5489. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5490. packetw2c_recv_duanwu_quest_award_result_descriptor_, &packetw2c_recv_duanwu_quest_award_result::default_instance());
  5491. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5492. packetc2w_recv_duanwu_handbooks_gold_descriptor_, &packetc2w_recv_duanwu_handbooks_gold::default_instance());
  5493. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5494. packetw2c_recv_duanwu_handbooks_gold_result_descriptor_, &packetw2c_recv_duanwu_handbooks_gold_result::default_instance());
  5495. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5496. packetc2w_recv_duanwu_handbooks_award_descriptor_, &packetc2w_recv_duanwu_handbooks_award::default_instance());
  5497. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5498. packetw2c_recv_duanwu_handbooks_award_result_descriptor_, &packetw2c_recv_duanwu_handbooks_award_result::default_instance());
  5499. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5500. packetc2w_duanwu_lottery_descriptor_, &packetc2w_duanwu_lottery::default_instance());
  5501. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5502. packetw2c_duanwu_lottery_result_descriptor_, &packetw2c_duanwu_lottery_result::default_instance());
  5503. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5504. packetw2c_syn_summer_vacation_info_descriptor_, &packetw2c_syn_summer_vacation_info::default_instance());
  5505. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5506. packetc2w_get_summer_quest_descriptor_, &packetc2w_get_summer_quest::default_instance());
  5507. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5508. packetw2c_get_summer_quest_result_descriptor_, &packetw2c_get_summer_quest_result::default_instance());
  5509. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5510. packetc2w_recv_summer_login_reward_descriptor_, &packetc2w_recv_summer_login_reward::default_instance());
  5511. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5512. packetw2c_recv_summer_login_reward_result_descriptor_, &packetw2c_recv_summer_login_reward_result::default_instance());
  5513. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5514. packetc2w_recv_summer_quest_award_descriptor_, &packetc2w_recv_summer_quest_award::default_instance());
  5515. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5516. packetw2c_recv_summer_quest_award_result_descriptor_, &packetw2c_recv_summer_quest_award_result::default_instance());
  5517. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5518. packetc2w_recv_summer_handbooks_gold_descriptor_, &packetc2w_recv_summer_handbooks_gold::default_instance());
  5519. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5520. packetw2c_recv_summer_handbooks_gold_result_descriptor_, &packetw2c_recv_summer_handbooks_gold_result::default_instance());
  5521. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5522. packetc2w_recv_summer_handbooks_award_descriptor_, &packetc2w_recv_summer_handbooks_award::default_instance());
  5523. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5524. packetw2c_recv_summer_handbooks_award_result_descriptor_, &packetw2c_recv_summer_handbooks_award_result::default_instance());
  5525. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5526. packetc2w_summer_lottery_descriptor_, &packetc2w_summer_lottery::default_instance());
  5527. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5528. packetw2c_summer_lottery_result_descriptor_, &packetw2c_summer_lottery_result::default_instance());
  5529. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5530. onr_history_info_descriptor_, &onr_history_info::default_instance());
  5531. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5532. packetw2c_syn_one_night_rich_info_descriptor_, &packetw2c_syn_one_night_rich_info::default_instance());
  5533. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5534. packetc2w_recv_one_night_rich_award_descriptor_, &packetc2w_recv_one_night_rich_award::default_instance());
  5535. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5536. packetw2c_recv_one_night_rich_result_descriptor_, &packetw2c_recv_one_night_rich_result::default_instance());
  5537. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5538. packetc2w_recv_onr_historyList_descriptor_, &packetc2w_recv_onr_historyList::default_instance());
  5539. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5540. packetw2c_recv_onr_historyList_result_descriptor_, &packetw2c_recv_onr_historyList_result::default_instance());
  5541. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5542. packetw2c_syn_fortune_star_info_descriptor_, &packetw2c_syn_fortune_star_info::default_instance());
  5543. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5544. packetc2w_get_fortune_star_quest_descriptor_, &packetc2w_get_fortune_star_quest::default_instance());
  5545. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5546. packetw2c_get_fortune_star_quest_result_descriptor_, &packetw2c_get_fortune_star_quest_result::default_instance());
  5547. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5548. packetc2w_recv_fortune_star_quest_award_descriptor_, &packetc2w_recv_fortune_star_quest_award::default_instance());
  5549. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5550. packetw2c_recv_fortune_star_quest_award_result_descriptor_, &packetw2c_recv_fortune_star_quest_award_result::default_instance());
  5551. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5552. packetc2w_recv_fortune_star_award_descriptor_, &packetc2w_recv_fortune_star_award::default_instance());
  5553. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5554. packetw2c_recv_fortune_star_award_result_descriptor_, &packetw2c_recv_fortune_star_award_result::default_instance());
  5555. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5556. activity_rank_descriptor_, &activity_rank::default_instance());
  5557. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5558. personal_tailor_lottery_history_descriptor_, &personal_tailor_lottery_history::default_instance());
  5559. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5560. packetw2c_syn_personal_tailor_info_descriptor_, &packetw2c_syn_personal_tailor_info::default_instance());
  5561. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5562. packetc2w_get_personal_tailor_rank_descriptor_, &packetc2w_get_personal_tailor_rank::default_instance());
  5563. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5564. packetw2c_get_personal_tailor_rank_result_descriptor_, &packetw2c_get_personal_tailor_rank_result::default_instance());
  5565. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5566. packetc2w_get_personal_tailor_lottry_history_descriptor_, &packetc2w_get_personal_tailor_lottry_history::default_instance());
  5567. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5568. packetw2c_get_personal_tailor_lottry_history_result_descriptor_, &packetw2c_get_personal_tailor_lottry_history_result::default_instance());
  5569. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5570. packetc2w_personal_tailor_lottery_descriptor_, &packetc2w_personal_tailor_lottery::default_instance());
  5571. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5572. packetw2c_personal_tailor_lottery_result_descriptor_, &packetw2c_personal_tailor_lottery_result::default_instance());
  5573. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5574. packetc2w_personal_tailor_exchange_descriptor_, &packetc2w_personal_tailor_exchange::default_instance());
  5575. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5576. packetw2c_personal_tailor_exchange_result_descriptor_, &packetw2c_personal_tailor_exchange_result::default_instance());
  5577. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5578. packetw2c_syn_time_limit_purchase_info_descriptor_, &packetw2c_syn_time_limit_purchase_info::default_instance());
  5579. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5580. packetc2w_time_limit_purchase_lottery_descriptor_, &packetc2w_time_limit_purchase_lottery::default_instance());
  5581. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5582. packetw2c_time_limit_purchase_lottery_result_descriptor_, &packetw2c_time_limit_purchase_lottery_result::default_instance());
  5583. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5584. packetw2c_syn_lucky_bag_info_descriptor_, &packetw2c_syn_lucky_bag_info::default_instance());
  5585. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5586. packetw2c_syn_vip_limit_purchase_info_descriptor_, &packetw2c_syn_vip_limit_purchase_info::default_instance());
  5587. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5588. packetw2c_syn_turret_lottery_info_descriptor_, &packetw2c_syn_turret_lottery_info::default_instance());
  5589. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5590. packetc2w_turret_lottery_descriptor_, &packetc2w_turret_lottery::default_instance());
  5591. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5592. packetw2c_turret_lottery_result_descriptor_, &packetw2c_turret_lottery_result::default_instance());
  5593. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5594. packetw2c_syn_smashing_eggs_info_descriptor_, &packetw2c_syn_smashing_eggs_info::default_instance());
  5595. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5596. packetc2w_get_smashing_eggs_info_descriptor_, &packetc2w_get_smashing_eggs_info::default_instance());
  5597. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5598. packetc2w_smashing_eggs_descriptor_, &packetc2w_smashing_eggs::default_instance());
  5599. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5600. packetw2c_smashing_eggs_result_descriptor_, &packetw2c_smashing_eggs_result::default_instance());
  5601. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5602. packetc2w_get_smashing_eggs_rank_descriptor_, &packetc2w_get_smashing_eggs_rank::default_instance());
  5603. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5604. packetw2c_get_smashing_eggs_rank_result_descriptor_, &packetw2c_get_smashing_eggs_rank_result::default_instance());
  5605. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5606. packetw2c_syn_rich_lottery_info_descriptor_, &packetw2c_syn_rich_lottery_info::default_instance());
  5607. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5608. packetc2w_rich_lottery_descriptor_, &packetc2w_rich_lottery::default_instance());
  5609. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5610. packetw2c_rich_lottery_result_descriptor_, &packetw2c_rich_lottery_result::default_instance());
  5611. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5612. packetw2c_syn_summer_revels_info_descriptor_, &packetw2c_syn_summer_revels_info::default_instance());
  5613. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5614. packetc2w_get_summer_revels_rank_descriptor_, &packetc2w_get_summer_revels_rank::default_instance());
  5615. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5616. packetw2c_get_summer_revels_rank_result_descriptor_, &packetw2c_get_summer_revels_rank_result::default_instance());
  5617. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5618. packetc2w_summer_revels_lottery_descriptor_, &packetc2w_summer_revels_lottery::default_instance());
  5619. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5620. packetw2c_summer_revels_lottery_result_descriptor_, &packetw2c_summer_revels_lottery_result::default_instance());
  5621. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5622. attackInfo_descriptor_, &attackInfo::default_instance());
  5623. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5624. demonTowerInfo_descriptor_, &demonTowerInfo::default_instance());
  5625. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5626. weaponInfo_descriptor_, &weaponInfo::default_instance());
  5627. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5628. packetw2c_syn_kill_demons_info_descriptor_, &packetw2c_syn_kill_demons_info::default_instance());
  5629. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5630. packetc2w_recv_kill_demons_quest_award_descriptor_, &packetc2w_recv_kill_demons_quest_award::default_instance());
  5631. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5632. packetw2c_recv_kill_demons_quest_award_result_descriptor_, &packetw2c_recv_kill_demons_quest_award_result::default_instance());
  5633. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5634. packetc2w_recv_trial_score_award_descriptor_, &packetc2w_recv_trial_score_award::default_instance());
  5635. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5636. packetw2c_recv_trial_score_award_result_descriptor_, &packetw2c_recv_trial_score_award_result::default_instance());
  5637. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5638. packetc2w_recv_star_award_descriptor_, &packetc2w_recv_star_award::default_instance());
  5639. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5640. packetw2c_recv_star_award_result_descriptor_, &packetw2c_recv_star_award_result::default_instance());
  5641. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5642. packetc2w_attack_demon_descriptor_, &packetc2w_attack_demon::default_instance());
  5643. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5644. packetw2c_attack_demon_result_descriptor_, &packetw2c_attack_demon_result::default_instance());
  5645. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5646. packetc2w_get_kill_demons_rank_descriptor_, &packetc2w_get_kill_demons_rank::default_instance());
  5647. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5648. packetw2c_get_kill_demons_rank_result_descriptor_, &packetw2c_get_kill_demons_rank_result::default_instance());
  5649. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5650. packetc2w_kill_demons_smelt_descriptor_, &packetc2w_kill_demons_smelt::default_instance());
  5651. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5652. packetw2c_kill_demons_smelt_result_descriptor_, &packetw2c_kill_demons_smelt_result::default_instance());
  5653. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5654. packetc2w_recv_sword_energy_award_descriptor_, &packetc2w_recv_sword_energy_award::default_instance());
  5655. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5656. packetw2c_recv_sword_energy_award_result_descriptor_, &packetw2c_recv_sword_energy_award_result::default_instance());
  5657. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5658. packetc2w_kill_demons_task_descriptor_, &packetc2w_kill_demons_task::default_instance());
  5659. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5660. packetw2c_kill_demons_task_result_descriptor_, &packetw2c_kill_demons_task_result::default_instance());
  5661. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5662. packetw2c_syn_2020_national_info_descriptor_, &packetw2c_syn_2020_national_info::default_instance());
  5663. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5664. packetc2w_get_2020_national_quest_descriptor_, &packetc2w_get_2020_national_quest::default_instance());
  5665. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5666. packetw2c_get_2020_national_quest_result_descriptor_, &packetw2c_get_2020_national_quest_result::default_instance());
  5667. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5668. packetc2w_recv_2020_national_login_reward_descriptor_, &packetc2w_recv_2020_national_login_reward::default_instance());
  5669. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5670. packetw2c_recv_2020_national_login_reward_result_descriptor_, &packetw2c_recv_2020_national_login_reward_result::default_instance());
  5671. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5672. packetc2w_recv_2020_national_quest_award_descriptor_, &packetc2w_recv_2020_national_quest_award::default_instance());
  5673. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5674. packetw2c_recv_2020_national_quest_award_result_descriptor_, &packetw2c_recv_2020_national_quest_award_result::default_instance());
  5675. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5676. packetc2w_recv_2020_national_handbooks_gold_descriptor_, &packetc2w_recv_2020_national_handbooks_gold::default_instance());
  5677. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5678. packetw2c_recv_2020_national_handbooks_gold_result_descriptor_, &packetw2c_recv_2020_national_handbooks_gold_result::default_instance());
  5679. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5680. packetc2w_recv_2020_national_handbooks_award_descriptor_, &packetc2w_recv_2020_national_handbooks_award::default_instance());
  5681. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5682. packetw2c_recv_2020_national_handbooks_award_result_descriptor_, &packetw2c_recv_2020_national_handbooks_award_result::default_instance());
  5683. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5684. packetc2w_2020_national_lottery_descriptor_, &packetc2w_2020_national_lottery::default_instance());
  5685. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5686. packetw2c_2020_national_lottery_result_descriptor_, &packetw2c_2020_national_lottery_result::default_instance());
  5687. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5688. packetw2c_syn_personal_tailor_new_info_descriptor_, &packetw2c_syn_personal_tailor_new_info::default_instance());
  5689. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5690. packetc2w_change_personal_tailor_items_descriptor_, &packetc2w_change_personal_tailor_items::default_instance());
  5691. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5692. packetw2c_change_personal_tailor_items_result_descriptor_, &packetw2c_change_personal_tailor_items_result::default_instance());
  5693. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5694. packetw2c_syn_super_value_gift_activity_info_descriptor_, &packetw2c_syn_super_value_gift_activity_info::default_instance());
  5695. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5696. packetw2c_syn_double_eleven_info_descriptor_, &packetw2c_syn_double_eleven_info::default_instance());
  5697. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5698. packetc2w_get_double_eleven_quest_descriptor_, &packetc2w_get_double_eleven_quest::default_instance());
  5699. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5700. packetw2c_get_double_eleven_quest_result_descriptor_, &packetw2c_get_double_eleven_quest_result::default_instance());
  5701. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5702. packetw2c_syn_double_eleven_gift_reflush_descriptor_, &packetw2c_syn_double_eleven_gift_reflush::default_instance());
  5703. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5704. packetc2w_get_double_eleven_rank_descriptor_, &packetc2w_get_double_eleven_rank::default_instance());
  5705. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5706. packetw2c_get_double_eleven_rank_result_descriptor_, &packetw2c_get_double_eleven_rank_result::default_instance());
  5707. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5708. packetc2w_double_eleven_lottery_descriptor_, &packetc2w_double_eleven_lottery::default_instance());
  5709. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5710. packetw2c_double_eleven_lottery_result_descriptor_, &packetw2c_double_eleven_lottery_result::default_instance());
  5711. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5712. packetc2w_receive_double_eleven_recharge_reward_descriptor_, &packetc2w_receive_double_eleven_recharge_reward::default_instance());
  5713. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5714. packetw2c_receive_double_eleven_recharge_reward_result_descriptor_, &packetw2c_receive_double_eleven_recharge_reward_result::default_instance());
  5715. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5716. packetc2w_syn_double_eleven_diamond_gift_count_descriptor_, &packetc2w_syn_double_eleven_diamond_gift_count::default_instance());
  5717. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5718. packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_, &packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance());
  5719. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5720. packetc2w_recv_double_eleven_quest_award_descriptor_, &packetc2w_recv_double_eleven_quest_award::default_instance());
  5721. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5722. packetw2c_recv_double_eleven_quest_award_result_descriptor_, &packetw2c_recv_double_eleven_quest_award_result::default_instance());
  5723. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5724. packetc2w_double_eleven_buy_lottery_ticket_descriptor_, &packetc2w_double_eleven_buy_lottery_ticket::default_instance());
  5725. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5726. packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_, &packetw2c_double_eleven_buy_lottery_ticket_result::default_instance());
  5727. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5728. packetw2c_syn_wing_experience_info_descriptor_, &packetw2c_syn_wing_experience_info::default_instance());
  5729. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5730. packetc2w_wing_experience_receive_wing_descriptor_, &packetc2w_wing_experience_receive_wing::default_instance());
  5731. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5732. packetw2c_wing_experience_receive_wing_result_descriptor_, &packetw2c_wing_experience_receive_wing_result::default_instance());
  5733. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5734. exchangeInfo_descriptor_, &exchangeInfo::default_instance());
  5735. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5736. packetw2c_syn_kingcraft_info_descriptor_, &packetw2c_syn_kingcraft_info::default_instance());
  5737. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5738. packetc2w_get_kingcraft_rank_descriptor_, &packetc2w_get_kingcraft_rank::default_instance());
  5739. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5740. packetw2c_get_kingcraft_rank_result_descriptor_, &packetw2c_get_kingcraft_rank_result::default_instance());
  5741. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5742. packetc2w_kingcraft_lottery_descriptor_, &packetc2w_kingcraft_lottery::default_instance());
  5743. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5744. packetw2c_kingcraft_lottery_result_descriptor_, &packetw2c_kingcraft_lottery_result::default_instance());
  5745. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5746. packetc2w_receive_kingcraft_recharge_reward_descriptor_, &packetc2w_receive_kingcraft_recharge_reward::default_instance());
  5747. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5748. packetw2c_receive_kingcraft_recharge_reward_result_descriptor_, &packetw2c_receive_kingcraft_recharge_reward_result::default_instance());
  5749. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5750. packetc2w_receive_kingcraft_exchange_descriptor_, &packetc2w_receive_kingcraft_exchange::default_instance());
  5751. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5752. packetw2c_receive_kingcraft_exchange_result_descriptor_, &packetw2c_receive_kingcraft_exchange_result::default_instance());
  5753. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5754. packetc2w_kingcraft_sign_descriptor_, &packetc2w_kingcraft_sign::default_instance());
  5755. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5756. packetw2c_kingcraft_sign_result_descriptor_, &packetw2c_kingcraft_sign_result::default_instance());
  5757. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5758. packetw2c_syn_double_egg_activity_info_descriptor_, &packetw2c_syn_double_egg_activity_info::default_instance());
  5759. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5760. touchingFishRecInfo_descriptor_, &touchingFishRecInfo::default_instance());
  5761. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5762. packetw2c_syn_touching_fish_activity_info_descriptor_, &packetw2c_syn_touching_fish_activity_info::default_instance());
  5763. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5764. packetw2c_syn_touching_fish_exp_descriptor_, &packetw2c_syn_touching_fish_exp::default_instance());
  5765. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5766. packetc2w_recv_touching_fish_level_reward_descriptor_, &packetc2w_recv_touching_fish_level_reward::default_instance());
  5767. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5768. packetw2c_recv_touching_fish_level_reward_result_descriptor_, &packetw2c_recv_touching_fish_level_reward_result::default_instance());
  5769. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5770. packetc2w_recv_touching_fish_task_descriptor_, &packetc2w_recv_touching_fish_task::default_instance());
  5771. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5772. packetw2c_recv_touching_fish_task_result_descriptor_, &packetw2c_recv_touching_fish_task_result::default_instance());
  5773. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5774. packetc2w_recv_touching_fish_quest_award_descriptor_, &packetc2w_recv_touching_fish_quest_award::default_instance());
  5775. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5776. packetw2c_recv_touching_fish_quest_award_result_descriptor_, &packetw2c_recv_touching_fish_quest_award_result::default_instance());
  5777. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5778. packetc2w_recv_touching_fish_week_box_descriptor_, &packetc2w_recv_touching_fish_week_box::default_instance());
  5779. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5780. packetw2c_recv_touching_fish_week_box_result_descriptor_, &packetw2c_recv_touching_fish_week_box_result::default_instance());
  5781. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5782. packetc2w_flush_touching_fish_quest_descriptor_, &packetc2w_flush_touching_fish_quest::default_instance());
  5783. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5784. packetw2c_flush_touching_fish_quest_result_descriptor_, &packetw2c_flush_touching_fish_quest_result::default_instance());
  5785. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5786. packetc2w_get_touching_fish_rank_descriptor_, &packetc2w_get_touching_fish_rank::default_instance());
  5787. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5788. packetw2c_get_touching_fish_rank_result_descriptor_, &packetw2c_get_touching_fish_rank_result::default_instance());
  5789. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5790. packetw2c_syn_fishing_celebration_info_descriptor_, &packetw2c_syn_fishing_celebration_info::default_instance());
  5791. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5792. packetc2w_fishing_celebration_lottery_descriptor_, &packetc2w_fishing_celebration_lottery::default_instance());
  5793. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5794. packetw2c_fishing_celebration_lottery_result_descriptor_, &packetw2c_fishing_celebration_lottery_result::default_instance());
  5795. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5796. packetc2w_fishing_celebration_activate_descriptor_, &packetc2w_fishing_celebration_activate::default_instance());
  5797. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5798. packetw2c_fishing_celebration_activate_result_descriptor_, &packetw2c_fishing_celebration_activate_result::default_instance());
  5799. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5800. packetc2w_fishing_celebration_exchange_descriptor_, &packetc2w_fishing_celebration_exchange::default_instance());
  5801. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5802. packetw2c_fishing_celebration_exchange_result_descriptor_, &packetw2c_fishing_celebration_exchange_result::default_instance());
  5803. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5804. packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_, &packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance());
  5805. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5806. packetc2w_fishing_celebration_gift_lottery_descriptor_, &packetc2w_fishing_celebration_gift_lottery::default_instance());
  5807. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5808. packetw2c_fishing_celebration_gift_lottery_result_descriptor_, &packetw2c_fishing_celebration_gift_lottery_result::default_instance());
  5809. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5810. packetc2w_fishing_celebration_gift_lottery_reward_descriptor_, &packetc2w_fishing_celebration_gift_lottery_reward::default_instance());
  5811. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5812. packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_, &packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance());
  5813. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5814. packetc2w_fishing_celebration_buy_gift_descriptor_, &packetc2w_fishing_celebration_buy_gift::default_instance());
  5815. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5816. packetw2c_fishing_celebration_buy_gift_result_descriptor_, &packetw2c_fishing_celebration_buy_gift_result::default_instance());
  5817. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5818. packetc2w_get_fishing_celebration_rank_descriptor_, &packetc2w_get_fishing_celebration_rank::default_instance());
  5819. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5820. packetw2c_get_fishing_celebration_rank_result_descriptor_, &packetw2c_get_fishing_celebration_rank_result::default_instance());
  5821. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5822. prizeKey_descriptor_, &prizeKey::default_instance());
  5823. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5824. packetw2c_syn_feed_back_info_descriptor_, &packetw2c_syn_feed_back_info::default_instance());
  5825. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5826. packetc2w_get_feed_back_vip_reward_descriptor_, &packetc2w_get_feed_back_vip_reward::default_instance());
  5827. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5828. packetw2c_get_feed_back_vip_reward_result_descriptor_, &packetw2c_get_feed_back_vip_reward_result::default_instance());
  5829. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5830. packetc2w_get_feed_back_keylist_descriptor_, &packetc2w_get_feed_back_keylist::default_instance());
  5831. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5832. packetw2c_get_feed_back_keylist_result_descriptor_, &packetw2c_get_feed_back_keylist_result::default_instance());
  5833. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5834. packetw2c_syn_chip_treasure_info_descriptor_, &packetw2c_syn_chip_treasure_info::default_instance());
  5835. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5836. packetc2w_chip_treasure_lottery_descriptor_, &packetc2w_chip_treasure_lottery::default_instance());
  5837. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5838. packetw2c_chip_treasure_lottery_result_descriptor_, &packetw2c_chip_treasure_lottery_result::default_instance());
  5839. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5840. sendGoldHistory_descriptor_, &sendGoldHistory::default_instance());
  5841. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5842. sendGoldInfo_descriptor_, &sendGoldInfo::default_instance());
  5843. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5844. packetw2c_syn_summer_plan_info_descriptor_, &packetw2c_syn_summer_plan_info::default_instance());
  5845. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5846. packetc2w_summer_plan_get_redpacket_task_descriptor_, &packetc2w_summer_plan_get_redpacket_task::default_instance());
  5847. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5848. packetw2c_summer_plan_get_redpacket_task_result_descriptor_, &packetw2c_summer_plan_get_redpacket_task_result::default_instance());
  5849. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5850. packetc2w_summer_plan_sendgold_info_descriptor_, &packetc2w_summer_plan_sendgold_info::default_instance());
  5851. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5852. packetw2c_summer_plan_sendgold_info_result_descriptor_, &packetw2c_summer_plan_sendgold_info_result::default_instance());
  5853. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5854. packetc2w_summer_plan_active_descriptor_, &packetc2w_summer_plan_active::default_instance());
  5855. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5856. packetw2c_summer_plan_active_result_descriptor_, &packetw2c_summer_plan_active_result::default_instance());
  5857. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5858. packetc2w_summer_plan_recv_redpacket_descriptor_, &packetc2w_summer_plan_recv_redpacket::default_instance());
  5859. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5860. packetw2c_summer_plan_recv_redpacket_result_descriptor_, &packetw2c_summer_plan_recv_redpacket_result::default_instance());
  5861. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5862. packetc2w_summer_plan_recv_recharged_descriptor_, &packetc2w_summer_plan_recv_recharged::default_instance());
  5863. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5864. packetw2c_summer_plan_recv_recharged_result_descriptor_, &packetw2c_summer_plan_recv_recharged_result::default_instance());
  5865. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5866. packetc2w_summer_plan_buy_sendgold_gift_descriptor_, &packetc2w_summer_plan_buy_sendgold_gift::default_instance());
  5867. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5868. packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_, &packetw2c_summer_plan_buy_sendgold_gift_result::default_instance());
  5869. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5870. packetc2w_summer_plan_launch_descriptor_, &packetc2w_summer_plan_launch::default_instance());
  5871. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5872. packetw2c_summer_plan_launch_result_descriptor_, &packetw2c_summer_plan_launch_result::default_instance());
  5873. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5874. packetc2w_summer_plan_touch_gold_descriptor_, &packetc2w_summer_plan_touch_gold::default_instance());
  5875. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5876. packetw2c_summer_plan_touch_gold_result_descriptor_, &packetw2c_summer_plan_touch_gold_result::default_instance());
  5877. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5878. packetw2c_syn_happy_summer_info_descriptor_, &packetw2c_syn_happy_summer_info::default_instance());
  5879. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5880. packetc2w_get_happy_summer_rank_descriptor_, &packetc2w_get_happy_summer_rank::default_instance());
  5881. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5882. packetw2c_get_happy_summer_rank_result_descriptor_, &packetw2c_get_happy_summer_rank_result::default_instance());
  5883. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5884. packetc2w_happy_summer_open_box_descriptor_, &packetc2w_happy_summer_open_box::default_instance());
  5885. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5886. packetw2c_happy_summer_open_box_result_descriptor_, &packetw2c_happy_summer_open_box_result::default_instance());
  5887. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5888. packetc2w_happy_summer_lottery_descriptor_, &packetc2w_happy_summer_lottery::default_instance());
  5889. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5890. packetw2c_happy_summer_lottery_result_descriptor_, &packetw2c_happy_summer_lottery_result::default_instance());
  5891. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5892. packetc2w_recv_happy_summer_quest_award_descriptor_, &packetc2w_recv_happy_summer_quest_award::default_instance());
  5893. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5894. packetw2c_recv_happy_summer_quest_award_result_descriptor_, &packetw2c_recv_happy_summer_quest_award_result::default_instance());
  5895. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5896. packetc2w_get_happy_summer_quest_descriptor_, &packetc2w_get_happy_summer_quest::default_instance());
  5897. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  5898. packetw2c_get_happy_summer_quest_result_descriptor_, &packetw2c_get_happy_summer_quest_result::default_instance());
  5899. }
  5900. } // namespace
  5901. void protobuf_ShutdownFile_client2world_5factivity2_2eproto() {
  5902. delete packetw2c_activity_quest_notify::default_instance_;
  5903. delete packetw2c_activity_quest_notify_reflection_;
  5904. delete packetw2c_syn_new_year_info::default_instance_;
  5905. delete packetw2c_syn_new_year_info_reflection_;
  5906. delete packetc2w_recv_new_year_login_reward::default_instance_;
  5907. delete packetc2w_recv_new_year_login_reward_reflection_;
  5908. delete packetw2c_recv_new_year_login_reward_result::default_instance_;
  5909. delete packetw2c_recv_new_year_login_reward_result_reflection_;
  5910. delete packetw2c_syn_national_day_info::default_instance_;
  5911. delete packetw2c_syn_national_day_info_reflection_;
  5912. delete packetw2c_national_day_quest_notify::default_instance_;
  5913. delete packetw2c_national_day_quest_notify_reflection_;
  5914. delete packetc2w_recv_national_day_login_reward::default_instance_;
  5915. delete packetc2w_recv_national_day_login_reward_reflection_;
  5916. delete packetw2c_recv_national_day_login_reward_result::default_instance_;
  5917. delete packetw2c_recv_national_day_login_reward_result_reflection_;
  5918. delete packetc2w_recv_national_day_quest_award::default_instance_;
  5919. delete packetc2w_recv_national_day_quest_award_reflection_;
  5920. delete packetw2c_recv_national_day_quest_award_result::default_instance_;
  5921. delete packetw2c_recv_national_day_quest_award_result_reflection_;
  5922. delete packetc2w_national_day_choose_task::default_instance_;
  5923. delete packetc2w_national_day_choose_task_reflection_;
  5924. delete packetw2c_national_day_choose_task_result::default_instance_;
  5925. delete packetw2c_national_day_choose_task_result_reflection_;
  5926. delete packetw2c_syn_spring_day_info::default_instance_;
  5927. delete packetw2c_syn_spring_day_info_reflection_;
  5928. delete packetc2w_recv_spring_day_login_reward::default_instance_;
  5929. delete packetc2w_recv_spring_day_login_reward_reflection_;
  5930. delete packetw2c_recv_spring_day_login_reward_result::default_instance_;
  5931. delete packetw2c_recv_spring_day_login_reward_result_reflection_;
  5932. delete packetw2c_syn_hunt_fish_info::default_instance_;
  5933. delete packetw2c_syn_hunt_fish_info_reflection_;
  5934. delete packetc2w_get_hunt_fish_quest::default_instance_;
  5935. delete packetc2w_get_hunt_fish_quest_reflection_;
  5936. delete packetw2c_get_hunt_fish_quest_result::default_instance_;
  5937. delete packetw2c_get_hunt_fish_quest_result_reflection_;
  5938. delete packetc2w_recv_hunt_fish_quest_award::default_instance_;
  5939. delete packetc2w_recv_hunt_fish_quest_award_reflection_;
  5940. delete packetw2c_recv_hunt_fish_quest_award_result::default_instance_;
  5941. delete packetw2c_recv_hunt_fish_quest_award_result_reflection_;
  5942. delete packetw2c_syn_recharge_activity_info::default_instance_;
  5943. delete packetw2c_syn_recharge_activity_info_reflection_;
  5944. delete packetc2w_recharge_activity_rebate::default_instance_;
  5945. delete packetc2w_recharge_activity_rebate_reflection_;
  5946. delete packetw2c_recharge_activity_rebate_result::default_instance_;
  5947. delete packetw2c_recharge_activity_rebate_result_reflection_;
  5948. delete packetw2c_syn_wuyi_vacation_info::default_instance_;
  5949. delete packetw2c_syn_wuyi_vacation_info_reflection_;
  5950. delete packetc2w_recv_wuyi_login_reward::default_instance_;
  5951. delete packetc2w_recv_wuyi_login_reward_reflection_;
  5952. delete packetw2c_recv_wuyi_login_reward_result::default_instance_;
  5953. delete packetw2c_recv_wuyi_login_reward_result_reflection_;
  5954. delete packetc2w_recv_wuyi_quest_award::default_instance_;
  5955. delete packetc2w_recv_wuyi_quest_award_reflection_;
  5956. delete packetw2c_recv_wuyi_quest_award_result::default_instance_;
  5957. delete packetw2c_recv_wuyi_quest_award_result_reflection_;
  5958. delete packetc2w_recv_wuyi_handbooks_gold::default_instance_;
  5959. delete packetc2w_recv_wuyi_handbooks_gold_reflection_;
  5960. delete packetw2c_recv_wuyi_handbooks_gold_result::default_instance_;
  5961. delete packetw2c_recv_wuyi_handbooks_gold_result_reflection_;
  5962. delete packetc2w_recv_wuyi_handbooks_award::default_instance_;
  5963. delete packetc2w_recv_wuyi_handbooks_award_reflection_;
  5964. delete packetw2c_recv_wuyi_handbooks_award_result::default_instance_;
  5965. delete packetw2c_recv_wuyi_handbooks_award_result_reflection_;
  5966. delete packetc2w_wuyi_lottery::default_instance_;
  5967. delete packetc2w_wuyi_lottery_reflection_;
  5968. delete packetw2c_wuyi_lottery_result::default_instance_;
  5969. delete packetw2c_wuyi_lottery_result_reflection_;
  5970. delete pointRewardInfos::default_instance_;
  5971. delete pointRewardInfos_reflection_;
  5972. delete pointInfos::default_instance_;
  5973. delete pointInfos_reflection_;
  5974. delete packetw2c_syn_room_quest_info::default_instance_;
  5975. delete packetw2c_syn_room_quest_info_reflection_;
  5976. delete packetc2w_get_room_quest::default_instance_;
  5977. delete packetc2w_get_room_quest_reflection_;
  5978. delete packetw2c_get_room_quest_result::default_instance_;
  5979. delete packetw2c_get_room_quest_result_reflection_;
  5980. delete packetc2w_recv_room_quest_award::default_instance_;
  5981. delete packetc2w_recv_room_quest_award_reflection_;
  5982. delete packetw2c_recv_room_quest_award_result::default_instance_;
  5983. delete packetw2c_recv_room_quest_award_result_reflection_;
  5984. delete packetc2w_recv_room_quest_point_award::default_instance_;
  5985. delete packetc2w_recv_room_quest_point_award_reflection_;
  5986. delete packetw2c_recv_room_quest_point_award_result::default_instance_;
  5987. delete packetw2c_recv_room_quest_point_award_result_reflection_;
  5988. delete packetw2c_syn_catch_fish_info::default_instance_;
  5989. delete packetw2c_syn_catch_fish_info_reflection_;
  5990. delete catchFishHistory::default_instance_;
  5991. delete catchFishHistory_reflection_;
  5992. delete catchFishInfo::default_instance_;
  5993. delete catchFishInfo_reflection_;
  5994. delete packetc2w_catch_fish::default_instance_;
  5995. delete packetc2w_catch_fish_reflection_;
  5996. delete packetw2c_catch_fish_result::default_instance_;
  5997. delete packetw2c_catch_fish_result_reflection_;
  5998. delete packetc2w_catch_fish_history::default_instance_;
  5999. delete packetc2w_catch_fish_history_reflection_;
  6000. delete packetw2c_catch_fish_history_result::default_instance_;
  6001. delete packetw2c_catch_fish_history_result_reflection_;
  6002. delete packetw2c_syn_duanwu_vacation_info::default_instance_;
  6003. delete packetw2c_syn_duanwu_vacation_info_reflection_;
  6004. delete packetc2w_get_duanwu_vacation_quest::default_instance_;
  6005. delete packetc2w_get_duanwu_vacation_quest_reflection_;
  6006. delete packetw2c_get_duanwu_vacation_quest_result::default_instance_;
  6007. delete packetw2c_get_duanwu_vacation_quest_result_reflection_;
  6008. delete packetc2w_recv_duanwu_login_reward::default_instance_;
  6009. delete packetc2w_recv_duanwu_login_reward_reflection_;
  6010. delete packetw2c_recv_duanwu_login_reward_result::default_instance_;
  6011. delete packetw2c_recv_duanwu_login_reward_result_reflection_;
  6012. delete packetc2w_recv_duanwu_quest_award::default_instance_;
  6013. delete packetc2w_recv_duanwu_quest_award_reflection_;
  6014. delete packetw2c_recv_duanwu_quest_award_result::default_instance_;
  6015. delete packetw2c_recv_duanwu_quest_award_result_reflection_;
  6016. delete packetc2w_recv_duanwu_handbooks_gold::default_instance_;
  6017. delete packetc2w_recv_duanwu_handbooks_gold_reflection_;
  6018. delete packetw2c_recv_duanwu_handbooks_gold_result::default_instance_;
  6019. delete packetw2c_recv_duanwu_handbooks_gold_result_reflection_;
  6020. delete packetc2w_recv_duanwu_handbooks_award::default_instance_;
  6021. delete packetc2w_recv_duanwu_handbooks_award_reflection_;
  6022. delete packetw2c_recv_duanwu_handbooks_award_result::default_instance_;
  6023. delete packetw2c_recv_duanwu_handbooks_award_result_reflection_;
  6024. delete packetc2w_duanwu_lottery::default_instance_;
  6025. delete packetc2w_duanwu_lottery_reflection_;
  6026. delete packetw2c_duanwu_lottery_result::default_instance_;
  6027. delete packetw2c_duanwu_lottery_result_reflection_;
  6028. delete packetw2c_syn_summer_vacation_info::default_instance_;
  6029. delete packetw2c_syn_summer_vacation_info_reflection_;
  6030. delete packetc2w_get_summer_quest::default_instance_;
  6031. delete packetc2w_get_summer_quest_reflection_;
  6032. delete packetw2c_get_summer_quest_result::default_instance_;
  6033. delete packetw2c_get_summer_quest_result_reflection_;
  6034. delete packetc2w_recv_summer_login_reward::default_instance_;
  6035. delete packetc2w_recv_summer_login_reward_reflection_;
  6036. delete packetw2c_recv_summer_login_reward_result::default_instance_;
  6037. delete packetw2c_recv_summer_login_reward_result_reflection_;
  6038. delete packetc2w_recv_summer_quest_award::default_instance_;
  6039. delete packetc2w_recv_summer_quest_award_reflection_;
  6040. delete packetw2c_recv_summer_quest_award_result::default_instance_;
  6041. delete packetw2c_recv_summer_quest_award_result_reflection_;
  6042. delete packetc2w_recv_summer_handbooks_gold::default_instance_;
  6043. delete packetc2w_recv_summer_handbooks_gold_reflection_;
  6044. delete packetw2c_recv_summer_handbooks_gold_result::default_instance_;
  6045. delete packetw2c_recv_summer_handbooks_gold_result_reflection_;
  6046. delete packetc2w_recv_summer_handbooks_award::default_instance_;
  6047. delete packetc2w_recv_summer_handbooks_award_reflection_;
  6048. delete packetw2c_recv_summer_handbooks_award_result::default_instance_;
  6049. delete packetw2c_recv_summer_handbooks_award_result_reflection_;
  6050. delete packetc2w_summer_lottery::default_instance_;
  6051. delete packetc2w_summer_lottery_reflection_;
  6052. delete packetw2c_summer_lottery_result::default_instance_;
  6053. delete packetw2c_summer_lottery_result_reflection_;
  6054. delete onr_history_info::default_instance_;
  6055. delete onr_history_info_reflection_;
  6056. delete packetw2c_syn_one_night_rich_info::default_instance_;
  6057. delete packetw2c_syn_one_night_rich_info_reflection_;
  6058. delete packetc2w_recv_one_night_rich_award::default_instance_;
  6059. delete packetc2w_recv_one_night_rich_award_reflection_;
  6060. delete packetw2c_recv_one_night_rich_result::default_instance_;
  6061. delete packetw2c_recv_one_night_rich_result_reflection_;
  6062. delete packetc2w_recv_onr_historyList::default_instance_;
  6063. delete packetc2w_recv_onr_historyList_reflection_;
  6064. delete packetw2c_recv_onr_historyList_result::default_instance_;
  6065. delete packetw2c_recv_onr_historyList_result_reflection_;
  6066. delete packetw2c_syn_fortune_star_info::default_instance_;
  6067. delete packetw2c_syn_fortune_star_info_reflection_;
  6068. delete packetc2w_get_fortune_star_quest::default_instance_;
  6069. delete packetc2w_get_fortune_star_quest_reflection_;
  6070. delete packetw2c_get_fortune_star_quest_result::default_instance_;
  6071. delete packetw2c_get_fortune_star_quest_result_reflection_;
  6072. delete packetc2w_recv_fortune_star_quest_award::default_instance_;
  6073. delete packetc2w_recv_fortune_star_quest_award_reflection_;
  6074. delete packetw2c_recv_fortune_star_quest_award_result::default_instance_;
  6075. delete packetw2c_recv_fortune_star_quest_award_result_reflection_;
  6076. delete packetc2w_recv_fortune_star_award::default_instance_;
  6077. delete packetc2w_recv_fortune_star_award_reflection_;
  6078. delete packetw2c_recv_fortune_star_award_result::default_instance_;
  6079. delete packetw2c_recv_fortune_star_award_result_reflection_;
  6080. delete activity_rank::default_instance_;
  6081. delete activity_rank_reflection_;
  6082. delete personal_tailor_lottery_history::default_instance_;
  6083. delete personal_tailor_lottery_history_reflection_;
  6084. delete packetw2c_syn_personal_tailor_info::default_instance_;
  6085. delete packetw2c_syn_personal_tailor_info_reflection_;
  6086. delete packetc2w_get_personal_tailor_rank::default_instance_;
  6087. delete packetc2w_get_personal_tailor_rank_reflection_;
  6088. delete packetw2c_get_personal_tailor_rank_result::default_instance_;
  6089. delete packetw2c_get_personal_tailor_rank_result_reflection_;
  6090. delete packetc2w_get_personal_tailor_lottry_history::default_instance_;
  6091. delete packetc2w_get_personal_tailor_lottry_history_reflection_;
  6092. delete packetw2c_get_personal_tailor_lottry_history_result::default_instance_;
  6093. delete packetw2c_get_personal_tailor_lottry_history_result_reflection_;
  6094. delete packetc2w_personal_tailor_lottery::default_instance_;
  6095. delete packetc2w_personal_tailor_lottery_reflection_;
  6096. delete packetw2c_personal_tailor_lottery_result::default_instance_;
  6097. delete packetw2c_personal_tailor_lottery_result_reflection_;
  6098. delete packetc2w_personal_tailor_exchange::default_instance_;
  6099. delete packetc2w_personal_tailor_exchange_reflection_;
  6100. delete packetw2c_personal_tailor_exchange_result::default_instance_;
  6101. delete packetw2c_personal_tailor_exchange_result_reflection_;
  6102. delete packetw2c_syn_time_limit_purchase_info::default_instance_;
  6103. delete packetw2c_syn_time_limit_purchase_info_reflection_;
  6104. delete packetc2w_time_limit_purchase_lottery::default_instance_;
  6105. delete packetc2w_time_limit_purchase_lottery_reflection_;
  6106. delete packetw2c_time_limit_purchase_lottery_result::default_instance_;
  6107. delete packetw2c_time_limit_purchase_lottery_result_reflection_;
  6108. delete packetw2c_syn_lucky_bag_info::default_instance_;
  6109. delete packetw2c_syn_lucky_bag_info_reflection_;
  6110. delete packetw2c_syn_vip_limit_purchase_info::default_instance_;
  6111. delete packetw2c_syn_vip_limit_purchase_info_reflection_;
  6112. delete packetw2c_syn_turret_lottery_info::default_instance_;
  6113. delete packetw2c_syn_turret_lottery_info_reflection_;
  6114. delete packetc2w_turret_lottery::default_instance_;
  6115. delete packetc2w_turret_lottery_reflection_;
  6116. delete packetw2c_turret_lottery_result::default_instance_;
  6117. delete packetw2c_turret_lottery_result_reflection_;
  6118. delete packetw2c_syn_smashing_eggs_info::default_instance_;
  6119. delete packetw2c_syn_smashing_eggs_info_reflection_;
  6120. delete packetc2w_get_smashing_eggs_info::default_instance_;
  6121. delete packetc2w_get_smashing_eggs_info_reflection_;
  6122. delete packetc2w_smashing_eggs::default_instance_;
  6123. delete packetc2w_smashing_eggs_reflection_;
  6124. delete packetw2c_smashing_eggs_result::default_instance_;
  6125. delete packetw2c_smashing_eggs_result_reflection_;
  6126. delete packetc2w_get_smashing_eggs_rank::default_instance_;
  6127. delete packetc2w_get_smashing_eggs_rank_reflection_;
  6128. delete packetw2c_get_smashing_eggs_rank_result::default_instance_;
  6129. delete packetw2c_get_smashing_eggs_rank_result_reflection_;
  6130. delete packetw2c_syn_rich_lottery_info::default_instance_;
  6131. delete packetw2c_syn_rich_lottery_info_reflection_;
  6132. delete packetc2w_rich_lottery::default_instance_;
  6133. delete packetc2w_rich_lottery_reflection_;
  6134. delete packetw2c_rich_lottery_result::default_instance_;
  6135. delete packetw2c_rich_lottery_result_reflection_;
  6136. delete packetw2c_syn_summer_revels_info::default_instance_;
  6137. delete packetw2c_syn_summer_revels_info_reflection_;
  6138. delete packetc2w_get_summer_revels_rank::default_instance_;
  6139. delete packetc2w_get_summer_revels_rank_reflection_;
  6140. delete packetw2c_get_summer_revels_rank_result::default_instance_;
  6141. delete packetw2c_get_summer_revels_rank_result_reflection_;
  6142. delete packetc2w_summer_revels_lottery::default_instance_;
  6143. delete packetc2w_summer_revels_lottery_reflection_;
  6144. delete packetw2c_summer_revels_lottery_result::default_instance_;
  6145. delete packetw2c_summer_revels_lottery_result_reflection_;
  6146. delete attackInfo::default_instance_;
  6147. delete attackInfo_reflection_;
  6148. delete demonTowerInfo::default_instance_;
  6149. delete demonTowerInfo_reflection_;
  6150. delete weaponInfo::default_instance_;
  6151. delete weaponInfo_reflection_;
  6152. delete packetw2c_syn_kill_demons_info::default_instance_;
  6153. delete packetw2c_syn_kill_demons_info_reflection_;
  6154. delete packetc2w_recv_kill_demons_quest_award::default_instance_;
  6155. delete packetc2w_recv_kill_demons_quest_award_reflection_;
  6156. delete packetw2c_recv_kill_demons_quest_award_result::default_instance_;
  6157. delete packetw2c_recv_kill_demons_quest_award_result_reflection_;
  6158. delete packetc2w_recv_trial_score_award::default_instance_;
  6159. delete packetc2w_recv_trial_score_award_reflection_;
  6160. delete packetw2c_recv_trial_score_award_result::default_instance_;
  6161. delete packetw2c_recv_trial_score_award_result_reflection_;
  6162. delete packetc2w_recv_star_award::default_instance_;
  6163. delete packetc2w_recv_star_award_reflection_;
  6164. delete packetw2c_recv_star_award_result::default_instance_;
  6165. delete packetw2c_recv_star_award_result_reflection_;
  6166. delete packetc2w_attack_demon::default_instance_;
  6167. delete packetc2w_attack_demon_reflection_;
  6168. delete packetw2c_attack_demon_result::default_instance_;
  6169. delete packetw2c_attack_demon_result_reflection_;
  6170. delete packetc2w_get_kill_demons_rank::default_instance_;
  6171. delete packetc2w_get_kill_demons_rank_reflection_;
  6172. delete packetw2c_get_kill_demons_rank_result::default_instance_;
  6173. delete packetw2c_get_kill_demons_rank_result_reflection_;
  6174. delete packetc2w_kill_demons_smelt::default_instance_;
  6175. delete packetc2w_kill_demons_smelt_reflection_;
  6176. delete packetw2c_kill_demons_smelt_result::default_instance_;
  6177. delete packetw2c_kill_demons_smelt_result_reflection_;
  6178. delete packetc2w_recv_sword_energy_award::default_instance_;
  6179. delete packetc2w_recv_sword_energy_award_reflection_;
  6180. delete packetw2c_recv_sword_energy_award_result::default_instance_;
  6181. delete packetw2c_recv_sword_energy_award_result_reflection_;
  6182. delete packetc2w_kill_demons_task::default_instance_;
  6183. delete packetc2w_kill_demons_task_reflection_;
  6184. delete packetw2c_kill_demons_task_result::default_instance_;
  6185. delete packetw2c_kill_demons_task_result_reflection_;
  6186. delete packetw2c_syn_2020_national_info::default_instance_;
  6187. delete packetw2c_syn_2020_national_info_reflection_;
  6188. delete packetc2w_get_2020_national_quest::default_instance_;
  6189. delete packetc2w_get_2020_national_quest_reflection_;
  6190. delete packetw2c_get_2020_national_quest_result::default_instance_;
  6191. delete packetw2c_get_2020_national_quest_result_reflection_;
  6192. delete packetc2w_recv_2020_national_login_reward::default_instance_;
  6193. delete packetc2w_recv_2020_national_login_reward_reflection_;
  6194. delete packetw2c_recv_2020_national_login_reward_result::default_instance_;
  6195. delete packetw2c_recv_2020_national_login_reward_result_reflection_;
  6196. delete packetc2w_recv_2020_national_quest_award::default_instance_;
  6197. delete packetc2w_recv_2020_national_quest_award_reflection_;
  6198. delete packetw2c_recv_2020_national_quest_award_result::default_instance_;
  6199. delete packetw2c_recv_2020_national_quest_award_result_reflection_;
  6200. delete packetc2w_recv_2020_national_handbooks_gold::default_instance_;
  6201. delete packetc2w_recv_2020_national_handbooks_gold_reflection_;
  6202. delete packetw2c_recv_2020_national_handbooks_gold_result::default_instance_;
  6203. delete packetw2c_recv_2020_national_handbooks_gold_result_reflection_;
  6204. delete packetc2w_recv_2020_national_handbooks_award::default_instance_;
  6205. delete packetc2w_recv_2020_national_handbooks_award_reflection_;
  6206. delete packetw2c_recv_2020_national_handbooks_award_result::default_instance_;
  6207. delete packetw2c_recv_2020_national_handbooks_award_result_reflection_;
  6208. delete packetc2w_2020_national_lottery::default_instance_;
  6209. delete packetc2w_2020_national_lottery_reflection_;
  6210. delete packetw2c_2020_national_lottery_result::default_instance_;
  6211. delete packetw2c_2020_national_lottery_result_reflection_;
  6212. delete packetw2c_syn_personal_tailor_new_info::default_instance_;
  6213. delete packetw2c_syn_personal_tailor_new_info_reflection_;
  6214. delete packetc2w_change_personal_tailor_items::default_instance_;
  6215. delete packetc2w_change_personal_tailor_items_reflection_;
  6216. delete packetw2c_change_personal_tailor_items_result::default_instance_;
  6217. delete packetw2c_change_personal_tailor_items_result_reflection_;
  6218. delete packetw2c_syn_super_value_gift_activity_info::default_instance_;
  6219. delete packetw2c_syn_super_value_gift_activity_info_reflection_;
  6220. delete packetw2c_syn_double_eleven_info::default_instance_;
  6221. delete packetw2c_syn_double_eleven_info_reflection_;
  6222. delete packetc2w_get_double_eleven_quest::default_instance_;
  6223. delete packetc2w_get_double_eleven_quest_reflection_;
  6224. delete packetw2c_get_double_eleven_quest_result::default_instance_;
  6225. delete packetw2c_get_double_eleven_quest_result_reflection_;
  6226. delete packetw2c_syn_double_eleven_gift_reflush::default_instance_;
  6227. delete packetw2c_syn_double_eleven_gift_reflush_reflection_;
  6228. delete packetc2w_get_double_eleven_rank::default_instance_;
  6229. delete packetc2w_get_double_eleven_rank_reflection_;
  6230. delete packetw2c_get_double_eleven_rank_result::default_instance_;
  6231. delete packetw2c_get_double_eleven_rank_result_reflection_;
  6232. delete packetc2w_double_eleven_lottery::default_instance_;
  6233. delete packetc2w_double_eleven_lottery_reflection_;
  6234. delete packetw2c_double_eleven_lottery_result::default_instance_;
  6235. delete packetw2c_double_eleven_lottery_result_reflection_;
  6236. delete packetc2w_receive_double_eleven_recharge_reward::default_instance_;
  6237. delete packetc2w_receive_double_eleven_recharge_reward_reflection_;
  6238. delete packetw2c_receive_double_eleven_recharge_reward_result::default_instance_;
  6239. delete packetw2c_receive_double_eleven_recharge_reward_result_reflection_;
  6240. delete packetc2w_syn_double_eleven_diamond_gift_count::default_instance_;
  6241. delete packetc2w_syn_double_eleven_diamond_gift_count_reflection_;
  6242. delete packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_;
  6243. delete packetw2c_syn_double_eleven_diamond_gift_count_result_reflection_;
  6244. delete packetc2w_recv_double_eleven_quest_award::default_instance_;
  6245. delete packetc2w_recv_double_eleven_quest_award_reflection_;
  6246. delete packetw2c_recv_double_eleven_quest_award_result::default_instance_;
  6247. delete packetw2c_recv_double_eleven_quest_award_result_reflection_;
  6248. delete packetc2w_double_eleven_buy_lottery_ticket::default_instance_;
  6249. delete packetc2w_double_eleven_buy_lottery_ticket_reflection_;
  6250. delete packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_;
  6251. delete packetw2c_double_eleven_buy_lottery_ticket_result_reflection_;
  6252. delete packetw2c_syn_wing_experience_info::default_instance_;
  6253. delete packetw2c_syn_wing_experience_info_reflection_;
  6254. delete packetc2w_wing_experience_receive_wing::default_instance_;
  6255. delete packetc2w_wing_experience_receive_wing_reflection_;
  6256. delete packetw2c_wing_experience_receive_wing_result::default_instance_;
  6257. delete packetw2c_wing_experience_receive_wing_result_reflection_;
  6258. delete exchangeInfo::default_instance_;
  6259. delete exchangeInfo_reflection_;
  6260. delete packetw2c_syn_kingcraft_info::default_instance_;
  6261. delete packetw2c_syn_kingcraft_info_reflection_;
  6262. delete packetc2w_get_kingcraft_rank::default_instance_;
  6263. delete packetc2w_get_kingcraft_rank_reflection_;
  6264. delete packetw2c_get_kingcraft_rank_result::default_instance_;
  6265. delete packetw2c_get_kingcraft_rank_result_reflection_;
  6266. delete packetc2w_kingcraft_lottery::default_instance_;
  6267. delete packetc2w_kingcraft_lottery_reflection_;
  6268. delete packetw2c_kingcraft_lottery_result::default_instance_;
  6269. delete packetw2c_kingcraft_lottery_result_reflection_;
  6270. delete packetc2w_receive_kingcraft_recharge_reward::default_instance_;
  6271. delete packetc2w_receive_kingcraft_recharge_reward_reflection_;
  6272. delete packetw2c_receive_kingcraft_recharge_reward_result::default_instance_;
  6273. delete packetw2c_receive_kingcraft_recharge_reward_result_reflection_;
  6274. delete packetc2w_receive_kingcraft_exchange::default_instance_;
  6275. delete packetc2w_receive_kingcraft_exchange_reflection_;
  6276. delete packetw2c_receive_kingcraft_exchange_result::default_instance_;
  6277. delete packetw2c_receive_kingcraft_exchange_result_reflection_;
  6278. delete packetc2w_kingcraft_sign::default_instance_;
  6279. delete packetc2w_kingcraft_sign_reflection_;
  6280. delete packetw2c_kingcraft_sign_result::default_instance_;
  6281. delete packetw2c_kingcraft_sign_result_reflection_;
  6282. delete packetw2c_syn_double_egg_activity_info::default_instance_;
  6283. delete packetw2c_syn_double_egg_activity_info_reflection_;
  6284. delete touchingFishRecInfo::default_instance_;
  6285. delete touchingFishRecInfo_reflection_;
  6286. delete packetw2c_syn_touching_fish_activity_info::default_instance_;
  6287. delete packetw2c_syn_touching_fish_activity_info_reflection_;
  6288. delete packetw2c_syn_touching_fish_exp::default_instance_;
  6289. delete packetw2c_syn_touching_fish_exp_reflection_;
  6290. delete packetc2w_recv_touching_fish_level_reward::default_instance_;
  6291. delete packetc2w_recv_touching_fish_level_reward_reflection_;
  6292. delete packetw2c_recv_touching_fish_level_reward_result::default_instance_;
  6293. delete packetw2c_recv_touching_fish_level_reward_result_reflection_;
  6294. delete packetc2w_recv_touching_fish_task::default_instance_;
  6295. delete packetc2w_recv_touching_fish_task_reflection_;
  6296. delete packetw2c_recv_touching_fish_task_result::default_instance_;
  6297. delete packetw2c_recv_touching_fish_task_result_reflection_;
  6298. delete packetc2w_recv_touching_fish_quest_award::default_instance_;
  6299. delete packetc2w_recv_touching_fish_quest_award_reflection_;
  6300. delete packetw2c_recv_touching_fish_quest_award_result::default_instance_;
  6301. delete packetw2c_recv_touching_fish_quest_award_result_reflection_;
  6302. delete packetc2w_recv_touching_fish_week_box::default_instance_;
  6303. delete packetc2w_recv_touching_fish_week_box_reflection_;
  6304. delete packetw2c_recv_touching_fish_week_box_result::default_instance_;
  6305. delete packetw2c_recv_touching_fish_week_box_result_reflection_;
  6306. delete packetc2w_flush_touching_fish_quest::default_instance_;
  6307. delete packetc2w_flush_touching_fish_quest_reflection_;
  6308. delete packetw2c_flush_touching_fish_quest_result::default_instance_;
  6309. delete packetw2c_flush_touching_fish_quest_result_reflection_;
  6310. delete packetc2w_get_touching_fish_rank::default_instance_;
  6311. delete packetc2w_get_touching_fish_rank_reflection_;
  6312. delete packetw2c_get_touching_fish_rank_result::default_instance_;
  6313. delete packetw2c_get_touching_fish_rank_result_reflection_;
  6314. delete packetw2c_syn_fishing_celebration_info::default_instance_;
  6315. delete packetw2c_syn_fishing_celebration_info_reflection_;
  6316. delete packetc2w_fishing_celebration_lottery::default_instance_;
  6317. delete packetc2w_fishing_celebration_lottery_reflection_;
  6318. delete packetw2c_fishing_celebration_lottery_result::default_instance_;
  6319. delete packetw2c_fishing_celebration_lottery_result_reflection_;
  6320. delete packetc2w_fishing_celebration_activate::default_instance_;
  6321. delete packetc2w_fishing_celebration_activate_reflection_;
  6322. delete packetw2c_fishing_celebration_activate_result::default_instance_;
  6323. delete packetw2c_fishing_celebration_activate_result_reflection_;
  6324. delete packetc2w_fishing_celebration_exchange::default_instance_;
  6325. delete packetc2w_fishing_celebration_exchange_reflection_;
  6326. delete packetw2c_fishing_celebration_exchange_result::default_instance_;
  6327. delete packetw2c_fishing_celebration_exchange_result_reflection_;
  6328. delete packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_;
  6329. delete packetw2c_syn_fishing_celebration_free_gift_lottery_reflection_;
  6330. delete packetc2w_fishing_celebration_gift_lottery::default_instance_;
  6331. delete packetc2w_fishing_celebration_gift_lottery_reflection_;
  6332. delete packetw2c_fishing_celebration_gift_lottery_result::default_instance_;
  6333. delete packetw2c_fishing_celebration_gift_lottery_result_reflection_;
  6334. delete packetc2w_fishing_celebration_gift_lottery_reward::default_instance_;
  6335. delete packetc2w_fishing_celebration_gift_lottery_reward_reflection_;
  6336. delete packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_;
  6337. delete packetw2c_fishing_celebration_gift_lottery_reward_result_reflection_;
  6338. delete packetc2w_fishing_celebration_buy_gift::default_instance_;
  6339. delete packetc2w_fishing_celebration_buy_gift_reflection_;
  6340. delete packetw2c_fishing_celebration_buy_gift_result::default_instance_;
  6341. delete packetw2c_fishing_celebration_buy_gift_result_reflection_;
  6342. delete packetc2w_get_fishing_celebration_rank::default_instance_;
  6343. delete packetc2w_get_fishing_celebration_rank_reflection_;
  6344. delete packetw2c_get_fishing_celebration_rank_result::default_instance_;
  6345. delete packetw2c_get_fishing_celebration_rank_result_reflection_;
  6346. delete prizeKey::default_instance_;
  6347. delete prizeKey_reflection_;
  6348. delete packetw2c_syn_feed_back_info::default_instance_;
  6349. delete packetw2c_syn_feed_back_info_reflection_;
  6350. delete packetc2w_get_feed_back_vip_reward::default_instance_;
  6351. delete packetc2w_get_feed_back_vip_reward_reflection_;
  6352. delete packetw2c_get_feed_back_vip_reward_result::default_instance_;
  6353. delete packetw2c_get_feed_back_vip_reward_result_reflection_;
  6354. delete packetc2w_get_feed_back_keylist::default_instance_;
  6355. delete packetc2w_get_feed_back_keylist_reflection_;
  6356. delete packetw2c_get_feed_back_keylist_result::default_instance_;
  6357. delete packetw2c_get_feed_back_keylist_result_reflection_;
  6358. delete packetw2c_syn_chip_treasure_info::default_instance_;
  6359. delete packetw2c_syn_chip_treasure_info_reflection_;
  6360. delete packetc2w_chip_treasure_lottery::default_instance_;
  6361. delete packetc2w_chip_treasure_lottery_reflection_;
  6362. delete packetw2c_chip_treasure_lottery_result::default_instance_;
  6363. delete packetw2c_chip_treasure_lottery_result_reflection_;
  6364. delete sendGoldHistory::default_instance_;
  6365. delete sendGoldHistory_reflection_;
  6366. delete sendGoldInfo::default_instance_;
  6367. delete sendGoldInfo_reflection_;
  6368. delete packetw2c_syn_summer_plan_info::default_instance_;
  6369. delete packetw2c_syn_summer_plan_info_reflection_;
  6370. delete packetc2w_summer_plan_get_redpacket_task::default_instance_;
  6371. delete packetc2w_summer_plan_get_redpacket_task_reflection_;
  6372. delete packetw2c_summer_plan_get_redpacket_task_result::default_instance_;
  6373. delete packetw2c_summer_plan_get_redpacket_task_result_reflection_;
  6374. delete packetc2w_summer_plan_sendgold_info::default_instance_;
  6375. delete packetc2w_summer_plan_sendgold_info_reflection_;
  6376. delete packetw2c_summer_plan_sendgold_info_result::default_instance_;
  6377. delete packetw2c_summer_plan_sendgold_info_result_reflection_;
  6378. delete packetc2w_summer_plan_active::default_instance_;
  6379. delete packetc2w_summer_plan_active_reflection_;
  6380. delete packetw2c_summer_plan_active_result::default_instance_;
  6381. delete packetw2c_summer_plan_active_result_reflection_;
  6382. delete packetc2w_summer_plan_recv_redpacket::default_instance_;
  6383. delete packetc2w_summer_plan_recv_redpacket_reflection_;
  6384. delete packetw2c_summer_plan_recv_redpacket_result::default_instance_;
  6385. delete packetw2c_summer_plan_recv_redpacket_result_reflection_;
  6386. delete packetc2w_summer_plan_recv_recharged::default_instance_;
  6387. delete packetc2w_summer_plan_recv_recharged_reflection_;
  6388. delete packetw2c_summer_plan_recv_recharged_result::default_instance_;
  6389. delete packetw2c_summer_plan_recv_recharged_result_reflection_;
  6390. delete packetc2w_summer_plan_buy_sendgold_gift::default_instance_;
  6391. delete packetc2w_summer_plan_buy_sendgold_gift_reflection_;
  6392. delete packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_;
  6393. delete packetw2c_summer_plan_buy_sendgold_gift_result_reflection_;
  6394. delete packetc2w_summer_plan_launch::default_instance_;
  6395. delete packetc2w_summer_plan_launch_reflection_;
  6396. delete packetw2c_summer_plan_launch_result::default_instance_;
  6397. delete packetw2c_summer_plan_launch_result_reflection_;
  6398. delete packetc2w_summer_plan_touch_gold::default_instance_;
  6399. delete packetc2w_summer_plan_touch_gold_reflection_;
  6400. delete packetw2c_summer_plan_touch_gold_result::default_instance_;
  6401. delete packetw2c_summer_plan_touch_gold_result_reflection_;
  6402. delete packetw2c_syn_happy_summer_info::default_instance_;
  6403. delete packetw2c_syn_happy_summer_info_reflection_;
  6404. delete packetc2w_get_happy_summer_rank::default_instance_;
  6405. delete packetc2w_get_happy_summer_rank_reflection_;
  6406. delete packetw2c_get_happy_summer_rank_result::default_instance_;
  6407. delete packetw2c_get_happy_summer_rank_result_reflection_;
  6408. delete packetc2w_happy_summer_open_box::default_instance_;
  6409. delete packetc2w_happy_summer_open_box_reflection_;
  6410. delete packetw2c_happy_summer_open_box_result::default_instance_;
  6411. delete packetw2c_happy_summer_open_box_result_reflection_;
  6412. delete packetc2w_happy_summer_lottery::default_instance_;
  6413. delete packetc2w_happy_summer_lottery_reflection_;
  6414. delete packetw2c_happy_summer_lottery_result::default_instance_;
  6415. delete packetw2c_happy_summer_lottery_result_reflection_;
  6416. delete packetc2w_recv_happy_summer_quest_award::default_instance_;
  6417. delete packetc2w_recv_happy_summer_quest_award_reflection_;
  6418. delete packetw2c_recv_happy_summer_quest_award_result::default_instance_;
  6419. delete packetw2c_recv_happy_summer_quest_award_result_reflection_;
  6420. delete packetc2w_get_happy_summer_quest::default_instance_;
  6421. delete packetc2w_get_happy_summer_quest_reflection_;
  6422. delete packetw2c_get_happy_summer_quest_result::default_instance_;
  6423. delete packetw2c_get_happy_summer_quest_result_reflection_;
  6424. }
  6425. void protobuf_AddDesc_client2world_5factivity2_2eproto() {
  6426. static bool already_here = false;
  6427. if (already_here) return;
  6428. already_here = true;
  6429. GOOGLE_PROTOBUF_VERIFY_VERSION;
  6430. ::client2world_protocols::protobuf_AddDesc_client2world_5fmsg_5ftype_2eproto();
  6431. ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  6432. ::msg_info_def::protobuf_AddDesc_msg_5finfo_5fdef_2eproto();
  6433. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  6434. "\n\034client2world_activity2.proto\022\026client2w"
  6435. "orld_protocols\032\033client2world_msg_type.pr"
  6436. "oto\032\022msg_type_def.proto\032\022msg_info_def.pr"
  6437. "oto\"\335\001\n\037packetw2c_activity_quest_notify\022"
  6438. "]\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  6439. "ols.e_server_msg_type:\037e_mst_w2c_activit"
  6440. "y_quest_notify\022\022\n\nactivityId\030\002 \001(\005\022\014\n\004ty"
  6441. "pe\030\003 \001(\005\022\n\n\002id\030\004 \001(\005\022\r\n\005count\030\005 \001(\005\022\r\n\005p"
  6442. "aram\030\006 \001(\005\022\017\n\007endtime\030\007 \001(\005\"\305\001\n\033packetw2"
  6443. "c_syn_new_year_info\022Y\n\tpacket_id\030\001 \001(\0162)"
  6444. ".client2world_protocols.e_server_msg_typ"
  6445. "e:\033e_mst_w2c_syn_new_year_info\022\025\n\ractivi"
  6446. "tyState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endT"
  6447. "ime\030\004 \001(\005\022\020\n\010signList\030\005 \003(\005\"\235\001\n$packetc2"
  6448. "w_recv_new_year_login_reward\022b\n\tpacket_i"
  6449. "d\030\001 \001(\0162).client2world_protocols.e_serve"
  6450. "r_msg_type:$e_mst_c2w_recv_new_year_logi"
  6451. "n_reward\022\021\n\tsignIndex\030\002 \001(\005\"\273\001\n+packetw2"
  6452. "c_recv_new_year_login_reward_result\022i\n\tp"
  6453. "acket_id\030\001 \001(\0162).client2world_protocols."
  6454. "e_server_msg_type:+e_mst_w2c_recv_new_ye"
  6455. "ar_login_reward_result\022\021\n\tsignIndex\030\002 \001("
  6456. "\005\022\016\n\006result\030\003 \001(\005\"\253\002\n\037packetw2c_syn_nati"
  6457. "onal_day_info\022]\n\tpacket_id\030\001 \001(\0162).clien"
  6458. "t2world_protocols.e_server_msg_type:\037e_m"
  6459. "st_w2c_syn_national_day_info\022\025\n\ractivity"
  6460. "State\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTim"
  6461. "e\030\004 \001(\005\022\020\n\010signList\030\005 \003(\005\022\023\n\013questBranch"
  6462. "\030\006 \001(\005\022/\n\tquestList\030\007 \003(\0132\034.msg_info_def"
  6463. ".msg_quest_info\022\026\n\016rewardRecvList\030\010 \003(\005\""
  6464. "\302\001\n#packetw2c_national_day_quest_notify\022"
  6465. "a\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  6466. "ols.e_server_msg_type:#e_mst_w2c_nationa"
  6467. "l_day_quest_notify\022\014\n\004type\030\002 \001(\005\022\n\n\002id\030\003"
  6468. " \001(\005\022\r\n\005count\030\004 \001(\005\022\017\n\007endtime\030\005 \001(\005\"\245\001\n"
  6469. "(packetc2w_recv_national_day_login_rewar"
  6470. "d\022f\n\tpacket_id\030\001 \001(\0162).client2world_prot"
  6471. "ocols.e_server_msg_type:(e_mst_c2w_recv_"
  6472. "national_day_login_reward\022\021\n\tsignIndex\030\002"
  6473. " \001(\005\"\303\001\n/packetw2c_recv_national_day_log"
  6474. "in_reward_result\022m\n\tpacket_id\030\001 \001(\0162).cl"
  6475. "ient2world_protocols.e_server_msg_type:/"
  6476. "e_mst_w2c_recv_national_day_login_reward"
  6477. "_result\022\021\n\tsignIndex\030\002 \001(\005\022\016\n\006result\030\003 \001"
  6478. "(\005\"\241\001\n\'packetc2w_recv_national_day_quest"
  6479. "_award\022e\n\tpacket_id\030\001 \001(\0162).client2world"
  6480. "_protocols.e_server_msg_type:\'e_mst_c2w_"
  6481. "recv_national_day_quest_award\022\017\n\007questId"
  6482. "\030\002 \001(\005\"\212\002\n.packetw2c_recv_national_day_q"
  6483. "uest_award_result\022l\n\tpacket_id\030\001 \001(\0162).c"
  6484. "lient2world_protocols.e_server_msg_type:"
  6485. ".e_mst_w2c_recv_national_day_quest_award"
  6486. "_result\022\016\n\006result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005"
  6487. "\022\016\n\006branch\030\004 \001(\005\022\022\n\nnextTaskId\030\005 \001(\005\022%\n\005"
  6488. "items\030\006 \003(\0132\026.msg_info_def.ItemInfo\"\226\001\n\""
  6489. "packetc2w_national_day_choose_task\022`\n\tpa"
  6490. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  6491. "_server_msg_type:\"e_mst_c2w_national_day"
  6492. "_choose_task\022\016\n\006branch\030\002 \001(\005\"\310\001\n)packetw"
  6493. "2c_national_day_choose_task_result\022g\n\tpa"
  6494. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  6495. "_server_msg_type:)e_mst_w2c_national_day"
  6496. "_choose_task_result\022\016\n\006result\030\002 \001(\005\022\016\n\006b"
  6497. "ranch\030\003 \001(\005\022\022\n\nnextTaskId\030\004 \001(\005\"\311\001\n\035pack"
  6498. "etw2c_syn_spring_day_info\022[\n\tpacket_id\030\001"
  6499. " \001(\0162).client2world_protocols.e_server_m"
  6500. "sg_type:\035e_mst_w2c_syn_spring_day_info\022\025"
  6501. "\n\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005"
  6502. "\022\017\n\007endTime\030\004 \001(\005\022\020\n\010signList\030\005 \003(\005\"\241\001\n&"
  6503. "packetc2w_recv_spring_day_login_reward\022d"
  6504. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  6505. "ls.e_server_msg_type:&e_mst_c2w_recv_spr"
  6506. "ing_day_login_reward\022\021\n\tsignIndex\030\002 \001(\005\""
  6507. "\277\001\n-packetw2c_recv_spring_day_login_rewa"
  6508. "rd_result\022k\n\tpacket_id\030\001 \001(\0162).client2wo"
  6509. "rld_protocols.e_server_msg_type:-e_mst_w"
  6510. "2c_recv_spring_day_login_reward_result\022\021"
  6511. "\n\tsignIndex\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\265\001\n\034pa"
  6512. "cketw2c_syn_hunt_fish_info\022Z\n\tpacket_id\030"
  6513. "\001 \001(\0162).client2world_protocols.e_server_"
  6514. "msg_type:\034e_mst_w2c_syn_hunt_fish_info\022\025"
  6515. "\n\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005"
  6516. "\022\017\n\007endTime\030\004 \001(\005\"|\n\035packetc2w_get_hunt_"
  6517. "fish_quest\022[\n\tpacket_id\030\001 \001(\0162).client2w"
  6518. "orld_protocols.e_server_msg_type:\035e_mst_"
  6519. "c2w_get_hunt_fish_quest\"\273\001\n$packetw2c_ge"
  6520. "t_hunt_fish_quest_result\022b\n\tpacket_id\030\001 "
  6521. "\001(\0162).client2world_protocols.e_server_ms"
  6522. "g_type:$e_mst_w2c_get_hunt_fish_quest_re"
  6523. "sult\022/\n\tquestList\030\002 \003(\0132\034.msg_info_def.m"
  6524. "sg_quest_info\"\233\001\n$packetc2w_recv_hunt_fi"
  6525. "sh_quest_award\022b\n\tpacket_id\030\001 \001(\0162).clie"
  6526. "nt2world_protocols.e_server_msg_type:$e_"
  6527. "mst_c2w_recv_hunt_fish_quest_award\022\017\n\007qu"
  6528. "estId\030\002 \001(\005\"\340\001\n+packetw2c_recv_hunt_fish"
  6529. "_quest_award_result\022i\n\tpacket_id\030\001 \001(\0162)"
  6530. ".client2world_protocols.e_server_msg_typ"
  6531. "e:+e_mst_w2c_recv_hunt_fish_quest_award_"
  6532. "result\022\016\n\006result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022"
  6533. "%\n\005items\030\006 \003(\0132\026.msg_info_def.ItemInfo\"\364"
  6534. "\001\n$packetw2c_syn_recharge_activity_info\022"
  6535. "b\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  6536. "ols.e_server_msg_type:$e_mst_w2c_syn_rec"
  6537. "harge_activity_info\022\025\n\ractivityState\030\002 \001"
  6538. "(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\025"
  6539. "\n\rtotalRecharge\030\005 \001(\005\022\026\n\016rewardRecvList\030"
  6540. "\006 \003(\005\"\230\001\n\"packetc2w_recharge_activity_re"
  6541. "bate\022`\n\tpacket_id\030\001 \001(\0162).client2world_p"
  6542. "rotocols.e_server_msg_type:\"e_mst_c2w_re"
  6543. "charge_activity_rebate\022\020\n\010rewardId\030\002 \001(\005"
  6544. "\"\266\001\n)packetw2c_recharge_activity_rebate_"
  6545. "result\022g\n\tpacket_id\030\001 \001(\0162).client2world"
  6546. "_protocols.e_server_msg_type:)e_mst_w2c_"
  6547. "recharge_activity_rebate_result\022\016\n\006resul"
  6548. "t\030\002 \001(\005\022\020\n\010rewardId\030\003 \001(\005\"\365\002\n packetw2c_"
  6549. "syn_wuyi_vacation_info\022^\n\tpacket_id\030\001 \001("
  6550. "\0162).client2world_protocols.e_server_msg_"
  6551. "type: e_mst_w2c_syn_wuyi_vacation_info\022\021"
  6552. "\n\tstartTime\030\002 \001(\005\022\017\n\007endTime\030\003 \001(\005\022\021\n\tsi"
  6553. "gnCount\030\004 \001(\005\022\017\n\007canSign\030\005 \001(\010\022/\n\tquestL"
  6554. "ist\030\006 \003(\0132\034.msg_info_def.msg_quest_info\022"
  6555. "1\n\013haiShenList\030\007 \003(\0132\034.msg_info_def.msg_"
  6556. "quest_info\022\032\n\022handbooksAwardStat\030\010 \003(\010\022\025"
  6557. "\n\rhandbooksStat\030\t \003(\005\022\022\n\npaddyCount\030\n \001("
  6558. "\005\"\225\001\n packetc2w_recv_wuyi_login_reward\022^"
  6559. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  6560. "ls.e_server_msg_type: e_mst_c2w_recv_wuy"
  6561. "i_login_reward\022\021\n\tsignIndex\030\002 \001(\005\"\312\001\n\'pa"
  6562. "cketw2c_recv_wuyi_login_reward_result\022e\n"
  6563. "\tpacket_id\030\001 \001(\0162).client2world_protocol"
  6564. "s.e_server_msg_type:\'e_mst_w2c_recv_wuyi"
  6565. "_login_reward_result\022\021\n\tsignIndex\030\002 \001(\005\022"
  6566. "\016\n\006result\030\003 \001(\005\022\025\n\rexHandbooksId\030\004 \003(\005\"\263"
  6567. "\001\n\037packetc2w_recv_wuyi_quest_award\022]\n\tpa"
  6568. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  6569. "_server_msg_type:\037e_mst_c2w_recv_wuyi_qu"
  6570. "est_award\022\014\n\004type\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005"
  6571. "\022\022\n\nreceiveBit\030\004 \001(\005\"\370\001\n&packetw2c_recv_"
  6572. "wuyi_quest_award_result\022d\n\tpacket_id\030\001 \001"
  6573. "(\0162).client2world_protocols.e_server_msg"
  6574. "_type:&e_mst_w2c_recv_wuyi_quest_award_r"
  6575. "esult\022\016\n\006result\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\017\n\007q"
  6576. "uestId\030\004 \001(\005\022\022\n\nreceiveBit\030\005 \001(\005\022%\n\005item"
  6577. "s\030\006 \003(\0132\026.msg_info_def.ItemInfo\"\233\001\n\"pack"
  6578. "etc2w_recv_wuyi_handbooks_gold\022`\n\tpacket"
  6579. "_id\030\001 \001(\0162).client2world_protocols.e_ser"
  6580. "ver_msg_type:\"e_mst_c2w_recv_wuyi_handbo"
  6581. "oks_gold\022\023\n\013handbooksId\030\002 \001(\005\"\271\001\n)packet"
  6582. "w2c_recv_wuyi_handbooks_gold_result\022g\n\tp"
  6583. "acket_id\030\001 \001(\0162).client2world_protocols."
  6584. "e_server_msg_type:)e_mst_w2c_recv_wuyi_h"
  6585. "andbooks_gold_result\022\023\n\013handbooksId\030\002 \001("
  6586. "\005\022\016\n\006result\030\003 \001(\005\"\226\001\n#packetc2w_recv_wuy"
  6587. "i_handbooks_award\022a\n\tpacket_id\030\001 \001(\0162).c"
  6588. "lient2world_protocols.e_server_msg_type:"
  6589. "#e_mst_c2w_recv_wuyi_handbooks_award\022\014\n\004"
  6590. "type\030\002 \001(\005\"\317\001\n*packetw2c_recv_wuyi_handb"
  6591. "ooks_award_result\022h\n\tpacket_id\030\001 \001(\0162).c"
  6592. "lient2world_protocols.e_server_msg_type:"
  6593. "*e_mst_w2c_recv_wuyi_handbooks_award_res"
  6594. "ult\022\016\n\006result\030\002 \001(\005\022\020\n\010typelist\030\003 \003(\005\022\025\n"
  6595. "\rhandbooksGold\030\004 \001(\005\"|\n\026packetc2w_wuyi_l"
  6596. "ottery\022T\n\tpacket_id\030\001 \001(\0162).client2world"
  6597. "_protocols.e_server_msg_type:\026e_mst_c2w_"
  6598. "wuyi_lottery\022\014\n\004type\030\002 \001(\005\"\254\001\n\035packetw2c"
  6599. "_wuyi_lottery_result\022[\n\tpacket_id\030\001 \001(\0162"
  6600. ").client2world_protocols.e_server_msg_ty"
  6601. "pe:\035e_mst_w2c_wuyi_lottery_result\022\016\n\006res"
  6602. "ult\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\020\n\010rewardId\030\004 \001("
  6603. "\005\"0\n\020pointRewardInfos\022\n\n\002id\030\001 \001(\005\022\020\n\010rec"
  6604. "eived\030\002 \001(\005\"+\n\npointInfos\022\016\n\006roomId\030\001 \001("
  6605. "\005\022\r\n\005count\030\002 \001(\005\"\313\002\n\035packetw2c_syn_room_"
  6606. "quest_info\022[\n\tpacket_id\030\001 \001(\0162).client2w"
  6607. "orld_protocols.e_server_msg_type:\035e_mst_"
  6608. "w2c_syn_room_quest_info\022\025\n\ractivityState"
  6609. "\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001"
  6610. "(\005\022B\n\020pointRewardinfos\030\005 \003(\0132(.client2wo"
  6611. "rld_protocols.pointRewardInfos\0227\n\013questP"
  6612. "oints\030\006 \003(\0132\".client2world_protocols.poi"
  6613. "ntInfos\022\025\n\rsharkCardType\030\007 \001(\005\"r\n\030packet"
  6614. "c2w_get_room_quest\022V\n\tpacket_id\030\001 \001(\0162)."
  6615. "client2world_protocols.e_server_msg_type"
  6616. ":\030e_mst_c2w_get_room_quest\"\310\001\n\037packetw2c"
  6617. "_get_room_quest_result\022]\n\tpacket_id\030\001 \001("
  6618. "\0162).client2world_protocols.e_server_msg_"
  6619. "type:\037e_mst_w2c_get_room_quest_result\022/\n"
  6620. "\tquestList\030\002 \003(\0132\034.msg_info_def.msg_ques"
  6621. "t_info\022\025\n\rsharkCardType\030\003 \001(\005\"\221\001\n\037packet"
  6622. "c2w_recv_room_quest_award\022]\n\tpacket_id\030\001"
  6623. " \001(\0162).client2world_protocols.e_server_m"
  6624. "sg_type:\037e_mst_c2w_recv_room_quest_award"
  6625. "\022\017\n\007questId\030\002 \001(\005\"\326\001\n&packetw2c_recv_roo"
  6626. "m_quest_award_result\022d\n\tpacket_id\030\001 \001(\0162"
  6627. ").client2world_protocols.e_server_msg_ty"
  6628. "pe:&e_mst_w2c_recv_room_quest_award_resu"
  6629. "lt\022\016\n\006result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005i"
  6630. "tems\030\004 \003(\0132\026.msg_info_def.ItemInfo\"\235\001\n%p"
  6631. "acketc2w_recv_room_quest_point_award\022c\n\t"
  6632. "packet_id\030\001 \001(\0162).client2world_protocols"
  6633. ".e_server_msg_type:%e_mst_c2w_recv_room_"
  6634. "quest_point_award\022\017\n\007questId\030\002 \001(\005\"\342\001\n,p"
  6635. "acketw2c_recv_room_quest_point_award_res"
  6636. "ult\022j\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  6637. "otocols.e_server_msg_type:,e_mst_w2c_rec"
  6638. "v_room_quest_point_award_result\022\016\n\006resul"
  6639. "t\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005items\030\004 \003(\0132"
  6640. "\026.msg_info_def.ItemInfo\"\211\002\n\035packetw2c_sy"
  6641. "n_catch_fish_info\022[\n\tpacket_id\030\001 \001(\0162).c"
  6642. "lient2world_protocols.e_server_msg_type:"
  6643. "\035e_mst_w2c_syn_catch_fish_info\022\025\n\ractivi"
  6644. "tyState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endT"
  6645. "ime\030\004 \001(\005\022\021\n\tcoinCount\030\005 \001(\005\022=\n\013historyL"
  6646. "ist\030\006 \003(\0132(.client2world_protocols.catch"
  6647. "FishHistory\"`\n\020catchFishHistory\022\014\n\004time\030"
  6648. "\001 \001(\005\022\020\n\010nickname\030\002 \001(\t\022\020\n\010fishType\030\003 \001("
  6649. "\005\022\014\n\004rate\030\004 \001(\005\022\014\n\004gold\030\005 \001(\005\"+\n\rcatchFi"
  6650. "shInfo\022\014\n\004rate\030\001 \001(\005\022\014\n\004gold\030\002 \001(\005\"\215\001\n\024p"
  6651. "acketc2w_catch_fish\022R\n\tpacket_id\030\001 \001(\0162)"
  6652. ".client2world_protocols.e_server_msg_typ"
  6653. "e:\024e_mst_c2w_catch_fish\022\020\n\010fishType\030\002 \001("
  6654. "\005\022\017\n\007netType\030\003 \001(\005\"\351\001\n\033packetw2c_catch_f"
  6655. "ish_result\022Y\n\tpacket_id\030\001 \001(\0162).client2w"
  6656. "orld_protocols.e_server_msg_type:\033e_mst_"
  6657. "w2c_catch_fish_result\022\016\n\006result\030\002 \001(\005\022\020\n"
  6658. "\010fishType\030\003 \001(\005\022\017\n\007netType\030\004 \001(\005\022<\n\rcatc"
  6659. "hFishInfo\030\005 \003(\0132%.client2world_protocols"
  6660. ".catchFishInfo\"z\n\034packetc2w_catch_fish_h"
  6661. "istory\022Z\n\tpacket_id\030\001 \001(\0162).client2world"
  6662. "_protocols.e_server_msg_type:\034e_mst_c2w_"
  6663. "catch_fish_history\"\307\001\n#packetw2c_catch_f"
  6664. "ish_history_result\022a\n\tpacket_id\030\001 \001(\0162)."
  6665. "client2world_protocols.e_server_msg_type"
  6666. ":#e_mst_w2c_catch_fish_history_result\022=\n"
  6667. "\013historyList\030\002 \003(\0132(.client2world_protoc"
  6668. "ols.catchFishHistory\"\251\002\n\"packetw2c_syn_d"
  6669. "uanwu_vacation_info\022`\n\tpacket_id\030\001 \001(\0162)"
  6670. ".client2world_protocols.e_server_msg_typ"
  6671. "e:\"e_mst_w2c_syn_duanwu_vacation_info\022\021\n"
  6672. "\tstartTime\030\002 \001(\005\022\017\n\007endTime\030\003 \001(\005\022\021\n\tsig"
  6673. "nCount\030\004 \001(\005\022\017\n\007canSign\030\005 \001(\010\022\022\n\nresetTi"
  6674. "mes\030\006 \001(\005\022\032\n\022handbooksAwardStat\030\007 \003(\010\022\025\n"
  6675. "\rhandbooksStat\030\010 \003(\005\022\022\n\npaddyCount\030\t \001(\005"
  6676. "\"\210\001\n#packetc2w_get_duanwu_vacation_quest"
  6677. "\022a\n\tpacket_id\030\001 \001(\0162).client2world_proto"
  6678. "cols.e_server_msg_type:#e_mst_c2w_get_du"
  6679. "anwu_vacation_quest\"\307\001\n*packetw2c_get_du"
  6680. "anwu_vacation_quest_result\022h\n\tpacket_id\030"
  6681. "\001 \001(\0162).client2world_protocols.e_server_"
  6682. "msg_type:*e_mst_w2c_get_duanwu_vacation_"
  6683. "quest_result\022/\n\tquestList\030\002 \003(\0132\034.msg_in"
  6684. "fo_def.msg_quest_info\"\231\001\n\"packetc2w_recv"
  6685. "_duanwu_login_reward\022`\n\tpacket_id\030\001 \001(\0162"
  6686. ").client2world_protocols.e_server_msg_ty"
  6687. "pe:\"e_mst_c2w_recv_duanwu_login_reward\022\021"
  6688. "\n\tsignIndex\030\002 \001(\005\"\316\001\n)packetw2c_recv_dua"
  6689. "nwu_login_reward_result\022g\n\tpacket_id\030\001 \001"
  6690. "(\0162).client2world_protocols.e_server_msg"
  6691. "_type:)e_mst_w2c_recv_duanwu_login_rewar"
  6692. "d_result\022\021\n\tsignIndex\030\002 \001(\005\022\016\n\006result\030\003 "
  6693. "\001(\005\022\025\n\rexHandbooksId\030\004 \003(\005\"\251\001\n!packetc2w"
  6694. "_recv_duanwu_quest_award\022_\n\tpacket_id\030\001 "
  6695. "\001(\0162).client2world_protocols.e_server_ms"
  6696. "g_type:!e_mst_c2w_recv_duanwu_quest_awar"
  6697. "d\022\017\n\007questId\030\002 \001(\005\022\022\n\nreceiveBit\030\003 \001(\005\"\356"
  6698. "\001\n(packetw2c_recv_duanwu_quest_award_res"
  6699. "ult\022f\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  6700. "otocols.e_server_msg_type:(e_mst_w2c_rec"
  6701. "v_duanwu_quest_award_result\022\016\n\006result\030\002 "
  6702. "\001(\005\022\017\n\007questId\030\003 \001(\005\022\022\n\nreceiveBit\030\004 \001(\005"
  6703. "\022%\n\005items\030\005 \003(\0132\026.msg_info_def.ItemInfo\""
  6704. "\237\001\n$packetc2w_recv_duanwu_handbooks_gold"
  6705. "\022b\n\tpacket_id\030\001 \001(\0162).client2world_proto"
  6706. "cols.e_server_msg_type:$e_mst_c2w_recv_d"
  6707. "uanwu_handbooks_gold\022\023\n\013handbooksId\030\002 \001("
  6708. "\005\"\275\001\n+packetw2c_recv_duanwu_handbooks_go"
  6709. "ld_result\022i\n\tpacket_id\030\001 \001(\0162).client2wo"
  6710. "rld_protocols.e_server_msg_type:+e_mst_w"
  6711. "2c_recv_duanwu_handbooks_gold_result\022\023\n\013"
  6712. "handbooksId\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\232\001\n%pa"
  6713. "cketc2w_recv_duanwu_handbooks_award\022c\n\tp"
  6714. "acket_id\030\001 \001(\0162).client2world_protocols."
  6715. "e_server_msg_type:%e_mst_c2w_recv_duanwu"
  6716. "_handbooks_award\022\014\n\004type\030\002 \001(\005\"\323\001\n,packe"
  6717. "tw2c_recv_duanwu_handbooks_award_result\022"
  6718. "j\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  6719. "ols.e_server_msg_type:,e_mst_w2c_recv_du"
  6720. "anwu_handbooks_award_result\022\016\n\006result\030\002 "
  6721. "\001(\005\022\020\n\010typelist\030\003 \003(\005\022\025\n\rhandbooksGold\030\004"
  6722. " \001(\005\"\200\001\n\030packetc2w_duanwu_lottery\022V\n\tpac"
  6723. "ket_id\030\001 \001(\0162).client2world_protocols.e_"
  6724. "server_msg_type:\030e_mst_c2w_duanwu_lotter"
  6725. "y\022\014\n\004type\030\002 \001(\005\"\260\001\n\037packetw2c_duanwu_lot"
  6726. "tery_result\022]\n\tpacket_id\030\001 \001(\0162).client2"
  6727. "world_protocols.e_server_msg_type:\037e_mst"
  6728. "_w2c_duanwu_lottery_result\022\016\n\006result\030\002 \001"
  6729. "(\005\022\014\n\004type\030\003 \001(\005\022\020\n\010rewardId\030\004 \003(\005\"\300\002\n\"p"
  6730. "acketw2c_syn_summer_vacation_info\022`\n\tpac"
  6731. "ket_id\030\001 \001(\0162).client2world_protocols.e_"
  6732. "server_msg_type:\"e_mst_w2c_syn_summer_va"
  6733. "cation_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tst"
  6734. "artTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\021\n\tsignCo"
  6735. "unt\030\005 \001(\005\022\022\n\nresetTimes\030\006 \001(\005\022\017\n\007canSign"
  6736. "\030\007 \001(\010\022\032\n\022handbooksAwardStat\030\010 \003(\010\022\025\n\rha"
  6737. "ndbooksStat\030\t \003(\005\022\022\n\npaddyCount\030\n \001(\005\"v\n"
  6738. "\032packetc2w_get_summer_quest\022X\n\tpacket_id"
  6739. "\030\001 \001(\0162).client2world_protocols.e_server"
  6740. "_msg_type:\032e_mst_c2w_get_summer_quest\"\265\001"
  6741. "\n!packetw2c_get_summer_quest_result\022_\n\tp"
  6742. "acket_id\030\001 \001(\0162).client2world_protocols."
  6743. "e_server_msg_type:!e_mst_w2c_get_summer_"
  6744. "quest_result\022/\n\tquestList\030\002 \003(\0132\034.msg_in"
  6745. "fo_def.msg_quest_info\"\231\001\n\"packetc2w_recv"
  6746. "_summer_login_reward\022`\n\tpacket_id\030\001 \001(\0162"
  6747. ").client2world_protocols.e_server_msg_ty"
  6748. "pe:\"e_mst_c2w_recv_summer_login_reward\022\021"
  6749. "\n\tsignIndex\030\002 \001(\005\"\316\001\n)packetw2c_recv_sum"
  6750. "mer_login_reward_result\022g\n\tpacket_id\030\001 \001"
  6751. "(\0162).client2world_protocols.e_server_msg"
  6752. "_type:)e_mst_w2c_recv_summer_login_rewar"
  6753. "d_result\022\021\n\tsignIndex\030\002 \001(\005\022\016\n\006result\030\003 "
  6754. "\001(\005\022\025\n\rexHandbooksId\030\004 \003(\005\"\251\001\n!packetc2w"
  6755. "_recv_summer_quest_award\022_\n\tpacket_id\030\001 "
  6756. "\001(\0162).client2world_protocols.e_server_ms"
  6757. "g_type:!e_mst_c2w_recv_summer_quest_awar"
  6758. "d\022\017\n\007questId\030\002 \001(\005\022\022\n\nreceiveBit\030\003 \001(\005\"\356"
  6759. "\001\n(packetw2c_recv_summer_quest_award_res"
  6760. "ult\022f\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  6761. "otocols.e_server_msg_type:(e_mst_w2c_rec"
  6762. "v_summer_quest_award_result\022\016\n\006result\030\002 "
  6763. "\001(\005\022\017\n\007questId\030\003 \001(\005\022\022\n\nreceiveBit\030\004 \001(\005"
  6764. "\022%\n\005items\030\005 \003(\0132\026.msg_info_def.ItemInfo\""
  6765. "\237\001\n$packetc2w_recv_summer_handbooks_gold"
  6766. "\022b\n\tpacket_id\030\001 \001(\0162).client2world_proto"
  6767. "cols.e_server_msg_type:$e_mst_c2w_recv_s"
  6768. "ummer_handbooks_gold\022\023\n\013handbooksId\030\002 \001("
  6769. "\005\"\275\001\n+packetw2c_recv_summer_handbooks_go"
  6770. "ld_result\022i\n\tpacket_id\030\001 \001(\0162).client2wo"
  6771. "rld_protocols.e_server_msg_type:+e_mst_w"
  6772. "2c_recv_summer_handbooks_gold_result\022\023\n\013"
  6773. "handbooksId\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\232\001\n%pa"
  6774. "cketc2w_recv_summer_handbooks_award\022c\n\tp"
  6775. "acket_id\030\001 \001(\0162).client2world_protocols."
  6776. "e_server_msg_type:%e_mst_c2w_recv_summer"
  6777. "_handbooks_award\022\014\n\004type\030\002 \001(\005\"\323\001\n,packe"
  6778. "tw2c_recv_summer_handbooks_award_result\022"
  6779. "j\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  6780. "ols.e_server_msg_type:,e_mst_w2c_recv_su"
  6781. "mmer_handbooks_award_result\022\016\n\006result\030\002 "
  6782. "\001(\005\022\020\n\010typelist\030\003 \003(\005\022\025\n\rhandbooksGold\030\004"
  6783. " \001(\005\"\200\001\n\030packetc2w_summer_lottery\022V\n\tpac"
  6784. "ket_id\030\001 \001(\0162).client2world_protocols.e_"
  6785. "server_msg_type:\030e_mst_c2w_summer_lotter"
  6786. "y\022\014\n\004type\030\002 \001(\005\"\260\001\n\037packetw2c_summer_lot"
  6787. "tery_result\022]\n\tpacket_id\030\001 \001(\0162).client2"
  6788. "world_protocols.e_server_msg_type:\037e_mst"
  6789. "_w2c_summer_lottery_result\022\016\n\006result\030\002 \001"
  6790. "(\005\022\014\n\004type\030\003 \001(\005\022\020\n\010rewardId\030\004 \003(\005\".\n\020on"
  6791. "r_history_info\022\014\n\004name\030\001 \001(\t\022\014\n\004rate\030\002 \001"
  6792. "(\005\"\373\001\n!packetw2c_syn_one_night_rich_info"
  6793. "\022_\n\tpacket_id\030\001 \001(\0162).client2world_proto"
  6794. "cols.e_server_msg_type:!e_mst_w2c_syn_on"
  6795. "e_night_rich_info\022\025\n\ractivityState\030\002 \001(\005"
  6796. "\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\021\n\t"
  6797. "recharged\030\005 \001(\005\022\021\n\tlotteryId\030\006 \001(\005\022\024\n\014re"
  6798. "ceiveCheck\030\007 \003(\010\"\226\001\n#packetc2w_recv_one_"
  6799. "night_rich_award\022a\n\tpacket_id\030\001 \001(\0162).cl"
  6800. "ient2world_protocols.e_server_msg_type:#"
  6801. "e_mst_c2w_recv_one_night_rich_award\022\014\n\004t"
  6802. "ype\030\002 \001(\005\"\267\001\n$packetw2c_recv_one_night_r"
  6803. "ich_result\022b\n\tpacket_id\030\001 \001(\0162).client2w"
  6804. "orld_protocols.e_server_msg_type:$e_mst_"
  6805. "w2c_recv_one_night_rich_result\022\016\n\006result"
  6806. "\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\r\n\005index\030\004 \001(\005\"~\n\036p"
  6807. "acketc2w_recv_onr_historyList\022\\\n\tpacket_"
  6808. "id\030\001 \001(\0162).client2world_protocols.e_serv"
  6809. "er_msg_type:\036e_mst_c2w_recv_onr_historyL"
  6810. "ist\"\313\001\n%packetw2c_recv_onr_historyList_r"
  6811. "esult\022c\n\tpacket_id\030\001 \001(\0162).client2world_"
  6812. "protocols.e_server_msg_type:%e_mst_w2c_r"
  6813. "ecv_onr_historyList_result\022=\n\013historyLis"
  6814. "t\030\004 \003(\0132(.client2world_protocols.onr_his"
  6815. "tory_info\"\322\001\n\037packetw2c_syn_fortune_star"
  6816. "_info\022]\n\tpacket_id\030\001 \001(\0162).client2world_"
  6817. "protocols.e_server_msg_type:\037e_mst_w2c_s"
  6818. "yn_fortune_star_info\022\025\n\ractivityState\030\002 "
  6819. "\001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022"
  6820. "\025\n\rmyFortuneStar\030\005 \001(\005\"\202\001\n packetc2w_get"
  6821. "_fortune_star_quest\022^\n\tpacket_id\030\001 \001(\0162)"
  6822. ".client2world_protocols.e_server_msg_typ"
  6823. "e: e_mst_c2w_get_fortune_star_quest\"\301\001\n\'"
  6824. "packetw2c_get_fortune_star_quest_result\022"
  6825. "e\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  6826. "ols.e_server_msg_type:\'e_mst_w2c_get_for"
  6827. "tune_star_quest_result\022/\n\tquestList\030\002 \003("
  6828. "\0132\034.msg_info_def.msg_quest_info\"\241\001\n\'pack"
  6829. "etc2w_recv_fortune_star_quest_award\022e\n\tp"
  6830. "acket_id\030\001 \001(\0162).client2world_protocols."
  6831. "e_server_msg_type:\'e_mst_c2w_recv_fortun"
  6832. "e_star_quest_award\022\017\n\007questId\030\002 \001(\005\"\346\001\n."
  6833. "packetw2c_recv_fortune_star_quest_award_"
  6834. "result\022l\n\tpacket_id\030\001 \001(\0162).client2world"
  6835. "_protocols.e_server_msg_type:.e_mst_w2c_"
  6836. "recv_fortune_star_quest_award_result\022\016\n\006"
  6837. "result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005items\030\005"
  6838. " \003(\0132\026.msg_info_def.ItemInfo\"\223\001\n!packetc"
  6839. "2w_recv_fortune_star_award\022_\n\tpacket_id\030"
  6840. "\001 \001(\0162).client2world_protocols.e_server_"
  6841. "msg_type:!e_mst_c2w_recv_fortune_star_aw"
  6842. "ard\022\r\n\005index\030\002 \001(\005\"\310\001\n(packetw2c_recv_fo"
  6843. "rtune_star_award_result\022f\n\tpacket_id\030\001 \001"
  6844. "(\0162).client2world_protocols.e_server_msg"
  6845. "_type:(e_mst_w2c_recv_fortune_star_award"
  6846. "_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\025"
  6847. "\n\rmyFortuneStar\030\004 \001(\005\"~\n\ractivity_rank\022\020"
  6848. "\n\010nickName\030\001 \001(\t\022\020\n\010playerId\030\002 \001(\005\022\013\n\003vi"
  6849. "p\030\003 \001(\005\022\016\n\006headid\030\004 \001(\005\022\017\n\007frameid\030\005 \001(\005"
  6850. "\022\r\n\005score\030\006 \001(\005\022\014\n\004rank\030\007 \001(\005\"T\n\037persona"
  6851. "l_tailor_lottery_history\022\020\n\010nickName\030\001 \001"
  6852. "(\t\022\020\n\010itemName\030\002 \001(\t\022\r\n\005count\030\003 \001(\005\"\212\003\n\""
  6853. "packetw2c_syn_personal_tailor_info\022`\n\tpa"
  6854. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  6855. "_server_msg_type:\"e_mst_w2c_syn_personal"
  6856. "_tailor_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\ts"
  6857. "tartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\027\n\017excha"
  6858. "ngeTicket1\030\005 \001(\005\022\027\n\017exchangeTicket2\030\006 \001("
  6859. "\005\022\016\n\006points\030\007 \001(\005\0227\n\010rankList\030\010 \003(\0132%.cl"
  6860. "ient2world_protocols.activity_rank\022L\n\013hi"
  6861. "storyList\030\t \003(\01327.client2world_protocols"
  6862. ".personal_tailor_lottery_history\"\206\001\n\"pac"
  6863. "ketc2w_get_personal_tailor_rank\022`\n\tpacke"
  6864. "t_id\030\001 \001(\0162).client2world_protocols.e_se"
  6865. "rver_msg_type:\"e_mst_c2w_get_personal_ta"
  6866. "ilor_rank\"\337\001\n)packetw2c_get_personal_tai"
  6867. "lor_rank_result\022g\n\tpacket_id\030\001 \001(\0162).cli"
  6868. "ent2world_protocols.e_server_msg_type:)e"
  6869. "_mst_w2c_get_personal_tailor_rank_result"
  6870. "\0227\n\010rankList\030\002 \003(\0132%.client2world_protoc"
  6871. "ols.activity_rank\022\020\n\010myPoints\030\003 \001(\005\"\232\001\n,"
  6872. "packetc2w_get_personal_tailor_lottry_his"
  6873. "tory\022j\n\tpacket_id\030\001 \001(\0162).client2world_p"
  6874. "rotocols.e_server_msg_type:,e_mst_c2w_ge"
  6875. "t_personal_tailor_lottry_history\"\366\001\n3pac"
  6876. "ketw2c_get_personal_tailor_lottry_histor"
  6877. "y_result\022q\n\tpacket_id\030\001 \001(\0162).client2wor"
  6878. "ld_protocols.e_server_msg_type:3e_mst_w2"
  6879. "c_get_personal_tailor_lottry_history_res"
  6880. "ult\022L\n\013historyList\030\002 \003(\01327.client2world_"
  6881. "protocols.personal_tailor_lottery_histor"
  6882. "y\"\223\001\n!packetc2w_personal_tailor_lottery\022"
  6883. "_\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  6884. "ols.e_server_msg_type:!e_mst_c2w_persona"
  6885. "l_tailor_lottery\022\r\n\005count\030\002 \001(\005\"\300\001\n(pack"
  6886. "etw2c_personal_tailor_lottery_result\022f\n\t"
  6887. "packet_id\030\001 \001(\0162).client2world_protocols"
  6888. ".e_server_msg_type:(e_mst_w2c_personal_t"
  6889. "ailor_lottery_result\022\016\n\006result\030\002 \001(\005\022\r\n\005"
  6890. "count\030\003 \001(\005\022\r\n\005index\030\004 \003(\005\"\225\001\n\"packetc2w"
  6891. "_personal_tailor_exchange\022`\n\tpacket_id\030\001"
  6892. " \001(\0162).client2world_protocols.e_server_m"
  6893. "sg_type:\"e_mst_c2w_personal_tailor_excha"
  6894. "nge\022\r\n\005index\030\002 \001(\005\"\263\001\n)packetw2c_persona"
  6895. "l_tailor_exchange_result\022g\n\tpacket_id\030\001 "
  6896. "\001(\0162).client2world_protocols.e_server_ms"
  6897. "g_type:)e_mst_w2c_personal_tailor_exchan"
  6898. "ge_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005"
  6899. "\"\334\001\n&packetw2c_syn_time_limit_purchase_i"
  6900. "nfo\022d\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  6901. "otocols.e_server_msg_type:&e_mst_w2c_syn"
  6902. "_time_limit_purchase_info\022\025\n\ractivitySta"
  6903. "te\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004"
  6904. " \001(\005\022\021\n\titemClock\030\005 \001(\005\"\233\001\n%packetc2w_ti"
  6905. "me_limit_purchase_lottery\022c\n\tpacket_id\030\001"
  6906. " \001(\0162).client2world_protocols.e_server_m"
  6907. "sg_type:%e_mst_c2w_time_limit_purchase_l"
  6908. "ottery\022\r\n\005count\030\002 \001(\005\"\310\001\n,packetw2c_time"
  6909. "_limit_purchase_lottery_result\022j\n\tpacket"
  6910. "_id\030\001 \001(\0162).client2world_protocols.e_ser"
  6911. "ver_msg_type:,e_mst_w2c_time_limit_purch"
  6912. "ase_lottery_result\022\016\n\006result\030\002 \001(\005\022\r\n\005co"
  6913. "unt\030\003 \001(\005\022\r\n\005index\030\004 \003(\005\"\265\001\n\034packetw2c_s"
  6914. "yn_lucky_bag_info\022Z\n\tpacket_id\030\001 \001(\0162).c"
  6915. "lient2world_protocols.e_server_msg_type:"
  6916. "\034e_mst_w2c_syn_lucky_bag_info\022\025\n\ractivit"
  6917. "yState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTi"
  6918. "me\030\004 \001(\005\"\307\001\n%packetw2c_syn_vip_limit_pur"
  6919. "chase_info\022c\n\tpacket_id\030\001 \001(\0162).client2w"
  6920. "orld_protocols.e_server_msg_type:%e_mst_"
  6921. "w2c_syn_vip_limit_purchase_info\022\025\n\ractiv"
  6922. "ityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007end"
  6923. "Time\030\004 \001(\005\"\277\001\n!packetw2c_syn_turret_lott"
  6924. "ery_info\022_\n\tpacket_id\030\001 \001(\0162).client2wor"
  6925. "ld_protocols.e_server_msg_type:!e_mst_w2"
  6926. "c_syn_turret_lottery_info\022\025\n\ractivitySta"
  6927. "te\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004"
  6928. " \001(\005\"\201\001\n\030packetc2w_turret_lottery\022V\n\tpac"
  6929. "ket_id\030\001 \001(\0162).client2world_protocols.e_"
  6930. "server_msg_type:\030e_mst_c2w_turret_lotter"
  6931. "y\022\r\n\005count\030\002 \001(\005\"\256\001\n\037packetw2c_turret_lo"
  6932. "ttery_result\022]\n\tpacket_id\030\001 \001(\0162).client"
  6933. "2world_protocols.e_server_msg_type:\037e_ms"
  6934. "t_w2c_turret_lottery_result\022\016\n\006result\030\002 "
  6935. "\001(\005\022\r\n\005count\030\003 \001(\005\022\r\n\005index\030\004 \003(\005\"\361\001\n pa"
  6936. "cketw2c_syn_smashing_eggs_info\022^\n\tpacket"
  6937. "_id\030\001 \001(\0162).client2world_protocols.e_ser"
  6938. "ver_msg_type: e_mst_w2c_syn_smashing_egg"
  6939. "s_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstartTi"
  6940. "me\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\021\n\trecharged\030\005"
  6941. " \001(\005\022\016\n\006hammer\030\006 \001(\005\022\017\n\007jackpot\030\007 \001(\003\"\202\001"
  6942. "\n packetc2w_get_smashing_eggs_info\022^\n\tpa"
  6943. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  6944. "_server_msg_type: e_mst_c2w_get_smashing"
  6945. "_eggs_info\"~\n\027packetc2w_smashing_eggs\022U\n"
  6946. "\tpacket_id\030\001 \001(\0162).client2world_protocol"
  6947. "s.e_server_msg_type:\027e_mst_c2w_smashing_"
  6948. "eggs\022\014\n\004type\030\002 \001(\005\"\253\001\n\036packetw2c_smashin"
  6949. "g_eggs_result\022\\\n\tpacket_id\030\001 \001(\0162).clien"
  6950. "t2world_protocols.e_server_msg_type:\036e_m"
  6951. "st_w2c_smashing_eggs_result\022\016\n\006result\030\002 "
  6952. "\001(\005\022\014\n\004type\030\003 \001(\005\022\r\n\005index\030\004 \001(\005\"\202\001\n pac"
  6953. "ketc2w_get_smashing_eggs_rank\022^\n\tpacket_"
  6954. "id\030\001 \001(\0162).client2world_protocols.e_serv"
  6955. "er_msg_type: e_mst_c2w_get_smashing_eggs"
  6956. "_rank\"\332\001\n\'packetw2c_get_smashing_eggs_ra"
  6957. "nk_result\022e\n\tpacket_id\030\001 \001(\0162).client2wo"
  6958. "rld_protocols.e_server_msg_type:\'e_mst_w"
  6959. "2c_get_smashing_eggs_rank_result\0227\n\010rank"
  6960. "List\030\002 \003(\0132%.client2world_protocols.acti"
  6961. "vity_rank\022\017\n\007mypoint\030\003 \001(\005\"\311\001\n\037packetw2c"
  6962. "_syn_rich_lottery_info\022]\n\tpacket_id\030\001 \001("
  6963. "\0162).client2world_protocols.e_server_msg_"
  6964. "type:\037e_mst_w2c_syn_rich_lottery_info\022\025\n"
  6965. "\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022"
  6966. "\017\n\007endTime\030\004 \001(\005\022\014\n\004mult\030\005 \001(\005\"n\n\026packet"
  6967. "c2w_rich_lottery\022T\n\tpacket_id\030\001 \001(\0162).cl"
  6968. "ient2world_protocols.e_server_msg_type:\026"
  6969. "e_mst_c2w_rich_lottery\"\232\001\n\035packetw2c_ric"
  6970. "h_lottery_result\022[\n\tpacket_id\030\001 \001(\0162).cl"
  6971. "ient2world_protocols.e_server_msg_type:\035"
  6972. "e_mst_w2c_rich_lottery_result\022\016\n\006result\030"
  6973. "\002 \001(\005\022\014\n\004mult\030\003 \001(\005\"\264\002\n packetw2c_syn_su"
  6974. "mmer_revels_info\022^\n\tpacket_id\030\001 \001(\0162).cl"
  6975. "ient2world_protocols.e_server_msg_type: "
  6976. "e_mst_w2c_syn_summer_revels_info\022\025\n\racti"
  6977. "vityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007en"
  6978. "dTime\030\004 \001(\005\022\016\n\006points\030\005 \001(\005\022\026\n\016todayRech"
  6979. "arged\030\006 \001(\005\0227\n\010rankList\030\007 \003(\0132%.client2w"
  6980. "orld_protocols.activity_rank\022\024\n\014receiveC"
  6981. "heck\030\010 \003(\010\"\202\001\n packetc2w_get_summer_reve"
  6982. "ls_rank\022^\n\tpacket_id\030\001 \001(\0162).client2worl"
  6983. "d_protocols.e_server_msg_type: e_mst_c2w"
  6984. "_get_summer_revels_rank\"\333\001\n\'packetw2c_ge"
  6985. "t_summer_revels_rank_result\022e\n\tpacket_id"
  6986. "\030\001 \001(\0162).client2world_protocols.e_server"
  6987. "_msg_type:\'e_mst_w2c_get_summer_revels_r"
  6988. "ank_result\0227\n\010rankList\030\002 \003(\0132%.client2wo"
  6989. "rld_protocols.activity_rank\022\020\n\010myPoints\030"
  6990. "\003 \001(\005\"\217\001\n\037packetc2w_summer_revels_lotter"
  6991. "y\022]\n\tpacket_id\030\001 \001(\0162).client2world_prot"
  6992. "ocols.e_server_msg_type:\037e_mst_c2w_summe"
  6993. "r_revels_lottery\022\r\n\005index\030\002 \001(\005\"\324\001\n&pack"
  6994. "etw2c_summer_revels_lottery_result\022d\n\tpa"
  6995. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  6996. "_server_msg_type:&e_mst_w2c_summer_revel"
  6997. "s_lottery_result\022\016\n\006result\030\002 \001(\005\022\r\n\005inde"
  6998. "x\030\003 \001(\005\022%\n\005items\030\004 \003(\0132\026.msg_info_def.It"
  6999. "emInfo\"1\n\nattackInfo\022\020\n\010weaponId\030\001 \001(\005\022\021"
  7000. "\n\tharmValue\030\002 \001(\005\"\244\001\n\016demonTowerInfo\022\r\n\005"
  7001. "floor\030\001 \001(\005\022\020\n\010leftLife\030\002 \001(\005\022\020\n\010curRoun"
  7002. "d\030\003 \001(\005\022\021\n\tkillCount\030\004 \001(\005\022\021\n\tstarCount\030"
  7003. "\005 \001(\005\0229\n\rattackHistory\030\006 \003(\0132\".client2wo"
  7004. "rld_protocols.attackInfo\"-\n\nweaponInfo\022\020"
  7005. "\n\010weaponId\030\001 \001(\005\022\r\n\005count\030\002 \001(\005\"\366\003\n\036pack"
  7006. "etw2c_syn_kill_demons_info\022\\\n\tpacket_id\030"
  7007. "\001 \001(\0162).client2world_protocols.e_server_"
  7008. "msg_type:\036e_mst_w2c_syn_kill_demons_info"
  7009. "\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001"
  7010. "(\005\022\017\n\007endTime\030\004 \001(\005\022\022\n\ntrialScore\030\005 \001(\005\022"
  7011. "\031\n\021trialScoreHistory\030\006 \001(\005\022\023\n\013swordEnerg"
  7012. "y\030\007 \001(\005\022\022\n\nsmeltTimes\030\010 \001(\005\022\026\n\016huntDemon"
  7013. "Score\030\t \001(\005\022\024\n\014receiveTrial\030\n \003(\010\022\032\n\022rec"
  7014. "eiveSwordEnergy\030\013 \003(\010\022\023\n\013receiveStar\030\014 \003"
  7015. "(\010\0229\n\ttowerList\030\016 \003(\0132&.client2world_pro"
  7016. "tocols.demonTowerInfo\0226\n\nweaponList\030\017 \003("
  7017. "\0132\".client2world_protocols.weaponInfo\022\021\n"
  7018. "\tstarCount\030\020 \001(\005\"\237\001\n&packetc2w_recv_kill"
  7019. "_demons_quest_award\022d\n\tpacket_id\030\001 \001(\0162)"
  7020. ".client2world_protocols.e_server_msg_typ"
  7021. "e:&e_mst_c2w_recv_kill_demons_quest_awar"
  7022. "d\022\017\n\007questId\030\002 \001(\005\"\344\001\n-packetw2c_recv_ki"
  7023. "ll_demons_quest_award_result\022k\n\tpacket_i"
  7024. "d\030\001 \001(\0162).client2world_protocols.e_serve"
  7025. "r_msg_type:-e_mst_w2c_recv_kill_demons_q"
  7026. "uest_award_result\022\016\n\006result\030\002 \001(\005\022\017\n\007que"
  7027. "stId\030\003 \001(\005\022%\n\005items\030\006 \003(\0132\026.msg_info_def"
  7028. ".ItemInfo\"\221\001\n packetc2w_recv_trial_score"
  7029. "_award\022^\n\tpacket_id\030\001 \001(\0162).client2world"
  7030. "_protocols.e_server_msg_type: e_mst_c2w_"
  7031. "recv_trial_score_award\022\r\n\005index\030\002 \001(\005\"\257\001"
  7032. "\n\'packetw2c_recv_trial_score_award_resul"
  7033. "t\022e\n\tpacket_id\030\001 \001(\0162).client2world_prot"
  7034. "ocols.e_server_msg_type:\'e_mst_w2c_recv_"
  7035. "trial_score_award_result\022\016\n\006result\030\002 \001(\005"
  7036. "\022\r\n\005index\030\003 \001(\005\"\203\001\n\031packetc2w_recv_star_"
  7037. "award\022W\n\tpacket_id\030\001 \001(\0162).client2world_"
  7038. "protocols.e_server_msg_type:\031e_mst_c2w_r"
  7039. "ecv_star_award\022\r\n\005index\030\002 \001(\005\"\241\001\n packet"
  7040. "w2c_recv_star_award_result\022^\n\tpacket_id\030"
  7041. "\001 \001(\0162).client2world_protocols.e_server_"
  7042. "msg_type: e_mst_w2c_recv_star_award_resu"
  7043. "lt\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\241\001\n\026pa"
  7044. "cketc2w_attack_demon\022T\n\tpacket_id\030\001 \001(\0162"
  7045. ").client2world_protocols.e_server_msg_ty"
  7046. "pe:\026e_mst_c2w_attack_demon\022\r\n\005floor\030\002 \001("
  7047. "\005\022\020\n\010isHangUp\030\003 \001(\010\022\020\n\010weaponId\030\004 \001(\005\"\262\002"
  7048. "\n\035packetw2c_attack_demon_result\022[\n\tpacke"
  7049. "t_id\030\001 \001(\0162).client2world_protocols.e_se"
  7050. "rver_msg_type:\035e_mst_w2c_attack_demon_re"
  7051. "sult\022\016\n\006result\030\002 \001(\005\022\r\n\005floor\030\003 \001(\005\022\020\n\010i"
  7052. "sHangUp\030\004 \001(\010\022\020\n\010weaponId\030\005 \003(\005\022\021\n\tharmV"
  7053. "alue\030\006 \003(\005\022\020\n\010curRound\030\007 \001(\005\022\020\n\010LeftLife"
  7054. "\030\010 \001(\005\022\023\n\013balanceStar\030\t \001(\005\022%\n\005items\030\n \003"
  7055. "(\0132\026.msg_info_def.ItemInfo\"~\n\036packetc2w_"
  7056. "get_kill_demons_rank\022\\\n\tpacket_id\030\001 \001(\0162"
  7057. ").client2world_protocols.e_server_msg_ty"
  7058. "pe:\036e_mst_c2w_get_kill_demons_rank\"\224\002\n%p"
  7059. "acketw2c_get_kill_demons_rank_result\022c\n\t"
  7060. "packet_id\030\001 \001(\0162).client2world_protocols"
  7061. ".e_server_msg_type:%e_mst_w2c_get_kill_d"
  7062. "emons_rank_result\0227\n\010rankList\030\002 \003(\0132%.cl"
  7063. "ient2world_protocols.activity_rank\022\026\n\016th"
  7064. "resholdValue\030\003 \003(\005\0225\n\006myRank\030\004 \001(\0132%.cli"
  7065. "ent2world_protocols.activity_rank\"\214\001\n\033pa"
  7066. "cketc2w_kill_demons_smelt\022Y\n\tpacket_id\030\001"
  7067. " \001(\0162).client2world_protocols.e_server_m"
  7068. "sg_type:\033e_mst_c2w_kill_demons_smelt\022\022\n\n"
  7069. "smeltTimes\030\002 \001(\005\"\277\001\n\"packetw2c_kill_demo"
  7070. "ns_smelt_result\022`\n\tpacket_id\030\001 \001(\0162).cli"
  7071. "ent2world_protocols.e_server_msg_type:\"e"
  7072. "_mst_w2c_kill_demons_smelt_result\022\016\n\006res"
  7073. "ult\030\002 \001(\005\022\022\n\nsmeltTimes\030\003 \001(\005\022\023\n\013smeltRe"
  7074. "ward\030\004 \003(\005\"\223\001\n!packetc2w_recv_sword_ener"
  7075. "gy_award\022_\n\tpacket_id\030\001 \001(\0162).client2wor"
  7076. "ld_protocols.e_server_msg_type:!e_mst_c2"
  7077. "w_recv_sword_energy_award\022\r\n\005index\030\002 \001(\005"
  7078. "\"\261\001\n(packetw2c_recv_sword_energy_award_r"
  7079. "esult\022f\n\tpacket_id\030\001 \001(\0162).client2world_"
  7080. "protocols.e_server_msg_type:(e_mst_w2c_r"
  7081. "ecv_sword_energy_award_result\022\016\n\006result\030"
  7082. "\002 \001(\005\022\r\n\005index\030\003 \001(\005\"v\n\032packetc2w_kill_d"
  7083. "emons_task\022X\n\tpacket_id\030\001 \001(\0162).client2w"
  7084. "orld_protocols.e_server_msg_type:\032e_mst_"
  7085. "c2w_kill_demons_task\"\265\001\n!packetw2c_kill_"
  7086. "demons_task_result\022_\n\tpacket_id\030\001 \001(\0162)."
  7087. "client2world_protocols.e_server_msg_type"
  7088. ":!e_mst_w2c_kill_demons_task_result\022/\n\tq"
  7089. "uestList\030\002 \003(\0132\034.msg_info_def.msg_quest_"
  7090. "info\"\250\002\n packetw2c_syn_2020_national_inf"
  7091. "o\022^\n\tpacket_id\030\001 \001(\0162).client2world_prot"
  7092. "ocols.e_server_msg_type: e_mst_w2c_syn_2"
  7093. "020_national_info\022\025\n\ractivityState\030\002 \001(\005"
  7094. "\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\021\n\t"
  7095. "signCount\030\005 \001(\005\022\017\n\007canSign\030\006 \001(\010\022\032\n\022hand"
  7096. "booksAwardStat\030\010 \003(\010\022\025\n\rhandbooksStat\030\t "
  7097. "\003(\005\022\022\n\npaddyCount\030\n \001(\005\"\204\001\n!packetc2w_ge"
  7098. "t_2020_national_quest\022_\n\tpacket_id\030\001 \001(\016"
  7099. "2).client2world_protocols.e_server_msg_t"
  7100. "ype:!e_mst_c2w_get_2020_national_quest\"\303"
  7101. "\001\n(packetw2c_get_2020_national_quest_res"
  7102. "ult\022f\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  7103. "otocols.e_server_msg_type:(e_mst_w2c_get"
  7104. "_2020_national_quest_result\022/\n\tquestList"
  7105. "\030\002 \003(\0132\034.msg_info_def.msg_quest_info\"\247\001\n"
  7106. ")packetc2w_recv_2020_national_login_rewa"
  7107. "rd\022g\n\tpacket_id\030\001 \001(\0162).client2world_pro"
  7108. "tocols.e_server_msg_type:)e_mst_c2w_recv"
  7109. "_2020_national_login_reward\022\021\n\tsignIndex"
  7110. "\030\002 \001(\005\"\334\001\n0packetw2c_recv_2020_national_"
  7111. "login_reward_result\022n\n\tpacket_id\030\001 \001(\0162)"
  7112. ".client2world_protocols.e_server_msg_typ"
  7113. "e:0e_mst_w2c_recv_2020_national_login_re"
  7114. "ward_result\022\021\n\tsignIndex\030\002 \001(\005\022\016\n\006result"
  7115. "\030\003 \001(\005\022\025\n\rexHandbooksId\030\004 \003(\005\"\267\001\n(packet"
  7116. "c2w_recv_2020_national_quest_award\022f\n\tpa"
  7117. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  7118. "_server_msg_type:(e_mst_c2w_recv_2020_na"
  7119. "tional_quest_award\022\017\n\007questId\030\002 \001(\005\022\022\n\nr"
  7120. "eceiveBit\030\003 \001(\005\"\374\001\n/packetw2c_recv_2020_"
  7121. "national_quest_award_result\022m\n\tpacket_id"
  7122. "\030\001 \001(\0162).client2world_protocols.e_server"
  7123. "_msg_type:/e_mst_w2c_recv_2020_national_"
  7124. "quest_award_result\022\016\n\006result\030\002 \001(\005\022\017\n\007qu"
  7125. "estId\030\003 \001(\005\022\022\n\nreceiveBit\030\004 \001(\005\022%\n\005items"
  7126. "\030\005 \003(\0132\026.msg_info_def.ItemInfo\"\255\001\n+packe"
  7127. "tc2w_recv_2020_national_handbooks_gold\022i"
  7128. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  7129. "ls.e_server_msg_type:+e_mst_c2w_recv_202"
  7130. "0_national_handbooks_gold\022\023\n\013handbooksId"
  7131. "\030\002 \001(\005\"\313\001\n2packetw2c_recv_2020_national_"
  7132. "handbooks_gold_result\022p\n\tpacket_id\030\001 \001(\016"
  7133. "2).client2world_protocols.e_server_msg_t"
  7134. "ype:2e_mst_w2c_recv_2020_national_handbo"
  7135. "oks_gold_result\022\023\n\013handbooksId\030\002 \001(\005\022\016\n\006"
  7136. "result\030\003 \001(\005\"\250\001\n,packetc2w_recv_2020_nat"
  7137. "ional_handbooks_award\022j\n\tpacket_id\030\001 \001(\016"
  7138. "2).client2world_protocols.e_server_msg_t"
  7139. "ype:,e_mst_c2w_recv_2020_national_handbo"
  7140. "oks_award\022\014\n\004type\030\002 \001(\005\"\306\001\n3packetw2c_re"
  7141. "cv_2020_national_handbooks_award_result\022"
  7142. "q\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  7143. "ols.e_server_msg_type:3e_mst_w2c_recv_20"
  7144. "20_national_handbooks_award_result\022\016\n\006re"
  7145. "sult\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\"\216\001\n\037packetc2w_2"
  7146. "020_national_lottery\022]\n\tpacket_id\030\001 \001(\0162"
  7147. ").client2world_protocols.e_server_msg_ty"
  7148. "pe:\037e_mst_c2w_2020_national_lottery\022\014\n\004t"
  7149. "ype\030\002 \001(\005\"\276\001\n&packetw2c_2020_national_lo"
  7150. "ttery_result\022d\n\tpacket_id\030\001 \001(\0162).client"
  7151. "2world_protocols.e_server_msg_type:&e_ms"
  7152. "t_w2c_2020_national_lottery_result\022\016\n\006re"
  7153. "sult\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\020\n\010rewardId\030\004 \003"
  7154. "(\005\"\336\001\n&packetw2c_syn_personal_tailor_new"
  7155. "_info\022d\n\tpacket_id\030\001 \001(\0162).client2world_"
  7156. "protocols.e_server_msg_type:&e_mst_w2c_s"
  7157. "yn_personal_tailor_new_info\022\025\n\ractivityS"
  7158. "tate\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime"
  7159. "\030\004 \001(\005\022\023\n\013tailorItems\030\005 \003(\005\"\243\001\n&packetc2"
  7160. "w_change_personal_tailor_items\022d\n\tpacket"
  7161. "_id\030\001 \001(\0162).client2world_protocols.e_ser"
  7162. "ver_msg_type:&e_mst_c2w_change_personal_"
  7163. "tailor_items\022\023\n\013tailorItems\030\002 \003(\005\"\301\001\n-pa"
  7164. "cketw2c_change_personal_tailor_items_res"
  7165. "ult\022k\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  7166. "otocols.e_server_msg_type:-e_mst_w2c_cha"
  7167. "nge_personal_tailor_items_result\022\023\n\013tail"
  7168. "orItems\030\002 \003(\005\022\016\n\006result\030\003 \001(\005\"\325\001\n,packet"
  7169. "w2c_syn_super_value_gift_activity_info\022j"
  7170. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  7171. "ls.e_server_msg_type:,e_mst_w2c_syn_supe"
  7172. "r_value_gift_activity_info\022\025\n\ractivitySt"
  7173. "ate\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030"
  7174. "\004 \001(\005\"\234\003\n packetw2c_syn_double_eleven_in"
  7175. "fo\022^\n\tpacket_id\030\001 \001(\0162).client2world_pro"
  7176. "tocols.e_server_msg_type: e_mst_w2c_syn_"
  7177. "double_eleven_info\022\025\n\ractivityState\030\002 \001("
  7178. "\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\025\n"
  7179. "\rlotteryTicket\030\005 \001(\005\022\024\n\014lotteryCount\030\006 \001"
  7180. "(\005\022\022\n\nluckyValue\030\007 \001(\005\022\021\n\trecharged\030\010 \001("
  7181. "\005\022\025\n\rrechargeCheck\030\t \003(\005\022\021\n\tleftCount\030\n "
  7182. "\003(\005\022\016\n\006canbuy\030\013 \003(\010\0227\n\010rankList\030\014 \003(\0132%."
  7183. "client2world_protocols.activity_rank\022\026\n\016"
  7184. "thresholdValue\030\r \003(\005\"\204\001\n!packetc2w_get_d"
  7185. "ouble_eleven_quest\022_\n\tpacket_id\030\001 \001(\0162)."
  7186. "client2world_protocols.e_server_msg_type"
  7187. ":!e_mst_c2w_get_double_eleven_quest\"\303\001\n("
  7188. "packetw2c_get_double_eleven_quest_result"
  7189. "\022f\n\tpacket_id\030\001 \001(\0162).client2world_proto"
  7190. "cols.e_server_msg_type:(e_mst_w2c_get_do"
  7191. "uble_eleven_quest_result\022/\n\tquestList\030\002 "
  7192. "\003(\0132\034.msg_info_def.msg_quest_info\"\245\001\n(pa"
  7193. "cketw2c_syn_double_eleven_gift_reflush\022f"
  7194. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  7195. "ls.e_server_msg_type:(e_mst_w2c_syn_doub"
  7196. "le_eleven_gift_reflush\022\021\n\tleftCount\030\002 \003("
  7197. "\005\"\202\001\n packetc2w_get_double_eleven_rank\022^"
  7198. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  7199. "ls.e_server_msg_type: e_mst_c2w_get_doub"
  7200. "le_eleven_rank\"\202\002\n\'packetw2c_get_double_"
  7201. "eleven_rank_result\022e\n\tpacket_id\030\001 \001(\0162)."
  7202. "client2world_protocols.e_server_msg_type"
  7203. ":\'e_mst_w2c_get_double_eleven_rank_resul"
  7204. "t\0227\n\010rankList\030\002 \003(\0132%.client2world_proto"
  7205. "cols.activity_rank\022\017\n\007myCount\030\003 \001(\005\022\016\n\006m"
  7206. "yRank\030\004 \001(\005\022\026\n\016thresholdValue\030\005 \003(\005\"\235\001\n\037"
  7207. "packetc2w_double_eleven_lottery\022]\n\tpacke"
  7208. "t_id\030\001 \001(\0162).client2world_protocols.e_se"
  7209. "rver_msg_type:\037e_mst_c2w_double_eleven_l"
  7210. "ottery\022\014\n\004type\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\"\341\001\n&"
  7211. "packetw2c_double_eleven_lottery_result\022d"
  7212. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  7213. "ls.e_server_msg_type:&e_mst_w2c_double_e"
  7214. "leven_lottery_result\022\016\n\006result\030\002 \001(\005\022\014\n\004"
  7215. "type\030\003 \001(\005\022\r\n\005count\030\004 \001(\005\022\020\n\010rewardid\030\005 "
  7216. "\003(\005\022\022\n\nrewardidEx\030\006 \003(\005\"\257\001\n/packetc2w_re"
  7217. "ceive_double_eleven_recharge_reward\022m\n\tp"
  7218. "acket_id\030\001 \001(\0162).client2world_protocols."
  7219. "e_server_msg_type:/e_mst_c2w_receive_dou"
  7220. "ble_eleven_recharge_reward\022\r\n\005index\030\002 \001("
  7221. "\005\"\315\001\n6packetw2c_receive_double_eleven_re"
  7222. "charge_reward_result\022t\n\tpacket_id\030\001 \001(\0162"
  7223. ").client2world_protocols.e_server_msg_ty"
  7224. "pe:6e_mst_w2c_receive_double_eleven_rech"
  7225. "arge_reward_result\022\016\n\006result\030\002 \001(\005\022\r\n\005in"
  7226. "dex\030\003 \001(\005\"\236\001\n.packetc2w_syn_double_eleve"
  7227. "n_diamond_gift_count\022l\n\tpacket_id\030\001 \001(\0162"
  7228. ").client2world_protocols.e_server_msg_ty"
  7229. "pe:.e_mst_c2w_syn_double_eleven_diamond_"
  7230. "gift_count\"\317\001\n5packetw2c_syn_double_elev"
  7231. "en_diamond_gift_count_result\022s\n\tpacket_i"
  7232. "d\030\001 \001(\0162).client2world_protocols.e_serve"
  7233. "r_msg_type:5e_mst_w2c_syn_double_eleven_"
  7234. "diamond_gift_count_result\022\021\n\tleftCount\030\002"
  7235. " \003(\005\022\016\n\006canbuy\030\003 \003(\010\"\243\001\n(packetc2w_recv_"
  7236. "double_eleven_quest_award\022f\n\tpacket_id\030\001"
  7237. " \001(\0162).client2world_protocols.e_server_m"
  7238. "sg_type:(e_mst_c2w_recv_double_eleven_qu"
  7239. "est_award\022\017\n\007questId\030\002 \001(\005\"\350\001\n/packetw2c"
  7240. "_recv_double_eleven_quest_award_result\022m"
  7241. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  7242. "ls.e_server_msg_type:/e_mst_w2c_recv_dou"
  7243. "ble_eleven_quest_award_result\022\016\n\006result\030"
  7244. "\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005items\030\006 \003(\0132\026."
  7245. "msg_info_def.ItemInfo\"\245\001\n*packetc2w_doub"
  7246. "le_eleven_buy_lottery_ticket\022h\n\tpacket_i"
  7247. "d\030\001 \001(\0162).client2world_protocols.e_serve"
  7248. "r_msg_type:*e_mst_c2w_double_eleven_buy_"
  7249. "lottery_ticket\022\r\n\005index\030\002 \001(\005\"\303\001\n1packet"
  7250. "w2c_double_eleven_buy_lottery_ticket_res"
  7251. "ult\022o\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  7252. "otocols.e_server_msg_type:1e_mst_w2c_dou"
  7253. "ble_eleven_buy_lottery_ticket_result\022\016\n\006"
  7254. "result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\323\001\n\"packetw2"
  7255. "c_syn_wing_experience_info\022`\n\tpacket_id\030"
  7256. "\001 \001(\0162).client2world_protocols.e_server_"
  7257. "msg_type:\"e_mst_w2c_syn_wing_experience_"
  7258. "info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstartTime"
  7259. "\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\020\n\010received\030\005 \001("
  7260. "\010\"\216\001\n&packetc2w_wing_experience_receive_"
  7261. "wing\022d\n\tpacket_id\030\001 \001(\0162).client2world_p"
  7262. "rotocols.e_server_msg_type:&e_mst_c2w_wi"
  7263. "ng_experience_receive_wing\"\254\001\n-packetw2c"
  7264. "_wing_experience_receive_wing_result\022k\n\t"
  7265. "packet_id\030\001 \001(\0162).client2world_protocols"
  7266. ".e_server_msg_type:-e_mst_w2c_wing_exper"
  7267. "ience_receive_wing_result\022\016\n\006result\030\002 \001("
  7268. "\005\")\n\014exchangeInfo\022\n\n\002id\030\001 \001(\005\022\r\n\005times\030\002"
  7269. " \001(\005\"\322\003\n\034packetw2c_syn_kingcraft_info\022Z\n"
  7270. "\tpacket_id\030\001 \001(\0162).client2world_protocol"
  7271. "s.e_server_msg_type:\034e_mst_w2c_syn_kingc"
  7272. "raft_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstar"
  7273. "tTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\023\n\013shieldCo"
  7274. "unt\030\005 \001(\005\022\025\n\rlotteryTicket\030\006 \001(\005\022\024\n\014lott"
  7275. "eryCount\030\007 \001(\005\022\021\n\trecharged\030\010 \001(\005\022\025\n\rrec"
  7276. "hargeCheck\030\t \003(\005\022\021\n\tsignCount\030\n \001(\005\022\017\n\007c"
  7277. "anSign\030\013 \001(\010\0227\n\010rankList\030\014 \003(\0132%.client2"
  7278. "world_protocols.activity_rank\022\026\n\016thresho"
  7279. "ldValue\030\r \003(\005\022:\n\014exchangeList\030\016 \003(\0132$.cl"
  7280. "ient2world_protocols.exchangeInfo\"z\n\034pac"
  7281. "ketc2w_get_kingcraft_rank\022Z\n\tpacket_id\030\001"
  7282. " \001(\0162).client2world_protocols.e_server_m"
  7283. "sg_type:\034e_mst_c2w_get_kingcraft_rank\"\372\001"
  7284. "\n#packetw2c_get_kingcraft_rank_result\022a\n"
  7285. "\tpacket_id\030\001 \001(\0162).client2world_protocol"
  7286. "s.e_server_msg_type:#e_mst_w2c_get_kingc"
  7287. "raft_rank_result\0227\n\010rankList\030\002 \003(\0132%.cli"
  7288. "ent2world_protocols.activity_rank\022\017\n\007myC"
  7289. "ount\030\003 \001(\005\022\016\n\006myRank\030\004 \001(\005\022\026\n\016thresholdV"
  7290. "alue\030\005 \003(\005\"\225\001\n\033packetc2w_kingcraft_lotte"
  7291. "ry\022Y\n\tpacket_id\030\001 \001(\0162).client2world_pro"
  7292. "tocols.e_server_msg_type:\033e_mst_c2w_king"
  7293. "craft_lottery\022\014\n\004type\030\002 \001(\005\022\r\n\005count\030\003 \001"
  7294. "(\005\"\305\001\n\"packetw2c_kingcraft_lottery_resul"
  7295. "t\022`\n\tpacket_id\030\001 \001(\0162).client2world_prot"
  7296. "ocols.e_server_msg_type:\"e_mst_w2c_kingc"
  7297. "raft_lottery_result\022\016\n\006result\030\002 \001(\005\022\014\n\004t"
  7298. "ype\030\003 \001(\005\022\r\n\005count\030\004 \001(\005\022\020\n\010rewardid\030\005 \003"
  7299. "(\005\"\247\001\n+packetc2w_receive_kingcraft_recha"
  7300. "rge_reward\022i\n\tpacket_id\030\001 \001(\0162).client2w"
  7301. "orld_protocols.e_server_msg_type:+e_mst_"
  7302. "c2w_receive_kingcraft_recharge_reward\022\r\n"
  7303. "\005index\030\002 \001(\005\"\305\001\n2packetw2c_receive_kingc"
  7304. "raft_recharge_reward_result\022p\n\tpacket_id"
  7305. "\030\001 \001(\0162).client2world_protocols.e_server"
  7306. "_msg_type:2e_mst_w2c_receive_kingcraft_r"
  7307. "echarge_reward_result\022\016\n\006result\030\002 \001(\005\022\r\n"
  7308. "\005index\030\003 \001(\005\"\231\001\n$packetc2w_receive_kingc"
  7309. "raft_exchange\022b\n\tpacket_id\030\001 \001(\0162).clien"
  7310. "t2world_protocols.e_server_msg_type:$e_m"
  7311. "st_c2w_receive_kingcraft_exchange\022\r\n\005ind"
  7312. "ex\030\002 \001(\005\"\267\001\n+packetw2c_receive_kingcraft"
  7313. "_exchange_result\022i\n\tpacket_id\030\001 \001(\0162).cl"
  7314. "ient2world_protocols.e_server_msg_type:+"
  7315. "e_mst_w2c_receive_kingcraft_exchange_res"
  7316. "ult\022\r\n\005index\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\203\001\n\030p"
  7317. "acketc2w_kingcraft_sign\022V\n\tpacket_id\030\001 \001"
  7318. "(\0162).client2world_protocols.e_server_msg"
  7319. "_type:\030e_mst_c2w_kingcraft_sign\022\017\n\007signd"
  7320. "ay\030\002 \001(\005\"\241\001\n\037packetw2c_kingcraft_sign_re"
  7321. "sult\022]\n\tpacket_id\030\001 \001(\0162).client2world_p"
  7322. "rotocols.e_server_msg_type:\037e_mst_w2c_ki"
  7323. "ngcraft_sign_result\022\017\n\007signday\030\002 \001(\005\022\016\n\006"
  7324. "result\030\003 \001(\005\"\311\001\n&packetw2c_syn_double_eg"
  7325. "g_activity_info\022d\n\tpacket_id\030\001 \001(\0162).cli"
  7326. "ent2world_protocols.e_server_msg_type:&e"
  7327. "_mst_w2c_syn_double_egg_activity_info\022\025\n"
  7328. "\ractivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022"
  7329. "\017\n\007endTime\030\004 \001(\005\"3\n\023touchingFishRecInfo\022"
  7330. "\n\n\002id\030\001 \001(\005\022\020\n\010recValue\030\002 \001(\005\"\237\003\n)packet"
  7331. "w2c_syn_touching_fish_activity_info\022g\n\tp"
  7332. "acket_id\030\001 \001(\0162).client2world_protocols."
  7333. "e_server_msg_type:)e_mst_w2c_syn_touchin"
  7334. "g_fish_activity_info\022\025\n\ractivityState\030\002 "
  7335. "\001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022"
  7336. "\016\n\006season\030\005 \001(\005\022\013\n\003exp\030\006 \001(\005\022\r\n\005level\030\007 "
  7337. "\001(\005\022\017\n\007curweek\030\010 \001(\005\022\025\n\rweekStartTime\030\t "
  7338. "\001(\005\022\023\n\013weekEndTime\030\n \001(\005\022\017\n\007weekExp\030\013 \001("
  7339. "\005\022@\n\013levelRevIds\030\014 \003(\0132+.client2world_pr"
  7340. "otocols.touchingFishRecInfo\022\022\n\nweekBoxRe"
  7341. "v\030\r \001(\005\"\255\001\n\037packetw2c_syn_touching_fish_"
  7342. "exp\022]\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  7343. "otocols.e_server_msg_type:\037e_mst_w2c_syn"
  7344. "_touching_fish_exp\022\013\n\003exp\030\002 \001(\005\022\r\n\005level"
  7345. "\030\003 \001(\005\022\017\n\007weekExp\030\004 \001(\005\"\243\001\n)packetc2w_re"
  7346. "cv_touching_fish_level_reward\022g\n\tpacket_"
  7347. "id\030\001 \001(\0162).client2world_protocols.e_serv"
  7348. "er_msg_type:)e_mst_c2w_recv_touching_fis"
  7349. "h_level_reward\022\r\n\005recId\030\016 \001(\005\"\323\001\n0packet"
  7350. "w2c_recv_touching_fish_level_reward_resu"
  7351. "lt\022n\n\tpacket_id\030\001 \001(\0162).client2world_pro"
  7352. "tocols.e_server_msg_type:0e_mst_w2c_recv"
  7353. "_touching_fish_level_reward_result\022\016\n\006re"
  7354. "sult\030\002 \001(\005\022\r\n\005recId\030\003 \001(\005\022\020\n\010recValue\030\004 "
  7355. "\001(\005\"\204\001\n!packetc2w_recv_touching_fish_tas"
  7356. "k\022_\n\tpacket_id\030\001 \001(\0162).client2world_prot"
  7357. "ocols.e_server_msg_type:!e_mst_c2w_recv_"
  7358. "touching_fish_task\"\370\001\n(packetw2c_recv_to"
  7359. "uching_fish_task_result\022f\n\tpacket_id\030\001 \001"
  7360. "(\0162).client2world_protocols.e_server_msg"
  7361. "_type:(e_mst_w2c_recv_touching_fish_task"
  7362. "_result\022/\n\tquestList\030\002 \003(\0132\034.msg_info_de"
  7363. "f.msg_quest_info\0223\n\rweekQuestList\030\003 \003(\0132"
  7364. "\034.msg_info_def.msg_quest_info\"\243\001\n(packet"
  7365. "c2w_recv_touching_fish_quest_award\022f\n\tpa"
  7366. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  7367. "_server_msg_type:(e_mst_c2w_recv_touchin"
  7368. "g_fish_quest_award\022\017\n\007questId\030\002 \001(\005\"\350\001\n/"
  7369. "packetw2c_recv_touching_fish_quest_award"
  7370. "_result\022m\n\tpacket_id\030\001 \001(\0162).client2worl"
  7371. "d_protocols.e_server_msg_type:/e_mst_w2c"
  7372. "_recv_touching_fish_quest_award_result\022\016"
  7373. "\n\006result\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022%\n\005items"
  7374. "\030\004 \003(\0132\026.msg_info_def.ItemInfo\"\214\001\n%packe"
  7375. "tc2w_recv_touching_fish_week_box\022c\n\tpack"
  7376. "et_id\030\001 \001(\0162).client2world_protocols.e_s"
  7377. "erver_msg_type:%e_mst_c2w_recv_touching_"
  7378. "fish_week_box\"\345\001\n,packetw2c_recv_touchin"
  7379. "g_fish_week_box_result\022j\n\tpacket_id\030\001 \001("
  7380. "\0162).client2world_protocols.e_server_msg_"
  7381. "type:,e_mst_w2c_recv_touching_fish_week_"
  7382. "box_result\022\016\n\006result\030\002 \001(\005\022\022\n\nweekBoxRev"
  7383. "\030\003 \001(\005\022%\n\005items\030\004 \003(\0132\026.msg_info_def.Ite"
  7384. "mInfo\"\231\001\n#packetc2w_flush_touching_fish_"
  7385. "quest\022a\n\tpacket_id\030\001 \001(\0162).client2world_"
  7386. "protocols.e_server_msg_type:#e_mst_c2w_f"
  7387. "lush_touching_fish_quest\022\017\n\007questId\030\002 \001("
  7388. "\005\"\313\001\n*packetw2c_flush_touching_fish_ques"
  7389. "t_result\022h\n\tpacket_id\030\001 \001(\0162).client2wor"
  7390. "ld_protocols.e_server_msg_type:*e_mst_w2"
  7391. "c_flush_touching_fish_quest_result\022\016\n\006re"
  7392. "sult\030\002 \001(\005\022\017\n\007questId\030\003 \001(\005\022\022\n\nnewQuestI"
  7393. "d\030\004 \001(\005\"\202\001\n packetc2w_get_touching_fish_"
  7394. "rank\022^\n\tpacket_id\030\001 \001(\0162).client2world_p"
  7395. "rotocols.e_server_msg_type: e_mst_c2w_ge"
  7396. "t_touching_fish_rank\"\230\002\n\'packetw2c_get_t"
  7397. "ouching_fish_rank_result\022e\n\tpacket_id\030\001 "
  7398. "\001(\0162).client2world_protocols.e_server_ms"
  7399. "g_type:\'e_mst_w2c_get_touching_fish_rank"
  7400. "_result\0227\n\010rankList\030\002 \003(\0132%.client2world"
  7401. "_protocols.activity_rank\022\026\n\016thresholdVal"
  7402. "ue\030\003 \003(\005\0225\n\006myRank\030\004 \001(\0132%.client2world_"
  7403. "protocols.activity_rank\"\327\004\n&packetw2c_sy"
  7404. "n_fishing_celebration_info\022d\n\tpacket_id\030"
  7405. "\001 \001(\0162).client2world_protocols.e_server_"
  7406. "msg_type:&e_mst_w2c_syn_fishing_celebrat"
  7407. "ion_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tstart"
  7408. "Time\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\r\n\005curlv\030\005 \001"
  7409. "(\005\022\023\n\013bubbleScore\030\006 \001(\005\022\021\n\tcleTicket\030\007 \001"
  7410. "(\005\022\030\n\020cleLotteryTicket\030\010 \001(\005\022\024\n\014lotteryC"
  7411. "ount\030\t \001(\005\022\030\n\020giftLotteryCount\030\n \003(\005\022\034\n\024"
  7412. "giftLotteryFreeCount\030\013 \003(\005\022\030\n\020giftLotter"
  7413. "yState\030\014 \003(\005\022\031\n\021giftLotteryTicket\030\r \003(\005\022"
  7414. ":\n\014exchangeList\030\016 \003(\0132$.client2world_pro"
  7415. "tocols.exchangeInfo\022\r\n\005itemA\030\017 \001(\010\022\r\n\005it"
  7416. "emB\030\020 \001(\010\022\r\n\005itemC\030\021 \001(\010\0227\n\010rankList\030\022 \003"
  7417. "(\0132%.client2world_protocols.activity_ran"
  7418. "k\022\026\n\016thresholdValue\030\023 \003(\005\"\256\001\n%packetc2w_"
  7419. "fishing_celebration_lottery\022c\n\tpacket_id"
  7420. "\030\001 \001(\0162).client2world_protocols.e_server"
  7421. "_msg_type:%e_mst_c2w_fishing_celebration"
  7422. "_lottery\022\022\n\nallLottery\030\002 \001(\010\022\014\n\004type\030\003 \001"
  7423. "(\005\"\362\001\n,packetw2c_fishing_celebration_lot"
  7424. "tery_result\022j\n\tpacket_id\030\001 \001(\0162).client2"
  7425. "world_protocols.e_server_msg_type:,e_mst"
  7426. "_w2c_fishing_celebration_lottery_result\022"
  7427. "\016\n\006result\030\002 \001(\005\022\022\n\nallLottery\030\003 \001(\010\022\014\n\004t"
  7428. "ype\030\004 \001(\005\022\022\n\ncostTocket\030\005 \001(\005\022\020\n\010rewardi"
  7429. "d\030\006 \003(\005\"\232\001\n&packetc2w_fishing_celebratio"
  7430. "n_activate\022d\n\tpacket_id\030\001 \001(\0162).client2w"
  7431. "orld_protocols.e_server_msg_type:&e_mst_"
  7432. "c2w_fishing_celebration_activate\022\n\n\002lv\030\002"
  7433. " \001(\005\"\270\001\n-packetw2c_fishing_celebration_a"
  7434. "ctivate_result\022k\n\tpacket_id\030\001 \001(\0162).clie"
  7435. "nt2world_protocols.e_server_msg_type:-e_"
  7436. "mst_w2c_fishing_celebration_activate_res"
  7437. "ult\022\016\n\006result\030\002 \001(\005\022\n\n\002lv\030\003 \001(\005\"\254\001\n&pack"
  7438. "etc2w_fishing_celebration_exchange\022d\n\tpa"
  7439. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  7440. "_server_msg_type:&e_mst_c2w_fishing_cele"
  7441. "bration_exchange\022\r\n\005index\030\002 \001(\005\022\r\n\005count"
  7442. "\030\003 \001(\005\"\332\001\n-packetw2c_fishing_celebration"
  7443. "_exchange_result\022k\n\tpacket_id\030\001 \001(\0162).cl"
  7444. "ient2world_protocols.e_server_msg_type:-"
  7445. "e_mst_w2c_fishing_celebration_exchange_r"
  7446. "esult\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\r\n\005"
  7447. "count\030\004 \001(\005\022\016\n\006getpro\030\005 \001(\005\"\273\001\n3packetw2"
  7448. "c_syn_fishing_celebration_free_gift_lott"
  7449. "ery\022q\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  7450. "otocols.e_server_msg_type:3e_mst_w2c_syn"
  7451. "_fishing_celebration_free_gift_lottery\022\021"
  7452. "\n\tfreeCount\030\002 \003(\005\"\263\001\n*packetc2w_fishing_"
  7453. "celebration_gift_lottery\022h\n\tpacket_id\030\001 "
  7454. "\001(\0162).client2world_protocols.e_server_ms"
  7455. "g_type:*e_mst_c2w_fishing_celebration_gi"
  7456. "ft_lottery\022\014\n\004type\030\002 \001(\005\022\r\n\005isAdv\030\003 \001(\010\""
  7457. "\366\001\n1packetw2c_fishing_celebration_gift_l"
  7458. "ottery_result\022o\n\tpacket_id\030\001 \001(\0162).clien"
  7459. "t2world_protocols.e_server_msg_type:1e_m"
  7460. "st_w2c_fishing_celebration_gift_lottery_"
  7461. "result\022\016\n\006result\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\r\n\005"
  7462. "isAdv\030\004 \001(\010\022\020\n\010rewardid\030\005 \001(\005\022\021\n\tfreeCou"
  7463. "nt\030\006 \003(\005\"\262\001\n1packetc2w_fishing_celebrati"
  7464. "on_gift_lottery_reward\022o\n\tpacket_id\030\001 \001("
  7465. "\0162).client2world_protocols.e_server_msg_"
  7466. "type:1e_mst_c2w_fishing_celebration_gift"
  7467. "_lottery_reward\022\014\n\004type\030\002 \001(\005\"\320\001\n8packet"
  7468. "w2c_fishing_celebration_gift_lottery_rew"
  7469. "ard_result\022v\n\tpacket_id\030\001 \001(\0162).client2w"
  7470. "orld_protocols.e_server_msg_type:8e_mst_"
  7471. "w2c_fishing_celebration_gift_lottery_rew"
  7472. "ard_result\022\016\n\006result\030\002 \001(\005\022\014\n\004type\030\003 \001(\005"
  7473. "\"\235\001\n&packetc2w_fishing_celebration_buy_g"
  7474. "ift\022d\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  7475. "otocols.e_server_msg_type:&e_mst_c2w_fis"
  7476. "hing_celebration_buy_gift\022\r\n\005index\030\002 \001(\005"
  7477. "\"\273\001\n-packetw2c_fishing_celebration_buy_g"
  7478. "ift_result\022k\n\tpacket_id\030\001 \001(\0162).client2w"
  7479. "orld_protocols.e_server_msg_type:-e_mst_"
  7480. "w2c_fishing_celebration_buy_gift_result\022"
  7481. "\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\216\001\n&packe"
  7482. "tc2w_get_fishing_celebration_rank\022d\n\tpac"
  7483. "ket_id\030\001 \001(\0162).client2world_protocols.e_"
  7484. "server_msg_type:&e_mst_c2w_get_fishing_c"
  7485. "elebration_rank\"\244\002\n-packetw2c_get_fishin"
  7486. "g_celebration_rank_result\022k\n\tpacket_id\030\001"
  7487. " \001(\0162).client2world_protocols.e_server_m"
  7488. "sg_type:-e_mst_w2c_get_fishing_celebrati"
  7489. "on_rank_result\0227\n\010rankList\030\002 \003(\0132%.clien"
  7490. "t2world_protocols.activity_rank\022\026\n\016thres"
  7491. "holdValue\030\003 \003(\005\0225\n\006myRank\030\004 \001(\0132%.client"
  7492. "2world_protocols.activity_rank\"7\n\010prizeK"
  7493. "ey\022\014\n\004gear\030\001 \001(\005\022\014\n\004rank\030\002 \001(\005\022\017\n\007keyLis"
  7494. "t\030\003 \003(\t\"\251\002\n\034packetw2c_syn_feed_back_info"
  7495. "\022Z\n\tpacket_id\030\001 \001(\0162).client2world_proto"
  7496. "cols.e_server_msg_type:\034e_mst_w2c_syn_fe"
  7497. "ed_back_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\ts"
  7498. "tartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\022\023\n\013recei"
  7499. "veTime\030\005 \001(\005\022\017\n\007curGear\030\006 \001(\005\022\027\n\017vipReve"
  7500. "iveCount\030\007 \003(\005\0223\n\tprizeList\030\010 \003(\0132 .clie"
  7501. "nt2world_protocols.prizeKey\"\224\001\n\"packetc2"
  7502. "w_get_feed_back_vip_reward\022`\n\tpacket_id\030"
  7503. "\001 \001(\0162).client2world_protocols.e_server_"
  7504. "msg_type:\"e_mst_c2w_get_feed_back_vip_re"
  7505. "ward\022\014\n\004gear\030\002 \001(\005\"\330\001\n)packetw2c_get_fee"
  7506. "d_back_vip_reward_result\022g\n\tpacket_id\030\001 "
  7507. "\001(\0162).client2world_protocols.e_server_ms"
  7508. "g_type:)e_mst_w2c_get_feed_back_vip_rewa"
  7509. "rd_result\022\016\n\006result\030\002 \001(\005\022\013\n\003vip\030\003 \001(\005\022\027"
  7510. "\n\017vipReveiveCount\030\004 \001(\005\022\014\n\004gear\030\005 \001(\005\"\216\001"
  7511. "\n\037packetc2w_get_feed_back_keylist\022]\n\tpac"
  7512. "ket_id\030\001 \001(\0162).client2world_protocols.e_"
  7513. "server_msg_type:\037e_mst_c2w_get_feed_back"
  7514. "_keylist\022\014\n\004gear\030\002 \001(\005\"\255\001\n&packetw2c_get"
  7515. "_feed_back_keylist_result\022d\n\tpacket_id\030\001"
  7516. " \001(\0162).client2world_protocols.e_server_m"
  7517. "sg_type:&e_mst_w2c_get_feed_back_keylist"
  7518. "_result\022\014\n\004gear\030\002 \001(\005\022\017\n\007keyList\030\003 \003(\t\"\275"
  7519. "\001\n packetw2c_syn_chip_treasure_info\022^\n\tp"
  7520. "acket_id\030\001 \001(\0162).client2world_protocols."
  7521. "e_server_msg_type: e_mst_w2c_syn_chip_tr"
  7522. "easure_info\022\025\n\ractivityState\030\002 \001(\005\022\021\n\tst"
  7523. "artTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001(\005\"\235\001\n\037packe"
  7524. "tc2w_chip_treasure_lottery\022]\n\tpacket_id\030"
  7525. "\001 \001(\0162).client2world_protocols.e_server_"
  7526. "msg_type:\037e_mst_c2w_chip_treasure_lotter"
  7527. "y\022\014\n\004type\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\"\312\001\n&packe"
  7528. "tw2c_chip_treasure_lottery_result\022d\n\tpac"
  7529. "ket_id\030\001 \001(\0162).client2world_protocols.e_"
  7530. "server_msg_type:&e_mst_w2c_chip_treasure"
  7531. "_lottery_result\022\016\n\006result\030\002 \001(\005\022\014\n\004type\030"
  7532. "\003 \001(\005\022\r\n\005count\030\004 \001(\005\022\r\n\005index\030\005 \003(\005\"@\n\017s"
  7533. "endGoldHistory\022\r\n\005Round\030\002 \001(\005\022\020\n\010Nicknam"
  7534. "e\030\003 \001(\t\022\014\n\004Gold\030\004 \001(\005\"\242\001\n\014sendGoldInfo\022\014"
  7535. "\n\004Gear\030\001 \001(\005\022\017\n\007jackPot\030\002 \001(\005\022\020\n\010CurRoun"
  7536. "d\030\003 \001(\005\022\020\n\010BuyCount\030\004 \001(\005\022\021\n\tPartTimes\030\005"
  7537. " \001(\005\022<\n\013HistoryList\030\006 \003(\0132\'.client2world"
  7538. "_protocols.sendGoldHistory\"\310\003\n\036packetw2c"
  7539. "_syn_summer_plan_info\022\\\n\tpacket_id\030\001 \001(\016"
  7540. "2).client2world_protocols.e_server_msg_t"
  7541. "ype:\036e_mst_w2c_syn_summer_plan_info\022\025\n\ra"
  7542. "ctivityState\030\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n"
  7543. "\007endTime\030\004 \001(\005\022\016\n\006active\030\005 \001(\010\022\023\n\013summer"
  7544. "bingo\030\006 \001(\005\022\027\n\017freeRocketCount\030\007 \001(\005\022\026\n\016"
  7545. "freeRocketCold\030\010 \001(\005\022\026\n\016rocketLeftRecv\030\t"
  7546. " \001(\005\022\027\n\017rocketCurHeight\030\n \001(\005\022\021\n\trecharg"
  7547. "ed\030\013 \001(\005\022\025\n\rrechargedRecv\030\014 \003(\005\022\025\n\rdrawE"
  7548. "yeEnergy\030\r \001(\005\022\027\n\017touchGoldEnergy\030\016 \001(\005\022"
  7549. "\024\n\014drawEyeTimes\030\017 \001(\005\022\026\n\016touchGoldTimes\030"
  7550. "\020 \001(\005\"\222\001\n(packetc2w_summer_plan_get_redp"
  7551. "acket_task\022f\n\tpacket_id\030\001 \001(\0162).client2w"
  7552. "orld_protocols.e_server_msg_type:(e_mst_"
  7553. "c2w_summer_plan_get_redpacket_task\"\321\001\n/p"
  7554. "acketw2c_summer_plan_get_redpacket_task_"
  7555. "result\022m\n\tpacket_id\030\001 \001(\0162).client2world"
  7556. "_protocols.e_server_msg_type:/e_mst_w2c_"
  7557. "summer_plan_get_redpacket_task_result\022/\n"
  7558. "\tquestList\030\002 \003(\0132\034.msg_info_def.msg_ques"
  7559. "t_info\"\210\001\n#packetc2w_summer_plan_sendgol"
  7560. "d_info\022a\n\tpacket_id\030\001 \001(\0162).client2world"
  7561. "_protocols.e_server_msg_type:#e_mst_c2w_"
  7562. "summer_plan_sendgold_info\"\326\001\n*packetw2c_"
  7563. "summer_plan_sendgold_info_result\022h\n\tpack"
  7564. "et_id\030\001 \001(\0162).client2world_protocols.e_s"
  7565. "erver_msg_type:*e_mst_w2c_summer_plan_se"
  7566. "ndgold_info_result\022>\n\020sendGoldInfoList\030\002"
  7567. " \003(\0132$.client2world_protocols.sendGoldIn"
  7568. "fo\"z\n\034packetc2w_summer_plan_active\022Z\n\tpa"
  7569. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  7570. "_server_msg_type:\034e_mst_c2w_summer_plan_"
  7571. "active\"\230\001\n#packetw2c_summer_plan_active_"
  7572. "result\022a\n\tpacket_id\030\001 \001(\0162).client2world"
  7573. "_protocols.e_server_msg_type:#e_mst_w2c_"
  7574. "summer_plan_active_result\022\016\n\006result\030\002 \001("
  7575. "\005\"\231\001\n$packetc2w_summer_plan_recv_redpack"
  7576. "et\022b\n\tpacket_id\030\001 \001(\0162).client2world_pro"
  7577. "tocols.e_server_msg_type:$e_mst_c2w_summ"
  7578. "er_plan_recv_redpacket\022\r\n\005index\030\002 \001(\005\"\336\001"
  7579. "\n+packetw2c_summer_plan_recv_redpacket_r"
  7580. "esult\022i\n\tpacket_id\030\001 \001(\0162).client2world_"
  7581. "protocols.e_server_msg_type:+e_mst_w2c_s"
  7582. "ummer_plan_recv_redpacket_result\022\016\n\006resu"
  7583. "lt\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022%\n\005items\030\004 \003(\0132\026"
  7584. ".msg_info_def.ItemInfo\"\231\001\n$packetc2w_sum"
  7585. "mer_plan_recv_recharged\022b\n\tpacket_id\030\001 \001"
  7586. "(\0162).client2world_protocols.e_server_msg"
  7587. "_type:$e_mst_c2w_summer_plan_recv_rechar"
  7588. "ged\022\r\n\005index\030\002 \001(\005\"\267\001\n+packetw2c_summer_"
  7589. "plan_recv_recharged_result\022i\n\tpacket_id\030"
  7590. "\001 \001(\0162).client2world_protocols.e_server_"
  7591. "msg_type:+e_mst_w2c_summer_plan_recv_rec"
  7592. "harged_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003"
  7593. " \001(\005\"\240\001\n\'packetc2w_summer_plan_buy_sendg"
  7594. "old_gift\022e\n\tpacket_id\030\001 \001(\0162).client2wor"
  7595. "ld_protocols.e_server_msg_type:\'e_mst_c2"
  7596. "w_summer_plan_buy_sendgold_gift\022\016\n\006giftI"
  7597. "D\030\002 \001(\005\"\345\001\n.packetw2c_summer_plan_buy_se"
  7598. "ndgold_gift_result\022l\n\tpacket_id\030\001 \001(\0162)."
  7599. "client2world_protocols.e_server_msg_type"
  7600. ":.e_mst_w2c_summer_plan_buy_sendgold_gif"
  7601. "t_result\022\016\n\006result\030\002 \001(\005\022\016\n\006giftID\030\003 \001(\005"
  7602. "\022%\n\005items\030\004 \003(\0132\026.msg_info_def.ItemInfo\""
  7603. "z\n\034packetc2w_summer_plan_launch\022Z\n\tpacke"
  7604. "t_id\030\001 \001(\0162).client2world_protocols.e_se"
  7605. "rver_msg_type:\034e_mst_c2w_summer_plan_lau"
  7606. "nch\"\331\001\n#packetw2c_summer_plan_launch_res"
  7607. "ult\022a\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  7608. "otocols.e_server_msg_type:#e_mst_w2c_sum"
  7609. "mer_plan_launch_result\022\016\n\006result\030\002 \001(\005\022\016"
  7610. "\n\006height\030\003 \001(\005\022\027\n\017freeRocketCount\030\004 \001(\005\022"
  7611. "\026\n\016freeRocketCold\030\005 \001(\005\"\221\001\n packetc2w_su"
  7612. "mmer_plan_touch_gold\022^\n\tpacket_id\030\001 \001(\0162"
  7613. ").client2world_protocols.e_server_msg_ty"
  7614. "pe: e_mst_c2w_summer_plan_touch_gold\022\r\n\005"
  7615. "index\030\002 \001(\005\"\355\001\n\'packetw2c_summer_plan_to"
  7616. "uch_gold_result\022e\n\tpacket_id\030\001 \001(\0162).cli"
  7617. "ent2world_protocols.e_server_msg_type:\'e"
  7618. "_mst_w2c_summer_plan_touch_gold_result\022\016"
  7619. "\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\014\n\004free\030\004 "
  7620. "\001(\010\022\025\n\rdrawEyeEnergy\030\005 \001(\005\022\027\n\017touchGoldE"
  7621. "nergy\030\006 \001(\005\"\272\002\n\037packetw2c_syn_happy_summ"
  7622. "er_info\022]\n\tpacket_id\030\001 \001(\0162).client2worl"
  7623. "d_protocols.e_server_msg_type:\037e_mst_w2c"
  7624. "_syn_happy_summer_info\022\025\n\ractivityState\030"
  7625. "\002 \001(\005\022\021\n\tstartTime\030\003 \001(\005\022\017\n\007endTime\030\004 \001("
  7626. "\005\022\016\n\006points\030\005 \001(\005\022\023\n\013blindboxkey\030\006 \001(\005\022\021"
  7627. "\n\tlotterkey\030\007 \001(\005\022\024\n\014blindBoxList\030\010 \003(\005\022"
  7628. "/\n\tquestList\030\t \003(\0132\034.msg_info_def.msg_qu"
  7629. "est_info\"\200\001\n\037packetc2w_get_happy_summer_"
  7630. "rank\022]\n\tpacket_id\030\001 \001(\0162).client2world_p"
  7631. "rotocols.e_server_msg_type:\037e_mst_c2w_ge"
  7632. "t_happy_summer_rank\"\200\002\n&packetw2c_get_ha"
  7633. "ppy_summer_rank_result\022d\n\tpacket_id\030\001 \001("
  7634. "\0162).client2world_protocols.e_server_msg_"
  7635. "type:&e_mst_w2c_get_happy_summer_rank_re"
  7636. "sult\0227\n\010rankList\030\002 \003(\0132%.client2world_pr"
  7637. "otocols.activity_rank\022\017\n\007myCount\030\003 \001(\005\022\016"
  7638. "\n\006myRank\030\004 \001(\005\022\026\n\016thresholdValue\030\005 \003(\005\"\217"
  7639. "\001\n\037packetc2w_happy_summer_open_box\022]\n\tpa"
  7640. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  7641. "_server_msg_type:\037e_mst_c2w_happy_summer"
  7642. "_open_box\022\r\n\005index\030\002 \001(\005\"\324\001\n&packetw2c_h"
  7643. "appy_summer_open_box_result\022d\n\tpacket_id"
  7644. "\030\001 \001(\0162).client2world_protocols.e_server"
  7645. "_msg_type:&e_mst_w2c_happy_summer_open_b"
  7646. "ox_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005"
  7647. "\022\r\n\005items\030\004 \003(\005\022\026\n\016curBlindBoxKey\030\005 \001(\005\""
  7648. "\213\001\n\036packetc2w_happy_summer_lottery\022\\\n\tpa"
  7649. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  7650. "_server_msg_type:\036e_mst_c2w_happy_summer"
  7651. "_lottery\022\013\n\003all\030\002 \001(\010\"\276\001\n%packetw2c_happ"
  7652. "y_summer_lottery_result\022c\n\tpacket_id\030\001 \001"
  7653. "(\0162).client2world_protocols.e_server_msg"
  7654. "_type:%e_mst_w2c_happy_summer_lottery_re"
  7655. "sult\022\013\n\003all\030\002 \001(\010\022\016\n\006result\030\003 \001(\005\022\023\n\013rew"
  7656. "ardIndex\030\004 \003(\005\"\241\001\n\'packetc2w_recv_happy_"
  7657. "summer_quest_award\022e\n\tpacket_id\030\001 \001(\0162)."
  7658. "client2world_protocols.e_server_msg_type"
  7659. ":\'e_mst_c2w_recv_happy_summer_quest_awar"
  7660. "d\022\017\n\007questId\030\002 \001(\005\"\277\001\n.packetw2c_recv_ha"
  7661. "ppy_summer_quest_award_result\022l\n\tpacket_"
  7662. "id\030\001 \001(\0162).client2world_protocols.e_serv"
  7663. "er_msg_type:.e_mst_w2c_recv_happy_summer"
  7664. "_quest_award_result\022\016\n\006result\030\002 \001(\005\022\017\n\007q"
  7665. "uestId\030\003 \001(\005\"\202\001\n packetc2w_get_happy_sum"
  7666. "mer_quest\022^\n\tpacket_id\030\001 \001(\0162).client2wo"
  7667. "rld_protocols.e_server_msg_type: e_mst_c"
  7668. "2w_get_happy_summer_quest\"\301\001\n\'packetw2c_"
  7669. "get_happy_summer_quest_result\022e\n\tpacket_"
  7670. "id\030\001 \001(\0162).client2world_protocols.e_serv"
  7671. "er_msg_type:\'e_mst_w2c_get_happy_summer_"
  7672. "quest_result\022/\n\tquestList\030\002 \003(\0132\034.msg_in"
  7673. "fo_def.msg_quest_info", 49581);
  7674. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  7675. "client2world_activity2.proto", &protobuf_RegisterTypes);
  7676. packetw2c_activity_quest_notify::default_instance_ = new packetw2c_activity_quest_notify();
  7677. packetw2c_syn_new_year_info::default_instance_ = new packetw2c_syn_new_year_info();
  7678. packetc2w_recv_new_year_login_reward::default_instance_ = new packetc2w_recv_new_year_login_reward();
  7679. packetw2c_recv_new_year_login_reward_result::default_instance_ = new packetw2c_recv_new_year_login_reward_result();
  7680. packetw2c_syn_national_day_info::default_instance_ = new packetw2c_syn_national_day_info();
  7681. packetw2c_national_day_quest_notify::default_instance_ = new packetw2c_national_day_quest_notify();
  7682. packetc2w_recv_national_day_login_reward::default_instance_ = new packetc2w_recv_national_day_login_reward();
  7683. packetw2c_recv_national_day_login_reward_result::default_instance_ = new packetw2c_recv_national_day_login_reward_result();
  7684. packetc2w_recv_national_day_quest_award::default_instance_ = new packetc2w_recv_national_day_quest_award();
  7685. packetw2c_recv_national_day_quest_award_result::default_instance_ = new packetw2c_recv_national_day_quest_award_result();
  7686. packetc2w_national_day_choose_task::default_instance_ = new packetc2w_national_day_choose_task();
  7687. packetw2c_national_day_choose_task_result::default_instance_ = new packetw2c_national_day_choose_task_result();
  7688. packetw2c_syn_spring_day_info::default_instance_ = new packetw2c_syn_spring_day_info();
  7689. packetc2w_recv_spring_day_login_reward::default_instance_ = new packetc2w_recv_spring_day_login_reward();
  7690. packetw2c_recv_spring_day_login_reward_result::default_instance_ = new packetw2c_recv_spring_day_login_reward_result();
  7691. packetw2c_syn_hunt_fish_info::default_instance_ = new packetw2c_syn_hunt_fish_info();
  7692. packetc2w_get_hunt_fish_quest::default_instance_ = new packetc2w_get_hunt_fish_quest();
  7693. packetw2c_get_hunt_fish_quest_result::default_instance_ = new packetw2c_get_hunt_fish_quest_result();
  7694. packetc2w_recv_hunt_fish_quest_award::default_instance_ = new packetc2w_recv_hunt_fish_quest_award();
  7695. packetw2c_recv_hunt_fish_quest_award_result::default_instance_ = new packetw2c_recv_hunt_fish_quest_award_result();
  7696. packetw2c_syn_recharge_activity_info::default_instance_ = new packetw2c_syn_recharge_activity_info();
  7697. packetc2w_recharge_activity_rebate::default_instance_ = new packetc2w_recharge_activity_rebate();
  7698. packetw2c_recharge_activity_rebate_result::default_instance_ = new packetw2c_recharge_activity_rebate_result();
  7699. packetw2c_syn_wuyi_vacation_info::default_instance_ = new packetw2c_syn_wuyi_vacation_info();
  7700. packetc2w_recv_wuyi_login_reward::default_instance_ = new packetc2w_recv_wuyi_login_reward();
  7701. packetw2c_recv_wuyi_login_reward_result::default_instance_ = new packetw2c_recv_wuyi_login_reward_result();
  7702. packetc2w_recv_wuyi_quest_award::default_instance_ = new packetc2w_recv_wuyi_quest_award();
  7703. packetw2c_recv_wuyi_quest_award_result::default_instance_ = new packetw2c_recv_wuyi_quest_award_result();
  7704. packetc2w_recv_wuyi_handbooks_gold::default_instance_ = new packetc2w_recv_wuyi_handbooks_gold();
  7705. packetw2c_recv_wuyi_handbooks_gold_result::default_instance_ = new packetw2c_recv_wuyi_handbooks_gold_result();
  7706. packetc2w_recv_wuyi_handbooks_award::default_instance_ = new packetc2w_recv_wuyi_handbooks_award();
  7707. packetw2c_recv_wuyi_handbooks_award_result::default_instance_ = new packetw2c_recv_wuyi_handbooks_award_result();
  7708. packetc2w_wuyi_lottery::default_instance_ = new packetc2w_wuyi_lottery();
  7709. packetw2c_wuyi_lottery_result::default_instance_ = new packetw2c_wuyi_lottery_result();
  7710. pointRewardInfos::default_instance_ = new pointRewardInfos();
  7711. pointInfos::default_instance_ = new pointInfos();
  7712. packetw2c_syn_room_quest_info::default_instance_ = new packetw2c_syn_room_quest_info();
  7713. packetc2w_get_room_quest::default_instance_ = new packetc2w_get_room_quest();
  7714. packetw2c_get_room_quest_result::default_instance_ = new packetw2c_get_room_quest_result();
  7715. packetc2w_recv_room_quest_award::default_instance_ = new packetc2w_recv_room_quest_award();
  7716. packetw2c_recv_room_quest_award_result::default_instance_ = new packetw2c_recv_room_quest_award_result();
  7717. packetc2w_recv_room_quest_point_award::default_instance_ = new packetc2w_recv_room_quest_point_award();
  7718. packetw2c_recv_room_quest_point_award_result::default_instance_ = new packetw2c_recv_room_quest_point_award_result();
  7719. packetw2c_syn_catch_fish_info::default_instance_ = new packetw2c_syn_catch_fish_info();
  7720. catchFishHistory::default_instance_ = new catchFishHistory();
  7721. catchFishInfo::default_instance_ = new catchFishInfo();
  7722. packetc2w_catch_fish::default_instance_ = new packetc2w_catch_fish();
  7723. packetw2c_catch_fish_result::default_instance_ = new packetw2c_catch_fish_result();
  7724. packetc2w_catch_fish_history::default_instance_ = new packetc2w_catch_fish_history();
  7725. packetw2c_catch_fish_history_result::default_instance_ = new packetw2c_catch_fish_history_result();
  7726. packetw2c_syn_duanwu_vacation_info::default_instance_ = new packetw2c_syn_duanwu_vacation_info();
  7727. packetc2w_get_duanwu_vacation_quest::default_instance_ = new packetc2w_get_duanwu_vacation_quest();
  7728. packetw2c_get_duanwu_vacation_quest_result::default_instance_ = new packetw2c_get_duanwu_vacation_quest_result();
  7729. packetc2w_recv_duanwu_login_reward::default_instance_ = new packetc2w_recv_duanwu_login_reward();
  7730. packetw2c_recv_duanwu_login_reward_result::default_instance_ = new packetw2c_recv_duanwu_login_reward_result();
  7731. packetc2w_recv_duanwu_quest_award::default_instance_ = new packetc2w_recv_duanwu_quest_award();
  7732. packetw2c_recv_duanwu_quest_award_result::default_instance_ = new packetw2c_recv_duanwu_quest_award_result();
  7733. packetc2w_recv_duanwu_handbooks_gold::default_instance_ = new packetc2w_recv_duanwu_handbooks_gold();
  7734. packetw2c_recv_duanwu_handbooks_gold_result::default_instance_ = new packetw2c_recv_duanwu_handbooks_gold_result();
  7735. packetc2w_recv_duanwu_handbooks_award::default_instance_ = new packetc2w_recv_duanwu_handbooks_award();
  7736. packetw2c_recv_duanwu_handbooks_award_result::default_instance_ = new packetw2c_recv_duanwu_handbooks_award_result();
  7737. packetc2w_duanwu_lottery::default_instance_ = new packetc2w_duanwu_lottery();
  7738. packetw2c_duanwu_lottery_result::default_instance_ = new packetw2c_duanwu_lottery_result();
  7739. packetw2c_syn_summer_vacation_info::default_instance_ = new packetw2c_syn_summer_vacation_info();
  7740. packetc2w_get_summer_quest::default_instance_ = new packetc2w_get_summer_quest();
  7741. packetw2c_get_summer_quest_result::default_instance_ = new packetw2c_get_summer_quest_result();
  7742. packetc2w_recv_summer_login_reward::default_instance_ = new packetc2w_recv_summer_login_reward();
  7743. packetw2c_recv_summer_login_reward_result::default_instance_ = new packetw2c_recv_summer_login_reward_result();
  7744. packetc2w_recv_summer_quest_award::default_instance_ = new packetc2w_recv_summer_quest_award();
  7745. packetw2c_recv_summer_quest_award_result::default_instance_ = new packetw2c_recv_summer_quest_award_result();
  7746. packetc2w_recv_summer_handbooks_gold::default_instance_ = new packetc2w_recv_summer_handbooks_gold();
  7747. packetw2c_recv_summer_handbooks_gold_result::default_instance_ = new packetw2c_recv_summer_handbooks_gold_result();
  7748. packetc2w_recv_summer_handbooks_award::default_instance_ = new packetc2w_recv_summer_handbooks_award();
  7749. packetw2c_recv_summer_handbooks_award_result::default_instance_ = new packetw2c_recv_summer_handbooks_award_result();
  7750. packetc2w_summer_lottery::default_instance_ = new packetc2w_summer_lottery();
  7751. packetw2c_summer_lottery_result::default_instance_ = new packetw2c_summer_lottery_result();
  7752. onr_history_info::default_instance_ = new onr_history_info();
  7753. packetw2c_syn_one_night_rich_info::default_instance_ = new packetw2c_syn_one_night_rich_info();
  7754. packetc2w_recv_one_night_rich_award::default_instance_ = new packetc2w_recv_one_night_rich_award();
  7755. packetw2c_recv_one_night_rich_result::default_instance_ = new packetw2c_recv_one_night_rich_result();
  7756. packetc2w_recv_onr_historyList::default_instance_ = new packetc2w_recv_onr_historyList();
  7757. packetw2c_recv_onr_historyList_result::default_instance_ = new packetw2c_recv_onr_historyList_result();
  7758. packetw2c_syn_fortune_star_info::default_instance_ = new packetw2c_syn_fortune_star_info();
  7759. packetc2w_get_fortune_star_quest::default_instance_ = new packetc2w_get_fortune_star_quest();
  7760. packetw2c_get_fortune_star_quest_result::default_instance_ = new packetw2c_get_fortune_star_quest_result();
  7761. packetc2w_recv_fortune_star_quest_award::default_instance_ = new packetc2w_recv_fortune_star_quest_award();
  7762. packetw2c_recv_fortune_star_quest_award_result::default_instance_ = new packetw2c_recv_fortune_star_quest_award_result();
  7763. packetc2w_recv_fortune_star_award::default_instance_ = new packetc2w_recv_fortune_star_award();
  7764. packetw2c_recv_fortune_star_award_result::default_instance_ = new packetw2c_recv_fortune_star_award_result();
  7765. activity_rank::default_instance_ = new activity_rank();
  7766. personal_tailor_lottery_history::default_instance_ = new personal_tailor_lottery_history();
  7767. packetw2c_syn_personal_tailor_info::default_instance_ = new packetw2c_syn_personal_tailor_info();
  7768. packetc2w_get_personal_tailor_rank::default_instance_ = new packetc2w_get_personal_tailor_rank();
  7769. packetw2c_get_personal_tailor_rank_result::default_instance_ = new packetw2c_get_personal_tailor_rank_result();
  7770. packetc2w_get_personal_tailor_lottry_history::default_instance_ = new packetc2w_get_personal_tailor_lottry_history();
  7771. packetw2c_get_personal_tailor_lottry_history_result::default_instance_ = new packetw2c_get_personal_tailor_lottry_history_result();
  7772. packetc2w_personal_tailor_lottery::default_instance_ = new packetc2w_personal_tailor_lottery();
  7773. packetw2c_personal_tailor_lottery_result::default_instance_ = new packetw2c_personal_tailor_lottery_result();
  7774. packetc2w_personal_tailor_exchange::default_instance_ = new packetc2w_personal_tailor_exchange();
  7775. packetw2c_personal_tailor_exchange_result::default_instance_ = new packetw2c_personal_tailor_exchange_result();
  7776. packetw2c_syn_time_limit_purchase_info::default_instance_ = new packetw2c_syn_time_limit_purchase_info();
  7777. packetc2w_time_limit_purchase_lottery::default_instance_ = new packetc2w_time_limit_purchase_lottery();
  7778. packetw2c_time_limit_purchase_lottery_result::default_instance_ = new packetw2c_time_limit_purchase_lottery_result();
  7779. packetw2c_syn_lucky_bag_info::default_instance_ = new packetw2c_syn_lucky_bag_info();
  7780. packetw2c_syn_vip_limit_purchase_info::default_instance_ = new packetw2c_syn_vip_limit_purchase_info();
  7781. packetw2c_syn_turret_lottery_info::default_instance_ = new packetw2c_syn_turret_lottery_info();
  7782. packetc2w_turret_lottery::default_instance_ = new packetc2w_turret_lottery();
  7783. packetw2c_turret_lottery_result::default_instance_ = new packetw2c_turret_lottery_result();
  7784. packetw2c_syn_smashing_eggs_info::default_instance_ = new packetw2c_syn_smashing_eggs_info();
  7785. packetc2w_get_smashing_eggs_info::default_instance_ = new packetc2w_get_smashing_eggs_info();
  7786. packetc2w_smashing_eggs::default_instance_ = new packetc2w_smashing_eggs();
  7787. packetw2c_smashing_eggs_result::default_instance_ = new packetw2c_smashing_eggs_result();
  7788. packetc2w_get_smashing_eggs_rank::default_instance_ = new packetc2w_get_smashing_eggs_rank();
  7789. packetw2c_get_smashing_eggs_rank_result::default_instance_ = new packetw2c_get_smashing_eggs_rank_result();
  7790. packetw2c_syn_rich_lottery_info::default_instance_ = new packetw2c_syn_rich_lottery_info();
  7791. packetc2w_rich_lottery::default_instance_ = new packetc2w_rich_lottery();
  7792. packetw2c_rich_lottery_result::default_instance_ = new packetw2c_rich_lottery_result();
  7793. packetw2c_syn_summer_revels_info::default_instance_ = new packetw2c_syn_summer_revels_info();
  7794. packetc2w_get_summer_revels_rank::default_instance_ = new packetc2w_get_summer_revels_rank();
  7795. packetw2c_get_summer_revels_rank_result::default_instance_ = new packetw2c_get_summer_revels_rank_result();
  7796. packetc2w_summer_revels_lottery::default_instance_ = new packetc2w_summer_revels_lottery();
  7797. packetw2c_summer_revels_lottery_result::default_instance_ = new packetw2c_summer_revels_lottery_result();
  7798. attackInfo::default_instance_ = new attackInfo();
  7799. demonTowerInfo::default_instance_ = new demonTowerInfo();
  7800. weaponInfo::default_instance_ = new weaponInfo();
  7801. packetw2c_syn_kill_demons_info::default_instance_ = new packetw2c_syn_kill_demons_info();
  7802. packetc2w_recv_kill_demons_quest_award::default_instance_ = new packetc2w_recv_kill_demons_quest_award();
  7803. packetw2c_recv_kill_demons_quest_award_result::default_instance_ = new packetw2c_recv_kill_demons_quest_award_result();
  7804. packetc2w_recv_trial_score_award::default_instance_ = new packetc2w_recv_trial_score_award();
  7805. packetw2c_recv_trial_score_award_result::default_instance_ = new packetw2c_recv_trial_score_award_result();
  7806. packetc2w_recv_star_award::default_instance_ = new packetc2w_recv_star_award();
  7807. packetw2c_recv_star_award_result::default_instance_ = new packetw2c_recv_star_award_result();
  7808. packetc2w_attack_demon::default_instance_ = new packetc2w_attack_demon();
  7809. packetw2c_attack_demon_result::default_instance_ = new packetw2c_attack_demon_result();
  7810. packetc2w_get_kill_demons_rank::default_instance_ = new packetc2w_get_kill_demons_rank();
  7811. packetw2c_get_kill_demons_rank_result::default_instance_ = new packetw2c_get_kill_demons_rank_result();
  7812. packetc2w_kill_demons_smelt::default_instance_ = new packetc2w_kill_demons_smelt();
  7813. packetw2c_kill_demons_smelt_result::default_instance_ = new packetw2c_kill_demons_smelt_result();
  7814. packetc2w_recv_sword_energy_award::default_instance_ = new packetc2w_recv_sword_energy_award();
  7815. packetw2c_recv_sword_energy_award_result::default_instance_ = new packetw2c_recv_sword_energy_award_result();
  7816. packetc2w_kill_demons_task::default_instance_ = new packetc2w_kill_demons_task();
  7817. packetw2c_kill_demons_task_result::default_instance_ = new packetw2c_kill_demons_task_result();
  7818. packetw2c_syn_2020_national_info::default_instance_ = new packetw2c_syn_2020_national_info();
  7819. packetc2w_get_2020_national_quest::default_instance_ = new packetc2w_get_2020_national_quest();
  7820. packetw2c_get_2020_national_quest_result::default_instance_ = new packetw2c_get_2020_national_quest_result();
  7821. packetc2w_recv_2020_national_login_reward::default_instance_ = new packetc2w_recv_2020_national_login_reward();
  7822. packetw2c_recv_2020_national_login_reward_result::default_instance_ = new packetw2c_recv_2020_national_login_reward_result();
  7823. packetc2w_recv_2020_national_quest_award::default_instance_ = new packetc2w_recv_2020_national_quest_award();
  7824. packetw2c_recv_2020_national_quest_award_result::default_instance_ = new packetw2c_recv_2020_national_quest_award_result();
  7825. packetc2w_recv_2020_national_handbooks_gold::default_instance_ = new packetc2w_recv_2020_national_handbooks_gold();
  7826. packetw2c_recv_2020_national_handbooks_gold_result::default_instance_ = new packetw2c_recv_2020_national_handbooks_gold_result();
  7827. packetc2w_recv_2020_national_handbooks_award::default_instance_ = new packetc2w_recv_2020_national_handbooks_award();
  7828. packetw2c_recv_2020_national_handbooks_award_result::default_instance_ = new packetw2c_recv_2020_national_handbooks_award_result();
  7829. packetc2w_2020_national_lottery::default_instance_ = new packetc2w_2020_national_lottery();
  7830. packetw2c_2020_national_lottery_result::default_instance_ = new packetw2c_2020_national_lottery_result();
  7831. packetw2c_syn_personal_tailor_new_info::default_instance_ = new packetw2c_syn_personal_tailor_new_info();
  7832. packetc2w_change_personal_tailor_items::default_instance_ = new packetc2w_change_personal_tailor_items();
  7833. packetw2c_change_personal_tailor_items_result::default_instance_ = new packetw2c_change_personal_tailor_items_result();
  7834. packetw2c_syn_super_value_gift_activity_info::default_instance_ = new packetw2c_syn_super_value_gift_activity_info();
  7835. packetw2c_syn_double_eleven_info::default_instance_ = new packetw2c_syn_double_eleven_info();
  7836. packetc2w_get_double_eleven_quest::default_instance_ = new packetc2w_get_double_eleven_quest();
  7837. packetw2c_get_double_eleven_quest_result::default_instance_ = new packetw2c_get_double_eleven_quest_result();
  7838. packetw2c_syn_double_eleven_gift_reflush::default_instance_ = new packetw2c_syn_double_eleven_gift_reflush();
  7839. packetc2w_get_double_eleven_rank::default_instance_ = new packetc2w_get_double_eleven_rank();
  7840. packetw2c_get_double_eleven_rank_result::default_instance_ = new packetw2c_get_double_eleven_rank_result();
  7841. packetc2w_double_eleven_lottery::default_instance_ = new packetc2w_double_eleven_lottery();
  7842. packetw2c_double_eleven_lottery_result::default_instance_ = new packetw2c_double_eleven_lottery_result();
  7843. packetc2w_receive_double_eleven_recharge_reward::default_instance_ = new packetc2w_receive_double_eleven_recharge_reward();
  7844. packetw2c_receive_double_eleven_recharge_reward_result::default_instance_ = new packetw2c_receive_double_eleven_recharge_reward_result();
  7845. packetc2w_syn_double_eleven_diamond_gift_count::default_instance_ = new packetc2w_syn_double_eleven_diamond_gift_count();
  7846. packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_ = new packetw2c_syn_double_eleven_diamond_gift_count_result();
  7847. packetc2w_recv_double_eleven_quest_award::default_instance_ = new packetc2w_recv_double_eleven_quest_award();
  7848. packetw2c_recv_double_eleven_quest_award_result::default_instance_ = new packetw2c_recv_double_eleven_quest_award_result();
  7849. packetc2w_double_eleven_buy_lottery_ticket::default_instance_ = new packetc2w_double_eleven_buy_lottery_ticket();
  7850. packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_ = new packetw2c_double_eleven_buy_lottery_ticket_result();
  7851. packetw2c_syn_wing_experience_info::default_instance_ = new packetw2c_syn_wing_experience_info();
  7852. packetc2w_wing_experience_receive_wing::default_instance_ = new packetc2w_wing_experience_receive_wing();
  7853. packetw2c_wing_experience_receive_wing_result::default_instance_ = new packetw2c_wing_experience_receive_wing_result();
  7854. exchangeInfo::default_instance_ = new exchangeInfo();
  7855. packetw2c_syn_kingcraft_info::default_instance_ = new packetw2c_syn_kingcraft_info();
  7856. packetc2w_get_kingcraft_rank::default_instance_ = new packetc2w_get_kingcraft_rank();
  7857. packetw2c_get_kingcraft_rank_result::default_instance_ = new packetw2c_get_kingcraft_rank_result();
  7858. packetc2w_kingcraft_lottery::default_instance_ = new packetc2w_kingcraft_lottery();
  7859. packetw2c_kingcraft_lottery_result::default_instance_ = new packetw2c_kingcraft_lottery_result();
  7860. packetc2w_receive_kingcraft_recharge_reward::default_instance_ = new packetc2w_receive_kingcraft_recharge_reward();
  7861. packetw2c_receive_kingcraft_recharge_reward_result::default_instance_ = new packetw2c_receive_kingcraft_recharge_reward_result();
  7862. packetc2w_receive_kingcraft_exchange::default_instance_ = new packetc2w_receive_kingcraft_exchange();
  7863. packetw2c_receive_kingcraft_exchange_result::default_instance_ = new packetw2c_receive_kingcraft_exchange_result();
  7864. packetc2w_kingcraft_sign::default_instance_ = new packetc2w_kingcraft_sign();
  7865. packetw2c_kingcraft_sign_result::default_instance_ = new packetw2c_kingcraft_sign_result();
  7866. packetw2c_syn_double_egg_activity_info::default_instance_ = new packetw2c_syn_double_egg_activity_info();
  7867. touchingFishRecInfo::default_instance_ = new touchingFishRecInfo();
  7868. packetw2c_syn_touching_fish_activity_info::default_instance_ = new packetw2c_syn_touching_fish_activity_info();
  7869. packetw2c_syn_touching_fish_exp::default_instance_ = new packetw2c_syn_touching_fish_exp();
  7870. packetc2w_recv_touching_fish_level_reward::default_instance_ = new packetc2w_recv_touching_fish_level_reward();
  7871. packetw2c_recv_touching_fish_level_reward_result::default_instance_ = new packetw2c_recv_touching_fish_level_reward_result();
  7872. packetc2w_recv_touching_fish_task::default_instance_ = new packetc2w_recv_touching_fish_task();
  7873. packetw2c_recv_touching_fish_task_result::default_instance_ = new packetw2c_recv_touching_fish_task_result();
  7874. packetc2w_recv_touching_fish_quest_award::default_instance_ = new packetc2w_recv_touching_fish_quest_award();
  7875. packetw2c_recv_touching_fish_quest_award_result::default_instance_ = new packetw2c_recv_touching_fish_quest_award_result();
  7876. packetc2w_recv_touching_fish_week_box::default_instance_ = new packetc2w_recv_touching_fish_week_box();
  7877. packetw2c_recv_touching_fish_week_box_result::default_instance_ = new packetw2c_recv_touching_fish_week_box_result();
  7878. packetc2w_flush_touching_fish_quest::default_instance_ = new packetc2w_flush_touching_fish_quest();
  7879. packetw2c_flush_touching_fish_quest_result::default_instance_ = new packetw2c_flush_touching_fish_quest_result();
  7880. packetc2w_get_touching_fish_rank::default_instance_ = new packetc2w_get_touching_fish_rank();
  7881. packetw2c_get_touching_fish_rank_result::default_instance_ = new packetw2c_get_touching_fish_rank_result();
  7882. packetw2c_syn_fishing_celebration_info::default_instance_ = new packetw2c_syn_fishing_celebration_info();
  7883. packetc2w_fishing_celebration_lottery::default_instance_ = new packetc2w_fishing_celebration_lottery();
  7884. packetw2c_fishing_celebration_lottery_result::default_instance_ = new packetw2c_fishing_celebration_lottery_result();
  7885. packetc2w_fishing_celebration_activate::default_instance_ = new packetc2w_fishing_celebration_activate();
  7886. packetw2c_fishing_celebration_activate_result::default_instance_ = new packetw2c_fishing_celebration_activate_result();
  7887. packetc2w_fishing_celebration_exchange::default_instance_ = new packetc2w_fishing_celebration_exchange();
  7888. packetw2c_fishing_celebration_exchange_result::default_instance_ = new packetw2c_fishing_celebration_exchange_result();
  7889. packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_ = new packetw2c_syn_fishing_celebration_free_gift_lottery();
  7890. packetc2w_fishing_celebration_gift_lottery::default_instance_ = new packetc2w_fishing_celebration_gift_lottery();
  7891. packetw2c_fishing_celebration_gift_lottery_result::default_instance_ = new packetw2c_fishing_celebration_gift_lottery_result();
  7892. packetc2w_fishing_celebration_gift_lottery_reward::default_instance_ = new packetc2w_fishing_celebration_gift_lottery_reward();
  7893. packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_ = new packetw2c_fishing_celebration_gift_lottery_reward_result();
  7894. packetc2w_fishing_celebration_buy_gift::default_instance_ = new packetc2w_fishing_celebration_buy_gift();
  7895. packetw2c_fishing_celebration_buy_gift_result::default_instance_ = new packetw2c_fishing_celebration_buy_gift_result();
  7896. packetc2w_get_fishing_celebration_rank::default_instance_ = new packetc2w_get_fishing_celebration_rank();
  7897. packetw2c_get_fishing_celebration_rank_result::default_instance_ = new packetw2c_get_fishing_celebration_rank_result();
  7898. prizeKey::default_instance_ = new prizeKey();
  7899. packetw2c_syn_feed_back_info::default_instance_ = new packetw2c_syn_feed_back_info();
  7900. packetc2w_get_feed_back_vip_reward::default_instance_ = new packetc2w_get_feed_back_vip_reward();
  7901. packetw2c_get_feed_back_vip_reward_result::default_instance_ = new packetw2c_get_feed_back_vip_reward_result();
  7902. packetc2w_get_feed_back_keylist::default_instance_ = new packetc2w_get_feed_back_keylist();
  7903. packetw2c_get_feed_back_keylist_result::default_instance_ = new packetw2c_get_feed_back_keylist_result();
  7904. packetw2c_syn_chip_treasure_info::default_instance_ = new packetw2c_syn_chip_treasure_info();
  7905. packetc2w_chip_treasure_lottery::default_instance_ = new packetc2w_chip_treasure_lottery();
  7906. packetw2c_chip_treasure_lottery_result::default_instance_ = new packetw2c_chip_treasure_lottery_result();
  7907. sendGoldHistory::default_instance_ = new sendGoldHistory();
  7908. sendGoldInfo::default_instance_ = new sendGoldInfo();
  7909. packetw2c_syn_summer_plan_info::default_instance_ = new packetw2c_syn_summer_plan_info();
  7910. packetc2w_summer_plan_get_redpacket_task::default_instance_ = new packetc2w_summer_plan_get_redpacket_task();
  7911. packetw2c_summer_plan_get_redpacket_task_result::default_instance_ = new packetw2c_summer_plan_get_redpacket_task_result();
  7912. packetc2w_summer_plan_sendgold_info::default_instance_ = new packetc2w_summer_plan_sendgold_info();
  7913. packetw2c_summer_plan_sendgold_info_result::default_instance_ = new packetw2c_summer_plan_sendgold_info_result();
  7914. packetc2w_summer_plan_active::default_instance_ = new packetc2w_summer_plan_active();
  7915. packetw2c_summer_plan_active_result::default_instance_ = new packetw2c_summer_plan_active_result();
  7916. packetc2w_summer_plan_recv_redpacket::default_instance_ = new packetc2w_summer_plan_recv_redpacket();
  7917. packetw2c_summer_plan_recv_redpacket_result::default_instance_ = new packetw2c_summer_plan_recv_redpacket_result();
  7918. packetc2w_summer_plan_recv_recharged::default_instance_ = new packetc2w_summer_plan_recv_recharged();
  7919. packetw2c_summer_plan_recv_recharged_result::default_instance_ = new packetw2c_summer_plan_recv_recharged_result();
  7920. packetc2w_summer_plan_buy_sendgold_gift::default_instance_ = new packetc2w_summer_plan_buy_sendgold_gift();
  7921. packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_ = new packetw2c_summer_plan_buy_sendgold_gift_result();
  7922. packetc2w_summer_plan_launch::default_instance_ = new packetc2w_summer_plan_launch();
  7923. packetw2c_summer_plan_launch_result::default_instance_ = new packetw2c_summer_plan_launch_result();
  7924. packetc2w_summer_plan_touch_gold::default_instance_ = new packetc2w_summer_plan_touch_gold();
  7925. packetw2c_summer_plan_touch_gold_result::default_instance_ = new packetw2c_summer_plan_touch_gold_result();
  7926. packetw2c_syn_happy_summer_info::default_instance_ = new packetw2c_syn_happy_summer_info();
  7927. packetc2w_get_happy_summer_rank::default_instance_ = new packetc2w_get_happy_summer_rank();
  7928. packetw2c_get_happy_summer_rank_result::default_instance_ = new packetw2c_get_happy_summer_rank_result();
  7929. packetc2w_happy_summer_open_box::default_instance_ = new packetc2w_happy_summer_open_box();
  7930. packetw2c_happy_summer_open_box_result::default_instance_ = new packetw2c_happy_summer_open_box_result();
  7931. packetc2w_happy_summer_lottery::default_instance_ = new packetc2w_happy_summer_lottery();
  7932. packetw2c_happy_summer_lottery_result::default_instance_ = new packetw2c_happy_summer_lottery_result();
  7933. packetc2w_recv_happy_summer_quest_award::default_instance_ = new packetc2w_recv_happy_summer_quest_award();
  7934. packetw2c_recv_happy_summer_quest_award_result::default_instance_ = new packetw2c_recv_happy_summer_quest_award_result();
  7935. packetc2w_get_happy_summer_quest::default_instance_ = new packetc2w_get_happy_summer_quest();
  7936. packetw2c_get_happy_summer_quest_result::default_instance_ = new packetw2c_get_happy_summer_quest_result();
  7937. packetw2c_activity_quest_notify::default_instance_->InitAsDefaultInstance();
  7938. packetw2c_syn_new_year_info::default_instance_->InitAsDefaultInstance();
  7939. packetc2w_recv_new_year_login_reward::default_instance_->InitAsDefaultInstance();
  7940. packetw2c_recv_new_year_login_reward_result::default_instance_->InitAsDefaultInstance();
  7941. packetw2c_syn_national_day_info::default_instance_->InitAsDefaultInstance();
  7942. packetw2c_national_day_quest_notify::default_instance_->InitAsDefaultInstance();
  7943. packetc2w_recv_national_day_login_reward::default_instance_->InitAsDefaultInstance();
  7944. packetw2c_recv_national_day_login_reward_result::default_instance_->InitAsDefaultInstance();
  7945. packetc2w_recv_national_day_quest_award::default_instance_->InitAsDefaultInstance();
  7946. packetw2c_recv_national_day_quest_award_result::default_instance_->InitAsDefaultInstance();
  7947. packetc2w_national_day_choose_task::default_instance_->InitAsDefaultInstance();
  7948. packetw2c_national_day_choose_task_result::default_instance_->InitAsDefaultInstance();
  7949. packetw2c_syn_spring_day_info::default_instance_->InitAsDefaultInstance();
  7950. packetc2w_recv_spring_day_login_reward::default_instance_->InitAsDefaultInstance();
  7951. packetw2c_recv_spring_day_login_reward_result::default_instance_->InitAsDefaultInstance();
  7952. packetw2c_syn_hunt_fish_info::default_instance_->InitAsDefaultInstance();
  7953. packetc2w_get_hunt_fish_quest::default_instance_->InitAsDefaultInstance();
  7954. packetw2c_get_hunt_fish_quest_result::default_instance_->InitAsDefaultInstance();
  7955. packetc2w_recv_hunt_fish_quest_award::default_instance_->InitAsDefaultInstance();
  7956. packetw2c_recv_hunt_fish_quest_award_result::default_instance_->InitAsDefaultInstance();
  7957. packetw2c_syn_recharge_activity_info::default_instance_->InitAsDefaultInstance();
  7958. packetc2w_recharge_activity_rebate::default_instance_->InitAsDefaultInstance();
  7959. packetw2c_recharge_activity_rebate_result::default_instance_->InitAsDefaultInstance();
  7960. packetw2c_syn_wuyi_vacation_info::default_instance_->InitAsDefaultInstance();
  7961. packetc2w_recv_wuyi_login_reward::default_instance_->InitAsDefaultInstance();
  7962. packetw2c_recv_wuyi_login_reward_result::default_instance_->InitAsDefaultInstance();
  7963. packetc2w_recv_wuyi_quest_award::default_instance_->InitAsDefaultInstance();
  7964. packetw2c_recv_wuyi_quest_award_result::default_instance_->InitAsDefaultInstance();
  7965. packetc2w_recv_wuyi_handbooks_gold::default_instance_->InitAsDefaultInstance();
  7966. packetw2c_recv_wuyi_handbooks_gold_result::default_instance_->InitAsDefaultInstance();
  7967. packetc2w_recv_wuyi_handbooks_award::default_instance_->InitAsDefaultInstance();
  7968. packetw2c_recv_wuyi_handbooks_award_result::default_instance_->InitAsDefaultInstance();
  7969. packetc2w_wuyi_lottery::default_instance_->InitAsDefaultInstance();
  7970. packetw2c_wuyi_lottery_result::default_instance_->InitAsDefaultInstance();
  7971. pointRewardInfos::default_instance_->InitAsDefaultInstance();
  7972. pointInfos::default_instance_->InitAsDefaultInstance();
  7973. packetw2c_syn_room_quest_info::default_instance_->InitAsDefaultInstance();
  7974. packetc2w_get_room_quest::default_instance_->InitAsDefaultInstance();
  7975. packetw2c_get_room_quest_result::default_instance_->InitAsDefaultInstance();
  7976. packetc2w_recv_room_quest_award::default_instance_->InitAsDefaultInstance();
  7977. packetw2c_recv_room_quest_award_result::default_instance_->InitAsDefaultInstance();
  7978. packetc2w_recv_room_quest_point_award::default_instance_->InitAsDefaultInstance();
  7979. packetw2c_recv_room_quest_point_award_result::default_instance_->InitAsDefaultInstance();
  7980. packetw2c_syn_catch_fish_info::default_instance_->InitAsDefaultInstance();
  7981. catchFishHistory::default_instance_->InitAsDefaultInstance();
  7982. catchFishInfo::default_instance_->InitAsDefaultInstance();
  7983. packetc2w_catch_fish::default_instance_->InitAsDefaultInstance();
  7984. packetw2c_catch_fish_result::default_instance_->InitAsDefaultInstance();
  7985. packetc2w_catch_fish_history::default_instance_->InitAsDefaultInstance();
  7986. packetw2c_catch_fish_history_result::default_instance_->InitAsDefaultInstance();
  7987. packetw2c_syn_duanwu_vacation_info::default_instance_->InitAsDefaultInstance();
  7988. packetc2w_get_duanwu_vacation_quest::default_instance_->InitAsDefaultInstance();
  7989. packetw2c_get_duanwu_vacation_quest_result::default_instance_->InitAsDefaultInstance();
  7990. packetc2w_recv_duanwu_login_reward::default_instance_->InitAsDefaultInstance();
  7991. packetw2c_recv_duanwu_login_reward_result::default_instance_->InitAsDefaultInstance();
  7992. packetc2w_recv_duanwu_quest_award::default_instance_->InitAsDefaultInstance();
  7993. packetw2c_recv_duanwu_quest_award_result::default_instance_->InitAsDefaultInstance();
  7994. packetc2w_recv_duanwu_handbooks_gold::default_instance_->InitAsDefaultInstance();
  7995. packetw2c_recv_duanwu_handbooks_gold_result::default_instance_->InitAsDefaultInstance();
  7996. packetc2w_recv_duanwu_handbooks_award::default_instance_->InitAsDefaultInstance();
  7997. packetw2c_recv_duanwu_handbooks_award_result::default_instance_->InitAsDefaultInstance();
  7998. packetc2w_duanwu_lottery::default_instance_->InitAsDefaultInstance();
  7999. packetw2c_duanwu_lottery_result::default_instance_->InitAsDefaultInstance();
  8000. packetw2c_syn_summer_vacation_info::default_instance_->InitAsDefaultInstance();
  8001. packetc2w_get_summer_quest::default_instance_->InitAsDefaultInstance();
  8002. packetw2c_get_summer_quest_result::default_instance_->InitAsDefaultInstance();
  8003. packetc2w_recv_summer_login_reward::default_instance_->InitAsDefaultInstance();
  8004. packetw2c_recv_summer_login_reward_result::default_instance_->InitAsDefaultInstance();
  8005. packetc2w_recv_summer_quest_award::default_instance_->InitAsDefaultInstance();
  8006. packetw2c_recv_summer_quest_award_result::default_instance_->InitAsDefaultInstance();
  8007. packetc2w_recv_summer_handbooks_gold::default_instance_->InitAsDefaultInstance();
  8008. packetw2c_recv_summer_handbooks_gold_result::default_instance_->InitAsDefaultInstance();
  8009. packetc2w_recv_summer_handbooks_award::default_instance_->InitAsDefaultInstance();
  8010. packetw2c_recv_summer_handbooks_award_result::default_instance_->InitAsDefaultInstance();
  8011. packetc2w_summer_lottery::default_instance_->InitAsDefaultInstance();
  8012. packetw2c_summer_lottery_result::default_instance_->InitAsDefaultInstance();
  8013. onr_history_info::default_instance_->InitAsDefaultInstance();
  8014. packetw2c_syn_one_night_rich_info::default_instance_->InitAsDefaultInstance();
  8015. packetc2w_recv_one_night_rich_award::default_instance_->InitAsDefaultInstance();
  8016. packetw2c_recv_one_night_rich_result::default_instance_->InitAsDefaultInstance();
  8017. packetc2w_recv_onr_historyList::default_instance_->InitAsDefaultInstance();
  8018. packetw2c_recv_onr_historyList_result::default_instance_->InitAsDefaultInstance();
  8019. packetw2c_syn_fortune_star_info::default_instance_->InitAsDefaultInstance();
  8020. packetc2w_get_fortune_star_quest::default_instance_->InitAsDefaultInstance();
  8021. packetw2c_get_fortune_star_quest_result::default_instance_->InitAsDefaultInstance();
  8022. packetc2w_recv_fortune_star_quest_award::default_instance_->InitAsDefaultInstance();
  8023. packetw2c_recv_fortune_star_quest_award_result::default_instance_->InitAsDefaultInstance();
  8024. packetc2w_recv_fortune_star_award::default_instance_->InitAsDefaultInstance();
  8025. packetw2c_recv_fortune_star_award_result::default_instance_->InitAsDefaultInstance();
  8026. activity_rank::default_instance_->InitAsDefaultInstance();
  8027. personal_tailor_lottery_history::default_instance_->InitAsDefaultInstance();
  8028. packetw2c_syn_personal_tailor_info::default_instance_->InitAsDefaultInstance();
  8029. packetc2w_get_personal_tailor_rank::default_instance_->InitAsDefaultInstance();
  8030. packetw2c_get_personal_tailor_rank_result::default_instance_->InitAsDefaultInstance();
  8031. packetc2w_get_personal_tailor_lottry_history::default_instance_->InitAsDefaultInstance();
  8032. packetw2c_get_personal_tailor_lottry_history_result::default_instance_->InitAsDefaultInstance();
  8033. packetc2w_personal_tailor_lottery::default_instance_->InitAsDefaultInstance();
  8034. packetw2c_personal_tailor_lottery_result::default_instance_->InitAsDefaultInstance();
  8035. packetc2w_personal_tailor_exchange::default_instance_->InitAsDefaultInstance();
  8036. packetw2c_personal_tailor_exchange_result::default_instance_->InitAsDefaultInstance();
  8037. packetw2c_syn_time_limit_purchase_info::default_instance_->InitAsDefaultInstance();
  8038. packetc2w_time_limit_purchase_lottery::default_instance_->InitAsDefaultInstance();
  8039. packetw2c_time_limit_purchase_lottery_result::default_instance_->InitAsDefaultInstance();
  8040. packetw2c_syn_lucky_bag_info::default_instance_->InitAsDefaultInstance();
  8041. packetw2c_syn_vip_limit_purchase_info::default_instance_->InitAsDefaultInstance();
  8042. packetw2c_syn_turret_lottery_info::default_instance_->InitAsDefaultInstance();
  8043. packetc2w_turret_lottery::default_instance_->InitAsDefaultInstance();
  8044. packetw2c_turret_lottery_result::default_instance_->InitAsDefaultInstance();
  8045. packetw2c_syn_smashing_eggs_info::default_instance_->InitAsDefaultInstance();
  8046. packetc2w_get_smashing_eggs_info::default_instance_->InitAsDefaultInstance();
  8047. packetc2w_smashing_eggs::default_instance_->InitAsDefaultInstance();
  8048. packetw2c_smashing_eggs_result::default_instance_->InitAsDefaultInstance();
  8049. packetc2w_get_smashing_eggs_rank::default_instance_->InitAsDefaultInstance();
  8050. packetw2c_get_smashing_eggs_rank_result::default_instance_->InitAsDefaultInstance();
  8051. packetw2c_syn_rich_lottery_info::default_instance_->InitAsDefaultInstance();
  8052. packetc2w_rich_lottery::default_instance_->InitAsDefaultInstance();
  8053. packetw2c_rich_lottery_result::default_instance_->InitAsDefaultInstance();
  8054. packetw2c_syn_summer_revels_info::default_instance_->InitAsDefaultInstance();
  8055. packetc2w_get_summer_revels_rank::default_instance_->InitAsDefaultInstance();
  8056. packetw2c_get_summer_revels_rank_result::default_instance_->InitAsDefaultInstance();
  8057. packetc2w_summer_revels_lottery::default_instance_->InitAsDefaultInstance();
  8058. packetw2c_summer_revels_lottery_result::default_instance_->InitAsDefaultInstance();
  8059. attackInfo::default_instance_->InitAsDefaultInstance();
  8060. demonTowerInfo::default_instance_->InitAsDefaultInstance();
  8061. weaponInfo::default_instance_->InitAsDefaultInstance();
  8062. packetw2c_syn_kill_demons_info::default_instance_->InitAsDefaultInstance();
  8063. packetc2w_recv_kill_demons_quest_award::default_instance_->InitAsDefaultInstance();
  8064. packetw2c_recv_kill_demons_quest_award_result::default_instance_->InitAsDefaultInstance();
  8065. packetc2w_recv_trial_score_award::default_instance_->InitAsDefaultInstance();
  8066. packetw2c_recv_trial_score_award_result::default_instance_->InitAsDefaultInstance();
  8067. packetc2w_recv_star_award::default_instance_->InitAsDefaultInstance();
  8068. packetw2c_recv_star_award_result::default_instance_->InitAsDefaultInstance();
  8069. packetc2w_attack_demon::default_instance_->InitAsDefaultInstance();
  8070. packetw2c_attack_demon_result::default_instance_->InitAsDefaultInstance();
  8071. packetc2w_get_kill_demons_rank::default_instance_->InitAsDefaultInstance();
  8072. packetw2c_get_kill_demons_rank_result::default_instance_->InitAsDefaultInstance();
  8073. packetc2w_kill_demons_smelt::default_instance_->InitAsDefaultInstance();
  8074. packetw2c_kill_demons_smelt_result::default_instance_->InitAsDefaultInstance();
  8075. packetc2w_recv_sword_energy_award::default_instance_->InitAsDefaultInstance();
  8076. packetw2c_recv_sword_energy_award_result::default_instance_->InitAsDefaultInstance();
  8077. packetc2w_kill_demons_task::default_instance_->InitAsDefaultInstance();
  8078. packetw2c_kill_demons_task_result::default_instance_->InitAsDefaultInstance();
  8079. packetw2c_syn_2020_national_info::default_instance_->InitAsDefaultInstance();
  8080. packetc2w_get_2020_national_quest::default_instance_->InitAsDefaultInstance();
  8081. packetw2c_get_2020_national_quest_result::default_instance_->InitAsDefaultInstance();
  8082. packetc2w_recv_2020_national_login_reward::default_instance_->InitAsDefaultInstance();
  8083. packetw2c_recv_2020_national_login_reward_result::default_instance_->InitAsDefaultInstance();
  8084. packetc2w_recv_2020_national_quest_award::default_instance_->InitAsDefaultInstance();
  8085. packetw2c_recv_2020_national_quest_award_result::default_instance_->InitAsDefaultInstance();
  8086. packetc2w_recv_2020_national_handbooks_gold::default_instance_->InitAsDefaultInstance();
  8087. packetw2c_recv_2020_national_handbooks_gold_result::default_instance_->InitAsDefaultInstance();
  8088. packetc2w_recv_2020_national_handbooks_award::default_instance_->InitAsDefaultInstance();
  8089. packetw2c_recv_2020_national_handbooks_award_result::default_instance_->InitAsDefaultInstance();
  8090. packetc2w_2020_national_lottery::default_instance_->InitAsDefaultInstance();
  8091. packetw2c_2020_national_lottery_result::default_instance_->InitAsDefaultInstance();
  8092. packetw2c_syn_personal_tailor_new_info::default_instance_->InitAsDefaultInstance();
  8093. packetc2w_change_personal_tailor_items::default_instance_->InitAsDefaultInstance();
  8094. packetw2c_change_personal_tailor_items_result::default_instance_->InitAsDefaultInstance();
  8095. packetw2c_syn_super_value_gift_activity_info::default_instance_->InitAsDefaultInstance();
  8096. packetw2c_syn_double_eleven_info::default_instance_->InitAsDefaultInstance();
  8097. packetc2w_get_double_eleven_quest::default_instance_->InitAsDefaultInstance();
  8098. packetw2c_get_double_eleven_quest_result::default_instance_->InitAsDefaultInstance();
  8099. packetw2c_syn_double_eleven_gift_reflush::default_instance_->InitAsDefaultInstance();
  8100. packetc2w_get_double_eleven_rank::default_instance_->InitAsDefaultInstance();
  8101. packetw2c_get_double_eleven_rank_result::default_instance_->InitAsDefaultInstance();
  8102. packetc2w_double_eleven_lottery::default_instance_->InitAsDefaultInstance();
  8103. packetw2c_double_eleven_lottery_result::default_instance_->InitAsDefaultInstance();
  8104. packetc2w_receive_double_eleven_recharge_reward::default_instance_->InitAsDefaultInstance();
  8105. packetw2c_receive_double_eleven_recharge_reward_result::default_instance_->InitAsDefaultInstance();
  8106. packetc2w_syn_double_eleven_diamond_gift_count::default_instance_->InitAsDefaultInstance();
  8107. packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_->InitAsDefaultInstance();
  8108. packetc2w_recv_double_eleven_quest_award::default_instance_->InitAsDefaultInstance();
  8109. packetw2c_recv_double_eleven_quest_award_result::default_instance_->InitAsDefaultInstance();
  8110. packetc2w_double_eleven_buy_lottery_ticket::default_instance_->InitAsDefaultInstance();
  8111. packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_->InitAsDefaultInstance();
  8112. packetw2c_syn_wing_experience_info::default_instance_->InitAsDefaultInstance();
  8113. packetc2w_wing_experience_receive_wing::default_instance_->InitAsDefaultInstance();
  8114. packetw2c_wing_experience_receive_wing_result::default_instance_->InitAsDefaultInstance();
  8115. exchangeInfo::default_instance_->InitAsDefaultInstance();
  8116. packetw2c_syn_kingcraft_info::default_instance_->InitAsDefaultInstance();
  8117. packetc2w_get_kingcraft_rank::default_instance_->InitAsDefaultInstance();
  8118. packetw2c_get_kingcraft_rank_result::default_instance_->InitAsDefaultInstance();
  8119. packetc2w_kingcraft_lottery::default_instance_->InitAsDefaultInstance();
  8120. packetw2c_kingcraft_lottery_result::default_instance_->InitAsDefaultInstance();
  8121. packetc2w_receive_kingcraft_recharge_reward::default_instance_->InitAsDefaultInstance();
  8122. packetw2c_receive_kingcraft_recharge_reward_result::default_instance_->InitAsDefaultInstance();
  8123. packetc2w_receive_kingcraft_exchange::default_instance_->InitAsDefaultInstance();
  8124. packetw2c_receive_kingcraft_exchange_result::default_instance_->InitAsDefaultInstance();
  8125. packetc2w_kingcraft_sign::default_instance_->InitAsDefaultInstance();
  8126. packetw2c_kingcraft_sign_result::default_instance_->InitAsDefaultInstance();
  8127. packetw2c_syn_double_egg_activity_info::default_instance_->InitAsDefaultInstance();
  8128. touchingFishRecInfo::default_instance_->InitAsDefaultInstance();
  8129. packetw2c_syn_touching_fish_activity_info::default_instance_->InitAsDefaultInstance();
  8130. packetw2c_syn_touching_fish_exp::default_instance_->InitAsDefaultInstance();
  8131. packetc2w_recv_touching_fish_level_reward::default_instance_->InitAsDefaultInstance();
  8132. packetw2c_recv_touching_fish_level_reward_result::default_instance_->InitAsDefaultInstance();
  8133. packetc2w_recv_touching_fish_task::default_instance_->InitAsDefaultInstance();
  8134. packetw2c_recv_touching_fish_task_result::default_instance_->InitAsDefaultInstance();
  8135. packetc2w_recv_touching_fish_quest_award::default_instance_->InitAsDefaultInstance();
  8136. packetw2c_recv_touching_fish_quest_award_result::default_instance_->InitAsDefaultInstance();
  8137. packetc2w_recv_touching_fish_week_box::default_instance_->InitAsDefaultInstance();
  8138. packetw2c_recv_touching_fish_week_box_result::default_instance_->InitAsDefaultInstance();
  8139. packetc2w_flush_touching_fish_quest::default_instance_->InitAsDefaultInstance();
  8140. packetw2c_flush_touching_fish_quest_result::default_instance_->InitAsDefaultInstance();
  8141. packetc2w_get_touching_fish_rank::default_instance_->InitAsDefaultInstance();
  8142. packetw2c_get_touching_fish_rank_result::default_instance_->InitAsDefaultInstance();
  8143. packetw2c_syn_fishing_celebration_info::default_instance_->InitAsDefaultInstance();
  8144. packetc2w_fishing_celebration_lottery::default_instance_->InitAsDefaultInstance();
  8145. packetw2c_fishing_celebration_lottery_result::default_instance_->InitAsDefaultInstance();
  8146. packetc2w_fishing_celebration_activate::default_instance_->InitAsDefaultInstance();
  8147. packetw2c_fishing_celebration_activate_result::default_instance_->InitAsDefaultInstance();
  8148. packetc2w_fishing_celebration_exchange::default_instance_->InitAsDefaultInstance();
  8149. packetw2c_fishing_celebration_exchange_result::default_instance_->InitAsDefaultInstance();
  8150. packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_->InitAsDefaultInstance();
  8151. packetc2w_fishing_celebration_gift_lottery::default_instance_->InitAsDefaultInstance();
  8152. packetw2c_fishing_celebration_gift_lottery_result::default_instance_->InitAsDefaultInstance();
  8153. packetc2w_fishing_celebration_gift_lottery_reward::default_instance_->InitAsDefaultInstance();
  8154. packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_->InitAsDefaultInstance();
  8155. packetc2w_fishing_celebration_buy_gift::default_instance_->InitAsDefaultInstance();
  8156. packetw2c_fishing_celebration_buy_gift_result::default_instance_->InitAsDefaultInstance();
  8157. packetc2w_get_fishing_celebration_rank::default_instance_->InitAsDefaultInstance();
  8158. packetw2c_get_fishing_celebration_rank_result::default_instance_->InitAsDefaultInstance();
  8159. prizeKey::default_instance_->InitAsDefaultInstance();
  8160. packetw2c_syn_feed_back_info::default_instance_->InitAsDefaultInstance();
  8161. packetc2w_get_feed_back_vip_reward::default_instance_->InitAsDefaultInstance();
  8162. packetw2c_get_feed_back_vip_reward_result::default_instance_->InitAsDefaultInstance();
  8163. packetc2w_get_feed_back_keylist::default_instance_->InitAsDefaultInstance();
  8164. packetw2c_get_feed_back_keylist_result::default_instance_->InitAsDefaultInstance();
  8165. packetw2c_syn_chip_treasure_info::default_instance_->InitAsDefaultInstance();
  8166. packetc2w_chip_treasure_lottery::default_instance_->InitAsDefaultInstance();
  8167. packetw2c_chip_treasure_lottery_result::default_instance_->InitAsDefaultInstance();
  8168. sendGoldHistory::default_instance_->InitAsDefaultInstance();
  8169. sendGoldInfo::default_instance_->InitAsDefaultInstance();
  8170. packetw2c_syn_summer_plan_info::default_instance_->InitAsDefaultInstance();
  8171. packetc2w_summer_plan_get_redpacket_task::default_instance_->InitAsDefaultInstance();
  8172. packetw2c_summer_plan_get_redpacket_task_result::default_instance_->InitAsDefaultInstance();
  8173. packetc2w_summer_plan_sendgold_info::default_instance_->InitAsDefaultInstance();
  8174. packetw2c_summer_plan_sendgold_info_result::default_instance_->InitAsDefaultInstance();
  8175. packetc2w_summer_plan_active::default_instance_->InitAsDefaultInstance();
  8176. packetw2c_summer_plan_active_result::default_instance_->InitAsDefaultInstance();
  8177. packetc2w_summer_plan_recv_redpacket::default_instance_->InitAsDefaultInstance();
  8178. packetw2c_summer_plan_recv_redpacket_result::default_instance_->InitAsDefaultInstance();
  8179. packetc2w_summer_plan_recv_recharged::default_instance_->InitAsDefaultInstance();
  8180. packetw2c_summer_plan_recv_recharged_result::default_instance_->InitAsDefaultInstance();
  8181. packetc2w_summer_plan_buy_sendgold_gift::default_instance_->InitAsDefaultInstance();
  8182. packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_->InitAsDefaultInstance();
  8183. packetc2w_summer_plan_launch::default_instance_->InitAsDefaultInstance();
  8184. packetw2c_summer_plan_launch_result::default_instance_->InitAsDefaultInstance();
  8185. packetc2w_summer_plan_touch_gold::default_instance_->InitAsDefaultInstance();
  8186. packetw2c_summer_plan_touch_gold_result::default_instance_->InitAsDefaultInstance();
  8187. packetw2c_syn_happy_summer_info::default_instance_->InitAsDefaultInstance();
  8188. packetc2w_get_happy_summer_rank::default_instance_->InitAsDefaultInstance();
  8189. packetw2c_get_happy_summer_rank_result::default_instance_->InitAsDefaultInstance();
  8190. packetc2w_happy_summer_open_box::default_instance_->InitAsDefaultInstance();
  8191. packetw2c_happy_summer_open_box_result::default_instance_->InitAsDefaultInstance();
  8192. packetc2w_happy_summer_lottery::default_instance_->InitAsDefaultInstance();
  8193. packetw2c_happy_summer_lottery_result::default_instance_->InitAsDefaultInstance();
  8194. packetc2w_recv_happy_summer_quest_award::default_instance_->InitAsDefaultInstance();
  8195. packetw2c_recv_happy_summer_quest_award_result::default_instance_->InitAsDefaultInstance();
  8196. packetc2w_get_happy_summer_quest::default_instance_->InitAsDefaultInstance();
  8197. packetw2c_get_happy_summer_quest_result::default_instance_->InitAsDefaultInstance();
  8198. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5factivity2_2eproto);
  8199. }
  8200. // Force AddDescriptors() to be called at static initialization time.
  8201. struct StaticDescriptorInitializer_client2world_5factivity2_2eproto {
  8202. StaticDescriptorInitializer_client2world_5factivity2_2eproto() {
  8203. protobuf_AddDesc_client2world_5factivity2_2eproto();
  8204. }
  8205. } static_descriptor_initializer_client2world_5factivity2_2eproto_;
  8206. // ===================================================================
  8207. #ifndef _MSC_VER
  8208. const int packetw2c_activity_quest_notify::kPacketIdFieldNumber;
  8209. const int packetw2c_activity_quest_notify::kActivityIdFieldNumber;
  8210. const int packetw2c_activity_quest_notify::kTypeFieldNumber;
  8211. const int packetw2c_activity_quest_notify::kIdFieldNumber;
  8212. const int packetw2c_activity_quest_notify::kCountFieldNumber;
  8213. const int packetw2c_activity_quest_notify::kParamFieldNumber;
  8214. const int packetw2c_activity_quest_notify::kEndtimeFieldNumber;
  8215. #endif // !_MSC_VER
  8216. packetw2c_activity_quest_notify::packetw2c_activity_quest_notify()
  8217. : ::google::protobuf::Message() {
  8218. SharedCtor();
  8219. }
  8220. void packetw2c_activity_quest_notify::InitAsDefaultInstance() {
  8221. }
  8222. packetw2c_activity_quest_notify::packetw2c_activity_quest_notify(const packetw2c_activity_quest_notify& from)
  8223. : ::google::protobuf::Message() {
  8224. SharedCtor();
  8225. MergeFrom(from);
  8226. }
  8227. void packetw2c_activity_quest_notify::SharedCtor() {
  8228. _cached_size_ = 0;
  8229. packet_id_ = 7671;
  8230. activityid_ = 0;
  8231. type_ = 0;
  8232. id_ = 0;
  8233. count_ = 0;
  8234. param_ = 0;
  8235. endtime_ = 0;
  8236. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8237. }
  8238. packetw2c_activity_quest_notify::~packetw2c_activity_quest_notify() {
  8239. SharedDtor();
  8240. }
  8241. void packetw2c_activity_quest_notify::SharedDtor() {
  8242. if (this != default_instance_) {
  8243. }
  8244. }
  8245. void packetw2c_activity_quest_notify::SetCachedSize(int size) const {
  8246. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8247. _cached_size_ = size;
  8248. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8249. }
  8250. const ::google::protobuf::Descriptor* packetw2c_activity_quest_notify::descriptor() {
  8251. protobuf_AssignDescriptorsOnce();
  8252. return packetw2c_activity_quest_notify_descriptor_;
  8253. }
  8254. const packetw2c_activity_quest_notify& packetw2c_activity_quest_notify::default_instance() {
  8255. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  8256. return *default_instance_;
  8257. }
  8258. packetw2c_activity_quest_notify* packetw2c_activity_quest_notify::default_instance_ = NULL;
  8259. packetw2c_activity_quest_notify* packetw2c_activity_quest_notify::New() const {
  8260. return new packetw2c_activity_quest_notify;
  8261. }
  8262. void packetw2c_activity_quest_notify::Clear() {
  8263. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8264. packet_id_ = 7671;
  8265. activityid_ = 0;
  8266. type_ = 0;
  8267. id_ = 0;
  8268. count_ = 0;
  8269. param_ = 0;
  8270. endtime_ = 0;
  8271. }
  8272. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8273. mutable_unknown_fields()->Clear();
  8274. }
  8275. bool packetw2c_activity_quest_notify::MergePartialFromCodedStream(
  8276. ::google::protobuf::io::CodedInputStream* input) {
  8277. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8278. ::google::protobuf::uint32 tag;
  8279. while ((tag = input->ReadTag()) != 0) {
  8280. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8281. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_activity_quest_notify];
  8282. case 1: {
  8283. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8284. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8285. int value;
  8286. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8287. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  8288. input, &value)));
  8289. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  8290. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  8291. } else {
  8292. mutable_unknown_fields()->AddVarint(1, value);
  8293. }
  8294. } else {
  8295. goto handle_uninterpreted;
  8296. }
  8297. if (input->ExpectTag(16)) goto parse_activityId;
  8298. break;
  8299. }
  8300. // optional int32 activityId = 2;
  8301. case 2: {
  8302. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8303. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8304. parse_activityId:
  8305. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8306. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8307. input, &activityid_)));
  8308. set_has_activityid();
  8309. } else {
  8310. goto handle_uninterpreted;
  8311. }
  8312. if (input->ExpectTag(24)) goto parse_type;
  8313. break;
  8314. }
  8315. // optional int32 type = 3;
  8316. case 3: {
  8317. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8318. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8319. parse_type:
  8320. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8321. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8322. input, &type_)));
  8323. set_has_type();
  8324. } else {
  8325. goto handle_uninterpreted;
  8326. }
  8327. if (input->ExpectTag(32)) goto parse_id;
  8328. break;
  8329. }
  8330. // optional int32 id = 4;
  8331. case 4: {
  8332. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8333. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8334. parse_id:
  8335. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8336. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8337. input, &id_)));
  8338. set_has_id();
  8339. } else {
  8340. goto handle_uninterpreted;
  8341. }
  8342. if (input->ExpectTag(40)) goto parse_count;
  8343. break;
  8344. }
  8345. // optional int32 count = 5;
  8346. case 5: {
  8347. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8348. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8349. parse_count:
  8350. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8351. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8352. input, &count_)));
  8353. set_has_count();
  8354. } else {
  8355. goto handle_uninterpreted;
  8356. }
  8357. if (input->ExpectTag(48)) goto parse_param;
  8358. break;
  8359. }
  8360. // optional int32 param = 6;
  8361. case 6: {
  8362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8364. parse_param:
  8365. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8366. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8367. input, &param_)));
  8368. set_has_param();
  8369. } else {
  8370. goto handle_uninterpreted;
  8371. }
  8372. if (input->ExpectTag(56)) goto parse_endtime;
  8373. break;
  8374. }
  8375. // optional int32 endtime = 7;
  8376. case 7: {
  8377. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8378. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8379. parse_endtime:
  8380. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8381. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8382. input, &endtime_)));
  8383. set_has_endtime();
  8384. } else {
  8385. goto handle_uninterpreted;
  8386. }
  8387. if (input->ExpectAtEnd()) return true;
  8388. break;
  8389. }
  8390. default: {
  8391. handle_uninterpreted:
  8392. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8393. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8394. return true;
  8395. }
  8396. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8397. input, tag, mutable_unknown_fields()));
  8398. break;
  8399. }
  8400. }
  8401. }
  8402. return true;
  8403. #undef DO_
  8404. }
  8405. void packetw2c_activity_quest_notify::SerializeWithCachedSizes(
  8406. ::google::protobuf::io::CodedOutputStream* output) const {
  8407. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_activity_quest_notify];
  8408. if (has_packet_id()) {
  8409. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  8410. 1, this->packet_id(), output);
  8411. }
  8412. // optional int32 activityId = 2;
  8413. if (has_activityid()) {
  8414. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activityid(), output);
  8415. }
  8416. // optional int32 type = 3;
  8417. if (has_type()) {
  8418. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  8419. }
  8420. // optional int32 id = 4;
  8421. if (has_id()) {
  8422. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->id(), output);
  8423. }
  8424. // optional int32 count = 5;
  8425. if (has_count()) {
  8426. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->count(), output);
  8427. }
  8428. // optional int32 param = 6;
  8429. if (has_param()) {
  8430. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->param(), output);
  8431. }
  8432. // optional int32 endtime = 7;
  8433. if (has_endtime()) {
  8434. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->endtime(), output);
  8435. }
  8436. if (!unknown_fields().empty()) {
  8437. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8438. unknown_fields(), output);
  8439. }
  8440. }
  8441. ::google::protobuf::uint8* packetw2c_activity_quest_notify::SerializeWithCachedSizesToArray(
  8442. ::google::protobuf::uint8* target) const {
  8443. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_activity_quest_notify];
  8444. if (has_packet_id()) {
  8445. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  8446. 1, this->packet_id(), target);
  8447. }
  8448. // optional int32 activityId = 2;
  8449. if (has_activityid()) {
  8450. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activityid(), target);
  8451. }
  8452. // optional int32 type = 3;
  8453. if (has_type()) {
  8454. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  8455. }
  8456. // optional int32 id = 4;
  8457. if (has_id()) {
  8458. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->id(), target);
  8459. }
  8460. // optional int32 count = 5;
  8461. if (has_count()) {
  8462. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->count(), target);
  8463. }
  8464. // optional int32 param = 6;
  8465. if (has_param()) {
  8466. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->param(), target);
  8467. }
  8468. // optional int32 endtime = 7;
  8469. if (has_endtime()) {
  8470. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->endtime(), target);
  8471. }
  8472. if (!unknown_fields().empty()) {
  8473. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8474. unknown_fields(), target);
  8475. }
  8476. return target;
  8477. }
  8478. int packetw2c_activity_quest_notify::ByteSize() const {
  8479. int total_size = 0;
  8480. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8481. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_activity_quest_notify];
  8482. if (has_packet_id()) {
  8483. total_size += 1 +
  8484. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  8485. }
  8486. // optional int32 activityId = 2;
  8487. if (has_activityid()) {
  8488. total_size += 1 +
  8489. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8490. this->activityid());
  8491. }
  8492. // optional int32 type = 3;
  8493. if (has_type()) {
  8494. total_size += 1 +
  8495. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8496. this->type());
  8497. }
  8498. // optional int32 id = 4;
  8499. if (has_id()) {
  8500. total_size += 1 +
  8501. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8502. this->id());
  8503. }
  8504. // optional int32 count = 5;
  8505. if (has_count()) {
  8506. total_size += 1 +
  8507. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8508. this->count());
  8509. }
  8510. // optional int32 param = 6;
  8511. if (has_param()) {
  8512. total_size += 1 +
  8513. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8514. this->param());
  8515. }
  8516. // optional int32 endtime = 7;
  8517. if (has_endtime()) {
  8518. total_size += 1 +
  8519. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8520. this->endtime());
  8521. }
  8522. }
  8523. if (!unknown_fields().empty()) {
  8524. total_size +=
  8525. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8526. unknown_fields());
  8527. }
  8528. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8529. _cached_size_ = total_size;
  8530. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8531. return total_size;
  8532. }
  8533. void packetw2c_activity_quest_notify::MergeFrom(const ::google::protobuf::Message& from) {
  8534. GOOGLE_CHECK_NE(&from, this);
  8535. const packetw2c_activity_quest_notify* source =
  8536. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_activity_quest_notify*>(
  8537. &from);
  8538. if (source == NULL) {
  8539. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8540. } else {
  8541. MergeFrom(*source);
  8542. }
  8543. }
  8544. void packetw2c_activity_quest_notify::MergeFrom(const packetw2c_activity_quest_notify& from) {
  8545. GOOGLE_CHECK_NE(&from, this);
  8546. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8547. if (from.has_packet_id()) {
  8548. set_packet_id(from.packet_id());
  8549. }
  8550. if (from.has_activityid()) {
  8551. set_activityid(from.activityid());
  8552. }
  8553. if (from.has_type()) {
  8554. set_type(from.type());
  8555. }
  8556. if (from.has_id()) {
  8557. set_id(from.id());
  8558. }
  8559. if (from.has_count()) {
  8560. set_count(from.count());
  8561. }
  8562. if (from.has_param()) {
  8563. set_param(from.param());
  8564. }
  8565. if (from.has_endtime()) {
  8566. set_endtime(from.endtime());
  8567. }
  8568. }
  8569. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8570. }
  8571. void packetw2c_activity_quest_notify::CopyFrom(const ::google::protobuf::Message& from) {
  8572. if (&from == this) return;
  8573. Clear();
  8574. MergeFrom(from);
  8575. }
  8576. void packetw2c_activity_quest_notify::CopyFrom(const packetw2c_activity_quest_notify& from) {
  8577. if (&from == this) return;
  8578. Clear();
  8579. MergeFrom(from);
  8580. }
  8581. bool packetw2c_activity_quest_notify::IsInitialized() const {
  8582. return true;
  8583. }
  8584. void packetw2c_activity_quest_notify::Swap(packetw2c_activity_quest_notify* other) {
  8585. if (other != this) {
  8586. std::swap(packet_id_, other->packet_id_);
  8587. std::swap(activityid_, other->activityid_);
  8588. std::swap(type_, other->type_);
  8589. std::swap(id_, other->id_);
  8590. std::swap(count_, other->count_);
  8591. std::swap(param_, other->param_);
  8592. std::swap(endtime_, other->endtime_);
  8593. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8594. _unknown_fields_.Swap(&other->_unknown_fields_);
  8595. std::swap(_cached_size_, other->_cached_size_);
  8596. }
  8597. }
  8598. ::google::protobuf::Metadata packetw2c_activity_quest_notify::GetMetadata() const {
  8599. protobuf_AssignDescriptorsOnce();
  8600. ::google::protobuf::Metadata metadata;
  8601. metadata.descriptor = packetw2c_activity_quest_notify_descriptor_;
  8602. metadata.reflection = packetw2c_activity_quest_notify_reflection_;
  8603. return metadata;
  8604. }
  8605. // ===================================================================
  8606. #ifndef _MSC_VER
  8607. const int packetw2c_syn_new_year_info::kPacketIdFieldNumber;
  8608. const int packetw2c_syn_new_year_info::kActivityStateFieldNumber;
  8609. const int packetw2c_syn_new_year_info::kStartTimeFieldNumber;
  8610. const int packetw2c_syn_new_year_info::kEndTimeFieldNumber;
  8611. const int packetw2c_syn_new_year_info::kSignListFieldNumber;
  8612. #endif // !_MSC_VER
  8613. packetw2c_syn_new_year_info::packetw2c_syn_new_year_info()
  8614. : ::google::protobuf::Message() {
  8615. SharedCtor();
  8616. }
  8617. void packetw2c_syn_new_year_info::InitAsDefaultInstance() {
  8618. }
  8619. packetw2c_syn_new_year_info::packetw2c_syn_new_year_info(const packetw2c_syn_new_year_info& from)
  8620. : ::google::protobuf::Message() {
  8621. SharedCtor();
  8622. MergeFrom(from);
  8623. }
  8624. void packetw2c_syn_new_year_info::SharedCtor() {
  8625. _cached_size_ = 0;
  8626. packet_id_ = 7681;
  8627. activitystate_ = 0;
  8628. starttime_ = 0;
  8629. endtime_ = 0;
  8630. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8631. }
  8632. packetw2c_syn_new_year_info::~packetw2c_syn_new_year_info() {
  8633. SharedDtor();
  8634. }
  8635. void packetw2c_syn_new_year_info::SharedDtor() {
  8636. if (this != default_instance_) {
  8637. }
  8638. }
  8639. void packetw2c_syn_new_year_info::SetCachedSize(int size) const {
  8640. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8641. _cached_size_ = size;
  8642. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8643. }
  8644. const ::google::protobuf::Descriptor* packetw2c_syn_new_year_info::descriptor() {
  8645. protobuf_AssignDescriptorsOnce();
  8646. return packetw2c_syn_new_year_info_descriptor_;
  8647. }
  8648. const packetw2c_syn_new_year_info& packetw2c_syn_new_year_info::default_instance() {
  8649. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  8650. return *default_instance_;
  8651. }
  8652. packetw2c_syn_new_year_info* packetw2c_syn_new_year_info::default_instance_ = NULL;
  8653. packetw2c_syn_new_year_info* packetw2c_syn_new_year_info::New() const {
  8654. return new packetw2c_syn_new_year_info;
  8655. }
  8656. void packetw2c_syn_new_year_info::Clear() {
  8657. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8658. packet_id_ = 7681;
  8659. activitystate_ = 0;
  8660. starttime_ = 0;
  8661. endtime_ = 0;
  8662. }
  8663. signlist_.Clear();
  8664. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8665. mutable_unknown_fields()->Clear();
  8666. }
  8667. bool packetw2c_syn_new_year_info::MergePartialFromCodedStream(
  8668. ::google::protobuf::io::CodedInputStream* input) {
  8669. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8670. ::google::protobuf::uint32 tag;
  8671. while ((tag = input->ReadTag()) != 0) {
  8672. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8673. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_new_year_info];
  8674. case 1: {
  8675. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8676. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8677. int value;
  8678. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8679. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  8680. input, &value)));
  8681. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  8682. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  8683. } else {
  8684. mutable_unknown_fields()->AddVarint(1, value);
  8685. }
  8686. } else {
  8687. goto handle_uninterpreted;
  8688. }
  8689. if (input->ExpectTag(16)) goto parse_activityState;
  8690. break;
  8691. }
  8692. // optional int32 activityState = 2;
  8693. case 2: {
  8694. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8695. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8696. parse_activityState:
  8697. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8698. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8699. input, &activitystate_)));
  8700. set_has_activitystate();
  8701. } else {
  8702. goto handle_uninterpreted;
  8703. }
  8704. if (input->ExpectTag(24)) goto parse_startTime;
  8705. break;
  8706. }
  8707. // optional int32 startTime = 3;
  8708. case 3: {
  8709. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8710. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8711. parse_startTime:
  8712. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8713. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8714. input, &starttime_)));
  8715. set_has_starttime();
  8716. } else {
  8717. goto handle_uninterpreted;
  8718. }
  8719. if (input->ExpectTag(32)) goto parse_endTime;
  8720. break;
  8721. }
  8722. // optional int32 endTime = 4;
  8723. case 4: {
  8724. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8725. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8726. parse_endTime:
  8727. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8728. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8729. input, &endtime_)));
  8730. set_has_endtime();
  8731. } else {
  8732. goto handle_uninterpreted;
  8733. }
  8734. if (input->ExpectTag(40)) goto parse_signList;
  8735. break;
  8736. }
  8737. // repeated int32 signList = 5;
  8738. case 5: {
  8739. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8740. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8741. parse_signList:
  8742. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  8743. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8744. 1, 40, input, this->mutable_signlist())));
  8745. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  8746. == ::google::protobuf::internal::WireFormatLite::
  8747. WIRETYPE_LENGTH_DELIMITED) {
  8748. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  8749. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8750. input, this->mutable_signlist())));
  8751. } else {
  8752. goto handle_uninterpreted;
  8753. }
  8754. if (input->ExpectTag(40)) goto parse_signList;
  8755. if (input->ExpectAtEnd()) return true;
  8756. break;
  8757. }
  8758. default: {
  8759. handle_uninterpreted:
  8760. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8761. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8762. return true;
  8763. }
  8764. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8765. input, tag, mutable_unknown_fields()));
  8766. break;
  8767. }
  8768. }
  8769. }
  8770. return true;
  8771. #undef DO_
  8772. }
  8773. void packetw2c_syn_new_year_info::SerializeWithCachedSizes(
  8774. ::google::protobuf::io::CodedOutputStream* output) const {
  8775. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_new_year_info];
  8776. if (has_packet_id()) {
  8777. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  8778. 1, this->packet_id(), output);
  8779. }
  8780. // optional int32 activityState = 2;
  8781. if (has_activitystate()) {
  8782. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  8783. }
  8784. // optional int32 startTime = 3;
  8785. if (has_starttime()) {
  8786. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  8787. }
  8788. // optional int32 endTime = 4;
  8789. if (has_endtime()) {
  8790. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  8791. }
  8792. // repeated int32 signList = 5;
  8793. for (int i = 0; i < this->signlist_size(); i++) {
  8794. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  8795. 5, this->signlist(i), output);
  8796. }
  8797. if (!unknown_fields().empty()) {
  8798. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8799. unknown_fields(), output);
  8800. }
  8801. }
  8802. ::google::protobuf::uint8* packetw2c_syn_new_year_info::SerializeWithCachedSizesToArray(
  8803. ::google::protobuf::uint8* target) const {
  8804. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_new_year_info];
  8805. if (has_packet_id()) {
  8806. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  8807. 1, this->packet_id(), target);
  8808. }
  8809. // optional int32 activityState = 2;
  8810. if (has_activitystate()) {
  8811. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  8812. }
  8813. // optional int32 startTime = 3;
  8814. if (has_starttime()) {
  8815. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  8816. }
  8817. // optional int32 endTime = 4;
  8818. if (has_endtime()) {
  8819. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  8820. }
  8821. // repeated int32 signList = 5;
  8822. for (int i = 0; i < this->signlist_size(); i++) {
  8823. target = ::google::protobuf::internal::WireFormatLite::
  8824. WriteInt32ToArray(5, this->signlist(i), target);
  8825. }
  8826. if (!unknown_fields().empty()) {
  8827. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8828. unknown_fields(), target);
  8829. }
  8830. return target;
  8831. }
  8832. int packetw2c_syn_new_year_info::ByteSize() const {
  8833. int total_size = 0;
  8834. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8835. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_new_year_info];
  8836. if (has_packet_id()) {
  8837. total_size += 1 +
  8838. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  8839. }
  8840. // optional int32 activityState = 2;
  8841. if (has_activitystate()) {
  8842. total_size += 1 +
  8843. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8844. this->activitystate());
  8845. }
  8846. // optional int32 startTime = 3;
  8847. if (has_starttime()) {
  8848. total_size += 1 +
  8849. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8850. this->starttime());
  8851. }
  8852. // optional int32 endTime = 4;
  8853. if (has_endtime()) {
  8854. total_size += 1 +
  8855. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8856. this->endtime());
  8857. }
  8858. }
  8859. // repeated int32 signList = 5;
  8860. {
  8861. int data_size = 0;
  8862. for (int i = 0; i < this->signlist_size(); i++) {
  8863. data_size += ::google::protobuf::internal::WireFormatLite::
  8864. Int32Size(this->signlist(i));
  8865. }
  8866. total_size += 1 * this->signlist_size() + data_size;
  8867. }
  8868. if (!unknown_fields().empty()) {
  8869. total_size +=
  8870. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8871. unknown_fields());
  8872. }
  8873. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8874. _cached_size_ = total_size;
  8875. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8876. return total_size;
  8877. }
  8878. void packetw2c_syn_new_year_info::MergeFrom(const ::google::protobuf::Message& from) {
  8879. GOOGLE_CHECK_NE(&from, this);
  8880. const packetw2c_syn_new_year_info* source =
  8881. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_new_year_info*>(
  8882. &from);
  8883. if (source == NULL) {
  8884. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8885. } else {
  8886. MergeFrom(*source);
  8887. }
  8888. }
  8889. void packetw2c_syn_new_year_info::MergeFrom(const packetw2c_syn_new_year_info& from) {
  8890. GOOGLE_CHECK_NE(&from, this);
  8891. signlist_.MergeFrom(from.signlist_);
  8892. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8893. if (from.has_packet_id()) {
  8894. set_packet_id(from.packet_id());
  8895. }
  8896. if (from.has_activitystate()) {
  8897. set_activitystate(from.activitystate());
  8898. }
  8899. if (from.has_starttime()) {
  8900. set_starttime(from.starttime());
  8901. }
  8902. if (from.has_endtime()) {
  8903. set_endtime(from.endtime());
  8904. }
  8905. }
  8906. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8907. }
  8908. void packetw2c_syn_new_year_info::CopyFrom(const ::google::protobuf::Message& from) {
  8909. if (&from == this) return;
  8910. Clear();
  8911. MergeFrom(from);
  8912. }
  8913. void packetw2c_syn_new_year_info::CopyFrom(const packetw2c_syn_new_year_info& from) {
  8914. if (&from == this) return;
  8915. Clear();
  8916. MergeFrom(from);
  8917. }
  8918. bool packetw2c_syn_new_year_info::IsInitialized() const {
  8919. return true;
  8920. }
  8921. void packetw2c_syn_new_year_info::Swap(packetw2c_syn_new_year_info* other) {
  8922. if (other != this) {
  8923. std::swap(packet_id_, other->packet_id_);
  8924. std::swap(activitystate_, other->activitystate_);
  8925. std::swap(starttime_, other->starttime_);
  8926. std::swap(endtime_, other->endtime_);
  8927. signlist_.Swap(&other->signlist_);
  8928. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8929. _unknown_fields_.Swap(&other->_unknown_fields_);
  8930. std::swap(_cached_size_, other->_cached_size_);
  8931. }
  8932. }
  8933. ::google::protobuf::Metadata packetw2c_syn_new_year_info::GetMetadata() const {
  8934. protobuf_AssignDescriptorsOnce();
  8935. ::google::protobuf::Metadata metadata;
  8936. metadata.descriptor = packetw2c_syn_new_year_info_descriptor_;
  8937. metadata.reflection = packetw2c_syn_new_year_info_reflection_;
  8938. return metadata;
  8939. }
  8940. // ===================================================================
  8941. #ifndef _MSC_VER
  8942. const int packetc2w_recv_new_year_login_reward::kPacketIdFieldNumber;
  8943. const int packetc2w_recv_new_year_login_reward::kSignIndexFieldNumber;
  8944. #endif // !_MSC_VER
  8945. packetc2w_recv_new_year_login_reward::packetc2w_recv_new_year_login_reward()
  8946. : ::google::protobuf::Message() {
  8947. SharedCtor();
  8948. }
  8949. void packetc2w_recv_new_year_login_reward::InitAsDefaultInstance() {
  8950. }
  8951. packetc2w_recv_new_year_login_reward::packetc2w_recv_new_year_login_reward(const packetc2w_recv_new_year_login_reward& from)
  8952. : ::google::protobuf::Message() {
  8953. SharedCtor();
  8954. MergeFrom(from);
  8955. }
  8956. void packetc2w_recv_new_year_login_reward::SharedCtor() {
  8957. _cached_size_ = 0;
  8958. packet_id_ = 5167;
  8959. signindex_ = 0;
  8960. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8961. }
  8962. packetc2w_recv_new_year_login_reward::~packetc2w_recv_new_year_login_reward() {
  8963. SharedDtor();
  8964. }
  8965. void packetc2w_recv_new_year_login_reward::SharedDtor() {
  8966. if (this != default_instance_) {
  8967. }
  8968. }
  8969. void packetc2w_recv_new_year_login_reward::SetCachedSize(int size) const {
  8970. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8971. _cached_size_ = size;
  8972. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8973. }
  8974. const ::google::protobuf::Descriptor* packetc2w_recv_new_year_login_reward::descriptor() {
  8975. protobuf_AssignDescriptorsOnce();
  8976. return packetc2w_recv_new_year_login_reward_descriptor_;
  8977. }
  8978. const packetc2w_recv_new_year_login_reward& packetc2w_recv_new_year_login_reward::default_instance() {
  8979. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  8980. return *default_instance_;
  8981. }
  8982. packetc2w_recv_new_year_login_reward* packetc2w_recv_new_year_login_reward::default_instance_ = NULL;
  8983. packetc2w_recv_new_year_login_reward* packetc2w_recv_new_year_login_reward::New() const {
  8984. return new packetc2w_recv_new_year_login_reward;
  8985. }
  8986. void packetc2w_recv_new_year_login_reward::Clear() {
  8987. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8988. packet_id_ = 5167;
  8989. signindex_ = 0;
  8990. }
  8991. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8992. mutable_unknown_fields()->Clear();
  8993. }
  8994. bool packetc2w_recv_new_year_login_reward::MergePartialFromCodedStream(
  8995. ::google::protobuf::io::CodedInputStream* input) {
  8996. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8997. ::google::protobuf::uint32 tag;
  8998. while ((tag = input->ReadTag()) != 0) {
  8999. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9000. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_new_year_login_reward];
  9001. case 1: {
  9002. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9003. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9004. int value;
  9005. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9006. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9007. input, &value)));
  9008. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  9009. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  9010. } else {
  9011. mutable_unknown_fields()->AddVarint(1, value);
  9012. }
  9013. } else {
  9014. goto handle_uninterpreted;
  9015. }
  9016. if (input->ExpectTag(16)) goto parse_signIndex;
  9017. break;
  9018. }
  9019. // optional int32 signIndex = 2;
  9020. case 2: {
  9021. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9022. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9023. parse_signIndex:
  9024. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9025. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9026. input, &signindex_)));
  9027. set_has_signindex();
  9028. } else {
  9029. goto handle_uninterpreted;
  9030. }
  9031. if (input->ExpectAtEnd()) return true;
  9032. break;
  9033. }
  9034. default: {
  9035. handle_uninterpreted:
  9036. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9037. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9038. return true;
  9039. }
  9040. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9041. input, tag, mutable_unknown_fields()));
  9042. break;
  9043. }
  9044. }
  9045. }
  9046. return true;
  9047. #undef DO_
  9048. }
  9049. void packetc2w_recv_new_year_login_reward::SerializeWithCachedSizes(
  9050. ::google::protobuf::io::CodedOutputStream* output) const {
  9051. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_new_year_login_reward];
  9052. if (has_packet_id()) {
  9053. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  9054. 1, this->packet_id(), output);
  9055. }
  9056. // optional int32 signIndex = 2;
  9057. if (has_signindex()) {
  9058. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  9059. }
  9060. if (!unknown_fields().empty()) {
  9061. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9062. unknown_fields(), output);
  9063. }
  9064. }
  9065. ::google::protobuf::uint8* packetc2w_recv_new_year_login_reward::SerializeWithCachedSizesToArray(
  9066. ::google::protobuf::uint8* target) const {
  9067. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_new_year_login_reward];
  9068. if (has_packet_id()) {
  9069. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  9070. 1, this->packet_id(), target);
  9071. }
  9072. // optional int32 signIndex = 2;
  9073. if (has_signindex()) {
  9074. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  9075. }
  9076. if (!unknown_fields().empty()) {
  9077. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9078. unknown_fields(), target);
  9079. }
  9080. return target;
  9081. }
  9082. int packetc2w_recv_new_year_login_reward::ByteSize() const {
  9083. int total_size = 0;
  9084. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9085. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_new_year_login_reward];
  9086. if (has_packet_id()) {
  9087. total_size += 1 +
  9088. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  9089. }
  9090. // optional int32 signIndex = 2;
  9091. if (has_signindex()) {
  9092. total_size += 1 +
  9093. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9094. this->signindex());
  9095. }
  9096. }
  9097. if (!unknown_fields().empty()) {
  9098. total_size +=
  9099. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9100. unknown_fields());
  9101. }
  9102. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9103. _cached_size_ = total_size;
  9104. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9105. return total_size;
  9106. }
  9107. void packetc2w_recv_new_year_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  9108. GOOGLE_CHECK_NE(&from, this);
  9109. const packetc2w_recv_new_year_login_reward* source =
  9110. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_new_year_login_reward*>(
  9111. &from);
  9112. if (source == NULL) {
  9113. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9114. } else {
  9115. MergeFrom(*source);
  9116. }
  9117. }
  9118. void packetc2w_recv_new_year_login_reward::MergeFrom(const packetc2w_recv_new_year_login_reward& from) {
  9119. GOOGLE_CHECK_NE(&from, this);
  9120. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9121. if (from.has_packet_id()) {
  9122. set_packet_id(from.packet_id());
  9123. }
  9124. if (from.has_signindex()) {
  9125. set_signindex(from.signindex());
  9126. }
  9127. }
  9128. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9129. }
  9130. void packetc2w_recv_new_year_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  9131. if (&from == this) return;
  9132. Clear();
  9133. MergeFrom(from);
  9134. }
  9135. void packetc2w_recv_new_year_login_reward::CopyFrom(const packetc2w_recv_new_year_login_reward& from) {
  9136. if (&from == this) return;
  9137. Clear();
  9138. MergeFrom(from);
  9139. }
  9140. bool packetc2w_recv_new_year_login_reward::IsInitialized() const {
  9141. return true;
  9142. }
  9143. void packetc2w_recv_new_year_login_reward::Swap(packetc2w_recv_new_year_login_reward* other) {
  9144. if (other != this) {
  9145. std::swap(packet_id_, other->packet_id_);
  9146. std::swap(signindex_, other->signindex_);
  9147. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9148. _unknown_fields_.Swap(&other->_unknown_fields_);
  9149. std::swap(_cached_size_, other->_cached_size_);
  9150. }
  9151. }
  9152. ::google::protobuf::Metadata packetc2w_recv_new_year_login_reward::GetMetadata() const {
  9153. protobuf_AssignDescriptorsOnce();
  9154. ::google::protobuf::Metadata metadata;
  9155. metadata.descriptor = packetc2w_recv_new_year_login_reward_descriptor_;
  9156. metadata.reflection = packetc2w_recv_new_year_login_reward_reflection_;
  9157. return metadata;
  9158. }
  9159. // ===================================================================
  9160. #ifndef _MSC_VER
  9161. const int packetw2c_recv_new_year_login_reward_result::kPacketIdFieldNumber;
  9162. const int packetw2c_recv_new_year_login_reward_result::kSignIndexFieldNumber;
  9163. const int packetw2c_recv_new_year_login_reward_result::kResultFieldNumber;
  9164. #endif // !_MSC_VER
  9165. packetw2c_recv_new_year_login_reward_result::packetw2c_recv_new_year_login_reward_result()
  9166. : ::google::protobuf::Message() {
  9167. SharedCtor();
  9168. }
  9169. void packetw2c_recv_new_year_login_reward_result::InitAsDefaultInstance() {
  9170. }
  9171. packetw2c_recv_new_year_login_reward_result::packetw2c_recv_new_year_login_reward_result(const packetw2c_recv_new_year_login_reward_result& from)
  9172. : ::google::protobuf::Message() {
  9173. SharedCtor();
  9174. MergeFrom(from);
  9175. }
  9176. void packetw2c_recv_new_year_login_reward_result::SharedCtor() {
  9177. _cached_size_ = 0;
  9178. packet_id_ = 7682;
  9179. signindex_ = 0;
  9180. result_ = 0;
  9181. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9182. }
  9183. packetw2c_recv_new_year_login_reward_result::~packetw2c_recv_new_year_login_reward_result() {
  9184. SharedDtor();
  9185. }
  9186. void packetw2c_recv_new_year_login_reward_result::SharedDtor() {
  9187. if (this != default_instance_) {
  9188. }
  9189. }
  9190. void packetw2c_recv_new_year_login_reward_result::SetCachedSize(int size) const {
  9191. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9192. _cached_size_ = size;
  9193. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9194. }
  9195. const ::google::protobuf::Descriptor* packetw2c_recv_new_year_login_reward_result::descriptor() {
  9196. protobuf_AssignDescriptorsOnce();
  9197. return packetw2c_recv_new_year_login_reward_result_descriptor_;
  9198. }
  9199. const packetw2c_recv_new_year_login_reward_result& packetw2c_recv_new_year_login_reward_result::default_instance() {
  9200. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  9201. return *default_instance_;
  9202. }
  9203. packetw2c_recv_new_year_login_reward_result* packetw2c_recv_new_year_login_reward_result::default_instance_ = NULL;
  9204. packetw2c_recv_new_year_login_reward_result* packetw2c_recv_new_year_login_reward_result::New() const {
  9205. return new packetw2c_recv_new_year_login_reward_result;
  9206. }
  9207. void packetw2c_recv_new_year_login_reward_result::Clear() {
  9208. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9209. packet_id_ = 7682;
  9210. signindex_ = 0;
  9211. result_ = 0;
  9212. }
  9213. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9214. mutable_unknown_fields()->Clear();
  9215. }
  9216. bool packetw2c_recv_new_year_login_reward_result::MergePartialFromCodedStream(
  9217. ::google::protobuf::io::CodedInputStream* input) {
  9218. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9219. ::google::protobuf::uint32 tag;
  9220. while ((tag = input->ReadTag()) != 0) {
  9221. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9222. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_new_year_login_reward_result];
  9223. case 1: {
  9224. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9225. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9226. int value;
  9227. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9228. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9229. input, &value)));
  9230. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  9231. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  9232. } else {
  9233. mutable_unknown_fields()->AddVarint(1, value);
  9234. }
  9235. } else {
  9236. goto handle_uninterpreted;
  9237. }
  9238. if (input->ExpectTag(16)) goto parse_signIndex;
  9239. break;
  9240. }
  9241. // optional int32 signIndex = 2;
  9242. case 2: {
  9243. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9244. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9245. parse_signIndex:
  9246. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9247. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9248. input, &signindex_)));
  9249. set_has_signindex();
  9250. } else {
  9251. goto handle_uninterpreted;
  9252. }
  9253. if (input->ExpectTag(24)) goto parse_result;
  9254. break;
  9255. }
  9256. // optional int32 result = 3;
  9257. case 3: {
  9258. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9259. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9260. parse_result:
  9261. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9262. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9263. input, &result_)));
  9264. set_has_result();
  9265. } else {
  9266. goto handle_uninterpreted;
  9267. }
  9268. if (input->ExpectAtEnd()) return true;
  9269. break;
  9270. }
  9271. default: {
  9272. handle_uninterpreted:
  9273. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9274. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9275. return true;
  9276. }
  9277. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9278. input, tag, mutable_unknown_fields()));
  9279. break;
  9280. }
  9281. }
  9282. }
  9283. return true;
  9284. #undef DO_
  9285. }
  9286. void packetw2c_recv_new_year_login_reward_result::SerializeWithCachedSizes(
  9287. ::google::protobuf::io::CodedOutputStream* output) const {
  9288. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_new_year_login_reward_result];
  9289. if (has_packet_id()) {
  9290. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  9291. 1, this->packet_id(), output);
  9292. }
  9293. // optional int32 signIndex = 2;
  9294. if (has_signindex()) {
  9295. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  9296. }
  9297. // optional int32 result = 3;
  9298. if (has_result()) {
  9299. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  9300. }
  9301. if (!unknown_fields().empty()) {
  9302. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9303. unknown_fields(), output);
  9304. }
  9305. }
  9306. ::google::protobuf::uint8* packetw2c_recv_new_year_login_reward_result::SerializeWithCachedSizesToArray(
  9307. ::google::protobuf::uint8* target) const {
  9308. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_new_year_login_reward_result];
  9309. if (has_packet_id()) {
  9310. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  9311. 1, this->packet_id(), target);
  9312. }
  9313. // optional int32 signIndex = 2;
  9314. if (has_signindex()) {
  9315. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  9316. }
  9317. // optional int32 result = 3;
  9318. if (has_result()) {
  9319. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  9320. }
  9321. if (!unknown_fields().empty()) {
  9322. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9323. unknown_fields(), target);
  9324. }
  9325. return target;
  9326. }
  9327. int packetw2c_recv_new_year_login_reward_result::ByteSize() const {
  9328. int total_size = 0;
  9329. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9330. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_new_year_login_reward_result];
  9331. if (has_packet_id()) {
  9332. total_size += 1 +
  9333. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  9334. }
  9335. // optional int32 signIndex = 2;
  9336. if (has_signindex()) {
  9337. total_size += 1 +
  9338. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9339. this->signindex());
  9340. }
  9341. // optional int32 result = 3;
  9342. if (has_result()) {
  9343. total_size += 1 +
  9344. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9345. this->result());
  9346. }
  9347. }
  9348. if (!unknown_fields().empty()) {
  9349. total_size +=
  9350. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9351. unknown_fields());
  9352. }
  9353. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9354. _cached_size_ = total_size;
  9355. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9356. return total_size;
  9357. }
  9358. void packetw2c_recv_new_year_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  9359. GOOGLE_CHECK_NE(&from, this);
  9360. const packetw2c_recv_new_year_login_reward_result* source =
  9361. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_new_year_login_reward_result*>(
  9362. &from);
  9363. if (source == NULL) {
  9364. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9365. } else {
  9366. MergeFrom(*source);
  9367. }
  9368. }
  9369. void packetw2c_recv_new_year_login_reward_result::MergeFrom(const packetw2c_recv_new_year_login_reward_result& from) {
  9370. GOOGLE_CHECK_NE(&from, this);
  9371. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9372. if (from.has_packet_id()) {
  9373. set_packet_id(from.packet_id());
  9374. }
  9375. if (from.has_signindex()) {
  9376. set_signindex(from.signindex());
  9377. }
  9378. if (from.has_result()) {
  9379. set_result(from.result());
  9380. }
  9381. }
  9382. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9383. }
  9384. void packetw2c_recv_new_year_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  9385. if (&from == this) return;
  9386. Clear();
  9387. MergeFrom(from);
  9388. }
  9389. void packetw2c_recv_new_year_login_reward_result::CopyFrom(const packetw2c_recv_new_year_login_reward_result& from) {
  9390. if (&from == this) return;
  9391. Clear();
  9392. MergeFrom(from);
  9393. }
  9394. bool packetw2c_recv_new_year_login_reward_result::IsInitialized() const {
  9395. return true;
  9396. }
  9397. void packetw2c_recv_new_year_login_reward_result::Swap(packetw2c_recv_new_year_login_reward_result* other) {
  9398. if (other != this) {
  9399. std::swap(packet_id_, other->packet_id_);
  9400. std::swap(signindex_, other->signindex_);
  9401. std::swap(result_, other->result_);
  9402. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9403. _unknown_fields_.Swap(&other->_unknown_fields_);
  9404. std::swap(_cached_size_, other->_cached_size_);
  9405. }
  9406. }
  9407. ::google::protobuf::Metadata packetw2c_recv_new_year_login_reward_result::GetMetadata() const {
  9408. protobuf_AssignDescriptorsOnce();
  9409. ::google::protobuf::Metadata metadata;
  9410. metadata.descriptor = packetw2c_recv_new_year_login_reward_result_descriptor_;
  9411. metadata.reflection = packetw2c_recv_new_year_login_reward_result_reflection_;
  9412. return metadata;
  9413. }
  9414. // ===================================================================
  9415. #ifndef _MSC_VER
  9416. const int packetw2c_syn_national_day_info::kPacketIdFieldNumber;
  9417. const int packetw2c_syn_national_day_info::kActivityStateFieldNumber;
  9418. const int packetw2c_syn_national_day_info::kStartTimeFieldNumber;
  9419. const int packetw2c_syn_national_day_info::kEndTimeFieldNumber;
  9420. const int packetw2c_syn_national_day_info::kSignListFieldNumber;
  9421. const int packetw2c_syn_national_day_info::kQuestBranchFieldNumber;
  9422. const int packetw2c_syn_national_day_info::kQuestListFieldNumber;
  9423. const int packetw2c_syn_national_day_info::kRewardRecvListFieldNumber;
  9424. #endif // !_MSC_VER
  9425. packetw2c_syn_national_day_info::packetw2c_syn_national_day_info()
  9426. : ::google::protobuf::Message() {
  9427. SharedCtor();
  9428. }
  9429. void packetw2c_syn_national_day_info::InitAsDefaultInstance() {
  9430. }
  9431. packetw2c_syn_national_day_info::packetw2c_syn_national_day_info(const packetw2c_syn_national_day_info& from)
  9432. : ::google::protobuf::Message() {
  9433. SharedCtor();
  9434. MergeFrom(from);
  9435. }
  9436. void packetw2c_syn_national_day_info::SharedCtor() {
  9437. _cached_size_ = 0;
  9438. packet_id_ = 7672;
  9439. activitystate_ = 0;
  9440. starttime_ = 0;
  9441. endtime_ = 0;
  9442. questbranch_ = 0;
  9443. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9444. }
  9445. packetw2c_syn_national_day_info::~packetw2c_syn_national_day_info() {
  9446. SharedDtor();
  9447. }
  9448. void packetw2c_syn_national_day_info::SharedDtor() {
  9449. if (this != default_instance_) {
  9450. }
  9451. }
  9452. void packetw2c_syn_national_day_info::SetCachedSize(int size) const {
  9453. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9454. _cached_size_ = size;
  9455. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9456. }
  9457. const ::google::protobuf::Descriptor* packetw2c_syn_national_day_info::descriptor() {
  9458. protobuf_AssignDescriptorsOnce();
  9459. return packetw2c_syn_national_day_info_descriptor_;
  9460. }
  9461. const packetw2c_syn_national_day_info& packetw2c_syn_national_day_info::default_instance() {
  9462. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  9463. return *default_instance_;
  9464. }
  9465. packetw2c_syn_national_day_info* packetw2c_syn_national_day_info::default_instance_ = NULL;
  9466. packetw2c_syn_national_day_info* packetw2c_syn_national_day_info::New() const {
  9467. return new packetw2c_syn_national_day_info;
  9468. }
  9469. void packetw2c_syn_national_day_info::Clear() {
  9470. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9471. packet_id_ = 7672;
  9472. activitystate_ = 0;
  9473. starttime_ = 0;
  9474. endtime_ = 0;
  9475. questbranch_ = 0;
  9476. }
  9477. signlist_.Clear();
  9478. questlist_.Clear();
  9479. rewardrecvlist_.Clear();
  9480. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9481. mutable_unknown_fields()->Clear();
  9482. }
  9483. bool packetw2c_syn_national_day_info::MergePartialFromCodedStream(
  9484. ::google::protobuf::io::CodedInputStream* input) {
  9485. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9486. ::google::protobuf::uint32 tag;
  9487. while ((tag = input->ReadTag()) != 0) {
  9488. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9489. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_national_day_info];
  9490. case 1: {
  9491. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9492. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9493. int value;
  9494. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9495. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9496. input, &value)));
  9497. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  9498. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  9499. } else {
  9500. mutable_unknown_fields()->AddVarint(1, value);
  9501. }
  9502. } else {
  9503. goto handle_uninterpreted;
  9504. }
  9505. if (input->ExpectTag(16)) goto parse_activityState;
  9506. break;
  9507. }
  9508. // optional int32 activityState = 2;
  9509. case 2: {
  9510. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9511. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9512. parse_activityState:
  9513. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9514. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9515. input, &activitystate_)));
  9516. set_has_activitystate();
  9517. } else {
  9518. goto handle_uninterpreted;
  9519. }
  9520. if (input->ExpectTag(24)) goto parse_startTime;
  9521. break;
  9522. }
  9523. // optional int32 startTime = 3;
  9524. case 3: {
  9525. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9526. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9527. parse_startTime:
  9528. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9529. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9530. input, &starttime_)));
  9531. set_has_starttime();
  9532. } else {
  9533. goto handle_uninterpreted;
  9534. }
  9535. if (input->ExpectTag(32)) goto parse_endTime;
  9536. break;
  9537. }
  9538. // optional int32 endTime = 4;
  9539. case 4: {
  9540. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9541. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9542. parse_endTime:
  9543. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9544. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9545. input, &endtime_)));
  9546. set_has_endtime();
  9547. } else {
  9548. goto handle_uninterpreted;
  9549. }
  9550. if (input->ExpectTag(40)) goto parse_signList;
  9551. break;
  9552. }
  9553. // repeated int32 signList = 5;
  9554. case 5: {
  9555. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9556. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9557. parse_signList:
  9558. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  9559. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9560. 1, 40, input, this->mutable_signlist())));
  9561. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  9562. == ::google::protobuf::internal::WireFormatLite::
  9563. WIRETYPE_LENGTH_DELIMITED) {
  9564. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  9565. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9566. input, this->mutable_signlist())));
  9567. } else {
  9568. goto handle_uninterpreted;
  9569. }
  9570. if (input->ExpectTag(40)) goto parse_signList;
  9571. if (input->ExpectTag(48)) goto parse_questBranch;
  9572. break;
  9573. }
  9574. // optional int32 questBranch = 6;
  9575. case 6: {
  9576. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9577. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9578. parse_questBranch:
  9579. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9580. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9581. input, &questbranch_)));
  9582. set_has_questbranch();
  9583. } else {
  9584. goto handle_uninterpreted;
  9585. }
  9586. if (input->ExpectTag(58)) goto parse_questList;
  9587. break;
  9588. }
  9589. // repeated .msg_info_def.msg_quest_info questList = 7;
  9590. case 7: {
  9591. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9592. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9593. parse_questList:
  9594. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  9595. input, add_questlist()));
  9596. } else {
  9597. goto handle_uninterpreted;
  9598. }
  9599. if (input->ExpectTag(58)) goto parse_questList;
  9600. if (input->ExpectTag(64)) goto parse_rewardRecvList;
  9601. break;
  9602. }
  9603. // repeated int32 rewardRecvList = 8;
  9604. case 8: {
  9605. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9606. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9607. parse_rewardRecvList:
  9608. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  9609. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9610. 1, 64, input, this->mutable_rewardrecvlist())));
  9611. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  9612. == ::google::protobuf::internal::WireFormatLite::
  9613. WIRETYPE_LENGTH_DELIMITED) {
  9614. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  9615. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9616. input, this->mutable_rewardrecvlist())));
  9617. } else {
  9618. goto handle_uninterpreted;
  9619. }
  9620. if (input->ExpectTag(64)) goto parse_rewardRecvList;
  9621. if (input->ExpectAtEnd()) return true;
  9622. break;
  9623. }
  9624. default: {
  9625. handle_uninterpreted:
  9626. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9627. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9628. return true;
  9629. }
  9630. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9631. input, tag, mutable_unknown_fields()));
  9632. break;
  9633. }
  9634. }
  9635. }
  9636. return true;
  9637. #undef DO_
  9638. }
  9639. void packetw2c_syn_national_day_info::SerializeWithCachedSizes(
  9640. ::google::protobuf::io::CodedOutputStream* output) const {
  9641. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_national_day_info];
  9642. if (has_packet_id()) {
  9643. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  9644. 1, this->packet_id(), output);
  9645. }
  9646. // optional int32 activityState = 2;
  9647. if (has_activitystate()) {
  9648. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  9649. }
  9650. // optional int32 startTime = 3;
  9651. if (has_starttime()) {
  9652. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  9653. }
  9654. // optional int32 endTime = 4;
  9655. if (has_endtime()) {
  9656. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  9657. }
  9658. // repeated int32 signList = 5;
  9659. for (int i = 0; i < this->signlist_size(); i++) {
  9660. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  9661. 5, this->signlist(i), output);
  9662. }
  9663. // optional int32 questBranch = 6;
  9664. if (has_questbranch()) {
  9665. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->questbranch(), output);
  9666. }
  9667. // repeated .msg_info_def.msg_quest_info questList = 7;
  9668. for (int i = 0; i < this->questlist_size(); i++) {
  9669. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  9670. 7, this->questlist(i), output);
  9671. }
  9672. // repeated int32 rewardRecvList = 8;
  9673. for (int i = 0; i < this->rewardrecvlist_size(); i++) {
  9674. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  9675. 8, this->rewardrecvlist(i), output);
  9676. }
  9677. if (!unknown_fields().empty()) {
  9678. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9679. unknown_fields(), output);
  9680. }
  9681. }
  9682. ::google::protobuf::uint8* packetw2c_syn_national_day_info::SerializeWithCachedSizesToArray(
  9683. ::google::protobuf::uint8* target) const {
  9684. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_national_day_info];
  9685. if (has_packet_id()) {
  9686. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  9687. 1, this->packet_id(), target);
  9688. }
  9689. // optional int32 activityState = 2;
  9690. if (has_activitystate()) {
  9691. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  9692. }
  9693. // optional int32 startTime = 3;
  9694. if (has_starttime()) {
  9695. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  9696. }
  9697. // optional int32 endTime = 4;
  9698. if (has_endtime()) {
  9699. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  9700. }
  9701. // repeated int32 signList = 5;
  9702. for (int i = 0; i < this->signlist_size(); i++) {
  9703. target = ::google::protobuf::internal::WireFormatLite::
  9704. WriteInt32ToArray(5, this->signlist(i), target);
  9705. }
  9706. // optional int32 questBranch = 6;
  9707. if (has_questbranch()) {
  9708. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->questbranch(), target);
  9709. }
  9710. // repeated .msg_info_def.msg_quest_info questList = 7;
  9711. for (int i = 0; i < this->questlist_size(); i++) {
  9712. target = ::google::protobuf::internal::WireFormatLite::
  9713. WriteMessageNoVirtualToArray(
  9714. 7, this->questlist(i), target);
  9715. }
  9716. // repeated int32 rewardRecvList = 8;
  9717. for (int i = 0; i < this->rewardrecvlist_size(); i++) {
  9718. target = ::google::protobuf::internal::WireFormatLite::
  9719. WriteInt32ToArray(8, this->rewardrecvlist(i), target);
  9720. }
  9721. if (!unknown_fields().empty()) {
  9722. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9723. unknown_fields(), target);
  9724. }
  9725. return target;
  9726. }
  9727. int packetw2c_syn_national_day_info::ByteSize() const {
  9728. int total_size = 0;
  9729. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9730. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_national_day_info];
  9731. if (has_packet_id()) {
  9732. total_size += 1 +
  9733. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  9734. }
  9735. // optional int32 activityState = 2;
  9736. if (has_activitystate()) {
  9737. total_size += 1 +
  9738. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9739. this->activitystate());
  9740. }
  9741. // optional int32 startTime = 3;
  9742. if (has_starttime()) {
  9743. total_size += 1 +
  9744. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9745. this->starttime());
  9746. }
  9747. // optional int32 endTime = 4;
  9748. if (has_endtime()) {
  9749. total_size += 1 +
  9750. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9751. this->endtime());
  9752. }
  9753. // optional int32 questBranch = 6;
  9754. if (has_questbranch()) {
  9755. total_size += 1 +
  9756. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9757. this->questbranch());
  9758. }
  9759. }
  9760. // repeated int32 signList = 5;
  9761. {
  9762. int data_size = 0;
  9763. for (int i = 0; i < this->signlist_size(); i++) {
  9764. data_size += ::google::protobuf::internal::WireFormatLite::
  9765. Int32Size(this->signlist(i));
  9766. }
  9767. total_size += 1 * this->signlist_size() + data_size;
  9768. }
  9769. // repeated .msg_info_def.msg_quest_info questList = 7;
  9770. total_size += 1 * this->questlist_size();
  9771. for (int i = 0; i < this->questlist_size(); i++) {
  9772. total_size +=
  9773. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  9774. this->questlist(i));
  9775. }
  9776. // repeated int32 rewardRecvList = 8;
  9777. {
  9778. int data_size = 0;
  9779. for (int i = 0; i < this->rewardrecvlist_size(); i++) {
  9780. data_size += ::google::protobuf::internal::WireFormatLite::
  9781. Int32Size(this->rewardrecvlist(i));
  9782. }
  9783. total_size += 1 * this->rewardrecvlist_size() + data_size;
  9784. }
  9785. if (!unknown_fields().empty()) {
  9786. total_size +=
  9787. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9788. unknown_fields());
  9789. }
  9790. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9791. _cached_size_ = total_size;
  9792. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9793. return total_size;
  9794. }
  9795. void packetw2c_syn_national_day_info::MergeFrom(const ::google::protobuf::Message& from) {
  9796. GOOGLE_CHECK_NE(&from, this);
  9797. const packetw2c_syn_national_day_info* source =
  9798. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_national_day_info*>(
  9799. &from);
  9800. if (source == NULL) {
  9801. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9802. } else {
  9803. MergeFrom(*source);
  9804. }
  9805. }
  9806. void packetw2c_syn_national_day_info::MergeFrom(const packetw2c_syn_national_day_info& from) {
  9807. GOOGLE_CHECK_NE(&from, this);
  9808. signlist_.MergeFrom(from.signlist_);
  9809. questlist_.MergeFrom(from.questlist_);
  9810. rewardrecvlist_.MergeFrom(from.rewardrecvlist_);
  9811. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9812. if (from.has_packet_id()) {
  9813. set_packet_id(from.packet_id());
  9814. }
  9815. if (from.has_activitystate()) {
  9816. set_activitystate(from.activitystate());
  9817. }
  9818. if (from.has_starttime()) {
  9819. set_starttime(from.starttime());
  9820. }
  9821. if (from.has_endtime()) {
  9822. set_endtime(from.endtime());
  9823. }
  9824. if (from.has_questbranch()) {
  9825. set_questbranch(from.questbranch());
  9826. }
  9827. }
  9828. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9829. }
  9830. void packetw2c_syn_national_day_info::CopyFrom(const ::google::protobuf::Message& from) {
  9831. if (&from == this) return;
  9832. Clear();
  9833. MergeFrom(from);
  9834. }
  9835. void packetw2c_syn_national_day_info::CopyFrom(const packetw2c_syn_national_day_info& from) {
  9836. if (&from == this) return;
  9837. Clear();
  9838. MergeFrom(from);
  9839. }
  9840. bool packetw2c_syn_national_day_info::IsInitialized() const {
  9841. return true;
  9842. }
  9843. void packetw2c_syn_national_day_info::Swap(packetw2c_syn_national_day_info* other) {
  9844. if (other != this) {
  9845. std::swap(packet_id_, other->packet_id_);
  9846. std::swap(activitystate_, other->activitystate_);
  9847. std::swap(starttime_, other->starttime_);
  9848. std::swap(endtime_, other->endtime_);
  9849. signlist_.Swap(&other->signlist_);
  9850. std::swap(questbranch_, other->questbranch_);
  9851. questlist_.Swap(&other->questlist_);
  9852. rewardrecvlist_.Swap(&other->rewardrecvlist_);
  9853. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9854. _unknown_fields_.Swap(&other->_unknown_fields_);
  9855. std::swap(_cached_size_, other->_cached_size_);
  9856. }
  9857. }
  9858. ::google::protobuf::Metadata packetw2c_syn_national_day_info::GetMetadata() const {
  9859. protobuf_AssignDescriptorsOnce();
  9860. ::google::protobuf::Metadata metadata;
  9861. metadata.descriptor = packetw2c_syn_national_day_info_descriptor_;
  9862. metadata.reflection = packetw2c_syn_national_day_info_reflection_;
  9863. return metadata;
  9864. }
  9865. // ===================================================================
  9866. #ifndef _MSC_VER
  9867. const int packetw2c_national_day_quest_notify::kPacketIdFieldNumber;
  9868. const int packetw2c_national_day_quest_notify::kTypeFieldNumber;
  9869. const int packetw2c_national_day_quest_notify::kIdFieldNumber;
  9870. const int packetw2c_national_day_quest_notify::kCountFieldNumber;
  9871. const int packetw2c_national_day_quest_notify::kEndtimeFieldNumber;
  9872. #endif // !_MSC_VER
  9873. packetw2c_national_day_quest_notify::packetw2c_national_day_quest_notify()
  9874. : ::google::protobuf::Message() {
  9875. SharedCtor();
  9876. }
  9877. void packetw2c_national_day_quest_notify::InitAsDefaultInstance() {
  9878. }
  9879. packetw2c_national_day_quest_notify::packetw2c_national_day_quest_notify(const packetw2c_national_day_quest_notify& from)
  9880. : ::google::protobuf::Message() {
  9881. SharedCtor();
  9882. MergeFrom(from);
  9883. }
  9884. void packetw2c_national_day_quest_notify::SharedCtor() {
  9885. _cached_size_ = 0;
  9886. packet_id_ = 7673;
  9887. type_ = 0;
  9888. id_ = 0;
  9889. count_ = 0;
  9890. endtime_ = 0;
  9891. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9892. }
  9893. packetw2c_national_day_quest_notify::~packetw2c_national_day_quest_notify() {
  9894. SharedDtor();
  9895. }
  9896. void packetw2c_national_day_quest_notify::SharedDtor() {
  9897. if (this != default_instance_) {
  9898. }
  9899. }
  9900. void packetw2c_national_day_quest_notify::SetCachedSize(int size) const {
  9901. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9902. _cached_size_ = size;
  9903. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9904. }
  9905. const ::google::protobuf::Descriptor* packetw2c_national_day_quest_notify::descriptor() {
  9906. protobuf_AssignDescriptorsOnce();
  9907. return packetw2c_national_day_quest_notify_descriptor_;
  9908. }
  9909. const packetw2c_national_day_quest_notify& packetw2c_national_day_quest_notify::default_instance() {
  9910. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  9911. return *default_instance_;
  9912. }
  9913. packetw2c_national_day_quest_notify* packetw2c_national_day_quest_notify::default_instance_ = NULL;
  9914. packetw2c_national_day_quest_notify* packetw2c_national_day_quest_notify::New() const {
  9915. return new packetw2c_national_day_quest_notify;
  9916. }
  9917. void packetw2c_national_day_quest_notify::Clear() {
  9918. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9919. packet_id_ = 7673;
  9920. type_ = 0;
  9921. id_ = 0;
  9922. count_ = 0;
  9923. endtime_ = 0;
  9924. }
  9925. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9926. mutable_unknown_fields()->Clear();
  9927. }
  9928. bool packetw2c_national_day_quest_notify::MergePartialFromCodedStream(
  9929. ::google::protobuf::io::CodedInputStream* input) {
  9930. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9931. ::google::protobuf::uint32 tag;
  9932. while ((tag = input->ReadTag()) != 0) {
  9933. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9934. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_quest_notify];
  9935. case 1: {
  9936. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9937. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9938. int value;
  9939. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9940. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9941. input, &value)));
  9942. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  9943. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  9944. } else {
  9945. mutable_unknown_fields()->AddVarint(1, value);
  9946. }
  9947. } else {
  9948. goto handle_uninterpreted;
  9949. }
  9950. if (input->ExpectTag(16)) goto parse_type;
  9951. break;
  9952. }
  9953. // optional int32 type = 2;
  9954. case 2: {
  9955. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9956. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9957. parse_type:
  9958. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9959. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9960. input, &type_)));
  9961. set_has_type();
  9962. } else {
  9963. goto handle_uninterpreted;
  9964. }
  9965. if (input->ExpectTag(24)) goto parse_id;
  9966. break;
  9967. }
  9968. // optional int32 id = 3;
  9969. case 3: {
  9970. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9971. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9972. parse_id:
  9973. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9974. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9975. input, &id_)));
  9976. set_has_id();
  9977. } else {
  9978. goto handle_uninterpreted;
  9979. }
  9980. if (input->ExpectTag(32)) goto parse_count;
  9981. break;
  9982. }
  9983. // optional int32 count = 4;
  9984. case 4: {
  9985. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9986. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9987. parse_count:
  9988. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9989. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9990. input, &count_)));
  9991. set_has_count();
  9992. } else {
  9993. goto handle_uninterpreted;
  9994. }
  9995. if (input->ExpectTag(40)) goto parse_endtime;
  9996. break;
  9997. }
  9998. // optional int32 endtime = 5;
  9999. case 5: {
  10000. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10001. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10002. parse_endtime:
  10003. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10004. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10005. input, &endtime_)));
  10006. set_has_endtime();
  10007. } else {
  10008. goto handle_uninterpreted;
  10009. }
  10010. if (input->ExpectAtEnd()) return true;
  10011. break;
  10012. }
  10013. default: {
  10014. handle_uninterpreted:
  10015. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10016. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10017. return true;
  10018. }
  10019. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10020. input, tag, mutable_unknown_fields()));
  10021. break;
  10022. }
  10023. }
  10024. }
  10025. return true;
  10026. #undef DO_
  10027. }
  10028. void packetw2c_national_day_quest_notify::SerializeWithCachedSizes(
  10029. ::google::protobuf::io::CodedOutputStream* output) const {
  10030. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_quest_notify];
  10031. if (has_packet_id()) {
  10032. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10033. 1, this->packet_id(), output);
  10034. }
  10035. // optional int32 type = 2;
  10036. if (has_type()) {
  10037. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  10038. }
  10039. // optional int32 id = 3;
  10040. if (has_id()) {
  10041. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->id(), output);
  10042. }
  10043. // optional int32 count = 4;
  10044. if (has_count()) {
  10045. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  10046. }
  10047. // optional int32 endtime = 5;
  10048. if (has_endtime()) {
  10049. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->endtime(), output);
  10050. }
  10051. if (!unknown_fields().empty()) {
  10052. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10053. unknown_fields(), output);
  10054. }
  10055. }
  10056. ::google::protobuf::uint8* packetw2c_national_day_quest_notify::SerializeWithCachedSizesToArray(
  10057. ::google::protobuf::uint8* target) const {
  10058. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_quest_notify];
  10059. if (has_packet_id()) {
  10060. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10061. 1, this->packet_id(), target);
  10062. }
  10063. // optional int32 type = 2;
  10064. if (has_type()) {
  10065. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  10066. }
  10067. // optional int32 id = 3;
  10068. if (has_id()) {
  10069. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->id(), target);
  10070. }
  10071. // optional int32 count = 4;
  10072. if (has_count()) {
  10073. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  10074. }
  10075. // optional int32 endtime = 5;
  10076. if (has_endtime()) {
  10077. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->endtime(), target);
  10078. }
  10079. if (!unknown_fields().empty()) {
  10080. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10081. unknown_fields(), target);
  10082. }
  10083. return target;
  10084. }
  10085. int packetw2c_national_day_quest_notify::ByteSize() const {
  10086. int total_size = 0;
  10087. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10088. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_quest_notify];
  10089. if (has_packet_id()) {
  10090. total_size += 1 +
  10091. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10092. }
  10093. // optional int32 type = 2;
  10094. if (has_type()) {
  10095. total_size += 1 +
  10096. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10097. this->type());
  10098. }
  10099. // optional int32 id = 3;
  10100. if (has_id()) {
  10101. total_size += 1 +
  10102. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10103. this->id());
  10104. }
  10105. // optional int32 count = 4;
  10106. if (has_count()) {
  10107. total_size += 1 +
  10108. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10109. this->count());
  10110. }
  10111. // optional int32 endtime = 5;
  10112. if (has_endtime()) {
  10113. total_size += 1 +
  10114. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10115. this->endtime());
  10116. }
  10117. }
  10118. if (!unknown_fields().empty()) {
  10119. total_size +=
  10120. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10121. unknown_fields());
  10122. }
  10123. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10124. _cached_size_ = total_size;
  10125. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10126. return total_size;
  10127. }
  10128. void packetw2c_national_day_quest_notify::MergeFrom(const ::google::protobuf::Message& from) {
  10129. GOOGLE_CHECK_NE(&from, this);
  10130. const packetw2c_national_day_quest_notify* source =
  10131. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_national_day_quest_notify*>(
  10132. &from);
  10133. if (source == NULL) {
  10134. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10135. } else {
  10136. MergeFrom(*source);
  10137. }
  10138. }
  10139. void packetw2c_national_day_quest_notify::MergeFrom(const packetw2c_national_day_quest_notify& from) {
  10140. GOOGLE_CHECK_NE(&from, this);
  10141. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10142. if (from.has_packet_id()) {
  10143. set_packet_id(from.packet_id());
  10144. }
  10145. if (from.has_type()) {
  10146. set_type(from.type());
  10147. }
  10148. if (from.has_id()) {
  10149. set_id(from.id());
  10150. }
  10151. if (from.has_count()) {
  10152. set_count(from.count());
  10153. }
  10154. if (from.has_endtime()) {
  10155. set_endtime(from.endtime());
  10156. }
  10157. }
  10158. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10159. }
  10160. void packetw2c_national_day_quest_notify::CopyFrom(const ::google::protobuf::Message& from) {
  10161. if (&from == this) return;
  10162. Clear();
  10163. MergeFrom(from);
  10164. }
  10165. void packetw2c_national_day_quest_notify::CopyFrom(const packetw2c_national_day_quest_notify& from) {
  10166. if (&from == this) return;
  10167. Clear();
  10168. MergeFrom(from);
  10169. }
  10170. bool packetw2c_national_day_quest_notify::IsInitialized() const {
  10171. return true;
  10172. }
  10173. void packetw2c_national_day_quest_notify::Swap(packetw2c_national_day_quest_notify* other) {
  10174. if (other != this) {
  10175. std::swap(packet_id_, other->packet_id_);
  10176. std::swap(type_, other->type_);
  10177. std::swap(id_, other->id_);
  10178. std::swap(count_, other->count_);
  10179. std::swap(endtime_, other->endtime_);
  10180. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10181. _unknown_fields_.Swap(&other->_unknown_fields_);
  10182. std::swap(_cached_size_, other->_cached_size_);
  10183. }
  10184. }
  10185. ::google::protobuf::Metadata packetw2c_national_day_quest_notify::GetMetadata() const {
  10186. protobuf_AssignDescriptorsOnce();
  10187. ::google::protobuf::Metadata metadata;
  10188. metadata.descriptor = packetw2c_national_day_quest_notify_descriptor_;
  10189. metadata.reflection = packetw2c_national_day_quest_notify_reflection_;
  10190. return metadata;
  10191. }
  10192. // ===================================================================
  10193. #ifndef _MSC_VER
  10194. const int packetc2w_recv_national_day_login_reward::kPacketIdFieldNumber;
  10195. const int packetc2w_recv_national_day_login_reward::kSignIndexFieldNumber;
  10196. #endif // !_MSC_VER
  10197. packetc2w_recv_national_day_login_reward::packetc2w_recv_national_day_login_reward()
  10198. : ::google::protobuf::Message() {
  10199. SharedCtor();
  10200. }
  10201. void packetc2w_recv_national_day_login_reward::InitAsDefaultInstance() {
  10202. }
  10203. packetc2w_recv_national_day_login_reward::packetc2w_recv_national_day_login_reward(const packetc2w_recv_national_day_login_reward& from)
  10204. : ::google::protobuf::Message() {
  10205. SharedCtor();
  10206. MergeFrom(from);
  10207. }
  10208. void packetc2w_recv_national_day_login_reward::SharedCtor() {
  10209. _cached_size_ = 0;
  10210. packet_id_ = 5159;
  10211. signindex_ = 0;
  10212. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10213. }
  10214. packetc2w_recv_national_day_login_reward::~packetc2w_recv_national_day_login_reward() {
  10215. SharedDtor();
  10216. }
  10217. void packetc2w_recv_national_day_login_reward::SharedDtor() {
  10218. if (this != default_instance_) {
  10219. }
  10220. }
  10221. void packetc2w_recv_national_day_login_reward::SetCachedSize(int size) const {
  10222. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10223. _cached_size_ = size;
  10224. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10225. }
  10226. const ::google::protobuf::Descriptor* packetc2w_recv_national_day_login_reward::descriptor() {
  10227. protobuf_AssignDescriptorsOnce();
  10228. return packetc2w_recv_national_day_login_reward_descriptor_;
  10229. }
  10230. const packetc2w_recv_national_day_login_reward& packetc2w_recv_national_day_login_reward::default_instance() {
  10231. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  10232. return *default_instance_;
  10233. }
  10234. packetc2w_recv_national_day_login_reward* packetc2w_recv_national_day_login_reward::default_instance_ = NULL;
  10235. packetc2w_recv_national_day_login_reward* packetc2w_recv_national_day_login_reward::New() const {
  10236. return new packetc2w_recv_national_day_login_reward;
  10237. }
  10238. void packetc2w_recv_national_day_login_reward::Clear() {
  10239. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10240. packet_id_ = 5159;
  10241. signindex_ = 0;
  10242. }
  10243. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10244. mutable_unknown_fields()->Clear();
  10245. }
  10246. bool packetc2w_recv_national_day_login_reward::MergePartialFromCodedStream(
  10247. ::google::protobuf::io::CodedInputStream* input) {
  10248. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10249. ::google::protobuf::uint32 tag;
  10250. while ((tag = input->ReadTag()) != 0) {
  10251. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10252. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_login_reward];
  10253. case 1: {
  10254. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10255. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10256. int value;
  10257. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10258. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10259. input, &value)));
  10260. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  10261. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  10262. } else {
  10263. mutable_unknown_fields()->AddVarint(1, value);
  10264. }
  10265. } else {
  10266. goto handle_uninterpreted;
  10267. }
  10268. if (input->ExpectTag(16)) goto parse_signIndex;
  10269. break;
  10270. }
  10271. // optional int32 signIndex = 2;
  10272. case 2: {
  10273. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10274. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10275. parse_signIndex:
  10276. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10277. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10278. input, &signindex_)));
  10279. set_has_signindex();
  10280. } else {
  10281. goto handle_uninterpreted;
  10282. }
  10283. if (input->ExpectAtEnd()) return true;
  10284. break;
  10285. }
  10286. default: {
  10287. handle_uninterpreted:
  10288. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10289. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10290. return true;
  10291. }
  10292. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10293. input, tag, mutable_unknown_fields()));
  10294. break;
  10295. }
  10296. }
  10297. }
  10298. return true;
  10299. #undef DO_
  10300. }
  10301. void packetc2w_recv_national_day_login_reward::SerializeWithCachedSizes(
  10302. ::google::protobuf::io::CodedOutputStream* output) const {
  10303. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_login_reward];
  10304. if (has_packet_id()) {
  10305. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10306. 1, this->packet_id(), output);
  10307. }
  10308. // optional int32 signIndex = 2;
  10309. if (has_signindex()) {
  10310. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  10311. }
  10312. if (!unknown_fields().empty()) {
  10313. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10314. unknown_fields(), output);
  10315. }
  10316. }
  10317. ::google::protobuf::uint8* packetc2w_recv_national_day_login_reward::SerializeWithCachedSizesToArray(
  10318. ::google::protobuf::uint8* target) const {
  10319. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_login_reward];
  10320. if (has_packet_id()) {
  10321. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10322. 1, this->packet_id(), target);
  10323. }
  10324. // optional int32 signIndex = 2;
  10325. if (has_signindex()) {
  10326. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  10327. }
  10328. if (!unknown_fields().empty()) {
  10329. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10330. unknown_fields(), target);
  10331. }
  10332. return target;
  10333. }
  10334. int packetc2w_recv_national_day_login_reward::ByteSize() const {
  10335. int total_size = 0;
  10336. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10337. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_login_reward];
  10338. if (has_packet_id()) {
  10339. total_size += 1 +
  10340. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10341. }
  10342. // optional int32 signIndex = 2;
  10343. if (has_signindex()) {
  10344. total_size += 1 +
  10345. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10346. this->signindex());
  10347. }
  10348. }
  10349. if (!unknown_fields().empty()) {
  10350. total_size +=
  10351. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10352. unknown_fields());
  10353. }
  10354. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10355. _cached_size_ = total_size;
  10356. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10357. return total_size;
  10358. }
  10359. void packetc2w_recv_national_day_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  10360. GOOGLE_CHECK_NE(&from, this);
  10361. const packetc2w_recv_national_day_login_reward* source =
  10362. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_national_day_login_reward*>(
  10363. &from);
  10364. if (source == NULL) {
  10365. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10366. } else {
  10367. MergeFrom(*source);
  10368. }
  10369. }
  10370. void packetc2w_recv_national_day_login_reward::MergeFrom(const packetc2w_recv_national_day_login_reward& from) {
  10371. GOOGLE_CHECK_NE(&from, this);
  10372. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10373. if (from.has_packet_id()) {
  10374. set_packet_id(from.packet_id());
  10375. }
  10376. if (from.has_signindex()) {
  10377. set_signindex(from.signindex());
  10378. }
  10379. }
  10380. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10381. }
  10382. void packetc2w_recv_national_day_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  10383. if (&from == this) return;
  10384. Clear();
  10385. MergeFrom(from);
  10386. }
  10387. void packetc2w_recv_national_day_login_reward::CopyFrom(const packetc2w_recv_national_day_login_reward& from) {
  10388. if (&from == this) return;
  10389. Clear();
  10390. MergeFrom(from);
  10391. }
  10392. bool packetc2w_recv_national_day_login_reward::IsInitialized() const {
  10393. return true;
  10394. }
  10395. void packetc2w_recv_national_day_login_reward::Swap(packetc2w_recv_national_day_login_reward* other) {
  10396. if (other != this) {
  10397. std::swap(packet_id_, other->packet_id_);
  10398. std::swap(signindex_, other->signindex_);
  10399. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10400. _unknown_fields_.Swap(&other->_unknown_fields_);
  10401. std::swap(_cached_size_, other->_cached_size_);
  10402. }
  10403. }
  10404. ::google::protobuf::Metadata packetc2w_recv_national_day_login_reward::GetMetadata() const {
  10405. protobuf_AssignDescriptorsOnce();
  10406. ::google::protobuf::Metadata metadata;
  10407. metadata.descriptor = packetc2w_recv_national_day_login_reward_descriptor_;
  10408. metadata.reflection = packetc2w_recv_national_day_login_reward_reflection_;
  10409. return metadata;
  10410. }
  10411. // ===================================================================
  10412. #ifndef _MSC_VER
  10413. const int packetw2c_recv_national_day_login_reward_result::kPacketIdFieldNumber;
  10414. const int packetw2c_recv_national_day_login_reward_result::kSignIndexFieldNumber;
  10415. const int packetw2c_recv_national_day_login_reward_result::kResultFieldNumber;
  10416. #endif // !_MSC_VER
  10417. packetw2c_recv_national_day_login_reward_result::packetw2c_recv_national_day_login_reward_result()
  10418. : ::google::protobuf::Message() {
  10419. SharedCtor();
  10420. }
  10421. void packetw2c_recv_national_day_login_reward_result::InitAsDefaultInstance() {
  10422. }
  10423. packetw2c_recv_national_day_login_reward_result::packetw2c_recv_national_day_login_reward_result(const packetw2c_recv_national_day_login_reward_result& from)
  10424. : ::google::protobuf::Message() {
  10425. SharedCtor();
  10426. MergeFrom(from);
  10427. }
  10428. void packetw2c_recv_national_day_login_reward_result::SharedCtor() {
  10429. _cached_size_ = 0;
  10430. packet_id_ = 7674;
  10431. signindex_ = 0;
  10432. result_ = 0;
  10433. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10434. }
  10435. packetw2c_recv_national_day_login_reward_result::~packetw2c_recv_national_day_login_reward_result() {
  10436. SharedDtor();
  10437. }
  10438. void packetw2c_recv_national_day_login_reward_result::SharedDtor() {
  10439. if (this != default_instance_) {
  10440. }
  10441. }
  10442. void packetw2c_recv_national_day_login_reward_result::SetCachedSize(int size) const {
  10443. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10444. _cached_size_ = size;
  10445. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10446. }
  10447. const ::google::protobuf::Descriptor* packetw2c_recv_national_day_login_reward_result::descriptor() {
  10448. protobuf_AssignDescriptorsOnce();
  10449. return packetw2c_recv_national_day_login_reward_result_descriptor_;
  10450. }
  10451. const packetw2c_recv_national_day_login_reward_result& packetw2c_recv_national_day_login_reward_result::default_instance() {
  10452. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  10453. return *default_instance_;
  10454. }
  10455. packetw2c_recv_national_day_login_reward_result* packetw2c_recv_national_day_login_reward_result::default_instance_ = NULL;
  10456. packetw2c_recv_national_day_login_reward_result* packetw2c_recv_national_day_login_reward_result::New() const {
  10457. return new packetw2c_recv_national_day_login_reward_result;
  10458. }
  10459. void packetw2c_recv_national_day_login_reward_result::Clear() {
  10460. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10461. packet_id_ = 7674;
  10462. signindex_ = 0;
  10463. result_ = 0;
  10464. }
  10465. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10466. mutable_unknown_fields()->Clear();
  10467. }
  10468. bool packetw2c_recv_national_day_login_reward_result::MergePartialFromCodedStream(
  10469. ::google::protobuf::io::CodedInputStream* input) {
  10470. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10471. ::google::protobuf::uint32 tag;
  10472. while ((tag = input->ReadTag()) != 0) {
  10473. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10474. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_login_reward_result];
  10475. case 1: {
  10476. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10477. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10478. int value;
  10479. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10480. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10481. input, &value)));
  10482. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  10483. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  10484. } else {
  10485. mutable_unknown_fields()->AddVarint(1, value);
  10486. }
  10487. } else {
  10488. goto handle_uninterpreted;
  10489. }
  10490. if (input->ExpectTag(16)) goto parse_signIndex;
  10491. break;
  10492. }
  10493. // optional int32 signIndex = 2;
  10494. case 2: {
  10495. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10496. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10497. parse_signIndex:
  10498. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10499. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10500. input, &signindex_)));
  10501. set_has_signindex();
  10502. } else {
  10503. goto handle_uninterpreted;
  10504. }
  10505. if (input->ExpectTag(24)) goto parse_result;
  10506. break;
  10507. }
  10508. // optional int32 result = 3;
  10509. case 3: {
  10510. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10511. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10512. parse_result:
  10513. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10514. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10515. input, &result_)));
  10516. set_has_result();
  10517. } else {
  10518. goto handle_uninterpreted;
  10519. }
  10520. if (input->ExpectAtEnd()) return true;
  10521. break;
  10522. }
  10523. default: {
  10524. handle_uninterpreted:
  10525. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10526. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10527. return true;
  10528. }
  10529. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10530. input, tag, mutable_unknown_fields()));
  10531. break;
  10532. }
  10533. }
  10534. }
  10535. return true;
  10536. #undef DO_
  10537. }
  10538. void packetw2c_recv_national_day_login_reward_result::SerializeWithCachedSizes(
  10539. ::google::protobuf::io::CodedOutputStream* output) const {
  10540. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_login_reward_result];
  10541. if (has_packet_id()) {
  10542. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10543. 1, this->packet_id(), output);
  10544. }
  10545. // optional int32 signIndex = 2;
  10546. if (has_signindex()) {
  10547. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  10548. }
  10549. // optional int32 result = 3;
  10550. if (has_result()) {
  10551. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  10552. }
  10553. if (!unknown_fields().empty()) {
  10554. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10555. unknown_fields(), output);
  10556. }
  10557. }
  10558. ::google::protobuf::uint8* packetw2c_recv_national_day_login_reward_result::SerializeWithCachedSizesToArray(
  10559. ::google::protobuf::uint8* target) const {
  10560. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_login_reward_result];
  10561. if (has_packet_id()) {
  10562. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10563. 1, this->packet_id(), target);
  10564. }
  10565. // optional int32 signIndex = 2;
  10566. if (has_signindex()) {
  10567. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  10568. }
  10569. // optional int32 result = 3;
  10570. if (has_result()) {
  10571. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  10572. }
  10573. if (!unknown_fields().empty()) {
  10574. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10575. unknown_fields(), target);
  10576. }
  10577. return target;
  10578. }
  10579. int packetw2c_recv_national_day_login_reward_result::ByteSize() const {
  10580. int total_size = 0;
  10581. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10582. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_login_reward_result];
  10583. if (has_packet_id()) {
  10584. total_size += 1 +
  10585. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10586. }
  10587. // optional int32 signIndex = 2;
  10588. if (has_signindex()) {
  10589. total_size += 1 +
  10590. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10591. this->signindex());
  10592. }
  10593. // optional int32 result = 3;
  10594. if (has_result()) {
  10595. total_size += 1 +
  10596. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10597. this->result());
  10598. }
  10599. }
  10600. if (!unknown_fields().empty()) {
  10601. total_size +=
  10602. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10603. unknown_fields());
  10604. }
  10605. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10606. _cached_size_ = total_size;
  10607. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10608. return total_size;
  10609. }
  10610. void packetw2c_recv_national_day_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  10611. GOOGLE_CHECK_NE(&from, this);
  10612. const packetw2c_recv_national_day_login_reward_result* source =
  10613. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_national_day_login_reward_result*>(
  10614. &from);
  10615. if (source == NULL) {
  10616. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10617. } else {
  10618. MergeFrom(*source);
  10619. }
  10620. }
  10621. void packetw2c_recv_national_day_login_reward_result::MergeFrom(const packetw2c_recv_national_day_login_reward_result& from) {
  10622. GOOGLE_CHECK_NE(&from, this);
  10623. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10624. if (from.has_packet_id()) {
  10625. set_packet_id(from.packet_id());
  10626. }
  10627. if (from.has_signindex()) {
  10628. set_signindex(from.signindex());
  10629. }
  10630. if (from.has_result()) {
  10631. set_result(from.result());
  10632. }
  10633. }
  10634. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10635. }
  10636. void packetw2c_recv_national_day_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  10637. if (&from == this) return;
  10638. Clear();
  10639. MergeFrom(from);
  10640. }
  10641. void packetw2c_recv_national_day_login_reward_result::CopyFrom(const packetw2c_recv_national_day_login_reward_result& from) {
  10642. if (&from == this) return;
  10643. Clear();
  10644. MergeFrom(from);
  10645. }
  10646. bool packetw2c_recv_national_day_login_reward_result::IsInitialized() const {
  10647. return true;
  10648. }
  10649. void packetw2c_recv_national_day_login_reward_result::Swap(packetw2c_recv_national_day_login_reward_result* other) {
  10650. if (other != this) {
  10651. std::swap(packet_id_, other->packet_id_);
  10652. std::swap(signindex_, other->signindex_);
  10653. std::swap(result_, other->result_);
  10654. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10655. _unknown_fields_.Swap(&other->_unknown_fields_);
  10656. std::swap(_cached_size_, other->_cached_size_);
  10657. }
  10658. }
  10659. ::google::protobuf::Metadata packetw2c_recv_national_day_login_reward_result::GetMetadata() const {
  10660. protobuf_AssignDescriptorsOnce();
  10661. ::google::protobuf::Metadata metadata;
  10662. metadata.descriptor = packetw2c_recv_national_day_login_reward_result_descriptor_;
  10663. metadata.reflection = packetw2c_recv_national_day_login_reward_result_reflection_;
  10664. return metadata;
  10665. }
  10666. // ===================================================================
  10667. #ifndef _MSC_VER
  10668. const int packetc2w_recv_national_day_quest_award::kPacketIdFieldNumber;
  10669. const int packetc2w_recv_national_day_quest_award::kQuestIdFieldNumber;
  10670. #endif // !_MSC_VER
  10671. packetc2w_recv_national_day_quest_award::packetc2w_recv_national_day_quest_award()
  10672. : ::google::protobuf::Message() {
  10673. SharedCtor();
  10674. }
  10675. void packetc2w_recv_national_day_quest_award::InitAsDefaultInstance() {
  10676. }
  10677. packetc2w_recv_national_day_quest_award::packetc2w_recv_national_day_quest_award(const packetc2w_recv_national_day_quest_award& from)
  10678. : ::google::protobuf::Message() {
  10679. SharedCtor();
  10680. MergeFrom(from);
  10681. }
  10682. void packetc2w_recv_national_day_quest_award::SharedCtor() {
  10683. _cached_size_ = 0;
  10684. packet_id_ = 5160;
  10685. questid_ = 0;
  10686. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10687. }
  10688. packetc2w_recv_national_day_quest_award::~packetc2w_recv_national_day_quest_award() {
  10689. SharedDtor();
  10690. }
  10691. void packetc2w_recv_national_day_quest_award::SharedDtor() {
  10692. if (this != default_instance_) {
  10693. }
  10694. }
  10695. void packetc2w_recv_national_day_quest_award::SetCachedSize(int size) const {
  10696. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10697. _cached_size_ = size;
  10698. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10699. }
  10700. const ::google::protobuf::Descriptor* packetc2w_recv_national_day_quest_award::descriptor() {
  10701. protobuf_AssignDescriptorsOnce();
  10702. return packetc2w_recv_national_day_quest_award_descriptor_;
  10703. }
  10704. const packetc2w_recv_national_day_quest_award& packetc2w_recv_national_day_quest_award::default_instance() {
  10705. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  10706. return *default_instance_;
  10707. }
  10708. packetc2w_recv_national_day_quest_award* packetc2w_recv_national_day_quest_award::default_instance_ = NULL;
  10709. packetc2w_recv_national_day_quest_award* packetc2w_recv_national_day_quest_award::New() const {
  10710. return new packetc2w_recv_national_day_quest_award;
  10711. }
  10712. void packetc2w_recv_national_day_quest_award::Clear() {
  10713. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10714. packet_id_ = 5160;
  10715. questid_ = 0;
  10716. }
  10717. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10718. mutable_unknown_fields()->Clear();
  10719. }
  10720. bool packetc2w_recv_national_day_quest_award::MergePartialFromCodedStream(
  10721. ::google::protobuf::io::CodedInputStream* input) {
  10722. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10723. ::google::protobuf::uint32 tag;
  10724. while ((tag = input->ReadTag()) != 0) {
  10725. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10726. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_quest_award];
  10727. case 1: {
  10728. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10729. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10730. int value;
  10731. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10732. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10733. input, &value)));
  10734. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  10735. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  10736. } else {
  10737. mutable_unknown_fields()->AddVarint(1, value);
  10738. }
  10739. } else {
  10740. goto handle_uninterpreted;
  10741. }
  10742. if (input->ExpectTag(16)) goto parse_questId;
  10743. break;
  10744. }
  10745. // optional int32 questId = 2;
  10746. case 2: {
  10747. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10748. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10749. parse_questId:
  10750. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10751. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10752. input, &questid_)));
  10753. set_has_questid();
  10754. } else {
  10755. goto handle_uninterpreted;
  10756. }
  10757. if (input->ExpectAtEnd()) return true;
  10758. break;
  10759. }
  10760. default: {
  10761. handle_uninterpreted:
  10762. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10763. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10764. return true;
  10765. }
  10766. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10767. input, tag, mutable_unknown_fields()));
  10768. break;
  10769. }
  10770. }
  10771. }
  10772. return true;
  10773. #undef DO_
  10774. }
  10775. void packetc2w_recv_national_day_quest_award::SerializeWithCachedSizes(
  10776. ::google::protobuf::io::CodedOutputStream* output) const {
  10777. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_quest_award];
  10778. if (has_packet_id()) {
  10779. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10780. 1, this->packet_id(), output);
  10781. }
  10782. // optional int32 questId = 2;
  10783. if (has_questid()) {
  10784. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  10785. }
  10786. if (!unknown_fields().empty()) {
  10787. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10788. unknown_fields(), output);
  10789. }
  10790. }
  10791. ::google::protobuf::uint8* packetc2w_recv_national_day_quest_award::SerializeWithCachedSizesToArray(
  10792. ::google::protobuf::uint8* target) const {
  10793. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_quest_award];
  10794. if (has_packet_id()) {
  10795. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10796. 1, this->packet_id(), target);
  10797. }
  10798. // optional int32 questId = 2;
  10799. if (has_questid()) {
  10800. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  10801. }
  10802. if (!unknown_fields().empty()) {
  10803. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10804. unknown_fields(), target);
  10805. }
  10806. return target;
  10807. }
  10808. int packetc2w_recv_national_day_quest_award::ByteSize() const {
  10809. int total_size = 0;
  10810. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10811. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_quest_award];
  10812. if (has_packet_id()) {
  10813. total_size += 1 +
  10814. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10815. }
  10816. // optional int32 questId = 2;
  10817. if (has_questid()) {
  10818. total_size += 1 +
  10819. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10820. this->questid());
  10821. }
  10822. }
  10823. if (!unknown_fields().empty()) {
  10824. total_size +=
  10825. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10826. unknown_fields());
  10827. }
  10828. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10829. _cached_size_ = total_size;
  10830. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10831. return total_size;
  10832. }
  10833. void packetc2w_recv_national_day_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  10834. GOOGLE_CHECK_NE(&from, this);
  10835. const packetc2w_recv_national_day_quest_award* source =
  10836. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_national_day_quest_award*>(
  10837. &from);
  10838. if (source == NULL) {
  10839. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10840. } else {
  10841. MergeFrom(*source);
  10842. }
  10843. }
  10844. void packetc2w_recv_national_day_quest_award::MergeFrom(const packetc2w_recv_national_day_quest_award& from) {
  10845. GOOGLE_CHECK_NE(&from, this);
  10846. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10847. if (from.has_packet_id()) {
  10848. set_packet_id(from.packet_id());
  10849. }
  10850. if (from.has_questid()) {
  10851. set_questid(from.questid());
  10852. }
  10853. }
  10854. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10855. }
  10856. void packetc2w_recv_national_day_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  10857. if (&from == this) return;
  10858. Clear();
  10859. MergeFrom(from);
  10860. }
  10861. void packetc2w_recv_national_day_quest_award::CopyFrom(const packetc2w_recv_national_day_quest_award& from) {
  10862. if (&from == this) return;
  10863. Clear();
  10864. MergeFrom(from);
  10865. }
  10866. bool packetc2w_recv_national_day_quest_award::IsInitialized() const {
  10867. return true;
  10868. }
  10869. void packetc2w_recv_national_day_quest_award::Swap(packetc2w_recv_national_day_quest_award* other) {
  10870. if (other != this) {
  10871. std::swap(packet_id_, other->packet_id_);
  10872. std::swap(questid_, other->questid_);
  10873. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10874. _unknown_fields_.Swap(&other->_unknown_fields_);
  10875. std::swap(_cached_size_, other->_cached_size_);
  10876. }
  10877. }
  10878. ::google::protobuf::Metadata packetc2w_recv_national_day_quest_award::GetMetadata() const {
  10879. protobuf_AssignDescriptorsOnce();
  10880. ::google::protobuf::Metadata metadata;
  10881. metadata.descriptor = packetc2w_recv_national_day_quest_award_descriptor_;
  10882. metadata.reflection = packetc2w_recv_national_day_quest_award_reflection_;
  10883. return metadata;
  10884. }
  10885. // ===================================================================
  10886. #ifndef _MSC_VER
  10887. const int packetw2c_recv_national_day_quest_award_result::kPacketIdFieldNumber;
  10888. const int packetw2c_recv_national_day_quest_award_result::kResultFieldNumber;
  10889. const int packetw2c_recv_national_day_quest_award_result::kQuestIdFieldNumber;
  10890. const int packetw2c_recv_national_day_quest_award_result::kBranchFieldNumber;
  10891. const int packetw2c_recv_national_day_quest_award_result::kNextTaskIdFieldNumber;
  10892. const int packetw2c_recv_national_day_quest_award_result::kItemsFieldNumber;
  10893. #endif // !_MSC_VER
  10894. packetw2c_recv_national_day_quest_award_result::packetw2c_recv_national_day_quest_award_result()
  10895. : ::google::protobuf::Message() {
  10896. SharedCtor();
  10897. }
  10898. void packetw2c_recv_national_day_quest_award_result::InitAsDefaultInstance() {
  10899. }
  10900. packetw2c_recv_national_day_quest_award_result::packetw2c_recv_national_day_quest_award_result(const packetw2c_recv_national_day_quest_award_result& from)
  10901. : ::google::protobuf::Message() {
  10902. SharedCtor();
  10903. MergeFrom(from);
  10904. }
  10905. void packetw2c_recv_national_day_quest_award_result::SharedCtor() {
  10906. _cached_size_ = 0;
  10907. packet_id_ = 7675;
  10908. result_ = 0;
  10909. questid_ = 0;
  10910. branch_ = 0;
  10911. nexttaskid_ = 0;
  10912. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10913. }
  10914. packetw2c_recv_national_day_quest_award_result::~packetw2c_recv_national_day_quest_award_result() {
  10915. SharedDtor();
  10916. }
  10917. void packetw2c_recv_national_day_quest_award_result::SharedDtor() {
  10918. if (this != default_instance_) {
  10919. }
  10920. }
  10921. void packetw2c_recv_national_day_quest_award_result::SetCachedSize(int size) const {
  10922. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10923. _cached_size_ = size;
  10924. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10925. }
  10926. const ::google::protobuf::Descriptor* packetw2c_recv_national_day_quest_award_result::descriptor() {
  10927. protobuf_AssignDescriptorsOnce();
  10928. return packetw2c_recv_national_day_quest_award_result_descriptor_;
  10929. }
  10930. const packetw2c_recv_national_day_quest_award_result& packetw2c_recv_national_day_quest_award_result::default_instance() {
  10931. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  10932. return *default_instance_;
  10933. }
  10934. packetw2c_recv_national_day_quest_award_result* packetw2c_recv_national_day_quest_award_result::default_instance_ = NULL;
  10935. packetw2c_recv_national_day_quest_award_result* packetw2c_recv_national_day_quest_award_result::New() const {
  10936. return new packetw2c_recv_national_day_quest_award_result;
  10937. }
  10938. void packetw2c_recv_national_day_quest_award_result::Clear() {
  10939. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10940. packet_id_ = 7675;
  10941. result_ = 0;
  10942. questid_ = 0;
  10943. branch_ = 0;
  10944. nexttaskid_ = 0;
  10945. }
  10946. items_.Clear();
  10947. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10948. mutable_unknown_fields()->Clear();
  10949. }
  10950. bool packetw2c_recv_national_day_quest_award_result::MergePartialFromCodedStream(
  10951. ::google::protobuf::io::CodedInputStream* input) {
  10952. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10953. ::google::protobuf::uint32 tag;
  10954. while ((tag = input->ReadTag()) != 0) {
  10955. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10956. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_quest_award_result];
  10957. case 1: {
  10958. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10959. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10960. int value;
  10961. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10962. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10963. input, &value)));
  10964. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  10965. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  10966. } else {
  10967. mutable_unknown_fields()->AddVarint(1, value);
  10968. }
  10969. } else {
  10970. goto handle_uninterpreted;
  10971. }
  10972. if (input->ExpectTag(16)) goto parse_result;
  10973. break;
  10974. }
  10975. // optional int32 result = 2;
  10976. case 2: {
  10977. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10978. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10979. parse_result:
  10980. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10981. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10982. input, &result_)));
  10983. set_has_result();
  10984. } else {
  10985. goto handle_uninterpreted;
  10986. }
  10987. if (input->ExpectTag(24)) goto parse_questId;
  10988. break;
  10989. }
  10990. // optional int32 questId = 3;
  10991. case 3: {
  10992. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10993. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10994. parse_questId:
  10995. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10996. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10997. input, &questid_)));
  10998. set_has_questid();
  10999. } else {
  11000. goto handle_uninterpreted;
  11001. }
  11002. if (input->ExpectTag(32)) goto parse_branch;
  11003. break;
  11004. }
  11005. // optional int32 branch = 4;
  11006. case 4: {
  11007. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11008. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11009. parse_branch:
  11010. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11011. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11012. input, &branch_)));
  11013. set_has_branch();
  11014. } else {
  11015. goto handle_uninterpreted;
  11016. }
  11017. if (input->ExpectTag(40)) goto parse_nextTaskId;
  11018. break;
  11019. }
  11020. // optional int32 nextTaskId = 5;
  11021. case 5: {
  11022. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11023. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11024. parse_nextTaskId:
  11025. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11026. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11027. input, &nexttaskid_)));
  11028. set_has_nexttaskid();
  11029. } else {
  11030. goto handle_uninterpreted;
  11031. }
  11032. if (input->ExpectTag(50)) goto parse_items;
  11033. break;
  11034. }
  11035. // repeated .msg_info_def.ItemInfo items = 6;
  11036. case 6: {
  11037. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11038. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11039. parse_items:
  11040. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  11041. input, add_items()));
  11042. } else {
  11043. goto handle_uninterpreted;
  11044. }
  11045. if (input->ExpectTag(50)) goto parse_items;
  11046. if (input->ExpectAtEnd()) return true;
  11047. break;
  11048. }
  11049. default: {
  11050. handle_uninterpreted:
  11051. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11052. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11053. return true;
  11054. }
  11055. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11056. input, tag, mutable_unknown_fields()));
  11057. break;
  11058. }
  11059. }
  11060. }
  11061. return true;
  11062. #undef DO_
  11063. }
  11064. void packetw2c_recv_national_day_quest_award_result::SerializeWithCachedSizes(
  11065. ::google::protobuf::io::CodedOutputStream* output) const {
  11066. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_quest_award_result];
  11067. if (has_packet_id()) {
  11068. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11069. 1, this->packet_id(), output);
  11070. }
  11071. // optional int32 result = 2;
  11072. if (has_result()) {
  11073. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  11074. }
  11075. // optional int32 questId = 3;
  11076. if (has_questid()) {
  11077. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  11078. }
  11079. // optional int32 branch = 4;
  11080. if (has_branch()) {
  11081. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->branch(), output);
  11082. }
  11083. // optional int32 nextTaskId = 5;
  11084. if (has_nexttaskid()) {
  11085. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nexttaskid(), output);
  11086. }
  11087. // repeated .msg_info_def.ItemInfo items = 6;
  11088. for (int i = 0; i < this->items_size(); i++) {
  11089. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  11090. 6, this->items(i), output);
  11091. }
  11092. if (!unknown_fields().empty()) {
  11093. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11094. unknown_fields(), output);
  11095. }
  11096. }
  11097. ::google::protobuf::uint8* packetw2c_recv_national_day_quest_award_result::SerializeWithCachedSizesToArray(
  11098. ::google::protobuf::uint8* target) const {
  11099. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_quest_award_result];
  11100. if (has_packet_id()) {
  11101. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11102. 1, this->packet_id(), target);
  11103. }
  11104. // optional int32 result = 2;
  11105. if (has_result()) {
  11106. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  11107. }
  11108. // optional int32 questId = 3;
  11109. if (has_questid()) {
  11110. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  11111. }
  11112. // optional int32 branch = 4;
  11113. if (has_branch()) {
  11114. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->branch(), target);
  11115. }
  11116. // optional int32 nextTaskId = 5;
  11117. if (has_nexttaskid()) {
  11118. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nexttaskid(), target);
  11119. }
  11120. // repeated .msg_info_def.ItemInfo items = 6;
  11121. for (int i = 0; i < this->items_size(); i++) {
  11122. target = ::google::protobuf::internal::WireFormatLite::
  11123. WriteMessageNoVirtualToArray(
  11124. 6, this->items(i), target);
  11125. }
  11126. if (!unknown_fields().empty()) {
  11127. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11128. unknown_fields(), target);
  11129. }
  11130. return target;
  11131. }
  11132. int packetw2c_recv_national_day_quest_award_result::ByteSize() const {
  11133. int total_size = 0;
  11134. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11135. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_quest_award_result];
  11136. if (has_packet_id()) {
  11137. total_size += 1 +
  11138. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11139. }
  11140. // optional int32 result = 2;
  11141. if (has_result()) {
  11142. total_size += 1 +
  11143. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11144. this->result());
  11145. }
  11146. // optional int32 questId = 3;
  11147. if (has_questid()) {
  11148. total_size += 1 +
  11149. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11150. this->questid());
  11151. }
  11152. // optional int32 branch = 4;
  11153. if (has_branch()) {
  11154. total_size += 1 +
  11155. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11156. this->branch());
  11157. }
  11158. // optional int32 nextTaskId = 5;
  11159. if (has_nexttaskid()) {
  11160. total_size += 1 +
  11161. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11162. this->nexttaskid());
  11163. }
  11164. }
  11165. // repeated .msg_info_def.ItemInfo items = 6;
  11166. total_size += 1 * this->items_size();
  11167. for (int i = 0; i < this->items_size(); i++) {
  11168. total_size +=
  11169. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11170. this->items(i));
  11171. }
  11172. if (!unknown_fields().empty()) {
  11173. total_size +=
  11174. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11175. unknown_fields());
  11176. }
  11177. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11178. _cached_size_ = total_size;
  11179. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11180. return total_size;
  11181. }
  11182. void packetw2c_recv_national_day_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  11183. GOOGLE_CHECK_NE(&from, this);
  11184. const packetw2c_recv_national_day_quest_award_result* source =
  11185. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_national_day_quest_award_result*>(
  11186. &from);
  11187. if (source == NULL) {
  11188. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11189. } else {
  11190. MergeFrom(*source);
  11191. }
  11192. }
  11193. void packetw2c_recv_national_day_quest_award_result::MergeFrom(const packetw2c_recv_national_day_quest_award_result& from) {
  11194. GOOGLE_CHECK_NE(&from, this);
  11195. items_.MergeFrom(from.items_);
  11196. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11197. if (from.has_packet_id()) {
  11198. set_packet_id(from.packet_id());
  11199. }
  11200. if (from.has_result()) {
  11201. set_result(from.result());
  11202. }
  11203. if (from.has_questid()) {
  11204. set_questid(from.questid());
  11205. }
  11206. if (from.has_branch()) {
  11207. set_branch(from.branch());
  11208. }
  11209. if (from.has_nexttaskid()) {
  11210. set_nexttaskid(from.nexttaskid());
  11211. }
  11212. }
  11213. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11214. }
  11215. void packetw2c_recv_national_day_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  11216. if (&from == this) return;
  11217. Clear();
  11218. MergeFrom(from);
  11219. }
  11220. void packetw2c_recv_national_day_quest_award_result::CopyFrom(const packetw2c_recv_national_day_quest_award_result& from) {
  11221. if (&from == this) return;
  11222. Clear();
  11223. MergeFrom(from);
  11224. }
  11225. bool packetw2c_recv_national_day_quest_award_result::IsInitialized() const {
  11226. return true;
  11227. }
  11228. void packetw2c_recv_national_day_quest_award_result::Swap(packetw2c_recv_national_day_quest_award_result* other) {
  11229. if (other != this) {
  11230. std::swap(packet_id_, other->packet_id_);
  11231. std::swap(result_, other->result_);
  11232. std::swap(questid_, other->questid_);
  11233. std::swap(branch_, other->branch_);
  11234. std::swap(nexttaskid_, other->nexttaskid_);
  11235. items_.Swap(&other->items_);
  11236. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11237. _unknown_fields_.Swap(&other->_unknown_fields_);
  11238. std::swap(_cached_size_, other->_cached_size_);
  11239. }
  11240. }
  11241. ::google::protobuf::Metadata packetw2c_recv_national_day_quest_award_result::GetMetadata() const {
  11242. protobuf_AssignDescriptorsOnce();
  11243. ::google::protobuf::Metadata metadata;
  11244. metadata.descriptor = packetw2c_recv_national_day_quest_award_result_descriptor_;
  11245. metadata.reflection = packetw2c_recv_national_day_quest_award_result_reflection_;
  11246. return metadata;
  11247. }
  11248. // ===================================================================
  11249. #ifndef _MSC_VER
  11250. const int packetc2w_national_day_choose_task::kPacketIdFieldNumber;
  11251. const int packetc2w_national_day_choose_task::kBranchFieldNumber;
  11252. #endif // !_MSC_VER
  11253. packetc2w_national_day_choose_task::packetc2w_national_day_choose_task()
  11254. : ::google::protobuf::Message() {
  11255. SharedCtor();
  11256. }
  11257. void packetc2w_national_day_choose_task::InitAsDefaultInstance() {
  11258. }
  11259. packetc2w_national_day_choose_task::packetc2w_national_day_choose_task(const packetc2w_national_day_choose_task& from)
  11260. : ::google::protobuf::Message() {
  11261. SharedCtor();
  11262. MergeFrom(from);
  11263. }
  11264. void packetc2w_national_day_choose_task::SharedCtor() {
  11265. _cached_size_ = 0;
  11266. packet_id_ = 5161;
  11267. branch_ = 0;
  11268. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11269. }
  11270. packetc2w_national_day_choose_task::~packetc2w_national_day_choose_task() {
  11271. SharedDtor();
  11272. }
  11273. void packetc2w_national_day_choose_task::SharedDtor() {
  11274. if (this != default_instance_) {
  11275. }
  11276. }
  11277. void packetc2w_national_day_choose_task::SetCachedSize(int size) const {
  11278. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11279. _cached_size_ = size;
  11280. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11281. }
  11282. const ::google::protobuf::Descriptor* packetc2w_national_day_choose_task::descriptor() {
  11283. protobuf_AssignDescriptorsOnce();
  11284. return packetc2w_national_day_choose_task_descriptor_;
  11285. }
  11286. const packetc2w_national_day_choose_task& packetc2w_national_day_choose_task::default_instance() {
  11287. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  11288. return *default_instance_;
  11289. }
  11290. packetc2w_national_day_choose_task* packetc2w_national_day_choose_task::default_instance_ = NULL;
  11291. packetc2w_national_day_choose_task* packetc2w_national_day_choose_task::New() const {
  11292. return new packetc2w_national_day_choose_task;
  11293. }
  11294. void packetc2w_national_day_choose_task::Clear() {
  11295. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11296. packet_id_ = 5161;
  11297. branch_ = 0;
  11298. }
  11299. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11300. mutable_unknown_fields()->Clear();
  11301. }
  11302. bool packetc2w_national_day_choose_task::MergePartialFromCodedStream(
  11303. ::google::protobuf::io::CodedInputStream* input) {
  11304. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11305. ::google::protobuf::uint32 tag;
  11306. while ((tag = input->ReadTag()) != 0) {
  11307. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11308. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_national_day_choose_task];
  11309. case 1: {
  11310. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11311. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11312. int value;
  11313. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11314. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11315. input, &value)));
  11316. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  11317. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  11318. } else {
  11319. mutable_unknown_fields()->AddVarint(1, value);
  11320. }
  11321. } else {
  11322. goto handle_uninterpreted;
  11323. }
  11324. if (input->ExpectTag(16)) goto parse_branch;
  11325. break;
  11326. }
  11327. // optional int32 branch = 2;
  11328. case 2: {
  11329. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11330. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11331. parse_branch:
  11332. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11333. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11334. input, &branch_)));
  11335. set_has_branch();
  11336. } else {
  11337. goto handle_uninterpreted;
  11338. }
  11339. if (input->ExpectAtEnd()) return true;
  11340. break;
  11341. }
  11342. default: {
  11343. handle_uninterpreted:
  11344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11346. return true;
  11347. }
  11348. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11349. input, tag, mutable_unknown_fields()));
  11350. break;
  11351. }
  11352. }
  11353. }
  11354. return true;
  11355. #undef DO_
  11356. }
  11357. void packetc2w_national_day_choose_task::SerializeWithCachedSizes(
  11358. ::google::protobuf::io::CodedOutputStream* output) const {
  11359. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_national_day_choose_task];
  11360. if (has_packet_id()) {
  11361. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11362. 1, this->packet_id(), output);
  11363. }
  11364. // optional int32 branch = 2;
  11365. if (has_branch()) {
  11366. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->branch(), output);
  11367. }
  11368. if (!unknown_fields().empty()) {
  11369. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11370. unknown_fields(), output);
  11371. }
  11372. }
  11373. ::google::protobuf::uint8* packetc2w_national_day_choose_task::SerializeWithCachedSizesToArray(
  11374. ::google::protobuf::uint8* target) const {
  11375. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_national_day_choose_task];
  11376. if (has_packet_id()) {
  11377. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11378. 1, this->packet_id(), target);
  11379. }
  11380. // optional int32 branch = 2;
  11381. if (has_branch()) {
  11382. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->branch(), target);
  11383. }
  11384. if (!unknown_fields().empty()) {
  11385. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11386. unknown_fields(), target);
  11387. }
  11388. return target;
  11389. }
  11390. int packetc2w_national_day_choose_task::ByteSize() const {
  11391. int total_size = 0;
  11392. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11393. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_national_day_choose_task];
  11394. if (has_packet_id()) {
  11395. total_size += 1 +
  11396. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11397. }
  11398. // optional int32 branch = 2;
  11399. if (has_branch()) {
  11400. total_size += 1 +
  11401. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11402. this->branch());
  11403. }
  11404. }
  11405. if (!unknown_fields().empty()) {
  11406. total_size +=
  11407. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11408. unknown_fields());
  11409. }
  11410. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11411. _cached_size_ = total_size;
  11412. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11413. return total_size;
  11414. }
  11415. void packetc2w_national_day_choose_task::MergeFrom(const ::google::protobuf::Message& from) {
  11416. GOOGLE_CHECK_NE(&from, this);
  11417. const packetc2w_national_day_choose_task* source =
  11418. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_national_day_choose_task*>(
  11419. &from);
  11420. if (source == NULL) {
  11421. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11422. } else {
  11423. MergeFrom(*source);
  11424. }
  11425. }
  11426. void packetc2w_national_day_choose_task::MergeFrom(const packetc2w_national_day_choose_task& from) {
  11427. GOOGLE_CHECK_NE(&from, this);
  11428. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11429. if (from.has_packet_id()) {
  11430. set_packet_id(from.packet_id());
  11431. }
  11432. if (from.has_branch()) {
  11433. set_branch(from.branch());
  11434. }
  11435. }
  11436. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11437. }
  11438. void packetc2w_national_day_choose_task::CopyFrom(const ::google::protobuf::Message& from) {
  11439. if (&from == this) return;
  11440. Clear();
  11441. MergeFrom(from);
  11442. }
  11443. void packetc2w_national_day_choose_task::CopyFrom(const packetc2w_national_day_choose_task& from) {
  11444. if (&from == this) return;
  11445. Clear();
  11446. MergeFrom(from);
  11447. }
  11448. bool packetc2w_national_day_choose_task::IsInitialized() const {
  11449. return true;
  11450. }
  11451. void packetc2w_national_day_choose_task::Swap(packetc2w_national_day_choose_task* other) {
  11452. if (other != this) {
  11453. std::swap(packet_id_, other->packet_id_);
  11454. std::swap(branch_, other->branch_);
  11455. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11456. _unknown_fields_.Swap(&other->_unknown_fields_);
  11457. std::swap(_cached_size_, other->_cached_size_);
  11458. }
  11459. }
  11460. ::google::protobuf::Metadata packetc2w_national_day_choose_task::GetMetadata() const {
  11461. protobuf_AssignDescriptorsOnce();
  11462. ::google::protobuf::Metadata metadata;
  11463. metadata.descriptor = packetc2w_national_day_choose_task_descriptor_;
  11464. metadata.reflection = packetc2w_national_day_choose_task_reflection_;
  11465. return metadata;
  11466. }
  11467. // ===================================================================
  11468. #ifndef _MSC_VER
  11469. const int packetw2c_national_day_choose_task_result::kPacketIdFieldNumber;
  11470. const int packetw2c_national_day_choose_task_result::kResultFieldNumber;
  11471. const int packetw2c_national_day_choose_task_result::kBranchFieldNumber;
  11472. const int packetw2c_national_day_choose_task_result::kNextTaskIdFieldNumber;
  11473. #endif // !_MSC_VER
  11474. packetw2c_national_day_choose_task_result::packetw2c_national_day_choose_task_result()
  11475. : ::google::protobuf::Message() {
  11476. SharedCtor();
  11477. }
  11478. void packetw2c_national_day_choose_task_result::InitAsDefaultInstance() {
  11479. }
  11480. packetw2c_national_day_choose_task_result::packetw2c_national_day_choose_task_result(const packetw2c_national_day_choose_task_result& from)
  11481. : ::google::protobuf::Message() {
  11482. SharedCtor();
  11483. MergeFrom(from);
  11484. }
  11485. void packetw2c_national_day_choose_task_result::SharedCtor() {
  11486. _cached_size_ = 0;
  11487. packet_id_ = 7676;
  11488. result_ = 0;
  11489. branch_ = 0;
  11490. nexttaskid_ = 0;
  11491. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11492. }
  11493. packetw2c_national_day_choose_task_result::~packetw2c_national_day_choose_task_result() {
  11494. SharedDtor();
  11495. }
  11496. void packetw2c_national_day_choose_task_result::SharedDtor() {
  11497. if (this != default_instance_) {
  11498. }
  11499. }
  11500. void packetw2c_national_day_choose_task_result::SetCachedSize(int size) const {
  11501. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11502. _cached_size_ = size;
  11503. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11504. }
  11505. const ::google::protobuf::Descriptor* packetw2c_national_day_choose_task_result::descriptor() {
  11506. protobuf_AssignDescriptorsOnce();
  11507. return packetw2c_national_day_choose_task_result_descriptor_;
  11508. }
  11509. const packetw2c_national_day_choose_task_result& packetw2c_national_day_choose_task_result::default_instance() {
  11510. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  11511. return *default_instance_;
  11512. }
  11513. packetw2c_national_day_choose_task_result* packetw2c_national_day_choose_task_result::default_instance_ = NULL;
  11514. packetw2c_national_day_choose_task_result* packetw2c_national_day_choose_task_result::New() const {
  11515. return new packetw2c_national_day_choose_task_result;
  11516. }
  11517. void packetw2c_national_day_choose_task_result::Clear() {
  11518. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11519. packet_id_ = 7676;
  11520. result_ = 0;
  11521. branch_ = 0;
  11522. nexttaskid_ = 0;
  11523. }
  11524. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11525. mutable_unknown_fields()->Clear();
  11526. }
  11527. bool packetw2c_national_day_choose_task_result::MergePartialFromCodedStream(
  11528. ::google::protobuf::io::CodedInputStream* input) {
  11529. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11530. ::google::protobuf::uint32 tag;
  11531. while ((tag = input->ReadTag()) != 0) {
  11532. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11533. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_choose_task_result];
  11534. case 1: {
  11535. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11536. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11537. int value;
  11538. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11539. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11540. input, &value)));
  11541. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  11542. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  11543. } else {
  11544. mutable_unknown_fields()->AddVarint(1, value);
  11545. }
  11546. } else {
  11547. goto handle_uninterpreted;
  11548. }
  11549. if (input->ExpectTag(16)) goto parse_result;
  11550. break;
  11551. }
  11552. // optional int32 result = 2;
  11553. case 2: {
  11554. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11555. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11556. parse_result:
  11557. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11558. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11559. input, &result_)));
  11560. set_has_result();
  11561. } else {
  11562. goto handle_uninterpreted;
  11563. }
  11564. if (input->ExpectTag(24)) goto parse_branch;
  11565. break;
  11566. }
  11567. // optional int32 branch = 3;
  11568. case 3: {
  11569. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11570. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11571. parse_branch:
  11572. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11573. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11574. input, &branch_)));
  11575. set_has_branch();
  11576. } else {
  11577. goto handle_uninterpreted;
  11578. }
  11579. if (input->ExpectTag(32)) goto parse_nextTaskId;
  11580. break;
  11581. }
  11582. // optional int32 nextTaskId = 4;
  11583. case 4: {
  11584. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11585. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11586. parse_nextTaskId:
  11587. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11588. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11589. input, &nexttaskid_)));
  11590. set_has_nexttaskid();
  11591. } else {
  11592. goto handle_uninterpreted;
  11593. }
  11594. if (input->ExpectAtEnd()) return true;
  11595. break;
  11596. }
  11597. default: {
  11598. handle_uninterpreted:
  11599. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11600. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11601. return true;
  11602. }
  11603. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11604. input, tag, mutable_unknown_fields()));
  11605. break;
  11606. }
  11607. }
  11608. }
  11609. return true;
  11610. #undef DO_
  11611. }
  11612. void packetw2c_national_day_choose_task_result::SerializeWithCachedSizes(
  11613. ::google::protobuf::io::CodedOutputStream* output) const {
  11614. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_choose_task_result];
  11615. if (has_packet_id()) {
  11616. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11617. 1, this->packet_id(), output);
  11618. }
  11619. // optional int32 result = 2;
  11620. if (has_result()) {
  11621. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  11622. }
  11623. // optional int32 branch = 3;
  11624. if (has_branch()) {
  11625. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->branch(), output);
  11626. }
  11627. // optional int32 nextTaskId = 4;
  11628. if (has_nexttaskid()) {
  11629. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nexttaskid(), output);
  11630. }
  11631. if (!unknown_fields().empty()) {
  11632. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11633. unknown_fields(), output);
  11634. }
  11635. }
  11636. ::google::protobuf::uint8* packetw2c_national_day_choose_task_result::SerializeWithCachedSizesToArray(
  11637. ::google::protobuf::uint8* target) const {
  11638. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_choose_task_result];
  11639. if (has_packet_id()) {
  11640. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11641. 1, this->packet_id(), target);
  11642. }
  11643. // optional int32 result = 2;
  11644. if (has_result()) {
  11645. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  11646. }
  11647. // optional int32 branch = 3;
  11648. if (has_branch()) {
  11649. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->branch(), target);
  11650. }
  11651. // optional int32 nextTaskId = 4;
  11652. if (has_nexttaskid()) {
  11653. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nexttaskid(), target);
  11654. }
  11655. if (!unknown_fields().empty()) {
  11656. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11657. unknown_fields(), target);
  11658. }
  11659. return target;
  11660. }
  11661. int packetw2c_national_day_choose_task_result::ByteSize() const {
  11662. int total_size = 0;
  11663. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11664. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_choose_task_result];
  11665. if (has_packet_id()) {
  11666. total_size += 1 +
  11667. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11668. }
  11669. // optional int32 result = 2;
  11670. if (has_result()) {
  11671. total_size += 1 +
  11672. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11673. this->result());
  11674. }
  11675. // optional int32 branch = 3;
  11676. if (has_branch()) {
  11677. total_size += 1 +
  11678. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11679. this->branch());
  11680. }
  11681. // optional int32 nextTaskId = 4;
  11682. if (has_nexttaskid()) {
  11683. total_size += 1 +
  11684. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11685. this->nexttaskid());
  11686. }
  11687. }
  11688. if (!unknown_fields().empty()) {
  11689. total_size +=
  11690. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11691. unknown_fields());
  11692. }
  11693. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11694. _cached_size_ = total_size;
  11695. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11696. return total_size;
  11697. }
  11698. void packetw2c_national_day_choose_task_result::MergeFrom(const ::google::protobuf::Message& from) {
  11699. GOOGLE_CHECK_NE(&from, this);
  11700. const packetw2c_national_day_choose_task_result* source =
  11701. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_national_day_choose_task_result*>(
  11702. &from);
  11703. if (source == NULL) {
  11704. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11705. } else {
  11706. MergeFrom(*source);
  11707. }
  11708. }
  11709. void packetw2c_national_day_choose_task_result::MergeFrom(const packetw2c_national_day_choose_task_result& from) {
  11710. GOOGLE_CHECK_NE(&from, this);
  11711. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11712. if (from.has_packet_id()) {
  11713. set_packet_id(from.packet_id());
  11714. }
  11715. if (from.has_result()) {
  11716. set_result(from.result());
  11717. }
  11718. if (from.has_branch()) {
  11719. set_branch(from.branch());
  11720. }
  11721. if (from.has_nexttaskid()) {
  11722. set_nexttaskid(from.nexttaskid());
  11723. }
  11724. }
  11725. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11726. }
  11727. void packetw2c_national_day_choose_task_result::CopyFrom(const ::google::protobuf::Message& from) {
  11728. if (&from == this) return;
  11729. Clear();
  11730. MergeFrom(from);
  11731. }
  11732. void packetw2c_national_day_choose_task_result::CopyFrom(const packetw2c_national_day_choose_task_result& from) {
  11733. if (&from == this) return;
  11734. Clear();
  11735. MergeFrom(from);
  11736. }
  11737. bool packetw2c_national_day_choose_task_result::IsInitialized() const {
  11738. return true;
  11739. }
  11740. void packetw2c_national_day_choose_task_result::Swap(packetw2c_national_day_choose_task_result* other) {
  11741. if (other != this) {
  11742. std::swap(packet_id_, other->packet_id_);
  11743. std::swap(result_, other->result_);
  11744. std::swap(branch_, other->branch_);
  11745. std::swap(nexttaskid_, other->nexttaskid_);
  11746. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11747. _unknown_fields_.Swap(&other->_unknown_fields_);
  11748. std::swap(_cached_size_, other->_cached_size_);
  11749. }
  11750. }
  11751. ::google::protobuf::Metadata packetw2c_national_day_choose_task_result::GetMetadata() const {
  11752. protobuf_AssignDescriptorsOnce();
  11753. ::google::protobuf::Metadata metadata;
  11754. metadata.descriptor = packetw2c_national_day_choose_task_result_descriptor_;
  11755. metadata.reflection = packetw2c_national_day_choose_task_result_reflection_;
  11756. return metadata;
  11757. }
  11758. // ===================================================================
  11759. #ifndef _MSC_VER
  11760. const int packetw2c_syn_spring_day_info::kPacketIdFieldNumber;
  11761. const int packetw2c_syn_spring_day_info::kActivityStateFieldNumber;
  11762. const int packetw2c_syn_spring_day_info::kStartTimeFieldNumber;
  11763. const int packetw2c_syn_spring_day_info::kEndTimeFieldNumber;
  11764. const int packetw2c_syn_spring_day_info::kSignListFieldNumber;
  11765. #endif // !_MSC_VER
  11766. packetw2c_syn_spring_day_info::packetw2c_syn_spring_day_info()
  11767. : ::google::protobuf::Message() {
  11768. SharedCtor();
  11769. }
  11770. void packetw2c_syn_spring_day_info::InitAsDefaultInstance() {
  11771. }
  11772. packetw2c_syn_spring_day_info::packetw2c_syn_spring_day_info(const packetw2c_syn_spring_day_info& from)
  11773. : ::google::protobuf::Message() {
  11774. SharedCtor();
  11775. MergeFrom(from);
  11776. }
  11777. void packetw2c_syn_spring_day_info::SharedCtor() {
  11778. _cached_size_ = 0;
  11779. packet_id_ = 7683;
  11780. activitystate_ = 0;
  11781. starttime_ = 0;
  11782. endtime_ = 0;
  11783. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11784. }
  11785. packetw2c_syn_spring_day_info::~packetw2c_syn_spring_day_info() {
  11786. SharedDtor();
  11787. }
  11788. void packetw2c_syn_spring_day_info::SharedDtor() {
  11789. if (this != default_instance_) {
  11790. }
  11791. }
  11792. void packetw2c_syn_spring_day_info::SetCachedSize(int size) const {
  11793. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11794. _cached_size_ = size;
  11795. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11796. }
  11797. const ::google::protobuf::Descriptor* packetw2c_syn_spring_day_info::descriptor() {
  11798. protobuf_AssignDescriptorsOnce();
  11799. return packetw2c_syn_spring_day_info_descriptor_;
  11800. }
  11801. const packetw2c_syn_spring_day_info& packetw2c_syn_spring_day_info::default_instance() {
  11802. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  11803. return *default_instance_;
  11804. }
  11805. packetw2c_syn_spring_day_info* packetw2c_syn_spring_day_info::default_instance_ = NULL;
  11806. packetw2c_syn_spring_day_info* packetw2c_syn_spring_day_info::New() const {
  11807. return new packetw2c_syn_spring_day_info;
  11808. }
  11809. void packetw2c_syn_spring_day_info::Clear() {
  11810. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11811. packet_id_ = 7683;
  11812. activitystate_ = 0;
  11813. starttime_ = 0;
  11814. endtime_ = 0;
  11815. }
  11816. signlist_.Clear();
  11817. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11818. mutable_unknown_fields()->Clear();
  11819. }
  11820. bool packetw2c_syn_spring_day_info::MergePartialFromCodedStream(
  11821. ::google::protobuf::io::CodedInputStream* input) {
  11822. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11823. ::google::protobuf::uint32 tag;
  11824. while ((tag = input->ReadTag()) != 0) {
  11825. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11826. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_spring_day_info];
  11827. case 1: {
  11828. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11829. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11830. int value;
  11831. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11832. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11833. input, &value)));
  11834. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  11835. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  11836. } else {
  11837. mutable_unknown_fields()->AddVarint(1, value);
  11838. }
  11839. } else {
  11840. goto handle_uninterpreted;
  11841. }
  11842. if (input->ExpectTag(16)) goto parse_activityState;
  11843. break;
  11844. }
  11845. // optional int32 activityState = 2;
  11846. case 2: {
  11847. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11848. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11849. parse_activityState:
  11850. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11851. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11852. input, &activitystate_)));
  11853. set_has_activitystate();
  11854. } else {
  11855. goto handle_uninterpreted;
  11856. }
  11857. if (input->ExpectTag(24)) goto parse_startTime;
  11858. break;
  11859. }
  11860. // optional int32 startTime = 3;
  11861. case 3: {
  11862. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11863. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11864. parse_startTime:
  11865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11866. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11867. input, &starttime_)));
  11868. set_has_starttime();
  11869. } else {
  11870. goto handle_uninterpreted;
  11871. }
  11872. if (input->ExpectTag(32)) goto parse_endTime;
  11873. break;
  11874. }
  11875. // optional int32 endTime = 4;
  11876. case 4: {
  11877. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11878. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11879. parse_endTime:
  11880. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11881. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11882. input, &endtime_)));
  11883. set_has_endtime();
  11884. } else {
  11885. goto handle_uninterpreted;
  11886. }
  11887. if (input->ExpectTag(40)) goto parse_signList;
  11888. break;
  11889. }
  11890. // repeated int32 signList = 5;
  11891. case 5: {
  11892. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11893. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11894. parse_signList:
  11895. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  11896. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11897. 1, 40, input, this->mutable_signlist())));
  11898. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  11899. == ::google::protobuf::internal::WireFormatLite::
  11900. WIRETYPE_LENGTH_DELIMITED) {
  11901. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  11902. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11903. input, this->mutable_signlist())));
  11904. } else {
  11905. goto handle_uninterpreted;
  11906. }
  11907. if (input->ExpectTag(40)) goto parse_signList;
  11908. if (input->ExpectAtEnd()) return true;
  11909. break;
  11910. }
  11911. default: {
  11912. handle_uninterpreted:
  11913. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11914. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11915. return true;
  11916. }
  11917. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11918. input, tag, mutable_unknown_fields()));
  11919. break;
  11920. }
  11921. }
  11922. }
  11923. return true;
  11924. #undef DO_
  11925. }
  11926. void packetw2c_syn_spring_day_info::SerializeWithCachedSizes(
  11927. ::google::protobuf::io::CodedOutputStream* output) const {
  11928. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_spring_day_info];
  11929. if (has_packet_id()) {
  11930. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11931. 1, this->packet_id(), output);
  11932. }
  11933. // optional int32 activityState = 2;
  11934. if (has_activitystate()) {
  11935. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  11936. }
  11937. // optional int32 startTime = 3;
  11938. if (has_starttime()) {
  11939. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  11940. }
  11941. // optional int32 endTime = 4;
  11942. if (has_endtime()) {
  11943. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  11944. }
  11945. // repeated int32 signList = 5;
  11946. for (int i = 0; i < this->signlist_size(); i++) {
  11947. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  11948. 5, this->signlist(i), output);
  11949. }
  11950. if (!unknown_fields().empty()) {
  11951. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11952. unknown_fields(), output);
  11953. }
  11954. }
  11955. ::google::protobuf::uint8* packetw2c_syn_spring_day_info::SerializeWithCachedSizesToArray(
  11956. ::google::protobuf::uint8* target) const {
  11957. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_spring_day_info];
  11958. if (has_packet_id()) {
  11959. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11960. 1, this->packet_id(), target);
  11961. }
  11962. // optional int32 activityState = 2;
  11963. if (has_activitystate()) {
  11964. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  11965. }
  11966. // optional int32 startTime = 3;
  11967. if (has_starttime()) {
  11968. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  11969. }
  11970. // optional int32 endTime = 4;
  11971. if (has_endtime()) {
  11972. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  11973. }
  11974. // repeated int32 signList = 5;
  11975. for (int i = 0; i < this->signlist_size(); i++) {
  11976. target = ::google::protobuf::internal::WireFormatLite::
  11977. WriteInt32ToArray(5, this->signlist(i), target);
  11978. }
  11979. if (!unknown_fields().empty()) {
  11980. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11981. unknown_fields(), target);
  11982. }
  11983. return target;
  11984. }
  11985. int packetw2c_syn_spring_day_info::ByteSize() const {
  11986. int total_size = 0;
  11987. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11988. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_spring_day_info];
  11989. if (has_packet_id()) {
  11990. total_size += 1 +
  11991. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11992. }
  11993. // optional int32 activityState = 2;
  11994. if (has_activitystate()) {
  11995. total_size += 1 +
  11996. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11997. this->activitystate());
  11998. }
  11999. // optional int32 startTime = 3;
  12000. if (has_starttime()) {
  12001. total_size += 1 +
  12002. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12003. this->starttime());
  12004. }
  12005. // optional int32 endTime = 4;
  12006. if (has_endtime()) {
  12007. total_size += 1 +
  12008. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12009. this->endtime());
  12010. }
  12011. }
  12012. // repeated int32 signList = 5;
  12013. {
  12014. int data_size = 0;
  12015. for (int i = 0; i < this->signlist_size(); i++) {
  12016. data_size += ::google::protobuf::internal::WireFormatLite::
  12017. Int32Size(this->signlist(i));
  12018. }
  12019. total_size += 1 * this->signlist_size() + data_size;
  12020. }
  12021. if (!unknown_fields().empty()) {
  12022. total_size +=
  12023. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12024. unknown_fields());
  12025. }
  12026. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12027. _cached_size_ = total_size;
  12028. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12029. return total_size;
  12030. }
  12031. void packetw2c_syn_spring_day_info::MergeFrom(const ::google::protobuf::Message& from) {
  12032. GOOGLE_CHECK_NE(&from, this);
  12033. const packetw2c_syn_spring_day_info* source =
  12034. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_spring_day_info*>(
  12035. &from);
  12036. if (source == NULL) {
  12037. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12038. } else {
  12039. MergeFrom(*source);
  12040. }
  12041. }
  12042. void packetw2c_syn_spring_day_info::MergeFrom(const packetw2c_syn_spring_day_info& from) {
  12043. GOOGLE_CHECK_NE(&from, this);
  12044. signlist_.MergeFrom(from.signlist_);
  12045. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12046. if (from.has_packet_id()) {
  12047. set_packet_id(from.packet_id());
  12048. }
  12049. if (from.has_activitystate()) {
  12050. set_activitystate(from.activitystate());
  12051. }
  12052. if (from.has_starttime()) {
  12053. set_starttime(from.starttime());
  12054. }
  12055. if (from.has_endtime()) {
  12056. set_endtime(from.endtime());
  12057. }
  12058. }
  12059. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12060. }
  12061. void packetw2c_syn_spring_day_info::CopyFrom(const ::google::protobuf::Message& from) {
  12062. if (&from == this) return;
  12063. Clear();
  12064. MergeFrom(from);
  12065. }
  12066. void packetw2c_syn_spring_day_info::CopyFrom(const packetw2c_syn_spring_day_info& from) {
  12067. if (&from == this) return;
  12068. Clear();
  12069. MergeFrom(from);
  12070. }
  12071. bool packetw2c_syn_spring_day_info::IsInitialized() const {
  12072. return true;
  12073. }
  12074. void packetw2c_syn_spring_day_info::Swap(packetw2c_syn_spring_day_info* other) {
  12075. if (other != this) {
  12076. std::swap(packet_id_, other->packet_id_);
  12077. std::swap(activitystate_, other->activitystate_);
  12078. std::swap(starttime_, other->starttime_);
  12079. std::swap(endtime_, other->endtime_);
  12080. signlist_.Swap(&other->signlist_);
  12081. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12082. _unknown_fields_.Swap(&other->_unknown_fields_);
  12083. std::swap(_cached_size_, other->_cached_size_);
  12084. }
  12085. }
  12086. ::google::protobuf::Metadata packetw2c_syn_spring_day_info::GetMetadata() const {
  12087. protobuf_AssignDescriptorsOnce();
  12088. ::google::protobuf::Metadata metadata;
  12089. metadata.descriptor = packetw2c_syn_spring_day_info_descriptor_;
  12090. metadata.reflection = packetw2c_syn_spring_day_info_reflection_;
  12091. return metadata;
  12092. }
  12093. // ===================================================================
  12094. #ifndef _MSC_VER
  12095. const int packetc2w_recv_spring_day_login_reward::kPacketIdFieldNumber;
  12096. const int packetc2w_recv_spring_day_login_reward::kSignIndexFieldNumber;
  12097. #endif // !_MSC_VER
  12098. packetc2w_recv_spring_day_login_reward::packetc2w_recv_spring_day_login_reward()
  12099. : ::google::protobuf::Message() {
  12100. SharedCtor();
  12101. }
  12102. void packetc2w_recv_spring_day_login_reward::InitAsDefaultInstance() {
  12103. }
  12104. packetc2w_recv_spring_day_login_reward::packetc2w_recv_spring_day_login_reward(const packetc2w_recv_spring_day_login_reward& from)
  12105. : ::google::protobuf::Message() {
  12106. SharedCtor();
  12107. MergeFrom(from);
  12108. }
  12109. void packetc2w_recv_spring_day_login_reward::SharedCtor() {
  12110. _cached_size_ = 0;
  12111. packet_id_ = 5168;
  12112. signindex_ = 0;
  12113. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12114. }
  12115. packetc2w_recv_spring_day_login_reward::~packetc2w_recv_spring_day_login_reward() {
  12116. SharedDtor();
  12117. }
  12118. void packetc2w_recv_spring_day_login_reward::SharedDtor() {
  12119. if (this != default_instance_) {
  12120. }
  12121. }
  12122. void packetc2w_recv_spring_day_login_reward::SetCachedSize(int size) const {
  12123. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12124. _cached_size_ = size;
  12125. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12126. }
  12127. const ::google::protobuf::Descriptor* packetc2w_recv_spring_day_login_reward::descriptor() {
  12128. protobuf_AssignDescriptorsOnce();
  12129. return packetc2w_recv_spring_day_login_reward_descriptor_;
  12130. }
  12131. const packetc2w_recv_spring_day_login_reward& packetc2w_recv_spring_day_login_reward::default_instance() {
  12132. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  12133. return *default_instance_;
  12134. }
  12135. packetc2w_recv_spring_day_login_reward* packetc2w_recv_spring_day_login_reward::default_instance_ = NULL;
  12136. packetc2w_recv_spring_day_login_reward* packetc2w_recv_spring_day_login_reward::New() const {
  12137. return new packetc2w_recv_spring_day_login_reward;
  12138. }
  12139. void packetc2w_recv_spring_day_login_reward::Clear() {
  12140. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12141. packet_id_ = 5168;
  12142. signindex_ = 0;
  12143. }
  12144. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12145. mutable_unknown_fields()->Clear();
  12146. }
  12147. bool packetc2w_recv_spring_day_login_reward::MergePartialFromCodedStream(
  12148. ::google::protobuf::io::CodedInputStream* input) {
  12149. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12150. ::google::protobuf::uint32 tag;
  12151. while ((tag = input->ReadTag()) != 0) {
  12152. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12153. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_spring_day_login_reward];
  12154. case 1: {
  12155. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12156. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12157. int value;
  12158. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12159. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12160. input, &value)));
  12161. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  12162. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  12163. } else {
  12164. mutable_unknown_fields()->AddVarint(1, value);
  12165. }
  12166. } else {
  12167. goto handle_uninterpreted;
  12168. }
  12169. if (input->ExpectTag(16)) goto parse_signIndex;
  12170. break;
  12171. }
  12172. // optional int32 signIndex = 2;
  12173. case 2: {
  12174. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12175. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12176. parse_signIndex:
  12177. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12178. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12179. input, &signindex_)));
  12180. set_has_signindex();
  12181. } else {
  12182. goto handle_uninterpreted;
  12183. }
  12184. if (input->ExpectAtEnd()) return true;
  12185. break;
  12186. }
  12187. default: {
  12188. handle_uninterpreted:
  12189. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12190. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12191. return true;
  12192. }
  12193. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12194. input, tag, mutable_unknown_fields()));
  12195. break;
  12196. }
  12197. }
  12198. }
  12199. return true;
  12200. #undef DO_
  12201. }
  12202. void packetc2w_recv_spring_day_login_reward::SerializeWithCachedSizes(
  12203. ::google::protobuf::io::CodedOutputStream* output) const {
  12204. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_spring_day_login_reward];
  12205. if (has_packet_id()) {
  12206. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12207. 1, this->packet_id(), output);
  12208. }
  12209. // optional int32 signIndex = 2;
  12210. if (has_signindex()) {
  12211. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  12212. }
  12213. if (!unknown_fields().empty()) {
  12214. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12215. unknown_fields(), output);
  12216. }
  12217. }
  12218. ::google::protobuf::uint8* packetc2w_recv_spring_day_login_reward::SerializeWithCachedSizesToArray(
  12219. ::google::protobuf::uint8* target) const {
  12220. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_spring_day_login_reward];
  12221. if (has_packet_id()) {
  12222. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12223. 1, this->packet_id(), target);
  12224. }
  12225. // optional int32 signIndex = 2;
  12226. if (has_signindex()) {
  12227. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  12228. }
  12229. if (!unknown_fields().empty()) {
  12230. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12231. unknown_fields(), target);
  12232. }
  12233. return target;
  12234. }
  12235. int packetc2w_recv_spring_day_login_reward::ByteSize() const {
  12236. int total_size = 0;
  12237. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12238. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_spring_day_login_reward];
  12239. if (has_packet_id()) {
  12240. total_size += 1 +
  12241. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12242. }
  12243. // optional int32 signIndex = 2;
  12244. if (has_signindex()) {
  12245. total_size += 1 +
  12246. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12247. this->signindex());
  12248. }
  12249. }
  12250. if (!unknown_fields().empty()) {
  12251. total_size +=
  12252. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12253. unknown_fields());
  12254. }
  12255. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12256. _cached_size_ = total_size;
  12257. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12258. return total_size;
  12259. }
  12260. void packetc2w_recv_spring_day_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  12261. GOOGLE_CHECK_NE(&from, this);
  12262. const packetc2w_recv_spring_day_login_reward* source =
  12263. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_spring_day_login_reward*>(
  12264. &from);
  12265. if (source == NULL) {
  12266. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12267. } else {
  12268. MergeFrom(*source);
  12269. }
  12270. }
  12271. void packetc2w_recv_spring_day_login_reward::MergeFrom(const packetc2w_recv_spring_day_login_reward& from) {
  12272. GOOGLE_CHECK_NE(&from, this);
  12273. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12274. if (from.has_packet_id()) {
  12275. set_packet_id(from.packet_id());
  12276. }
  12277. if (from.has_signindex()) {
  12278. set_signindex(from.signindex());
  12279. }
  12280. }
  12281. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12282. }
  12283. void packetc2w_recv_spring_day_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  12284. if (&from == this) return;
  12285. Clear();
  12286. MergeFrom(from);
  12287. }
  12288. void packetc2w_recv_spring_day_login_reward::CopyFrom(const packetc2w_recv_spring_day_login_reward& from) {
  12289. if (&from == this) return;
  12290. Clear();
  12291. MergeFrom(from);
  12292. }
  12293. bool packetc2w_recv_spring_day_login_reward::IsInitialized() const {
  12294. return true;
  12295. }
  12296. void packetc2w_recv_spring_day_login_reward::Swap(packetc2w_recv_spring_day_login_reward* other) {
  12297. if (other != this) {
  12298. std::swap(packet_id_, other->packet_id_);
  12299. std::swap(signindex_, other->signindex_);
  12300. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12301. _unknown_fields_.Swap(&other->_unknown_fields_);
  12302. std::swap(_cached_size_, other->_cached_size_);
  12303. }
  12304. }
  12305. ::google::protobuf::Metadata packetc2w_recv_spring_day_login_reward::GetMetadata() const {
  12306. protobuf_AssignDescriptorsOnce();
  12307. ::google::protobuf::Metadata metadata;
  12308. metadata.descriptor = packetc2w_recv_spring_day_login_reward_descriptor_;
  12309. metadata.reflection = packetc2w_recv_spring_day_login_reward_reflection_;
  12310. return metadata;
  12311. }
  12312. // ===================================================================
  12313. #ifndef _MSC_VER
  12314. const int packetw2c_recv_spring_day_login_reward_result::kPacketIdFieldNumber;
  12315. const int packetw2c_recv_spring_day_login_reward_result::kSignIndexFieldNumber;
  12316. const int packetw2c_recv_spring_day_login_reward_result::kResultFieldNumber;
  12317. #endif // !_MSC_VER
  12318. packetw2c_recv_spring_day_login_reward_result::packetw2c_recv_spring_day_login_reward_result()
  12319. : ::google::protobuf::Message() {
  12320. SharedCtor();
  12321. }
  12322. void packetw2c_recv_spring_day_login_reward_result::InitAsDefaultInstance() {
  12323. }
  12324. packetw2c_recv_spring_day_login_reward_result::packetw2c_recv_spring_day_login_reward_result(const packetw2c_recv_spring_day_login_reward_result& from)
  12325. : ::google::protobuf::Message() {
  12326. SharedCtor();
  12327. MergeFrom(from);
  12328. }
  12329. void packetw2c_recv_spring_day_login_reward_result::SharedCtor() {
  12330. _cached_size_ = 0;
  12331. packet_id_ = 7684;
  12332. signindex_ = 0;
  12333. result_ = 0;
  12334. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12335. }
  12336. packetw2c_recv_spring_day_login_reward_result::~packetw2c_recv_spring_day_login_reward_result() {
  12337. SharedDtor();
  12338. }
  12339. void packetw2c_recv_spring_day_login_reward_result::SharedDtor() {
  12340. if (this != default_instance_) {
  12341. }
  12342. }
  12343. void packetw2c_recv_spring_day_login_reward_result::SetCachedSize(int size) const {
  12344. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12345. _cached_size_ = size;
  12346. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12347. }
  12348. const ::google::protobuf::Descriptor* packetw2c_recv_spring_day_login_reward_result::descriptor() {
  12349. protobuf_AssignDescriptorsOnce();
  12350. return packetw2c_recv_spring_day_login_reward_result_descriptor_;
  12351. }
  12352. const packetw2c_recv_spring_day_login_reward_result& packetw2c_recv_spring_day_login_reward_result::default_instance() {
  12353. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  12354. return *default_instance_;
  12355. }
  12356. packetw2c_recv_spring_day_login_reward_result* packetw2c_recv_spring_day_login_reward_result::default_instance_ = NULL;
  12357. packetw2c_recv_spring_day_login_reward_result* packetw2c_recv_spring_day_login_reward_result::New() const {
  12358. return new packetw2c_recv_spring_day_login_reward_result;
  12359. }
  12360. void packetw2c_recv_spring_day_login_reward_result::Clear() {
  12361. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12362. packet_id_ = 7684;
  12363. signindex_ = 0;
  12364. result_ = 0;
  12365. }
  12366. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12367. mutable_unknown_fields()->Clear();
  12368. }
  12369. bool packetw2c_recv_spring_day_login_reward_result::MergePartialFromCodedStream(
  12370. ::google::protobuf::io::CodedInputStream* input) {
  12371. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12372. ::google::protobuf::uint32 tag;
  12373. while ((tag = input->ReadTag()) != 0) {
  12374. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12375. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_spring_day_login_reward_result];
  12376. case 1: {
  12377. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12378. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12379. int value;
  12380. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12381. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12382. input, &value)));
  12383. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  12384. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  12385. } else {
  12386. mutable_unknown_fields()->AddVarint(1, value);
  12387. }
  12388. } else {
  12389. goto handle_uninterpreted;
  12390. }
  12391. if (input->ExpectTag(16)) goto parse_signIndex;
  12392. break;
  12393. }
  12394. // optional int32 signIndex = 2;
  12395. case 2: {
  12396. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12397. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12398. parse_signIndex:
  12399. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12400. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12401. input, &signindex_)));
  12402. set_has_signindex();
  12403. } else {
  12404. goto handle_uninterpreted;
  12405. }
  12406. if (input->ExpectTag(24)) goto parse_result;
  12407. break;
  12408. }
  12409. // optional int32 result = 3;
  12410. case 3: {
  12411. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12412. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12413. parse_result:
  12414. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12415. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12416. input, &result_)));
  12417. set_has_result();
  12418. } else {
  12419. goto handle_uninterpreted;
  12420. }
  12421. if (input->ExpectAtEnd()) return true;
  12422. break;
  12423. }
  12424. default: {
  12425. handle_uninterpreted:
  12426. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12427. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12428. return true;
  12429. }
  12430. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12431. input, tag, mutable_unknown_fields()));
  12432. break;
  12433. }
  12434. }
  12435. }
  12436. return true;
  12437. #undef DO_
  12438. }
  12439. void packetw2c_recv_spring_day_login_reward_result::SerializeWithCachedSizes(
  12440. ::google::protobuf::io::CodedOutputStream* output) const {
  12441. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_spring_day_login_reward_result];
  12442. if (has_packet_id()) {
  12443. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12444. 1, this->packet_id(), output);
  12445. }
  12446. // optional int32 signIndex = 2;
  12447. if (has_signindex()) {
  12448. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  12449. }
  12450. // optional int32 result = 3;
  12451. if (has_result()) {
  12452. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  12453. }
  12454. if (!unknown_fields().empty()) {
  12455. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12456. unknown_fields(), output);
  12457. }
  12458. }
  12459. ::google::protobuf::uint8* packetw2c_recv_spring_day_login_reward_result::SerializeWithCachedSizesToArray(
  12460. ::google::protobuf::uint8* target) const {
  12461. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_spring_day_login_reward_result];
  12462. if (has_packet_id()) {
  12463. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12464. 1, this->packet_id(), target);
  12465. }
  12466. // optional int32 signIndex = 2;
  12467. if (has_signindex()) {
  12468. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  12469. }
  12470. // optional int32 result = 3;
  12471. if (has_result()) {
  12472. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  12473. }
  12474. if (!unknown_fields().empty()) {
  12475. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12476. unknown_fields(), target);
  12477. }
  12478. return target;
  12479. }
  12480. int packetw2c_recv_spring_day_login_reward_result::ByteSize() const {
  12481. int total_size = 0;
  12482. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12483. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_spring_day_login_reward_result];
  12484. if (has_packet_id()) {
  12485. total_size += 1 +
  12486. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12487. }
  12488. // optional int32 signIndex = 2;
  12489. if (has_signindex()) {
  12490. total_size += 1 +
  12491. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12492. this->signindex());
  12493. }
  12494. // optional int32 result = 3;
  12495. if (has_result()) {
  12496. total_size += 1 +
  12497. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12498. this->result());
  12499. }
  12500. }
  12501. if (!unknown_fields().empty()) {
  12502. total_size +=
  12503. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12504. unknown_fields());
  12505. }
  12506. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12507. _cached_size_ = total_size;
  12508. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12509. return total_size;
  12510. }
  12511. void packetw2c_recv_spring_day_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  12512. GOOGLE_CHECK_NE(&from, this);
  12513. const packetw2c_recv_spring_day_login_reward_result* source =
  12514. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_spring_day_login_reward_result*>(
  12515. &from);
  12516. if (source == NULL) {
  12517. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12518. } else {
  12519. MergeFrom(*source);
  12520. }
  12521. }
  12522. void packetw2c_recv_spring_day_login_reward_result::MergeFrom(const packetw2c_recv_spring_day_login_reward_result& from) {
  12523. GOOGLE_CHECK_NE(&from, this);
  12524. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12525. if (from.has_packet_id()) {
  12526. set_packet_id(from.packet_id());
  12527. }
  12528. if (from.has_signindex()) {
  12529. set_signindex(from.signindex());
  12530. }
  12531. if (from.has_result()) {
  12532. set_result(from.result());
  12533. }
  12534. }
  12535. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12536. }
  12537. void packetw2c_recv_spring_day_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  12538. if (&from == this) return;
  12539. Clear();
  12540. MergeFrom(from);
  12541. }
  12542. void packetw2c_recv_spring_day_login_reward_result::CopyFrom(const packetw2c_recv_spring_day_login_reward_result& from) {
  12543. if (&from == this) return;
  12544. Clear();
  12545. MergeFrom(from);
  12546. }
  12547. bool packetw2c_recv_spring_day_login_reward_result::IsInitialized() const {
  12548. return true;
  12549. }
  12550. void packetw2c_recv_spring_day_login_reward_result::Swap(packetw2c_recv_spring_day_login_reward_result* other) {
  12551. if (other != this) {
  12552. std::swap(packet_id_, other->packet_id_);
  12553. std::swap(signindex_, other->signindex_);
  12554. std::swap(result_, other->result_);
  12555. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12556. _unknown_fields_.Swap(&other->_unknown_fields_);
  12557. std::swap(_cached_size_, other->_cached_size_);
  12558. }
  12559. }
  12560. ::google::protobuf::Metadata packetw2c_recv_spring_day_login_reward_result::GetMetadata() const {
  12561. protobuf_AssignDescriptorsOnce();
  12562. ::google::protobuf::Metadata metadata;
  12563. metadata.descriptor = packetw2c_recv_spring_day_login_reward_result_descriptor_;
  12564. metadata.reflection = packetw2c_recv_spring_day_login_reward_result_reflection_;
  12565. return metadata;
  12566. }
  12567. // ===================================================================
  12568. #ifndef _MSC_VER
  12569. const int packetw2c_syn_hunt_fish_info::kPacketIdFieldNumber;
  12570. const int packetw2c_syn_hunt_fish_info::kActivityStateFieldNumber;
  12571. const int packetw2c_syn_hunt_fish_info::kStartTimeFieldNumber;
  12572. const int packetw2c_syn_hunt_fish_info::kEndTimeFieldNumber;
  12573. #endif // !_MSC_VER
  12574. packetw2c_syn_hunt_fish_info::packetw2c_syn_hunt_fish_info()
  12575. : ::google::protobuf::Message() {
  12576. SharedCtor();
  12577. }
  12578. void packetw2c_syn_hunt_fish_info::InitAsDefaultInstance() {
  12579. }
  12580. packetw2c_syn_hunt_fish_info::packetw2c_syn_hunt_fish_info(const packetw2c_syn_hunt_fish_info& from)
  12581. : ::google::protobuf::Message() {
  12582. SharedCtor();
  12583. MergeFrom(from);
  12584. }
  12585. void packetw2c_syn_hunt_fish_info::SharedCtor() {
  12586. _cached_size_ = 0;
  12587. packet_id_ = 7687;
  12588. activitystate_ = 0;
  12589. starttime_ = 0;
  12590. endtime_ = 0;
  12591. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12592. }
  12593. packetw2c_syn_hunt_fish_info::~packetw2c_syn_hunt_fish_info() {
  12594. SharedDtor();
  12595. }
  12596. void packetw2c_syn_hunt_fish_info::SharedDtor() {
  12597. if (this != default_instance_) {
  12598. }
  12599. }
  12600. void packetw2c_syn_hunt_fish_info::SetCachedSize(int size) const {
  12601. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12602. _cached_size_ = size;
  12603. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12604. }
  12605. const ::google::protobuf::Descriptor* packetw2c_syn_hunt_fish_info::descriptor() {
  12606. protobuf_AssignDescriptorsOnce();
  12607. return packetw2c_syn_hunt_fish_info_descriptor_;
  12608. }
  12609. const packetw2c_syn_hunt_fish_info& packetw2c_syn_hunt_fish_info::default_instance() {
  12610. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  12611. return *default_instance_;
  12612. }
  12613. packetw2c_syn_hunt_fish_info* packetw2c_syn_hunt_fish_info::default_instance_ = NULL;
  12614. packetw2c_syn_hunt_fish_info* packetw2c_syn_hunt_fish_info::New() const {
  12615. return new packetw2c_syn_hunt_fish_info;
  12616. }
  12617. void packetw2c_syn_hunt_fish_info::Clear() {
  12618. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12619. packet_id_ = 7687;
  12620. activitystate_ = 0;
  12621. starttime_ = 0;
  12622. endtime_ = 0;
  12623. }
  12624. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12625. mutable_unknown_fields()->Clear();
  12626. }
  12627. bool packetw2c_syn_hunt_fish_info::MergePartialFromCodedStream(
  12628. ::google::protobuf::io::CodedInputStream* input) {
  12629. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12630. ::google::protobuf::uint32 tag;
  12631. while ((tag = input->ReadTag()) != 0) {
  12632. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12633. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_hunt_fish_info];
  12634. case 1: {
  12635. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12636. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12637. int value;
  12638. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12639. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12640. input, &value)));
  12641. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  12642. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  12643. } else {
  12644. mutable_unknown_fields()->AddVarint(1, value);
  12645. }
  12646. } else {
  12647. goto handle_uninterpreted;
  12648. }
  12649. if (input->ExpectTag(16)) goto parse_activityState;
  12650. break;
  12651. }
  12652. // optional int32 activityState = 2;
  12653. case 2: {
  12654. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12655. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12656. parse_activityState:
  12657. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12658. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12659. input, &activitystate_)));
  12660. set_has_activitystate();
  12661. } else {
  12662. goto handle_uninterpreted;
  12663. }
  12664. if (input->ExpectTag(24)) goto parse_startTime;
  12665. break;
  12666. }
  12667. // optional int32 startTime = 3;
  12668. case 3: {
  12669. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12670. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12671. parse_startTime:
  12672. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12673. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12674. input, &starttime_)));
  12675. set_has_starttime();
  12676. } else {
  12677. goto handle_uninterpreted;
  12678. }
  12679. if (input->ExpectTag(32)) goto parse_endTime;
  12680. break;
  12681. }
  12682. // optional int32 endTime = 4;
  12683. case 4: {
  12684. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12685. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12686. parse_endTime:
  12687. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12688. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12689. input, &endtime_)));
  12690. set_has_endtime();
  12691. } else {
  12692. goto handle_uninterpreted;
  12693. }
  12694. if (input->ExpectAtEnd()) return true;
  12695. break;
  12696. }
  12697. default: {
  12698. handle_uninterpreted:
  12699. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12700. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12701. return true;
  12702. }
  12703. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12704. input, tag, mutable_unknown_fields()));
  12705. break;
  12706. }
  12707. }
  12708. }
  12709. return true;
  12710. #undef DO_
  12711. }
  12712. void packetw2c_syn_hunt_fish_info::SerializeWithCachedSizes(
  12713. ::google::protobuf::io::CodedOutputStream* output) const {
  12714. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_hunt_fish_info];
  12715. if (has_packet_id()) {
  12716. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12717. 1, this->packet_id(), output);
  12718. }
  12719. // optional int32 activityState = 2;
  12720. if (has_activitystate()) {
  12721. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  12722. }
  12723. // optional int32 startTime = 3;
  12724. if (has_starttime()) {
  12725. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  12726. }
  12727. // optional int32 endTime = 4;
  12728. if (has_endtime()) {
  12729. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  12730. }
  12731. if (!unknown_fields().empty()) {
  12732. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12733. unknown_fields(), output);
  12734. }
  12735. }
  12736. ::google::protobuf::uint8* packetw2c_syn_hunt_fish_info::SerializeWithCachedSizesToArray(
  12737. ::google::protobuf::uint8* target) const {
  12738. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_hunt_fish_info];
  12739. if (has_packet_id()) {
  12740. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12741. 1, this->packet_id(), target);
  12742. }
  12743. // optional int32 activityState = 2;
  12744. if (has_activitystate()) {
  12745. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  12746. }
  12747. // optional int32 startTime = 3;
  12748. if (has_starttime()) {
  12749. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  12750. }
  12751. // optional int32 endTime = 4;
  12752. if (has_endtime()) {
  12753. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  12754. }
  12755. if (!unknown_fields().empty()) {
  12756. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12757. unknown_fields(), target);
  12758. }
  12759. return target;
  12760. }
  12761. int packetw2c_syn_hunt_fish_info::ByteSize() const {
  12762. int total_size = 0;
  12763. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12764. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_hunt_fish_info];
  12765. if (has_packet_id()) {
  12766. total_size += 1 +
  12767. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12768. }
  12769. // optional int32 activityState = 2;
  12770. if (has_activitystate()) {
  12771. total_size += 1 +
  12772. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12773. this->activitystate());
  12774. }
  12775. // optional int32 startTime = 3;
  12776. if (has_starttime()) {
  12777. total_size += 1 +
  12778. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12779. this->starttime());
  12780. }
  12781. // optional int32 endTime = 4;
  12782. if (has_endtime()) {
  12783. total_size += 1 +
  12784. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12785. this->endtime());
  12786. }
  12787. }
  12788. if (!unknown_fields().empty()) {
  12789. total_size +=
  12790. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12791. unknown_fields());
  12792. }
  12793. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12794. _cached_size_ = total_size;
  12795. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12796. return total_size;
  12797. }
  12798. void packetw2c_syn_hunt_fish_info::MergeFrom(const ::google::protobuf::Message& from) {
  12799. GOOGLE_CHECK_NE(&from, this);
  12800. const packetw2c_syn_hunt_fish_info* source =
  12801. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_hunt_fish_info*>(
  12802. &from);
  12803. if (source == NULL) {
  12804. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12805. } else {
  12806. MergeFrom(*source);
  12807. }
  12808. }
  12809. void packetw2c_syn_hunt_fish_info::MergeFrom(const packetw2c_syn_hunt_fish_info& from) {
  12810. GOOGLE_CHECK_NE(&from, this);
  12811. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12812. if (from.has_packet_id()) {
  12813. set_packet_id(from.packet_id());
  12814. }
  12815. if (from.has_activitystate()) {
  12816. set_activitystate(from.activitystate());
  12817. }
  12818. if (from.has_starttime()) {
  12819. set_starttime(from.starttime());
  12820. }
  12821. if (from.has_endtime()) {
  12822. set_endtime(from.endtime());
  12823. }
  12824. }
  12825. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12826. }
  12827. void packetw2c_syn_hunt_fish_info::CopyFrom(const ::google::protobuf::Message& from) {
  12828. if (&from == this) return;
  12829. Clear();
  12830. MergeFrom(from);
  12831. }
  12832. void packetw2c_syn_hunt_fish_info::CopyFrom(const packetw2c_syn_hunt_fish_info& from) {
  12833. if (&from == this) return;
  12834. Clear();
  12835. MergeFrom(from);
  12836. }
  12837. bool packetw2c_syn_hunt_fish_info::IsInitialized() const {
  12838. return true;
  12839. }
  12840. void packetw2c_syn_hunt_fish_info::Swap(packetw2c_syn_hunt_fish_info* other) {
  12841. if (other != this) {
  12842. std::swap(packet_id_, other->packet_id_);
  12843. std::swap(activitystate_, other->activitystate_);
  12844. std::swap(starttime_, other->starttime_);
  12845. std::swap(endtime_, other->endtime_);
  12846. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12847. _unknown_fields_.Swap(&other->_unknown_fields_);
  12848. std::swap(_cached_size_, other->_cached_size_);
  12849. }
  12850. }
  12851. ::google::protobuf::Metadata packetw2c_syn_hunt_fish_info::GetMetadata() const {
  12852. protobuf_AssignDescriptorsOnce();
  12853. ::google::protobuf::Metadata metadata;
  12854. metadata.descriptor = packetw2c_syn_hunt_fish_info_descriptor_;
  12855. metadata.reflection = packetw2c_syn_hunt_fish_info_reflection_;
  12856. return metadata;
  12857. }
  12858. // ===================================================================
  12859. #ifndef _MSC_VER
  12860. const int packetc2w_get_hunt_fish_quest::kPacketIdFieldNumber;
  12861. #endif // !_MSC_VER
  12862. packetc2w_get_hunt_fish_quest::packetc2w_get_hunt_fish_quest()
  12863. : ::google::protobuf::Message() {
  12864. SharedCtor();
  12865. }
  12866. void packetc2w_get_hunt_fish_quest::InitAsDefaultInstance() {
  12867. }
  12868. packetc2w_get_hunt_fish_quest::packetc2w_get_hunt_fish_quest(const packetc2w_get_hunt_fish_quest& from)
  12869. : ::google::protobuf::Message() {
  12870. SharedCtor();
  12871. MergeFrom(from);
  12872. }
  12873. void packetc2w_get_hunt_fish_quest::SharedCtor() {
  12874. _cached_size_ = 0;
  12875. packet_id_ = 5250;
  12876. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12877. }
  12878. packetc2w_get_hunt_fish_quest::~packetc2w_get_hunt_fish_quest() {
  12879. SharedDtor();
  12880. }
  12881. void packetc2w_get_hunt_fish_quest::SharedDtor() {
  12882. if (this != default_instance_) {
  12883. }
  12884. }
  12885. void packetc2w_get_hunt_fish_quest::SetCachedSize(int size) const {
  12886. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12887. _cached_size_ = size;
  12888. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12889. }
  12890. const ::google::protobuf::Descriptor* packetc2w_get_hunt_fish_quest::descriptor() {
  12891. protobuf_AssignDescriptorsOnce();
  12892. return packetc2w_get_hunt_fish_quest_descriptor_;
  12893. }
  12894. const packetc2w_get_hunt_fish_quest& packetc2w_get_hunt_fish_quest::default_instance() {
  12895. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  12896. return *default_instance_;
  12897. }
  12898. packetc2w_get_hunt_fish_quest* packetc2w_get_hunt_fish_quest::default_instance_ = NULL;
  12899. packetc2w_get_hunt_fish_quest* packetc2w_get_hunt_fish_quest::New() const {
  12900. return new packetc2w_get_hunt_fish_quest;
  12901. }
  12902. void packetc2w_get_hunt_fish_quest::Clear() {
  12903. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12904. packet_id_ = 5250;
  12905. }
  12906. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12907. mutable_unknown_fields()->Clear();
  12908. }
  12909. bool packetc2w_get_hunt_fish_quest::MergePartialFromCodedStream(
  12910. ::google::protobuf::io::CodedInputStream* input) {
  12911. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12912. ::google::protobuf::uint32 tag;
  12913. while ((tag = input->ReadTag()) != 0) {
  12914. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12915. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_hunt_fish_quest];
  12916. case 1: {
  12917. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12918. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12919. int value;
  12920. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12921. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12922. input, &value)));
  12923. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  12924. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  12925. } else {
  12926. mutable_unknown_fields()->AddVarint(1, value);
  12927. }
  12928. } else {
  12929. goto handle_uninterpreted;
  12930. }
  12931. if (input->ExpectAtEnd()) return true;
  12932. break;
  12933. }
  12934. default: {
  12935. handle_uninterpreted:
  12936. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12937. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12938. return true;
  12939. }
  12940. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12941. input, tag, mutable_unknown_fields()));
  12942. break;
  12943. }
  12944. }
  12945. }
  12946. return true;
  12947. #undef DO_
  12948. }
  12949. void packetc2w_get_hunt_fish_quest::SerializeWithCachedSizes(
  12950. ::google::protobuf::io::CodedOutputStream* output) const {
  12951. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_hunt_fish_quest];
  12952. if (has_packet_id()) {
  12953. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12954. 1, this->packet_id(), output);
  12955. }
  12956. if (!unknown_fields().empty()) {
  12957. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12958. unknown_fields(), output);
  12959. }
  12960. }
  12961. ::google::protobuf::uint8* packetc2w_get_hunt_fish_quest::SerializeWithCachedSizesToArray(
  12962. ::google::protobuf::uint8* target) const {
  12963. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_hunt_fish_quest];
  12964. if (has_packet_id()) {
  12965. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12966. 1, this->packet_id(), target);
  12967. }
  12968. if (!unknown_fields().empty()) {
  12969. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12970. unknown_fields(), target);
  12971. }
  12972. return target;
  12973. }
  12974. int packetc2w_get_hunt_fish_quest::ByteSize() const {
  12975. int total_size = 0;
  12976. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12977. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_hunt_fish_quest];
  12978. if (has_packet_id()) {
  12979. total_size += 1 +
  12980. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12981. }
  12982. }
  12983. if (!unknown_fields().empty()) {
  12984. total_size +=
  12985. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12986. unknown_fields());
  12987. }
  12988. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12989. _cached_size_ = total_size;
  12990. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12991. return total_size;
  12992. }
  12993. void packetc2w_get_hunt_fish_quest::MergeFrom(const ::google::protobuf::Message& from) {
  12994. GOOGLE_CHECK_NE(&from, this);
  12995. const packetc2w_get_hunt_fish_quest* source =
  12996. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_hunt_fish_quest*>(
  12997. &from);
  12998. if (source == NULL) {
  12999. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13000. } else {
  13001. MergeFrom(*source);
  13002. }
  13003. }
  13004. void packetc2w_get_hunt_fish_quest::MergeFrom(const packetc2w_get_hunt_fish_quest& from) {
  13005. GOOGLE_CHECK_NE(&from, this);
  13006. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13007. if (from.has_packet_id()) {
  13008. set_packet_id(from.packet_id());
  13009. }
  13010. }
  13011. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13012. }
  13013. void packetc2w_get_hunt_fish_quest::CopyFrom(const ::google::protobuf::Message& from) {
  13014. if (&from == this) return;
  13015. Clear();
  13016. MergeFrom(from);
  13017. }
  13018. void packetc2w_get_hunt_fish_quest::CopyFrom(const packetc2w_get_hunt_fish_quest& from) {
  13019. if (&from == this) return;
  13020. Clear();
  13021. MergeFrom(from);
  13022. }
  13023. bool packetc2w_get_hunt_fish_quest::IsInitialized() const {
  13024. return true;
  13025. }
  13026. void packetc2w_get_hunt_fish_quest::Swap(packetc2w_get_hunt_fish_quest* other) {
  13027. if (other != this) {
  13028. std::swap(packet_id_, other->packet_id_);
  13029. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13030. _unknown_fields_.Swap(&other->_unknown_fields_);
  13031. std::swap(_cached_size_, other->_cached_size_);
  13032. }
  13033. }
  13034. ::google::protobuf::Metadata packetc2w_get_hunt_fish_quest::GetMetadata() const {
  13035. protobuf_AssignDescriptorsOnce();
  13036. ::google::protobuf::Metadata metadata;
  13037. metadata.descriptor = packetc2w_get_hunt_fish_quest_descriptor_;
  13038. metadata.reflection = packetc2w_get_hunt_fish_quest_reflection_;
  13039. return metadata;
  13040. }
  13041. // ===================================================================
  13042. #ifndef _MSC_VER
  13043. const int packetw2c_get_hunt_fish_quest_result::kPacketIdFieldNumber;
  13044. const int packetw2c_get_hunt_fish_quest_result::kQuestListFieldNumber;
  13045. #endif // !_MSC_VER
  13046. packetw2c_get_hunt_fish_quest_result::packetw2c_get_hunt_fish_quest_result()
  13047. : ::google::protobuf::Message() {
  13048. SharedCtor();
  13049. }
  13050. void packetw2c_get_hunt_fish_quest_result::InitAsDefaultInstance() {
  13051. }
  13052. packetw2c_get_hunt_fish_quest_result::packetw2c_get_hunt_fish_quest_result(const packetw2c_get_hunt_fish_quest_result& from)
  13053. : ::google::protobuf::Message() {
  13054. SharedCtor();
  13055. MergeFrom(from);
  13056. }
  13057. void packetw2c_get_hunt_fish_quest_result::SharedCtor() {
  13058. _cached_size_ = 0;
  13059. packet_id_ = 7797;
  13060. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13061. }
  13062. packetw2c_get_hunt_fish_quest_result::~packetw2c_get_hunt_fish_quest_result() {
  13063. SharedDtor();
  13064. }
  13065. void packetw2c_get_hunt_fish_quest_result::SharedDtor() {
  13066. if (this != default_instance_) {
  13067. }
  13068. }
  13069. void packetw2c_get_hunt_fish_quest_result::SetCachedSize(int size) const {
  13070. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13071. _cached_size_ = size;
  13072. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13073. }
  13074. const ::google::protobuf::Descriptor* packetw2c_get_hunt_fish_quest_result::descriptor() {
  13075. protobuf_AssignDescriptorsOnce();
  13076. return packetw2c_get_hunt_fish_quest_result_descriptor_;
  13077. }
  13078. const packetw2c_get_hunt_fish_quest_result& packetw2c_get_hunt_fish_quest_result::default_instance() {
  13079. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  13080. return *default_instance_;
  13081. }
  13082. packetw2c_get_hunt_fish_quest_result* packetw2c_get_hunt_fish_quest_result::default_instance_ = NULL;
  13083. packetw2c_get_hunt_fish_quest_result* packetw2c_get_hunt_fish_quest_result::New() const {
  13084. return new packetw2c_get_hunt_fish_quest_result;
  13085. }
  13086. void packetw2c_get_hunt_fish_quest_result::Clear() {
  13087. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13088. packet_id_ = 7797;
  13089. }
  13090. questlist_.Clear();
  13091. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13092. mutable_unknown_fields()->Clear();
  13093. }
  13094. bool packetw2c_get_hunt_fish_quest_result::MergePartialFromCodedStream(
  13095. ::google::protobuf::io::CodedInputStream* input) {
  13096. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13097. ::google::protobuf::uint32 tag;
  13098. while ((tag = input->ReadTag()) != 0) {
  13099. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13100. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_hunt_fish_quest_result];
  13101. case 1: {
  13102. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13103. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13104. int value;
  13105. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13106. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13107. input, &value)));
  13108. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  13109. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  13110. } else {
  13111. mutable_unknown_fields()->AddVarint(1, value);
  13112. }
  13113. } else {
  13114. goto handle_uninterpreted;
  13115. }
  13116. if (input->ExpectTag(18)) goto parse_questList;
  13117. break;
  13118. }
  13119. // repeated .msg_info_def.msg_quest_info questList = 2;
  13120. case 2: {
  13121. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13122. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13123. parse_questList:
  13124. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  13125. input, add_questlist()));
  13126. } else {
  13127. goto handle_uninterpreted;
  13128. }
  13129. if (input->ExpectTag(18)) goto parse_questList;
  13130. if (input->ExpectAtEnd()) return true;
  13131. break;
  13132. }
  13133. default: {
  13134. handle_uninterpreted:
  13135. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13136. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13137. return true;
  13138. }
  13139. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13140. input, tag, mutable_unknown_fields()));
  13141. break;
  13142. }
  13143. }
  13144. }
  13145. return true;
  13146. #undef DO_
  13147. }
  13148. void packetw2c_get_hunt_fish_quest_result::SerializeWithCachedSizes(
  13149. ::google::protobuf::io::CodedOutputStream* output) const {
  13150. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_hunt_fish_quest_result];
  13151. if (has_packet_id()) {
  13152. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13153. 1, this->packet_id(), output);
  13154. }
  13155. // repeated .msg_info_def.msg_quest_info questList = 2;
  13156. for (int i = 0; i < this->questlist_size(); i++) {
  13157. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  13158. 2, this->questlist(i), output);
  13159. }
  13160. if (!unknown_fields().empty()) {
  13161. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13162. unknown_fields(), output);
  13163. }
  13164. }
  13165. ::google::protobuf::uint8* packetw2c_get_hunt_fish_quest_result::SerializeWithCachedSizesToArray(
  13166. ::google::protobuf::uint8* target) const {
  13167. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_hunt_fish_quest_result];
  13168. if (has_packet_id()) {
  13169. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13170. 1, this->packet_id(), target);
  13171. }
  13172. // repeated .msg_info_def.msg_quest_info questList = 2;
  13173. for (int i = 0; i < this->questlist_size(); i++) {
  13174. target = ::google::protobuf::internal::WireFormatLite::
  13175. WriteMessageNoVirtualToArray(
  13176. 2, this->questlist(i), target);
  13177. }
  13178. if (!unknown_fields().empty()) {
  13179. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13180. unknown_fields(), target);
  13181. }
  13182. return target;
  13183. }
  13184. int packetw2c_get_hunt_fish_quest_result::ByteSize() const {
  13185. int total_size = 0;
  13186. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13187. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_hunt_fish_quest_result];
  13188. if (has_packet_id()) {
  13189. total_size += 1 +
  13190. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13191. }
  13192. }
  13193. // repeated .msg_info_def.msg_quest_info questList = 2;
  13194. total_size += 1 * this->questlist_size();
  13195. for (int i = 0; i < this->questlist_size(); i++) {
  13196. total_size +=
  13197. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  13198. this->questlist(i));
  13199. }
  13200. if (!unknown_fields().empty()) {
  13201. total_size +=
  13202. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13203. unknown_fields());
  13204. }
  13205. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13206. _cached_size_ = total_size;
  13207. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13208. return total_size;
  13209. }
  13210. void packetw2c_get_hunt_fish_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  13211. GOOGLE_CHECK_NE(&from, this);
  13212. const packetw2c_get_hunt_fish_quest_result* source =
  13213. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_hunt_fish_quest_result*>(
  13214. &from);
  13215. if (source == NULL) {
  13216. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13217. } else {
  13218. MergeFrom(*source);
  13219. }
  13220. }
  13221. void packetw2c_get_hunt_fish_quest_result::MergeFrom(const packetw2c_get_hunt_fish_quest_result& from) {
  13222. GOOGLE_CHECK_NE(&from, this);
  13223. questlist_.MergeFrom(from.questlist_);
  13224. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13225. if (from.has_packet_id()) {
  13226. set_packet_id(from.packet_id());
  13227. }
  13228. }
  13229. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13230. }
  13231. void packetw2c_get_hunt_fish_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  13232. if (&from == this) return;
  13233. Clear();
  13234. MergeFrom(from);
  13235. }
  13236. void packetw2c_get_hunt_fish_quest_result::CopyFrom(const packetw2c_get_hunt_fish_quest_result& from) {
  13237. if (&from == this) return;
  13238. Clear();
  13239. MergeFrom(from);
  13240. }
  13241. bool packetw2c_get_hunt_fish_quest_result::IsInitialized() const {
  13242. return true;
  13243. }
  13244. void packetw2c_get_hunt_fish_quest_result::Swap(packetw2c_get_hunt_fish_quest_result* other) {
  13245. if (other != this) {
  13246. std::swap(packet_id_, other->packet_id_);
  13247. questlist_.Swap(&other->questlist_);
  13248. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13249. _unknown_fields_.Swap(&other->_unknown_fields_);
  13250. std::swap(_cached_size_, other->_cached_size_);
  13251. }
  13252. }
  13253. ::google::protobuf::Metadata packetw2c_get_hunt_fish_quest_result::GetMetadata() const {
  13254. protobuf_AssignDescriptorsOnce();
  13255. ::google::protobuf::Metadata metadata;
  13256. metadata.descriptor = packetw2c_get_hunt_fish_quest_result_descriptor_;
  13257. metadata.reflection = packetw2c_get_hunt_fish_quest_result_reflection_;
  13258. return metadata;
  13259. }
  13260. // ===================================================================
  13261. #ifndef _MSC_VER
  13262. const int packetc2w_recv_hunt_fish_quest_award::kPacketIdFieldNumber;
  13263. const int packetc2w_recv_hunt_fish_quest_award::kQuestIdFieldNumber;
  13264. #endif // !_MSC_VER
  13265. packetc2w_recv_hunt_fish_quest_award::packetc2w_recv_hunt_fish_quest_award()
  13266. : ::google::protobuf::Message() {
  13267. SharedCtor();
  13268. }
  13269. void packetc2w_recv_hunt_fish_quest_award::InitAsDefaultInstance() {
  13270. }
  13271. packetc2w_recv_hunt_fish_quest_award::packetc2w_recv_hunt_fish_quest_award(const packetc2w_recv_hunt_fish_quest_award& from)
  13272. : ::google::protobuf::Message() {
  13273. SharedCtor();
  13274. MergeFrom(from);
  13275. }
  13276. void packetc2w_recv_hunt_fish_quest_award::SharedCtor() {
  13277. _cached_size_ = 0;
  13278. packet_id_ = 5170;
  13279. questid_ = 0;
  13280. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13281. }
  13282. packetc2w_recv_hunt_fish_quest_award::~packetc2w_recv_hunt_fish_quest_award() {
  13283. SharedDtor();
  13284. }
  13285. void packetc2w_recv_hunt_fish_quest_award::SharedDtor() {
  13286. if (this != default_instance_) {
  13287. }
  13288. }
  13289. void packetc2w_recv_hunt_fish_quest_award::SetCachedSize(int size) const {
  13290. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13291. _cached_size_ = size;
  13292. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13293. }
  13294. const ::google::protobuf::Descriptor* packetc2w_recv_hunt_fish_quest_award::descriptor() {
  13295. protobuf_AssignDescriptorsOnce();
  13296. return packetc2w_recv_hunt_fish_quest_award_descriptor_;
  13297. }
  13298. const packetc2w_recv_hunt_fish_quest_award& packetc2w_recv_hunt_fish_quest_award::default_instance() {
  13299. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  13300. return *default_instance_;
  13301. }
  13302. packetc2w_recv_hunt_fish_quest_award* packetc2w_recv_hunt_fish_quest_award::default_instance_ = NULL;
  13303. packetc2w_recv_hunt_fish_quest_award* packetc2w_recv_hunt_fish_quest_award::New() const {
  13304. return new packetc2w_recv_hunt_fish_quest_award;
  13305. }
  13306. void packetc2w_recv_hunt_fish_quest_award::Clear() {
  13307. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13308. packet_id_ = 5170;
  13309. questid_ = 0;
  13310. }
  13311. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13312. mutable_unknown_fields()->Clear();
  13313. }
  13314. bool packetc2w_recv_hunt_fish_quest_award::MergePartialFromCodedStream(
  13315. ::google::protobuf::io::CodedInputStream* input) {
  13316. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13317. ::google::protobuf::uint32 tag;
  13318. while ((tag = input->ReadTag()) != 0) {
  13319. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13320. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_hunt_fish_quest_award];
  13321. case 1: {
  13322. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13323. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13324. int value;
  13325. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13326. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13327. input, &value)));
  13328. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  13329. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  13330. } else {
  13331. mutable_unknown_fields()->AddVarint(1, value);
  13332. }
  13333. } else {
  13334. goto handle_uninterpreted;
  13335. }
  13336. if (input->ExpectTag(16)) goto parse_questId;
  13337. break;
  13338. }
  13339. // optional int32 questId = 2;
  13340. case 2: {
  13341. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13342. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13343. parse_questId:
  13344. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13345. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13346. input, &questid_)));
  13347. set_has_questid();
  13348. } else {
  13349. goto handle_uninterpreted;
  13350. }
  13351. if (input->ExpectAtEnd()) return true;
  13352. break;
  13353. }
  13354. default: {
  13355. handle_uninterpreted:
  13356. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13357. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13358. return true;
  13359. }
  13360. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13361. input, tag, mutable_unknown_fields()));
  13362. break;
  13363. }
  13364. }
  13365. }
  13366. return true;
  13367. #undef DO_
  13368. }
  13369. void packetc2w_recv_hunt_fish_quest_award::SerializeWithCachedSizes(
  13370. ::google::protobuf::io::CodedOutputStream* output) const {
  13371. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_hunt_fish_quest_award];
  13372. if (has_packet_id()) {
  13373. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13374. 1, this->packet_id(), output);
  13375. }
  13376. // optional int32 questId = 2;
  13377. if (has_questid()) {
  13378. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  13379. }
  13380. if (!unknown_fields().empty()) {
  13381. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13382. unknown_fields(), output);
  13383. }
  13384. }
  13385. ::google::protobuf::uint8* packetc2w_recv_hunt_fish_quest_award::SerializeWithCachedSizesToArray(
  13386. ::google::protobuf::uint8* target) const {
  13387. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_hunt_fish_quest_award];
  13388. if (has_packet_id()) {
  13389. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13390. 1, this->packet_id(), target);
  13391. }
  13392. // optional int32 questId = 2;
  13393. if (has_questid()) {
  13394. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  13395. }
  13396. if (!unknown_fields().empty()) {
  13397. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13398. unknown_fields(), target);
  13399. }
  13400. return target;
  13401. }
  13402. int packetc2w_recv_hunt_fish_quest_award::ByteSize() const {
  13403. int total_size = 0;
  13404. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13405. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_hunt_fish_quest_award];
  13406. if (has_packet_id()) {
  13407. total_size += 1 +
  13408. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13409. }
  13410. // optional int32 questId = 2;
  13411. if (has_questid()) {
  13412. total_size += 1 +
  13413. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13414. this->questid());
  13415. }
  13416. }
  13417. if (!unknown_fields().empty()) {
  13418. total_size +=
  13419. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13420. unknown_fields());
  13421. }
  13422. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13423. _cached_size_ = total_size;
  13424. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13425. return total_size;
  13426. }
  13427. void packetc2w_recv_hunt_fish_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  13428. GOOGLE_CHECK_NE(&from, this);
  13429. const packetc2w_recv_hunt_fish_quest_award* source =
  13430. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_hunt_fish_quest_award*>(
  13431. &from);
  13432. if (source == NULL) {
  13433. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13434. } else {
  13435. MergeFrom(*source);
  13436. }
  13437. }
  13438. void packetc2w_recv_hunt_fish_quest_award::MergeFrom(const packetc2w_recv_hunt_fish_quest_award& from) {
  13439. GOOGLE_CHECK_NE(&from, this);
  13440. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13441. if (from.has_packet_id()) {
  13442. set_packet_id(from.packet_id());
  13443. }
  13444. if (from.has_questid()) {
  13445. set_questid(from.questid());
  13446. }
  13447. }
  13448. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13449. }
  13450. void packetc2w_recv_hunt_fish_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  13451. if (&from == this) return;
  13452. Clear();
  13453. MergeFrom(from);
  13454. }
  13455. void packetc2w_recv_hunt_fish_quest_award::CopyFrom(const packetc2w_recv_hunt_fish_quest_award& from) {
  13456. if (&from == this) return;
  13457. Clear();
  13458. MergeFrom(from);
  13459. }
  13460. bool packetc2w_recv_hunt_fish_quest_award::IsInitialized() const {
  13461. return true;
  13462. }
  13463. void packetc2w_recv_hunt_fish_quest_award::Swap(packetc2w_recv_hunt_fish_quest_award* other) {
  13464. if (other != this) {
  13465. std::swap(packet_id_, other->packet_id_);
  13466. std::swap(questid_, other->questid_);
  13467. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13468. _unknown_fields_.Swap(&other->_unknown_fields_);
  13469. std::swap(_cached_size_, other->_cached_size_);
  13470. }
  13471. }
  13472. ::google::protobuf::Metadata packetc2w_recv_hunt_fish_quest_award::GetMetadata() const {
  13473. protobuf_AssignDescriptorsOnce();
  13474. ::google::protobuf::Metadata metadata;
  13475. metadata.descriptor = packetc2w_recv_hunt_fish_quest_award_descriptor_;
  13476. metadata.reflection = packetc2w_recv_hunt_fish_quest_award_reflection_;
  13477. return metadata;
  13478. }
  13479. // ===================================================================
  13480. #ifndef _MSC_VER
  13481. const int packetw2c_recv_hunt_fish_quest_award_result::kPacketIdFieldNumber;
  13482. const int packetw2c_recv_hunt_fish_quest_award_result::kResultFieldNumber;
  13483. const int packetw2c_recv_hunt_fish_quest_award_result::kQuestIdFieldNumber;
  13484. const int packetw2c_recv_hunt_fish_quest_award_result::kItemsFieldNumber;
  13485. #endif // !_MSC_VER
  13486. packetw2c_recv_hunt_fish_quest_award_result::packetw2c_recv_hunt_fish_quest_award_result()
  13487. : ::google::protobuf::Message() {
  13488. SharedCtor();
  13489. }
  13490. void packetw2c_recv_hunt_fish_quest_award_result::InitAsDefaultInstance() {
  13491. }
  13492. packetw2c_recv_hunt_fish_quest_award_result::packetw2c_recv_hunt_fish_quest_award_result(const packetw2c_recv_hunt_fish_quest_award_result& from)
  13493. : ::google::protobuf::Message() {
  13494. SharedCtor();
  13495. MergeFrom(from);
  13496. }
  13497. void packetw2c_recv_hunt_fish_quest_award_result::SharedCtor() {
  13498. _cached_size_ = 0;
  13499. packet_id_ = 7688;
  13500. result_ = 0;
  13501. questid_ = 0;
  13502. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13503. }
  13504. packetw2c_recv_hunt_fish_quest_award_result::~packetw2c_recv_hunt_fish_quest_award_result() {
  13505. SharedDtor();
  13506. }
  13507. void packetw2c_recv_hunt_fish_quest_award_result::SharedDtor() {
  13508. if (this != default_instance_) {
  13509. }
  13510. }
  13511. void packetw2c_recv_hunt_fish_quest_award_result::SetCachedSize(int size) const {
  13512. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13513. _cached_size_ = size;
  13514. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13515. }
  13516. const ::google::protobuf::Descriptor* packetw2c_recv_hunt_fish_quest_award_result::descriptor() {
  13517. protobuf_AssignDescriptorsOnce();
  13518. return packetw2c_recv_hunt_fish_quest_award_result_descriptor_;
  13519. }
  13520. const packetw2c_recv_hunt_fish_quest_award_result& packetw2c_recv_hunt_fish_quest_award_result::default_instance() {
  13521. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  13522. return *default_instance_;
  13523. }
  13524. packetw2c_recv_hunt_fish_quest_award_result* packetw2c_recv_hunt_fish_quest_award_result::default_instance_ = NULL;
  13525. packetw2c_recv_hunt_fish_quest_award_result* packetw2c_recv_hunt_fish_quest_award_result::New() const {
  13526. return new packetw2c_recv_hunt_fish_quest_award_result;
  13527. }
  13528. void packetw2c_recv_hunt_fish_quest_award_result::Clear() {
  13529. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13530. packet_id_ = 7688;
  13531. result_ = 0;
  13532. questid_ = 0;
  13533. }
  13534. items_.Clear();
  13535. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13536. mutable_unknown_fields()->Clear();
  13537. }
  13538. bool packetw2c_recv_hunt_fish_quest_award_result::MergePartialFromCodedStream(
  13539. ::google::protobuf::io::CodedInputStream* input) {
  13540. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13541. ::google::protobuf::uint32 tag;
  13542. while ((tag = input->ReadTag()) != 0) {
  13543. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13544. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_hunt_fish_quest_award_result];
  13545. case 1: {
  13546. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13547. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13548. int value;
  13549. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13550. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13551. input, &value)));
  13552. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  13553. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  13554. } else {
  13555. mutable_unknown_fields()->AddVarint(1, value);
  13556. }
  13557. } else {
  13558. goto handle_uninterpreted;
  13559. }
  13560. if (input->ExpectTag(16)) goto parse_result;
  13561. break;
  13562. }
  13563. // optional int32 result = 2;
  13564. case 2: {
  13565. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13566. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13567. parse_result:
  13568. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13569. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13570. input, &result_)));
  13571. set_has_result();
  13572. } else {
  13573. goto handle_uninterpreted;
  13574. }
  13575. if (input->ExpectTag(24)) goto parse_questId;
  13576. break;
  13577. }
  13578. // optional int32 questId = 3;
  13579. case 3: {
  13580. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13581. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13582. parse_questId:
  13583. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13584. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13585. input, &questid_)));
  13586. set_has_questid();
  13587. } else {
  13588. goto handle_uninterpreted;
  13589. }
  13590. if (input->ExpectTag(50)) goto parse_items;
  13591. break;
  13592. }
  13593. // repeated .msg_info_def.ItemInfo items = 6;
  13594. case 6: {
  13595. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13596. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  13597. parse_items:
  13598. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  13599. input, add_items()));
  13600. } else {
  13601. goto handle_uninterpreted;
  13602. }
  13603. if (input->ExpectTag(50)) goto parse_items;
  13604. if (input->ExpectAtEnd()) return true;
  13605. break;
  13606. }
  13607. default: {
  13608. handle_uninterpreted:
  13609. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13610. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13611. return true;
  13612. }
  13613. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13614. input, tag, mutable_unknown_fields()));
  13615. break;
  13616. }
  13617. }
  13618. }
  13619. return true;
  13620. #undef DO_
  13621. }
  13622. void packetw2c_recv_hunt_fish_quest_award_result::SerializeWithCachedSizes(
  13623. ::google::protobuf::io::CodedOutputStream* output) const {
  13624. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_hunt_fish_quest_award_result];
  13625. if (has_packet_id()) {
  13626. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13627. 1, this->packet_id(), output);
  13628. }
  13629. // optional int32 result = 2;
  13630. if (has_result()) {
  13631. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  13632. }
  13633. // optional int32 questId = 3;
  13634. if (has_questid()) {
  13635. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  13636. }
  13637. // repeated .msg_info_def.ItemInfo items = 6;
  13638. for (int i = 0; i < this->items_size(); i++) {
  13639. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  13640. 6, this->items(i), output);
  13641. }
  13642. if (!unknown_fields().empty()) {
  13643. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13644. unknown_fields(), output);
  13645. }
  13646. }
  13647. ::google::protobuf::uint8* packetw2c_recv_hunt_fish_quest_award_result::SerializeWithCachedSizesToArray(
  13648. ::google::protobuf::uint8* target) const {
  13649. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_hunt_fish_quest_award_result];
  13650. if (has_packet_id()) {
  13651. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13652. 1, this->packet_id(), target);
  13653. }
  13654. // optional int32 result = 2;
  13655. if (has_result()) {
  13656. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  13657. }
  13658. // optional int32 questId = 3;
  13659. if (has_questid()) {
  13660. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  13661. }
  13662. // repeated .msg_info_def.ItemInfo items = 6;
  13663. for (int i = 0; i < this->items_size(); i++) {
  13664. target = ::google::protobuf::internal::WireFormatLite::
  13665. WriteMessageNoVirtualToArray(
  13666. 6, this->items(i), target);
  13667. }
  13668. if (!unknown_fields().empty()) {
  13669. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13670. unknown_fields(), target);
  13671. }
  13672. return target;
  13673. }
  13674. int packetw2c_recv_hunt_fish_quest_award_result::ByteSize() const {
  13675. int total_size = 0;
  13676. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13677. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_hunt_fish_quest_award_result];
  13678. if (has_packet_id()) {
  13679. total_size += 1 +
  13680. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13681. }
  13682. // optional int32 result = 2;
  13683. if (has_result()) {
  13684. total_size += 1 +
  13685. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13686. this->result());
  13687. }
  13688. // optional int32 questId = 3;
  13689. if (has_questid()) {
  13690. total_size += 1 +
  13691. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13692. this->questid());
  13693. }
  13694. }
  13695. // repeated .msg_info_def.ItemInfo items = 6;
  13696. total_size += 1 * this->items_size();
  13697. for (int i = 0; i < this->items_size(); i++) {
  13698. total_size +=
  13699. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  13700. this->items(i));
  13701. }
  13702. if (!unknown_fields().empty()) {
  13703. total_size +=
  13704. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13705. unknown_fields());
  13706. }
  13707. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13708. _cached_size_ = total_size;
  13709. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13710. return total_size;
  13711. }
  13712. void packetw2c_recv_hunt_fish_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  13713. GOOGLE_CHECK_NE(&from, this);
  13714. const packetw2c_recv_hunt_fish_quest_award_result* source =
  13715. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_hunt_fish_quest_award_result*>(
  13716. &from);
  13717. if (source == NULL) {
  13718. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13719. } else {
  13720. MergeFrom(*source);
  13721. }
  13722. }
  13723. void packetw2c_recv_hunt_fish_quest_award_result::MergeFrom(const packetw2c_recv_hunt_fish_quest_award_result& from) {
  13724. GOOGLE_CHECK_NE(&from, this);
  13725. items_.MergeFrom(from.items_);
  13726. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13727. if (from.has_packet_id()) {
  13728. set_packet_id(from.packet_id());
  13729. }
  13730. if (from.has_result()) {
  13731. set_result(from.result());
  13732. }
  13733. if (from.has_questid()) {
  13734. set_questid(from.questid());
  13735. }
  13736. }
  13737. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13738. }
  13739. void packetw2c_recv_hunt_fish_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  13740. if (&from == this) return;
  13741. Clear();
  13742. MergeFrom(from);
  13743. }
  13744. void packetw2c_recv_hunt_fish_quest_award_result::CopyFrom(const packetw2c_recv_hunt_fish_quest_award_result& from) {
  13745. if (&from == this) return;
  13746. Clear();
  13747. MergeFrom(from);
  13748. }
  13749. bool packetw2c_recv_hunt_fish_quest_award_result::IsInitialized() const {
  13750. return true;
  13751. }
  13752. void packetw2c_recv_hunt_fish_quest_award_result::Swap(packetw2c_recv_hunt_fish_quest_award_result* other) {
  13753. if (other != this) {
  13754. std::swap(packet_id_, other->packet_id_);
  13755. std::swap(result_, other->result_);
  13756. std::swap(questid_, other->questid_);
  13757. items_.Swap(&other->items_);
  13758. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13759. _unknown_fields_.Swap(&other->_unknown_fields_);
  13760. std::swap(_cached_size_, other->_cached_size_);
  13761. }
  13762. }
  13763. ::google::protobuf::Metadata packetw2c_recv_hunt_fish_quest_award_result::GetMetadata() const {
  13764. protobuf_AssignDescriptorsOnce();
  13765. ::google::protobuf::Metadata metadata;
  13766. metadata.descriptor = packetw2c_recv_hunt_fish_quest_award_result_descriptor_;
  13767. metadata.reflection = packetw2c_recv_hunt_fish_quest_award_result_reflection_;
  13768. return metadata;
  13769. }
  13770. // ===================================================================
  13771. #ifndef _MSC_VER
  13772. const int packetw2c_syn_recharge_activity_info::kPacketIdFieldNumber;
  13773. const int packetw2c_syn_recharge_activity_info::kActivityStateFieldNumber;
  13774. const int packetw2c_syn_recharge_activity_info::kStartTimeFieldNumber;
  13775. const int packetw2c_syn_recharge_activity_info::kEndTimeFieldNumber;
  13776. const int packetw2c_syn_recharge_activity_info::kTotalRechargeFieldNumber;
  13777. const int packetw2c_syn_recharge_activity_info::kRewardRecvListFieldNumber;
  13778. #endif // !_MSC_VER
  13779. packetw2c_syn_recharge_activity_info::packetw2c_syn_recharge_activity_info()
  13780. : ::google::protobuf::Message() {
  13781. SharedCtor();
  13782. }
  13783. void packetw2c_syn_recharge_activity_info::InitAsDefaultInstance() {
  13784. }
  13785. packetw2c_syn_recharge_activity_info::packetw2c_syn_recharge_activity_info(const packetw2c_syn_recharge_activity_info& from)
  13786. : ::google::protobuf::Message() {
  13787. SharedCtor();
  13788. MergeFrom(from);
  13789. }
  13790. void packetw2c_syn_recharge_activity_info::SharedCtor() {
  13791. _cached_size_ = 0;
  13792. packet_id_ = 7692;
  13793. activitystate_ = 0;
  13794. starttime_ = 0;
  13795. endtime_ = 0;
  13796. totalrecharge_ = 0;
  13797. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13798. }
  13799. packetw2c_syn_recharge_activity_info::~packetw2c_syn_recharge_activity_info() {
  13800. SharedDtor();
  13801. }
  13802. void packetw2c_syn_recharge_activity_info::SharedDtor() {
  13803. if (this != default_instance_) {
  13804. }
  13805. }
  13806. void packetw2c_syn_recharge_activity_info::SetCachedSize(int size) const {
  13807. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13808. _cached_size_ = size;
  13809. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13810. }
  13811. const ::google::protobuf::Descriptor* packetw2c_syn_recharge_activity_info::descriptor() {
  13812. protobuf_AssignDescriptorsOnce();
  13813. return packetw2c_syn_recharge_activity_info_descriptor_;
  13814. }
  13815. const packetw2c_syn_recharge_activity_info& packetw2c_syn_recharge_activity_info::default_instance() {
  13816. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  13817. return *default_instance_;
  13818. }
  13819. packetw2c_syn_recharge_activity_info* packetw2c_syn_recharge_activity_info::default_instance_ = NULL;
  13820. packetw2c_syn_recharge_activity_info* packetw2c_syn_recharge_activity_info::New() const {
  13821. return new packetw2c_syn_recharge_activity_info;
  13822. }
  13823. void packetw2c_syn_recharge_activity_info::Clear() {
  13824. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13825. packet_id_ = 7692;
  13826. activitystate_ = 0;
  13827. starttime_ = 0;
  13828. endtime_ = 0;
  13829. totalrecharge_ = 0;
  13830. }
  13831. rewardrecvlist_.Clear();
  13832. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13833. mutable_unknown_fields()->Clear();
  13834. }
  13835. bool packetw2c_syn_recharge_activity_info::MergePartialFromCodedStream(
  13836. ::google::protobuf::io::CodedInputStream* input) {
  13837. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13838. ::google::protobuf::uint32 tag;
  13839. while ((tag = input->ReadTag()) != 0) {
  13840. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13841. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_recharge_activity_info];
  13842. case 1: {
  13843. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13844. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13845. int value;
  13846. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13847. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13848. input, &value)));
  13849. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  13850. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  13851. } else {
  13852. mutable_unknown_fields()->AddVarint(1, value);
  13853. }
  13854. } else {
  13855. goto handle_uninterpreted;
  13856. }
  13857. if (input->ExpectTag(16)) goto parse_activityState;
  13858. break;
  13859. }
  13860. // optional int32 activityState = 2;
  13861. case 2: {
  13862. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13863. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13864. parse_activityState:
  13865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13866. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13867. input, &activitystate_)));
  13868. set_has_activitystate();
  13869. } else {
  13870. goto handle_uninterpreted;
  13871. }
  13872. if (input->ExpectTag(24)) goto parse_startTime;
  13873. break;
  13874. }
  13875. // optional int32 startTime = 3;
  13876. case 3: {
  13877. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13878. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13879. parse_startTime:
  13880. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13881. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13882. input, &starttime_)));
  13883. set_has_starttime();
  13884. } else {
  13885. goto handle_uninterpreted;
  13886. }
  13887. if (input->ExpectTag(32)) goto parse_endTime;
  13888. break;
  13889. }
  13890. // optional int32 endTime = 4;
  13891. case 4: {
  13892. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13893. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13894. parse_endTime:
  13895. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13896. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13897. input, &endtime_)));
  13898. set_has_endtime();
  13899. } else {
  13900. goto handle_uninterpreted;
  13901. }
  13902. if (input->ExpectTag(40)) goto parse_totalRecharge;
  13903. break;
  13904. }
  13905. // optional int32 totalRecharge = 5;
  13906. case 5: {
  13907. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13908. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13909. parse_totalRecharge:
  13910. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13911. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13912. input, &totalrecharge_)));
  13913. set_has_totalrecharge();
  13914. } else {
  13915. goto handle_uninterpreted;
  13916. }
  13917. if (input->ExpectTag(48)) goto parse_rewardRecvList;
  13918. break;
  13919. }
  13920. // repeated int32 rewardRecvList = 6;
  13921. case 6: {
  13922. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13923. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13924. parse_rewardRecvList:
  13925. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  13926. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13927. 1, 48, input, this->mutable_rewardrecvlist())));
  13928. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  13929. == ::google::protobuf::internal::WireFormatLite::
  13930. WIRETYPE_LENGTH_DELIMITED) {
  13931. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  13932. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13933. input, this->mutable_rewardrecvlist())));
  13934. } else {
  13935. goto handle_uninterpreted;
  13936. }
  13937. if (input->ExpectTag(48)) goto parse_rewardRecvList;
  13938. if (input->ExpectAtEnd()) return true;
  13939. break;
  13940. }
  13941. default: {
  13942. handle_uninterpreted:
  13943. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13944. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13945. return true;
  13946. }
  13947. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13948. input, tag, mutable_unknown_fields()));
  13949. break;
  13950. }
  13951. }
  13952. }
  13953. return true;
  13954. #undef DO_
  13955. }
  13956. void packetw2c_syn_recharge_activity_info::SerializeWithCachedSizes(
  13957. ::google::protobuf::io::CodedOutputStream* output) const {
  13958. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_recharge_activity_info];
  13959. if (has_packet_id()) {
  13960. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13961. 1, this->packet_id(), output);
  13962. }
  13963. // optional int32 activityState = 2;
  13964. if (has_activitystate()) {
  13965. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  13966. }
  13967. // optional int32 startTime = 3;
  13968. if (has_starttime()) {
  13969. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  13970. }
  13971. // optional int32 endTime = 4;
  13972. if (has_endtime()) {
  13973. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  13974. }
  13975. // optional int32 totalRecharge = 5;
  13976. if (has_totalrecharge()) {
  13977. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->totalrecharge(), output);
  13978. }
  13979. // repeated int32 rewardRecvList = 6;
  13980. for (int i = 0; i < this->rewardrecvlist_size(); i++) {
  13981. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  13982. 6, this->rewardrecvlist(i), output);
  13983. }
  13984. if (!unknown_fields().empty()) {
  13985. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13986. unknown_fields(), output);
  13987. }
  13988. }
  13989. ::google::protobuf::uint8* packetw2c_syn_recharge_activity_info::SerializeWithCachedSizesToArray(
  13990. ::google::protobuf::uint8* target) const {
  13991. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_recharge_activity_info];
  13992. if (has_packet_id()) {
  13993. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13994. 1, this->packet_id(), target);
  13995. }
  13996. // optional int32 activityState = 2;
  13997. if (has_activitystate()) {
  13998. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  13999. }
  14000. // optional int32 startTime = 3;
  14001. if (has_starttime()) {
  14002. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  14003. }
  14004. // optional int32 endTime = 4;
  14005. if (has_endtime()) {
  14006. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  14007. }
  14008. // optional int32 totalRecharge = 5;
  14009. if (has_totalrecharge()) {
  14010. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->totalrecharge(), target);
  14011. }
  14012. // repeated int32 rewardRecvList = 6;
  14013. for (int i = 0; i < this->rewardrecvlist_size(); i++) {
  14014. target = ::google::protobuf::internal::WireFormatLite::
  14015. WriteInt32ToArray(6, this->rewardrecvlist(i), target);
  14016. }
  14017. if (!unknown_fields().empty()) {
  14018. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14019. unknown_fields(), target);
  14020. }
  14021. return target;
  14022. }
  14023. int packetw2c_syn_recharge_activity_info::ByteSize() const {
  14024. int total_size = 0;
  14025. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14026. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_recharge_activity_info];
  14027. if (has_packet_id()) {
  14028. total_size += 1 +
  14029. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14030. }
  14031. // optional int32 activityState = 2;
  14032. if (has_activitystate()) {
  14033. total_size += 1 +
  14034. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14035. this->activitystate());
  14036. }
  14037. // optional int32 startTime = 3;
  14038. if (has_starttime()) {
  14039. total_size += 1 +
  14040. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14041. this->starttime());
  14042. }
  14043. // optional int32 endTime = 4;
  14044. if (has_endtime()) {
  14045. total_size += 1 +
  14046. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14047. this->endtime());
  14048. }
  14049. // optional int32 totalRecharge = 5;
  14050. if (has_totalrecharge()) {
  14051. total_size += 1 +
  14052. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14053. this->totalrecharge());
  14054. }
  14055. }
  14056. // repeated int32 rewardRecvList = 6;
  14057. {
  14058. int data_size = 0;
  14059. for (int i = 0; i < this->rewardrecvlist_size(); i++) {
  14060. data_size += ::google::protobuf::internal::WireFormatLite::
  14061. Int32Size(this->rewardrecvlist(i));
  14062. }
  14063. total_size += 1 * this->rewardrecvlist_size() + data_size;
  14064. }
  14065. if (!unknown_fields().empty()) {
  14066. total_size +=
  14067. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14068. unknown_fields());
  14069. }
  14070. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14071. _cached_size_ = total_size;
  14072. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14073. return total_size;
  14074. }
  14075. void packetw2c_syn_recharge_activity_info::MergeFrom(const ::google::protobuf::Message& from) {
  14076. GOOGLE_CHECK_NE(&from, this);
  14077. const packetw2c_syn_recharge_activity_info* source =
  14078. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_recharge_activity_info*>(
  14079. &from);
  14080. if (source == NULL) {
  14081. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14082. } else {
  14083. MergeFrom(*source);
  14084. }
  14085. }
  14086. void packetw2c_syn_recharge_activity_info::MergeFrom(const packetw2c_syn_recharge_activity_info& from) {
  14087. GOOGLE_CHECK_NE(&from, this);
  14088. rewardrecvlist_.MergeFrom(from.rewardrecvlist_);
  14089. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14090. if (from.has_packet_id()) {
  14091. set_packet_id(from.packet_id());
  14092. }
  14093. if (from.has_activitystate()) {
  14094. set_activitystate(from.activitystate());
  14095. }
  14096. if (from.has_starttime()) {
  14097. set_starttime(from.starttime());
  14098. }
  14099. if (from.has_endtime()) {
  14100. set_endtime(from.endtime());
  14101. }
  14102. if (from.has_totalrecharge()) {
  14103. set_totalrecharge(from.totalrecharge());
  14104. }
  14105. }
  14106. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14107. }
  14108. void packetw2c_syn_recharge_activity_info::CopyFrom(const ::google::protobuf::Message& from) {
  14109. if (&from == this) return;
  14110. Clear();
  14111. MergeFrom(from);
  14112. }
  14113. void packetw2c_syn_recharge_activity_info::CopyFrom(const packetw2c_syn_recharge_activity_info& from) {
  14114. if (&from == this) return;
  14115. Clear();
  14116. MergeFrom(from);
  14117. }
  14118. bool packetw2c_syn_recharge_activity_info::IsInitialized() const {
  14119. return true;
  14120. }
  14121. void packetw2c_syn_recharge_activity_info::Swap(packetw2c_syn_recharge_activity_info* other) {
  14122. if (other != this) {
  14123. std::swap(packet_id_, other->packet_id_);
  14124. std::swap(activitystate_, other->activitystate_);
  14125. std::swap(starttime_, other->starttime_);
  14126. std::swap(endtime_, other->endtime_);
  14127. std::swap(totalrecharge_, other->totalrecharge_);
  14128. rewardrecvlist_.Swap(&other->rewardrecvlist_);
  14129. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14130. _unknown_fields_.Swap(&other->_unknown_fields_);
  14131. std::swap(_cached_size_, other->_cached_size_);
  14132. }
  14133. }
  14134. ::google::protobuf::Metadata packetw2c_syn_recharge_activity_info::GetMetadata() const {
  14135. protobuf_AssignDescriptorsOnce();
  14136. ::google::protobuf::Metadata metadata;
  14137. metadata.descriptor = packetw2c_syn_recharge_activity_info_descriptor_;
  14138. metadata.reflection = packetw2c_syn_recharge_activity_info_reflection_;
  14139. return metadata;
  14140. }
  14141. // ===================================================================
  14142. #ifndef _MSC_VER
  14143. const int packetc2w_recharge_activity_rebate::kPacketIdFieldNumber;
  14144. const int packetc2w_recharge_activity_rebate::kRewardIdFieldNumber;
  14145. #endif // !_MSC_VER
  14146. packetc2w_recharge_activity_rebate::packetc2w_recharge_activity_rebate()
  14147. : ::google::protobuf::Message() {
  14148. SharedCtor();
  14149. }
  14150. void packetc2w_recharge_activity_rebate::InitAsDefaultInstance() {
  14151. }
  14152. packetc2w_recharge_activity_rebate::packetc2w_recharge_activity_rebate(const packetc2w_recharge_activity_rebate& from)
  14153. : ::google::protobuf::Message() {
  14154. SharedCtor();
  14155. MergeFrom(from);
  14156. }
  14157. void packetc2w_recharge_activity_rebate::SharedCtor() {
  14158. _cached_size_ = 0;
  14159. packet_id_ = 5173;
  14160. rewardid_ = 0;
  14161. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14162. }
  14163. packetc2w_recharge_activity_rebate::~packetc2w_recharge_activity_rebate() {
  14164. SharedDtor();
  14165. }
  14166. void packetc2w_recharge_activity_rebate::SharedDtor() {
  14167. if (this != default_instance_) {
  14168. }
  14169. }
  14170. void packetc2w_recharge_activity_rebate::SetCachedSize(int size) const {
  14171. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14172. _cached_size_ = size;
  14173. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14174. }
  14175. const ::google::protobuf::Descriptor* packetc2w_recharge_activity_rebate::descriptor() {
  14176. protobuf_AssignDescriptorsOnce();
  14177. return packetc2w_recharge_activity_rebate_descriptor_;
  14178. }
  14179. const packetc2w_recharge_activity_rebate& packetc2w_recharge_activity_rebate::default_instance() {
  14180. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  14181. return *default_instance_;
  14182. }
  14183. packetc2w_recharge_activity_rebate* packetc2w_recharge_activity_rebate::default_instance_ = NULL;
  14184. packetc2w_recharge_activity_rebate* packetc2w_recharge_activity_rebate::New() const {
  14185. return new packetc2w_recharge_activity_rebate;
  14186. }
  14187. void packetc2w_recharge_activity_rebate::Clear() {
  14188. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14189. packet_id_ = 5173;
  14190. rewardid_ = 0;
  14191. }
  14192. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14193. mutable_unknown_fields()->Clear();
  14194. }
  14195. bool packetc2w_recharge_activity_rebate::MergePartialFromCodedStream(
  14196. ::google::protobuf::io::CodedInputStream* input) {
  14197. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14198. ::google::protobuf::uint32 tag;
  14199. while ((tag = input->ReadTag()) != 0) {
  14200. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14201. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recharge_activity_rebate];
  14202. case 1: {
  14203. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14204. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14205. int value;
  14206. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14207. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14208. input, &value)));
  14209. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  14210. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  14211. } else {
  14212. mutable_unknown_fields()->AddVarint(1, value);
  14213. }
  14214. } else {
  14215. goto handle_uninterpreted;
  14216. }
  14217. if (input->ExpectTag(16)) goto parse_rewardId;
  14218. break;
  14219. }
  14220. // optional int32 rewardId = 2;
  14221. case 2: {
  14222. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14223. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14224. parse_rewardId:
  14225. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14226. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14227. input, &rewardid_)));
  14228. set_has_rewardid();
  14229. } else {
  14230. goto handle_uninterpreted;
  14231. }
  14232. if (input->ExpectAtEnd()) return true;
  14233. break;
  14234. }
  14235. default: {
  14236. handle_uninterpreted:
  14237. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14238. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14239. return true;
  14240. }
  14241. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14242. input, tag, mutable_unknown_fields()));
  14243. break;
  14244. }
  14245. }
  14246. }
  14247. return true;
  14248. #undef DO_
  14249. }
  14250. void packetc2w_recharge_activity_rebate::SerializeWithCachedSizes(
  14251. ::google::protobuf::io::CodedOutputStream* output) const {
  14252. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recharge_activity_rebate];
  14253. if (has_packet_id()) {
  14254. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14255. 1, this->packet_id(), output);
  14256. }
  14257. // optional int32 rewardId = 2;
  14258. if (has_rewardid()) {
  14259. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rewardid(), output);
  14260. }
  14261. if (!unknown_fields().empty()) {
  14262. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14263. unknown_fields(), output);
  14264. }
  14265. }
  14266. ::google::protobuf::uint8* packetc2w_recharge_activity_rebate::SerializeWithCachedSizesToArray(
  14267. ::google::protobuf::uint8* target) const {
  14268. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recharge_activity_rebate];
  14269. if (has_packet_id()) {
  14270. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14271. 1, this->packet_id(), target);
  14272. }
  14273. // optional int32 rewardId = 2;
  14274. if (has_rewardid()) {
  14275. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rewardid(), target);
  14276. }
  14277. if (!unknown_fields().empty()) {
  14278. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14279. unknown_fields(), target);
  14280. }
  14281. return target;
  14282. }
  14283. int packetc2w_recharge_activity_rebate::ByteSize() const {
  14284. int total_size = 0;
  14285. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14286. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recharge_activity_rebate];
  14287. if (has_packet_id()) {
  14288. total_size += 1 +
  14289. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14290. }
  14291. // optional int32 rewardId = 2;
  14292. if (has_rewardid()) {
  14293. total_size += 1 +
  14294. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14295. this->rewardid());
  14296. }
  14297. }
  14298. if (!unknown_fields().empty()) {
  14299. total_size +=
  14300. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14301. unknown_fields());
  14302. }
  14303. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14304. _cached_size_ = total_size;
  14305. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14306. return total_size;
  14307. }
  14308. void packetc2w_recharge_activity_rebate::MergeFrom(const ::google::protobuf::Message& from) {
  14309. GOOGLE_CHECK_NE(&from, this);
  14310. const packetc2w_recharge_activity_rebate* source =
  14311. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recharge_activity_rebate*>(
  14312. &from);
  14313. if (source == NULL) {
  14314. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14315. } else {
  14316. MergeFrom(*source);
  14317. }
  14318. }
  14319. void packetc2w_recharge_activity_rebate::MergeFrom(const packetc2w_recharge_activity_rebate& from) {
  14320. GOOGLE_CHECK_NE(&from, this);
  14321. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14322. if (from.has_packet_id()) {
  14323. set_packet_id(from.packet_id());
  14324. }
  14325. if (from.has_rewardid()) {
  14326. set_rewardid(from.rewardid());
  14327. }
  14328. }
  14329. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14330. }
  14331. void packetc2w_recharge_activity_rebate::CopyFrom(const ::google::protobuf::Message& from) {
  14332. if (&from == this) return;
  14333. Clear();
  14334. MergeFrom(from);
  14335. }
  14336. void packetc2w_recharge_activity_rebate::CopyFrom(const packetc2w_recharge_activity_rebate& from) {
  14337. if (&from == this) return;
  14338. Clear();
  14339. MergeFrom(from);
  14340. }
  14341. bool packetc2w_recharge_activity_rebate::IsInitialized() const {
  14342. return true;
  14343. }
  14344. void packetc2w_recharge_activity_rebate::Swap(packetc2w_recharge_activity_rebate* other) {
  14345. if (other != this) {
  14346. std::swap(packet_id_, other->packet_id_);
  14347. std::swap(rewardid_, other->rewardid_);
  14348. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14349. _unknown_fields_.Swap(&other->_unknown_fields_);
  14350. std::swap(_cached_size_, other->_cached_size_);
  14351. }
  14352. }
  14353. ::google::protobuf::Metadata packetc2w_recharge_activity_rebate::GetMetadata() const {
  14354. protobuf_AssignDescriptorsOnce();
  14355. ::google::protobuf::Metadata metadata;
  14356. metadata.descriptor = packetc2w_recharge_activity_rebate_descriptor_;
  14357. metadata.reflection = packetc2w_recharge_activity_rebate_reflection_;
  14358. return metadata;
  14359. }
  14360. // ===================================================================
  14361. #ifndef _MSC_VER
  14362. const int packetw2c_recharge_activity_rebate_result::kPacketIdFieldNumber;
  14363. const int packetw2c_recharge_activity_rebate_result::kResultFieldNumber;
  14364. const int packetw2c_recharge_activity_rebate_result::kRewardIdFieldNumber;
  14365. #endif // !_MSC_VER
  14366. packetw2c_recharge_activity_rebate_result::packetw2c_recharge_activity_rebate_result()
  14367. : ::google::protobuf::Message() {
  14368. SharedCtor();
  14369. }
  14370. void packetw2c_recharge_activity_rebate_result::InitAsDefaultInstance() {
  14371. }
  14372. packetw2c_recharge_activity_rebate_result::packetw2c_recharge_activity_rebate_result(const packetw2c_recharge_activity_rebate_result& from)
  14373. : ::google::protobuf::Message() {
  14374. SharedCtor();
  14375. MergeFrom(from);
  14376. }
  14377. void packetw2c_recharge_activity_rebate_result::SharedCtor() {
  14378. _cached_size_ = 0;
  14379. packet_id_ = 7691;
  14380. result_ = 0;
  14381. rewardid_ = 0;
  14382. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14383. }
  14384. packetw2c_recharge_activity_rebate_result::~packetw2c_recharge_activity_rebate_result() {
  14385. SharedDtor();
  14386. }
  14387. void packetw2c_recharge_activity_rebate_result::SharedDtor() {
  14388. if (this != default_instance_) {
  14389. }
  14390. }
  14391. void packetw2c_recharge_activity_rebate_result::SetCachedSize(int size) const {
  14392. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14393. _cached_size_ = size;
  14394. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14395. }
  14396. const ::google::protobuf::Descriptor* packetw2c_recharge_activity_rebate_result::descriptor() {
  14397. protobuf_AssignDescriptorsOnce();
  14398. return packetw2c_recharge_activity_rebate_result_descriptor_;
  14399. }
  14400. const packetw2c_recharge_activity_rebate_result& packetw2c_recharge_activity_rebate_result::default_instance() {
  14401. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  14402. return *default_instance_;
  14403. }
  14404. packetw2c_recharge_activity_rebate_result* packetw2c_recharge_activity_rebate_result::default_instance_ = NULL;
  14405. packetw2c_recharge_activity_rebate_result* packetw2c_recharge_activity_rebate_result::New() const {
  14406. return new packetw2c_recharge_activity_rebate_result;
  14407. }
  14408. void packetw2c_recharge_activity_rebate_result::Clear() {
  14409. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14410. packet_id_ = 7691;
  14411. result_ = 0;
  14412. rewardid_ = 0;
  14413. }
  14414. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14415. mutable_unknown_fields()->Clear();
  14416. }
  14417. bool packetw2c_recharge_activity_rebate_result::MergePartialFromCodedStream(
  14418. ::google::protobuf::io::CodedInputStream* input) {
  14419. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14420. ::google::protobuf::uint32 tag;
  14421. while ((tag = input->ReadTag()) != 0) {
  14422. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14423. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recharge_activity_rebate_result];
  14424. case 1: {
  14425. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14426. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14427. int value;
  14428. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14429. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14430. input, &value)));
  14431. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  14432. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  14433. } else {
  14434. mutable_unknown_fields()->AddVarint(1, value);
  14435. }
  14436. } else {
  14437. goto handle_uninterpreted;
  14438. }
  14439. if (input->ExpectTag(16)) goto parse_result;
  14440. break;
  14441. }
  14442. // optional int32 result = 2;
  14443. case 2: {
  14444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14446. parse_result:
  14447. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14448. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14449. input, &result_)));
  14450. set_has_result();
  14451. } else {
  14452. goto handle_uninterpreted;
  14453. }
  14454. if (input->ExpectTag(24)) goto parse_rewardId;
  14455. break;
  14456. }
  14457. // optional int32 rewardId = 3;
  14458. case 3: {
  14459. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14460. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14461. parse_rewardId:
  14462. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14463. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14464. input, &rewardid_)));
  14465. set_has_rewardid();
  14466. } else {
  14467. goto handle_uninterpreted;
  14468. }
  14469. if (input->ExpectAtEnd()) return true;
  14470. break;
  14471. }
  14472. default: {
  14473. handle_uninterpreted:
  14474. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14475. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14476. return true;
  14477. }
  14478. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14479. input, tag, mutable_unknown_fields()));
  14480. break;
  14481. }
  14482. }
  14483. }
  14484. return true;
  14485. #undef DO_
  14486. }
  14487. void packetw2c_recharge_activity_rebate_result::SerializeWithCachedSizes(
  14488. ::google::protobuf::io::CodedOutputStream* output) const {
  14489. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recharge_activity_rebate_result];
  14490. if (has_packet_id()) {
  14491. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14492. 1, this->packet_id(), output);
  14493. }
  14494. // optional int32 result = 2;
  14495. if (has_result()) {
  14496. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  14497. }
  14498. // optional int32 rewardId = 3;
  14499. if (has_rewardid()) {
  14500. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardid(), output);
  14501. }
  14502. if (!unknown_fields().empty()) {
  14503. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14504. unknown_fields(), output);
  14505. }
  14506. }
  14507. ::google::protobuf::uint8* packetw2c_recharge_activity_rebate_result::SerializeWithCachedSizesToArray(
  14508. ::google::protobuf::uint8* target) const {
  14509. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recharge_activity_rebate_result];
  14510. if (has_packet_id()) {
  14511. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14512. 1, this->packet_id(), target);
  14513. }
  14514. // optional int32 result = 2;
  14515. if (has_result()) {
  14516. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  14517. }
  14518. // optional int32 rewardId = 3;
  14519. if (has_rewardid()) {
  14520. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardid(), target);
  14521. }
  14522. if (!unknown_fields().empty()) {
  14523. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14524. unknown_fields(), target);
  14525. }
  14526. return target;
  14527. }
  14528. int packetw2c_recharge_activity_rebate_result::ByteSize() const {
  14529. int total_size = 0;
  14530. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14531. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recharge_activity_rebate_result];
  14532. if (has_packet_id()) {
  14533. total_size += 1 +
  14534. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14535. }
  14536. // optional int32 result = 2;
  14537. if (has_result()) {
  14538. total_size += 1 +
  14539. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14540. this->result());
  14541. }
  14542. // optional int32 rewardId = 3;
  14543. if (has_rewardid()) {
  14544. total_size += 1 +
  14545. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14546. this->rewardid());
  14547. }
  14548. }
  14549. if (!unknown_fields().empty()) {
  14550. total_size +=
  14551. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14552. unknown_fields());
  14553. }
  14554. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14555. _cached_size_ = total_size;
  14556. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14557. return total_size;
  14558. }
  14559. void packetw2c_recharge_activity_rebate_result::MergeFrom(const ::google::protobuf::Message& from) {
  14560. GOOGLE_CHECK_NE(&from, this);
  14561. const packetw2c_recharge_activity_rebate_result* source =
  14562. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recharge_activity_rebate_result*>(
  14563. &from);
  14564. if (source == NULL) {
  14565. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14566. } else {
  14567. MergeFrom(*source);
  14568. }
  14569. }
  14570. void packetw2c_recharge_activity_rebate_result::MergeFrom(const packetw2c_recharge_activity_rebate_result& from) {
  14571. GOOGLE_CHECK_NE(&from, this);
  14572. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14573. if (from.has_packet_id()) {
  14574. set_packet_id(from.packet_id());
  14575. }
  14576. if (from.has_result()) {
  14577. set_result(from.result());
  14578. }
  14579. if (from.has_rewardid()) {
  14580. set_rewardid(from.rewardid());
  14581. }
  14582. }
  14583. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14584. }
  14585. void packetw2c_recharge_activity_rebate_result::CopyFrom(const ::google::protobuf::Message& from) {
  14586. if (&from == this) return;
  14587. Clear();
  14588. MergeFrom(from);
  14589. }
  14590. void packetw2c_recharge_activity_rebate_result::CopyFrom(const packetw2c_recharge_activity_rebate_result& from) {
  14591. if (&from == this) return;
  14592. Clear();
  14593. MergeFrom(from);
  14594. }
  14595. bool packetw2c_recharge_activity_rebate_result::IsInitialized() const {
  14596. return true;
  14597. }
  14598. void packetw2c_recharge_activity_rebate_result::Swap(packetw2c_recharge_activity_rebate_result* other) {
  14599. if (other != this) {
  14600. std::swap(packet_id_, other->packet_id_);
  14601. std::swap(result_, other->result_);
  14602. std::swap(rewardid_, other->rewardid_);
  14603. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14604. _unknown_fields_.Swap(&other->_unknown_fields_);
  14605. std::swap(_cached_size_, other->_cached_size_);
  14606. }
  14607. }
  14608. ::google::protobuf::Metadata packetw2c_recharge_activity_rebate_result::GetMetadata() const {
  14609. protobuf_AssignDescriptorsOnce();
  14610. ::google::protobuf::Metadata metadata;
  14611. metadata.descriptor = packetw2c_recharge_activity_rebate_result_descriptor_;
  14612. metadata.reflection = packetw2c_recharge_activity_rebate_result_reflection_;
  14613. return metadata;
  14614. }
  14615. // ===================================================================
  14616. #ifndef _MSC_VER
  14617. const int packetw2c_syn_wuyi_vacation_info::kPacketIdFieldNumber;
  14618. const int packetw2c_syn_wuyi_vacation_info::kStartTimeFieldNumber;
  14619. const int packetw2c_syn_wuyi_vacation_info::kEndTimeFieldNumber;
  14620. const int packetw2c_syn_wuyi_vacation_info::kSignCountFieldNumber;
  14621. const int packetw2c_syn_wuyi_vacation_info::kCanSignFieldNumber;
  14622. const int packetw2c_syn_wuyi_vacation_info::kQuestListFieldNumber;
  14623. const int packetw2c_syn_wuyi_vacation_info::kHaiShenListFieldNumber;
  14624. const int packetw2c_syn_wuyi_vacation_info::kHandbooksAwardStatFieldNumber;
  14625. const int packetw2c_syn_wuyi_vacation_info::kHandbooksStatFieldNumber;
  14626. const int packetw2c_syn_wuyi_vacation_info::kPaddyCountFieldNumber;
  14627. #endif // !_MSC_VER
  14628. packetw2c_syn_wuyi_vacation_info::packetw2c_syn_wuyi_vacation_info()
  14629. : ::google::protobuf::Message() {
  14630. SharedCtor();
  14631. }
  14632. void packetw2c_syn_wuyi_vacation_info::InitAsDefaultInstance() {
  14633. }
  14634. packetw2c_syn_wuyi_vacation_info::packetw2c_syn_wuyi_vacation_info(const packetw2c_syn_wuyi_vacation_info& from)
  14635. : ::google::protobuf::Message() {
  14636. SharedCtor();
  14637. MergeFrom(from);
  14638. }
  14639. void packetw2c_syn_wuyi_vacation_info::SharedCtor() {
  14640. _cached_size_ = 0;
  14641. packet_id_ = 7694;
  14642. starttime_ = 0;
  14643. endtime_ = 0;
  14644. signcount_ = 0;
  14645. cansign_ = false;
  14646. paddycount_ = 0;
  14647. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14648. }
  14649. packetw2c_syn_wuyi_vacation_info::~packetw2c_syn_wuyi_vacation_info() {
  14650. SharedDtor();
  14651. }
  14652. void packetw2c_syn_wuyi_vacation_info::SharedDtor() {
  14653. if (this != default_instance_) {
  14654. }
  14655. }
  14656. void packetw2c_syn_wuyi_vacation_info::SetCachedSize(int size) const {
  14657. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14658. _cached_size_ = size;
  14659. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14660. }
  14661. const ::google::protobuf::Descriptor* packetw2c_syn_wuyi_vacation_info::descriptor() {
  14662. protobuf_AssignDescriptorsOnce();
  14663. return packetw2c_syn_wuyi_vacation_info_descriptor_;
  14664. }
  14665. const packetw2c_syn_wuyi_vacation_info& packetw2c_syn_wuyi_vacation_info::default_instance() {
  14666. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  14667. return *default_instance_;
  14668. }
  14669. packetw2c_syn_wuyi_vacation_info* packetw2c_syn_wuyi_vacation_info::default_instance_ = NULL;
  14670. packetw2c_syn_wuyi_vacation_info* packetw2c_syn_wuyi_vacation_info::New() const {
  14671. return new packetw2c_syn_wuyi_vacation_info;
  14672. }
  14673. void packetw2c_syn_wuyi_vacation_info::Clear() {
  14674. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14675. packet_id_ = 7694;
  14676. starttime_ = 0;
  14677. endtime_ = 0;
  14678. signcount_ = 0;
  14679. cansign_ = false;
  14680. }
  14681. if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  14682. paddycount_ = 0;
  14683. }
  14684. questlist_.Clear();
  14685. haishenlist_.Clear();
  14686. handbooksawardstat_.Clear();
  14687. handbooksstat_.Clear();
  14688. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14689. mutable_unknown_fields()->Clear();
  14690. }
  14691. bool packetw2c_syn_wuyi_vacation_info::MergePartialFromCodedStream(
  14692. ::google::protobuf::io::CodedInputStream* input) {
  14693. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14694. ::google::protobuf::uint32 tag;
  14695. while ((tag = input->ReadTag()) != 0) {
  14696. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14697. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wuyi_vacation_info];
  14698. case 1: {
  14699. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14700. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14701. int value;
  14702. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14703. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14704. input, &value)));
  14705. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  14706. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  14707. } else {
  14708. mutable_unknown_fields()->AddVarint(1, value);
  14709. }
  14710. } else {
  14711. goto handle_uninterpreted;
  14712. }
  14713. if (input->ExpectTag(16)) goto parse_startTime;
  14714. break;
  14715. }
  14716. // optional int32 startTime = 2;
  14717. case 2: {
  14718. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14719. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14720. parse_startTime:
  14721. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14722. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14723. input, &starttime_)));
  14724. set_has_starttime();
  14725. } else {
  14726. goto handle_uninterpreted;
  14727. }
  14728. if (input->ExpectTag(24)) goto parse_endTime;
  14729. break;
  14730. }
  14731. // optional int32 endTime = 3;
  14732. case 3: {
  14733. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14734. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14735. parse_endTime:
  14736. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14737. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14738. input, &endtime_)));
  14739. set_has_endtime();
  14740. } else {
  14741. goto handle_uninterpreted;
  14742. }
  14743. if (input->ExpectTag(32)) goto parse_signCount;
  14744. break;
  14745. }
  14746. // optional int32 signCount = 4;
  14747. case 4: {
  14748. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14749. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14750. parse_signCount:
  14751. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14752. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14753. input, &signcount_)));
  14754. set_has_signcount();
  14755. } else {
  14756. goto handle_uninterpreted;
  14757. }
  14758. if (input->ExpectTag(40)) goto parse_canSign;
  14759. break;
  14760. }
  14761. // optional bool canSign = 5;
  14762. case 5: {
  14763. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14764. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14765. parse_canSign:
  14766. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14767. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  14768. input, &cansign_)));
  14769. set_has_cansign();
  14770. } else {
  14771. goto handle_uninterpreted;
  14772. }
  14773. if (input->ExpectTag(50)) goto parse_questList;
  14774. break;
  14775. }
  14776. // repeated .msg_info_def.msg_quest_info questList = 6;
  14777. case 6: {
  14778. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14779. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14780. parse_questList:
  14781. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14782. input, add_questlist()));
  14783. } else {
  14784. goto handle_uninterpreted;
  14785. }
  14786. if (input->ExpectTag(50)) goto parse_questList;
  14787. if (input->ExpectTag(58)) goto parse_haiShenList;
  14788. break;
  14789. }
  14790. // repeated .msg_info_def.msg_quest_info haiShenList = 7;
  14791. case 7: {
  14792. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14793. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14794. parse_haiShenList:
  14795. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14796. input, add_haishenlist()));
  14797. } else {
  14798. goto handle_uninterpreted;
  14799. }
  14800. if (input->ExpectTag(58)) goto parse_haiShenList;
  14801. if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
  14802. break;
  14803. }
  14804. // repeated bool handbooksAwardStat = 8;
  14805. case 8: {
  14806. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14807. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14808. parse_handbooksAwardStat:
  14809. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  14810. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  14811. 1, 64, input, this->mutable_handbooksawardstat())));
  14812. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  14813. == ::google::protobuf::internal::WireFormatLite::
  14814. WIRETYPE_LENGTH_DELIMITED) {
  14815. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  14816. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  14817. input, this->mutable_handbooksawardstat())));
  14818. } else {
  14819. goto handle_uninterpreted;
  14820. }
  14821. if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
  14822. if (input->ExpectTag(72)) goto parse_handbooksStat;
  14823. break;
  14824. }
  14825. // repeated int32 handbooksStat = 9;
  14826. case 9: {
  14827. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14828. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14829. parse_handbooksStat:
  14830. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  14831. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14832. 1, 72, input, this->mutable_handbooksstat())));
  14833. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  14834. == ::google::protobuf::internal::WireFormatLite::
  14835. WIRETYPE_LENGTH_DELIMITED) {
  14836. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  14837. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14838. input, this->mutable_handbooksstat())));
  14839. } else {
  14840. goto handle_uninterpreted;
  14841. }
  14842. if (input->ExpectTag(72)) goto parse_handbooksStat;
  14843. if (input->ExpectTag(80)) goto parse_paddyCount;
  14844. break;
  14845. }
  14846. // optional int32 paddyCount = 10;
  14847. case 10: {
  14848. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14849. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14850. parse_paddyCount:
  14851. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14852. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14853. input, &paddycount_)));
  14854. set_has_paddycount();
  14855. } else {
  14856. goto handle_uninterpreted;
  14857. }
  14858. if (input->ExpectAtEnd()) return true;
  14859. break;
  14860. }
  14861. default: {
  14862. handle_uninterpreted:
  14863. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14864. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14865. return true;
  14866. }
  14867. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14868. input, tag, mutable_unknown_fields()));
  14869. break;
  14870. }
  14871. }
  14872. }
  14873. return true;
  14874. #undef DO_
  14875. }
  14876. void packetw2c_syn_wuyi_vacation_info::SerializeWithCachedSizes(
  14877. ::google::protobuf::io::CodedOutputStream* output) const {
  14878. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wuyi_vacation_info];
  14879. if (has_packet_id()) {
  14880. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14881. 1, this->packet_id(), output);
  14882. }
  14883. // optional int32 startTime = 2;
  14884. if (has_starttime()) {
  14885. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->starttime(), output);
  14886. }
  14887. // optional int32 endTime = 3;
  14888. if (has_endtime()) {
  14889. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->endtime(), output);
  14890. }
  14891. // optional int32 signCount = 4;
  14892. if (has_signcount()) {
  14893. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->signcount(), output);
  14894. }
  14895. // optional bool canSign = 5;
  14896. if (has_cansign()) {
  14897. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->cansign(), output);
  14898. }
  14899. // repeated .msg_info_def.msg_quest_info questList = 6;
  14900. for (int i = 0; i < this->questlist_size(); i++) {
  14901. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14902. 6, this->questlist(i), output);
  14903. }
  14904. // repeated .msg_info_def.msg_quest_info haiShenList = 7;
  14905. for (int i = 0; i < this->haishenlist_size(); i++) {
  14906. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14907. 7, this->haishenlist(i), output);
  14908. }
  14909. // repeated bool handbooksAwardStat = 8;
  14910. for (int i = 0; i < this->handbooksawardstat_size(); i++) {
  14911. ::google::protobuf::internal::WireFormatLite::WriteBool(
  14912. 8, this->handbooksawardstat(i), output);
  14913. }
  14914. // repeated int32 handbooksStat = 9;
  14915. for (int i = 0; i < this->handbooksstat_size(); i++) {
  14916. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  14917. 9, this->handbooksstat(i), output);
  14918. }
  14919. // optional int32 paddyCount = 10;
  14920. if (has_paddycount()) {
  14921. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->paddycount(), output);
  14922. }
  14923. if (!unknown_fields().empty()) {
  14924. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14925. unknown_fields(), output);
  14926. }
  14927. }
  14928. ::google::protobuf::uint8* packetw2c_syn_wuyi_vacation_info::SerializeWithCachedSizesToArray(
  14929. ::google::protobuf::uint8* target) const {
  14930. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wuyi_vacation_info];
  14931. if (has_packet_id()) {
  14932. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14933. 1, this->packet_id(), target);
  14934. }
  14935. // optional int32 startTime = 2;
  14936. if (has_starttime()) {
  14937. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->starttime(), target);
  14938. }
  14939. // optional int32 endTime = 3;
  14940. if (has_endtime()) {
  14941. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->endtime(), target);
  14942. }
  14943. // optional int32 signCount = 4;
  14944. if (has_signcount()) {
  14945. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->signcount(), target);
  14946. }
  14947. // optional bool canSign = 5;
  14948. if (has_cansign()) {
  14949. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->cansign(), target);
  14950. }
  14951. // repeated .msg_info_def.msg_quest_info questList = 6;
  14952. for (int i = 0; i < this->questlist_size(); i++) {
  14953. target = ::google::protobuf::internal::WireFormatLite::
  14954. WriteMessageNoVirtualToArray(
  14955. 6, this->questlist(i), target);
  14956. }
  14957. // repeated .msg_info_def.msg_quest_info haiShenList = 7;
  14958. for (int i = 0; i < this->haishenlist_size(); i++) {
  14959. target = ::google::protobuf::internal::WireFormatLite::
  14960. WriteMessageNoVirtualToArray(
  14961. 7, this->haishenlist(i), target);
  14962. }
  14963. // repeated bool handbooksAwardStat = 8;
  14964. for (int i = 0; i < this->handbooksawardstat_size(); i++) {
  14965. target = ::google::protobuf::internal::WireFormatLite::
  14966. WriteBoolToArray(8, this->handbooksawardstat(i), target);
  14967. }
  14968. // repeated int32 handbooksStat = 9;
  14969. for (int i = 0; i < this->handbooksstat_size(); i++) {
  14970. target = ::google::protobuf::internal::WireFormatLite::
  14971. WriteInt32ToArray(9, this->handbooksstat(i), target);
  14972. }
  14973. // optional int32 paddyCount = 10;
  14974. if (has_paddycount()) {
  14975. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->paddycount(), target);
  14976. }
  14977. if (!unknown_fields().empty()) {
  14978. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14979. unknown_fields(), target);
  14980. }
  14981. return target;
  14982. }
  14983. int packetw2c_syn_wuyi_vacation_info::ByteSize() const {
  14984. int total_size = 0;
  14985. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14986. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wuyi_vacation_info];
  14987. if (has_packet_id()) {
  14988. total_size += 1 +
  14989. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14990. }
  14991. // optional int32 startTime = 2;
  14992. if (has_starttime()) {
  14993. total_size += 1 +
  14994. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14995. this->starttime());
  14996. }
  14997. // optional int32 endTime = 3;
  14998. if (has_endtime()) {
  14999. total_size += 1 +
  15000. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15001. this->endtime());
  15002. }
  15003. // optional int32 signCount = 4;
  15004. if (has_signcount()) {
  15005. total_size += 1 +
  15006. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15007. this->signcount());
  15008. }
  15009. // optional bool canSign = 5;
  15010. if (has_cansign()) {
  15011. total_size += 1 + 1;
  15012. }
  15013. }
  15014. if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  15015. // optional int32 paddyCount = 10;
  15016. if (has_paddycount()) {
  15017. total_size += 1 +
  15018. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15019. this->paddycount());
  15020. }
  15021. }
  15022. // repeated .msg_info_def.msg_quest_info questList = 6;
  15023. total_size += 1 * this->questlist_size();
  15024. for (int i = 0; i < this->questlist_size(); i++) {
  15025. total_size +=
  15026. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15027. this->questlist(i));
  15028. }
  15029. // repeated .msg_info_def.msg_quest_info haiShenList = 7;
  15030. total_size += 1 * this->haishenlist_size();
  15031. for (int i = 0; i < this->haishenlist_size(); i++) {
  15032. total_size +=
  15033. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15034. this->haishenlist(i));
  15035. }
  15036. // repeated bool handbooksAwardStat = 8;
  15037. {
  15038. int data_size = 0;
  15039. data_size = 1 * this->handbooksawardstat_size();
  15040. total_size += 1 * this->handbooksawardstat_size() + data_size;
  15041. }
  15042. // repeated int32 handbooksStat = 9;
  15043. {
  15044. int data_size = 0;
  15045. for (int i = 0; i < this->handbooksstat_size(); i++) {
  15046. data_size += ::google::protobuf::internal::WireFormatLite::
  15047. Int32Size(this->handbooksstat(i));
  15048. }
  15049. total_size += 1 * this->handbooksstat_size() + data_size;
  15050. }
  15051. if (!unknown_fields().empty()) {
  15052. total_size +=
  15053. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15054. unknown_fields());
  15055. }
  15056. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15057. _cached_size_ = total_size;
  15058. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15059. return total_size;
  15060. }
  15061. void packetw2c_syn_wuyi_vacation_info::MergeFrom(const ::google::protobuf::Message& from) {
  15062. GOOGLE_CHECK_NE(&from, this);
  15063. const packetw2c_syn_wuyi_vacation_info* source =
  15064. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_wuyi_vacation_info*>(
  15065. &from);
  15066. if (source == NULL) {
  15067. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15068. } else {
  15069. MergeFrom(*source);
  15070. }
  15071. }
  15072. void packetw2c_syn_wuyi_vacation_info::MergeFrom(const packetw2c_syn_wuyi_vacation_info& from) {
  15073. GOOGLE_CHECK_NE(&from, this);
  15074. questlist_.MergeFrom(from.questlist_);
  15075. haishenlist_.MergeFrom(from.haishenlist_);
  15076. handbooksawardstat_.MergeFrom(from.handbooksawardstat_);
  15077. handbooksstat_.MergeFrom(from.handbooksstat_);
  15078. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15079. if (from.has_packet_id()) {
  15080. set_packet_id(from.packet_id());
  15081. }
  15082. if (from.has_starttime()) {
  15083. set_starttime(from.starttime());
  15084. }
  15085. if (from.has_endtime()) {
  15086. set_endtime(from.endtime());
  15087. }
  15088. if (from.has_signcount()) {
  15089. set_signcount(from.signcount());
  15090. }
  15091. if (from.has_cansign()) {
  15092. set_cansign(from.cansign());
  15093. }
  15094. }
  15095. if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  15096. if (from.has_paddycount()) {
  15097. set_paddycount(from.paddycount());
  15098. }
  15099. }
  15100. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15101. }
  15102. void packetw2c_syn_wuyi_vacation_info::CopyFrom(const ::google::protobuf::Message& from) {
  15103. if (&from == this) return;
  15104. Clear();
  15105. MergeFrom(from);
  15106. }
  15107. void packetw2c_syn_wuyi_vacation_info::CopyFrom(const packetw2c_syn_wuyi_vacation_info& from) {
  15108. if (&from == this) return;
  15109. Clear();
  15110. MergeFrom(from);
  15111. }
  15112. bool packetw2c_syn_wuyi_vacation_info::IsInitialized() const {
  15113. return true;
  15114. }
  15115. void packetw2c_syn_wuyi_vacation_info::Swap(packetw2c_syn_wuyi_vacation_info* other) {
  15116. if (other != this) {
  15117. std::swap(packet_id_, other->packet_id_);
  15118. std::swap(starttime_, other->starttime_);
  15119. std::swap(endtime_, other->endtime_);
  15120. std::swap(signcount_, other->signcount_);
  15121. std::swap(cansign_, other->cansign_);
  15122. questlist_.Swap(&other->questlist_);
  15123. haishenlist_.Swap(&other->haishenlist_);
  15124. handbooksawardstat_.Swap(&other->handbooksawardstat_);
  15125. handbooksstat_.Swap(&other->handbooksstat_);
  15126. std::swap(paddycount_, other->paddycount_);
  15127. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15128. _unknown_fields_.Swap(&other->_unknown_fields_);
  15129. std::swap(_cached_size_, other->_cached_size_);
  15130. }
  15131. }
  15132. ::google::protobuf::Metadata packetw2c_syn_wuyi_vacation_info::GetMetadata() const {
  15133. protobuf_AssignDescriptorsOnce();
  15134. ::google::protobuf::Metadata metadata;
  15135. metadata.descriptor = packetw2c_syn_wuyi_vacation_info_descriptor_;
  15136. metadata.reflection = packetw2c_syn_wuyi_vacation_info_reflection_;
  15137. return metadata;
  15138. }
  15139. // ===================================================================
  15140. #ifndef _MSC_VER
  15141. const int packetc2w_recv_wuyi_login_reward::kPacketIdFieldNumber;
  15142. const int packetc2w_recv_wuyi_login_reward::kSignIndexFieldNumber;
  15143. #endif // !_MSC_VER
  15144. packetc2w_recv_wuyi_login_reward::packetc2w_recv_wuyi_login_reward()
  15145. : ::google::protobuf::Message() {
  15146. SharedCtor();
  15147. }
  15148. void packetc2w_recv_wuyi_login_reward::InitAsDefaultInstance() {
  15149. }
  15150. packetc2w_recv_wuyi_login_reward::packetc2w_recv_wuyi_login_reward(const packetc2w_recv_wuyi_login_reward& from)
  15151. : ::google::protobuf::Message() {
  15152. SharedCtor();
  15153. MergeFrom(from);
  15154. }
  15155. void packetc2w_recv_wuyi_login_reward::SharedCtor() {
  15156. _cached_size_ = 0;
  15157. packet_id_ = 5175;
  15158. signindex_ = 0;
  15159. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15160. }
  15161. packetc2w_recv_wuyi_login_reward::~packetc2w_recv_wuyi_login_reward() {
  15162. SharedDtor();
  15163. }
  15164. void packetc2w_recv_wuyi_login_reward::SharedDtor() {
  15165. if (this != default_instance_) {
  15166. }
  15167. }
  15168. void packetc2w_recv_wuyi_login_reward::SetCachedSize(int size) const {
  15169. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15170. _cached_size_ = size;
  15171. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15172. }
  15173. const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_login_reward::descriptor() {
  15174. protobuf_AssignDescriptorsOnce();
  15175. return packetc2w_recv_wuyi_login_reward_descriptor_;
  15176. }
  15177. const packetc2w_recv_wuyi_login_reward& packetc2w_recv_wuyi_login_reward::default_instance() {
  15178. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  15179. return *default_instance_;
  15180. }
  15181. packetc2w_recv_wuyi_login_reward* packetc2w_recv_wuyi_login_reward::default_instance_ = NULL;
  15182. packetc2w_recv_wuyi_login_reward* packetc2w_recv_wuyi_login_reward::New() const {
  15183. return new packetc2w_recv_wuyi_login_reward;
  15184. }
  15185. void packetc2w_recv_wuyi_login_reward::Clear() {
  15186. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15187. packet_id_ = 5175;
  15188. signindex_ = 0;
  15189. }
  15190. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15191. mutable_unknown_fields()->Clear();
  15192. }
  15193. bool packetc2w_recv_wuyi_login_reward::MergePartialFromCodedStream(
  15194. ::google::protobuf::io::CodedInputStream* input) {
  15195. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15196. ::google::protobuf::uint32 tag;
  15197. while ((tag = input->ReadTag()) != 0) {
  15198. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15199. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_login_reward];
  15200. case 1: {
  15201. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15202. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15203. int value;
  15204. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15205. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15206. input, &value)));
  15207. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  15208. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  15209. } else {
  15210. mutable_unknown_fields()->AddVarint(1, value);
  15211. }
  15212. } else {
  15213. goto handle_uninterpreted;
  15214. }
  15215. if (input->ExpectTag(16)) goto parse_signIndex;
  15216. break;
  15217. }
  15218. // optional int32 signIndex = 2;
  15219. case 2: {
  15220. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15221. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15222. parse_signIndex:
  15223. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15224. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15225. input, &signindex_)));
  15226. set_has_signindex();
  15227. } else {
  15228. goto handle_uninterpreted;
  15229. }
  15230. if (input->ExpectAtEnd()) return true;
  15231. break;
  15232. }
  15233. default: {
  15234. handle_uninterpreted:
  15235. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15236. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15237. return true;
  15238. }
  15239. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15240. input, tag, mutable_unknown_fields()));
  15241. break;
  15242. }
  15243. }
  15244. }
  15245. return true;
  15246. #undef DO_
  15247. }
  15248. void packetc2w_recv_wuyi_login_reward::SerializeWithCachedSizes(
  15249. ::google::protobuf::io::CodedOutputStream* output) const {
  15250. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_login_reward];
  15251. if (has_packet_id()) {
  15252. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15253. 1, this->packet_id(), output);
  15254. }
  15255. // optional int32 signIndex = 2;
  15256. if (has_signindex()) {
  15257. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  15258. }
  15259. if (!unknown_fields().empty()) {
  15260. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15261. unknown_fields(), output);
  15262. }
  15263. }
  15264. ::google::protobuf::uint8* packetc2w_recv_wuyi_login_reward::SerializeWithCachedSizesToArray(
  15265. ::google::protobuf::uint8* target) const {
  15266. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_login_reward];
  15267. if (has_packet_id()) {
  15268. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15269. 1, this->packet_id(), target);
  15270. }
  15271. // optional int32 signIndex = 2;
  15272. if (has_signindex()) {
  15273. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  15274. }
  15275. if (!unknown_fields().empty()) {
  15276. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15277. unknown_fields(), target);
  15278. }
  15279. return target;
  15280. }
  15281. int packetc2w_recv_wuyi_login_reward::ByteSize() const {
  15282. int total_size = 0;
  15283. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15284. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_login_reward];
  15285. if (has_packet_id()) {
  15286. total_size += 1 +
  15287. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15288. }
  15289. // optional int32 signIndex = 2;
  15290. if (has_signindex()) {
  15291. total_size += 1 +
  15292. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15293. this->signindex());
  15294. }
  15295. }
  15296. if (!unknown_fields().empty()) {
  15297. total_size +=
  15298. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15299. unknown_fields());
  15300. }
  15301. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15302. _cached_size_ = total_size;
  15303. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15304. return total_size;
  15305. }
  15306. void packetc2w_recv_wuyi_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  15307. GOOGLE_CHECK_NE(&from, this);
  15308. const packetc2w_recv_wuyi_login_reward* source =
  15309. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_wuyi_login_reward*>(
  15310. &from);
  15311. if (source == NULL) {
  15312. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15313. } else {
  15314. MergeFrom(*source);
  15315. }
  15316. }
  15317. void packetc2w_recv_wuyi_login_reward::MergeFrom(const packetc2w_recv_wuyi_login_reward& from) {
  15318. GOOGLE_CHECK_NE(&from, this);
  15319. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15320. if (from.has_packet_id()) {
  15321. set_packet_id(from.packet_id());
  15322. }
  15323. if (from.has_signindex()) {
  15324. set_signindex(from.signindex());
  15325. }
  15326. }
  15327. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15328. }
  15329. void packetc2w_recv_wuyi_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  15330. if (&from == this) return;
  15331. Clear();
  15332. MergeFrom(from);
  15333. }
  15334. void packetc2w_recv_wuyi_login_reward::CopyFrom(const packetc2w_recv_wuyi_login_reward& from) {
  15335. if (&from == this) return;
  15336. Clear();
  15337. MergeFrom(from);
  15338. }
  15339. bool packetc2w_recv_wuyi_login_reward::IsInitialized() const {
  15340. return true;
  15341. }
  15342. void packetc2w_recv_wuyi_login_reward::Swap(packetc2w_recv_wuyi_login_reward* other) {
  15343. if (other != this) {
  15344. std::swap(packet_id_, other->packet_id_);
  15345. std::swap(signindex_, other->signindex_);
  15346. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15347. _unknown_fields_.Swap(&other->_unknown_fields_);
  15348. std::swap(_cached_size_, other->_cached_size_);
  15349. }
  15350. }
  15351. ::google::protobuf::Metadata packetc2w_recv_wuyi_login_reward::GetMetadata() const {
  15352. protobuf_AssignDescriptorsOnce();
  15353. ::google::protobuf::Metadata metadata;
  15354. metadata.descriptor = packetc2w_recv_wuyi_login_reward_descriptor_;
  15355. metadata.reflection = packetc2w_recv_wuyi_login_reward_reflection_;
  15356. return metadata;
  15357. }
  15358. // ===================================================================
  15359. #ifndef _MSC_VER
  15360. const int packetw2c_recv_wuyi_login_reward_result::kPacketIdFieldNumber;
  15361. const int packetw2c_recv_wuyi_login_reward_result::kSignIndexFieldNumber;
  15362. const int packetw2c_recv_wuyi_login_reward_result::kResultFieldNumber;
  15363. const int packetw2c_recv_wuyi_login_reward_result::kExHandbooksIdFieldNumber;
  15364. #endif // !_MSC_VER
  15365. packetw2c_recv_wuyi_login_reward_result::packetw2c_recv_wuyi_login_reward_result()
  15366. : ::google::protobuf::Message() {
  15367. SharedCtor();
  15368. }
  15369. void packetw2c_recv_wuyi_login_reward_result::InitAsDefaultInstance() {
  15370. }
  15371. packetw2c_recv_wuyi_login_reward_result::packetw2c_recv_wuyi_login_reward_result(const packetw2c_recv_wuyi_login_reward_result& from)
  15372. : ::google::protobuf::Message() {
  15373. SharedCtor();
  15374. MergeFrom(from);
  15375. }
  15376. void packetw2c_recv_wuyi_login_reward_result::SharedCtor() {
  15377. _cached_size_ = 0;
  15378. packet_id_ = 7695;
  15379. signindex_ = 0;
  15380. result_ = 0;
  15381. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15382. }
  15383. packetw2c_recv_wuyi_login_reward_result::~packetw2c_recv_wuyi_login_reward_result() {
  15384. SharedDtor();
  15385. }
  15386. void packetw2c_recv_wuyi_login_reward_result::SharedDtor() {
  15387. if (this != default_instance_) {
  15388. }
  15389. }
  15390. void packetw2c_recv_wuyi_login_reward_result::SetCachedSize(int size) const {
  15391. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15392. _cached_size_ = size;
  15393. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15394. }
  15395. const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_login_reward_result::descriptor() {
  15396. protobuf_AssignDescriptorsOnce();
  15397. return packetw2c_recv_wuyi_login_reward_result_descriptor_;
  15398. }
  15399. const packetw2c_recv_wuyi_login_reward_result& packetw2c_recv_wuyi_login_reward_result::default_instance() {
  15400. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  15401. return *default_instance_;
  15402. }
  15403. packetw2c_recv_wuyi_login_reward_result* packetw2c_recv_wuyi_login_reward_result::default_instance_ = NULL;
  15404. packetw2c_recv_wuyi_login_reward_result* packetw2c_recv_wuyi_login_reward_result::New() const {
  15405. return new packetw2c_recv_wuyi_login_reward_result;
  15406. }
  15407. void packetw2c_recv_wuyi_login_reward_result::Clear() {
  15408. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15409. packet_id_ = 7695;
  15410. signindex_ = 0;
  15411. result_ = 0;
  15412. }
  15413. exhandbooksid_.Clear();
  15414. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15415. mutable_unknown_fields()->Clear();
  15416. }
  15417. bool packetw2c_recv_wuyi_login_reward_result::MergePartialFromCodedStream(
  15418. ::google::protobuf::io::CodedInputStream* input) {
  15419. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15420. ::google::protobuf::uint32 tag;
  15421. while ((tag = input->ReadTag()) != 0) {
  15422. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15423. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_login_reward_result];
  15424. case 1: {
  15425. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15426. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15427. int value;
  15428. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15429. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15430. input, &value)));
  15431. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  15432. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  15433. } else {
  15434. mutable_unknown_fields()->AddVarint(1, value);
  15435. }
  15436. } else {
  15437. goto handle_uninterpreted;
  15438. }
  15439. if (input->ExpectTag(16)) goto parse_signIndex;
  15440. break;
  15441. }
  15442. // optional int32 signIndex = 2;
  15443. case 2: {
  15444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15446. parse_signIndex:
  15447. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15448. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15449. input, &signindex_)));
  15450. set_has_signindex();
  15451. } else {
  15452. goto handle_uninterpreted;
  15453. }
  15454. if (input->ExpectTag(24)) goto parse_result;
  15455. break;
  15456. }
  15457. // optional int32 result = 3;
  15458. case 3: {
  15459. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15460. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15461. parse_result:
  15462. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15463. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15464. input, &result_)));
  15465. set_has_result();
  15466. } else {
  15467. goto handle_uninterpreted;
  15468. }
  15469. if (input->ExpectTag(32)) goto parse_exHandbooksId;
  15470. break;
  15471. }
  15472. // repeated int32 exHandbooksId = 4;
  15473. case 4: {
  15474. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15475. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15476. parse_exHandbooksId:
  15477. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  15478. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15479. 1, 32, input, this->mutable_exhandbooksid())));
  15480. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  15481. == ::google::protobuf::internal::WireFormatLite::
  15482. WIRETYPE_LENGTH_DELIMITED) {
  15483. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  15484. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15485. input, this->mutable_exhandbooksid())));
  15486. } else {
  15487. goto handle_uninterpreted;
  15488. }
  15489. if (input->ExpectTag(32)) goto parse_exHandbooksId;
  15490. if (input->ExpectAtEnd()) return true;
  15491. break;
  15492. }
  15493. default: {
  15494. handle_uninterpreted:
  15495. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15496. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15497. return true;
  15498. }
  15499. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15500. input, tag, mutable_unknown_fields()));
  15501. break;
  15502. }
  15503. }
  15504. }
  15505. return true;
  15506. #undef DO_
  15507. }
  15508. void packetw2c_recv_wuyi_login_reward_result::SerializeWithCachedSizes(
  15509. ::google::protobuf::io::CodedOutputStream* output) const {
  15510. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_login_reward_result];
  15511. if (has_packet_id()) {
  15512. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15513. 1, this->packet_id(), output);
  15514. }
  15515. // optional int32 signIndex = 2;
  15516. if (has_signindex()) {
  15517. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  15518. }
  15519. // optional int32 result = 3;
  15520. if (has_result()) {
  15521. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  15522. }
  15523. // repeated int32 exHandbooksId = 4;
  15524. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  15525. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  15526. 4, this->exhandbooksid(i), output);
  15527. }
  15528. if (!unknown_fields().empty()) {
  15529. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15530. unknown_fields(), output);
  15531. }
  15532. }
  15533. ::google::protobuf::uint8* packetw2c_recv_wuyi_login_reward_result::SerializeWithCachedSizesToArray(
  15534. ::google::protobuf::uint8* target) const {
  15535. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_login_reward_result];
  15536. if (has_packet_id()) {
  15537. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15538. 1, this->packet_id(), target);
  15539. }
  15540. // optional int32 signIndex = 2;
  15541. if (has_signindex()) {
  15542. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  15543. }
  15544. // optional int32 result = 3;
  15545. if (has_result()) {
  15546. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  15547. }
  15548. // repeated int32 exHandbooksId = 4;
  15549. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  15550. target = ::google::protobuf::internal::WireFormatLite::
  15551. WriteInt32ToArray(4, this->exhandbooksid(i), target);
  15552. }
  15553. if (!unknown_fields().empty()) {
  15554. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15555. unknown_fields(), target);
  15556. }
  15557. return target;
  15558. }
  15559. int packetw2c_recv_wuyi_login_reward_result::ByteSize() const {
  15560. int total_size = 0;
  15561. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15562. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_login_reward_result];
  15563. if (has_packet_id()) {
  15564. total_size += 1 +
  15565. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15566. }
  15567. // optional int32 signIndex = 2;
  15568. if (has_signindex()) {
  15569. total_size += 1 +
  15570. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15571. this->signindex());
  15572. }
  15573. // optional int32 result = 3;
  15574. if (has_result()) {
  15575. total_size += 1 +
  15576. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15577. this->result());
  15578. }
  15579. }
  15580. // repeated int32 exHandbooksId = 4;
  15581. {
  15582. int data_size = 0;
  15583. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  15584. data_size += ::google::protobuf::internal::WireFormatLite::
  15585. Int32Size(this->exhandbooksid(i));
  15586. }
  15587. total_size += 1 * this->exhandbooksid_size() + data_size;
  15588. }
  15589. if (!unknown_fields().empty()) {
  15590. total_size +=
  15591. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15592. unknown_fields());
  15593. }
  15594. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15595. _cached_size_ = total_size;
  15596. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15597. return total_size;
  15598. }
  15599. void packetw2c_recv_wuyi_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  15600. GOOGLE_CHECK_NE(&from, this);
  15601. const packetw2c_recv_wuyi_login_reward_result* source =
  15602. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_wuyi_login_reward_result*>(
  15603. &from);
  15604. if (source == NULL) {
  15605. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15606. } else {
  15607. MergeFrom(*source);
  15608. }
  15609. }
  15610. void packetw2c_recv_wuyi_login_reward_result::MergeFrom(const packetw2c_recv_wuyi_login_reward_result& from) {
  15611. GOOGLE_CHECK_NE(&from, this);
  15612. exhandbooksid_.MergeFrom(from.exhandbooksid_);
  15613. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15614. if (from.has_packet_id()) {
  15615. set_packet_id(from.packet_id());
  15616. }
  15617. if (from.has_signindex()) {
  15618. set_signindex(from.signindex());
  15619. }
  15620. if (from.has_result()) {
  15621. set_result(from.result());
  15622. }
  15623. }
  15624. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15625. }
  15626. void packetw2c_recv_wuyi_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  15627. if (&from == this) return;
  15628. Clear();
  15629. MergeFrom(from);
  15630. }
  15631. void packetw2c_recv_wuyi_login_reward_result::CopyFrom(const packetw2c_recv_wuyi_login_reward_result& from) {
  15632. if (&from == this) return;
  15633. Clear();
  15634. MergeFrom(from);
  15635. }
  15636. bool packetw2c_recv_wuyi_login_reward_result::IsInitialized() const {
  15637. return true;
  15638. }
  15639. void packetw2c_recv_wuyi_login_reward_result::Swap(packetw2c_recv_wuyi_login_reward_result* other) {
  15640. if (other != this) {
  15641. std::swap(packet_id_, other->packet_id_);
  15642. std::swap(signindex_, other->signindex_);
  15643. std::swap(result_, other->result_);
  15644. exhandbooksid_.Swap(&other->exhandbooksid_);
  15645. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15646. _unknown_fields_.Swap(&other->_unknown_fields_);
  15647. std::swap(_cached_size_, other->_cached_size_);
  15648. }
  15649. }
  15650. ::google::protobuf::Metadata packetw2c_recv_wuyi_login_reward_result::GetMetadata() const {
  15651. protobuf_AssignDescriptorsOnce();
  15652. ::google::protobuf::Metadata metadata;
  15653. metadata.descriptor = packetw2c_recv_wuyi_login_reward_result_descriptor_;
  15654. metadata.reflection = packetw2c_recv_wuyi_login_reward_result_reflection_;
  15655. return metadata;
  15656. }
  15657. // ===================================================================
  15658. #ifndef _MSC_VER
  15659. const int packetc2w_recv_wuyi_quest_award::kPacketIdFieldNumber;
  15660. const int packetc2w_recv_wuyi_quest_award::kTypeFieldNumber;
  15661. const int packetc2w_recv_wuyi_quest_award::kQuestIdFieldNumber;
  15662. const int packetc2w_recv_wuyi_quest_award::kReceiveBitFieldNumber;
  15663. #endif // !_MSC_VER
  15664. packetc2w_recv_wuyi_quest_award::packetc2w_recv_wuyi_quest_award()
  15665. : ::google::protobuf::Message() {
  15666. SharedCtor();
  15667. }
  15668. void packetc2w_recv_wuyi_quest_award::InitAsDefaultInstance() {
  15669. }
  15670. packetc2w_recv_wuyi_quest_award::packetc2w_recv_wuyi_quest_award(const packetc2w_recv_wuyi_quest_award& from)
  15671. : ::google::protobuf::Message() {
  15672. SharedCtor();
  15673. MergeFrom(from);
  15674. }
  15675. void packetc2w_recv_wuyi_quest_award::SharedCtor() {
  15676. _cached_size_ = 0;
  15677. packet_id_ = 5176;
  15678. type_ = 0;
  15679. questid_ = 0;
  15680. receivebit_ = 0;
  15681. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15682. }
  15683. packetc2w_recv_wuyi_quest_award::~packetc2w_recv_wuyi_quest_award() {
  15684. SharedDtor();
  15685. }
  15686. void packetc2w_recv_wuyi_quest_award::SharedDtor() {
  15687. if (this != default_instance_) {
  15688. }
  15689. }
  15690. void packetc2w_recv_wuyi_quest_award::SetCachedSize(int size) const {
  15691. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15692. _cached_size_ = size;
  15693. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15694. }
  15695. const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_quest_award::descriptor() {
  15696. protobuf_AssignDescriptorsOnce();
  15697. return packetc2w_recv_wuyi_quest_award_descriptor_;
  15698. }
  15699. const packetc2w_recv_wuyi_quest_award& packetc2w_recv_wuyi_quest_award::default_instance() {
  15700. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  15701. return *default_instance_;
  15702. }
  15703. packetc2w_recv_wuyi_quest_award* packetc2w_recv_wuyi_quest_award::default_instance_ = NULL;
  15704. packetc2w_recv_wuyi_quest_award* packetc2w_recv_wuyi_quest_award::New() const {
  15705. return new packetc2w_recv_wuyi_quest_award;
  15706. }
  15707. void packetc2w_recv_wuyi_quest_award::Clear() {
  15708. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15709. packet_id_ = 5176;
  15710. type_ = 0;
  15711. questid_ = 0;
  15712. receivebit_ = 0;
  15713. }
  15714. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15715. mutable_unknown_fields()->Clear();
  15716. }
  15717. bool packetc2w_recv_wuyi_quest_award::MergePartialFromCodedStream(
  15718. ::google::protobuf::io::CodedInputStream* input) {
  15719. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15720. ::google::protobuf::uint32 tag;
  15721. while ((tag = input->ReadTag()) != 0) {
  15722. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15723. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_quest_award];
  15724. case 1: {
  15725. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15726. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15727. int value;
  15728. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15729. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15730. input, &value)));
  15731. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  15732. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  15733. } else {
  15734. mutable_unknown_fields()->AddVarint(1, value);
  15735. }
  15736. } else {
  15737. goto handle_uninterpreted;
  15738. }
  15739. if (input->ExpectTag(16)) goto parse_type;
  15740. break;
  15741. }
  15742. // optional int32 type = 2;
  15743. case 2: {
  15744. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15745. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15746. parse_type:
  15747. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15748. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15749. input, &type_)));
  15750. set_has_type();
  15751. } else {
  15752. goto handle_uninterpreted;
  15753. }
  15754. if (input->ExpectTag(24)) goto parse_questId;
  15755. break;
  15756. }
  15757. // optional int32 questId = 3;
  15758. case 3: {
  15759. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15760. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15761. parse_questId:
  15762. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15763. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15764. input, &questid_)));
  15765. set_has_questid();
  15766. } else {
  15767. goto handle_uninterpreted;
  15768. }
  15769. if (input->ExpectTag(32)) goto parse_receiveBit;
  15770. break;
  15771. }
  15772. // optional int32 receiveBit = 4;
  15773. case 4: {
  15774. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15775. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15776. parse_receiveBit:
  15777. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15778. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15779. input, &receivebit_)));
  15780. set_has_receivebit();
  15781. } else {
  15782. goto handle_uninterpreted;
  15783. }
  15784. if (input->ExpectAtEnd()) return true;
  15785. break;
  15786. }
  15787. default: {
  15788. handle_uninterpreted:
  15789. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15790. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15791. return true;
  15792. }
  15793. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15794. input, tag, mutable_unknown_fields()));
  15795. break;
  15796. }
  15797. }
  15798. }
  15799. return true;
  15800. #undef DO_
  15801. }
  15802. void packetc2w_recv_wuyi_quest_award::SerializeWithCachedSizes(
  15803. ::google::protobuf::io::CodedOutputStream* output) const {
  15804. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_quest_award];
  15805. if (has_packet_id()) {
  15806. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15807. 1, this->packet_id(), output);
  15808. }
  15809. // optional int32 type = 2;
  15810. if (has_type()) {
  15811. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  15812. }
  15813. // optional int32 questId = 3;
  15814. if (has_questid()) {
  15815. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  15816. }
  15817. // optional int32 receiveBit = 4;
  15818. if (has_receivebit()) {
  15819. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->receivebit(), output);
  15820. }
  15821. if (!unknown_fields().empty()) {
  15822. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15823. unknown_fields(), output);
  15824. }
  15825. }
  15826. ::google::protobuf::uint8* packetc2w_recv_wuyi_quest_award::SerializeWithCachedSizesToArray(
  15827. ::google::protobuf::uint8* target) const {
  15828. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_quest_award];
  15829. if (has_packet_id()) {
  15830. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15831. 1, this->packet_id(), target);
  15832. }
  15833. // optional int32 type = 2;
  15834. if (has_type()) {
  15835. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  15836. }
  15837. // optional int32 questId = 3;
  15838. if (has_questid()) {
  15839. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  15840. }
  15841. // optional int32 receiveBit = 4;
  15842. if (has_receivebit()) {
  15843. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->receivebit(), target);
  15844. }
  15845. if (!unknown_fields().empty()) {
  15846. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15847. unknown_fields(), target);
  15848. }
  15849. return target;
  15850. }
  15851. int packetc2w_recv_wuyi_quest_award::ByteSize() const {
  15852. int total_size = 0;
  15853. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15854. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_quest_award];
  15855. if (has_packet_id()) {
  15856. total_size += 1 +
  15857. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15858. }
  15859. // optional int32 type = 2;
  15860. if (has_type()) {
  15861. total_size += 1 +
  15862. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15863. this->type());
  15864. }
  15865. // optional int32 questId = 3;
  15866. if (has_questid()) {
  15867. total_size += 1 +
  15868. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15869. this->questid());
  15870. }
  15871. // optional int32 receiveBit = 4;
  15872. if (has_receivebit()) {
  15873. total_size += 1 +
  15874. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15875. this->receivebit());
  15876. }
  15877. }
  15878. if (!unknown_fields().empty()) {
  15879. total_size +=
  15880. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15881. unknown_fields());
  15882. }
  15883. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15884. _cached_size_ = total_size;
  15885. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15886. return total_size;
  15887. }
  15888. void packetc2w_recv_wuyi_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  15889. GOOGLE_CHECK_NE(&from, this);
  15890. const packetc2w_recv_wuyi_quest_award* source =
  15891. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_wuyi_quest_award*>(
  15892. &from);
  15893. if (source == NULL) {
  15894. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15895. } else {
  15896. MergeFrom(*source);
  15897. }
  15898. }
  15899. void packetc2w_recv_wuyi_quest_award::MergeFrom(const packetc2w_recv_wuyi_quest_award& from) {
  15900. GOOGLE_CHECK_NE(&from, this);
  15901. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15902. if (from.has_packet_id()) {
  15903. set_packet_id(from.packet_id());
  15904. }
  15905. if (from.has_type()) {
  15906. set_type(from.type());
  15907. }
  15908. if (from.has_questid()) {
  15909. set_questid(from.questid());
  15910. }
  15911. if (from.has_receivebit()) {
  15912. set_receivebit(from.receivebit());
  15913. }
  15914. }
  15915. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15916. }
  15917. void packetc2w_recv_wuyi_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  15918. if (&from == this) return;
  15919. Clear();
  15920. MergeFrom(from);
  15921. }
  15922. void packetc2w_recv_wuyi_quest_award::CopyFrom(const packetc2w_recv_wuyi_quest_award& from) {
  15923. if (&from == this) return;
  15924. Clear();
  15925. MergeFrom(from);
  15926. }
  15927. bool packetc2w_recv_wuyi_quest_award::IsInitialized() const {
  15928. return true;
  15929. }
  15930. void packetc2w_recv_wuyi_quest_award::Swap(packetc2w_recv_wuyi_quest_award* other) {
  15931. if (other != this) {
  15932. std::swap(packet_id_, other->packet_id_);
  15933. std::swap(type_, other->type_);
  15934. std::swap(questid_, other->questid_);
  15935. std::swap(receivebit_, other->receivebit_);
  15936. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15937. _unknown_fields_.Swap(&other->_unknown_fields_);
  15938. std::swap(_cached_size_, other->_cached_size_);
  15939. }
  15940. }
  15941. ::google::protobuf::Metadata packetc2w_recv_wuyi_quest_award::GetMetadata() const {
  15942. protobuf_AssignDescriptorsOnce();
  15943. ::google::protobuf::Metadata metadata;
  15944. metadata.descriptor = packetc2w_recv_wuyi_quest_award_descriptor_;
  15945. metadata.reflection = packetc2w_recv_wuyi_quest_award_reflection_;
  15946. return metadata;
  15947. }
  15948. // ===================================================================
  15949. #ifndef _MSC_VER
  15950. const int packetw2c_recv_wuyi_quest_award_result::kPacketIdFieldNumber;
  15951. const int packetw2c_recv_wuyi_quest_award_result::kResultFieldNumber;
  15952. const int packetw2c_recv_wuyi_quest_award_result::kTypeFieldNumber;
  15953. const int packetw2c_recv_wuyi_quest_award_result::kQuestIdFieldNumber;
  15954. const int packetw2c_recv_wuyi_quest_award_result::kReceiveBitFieldNumber;
  15955. const int packetw2c_recv_wuyi_quest_award_result::kItemsFieldNumber;
  15956. #endif // !_MSC_VER
  15957. packetw2c_recv_wuyi_quest_award_result::packetw2c_recv_wuyi_quest_award_result()
  15958. : ::google::protobuf::Message() {
  15959. SharedCtor();
  15960. }
  15961. void packetw2c_recv_wuyi_quest_award_result::InitAsDefaultInstance() {
  15962. }
  15963. packetw2c_recv_wuyi_quest_award_result::packetw2c_recv_wuyi_quest_award_result(const packetw2c_recv_wuyi_quest_award_result& from)
  15964. : ::google::protobuf::Message() {
  15965. SharedCtor();
  15966. MergeFrom(from);
  15967. }
  15968. void packetw2c_recv_wuyi_quest_award_result::SharedCtor() {
  15969. _cached_size_ = 0;
  15970. packet_id_ = 7696;
  15971. result_ = 0;
  15972. type_ = 0;
  15973. questid_ = 0;
  15974. receivebit_ = 0;
  15975. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15976. }
  15977. packetw2c_recv_wuyi_quest_award_result::~packetw2c_recv_wuyi_quest_award_result() {
  15978. SharedDtor();
  15979. }
  15980. void packetw2c_recv_wuyi_quest_award_result::SharedDtor() {
  15981. if (this != default_instance_) {
  15982. }
  15983. }
  15984. void packetw2c_recv_wuyi_quest_award_result::SetCachedSize(int size) const {
  15985. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15986. _cached_size_ = size;
  15987. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15988. }
  15989. const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_quest_award_result::descriptor() {
  15990. protobuf_AssignDescriptorsOnce();
  15991. return packetw2c_recv_wuyi_quest_award_result_descriptor_;
  15992. }
  15993. const packetw2c_recv_wuyi_quest_award_result& packetw2c_recv_wuyi_quest_award_result::default_instance() {
  15994. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  15995. return *default_instance_;
  15996. }
  15997. packetw2c_recv_wuyi_quest_award_result* packetw2c_recv_wuyi_quest_award_result::default_instance_ = NULL;
  15998. packetw2c_recv_wuyi_quest_award_result* packetw2c_recv_wuyi_quest_award_result::New() const {
  15999. return new packetw2c_recv_wuyi_quest_award_result;
  16000. }
  16001. void packetw2c_recv_wuyi_quest_award_result::Clear() {
  16002. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16003. packet_id_ = 7696;
  16004. result_ = 0;
  16005. type_ = 0;
  16006. questid_ = 0;
  16007. receivebit_ = 0;
  16008. }
  16009. items_.Clear();
  16010. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16011. mutable_unknown_fields()->Clear();
  16012. }
  16013. bool packetw2c_recv_wuyi_quest_award_result::MergePartialFromCodedStream(
  16014. ::google::protobuf::io::CodedInputStream* input) {
  16015. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16016. ::google::protobuf::uint32 tag;
  16017. while ((tag = input->ReadTag()) != 0) {
  16018. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16019. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_quest_award_result];
  16020. case 1: {
  16021. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16022. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16023. int value;
  16024. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16025. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16026. input, &value)));
  16027. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  16028. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  16029. } else {
  16030. mutable_unknown_fields()->AddVarint(1, value);
  16031. }
  16032. } else {
  16033. goto handle_uninterpreted;
  16034. }
  16035. if (input->ExpectTag(16)) goto parse_result;
  16036. break;
  16037. }
  16038. // optional int32 result = 2;
  16039. case 2: {
  16040. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16041. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16042. parse_result:
  16043. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16044. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16045. input, &result_)));
  16046. set_has_result();
  16047. } else {
  16048. goto handle_uninterpreted;
  16049. }
  16050. if (input->ExpectTag(24)) goto parse_type;
  16051. break;
  16052. }
  16053. // optional int32 type = 3;
  16054. case 3: {
  16055. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16056. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16057. parse_type:
  16058. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16059. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16060. input, &type_)));
  16061. set_has_type();
  16062. } else {
  16063. goto handle_uninterpreted;
  16064. }
  16065. if (input->ExpectTag(32)) goto parse_questId;
  16066. break;
  16067. }
  16068. // optional int32 questId = 4;
  16069. case 4: {
  16070. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16071. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16072. parse_questId:
  16073. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16074. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16075. input, &questid_)));
  16076. set_has_questid();
  16077. } else {
  16078. goto handle_uninterpreted;
  16079. }
  16080. if (input->ExpectTag(40)) goto parse_receiveBit;
  16081. break;
  16082. }
  16083. // optional int32 receiveBit = 5;
  16084. case 5: {
  16085. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16086. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16087. parse_receiveBit:
  16088. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16089. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16090. input, &receivebit_)));
  16091. set_has_receivebit();
  16092. } else {
  16093. goto handle_uninterpreted;
  16094. }
  16095. if (input->ExpectTag(50)) goto parse_items;
  16096. break;
  16097. }
  16098. // repeated .msg_info_def.ItemInfo items = 6;
  16099. case 6: {
  16100. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16101. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  16102. parse_items:
  16103. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  16104. input, add_items()));
  16105. } else {
  16106. goto handle_uninterpreted;
  16107. }
  16108. if (input->ExpectTag(50)) goto parse_items;
  16109. if (input->ExpectAtEnd()) return true;
  16110. break;
  16111. }
  16112. default: {
  16113. handle_uninterpreted:
  16114. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16115. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16116. return true;
  16117. }
  16118. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16119. input, tag, mutable_unknown_fields()));
  16120. break;
  16121. }
  16122. }
  16123. }
  16124. return true;
  16125. #undef DO_
  16126. }
  16127. void packetw2c_recv_wuyi_quest_award_result::SerializeWithCachedSizes(
  16128. ::google::protobuf::io::CodedOutputStream* output) const {
  16129. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_quest_award_result];
  16130. if (has_packet_id()) {
  16131. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16132. 1, this->packet_id(), output);
  16133. }
  16134. // optional int32 result = 2;
  16135. if (has_result()) {
  16136. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  16137. }
  16138. // optional int32 type = 3;
  16139. if (has_type()) {
  16140. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  16141. }
  16142. // optional int32 questId = 4;
  16143. if (has_questid()) {
  16144. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->questid(), output);
  16145. }
  16146. // optional int32 receiveBit = 5;
  16147. if (has_receivebit()) {
  16148. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->receivebit(), output);
  16149. }
  16150. // repeated .msg_info_def.ItemInfo items = 6;
  16151. for (int i = 0; i < this->items_size(); i++) {
  16152. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  16153. 6, this->items(i), output);
  16154. }
  16155. if (!unknown_fields().empty()) {
  16156. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16157. unknown_fields(), output);
  16158. }
  16159. }
  16160. ::google::protobuf::uint8* packetw2c_recv_wuyi_quest_award_result::SerializeWithCachedSizesToArray(
  16161. ::google::protobuf::uint8* target) const {
  16162. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_quest_award_result];
  16163. if (has_packet_id()) {
  16164. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16165. 1, this->packet_id(), target);
  16166. }
  16167. // optional int32 result = 2;
  16168. if (has_result()) {
  16169. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  16170. }
  16171. // optional int32 type = 3;
  16172. if (has_type()) {
  16173. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  16174. }
  16175. // optional int32 questId = 4;
  16176. if (has_questid()) {
  16177. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->questid(), target);
  16178. }
  16179. // optional int32 receiveBit = 5;
  16180. if (has_receivebit()) {
  16181. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->receivebit(), target);
  16182. }
  16183. // repeated .msg_info_def.ItemInfo items = 6;
  16184. for (int i = 0; i < this->items_size(); i++) {
  16185. target = ::google::protobuf::internal::WireFormatLite::
  16186. WriteMessageNoVirtualToArray(
  16187. 6, this->items(i), target);
  16188. }
  16189. if (!unknown_fields().empty()) {
  16190. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16191. unknown_fields(), target);
  16192. }
  16193. return target;
  16194. }
  16195. int packetw2c_recv_wuyi_quest_award_result::ByteSize() const {
  16196. int total_size = 0;
  16197. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16198. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_quest_award_result];
  16199. if (has_packet_id()) {
  16200. total_size += 1 +
  16201. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16202. }
  16203. // optional int32 result = 2;
  16204. if (has_result()) {
  16205. total_size += 1 +
  16206. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16207. this->result());
  16208. }
  16209. // optional int32 type = 3;
  16210. if (has_type()) {
  16211. total_size += 1 +
  16212. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16213. this->type());
  16214. }
  16215. // optional int32 questId = 4;
  16216. if (has_questid()) {
  16217. total_size += 1 +
  16218. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16219. this->questid());
  16220. }
  16221. // optional int32 receiveBit = 5;
  16222. if (has_receivebit()) {
  16223. total_size += 1 +
  16224. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16225. this->receivebit());
  16226. }
  16227. }
  16228. // repeated .msg_info_def.ItemInfo items = 6;
  16229. total_size += 1 * this->items_size();
  16230. for (int i = 0; i < this->items_size(); i++) {
  16231. total_size +=
  16232. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  16233. this->items(i));
  16234. }
  16235. if (!unknown_fields().empty()) {
  16236. total_size +=
  16237. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16238. unknown_fields());
  16239. }
  16240. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16241. _cached_size_ = total_size;
  16242. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16243. return total_size;
  16244. }
  16245. void packetw2c_recv_wuyi_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  16246. GOOGLE_CHECK_NE(&from, this);
  16247. const packetw2c_recv_wuyi_quest_award_result* source =
  16248. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_wuyi_quest_award_result*>(
  16249. &from);
  16250. if (source == NULL) {
  16251. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16252. } else {
  16253. MergeFrom(*source);
  16254. }
  16255. }
  16256. void packetw2c_recv_wuyi_quest_award_result::MergeFrom(const packetw2c_recv_wuyi_quest_award_result& from) {
  16257. GOOGLE_CHECK_NE(&from, this);
  16258. items_.MergeFrom(from.items_);
  16259. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16260. if (from.has_packet_id()) {
  16261. set_packet_id(from.packet_id());
  16262. }
  16263. if (from.has_result()) {
  16264. set_result(from.result());
  16265. }
  16266. if (from.has_type()) {
  16267. set_type(from.type());
  16268. }
  16269. if (from.has_questid()) {
  16270. set_questid(from.questid());
  16271. }
  16272. if (from.has_receivebit()) {
  16273. set_receivebit(from.receivebit());
  16274. }
  16275. }
  16276. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16277. }
  16278. void packetw2c_recv_wuyi_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  16279. if (&from == this) return;
  16280. Clear();
  16281. MergeFrom(from);
  16282. }
  16283. void packetw2c_recv_wuyi_quest_award_result::CopyFrom(const packetw2c_recv_wuyi_quest_award_result& from) {
  16284. if (&from == this) return;
  16285. Clear();
  16286. MergeFrom(from);
  16287. }
  16288. bool packetw2c_recv_wuyi_quest_award_result::IsInitialized() const {
  16289. return true;
  16290. }
  16291. void packetw2c_recv_wuyi_quest_award_result::Swap(packetw2c_recv_wuyi_quest_award_result* other) {
  16292. if (other != this) {
  16293. std::swap(packet_id_, other->packet_id_);
  16294. std::swap(result_, other->result_);
  16295. std::swap(type_, other->type_);
  16296. std::swap(questid_, other->questid_);
  16297. std::swap(receivebit_, other->receivebit_);
  16298. items_.Swap(&other->items_);
  16299. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16300. _unknown_fields_.Swap(&other->_unknown_fields_);
  16301. std::swap(_cached_size_, other->_cached_size_);
  16302. }
  16303. }
  16304. ::google::protobuf::Metadata packetw2c_recv_wuyi_quest_award_result::GetMetadata() const {
  16305. protobuf_AssignDescriptorsOnce();
  16306. ::google::protobuf::Metadata metadata;
  16307. metadata.descriptor = packetw2c_recv_wuyi_quest_award_result_descriptor_;
  16308. metadata.reflection = packetw2c_recv_wuyi_quest_award_result_reflection_;
  16309. return metadata;
  16310. }
  16311. // ===================================================================
  16312. #ifndef _MSC_VER
  16313. const int packetc2w_recv_wuyi_handbooks_gold::kPacketIdFieldNumber;
  16314. const int packetc2w_recv_wuyi_handbooks_gold::kHandbooksIdFieldNumber;
  16315. #endif // !_MSC_VER
  16316. packetc2w_recv_wuyi_handbooks_gold::packetc2w_recv_wuyi_handbooks_gold()
  16317. : ::google::protobuf::Message() {
  16318. SharedCtor();
  16319. }
  16320. void packetc2w_recv_wuyi_handbooks_gold::InitAsDefaultInstance() {
  16321. }
  16322. packetc2w_recv_wuyi_handbooks_gold::packetc2w_recv_wuyi_handbooks_gold(const packetc2w_recv_wuyi_handbooks_gold& from)
  16323. : ::google::protobuf::Message() {
  16324. SharedCtor();
  16325. MergeFrom(from);
  16326. }
  16327. void packetc2w_recv_wuyi_handbooks_gold::SharedCtor() {
  16328. _cached_size_ = 0;
  16329. packet_id_ = 5178;
  16330. handbooksid_ = 0;
  16331. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16332. }
  16333. packetc2w_recv_wuyi_handbooks_gold::~packetc2w_recv_wuyi_handbooks_gold() {
  16334. SharedDtor();
  16335. }
  16336. void packetc2w_recv_wuyi_handbooks_gold::SharedDtor() {
  16337. if (this != default_instance_) {
  16338. }
  16339. }
  16340. void packetc2w_recv_wuyi_handbooks_gold::SetCachedSize(int size) const {
  16341. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16342. _cached_size_ = size;
  16343. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16344. }
  16345. const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_handbooks_gold::descriptor() {
  16346. protobuf_AssignDescriptorsOnce();
  16347. return packetc2w_recv_wuyi_handbooks_gold_descriptor_;
  16348. }
  16349. const packetc2w_recv_wuyi_handbooks_gold& packetc2w_recv_wuyi_handbooks_gold::default_instance() {
  16350. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  16351. return *default_instance_;
  16352. }
  16353. packetc2w_recv_wuyi_handbooks_gold* packetc2w_recv_wuyi_handbooks_gold::default_instance_ = NULL;
  16354. packetc2w_recv_wuyi_handbooks_gold* packetc2w_recv_wuyi_handbooks_gold::New() const {
  16355. return new packetc2w_recv_wuyi_handbooks_gold;
  16356. }
  16357. void packetc2w_recv_wuyi_handbooks_gold::Clear() {
  16358. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16359. packet_id_ = 5178;
  16360. handbooksid_ = 0;
  16361. }
  16362. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16363. mutable_unknown_fields()->Clear();
  16364. }
  16365. bool packetc2w_recv_wuyi_handbooks_gold::MergePartialFromCodedStream(
  16366. ::google::protobuf::io::CodedInputStream* input) {
  16367. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16368. ::google::protobuf::uint32 tag;
  16369. while ((tag = input->ReadTag()) != 0) {
  16370. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16371. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_gold];
  16372. case 1: {
  16373. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16374. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16375. int value;
  16376. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16377. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16378. input, &value)));
  16379. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  16380. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  16381. } else {
  16382. mutable_unknown_fields()->AddVarint(1, value);
  16383. }
  16384. } else {
  16385. goto handle_uninterpreted;
  16386. }
  16387. if (input->ExpectTag(16)) goto parse_handbooksId;
  16388. break;
  16389. }
  16390. // optional int32 handbooksId = 2;
  16391. case 2: {
  16392. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16393. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16394. parse_handbooksId:
  16395. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16396. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16397. input, &handbooksid_)));
  16398. set_has_handbooksid();
  16399. } else {
  16400. goto handle_uninterpreted;
  16401. }
  16402. if (input->ExpectAtEnd()) return true;
  16403. break;
  16404. }
  16405. default: {
  16406. handle_uninterpreted:
  16407. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16408. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16409. return true;
  16410. }
  16411. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16412. input, tag, mutable_unknown_fields()));
  16413. break;
  16414. }
  16415. }
  16416. }
  16417. return true;
  16418. #undef DO_
  16419. }
  16420. void packetc2w_recv_wuyi_handbooks_gold::SerializeWithCachedSizes(
  16421. ::google::protobuf::io::CodedOutputStream* output) const {
  16422. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_gold];
  16423. if (has_packet_id()) {
  16424. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16425. 1, this->packet_id(), output);
  16426. }
  16427. // optional int32 handbooksId = 2;
  16428. if (has_handbooksid()) {
  16429. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  16430. }
  16431. if (!unknown_fields().empty()) {
  16432. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16433. unknown_fields(), output);
  16434. }
  16435. }
  16436. ::google::protobuf::uint8* packetc2w_recv_wuyi_handbooks_gold::SerializeWithCachedSizesToArray(
  16437. ::google::protobuf::uint8* target) const {
  16438. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_gold];
  16439. if (has_packet_id()) {
  16440. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16441. 1, this->packet_id(), target);
  16442. }
  16443. // optional int32 handbooksId = 2;
  16444. if (has_handbooksid()) {
  16445. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  16446. }
  16447. if (!unknown_fields().empty()) {
  16448. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16449. unknown_fields(), target);
  16450. }
  16451. return target;
  16452. }
  16453. int packetc2w_recv_wuyi_handbooks_gold::ByteSize() const {
  16454. int total_size = 0;
  16455. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16456. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_gold];
  16457. if (has_packet_id()) {
  16458. total_size += 1 +
  16459. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16460. }
  16461. // optional int32 handbooksId = 2;
  16462. if (has_handbooksid()) {
  16463. total_size += 1 +
  16464. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16465. this->handbooksid());
  16466. }
  16467. }
  16468. if (!unknown_fields().empty()) {
  16469. total_size +=
  16470. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16471. unknown_fields());
  16472. }
  16473. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16474. _cached_size_ = total_size;
  16475. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16476. return total_size;
  16477. }
  16478. void packetc2w_recv_wuyi_handbooks_gold::MergeFrom(const ::google::protobuf::Message& from) {
  16479. GOOGLE_CHECK_NE(&from, this);
  16480. const packetc2w_recv_wuyi_handbooks_gold* source =
  16481. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_wuyi_handbooks_gold*>(
  16482. &from);
  16483. if (source == NULL) {
  16484. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16485. } else {
  16486. MergeFrom(*source);
  16487. }
  16488. }
  16489. void packetc2w_recv_wuyi_handbooks_gold::MergeFrom(const packetc2w_recv_wuyi_handbooks_gold& from) {
  16490. GOOGLE_CHECK_NE(&from, this);
  16491. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16492. if (from.has_packet_id()) {
  16493. set_packet_id(from.packet_id());
  16494. }
  16495. if (from.has_handbooksid()) {
  16496. set_handbooksid(from.handbooksid());
  16497. }
  16498. }
  16499. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16500. }
  16501. void packetc2w_recv_wuyi_handbooks_gold::CopyFrom(const ::google::protobuf::Message& from) {
  16502. if (&from == this) return;
  16503. Clear();
  16504. MergeFrom(from);
  16505. }
  16506. void packetc2w_recv_wuyi_handbooks_gold::CopyFrom(const packetc2w_recv_wuyi_handbooks_gold& from) {
  16507. if (&from == this) return;
  16508. Clear();
  16509. MergeFrom(from);
  16510. }
  16511. bool packetc2w_recv_wuyi_handbooks_gold::IsInitialized() const {
  16512. return true;
  16513. }
  16514. void packetc2w_recv_wuyi_handbooks_gold::Swap(packetc2w_recv_wuyi_handbooks_gold* other) {
  16515. if (other != this) {
  16516. std::swap(packet_id_, other->packet_id_);
  16517. std::swap(handbooksid_, other->handbooksid_);
  16518. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16519. _unknown_fields_.Swap(&other->_unknown_fields_);
  16520. std::swap(_cached_size_, other->_cached_size_);
  16521. }
  16522. }
  16523. ::google::protobuf::Metadata packetc2w_recv_wuyi_handbooks_gold::GetMetadata() const {
  16524. protobuf_AssignDescriptorsOnce();
  16525. ::google::protobuf::Metadata metadata;
  16526. metadata.descriptor = packetc2w_recv_wuyi_handbooks_gold_descriptor_;
  16527. metadata.reflection = packetc2w_recv_wuyi_handbooks_gold_reflection_;
  16528. return metadata;
  16529. }
  16530. // ===================================================================
  16531. #ifndef _MSC_VER
  16532. const int packetw2c_recv_wuyi_handbooks_gold_result::kPacketIdFieldNumber;
  16533. const int packetw2c_recv_wuyi_handbooks_gold_result::kHandbooksIdFieldNumber;
  16534. const int packetw2c_recv_wuyi_handbooks_gold_result::kResultFieldNumber;
  16535. #endif // !_MSC_VER
  16536. packetw2c_recv_wuyi_handbooks_gold_result::packetw2c_recv_wuyi_handbooks_gold_result()
  16537. : ::google::protobuf::Message() {
  16538. SharedCtor();
  16539. }
  16540. void packetw2c_recv_wuyi_handbooks_gold_result::InitAsDefaultInstance() {
  16541. }
  16542. packetw2c_recv_wuyi_handbooks_gold_result::packetw2c_recv_wuyi_handbooks_gold_result(const packetw2c_recv_wuyi_handbooks_gold_result& from)
  16543. : ::google::protobuf::Message() {
  16544. SharedCtor();
  16545. MergeFrom(from);
  16546. }
  16547. void packetw2c_recv_wuyi_handbooks_gold_result::SharedCtor() {
  16548. _cached_size_ = 0;
  16549. packet_id_ = 7698;
  16550. handbooksid_ = 0;
  16551. result_ = 0;
  16552. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16553. }
  16554. packetw2c_recv_wuyi_handbooks_gold_result::~packetw2c_recv_wuyi_handbooks_gold_result() {
  16555. SharedDtor();
  16556. }
  16557. void packetw2c_recv_wuyi_handbooks_gold_result::SharedDtor() {
  16558. if (this != default_instance_) {
  16559. }
  16560. }
  16561. void packetw2c_recv_wuyi_handbooks_gold_result::SetCachedSize(int size) const {
  16562. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16563. _cached_size_ = size;
  16564. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16565. }
  16566. const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_handbooks_gold_result::descriptor() {
  16567. protobuf_AssignDescriptorsOnce();
  16568. return packetw2c_recv_wuyi_handbooks_gold_result_descriptor_;
  16569. }
  16570. const packetw2c_recv_wuyi_handbooks_gold_result& packetw2c_recv_wuyi_handbooks_gold_result::default_instance() {
  16571. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  16572. return *default_instance_;
  16573. }
  16574. packetw2c_recv_wuyi_handbooks_gold_result* packetw2c_recv_wuyi_handbooks_gold_result::default_instance_ = NULL;
  16575. packetw2c_recv_wuyi_handbooks_gold_result* packetw2c_recv_wuyi_handbooks_gold_result::New() const {
  16576. return new packetw2c_recv_wuyi_handbooks_gold_result;
  16577. }
  16578. void packetw2c_recv_wuyi_handbooks_gold_result::Clear() {
  16579. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16580. packet_id_ = 7698;
  16581. handbooksid_ = 0;
  16582. result_ = 0;
  16583. }
  16584. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16585. mutable_unknown_fields()->Clear();
  16586. }
  16587. bool packetw2c_recv_wuyi_handbooks_gold_result::MergePartialFromCodedStream(
  16588. ::google::protobuf::io::CodedInputStream* input) {
  16589. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16590. ::google::protobuf::uint32 tag;
  16591. while ((tag = input->ReadTag()) != 0) {
  16592. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16593. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_gold_result];
  16594. case 1: {
  16595. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16596. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16597. int value;
  16598. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16599. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16600. input, &value)));
  16601. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  16602. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  16603. } else {
  16604. mutable_unknown_fields()->AddVarint(1, value);
  16605. }
  16606. } else {
  16607. goto handle_uninterpreted;
  16608. }
  16609. if (input->ExpectTag(16)) goto parse_handbooksId;
  16610. break;
  16611. }
  16612. // optional int32 handbooksId = 2;
  16613. case 2: {
  16614. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16615. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16616. parse_handbooksId:
  16617. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16618. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16619. input, &handbooksid_)));
  16620. set_has_handbooksid();
  16621. } else {
  16622. goto handle_uninterpreted;
  16623. }
  16624. if (input->ExpectTag(24)) goto parse_result;
  16625. break;
  16626. }
  16627. // optional int32 result = 3;
  16628. case 3: {
  16629. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16630. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16631. parse_result:
  16632. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16633. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16634. input, &result_)));
  16635. set_has_result();
  16636. } else {
  16637. goto handle_uninterpreted;
  16638. }
  16639. if (input->ExpectAtEnd()) return true;
  16640. break;
  16641. }
  16642. default: {
  16643. handle_uninterpreted:
  16644. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16645. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16646. return true;
  16647. }
  16648. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16649. input, tag, mutable_unknown_fields()));
  16650. break;
  16651. }
  16652. }
  16653. }
  16654. return true;
  16655. #undef DO_
  16656. }
  16657. void packetw2c_recv_wuyi_handbooks_gold_result::SerializeWithCachedSizes(
  16658. ::google::protobuf::io::CodedOutputStream* output) const {
  16659. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_gold_result];
  16660. if (has_packet_id()) {
  16661. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16662. 1, this->packet_id(), output);
  16663. }
  16664. // optional int32 handbooksId = 2;
  16665. if (has_handbooksid()) {
  16666. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  16667. }
  16668. // optional int32 result = 3;
  16669. if (has_result()) {
  16670. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  16671. }
  16672. if (!unknown_fields().empty()) {
  16673. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16674. unknown_fields(), output);
  16675. }
  16676. }
  16677. ::google::protobuf::uint8* packetw2c_recv_wuyi_handbooks_gold_result::SerializeWithCachedSizesToArray(
  16678. ::google::protobuf::uint8* target) const {
  16679. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_gold_result];
  16680. if (has_packet_id()) {
  16681. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16682. 1, this->packet_id(), target);
  16683. }
  16684. // optional int32 handbooksId = 2;
  16685. if (has_handbooksid()) {
  16686. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  16687. }
  16688. // optional int32 result = 3;
  16689. if (has_result()) {
  16690. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  16691. }
  16692. if (!unknown_fields().empty()) {
  16693. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16694. unknown_fields(), target);
  16695. }
  16696. return target;
  16697. }
  16698. int packetw2c_recv_wuyi_handbooks_gold_result::ByteSize() const {
  16699. int total_size = 0;
  16700. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16701. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_gold_result];
  16702. if (has_packet_id()) {
  16703. total_size += 1 +
  16704. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16705. }
  16706. // optional int32 handbooksId = 2;
  16707. if (has_handbooksid()) {
  16708. total_size += 1 +
  16709. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16710. this->handbooksid());
  16711. }
  16712. // optional int32 result = 3;
  16713. if (has_result()) {
  16714. total_size += 1 +
  16715. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16716. this->result());
  16717. }
  16718. }
  16719. if (!unknown_fields().empty()) {
  16720. total_size +=
  16721. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16722. unknown_fields());
  16723. }
  16724. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16725. _cached_size_ = total_size;
  16726. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16727. return total_size;
  16728. }
  16729. void packetw2c_recv_wuyi_handbooks_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  16730. GOOGLE_CHECK_NE(&from, this);
  16731. const packetw2c_recv_wuyi_handbooks_gold_result* source =
  16732. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_wuyi_handbooks_gold_result*>(
  16733. &from);
  16734. if (source == NULL) {
  16735. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16736. } else {
  16737. MergeFrom(*source);
  16738. }
  16739. }
  16740. void packetw2c_recv_wuyi_handbooks_gold_result::MergeFrom(const packetw2c_recv_wuyi_handbooks_gold_result& from) {
  16741. GOOGLE_CHECK_NE(&from, this);
  16742. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16743. if (from.has_packet_id()) {
  16744. set_packet_id(from.packet_id());
  16745. }
  16746. if (from.has_handbooksid()) {
  16747. set_handbooksid(from.handbooksid());
  16748. }
  16749. if (from.has_result()) {
  16750. set_result(from.result());
  16751. }
  16752. }
  16753. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16754. }
  16755. void packetw2c_recv_wuyi_handbooks_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  16756. if (&from == this) return;
  16757. Clear();
  16758. MergeFrom(from);
  16759. }
  16760. void packetw2c_recv_wuyi_handbooks_gold_result::CopyFrom(const packetw2c_recv_wuyi_handbooks_gold_result& from) {
  16761. if (&from == this) return;
  16762. Clear();
  16763. MergeFrom(from);
  16764. }
  16765. bool packetw2c_recv_wuyi_handbooks_gold_result::IsInitialized() const {
  16766. return true;
  16767. }
  16768. void packetw2c_recv_wuyi_handbooks_gold_result::Swap(packetw2c_recv_wuyi_handbooks_gold_result* other) {
  16769. if (other != this) {
  16770. std::swap(packet_id_, other->packet_id_);
  16771. std::swap(handbooksid_, other->handbooksid_);
  16772. std::swap(result_, other->result_);
  16773. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16774. _unknown_fields_.Swap(&other->_unknown_fields_);
  16775. std::swap(_cached_size_, other->_cached_size_);
  16776. }
  16777. }
  16778. ::google::protobuf::Metadata packetw2c_recv_wuyi_handbooks_gold_result::GetMetadata() const {
  16779. protobuf_AssignDescriptorsOnce();
  16780. ::google::protobuf::Metadata metadata;
  16781. metadata.descriptor = packetw2c_recv_wuyi_handbooks_gold_result_descriptor_;
  16782. metadata.reflection = packetw2c_recv_wuyi_handbooks_gold_result_reflection_;
  16783. return metadata;
  16784. }
  16785. // ===================================================================
  16786. #ifndef _MSC_VER
  16787. const int packetc2w_recv_wuyi_handbooks_award::kPacketIdFieldNumber;
  16788. const int packetc2w_recv_wuyi_handbooks_award::kTypeFieldNumber;
  16789. #endif // !_MSC_VER
  16790. packetc2w_recv_wuyi_handbooks_award::packetc2w_recv_wuyi_handbooks_award()
  16791. : ::google::protobuf::Message() {
  16792. SharedCtor();
  16793. }
  16794. void packetc2w_recv_wuyi_handbooks_award::InitAsDefaultInstance() {
  16795. }
  16796. packetc2w_recv_wuyi_handbooks_award::packetc2w_recv_wuyi_handbooks_award(const packetc2w_recv_wuyi_handbooks_award& from)
  16797. : ::google::protobuf::Message() {
  16798. SharedCtor();
  16799. MergeFrom(from);
  16800. }
  16801. void packetc2w_recv_wuyi_handbooks_award::SharedCtor() {
  16802. _cached_size_ = 0;
  16803. packet_id_ = 5177;
  16804. type_ = 0;
  16805. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16806. }
  16807. packetc2w_recv_wuyi_handbooks_award::~packetc2w_recv_wuyi_handbooks_award() {
  16808. SharedDtor();
  16809. }
  16810. void packetc2w_recv_wuyi_handbooks_award::SharedDtor() {
  16811. if (this != default_instance_) {
  16812. }
  16813. }
  16814. void packetc2w_recv_wuyi_handbooks_award::SetCachedSize(int size) const {
  16815. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16816. _cached_size_ = size;
  16817. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16818. }
  16819. const ::google::protobuf::Descriptor* packetc2w_recv_wuyi_handbooks_award::descriptor() {
  16820. protobuf_AssignDescriptorsOnce();
  16821. return packetc2w_recv_wuyi_handbooks_award_descriptor_;
  16822. }
  16823. const packetc2w_recv_wuyi_handbooks_award& packetc2w_recv_wuyi_handbooks_award::default_instance() {
  16824. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  16825. return *default_instance_;
  16826. }
  16827. packetc2w_recv_wuyi_handbooks_award* packetc2w_recv_wuyi_handbooks_award::default_instance_ = NULL;
  16828. packetc2w_recv_wuyi_handbooks_award* packetc2w_recv_wuyi_handbooks_award::New() const {
  16829. return new packetc2w_recv_wuyi_handbooks_award;
  16830. }
  16831. void packetc2w_recv_wuyi_handbooks_award::Clear() {
  16832. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16833. packet_id_ = 5177;
  16834. type_ = 0;
  16835. }
  16836. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16837. mutable_unknown_fields()->Clear();
  16838. }
  16839. bool packetc2w_recv_wuyi_handbooks_award::MergePartialFromCodedStream(
  16840. ::google::protobuf::io::CodedInputStream* input) {
  16841. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16842. ::google::protobuf::uint32 tag;
  16843. while ((tag = input->ReadTag()) != 0) {
  16844. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16845. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_award];
  16846. case 1: {
  16847. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16848. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16849. int value;
  16850. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16851. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16852. input, &value)));
  16853. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  16854. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  16855. } else {
  16856. mutable_unknown_fields()->AddVarint(1, value);
  16857. }
  16858. } else {
  16859. goto handle_uninterpreted;
  16860. }
  16861. if (input->ExpectTag(16)) goto parse_type;
  16862. break;
  16863. }
  16864. // optional int32 type = 2;
  16865. case 2: {
  16866. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16867. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16868. parse_type:
  16869. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16870. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16871. input, &type_)));
  16872. set_has_type();
  16873. } else {
  16874. goto handle_uninterpreted;
  16875. }
  16876. if (input->ExpectAtEnd()) return true;
  16877. break;
  16878. }
  16879. default: {
  16880. handle_uninterpreted:
  16881. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16882. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16883. return true;
  16884. }
  16885. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16886. input, tag, mutable_unknown_fields()));
  16887. break;
  16888. }
  16889. }
  16890. }
  16891. return true;
  16892. #undef DO_
  16893. }
  16894. void packetc2w_recv_wuyi_handbooks_award::SerializeWithCachedSizes(
  16895. ::google::protobuf::io::CodedOutputStream* output) const {
  16896. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_award];
  16897. if (has_packet_id()) {
  16898. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16899. 1, this->packet_id(), output);
  16900. }
  16901. // optional int32 type = 2;
  16902. if (has_type()) {
  16903. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  16904. }
  16905. if (!unknown_fields().empty()) {
  16906. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16907. unknown_fields(), output);
  16908. }
  16909. }
  16910. ::google::protobuf::uint8* packetc2w_recv_wuyi_handbooks_award::SerializeWithCachedSizesToArray(
  16911. ::google::protobuf::uint8* target) const {
  16912. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_award];
  16913. if (has_packet_id()) {
  16914. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16915. 1, this->packet_id(), target);
  16916. }
  16917. // optional int32 type = 2;
  16918. if (has_type()) {
  16919. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  16920. }
  16921. if (!unknown_fields().empty()) {
  16922. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16923. unknown_fields(), target);
  16924. }
  16925. return target;
  16926. }
  16927. int packetc2w_recv_wuyi_handbooks_award::ByteSize() const {
  16928. int total_size = 0;
  16929. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16930. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_award];
  16931. if (has_packet_id()) {
  16932. total_size += 1 +
  16933. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16934. }
  16935. // optional int32 type = 2;
  16936. if (has_type()) {
  16937. total_size += 1 +
  16938. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16939. this->type());
  16940. }
  16941. }
  16942. if (!unknown_fields().empty()) {
  16943. total_size +=
  16944. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16945. unknown_fields());
  16946. }
  16947. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16948. _cached_size_ = total_size;
  16949. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16950. return total_size;
  16951. }
  16952. void packetc2w_recv_wuyi_handbooks_award::MergeFrom(const ::google::protobuf::Message& from) {
  16953. GOOGLE_CHECK_NE(&from, this);
  16954. const packetc2w_recv_wuyi_handbooks_award* source =
  16955. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_wuyi_handbooks_award*>(
  16956. &from);
  16957. if (source == NULL) {
  16958. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16959. } else {
  16960. MergeFrom(*source);
  16961. }
  16962. }
  16963. void packetc2w_recv_wuyi_handbooks_award::MergeFrom(const packetc2w_recv_wuyi_handbooks_award& from) {
  16964. GOOGLE_CHECK_NE(&from, this);
  16965. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16966. if (from.has_packet_id()) {
  16967. set_packet_id(from.packet_id());
  16968. }
  16969. if (from.has_type()) {
  16970. set_type(from.type());
  16971. }
  16972. }
  16973. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16974. }
  16975. void packetc2w_recv_wuyi_handbooks_award::CopyFrom(const ::google::protobuf::Message& from) {
  16976. if (&from == this) return;
  16977. Clear();
  16978. MergeFrom(from);
  16979. }
  16980. void packetc2w_recv_wuyi_handbooks_award::CopyFrom(const packetc2w_recv_wuyi_handbooks_award& from) {
  16981. if (&from == this) return;
  16982. Clear();
  16983. MergeFrom(from);
  16984. }
  16985. bool packetc2w_recv_wuyi_handbooks_award::IsInitialized() const {
  16986. return true;
  16987. }
  16988. void packetc2w_recv_wuyi_handbooks_award::Swap(packetc2w_recv_wuyi_handbooks_award* other) {
  16989. if (other != this) {
  16990. std::swap(packet_id_, other->packet_id_);
  16991. std::swap(type_, other->type_);
  16992. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16993. _unknown_fields_.Swap(&other->_unknown_fields_);
  16994. std::swap(_cached_size_, other->_cached_size_);
  16995. }
  16996. }
  16997. ::google::protobuf::Metadata packetc2w_recv_wuyi_handbooks_award::GetMetadata() const {
  16998. protobuf_AssignDescriptorsOnce();
  16999. ::google::protobuf::Metadata metadata;
  17000. metadata.descriptor = packetc2w_recv_wuyi_handbooks_award_descriptor_;
  17001. metadata.reflection = packetc2w_recv_wuyi_handbooks_award_reflection_;
  17002. return metadata;
  17003. }
  17004. // ===================================================================
  17005. #ifndef _MSC_VER
  17006. const int packetw2c_recv_wuyi_handbooks_award_result::kPacketIdFieldNumber;
  17007. const int packetw2c_recv_wuyi_handbooks_award_result::kResultFieldNumber;
  17008. const int packetw2c_recv_wuyi_handbooks_award_result::kTypelistFieldNumber;
  17009. const int packetw2c_recv_wuyi_handbooks_award_result::kHandbooksGoldFieldNumber;
  17010. #endif // !_MSC_VER
  17011. packetw2c_recv_wuyi_handbooks_award_result::packetw2c_recv_wuyi_handbooks_award_result()
  17012. : ::google::protobuf::Message() {
  17013. SharedCtor();
  17014. }
  17015. void packetw2c_recv_wuyi_handbooks_award_result::InitAsDefaultInstance() {
  17016. }
  17017. packetw2c_recv_wuyi_handbooks_award_result::packetw2c_recv_wuyi_handbooks_award_result(const packetw2c_recv_wuyi_handbooks_award_result& from)
  17018. : ::google::protobuf::Message() {
  17019. SharedCtor();
  17020. MergeFrom(from);
  17021. }
  17022. void packetw2c_recv_wuyi_handbooks_award_result::SharedCtor() {
  17023. _cached_size_ = 0;
  17024. packet_id_ = 7697;
  17025. result_ = 0;
  17026. handbooksgold_ = 0;
  17027. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17028. }
  17029. packetw2c_recv_wuyi_handbooks_award_result::~packetw2c_recv_wuyi_handbooks_award_result() {
  17030. SharedDtor();
  17031. }
  17032. void packetw2c_recv_wuyi_handbooks_award_result::SharedDtor() {
  17033. if (this != default_instance_) {
  17034. }
  17035. }
  17036. void packetw2c_recv_wuyi_handbooks_award_result::SetCachedSize(int size) const {
  17037. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17038. _cached_size_ = size;
  17039. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17040. }
  17041. const ::google::protobuf::Descriptor* packetw2c_recv_wuyi_handbooks_award_result::descriptor() {
  17042. protobuf_AssignDescriptorsOnce();
  17043. return packetw2c_recv_wuyi_handbooks_award_result_descriptor_;
  17044. }
  17045. const packetw2c_recv_wuyi_handbooks_award_result& packetw2c_recv_wuyi_handbooks_award_result::default_instance() {
  17046. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  17047. return *default_instance_;
  17048. }
  17049. packetw2c_recv_wuyi_handbooks_award_result* packetw2c_recv_wuyi_handbooks_award_result::default_instance_ = NULL;
  17050. packetw2c_recv_wuyi_handbooks_award_result* packetw2c_recv_wuyi_handbooks_award_result::New() const {
  17051. return new packetw2c_recv_wuyi_handbooks_award_result;
  17052. }
  17053. void packetw2c_recv_wuyi_handbooks_award_result::Clear() {
  17054. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17055. packet_id_ = 7697;
  17056. result_ = 0;
  17057. handbooksgold_ = 0;
  17058. }
  17059. typelist_.Clear();
  17060. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17061. mutable_unknown_fields()->Clear();
  17062. }
  17063. bool packetw2c_recv_wuyi_handbooks_award_result::MergePartialFromCodedStream(
  17064. ::google::protobuf::io::CodedInputStream* input) {
  17065. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17066. ::google::protobuf::uint32 tag;
  17067. while ((tag = input->ReadTag()) != 0) {
  17068. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17069. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_award_result];
  17070. case 1: {
  17071. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17072. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17073. int value;
  17074. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17075. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17076. input, &value)));
  17077. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  17078. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  17079. } else {
  17080. mutable_unknown_fields()->AddVarint(1, value);
  17081. }
  17082. } else {
  17083. goto handle_uninterpreted;
  17084. }
  17085. if (input->ExpectTag(16)) goto parse_result;
  17086. break;
  17087. }
  17088. // optional int32 result = 2;
  17089. case 2: {
  17090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17092. parse_result:
  17093. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17094. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17095. input, &result_)));
  17096. set_has_result();
  17097. } else {
  17098. goto handle_uninterpreted;
  17099. }
  17100. if (input->ExpectTag(24)) goto parse_typelist;
  17101. break;
  17102. }
  17103. // repeated int32 typelist = 3;
  17104. case 3: {
  17105. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17106. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17107. parse_typelist:
  17108. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  17109. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17110. 1, 24, input, this->mutable_typelist())));
  17111. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  17112. == ::google::protobuf::internal::WireFormatLite::
  17113. WIRETYPE_LENGTH_DELIMITED) {
  17114. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  17115. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17116. input, this->mutable_typelist())));
  17117. } else {
  17118. goto handle_uninterpreted;
  17119. }
  17120. if (input->ExpectTag(24)) goto parse_typelist;
  17121. if (input->ExpectTag(32)) goto parse_handbooksGold;
  17122. break;
  17123. }
  17124. // optional int32 handbooksGold = 4;
  17125. case 4: {
  17126. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17127. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17128. parse_handbooksGold:
  17129. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17130. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17131. input, &handbooksgold_)));
  17132. set_has_handbooksgold();
  17133. } else {
  17134. goto handle_uninterpreted;
  17135. }
  17136. if (input->ExpectAtEnd()) return true;
  17137. break;
  17138. }
  17139. default: {
  17140. handle_uninterpreted:
  17141. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17142. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17143. return true;
  17144. }
  17145. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17146. input, tag, mutable_unknown_fields()));
  17147. break;
  17148. }
  17149. }
  17150. }
  17151. return true;
  17152. #undef DO_
  17153. }
  17154. void packetw2c_recv_wuyi_handbooks_award_result::SerializeWithCachedSizes(
  17155. ::google::protobuf::io::CodedOutputStream* output) const {
  17156. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_award_result];
  17157. if (has_packet_id()) {
  17158. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17159. 1, this->packet_id(), output);
  17160. }
  17161. // optional int32 result = 2;
  17162. if (has_result()) {
  17163. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  17164. }
  17165. // repeated int32 typelist = 3;
  17166. for (int i = 0; i < this->typelist_size(); i++) {
  17167. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  17168. 3, this->typelist(i), output);
  17169. }
  17170. // optional int32 handbooksGold = 4;
  17171. if (has_handbooksgold()) {
  17172. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->handbooksgold(), output);
  17173. }
  17174. if (!unknown_fields().empty()) {
  17175. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17176. unknown_fields(), output);
  17177. }
  17178. }
  17179. ::google::protobuf::uint8* packetw2c_recv_wuyi_handbooks_award_result::SerializeWithCachedSizesToArray(
  17180. ::google::protobuf::uint8* target) const {
  17181. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_award_result];
  17182. if (has_packet_id()) {
  17183. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17184. 1, this->packet_id(), target);
  17185. }
  17186. // optional int32 result = 2;
  17187. if (has_result()) {
  17188. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  17189. }
  17190. // repeated int32 typelist = 3;
  17191. for (int i = 0; i < this->typelist_size(); i++) {
  17192. target = ::google::protobuf::internal::WireFormatLite::
  17193. WriteInt32ToArray(3, this->typelist(i), target);
  17194. }
  17195. // optional int32 handbooksGold = 4;
  17196. if (has_handbooksgold()) {
  17197. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->handbooksgold(), target);
  17198. }
  17199. if (!unknown_fields().empty()) {
  17200. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17201. unknown_fields(), target);
  17202. }
  17203. return target;
  17204. }
  17205. int packetw2c_recv_wuyi_handbooks_award_result::ByteSize() const {
  17206. int total_size = 0;
  17207. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17208. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_award_result];
  17209. if (has_packet_id()) {
  17210. total_size += 1 +
  17211. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17212. }
  17213. // optional int32 result = 2;
  17214. if (has_result()) {
  17215. total_size += 1 +
  17216. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17217. this->result());
  17218. }
  17219. // optional int32 handbooksGold = 4;
  17220. if (has_handbooksgold()) {
  17221. total_size += 1 +
  17222. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17223. this->handbooksgold());
  17224. }
  17225. }
  17226. // repeated int32 typelist = 3;
  17227. {
  17228. int data_size = 0;
  17229. for (int i = 0; i < this->typelist_size(); i++) {
  17230. data_size += ::google::protobuf::internal::WireFormatLite::
  17231. Int32Size(this->typelist(i));
  17232. }
  17233. total_size += 1 * this->typelist_size() + data_size;
  17234. }
  17235. if (!unknown_fields().empty()) {
  17236. total_size +=
  17237. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17238. unknown_fields());
  17239. }
  17240. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17241. _cached_size_ = total_size;
  17242. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17243. return total_size;
  17244. }
  17245. void packetw2c_recv_wuyi_handbooks_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  17246. GOOGLE_CHECK_NE(&from, this);
  17247. const packetw2c_recv_wuyi_handbooks_award_result* source =
  17248. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_wuyi_handbooks_award_result*>(
  17249. &from);
  17250. if (source == NULL) {
  17251. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17252. } else {
  17253. MergeFrom(*source);
  17254. }
  17255. }
  17256. void packetw2c_recv_wuyi_handbooks_award_result::MergeFrom(const packetw2c_recv_wuyi_handbooks_award_result& from) {
  17257. GOOGLE_CHECK_NE(&from, this);
  17258. typelist_.MergeFrom(from.typelist_);
  17259. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17260. if (from.has_packet_id()) {
  17261. set_packet_id(from.packet_id());
  17262. }
  17263. if (from.has_result()) {
  17264. set_result(from.result());
  17265. }
  17266. if (from.has_handbooksgold()) {
  17267. set_handbooksgold(from.handbooksgold());
  17268. }
  17269. }
  17270. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17271. }
  17272. void packetw2c_recv_wuyi_handbooks_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  17273. if (&from == this) return;
  17274. Clear();
  17275. MergeFrom(from);
  17276. }
  17277. void packetw2c_recv_wuyi_handbooks_award_result::CopyFrom(const packetw2c_recv_wuyi_handbooks_award_result& from) {
  17278. if (&from == this) return;
  17279. Clear();
  17280. MergeFrom(from);
  17281. }
  17282. bool packetw2c_recv_wuyi_handbooks_award_result::IsInitialized() const {
  17283. return true;
  17284. }
  17285. void packetw2c_recv_wuyi_handbooks_award_result::Swap(packetw2c_recv_wuyi_handbooks_award_result* other) {
  17286. if (other != this) {
  17287. std::swap(packet_id_, other->packet_id_);
  17288. std::swap(result_, other->result_);
  17289. typelist_.Swap(&other->typelist_);
  17290. std::swap(handbooksgold_, other->handbooksgold_);
  17291. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17292. _unknown_fields_.Swap(&other->_unknown_fields_);
  17293. std::swap(_cached_size_, other->_cached_size_);
  17294. }
  17295. }
  17296. ::google::protobuf::Metadata packetw2c_recv_wuyi_handbooks_award_result::GetMetadata() const {
  17297. protobuf_AssignDescriptorsOnce();
  17298. ::google::protobuf::Metadata metadata;
  17299. metadata.descriptor = packetw2c_recv_wuyi_handbooks_award_result_descriptor_;
  17300. metadata.reflection = packetw2c_recv_wuyi_handbooks_award_result_reflection_;
  17301. return metadata;
  17302. }
  17303. // ===================================================================
  17304. #ifndef _MSC_VER
  17305. const int packetc2w_wuyi_lottery::kPacketIdFieldNumber;
  17306. const int packetc2w_wuyi_lottery::kTypeFieldNumber;
  17307. #endif // !_MSC_VER
  17308. packetc2w_wuyi_lottery::packetc2w_wuyi_lottery()
  17309. : ::google::protobuf::Message() {
  17310. SharedCtor();
  17311. }
  17312. void packetc2w_wuyi_lottery::InitAsDefaultInstance() {
  17313. }
  17314. packetc2w_wuyi_lottery::packetc2w_wuyi_lottery(const packetc2w_wuyi_lottery& from)
  17315. : ::google::protobuf::Message() {
  17316. SharedCtor();
  17317. MergeFrom(from);
  17318. }
  17319. void packetc2w_wuyi_lottery::SharedCtor() {
  17320. _cached_size_ = 0;
  17321. packet_id_ = 5179;
  17322. type_ = 0;
  17323. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17324. }
  17325. packetc2w_wuyi_lottery::~packetc2w_wuyi_lottery() {
  17326. SharedDtor();
  17327. }
  17328. void packetc2w_wuyi_lottery::SharedDtor() {
  17329. if (this != default_instance_) {
  17330. }
  17331. }
  17332. void packetc2w_wuyi_lottery::SetCachedSize(int size) const {
  17333. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17334. _cached_size_ = size;
  17335. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17336. }
  17337. const ::google::protobuf::Descriptor* packetc2w_wuyi_lottery::descriptor() {
  17338. protobuf_AssignDescriptorsOnce();
  17339. return packetc2w_wuyi_lottery_descriptor_;
  17340. }
  17341. const packetc2w_wuyi_lottery& packetc2w_wuyi_lottery::default_instance() {
  17342. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  17343. return *default_instance_;
  17344. }
  17345. packetc2w_wuyi_lottery* packetc2w_wuyi_lottery::default_instance_ = NULL;
  17346. packetc2w_wuyi_lottery* packetc2w_wuyi_lottery::New() const {
  17347. return new packetc2w_wuyi_lottery;
  17348. }
  17349. void packetc2w_wuyi_lottery::Clear() {
  17350. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17351. packet_id_ = 5179;
  17352. type_ = 0;
  17353. }
  17354. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17355. mutable_unknown_fields()->Clear();
  17356. }
  17357. bool packetc2w_wuyi_lottery::MergePartialFromCodedStream(
  17358. ::google::protobuf::io::CodedInputStream* input) {
  17359. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17360. ::google::protobuf::uint32 tag;
  17361. while ((tag = input->ReadTag()) != 0) {
  17362. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17363. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wuyi_lottery];
  17364. case 1: {
  17365. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17366. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17367. int value;
  17368. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17369. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17370. input, &value)));
  17371. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  17372. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  17373. } else {
  17374. mutable_unknown_fields()->AddVarint(1, value);
  17375. }
  17376. } else {
  17377. goto handle_uninterpreted;
  17378. }
  17379. if (input->ExpectTag(16)) goto parse_type;
  17380. break;
  17381. }
  17382. // optional int32 type = 2;
  17383. case 2: {
  17384. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17385. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17386. parse_type:
  17387. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17388. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17389. input, &type_)));
  17390. set_has_type();
  17391. } else {
  17392. goto handle_uninterpreted;
  17393. }
  17394. if (input->ExpectAtEnd()) return true;
  17395. break;
  17396. }
  17397. default: {
  17398. handle_uninterpreted:
  17399. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17400. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17401. return true;
  17402. }
  17403. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17404. input, tag, mutable_unknown_fields()));
  17405. break;
  17406. }
  17407. }
  17408. }
  17409. return true;
  17410. #undef DO_
  17411. }
  17412. void packetc2w_wuyi_lottery::SerializeWithCachedSizes(
  17413. ::google::protobuf::io::CodedOutputStream* output) const {
  17414. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wuyi_lottery];
  17415. if (has_packet_id()) {
  17416. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17417. 1, this->packet_id(), output);
  17418. }
  17419. // optional int32 type = 2;
  17420. if (has_type()) {
  17421. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  17422. }
  17423. if (!unknown_fields().empty()) {
  17424. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17425. unknown_fields(), output);
  17426. }
  17427. }
  17428. ::google::protobuf::uint8* packetc2w_wuyi_lottery::SerializeWithCachedSizesToArray(
  17429. ::google::protobuf::uint8* target) const {
  17430. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wuyi_lottery];
  17431. if (has_packet_id()) {
  17432. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17433. 1, this->packet_id(), target);
  17434. }
  17435. // optional int32 type = 2;
  17436. if (has_type()) {
  17437. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  17438. }
  17439. if (!unknown_fields().empty()) {
  17440. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17441. unknown_fields(), target);
  17442. }
  17443. return target;
  17444. }
  17445. int packetc2w_wuyi_lottery::ByteSize() const {
  17446. int total_size = 0;
  17447. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17448. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wuyi_lottery];
  17449. if (has_packet_id()) {
  17450. total_size += 1 +
  17451. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17452. }
  17453. // optional int32 type = 2;
  17454. if (has_type()) {
  17455. total_size += 1 +
  17456. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17457. this->type());
  17458. }
  17459. }
  17460. if (!unknown_fields().empty()) {
  17461. total_size +=
  17462. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17463. unknown_fields());
  17464. }
  17465. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17466. _cached_size_ = total_size;
  17467. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17468. return total_size;
  17469. }
  17470. void packetc2w_wuyi_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  17471. GOOGLE_CHECK_NE(&from, this);
  17472. const packetc2w_wuyi_lottery* source =
  17473. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_wuyi_lottery*>(
  17474. &from);
  17475. if (source == NULL) {
  17476. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17477. } else {
  17478. MergeFrom(*source);
  17479. }
  17480. }
  17481. void packetc2w_wuyi_lottery::MergeFrom(const packetc2w_wuyi_lottery& from) {
  17482. GOOGLE_CHECK_NE(&from, this);
  17483. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17484. if (from.has_packet_id()) {
  17485. set_packet_id(from.packet_id());
  17486. }
  17487. if (from.has_type()) {
  17488. set_type(from.type());
  17489. }
  17490. }
  17491. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17492. }
  17493. void packetc2w_wuyi_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  17494. if (&from == this) return;
  17495. Clear();
  17496. MergeFrom(from);
  17497. }
  17498. void packetc2w_wuyi_lottery::CopyFrom(const packetc2w_wuyi_lottery& from) {
  17499. if (&from == this) return;
  17500. Clear();
  17501. MergeFrom(from);
  17502. }
  17503. bool packetc2w_wuyi_lottery::IsInitialized() const {
  17504. return true;
  17505. }
  17506. void packetc2w_wuyi_lottery::Swap(packetc2w_wuyi_lottery* other) {
  17507. if (other != this) {
  17508. std::swap(packet_id_, other->packet_id_);
  17509. std::swap(type_, other->type_);
  17510. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17511. _unknown_fields_.Swap(&other->_unknown_fields_);
  17512. std::swap(_cached_size_, other->_cached_size_);
  17513. }
  17514. }
  17515. ::google::protobuf::Metadata packetc2w_wuyi_lottery::GetMetadata() const {
  17516. protobuf_AssignDescriptorsOnce();
  17517. ::google::protobuf::Metadata metadata;
  17518. metadata.descriptor = packetc2w_wuyi_lottery_descriptor_;
  17519. metadata.reflection = packetc2w_wuyi_lottery_reflection_;
  17520. return metadata;
  17521. }
  17522. // ===================================================================
  17523. #ifndef _MSC_VER
  17524. const int packetw2c_wuyi_lottery_result::kPacketIdFieldNumber;
  17525. const int packetw2c_wuyi_lottery_result::kResultFieldNumber;
  17526. const int packetw2c_wuyi_lottery_result::kTypeFieldNumber;
  17527. const int packetw2c_wuyi_lottery_result::kRewardIdFieldNumber;
  17528. #endif // !_MSC_VER
  17529. packetw2c_wuyi_lottery_result::packetw2c_wuyi_lottery_result()
  17530. : ::google::protobuf::Message() {
  17531. SharedCtor();
  17532. }
  17533. void packetw2c_wuyi_lottery_result::InitAsDefaultInstance() {
  17534. }
  17535. packetw2c_wuyi_lottery_result::packetw2c_wuyi_lottery_result(const packetw2c_wuyi_lottery_result& from)
  17536. : ::google::protobuf::Message() {
  17537. SharedCtor();
  17538. MergeFrom(from);
  17539. }
  17540. void packetw2c_wuyi_lottery_result::SharedCtor() {
  17541. _cached_size_ = 0;
  17542. packet_id_ = 7699;
  17543. result_ = 0;
  17544. type_ = 0;
  17545. rewardid_ = 0;
  17546. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17547. }
  17548. packetw2c_wuyi_lottery_result::~packetw2c_wuyi_lottery_result() {
  17549. SharedDtor();
  17550. }
  17551. void packetw2c_wuyi_lottery_result::SharedDtor() {
  17552. if (this != default_instance_) {
  17553. }
  17554. }
  17555. void packetw2c_wuyi_lottery_result::SetCachedSize(int size) const {
  17556. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17557. _cached_size_ = size;
  17558. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17559. }
  17560. const ::google::protobuf::Descriptor* packetw2c_wuyi_lottery_result::descriptor() {
  17561. protobuf_AssignDescriptorsOnce();
  17562. return packetw2c_wuyi_lottery_result_descriptor_;
  17563. }
  17564. const packetw2c_wuyi_lottery_result& packetw2c_wuyi_lottery_result::default_instance() {
  17565. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  17566. return *default_instance_;
  17567. }
  17568. packetw2c_wuyi_lottery_result* packetw2c_wuyi_lottery_result::default_instance_ = NULL;
  17569. packetw2c_wuyi_lottery_result* packetw2c_wuyi_lottery_result::New() const {
  17570. return new packetw2c_wuyi_lottery_result;
  17571. }
  17572. void packetw2c_wuyi_lottery_result::Clear() {
  17573. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17574. packet_id_ = 7699;
  17575. result_ = 0;
  17576. type_ = 0;
  17577. rewardid_ = 0;
  17578. }
  17579. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17580. mutable_unknown_fields()->Clear();
  17581. }
  17582. bool packetw2c_wuyi_lottery_result::MergePartialFromCodedStream(
  17583. ::google::protobuf::io::CodedInputStream* input) {
  17584. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17585. ::google::protobuf::uint32 tag;
  17586. while ((tag = input->ReadTag()) != 0) {
  17587. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17588. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wuyi_lottery_result];
  17589. case 1: {
  17590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17592. int value;
  17593. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17594. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17595. input, &value)));
  17596. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  17597. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  17598. } else {
  17599. mutable_unknown_fields()->AddVarint(1, value);
  17600. }
  17601. } else {
  17602. goto handle_uninterpreted;
  17603. }
  17604. if (input->ExpectTag(16)) goto parse_result;
  17605. break;
  17606. }
  17607. // optional int32 result = 2;
  17608. case 2: {
  17609. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17610. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17611. parse_result:
  17612. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17613. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17614. input, &result_)));
  17615. set_has_result();
  17616. } else {
  17617. goto handle_uninterpreted;
  17618. }
  17619. if (input->ExpectTag(24)) goto parse_type;
  17620. break;
  17621. }
  17622. // optional int32 type = 3;
  17623. case 3: {
  17624. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17625. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17626. parse_type:
  17627. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17628. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17629. input, &type_)));
  17630. set_has_type();
  17631. } else {
  17632. goto handle_uninterpreted;
  17633. }
  17634. if (input->ExpectTag(32)) goto parse_rewardId;
  17635. break;
  17636. }
  17637. // optional int32 rewardId = 4;
  17638. case 4: {
  17639. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17640. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17641. parse_rewardId:
  17642. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17643. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17644. input, &rewardid_)));
  17645. set_has_rewardid();
  17646. } else {
  17647. goto handle_uninterpreted;
  17648. }
  17649. if (input->ExpectAtEnd()) return true;
  17650. break;
  17651. }
  17652. default: {
  17653. handle_uninterpreted:
  17654. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17655. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17656. return true;
  17657. }
  17658. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17659. input, tag, mutable_unknown_fields()));
  17660. break;
  17661. }
  17662. }
  17663. }
  17664. return true;
  17665. #undef DO_
  17666. }
  17667. void packetw2c_wuyi_lottery_result::SerializeWithCachedSizes(
  17668. ::google::protobuf::io::CodedOutputStream* output) const {
  17669. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wuyi_lottery_result];
  17670. if (has_packet_id()) {
  17671. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17672. 1, this->packet_id(), output);
  17673. }
  17674. // optional int32 result = 2;
  17675. if (has_result()) {
  17676. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  17677. }
  17678. // optional int32 type = 3;
  17679. if (has_type()) {
  17680. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  17681. }
  17682. // optional int32 rewardId = 4;
  17683. if (has_rewardid()) {
  17684. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->rewardid(), output);
  17685. }
  17686. if (!unknown_fields().empty()) {
  17687. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17688. unknown_fields(), output);
  17689. }
  17690. }
  17691. ::google::protobuf::uint8* packetw2c_wuyi_lottery_result::SerializeWithCachedSizesToArray(
  17692. ::google::protobuf::uint8* target) const {
  17693. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wuyi_lottery_result];
  17694. if (has_packet_id()) {
  17695. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17696. 1, this->packet_id(), target);
  17697. }
  17698. // optional int32 result = 2;
  17699. if (has_result()) {
  17700. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  17701. }
  17702. // optional int32 type = 3;
  17703. if (has_type()) {
  17704. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  17705. }
  17706. // optional int32 rewardId = 4;
  17707. if (has_rewardid()) {
  17708. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->rewardid(), target);
  17709. }
  17710. if (!unknown_fields().empty()) {
  17711. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17712. unknown_fields(), target);
  17713. }
  17714. return target;
  17715. }
  17716. int packetw2c_wuyi_lottery_result::ByteSize() const {
  17717. int total_size = 0;
  17718. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17719. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wuyi_lottery_result];
  17720. if (has_packet_id()) {
  17721. total_size += 1 +
  17722. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17723. }
  17724. // optional int32 result = 2;
  17725. if (has_result()) {
  17726. total_size += 1 +
  17727. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17728. this->result());
  17729. }
  17730. // optional int32 type = 3;
  17731. if (has_type()) {
  17732. total_size += 1 +
  17733. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17734. this->type());
  17735. }
  17736. // optional int32 rewardId = 4;
  17737. if (has_rewardid()) {
  17738. total_size += 1 +
  17739. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17740. this->rewardid());
  17741. }
  17742. }
  17743. if (!unknown_fields().empty()) {
  17744. total_size +=
  17745. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17746. unknown_fields());
  17747. }
  17748. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17749. _cached_size_ = total_size;
  17750. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17751. return total_size;
  17752. }
  17753. void packetw2c_wuyi_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  17754. GOOGLE_CHECK_NE(&from, this);
  17755. const packetw2c_wuyi_lottery_result* source =
  17756. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_wuyi_lottery_result*>(
  17757. &from);
  17758. if (source == NULL) {
  17759. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17760. } else {
  17761. MergeFrom(*source);
  17762. }
  17763. }
  17764. void packetw2c_wuyi_lottery_result::MergeFrom(const packetw2c_wuyi_lottery_result& from) {
  17765. GOOGLE_CHECK_NE(&from, this);
  17766. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17767. if (from.has_packet_id()) {
  17768. set_packet_id(from.packet_id());
  17769. }
  17770. if (from.has_result()) {
  17771. set_result(from.result());
  17772. }
  17773. if (from.has_type()) {
  17774. set_type(from.type());
  17775. }
  17776. if (from.has_rewardid()) {
  17777. set_rewardid(from.rewardid());
  17778. }
  17779. }
  17780. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17781. }
  17782. void packetw2c_wuyi_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  17783. if (&from == this) return;
  17784. Clear();
  17785. MergeFrom(from);
  17786. }
  17787. void packetw2c_wuyi_lottery_result::CopyFrom(const packetw2c_wuyi_lottery_result& from) {
  17788. if (&from == this) return;
  17789. Clear();
  17790. MergeFrom(from);
  17791. }
  17792. bool packetw2c_wuyi_lottery_result::IsInitialized() const {
  17793. return true;
  17794. }
  17795. void packetw2c_wuyi_lottery_result::Swap(packetw2c_wuyi_lottery_result* other) {
  17796. if (other != this) {
  17797. std::swap(packet_id_, other->packet_id_);
  17798. std::swap(result_, other->result_);
  17799. std::swap(type_, other->type_);
  17800. std::swap(rewardid_, other->rewardid_);
  17801. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17802. _unknown_fields_.Swap(&other->_unknown_fields_);
  17803. std::swap(_cached_size_, other->_cached_size_);
  17804. }
  17805. }
  17806. ::google::protobuf::Metadata packetw2c_wuyi_lottery_result::GetMetadata() const {
  17807. protobuf_AssignDescriptorsOnce();
  17808. ::google::protobuf::Metadata metadata;
  17809. metadata.descriptor = packetw2c_wuyi_lottery_result_descriptor_;
  17810. metadata.reflection = packetw2c_wuyi_lottery_result_reflection_;
  17811. return metadata;
  17812. }
  17813. // ===================================================================
  17814. #ifndef _MSC_VER
  17815. const int pointRewardInfos::kIdFieldNumber;
  17816. const int pointRewardInfos::kReceivedFieldNumber;
  17817. #endif // !_MSC_VER
  17818. pointRewardInfos::pointRewardInfos()
  17819. : ::google::protobuf::Message() {
  17820. SharedCtor();
  17821. }
  17822. void pointRewardInfos::InitAsDefaultInstance() {
  17823. }
  17824. pointRewardInfos::pointRewardInfos(const pointRewardInfos& from)
  17825. : ::google::protobuf::Message() {
  17826. SharedCtor();
  17827. MergeFrom(from);
  17828. }
  17829. void pointRewardInfos::SharedCtor() {
  17830. _cached_size_ = 0;
  17831. id_ = 0;
  17832. received_ = 0;
  17833. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17834. }
  17835. pointRewardInfos::~pointRewardInfos() {
  17836. SharedDtor();
  17837. }
  17838. void pointRewardInfos::SharedDtor() {
  17839. if (this != default_instance_) {
  17840. }
  17841. }
  17842. void pointRewardInfos::SetCachedSize(int size) const {
  17843. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17844. _cached_size_ = size;
  17845. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17846. }
  17847. const ::google::protobuf::Descriptor* pointRewardInfos::descriptor() {
  17848. protobuf_AssignDescriptorsOnce();
  17849. return pointRewardInfos_descriptor_;
  17850. }
  17851. const pointRewardInfos& pointRewardInfos::default_instance() {
  17852. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  17853. return *default_instance_;
  17854. }
  17855. pointRewardInfos* pointRewardInfos::default_instance_ = NULL;
  17856. pointRewardInfos* pointRewardInfos::New() const {
  17857. return new pointRewardInfos;
  17858. }
  17859. void pointRewardInfos::Clear() {
  17860. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17861. id_ = 0;
  17862. received_ = 0;
  17863. }
  17864. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17865. mutable_unknown_fields()->Clear();
  17866. }
  17867. bool pointRewardInfos::MergePartialFromCodedStream(
  17868. ::google::protobuf::io::CodedInputStream* input) {
  17869. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17870. ::google::protobuf::uint32 tag;
  17871. while ((tag = input->ReadTag()) != 0) {
  17872. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17873. // optional int32 id = 1;
  17874. case 1: {
  17875. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17876. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17877. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17878. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17879. input, &id_)));
  17880. set_has_id();
  17881. } else {
  17882. goto handle_uninterpreted;
  17883. }
  17884. if (input->ExpectTag(16)) goto parse_received;
  17885. break;
  17886. }
  17887. // optional int32 received = 2;
  17888. case 2: {
  17889. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17890. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17891. parse_received:
  17892. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17893. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17894. input, &received_)));
  17895. set_has_received();
  17896. } else {
  17897. goto handle_uninterpreted;
  17898. }
  17899. if (input->ExpectAtEnd()) return true;
  17900. break;
  17901. }
  17902. default: {
  17903. handle_uninterpreted:
  17904. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17905. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17906. return true;
  17907. }
  17908. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17909. input, tag, mutable_unknown_fields()));
  17910. break;
  17911. }
  17912. }
  17913. }
  17914. return true;
  17915. #undef DO_
  17916. }
  17917. void pointRewardInfos::SerializeWithCachedSizes(
  17918. ::google::protobuf::io::CodedOutputStream* output) const {
  17919. // optional int32 id = 1;
  17920. if (has_id()) {
  17921. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
  17922. }
  17923. // optional int32 received = 2;
  17924. if (has_received()) {
  17925. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->received(), output);
  17926. }
  17927. if (!unknown_fields().empty()) {
  17928. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17929. unknown_fields(), output);
  17930. }
  17931. }
  17932. ::google::protobuf::uint8* pointRewardInfos::SerializeWithCachedSizesToArray(
  17933. ::google::protobuf::uint8* target) const {
  17934. // optional int32 id = 1;
  17935. if (has_id()) {
  17936. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
  17937. }
  17938. // optional int32 received = 2;
  17939. if (has_received()) {
  17940. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->received(), target);
  17941. }
  17942. if (!unknown_fields().empty()) {
  17943. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17944. unknown_fields(), target);
  17945. }
  17946. return target;
  17947. }
  17948. int pointRewardInfos::ByteSize() const {
  17949. int total_size = 0;
  17950. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17951. // optional int32 id = 1;
  17952. if (has_id()) {
  17953. total_size += 1 +
  17954. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17955. this->id());
  17956. }
  17957. // optional int32 received = 2;
  17958. if (has_received()) {
  17959. total_size += 1 +
  17960. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17961. this->received());
  17962. }
  17963. }
  17964. if (!unknown_fields().empty()) {
  17965. total_size +=
  17966. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17967. unknown_fields());
  17968. }
  17969. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17970. _cached_size_ = total_size;
  17971. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17972. return total_size;
  17973. }
  17974. void pointRewardInfos::MergeFrom(const ::google::protobuf::Message& from) {
  17975. GOOGLE_CHECK_NE(&from, this);
  17976. const pointRewardInfos* source =
  17977. ::google::protobuf::internal::dynamic_cast_if_available<const pointRewardInfos*>(
  17978. &from);
  17979. if (source == NULL) {
  17980. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17981. } else {
  17982. MergeFrom(*source);
  17983. }
  17984. }
  17985. void pointRewardInfos::MergeFrom(const pointRewardInfos& from) {
  17986. GOOGLE_CHECK_NE(&from, this);
  17987. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17988. if (from.has_id()) {
  17989. set_id(from.id());
  17990. }
  17991. if (from.has_received()) {
  17992. set_received(from.received());
  17993. }
  17994. }
  17995. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17996. }
  17997. void pointRewardInfos::CopyFrom(const ::google::protobuf::Message& from) {
  17998. if (&from == this) return;
  17999. Clear();
  18000. MergeFrom(from);
  18001. }
  18002. void pointRewardInfos::CopyFrom(const pointRewardInfos& from) {
  18003. if (&from == this) return;
  18004. Clear();
  18005. MergeFrom(from);
  18006. }
  18007. bool pointRewardInfos::IsInitialized() const {
  18008. return true;
  18009. }
  18010. void pointRewardInfos::Swap(pointRewardInfos* other) {
  18011. if (other != this) {
  18012. std::swap(id_, other->id_);
  18013. std::swap(received_, other->received_);
  18014. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18015. _unknown_fields_.Swap(&other->_unknown_fields_);
  18016. std::swap(_cached_size_, other->_cached_size_);
  18017. }
  18018. }
  18019. ::google::protobuf::Metadata pointRewardInfos::GetMetadata() const {
  18020. protobuf_AssignDescriptorsOnce();
  18021. ::google::protobuf::Metadata metadata;
  18022. metadata.descriptor = pointRewardInfos_descriptor_;
  18023. metadata.reflection = pointRewardInfos_reflection_;
  18024. return metadata;
  18025. }
  18026. // ===================================================================
  18027. #ifndef _MSC_VER
  18028. const int pointInfos::kRoomIdFieldNumber;
  18029. const int pointInfos::kCountFieldNumber;
  18030. #endif // !_MSC_VER
  18031. pointInfos::pointInfos()
  18032. : ::google::protobuf::Message() {
  18033. SharedCtor();
  18034. }
  18035. void pointInfos::InitAsDefaultInstance() {
  18036. }
  18037. pointInfos::pointInfos(const pointInfos& from)
  18038. : ::google::protobuf::Message() {
  18039. SharedCtor();
  18040. MergeFrom(from);
  18041. }
  18042. void pointInfos::SharedCtor() {
  18043. _cached_size_ = 0;
  18044. roomid_ = 0;
  18045. count_ = 0;
  18046. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18047. }
  18048. pointInfos::~pointInfos() {
  18049. SharedDtor();
  18050. }
  18051. void pointInfos::SharedDtor() {
  18052. if (this != default_instance_) {
  18053. }
  18054. }
  18055. void pointInfos::SetCachedSize(int size) const {
  18056. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18057. _cached_size_ = size;
  18058. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18059. }
  18060. const ::google::protobuf::Descriptor* pointInfos::descriptor() {
  18061. protobuf_AssignDescriptorsOnce();
  18062. return pointInfos_descriptor_;
  18063. }
  18064. const pointInfos& pointInfos::default_instance() {
  18065. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  18066. return *default_instance_;
  18067. }
  18068. pointInfos* pointInfos::default_instance_ = NULL;
  18069. pointInfos* pointInfos::New() const {
  18070. return new pointInfos;
  18071. }
  18072. void pointInfos::Clear() {
  18073. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18074. roomid_ = 0;
  18075. count_ = 0;
  18076. }
  18077. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18078. mutable_unknown_fields()->Clear();
  18079. }
  18080. bool pointInfos::MergePartialFromCodedStream(
  18081. ::google::protobuf::io::CodedInputStream* input) {
  18082. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18083. ::google::protobuf::uint32 tag;
  18084. while ((tag = input->ReadTag()) != 0) {
  18085. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18086. // optional int32 roomId = 1;
  18087. case 1: {
  18088. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18089. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18090. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18091. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18092. input, &roomid_)));
  18093. set_has_roomid();
  18094. } else {
  18095. goto handle_uninterpreted;
  18096. }
  18097. if (input->ExpectTag(16)) goto parse_count;
  18098. break;
  18099. }
  18100. // optional int32 count = 2;
  18101. case 2: {
  18102. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18103. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18104. parse_count:
  18105. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18106. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18107. input, &count_)));
  18108. set_has_count();
  18109. } else {
  18110. goto handle_uninterpreted;
  18111. }
  18112. if (input->ExpectAtEnd()) return true;
  18113. break;
  18114. }
  18115. default: {
  18116. handle_uninterpreted:
  18117. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18118. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18119. return true;
  18120. }
  18121. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18122. input, tag, mutable_unknown_fields()));
  18123. break;
  18124. }
  18125. }
  18126. }
  18127. return true;
  18128. #undef DO_
  18129. }
  18130. void pointInfos::SerializeWithCachedSizes(
  18131. ::google::protobuf::io::CodedOutputStream* output) const {
  18132. // optional int32 roomId = 1;
  18133. if (has_roomid()) {
  18134. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->roomid(), output);
  18135. }
  18136. // optional int32 count = 2;
  18137. if (has_count()) {
  18138. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  18139. }
  18140. if (!unknown_fields().empty()) {
  18141. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18142. unknown_fields(), output);
  18143. }
  18144. }
  18145. ::google::protobuf::uint8* pointInfos::SerializeWithCachedSizesToArray(
  18146. ::google::protobuf::uint8* target) const {
  18147. // optional int32 roomId = 1;
  18148. if (has_roomid()) {
  18149. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->roomid(), target);
  18150. }
  18151. // optional int32 count = 2;
  18152. if (has_count()) {
  18153. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  18154. }
  18155. if (!unknown_fields().empty()) {
  18156. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18157. unknown_fields(), target);
  18158. }
  18159. return target;
  18160. }
  18161. int pointInfos::ByteSize() const {
  18162. int total_size = 0;
  18163. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18164. // optional int32 roomId = 1;
  18165. if (has_roomid()) {
  18166. total_size += 1 +
  18167. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18168. this->roomid());
  18169. }
  18170. // optional int32 count = 2;
  18171. if (has_count()) {
  18172. total_size += 1 +
  18173. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18174. this->count());
  18175. }
  18176. }
  18177. if (!unknown_fields().empty()) {
  18178. total_size +=
  18179. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18180. unknown_fields());
  18181. }
  18182. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18183. _cached_size_ = total_size;
  18184. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18185. return total_size;
  18186. }
  18187. void pointInfos::MergeFrom(const ::google::protobuf::Message& from) {
  18188. GOOGLE_CHECK_NE(&from, this);
  18189. const pointInfos* source =
  18190. ::google::protobuf::internal::dynamic_cast_if_available<const pointInfos*>(
  18191. &from);
  18192. if (source == NULL) {
  18193. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18194. } else {
  18195. MergeFrom(*source);
  18196. }
  18197. }
  18198. void pointInfos::MergeFrom(const pointInfos& from) {
  18199. GOOGLE_CHECK_NE(&from, this);
  18200. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18201. if (from.has_roomid()) {
  18202. set_roomid(from.roomid());
  18203. }
  18204. if (from.has_count()) {
  18205. set_count(from.count());
  18206. }
  18207. }
  18208. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18209. }
  18210. void pointInfos::CopyFrom(const ::google::protobuf::Message& from) {
  18211. if (&from == this) return;
  18212. Clear();
  18213. MergeFrom(from);
  18214. }
  18215. void pointInfos::CopyFrom(const pointInfos& from) {
  18216. if (&from == this) return;
  18217. Clear();
  18218. MergeFrom(from);
  18219. }
  18220. bool pointInfos::IsInitialized() const {
  18221. return true;
  18222. }
  18223. void pointInfos::Swap(pointInfos* other) {
  18224. if (other != this) {
  18225. std::swap(roomid_, other->roomid_);
  18226. std::swap(count_, other->count_);
  18227. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18228. _unknown_fields_.Swap(&other->_unknown_fields_);
  18229. std::swap(_cached_size_, other->_cached_size_);
  18230. }
  18231. }
  18232. ::google::protobuf::Metadata pointInfos::GetMetadata() const {
  18233. protobuf_AssignDescriptorsOnce();
  18234. ::google::protobuf::Metadata metadata;
  18235. metadata.descriptor = pointInfos_descriptor_;
  18236. metadata.reflection = pointInfos_reflection_;
  18237. return metadata;
  18238. }
  18239. // ===================================================================
  18240. #ifndef _MSC_VER
  18241. const int packetw2c_syn_room_quest_info::kPacketIdFieldNumber;
  18242. const int packetw2c_syn_room_quest_info::kActivityStateFieldNumber;
  18243. const int packetw2c_syn_room_quest_info::kStartTimeFieldNumber;
  18244. const int packetw2c_syn_room_quest_info::kEndTimeFieldNumber;
  18245. const int packetw2c_syn_room_quest_info::kPointRewardinfosFieldNumber;
  18246. const int packetw2c_syn_room_quest_info::kQuestPointsFieldNumber;
  18247. const int packetw2c_syn_room_quest_info::kSharkCardTypeFieldNumber;
  18248. #endif // !_MSC_VER
  18249. packetw2c_syn_room_quest_info::packetw2c_syn_room_quest_info()
  18250. : ::google::protobuf::Message() {
  18251. SharedCtor();
  18252. }
  18253. void packetw2c_syn_room_quest_info::InitAsDefaultInstance() {
  18254. }
  18255. packetw2c_syn_room_quest_info::packetw2c_syn_room_quest_info(const packetw2c_syn_room_quest_info& from)
  18256. : ::google::protobuf::Message() {
  18257. SharedCtor();
  18258. MergeFrom(from);
  18259. }
  18260. void packetw2c_syn_room_quest_info::SharedCtor() {
  18261. _cached_size_ = 0;
  18262. packet_id_ = 7701;
  18263. activitystate_ = 0;
  18264. starttime_ = 0;
  18265. endtime_ = 0;
  18266. sharkcardtype_ = 0;
  18267. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18268. }
  18269. packetw2c_syn_room_quest_info::~packetw2c_syn_room_quest_info() {
  18270. SharedDtor();
  18271. }
  18272. void packetw2c_syn_room_quest_info::SharedDtor() {
  18273. if (this != default_instance_) {
  18274. }
  18275. }
  18276. void packetw2c_syn_room_quest_info::SetCachedSize(int size) const {
  18277. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18278. _cached_size_ = size;
  18279. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18280. }
  18281. const ::google::protobuf::Descriptor* packetw2c_syn_room_quest_info::descriptor() {
  18282. protobuf_AssignDescriptorsOnce();
  18283. return packetw2c_syn_room_quest_info_descriptor_;
  18284. }
  18285. const packetw2c_syn_room_quest_info& packetw2c_syn_room_quest_info::default_instance() {
  18286. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  18287. return *default_instance_;
  18288. }
  18289. packetw2c_syn_room_quest_info* packetw2c_syn_room_quest_info::default_instance_ = NULL;
  18290. packetw2c_syn_room_quest_info* packetw2c_syn_room_quest_info::New() const {
  18291. return new packetw2c_syn_room_quest_info;
  18292. }
  18293. void packetw2c_syn_room_quest_info::Clear() {
  18294. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18295. packet_id_ = 7701;
  18296. activitystate_ = 0;
  18297. starttime_ = 0;
  18298. endtime_ = 0;
  18299. sharkcardtype_ = 0;
  18300. }
  18301. pointrewardinfos_.Clear();
  18302. questpoints_.Clear();
  18303. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18304. mutable_unknown_fields()->Clear();
  18305. }
  18306. bool packetw2c_syn_room_quest_info::MergePartialFromCodedStream(
  18307. ::google::protobuf::io::CodedInputStream* input) {
  18308. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18309. ::google::protobuf::uint32 tag;
  18310. while ((tag = input->ReadTag()) != 0) {
  18311. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18312. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_room_quest_info];
  18313. case 1: {
  18314. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18315. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18316. int value;
  18317. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18318. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18319. input, &value)));
  18320. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  18321. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  18322. } else {
  18323. mutable_unknown_fields()->AddVarint(1, value);
  18324. }
  18325. } else {
  18326. goto handle_uninterpreted;
  18327. }
  18328. if (input->ExpectTag(16)) goto parse_activityState;
  18329. break;
  18330. }
  18331. // optional int32 activityState = 2;
  18332. case 2: {
  18333. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18334. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18335. parse_activityState:
  18336. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18337. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18338. input, &activitystate_)));
  18339. set_has_activitystate();
  18340. } else {
  18341. goto handle_uninterpreted;
  18342. }
  18343. if (input->ExpectTag(24)) goto parse_startTime;
  18344. break;
  18345. }
  18346. // optional int32 startTime = 3;
  18347. case 3: {
  18348. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18349. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18350. parse_startTime:
  18351. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18352. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18353. input, &starttime_)));
  18354. set_has_starttime();
  18355. } else {
  18356. goto handle_uninterpreted;
  18357. }
  18358. if (input->ExpectTag(32)) goto parse_endTime;
  18359. break;
  18360. }
  18361. // optional int32 endTime = 4;
  18362. case 4: {
  18363. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18364. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18365. parse_endTime:
  18366. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18367. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18368. input, &endtime_)));
  18369. set_has_endtime();
  18370. } else {
  18371. goto handle_uninterpreted;
  18372. }
  18373. if (input->ExpectTag(42)) goto parse_pointRewardinfos;
  18374. break;
  18375. }
  18376. // repeated .client2world_protocols.pointRewardInfos pointRewardinfos = 5;
  18377. case 5: {
  18378. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18379. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18380. parse_pointRewardinfos:
  18381. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  18382. input, add_pointrewardinfos()));
  18383. } else {
  18384. goto handle_uninterpreted;
  18385. }
  18386. if (input->ExpectTag(42)) goto parse_pointRewardinfos;
  18387. if (input->ExpectTag(50)) goto parse_questPoints;
  18388. break;
  18389. }
  18390. // repeated .client2world_protocols.pointInfos questPoints = 6;
  18391. case 6: {
  18392. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18393. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18394. parse_questPoints:
  18395. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  18396. input, add_questpoints()));
  18397. } else {
  18398. goto handle_uninterpreted;
  18399. }
  18400. if (input->ExpectTag(50)) goto parse_questPoints;
  18401. if (input->ExpectTag(56)) goto parse_sharkCardType;
  18402. break;
  18403. }
  18404. // optional int32 sharkCardType = 7;
  18405. case 7: {
  18406. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18407. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18408. parse_sharkCardType:
  18409. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18410. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18411. input, &sharkcardtype_)));
  18412. set_has_sharkcardtype();
  18413. } else {
  18414. goto handle_uninterpreted;
  18415. }
  18416. if (input->ExpectAtEnd()) return true;
  18417. break;
  18418. }
  18419. default: {
  18420. handle_uninterpreted:
  18421. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18422. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18423. return true;
  18424. }
  18425. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18426. input, tag, mutable_unknown_fields()));
  18427. break;
  18428. }
  18429. }
  18430. }
  18431. return true;
  18432. #undef DO_
  18433. }
  18434. void packetw2c_syn_room_quest_info::SerializeWithCachedSizes(
  18435. ::google::protobuf::io::CodedOutputStream* output) const {
  18436. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_room_quest_info];
  18437. if (has_packet_id()) {
  18438. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18439. 1, this->packet_id(), output);
  18440. }
  18441. // optional int32 activityState = 2;
  18442. if (has_activitystate()) {
  18443. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  18444. }
  18445. // optional int32 startTime = 3;
  18446. if (has_starttime()) {
  18447. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  18448. }
  18449. // optional int32 endTime = 4;
  18450. if (has_endtime()) {
  18451. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  18452. }
  18453. // repeated .client2world_protocols.pointRewardInfos pointRewardinfos = 5;
  18454. for (int i = 0; i < this->pointrewardinfos_size(); i++) {
  18455. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  18456. 5, this->pointrewardinfos(i), output);
  18457. }
  18458. // repeated .client2world_protocols.pointInfos questPoints = 6;
  18459. for (int i = 0; i < this->questpoints_size(); i++) {
  18460. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  18461. 6, this->questpoints(i), output);
  18462. }
  18463. // optional int32 sharkCardType = 7;
  18464. if (has_sharkcardtype()) {
  18465. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->sharkcardtype(), output);
  18466. }
  18467. if (!unknown_fields().empty()) {
  18468. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18469. unknown_fields(), output);
  18470. }
  18471. }
  18472. ::google::protobuf::uint8* packetw2c_syn_room_quest_info::SerializeWithCachedSizesToArray(
  18473. ::google::protobuf::uint8* target) const {
  18474. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_room_quest_info];
  18475. if (has_packet_id()) {
  18476. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18477. 1, this->packet_id(), target);
  18478. }
  18479. // optional int32 activityState = 2;
  18480. if (has_activitystate()) {
  18481. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  18482. }
  18483. // optional int32 startTime = 3;
  18484. if (has_starttime()) {
  18485. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  18486. }
  18487. // optional int32 endTime = 4;
  18488. if (has_endtime()) {
  18489. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  18490. }
  18491. // repeated .client2world_protocols.pointRewardInfos pointRewardinfos = 5;
  18492. for (int i = 0; i < this->pointrewardinfos_size(); i++) {
  18493. target = ::google::protobuf::internal::WireFormatLite::
  18494. WriteMessageNoVirtualToArray(
  18495. 5, this->pointrewardinfos(i), target);
  18496. }
  18497. // repeated .client2world_protocols.pointInfos questPoints = 6;
  18498. for (int i = 0; i < this->questpoints_size(); i++) {
  18499. target = ::google::protobuf::internal::WireFormatLite::
  18500. WriteMessageNoVirtualToArray(
  18501. 6, this->questpoints(i), target);
  18502. }
  18503. // optional int32 sharkCardType = 7;
  18504. if (has_sharkcardtype()) {
  18505. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->sharkcardtype(), target);
  18506. }
  18507. if (!unknown_fields().empty()) {
  18508. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18509. unknown_fields(), target);
  18510. }
  18511. return target;
  18512. }
  18513. int packetw2c_syn_room_quest_info::ByteSize() const {
  18514. int total_size = 0;
  18515. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18516. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_room_quest_info];
  18517. if (has_packet_id()) {
  18518. total_size += 1 +
  18519. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18520. }
  18521. // optional int32 activityState = 2;
  18522. if (has_activitystate()) {
  18523. total_size += 1 +
  18524. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18525. this->activitystate());
  18526. }
  18527. // optional int32 startTime = 3;
  18528. if (has_starttime()) {
  18529. total_size += 1 +
  18530. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18531. this->starttime());
  18532. }
  18533. // optional int32 endTime = 4;
  18534. if (has_endtime()) {
  18535. total_size += 1 +
  18536. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18537. this->endtime());
  18538. }
  18539. // optional int32 sharkCardType = 7;
  18540. if (has_sharkcardtype()) {
  18541. total_size += 1 +
  18542. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18543. this->sharkcardtype());
  18544. }
  18545. }
  18546. // repeated .client2world_protocols.pointRewardInfos pointRewardinfos = 5;
  18547. total_size += 1 * this->pointrewardinfos_size();
  18548. for (int i = 0; i < this->pointrewardinfos_size(); i++) {
  18549. total_size +=
  18550. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  18551. this->pointrewardinfos(i));
  18552. }
  18553. // repeated .client2world_protocols.pointInfos questPoints = 6;
  18554. total_size += 1 * this->questpoints_size();
  18555. for (int i = 0; i < this->questpoints_size(); i++) {
  18556. total_size +=
  18557. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  18558. this->questpoints(i));
  18559. }
  18560. if (!unknown_fields().empty()) {
  18561. total_size +=
  18562. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18563. unknown_fields());
  18564. }
  18565. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18566. _cached_size_ = total_size;
  18567. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18568. return total_size;
  18569. }
  18570. void packetw2c_syn_room_quest_info::MergeFrom(const ::google::protobuf::Message& from) {
  18571. GOOGLE_CHECK_NE(&from, this);
  18572. const packetw2c_syn_room_quest_info* source =
  18573. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_room_quest_info*>(
  18574. &from);
  18575. if (source == NULL) {
  18576. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18577. } else {
  18578. MergeFrom(*source);
  18579. }
  18580. }
  18581. void packetw2c_syn_room_quest_info::MergeFrom(const packetw2c_syn_room_quest_info& from) {
  18582. GOOGLE_CHECK_NE(&from, this);
  18583. pointrewardinfos_.MergeFrom(from.pointrewardinfos_);
  18584. questpoints_.MergeFrom(from.questpoints_);
  18585. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18586. if (from.has_packet_id()) {
  18587. set_packet_id(from.packet_id());
  18588. }
  18589. if (from.has_activitystate()) {
  18590. set_activitystate(from.activitystate());
  18591. }
  18592. if (from.has_starttime()) {
  18593. set_starttime(from.starttime());
  18594. }
  18595. if (from.has_endtime()) {
  18596. set_endtime(from.endtime());
  18597. }
  18598. if (from.has_sharkcardtype()) {
  18599. set_sharkcardtype(from.sharkcardtype());
  18600. }
  18601. }
  18602. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18603. }
  18604. void packetw2c_syn_room_quest_info::CopyFrom(const ::google::protobuf::Message& from) {
  18605. if (&from == this) return;
  18606. Clear();
  18607. MergeFrom(from);
  18608. }
  18609. void packetw2c_syn_room_quest_info::CopyFrom(const packetw2c_syn_room_quest_info& from) {
  18610. if (&from == this) return;
  18611. Clear();
  18612. MergeFrom(from);
  18613. }
  18614. bool packetw2c_syn_room_quest_info::IsInitialized() const {
  18615. return true;
  18616. }
  18617. void packetw2c_syn_room_quest_info::Swap(packetw2c_syn_room_quest_info* other) {
  18618. if (other != this) {
  18619. std::swap(packet_id_, other->packet_id_);
  18620. std::swap(activitystate_, other->activitystate_);
  18621. std::swap(starttime_, other->starttime_);
  18622. std::swap(endtime_, other->endtime_);
  18623. pointrewardinfos_.Swap(&other->pointrewardinfos_);
  18624. questpoints_.Swap(&other->questpoints_);
  18625. std::swap(sharkcardtype_, other->sharkcardtype_);
  18626. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18627. _unknown_fields_.Swap(&other->_unknown_fields_);
  18628. std::swap(_cached_size_, other->_cached_size_);
  18629. }
  18630. }
  18631. ::google::protobuf::Metadata packetw2c_syn_room_quest_info::GetMetadata() const {
  18632. protobuf_AssignDescriptorsOnce();
  18633. ::google::protobuf::Metadata metadata;
  18634. metadata.descriptor = packetw2c_syn_room_quest_info_descriptor_;
  18635. metadata.reflection = packetw2c_syn_room_quest_info_reflection_;
  18636. return metadata;
  18637. }
  18638. // ===================================================================
  18639. #ifndef _MSC_VER
  18640. const int packetc2w_get_room_quest::kPacketIdFieldNumber;
  18641. #endif // !_MSC_VER
  18642. packetc2w_get_room_quest::packetc2w_get_room_quest()
  18643. : ::google::protobuf::Message() {
  18644. SharedCtor();
  18645. }
  18646. void packetc2w_get_room_quest::InitAsDefaultInstance() {
  18647. }
  18648. packetc2w_get_room_quest::packetc2w_get_room_quest(const packetc2w_get_room_quest& from)
  18649. : ::google::protobuf::Message() {
  18650. SharedCtor();
  18651. MergeFrom(from);
  18652. }
  18653. void packetc2w_get_room_quest::SharedCtor() {
  18654. _cached_size_ = 0;
  18655. packet_id_ = 5251;
  18656. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18657. }
  18658. packetc2w_get_room_quest::~packetc2w_get_room_quest() {
  18659. SharedDtor();
  18660. }
  18661. void packetc2w_get_room_quest::SharedDtor() {
  18662. if (this != default_instance_) {
  18663. }
  18664. }
  18665. void packetc2w_get_room_quest::SetCachedSize(int size) const {
  18666. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18667. _cached_size_ = size;
  18668. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18669. }
  18670. const ::google::protobuf::Descriptor* packetc2w_get_room_quest::descriptor() {
  18671. protobuf_AssignDescriptorsOnce();
  18672. return packetc2w_get_room_quest_descriptor_;
  18673. }
  18674. const packetc2w_get_room_quest& packetc2w_get_room_quest::default_instance() {
  18675. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  18676. return *default_instance_;
  18677. }
  18678. packetc2w_get_room_quest* packetc2w_get_room_quest::default_instance_ = NULL;
  18679. packetc2w_get_room_quest* packetc2w_get_room_quest::New() const {
  18680. return new packetc2w_get_room_quest;
  18681. }
  18682. void packetc2w_get_room_quest::Clear() {
  18683. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18684. packet_id_ = 5251;
  18685. }
  18686. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18687. mutable_unknown_fields()->Clear();
  18688. }
  18689. bool packetc2w_get_room_quest::MergePartialFromCodedStream(
  18690. ::google::protobuf::io::CodedInputStream* input) {
  18691. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18692. ::google::protobuf::uint32 tag;
  18693. while ((tag = input->ReadTag()) != 0) {
  18694. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18695. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_room_quest];
  18696. case 1: {
  18697. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18698. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18699. int value;
  18700. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18701. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18702. input, &value)));
  18703. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  18704. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  18705. } else {
  18706. mutable_unknown_fields()->AddVarint(1, value);
  18707. }
  18708. } else {
  18709. goto handle_uninterpreted;
  18710. }
  18711. if (input->ExpectAtEnd()) return true;
  18712. break;
  18713. }
  18714. default: {
  18715. handle_uninterpreted:
  18716. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18717. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18718. return true;
  18719. }
  18720. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18721. input, tag, mutable_unknown_fields()));
  18722. break;
  18723. }
  18724. }
  18725. }
  18726. return true;
  18727. #undef DO_
  18728. }
  18729. void packetc2w_get_room_quest::SerializeWithCachedSizes(
  18730. ::google::protobuf::io::CodedOutputStream* output) const {
  18731. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_room_quest];
  18732. if (has_packet_id()) {
  18733. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18734. 1, this->packet_id(), output);
  18735. }
  18736. if (!unknown_fields().empty()) {
  18737. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18738. unknown_fields(), output);
  18739. }
  18740. }
  18741. ::google::protobuf::uint8* packetc2w_get_room_quest::SerializeWithCachedSizesToArray(
  18742. ::google::protobuf::uint8* target) const {
  18743. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_room_quest];
  18744. if (has_packet_id()) {
  18745. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18746. 1, this->packet_id(), target);
  18747. }
  18748. if (!unknown_fields().empty()) {
  18749. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18750. unknown_fields(), target);
  18751. }
  18752. return target;
  18753. }
  18754. int packetc2w_get_room_quest::ByteSize() const {
  18755. int total_size = 0;
  18756. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18757. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_room_quest];
  18758. if (has_packet_id()) {
  18759. total_size += 1 +
  18760. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18761. }
  18762. }
  18763. if (!unknown_fields().empty()) {
  18764. total_size +=
  18765. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18766. unknown_fields());
  18767. }
  18768. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18769. _cached_size_ = total_size;
  18770. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18771. return total_size;
  18772. }
  18773. void packetc2w_get_room_quest::MergeFrom(const ::google::protobuf::Message& from) {
  18774. GOOGLE_CHECK_NE(&from, this);
  18775. const packetc2w_get_room_quest* source =
  18776. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_room_quest*>(
  18777. &from);
  18778. if (source == NULL) {
  18779. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18780. } else {
  18781. MergeFrom(*source);
  18782. }
  18783. }
  18784. void packetc2w_get_room_quest::MergeFrom(const packetc2w_get_room_quest& from) {
  18785. GOOGLE_CHECK_NE(&from, this);
  18786. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18787. if (from.has_packet_id()) {
  18788. set_packet_id(from.packet_id());
  18789. }
  18790. }
  18791. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18792. }
  18793. void packetc2w_get_room_quest::CopyFrom(const ::google::protobuf::Message& from) {
  18794. if (&from == this) return;
  18795. Clear();
  18796. MergeFrom(from);
  18797. }
  18798. void packetc2w_get_room_quest::CopyFrom(const packetc2w_get_room_quest& from) {
  18799. if (&from == this) return;
  18800. Clear();
  18801. MergeFrom(from);
  18802. }
  18803. bool packetc2w_get_room_quest::IsInitialized() const {
  18804. return true;
  18805. }
  18806. void packetc2w_get_room_quest::Swap(packetc2w_get_room_quest* other) {
  18807. if (other != this) {
  18808. std::swap(packet_id_, other->packet_id_);
  18809. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18810. _unknown_fields_.Swap(&other->_unknown_fields_);
  18811. std::swap(_cached_size_, other->_cached_size_);
  18812. }
  18813. }
  18814. ::google::protobuf::Metadata packetc2w_get_room_quest::GetMetadata() const {
  18815. protobuf_AssignDescriptorsOnce();
  18816. ::google::protobuf::Metadata metadata;
  18817. metadata.descriptor = packetc2w_get_room_quest_descriptor_;
  18818. metadata.reflection = packetc2w_get_room_quest_reflection_;
  18819. return metadata;
  18820. }
  18821. // ===================================================================
  18822. #ifndef _MSC_VER
  18823. const int packetw2c_get_room_quest_result::kPacketIdFieldNumber;
  18824. const int packetw2c_get_room_quest_result::kQuestListFieldNumber;
  18825. const int packetw2c_get_room_quest_result::kSharkCardTypeFieldNumber;
  18826. #endif // !_MSC_VER
  18827. packetw2c_get_room_quest_result::packetw2c_get_room_quest_result()
  18828. : ::google::protobuf::Message() {
  18829. SharedCtor();
  18830. }
  18831. void packetw2c_get_room_quest_result::InitAsDefaultInstance() {
  18832. }
  18833. packetw2c_get_room_quest_result::packetw2c_get_room_quest_result(const packetw2c_get_room_quest_result& from)
  18834. : ::google::protobuf::Message() {
  18835. SharedCtor();
  18836. MergeFrom(from);
  18837. }
  18838. void packetw2c_get_room_quest_result::SharedCtor() {
  18839. _cached_size_ = 0;
  18840. packet_id_ = 7799;
  18841. sharkcardtype_ = 0;
  18842. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18843. }
  18844. packetw2c_get_room_quest_result::~packetw2c_get_room_quest_result() {
  18845. SharedDtor();
  18846. }
  18847. void packetw2c_get_room_quest_result::SharedDtor() {
  18848. if (this != default_instance_) {
  18849. }
  18850. }
  18851. void packetw2c_get_room_quest_result::SetCachedSize(int size) const {
  18852. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18853. _cached_size_ = size;
  18854. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18855. }
  18856. const ::google::protobuf::Descriptor* packetw2c_get_room_quest_result::descriptor() {
  18857. protobuf_AssignDescriptorsOnce();
  18858. return packetw2c_get_room_quest_result_descriptor_;
  18859. }
  18860. const packetw2c_get_room_quest_result& packetw2c_get_room_quest_result::default_instance() {
  18861. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  18862. return *default_instance_;
  18863. }
  18864. packetw2c_get_room_quest_result* packetw2c_get_room_quest_result::default_instance_ = NULL;
  18865. packetw2c_get_room_quest_result* packetw2c_get_room_quest_result::New() const {
  18866. return new packetw2c_get_room_quest_result;
  18867. }
  18868. void packetw2c_get_room_quest_result::Clear() {
  18869. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18870. packet_id_ = 7799;
  18871. sharkcardtype_ = 0;
  18872. }
  18873. questlist_.Clear();
  18874. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18875. mutable_unknown_fields()->Clear();
  18876. }
  18877. bool packetw2c_get_room_quest_result::MergePartialFromCodedStream(
  18878. ::google::protobuf::io::CodedInputStream* input) {
  18879. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18880. ::google::protobuf::uint32 tag;
  18881. while ((tag = input->ReadTag()) != 0) {
  18882. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18883. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_room_quest_result];
  18884. case 1: {
  18885. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18886. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18887. int value;
  18888. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18889. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18890. input, &value)));
  18891. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  18892. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  18893. } else {
  18894. mutable_unknown_fields()->AddVarint(1, value);
  18895. }
  18896. } else {
  18897. goto handle_uninterpreted;
  18898. }
  18899. if (input->ExpectTag(18)) goto parse_questList;
  18900. break;
  18901. }
  18902. // repeated .msg_info_def.msg_quest_info questList = 2;
  18903. case 2: {
  18904. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18905. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18906. parse_questList:
  18907. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  18908. input, add_questlist()));
  18909. } else {
  18910. goto handle_uninterpreted;
  18911. }
  18912. if (input->ExpectTag(18)) goto parse_questList;
  18913. if (input->ExpectTag(24)) goto parse_sharkCardType;
  18914. break;
  18915. }
  18916. // optional int32 sharkCardType = 3;
  18917. case 3: {
  18918. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18919. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18920. parse_sharkCardType:
  18921. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18922. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18923. input, &sharkcardtype_)));
  18924. set_has_sharkcardtype();
  18925. } else {
  18926. goto handle_uninterpreted;
  18927. }
  18928. if (input->ExpectAtEnd()) return true;
  18929. break;
  18930. }
  18931. default: {
  18932. handle_uninterpreted:
  18933. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18934. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18935. return true;
  18936. }
  18937. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18938. input, tag, mutable_unknown_fields()));
  18939. break;
  18940. }
  18941. }
  18942. }
  18943. return true;
  18944. #undef DO_
  18945. }
  18946. void packetw2c_get_room_quest_result::SerializeWithCachedSizes(
  18947. ::google::protobuf::io::CodedOutputStream* output) const {
  18948. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_room_quest_result];
  18949. if (has_packet_id()) {
  18950. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18951. 1, this->packet_id(), output);
  18952. }
  18953. // repeated .msg_info_def.msg_quest_info questList = 2;
  18954. for (int i = 0; i < this->questlist_size(); i++) {
  18955. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  18956. 2, this->questlist(i), output);
  18957. }
  18958. // optional int32 sharkCardType = 3;
  18959. if (has_sharkcardtype()) {
  18960. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->sharkcardtype(), output);
  18961. }
  18962. if (!unknown_fields().empty()) {
  18963. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18964. unknown_fields(), output);
  18965. }
  18966. }
  18967. ::google::protobuf::uint8* packetw2c_get_room_quest_result::SerializeWithCachedSizesToArray(
  18968. ::google::protobuf::uint8* target) const {
  18969. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_room_quest_result];
  18970. if (has_packet_id()) {
  18971. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18972. 1, this->packet_id(), target);
  18973. }
  18974. // repeated .msg_info_def.msg_quest_info questList = 2;
  18975. for (int i = 0; i < this->questlist_size(); i++) {
  18976. target = ::google::protobuf::internal::WireFormatLite::
  18977. WriteMessageNoVirtualToArray(
  18978. 2, this->questlist(i), target);
  18979. }
  18980. // optional int32 sharkCardType = 3;
  18981. if (has_sharkcardtype()) {
  18982. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->sharkcardtype(), target);
  18983. }
  18984. if (!unknown_fields().empty()) {
  18985. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18986. unknown_fields(), target);
  18987. }
  18988. return target;
  18989. }
  18990. int packetw2c_get_room_quest_result::ByteSize() const {
  18991. int total_size = 0;
  18992. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18993. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_room_quest_result];
  18994. if (has_packet_id()) {
  18995. total_size += 1 +
  18996. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18997. }
  18998. // optional int32 sharkCardType = 3;
  18999. if (has_sharkcardtype()) {
  19000. total_size += 1 +
  19001. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19002. this->sharkcardtype());
  19003. }
  19004. }
  19005. // repeated .msg_info_def.msg_quest_info questList = 2;
  19006. total_size += 1 * this->questlist_size();
  19007. for (int i = 0; i < this->questlist_size(); i++) {
  19008. total_size +=
  19009. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19010. this->questlist(i));
  19011. }
  19012. if (!unknown_fields().empty()) {
  19013. total_size +=
  19014. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19015. unknown_fields());
  19016. }
  19017. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19018. _cached_size_ = total_size;
  19019. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19020. return total_size;
  19021. }
  19022. void packetw2c_get_room_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  19023. GOOGLE_CHECK_NE(&from, this);
  19024. const packetw2c_get_room_quest_result* source =
  19025. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_room_quest_result*>(
  19026. &from);
  19027. if (source == NULL) {
  19028. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19029. } else {
  19030. MergeFrom(*source);
  19031. }
  19032. }
  19033. void packetw2c_get_room_quest_result::MergeFrom(const packetw2c_get_room_quest_result& from) {
  19034. GOOGLE_CHECK_NE(&from, this);
  19035. questlist_.MergeFrom(from.questlist_);
  19036. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19037. if (from.has_packet_id()) {
  19038. set_packet_id(from.packet_id());
  19039. }
  19040. if (from.has_sharkcardtype()) {
  19041. set_sharkcardtype(from.sharkcardtype());
  19042. }
  19043. }
  19044. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19045. }
  19046. void packetw2c_get_room_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  19047. if (&from == this) return;
  19048. Clear();
  19049. MergeFrom(from);
  19050. }
  19051. void packetw2c_get_room_quest_result::CopyFrom(const packetw2c_get_room_quest_result& from) {
  19052. if (&from == this) return;
  19053. Clear();
  19054. MergeFrom(from);
  19055. }
  19056. bool packetw2c_get_room_quest_result::IsInitialized() const {
  19057. return true;
  19058. }
  19059. void packetw2c_get_room_quest_result::Swap(packetw2c_get_room_quest_result* other) {
  19060. if (other != this) {
  19061. std::swap(packet_id_, other->packet_id_);
  19062. questlist_.Swap(&other->questlist_);
  19063. std::swap(sharkcardtype_, other->sharkcardtype_);
  19064. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19065. _unknown_fields_.Swap(&other->_unknown_fields_);
  19066. std::swap(_cached_size_, other->_cached_size_);
  19067. }
  19068. }
  19069. ::google::protobuf::Metadata packetw2c_get_room_quest_result::GetMetadata() const {
  19070. protobuf_AssignDescriptorsOnce();
  19071. ::google::protobuf::Metadata metadata;
  19072. metadata.descriptor = packetw2c_get_room_quest_result_descriptor_;
  19073. metadata.reflection = packetw2c_get_room_quest_result_reflection_;
  19074. return metadata;
  19075. }
  19076. // ===================================================================
  19077. #ifndef _MSC_VER
  19078. const int packetc2w_recv_room_quest_award::kPacketIdFieldNumber;
  19079. const int packetc2w_recv_room_quest_award::kQuestIdFieldNumber;
  19080. #endif // !_MSC_VER
  19081. packetc2w_recv_room_quest_award::packetc2w_recv_room_quest_award()
  19082. : ::google::protobuf::Message() {
  19083. SharedCtor();
  19084. }
  19085. void packetc2w_recv_room_quest_award::InitAsDefaultInstance() {
  19086. }
  19087. packetc2w_recv_room_quest_award::packetc2w_recv_room_quest_award(const packetc2w_recv_room_quest_award& from)
  19088. : ::google::protobuf::Message() {
  19089. SharedCtor();
  19090. MergeFrom(from);
  19091. }
  19092. void packetc2w_recv_room_quest_award::SharedCtor() {
  19093. _cached_size_ = 0;
  19094. packet_id_ = 5181;
  19095. questid_ = 0;
  19096. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19097. }
  19098. packetc2w_recv_room_quest_award::~packetc2w_recv_room_quest_award() {
  19099. SharedDtor();
  19100. }
  19101. void packetc2w_recv_room_quest_award::SharedDtor() {
  19102. if (this != default_instance_) {
  19103. }
  19104. }
  19105. void packetc2w_recv_room_quest_award::SetCachedSize(int size) const {
  19106. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19107. _cached_size_ = size;
  19108. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19109. }
  19110. const ::google::protobuf::Descriptor* packetc2w_recv_room_quest_award::descriptor() {
  19111. protobuf_AssignDescriptorsOnce();
  19112. return packetc2w_recv_room_quest_award_descriptor_;
  19113. }
  19114. const packetc2w_recv_room_quest_award& packetc2w_recv_room_quest_award::default_instance() {
  19115. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  19116. return *default_instance_;
  19117. }
  19118. packetc2w_recv_room_quest_award* packetc2w_recv_room_quest_award::default_instance_ = NULL;
  19119. packetc2w_recv_room_quest_award* packetc2w_recv_room_quest_award::New() const {
  19120. return new packetc2w_recv_room_quest_award;
  19121. }
  19122. void packetc2w_recv_room_quest_award::Clear() {
  19123. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19124. packet_id_ = 5181;
  19125. questid_ = 0;
  19126. }
  19127. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19128. mutable_unknown_fields()->Clear();
  19129. }
  19130. bool packetc2w_recv_room_quest_award::MergePartialFromCodedStream(
  19131. ::google::protobuf::io::CodedInputStream* input) {
  19132. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19133. ::google::protobuf::uint32 tag;
  19134. while ((tag = input->ReadTag()) != 0) {
  19135. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19136. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_award];
  19137. case 1: {
  19138. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19139. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19140. int value;
  19141. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19142. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19143. input, &value)));
  19144. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  19145. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  19146. } else {
  19147. mutable_unknown_fields()->AddVarint(1, value);
  19148. }
  19149. } else {
  19150. goto handle_uninterpreted;
  19151. }
  19152. if (input->ExpectTag(16)) goto parse_questId;
  19153. break;
  19154. }
  19155. // optional int32 questId = 2;
  19156. case 2: {
  19157. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19158. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19159. parse_questId:
  19160. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19161. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19162. input, &questid_)));
  19163. set_has_questid();
  19164. } else {
  19165. goto handle_uninterpreted;
  19166. }
  19167. if (input->ExpectAtEnd()) return true;
  19168. break;
  19169. }
  19170. default: {
  19171. handle_uninterpreted:
  19172. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19173. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19174. return true;
  19175. }
  19176. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19177. input, tag, mutable_unknown_fields()));
  19178. break;
  19179. }
  19180. }
  19181. }
  19182. return true;
  19183. #undef DO_
  19184. }
  19185. void packetc2w_recv_room_quest_award::SerializeWithCachedSizes(
  19186. ::google::protobuf::io::CodedOutputStream* output) const {
  19187. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_award];
  19188. if (has_packet_id()) {
  19189. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19190. 1, this->packet_id(), output);
  19191. }
  19192. // optional int32 questId = 2;
  19193. if (has_questid()) {
  19194. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  19195. }
  19196. if (!unknown_fields().empty()) {
  19197. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19198. unknown_fields(), output);
  19199. }
  19200. }
  19201. ::google::protobuf::uint8* packetc2w_recv_room_quest_award::SerializeWithCachedSizesToArray(
  19202. ::google::protobuf::uint8* target) const {
  19203. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_award];
  19204. if (has_packet_id()) {
  19205. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19206. 1, this->packet_id(), target);
  19207. }
  19208. // optional int32 questId = 2;
  19209. if (has_questid()) {
  19210. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  19211. }
  19212. if (!unknown_fields().empty()) {
  19213. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19214. unknown_fields(), target);
  19215. }
  19216. return target;
  19217. }
  19218. int packetc2w_recv_room_quest_award::ByteSize() const {
  19219. int total_size = 0;
  19220. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19221. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_award];
  19222. if (has_packet_id()) {
  19223. total_size += 1 +
  19224. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19225. }
  19226. // optional int32 questId = 2;
  19227. if (has_questid()) {
  19228. total_size += 1 +
  19229. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19230. this->questid());
  19231. }
  19232. }
  19233. if (!unknown_fields().empty()) {
  19234. total_size +=
  19235. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19236. unknown_fields());
  19237. }
  19238. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19239. _cached_size_ = total_size;
  19240. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19241. return total_size;
  19242. }
  19243. void packetc2w_recv_room_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  19244. GOOGLE_CHECK_NE(&from, this);
  19245. const packetc2w_recv_room_quest_award* source =
  19246. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_room_quest_award*>(
  19247. &from);
  19248. if (source == NULL) {
  19249. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19250. } else {
  19251. MergeFrom(*source);
  19252. }
  19253. }
  19254. void packetc2w_recv_room_quest_award::MergeFrom(const packetc2w_recv_room_quest_award& from) {
  19255. GOOGLE_CHECK_NE(&from, this);
  19256. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19257. if (from.has_packet_id()) {
  19258. set_packet_id(from.packet_id());
  19259. }
  19260. if (from.has_questid()) {
  19261. set_questid(from.questid());
  19262. }
  19263. }
  19264. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19265. }
  19266. void packetc2w_recv_room_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  19267. if (&from == this) return;
  19268. Clear();
  19269. MergeFrom(from);
  19270. }
  19271. void packetc2w_recv_room_quest_award::CopyFrom(const packetc2w_recv_room_quest_award& from) {
  19272. if (&from == this) return;
  19273. Clear();
  19274. MergeFrom(from);
  19275. }
  19276. bool packetc2w_recv_room_quest_award::IsInitialized() const {
  19277. return true;
  19278. }
  19279. void packetc2w_recv_room_quest_award::Swap(packetc2w_recv_room_quest_award* other) {
  19280. if (other != this) {
  19281. std::swap(packet_id_, other->packet_id_);
  19282. std::swap(questid_, other->questid_);
  19283. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19284. _unknown_fields_.Swap(&other->_unknown_fields_);
  19285. std::swap(_cached_size_, other->_cached_size_);
  19286. }
  19287. }
  19288. ::google::protobuf::Metadata packetc2w_recv_room_quest_award::GetMetadata() const {
  19289. protobuf_AssignDescriptorsOnce();
  19290. ::google::protobuf::Metadata metadata;
  19291. metadata.descriptor = packetc2w_recv_room_quest_award_descriptor_;
  19292. metadata.reflection = packetc2w_recv_room_quest_award_reflection_;
  19293. return metadata;
  19294. }
  19295. // ===================================================================
  19296. #ifndef _MSC_VER
  19297. const int packetw2c_recv_room_quest_award_result::kPacketIdFieldNumber;
  19298. const int packetw2c_recv_room_quest_award_result::kResultFieldNumber;
  19299. const int packetw2c_recv_room_quest_award_result::kQuestIdFieldNumber;
  19300. const int packetw2c_recv_room_quest_award_result::kItemsFieldNumber;
  19301. #endif // !_MSC_VER
  19302. packetw2c_recv_room_quest_award_result::packetw2c_recv_room_quest_award_result()
  19303. : ::google::protobuf::Message() {
  19304. SharedCtor();
  19305. }
  19306. void packetw2c_recv_room_quest_award_result::InitAsDefaultInstance() {
  19307. }
  19308. packetw2c_recv_room_quest_award_result::packetw2c_recv_room_quest_award_result(const packetw2c_recv_room_quest_award_result& from)
  19309. : ::google::protobuf::Message() {
  19310. SharedCtor();
  19311. MergeFrom(from);
  19312. }
  19313. void packetw2c_recv_room_quest_award_result::SharedCtor() {
  19314. _cached_size_ = 0;
  19315. packet_id_ = 7702;
  19316. result_ = 0;
  19317. questid_ = 0;
  19318. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19319. }
  19320. packetw2c_recv_room_quest_award_result::~packetw2c_recv_room_quest_award_result() {
  19321. SharedDtor();
  19322. }
  19323. void packetw2c_recv_room_quest_award_result::SharedDtor() {
  19324. if (this != default_instance_) {
  19325. }
  19326. }
  19327. void packetw2c_recv_room_quest_award_result::SetCachedSize(int size) const {
  19328. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19329. _cached_size_ = size;
  19330. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19331. }
  19332. const ::google::protobuf::Descriptor* packetw2c_recv_room_quest_award_result::descriptor() {
  19333. protobuf_AssignDescriptorsOnce();
  19334. return packetw2c_recv_room_quest_award_result_descriptor_;
  19335. }
  19336. const packetw2c_recv_room_quest_award_result& packetw2c_recv_room_quest_award_result::default_instance() {
  19337. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  19338. return *default_instance_;
  19339. }
  19340. packetw2c_recv_room_quest_award_result* packetw2c_recv_room_quest_award_result::default_instance_ = NULL;
  19341. packetw2c_recv_room_quest_award_result* packetw2c_recv_room_quest_award_result::New() const {
  19342. return new packetw2c_recv_room_quest_award_result;
  19343. }
  19344. void packetw2c_recv_room_quest_award_result::Clear() {
  19345. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19346. packet_id_ = 7702;
  19347. result_ = 0;
  19348. questid_ = 0;
  19349. }
  19350. items_.Clear();
  19351. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19352. mutable_unknown_fields()->Clear();
  19353. }
  19354. bool packetw2c_recv_room_quest_award_result::MergePartialFromCodedStream(
  19355. ::google::protobuf::io::CodedInputStream* input) {
  19356. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19357. ::google::protobuf::uint32 tag;
  19358. while ((tag = input->ReadTag()) != 0) {
  19359. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19360. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_award_result];
  19361. case 1: {
  19362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19364. int value;
  19365. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19366. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19367. input, &value)));
  19368. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  19369. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  19370. } else {
  19371. mutable_unknown_fields()->AddVarint(1, value);
  19372. }
  19373. } else {
  19374. goto handle_uninterpreted;
  19375. }
  19376. if (input->ExpectTag(16)) goto parse_result;
  19377. break;
  19378. }
  19379. // optional int32 result = 2;
  19380. case 2: {
  19381. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19382. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19383. parse_result:
  19384. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19385. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19386. input, &result_)));
  19387. set_has_result();
  19388. } else {
  19389. goto handle_uninterpreted;
  19390. }
  19391. if (input->ExpectTag(24)) goto parse_questId;
  19392. break;
  19393. }
  19394. // optional int32 questId = 3;
  19395. case 3: {
  19396. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19397. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19398. parse_questId:
  19399. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19400. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19401. input, &questid_)));
  19402. set_has_questid();
  19403. } else {
  19404. goto handle_uninterpreted;
  19405. }
  19406. if (input->ExpectTag(34)) goto parse_items;
  19407. break;
  19408. }
  19409. // repeated .msg_info_def.ItemInfo items = 4;
  19410. case 4: {
  19411. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19412. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19413. parse_items:
  19414. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19415. input, add_items()));
  19416. } else {
  19417. goto handle_uninterpreted;
  19418. }
  19419. if (input->ExpectTag(34)) goto parse_items;
  19420. if (input->ExpectAtEnd()) return true;
  19421. break;
  19422. }
  19423. default: {
  19424. handle_uninterpreted:
  19425. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19426. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19427. return true;
  19428. }
  19429. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19430. input, tag, mutable_unknown_fields()));
  19431. break;
  19432. }
  19433. }
  19434. }
  19435. return true;
  19436. #undef DO_
  19437. }
  19438. void packetw2c_recv_room_quest_award_result::SerializeWithCachedSizes(
  19439. ::google::protobuf::io::CodedOutputStream* output) const {
  19440. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_award_result];
  19441. if (has_packet_id()) {
  19442. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19443. 1, this->packet_id(), output);
  19444. }
  19445. // optional int32 result = 2;
  19446. if (has_result()) {
  19447. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  19448. }
  19449. // optional int32 questId = 3;
  19450. if (has_questid()) {
  19451. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  19452. }
  19453. // repeated .msg_info_def.ItemInfo items = 4;
  19454. for (int i = 0; i < this->items_size(); i++) {
  19455. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19456. 4, this->items(i), output);
  19457. }
  19458. if (!unknown_fields().empty()) {
  19459. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19460. unknown_fields(), output);
  19461. }
  19462. }
  19463. ::google::protobuf::uint8* packetw2c_recv_room_quest_award_result::SerializeWithCachedSizesToArray(
  19464. ::google::protobuf::uint8* target) const {
  19465. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_award_result];
  19466. if (has_packet_id()) {
  19467. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19468. 1, this->packet_id(), target);
  19469. }
  19470. // optional int32 result = 2;
  19471. if (has_result()) {
  19472. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  19473. }
  19474. // optional int32 questId = 3;
  19475. if (has_questid()) {
  19476. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  19477. }
  19478. // repeated .msg_info_def.ItemInfo items = 4;
  19479. for (int i = 0; i < this->items_size(); i++) {
  19480. target = ::google::protobuf::internal::WireFormatLite::
  19481. WriteMessageNoVirtualToArray(
  19482. 4, this->items(i), target);
  19483. }
  19484. if (!unknown_fields().empty()) {
  19485. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19486. unknown_fields(), target);
  19487. }
  19488. return target;
  19489. }
  19490. int packetw2c_recv_room_quest_award_result::ByteSize() const {
  19491. int total_size = 0;
  19492. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19493. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_award_result];
  19494. if (has_packet_id()) {
  19495. total_size += 1 +
  19496. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19497. }
  19498. // optional int32 result = 2;
  19499. if (has_result()) {
  19500. total_size += 1 +
  19501. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19502. this->result());
  19503. }
  19504. // optional int32 questId = 3;
  19505. if (has_questid()) {
  19506. total_size += 1 +
  19507. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19508. this->questid());
  19509. }
  19510. }
  19511. // repeated .msg_info_def.ItemInfo items = 4;
  19512. total_size += 1 * this->items_size();
  19513. for (int i = 0; i < this->items_size(); i++) {
  19514. total_size +=
  19515. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19516. this->items(i));
  19517. }
  19518. if (!unknown_fields().empty()) {
  19519. total_size +=
  19520. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19521. unknown_fields());
  19522. }
  19523. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19524. _cached_size_ = total_size;
  19525. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19526. return total_size;
  19527. }
  19528. void packetw2c_recv_room_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  19529. GOOGLE_CHECK_NE(&from, this);
  19530. const packetw2c_recv_room_quest_award_result* source =
  19531. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_room_quest_award_result*>(
  19532. &from);
  19533. if (source == NULL) {
  19534. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19535. } else {
  19536. MergeFrom(*source);
  19537. }
  19538. }
  19539. void packetw2c_recv_room_quest_award_result::MergeFrom(const packetw2c_recv_room_quest_award_result& from) {
  19540. GOOGLE_CHECK_NE(&from, this);
  19541. items_.MergeFrom(from.items_);
  19542. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19543. if (from.has_packet_id()) {
  19544. set_packet_id(from.packet_id());
  19545. }
  19546. if (from.has_result()) {
  19547. set_result(from.result());
  19548. }
  19549. if (from.has_questid()) {
  19550. set_questid(from.questid());
  19551. }
  19552. }
  19553. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19554. }
  19555. void packetw2c_recv_room_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  19556. if (&from == this) return;
  19557. Clear();
  19558. MergeFrom(from);
  19559. }
  19560. void packetw2c_recv_room_quest_award_result::CopyFrom(const packetw2c_recv_room_quest_award_result& from) {
  19561. if (&from == this) return;
  19562. Clear();
  19563. MergeFrom(from);
  19564. }
  19565. bool packetw2c_recv_room_quest_award_result::IsInitialized() const {
  19566. return true;
  19567. }
  19568. void packetw2c_recv_room_quest_award_result::Swap(packetw2c_recv_room_quest_award_result* other) {
  19569. if (other != this) {
  19570. std::swap(packet_id_, other->packet_id_);
  19571. std::swap(result_, other->result_);
  19572. std::swap(questid_, other->questid_);
  19573. items_.Swap(&other->items_);
  19574. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19575. _unknown_fields_.Swap(&other->_unknown_fields_);
  19576. std::swap(_cached_size_, other->_cached_size_);
  19577. }
  19578. }
  19579. ::google::protobuf::Metadata packetw2c_recv_room_quest_award_result::GetMetadata() const {
  19580. protobuf_AssignDescriptorsOnce();
  19581. ::google::protobuf::Metadata metadata;
  19582. metadata.descriptor = packetw2c_recv_room_quest_award_result_descriptor_;
  19583. metadata.reflection = packetw2c_recv_room_quest_award_result_reflection_;
  19584. return metadata;
  19585. }
  19586. // ===================================================================
  19587. #ifndef _MSC_VER
  19588. const int packetc2w_recv_room_quest_point_award::kPacketIdFieldNumber;
  19589. const int packetc2w_recv_room_quest_point_award::kQuestIdFieldNumber;
  19590. #endif // !_MSC_VER
  19591. packetc2w_recv_room_quest_point_award::packetc2w_recv_room_quest_point_award()
  19592. : ::google::protobuf::Message() {
  19593. SharedCtor();
  19594. }
  19595. void packetc2w_recv_room_quest_point_award::InitAsDefaultInstance() {
  19596. }
  19597. packetc2w_recv_room_quest_point_award::packetc2w_recv_room_quest_point_award(const packetc2w_recv_room_quest_point_award& from)
  19598. : ::google::protobuf::Message() {
  19599. SharedCtor();
  19600. MergeFrom(from);
  19601. }
  19602. void packetc2w_recv_room_quest_point_award::SharedCtor() {
  19603. _cached_size_ = 0;
  19604. packet_id_ = 5182;
  19605. questid_ = 0;
  19606. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19607. }
  19608. packetc2w_recv_room_quest_point_award::~packetc2w_recv_room_quest_point_award() {
  19609. SharedDtor();
  19610. }
  19611. void packetc2w_recv_room_quest_point_award::SharedDtor() {
  19612. if (this != default_instance_) {
  19613. }
  19614. }
  19615. void packetc2w_recv_room_quest_point_award::SetCachedSize(int size) const {
  19616. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19617. _cached_size_ = size;
  19618. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19619. }
  19620. const ::google::protobuf::Descriptor* packetc2w_recv_room_quest_point_award::descriptor() {
  19621. protobuf_AssignDescriptorsOnce();
  19622. return packetc2w_recv_room_quest_point_award_descriptor_;
  19623. }
  19624. const packetc2w_recv_room_quest_point_award& packetc2w_recv_room_quest_point_award::default_instance() {
  19625. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  19626. return *default_instance_;
  19627. }
  19628. packetc2w_recv_room_quest_point_award* packetc2w_recv_room_quest_point_award::default_instance_ = NULL;
  19629. packetc2w_recv_room_quest_point_award* packetc2w_recv_room_quest_point_award::New() const {
  19630. return new packetc2w_recv_room_quest_point_award;
  19631. }
  19632. void packetc2w_recv_room_quest_point_award::Clear() {
  19633. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19634. packet_id_ = 5182;
  19635. questid_ = 0;
  19636. }
  19637. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19638. mutable_unknown_fields()->Clear();
  19639. }
  19640. bool packetc2w_recv_room_quest_point_award::MergePartialFromCodedStream(
  19641. ::google::protobuf::io::CodedInputStream* input) {
  19642. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19643. ::google::protobuf::uint32 tag;
  19644. while ((tag = input->ReadTag()) != 0) {
  19645. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19646. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_point_award];
  19647. case 1: {
  19648. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19649. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19650. int value;
  19651. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19652. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19653. input, &value)));
  19654. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  19655. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  19656. } else {
  19657. mutable_unknown_fields()->AddVarint(1, value);
  19658. }
  19659. } else {
  19660. goto handle_uninterpreted;
  19661. }
  19662. if (input->ExpectTag(16)) goto parse_questId;
  19663. break;
  19664. }
  19665. // optional int32 questId = 2;
  19666. case 2: {
  19667. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19668. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19669. parse_questId:
  19670. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19671. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19672. input, &questid_)));
  19673. set_has_questid();
  19674. } else {
  19675. goto handle_uninterpreted;
  19676. }
  19677. if (input->ExpectAtEnd()) return true;
  19678. break;
  19679. }
  19680. default: {
  19681. handle_uninterpreted:
  19682. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19683. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19684. return true;
  19685. }
  19686. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19687. input, tag, mutable_unknown_fields()));
  19688. break;
  19689. }
  19690. }
  19691. }
  19692. return true;
  19693. #undef DO_
  19694. }
  19695. void packetc2w_recv_room_quest_point_award::SerializeWithCachedSizes(
  19696. ::google::protobuf::io::CodedOutputStream* output) const {
  19697. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_point_award];
  19698. if (has_packet_id()) {
  19699. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19700. 1, this->packet_id(), output);
  19701. }
  19702. // optional int32 questId = 2;
  19703. if (has_questid()) {
  19704. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  19705. }
  19706. if (!unknown_fields().empty()) {
  19707. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19708. unknown_fields(), output);
  19709. }
  19710. }
  19711. ::google::protobuf::uint8* packetc2w_recv_room_quest_point_award::SerializeWithCachedSizesToArray(
  19712. ::google::protobuf::uint8* target) const {
  19713. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_point_award];
  19714. if (has_packet_id()) {
  19715. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19716. 1, this->packet_id(), target);
  19717. }
  19718. // optional int32 questId = 2;
  19719. if (has_questid()) {
  19720. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  19721. }
  19722. if (!unknown_fields().empty()) {
  19723. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19724. unknown_fields(), target);
  19725. }
  19726. return target;
  19727. }
  19728. int packetc2w_recv_room_quest_point_award::ByteSize() const {
  19729. int total_size = 0;
  19730. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19731. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_point_award];
  19732. if (has_packet_id()) {
  19733. total_size += 1 +
  19734. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19735. }
  19736. // optional int32 questId = 2;
  19737. if (has_questid()) {
  19738. total_size += 1 +
  19739. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19740. this->questid());
  19741. }
  19742. }
  19743. if (!unknown_fields().empty()) {
  19744. total_size +=
  19745. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19746. unknown_fields());
  19747. }
  19748. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19749. _cached_size_ = total_size;
  19750. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19751. return total_size;
  19752. }
  19753. void packetc2w_recv_room_quest_point_award::MergeFrom(const ::google::protobuf::Message& from) {
  19754. GOOGLE_CHECK_NE(&from, this);
  19755. const packetc2w_recv_room_quest_point_award* source =
  19756. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_room_quest_point_award*>(
  19757. &from);
  19758. if (source == NULL) {
  19759. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19760. } else {
  19761. MergeFrom(*source);
  19762. }
  19763. }
  19764. void packetc2w_recv_room_quest_point_award::MergeFrom(const packetc2w_recv_room_quest_point_award& from) {
  19765. GOOGLE_CHECK_NE(&from, this);
  19766. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19767. if (from.has_packet_id()) {
  19768. set_packet_id(from.packet_id());
  19769. }
  19770. if (from.has_questid()) {
  19771. set_questid(from.questid());
  19772. }
  19773. }
  19774. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19775. }
  19776. void packetc2w_recv_room_quest_point_award::CopyFrom(const ::google::protobuf::Message& from) {
  19777. if (&from == this) return;
  19778. Clear();
  19779. MergeFrom(from);
  19780. }
  19781. void packetc2w_recv_room_quest_point_award::CopyFrom(const packetc2w_recv_room_quest_point_award& from) {
  19782. if (&from == this) return;
  19783. Clear();
  19784. MergeFrom(from);
  19785. }
  19786. bool packetc2w_recv_room_quest_point_award::IsInitialized() const {
  19787. return true;
  19788. }
  19789. void packetc2w_recv_room_quest_point_award::Swap(packetc2w_recv_room_quest_point_award* other) {
  19790. if (other != this) {
  19791. std::swap(packet_id_, other->packet_id_);
  19792. std::swap(questid_, other->questid_);
  19793. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19794. _unknown_fields_.Swap(&other->_unknown_fields_);
  19795. std::swap(_cached_size_, other->_cached_size_);
  19796. }
  19797. }
  19798. ::google::protobuf::Metadata packetc2w_recv_room_quest_point_award::GetMetadata() const {
  19799. protobuf_AssignDescriptorsOnce();
  19800. ::google::protobuf::Metadata metadata;
  19801. metadata.descriptor = packetc2w_recv_room_quest_point_award_descriptor_;
  19802. metadata.reflection = packetc2w_recv_room_quest_point_award_reflection_;
  19803. return metadata;
  19804. }
  19805. // ===================================================================
  19806. #ifndef _MSC_VER
  19807. const int packetw2c_recv_room_quest_point_award_result::kPacketIdFieldNumber;
  19808. const int packetw2c_recv_room_quest_point_award_result::kResultFieldNumber;
  19809. const int packetw2c_recv_room_quest_point_award_result::kQuestIdFieldNumber;
  19810. const int packetw2c_recv_room_quest_point_award_result::kItemsFieldNumber;
  19811. #endif // !_MSC_VER
  19812. packetw2c_recv_room_quest_point_award_result::packetw2c_recv_room_quest_point_award_result()
  19813. : ::google::protobuf::Message() {
  19814. SharedCtor();
  19815. }
  19816. void packetw2c_recv_room_quest_point_award_result::InitAsDefaultInstance() {
  19817. }
  19818. packetw2c_recv_room_quest_point_award_result::packetw2c_recv_room_quest_point_award_result(const packetw2c_recv_room_quest_point_award_result& from)
  19819. : ::google::protobuf::Message() {
  19820. SharedCtor();
  19821. MergeFrom(from);
  19822. }
  19823. void packetw2c_recv_room_quest_point_award_result::SharedCtor() {
  19824. _cached_size_ = 0;
  19825. packet_id_ = 7703;
  19826. result_ = 0;
  19827. questid_ = 0;
  19828. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19829. }
  19830. packetw2c_recv_room_quest_point_award_result::~packetw2c_recv_room_quest_point_award_result() {
  19831. SharedDtor();
  19832. }
  19833. void packetw2c_recv_room_quest_point_award_result::SharedDtor() {
  19834. if (this != default_instance_) {
  19835. }
  19836. }
  19837. void packetw2c_recv_room_quest_point_award_result::SetCachedSize(int size) const {
  19838. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19839. _cached_size_ = size;
  19840. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19841. }
  19842. const ::google::protobuf::Descriptor* packetw2c_recv_room_quest_point_award_result::descriptor() {
  19843. protobuf_AssignDescriptorsOnce();
  19844. return packetw2c_recv_room_quest_point_award_result_descriptor_;
  19845. }
  19846. const packetw2c_recv_room_quest_point_award_result& packetw2c_recv_room_quest_point_award_result::default_instance() {
  19847. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  19848. return *default_instance_;
  19849. }
  19850. packetw2c_recv_room_quest_point_award_result* packetw2c_recv_room_quest_point_award_result::default_instance_ = NULL;
  19851. packetw2c_recv_room_quest_point_award_result* packetw2c_recv_room_quest_point_award_result::New() const {
  19852. return new packetw2c_recv_room_quest_point_award_result;
  19853. }
  19854. void packetw2c_recv_room_quest_point_award_result::Clear() {
  19855. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19856. packet_id_ = 7703;
  19857. result_ = 0;
  19858. questid_ = 0;
  19859. }
  19860. items_.Clear();
  19861. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19862. mutable_unknown_fields()->Clear();
  19863. }
  19864. bool packetw2c_recv_room_quest_point_award_result::MergePartialFromCodedStream(
  19865. ::google::protobuf::io::CodedInputStream* input) {
  19866. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19867. ::google::protobuf::uint32 tag;
  19868. while ((tag = input->ReadTag()) != 0) {
  19869. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19870. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_point_award_result];
  19871. case 1: {
  19872. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19873. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19874. int value;
  19875. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19876. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19877. input, &value)));
  19878. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  19879. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  19880. } else {
  19881. mutable_unknown_fields()->AddVarint(1, value);
  19882. }
  19883. } else {
  19884. goto handle_uninterpreted;
  19885. }
  19886. if (input->ExpectTag(16)) goto parse_result;
  19887. break;
  19888. }
  19889. // optional int32 result = 2;
  19890. case 2: {
  19891. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19892. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19893. parse_result:
  19894. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19895. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19896. input, &result_)));
  19897. set_has_result();
  19898. } else {
  19899. goto handle_uninterpreted;
  19900. }
  19901. if (input->ExpectTag(24)) goto parse_questId;
  19902. break;
  19903. }
  19904. // optional int32 questId = 3;
  19905. case 3: {
  19906. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19907. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19908. parse_questId:
  19909. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19910. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19911. input, &questid_)));
  19912. set_has_questid();
  19913. } else {
  19914. goto handle_uninterpreted;
  19915. }
  19916. if (input->ExpectTag(34)) goto parse_items;
  19917. break;
  19918. }
  19919. // repeated .msg_info_def.ItemInfo items = 4;
  19920. case 4: {
  19921. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19922. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19923. parse_items:
  19924. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19925. input, add_items()));
  19926. } else {
  19927. goto handle_uninterpreted;
  19928. }
  19929. if (input->ExpectTag(34)) goto parse_items;
  19930. if (input->ExpectAtEnd()) return true;
  19931. break;
  19932. }
  19933. default: {
  19934. handle_uninterpreted:
  19935. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19936. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19937. return true;
  19938. }
  19939. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19940. input, tag, mutable_unknown_fields()));
  19941. break;
  19942. }
  19943. }
  19944. }
  19945. return true;
  19946. #undef DO_
  19947. }
  19948. void packetw2c_recv_room_quest_point_award_result::SerializeWithCachedSizes(
  19949. ::google::protobuf::io::CodedOutputStream* output) const {
  19950. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_point_award_result];
  19951. if (has_packet_id()) {
  19952. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19953. 1, this->packet_id(), output);
  19954. }
  19955. // optional int32 result = 2;
  19956. if (has_result()) {
  19957. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  19958. }
  19959. // optional int32 questId = 3;
  19960. if (has_questid()) {
  19961. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  19962. }
  19963. // repeated .msg_info_def.ItemInfo items = 4;
  19964. for (int i = 0; i < this->items_size(); i++) {
  19965. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19966. 4, this->items(i), output);
  19967. }
  19968. if (!unknown_fields().empty()) {
  19969. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19970. unknown_fields(), output);
  19971. }
  19972. }
  19973. ::google::protobuf::uint8* packetw2c_recv_room_quest_point_award_result::SerializeWithCachedSizesToArray(
  19974. ::google::protobuf::uint8* target) const {
  19975. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_point_award_result];
  19976. if (has_packet_id()) {
  19977. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19978. 1, this->packet_id(), target);
  19979. }
  19980. // optional int32 result = 2;
  19981. if (has_result()) {
  19982. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  19983. }
  19984. // optional int32 questId = 3;
  19985. if (has_questid()) {
  19986. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  19987. }
  19988. // repeated .msg_info_def.ItemInfo items = 4;
  19989. for (int i = 0; i < this->items_size(); i++) {
  19990. target = ::google::protobuf::internal::WireFormatLite::
  19991. WriteMessageNoVirtualToArray(
  19992. 4, this->items(i), target);
  19993. }
  19994. if (!unknown_fields().empty()) {
  19995. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19996. unknown_fields(), target);
  19997. }
  19998. return target;
  19999. }
  20000. int packetw2c_recv_room_quest_point_award_result::ByteSize() const {
  20001. int total_size = 0;
  20002. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20003. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_point_award_result];
  20004. if (has_packet_id()) {
  20005. total_size += 1 +
  20006. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  20007. }
  20008. // optional int32 result = 2;
  20009. if (has_result()) {
  20010. total_size += 1 +
  20011. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20012. this->result());
  20013. }
  20014. // optional int32 questId = 3;
  20015. if (has_questid()) {
  20016. total_size += 1 +
  20017. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20018. this->questid());
  20019. }
  20020. }
  20021. // repeated .msg_info_def.ItemInfo items = 4;
  20022. total_size += 1 * this->items_size();
  20023. for (int i = 0; i < this->items_size(); i++) {
  20024. total_size +=
  20025. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  20026. this->items(i));
  20027. }
  20028. if (!unknown_fields().empty()) {
  20029. total_size +=
  20030. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20031. unknown_fields());
  20032. }
  20033. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20034. _cached_size_ = total_size;
  20035. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20036. return total_size;
  20037. }
  20038. void packetw2c_recv_room_quest_point_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  20039. GOOGLE_CHECK_NE(&from, this);
  20040. const packetw2c_recv_room_quest_point_award_result* source =
  20041. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_room_quest_point_award_result*>(
  20042. &from);
  20043. if (source == NULL) {
  20044. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20045. } else {
  20046. MergeFrom(*source);
  20047. }
  20048. }
  20049. void packetw2c_recv_room_quest_point_award_result::MergeFrom(const packetw2c_recv_room_quest_point_award_result& from) {
  20050. GOOGLE_CHECK_NE(&from, this);
  20051. items_.MergeFrom(from.items_);
  20052. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20053. if (from.has_packet_id()) {
  20054. set_packet_id(from.packet_id());
  20055. }
  20056. if (from.has_result()) {
  20057. set_result(from.result());
  20058. }
  20059. if (from.has_questid()) {
  20060. set_questid(from.questid());
  20061. }
  20062. }
  20063. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20064. }
  20065. void packetw2c_recv_room_quest_point_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  20066. if (&from == this) return;
  20067. Clear();
  20068. MergeFrom(from);
  20069. }
  20070. void packetw2c_recv_room_quest_point_award_result::CopyFrom(const packetw2c_recv_room_quest_point_award_result& from) {
  20071. if (&from == this) return;
  20072. Clear();
  20073. MergeFrom(from);
  20074. }
  20075. bool packetw2c_recv_room_quest_point_award_result::IsInitialized() const {
  20076. return true;
  20077. }
  20078. void packetw2c_recv_room_quest_point_award_result::Swap(packetw2c_recv_room_quest_point_award_result* other) {
  20079. if (other != this) {
  20080. std::swap(packet_id_, other->packet_id_);
  20081. std::swap(result_, other->result_);
  20082. std::swap(questid_, other->questid_);
  20083. items_.Swap(&other->items_);
  20084. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20085. _unknown_fields_.Swap(&other->_unknown_fields_);
  20086. std::swap(_cached_size_, other->_cached_size_);
  20087. }
  20088. }
  20089. ::google::protobuf::Metadata packetw2c_recv_room_quest_point_award_result::GetMetadata() const {
  20090. protobuf_AssignDescriptorsOnce();
  20091. ::google::protobuf::Metadata metadata;
  20092. metadata.descriptor = packetw2c_recv_room_quest_point_award_result_descriptor_;
  20093. metadata.reflection = packetw2c_recv_room_quest_point_award_result_reflection_;
  20094. return metadata;
  20095. }
  20096. // ===================================================================
  20097. #ifndef _MSC_VER
  20098. const int packetw2c_syn_catch_fish_info::kPacketIdFieldNumber;
  20099. const int packetw2c_syn_catch_fish_info::kActivityStateFieldNumber;
  20100. const int packetw2c_syn_catch_fish_info::kStartTimeFieldNumber;
  20101. const int packetw2c_syn_catch_fish_info::kEndTimeFieldNumber;
  20102. const int packetw2c_syn_catch_fish_info::kCoinCountFieldNumber;
  20103. const int packetw2c_syn_catch_fish_info::kHistoryListFieldNumber;
  20104. #endif // !_MSC_VER
  20105. packetw2c_syn_catch_fish_info::packetw2c_syn_catch_fish_info()
  20106. : ::google::protobuf::Message() {
  20107. SharedCtor();
  20108. }
  20109. void packetw2c_syn_catch_fish_info::InitAsDefaultInstance() {
  20110. }
  20111. packetw2c_syn_catch_fish_info::packetw2c_syn_catch_fish_info(const packetw2c_syn_catch_fish_info& from)
  20112. : ::google::protobuf::Message() {
  20113. SharedCtor();
  20114. MergeFrom(from);
  20115. }
  20116. void packetw2c_syn_catch_fish_info::SharedCtor() {
  20117. _cached_size_ = 0;
  20118. packet_id_ = 7705;
  20119. activitystate_ = 0;
  20120. starttime_ = 0;
  20121. endtime_ = 0;
  20122. coincount_ = 0;
  20123. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20124. }
  20125. packetw2c_syn_catch_fish_info::~packetw2c_syn_catch_fish_info() {
  20126. SharedDtor();
  20127. }
  20128. void packetw2c_syn_catch_fish_info::SharedDtor() {
  20129. if (this != default_instance_) {
  20130. }
  20131. }
  20132. void packetw2c_syn_catch_fish_info::SetCachedSize(int size) const {
  20133. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20134. _cached_size_ = size;
  20135. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20136. }
  20137. const ::google::protobuf::Descriptor* packetw2c_syn_catch_fish_info::descriptor() {
  20138. protobuf_AssignDescriptorsOnce();
  20139. return packetw2c_syn_catch_fish_info_descriptor_;
  20140. }
  20141. const packetw2c_syn_catch_fish_info& packetw2c_syn_catch_fish_info::default_instance() {
  20142. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  20143. return *default_instance_;
  20144. }
  20145. packetw2c_syn_catch_fish_info* packetw2c_syn_catch_fish_info::default_instance_ = NULL;
  20146. packetw2c_syn_catch_fish_info* packetw2c_syn_catch_fish_info::New() const {
  20147. return new packetw2c_syn_catch_fish_info;
  20148. }
  20149. void packetw2c_syn_catch_fish_info::Clear() {
  20150. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20151. packet_id_ = 7705;
  20152. activitystate_ = 0;
  20153. starttime_ = 0;
  20154. endtime_ = 0;
  20155. coincount_ = 0;
  20156. }
  20157. historylist_.Clear();
  20158. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20159. mutable_unknown_fields()->Clear();
  20160. }
  20161. bool packetw2c_syn_catch_fish_info::MergePartialFromCodedStream(
  20162. ::google::protobuf::io::CodedInputStream* input) {
  20163. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20164. ::google::protobuf::uint32 tag;
  20165. while ((tag = input->ReadTag()) != 0) {
  20166. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20167. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_catch_fish_info];
  20168. case 1: {
  20169. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20170. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20171. int value;
  20172. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20173. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  20174. input, &value)));
  20175. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  20176. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  20177. } else {
  20178. mutable_unknown_fields()->AddVarint(1, value);
  20179. }
  20180. } else {
  20181. goto handle_uninterpreted;
  20182. }
  20183. if (input->ExpectTag(16)) goto parse_activityState;
  20184. break;
  20185. }
  20186. // optional int32 activityState = 2;
  20187. case 2: {
  20188. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20189. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20190. parse_activityState:
  20191. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20192. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20193. input, &activitystate_)));
  20194. set_has_activitystate();
  20195. } else {
  20196. goto handle_uninterpreted;
  20197. }
  20198. if (input->ExpectTag(24)) goto parse_startTime;
  20199. break;
  20200. }
  20201. // optional int32 startTime = 3;
  20202. case 3: {
  20203. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20204. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20205. parse_startTime:
  20206. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20207. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20208. input, &starttime_)));
  20209. set_has_starttime();
  20210. } else {
  20211. goto handle_uninterpreted;
  20212. }
  20213. if (input->ExpectTag(32)) goto parse_endTime;
  20214. break;
  20215. }
  20216. // optional int32 endTime = 4;
  20217. case 4: {
  20218. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20219. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20220. parse_endTime:
  20221. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20222. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20223. input, &endtime_)));
  20224. set_has_endtime();
  20225. } else {
  20226. goto handle_uninterpreted;
  20227. }
  20228. if (input->ExpectTag(40)) goto parse_coinCount;
  20229. break;
  20230. }
  20231. // optional int32 coinCount = 5;
  20232. case 5: {
  20233. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20234. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20235. parse_coinCount:
  20236. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20237. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20238. input, &coincount_)));
  20239. set_has_coincount();
  20240. } else {
  20241. goto handle_uninterpreted;
  20242. }
  20243. if (input->ExpectTag(50)) goto parse_historyList;
  20244. break;
  20245. }
  20246. // repeated .client2world_protocols.catchFishHistory historyList = 6;
  20247. case 6: {
  20248. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20249. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20250. parse_historyList:
  20251. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  20252. input, add_historylist()));
  20253. } else {
  20254. goto handle_uninterpreted;
  20255. }
  20256. if (input->ExpectTag(50)) goto parse_historyList;
  20257. if (input->ExpectAtEnd()) return true;
  20258. break;
  20259. }
  20260. default: {
  20261. handle_uninterpreted:
  20262. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20263. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20264. return true;
  20265. }
  20266. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20267. input, tag, mutable_unknown_fields()));
  20268. break;
  20269. }
  20270. }
  20271. }
  20272. return true;
  20273. #undef DO_
  20274. }
  20275. void packetw2c_syn_catch_fish_info::SerializeWithCachedSizes(
  20276. ::google::protobuf::io::CodedOutputStream* output) const {
  20277. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_catch_fish_info];
  20278. if (has_packet_id()) {
  20279. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  20280. 1, this->packet_id(), output);
  20281. }
  20282. // optional int32 activityState = 2;
  20283. if (has_activitystate()) {
  20284. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  20285. }
  20286. // optional int32 startTime = 3;
  20287. if (has_starttime()) {
  20288. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  20289. }
  20290. // optional int32 endTime = 4;
  20291. if (has_endtime()) {
  20292. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  20293. }
  20294. // optional int32 coinCount = 5;
  20295. if (has_coincount()) {
  20296. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->coincount(), output);
  20297. }
  20298. // repeated .client2world_protocols.catchFishHistory historyList = 6;
  20299. for (int i = 0; i < this->historylist_size(); i++) {
  20300. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  20301. 6, this->historylist(i), output);
  20302. }
  20303. if (!unknown_fields().empty()) {
  20304. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20305. unknown_fields(), output);
  20306. }
  20307. }
  20308. ::google::protobuf::uint8* packetw2c_syn_catch_fish_info::SerializeWithCachedSizesToArray(
  20309. ::google::protobuf::uint8* target) const {
  20310. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_catch_fish_info];
  20311. if (has_packet_id()) {
  20312. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  20313. 1, this->packet_id(), target);
  20314. }
  20315. // optional int32 activityState = 2;
  20316. if (has_activitystate()) {
  20317. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  20318. }
  20319. // optional int32 startTime = 3;
  20320. if (has_starttime()) {
  20321. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  20322. }
  20323. // optional int32 endTime = 4;
  20324. if (has_endtime()) {
  20325. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  20326. }
  20327. // optional int32 coinCount = 5;
  20328. if (has_coincount()) {
  20329. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->coincount(), target);
  20330. }
  20331. // repeated .client2world_protocols.catchFishHistory historyList = 6;
  20332. for (int i = 0; i < this->historylist_size(); i++) {
  20333. target = ::google::protobuf::internal::WireFormatLite::
  20334. WriteMessageNoVirtualToArray(
  20335. 6, this->historylist(i), target);
  20336. }
  20337. if (!unknown_fields().empty()) {
  20338. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20339. unknown_fields(), target);
  20340. }
  20341. return target;
  20342. }
  20343. int packetw2c_syn_catch_fish_info::ByteSize() const {
  20344. int total_size = 0;
  20345. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20346. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_catch_fish_info];
  20347. if (has_packet_id()) {
  20348. total_size += 1 +
  20349. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  20350. }
  20351. // optional int32 activityState = 2;
  20352. if (has_activitystate()) {
  20353. total_size += 1 +
  20354. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20355. this->activitystate());
  20356. }
  20357. // optional int32 startTime = 3;
  20358. if (has_starttime()) {
  20359. total_size += 1 +
  20360. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20361. this->starttime());
  20362. }
  20363. // optional int32 endTime = 4;
  20364. if (has_endtime()) {
  20365. total_size += 1 +
  20366. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20367. this->endtime());
  20368. }
  20369. // optional int32 coinCount = 5;
  20370. if (has_coincount()) {
  20371. total_size += 1 +
  20372. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20373. this->coincount());
  20374. }
  20375. }
  20376. // repeated .client2world_protocols.catchFishHistory historyList = 6;
  20377. total_size += 1 * this->historylist_size();
  20378. for (int i = 0; i < this->historylist_size(); i++) {
  20379. total_size +=
  20380. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  20381. this->historylist(i));
  20382. }
  20383. if (!unknown_fields().empty()) {
  20384. total_size +=
  20385. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20386. unknown_fields());
  20387. }
  20388. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20389. _cached_size_ = total_size;
  20390. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20391. return total_size;
  20392. }
  20393. void packetw2c_syn_catch_fish_info::MergeFrom(const ::google::protobuf::Message& from) {
  20394. GOOGLE_CHECK_NE(&from, this);
  20395. const packetw2c_syn_catch_fish_info* source =
  20396. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_catch_fish_info*>(
  20397. &from);
  20398. if (source == NULL) {
  20399. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20400. } else {
  20401. MergeFrom(*source);
  20402. }
  20403. }
  20404. void packetw2c_syn_catch_fish_info::MergeFrom(const packetw2c_syn_catch_fish_info& from) {
  20405. GOOGLE_CHECK_NE(&from, this);
  20406. historylist_.MergeFrom(from.historylist_);
  20407. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20408. if (from.has_packet_id()) {
  20409. set_packet_id(from.packet_id());
  20410. }
  20411. if (from.has_activitystate()) {
  20412. set_activitystate(from.activitystate());
  20413. }
  20414. if (from.has_starttime()) {
  20415. set_starttime(from.starttime());
  20416. }
  20417. if (from.has_endtime()) {
  20418. set_endtime(from.endtime());
  20419. }
  20420. if (from.has_coincount()) {
  20421. set_coincount(from.coincount());
  20422. }
  20423. }
  20424. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20425. }
  20426. void packetw2c_syn_catch_fish_info::CopyFrom(const ::google::protobuf::Message& from) {
  20427. if (&from == this) return;
  20428. Clear();
  20429. MergeFrom(from);
  20430. }
  20431. void packetw2c_syn_catch_fish_info::CopyFrom(const packetw2c_syn_catch_fish_info& from) {
  20432. if (&from == this) return;
  20433. Clear();
  20434. MergeFrom(from);
  20435. }
  20436. bool packetw2c_syn_catch_fish_info::IsInitialized() const {
  20437. return true;
  20438. }
  20439. void packetw2c_syn_catch_fish_info::Swap(packetw2c_syn_catch_fish_info* other) {
  20440. if (other != this) {
  20441. std::swap(packet_id_, other->packet_id_);
  20442. std::swap(activitystate_, other->activitystate_);
  20443. std::swap(starttime_, other->starttime_);
  20444. std::swap(endtime_, other->endtime_);
  20445. std::swap(coincount_, other->coincount_);
  20446. historylist_.Swap(&other->historylist_);
  20447. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20448. _unknown_fields_.Swap(&other->_unknown_fields_);
  20449. std::swap(_cached_size_, other->_cached_size_);
  20450. }
  20451. }
  20452. ::google::protobuf::Metadata packetw2c_syn_catch_fish_info::GetMetadata() const {
  20453. protobuf_AssignDescriptorsOnce();
  20454. ::google::protobuf::Metadata metadata;
  20455. metadata.descriptor = packetw2c_syn_catch_fish_info_descriptor_;
  20456. metadata.reflection = packetw2c_syn_catch_fish_info_reflection_;
  20457. return metadata;
  20458. }
  20459. // ===================================================================
  20460. #ifndef _MSC_VER
  20461. const int catchFishHistory::kTimeFieldNumber;
  20462. const int catchFishHistory::kNicknameFieldNumber;
  20463. const int catchFishHistory::kFishTypeFieldNumber;
  20464. const int catchFishHistory::kRateFieldNumber;
  20465. const int catchFishHistory::kGoldFieldNumber;
  20466. #endif // !_MSC_VER
  20467. catchFishHistory::catchFishHistory()
  20468. : ::google::protobuf::Message() {
  20469. SharedCtor();
  20470. }
  20471. void catchFishHistory::InitAsDefaultInstance() {
  20472. }
  20473. catchFishHistory::catchFishHistory(const catchFishHistory& from)
  20474. : ::google::protobuf::Message() {
  20475. SharedCtor();
  20476. MergeFrom(from);
  20477. }
  20478. void catchFishHistory::SharedCtor() {
  20479. _cached_size_ = 0;
  20480. time_ = 0;
  20481. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  20482. fishtype_ = 0;
  20483. rate_ = 0;
  20484. gold_ = 0;
  20485. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20486. }
  20487. catchFishHistory::~catchFishHistory() {
  20488. SharedDtor();
  20489. }
  20490. void catchFishHistory::SharedDtor() {
  20491. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  20492. delete nickname_;
  20493. }
  20494. if (this != default_instance_) {
  20495. }
  20496. }
  20497. void catchFishHistory::SetCachedSize(int size) const {
  20498. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20499. _cached_size_ = size;
  20500. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20501. }
  20502. const ::google::protobuf::Descriptor* catchFishHistory::descriptor() {
  20503. protobuf_AssignDescriptorsOnce();
  20504. return catchFishHistory_descriptor_;
  20505. }
  20506. const catchFishHistory& catchFishHistory::default_instance() {
  20507. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  20508. return *default_instance_;
  20509. }
  20510. catchFishHistory* catchFishHistory::default_instance_ = NULL;
  20511. catchFishHistory* catchFishHistory::New() const {
  20512. return new catchFishHistory;
  20513. }
  20514. void catchFishHistory::Clear() {
  20515. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20516. time_ = 0;
  20517. if (has_nickname()) {
  20518. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  20519. nickname_->clear();
  20520. }
  20521. }
  20522. fishtype_ = 0;
  20523. rate_ = 0;
  20524. gold_ = 0;
  20525. }
  20526. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20527. mutable_unknown_fields()->Clear();
  20528. }
  20529. bool catchFishHistory::MergePartialFromCodedStream(
  20530. ::google::protobuf::io::CodedInputStream* input) {
  20531. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20532. ::google::protobuf::uint32 tag;
  20533. while ((tag = input->ReadTag()) != 0) {
  20534. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20535. // optional int32 time = 1;
  20536. case 1: {
  20537. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20538. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20539. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20540. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20541. input, &time_)));
  20542. set_has_time();
  20543. } else {
  20544. goto handle_uninterpreted;
  20545. }
  20546. if (input->ExpectTag(18)) goto parse_nickname;
  20547. break;
  20548. }
  20549. // optional string nickname = 2;
  20550. case 2: {
  20551. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20552. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  20553. parse_nickname:
  20554. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  20555. input, this->mutable_nickname()));
  20556. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20557. this->nickname().data(), this->nickname().length(),
  20558. ::google::protobuf::internal::WireFormat::PARSE);
  20559. } else {
  20560. goto handle_uninterpreted;
  20561. }
  20562. if (input->ExpectTag(24)) goto parse_fishType;
  20563. break;
  20564. }
  20565. // optional int32 fishType = 3;
  20566. case 3: {
  20567. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20568. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20569. parse_fishType:
  20570. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20571. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20572. input, &fishtype_)));
  20573. set_has_fishtype();
  20574. } else {
  20575. goto handle_uninterpreted;
  20576. }
  20577. if (input->ExpectTag(32)) goto parse_rate;
  20578. break;
  20579. }
  20580. // optional int32 rate = 4;
  20581. case 4: {
  20582. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20583. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20584. parse_rate:
  20585. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20586. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20587. input, &rate_)));
  20588. set_has_rate();
  20589. } else {
  20590. goto handle_uninterpreted;
  20591. }
  20592. if (input->ExpectTag(40)) goto parse_gold;
  20593. break;
  20594. }
  20595. // optional int32 gold = 5;
  20596. case 5: {
  20597. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20598. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20599. parse_gold:
  20600. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20601. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20602. input, &gold_)));
  20603. set_has_gold();
  20604. } else {
  20605. goto handle_uninterpreted;
  20606. }
  20607. if (input->ExpectAtEnd()) return true;
  20608. break;
  20609. }
  20610. default: {
  20611. handle_uninterpreted:
  20612. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20613. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20614. return true;
  20615. }
  20616. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20617. input, tag, mutable_unknown_fields()));
  20618. break;
  20619. }
  20620. }
  20621. }
  20622. return true;
  20623. #undef DO_
  20624. }
  20625. void catchFishHistory::SerializeWithCachedSizes(
  20626. ::google::protobuf::io::CodedOutputStream* output) const {
  20627. // optional int32 time = 1;
  20628. if (has_time()) {
  20629. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->time(), output);
  20630. }
  20631. // optional string nickname = 2;
  20632. if (has_nickname()) {
  20633. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20634. this->nickname().data(), this->nickname().length(),
  20635. ::google::protobuf::internal::WireFormat::SERIALIZE);
  20636. ::google::protobuf::internal::WireFormatLite::WriteString(
  20637. 2, this->nickname(), output);
  20638. }
  20639. // optional int32 fishType = 3;
  20640. if (has_fishtype()) {
  20641. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->fishtype(), output);
  20642. }
  20643. // optional int32 rate = 4;
  20644. if (has_rate()) {
  20645. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->rate(), output);
  20646. }
  20647. // optional int32 gold = 5;
  20648. if (has_gold()) {
  20649. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gold(), output);
  20650. }
  20651. if (!unknown_fields().empty()) {
  20652. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20653. unknown_fields(), output);
  20654. }
  20655. }
  20656. ::google::protobuf::uint8* catchFishHistory::SerializeWithCachedSizesToArray(
  20657. ::google::protobuf::uint8* target) const {
  20658. // optional int32 time = 1;
  20659. if (has_time()) {
  20660. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->time(), target);
  20661. }
  20662. // optional string nickname = 2;
  20663. if (has_nickname()) {
  20664. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  20665. this->nickname().data(), this->nickname().length(),
  20666. ::google::protobuf::internal::WireFormat::SERIALIZE);
  20667. target =
  20668. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  20669. 2, this->nickname(), target);
  20670. }
  20671. // optional int32 fishType = 3;
  20672. if (has_fishtype()) {
  20673. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->fishtype(), target);
  20674. }
  20675. // optional int32 rate = 4;
  20676. if (has_rate()) {
  20677. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->rate(), target);
  20678. }
  20679. // optional int32 gold = 5;
  20680. if (has_gold()) {
  20681. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gold(), target);
  20682. }
  20683. if (!unknown_fields().empty()) {
  20684. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20685. unknown_fields(), target);
  20686. }
  20687. return target;
  20688. }
  20689. int catchFishHistory::ByteSize() const {
  20690. int total_size = 0;
  20691. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20692. // optional int32 time = 1;
  20693. if (has_time()) {
  20694. total_size += 1 +
  20695. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20696. this->time());
  20697. }
  20698. // optional string nickname = 2;
  20699. if (has_nickname()) {
  20700. total_size += 1 +
  20701. ::google::protobuf::internal::WireFormatLite::StringSize(
  20702. this->nickname());
  20703. }
  20704. // optional int32 fishType = 3;
  20705. if (has_fishtype()) {
  20706. total_size += 1 +
  20707. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20708. this->fishtype());
  20709. }
  20710. // optional int32 rate = 4;
  20711. if (has_rate()) {
  20712. total_size += 1 +
  20713. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20714. this->rate());
  20715. }
  20716. // optional int32 gold = 5;
  20717. if (has_gold()) {
  20718. total_size += 1 +
  20719. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20720. this->gold());
  20721. }
  20722. }
  20723. if (!unknown_fields().empty()) {
  20724. total_size +=
  20725. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20726. unknown_fields());
  20727. }
  20728. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20729. _cached_size_ = total_size;
  20730. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20731. return total_size;
  20732. }
  20733. void catchFishHistory::MergeFrom(const ::google::protobuf::Message& from) {
  20734. GOOGLE_CHECK_NE(&from, this);
  20735. const catchFishHistory* source =
  20736. ::google::protobuf::internal::dynamic_cast_if_available<const catchFishHistory*>(
  20737. &from);
  20738. if (source == NULL) {
  20739. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20740. } else {
  20741. MergeFrom(*source);
  20742. }
  20743. }
  20744. void catchFishHistory::MergeFrom(const catchFishHistory& from) {
  20745. GOOGLE_CHECK_NE(&from, this);
  20746. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20747. if (from.has_time()) {
  20748. set_time(from.time());
  20749. }
  20750. if (from.has_nickname()) {
  20751. set_nickname(from.nickname());
  20752. }
  20753. if (from.has_fishtype()) {
  20754. set_fishtype(from.fishtype());
  20755. }
  20756. if (from.has_rate()) {
  20757. set_rate(from.rate());
  20758. }
  20759. if (from.has_gold()) {
  20760. set_gold(from.gold());
  20761. }
  20762. }
  20763. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20764. }
  20765. void catchFishHistory::CopyFrom(const ::google::protobuf::Message& from) {
  20766. if (&from == this) return;
  20767. Clear();
  20768. MergeFrom(from);
  20769. }
  20770. void catchFishHistory::CopyFrom(const catchFishHistory& from) {
  20771. if (&from == this) return;
  20772. Clear();
  20773. MergeFrom(from);
  20774. }
  20775. bool catchFishHistory::IsInitialized() const {
  20776. return true;
  20777. }
  20778. void catchFishHistory::Swap(catchFishHistory* other) {
  20779. if (other != this) {
  20780. std::swap(time_, other->time_);
  20781. std::swap(nickname_, other->nickname_);
  20782. std::swap(fishtype_, other->fishtype_);
  20783. std::swap(rate_, other->rate_);
  20784. std::swap(gold_, other->gold_);
  20785. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20786. _unknown_fields_.Swap(&other->_unknown_fields_);
  20787. std::swap(_cached_size_, other->_cached_size_);
  20788. }
  20789. }
  20790. ::google::protobuf::Metadata catchFishHistory::GetMetadata() const {
  20791. protobuf_AssignDescriptorsOnce();
  20792. ::google::protobuf::Metadata metadata;
  20793. metadata.descriptor = catchFishHistory_descriptor_;
  20794. metadata.reflection = catchFishHistory_reflection_;
  20795. return metadata;
  20796. }
  20797. // ===================================================================
  20798. #ifndef _MSC_VER
  20799. const int catchFishInfo::kRateFieldNumber;
  20800. const int catchFishInfo::kGoldFieldNumber;
  20801. #endif // !_MSC_VER
  20802. catchFishInfo::catchFishInfo()
  20803. : ::google::protobuf::Message() {
  20804. SharedCtor();
  20805. }
  20806. void catchFishInfo::InitAsDefaultInstance() {
  20807. }
  20808. catchFishInfo::catchFishInfo(const catchFishInfo& from)
  20809. : ::google::protobuf::Message() {
  20810. SharedCtor();
  20811. MergeFrom(from);
  20812. }
  20813. void catchFishInfo::SharedCtor() {
  20814. _cached_size_ = 0;
  20815. rate_ = 0;
  20816. gold_ = 0;
  20817. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20818. }
  20819. catchFishInfo::~catchFishInfo() {
  20820. SharedDtor();
  20821. }
  20822. void catchFishInfo::SharedDtor() {
  20823. if (this != default_instance_) {
  20824. }
  20825. }
  20826. void catchFishInfo::SetCachedSize(int size) const {
  20827. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20828. _cached_size_ = size;
  20829. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20830. }
  20831. const ::google::protobuf::Descriptor* catchFishInfo::descriptor() {
  20832. protobuf_AssignDescriptorsOnce();
  20833. return catchFishInfo_descriptor_;
  20834. }
  20835. const catchFishInfo& catchFishInfo::default_instance() {
  20836. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  20837. return *default_instance_;
  20838. }
  20839. catchFishInfo* catchFishInfo::default_instance_ = NULL;
  20840. catchFishInfo* catchFishInfo::New() const {
  20841. return new catchFishInfo;
  20842. }
  20843. void catchFishInfo::Clear() {
  20844. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20845. rate_ = 0;
  20846. gold_ = 0;
  20847. }
  20848. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20849. mutable_unknown_fields()->Clear();
  20850. }
  20851. bool catchFishInfo::MergePartialFromCodedStream(
  20852. ::google::protobuf::io::CodedInputStream* input) {
  20853. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20854. ::google::protobuf::uint32 tag;
  20855. while ((tag = input->ReadTag()) != 0) {
  20856. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20857. // optional int32 rate = 1;
  20858. case 1: {
  20859. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20860. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20861. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20862. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20863. input, &rate_)));
  20864. set_has_rate();
  20865. } else {
  20866. goto handle_uninterpreted;
  20867. }
  20868. if (input->ExpectTag(16)) goto parse_gold;
  20869. break;
  20870. }
  20871. // optional int32 gold = 2;
  20872. case 2: {
  20873. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20874. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20875. parse_gold:
  20876. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20877. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20878. input, &gold_)));
  20879. set_has_gold();
  20880. } else {
  20881. goto handle_uninterpreted;
  20882. }
  20883. if (input->ExpectAtEnd()) return true;
  20884. break;
  20885. }
  20886. default: {
  20887. handle_uninterpreted:
  20888. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20889. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20890. return true;
  20891. }
  20892. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20893. input, tag, mutable_unknown_fields()));
  20894. break;
  20895. }
  20896. }
  20897. }
  20898. return true;
  20899. #undef DO_
  20900. }
  20901. void catchFishInfo::SerializeWithCachedSizes(
  20902. ::google::protobuf::io::CodedOutputStream* output) const {
  20903. // optional int32 rate = 1;
  20904. if (has_rate()) {
  20905. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->rate(), output);
  20906. }
  20907. // optional int32 gold = 2;
  20908. if (has_gold()) {
  20909. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gold(), output);
  20910. }
  20911. if (!unknown_fields().empty()) {
  20912. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20913. unknown_fields(), output);
  20914. }
  20915. }
  20916. ::google::protobuf::uint8* catchFishInfo::SerializeWithCachedSizesToArray(
  20917. ::google::protobuf::uint8* target) const {
  20918. // optional int32 rate = 1;
  20919. if (has_rate()) {
  20920. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->rate(), target);
  20921. }
  20922. // optional int32 gold = 2;
  20923. if (has_gold()) {
  20924. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gold(), target);
  20925. }
  20926. if (!unknown_fields().empty()) {
  20927. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20928. unknown_fields(), target);
  20929. }
  20930. return target;
  20931. }
  20932. int catchFishInfo::ByteSize() const {
  20933. int total_size = 0;
  20934. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20935. // optional int32 rate = 1;
  20936. if (has_rate()) {
  20937. total_size += 1 +
  20938. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20939. this->rate());
  20940. }
  20941. // optional int32 gold = 2;
  20942. if (has_gold()) {
  20943. total_size += 1 +
  20944. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20945. this->gold());
  20946. }
  20947. }
  20948. if (!unknown_fields().empty()) {
  20949. total_size +=
  20950. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20951. unknown_fields());
  20952. }
  20953. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20954. _cached_size_ = total_size;
  20955. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20956. return total_size;
  20957. }
  20958. void catchFishInfo::MergeFrom(const ::google::protobuf::Message& from) {
  20959. GOOGLE_CHECK_NE(&from, this);
  20960. const catchFishInfo* source =
  20961. ::google::protobuf::internal::dynamic_cast_if_available<const catchFishInfo*>(
  20962. &from);
  20963. if (source == NULL) {
  20964. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20965. } else {
  20966. MergeFrom(*source);
  20967. }
  20968. }
  20969. void catchFishInfo::MergeFrom(const catchFishInfo& from) {
  20970. GOOGLE_CHECK_NE(&from, this);
  20971. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20972. if (from.has_rate()) {
  20973. set_rate(from.rate());
  20974. }
  20975. if (from.has_gold()) {
  20976. set_gold(from.gold());
  20977. }
  20978. }
  20979. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20980. }
  20981. void catchFishInfo::CopyFrom(const ::google::protobuf::Message& from) {
  20982. if (&from == this) return;
  20983. Clear();
  20984. MergeFrom(from);
  20985. }
  20986. void catchFishInfo::CopyFrom(const catchFishInfo& from) {
  20987. if (&from == this) return;
  20988. Clear();
  20989. MergeFrom(from);
  20990. }
  20991. bool catchFishInfo::IsInitialized() const {
  20992. return true;
  20993. }
  20994. void catchFishInfo::Swap(catchFishInfo* other) {
  20995. if (other != this) {
  20996. std::swap(rate_, other->rate_);
  20997. std::swap(gold_, other->gold_);
  20998. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20999. _unknown_fields_.Swap(&other->_unknown_fields_);
  21000. std::swap(_cached_size_, other->_cached_size_);
  21001. }
  21002. }
  21003. ::google::protobuf::Metadata catchFishInfo::GetMetadata() const {
  21004. protobuf_AssignDescriptorsOnce();
  21005. ::google::protobuf::Metadata metadata;
  21006. metadata.descriptor = catchFishInfo_descriptor_;
  21007. metadata.reflection = catchFishInfo_reflection_;
  21008. return metadata;
  21009. }
  21010. // ===================================================================
  21011. #ifndef _MSC_VER
  21012. const int packetc2w_catch_fish::kPacketIdFieldNumber;
  21013. const int packetc2w_catch_fish::kFishTypeFieldNumber;
  21014. const int packetc2w_catch_fish::kNetTypeFieldNumber;
  21015. #endif // !_MSC_VER
  21016. packetc2w_catch_fish::packetc2w_catch_fish()
  21017. : ::google::protobuf::Message() {
  21018. SharedCtor();
  21019. }
  21020. void packetc2w_catch_fish::InitAsDefaultInstance() {
  21021. }
  21022. packetc2w_catch_fish::packetc2w_catch_fish(const packetc2w_catch_fish& from)
  21023. : ::google::protobuf::Message() {
  21024. SharedCtor();
  21025. MergeFrom(from);
  21026. }
  21027. void packetc2w_catch_fish::SharedCtor() {
  21028. _cached_size_ = 0;
  21029. packet_id_ = 5180;
  21030. fishtype_ = 0;
  21031. nettype_ = 0;
  21032. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21033. }
  21034. packetc2w_catch_fish::~packetc2w_catch_fish() {
  21035. SharedDtor();
  21036. }
  21037. void packetc2w_catch_fish::SharedDtor() {
  21038. if (this != default_instance_) {
  21039. }
  21040. }
  21041. void packetc2w_catch_fish::SetCachedSize(int size) const {
  21042. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21043. _cached_size_ = size;
  21044. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21045. }
  21046. const ::google::protobuf::Descriptor* packetc2w_catch_fish::descriptor() {
  21047. protobuf_AssignDescriptorsOnce();
  21048. return packetc2w_catch_fish_descriptor_;
  21049. }
  21050. const packetc2w_catch_fish& packetc2w_catch_fish::default_instance() {
  21051. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  21052. return *default_instance_;
  21053. }
  21054. packetc2w_catch_fish* packetc2w_catch_fish::default_instance_ = NULL;
  21055. packetc2w_catch_fish* packetc2w_catch_fish::New() const {
  21056. return new packetc2w_catch_fish;
  21057. }
  21058. void packetc2w_catch_fish::Clear() {
  21059. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21060. packet_id_ = 5180;
  21061. fishtype_ = 0;
  21062. nettype_ = 0;
  21063. }
  21064. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21065. mutable_unknown_fields()->Clear();
  21066. }
  21067. bool packetc2w_catch_fish::MergePartialFromCodedStream(
  21068. ::google::protobuf::io::CodedInputStream* input) {
  21069. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21070. ::google::protobuf::uint32 tag;
  21071. while ((tag = input->ReadTag()) != 0) {
  21072. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21073. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish];
  21074. case 1: {
  21075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21077. int value;
  21078. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21079. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21080. input, &value)));
  21081. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  21082. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  21083. } else {
  21084. mutable_unknown_fields()->AddVarint(1, value);
  21085. }
  21086. } else {
  21087. goto handle_uninterpreted;
  21088. }
  21089. if (input->ExpectTag(16)) goto parse_fishType;
  21090. break;
  21091. }
  21092. // optional int32 fishType = 2;
  21093. case 2: {
  21094. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21095. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21096. parse_fishType:
  21097. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21098. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21099. input, &fishtype_)));
  21100. set_has_fishtype();
  21101. } else {
  21102. goto handle_uninterpreted;
  21103. }
  21104. if (input->ExpectTag(24)) goto parse_netType;
  21105. break;
  21106. }
  21107. // optional int32 netType = 3;
  21108. case 3: {
  21109. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21110. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21111. parse_netType:
  21112. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21113. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21114. input, &nettype_)));
  21115. set_has_nettype();
  21116. } else {
  21117. goto handle_uninterpreted;
  21118. }
  21119. if (input->ExpectAtEnd()) return true;
  21120. break;
  21121. }
  21122. default: {
  21123. handle_uninterpreted:
  21124. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21125. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21126. return true;
  21127. }
  21128. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21129. input, tag, mutable_unknown_fields()));
  21130. break;
  21131. }
  21132. }
  21133. }
  21134. return true;
  21135. #undef DO_
  21136. }
  21137. void packetc2w_catch_fish::SerializeWithCachedSizes(
  21138. ::google::protobuf::io::CodedOutputStream* output) const {
  21139. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish];
  21140. if (has_packet_id()) {
  21141. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21142. 1, this->packet_id(), output);
  21143. }
  21144. // optional int32 fishType = 2;
  21145. if (has_fishtype()) {
  21146. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fishtype(), output);
  21147. }
  21148. // optional int32 netType = 3;
  21149. if (has_nettype()) {
  21150. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->nettype(), output);
  21151. }
  21152. if (!unknown_fields().empty()) {
  21153. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21154. unknown_fields(), output);
  21155. }
  21156. }
  21157. ::google::protobuf::uint8* packetc2w_catch_fish::SerializeWithCachedSizesToArray(
  21158. ::google::protobuf::uint8* target) const {
  21159. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish];
  21160. if (has_packet_id()) {
  21161. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21162. 1, this->packet_id(), target);
  21163. }
  21164. // optional int32 fishType = 2;
  21165. if (has_fishtype()) {
  21166. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fishtype(), target);
  21167. }
  21168. // optional int32 netType = 3;
  21169. if (has_nettype()) {
  21170. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->nettype(), target);
  21171. }
  21172. if (!unknown_fields().empty()) {
  21173. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21174. unknown_fields(), target);
  21175. }
  21176. return target;
  21177. }
  21178. int packetc2w_catch_fish::ByteSize() const {
  21179. int total_size = 0;
  21180. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21181. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish];
  21182. if (has_packet_id()) {
  21183. total_size += 1 +
  21184. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  21185. }
  21186. // optional int32 fishType = 2;
  21187. if (has_fishtype()) {
  21188. total_size += 1 +
  21189. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21190. this->fishtype());
  21191. }
  21192. // optional int32 netType = 3;
  21193. if (has_nettype()) {
  21194. total_size += 1 +
  21195. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21196. this->nettype());
  21197. }
  21198. }
  21199. if (!unknown_fields().empty()) {
  21200. total_size +=
  21201. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21202. unknown_fields());
  21203. }
  21204. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21205. _cached_size_ = total_size;
  21206. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21207. return total_size;
  21208. }
  21209. void packetc2w_catch_fish::MergeFrom(const ::google::protobuf::Message& from) {
  21210. GOOGLE_CHECK_NE(&from, this);
  21211. const packetc2w_catch_fish* source =
  21212. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_catch_fish*>(
  21213. &from);
  21214. if (source == NULL) {
  21215. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21216. } else {
  21217. MergeFrom(*source);
  21218. }
  21219. }
  21220. void packetc2w_catch_fish::MergeFrom(const packetc2w_catch_fish& from) {
  21221. GOOGLE_CHECK_NE(&from, this);
  21222. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21223. if (from.has_packet_id()) {
  21224. set_packet_id(from.packet_id());
  21225. }
  21226. if (from.has_fishtype()) {
  21227. set_fishtype(from.fishtype());
  21228. }
  21229. if (from.has_nettype()) {
  21230. set_nettype(from.nettype());
  21231. }
  21232. }
  21233. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21234. }
  21235. void packetc2w_catch_fish::CopyFrom(const ::google::protobuf::Message& from) {
  21236. if (&from == this) return;
  21237. Clear();
  21238. MergeFrom(from);
  21239. }
  21240. void packetc2w_catch_fish::CopyFrom(const packetc2w_catch_fish& from) {
  21241. if (&from == this) return;
  21242. Clear();
  21243. MergeFrom(from);
  21244. }
  21245. bool packetc2w_catch_fish::IsInitialized() const {
  21246. return true;
  21247. }
  21248. void packetc2w_catch_fish::Swap(packetc2w_catch_fish* other) {
  21249. if (other != this) {
  21250. std::swap(packet_id_, other->packet_id_);
  21251. std::swap(fishtype_, other->fishtype_);
  21252. std::swap(nettype_, other->nettype_);
  21253. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21254. _unknown_fields_.Swap(&other->_unknown_fields_);
  21255. std::swap(_cached_size_, other->_cached_size_);
  21256. }
  21257. }
  21258. ::google::protobuf::Metadata packetc2w_catch_fish::GetMetadata() const {
  21259. protobuf_AssignDescriptorsOnce();
  21260. ::google::protobuf::Metadata metadata;
  21261. metadata.descriptor = packetc2w_catch_fish_descriptor_;
  21262. metadata.reflection = packetc2w_catch_fish_reflection_;
  21263. return metadata;
  21264. }
  21265. // ===================================================================
  21266. #ifndef _MSC_VER
  21267. const int packetw2c_catch_fish_result::kPacketIdFieldNumber;
  21268. const int packetw2c_catch_fish_result::kResultFieldNumber;
  21269. const int packetw2c_catch_fish_result::kFishTypeFieldNumber;
  21270. const int packetw2c_catch_fish_result::kNetTypeFieldNumber;
  21271. const int packetw2c_catch_fish_result::kCatchFishInfoFieldNumber;
  21272. #endif // !_MSC_VER
  21273. packetw2c_catch_fish_result::packetw2c_catch_fish_result()
  21274. : ::google::protobuf::Message() {
  21275. SharedCtor();
  21276. }
  21277. void packetw2c_catch_fish_result::InitAsDefaultInstance() {
  21278. }
  21279. packetw2c_catch_fish_result::packetw2c_catch_fish_result(const packetw2c_catch_fish_result& from)
  21280. : ::google::protobuf::Message() {
  21281. SharedCtor();
  21282. MergeFrom(from);
  21283. }
  21284. void packetw2c_catch_fish_result::SharedCtor() {
  21285. _cached_size_ = 0;
  21286. packet_id_ = 7706;
  21287. result_ = 0;
  21288. fishtype_ = 0;
  21289. nettype_ = 0;
  21290. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21291. }
  21292. packetw2c_catch_fish_result::~packetw2c_catch_fish_result() {
  21293. SharedDtor();
  21294. }
  21295. void packetw2c_catch_fish_result::SharedDtor() {
  21296. if (this != default_instance_) {
  21297. }
  21298. }
  21299. void packetw2c_catch_fish_result::SetCachedSize(int size) const {
  21300. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21301. _cached_size_ = size;
  21302. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21303. }
  21304. const ::google::protobuf::Descriptor* packetw2c_catch_fish_result::descriptor() {
  21305. protobuf_AssignDescriptorsOnce();
  21306. return packetw2c_catch_fish_result_descriptor_;
  21307. }
  21308. const packetw2c_catch_fish_result& packetw2c_catch_fish_result::default_instance() {
  21309. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  21310. return *default_instance_;
  21311. }
  21312. packetw2c_catch_fish_result* packetw2c_catch_fish_result::default_instance_ = NULL;
  21313. packetw2c_catch_fish_result* packetw2c_catch_fish_result::New() const {
  21314. return new packetw2c_catch_fish_result;
  21315. }
  21316. void packetw2c_catch_fish_result::Clear() {
  21317. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21318. packet_id_ = 7706;
  21319. result_ = 0;
  21320. fishtype_ = 0;
  21321. nettype_ = 0;
  21322. }
  21323. catchfishinfo_.Clear();
  21324. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21325. mutable_unknown_fields()->Clear();
  21326. }
  21327. bool packetw2c_catch_fish_result::MergePartialFromCodedStream(
  21328. ::google::protobuf::io::CodedInputStream* input) {
  21329. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21330. ::google::protobuf::uint32 tag;
  21331. while ((tag = input->ReadTag()) != 0) {
  21332. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21333. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_result];
  21334. case 1: {
  21335. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21336. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21337. int value;
  21338. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21339. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21340. input, &value)));
  21341. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  21342. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  21343. } else {
  21344. mutable_unknown_fields()->AddVarint(1, value);
  21345. }
  21346. } else {
  21347. goto handle_uninterpreted;
  21348. }
  21349. if (input->ExpectTag(16)) goto parse_result;
  21350. break;
  21351. }
  21352. // optional int32 result = 2;
  21353. case 2: {
  21354. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21355. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21356. parse_result:
  21357. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21358. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21359. input, &result_)));
  21360. set_has_result();
  21361. } else {
  21362. goto handle_uninterpreted;
  21363. }
  21364. if (input->ExpectTag(24)) goto parse_fishType;
  21365. break;
  21366. }
  21367. // optional int32 fishType = 3;
  21368. case 3: {
  21369. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21370. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21371. parse_fishType:
  21372. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21373. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21374. input, &fishtype_)));
  21375. set_has_fishtype();
  21376. } else {
  21377. goto handle_uninterpreted;
  21378. }
  21379. if (input->ExpectTag(32)) goto parse_netType;
  21380. break;
  21381. }
  21382. // optional int32 netType = 4;
  21383. case 4: {
  21384. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21385. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21386. parse_netType:
  21387. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21388. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21389. input, &nettype_)));
  21390. set_has_nettype();
  21391. } else {
  21392. goto handle_uninterpreted;
  21393. }
  21394. if (input->ExpectTag(42)) goto parse_catchFishInfo;
  21395. break;
  21396. }
  21397. // repeated .client2world_protocols.catchFishInfo catchFishInfo = 5;
  21398. case 5: {
  21399. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21400. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  21401. parse_catchFishInfo:
  21402. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  21403. input, add_catchfishinfo()));
  21404. } else {
  21405. goto handle_uninterpreted;
  21406. }
  21407. if (input->ExpectTag(42)) goto parse_catchFishInfo;
  21408. if (input->ExpectAtEnd()) return true;
  21409. break;
  21410. }
  21411. default: {
  21412. handle_uninterpreted:
  21413. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21414. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21415. return true;
  21416. }
  21417. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21418. input, tag, mutable_unknown_fields()));
  21419. break;
  21420. }
  21421. }
  21422. }
  21423. return true;
  21424. #undef DO_
  21425. }
  21426. void packetw2c_catch_fish_result::SerializeWithCachedSizes(
  21427. ::google::protobuf::io::CodedOutputStream* output) const {
  21428. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_result];
  21429. if (has_packet_id()) {
  21430. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21431. 1, this->packet_id(), output);
  21432. }
  21433. // optional int32 result = 2;
  21434. if (has_result()) {
  21435. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  21436. }
  21437. // optional int32 fishType = 3;
  21438. if (has_fishtype()) {
  21439. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->fishtype(), output);
  21440. }
  21441. // optional int32 netType = 4;
  21442. if (has_nettype()) {
  21443. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nettype(), output);
  21444. }
  21445. // repeated .client2world_protocols.catchFishInfo catchFishInfo = 5;
  21446. for (int i = 0; i < this->catchfishinfo_size(); i++) {
  21447. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  21448. 5, this->catchfishinfo(i), output);
  21449. }
  21450. if (!unknown_fields().empty()) {
  21451. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21452. unknown_fields(), output);
  21453. }
  21454. }
  21455. ::google::protobuf::uint8* packetw2c_catch_fish_result::SerializeWithCachedSizesToArray(
  21456. ::google::protobuf::uint8* target) const {
  21457. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_result];
  21458. if (has_packet_id()) {
  21459. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21460. 1, this->packet_id(), target);
  21461. }
  21462. // optional int32 result = 2;
  21463. if (has_result()) {
  21464. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  21465. }
  21466. // optional int32 fishType = 3;
  21467. if (has_fishtype()) {
  21468. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->fishtype(), target);
  21469. }
  21470. // optional int32 netType = 4;
  21471. if (has_nettype()) {
  21472. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nettype(), target);
  21473. }
  21474. // repeated .client2world_protocols.catchFishInfo catchFishInfo = 5;
  21475. for (int i = 0; i < this->catchfishinfo_size(); i++) {
  21476. target = ::google::protobuf::internal::WireFormatLite::
  21477. WriteMessageNoVirtualToArray(
  21478. 5, this->catchfishinfo(i), target);
  21479. }
  21480. if (!unknown_fields().empty()) {
  21481. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21482. unknown_fields(), target);
  21483. }
  21484. return target;
  21485. }
  21486. int packetw2c_catch_fish_result::ByteSize() const {
  21487. int total_size = 0;
  21488. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21489. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_result];
  21490. if (has_packet_id()) {
  21491. total_size += 1 +
  21492. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  21493. }
  21494. // optional int32 result = 2;
  21495. if (has_result()) {
  21496. total_size += 1 +
  21497. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21498. this->result());
  21499. }
  21500. // optional int32 fishType = 3;
  21501. if (has_fishtype()) {
  21502. total_size += 1 +
  21503. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21504. this->fishtype());
  21505. }
  21506. // optional int32 netType = 4;
  21507. if (has_nettype()) {
  21508. total_size += 1 +
  21509. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21510. this->nettype());
  21511. }
  21512. }
  21513. // repeated .client2world_protocols.catchFishInfo catchFishInfo = 5;
  21514. total_size += 1 * this->catchfishinfo_size();
  21515. for (int i = 0; i < this->catchfishinfo_size(); i++) {
  21516. total_size +=
  21517. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  21518. this->catchfishinfo(i));
  21519. }
  21520. if (!unknown_fields().empty()) {
  21521. total_size +=
  21522. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21523. unknown_fields());
  21524. }
  21525. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21526. _cached_size_ = total_size;
  21527. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21528. return total_size;
  21529. }
  21530. void packetw2c_catch_fish_result::MergeFrom(const ::google::protobuf::Message& from) {
  21531. GOOGLE_CHECK_NE(&from, this);
  21532. const packetw2c_catch_fish_result* source =
  21533. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_catch_fish_result*>(
  21534. &from);
  21535. if (source == NULL) {
  21536. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21537. } else {
  21538. MergeFrom(*source);
  21539. }
  21540. }
  21541. void packetw2c_catch_fish_result::MergeFrom(const packetw2c_catch_fish_result& from) {
  21542. GOOGLE_CHECK_NE(&from, this);
  21543. catchfishinfo_.MergeFrom(from.catchfishinfo_);
  21544. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21545. if (from.has_packet_id()) {
  21546. set_packet_id(from.packet_id());
  21547. }
  21548. if (from.has_result()) {
  21549. set_result(from.result());
  21550. }
  21551. if (from.has_fishtype()) {
  21552. set_fishtype(from.fishtype());
  21553. }
  21554. if (from.has_nettype()) {
  21555. set_nettype(from.nettype());
  21556. }
  21557. }
  21558. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21559. }
  21560. void packetw2c_catch_fish_result::CopyFrom(const ::google::protobuf::Message& from) {
  21561. if (&from == this) return;
  21562. Clear();
  21563. MergeFrom(from);
  21564. }
  21565. void packetw2c_catch_fish_result::CopyFrom(const packetw2c_catch_fish_result& from) {
  21566. if (&from == this) return;
  21567. Clear();
  21568. MergeFrom(from);
  21569. }
  21570. bool packetw2c_catch_fish_result::IsInitialized() const {
  21571. return true;
  21572. }
  21573. void packetw2c_catch_fish_result::Swap(packetw2c_catch_fish_result* other) {
  21574. if (other != this) {
  21575. std::swap(packet_id_, other->packet_id_);
  21576. std::swap(result_, other->result_);
  21577. std::swap(fishtype_, other->fishtype_);
  21578. std::swap(nettype_, other->nettype_);
  21579. catchfishinfo_.Swap(&other->catchfishinfo_);
  21580. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21581. _unknown_fields_.Swap(&other->_unknown_fields_);
  21582. std::swap(_cached_size_, other->_cached_size_);
  21583. }
  21584. }
  21585. ::google::protobuf::Metadata packetw2c_catch_fish_result::GetMetadata() const {
  21586. protobuf_AssignDescriptorsOnce();
  21587. ::google::protobuf::Metadata metadata;
  21588. metadata.descriptor = packetw2c_catch_fish_result_descriptor_;
  21589. metadata.reflection = packetw2c_catch_fish_result_reflection_;
  21590. return metadata;
  21591. }
  21592. // ===================================================================
  21593. #ifndef _MSC_VER
  21594. const int packetc2w_catch_fish_history::kPacketIdFieldNumber;
  21595. #endif // !_MSC_VER
  21596. packetc2w_catch_fish_history::packetc2w_catch_fish_history()
  21597. : ::google::protobuf::Message() {
  21598. SharedCtor();
  21599. }
  21600. void packetc2w_catch_fish_history::InitAsDefaultInstance() {
  21601. }
  21602. packetc2w_catch_fish_history::packetc2w_catch_fish_history(const packetc2w_catch_fish_history& from)
  21603. : ::google::protobuf::Message() {
  21604. SharedCtor();
  21605. MergeFrom(from);
  21606. }
  21607. void packetc2w_catch_fish_history::SharedCtor() {
  21608. _cached_size_ = 0;
  21609. packet_id_ = 5189;
  21610. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21611. }
  21612. packetc2w_catch_fish_history::~packetc2w_catch_fish_history() {
  21613. SharedDtor();
  21614. }
  21615. void packetc2w_catch_fish_history::SharedDtor() {
  21616. if (this != default_instance_) {
  21617. }
  21618. }
  21619. void packetc2w_catch_fish_history::SetCachedSize(int size) const {
  21620. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21621. _cached_size_ = size;
  21622. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21623. }
  21624. const ::google::protobuf::Descriptor* packetc2w_catch_fish_history::descriptor() {
  21625. protobuf_AssignDescriptorsOnce();
  21626. return packetc2w_catch_fish_history_descriptor_;
  21627. }
  21628. const packetc2w_catch_fish_history& packetc2w_catch_fish_history::default_instance() {
  21629. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  21630. return *default_instance_;
  21631. }
  21632. packetc2w_catch_fish_history* packetc2w_catch_fish_history::default_instance_ = NULL;
  21633. packetc2w_catch_fish_history* packetc2w_catch_fish_history::New() const {
  21634. return new packetc2w_catch_fish_history;
  21635. }
  21636. void packetc2w_catch_fish_history::Clear() {
  21637. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21638. packet_id_ = 5189;
  21639. }
  21640. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21641. mutable_unknown_fields()->Clear();
  21642. }
  21643. bool packetc2w_catch_fish_history::MergePartialFromCodedStream(
  21644. ::google::protobuf::io::CodedInputStream* input) {
  21645. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21646. ::google::protobuf::uint32 tag;
  21647. while ((tag = input->ReadTag()) != 0) {
  21648. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21649. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish_history];
  21650. case 1: {
  21651. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21652. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21653. int value;
  21654. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21655. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21656. input, &value)));
  21657. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  21658. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  21659. } else {
  21660. mutable_unknown_fields()->AddVarint(1, value);
  21661. }
  21662. } else {
  21663. goto handle_uninterpreted;
  21664. }
  21665. if (input->ExpectAtEnd()) return true;
  21666. break;
  21667. }
  21668. default: {
  21669. handle_uninterpreted:
  21670. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21671. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21672. return true;
  21673. }
  21674. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21675. input, tag, mutable_unknown_fields()));
  21676. break;
  21677. }
  21678. }
  21679. }
  21680. return true;
  21681. #undef DO_
  21682. }
  21683. void packetc2w_catch_fish_history::SerializeWithCachedSizes(
  21684. ::google::protobuf::io::CodedOutputStream* output) const {
  21685. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish_history];
  21686. if (has_packet_id()) {
  21687. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21688. 1, this->packet_id(), output);
  21689. }
  21690. if (!unknown_fields().empty()) {
  21691. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21692. unknown_fields(), output);
  21693. }
  21694. }
  21695. ::google::protobuf::uint8* packetc2w_catch_fish_history::SerializeWithCachedSizesToArray(
  21696. ::google::protobuf::uint8* target) const {
  21697. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish_history];
  21698. if (has_packet_id()) {
  21699. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21700. 1, this->packet_id(), target);
  21701. }
  21702. if (!unknown_fields().empty()) {
  21703. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21704. unknown_fields(), target);
  21705. }
  21706. return target;
  21707. }
  21708. int packetc2w_catch_fish_history::ByteSize() const {
  21709. int total_size = 0;
  21710. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21711. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish_history];
  21712. if (has_packet_id()) {
  21713. total_size += 1 +
  21714. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  21715. }
  21716. }
  21717. if (!unknown_fields().empty()) {
  21718. total_size +=
  21719. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21720. unknown_fields());
  21721. }
  21722. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21723. _cached_size_ = total_size;
  21724. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21725. return total_size;
  21726. }
  21727. void packetc2w_catch_fish_history::MergeFrom(const ::google::protobuf::Message& from) {
  21728. GOOGLE_CHECK_NE(&from, this);
  21729. const packetc2w_catch_fish_history* source =
  21730. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_catch_fish_history*>(
  21731. &from);
  21732. if (source == NULL) {
  21733. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21734. } else {
  21735. MergeFrom(*source);
  21736. }
  21737. }
  21738. void packetc2w_catch_fish_history::MergeFrom(const packetc2w_catch_fish_history& from) {
  21739. GOOGLE_CHECK_NE(&from, this);
  21740. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21741. if (from.has_packet_id()) {
  21742. set_packet_id(from.packet_id());
  21743. }
  21744. }
  21745. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21746. }
  21747. void packetc2w_catch_fish_history::CopyFrom(const ::google::protobuf::Message& from) {
  21748. if (&from == this) return;
  21749. Clear();
  21750. MergeFrom(from);
  21751. }
  21752. void packetc2w_catch_fish_history::CopyFrom(const packetc2w_catch_fish_history& from) {
  21753. if (&from == this) return;
  21754. Clear();
  21755. MergeFrom(from);
  21756. }
  21757. bool packetc2w_catch_fish_history::IsInitialized() const {
  21758. return true;
  21759. }
  21760. void packetc2w_catch_fish_history::Swap(packetc2w_catch_fish_history* other) {
  21761. if (other != this) {
  21762. std::swap(packet_id_, other->packet_id_);
  21763. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21764. _unknown_fields_.Swap(&other->_unknown_fields_);
  21765. std::swap(_cached_size_, other->_cached_size_);
  21766. }
  21767. }
  21768. ::google::protobuf::Metadata packetc2w_catch_fish_history::GetMetadata() const {
  21769. protobuf_AssignDescriptorsOnce();
  21770. ::google::protobuf::Metadata metadata;
  21771. metadata.descriptor = packetc2w_catch_fish_history_descriptor_;
  21772. metadata.reflection = packetc2w_catch_fish_history_reflection_;
  21773. return metadata;
  21774. }
  21775. // ===================================================================
  21776. #ifndef _MSC_VER
  21777. const int packetw2c_catch_fish_history_result::kPacketIdFieldNumber;
  21778. const int packetw2c_catch_fish_history_result::kHistoryListFieldNumber;
  21779. #endif // !_MSC_VER
  21780. packetw2c_catch_fish_history_result::packetw2c_catch_fish_history_result()
  21781. : ::google::protobuf::Message() {
  21782. SharedCtor();
  21783. }
  21784. void packetw2c_catch_fish_history_result::InitAsDefaultInstance() {
  21785. }
  21786. packetw2c_catch_fish_history_result::packetw2c_catch_fish_history_result(const packetw2c_catch_fish_history_result& from)
  21787. : ::google::protobuf::Message() {
  21788. SharedCtor();
  21789. MergeFrom(from);
  21790. }
  21791. void packetw2c_catch_fish_history_result::SharedCtor() {
  21792. _cached_size_ = 0;
  21793. packet_id_ = 7714;
  21794. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21795. }
  21796. packetw2c_catch_fish_history_result::~packetw2c_catch_fish_history_result() {
  21797. SharedDtor();
  21798. }
  21799. void packetw2c_catch_fish_history_result::SharedDtor() {
  21800. if (this != default_instance_) {
  21801. }
  21802. }
  21803. void packetw2c_catch_fish_history_result::SetCachedSize(int size) const {
  21804. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21805. _cached_size_ = size;
  21806. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21807. }
  21808. const ::google::protobuf::Descriptor* packetw2c_catch_fish_history_result::descriptor() {
  21809. protobuf_AssignDescriptorsOnce();
  21810. return packetw2c_catch_fish_history_result_descriptor_;
  21811. }
  21812. const packetw2c_catch_fish_history_result& packetw2c_catch_fish_history_result::default_instance() {
  21813. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  21814. return *default_instance_;
  21815. }
  21816. packetw2c_catch_fish_history_result* packetw2c_catch_fish_history_result::default_instance_ = NULL;
  21817. packetw2c_catch_fish_history_result* packetw2c_catch_fish_history_result::New() const {
  21818. return new packetw2c_catch_fish_history_result;
  21819. }
  21820. void packetw2c_catch_fish_history_result::Clear() {
  21821. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21822. packet_id_ = 7714;
  21823. }
  21824. historylist_.Clear();
  21825. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21826. mutable_unknown_fields()->Clear();
  21827. }
  21828. bool packetw2c_catch_fish_history_result::MergePartialFromCodedStream(
  21829. ::google::protobuf::io::CodedInputStream* input) {
  21830. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21831. ::google::protobuf::uint32 tag;
  21832. while ((tag = input->ReadTag()) != 0) {
  21833. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21834. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_history_result];
  21835. case 1: {
  21836. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21837. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21838. int value;
  21839. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21840. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21841. input, &value)));
  21842. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  21843. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  21844. } else {
  21845. mutable_unknown_fields()->AddVarint(1, value);
  21846. }
  21847. } else {
  21848. goto handle_uninterpreted;
  21849. }
  21850. if (input->ExpectTag(18)) goto parse_historyList;
  21851. break;
  21852. }
  21853. // repeated .client2world_protocols.catchFishHistory historyList = 2;
  21854. case 2: {
  21855. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21856. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  21857. parse_historyList:
  21858. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  21859. input, add_historylist()));
  21860. } else {
  21861. goto handle_uninterpreted;
  21862. }
  21863. if (input->ExpectTag(18)) goto parse_historyList;
  21864. if (input->ExpectAtEnd()) return true;
  21865. break;
  21866. }
  21867. default: {
  21868. handle_uninterpreted:
  21869. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21870. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21871. return true;
  21872. }
  21873. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21874. input, tag, mutable_unknown_fields()));
  21875. break;
  21876. }
  21877. }
  21878. }
  21879. return true;
  21880. #undef DO_
  21881. }
  21882. void packetw2c_catch_fish_history_result::SerializeWithCachedSizes(
  21883. ::google::protobuf::io::CodedOutputStream* output) const {
  21884. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_history_result];
  21885. if (has_packet_id()) {
  21886. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21887. 1, this->packet_id(), output);
  21888. }
  21889. // repeated .client2world_protocols.catchFishHistory historyList = 2;
  21890. for (int i = 0; i < this->historylist_size(); i++) {
  21891. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  21892. 2, this->historylist(i), output);
  21893. }
  21894. if (!unknown_fields().empty()) {
  21895. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21896. unknown_fields(), output);
  21897. }
  21898. }
  21899. ::google::protobuf::uint8* packetw2c_catch_fish_history_result::SerializeWithCachedSizesToArray(
  21900. ::google::protobuf::uint8* target) const {
  21901. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_history_result];
  21902. if (has_packet_id()) {
  21903. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21904. 1, this->packet_id(), target);
  21905. }
  21906. // repeated .client2world_protocols.catchFishHistory historyList = 2;
  21907. for (int i = 0; i < this->historylist_size(); i++) {
  21908. target = ::google::protobuf::internal::WireFormatLite::
  21909. WriteMessageNoVirtualToArray(
  21910. 2, this->historylist(i), target);
  21911. }
  21912. if (!unknown_fields().empty()) {
  21913. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21914. unknown_fields(), target);
  21915. }
  21916. return target;
  21917. }
  21918. int packetw2c_catch_fish_history_result::ByteSize() const {
  21919. int total_size = 0;
  21920. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21921. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_history_result];
  21922. if (has_packet_id()) {
  21923. total_size += 1 +
  21924. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  21925. }
  21926. }
  21927. // repeated .client2world_protocols.catchFishHistory historyList = 2;
  21928. total_size += 1 * this->historylist_size();
  21929. for (int i = 0; i < this->historylist_size(); i++) {
  21930. total_size +=
  21931. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  21932. this->historylist(i));
  21933. }
  21934. if (!unknown_fields().empty()) {
  21935. total_size +=
  21936. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21937. unknown_fields());
  21938. }
  21939. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21940. _cached_size_ = total_size;
  21941. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21942. return total_size;
  21943. }
  21944. void packetw2c_catch_fish_history_result::MergeFrom(const ::google::protobuf::Message& from) {
  21945. GOOGLE_CHECK_NE(&from, this);
  21946. const packetw2c_catch_fish_history_result* source =
  21947. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_catch_fish_history_result*>(
  21948. &from);
  21949. if (source == NULL) {
  21950. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21951. } else {
  21952. MergeFrom(*source);
  21953. }
  21954. }
  21955. void packetw2c_catch_fish_history_result::MergeFrom(const packetw2c_catch_fish_history_result& from) {
  21956. GOOGLE_CHECK_NE(&from, this);
  21957. historylist_.MergeFrom(from.historylist_);
  21958. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21959. if (from.has_packet_id()) {
  21960. set_packet_id(from.packet_id());
  21961. }
  21962. }
  21963. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21964. }
  21965. void packetw2c_catch_fish_history_result::CopyFrom(const ::google::protobuf::Message& from) {
  21966. if (&from == this) return;
  21967. Clear();
  21968. MergeFrom(from);
  21969. }
  21970. void packetw2c_catch_fish_history_result::CopyFrom(const packetw2c_catch_fish_history_result& from) {
  21971. if (&from == this) return;
  21972. Clear();
  21973. MergeFrom(from);
  21974. }
  21975. bool packetw2c_catch_fish_history_result::IsInitialized() const {
  21976. return true;
  21977. }
  21978. void packetw2c_catch_fish_history_result::Swap(packetw2c_catch_fish_history_result* other) {
  21979. if (other != this) {
  21980. std::swap(packet_id_, other->packet_id_);
  21981. historylist_.Swap(&other->historylist_);
  21982. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21983. _unknown_fields_.Swap(&other->_unknown_fields_);
  21984. std::swap(_cached_size_, other->_cached_size_);
  21985. }
  21986. }
  21987. ::google::protobuf::Metadata packetw2c_catch_fish_history_result::GetMetadata() const {
  21988. protobuf_AssignDescriptorsOnce();
  21989. ::google::protobuf::Metadata metadata;
  21990. metadata.descriptor = packetw2c_catch_fish_history_result_descriptor_;
  21991. metadata.reflection = packetw2c_catch_fish_history_result_reflection_;
  21992. return metadata;
  21993. }
  21994. // ===================================================================
  21995. #ifndef _MSC_VER
  21996. const int packetw2c_syn_duanwu_vacation_info::kPacketIdFieldNumber;
  21997. const int packetw2c_syn_duanwu_vacation_info::kStartTimeFieldNumber;
  21998. const int packetw2c_syn_duanwu_vacation_info::kEndTimeFieldNumber;
  21999. const int packetw2c_syn_duanwu_vacation_info::kSignCountFieldNumber;
  22000. const int packetw2c_syn_duanwu_vacation_info::kCanSignFieldNumber;
  22001. const int packetw2c_syn_duanwu_vacation_info::kResetTimesFieldNumber;
  22002. const int packetw2c_syn_duanwu_vacation_info::kHandbooksAwardStatFieldNumber;
  22003. const int packetw2c_syn_duanwu_vacation_info::kHandbooksStatFieldNumber;
  22004. const int packetw2c_syn_duanwu_vacation_info::kPaddyCountFieldNumber;
  22005. #endif // !_MSC_VER
  22006. packetw2c_syn_duanwu_vacation_info::packetw2c_syn_duanwu_vacation_info()
  22007. : ::google::protobuf::Message() {
  22008. SharedCtor();
  22009. }
  22010. void packetw2c_syn_duanwu_vacation_info::InitAsDefaultInstance() {
  22011. }
  22012. packetw2c_syn_duanwu_vacation_info::packetw2c_syn_duanwu_vacation_info(const packetw2c_syn_duanwu_vacation_info& from)
  22013. : ::google::protobuf::Message() {
  22014. SharedCtor();
  22015. MergeFrom(from);
  22016. }
  22017. void packetw2c_syn_duanwu_vacation_info::SharedCtor() {
  22018. _cached_size_ = 0;
  22019. packet_id_ = 7708;
  22020. starttime_ = 0;
  22021. endtime_ = 0;
  22022. signcount_ = 0;
  22023. cansign_ = false;
  22024. resettimes_ = 0;
  22025. paddycount_ = 0;
  22026. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22027. }
  22028. packetw2c_syn_duanwu_vacation_info::~packetw2c_syn_duanwu_vacation_info() {
  22029. SharedDtor();
  22030. }
  22031. void packetw2c_syn_duanwu_vacation_info::SharedDtor() {
  22032. if (this != default_instance_) {
  22033. }
  22034. }
  22035. void packetw2c_syn_duanwu_vacation_info::SetCachedSize(int size) const {
  22036. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22037. _cached_size_ = size;
  22038. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22039. }
  22040. const ::google::protobuf::Descriptor* packetw2c_syn_duanwu_vacation_info::descriptor() {
  22041. protobuf_AssignDescriptorsOnce();
  22042. return packetw2c_syn_duanwu_vacation_info_descriptor_;
  22043. }
  22044. const packetw2c_syn_duanwu_vacation_info& packetw2c_syn_duanwu_vacation_info::default_instance() {
  22045. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  22046. return *default_instance_;
  22047. }
  22048. packetw2c_syn_duanwu_vacation_info* packetw2c_syn_duanwu_vacation_info::default_instance_ = NULL;
  22049. packetw2c_syn_duanwu_vacation_info* packetw2c_syn_duanwu_vacation_info::New() const {
  22050. return new packetw2c_syn_duanwu_vacation_info;
  22051. }
  22052. void packetw2c_syn_duanwu_vacation_info::Clear() {
  22053. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22054. packet_id_ = 7708;
  22055. starttime_ = 0;
  22056. endtime_ = 0;
  22057. signcount_ = 0;
  22058. cansign_ = false;
  22059. resettimes_ = 0;
  22060. }
  22061. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  22062. paddycount_ = 0;
  22063. }
  22064. handbooksawardstat_.Clear();
  22065. handbooksstat_.Clear();
  22066. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22067. mutable_unknown_fields()->Clear();
  22068. }
  22069. bool packetw2c_syn_duanwu_vacation_info::MergePartialFromCodedStream(
  22070. ::google::protobuf::io::CodedInputStream* input) {
  22071. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22072. ::google::protobuf::uint32 tag;
  22073. while ((tag = input->ReadTag()) != 0) {
  22074. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22075. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_duanwu_vacation_info];
  22076. case 1: {
  22077. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22078. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22079. int value;
  22080. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22081. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22082. input, &value)));
  22083. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  22084. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  22085. } else {
  22086. mutable_unknown_fields()->AddVarint(1, value);
  22087. }
  22088. } else {
  22089. goto handle_uninterpreted;
  22090. }
  22091. if (input->ExpectTag(16)) goto parse_startTime;
  22092. break;
  22093. }
  22094. // optional int32 startTime = 2;
  22095. case 2: {
  22096. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22097. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22098. parse_startTime:
  22099. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22100. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22101. input, &starttime_)));
  22102. set_has_starttime();
  22103. } else {
  22104. goto handle_uninterpreted;
  22105. }
  22106. if (input->ExpectTag(24)) goto parse_endTime;
  22107. break;
  22108. }
  22109. // optional int32 endTime = 3;
  22110. case 3: {
  22111. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22112. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22113. parse_endTime:
  22114. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22115. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22116. input, &endtime_)));
  22117. set_has_endtime();
  22118. } else {
  22119. goto handle_uninterpreted;
  22120. }
  22121. if (input->ExpectTag(32)) goto parse_signCount;
  22122. break;
  22123. }
  22124. // optional int32 signCount = 4;
  22125. case 4: {
  22126. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22127. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22128. parse_signCount:
  22129. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22130. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22131. input, &signcount_)));
  22132. set_has_signcount();
  22133. } else {
  22134. goto handle_uninterpreted;
  22135. }
  22136. if (input->ExpectTag(40)) goto parse_canSign;
  22137. break;
  22138. }
  22139. // optional bool canSign = 5;
  22140. case 5: {
  22141. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22142. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22143. parse_canSign:
  22144. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22145. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  22146. input, &cansign_)));
  22147. set_has_cansign();
  22148. } else {
  22149. goto handle_uninterpreted;
  22150. }
  22151. if (input->ExpectTag(48)) goto parse_resetTimes;
  22152. break;
  22153. }
  22154. // optional int32 resetTimes = 6;
  22155. case 6: {
  22156. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22157. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22158. parse_resetTimes:
  22159. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22160. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22161. input, &resettimes_)));
  22162. set_has_resettimes();
  22163. } else {
  22164. goto handle_uninterpreted;
  22165. }
  22166. if (input->ExpectTag(56)) goto parse_handbooksAwardStat;
  22167. break;
  22168. }
  22169. // repeated bool handbooksAwardStat = 7;
  22170. case 7: {
  22171. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22172. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22173. parse_handbooksAwardStat:
  22174. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  22175. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  22176. 1, 56, input, this->mutable_handbooksawardstat())));
  22177. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  22178. == ::google::protobuf::internal::WireFormatLite::
  22179. WIRETYPE_LENGTH_DELIMITED) {
  22180. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  22181. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  22182. input, this->mutable_handbooksawardstat())));
  22183. } else {
  22184. goto handle_uninterpreted;
  22185. }
  22186. if (input->ExpectTag(56)) goto parse_handbooksAwardStat;
  22187. if (input->ExpectTag(64)) goto parse_handbooksStat;
  22188. break;
  22189. }
  22190. // repeated int32 handbooksStat = 8;
  22191. case 8: {
  22192. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22193. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22194. parse_handbooksStat:
  22195. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  22196. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22197. 1, 64, input, this->mutable_handbooksstat())));
  22198. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  22199. == ::google::protobuf::internal::WireFormatLite::
  22200. WIRETYPE_LENGTH_DELIMITED) {
  22201. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  22202. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22203. input, this->mutable_handbooksstat())));
  22204. } else {
  22205. goto handle_uninterpreted;
  22206. }
  22207. if (input->ExpectTag(64)) goto parse_handbooksStat;
  22208. if (input->ExpectTag(72)) goto parse_paddyCount;
  22209. break;
  22210. }
  22211. // optional int32 paddyCount = 9;
  22212. case 9: {
  22213. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22214. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22215. parse_paddyCount:
  22216. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22217. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22218. input, &paddycount_)));
  22219. set_has_paddycount();
  22220. } else {
  22221. goto handle_uninterpreted;
  22222. }
  22223. if (input->ExpectAtEnd()) return true;
  22224. break;
  22225. }
  22226. default: {
  22227. handle_uninterpreted:
  22228. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22229. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22230. return true;
  22231. }
  22232. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22233. input, tag, mutable_unknown_fields()));
  22234. break;
  22235. }
  22236. }
  22237. }
  22238. return true;
  22239. #undef DO_
  22240. }
  22241. void packetw2c_syn_duanwu_vacation_info::SerializeWithCachedSizes(
  22242. ::google::protobuf::io::CodedOutputStream* output) const {
  22243. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_duanwu_vacation_info];
  22244. if (has_packet_id()) {
  22245. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  22246. 1, this->packet_id(), output);
  22247. }
  22248. // optional int32 startTime = 2;
  22249. if (has_starttime()) {
  22250. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->starttime(), output);
  22251. }
  22252. // optional int32 endTime = 3;
  22253. if (has_endtime()) {
  22254. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->endtime(), output);
  22255. }
  22256. // optional int32 signCount = 4;
  22257. if (has_signcount()) {
  22258. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->signcount(), output);
  22259. }
  22260. // optional bool canSign = 5;
  22261. if (has_cansign()) {
  22262. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->cansign(), output);
  22263. }
  22264. // optional int32 resetTimes = 6;
  22265. if (has_resettimes()) {
  22266. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->resettimes(), output);
  22267. }
  22268. // repeated bool handbooksAwardStat = 7;
  22269. for (int i = 0; i < this->handbooksawardstat_size(); i++) {
  22270. ::google::protobuf::internal::WireFormatLite::WriteBool(
  22271. 7, this->handbooksawardstat(i), output);
  22272. }
  22273. // repeated int32 handbooksStat = 8;
  22274. for (int i = 0; i < this->handbooksstat_size(); i++) {
  22275. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  22276. 8, this->handbooksstat(i), output);
  22277. }
  22278. // optional int32 paddyCount = 9;
  22279. if (has_paddycount()) {
  22280. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->paddycount(), output);
  22281. }
  22282. if (!unknown_fields().empty()) {
  22283. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22284. unknown_fields(), output);
  22285. }
  22286. }
  22287. ::google::protobuf::uint8* packetw2c_syn_duanwu_vacation_info::SerializeWithCachedSizesToArray(
  22288. ::google::protobuf::uint8* target) const {
  22289. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_duanwu_vacation_info];
  22290. if (has_packet_id()) {
  22291. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  22292. 1, this->packet_id(), target);
  22293. }
  22294. // optional int32 startTime = 2;
  22295. if (has_starttime()) {
  22296. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->starttime(), target);
  22297. }
  22298. // optional int32 endTime = 3;
  22299. if (has_endtime()) {
  22300. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->endtime(), target);
  22301. }
  22302. // optional int32 signCount = 4;
  22303. if (has_signcount()) {
  22304. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->signcount(), target);
  22305. }
  22306. // optional bool canSign = 5;
  22307. if (has_cansign()) {
  22308. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->cansign(), target);
  22309. }
  22310. // optional int32 resetTimes = 6;
  22311. if (has_resettimes()) {
  22312. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->resettimes(), target);
  22313. }
  22314. // repeated bool handbooksAwardStat = 7;
  22315. for (int i = 0; i < this->handbooksawardstat_size(); i++) {
  22316. target = ::google::protobuf::internal::WireFormatLite::
  22317. WriteBoolToArray(7, this->handbooksawardstat(i), target);
  22318. }
  22319. // repeated int32 handbooksStat = 8;
  22320. for (int i = 0; i < this->handbooksstat_size(); i++) {
  22321. target = ::google::protobuf::internal::WireFormatLite::
  22322. WriteInt32ToArray(8, this->handbooksstat(i), target);
  22323. }
  22324. // optional int32 paddyCount = 9;
  22325. if (has_paddycount()) {
  22326. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->paddycount(), target);
  22327. }
  22328. if (!unknown_fields().empty()) {
  22329. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22330. unknown_fields(), target);
  22331. }
  22332. return target;
  22333. }
  22334. int packetw2c_syn_duanwu_vacation_info::ByteSize() const {
  22335. int total_size = 0;
  22336. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22337. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_duanwu_vacation_info];
  22338. if (has_packet_id()) {
  22339. total_size += 1 +
  22340. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  22341. }
  22342. // optional int32 startTime = 2;
  22343. if (has_starttime()) {
  22344. total_size += 1 +
  22345. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22346. this->starttime());
  22347. }
  22348. // optional int32 endTime = 3;
  22349. if (has_endtime()) {
  22350. total_size += 1 +
  22351. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22352. this->endtime());
  22353. }
  22354. // optional int32 signCount = 4;
  22355. if (has_signcount()) {
  22356. total_size += 1 +
  22357. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22358. this->signcount());
  22359. }
  22360. // optional bool canSign = 5;
  22361. if (has_cansign()) {
  22362. total_size += 1 + 1;
  22363. }
  22364. // optional int32 resetTimes = 6;
  22365. if (has_resettimes()) {
  22366. total_size += 1 +
  22367. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22368. this->resettimes());
  22369. }
  22370. }
  22371. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  22372. // optional int32 paddyCount = 9;
  22373. if (has_paddycount()) {
  22374. total_size += 1 +
  22375. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22376. this->paddycount());
  22377. }
  22378. }
  22379. // repeated bool handbooksAwardStat = 7;
  22380. {
  22381. int data_size = 0;
  22382. data_size = 1 * this->handbooksawardstat_size();
  22383. total_size += 1 * this->handbooksawardstat_size() + data_size;
  22384. }
  22385. // repeated int32 handbooksStat = 8;
  22386. {
  22387. int data_size = 0;
  22388. for (int i = 0; i < this->handbooksstat_size(); i++) {
  22389. data_size += ::google::protobuf::internal::WireFormatLite::
  22390. Int32Size(this->handbooksstat(i));
  22391. }
  22392. total_size += 1 * this->handbooksstat_size() + data_size;
  22393. }
  22394. if (!unknown_fields().empty()) {
  22395. total_size +=
  22396. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22397. unknown_fields());
  22398. }
  22399. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22400. _cached_size_ = total_size;
  22401. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22402. return total_size;
  22403. }
  22404. void packetw2c_syn_duanwu_vacation_info::MergeFrom(const ::google::protobuf::Message& from) {
  22405. GOOGLE_CHECK_NE(&from, this);
  22406. const packetw2c_syn_duanwu_vacation_info* source =
  22407. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_duanwu_vacation_info*>(
  22408. &from);
  22409. if (source == NULL) {
  22410. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22411. } else {
  22412. MergeFrom(*source);
  22413. }
  22414. }
  22415. void packetw2c_syn_duanwu_vacation_info::MergeFrom(const packetw2c_syn_duanwu_vacation_info& from) {
  22416. GOOGLE_CHECK_NE(&from, this);
  22417. handbooksawardstat_.MergeFrom(from.handbooksawardstat_);
  22418. handbooksstat_.MergeFrom(from.handbooksstat_);
  22419. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22420. if (from.has_packet_id()) {
  22421. set_packet_id(from.packet_id());
  22422. }
  22423. if (from.has_starttime()) {
  22424. set_starttime(from.starttime());
  22425. }
  22426. if (from.has_endtime()) {
  22427. set_endtime(from.endtime());
  22428. }
  22429. if (from.has_signcount()) {
  22430. set_signcount(from.signcount());
  22431. }
  22432. if (from.has_cansign()) {
  22433. set_cansign(from.cansign());
  22434. }
  22435. if (from.has_resettimes()) {
  22436. set_resettimes(from.resettimes());
  22437. }
  22438. }
  22439. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  22440. if (from.has_paddycount()) {
  22441. set_paddycount(from.paddycount());
  22442. }
  22443. }
  22444. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22445. }
  22446. void packetw2c_syn_duanwu_vacation_info::CopyFrom(const ::google::protobuf::Message& from) {
  22447. if (&from == this) return;
  22448. Clear();
  22449. MergeFrom(from);
  22450. }
  22451. void packetw2c_syn_duanwu_vacation_info::CopyFrom(const packetw2c_syn_duanwu_vacation_info& from) {
  22452. if (&from == this) return;
  22453. Clear();
  22454. MergeFrom(from);
  22455. }
  22456. bool packetw2c_syn_duanwu_vacation_info::IsInitialized() const {
  22457. return true;
  22458. }
  22459. void packetw2c_syn_duanwu_vacation_info::Swap(packetw2c_syn_duanwu_vacation_info* other) {
  22460. if (other != this) {
  22461. std::swap(packet_id_, other->packet_id_);
  22462. std::swap(starttime_, other->starttime_);
  22463. std::swap(endtime_, other->endtime_);
  22464. std::swap(signcount_, other->signcount_);
  22465. std::swap(cansign_, other->cansign_);
  22466. std::swap(resettimes_, other->resettimes_);
  22467. handbooksawardstat_.Swap(&other->handbooksawardstat_);
  22468. handbooksstat_.Swap(&other->handbooksstat_);
  22469. std::swap(paddycount_, other->paddycount_);
  22470. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22471. _unknown_fields_.Swap(&other->_unknown_fields_);
  22472. std::swap(_cached_size_, other->_cached_size_);
  22473. }
  22474. }
  22475. ::google::protobuf::Metadata packetw2c_syn_duanwu_vacation_info::GetMetadata() const {
  22476. protobuf_AssignDescriptorsOnce();
  22477. ::google::protobuf::Metadata metadata;
  22478. metadata.descriptor = packetw2c_syn_duanwu_vacation_info_descriptor_;
  22479. metadata.reflection = packetw2c_syn_duanwu_vacation_info_reflection_;
  22480. return metadata;
  22481. }
  22482. // ===================================================================
  22483. #ifndef _MSC_VER
  22484. const int packetc2w_get_duanwu_vacation_quest::kPacketIdFieldNumber;
  22485. #endif // !_MSC_VER
  22486. packetc2w_get_duanwu_vacation_quest::packetc2w_get_duanwu_vacation_quest()
  22487. : ::google::protobuf::Message() {
  22488. SharedCtor();
  22489. }
  22490. void packetc2w_get_duanwu_vacation_quest::InitAsDefaultInstance() {
  22491. }
  22492. packetc2w_get_duanwu_vacation_quest::packetc2w_get_duanwu_vacation_quest(const packetc2w_get_duanwu_vacation_quest& from)
  22493. : ::google::protobuf::Message() {
  22494. SharedCtor();
  22495. MergeFrom(from);
  22496. }
  22497. void packetc2w_get_duanwu_vacation_quest::SharedCtor() {
  22498. _cached_size_ = 0;
  22499. packet_id_ = 5252;
  22500. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22501. }
  22502. packetc2w_get_duanwu_vacation_quest::~packetc2w_get_duanwu_vacation_quest() {
  22503. SharedDtor();
  22504. }
  22505. void packetc2w_get_duanwu_vacation_quest::SharedDtor() {
  22506. if (this != default_instance_) {
  22507. }
  22508. }
  22509. void packetc2w_get_duanwu_vacation_quest::SetCachedSize(int size) const {
  22510. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22511. _cached_size_ = size;
  22512. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22513. }
  22514. const ::google::protobuf::Descriptor* packetc2w_get_duanwu_vacation_quest::descriptor() {
  22515. protobuf_AssignDescriptorsOnce();
  22516. return packetc2w_get_duanwu_vacation_quest_descriptor_;
  22517. }
  22518. const packetc2w_get_duanwu_vacation_quest& packetc2w_get_duanwu_vacation_quest::default_instance() {
  22519. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  22520. return *default_instance_;
  22521. }
  22522. packetc2w_get_duanwu_vacation_quest* packetc2w_get_duanwu_vacation_quest::default_instance_ = NULL;
  22523. packetc2w_get_duanwu_vacation_quest* packetc2w_get_duanwu_vacation_quest::New() const {
  22524. return new packetc2w_get_duanwu_vacation_quest;
  22525. }
  22526. void packetc2w_get_duanwu_vacation_quest::Clear() {
  22527. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22528. packet_id_ = 5252;
  22529. }
  22530. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22531. mutable_unknown_fields()->Clear();
  22532. }
  22533. bool packetc2w_get_duanwu_vacation_quest::MergePartialFromCodedStream(
  22534. ::google::protobuf::io::CodedInputStream* input) {
  22535. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22536. ::google::protobuf::uint32 tag;
  22537. while ((tag = input->ReadTag()) != 0) {
  22538. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22539. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_duanwu_vacation_quest];
  22540. case 1: {
  22541. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22542. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22543. int value;
  22544. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22545. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22546. input, &value)));
  22547. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  22548. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  22549. } else {
  22550. mutable_unknown_fields()->AddVarint(1, value);
  22551. }
  22552. } else {
  22553. goto handle_uninterpreted;
  22554. }
  22555. if (input->ExpectAtEnd()) return true;
  22556. break;
  22557. }
  22558. default: {
  22559. handle_uninterpreted:
  22560. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22561. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22562. return true;
  22563. }
  22564. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22565. input, tag, mutable_unknown_fields()));
  22566. break;
  22567. }
  22568. }
  22569. }
  22570. return true;
  22571. #undef DO_
  22572. }
  22573. void packetc2w_get_duanwu_vacation_quest::SerializeWithCachedSizes(
  22574. ::google::protobuf::io::CodedOutputStream* output) const {
  22575. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_duanwu_vacation_quest];
  22576. if (has_packet_id()) {
  22577. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  22578. 1, this->packet_id(), output);
  22579. }
  22580. if (!unknown_fields().empty()) {
  22581. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22582. unknown_fields(), output);
  22583. }
  22584. }
  22585. ::google::protobuf::uint8* packetc2w_get_duanwu_vacation_quest::SerializeWithCachedSizesToArray(
  22586. ::google::protobuf::uint8* target) const {
  22587. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_duanwu_vacation_quest];
  22588. if (has_packet_id()) {
  22589. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  22590. 1, this->packet_id(), target);
  22591. }
  22592. if (!unknown_fields().empty()) {
  22593. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22594. unknown_fields(), target);
  22595. }
  22596. return target;
  22597. }
  22598. int packetc2w_get_duanwu_vacation_quest::ByteSize() const {
  22599. int total_size = 0;
  22600. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22601. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_duanwu_vacation_quest];
  22602. if (has_packet_id()) {
  22603. total_size += 1 +
  22604. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  22605. }
  22606. }
  22607. if (!unknown_fields().empty()) {
  22608. total_size +=
  22609. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22610. unknown_fields());
  22611. }
  22612. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22613. _cached_size_ = total_size;
  22614. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22615. return total_size;
  22616. }
  22617. void packetc2w_get_duanwu_vacation_quest::MergeFrom(const ::google::protobuf::Message& from) {
  22618. GOOGLE_CHECK_NE(&from, this);
  22619. const packetc2w_get_duanwu_vacation_quest* source =
  22620. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_duanwu_vacation_quest*>(
  22621. &from);
  22622. if (source == NULL) {
  22623. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22624. } else {
  22625. MergeFrom(*source);
  22626. }
  22627. }
  22628. void packetc2w_get_duanwu_vacation_quest::MergeFrom(const packetc2w_get_duanwu_vacation_quest& from) {
  22629. GOOGLE_CHECK_NE(&from, this);
  22630. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22631. if (from.has_packet_id()) {
  22632. set_packet_id(from.packet_id());
  22633. }
  22634. }
  22635. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22636. }
  22637. void packetc2w_get_duanwu_vacation_quest::CopyFrom(const ::google::protobuf::Message& from) {
  22638. if (&from == this) return;
  22639. Clear();
  22640. MergeFrom(from);
  22641. }
  22642. void packetc2w_get_duanwu_vacation_quest::CopyFrom(const packetc2w_get_duanwu_vacation_quest& from) {
  22643. if (&from == this) return;
  22644. Clear();
  22645. MergeFrom(from);
  22646. }
  22647. bool packetc2w_get_duanwu_vacation_quest::IsInitialized() const {
  22648. return true;
  22649. }
  22650. void packetc2w_get_duanwu_vacation_quest::Swap(packetc2w_get_duanwu_vacation_quest* other) {
  22651. if (other != this) {
  22652. std::swap(packet_id_, other->packet_id_);
  22653. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22654. _unknown_fields_.Swap(&other->_unknown_fields_);
  22655. std::swap(_cached_size_, other->_cached_size_);
  22656. }
  22657. }
  22658. ::google::protobuf::Metadata packetc2w_get_duanwu_vacation_quest::GetMetadata() const {
  22659. protobuf_AssignDescriptorsOnce();
  22660. ::google::protobuf::Metadata metadata;
  22661. metadata.descriptor = packetc2w_get_duanwu_vacation_quest_descriptor_;
  22662. metadata.reflection = packetc2w_get_duanwu_vacation_quest_reflection_;
  22663. return metadata;
  22664. }
  22665. // ===================================================================
  22666. #ifndef _MSC_VER
  22667. const int packetw2c_get_duanwu_vacation_quest_result::kPacketIdFieldNumber;
  22668. const int packetw2c_get_duanwu_vacation_quest_result::kQuestListFieldNumber;
  22669. #endif // !_MSC_VER
  22670. packetw2c_get_duanwu_vacation_quest_result::packetw2c_get_duanwu_vacation_quest_result()
  22671. : ::google::protobuf::Message() {
  22672. SharedCtor();
  22673. }
  22674. void packetw2c_get_duanwu_vacation_quest_result::InitAsDefaultInstance() {
  22675. }
  22676. packetw2c_get_duanwu_vacation_quest_result::packetw2c_get_duanwu_vacation_quest_result(const packetw2c_get_duanwu_vacation_quest_result& from)
  22677. : ::google::protobuf::Message() {
  22678. SharedCtor();
  22679. MergeFrom(from);
  22680. }
  22681. void packetw2c_get_duanwu_vacation_quest_result::SharedCtor() {
  22682. _cached_size_ = 0;
  22683. packet_id_ = 7800;
  22684. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22685. }
  22686. packetw2c_get_duanwu_vacation_quest_result::~packetw2c_get_duanwu_vacation_quest_result() {
  22687. SharedDtor();
  22688. }
  22689. void packetw2c_get_duanwu_vacation_quest_result::SharedDtor() {
  22690. if (this != default_instance_) {
  22691. }
  22692. }
  22693. void packetw2c_get_duanwu_vacation_quest_result::SetCachedSize(int size) const {
  22694. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22695. _cached_size_ = size;
  22696. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22697. }
  22698. const ::google::protobuf::Descriptor* packetw2c_get_duanwu_vacation_quest_result::descriptor() {
  22699. protobuf_AssignDescriptorsOnce();
  22700. return packetw2c_get_duanwu_vacation_quest_result_descriptor_;
  22701. }
  22702. const packetw2c_get_duanwu_vacation_quest_result& packetw2c_get_duanwu_vacation_quest_result::default_instance() {
  22703. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  22704. return *default_instance_;
  22705. }
  22706. packetw2c_get_duanwu_vacation_quest_result* packetw2c_get_duanwu_vacation_quest_result::default_instance_ = NULL;
  22707. packetw2c_get_duanwu_vacation_quest_result* packetw2c_get_duanwu_vacation_quest_result::New() const {
  22708. return new packetw2c_get_duanwu_vacation_quest_result;
  22709. }
  22710. void packetw2c_get_duanwu_vacation_quest_result::Clear() {
  22711. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22712. packet_id_ = 7800;
  22713. }
  22714. questlist_.Clear();
  22715. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22716. mutable_unknown_fields()->Clear();
  22717. }
  22718. bool packetw2c_get_duanwu_vacation_quest_result::MergePartialFromCodedStream(
  22719. ::google::protobuf::io::CodedInputStream* input) {
  22720. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22721. ::google::protobuf::uint32 tag;
  22722. while ((tag = input->ReadTag()) != 0) {
  22723. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22724. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_duanwu_vacation_quest_result];
  22725. case 1: {
  22726. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22727. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22728. int value;
  22729. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22730. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22731. input, &value)));
  22732. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  22733. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  22734. } else {
  22735. mutable_unknown_fields()->AddVarint(1, value);
  22736. }
  22737. } else {
  22738. goto handle_uninterpreted;
  22739. }
  22740. if (input->ExpectTag(18)) goto parse_questList;
  22741. break;
  22742. }
  22743. // repeated .msg_info_def.msg_quest_info questList = 2;
  22744. case 2: {
  22745. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22746. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  22747. parse_questList:
  22748. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  22749. input, add_questlist()));
  22750. } else {
  22751. goto handle_uninterpreted;
  22752. }
  22753. if (input->ExpectTag(18)) goto parse_questList;
  22754. if (input->ExpectAtEnd()) return true;
  22755. break;
  22756. }
  22757. default: {
  22758. handle_uninterpreted:
  22759. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22760. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22761. return true;
  22762. }
  22763. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22764. input, tag, mutable_unknown_fields()));
  22765. break;
  22766. }
  22767. }
  22768. }
  22769. return true;
  22770. #undef DO_
  22771. }
  22772. void packetw2c_get_duanwu_vacation_quest_result::SerializeWithCachedSizes(
  22773. ::google::protobuf::io::CodedOutputStream* output) const {
  22774. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_duanwu_vacation_quest_result];
  22775. if (has_packet_id()) {
  22776. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  22777. 1, this->packet_id(), output);
  22778. }
  22779. // repeated .msg_info_def.msg_quest_info questList = 2;
  22780. for (int i = 0; i < this->questlist_size(); i++) {
  22781. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  22782. 2, this->questlist(i), output);
  22783. }
  22784. if (!unknown_fields().empty()) {
  22785. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22786. unknown_fields(), output);
  22787. }
  22788. }
  22789. ::google::protobuf::uint8* packetw2c_get_duanwu_vacation_quest_result::SerializeWithCachedSizesToArray(
  22790. ::google::protobuf::uint8* target) const {
  22791. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_duanwu_vacation_quest_result];
  22792. if (has_packet_id()) {
  22793. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  22794. 1, this->packet_id(), target);
  22795. }
  22796. // repeated .msg_info_def.msg_quest_info questList = 2;
  22797. for (int i = 0; i < this->questlist_size(); i++) {
  22798. target = ::google::protobuf::internal::WireFormatLite::
  22799. WriteMessageNoVirtualToArray(
  22800. 2, this->questlist(i), target);
  22801. }
  22802. if (!unknown_fields().empty()) {
  22803. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22804. unknown_fields(), target);
  22805. }
  22806. return target;
  22807. }
  22808. int packetw2c_get_duanwu_vacation_quest_result::ByteSize() const {
  22809. int total_size = 0;
  22810. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22811. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_duanwu_vacation_quest_result];
  22812. if (has_packet_id()) {
  22813. total_size += 1 +
  22814. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  22815. }
  22816. }
  22817. // repeated .msg_info_def.msg_quest_info questList = 2;
  22818. total_size += 1 * this->questlist_size();
  22819. for (int i = 0; i < this->questlist_size(); i++) {
  22820. total_size +=
  22821. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  22822. this->questlist(i));
  22823. }
  22824. if (!unknown_fields().empty()) {
  22825. total_size +=
  22826. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22827. unknown_fields());
  22828. }
  22829. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22830. _cached_size_ = total_size;
  22831. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22832. return total_size;
  22833. }
  22834. void packetw2c_get_duanwu_vacation_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  22835. GOOGLE_CHECK_NE(&from, this);
  22836. const packetw2c_get_duanwu_vacation_quest_result* source =
  22837. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_duanwu_vacation_quest_result*>(
  22838. &from);
  22839. if (source == NULL) {
  22840. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22841. } else {
  22842. MergeFrom(*source);
  22843. }
  22844. }
  22845. void packetw2c_get_duanwu_vacation_quest_result::MergeFrom(const packetw2c_get_duanwu_vacation_quest_result& from) {
  22846. GOOGLE_CHECK_NE(&from, this);
  22847. questlist_.MergeFrom(from.questlist_);
  22848. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22849. if (from.has_packet_id()) {
  22850. set_packet_id(from.packet_id());
  22851. }
  22852. }
  22853. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22854. }
  22855. void packetw2c_get_duanwu_vacation_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  22856. if (&from == this) return;
  22857. Clear();
  22858. MergeFrom(from);
  22859. }
  22860. void packetw2c_get_duanwu_vacation_quest_result::CopyFrom(const packetw2c_get_duanwu_vacation_quest_result& from) {
  22861. if (&from == this) return;
  22862. Clear();
  22863. MergeFrom(from);
  22864. }
  22865. bool packetw2c_get_duanwu_vacation_quest_result::IsInitialized() const {
  22866. return true;
  22867. }
  22868. void packetw2c_get_duanwu_vacation_quest_result::Swap(packetw2c_get_duanwu_vacation_quest_result* other) {
  22869. if (other != this) {
  22870. std::swap(packet_id_, other->packet_id_);
  22871. questlist_.Swap(&other->questlist_);
  22872. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22873. _unknown_fields_.Swap(&other->_unknown_fields_);
  22874. std::swap(_cached_size_, other->_cached_size_);
  22875. }
  22876. }
  22877. ::google::protobuf::Metadata packetw2c_get_duanwu_vacation_quest_result::GetMetadata() const {
  22878. protobuf_AssignDescriptorsOnce();
  22879. ::google::protobuf::Metadata metadata;
  22880. metadata.descriptor = packetw2c_get_duanwu_vacation_quest_result_descriptor_;
  22881. metadata.reflection = packetw2c_get_duanwu_vacation_quest_result_reflection_;
  22882. return metadata;
  22883. }
  22884. // ===================================================================
  22885. #ifndef _MSC_VER
  22886. const int packetc2w_recv_duanwu_login_reward::kPacketIdFieldNumber;
  22887. const int packetc2w_recv_duanwu_login_reward::kSignIndexFieldNumber;
  22888. #endif // !_MSC_VER
  22889. packetc2w_recv_duanwu_login_reward::packetc2w_recv_duanwu_login_reward()
  22890. : ::google::protobuf::Message() {
  22891. SharedCtor();
  22892. }
  22893. void packetc2w_recv_duanwu_login_reward::InitAsDefaultInstance() {
  22894. }
  22895. packetc2w_recv_duanwu_login_reward::packetc2w_recv_duanwu_login_reward(const packetc2w_recv_duanwu_login_reward& from)
  22896. : ::google::protobuf::Message() {
  22897. SharedCtor();
  22898. MergeFrom(from);
  22899. }
  22900. void packetc2w_recv_duanwu_login_reward::SharedCtor() {
  22901. _cached_size_ = 0;
  22902. packet_id_ = 5184;
  22903. signindex_ = 0;
  22904. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22905. }
  22906. packetc2w_recv_duanwu_login_reward::~packetc2w_recv_duanwu_login_reward() {
  22907. SharedDtor();
  22908. }
  22909. void packetc2w_recv_duanwu_login_reward::SharedDtor() {
  22910. if (this != default_instance_) {
  22911. }
  22912. }
  22913. void packetc2w_recv_duanwu_login_reward::SetCachedSize(int size) const {
  22914. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22915. _cached_size_ = size;
  22916. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22917. }
  22918. const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_login_reward::descriptor() {
  22919. protobuf_AssignDescriptorsOnce();
  22920. return packetc2w_recv_duanwu_login_reward_descriptor_;
  22921. }
  22922. const packetc2w_recv_duanwu_login_reward& packetc2w_recv_duanwu_login_reward::default_instance() {
  22923. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  22924. return *default_instance_;
  22925. }
  22926. packetc2w_recv_duanwu_login_reward* packetc2w_recv_duanwu_login_reward::default_instance_ = NULL;
  22927. packetc2w_recv_duanwu_login_reward* packetc2w_recv_duanwu_login_reward::New() const {
  22928. return new packetc2w_recv_duanwu_login_reward;
  22929. }
  22930. void packetc2w_recv_duanwu_login_reward::Clear() {
  22931. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22932. packet_id_ = 5184;
  22933. signindex_ = 0;
  22934. }
  22935. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22936. mutable_unknown_fields()->Clear();
  22937. }
  22938. bool packetc2w_recv_duanwu_login_reward::MergePartialFromCodedStream(
  22939. ::google::protobuf::io::CodedInputStream* input) {
  22940. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22941. ::google::protobuf::uint32 tag;
  22942. while ((tag = input->ReadTag()) != 0) {
  22943. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22944. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_login_reward];
  22945. case 1: {
  22946. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22947. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22948. int value;
  22949. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22950. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22951. input, &value)));
  22952. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  22953. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  22954. } else {
  22955. mutable_unknown_fields()->AddVarint(1, value);
  22956. }
  22957. } else {
  22958. goto handle_uninterpreted;
  22959. }
  22960. if (input->ExpectTag(16)) goto parse_signIndex;
  22961. break;
  22962. }
  22963. // optional int32 signIndex = 2;
  22964. case 2: {
  22965. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22966. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22967. parse_signIndex:
  22968. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22969. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22970. input, &signindex_)));
  22971. set_has_signindex();
  22972. } else {
  22973. goto handle_uninterpreted;
  22974. }
  22975. if (input->ExpectAtEnd()) return true;
  22976. break;
  22977. }
  22978. default: {
  22979. handle_uninterpreted:
  22980. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22981. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22982. return true;
  22983. }
  22984. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22985. input, tag, mutable_unknown_fields()));
  22986. break;
  22987. }
  22988. }
  22989. }
  22990. return true;
  22991. #undef DO_
  22992. }
  22993. void packetc2w_recv_duanwu_login_reward::SerializeWithCachedSizes(
  22994. ::google::protobuf::io::CodedOutputStream* output) const {
  22995. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_login_reward];
  22996. if (has_packet_id()) {
  22997. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  22998. 1, this->packet_id(), output);
  22999. }
  23000. // optional int32 signIndex = 2;
  23001. if (has_signindex()) {
  23002. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  23003. }
  23004. if (!unknown_fields().empty()) {
  23005. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  23006. unknown_fields(), output);
  23007. }
  23008. }
  23009. ::google::protobuf::uint8* packetc2w_recv_duanwu_login_reward::SerializeWithCachedSizesToArray(
  23010. ::google::protobuf::uint8* target) const {
  23011. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_login_reward];
  23012. if (has_packet_id()) {
  23013. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  23014. 1, this->packet_id(), target);
  23015. }
  23016. // optional int32 signIndex = 2;
  23017. if (has_signindex()) {
  23018. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  23019. }
  23020. if (!unknown_fields().empty()) {
  23021. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  23022. unknown_fields(), target);
  23023. }
  23024. return target;
  23025. }
  23026. int packetc2w_recv_duanwu_login_reward::ByteSize() const {
  23027. int total_size = 0;
  23028. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23029. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_login_reward];
  23030. if (has_packet_id()) {
  23031. total_size += 1 +
  23032. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  23033. }
  23034. // optional int32 signIndex = 2;
  23035. if (has_signindex()) {
  23036. total_size += 1 +
  23037. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23038. this->signindex());
  23039. }
  23040. }
  23041. if (!unknown_fields().empty()) {
  23042. total_size +=
  23043. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  23044. unknown_fields());
  23045. }
  23046. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23047. _cached_size_ = total_size;
  23048. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23049. return total_size;
  23050. }
  23051. void packetc2w_recv_duanwu_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  23052. GOOGLE_CHECK_NE(&from, this);
  23053. const packetc2w_recv_duanwu_login_reward* source =
  23054. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_duanwu_login_reward*>(
  23055. &from);
  23056. if (source == NULL) {
  23057. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23058. } else {
  23059. MergeFrom(*source);
  23060. }
  23061. }
  23062. void packetc2w_recv_duanwu_login_reward::MergeFrom(const packetc2w_recv_duanwu_login_reward& from) {
  23063. GOOGLE_CHECK_NE(&from, this);
  23064. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23065. if (from.has_packet_id()) {
  23066. set_packet_id(from.packet_id());
  23067. }
  23068. if (from.has_signindex()) {
  23069. set_signindex(from.signindex());
  23070. }
  23071. }
  23072. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  23073. }
  23074. void packetc2w_recv_duanwu_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  23075. if (&from == this) return;
  23076. Clear();
  23077. MergeFrom(from);
  23078. }
  23079. void packetc2w_recv_duanwu_login_reward::CopyFrom(const packetc2w_recv_duanwu_login_reward& from) {
  23080. if (&from == this) return;
  23081. Clear();
  23082. MergeFrom(from);
  23083. }
  23084. bool packetc2w_recv_duanwu_login_reward::IsInitialized() const {
  23085. return true;
  23086. }
  23087. void packetc2w_recv_duanwu_login_reward::Swap(packetc2w_recv_duanwu_login_reward* other) {
  23088. if (other != this) {
  23089. std::swap(packet_id_, other->packet_id_);
  23090. std::swap(signindex_, other->signindex_);
  23091. std::swap(_has_bits_[0], other->_has_bits_[0]);
  23092. _unknown_fields_.Swap(&other->_unknown_fields_);
  23093. std::swap(_cached_size_, other->_cached_size_);
  23094. }
  23095. }
  23096. ::google::protobuf::Metadata packetc2w_recv_duanwu_login_reward::GetMetadata() const {
  23097. protobuf_AssignDescriptorsOnce();
  23098. ::google::protobuf::Metadata metadata;
  23099. metadata.descriptor = packetc2w_recv_duanwu_login_reward_descriptor_;
  23100. metadata.reflection = packetc2w_recv_duanwu_login_reward_reflection_;
  23101. return metadata;
  23102. }
  23103. // ===================================================================
  23104. #ifndef _MSC_VER
  23105. const int packetw2c_recv_duanwu_login_reward_result::kPacketIdFieldNumber;
  23106. const int packetw2c_recv_duanwu_login_reward_result::kSignIndexFieldNumber;
  23107. const int packetw2c_recv_duanwu_login_reward_result::kResultFieldNumber;
  23108. const int packetw2c_recv_duanwu_login_reward_result::kExHandbooksIdFieldNumber;
  23109. #endif // !_MSC_VER
  23110. packetw2c_recv_duanwu_login_reward_result::packetw2c_recv_duanwu_login_reward_result()
  23111. : ::google::protobuf::Message() {
  23112. SharedCtor();
  23113. }
  23114. void packetw2c_recv_duanwu_login_reward_result::InitAsDefaultInstance() {
  23115. }
  23116. packetw2c_recv_duanwu_login_reward_result::packetw2c_recv_duanwu_login_reward_result(const packetw2c_recv_duanwu_login_reward_result& from)
  23117. : ::google::protobuf::Message() {
  23118. SharedCtor();
  23119. MergeFrom(from);
  23120. }
  23121. void packetw2c_recv_duanwu_login_reward_result::SharedCtor() {
  23122. _cached_size_ = 0;
  23123. packet_id_ = 7709;
  23124. signindex_ = 0;
  23125. result_ = 0;
  23126. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23127. }
  23128. packetw2c_recv_duanwu_login_reward_result::~packetw2c_recv_duanwu_login_reward_result() {
  23129. SharedDtor();
  23130. }
  23131. void packetw2c_recv_duanwu_login_reward_result::SharedDtor() {
  23132. if (this != default_instance_) {
  23133. }
  23134. }
  23135. void packetw2c_recv_duanwu_login_reward_result::SetCachedSize(int size) const {
  23136. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23137. _cached_size_ = size;
  23138. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23139. }
  23140. const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_login_reward_result::descriptor() {
  23141. protobuf_AssignDescriptorsOnce();
  23142. return packetw2c_recv_duanwu_login_reward_result_descriptor_;
  23143. }
  23144. const packetw2c_recv_duanwu_login_reward_result& packetw2c_recv_duanwu_login_reward_result::default_instance() {
  23145. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  23146. return *default_instance_;
  23147. }
  23148. packetw2c_recv_duanwu_login_reward_result* packetw2c_recv_duanwu_login_reward_result::default_instance_ = NULL;
  23149. packetw2c_recv_duanwu_login_reward_result* packetw2c_recv_duanwu_login_reward_result::New() const {
  23150. return new packetw2c_recv_duanwu_login_reward_result;
  23151. }
  23152. void packetw2c_recv_duanwu_login_reward_result::Clear() {
  23153. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23154. packet_id_ = 7709;
  23155. signindex_ = 0;
  23156. result_ = 0;
  23157. }
  23158. exhandbooksid_.Clear();
  23159. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23160. mutable_unknown_fields()->Clear();
  23161. }
  23162. bool packetw2c_recv_duanwu_login_reward_result::MergePartialFromCodedStream(
  23163. ::google::protobuf::io::CodedInputStream* input) {
  23164. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  23165. ::google::protobuf::uint32 tag;
  23166. while ((tag = input->ReadTag()) != 0) {
  23167. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23168. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_login_reward_result];
  23169. case 1: {
  23170. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23171. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23172. int value;
  23173. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23174. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  23175. input, &value)));
  23176. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  23177. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  23178. } else {
  23179. mutable_unknown_fields()->AddVarint(1, value);
  23180. }
  23181. } else {
  23182. goto handle_uninterpreted;
  23183. }
  23184. if (input->ExpectTag(16)) goto parse_signIndex;
  23185. break;
  23186. }
  23187. // optional int32 signIndex = 2;
  23188. case 2: {
  23189. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23190. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23191. parse_signIndex:
  23192. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23193. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23194. input, &signindex_)));
  23195. set_has_signindex();
  23196. } else {
  23197. goto handle_uninterpreted;
  23198. }
  23199. if (input->ExpectTag(24)) goto parse_result;
  23200. break;
  23201. }
  23202. // optional int32 result = 3;
  23203. case 3: {
  23204. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23205. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23206. parse_result:
  23207. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23208. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23209. input, &result_)));
  23210. set_has_result();
  23211. } else {
  23212. goto handle_uninterpreted;
  23213. }
  23214. if (input->ExpectTag(32)) goto parse_exHandbooksId;
  23215. break;
  23216. }
  23217. // repeated int32 exHandbooksId = 4;
  23218. case 4: {
  23219. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23220. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23221. parse_exHandbooksId:
  23222. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  23223. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23224. 1, 32, input, this->mutable_exhandbooksid())));
  23225. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  23226. == ::google::protobuf::internal::WireFormatLite::
  23227. WIRETYPE_LENGTH_DELIMITED) {
  23228. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  23229. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23230. input, this->mutable_exhandbooksid())));
  23231. } else {
  23232. goto handle_uninterpreted;
  23233. }
  23234. if (input->ExpectTag(32)) goto parse_exHandbooksId;
  23235. if (input->ExpectAtEnd()) return true;
  23236. break;
  23237. }
  23238. default: {
  23239. handle_uninterpreted:
  23240. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23241. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23242. return true;
  23243. }
  23244. DO_(::google::protobuf::internal::WireFormat::SkipField(
  23245. input, tag, mutable_unknown_fields()));
  23246. break;
  23247. }
  23248. }
  23249. }
  23250. return true;
  23251. #undef DO_
  23252. }
  23253. void packetw2c_recv_duanwu_login_reward_result::SerializeWithCachedSizes(
  23254. ::google::protobuf::io::CodedOutputStream* output) const {
  23255. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_login_reward_result];
  23256. if (has_packet_id()) {
  23257. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  23258. 1, this->packet_id(), output);
  23259. }
  23260. // optional int32 signIndex = 2;
  23261. if (has_signindex()) {
  23262. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  23263. }
  23264. // optional int32 result = 3;
  23265. if (has_result()) {
  23266. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  23267. }
  23268. // repeated int32 exHandbooksId = 4;
  23269. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  23270. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  23271. 4, this->exhandbooksid(i), output);
  23272. }
  23273. if (!unknown_fields().empty()) {
  23274. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  23275. unknown_fields(), output);
  23276. }
  23277. }
  23278. ::google::protobuf::uint8* packetw2c_recv_duanwu_login_reward_result::SerializeWithCachedSizesToArray(
  23279. ::google::protobuf::uint8* target) const {
  23280. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_login_reward_result];
  23281. if (has_packet_id()) {
  23282. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  23283. 1, this->packet_id(), target);
  23284. }
  23285. // optional int32 signIndex = 2;
  23286. if (has_signindex()) {
  23287. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  23288. }
  23289. // optional int32 result = 3;
  23290. if (has_result()) {
  23291. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  23292. }
  23293. // repeated int32 exHandbooksId = 4;
  23294. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  23295. target = ::google::protobuf::internal::WireFormatLite::
  23296. WriteInt32ToArray(4, this->exhandbooksid(i), target);
  23297. }
  23298. if (!unknown_fields().empty()) {
  23299. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  23300. unknown_fields(), target);
  23301. }
  23302. return target;
  23303. }
  23304. int packetw2c_recv_duanwu_login_reward_result::ByteSize() const {
  23305. int total_size = 0;
  23306. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23307. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_login_reward_result];
  23308. if (has_packet_id()) {
  23309. total_size += 1 +
  23310. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  23311. }
  23312. // optional int32 signIndex = 2;
  23313. if (has_signindex()) {
  23314. total_size += 1 +
  23315. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23316. this->signindex());
  23317. }
  23318. // optional int32 result = 3;
  23319. if (has_result()) {
  23320. total_size += 1 +
  23321. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23322. this->result());
  23323. }
  23324. }
  23325. // repeated int32 exHandbooksId = 4;
  23326. {
  23327. int data_size = 0;
  23328. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  23329. data_size += ::google::protobuf::internal::WireFormatLite::
  23330. Int32Size(this->exhandbooksid(i));
  23331. }
  23332. total_size += 1 * this->exhandbooksid_size() + data_size;
  23333. }
  23334. if (!unknown_fields().empty()) {
  23335. total_size +=
  23336. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  23337. unknown_fields());
  23338. }
  23339. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23340. _cached_size_ = total_size;
  23341. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23342. return total_size;
  23343. }
  23344. void packetw2c_recv_duanwu_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  23345. GOOGLE_CHECK_NE(&from, this);
  23346. const packetw2c_recv_duanwu_login_reward_result* source =
  23347. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_duanwu_login_reward_result*>(
  23348. &from);
  23349. if (source == NULL) {
  23350. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23351. } else {
  23352. MergeFrom(*source);
  23353. }
  23354. }
  23355. void packetw2c_recv_duanwu_login_reward_result::MergeFrom(const packetw2c_recv_duanwu_login_reward_result& from) {
  23356. GOOGLE_CHECK_NE(&from, this);
  23357. exhandbooksid_.MergeFrom(from.exhandbooksid_);
  23358. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23359. if (from.has_packet_id()) {
  23360. set_packet_id(from.packet_id());
  23361. }
  23362. if (from.has_signindex()) {
  23363. set_signindex(from.signindex());
  23364. }
  23365. if (from.has_result()) {
  23366. set_result(from.result());
  23367. }
  23368. }
  23369. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  23370. }
  23371. void packetw2c_recv_duanwu_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  23372. if (&from == this) return;
  23373. Clear();
  23374. MergeFrom(from);
  23375. }
  23376. void packetw2c_recv_duanwu_login_reward_result::CopyFrom(const packetw2c_recv_duanwu_login_reward_result& from) {
  23377. if (&from == this) return;
  23378. Clear();
  23379. MergeFrom(from);
  23380. }
  23381. bool packetw2c_recv_duanwu_login_reward_result::IsInitialized() const {
  23382. return true;
  23383. }
  23384. void packetw2c_recv_duanwu_login_reward_result::Swap(packetw2c_recv_duanwu_login_reward_result* other) {
  23385. if (other != this) {
  23386. std::swap(packet_id_, other->packet_id_);
  23387. std::swap(signindex_, other->signindex_);
  23388. std::swap(result_, other->result_);
  23389. exhandbooksid_.Swap(&other->exhandbooksid_);
  23390. std::swap(_has_bits_[0], other->_has_bits_[0]);
  23391. _unknown_fields_.Swap(&other->_unknown_fields_);
  23392. std::swap(_cached_size_, other->_cached_size_);
  23393. }
  23394. }
  23395. ::google::protobuf::Metadata packetw2c_recv_duanwu_login_reward_result::GetMetadata() const {
  23396. protobuf_AssignDescriptorsOnce();
  23397. ::google::protobuf::Metadata metadata;
  23398. metadata.descriptor = packetw2c_recv_duanwu_login_reward_result_descriptor_;
  23399. metadata.reflection = packetw2c_recv_duanwu_login_reward_result_reflection_;
  23400. return metadata;
  23401. }
  23402. // ===================================================================
  23403. #ifndef _MSC_VER
  23404. const int packetc2w_recv_duanwu_quest_award::kPacketIdFieldNumber;
  23405. const int packetc2w_recv_duanwu_quest_award::kQuestIdFieldNumber;
  23406. const int packetc2w_recv_duanwu_quest_award::kReceiveBitFieldNumber;
  23407. #endif // !_MSC_VER
  23408. packetc2w_recv_duanwu_quest_award::packetc2w_recv_duanwu_quest_award()
  23409. : ::google::protobuf::Message() {
  23410. SharedCtor();
  23411. }
  23412. void packetc2w_recv_duanwu_quest_award::InitAsDefaultInstance() {
  23413. }
  23414. packetc2w_recv_duanwu_quest_award::packetc2w_recv_duanwu_quest_award(const packetc2w_recv_duanwu_quest_award& from)
  23415. : ::google::protobuf::Message() {
  23416. SharedCtor();
  23417. MergeFrom(from);
  23418. }
  23419. void packetc2w_recv_duanwu_quest_award::SharedCtor() {
  23420. _cached_size_ = 0;
  23421. packet_id_ = 5185;
  23422. questid_ = 0;
  23423. receivebit_ = 0;
  23424. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23425. }
  23426. packetc2w_recv_duanwu_quest_award::~packetc2w_recv_duanwu_quest_award() {
  23427. SharedDtor();
  23428. }
  23429. void packetc2w_recv_duanwu_quest_award::SharedDtor() {
  23430. if (this != default_instance_) {
  23431. }
  23432. }
  23433. void packetc2w_recv_duanwu_quest_award::SetCachedSize(int size) const {
  23434. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23435. _cached_size_ = size;
  23436. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23437. }
  23438. const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_quest_award::descriptor() {
  23439. protobuf_AssignDescriptorsOnce();
  23440. return packetc2w_recv_duanwu_quest_award_descriptor_;
  23441. }
  23442. const packetc2w_recv_duanwu_quest_award& packetc2w_recv_duanwu_quest_award::default_instance() {
  23443. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  23444. return *default_instance_;
  23445. }
  23446. packetc2w_recv_duanwu_quest_award* packetc2w_recv_duanwu_quest_award::default_instance_ = NULL;
  23447. packetc2w_recv_duanwu_quest_award* packetc2w_recv_duanwu_quest_award::New() const {
  23448. return new packetc2w_recv_duanwu_quest_award;
  23449. }
  23450. void packetc2w_recv_duanwu_quest_award::Clear() {
  23451. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23452. packet_id_ = 5185;
  23453. questid_ = 0;
  23454. receivebit_ = 0;
  23455. }
  23456. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23457. mutable_unknown_fields()->Clear();
  23458. }
  23459. bool packetc2w_recv_duanwu_quest_award::MergePartialFromCodedStream(
  23460. ::google::protobuf::io::CodedInputStream* input) {
  23461. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  23462. ::google::protobuf::uint32 tag;
  23463. while ((tag = input->ReadTag()) != 0) {
  23464. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23465. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_quest_award];
  23466. case 1: {
  23467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23469. int value;
  23470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23471. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  23472. input, &value)));
  23473. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  23474. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  23475. } else {
  23476. mutable_unknown_fields()->AddVarint(1, value);
  23477. }
  23478. } else {
  23479. goto handle_uninterpreted;
  23480. }
  23481. if (input->ExpectTag(16)) goto parse_questId;
  23482. break;
  23483. }
  23484. // optional int32 questId = 2;
  23485. case 2: {
  23486. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23487. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23488. parse_questId:
  23489. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23490. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23491. input, &questid_)));
  23492. set_has_questid();
  23493. } else {
  23494. goto handle_uninterpreted;
  23495. }
  23496. if (input->ExpectTag(24)) goto parse_receiveBit;
  23497. break;
  23498. }
  23499. // optional int32 receiveBit = 3;
  23500. case 3: {
  23501. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23502. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23503. parse_receiveBit:
  23504. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23505. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23506. input, &receivebit_)));
  23507. set_has_receivebit();
  23508. } else {
  23509. goto handle_uninterpreted;
  23510. }
  23511. if (input->ExpectAtEnd()) return true;
  23512. break;
  23513. }
  23514. default: {
  23515. handle_uninterpreted:
  23516. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23517. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23518. return true;
  23519. }
  23520. DO_(::google::protobuf::internal::WireFormat::SkipField(
  23521. input, tag, mutable_unknown_fields()));
  23522. break;
  23523. }
  23524. }
  23525. }
  23526. return true;
  23527. #undef DO_
  23528. }
  23529. void packetc2w_recv_duanwu_quest_award::SerializeWithCachedSizes(
  23530. ::google::protobuf::io::CodedOutputStream* output) const {
  23531. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_quest_award];
  23532. if (has_packet_id()) {
  23533. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  23534. 1, this->packet_id(), output);
  23535. }
  23536. // optional int32 questId = 2;
  23537. if (has_questid()) {
  23538. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  23539. }
  23540. // optional int32 receiveBit = 3;
  23541. if (has_receivebit()) {
  23542. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->receivebit(), output);
  23543. }
  23544. if (!unknown_fields().empty()) {
  23545. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  23546. unknown_fields(), output);
  23547. }
  23548. }
  23549. ::google::protobuf::uint8* packetc2w_recv_duanwu_quest_award::SerializeWithCachedSizesToArray(
  23550. ::google::protobuf::uint8* target) const {
  23551. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_quest_award];
  23552. if (has_packet_id()) {
  23553. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  23554. 1, this->packet_id(), target);
  23555. }
  23556. // optional int32 questId = 2;
  23557. if (has_questid()) {
  23558. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  23559. }
  23560. // optional int32 receiveBit = 3;
  23561. if (has_receivebit()) {
  23562. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->receivebit(), target);
  23563. }
  23564. if (!unknown_fields().empty()) {
  23565. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  23566. unknown_fields(), target);
  23567. }
  23568. return target;
  23569. }
  23570. int packetc2w_recv_duanwu_quest_award::ByteSize() const {
  23571. int total_size = 0;
  23572. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23573. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_quest_award];
  23574. if (has_packet_id()) {
  23575. total_size += 1 +
  23576. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  23577. }
  23578. // optional int32 questId = 2;
  23579. if (has_questid()) {
  23580. total_size += 1 +
  23581. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23582. this->questid());
  23583. }
  23584. // optional int32 receiveBit = 3;
  23585. if (has_receivebit()) {
  23586. total_size += 1 +
  23587. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23588. this->receivebit());
  23589. }
  23590. }
  23591. if (!unknown_fields().empty()) {
  23592. total_size +=
  23593. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  23594. unknown_fields());
  23595. }
  23596. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23597. _cached_size_ = total_size;
  23598. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23599. return total_size;
  23600. }
  23601. void packetc2w_recv_duanwu_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  23602. GOOGLE_CHECK_NE(&from, this);
  23603. const packetc2w_recv_duanwu_quest_award* source =
  23604. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_duanwu_quest_award*>(
  23605. &from);
  23606. if (source == NULL) {
  23607. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23608. } else {
  23609. MergeFrom(*source);
  23610. }
  23611. }
  23612. void packetc2w_recv_duanwu_quest_award::MergeFrom(const packetc2w_recv_duanwu_quest_award& from) {
  23613. GOOGLE_CHECK_NE(&from, this);
  23614. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23615. if (from.has_packet_id()) {
  23616. set_packet_id(from.packet_id());
  23617. }
  23618. if (from.has_questid()) {
  23619. set_questid(from.questid());
  23620. }
  23621. if (from.has_receivebit()) {
  23622. set_receivebit(from.receivebit());
  23623. }
  23624. }
  23625. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  23626. }
  23627. void packetc2w_recv_duanwu_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  23628. if (&from == this) return;
  23629. Clear();
  23630. MergeFrom(from);
  23631. }
  23632. void packetc2w_recv_duanwu_quest_award::CopyFrom(const packetc2w_recv_duanwu_quest_award& from) {
  23633. if (&from == this) return;
  23634. Clear();
  23635. MergeFrom(from);
  23636. }
  23637. bool packetc2w_recv_duanwu_quest_award::IsInitialized() const {
  23638. return true;
  23639. }
  23640. void packetc2w_recv_duanwu_quest_award::Swap(packetc2w_recv_duanwu_quest_award* other) {
  23641. if (other != this) {
  23642. std::swap(packet_id_, other->packet_id_);
  23643. std::swap(questid_, other->questid_);
  23644. std::swap(receivebit_, other->receivebit_);
  23645. std::swap(_has_bits_[0], other->_has_bits_[0]);
  23646. _unknown_fields_.Swap(&other->_unknown_fields_);
  23647. std::swap(_cached_size_, other->_cached_size_);
  23648. }
  23649. }
  23650. ::google::protobuf::Metadata packetc2w_recv_duanwu_quest_award::GetMetadata() const {
  23651. protobuf_AssignDescriptorsOnce();
  23652. ::google::protobuf::Metadata metadata;
  23653. metadata.descriptor = packetc2w_recv_duanwu_quest_award_descriptor_;
  23654. metadata.reflection = packetc2w_recv_duanwu_quest_award_reflection_;
  23655. return metadata;
  23656. }
  23657. // ===================================================================
  23658. #ifndef _MSC_VER
  23659. const int packetw2c_recv_duanwu_quest_award_result::kPacketIdFieldNumber;
  23660. const int packetw2c_recv_duanwu_quest_award_result::kResultFieldNumber;
  23661. const int packetw2c_recv_duanwu_quest_award_result::kQuestIdFieldNumber;
  23662. const int packetw2c_recv_duanwu_quest_award_result::kReceiveBitFieldNumber;
  23663. const int packetw2c_recv_duanwu_quest_award_result::kItemsFieldNumber;
  23664. #endif // !_MSC_VER
  23665. packetw2c_recv_duanwu_quest_award_result::packetw2c_recv_duanwu_quest_award_result()
  23666. : ::google::protobuf::Message() {
  23667. SharedCtor();
  23668. }
  23669. void packetw2c_recv_duanwu_quest_award_result::InitAsDefaultInstance() {
  23670. }
  23671. packetw2c_recv_duanwu_quest_award_result::packetw2c_recv_duanwu_quest_award_result(const packetw2c_recv_duanwu_quest_award_result& from)
  23672. : ::google::protobuf::Message() {
  23673. SharedCtor();
  23674. MergeFrom(from);
  23675. }
  23676. void packetw2c_recv_duanwu_quest_award_result::SharedCtor() {
  23677. _cached_size_ = 0;
  23678. packet_id_ = 7710;
  23679. result_ = 0;
  23680. questid_ = 0;
  23681. receivebit_ = 0;
  23682. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23683. }
  23684. packetw2c_recv_duanwu_quest_award_result::~packetw2c_recv_duanwu_quest_award_result() {
  23685. SharedDtor();
  23686. }
  23687. void packetw2c_recv_duanwu_quest_award_result::SharedDtor() {
  23688. if (this != default_instance_) {
  23689. }
  23690. }
  23691. void packetw2c_recv_duanwu_quest_award_result::SetCachedSize(int size) const {
  23692. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23693. _cached_size_ = size;
  23694. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23695. }
  23696. const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_quest_award_result::descriptor() {
  23697. protobuf_AssignDescriptorsOnce();
  23698. return packetw2c_recv_duanwu_quest_award_result_descriptor_;
  23699. }
  23700. const packetw2c_recv_duanwu_quest_award_result& packetw2c_recv_duanwu_quest_award_result::default_instance() {
  23701. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  23702. return *default_instance_;
  23703. }
  23704. packetw2c_recv_duanwu_quest_award_result* packetw2c_recv_duanwu_quest_award_result::default_instance_ = NULL;
  23705. packetw2c_recv_duanwu_quest_award_result* packetw2c_recv_duanwu_quest_award_result::New() const {
  23706. return new packetw2c_recv_duanwu_quest_award_result;
  23707. }
  23708. void packetw2c_recv_duanwu_quest_award_result::Clear() {
  23709. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23710. packet_id_ = 7710;
  23711. result_ = 0;
  23712. questid_ = 0;
  23713. receivebit_ = 0;
  23714. }
  23715. items_.Clear();
  23716. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23717. mutable_unknown_fields()->Clear();
  23718. }
  23719. bool packetw2c_recv_duanwu_quest_award_result::MergePartialFromCodedStream(
  23720. ::google::protobuf::io::CodedInputStream* input) {
  23721. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  23722. ::google::protobuf::uint32 tag;
  23723. while ((tag = input->ReadTag()) != 0) {
  23724. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23725. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_quest_award_result];
  23726. case 1: {
  23727. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23728. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23729. int value;
  23730. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23731. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  23732. input, &value)));
  23733. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  23734. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  23735. } else {
  23736. mutable_unknown_fields()->AddVarint(1, value);
  23737. }
  23738. } else {
  23739. goto handle_uninterpreted;
  23740. }
  23741. if (input->ExpectTag(16)) goto parse_result;
  23742. break;
  23743. }
  23744. // optional int32 result = 2;
  23745. case 2: {
  23746. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23747. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23748. parse_result:
  23749. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23750. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23751. input, &result_)));
  23752. set_has_result();
  23753. } else {
  23754. goto handle_uninterpreted;
  23755. }
  23756. if (input->ExpectTag(24)) goto parse_questId;
  23757. break;
  23758. }
  23759. // optional int32 questId = 3;
  23760. case 3: {
  23761. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23762. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23763. parse_questId:
  23764. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23765. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23766. input, &questid_)));
  23767. set_has_questid();
  23768. } else {
  23769. goto handle_uninterpreted;
  23770. }
  23771. if (input->ExpectTag(32)) goto parse_receiveBit;
  23772. break;
  23773. }
  23774. // optional int32 receiveBit = 4;
  23775. case 4: {
  23776. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23777. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23778. parse_receiveBit:
  23779. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23780. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23781. input, &receivebit_)));
  23782. set_has_receivebit();
  23783. } else {
  23784. goto handle_uninterpreted;
  23785. }
  23786. if (input->ExpectTag(42)) goto parse_items;
  23787. break;
  23788. }
  23789. // repeated .msg_info_def.ItemInfo items = 5;
  23790. case 5: {
  23791. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23792. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  23793. parse_items:
  23794. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  23795. input, add_items()));
  23796. } else {
  23797. goto handle_uninterpreted;
  23798. }
  23799. if (input->ExpectTag(42)) goto parse_items;
  23800. if (input->ExpectAtEnd()) return true;
  23801. break;
  23802. }
  23803. default: {
  23804. handle_uninterpreted:
  23805. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23806. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23807. return true;
  23808. }
  23809. DO_(::google::protobuf::internal::WireFormat::SkipField(
  23810. input, tag, mutable_unknown_fields()));
  23811. break;
  23812. }
  23813. }
  23814. }
  23815. return true;
  23816. #undef DO_
  23817. }
  23818. void packetw2c_recv_duanwu_quest_award_result::SerializeWithCachedSizes(
  23819. ::google::protobuf::io::CodedOutputStream* output) const {
  23820. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_quest_award_result];
  23821. if (has_packet_id()) {
  23822. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  23823. 1, this->packet_id(), output);
  23824. }
  23825. // optional int32 result = 2;
  23826. if (has_result()) {
  23827. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  23828. }
  23829. // optional int32 questId = 3;
  23830. if (has_questid()) {
  23831. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  23832. }
  23833. // optional int32 receiveBit = 4;
  23834. if (has_receivebit()) {
  23835. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->receivebit(), output);
  23836. }
  23837. // repeated .msg_info_def.ItemInfo items = 5;
  23838. for (int i = 0; i < this->items_size(); i++) {
  23839. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  23840. 5, this->items(i), output);
  23841. }
  23842. if (!unknown_fields().empty()) {
  23843. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  23844. unknown_fields(), output);
  23845. }
  23846. }
  23847. ::google::protobuf::uint8* packetw2c_recv_duanwu_quest_award_result::SerializeWithCachedSizesToArray(
  23848. ::google::protobuf::uint8* target) const {
  23849. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_quest_award_result];
  23850. if (has_packet_id()) {
  23851. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  23852. 1, this->packet_id(), target);
  23853. }
  23854. // optional int32 result = 2;
  23855. if (has_result()) {
  23856. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  23857. }
  23858. // optional int32 questId = 3;
  23859. if (has_questid()) {
  23860. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  23861. }
  23862. // optional int32 receiveBit = 4;
  23863. if (has_receivebit()) {
  23864. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->receivebit(), target);
  23865. }
  23866. // repeated .msg_info_def.ItemInfo items = 5;
  23867. for (int i = 0; i < this->items_size(); i++) {
  23868. target = ::google::protobuf::internal::WireFormatLite::
  23869. WriteMessageNoVirtualToArray(
  23870. 5, this->items(i), target);
  23871. }
  23872. if (!unknown_fields().empty()) {
  23873. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  23874. unknown_fields(), target);
  23875. }
  23876. return target;
  23877. }
  23878. int packetw2c_recv_duanwu_quest_award_result::ByteSize() const {
  23879. int total_size = 0;
  23880. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23881. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_quest_award_result];
  23882. if (has_packet_id()) {
  23883. total_size += 1 +
  23884. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  23885. }
  23886. // optional int32 result = 2;
  23887. if (has_result()) {
  23888. total_size += 1 +
  23889. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23890. this->result());
  23891. }
  23892. // optional int32 questId = 3;
  23893. if (has_questid()) {
  23894. total_size += 1 +
  23895. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23896. this->questid());
  23897. }
  23898. // optional int32 receiveBit = 4;
  23899. if (has_receivebit()) {
  23900. total_size += 1 +
  23901. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23902. this->receivebit());
  23903. }
  23904. }
  23905. // repeated .msg_info_def.ItemInfo items = 5;
  23906. total_size += 1 * this->items_size();
  23907. for (int i = 0; i < this->items_size(); i++) {
  23908. total_size +=
  23909. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  23910. this->items(i));
  23911. }
  23912. if (!unknown_fields().empty()) {
  23913. total_size +=
  23914. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  23915. unknown_fields());
  23916. }
  23917. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23918. _cached_size_ = total_size;
  23919. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23920. return total_size;
  23921. }
  23922. void packetw2c_recv_duanwu_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  23923. GOOGLE_CHECK_NE(&from, this);
  23924. const packetw2c_recv_duanwu_quest_award_result* source =
  23925. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_duanwu_quest_award_result*>(
  23926. &from);
  23927. if (source == NULL) {
  23928. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23929. } else {
  23930. MergeFrom(*source);
  23931. }
  23932. }
  23933. void packetw2c_recv_duanwu_quest_award_result::MergeFrom(const packetw2c_recv_duanwu_quest_award_result& from) {
  23934. GOOGLE_CHECK_NE(&from, this);
  23935. items_.MergeFrom(from.items_);
  23936. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23937. if (from.has_packet_id()) {
  23938. set_packet_id(from.packet_id());
  23939. }
  23940. if (from.has_result()) {
  23941. set_result(from.result());
  23942. }
  23943. if (from.has_questid()) {
  23944. set_questid(from.questid());
  23945. }
  23946. if (from.has_receivebit()) {
  23947. set_receivebit(from.receivebit());
  23948. }
  23949. }
  23950. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  23951. }
  23952. void packetw2c_recv_duanwu_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  23953. if (&from == this) return;
  23954. Clear();
  23955. MergeFrom(from);
  23956. }
  23957. void packetw2c_recv_duanwu_quest_award_result::CopyFrom(const packetw2c_recv_duanwu_quest_award_result& from) {
  23958. if (&from == this) return;
  23959. Clear();
  23960. MergeFrom(from);
  23961. }
  23962. bool packetw2c_recv_duanwu_quest_award_result::IsInitialized() const {
  23963. return true;
  23964. }
  23965. void packetw2c_recv_duanwu_quest_award_result::Swap(packetw2c_recv_duanwu_quest_award_result* other) {
  23966. if (other != this) {
  23967. std::swap(packet_id_, other->packet_id_);
  23968. std::swap(result_, other->result_);
  23969. std::swap(questid_, other->questid_);
  23970. std::swap(receivebit_, other->receivebit_);
  23971. items_.Swap(&other->items_);
  23972. std::swap(_has_bits_[0], other->_has_bits_[0]);
  23973. _unknown_fields_.Swap(&other->_unknown_fields_);
  23974. std::swap(_cached_size_, other->_cached_size_);
  23975. }
  23976. }
  23977. ::google::protobuf::Metadata packetw2c_recv_duanwu_quest_award_result::GetMetadata() const {
  23978. protobuf_AssignDescriptorsOnce();
  23979. ::google::protobuf::Metadata metadata;
  23980. metadata.descriptor = packetw2c_recv_duanwu_quest_award_result_descriptor_;
  23981. metadata.reflection = packetw2c_recv_duanwu_quest_award_result_reflection_;
  23982. return metadata;
  23983. }
  23984. // ===================================================================
  23985. #ifndef _MSC_VER
  23986. const int packetc2w_recv_duanwu_handbooks_gold::kPacketIdFieldNumber;
  23987. const int packetc2w_recv_duanwu_handbooks_gold::kHandbooksIdFieldNumber;
  23988. #endif // !_MSC_VER
  23989. packetc2w_recv_duanwu_handbooks_gold::packetc2w_recv_duanwu_handbooks_gold()
  23990. : ::google::protobuf::Message() {
  23991. SharedCtor();
  23992. }
  23993. void packetc2w_recv_duanwu_handbooks_gold::InitAsDefaultInstance() {
  23994. }
  23995. packetc2w_recv_duanwu_handbooks_gold::packetc2w_recv_duanwu_handbooks_gold(const packetc2w_recv_duanwu_handbooks_gold& from)
  23996. : ::google::protobuf::Message() {
  23997. SharedCtor();
  23998. MergeFrom(from);
  23999. }
  24000. void packetc2w_recv_duanwu_handbooks_gold::SharedCtor() {
  24001. _cached_size_ = 0;
  24002. packet_id_ = 5186;
  24003. handbooksid_ = 0;
  24004. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24005. }
  24006. packetc2w_recv_duanwu_handbooks_gold::~packetc2w_recv_duanwu_handbooks_gold() {
  24007. SharedDtor();
  24008. }
  24009. void packetc2w_recv_duanwu_handbooks_gold::SharedDtor() {
  24010. if (this != default_instance_) {
  24011. }
  24012. }
  24013. void packetc2w_recv_duanwu_handbooks_gold::SetCachedSize(int size) const {
  24014. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24015. _cached_size_ = size;
  24016. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24017. }
  24018. const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_handbooks_gold::descriptor() {
  24019. protobuf_AssignDescriptorsOnce();
  24020. return packetc2w_recv_duanwu_handbooks_gold_descriptor_;
  24021. }
  24022. const packetc2w_recv_duanwu_handbooks_gold& packetc2w_recv_duanwu_handbooks_gold::default_instance() {
  24023. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  24024. return *default_instance_;
  24025. }
  24026. packetc2w_recv_duanwu_handbooks_gold* packetc2w_recv_duanwu_handbooks_gold::default_instance_ = NULL;
  24027. packetc2w_recv_duanwu_handbooks_gold* packetc2w_recv_duanwu_handbooks_gold::New() const {
  24028. return new packetc2w_recv_duanwu_handbooks_gold;
  24029. }
  24030. void packetc2w_recv_duanwu_handbooks_gold::Clear() {
  24031. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24032. packet_id_ = 5186;
  24033. handbooksid_ = 0;
  24034. }
  24035. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24036. mutable_unknown_fields()->Clear();
  24037. }
  24038. bool packetc2w_recv_duanwu_handbooks_gold::MergePartialFromCodedStream(
  24039. ::google::protobuf::io::CodedInputStream* input) {
  24040. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  24041. ::google::protobuf::uint32 tag;
  24042. while ((tag = input->ReadTag()) != 0) {
  24043. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24044. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_gold];
  24045. case 1: {
  24046. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24047. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24048. int value;
  24049. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24050. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  24051. input, &value)));
  24052. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  24053. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  24054. } else {
  24055. mutable_unknown_fields()->AddVarint(1, value);
  24056. }
  24057. } else {
  24058. goto handle_uninterpreted;
  24059. }
  24060. if (input->ExpectTag(16)) goto parse_handbooksId;
  24061. break;
  24062. }
  24063. // optional int32 handbooksId = 2;
  24064. case 2: {
  24065. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24066. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24067. parse_handbooksId:
  24068. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24069. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24070. input, &handbooksid_)));
  24071. set_has_handbooksid();
  24072. } else {
  24073. goto handle_uninterpreted;
  24074. }
  24075. if (input->ExpectAtEnd()) return true;
  24076. break;
  24077. }
  24078. default: {
  24079. handle_uninterpreted:
  24080. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24081. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24082. return true;
  24083. }
  24084. DO_(::google::protobuf::internal::WireFormat::SkipField(
  24085. input, tag, mutable_unknown_fields()));
  24086. break;
  24087. }
  24088. }
  24089. }
  24090. return true;
  24091. #undef DO_
  24092. }
  24093. void packetc2w_recv_duanwu_handbooks_gold::SerializeWithCachedSizes(
  24094. ::google::protobuf::io::CodedOutputStream* output) const {
  24095. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_gold];
  24096. if (has_packet_id()) {
  24097. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  24098. 1, this->packet_id(), output);
  24099. }
  24100. // optional int32 handbooksId = 2;
  24101. if (has_handbooksid()) {
  24102. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  24103. }
  24104. if (!unknown_fields().empty()) {
  24105. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  24106. unknown_fields(), output);
  24107. }
  24108. }
  24109. ::google::protobuf::uint8* packetc2w_recv_duanwu_handbooks_gold::SerializeWithCachedSizesToArray(
  24110. ::google::protobuf::uint8* target) const {
  24111. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_gold];
  24112. if (has_packet_id()) {
  24113. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  24114. 1, this->packet_id(), target);
  24115. }
  24116. // optional int32 handbooksId = 2;
  24117. if (has_handbooksid()) {
  24118. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  24119. }
  24120. if (!unknown_fields().empty()) {
  24121. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  24122. unknown_fields(), target);
  24123. }
  24124. return target;
  24125. }
  24126. int packetc2w_recv_duanwu_handbooks_gold::ByteSize() const {
  24127. int total_size = 0;
  24128. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24129. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_gold];
  24130. if (has_packet_id()) {
  24131. total_size += 1 +
  24132. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  24133. }
  24134. // optional int32 handbooksId = 2;
  24135. if (has_handbooksid()) {
  24136. total_size += 1 +
  24137. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24138. this->handbooksid());
  24139. }
  24140. }
  24141. if (!unknown_fields().empty()) {
  24142. total_size +=
  24143. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  24144. unknown_fields());
  24145. }
  24146. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24147. _cached_size_ = total_size;
  24148. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24149. return total_size;
  24150. }
  24151. void packetc2w_recv_duanwu_handbooks_gold::MergeFrom(const ::google::protobuf::Message& from) {
  24152. GOOGLE_CHECK_NE(&from, this);
  24153. const packetc2w_recv_duanwu_handbooks_gold* source =
  24154. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_duanwu_handbooks_gold*>(
  24155. &from);
  24156. if (source == NULL) {
  24157. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24158. } else {
  24159. MergeFrom(*source);
  24160. }
  24161. }
  24162. void packetc2w_recv_duanwu_handbooks_gold::MergeFrom(const packetc2w_recv_duanwu_handbooks_gold& from) {
  24163. GOOGLE_CHECK_NE(&from, this);
  24164. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24165. if (from.has_packet_id()) {
  24166. set_packet_id(from.packet_id());
  24167. }
  24168. if (from.has_handbooksid()) {
  24169. set_handbooksid(from.handbooksid());
  24170. }
  24171. }
  24172. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  24173. }
  24174. void packetc2w_recv_duanwu_handbooks_gold::CopyFrom(const ::google::protobuf::Message& from) {
  24175. if (&from == this) return;
  24176. Clear();
  24177. MergeFrom(from);
  24178. }
  24179. void packetc2w_recv_duanwu_handbooks_gold::CopyFrom(const packetc2w_recv_duanwu_handbooks_gold& from) {
  24180. if (&from == this) return;
  24181. Clear();
  24182. MergeFrom(from);
  24183. }
  24184. bool packetc2w_recv_duanwu_handbooks_gold::IsInitialized() const {
  24185. return true;
  24186. }
  24187. void packetc2w_recv_duanwu_handbooks_gold::Swap(packetc2w_recv_duanwu_handbooks_gold* other) {
  24188. if (other != this) {
  24189. std::swap(packet_id_, other->packet_id_);
  24190. std::swap(handbooksid_, other->handbooksid_);
  24191. std::swap(_has_bits_[0], other->_has_bits_[0]);
  24192. _unknown_fields_.Swap(&other->_unknown_fields_);
  24193. std::swap(_cached_size_, other->_cached_size_);
  24194. }
  24195. }
  24196. ::google::protobuf::Metadata packetc2w_recv_duanwu_handbooks_gold::GetMetadata() const {
  24197. protobuf_AssignDescriptorsOnce();
  24198. ::google::protobuf::Metadata metadata;
  24199. metadata.descriptor = packetc2w_recv_duanwu_handbooks_gold_descriptor_;
  24200. metadata.reflection = packetc2w_recv_duanwu_handbooks_gold_reflection_;
  24201. return metadata;
  24202. }
  24203. // ===================================================================
  24204. #ifndef _MSC_VER
  24205. const int packetw2c_recv_duanwu_handbooks_gold_result::kPacketIdFieldNumber;
  24206. const int packetw2c_recv_duanwu_handbooks_gold_result::kHandbooksIdFieldNumber;
  24207. const int packetw2c_recv_duanwu_handbooks_gold_result::kResultFieldNumber;
  24208. #endif // !_MSC_VER
  24209. packetw2c_recv_duanwu_handbooks_gold_result::packetw2c_recv_duanwu_handbooks_gold_result()
  24210. : ::google::protobuf::Message() {
  24211. SharedCtor();
  24212. }
  24213. void packetw2c_recv_duanwu_handbooks_gold_result::InitAsDefaultInstance() {
  24214. }
  24215. packetw2c_recv_duanwu_handbooks_gold_result::packetw2c_recv_duanwu_handbooks_gold_result(const packetw2c_recv_duanwu_handbooks_gold_result& from)
  24216. : ::google::protobuf::Message() {
  24217. SharedCtor();
  24218. MergeFrom(from);
  24219. }
  24220. void packetw2c_recv_duanwu_handbooks_gold_result::SharedCtor() {
  24221. _cached_size_ = 0;
  24222. packet_id_ = 7711;
  24223. handbooksid_ = 0;
  24224. result_ = 0;
  24225. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24226. }
  24227. packetw2c_recv_duanwu_handbooks_gold_result::~packetw2c_recv_duanwu_handbooks_gold_result() {
  24228. SharedDtor();
  24229. }
  24230. void packetw2c_recv_duanwu_handbooks_gold_result::SharedDtor() {
  24231. if (this != default_instance_) {
  24232. }
  24233. }
  24234. void packetw2c_recv_duanwu_handbooks_gold_result::SetCachedSize(int size) const {
  24235. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24236. _cached_size_ = size;
  24237. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24238. }
  24239. const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_handbooks_gold_result::descriptor() {
  24240. protobuf_AssignDescriptorsOnce();
  24241. return packetw2c_recv_duanwu_handbooks_gold_result_descriptor_;
  24242. }
  24243. const packetw2c_recv_duanwu_handbooks_gold_result& packetw2c_recv_duanwu_handbooks_gold_result::default_instance() {
  24244. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  24245. return *default_instance_;
  24246. }
  24247. packetw2c_recv_duanwu_handbooks_gold_result* packetw2c_recv_duanwu_handbooks_gold_result::default_instance_ = NULL;
  24248. packetw2c_recv_duanwu_handbooks_gold_result* packetw2c_recv_duanwu_handbooks_gold_result::New() const {
  24249. return new packetw2c_recv_duanwu_handbooks_gold_result;
  24250. }
  24251. void packetw2c_recv_duanwu_handbooks_gold_result::Clear() {
  24252. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24253. packet_id_ = 7711;
  24254. handbooksid_ = 0;
  24255. result_ = 0;
  24256. }
  24257. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24258. mutable_unknown_fields()->Clear();
  24259. }
  24260. bool packetw2c_recv_duanwu_handbooks_gold_result::MergePartialFromCodedStream(
  24261. ::google::protobuf::io::CodedInputStream* input) {
  24262. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  24263. ::google::protobuf::uint32 tag;
  24264. while ((tag = input->ReadTag()) != 0) {
  24265. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24266. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_gold_result];
  24267. case 1: {
  24268. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24269. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24270. int value;
  24271. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24272. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  24273. input, &value)));
  24274. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  24275. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  24276. } else {
  24277. mutable_unknown_fields()->AddVarint(1, value);
  24278. }
  24279. } else {
  24280. goto handle_uninterpreted;
  24281. }
  24282. if (input->ExpectTag(16)) goto parse_handbooksId;
  24283. break;
  24284. }
  24285. // optional int32 handbooksId = 2;
  24286. case 2: {
  24287. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24288. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24289. parse_handbooksId:
  24290. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24291. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24292. input, &handbooksid_)));
  24293. set_has_handbooksid();
  24294. } else {
  24295. goto handle_uninterpreted;
  24296. }
  24297. if (input->ExpectTag(24)) goto parse_result;
  24298. break;
  24299. }
  24300. // optional int32 result = 3;
  24301. case 3: {
  24302. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24303. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24304. parse_result:
  24305. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24306. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24307. input, &result_)));
  24308. set_has_result();
  24309. } else {
  24310. goto handle_uninterpreted;
  24311. }
  24312. if (input->ExpectAtEnd()) return true;
  24313. break;
  24314. }
  24315. default: {
  24316. handle_uninterpreted:
  24317. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24318. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24319. return true;
  24320. }
  24321. DO_(::google::protobuf::internal::WireFormat::SkipField(
  24322. input, tag, mutable_unknown_fields()));
  24323. break;
  24324. }
  24325. }
  24326. }
  24327. return true;
  24328. #undef DO_
  24329. }
  24330. void packetw2c_recv_duanwu_handbooks_gold_result::SerializeWithCachedSizes(
  24331. ::google::protobuf::io::CodedOutputStream* output) const {
  24332. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_gold_result];
  24333. if (has_packet_id()) {
  24334. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  24335. 1, this->packet_id(), output);
  24336. }
  24337. // optional int32 handbooksId = 2;
  24338. if (has_handbooksid()) {
  24339. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  24340. }
  24341. // optional int32 result = 3;
  24342. if (has_result()) {
  24343. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  24344. }
  24345. if (!unknown_fields().empty()) {
  24346. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  24347. unknown_fields(), output);
  24348. }
  24349. }
  24350. ::google::protobuf::uint8* packetw2c_recv_duanwu_handbooks_gold_result::SerializeWithCachedSizesToArray(
  24351. ::google::protobuf::uint8* target) const {
  24352. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_gold_result];
  24353. if (has_packet_id()) {
  24354. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  24355. 1, this->packet_id(), target);
  24356. }
  24357. // optional int32 handbooksId = 2;
  24358. if (has_handbooksid()) {
  24359. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  24360. }
  24361. // optional int32 result = 3;
  24362. if (has_result()) {
  24363. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  24364. }
  24365. if (!unknown_fields().empty()) {
  24366. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  24367. unknown_fields(), target);
  24368. }
  24369. return target;
  24370. }
  24371. int packetw2c_recv_duanwu_handbooks_gold_result::ByteSize() const {
  24372. int total_size = 0;
  24373. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24374. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_gold_result];
  24375. if (has_packet_id()) {
  24376. total_size += 1 +
  24377. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  24378. }
  24379. // optional int32 handbooksId = 2;
  24380. if (has_handbooksid()) {
  24381. total_size += 1 +
  24382. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24383. this->handbooksid());
  24384. }
  24385. // optional int32 result = 3;
  24386. if (has_result()) {
  24387. total_size += 1 +
  24388. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24389. this->result());
  24390. }
  24391. }
  24392. if (!unknown_fields().empty()) {
  24393. total_size +=
  24394. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  24395. unknown_fields());
  24396. }
  24397. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24398. _cached_size_ = total_size;
  24399. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24400. return total_size;
  24401. }
  24402. void packetw2c_recv_duanwu_handbooks_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  24403. GOOGLE_CHECK_NE(&from, this);
  24404. const packetw2c_recv_duanwu_handbooks_gold_result* source =
  24405. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_duanwu_handbooks_gold_result*>(
  24406. &from);
  24407. if (source == NULL) {
  24408. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24409. } else {
  24410. MergeFrom(*source);
  24411. }
  24412. }
  24413. void packetw2c_recv_duanwu_handbooks_gold_result::MergeFrom(const packetw2c_recv_duanwu_handbooks_gold_result& from) {
  24414. GOOGLE_CHECK_NE(&from, this);
  24415. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24416. if (from.has_packet_id()) {
  24417. set_packet_id(from.packet_id());
  24418. }
  24419. if (from.has_handbooksid()) {
  24420. set_handbooksid(from.handbooksid());
  24421. }
  24422. if (from.has_result()) {
  24423. set_result(from.result());
  24424. }
  24425. }
  24426. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  24427. }
  24428. void packetw2c_recv_duanwu_handbooks_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  24429. if (&from == this) return;
  24430. Clear();
  24431. MergeFrom(from);
  24432. }
  24433. void packetw2c_recv_duanwu_handbooks_gold_result::CopyFrom(const packetw2c_recv_duanwu_handbooks_gold_result& from) {
  24434. if (&from == this) return;
  24435. Clear();
  24436. MergeFrom(from);
  24437. }
  24438. bool packetw2c_recv_duanwu_handbooks_gold_result::IsInitialized() const {
  24439. return true;
  24440. }
  24441. void packetw2c_recv_duanwu_handbooks_gold_result::Swap(packetw2c_recv_duanwu_handbooks_gold_result* other) {
  24442. if (other != this) {
  24443. std::swap(packet_id_, other->packet_id_);
  24444. std::swap(handbooksid_, other->handbooksid_);
  24445. std::swap(result_, other->result_);
  24446. std::swap(_has_bits_[0], other->_has_bits_[0]);
  24447. _unknown_fields_.Swap(&other->_unknown_fields_);
  24448. std::swap(_cached_size_, other->_cached_size_);
  24449. }
  24450. }
  24451. ::google::protobuf::Metadata packetw2c_recv_duanwu_handbooks_gold_result::GetMetadata() const {
  24452. protobuf_AssignDescriptorsOnce();
  24453. ::google::protobuf::Metadata metadata;
  24454. metadata.descriptor = packetw2c_recv_duanwu_handbooks_gold_result_descriptor_;
  24455. metadata.reflection = packetw2c_recv_duanwu_handbooks_gold_result_reflection_;
  24456. return metadata;
  24457. }
  24458. // ===================================================================
  24459. #ifndef _MSC_VER
  24460. const int packetc2w_recv_duanwu_handbooks_award::kPacketIdFieldNumber;
  24461. const int packetc2w_recv_duanwu_handbooks_award::kTypeFieldNumber;
  24462. #endif // !_MSC_VER
  24463. packetc2w_recv_duanwu_handbooks_award::packetc2w_recv_duanwu_handbooks_award()
  24464. : ::google::protobuf::Message() {
  24465. SharedCtor();
  24466. }
  24467. void packetc2w_recv_duanwu_handbooks_award::InitAsDefaultInstance() {
  24468. }
  24469. packetc2w_recv_duanwu_handbooks_award::packetc2w_recv_duanwu_handbooks_award(const packetc2w_recv_duanwu_handbooks_award& from)
  24470. : ::google::protobuf::Message() {
  24471. SharedCtor();
  24472. MergeFrom(from);
  24473. }
  24474. void packetc2w_recv_duanwu_handbooks_award::SharedCtor() {
  24475. _cached_size_ = 0;
  24476. packet_id_ = 5187;
  24477. type_ = 0;
  24478. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24479. }
  24480. packetc2w_recv_duanwu_handbooks_award::~packetc2w_recv_duanwu_handbooks_award() {
  24481. SharedDtor();
  24482. }
  24483. void packetc2w_recv_duanwu_handbooks_award::SharedDtor() {
  24484. if (this != default_instance_) {
  24485. }
  24486. }
  24487. void packetc2w_recv_duanwu_handbooks_award::SetCachedSize(int size) const {
  24488. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24489. _cached_size_ = size;
  24490. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24491. }
  24492. const ::google::protobuf::Descriptor* packetc2w_recv_duanwu_handbooks_award::descriptor() {
  24493. protobuf_AssignDescriptorsOnce();
  24494. return packetc2w_recv_duanwu_handbooks_award_descriptor_;
  24495. }
  24496. const packetc2w_recv_duanwu_handbooks_award& packetc2w_recv_duanwu_handbooks_award::default_instance() {
  24497. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  24498. return *default_instance_;
  24499. }
  24500. packetc2w_recv_duanwu_handbooks_award* packetc2w_recv_duanwu_handbooks_award::default_instance_ = NULL;
  24501. packetc2w_recv_duanwu_handbooks_award* packetc2w_recv_duanwu_handbooks_award::New() const {
  24502. return new packetc2w_recv_duanwu_handbooks_award;
  24503. }
  24504. void packetc2w_recv_duanwu_handbooks_award::Clear() {
  24505. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24506. packet_id_ = 5187;
  24507. type_ = 0;
  24508. }
  24509. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24510. mutable_unknown_fields()->Clear();
  24511. }
  24512. bool packetc2w_recv_duanwu_handbooks_award::MergePartialFromCodedStream(
  24513. ::google::protobuf::io::CodedInputStream* input) {
  24514. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  24515. ::google::protobuf::uint32 tag;
  24516. while ((tag = input->ReadTag()) != 0) {
  24517. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24518. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_award];
  24519. case 1: {
  24520. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24521. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24522. int value;
  24523. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24524. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  24525. input, &value)));
  24526. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  24527. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  24528. } else {
  24529. mutable_unknown_fields()->AddVarint(1, value);
  24530. }
  24531. } else {
  24532. goto handle_uninterpreted;
  24533. }
  24534. if (input->ExpectTag(16)) goto parse_type;
  24535. break;
  24536. }
  24537. // optional int32 type = 2;
  24538. case 2: {
  24539. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24540. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24541. parse_type:
  24542. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24543. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24544. input, &type_)));
  24545. set_has_type();
  24546. } else {
  24547. goto handle_uninterpreted;
  24548. }
  24549. if (input->ExpectAtEnd()) return true;
  24550. break;
  24551. }
  24552. default: {
  24553. handle_uninterpreted:
  24554. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24555. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24556. return true;
  24557. }
  24558. DO_(::google::protobuf::internal::WireFormat::SkipField(
  24559. input, tag, mutable_unknown_fields()));
  24560. break;
  24561. }
  24562. }
  24563. }
  24564. return true;
  24565. #undef DO_
  24566. }
  24567. void packetc2w_recv_duanwu_handbooks_award::SerializeWithCachedSizes(
  24568. ::google::protobuf::io::CodedOutputStream* output) const {
  24569. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_award];
  24570. if (has_packet_id()) {
  24571. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  24572. 1, this->packet_id(), output);
  24573. }
  24574. // optional int32 type = 2;
  24575. if (has_type()) {
  24576. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  24577. }
  24578. if (!unknown_fields().empty()) {
  24579. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  24580. unknown_fields(), output);
  24581. }
  24582. }
  24583. ::google::protobuf::uint8* packetc2w_recv_duanwu_handbooks_award::SerializeWithCachedSizesToArray(
  24584. ::google::protobuf::uint8* target) const {
  24585. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_award];
  24586. if (has_packet_id()) {
  24587. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  24588. 1, this->packet_id(), target);
  24589. }
  24590. // optional int32 type = 2;
  24591. if (has_type()) {
  24592. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  24593. }
  24594. if (!unknown_fields().empty()) {
  24595. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  24596. unknown_fields(), target);
  24597. }
  24598. return target;
  24599. }
  24600. int packetc2w_recv_duanwu_handbooks_award::ByteSize() const {
  24601. int total_size = 0;
  24602. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24603. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_award];
  24604. if (has_packet_id()) {
  24605. total_size += 1 +
  24606. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  24607. }
  24608. // optional int32 type = 2;
  24609. if (has_type()) {
  24610. total_size += 1 +
  24611. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24612. this->type());
  24613. }
  24614. }
  24615. if (!unknown_fields().empty()) {
  24616. total_size +=
  24617. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  24618. unknown_fields());
  24619. }
  24620. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24621. _cached_size_ = total_size;
  24622. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24623. return total_size;
  24624. }
  24625. void packetc2w_recv_duanwu_handbooks_award::MergeFrom(const ::google::protobuf::Message& from) {
  24626. GOOGLE_CHECK_NE(&from, this);
  24627. const packetc2w_recv_duanwu_handbooks_award* source =
  24628. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_duanwu_handbooks_award*>(
  24629. &from);
  24630. if (source == NULL) {
  24631. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24632. } else {
  24633. MergeFrom(*source);
  24634. }
  24635. }
  24636. void packetc2w_recv_duanwu_handbooks_award::MergeFrom(const packetc2w_recv_duanwu_handbooks_award& from) {
  24637. GOOGLE_CHECK_NE(&from, this);
  24638. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24639. if (from.has_packet_id()) {
  24640. set_packet_id(from.packet_id());
  24641. }
  24642. if (from.has_type()) {
  24643. set_type(from.type());
  24644. }
  24645. }
  24646. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  24647. }
  24648. void packetc2w_recv_duanwu_handbooks_award::CopyFrom(const ::google::protobuf::Message& from) {
  24649. if (&from == this) return;
  24650. Clear();
  24651. MergeFrom(from);
  24652. }
  24653. void packetc2w_recv_duanwu_handbooks_award::CopyFrom(const packetc2w_recv_duanwu_handbooks_award& from) {
  24654. if (&from == this) return;
  24655. Clear();
  24656. MergeFrom(from);
  24657. }
  24658. bool packetc2w_recv_duanwu_handbooks_award::IsInitialized() const {
  24659. return true;
  24660. }
  24661. void packetc2w_recv_duanwu_handbooks_award::Swap(packetc2w_recv_duanwu_handbooks_award* other) {
  24662. if (other != this) {
  24663. std::swap(packet_id_, other->packet_id_);
  24664. std::swap(type_, other->type_);
  24665. std::swap(_has_bits_[0], other->_has_bits_[0]);
  24666. _unknown_fields_.Swap(&other->_unknown_fields_);
  24667. std::swap(_cached_size_, other->_cached_size_);
  24668. }
  24669. }
  24670. ::google::protobuf::Metadata packetc2w_recv_duanwu_handbooks_award::GetMetadata() const {
  24671. protobuf_AssignDescriptorsOnce();
  24672. ::google::protobuf::Metadata metadata;
  24673. metadata.descriptor = packetc2w_recv_duanwu_handbooks_award_descriptor_;
  24674. metadata.reflection = packetc2w_recv_duanwu_handbooks_award_reflection_;
  24675. return metadata;
  24676. }
  24677. // ===================================================================
  24678. #ifndef _MSC_VER
  24679. const int packetw2c_recv_duanwu_handbooks_award_result::kPacketIdFieldNumber;
  24680. const int packetw2c_recv_duanwu_handbooks_award_result::kResultFieldNumber;
  24681. const int packetw2c_recv_duanwu_handbooks_award_result::kTypelistFieldNumber;
  24682. const int packetw2c_recv_duanwu_handbooks_award_result::kHandbooksGoldFieldNumber;
  24683. #endif // !_MSC_VER
  24684. packetw2c_recv_duanwu_handbooks_award_result::packetw2c_recv_duanwu_handbooks_award_result()
  24685. : ::google::protobuf::Message() {
  24686. SharedCtor();
  24687. }
  24688. void packetw2c_recv_duanwu_handbooks_award_result::InitAsDefaultInstance() {
  24689. }
  24690. packetw2c_recv_duanwu_handbooks_award_result::packetw2c_recv_duanwu_handbooks_award_result(const packetw2c_recv_duanwu_handbooks_award_result& from)
  24691. : ::google::protobuf::Message() {
  24692. SharedCtor();
  24693. MergeFrom(from);
  24694. }
  24695. void packetw2c_recv_duanwu_handbooks_award_result::SharedCtor() {
  24696. _cached_size_ = 0;
  24697. packet_id_ = 7713;
  24698. result_ = 0;
  24699. handbooksgold_ = 0;
  24700. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24701. }
  24702. packetw2c_recv_duanwu_handbooks_award_result::~packetw2c_recv_duanwu_handbooks_award_result() {
  24703. SharedDtor();
  24704. }
  24705. void packetw2c_recv_duanwu_handbooks_award_result::SharedDtor() {
  24706. if (this != default_instance_) {
  24707. }
  24708. }
  24709. void packetw2c_recv_duanwu_handbooks_award_result::SetCachedSize(int size) const {
  24710. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24711. _cached_size_ = size;
  24712. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24713. }
  24714. const ::google::protobuf::Descriptor* packetw2c_recv_duanwu_handbooks_award_result::descriptor() {
  24715. protobuf_AssignDescriptorsOnce();
  24716. return packetw2c_recv_duanwu_handbooks_award_result_descriptor_;
  24717. }
  24718. const packetw2c_recv_duanwu_handbooks_award_result& packetw2c_recv_duanwu_handbooks_award_result::default_instance() {
  24719. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  24720. return *default_instance_;
  24721. }
  24722. packetw2c_recv_duanwu_handbooks_award_result* packetw2c_recv_duanwu_handbooks_award_result::default_instance_ = NULL;
  24723. packetw2c_recv_duanwu_handbooks_award_result* packetw2c_recv_duanwu_handbooks_award_result::New() const {
  24724. return new packetw2c_recv_duanwu_handbooks_award_result;
  24725. }
  24726. void packetw2c_recv_duanwu_handbooks_award_result::Clear() {
  24727. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24728. packet_id_ = 7713;
  24729. result_ = 0;
  24730. handbooksgold_ = 0;
  24731. }
  24732. typelist_.Clear();
  24733. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24734. mutable_unknown_fields()->Clear();
  24735. }
  24736. bool packetw2c_recv_duanwu_handbooks_award_result::MergePartialFromCodedStream(
  24737. ::google::protobuf::io::CodedInputStream* input) {
  24738. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  24739. ::google::protobuf::uint32 tag;
  24740. while ((tag = input->ReadTag()) != 0) {
  24741. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24742. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_award_result];
  24743. case 1: {
  24744. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24745. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24746. int value;
  24747. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24748. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  24749. input, &value)));
  24750. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  24751. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  24752. } else {
  24753. mutable_unknown_fields()->AddVarint(1, value);
  24754. }
  24755. } else {
  24756. goto handle_uninterpreted;
  24757. }
  24758. if (input->ExpectTag(16)) goto parse_result;
  24759. break;
  24760. }
  24761. // optional int32 result = 2;
  24762. case 2: {
  24763. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24764. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24765. parse_result:
  24766. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24767. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24768. input, &result_)));
  24769. set_has_result();
  24770. } else {
  24771. goto handle_uninterpreted;
  24772. }
  24773. if (input->ExpectTag(24)) goto parse_typelist;
  24774. break;
  24775. }
  24776. // repeated int32 typelist = 3;
  24777. case 3: {
  24778. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24779. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24780. parse_typelist:
  24781. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  24782. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24783. 1, 24, input, this->mutable_typelist())));
  24784. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  24785. == ::google::protobuf::internal::WireFormatLite::
  24786. WIRETYPE_LENGTH_DELIMITED) {
  24787. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  24788. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24789. input, this->mutable_typelist())));
  24790. } else {
  24791. goto handle_uninterpreted;
  24792. }
  24793. if (input->ExpectTag(24)) goto parse_typelist;
  24794. if (input->ExpectTag(32)) goto parse_handbooksGold;
  24795. break;
  24796. }
  24797. // optional int32 handbooksGold = 4;
  24798. case 4: {
  24799. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24800. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24801. parse_handbooksGold:
  24802. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24803. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24804. input, &handbooksgold_)));
  24805. set_has_handbooksgold();
  24806. } else {
  24807. goto handle_uninterpreted;
  24808. }
  24809. if (input->ExpectAtEnd()) return true;
  24810. break;
  24811. }
  24812. default: {
  24813. handle_uninterpreted:
  24814. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24815. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24816. return true;
  24817. }
  24818. DO_(::google::protobuf::internal::WireFormat::SkipField(
  24819. input, tag, mutable_unknown_fields()));
  24820. break;
  24821. }
  24822. }
  24823. }
  24824. return true;
  24825. #undef DO_
  24826. }
  24827. void packetw2c_recv_duanwu_handbooks_award_result::SerializeWithCachedSizes(
  24828. ::google::protobuf::io::CodedOutputStream* output) const {
  24829. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_award_result];
  24830. if (has_packet_id()) {
  24831. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  24832. 1, this->packet_id(), output);
  24833. }
  24834. // optional int32 result = 2;
  24835. if (has_result()) {
  24836. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  24837. }
  24838. // repeated int32 typelist = 3;
  24839. for (int i = 0; i < this->typelist_size(); i++) {
  24840. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  24841. 3, this->typelist(i), output);
  24842. }
  24843. // optional int32 handbooksGold = 4;
  24844. if (has_handbooksgold()) {
  24845. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->handbooksgold(), output);
  24846. }
  24847. if (!unknown_fields().empty()) {
  24848. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  24849. unknown_fields(), output);
  24850. }
  24851. }
  24852. ::google::protobuf::uint8* packetw2c_recv_duanwu_handbooks_award_result::SerializeWithCachedSizesToArray(
  24853. ::google::protobuf::uint8* target) const {
  24854. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_award_result];
  24855. if (has_packet_id()) {
  24856. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  24857. 1, this->packet_id(), target);
  24858. }
  24859. // optional int32 result = 2;
  24860. if (has_result()) {
  24861. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  24862. }
  24863. // repeated int32 typelist = 3;
  24864. for (int i = 0; i < this->typelist_size(); i++) {
  24865. target = ::google::protobuf::internal::WireFormatLite::
  24866. WriteInt32ToArray(3, this->typelist(i), target);
  24867. }
  24868. // optional int32 handbooksGold = 4;
  24869. if (has_handbooksgold()) {
  24870. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->handbooksgold(), target);
  24871. }
  24872. if (!unknown_fields().empty()) {
  24873. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  24874. unknown_fields(), target);
  24875. }
  24876. return target;
  24877. }
  24878. int packetw2c_recv_duanwu_handbooks_award_result::ByteSize() const {
  24879. int total_size = 0;
  24880. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24881. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_award_result];
  24882. if (has_packet_id()) {
  24883. total_size += 1 +
  24884. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  24885. }
  24886. // optional int32 result = 2;
  24887. if (has_result()) {
  24888. total_size += 1 +
  24889. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24890. this->result());
  24891. }
  24892. // optional int32 handbooksGold = 4;
  24893. if (has_handbooksgold()) {
  24894. total_size += 1 +
  24895. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24896. this->handbooksgold());
  24897. }
  24898. }
  24899. // repeated int32 typelist = 3;
  24900. {
  24901. int data_size = 0;
  24902. for (int i = 0; i < this->typelist_size(); i++) {
  24903. data_size += ::google::protobuf::internal::WireFormatLite::
  24904. Int32Size(this->typelist(i));
  24905. }
  24906. total_size += 1 * this->typelist_size() + data_size;
  24907. }
  24908. if (!unknown_fields().empty()) {
  24909. total_size +=
  24910. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  24911. unknown_fields());
  24912. }
  24913. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24914. _cached_size_ = total_size;
  24915. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24916. return total_size;
  24917. }
  24918. void packetw2c_recv_duanwu_handbooks_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  24919. GOOGLE_CHECK_NE(&from, this);
  24920. const packetw2c_recv_duanwu_handbooks_award_result* source =
  24921. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_duanwu_handbooks_award_result*>(
  24922. &from);
  24923. if (source == NULL) {
  24924. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24925. } else {
  24926. MergeFrom(*source);
  24927. }
  24928. }
  24929. void packetw2c_recv_duanwu_handbooks_award_result::MergeFrom(const packetw2c_recv_duanwu_handbooks_award_result& from) {
  24930. GOOGLE_CHECK_NE(&from, this);
  24931. typelist_.MergeFrom(from.typelist_);
  24932. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24933. if (from.has_packet_id()) {
  24934. set_packet_id(from.packet_id());
  24935. }
  24936. if (from.has_result()) {
  24937. set_result(from.result());
  24938. }
  24939. if (from.has_handbooksgold()) {
  24940. set_handbooksgold(from.handbooksgold());
  24941. }
  24942. }
  24943. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  24944. }
  24945. void packetw2c_recv_duanwu_handbooks_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  24946. if (&from == this) return;
  24947. Clear();
  24948. MergeFrom(from);
  24949. }
  24950. void packetw2c_recv_duanwu_handbooks_award_result::CopyFrom(const packetw2c_recv_duanwu_handbooks_award_result& from) {
  24951. if (&from == this) return;
  24952. Clear();
  24953. MergeFrom(from);
  24954. }
  24955. bool packetw2c_recv_duanwu_handbooks_award_result::IsInitialized() const {
  24956. return true;
  24957. }
  24958. void packetw2c_recv_duanwu_handbooks_award_result::Swap(packetw2c_recv_duanwu_handbooks_award_result* other) {
  24959. if (other != this) {
  24960. std::swap(packet_id_, other->packet_id_);
  24961. std::swap(result_, other->result_);
  24962. typelist_.Swap(&other->typelist_);
  24963. std::swap(handbooksgold_, other->handbooksgold_);
  24964. std::swap(_has_bits_[0], other->_has_bits_[0]);
  24965. _unknown_fields_.Swap(&other->_unknown_fields_);
  24966. std::swap(_cached_size_, other->_cached_size_);
  24967. }
  24968. }
  24969. ::google::protobuf::Metadata packetw2c_recv_duanwu_handbooks_award_result::GetMetadata() const {
  24970. protobuf_AssignDescriptorsOnce();
  24971. ::google::protobuf::Metadata metadata;
  24972. metadata.descriptor = packetw2c_recv_duanwu_handbooks_award_result_descriptor_;
  24973. metadata.reflection = packetw2c_recv_duanwu_handbooks_award_result_reflection_;
  24974. return metadata;
  24975. }
  24976. // ===================================================================
  24977. #ifndef _MSC_VER
  24978. const int packetc2w_duanwu_lottery::kPacketIdFieldNumber;
  24979. const int packetc2w_duanwu_lottery::kTypeFieldNumber;
  24980. #endif // !_MSC_VER
  24981. packetc2w_duanwu_lottery::packetc2w_duanwu_lottery()
  24982. : ::google::protobuf::Message() {
  24983. SharedCtor();
  24984. }
  24985. void packetc2w_duanwu_lottery::InitAsDefaultInstance() {
  24986. }
  24987. packetc2w_duanwu_lottery::packetc2w_duanwu_lottery(const packetc2w_duanwu_lottery& from)
  24988. : ::google::protobuf::Message() {
  24989. SharedCtor();
  24990. MergeFrom(from);
  24991. }
  24992. void packetc2w_duanwu_lottery::SharedCtor() {
  24993. _cached_size_ = 0;
  24994. packet_id_ = 5188;
  24995. type_ = 0;
  24996. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24997. }
  24998. packetc2w_duanwu_lottery::~packetc2w_duanwu_lottery() {
  24999. SharedDtor();
  25000. }
  25001. void packetc2w_duanwu_lottery::SharedDtor() {
  25002. if (this != default_instance_) {
  25003. }
  25004. }
  25005. void packetc2w_duanwu_lottery::SetCachedSize(int size) const {
  25006. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  25007. _cached_size_ = size;
  25008. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  25009. }
  25010. const ::google::protobuf::Descriptor* packetc2w_duanwu_lottery::descriptor() {
  25011. protobuf_AssignDescriptorsOnce();
  25012. return packetc2w_duanwu_lottery_descriptor_;
  25013. }
  25014. const packetc2w_duanwu_lottery& packetc2w_duanwu_lottery::default_instance() {
  25015. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  25016. return *default_instance_;
  25017. }
  25018. packetc2w_duanwu_lottery* packetc2w_duanwu_lottery::default_instance_ = NULL;
  25019. packetc2w_duanwu_lottery* packetc2w_duanwu_lottery::New() const {
  25020. return new packetc2w_duanwu_lottery;
  25021. }
  25022. void packetc2w_duanwu_lottery::Clear() {
  25023. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25024. packet_id_ = 5188;
  25025. type_ = 0;
  25026. }
  25027. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  25028. mutable_unknown_fields()->Clear();
  25029. }
  25030. bool packetc2w_duanwu_lottery::MergePartialFromCodedStream(
  25031. ::google::protobuf::io::CodedInputStream* input) {
  25032. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  25033. ::google::protobuf::uint32 tag;
  25034. while ((tag = input->ReadTag()) != 0) {
  25035. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  25036. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_duanwu_lottery];
  25037. case 1: {
  25038. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25039. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25040. int value;
  25041. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25042. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  25043. input, &value)));
  25044. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  25045. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  25046. } else {
  25047. mutable_unknown_fields()->AddVarint(1, value);
  25048. }
  25049. } else {
  25050. goto handle_uninterpreted;
  25051. }
  25052. if (input->ExpectTag(16)) goto parse_type;
  25053. break;
  25054. }
  25055. // optional int32 type = 2;
  25056. case 2: {
  25057. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25058. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25059. parse_type:
  25060. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25061. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25062. input, &type_)));
  25063. set_has_type();
  25064. } else {
  25065. goto handle_uninterpreted;
  25066. }
  25067. if (input->ExpectAtEnd()) return true;
  25068. break;
  25069. }
  25070. default: {
  25071. handle_uninterpreted:
  25072. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25073. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  25074. return true;
  25075. }
  25076. DO_(::google::protobuf::internal::WireFormat::SkipField(
  25077. input, tag, mutable_unknown_fields()));
  25078. break;
  25079. }
  25080. }
  25081. }
  25082. return true;
  25083. #undef DO_
  25084. }
  25085. void packetc2w_duanwu_lottery::SerializeWithCachedSizes(
  25086. ::google::protobuf::io::CodedOutputStream* output) const {
  25087. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_duanwu_lottery];
  25088. if (has_packet_id()) {
  25089. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  25090. 1, this->packet_id(), output);
  25091. }
  25092. // optional int32 type = 2;
  25093. if (has_type()) {
  25094. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  25095. }
  25096. if (!unknown_fields().empty()) {
  25097. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  25098. unknown_fields(), output);
  25099. }
  25100. }
  25101. ::google::protobuf::uint8* packetc2w_duanwu_lottery::SerializeWithCachedSizesToArray(
  25102. ::google::protobuf::uint8* target) const {
  25103. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_duanwu_lottery];
  25104. if (has_packet_id()) {
  25105. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  25106. 1, this->packet_id(), target);
  25107. }
  25108. // optional int32 type = 2;
  25109. if (has_type()) {
  25110. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  25111. }
  25112. if (!unknown_fields().empty()) {
  25113. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  25114. unknown_fields(), target);
  25115. }
  25116. return target;
  25117. }
  25118. int packetc2w_duanwu_lottery::ByteSize() const {
  25119. int total_size = 0;
  25120. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25121. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_duanwu_lottery];
  25122. if (has_packet_id()) {
  25123. total_size += 1 +
  25124. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  25125. }
  25126. // optional int32 type = 2;
  25127. if (has_type()) {
  25128. total_size += 1 +
  25129. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25130. this->type());
  25131. }
  25132. }
  25133. if (!unknown_fields().empty()) {
  25134. total_size +=
  25135. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  25136. unknown_fields());
  25137. }
  25138. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  25139. _cached_size_ = total_size;
  25140. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  25141. return total_size;
  25142. }
  25143. void packetc2w_duanwu_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  25144. GOOGLE_CHECK_NE(&from, this);
  25145. const packetc2w_duanwu_lottery* source =
  25146. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_duanwu_lottery*>(
  25147. &from);
  25148. if (source == NULL) {
  25149. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  25150. } else {
  25151. MergeFrom(*source);
  25152. }
  25153. }
  25154. void packetc2w_duanwu_lottery::MergeFrom(const packetc2w_duanwu_lottery& from) {
  25155. GOOGLE_CHECK_NE(&from, this);
  25156. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25157. if (from.has_packet_id()) {
  25158. set_packet_id(from.packet_id());
  25159. }
  25160. if (from.has_type()) {
  25161. set_type(from.type());
  25162. }
  25163. }
  25164. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  25165. }
  25166. void packetc2w_duanwu_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  25167. if (&from == this) return;
  25168. Clear();
  25169. MergeFrom(from);
  25170. }
  25171. void packetc2w_duanwu_lottery::CopyFrom(const packetc2w_duanwu_lottery& from) {
  25172. if (&from == this) return;
  25173. Clear();
  25174. MergeFrom(from);
  25175. }
  25176. bool packetc2w_duanwu_lottery::IsInitialized() const {
  25177. return true;
  25178. }
  25179. void packetc2w_duanwu_lottery::Swap(packetc2w_duanwu_lottery* other) {
  25180. if (other != this) {
  25181. std::swap(packet_id_, other->packet_id_);
  25182. std::swap(type_, other->type_);
  25183. std::swap(_has_bits_[0], other->_has_bits_[0]);
  25184. _unknown_fields_.Swap(&other->_unknown_fields_);
  25185. std::swap(_cached_size_, other->_cached_size_);
  25186. }
  25187. }
  25188. ::google::protobuf::Metadata packetc2w_duanwu_lottery::GetMetadata() const {
  25189. protobuf_AssignDescriptorsOnce();
  25190. ::google::protobuf::Metadata metadata;
  25191. metadata.descriptor = packetc2w_duanwu_lottery_descriptor_;
  25192. metadata.reflection = packetc2w_duanwu_lottery_reflection_;
  25193. return metadata;
  25194. }
  25195. // ===================================================================
  25196. #ifndef _MSC_VER
  25197. const int packetw2c_duanwu_lottery_result::kPacketIdFieldNumber;
  25198. const int packetw2c_duanwu_lottery_result::kResultFieldNumber;
  25199. const int packetw2c_duanwu_lottery_result::kTypeFieldNumber;
  25200. const int packetw2c_duanwu_lottery_result::kRewardIdFieldNumber;
  25201. #endif // !_MSC_VER
  25202. packetw2c_duanwu_lottery_result::packetw2c_duanwu_lottery_result()
  25203. : ::google::protobuf::Message() {
  25204. SharedCtor();
  25205. }
  25206. void packetw2c_duanwu_lottery_result::InitAsDefaultInstance() {
  25207. }
  25208. packetw2c_duanwu_lottery_result::packetw2c_duanwu_lottery_result(const packetw2c_duanwu_lottery_result& from)
  25209. : ::google::protobuf::Message() {
  25210. SharedCtor();
  25211. MergeFrom(from);
  25212. }
  25213. void packetw2c_duanwu_lottery_result::SharedCtor() {
  25214. _cached_size_ = 0;
  25215. packet_id_ = 7712;
  25216. result_ = 0;
  25217. type_ = 0;
  25218. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  25219. }
  25220. packetw2c_duanwu_lottery_result::~packetw2c_duanwu_lottery_result() {
  25221. SharedDtor();
  25222. }
  25223. void packetw2c_duanwu_lottery_result::SharedDtor() {
  25224. if (this != default_instance_) {
  25225. }
  25226. }
  25227. void packetw2c_duanwu_lottery_result::SetCachedSize(int size) const {
  25228. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  25229. _cached_size_ = size;
  25230. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  25231. }
  25232. const ::google::protobuf::Descriptor* packetw2c_duanwu_lottery_result::descriptor() {
  25233. protobuf_AssignDescriptorsOnce();
  25234. return packetw2c_duanwu_lottery_result_descriptor_;
  25235. }
  25236. const packetw2c_duanwu_lottery_result& packetw2c_duanwu_lottery_result::default_instance() {
  25237. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  25238. return *default_instance_;
  25239. }
  25240. packetw2c_duanwu_lottery_result* packetw2c_duanwu_lottery_result::default_instance_ = NULL;
  25241. packetw2c_duanwu_lottery_result* packetw2c_duanwu_lottery_result::New() const {
  25242. return new packetw2c_duanwu_lottery_result;
  25243. }
  25244. void packetw2c_duanwu_lottery_result::Clear() {
  25245. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25246. packet_id_ = 7712;
  25247. result_ = 0;
  25248. type_ = 0;
  25249. }
  25250. rewardid_.Clear();
  25251. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  25252. mutable_unknown_fields()->Clear();
  25253. }
  25254. bool packetw2c_duanwu_lottery_result::MergePartialFromCodedStream(
  25255. ::google::protobuf::io::CodedInputStream* input) {
  25256. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  25257. ::google::protobuf::uint32 tag;
  25258. while ((tag = input->ReadTag()) != 0) {
  25259. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  25260. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_duanwu_lottery_result];
  25261. case 1: {
  25262. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25263. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25264. int value;
  25265. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25266. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  25267. input, &value)));
  25268. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  25269. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  25270. } else {
  25271. mutable_unknown_fields()->AddVarint(1, value);
  25272. }
  25273. } else {
  25274. goto handle_uninterpreted;
  25275. }
  25276. if (input->ExpectTag(16)) goto parse_result;
  25277. break;
  25278. }
  25279. // optional int32 result = 2;
  25280. case 2: {
  25281. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25282. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25283. parse_result:
  25284. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25285. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25286. input, &result_)));
  25287. set_has_result();
  25288. } else {
  25289. goto handle_uninterpreted;
  25290. }
  25291. if (input->ExpectTag(24)) goto parse_type;
  25292. break;
  25293. }
  25294. // optional int32 type = 3;
  25295. case 3: {
  25296. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25297. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25298. parse_type:
  25299. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25300. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25301. input, &type_)));
  25302. set_has_type();
  25303. } else {
  25304. goto handle_uninterpreted;
  25305. }
  25306. if (input->ExpectTag(32)) goto parse_rewardId;
  25307. break;
  25308. }
  25309. // repeated int32 rewardId = 4;
  25310. case 4: {
  25311. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25312. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25313. parse_rewardId:
  25314. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  25315. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25316. 1, 32, input, this->mutable_rewardid())));
  25317. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  25318. == ::google::protobuf::internal::WireFormatLite::
  25319. WIRETYPE_LENGTH_DELIMITED) {
  25320. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  25321. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25322. input, this->mutable_rewardid())));
  25323. } else {
  25324. goto handle_uninterpreted;
  25325. }
  25326. if (input->ExpectTag(32)) goto parse_rewardId;
  25327. if (input->ExpectAtEnd()) return true;
  25328. break;
  25329. }
  25330. default: {
  25331. handle_uninterpreted:
  25332. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25333. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  25334. return true;
  25335. }
  25336. DO_(::google::protobuf::internal::WireFormat::SkipField(
  25337. input, tag, mutable_unknown_fields()));
  25338. break;
  25339. }
  25340. }
  25341. }
  25342. return true;
  25343. #undef DO_
  25344. }
  25345. void packetw2c_duanwu_lottery_result::SerializeWithCachedSizes(
  25346. ::google::protobuf::io::CodedOutputStream* output) const {
  25347. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_duanwu_lottery_result];
  25348. if (has_packet_id()) {
  25349. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  25350. 1, this->packet_id(), output);
  25351. }
  25352. // optional int32 result = 2;
  25353. if (has_result()) {
  25354. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  25355. }
  25356. // optional int32 type = 3;
  25357. if (has_type()) {
  25358. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  25359. }
  25360. // repeated int32 rewardId = 4;
  25361. for (int i = 0; i < this->rewardid_size(); i++) {
  25362. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  25363. 4, this->rewardid(i), output);
  25364. }
  25365. if (!unknown_fields().empty()) {
  25366. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  25367. unknown_fields(), output);
  25368. }
  25369. }
  25370. ::google::protobuf::uint8* packetw2c_duanwu_lottery_result::SerializeWithCachedSizesToArray(
  25371. ::google::protobuf::uint8* target) const {
  25372. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_duanwu_lottery_result];
  25373. if (has_packet_id()) {
  25374. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  25375. 1, this->packet_id(), target);
  25376. }
  25377. // optional int32 result = 2;
  25378. if (has_result()) {
  25379. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  25380. }
  25381. // optional int32 type = 3;
  25382. if (has_type()) {
  25383. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  25384. }
  25385. // repeated int32 rewardId = 4;
  25386. for (int i = 0; i < this->rewardid_size(); i++) {
  25387. target = ::google::protobuf::internal::WireFormatLite::
  25388. WriteInt32ToArray(4, this->rewardid(i), target);
  25389. }
  25390. if (!unknown_fields().empty()) {
  25391. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  25392. unknown_fields(), target);
  25393. }
  25394. return target;
  25395. }
  25396. int packetw2c_duanwu_lottery_result::ByteSize() const {
  25397. int total_size = 0;
  25398. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25399. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_duanwu_lottery_result];
  25400. if (has_packet_id()) {
  25401. total_size += 1 +
  25402. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  25403. }
  25404. // optional int32 result = 2;
  25405. if (has_result()) {
  25406. total_size += 1 +
  25407. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25408. this->result());
  25409. }
  25410. // optional int32 type = 3;
  25411. if (has_type()) {
  25412. total_size += 1 +
  25413. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25414. this->type());
  25415. }
  25416. }
  25417. // repeated int32 rewardId = 4;
  25418. {
  25419. int data_size = 0;
  25420. for (int i = 0; i < this->rewardid_size(); i++) {
  25421. data_size += ::google::protobuf::internal::WireFormatLite::
  25422. Int32Size(this->rewardid(i));
  25423. }
  25424. total_size += 1 * this->rewardid_size() + data_size;
  25425. }
  25426. if (!unknown_fields().empty()) {
  25427. total_size +=
  25428. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  25429. unknown_fields());
  25430. }
  25431. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  25432. _cached_size_ = total_size;
  25433. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  25434. return total_size;
  25435. }
  25436. void packetw2c_duanwu_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  25437. GOOGLE_CHECK_NE(&from, this);
  25438. const packetw2c_duanwu_lottery_result* source =
  25439. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_duanwu_lottery_result*>(
  25440. &from);
  25441. if (source == NULL) {
  25442. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  25443. } else {
  25444. MergeFrom(*source);
  25445. }
  25446. }
  25447. void packetw2c_duanwu_lottery_result::MergeFrom(const packetw2c_duanwu_lottery_result& from) {
  25448. GOOGLE_CHECK_NE(&from, this);
  25449. rewardid_.MergeFrom(from.rewardid_);
  25450. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25451. if (from.has_packet_id()) {
  25452. set_packet_id(from.packet_id());
  25453. }
  25454. if (from.has_result()) {
  25455. set_result(from.result());
  25456. }
  25457. if (from.has_type()) {
  25458. set_type(from.type());
  25459. }
  25460. }
  25461. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  25462. }
  25463. void packetw2c_duanwu_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  25464. if (&from == this) return;
  25465. Clear();
  25466. MergeFrom(from);
  25467. }
  25468. void packetw2c_duanwu_lottery_result::CopyFrom(const packetw2c_duanwu_lottery_result& from) {
  25469. if (&from == this) return;
  25470. Clear();
  25471. MergeFrom(from);
  25472. }
  25473. bool packetw2c_duanwu_lottery_result::IsInitialized() const {
  25474. return true;
  25475. }
  25476. void packetw2c_duanwu_lottery_result::Swap(packetw2c_duanwu_lottery_result* other) {
  25477. if (other != this) {
  25478. std::swap(packet_id_, other->packet_id_);
  25479. std::swap(result_, other->result_);
  25480. std::swap(type_, other->type_);
  25481. rewardid_.Swap(&other->rewardid_);
  25482. std::swap(_has_bits_[0], other->_has_bits_[0]);
  25483. _unknown_fields_.Swap(&other->_unknown_fields_);
  25484. std::swap(_cached_size_, other->_cached_size_);
  25485. }
  25486. }
  25487. ::google::protobuf::Metadata packetw2c_duanwu_lottery_result::GetMetadata() const {
  25488. protobuf_AssignDescriptorsOnce();
  25489. ::google::protobuf::Metadata metadata;
  25490. metadata.descriptor = packetw2c_duanwu_lottery_result_descriptor_;
  25491. metadata.reflection = packetw2c_duanwu_lottery_result_reflection_;
  25492. return metadata;
  25493. }
  25494. // ===================================================================
  25495. #ifndef _MSC_VER
  25496. const int packetw2c_syn_summer_vacation_info::kPacketIdFieldNumber;
  25497. const int packetw2c_syn_summer_vacation_info::kActivityStateFieldNumber;
  25498. const int packetw2c_syn_summer_vacation_info::kStartTimeFieldNumber;
  25499. const int packetw2c_syn_summer_vacation_info::kEndTimeFieldNumber;
  25500. const int packetw2c_syn_summer_vacation_info::kSignCountFieldNumber;
  25501. const int packetw2c_syn_summer_vacation_info::kResetTimesFieldNumber;
  25502. const int packetw2c_syn_summer_vacation_info::kCanSignFieldNumber;
  25503. const int packetw2c_syn_summer_vacation_info::kHandbooksAwardStatFieldNumber;
  25504. const int packetw2c_syn_summer_vacation_info::kHandbooksStatFieldNumber;
  25505. const int packetw2c_syn_summer_vacation_info::kPaddyCountFieldNumber;
  25506. #endif // !_MSC_VER
  25507. packetw2c_syn_summer_vacation_info::packetw2c_syn_summer_vacation_info()
  25508. : ::google::protobuf::Message() {
  25509. SharedCtor();
  25510. }
  25511. void packetw2c_syn_summer_vacation_info::InitAsDefaultInstance() {
  25512. }
  25513. packetw2c_syn_summer_vacation_info::packetw2c_syn_summer_vacation_info(const packetw2c_syn_summer_vacation_info& from)
  25514. : ::google::protobuf::Message() {
  25515. SharedCtor();
  25516. MergeFrom(from);
  25517. }
  25518. void packetw2c_syn_summer_vacation_info::SharedCtor() {
  25519. _cached_size_ = 0;
  25520. packet_id_ = 7680;
  25521. activitystate_ = 0;
  25522. starttime_ = 0;
  25523. endtime_ = 0;
  25524. signcount_ = 0;
  25525. resettimes_ = 0;
  25526. cansign_ = false;
  25527. paddycount_ = 0;
  25528. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  25529. }
  25530. packetw2c_syn_summer_vacation_info::~packetw2c_syn_summer_vacation_info() {
  25531. SharedDtor();
  25532. }
  25533. void packetw2c_syn_summer_vacation_info::SharedDtor() {
  25534. if (this != default_instance_) {
  25535. }
  25536. }
  25537. void packetw2c_syn_summer_vacation_info::SetCachedSize(int size) const {
  25538. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  25539. _cached_size_ = size;
  25540. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  25541. }
  25542. const ::google::protobuf::Descriptor* packetw2c_syn_summer_vacation_info::descriptor() {
  25543. protobuf_AssignDescriptorsOnce();
  25544. return packetw2c_syn_summer_vacation_info_descriptor_;
  25545. }
  25546. const packetw2c_syn_summer_vacation_info& packetw2c_syn_summer_vacation_info::default_instance() {
  25547. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  25548. return *default_instance_;
  25549. }
  25550. packetw2c_syn_summer_vacation_info* packetw2c_syn_summer_vacation_info::default_instance_ = NULL;
  25551. packetw2c_syn_summer_vacation_info* packetw2c_syn_summer_vacation_info::New() const {
  25552. return new packetw2c_syn_summer_vacation_info;
  25553. }
  25554. void packetw2c_syn_summer_vacation_info::Clear() {
  25555. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25556. packet_id_ = 7680;
  25557. activitystate_ = 0;
  25558. starttime_ = 0;
  25559. endtime_ = 0;
  25560. signcount_ = 0;
  25561. resettimes_ = 0;
  25562. cansign_ = false;
  25563. }
  25564. if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  25565. paddycount_ = 0;
  25566. }
  25567. handbooksawardstat_.Clear();
  25568. handbooksstat_.Clear();
  25569. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  25570. mutable_unknown_fields()->Clear();
  25571. }
  25572. bool packetw2c_syn_summer_vacation_info::MergePartialFromCodedStream(
  25573. ::google::protobuf::io::CodedInputStream* input) {
  25574. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  25575. ::google::protobuf::uint32 tag;
  25576. while ((tag = input->ReadTag()) != 0) {
  25577. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  25578. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_vacation_info];
  25579. case 1: {
  25580. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25581. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25582. int value;
  25583. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25584. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  25585. input, &value)));
  25586. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  25587. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  25588. } else {
  25589. mutable_unknown_fields()->AddVarint(1, value);
  25590. }
  25591. } else {
  25592. goto handle_uninterpreted;
  25593. }
  25594. if (input->ExpectTag(16)) goto parse_activityState;
  25595. break;
  25596. }
  25597. // optional int32 activityState = 2;
  25598. case 2: {
  25599. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25600. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25601. parse_activityState:
  25602. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25603. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25604. input, &activitystate_)));
  25605. set_has_activitystate();
  25606. } else {
  25607. goto handle_uninterpreted;
  25608. }
  25609. if (input->ExpectTag(24)) goto parse_startTime;
  25610. break;
  25611. }
  25612. // optional int32 startTime = 3;
  25613. case 3: {
  25614. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25615. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25616. parse_startTime:
  25617. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25618. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25619. input, &starttime_)));
  25620. set_has_starttime();
  25621. } else {
  25622. goto handle_uninterpreted;
  25623. }
  25624. if (input->ExpectTag(32)) goto parse_endTime;
  25625. break;
  25626. }
  25627. // optional int32 endTime = 4;
  25628. case 4: {
  25629. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25630. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25631. parse_endTime:
  25632. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25633. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25634. input, &endtime_)));
  25635. set_has_endtime();
  25636. } else {
  25637. goto handle_uninterpreted;
  25638. }
  25639. if (input->ExpectTag(40)) goto parse_signCount;
  25640. break;
  25641. }
  25642. // optional int32 signCount = 5;
  25643. case 5: {
  25644. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25645. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25646. parse_signCount:
  25647. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25648. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25649. input, &signcount_)));
  25650. set_has_signcount();
  25651. } else {
  25652. goto handle_uninterpreted;
  25653. }
  25654. if (input->ExpectTag(48)) goto parse_resetTimes;
  25655. break;
  25656. }
  25657. // optional int32 resetTimes = 6;
  25658. case 6: {
  25659. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25660. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25661. parse_resetTimes:
  25662. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25663. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25664. input, &resettimes_)));
  25665. set_has_resettimes();
  25666. } else {
  25667. goto handle_uninterpreted;
  25668. }
  25669. if (input->ExpectTag(56)) goto parse_canSign;
  25670. break;
  25671. }
  25672. // optional bool canSign = 7;
  25673. case 7: {
  25674. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25675. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25676. parse_canSign:
  25677. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25678. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  25679. input, &cansign_)));
  25680. set_has_cansign();
  25681. } else {
  25682. goto handle_uninterpreted;
  25683. }
  25684. if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
  25685. break;
  25686. }
  25687. // repeated bool handbooksAwardStat = 8;
  25688. case 8: {
  25689. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25690. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25691. parse_handbooksAwardStat:
  25692. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  25693. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  25694. 1, 64, input, this->mutable_handbooksawardstat())));
  25695. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  25696. == ::google::protobuf::internal::WireFormatLite::
  25697. WIRETYPE_LENGTH_DELIMITED) {
  25698. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  25699. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  25700. input, this->mutable_handbooksawardstat())));
  25701. } else {
  25702. goto handle_uninterpreted;
  25703. }
  25704. if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
  25705. if (input->ExpectTag(72)) goto parse_handbooksStat;
  25706. break;
  25707. }
  25708. // repeated int32 handbooksStat = 9;
  25709. case 9: {
  25710. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25711. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25712. parse_handbooksStat:
  25713. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  25714. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25715. 1, 72, input, this->mutable_handbooksstat())));
  25716. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  25717. == ::google::protobuf::internal::WireFormatLite::
  25718. WIRETYPE_LENGTH_DELIMITED) {
  25719. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  25720. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25721. input, this->mutable_handbooksstat())));
  25722. } else {
  25723. goto handle_uninterpreted;
  25724. }
  25725. if (input->ExpectTag(72)) goto parse_handbooksStat;
  25726. if (input->ExpectTag(80)) goto parse_paddyCount;
  25727. break;
  25728. }
  25729. // optional int32 paddyCount = 10;
  25730. case 10: {
  25731. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25732. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  25733. parse_paddyCount:
  25734. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  25735. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  25736. input, &paddycount_)));
  25737. set_has_paddycount();
  25738. } else {
  25739. goto handle_uninterpreted;
  25740. }
  25741. if (input->ExpectAtEnd()) return true;
  25742. break;
  25743. }
  25744. default: {
  25745. handle_uninterpreted:
  25746. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  25747. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  25748. return true;
  25749. }
  25750. DO_(::google::protobuf::internal::WireFormat::SkipField(
  25751. input, tag, mutable_unknown_fields()));
  25752. break;
  25753. }
  25754. }
  25755. }
  25756. return true;
  25757. #undef DO_
  25758. }
  25759. void packetw2c_syn_summer_vacation_info::SerializeWithCachedSizes(
  25760. ::google::protobuf::io::CodedOutputStream* output) const {
  25761. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_vacation_info];
  25762. if (has_packet_id()) {
  25763. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  25764. 1, this->packet_id(), output);
  25765. }
  25766. // optional int32 activityState = 2;
  25767. if (has_activitystate()) {
  25768. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  25769. }
  25770. // optional int32 startTime = 3;
  25771. if (has_starttime()) {
  25772. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  25773. }
  25774. // optional int32 endTime = 4;
  25775. if (has_endtime()) {
  25776. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  25777. }
  25778. // optional int32 signCount = 5;
  25779. if (has_signcount()) {
  25780. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->signcount(), output);
  25781. }
  25782. // optional int32 resetTimes = 6;
  25783. if (has_resettimes()) {
  25784. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->resettimes(), output);
  25785. }
  25786. // optional bool canSign = 7;
  25787. if (has_cansign()) {
  25788. ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->cansign(), output);
  25789. }
  25790. // repeated bool handbooksAwardStat = 8;
  25791. for (int i = 0; i < this->handbooksawardstat_size(); i++) {
  25792. ::google::protobuf::internal::WireFormatLite::WriteBool(
  25793. 8, this->handbooksawardstat(i), output);
  25794. }
  25795. // repeated int32 handbooksStat = 9;
  25796. for (int i = 0; i < this->handbooksstat_size(); i++) {
  25797. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  25798. 9, this->handbooksstat(i), output);
  25799. }
  25800. // optional int32 paddyCount = 10;
  25801. if (has_paddycount()) {
  25802. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->paddycount(), output);
  25803. }
  25804. if (!unknown_fields().empty()) {
  25805. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  25806. unknown_fields(), output);
  25807. }
  25808. }
  25809. ::google::protobuf::uint8* packetw2c_syn_summer_vacation_info::SerializeWithCachedSizesToArray(
  25810. ::google::protobuf::uint8* target) const {
  25811. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_vacation_info];
  25812. if (has_packet_id()) {
  25813. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  25814. 1, this->packet_id(), target);
  25815. }
  25816. // optional int32 activityState = 2;
  25817. if (has_activitystate()) {
  25818. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  25819. }
  25820. // optional int32 startTime = 3;
  25821. if (has_starttime()) {
  25822. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  25823. }
  25824. // optional int32 endTime = 4;
  25825. if (has_endtime()) {
  25826. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  25827. }
  25828. // optional int32 signCount = 5;
  25829. if (has_signcount()) {
  25830. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->signcount(), target);
  25831. }
  25832. // optional int32 resetTimes = 6;
  25833. if (has_resettimes()) {
  25834. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->resettimes(), target);
  25835. }
  25836. // optional bool canSign = 7;
  25837. if (has_cansign()) {
  25838. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->cansign(), target);
  25839. }
  25840. // repeated bool handbooksAwardStat = 8;
  25841. for (int i = 0; i < this->handbooksawardstat_size(); i++) {
  25842. target = ::google::protobuf::internal::WireFormatLite::
  25843. WriteBoolToArray(8, this->handbooksawardstat(i), target);
  25844. }
  25845. // repeated int32 handbooksStat = 9;
  25846. for (int i = 0; i < this->handbooksstat_size(); i++) {
  25847. target = ::google::protobuf::internal::WireFormatLite::
  25848. WriteInt32ToArray(9, this->handbooksstat(i), target);
  25849. }
  25850. // optional int32 paddyCount = 10;
  25851. if (has_paddycount()) {
  25852. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->paddycount(), target);
  25853. }
  25854. if (!unknown_fields().empty()) {
  25855. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  25856. unknown_fields(), target);
  25857. }
  25858. return target;
  25859. }
  25860. int packetw2c_syn_summer_vacation_info::ByteSize() const {
  25861. int total_size = 0;
  25862. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25863. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_vacation_info];
  25864. if (has_packet_id()) {
  25865. total_size += 1 +
  25866. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  25867. }
  25868. // optional int32 activityState = 2;
  25869. if (has_activitystate()) {
  25870. total_size += 1 +
  25871. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25872. this->activitystate());
  25873. }
  25874. // optional int32 startTime = 3;
  25875. if (has_starttime()) {
  25876. total_size += 1 +
  25877. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25878. this->starttime());
  25879. }
  25880. // optional int32 endTime = 4;
  25881. if (has_endtime()) {
  25882. total_size += 1 +
  25883. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25884. this->endtime());
  25885. }
  25886. // optional int32 signCount = 5;
  25887. if (has_signcount()) {
  25888. total_size += 1 +
  25889. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25890. this->signcount());
  25891. }
  25892. // optional int32 resetTimes = 6;
  25893. if (has_resettimes()) {
  25894. total_size += 1 +
  25895. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25896. this->resettimes());
  25897. }
  25898. // optional bool canSign = 7;
  25899. if (has_cansign()) {
  25900. total_size += 1 + 1;
  25901. }
  25902. }
  25903. if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  25904. // optional int32 paddyCount = 10;
  25905. if (has_paddycount()) {
  25906. total_size += 1 +
  25907. ::google::protobuf::internal::WireFormatLite::Int32Size(
  25908. this->paddycount());
  25909. }
  25910. }
  25911. // repeated bool handbooksAwardStat = 8;
  25912. {
  25913. int data_size = 0;
  25914. data_size = 1 * this->handbooksawardstat_size();
  25915. total_size += 1 * this->handbooksawardstat_size() + data_size;
  25916. }
  25917. // repeated int32 handbooksStat = 9;
  25918. {
  25919. int data_size = 0;
  25920. for (int i = 0; i < this->handbooksstat_size(); i++) {
  25921. data_size += ::google::protobuf::internal::WireFormatLite::
  25922. Int32Size(this->handbooksstat(i));
  25923. }
  25924. total_size += 1 * this->handbooksstat_size() + data_size;
  25925. }
  25926. if (!unknown_fields().empty()) {
  25927. total_size +=
  25928. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  25929. unknown_fields());
  25930. }
  25931. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  25932. _cached_size_ = total_size;
  25933. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  25934. return total_size;
  25935. }
  25936. void packetw2c_syn_summer_vacation_info::MergeFrom(const ::google::protobuf::Message& from) {
  25937. GOOGLE_CHECK_NE(&from, this);
  25938. const packetw2c_syn_summer_vacation_info* source =
  25939. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_summer_vacation_info*>(
  25940. &from);
  25941. if (source == NULL) {
  25942. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  25943. } else {
  25944. MergeFrom(*source);
  25945. }
  25946. }
  25947. void packetw2c_syn_summer_vacation_info::MergeFrom(const packetw2c_syn_summer_vacation_info& from) {
  25948. GOOGLE_CHECK_NE(&from, this);
  25949. handbooksawardstat_.MergeFrom(from.handbooksawardstat_);
  25950. handbooksstat_.MergeFrom(from.handbooksstat_);
  25951. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  25952. if (from.has_packet_id()) {
  25953. set_packet_id(from.packet_id());
  25954. }
  25955. if (from.has_activitystate()) {
  25956. set_activitystate(from.activitystate());
  25957. }
  25958. if (from.has_starttime()) {
  25959. set_starttime(from.starttime());
  25960. }
  25961. if (from.has_endtime()) {
  25962. set_endtime(from.endtime());
  25963. }
  25964. if (from.has_signcount()) {
  25965. set_signcount(from.signcount());
  25966. }
  25967. if (from.has_resettimes()) {
  25968. set_resettimes(from.resettimes());
  25969. }
  25970. if (from.has_cansign()) {
  25971. set_cansign(from.cansign());
  25972. }
  25973. }
  25974. if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  25975. if (from.has_paddycount()) {
  25976. set_paddycount(from.paddycount());
  25977. }
  25978. }
  25979. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  25980. }
  25981. void packetw2c_syn_summer_vacation_info::CopyFrom(const ::google::protobuf::Message& from) {
  25982. if (&from == this) return;
  25983. Clear();
  25984. MergeFrom(from);
  25985. }
  25986. void packetw2c_syn_summer_vacation_info::CopyFrom(const packetw2c_syn_summer_vacation_info& from) {
  25987. if (&from == this) return;
  25988. Clear();
  25989. MergeFrom(from);
  25990. }
  25991. bool packetw2c_syn_summer_vacation_info::IsInitialized() const {
  25992. return true;
  25993. }
  25994. void packetw2c_syn_summer_vacation_info::Swap(packetw2c_syn_summer_vacation_info* other) {
  25995. if (other != this) {
  25996. std::swap(packet_id_, other->packet_id_);
  25997. std::swap(activitystate_, other->activitystate_);
  25998. std::swap(starttime_, other->starttime_);
  25999. std::swap(endtime_, other->endtime_);
  26000. std::swap(signcount_, other->signcount_);
  26001. std::swap(resettimes_, other->resettimes_);
  26002. std::swap(cansign_, other->cansign_);
  26003. handbooksawardstat_.Swap(&other->handbooksawardstat_);
  26004. handbooksstat_.Swap(&other->handbooksstat_);
  26005. std::swap(paddycount_, other->paddycount_);
  26006. std::swap(_has_bits_[0], other->_has_bits_[0]);
  26007. _unknown_fields_.Swap(&other->_unknown_fields_);
  26008. std::swap(_cached_size_, other->_cached_size_);
  26009. }
  26010. }
  26011. ::google::protobuf::Metadata packetw2c_syn_summer_vacation_info::GetMetadata() const {
  26012. protobuf_AssignDescriptorsOnce();
  26013. ::google::protobuf::Metadata metadata;
  26014. metadata.descriptor = packetw2c_syn_summer_vacation_info_descriptor_;
  26015. metadata.reflection = packetw2c_syn_summer_vacation_info_reflection_;
  26016. return metadata;
  26017. }
  26018. // ===================================================================
  26019. #ifndef _MSC_VER
  26020. const int packetc2w_get_summer_quest::kPacketIdFieldNumber;
  26021. #endif // !_MSC_VER
  26022. packetc2w_get_summer_quest::packetc2w_get_summer_quest()
  26023. : ::google::protobuf::Message() {
  26024. SharedCtor();
  26025. }
  26026. void packetc2w_get_summer_quest::InitAsDefaultInstance() {
  26027. }
  26028. packetc2w_get_summer_quest::packetc2w_get_summer_quest(const packetc2w_get_summer_quest& from)
  26029. : ::google::protobuf::Message() {
  26030. SharedCtor();
  26031. MergeFrom(from);
  26032. }
  26033. void packetc2w_get_summer_quest::SharedCtor() {
  26034. _cached_size_ = 0;
  26035. packet_id_ = 5253;
  26036. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26037. }
  26038. packetc2w_get_summer_quest::~packetc2w_get_summer_quest() {
  26039. SharedDtor();
  26040. }
  26041. void packetc2w_get_summer_quest::SharedDtor() {
  26042. if (this != default_instance_) {
  26043. }
  26044. }
  26045. void packetc2w_get_summer_quest::SetCachedSize(int size) const {
  26046. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26047. _cached_size_ = size;
  26048. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26049. }
  26050. const ::google::protobuf::Descriptor* packetc2w_get_summer_quest::descriptor() {
  26051. protobuf_AssignDescriptorsOnce();
  26052. return packetc2w_get_summer_quest_descriptor_;
  26053. }
  26054. const packetc2w_get_summer_quest& packetc2w_get_summer_quest::default_instance() {
  26055. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  26056. return *default_instance_;
  26057. }
  26058. packetc2w_get_summer_quest* packetc2w_get_summer_quest::default_instance_ = NULL;
  26059. packetc2w_get_summer_quest* packetc2w_get_summer_quest::New() const {
  26060. return new packetc2w_get_summer_quest;
  26061. }
  26062. void packetc2w_get_summer_quest::Clear() {
  26063. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26064. packet_id_ = 5253;
  26065. }
  26066. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26067. mutable_unknown_fields()->Clear();
  26068. }
  26069. bool packetc2w_get_summer_quest::MergePartialFromCodedStream(
  26070. ::google::protobuf::io::CodedInputStream* input) {
  26071. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  26072. ::google::protobuf::uint32 tag;
  26073. while ((tag = input->ReadTag()) != 0) {
  26074. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  26075. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_quest];
  26076. case 1: {
  26077. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26078. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  26079. int value;
  26080. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  26081. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  26082. input, &value)));
  26083. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  26084. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  26085. } else {
  26086. mutable_unknown_fields()->AddVarint(1, value);
  26087. }
  26088. } else {
  26089. goto handle_uninterpreted;
  26090. }
  26091. if (input->ExpectAtEnd()) return true;
  26092. break;
  26093. }
  26094. default: {
  26095. handle_uninterpreted:
  26096. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26097. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  26098. return true;
  26099. }
  26100. DO_(::google::protobuf::internal::WireFormat::SkipField(
  26101. input, tag, mutable_unknown_fields()));
  26102. break;
  26103. }
  26104. }
  26105. }
  26106. return true;
  26107. #undef DO_
  26108. }
  26109. void packetc2w_get_summer_quest::SerializeWithCachedSizes(
  26110. ::google::protobuf::io::CodedOutputStream* output) const {
  26111. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_quest];
  26112. if (has_packet_id()) {
  26113. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  26114. 1, this->packet_id(), output);
  26115. }
  26116. if (!unknown_fields().empty()) {
  26117. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  26118. unknown_fields(), output);
  26119. }
  26120. }
  26121. ::google::protobuf::uint8* packetc2w_get_summer_quest::SerializeWithCachedSizesToArray(
  26122. ::google::protobuf::uint8* target) const {
  26123. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_quest];
  26124. if (has_packet_id()) {
  26125. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  26126. 1, this->packet_id(), target);
  26127. }
  26128. if (!unknown_fields().empty()) {
  26129. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  26130. unknown_fields(), target);
  26131. }
  26132. return target;
  26133. }
  26134. int packetc2w_get_summer_quest::ByteSize() const {
  26135. int total_size = 0;
  26136. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26137. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_quest];
  26138. if (has_packet_id()) {
  26139. total_size += 1 +
  26140. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  26141. }
  26142. }
  26143. if (!unknown_fields().empty()) {
  26144. total_size +=
  26145. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  26146. unknown_fields());
  26147. }
  26148. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26149. _cached_size_ = total_size;
  26150. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26151. return total_size;
  26152. }
  26153. void packetc2w_get_summer_quest::MergeFrom(const ::google::protobuf::Message& from) {
  26154. GOOGLE_CHECK_NE(&from, this);
  26155. const packetc2w_get_summer_quest* source =
  26156. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_summer_quest*>(
  26157. &from);
  26158. if (source == NULL) {
  26159. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  26160. } else {
  26161. MergeFrom(*source);
  26162. }
  26163. }
  26164. void packetc2w_get_summer_quest::MergeFrom(const packetc2w_get_summer_quest& from) {
  26165. GOOGLE_CHECK_NE(&from, this);
  26166. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26167. if (from.has_packet_id()) {
  26168. set_packet_id(from.packet_id());
  26169. }
  26170. }
  26171. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  26172. }
  26173. void packetc2w_get_summer_quest::CopyFrom(const ::google::protobuf::Message& from) {
  26174. if (&from == this) return;
  26175. Clear();
  26176. MergeFrom(from);
  26177. }
  26178. void packetc2w_get_summer_quest::CopyFrom(const packetc2w_get_summer_quest& from) {
  26179. if (&from == this) return;
  26180. Clear();
  26181. MergeFrom(from);
  26182. }
  26183. bool packetc2w_get_summer_quest::IsInitialized() const {
  26184. return true;
  26185. }
  26186. void packetc2w_get_summer_quest::Swap(packetc2w_get_summer_quest* other) {
  26187. if (other != this) {
  26188. std::swap(packet_id_, other->packet_id_);
  26189. std::swap(_has_bits_[0], other->_has_bits_[0]);
  26190. _unknown_fields_.Swap(&other->_unknown_fields_);
  26191. std::swap(_cached_size_, other->_cached_size_);
  26192. }
  26193. }
  26194. ::google::protobuf::Metadata packetc2w_get_summer_quest::GetMetadata() const {
  26195. protobuf_AssignDescriptorsOnce();
  26196. ::google::protobuf::Metadata metadata;
  26197. metadata.descriptor = packetc2w_get_summer_quest_descriptor_;
  26198. metadata.reflection = packetc2w_get_summer_quest_reflection_;
  26199. return metadata;
  26200. }
  26201. // ===================================================================
  26202. #ifndef _MSC_VER
  26203. const int packetw2c_get_summer_quest_result::kPacketIdFieldNumber;
  26204. const int packetw2c_get_summer_quest_result::kQuestListFieldNumber;
  26205. #endif // !_MSC_VER
  26206. packetw2c_get_summer_quest_result::packetw2c_get_summer_quest_result()
  26207. : ::google::protobuf::Message() {
  26208. SharedCtor();
  26209. }
  26210. void packetw2c_get_summer_quest_result::InitAsDefaultInstance() {
  26211. }
  26212. packetw2c_get_summer_quest_result::packetw2c_get_summer_quest_result(const packetw2c_get_summer_quest_result& from)
  26213. : ::google::protobuf::Message() {
  26214. SharedCtor();
  26215. MergeFrom(from);
  26216. }
  26217. void packetw2c_get_summer_quest_result::SharedCtor() {
  26218. _cached_size_ = 0;
  26219. packet_id_ = 7801;
  26220. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26221. }
  26222. packetw2c_get_summer_quest_result::~packetw2c_get_summer_quest_result() {
  26223. SharedDtor();
  26224. }
  26225. void packetw2c_get_summer_quest_result::SharedDtor() {
  26226. if (this != default_instance_) {
  26227. }
  26228. }
  26229. void packetw2c_get_summer_quest_result::SetCachedSize(int size) const {
  26230. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26231. _cached_size_ = size;
  26232. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26233. }
  26234. const ::google::protobuf::Descriptor* packetw2c_get_summer_quest_result::descriptor() {
  26235. protobuf_AssignDescriptorsOnce();
  26236. return packetw2c_get_summer_quest_result_descriptor_;
  26237. }
  26238. const packetw2c_get_summer_quest_result& packetw2c_get_summer_quest_result::default_instance() {
  26239. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  26240. return *default_instance_;
  26241. }
  26242. packetw2c_get_summer_quest_result* packetw2c_get_summer_quest_result::default_instance_ = NULL;
  26243. packetw2c_get_summer_quest_result* packetw2c_get_summer_quest_result::New() const {
  26244. return new packetw2c_get_summer_quest_result;
  26245. }
  26246. void packetw2c_get_summer_quest_result::Clear() {
  26247. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26248. packet_id_ = 7801;
  26249. }
  26250. questlist_.Clear();
  26251. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26252. mutable_unknown_fields()->Clear();
  26253. }
  26254. bool packetw2c_get_summer_quest_result::MergePartialFromCodedStream(
  26255. ::google::protobuf::io::CodedInputStream* input) {
  26256. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  26257. ::google::protobuf::uint32 tag;
  26258. while ((tag = input->ReadTag()) != 0) {
  26259. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  26260. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_quest_result];
  26261. case 1: {
  26262. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26263. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  26264. int value;
  26265. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  26266. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  26267. input, &value)));
  26268. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  26269. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  26270. } else {
  26271. mutable_unknown_fields()->AddVarint(1, value);
  26272. }
  26273. } else {
  26274. goto handle_uninterpreted;
  26275. }
  26276. if (input->ExpectTag(18)) goto parse_questList;
  26277. break;
  26278. }
  26279. // repeated .msg_info_def.msg_quest_info questList = 2;
  26280. case 2: {
  26281. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26282. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  26283. parse_questList:
  26284. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  26285. input, add_questlist()));
  26286. } else {
  26287. goto handle_uninterpreted;
  26288. }
  26289. if (input->ExpectTag(18)) goto parse_questList;
  26290. if (input->ExpectAtEnd()) return true;
  26291. break;
  26292. }
  26293. default: {
  26294. handle_uninterpreted:
  26295. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26296. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  26297. return true;
  26298. }
  26299. DO_(::google::protobuf::internal::WireFormat::SkipField(
  26300. input, tag, mutable_unknown_fields()));
  26301. break;
  26302. }
  26303. }
  26304. }
  26305. return true;
  26306. #undef DO_
  26307. }
  26308. void packetw2c_get_summer_quest_result::SerializeWithCachedSizes(
  26309. ::google::protobuf::io::CodedOutputStream* output) const {
  26310. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_quest_result];
  26311. if (has_packet_id()) {
  26312. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  26313. 1, this->packet_id(), output);
  26314. }
  26315. // repeated .msg_info_def.msg_quest_info questList = 2;
  26316. for (int i = 0; i < this->questlist_size(); i++) {
  26317. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  26318. 2, this->questlist(i), output);
  26319. }
  26320. if (!unknown_fields().empty()) {
  26321. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  26322. unknown_fields(), output);
  26323. }
  26324. }
  26325. ::google::protobuf::uint8* packetw2c_get_summer_quest_result::SerializeWithCachedSizesToArray(
  26326. ::google::protobuf::uint8* target) const {
  26327. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_quest_result];
  26328. if (has_packet_id()) {
  26329. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  26330. 1, this->packet_id(), target);
  26331. }
  26332. // repeated .msg_info_def.msg_quest_info questList = 2;
  26333. for (int i = 0; i < this->questlist_size(); i++) {
  26334. target = ::google::protobuf::internal::WireFormatLite::
  26335. WriteMessageNoVirtualToArray(
  26336. 2, this->questlist(i), target);
  26337. }
  26338. if (!unknown_fields().empty()) {
  26339. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  26340. unknown_fields(), target);
  26341. }
  26342. return target;
  26343. }
  26344. int packetw2c_get_summer_quest_result::ByteSize() const {
  26345. int total_size = 0;
  26346. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26347. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_quest_result];
  26348. if (has_packet_id()) {
  26349. total_size += 1 +
  26350. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  26351. }
  26352. }
  26353. // repeated .msg_info_def.msg_quest_info questList = 2;
  26354. total_size += 1 * this->questlist_size();
  26355. for (int i = 0; i < this->questlist_size(); i++) {
  26356. total_size +=
  26357. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  26358. this->questlist(i));
  26359. }
  26360. if (!unknown_fields().empty()) {
  26361. total_size +=
  26362. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  26363. unknown_fields());
  26364. }
  26365. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26366. _cached_size_ = total_size;
  26367. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26368. return total_size;
  26369. }
  26370. void packetw2c_get_summer_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  26371. GOOGLE_CHECK_NE(&from, this);
  26372. const packetw2c_get_summer_quest_result* source =
  26373. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_summer_quest_result*>(
  26374. &from);
  26375. if (source == NULL) {
  26376. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  26377. } else {
  26378. MergeFrom(*source);
  26379. }
  26380. }
  26381. void packetw2c_get_summer_quest_result::MergeFrom(const packetw2c_get_summer_quest_result& from) {
  26382. GOOGLE_CHECK_NE(&from, this);
  26383. questlist_.MergeFrom(from.questlist_);
  26384. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26385. if (from.has_packet_id()) {
  26386. set_packet_id(from.packet_id());
  26387. }
  26388. }
  26389. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  26390. }
  26391. void packetw2c_get_summer_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  26392. if (&from == this) return;
  26393. Clear();
  26394. MergeFrom(from);
  26395. }
  26396. void packetw2c_get_summer_quest_result::CopyFrom(const packetw2c_get_summer_quest_result& from) {
  26397. if (&from == this) return;
  26398. Clear();
  26399. MergeFrom(from);
  26400. }
  26401. bool packetw2c_get_summer_quest_result::IsInitialized() const {
  26402. return true;
  26403. }
  26404. void packetw2c_get_summer_quest_result::Swap(packetw2c_get_summer_quest_result* other) {
  26405. if (other != this) {
  26406. std::swap(packet_id_, other->packet_id_);
  26407. questlist_.Swap(&other->questlist_);
  26408. std::swap(_has_bits_[0], other->_has_bits_[0]);
  26409. _unknown_fields_.Swap(&other->_unknown_fields_);
  26410. std::swap(_cached_size_, other->_cached_size_);
  26411. }
  26412. }
  26413. ::google::protobuf::Metadata packetw2c_get_summer_quest_result::GetMetadata() const {
  26414. protobuf_AssignDescriptorsOnce();
  26415. ::google::protobuf::Metadata metadata;
  26416. metadata.descriptor = packetw2c_get_summer_quest_result_descriptor_;
  26417. metadata.reflection = packetw2c_get_summer_quest_result_reflection_;
  26418. return metadata;
  26419. }
  26420. // ===================================================================
  26421. #ifndef _MSC_VER
  26422. const int packetc2w_recv_summer_login_reward::kPacketIdFieldNumber;
  26423. const int packetc2w_recv_summer_login_reward::kSignIndexFieldNumber;
  26424. #endif // !_MSC_VER
  26425. packetc2w_recv_summer_login_reward::packetc2w_recv_summer_login_reward()
  26426. : ::google::protobuf::Message() {
  26427. SharedCtor();
  26428. }
  26429. void packetc2w_recv_summer_login_reward::InitAsDefaultInstance() {
  26430. }
  26431. packetc2w_recv_summer_login_reward::packetc2w_recv_summer_login_reward(const packetc2w_recv_summer_login_reward& from)
  26432. : ::google::protobuf::Message() {
  26433. SharedCtor();
  26434. MergeFrom(from);
  26435. }
  26436. void packetc2w_recv_summer_login_reward::SharedCtor() {
  26437. _cached_size_ = 0;
  26438. packet_id_ = 5166;
  26439. signindex_ = 0;
  26440. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26441. }
  26442. packetc2w_recv_summer_login_reward::~packetc2w_recv_summer_login_reward() {
  26443. SharedDtor();
  26444. }
  26445. void packetc2w_recv_summer_login_reward::SharedDtor() {
  26446. if (this != default_instance_) {
  26447. }
  26448. }
  26449. void packetc2w_recv_summer_login_reward::SetCachedSize(int size) const {
  26450. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26451. _cached_size_ = size;
  26452. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26453. }
  26454. const ::google::protobuf::Descriptor* packetc2w_recv_summer_login_reward::descriptor() {
  26455. protobuf_AssignDescriptorsOnce();
  26456. return packetc2w_recv_summer_login_reward_descriptor_;
  26457. }
  26458. const packetc2w_recv_summer_login_reward& packetc2w_recv_summer_login_reward::default_instance() {
  26459. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  26460. return *default_instance_;
  26461. }
  26462. packetc2w_recv_summer_login_reward* packetc2w_recv_summer_login_reward::default_instance_ = NULL;
  26463. packetc2w_recv_summer_login_reward* packetc2w_recv_summer_login_reward::New() const {
  26464. return new packetc2w_recv_summer_login_reward;
  26465. }
  26466. void packetc2w_recv_summer_login_reward::Clear() {
  26467. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26468. packet_id_ = 5166;
  26469. signindex_ = 0;
  26470. }
  26471. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26472. mutable_unknown_fields()->Clear();
  26473. }
  26474. bool packetc2w_recv_summer_login_reward::MergePartialFromCodedStream(
  26475. ::google::protobuf::io::CodedInputStream* input) {
  26476. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  26477. ::google::protobuf::uint32 tag;
  26478. while ((tag = input->ReadTag()) != 0) {
  26479. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  26480. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_login_reward];
  26481. case 1: {
  26482. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26483. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  26484. int value;
  26485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  26486. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  26487. input, &value)));
  26488. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  26489. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  26490. } else {
  26491. mutable_unknown_fields()->AddVarint(1, value);
  26492. }
  26493. } else {
  26494. goto handle_uninterpreted;
  26495. }
  26496. if (input->ExpectTag(16)) goto parse_signIndex;
  26497. break;
  26498. }
  26499. // optional int32 signIndex = 2;
  26500. case 2: {
  26501. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26502. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  26503. parse_signIndex:
  26504. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  26505. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  26506. input, &signindex_)));
  26507. set_has_signindex();
  26508. } else {
  26509. goto handle_uninterpreted;
  26510. }
  26511. if (input->ExpectAtEnd()) return true;
  26512. break;
  26513. }
  26514. default: {
  26515. handle_uninterpreted:
  26516. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26517. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  26518. return true;
  26519. }
  26520. DO_(::google::protobuf::internal::WireFormat::SkipField(
  26521. input, tag, mutable_unknown_fields()));
  26522. break;
  26523. }
  26524. }
  26525. }
  26526. return true;
  26527. #undef DO_
  26528. }
  26529. void packetc2w_recv_summer_login_reward::SerializeWithCachedSizes(
  26530. ::google::protobuf::io::CodedOutputStream* output) const {
  26531. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_login_reward];
  26532. if (has_packet_id()) {
  26533. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  26534. 1, this->packet_id(), output);
  26535. }
  26536. // optional int32 signIndex = 2;
  26537. if (has_signindex()) {
  26538. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  26539. }
  26540. if (!unknown_fields().empty()) {
  26541. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  26542. unknown_fields(), output);
  26543. }
  26544. }
  26545. ::google::protobuf::uint8* packetc2w_recv_summer_login_reward::SerializeWithCachedSizesToArray(
  26546. ::google::protobuf::uint8* target) const {
  26547. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_login_reward];
  26548. if (has_packet_id()) {
  26549. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  26550. 1, this->packet_id(), target);
  26551. }
  26552. // optional int32 signIndex = 2;
  26553. if (has_signindex()) {
  26554. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  26555. }
  26556. if (!unknown_fields().empty()) {
  26557. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  26558. unknown_fields(), target);
  26559. }
  26560. return target;
  26561. }
  26562. int packetc2w_recv_summer_login_reward::ByteSize() const {
  26563. int total_size = 0;
  26564. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26565. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_login_reward];
  26566. if (has_packet_id()) {
  26567. total_size += 1 +
  26568. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  26569. }
  26570. // optional int32 signIndex = 2;
  26571. if (has_signindex()) {
  26572. total_size += 1 +
  26573. ::google::protobuf::internal::WireFormatLite::Int32Size(
  26574. this->signindex());
  26575. }
  26576. }
  26577. if (!unknown_fields().empty()) {
  26578. total_size +=
  26579. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  26580. unknown_fields());
  26581. }
  26582. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26583. _cached_size_ = total_size;
  26584. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26585. return total_size;
  26586. }
  26587. void packetc2w_recv_summer_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  26588. GOOGLE_CHECK_NE(&from, this);
  26589. const packetc2w_recv_summer_login_reward* source =
  26590. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_summer_login_reward*>(
  26591. &from);
  26592. if (source == NULL) {
  26593. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  26594. } else {
  26595. MergeFrom(*source);
  26596. }
  26597. }
  26598. void packetc2w_recv_summer_login_reward::MergeFrom(const packetc2w_recv_summer_login_reward& from) {
  26599. GOOGLE_CHECK_NE(&from, this);
  26600. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26601. if (from.has_packet_id()) {
  26602. set_packet_id(from.packet_id());
  26603. }
  26604. if (from.has_signindex()) {
  26605. set_signindex(from.signindex());
  26606. }
  26607. }
  26608. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  26609. }
  26610. void packetc2w_recv_summer_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  26611. if (&from == this) return;
  26612. Clear();
  26613. MergeFrom(from);
  26614. }
  26615. void packetc2w_recv_summer_login_reward::CopyFrom(const packetc2w_recv_summer_login_reward& from) {
  26616. if (&from == this) return;
  26617. Clear();
  26618. MergeFrom(from);
  26619. }
  26620. bool packetc2w_recv_summer_login_reward::IsInitialized() const {
  26621. return true;
  26622. }
  26623. void packetc2w_recv_summer_login_reward::Swap(packetc2w_recv_summer_login_reward* other) {
  26624. if (other != this) {
  26625. std::swap(packet_id_, other->packet_id_);
  26626. std::swap(signindex_, other->signindex_);
  26627. std::swap(_has_bits_[0], other->_has_bits_[0]);
  26628. _unknown_fields_.Swap(&other->_unknown_fields_);
  26629. std::swap(_cached_size_, other->_cached_size_);
  26630. }
  26631. }
  26632. ::google::protobuf::Metadata packetc2w_recv_summer_login_reward::GetMetadata() const {
  26633. protobuf_AssignDescriptorsOnce();
  26634. ::google::protobuf::Metadata metadata;
  26635. metadata.descriptor = packetc2w_recv_summer_login_reward_descriptor_;
  26636. metadata.reflection = packetc2w_recv_summer_login_reward_reflection_;
  26637. return metadata;
  26638. }
  26639. // ===================================================================
  26640. #ifndef _MSC_VER
  26641. const int packetw2c_recv_summer_login_reward_result::kPacketIdFieldNumber;
  26642. const int packetw2c_recv_summer_login_reward_result::kSignIndexFieldNumber;
  26643. const int packetw2c_recv_summer_login_reward_result::kResultFieldNumber;
  26644. const int packetw2c_recv_summer_login_reward_result::kExHandbooksIdFieldNumber;
  26645. #endif // !_MSC_VER
  26646. packetw2c_recv_summer_login_reward_result::packetw2c_recv_summer_login_reward_result()
  26647. : ::google::protobuf::Message() {
  26648. SharedCtor();
  26649. }
  26650. void packetw2c_recv_summer_login_reward_result::InitAsDefaultInstance() {
  26651. }
  26652. packetw2c_recv_summer_login_reward_result::packetw2c_recv_summer_login_reward_result(const packetw2c_recv_summer_login_reward_result& from)
  26653. : ::google::protobuf::Message() {
  26654. SharedCtor();
  26655. MergeFrom(from);
  26656. }
  26657. void packetw2c_recv_summer_login_reward_result::SharedCtor() {
  26658. _cached_size_ = 0;
  26659. packet_id_ = 7668;
  26660. signindex_ = 0;
  26661. result_ = 0;
  26662. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26663. }
  26664. packetw2c_recv_summer_login_reward_result::~packetw2c_recv_summer_login_reward_result() {
  26665. SharedDtor();
  26666. }
  26667. void packetw2c_recv_summer_login_reward_result::SharedDtor() {
  26668. if (this != default_instance_) {
  26669. }
  26670. }
  26671. void packetw2c_recv_summer_login_reward_result::SetCachedSize(int size) const {
  26672. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26673. _cached_size_ = size;
  26674. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26675. }
  26676. const ::google::protobuf::Descriptor* packetw2c_recv_summer_login_reward_result::descriptor() {
  26677. protobuf_AssignDescriptorsOnce();
  26678. return packetw2c_recv_summer_login_reward_result_descriptor_;
  26679. }
  26680. const packetw2c_recv_summer_login_reward_result& packetw2c_recv_summer_login_reward_result::default_instance() {
  26681. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  26682. return *default_instance_;
  26683. }
  26684. packetw2c_recv_summer_login_reward_result* packetw2c_recv_summer_login_reward_result::default_instance_ = NULL;
  26685. packetw2c_recv_summer_login_reward_result* packetw2c_recv_summer_login_reward_result::New() const {
  26686. return new packetw2c_recv_summer_login_reward_result;
  26687. }
  26688. void packetw2c_recv_summer_login_reward_result::Clear() {
  26689. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26690. packet_id_ = 7668;
  26691. signindex_ = 0;
  26692. result_ = 0;
  26693. }
  26694. exhandbooksid_.Clear();
  26695. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26696. mutable_unknown_fields()->Clear();
  26697. }
  26698. bool packetw2c_recv_summer_login_reward_result::MergePartialFromCodedStream(
  26699. ::google::protobuf::io::CodedInputStream* input) {
  26700. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  26701. ::google::protobuf::uint32 tag;
  26702. while ((tag = input->ReadTag()) != 0) {
  26703. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  26704. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_login_reward_result];
  26705. case 1: {
  26706. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26707. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  26708. int value;
  26709. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  26710. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  26711. input, &value)));
  26712. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  26713. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  26714. } else {
  26715. mutable_unknown_fields()->AddVarint(1, value);
  26716. }
  26717. } else {
  26718. goto handle_uninterpreted;
  26719. }
  26720. if (input->ExpectTag(16)) goto parse_signIndex;
  26721. break;
  26722. }
  26723. // optional int32 signIndex = 2;
  26724. case 2: {
  26725. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26726. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  26727. parse_signIndex:
  26728. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  26729. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  26730. input, &signindex_)));
  26731. set_has_signindex();
  26732. } else {
  26733. goto handle_uninterpreted;
  26734. }
  26735. if (input->ExpectTag(24)) goto parse_result;
  26736. break;
  26737. }
  26738. // optional int32 result = 3;
  26739. case 3: {
  26740. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26741. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  26742. parse_result:
  26743. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  26744. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  26745. input, &result_)));
  26746. set_has_result();
  26747. } else {
  26748. goto handle_uninterpreted;
  26749. }
  26750. if (input->ExpectTag(32)) goto parse_exHandbooksId;
  26751. break;
  26752. }
  26753. // repeated int32 exHandbooksId = 4;
  26754. case 4: {
  26755. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26756. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  26757. parse_exHandbooksId:
  26758. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  26759. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  26760. 1, 32, input, this->mutable_exhandbooksid())));
  26761. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  26762. == ::google::protobuf::internal::WireFormatLite::
  26763. WIRETYPE_LENGTH_DELIMITED) {
  26764. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  26765. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  26766. input, this->mutable_exhandbooksid())));
  26767. } else {
  26768. goto handle_uninterpreted;
  26769. }
  26770. if (input->ExpectTag(32)) goto parse_exHandbooksId;
  26771. if (input->ExpectAtEnd()) return true;
  26772. break;
  26773. }
  26774. default: {
  26775. handle_uninterpreted:
  26776. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  26777. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  26778. return true;
  26779. }
  26780. DO_(::google::protobuf::internal::WireFormat::SkipField(
  26781. input, tag, mutable_unknown_fields()));
  26782. break;
  26783. }
  26784. }
  26785. }
  26786. return true;
  26787. #undef DO_
  26788. }
  26789. void packetw2c_recv_summer_login_reward_result::SerializeWithCachedSizes(
  26790. ::google::protobuf::io::CodedOutputStream* output) const {
  26791. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_login_reward_result];
  26792. if (has_packet_id()) {
  26793. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  26794. 1, this->packet_id(), output);
  26795. }
  26796. // optional int32 signIndex = 2;
  26797. if (has_signindex()) {
  26798. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  26799. }
  26800. // optional int32 result = 3;
  26801. if (has_result()) {
  26802. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  26803. }
  26804. // repeated int32 exHandbooksId = 4;
  26805. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  26806. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  26807. 4, this->exhandbooksid(i), output);
  26808. }
  26809. if (!unknown_fields().empty()) {
  26810. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  26811. unknown_fields(), output);
  26812. }
  26813. }
  26814. ::google::protobuf::uint8* packetw2c_recv_summer_login_reward_result::SerializeWithCachedSizesToArray(
  26815. ::google::protobuf::uint8* target) const {
  26816. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_login_reward_result];
  26817. if (has_packet_id()) {
  26818. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  26819. 1, this->packet_id(), target);
  26820. }
  26821. // optional int32 signIndex = 2;
  26822. if (has_signindex()) {
  26823. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  26824. }
  26825. // optional int32 result = 3;
  26826. if (has_result()) {
  26827. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  26828. }
  26829. // repeated int32 exHandbooksId = 4;
  26830. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  26831. target = ::google::protobuf::internal::WireFormatLite::
  26832. WriteInt32ToArray(4, this->exhandbooksid(i), target);
  26833. }
  26834. if (!unknown_fields().empty()) {
  26835. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  26836. unknown_fields(), target);
  26837. }
  26838. return target;
  26839. }
  26840. int packetw2c_recv_summer_login_reward_result::ByteSize() const {
  26841. int total_size = 0;
  26842. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26843. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_login_reward_result];
  26844. if (has_packet_id()) {
  26845. total_size += 1 +
  26846. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  26847. }
  26848. // optional int32 signIndex = 2;
  26849. if (has_signindex()) {
  26850. total_size += 1 +
  26851. ::google::protobuf::internal::WireFormatLite::Int32Size(
  26852. this->signindex());
  26853. }
  26854. // optional int32 result = 3;
  26855. if (has_result()) {
  26856. total_size += 1 +
  26857. ::google::protobuf::internal::WireFormatLite::Int32Size(
  26858. this->result());
  26859. }
  26860. }
  26861. // repeated int32 exHandbooksId = 4;
  26862. {
  26863. int data_size = 0;
  26864. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  26865. data_size += ::google::protobuf::internal::WireFormatLite::
  26866. Int32Size(this->exhandbooksid(i));
  26867. }
  26868. total_size += 1 * this->exhandbooksid_size() + data_size;
  26869. }
  26870. if (!unknown_fields().empty()) {
  26871. total_size +=
  26872. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  26873. unknown_fields());
  26874. }
  26875. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26876. _cached_size_ = total_size;
  26877. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26878. return total_size;
  26879. }
  26880. void packetw2c_recv_summer_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  26881. GOOGLE_CHECK_NE(&from, this);
  26882. const packetw2c_recv_summer_login_reward_result* source =
  26883. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_summer_login_reward_result*>(
  26884. &from);
  26885. if (source == NULL) {
  26886. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  26887. } else {
  26888. MergeFrom(*source);
  26889. }
  26890. }
  26891. void packetw2c_recv_summer_login_reward_result::MergeFrom(const packetw2c_recv_summer_login_reward_result& from) {
  26892. GOOGLE_CHECK_NE(&from, this);
  26893. exhandbooksid_.MergeFrom(from.exhandbooksid_);
  26894. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26895. if (from.has_packet_id()) {
  26896. set_packet_id(from.packet_id());
  26897. }
  26898. if (from.has_signindex()) {
  26899. set_signindex(from.signindex());
  26900. }
  26901. if (from.has_result()) {
  26902. set_result(from.result());
  26903. }
  26904. }
  26905. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  26906. }
  26907. void packetw2c_recv_summer_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  26908. if (&from == this) return;
  26909. Clear();
  26910. MergeFrom(from);
  26911. }
  26912. void packetw2c_recv_summer_login_reward_result::CopyFrom(const packetw2c_recv_summer_login_reward_result& from) {
  26913. if (&from == this) return;
  26914. Clear();
  26915. MergeFrom(from);
  26916. }
  26917. bool packetw2c_recv_summer_login_reward_result::IsInitialized() const {
  26918. return true;
  26919. }
  26920. void packetw2c_recv_summer_login_reward_result::Swap(packetw2c_recv_summer_login_reward_result* other) {
  26921. if (other != this) {
  26922. std::swap(packet_id_, other->packet_id_);
  26923. std::swap(signindex_, other->signindex_);
  26924. std::swap(result_, other->result_);
  26925. exhandbooksid_.Swap(&other->exhandbooksid_);
  26926. std::swap(_has_bits_[0], other->_has_bits_[0]);
  26927. _unknown_fields_.Swap(&other->_unknown_fields_);
  26928. std::swap(_cached_size_, other->_cached_size_);
  26929. }
  26930. }
  26931. ::google::protobuf::Metadata packetw2c_recv_summer_login_reward_result::GetMetadata() const {
  26932. protobuf_AssignDescriptorsOnce();
  26933. ::google::protobuf::Metadata metadata;
  26934. metadata.descriptor = packetw2c_recv_summer_login_reward_result_descriptor_;
  26935. metadata.reflection = packetw2c_recv_summer_login_reward_result_reflection_;
  26936. return metadata;
  26937. }
  26938. // ===================================================================
  26939. #ifndef _MSC_VER
  26940. const int packetc2w_recv_summer_quest_award::kPacketIdFieldNumber;
  26941. const int packetc2w_recv_summer_quest_award::kQuestIdFieldNumber;
  26942. const int packetc2w_recv_summer_quest_award::kReceiveBitFieldNumber;
  26943. #endif // !_MSC_VER
  26944. packetc2w_recv_summer_quest_award::packetc2w_recv_summer_quest_award()
  26945. : ::google::protobuf::Message() {
  26946. SharedCtor();
  26947. }
  26948. void packetc2w_recv_summer_quest_award::InitAsDefaultInstance() {
  26949. }
  26950. packetc2w_recv_summer_quest_award::packetc2w_recv_summer_quest_award(const packetc2w_recv_summer_quest_award& from)
  26951. : ::google::protobuf::Message() {
  26952. SharedCtor();
  26953. MergeFrom(from);
  26954. }
  26955. void packetc2w_recv_summer_quest_award::SharedCtor() {
  26956. _cached_size_ = 0;
  26957. packet_id_ = 7667;
  26958. questid_ = 0;
  26959. receivebit_ = 0;
  26960. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26961. }
  26962. packetc2w_recv_summer_quest_award::~packetc2w_recv_summer_quest_award() {
  26963. SharedDtor();
  26964. }
  26965. void packetc2w_recv_summer_quest_award::SharedDtor() {
  26966. if (this != default_instance_) {
  26967. }
  26968. }
  26969. void packetc2w_recv_summer_quest_award::SetCachedSize(int size) const {
  26970. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  26971. _cached_size_ = size;
  26972. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  26973. }
  26974. const ::google::protobuf::Descriptor* packetc2w_recv_summer_quest_award::descriptor() {
  26975. protobuf_AssignDescriptorsOnce();
  26976. return packetc2w_recv_summer_quest_award_descriptor_;
  26977. }
  26978. const packetc2w_recv_summer_quest_award& packetc2w_recv_summer_quest_award::default_instance() {
  26979. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  26980. return *default_instance_;
  26981. }
  26982. packetc2w_recv_summer_quest_award* packetc2w_recv_summer_quest_award::default_instance_ = NULL;
  26983. packetc2w_recv_summer_quest_award* packetc2w_recv_summer_quest_award::New() const {
  26984. return new packetc2w_recv_summer_quest_award;
  26985. }
  26986. void packetc2w_recv_summer_quest_award::Clear() {
  26987. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  26988. packet_id_ = 7667;
  26989. questid_ = 0;
  26990. receivebit_ = 0;
  26991. }
  26992. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  26993. mutable_unknown_fields()->Clear();
  26994. }
  26995. bool packetc2w_recv_summer_quest_award::MergePartialFromCodedStream(
  26996. ::google::protobuf::io::CodedInputStream* input) {
  26997. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  26998. ::google::protobuf::uint32 tag;
  26999. while ((tag = input->ReadTag()) != 0) {
  27000. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  27001. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_quest_award];
  27002. case 1: {
  27003. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27004. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27005. int value;
  27006. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27007. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  27008. input, &value)));
  27009. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  27010. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  27011. } else {
  27012. mutable_unknown_fields()->AddVarint(1, value);
  27013. }
  27014. } else {
  27015. goto handle_uninterpreted;
  27016. }
  27017. if (input->ExpectTag(16)) goto parse_questId;
  27018. break;
  27019. }
  27020. // optional int32 questId = 2;
  27021. case 2: {
  27022. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27023. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27024. parse_questId:
  27025. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27026. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  27027. input, &questid_)));
  27028. set_has_questid();
  27029. } else {
  27030. goto handle_uninterpreted;
  27031. }
  27032. if (input->ExpectTag(24)) goto parse_receiveBit;
  27033. break;
  27034. }
  27035. // optional int32 receiveBit = 3;
  27036. case 3: {
  27037. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27038. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27039. parse_receiveBit:
  27040. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27041. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  27042. input, &receivebit_)));
  27043. set_has_receivebit();
  27044. } else {
  27045. goto handle_uninterpreted;
  27046. }
  27047. if (input->ExpectAtEnd()) return true;
  27048. break;
  27049. }
  27050. default: {
  27051. handle_uninterpreted:
  27052. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27053. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  27054. return true;
  27055. }
  27056. DO_(::google::protobuf::internal::WireFormat::SkipField(
  27057. input, tag, mutable_unknown_fields()));
  27058. break;
  27059. }
  27060. }
  27061. }
  27062. return true;
  27063. #undef DO_
  27064. }
  27065. void packetc2w_recv_summer_quest_award::SerializeWithCachedSizes(
  27066. ::google::protobuf::io::CodedOutputStream* output) const {
  27067. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_quest_award];
  27068. if (has_packet_id()) {
  27069. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  27070. 1, this->packet_id(), output);
  27071. }
  27072. // optional int32 questId = 2;
  27073. if (has_questid()) {
  27074. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  27075. }
  27076. // optional int32 receiveBit = 3;
  27077. if (has_receivebit()) {
  27078. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->receivebit(), output);
  27079. }
  27080. if (!unknown_fields().empty()) {
  27081. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  27082. unknown_fields(), output);
  27083. }
  27084. }
  27085. ::google::protobuf::uint8* packetc2w_recv_summer_quest_award::SerializeWithCachedSizesToArray(
  27086. ::google::protobuf::uint8* target) const {
  27087. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_quest_award];
  27088. if (has_packet_id()) {
  27089. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  27090. 1, this->packet_id(), target);
  27091. }
  27092. // optional int32 questId = 2;
  27093. if (has_questid()) {
  27094. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  27095. }
  27096. // optional int32 receiveBit = 3;
  27097. if (has_receivebit()) {
  27098. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->receivebit(), target);
  27099. }
  27100. if (!unknown_fields().empty()) {
  27101. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  27102. unknown_fields(), target);
  27103. }
  27104. return target;
  27105. }
  27106. int packetc2w_recv_summer_quest_award::ByteSize() const {
  27107. int total_size = 0;
  27108. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27109. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_quest_award];
  27110. if (has_packet_id()) {
  27111. total_size += 1 +
  27112. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  27113. }
  27114. // optional int32 questId = 2;
  27115. if (has_questid()) {
  27116. total_size += 1 +
  27117. ::google::protobuf::internal::WireFormatLite::Int32Size(
  27118. this->questid());
  27119. }
  27120. // optional int32 receiveBit = 3;
  27121. if (has_receivebit()) {
  27122. total_size += 1 +
  27123. ::google::protobuf::internal::WireFormatLite::Int32Size(
  27124. this->receivebit());
  27125. }
  27126. }
  27127. if (!unknown_fields().empty()) {
  27128. total_size +=
  27129. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  27130. unknown_fields());
  27131. }
  27132. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  27133. _cached_size_ = total_size;
  27134. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  27135. return total_size;
  27136. }
  27137. void packetc2w_recv_summer_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  27138. GOOGLE_CHECK_NE(&from, this);
  27139. const packetc2w_recv_summer_quest_award* source =
  27140. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_summer_quest_award*>(
  27141. &from);
  27142. if (source == NULL) {
  27143. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  27144. } else {
  27145. MergeFrom(*source);
  27146. }
  27147. }
  27148. void packetc2w_recv_summer_quest_award::MergeFrom(const packetc2w_recv_summer_quest_award& from) {
  27149. GOOGLE_CHECK_NE(&from, this);
  27150. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27151. if (from.has_packet_id()) {
  27152. set_packet_id(from.packet_id());
  27153. }
  27154. if (from.has_questid()) {
  27155. set_questid(from.questid());
  27156. }
  27157. if (from.has_receivebit()) {
  27158. set_receivebit(from.receivebit());
  27159. }
  27160. }
  27161. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  27162. }
  27163. void packetc2w_recv_summer_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  27164. if (&from == this) return;
  27165. Clear();
  27166. MergeFrom(from);
  27167. }
  27168. void packetc2w_recv_summer_quest_award::CopyFrom(const packetc2w_recv_summer_quest_award& from) {
  27169. if (&from == this) return;
  27170. Clear();
  27171. MergeFrom(from);
  27172. }
  27173. bool packetc2w_recv_summer_quest_award::IsInitialized() const {
  27174. return true;
  27175. }
  27176. void packetc2w_recv_summer_quest_award::Swap(packetc2w_recv_summer_quest_award* other) {
  27177. if (other != this) {
  27178. std::swap(packet_id_, other->packet_id_);
  27179. std::swap(questid_, other->questid_);
  27180. std::swap(receivebit_, other->receivebit_);
  27181. std::swap(_has_bits_[0], other->_has_bits_[0]);
  27182. _unknown_fields_.Swap(&other->_unknown_fields_);
  27183. std::swap(_cached_size_, other->_cached_size_);
  27184. }
  27185. }
  27186. ::google::protobuf::Metadata packetc2w_recv_summer_quest_award::GetMetadata() const {
  27187. protobuf_AssignDescriptorsOnce();
  27188. ::google::protobuf::Metadata metadata;
  27189. metadata.descriptor = packetc2w_recv_summer_quest_award_descriptor_;
  27190. metadata.reflection = packetc2w_recv_summer_quest_award_reflection_;
  27191. return metadata;
  27192. }
  27193. // ===================================================================
  27194. #ifndef _MSC_VER
  27195. const int packetw2c_recv_summer_quest_award_result::kPacketIdFieldNumber;
  27196. const int packetw2c_recv_summer_quest_award_result::kResultFieldNumber;
  27197. const int packetw2c_recv_summer_quest_award_result::kQuestIdFieldNumber;
  27198. const int packetw2c_recv_summer_quest_award_result::kReceiveBitFieldNumber;
  27199. const int packetw2c_recv_summer_quest_award_result::kItemsFieldNumber;
  27200. #endif // !_MSC_VER
  27201. packetw2c_recv_summer_quest_award_result::packetw2c_recv_summer_quest_award_result()
  27202. : ::google::protobuf::Message() {
  27203. SharedCtor();
  27204. }
  27205. void packetw2c_recv_summer_quest_award_result::InitAsDefaultInstance() {
  27206. }
  27207. packetw2c_recv_summer_quest_award_result::packetw2c_recv_summer_quest_award_result(const packetw2c_recv_summer_quest_award_result& from)
  27208. : ::google::protobuf::Message() {
  27209. SharedCtor();
  27210. MergeFrom(from);
  27211. }
  27212. void packetw2c_recv_summer_quest_award_result::SharedCtor() {
  27213. _cached_size_ = 0;
  27214. packet_id_ = 7666;
  27215. result_ = 0;
  27216. questid_ = 0;
  27217. receivebit_ = 0;
  27218. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  27219. }
  27220. packetw2c_recv_summer_quest_award_result::~packetw2c_recv_summer_quest_award_result() {
  27221. SharedDtor();
  27222. }
  27223. void packetw2c_recv_summer_quest_award_result::SharedDtor() {
  27224. if (this != default_instance_) {
  27225. }
  27226. }
  27227. void packetw2c_recv_summer_quest_award_result::SetCachedSize(int size) const {
  27228. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  27229. _cached_size_ = size;
  27230. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  27231. }
  27232. const ::google::protobuf::Descriptor* packetw2c_recv_summer_quest_award_result::descriptor() {
  27233. protobuf_AssignDescriptorsOnce();
  27234. return packetw2c_recv_summer_quest_award_result_descriptor_;
  27235. }
  27236. const packetw2c_recv_summer_quest_award_result& packetw2c_recv_summer_quest_award_result::default_instance() {
  27237. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  27238. return *default_instance_;
  27239. }
  27240. packetw2c_recv_summer_quest_award_result* packetw2c_recv_summer_quest_award_result::default_instance_ = NULL;
  27241. packetw2c_recv_summer_quest_award_result* packetw2c_recv_summer_quest_award_result::New() const {
  27242. return new packetw2c_recv_summer_quest_award_result;
  27243. }
  27244. void packetw2c_recv_summer_quest_award_result::Clear() {
  27245. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27246. packet_id_ = 7666;
  27247. result_ = 0;
  27248. questid_ = 0;
  27249. receivebit_ = 0;
  27250. }
  27251. items_.Clear();
  27252. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  27253. mutable_unknown_fields()->Clear();
  27254. }
  27255. bool packetw2c_recv_summer_quest_award_result::MergePartialFromCodedStream(
  27256. ::google::protobuf::io::CodedInputStream* input) {
  27257. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  27258. ::google::protobuf::uint32 tag;
  27259. while ((tag = input->ReadTag()) != 0) {
  27260. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  27261. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_quest_award_result];
  27262. case 1: {
  27263. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27264. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27265. int value;
  27266. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27267. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  27268. input, &value)));
  27269. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  27270. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  27271. } else {
  27272. mutable_unknown_fields()->AddVarint(1, value);
  27273. }
  27274. } else {
  27275. goto handle_uninterpreted;
  27276. }
  27277. if (input->ExpectTag(16)) goto parse_result;
  27278. break;
  27279. }
  27280. // optional int32 result = 2;
  27281. case 2: {
  27282. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27283. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27284. parse_result:
  27285. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27286. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  27287. input, &result_)));
  27288. set_has_result();
  27289. } else {
  27290. goto handle_uninterpreted;
  27291. }
  27292. if (input->ExpectTag(24)) goto parse_questId;
  27293. break;
  27294. }
  27295. // optional int32 questId = 3;
  27296. case 3: {
  27297. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27298. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27299. parse_questId:
  27300. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27301. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  27302. input, &questid_)));
  27303. set_has_questid();
  27304. } else {
  27305. goto handle_uninterpreted;
  27306. }
  27307. if (input->ExpectTag(32)) goto parse_receiveBit;
  27308. break;
  27309. }
  27310. // optional int32 receiveBit = 4;
  27311. case 4: {
  27312. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27313. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27314. parse_receiveBit:
  27315. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27316. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  27317. input, &receivebit_)));
  27318. set_has_receivebit();
  27319. } else {
  27320. goto handle_uninterpreted;
  27321. }
  27322. if (input->ExpectTag(42)) goto parse_items;
  27323. break;
  27324. }
  27325. // repeated .msg_info_def.ItemInfo items = 5;
  27326. case 5: {
  27327. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27328. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  27329. parse_items:
  27330. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  27331. input, add_items()));
  27332. } else {
  27333. goto handle_uninterpreted;
  27334. }
  27335. if (input->ExpectTag(42)) goto parse_items;
  27336. if (input->ExpectAtEnd()) return true;
  27337. break;
  27338. }
  27339. default: {
  27340. handle_uninterpreted:
  27341. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27342. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  27343. return true;
  27344. }
  27345. DO_(::google::protobuf::internal::WireFormat::SkipField(
  27346. input, tag, mutable_unknown_fields()));
  27347. break;
  27348. }
  27349. }
  27350. }
  27351. return true;
  27352. #undef DO_
  27353. }
  27354. void packetw2c_recv_summer_quest_award_result::SerializeWithCachedSizes(
  27355. ::google::protobuf::io::CodedOutputStream* output) const {
  27356. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_quest_award_result];
  27357. if (has_packet_id()) {
  27358. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  27359. 1, this->packet_id(), output);
  27360. }
  27361. // optional int32 result = 2;
  27362. if (has_result()) {
  27363. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  27364. }
  27365. // optional int32 questId = 3;
  27366. if (has_questid()) {
  27367. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  27368. }
  27369. // optional int32 receiveBit = 4;
  27370. if (has_receivebit()) {
  27371. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->receivebit(), output);
  27372. }
  27373. // repeated .msg_info_def.ItemInfo items = 5;
  27374. for (int i = 0; i < this->items_size(); i++) {
  27375. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  27376. 5, this->items(i), output);
  27377. }
  27378. if (!unknown_fields().empty()) {
  27379. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  27380. unknown_fields(), output);
  27381. }
  27382. }
  27383. ::google::protobuf::uint8* packetw2c_recv_summer_quest_award_result::SerializeWithCachedSizesToArray(
  27384. ::google::protobuf::uint8* target) const {
  27385. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_quest_award_result];
  27386. if (has_packet_id()) {
  27387. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  27388. 1, this->packet_id(), target);
  27389. }
  27390. // optional int32 result = 2;
  27391. if (has_result()) {
  27392. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  27393. }
  27394. // optional int32 questId = 3;
  27395. if (has_questid()) {
  27396. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  27397. }
  27398. // optional int32 receiveBit = 4;
  27399. if (has_receivebit()) {
  27400. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->receivebit(), target);
  27401. }
  27402. // repeated .msg_info_def.ItemInfo items = 5;
  27403. for (int i = 0; i < this->items_size(); i++) {
  27404. target = ::google::protobuf::internal::WireFormatLite::
  27405. WriteMessageNoVirtualToArray(
  27406. 5, this->items(i), target);
  27407. }
  27408. if (!unknown_fields().empty()) {
  27409. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  27410. unknown_fields(), target);
  27411. }
  27412. return target;
  27413. }
  27414. int packetw2c_recv_summer_quest_award_result::ByteSize() const {
  27415. int total_size = 0;
  27416. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27417. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_quest_award_result];
  27418. if (has_packet_id()) {
  27419. total_size += 1 +
  27420. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  27421. }
  27422. // optional int32 result = 2;
  27423. if (has_result()) {
  27424. total_size += 1 +
  27425. ::google::protobuf::internal::WireFormatLite::Int32Size(
  27426. this->result());
  27427. }
  27428. // optional int32 questId = 3;
  27429. if (has_questid()) {
  27430. total_size += 1 +
  27431. ::google::protobuf::internal::WireFormatLite::Int32Size(
  27432. this->questid());
  27433. }
  27434. // optional int32 receiveBit = 4;
  27435. if (has_receivebit()) {
  27436. total_size += 1 +
  27437. ::google::protobuf::internal::WireFormatLite::Int32Size(
  27438. this->receivebit());
  27439. }
  27440. }
  27441. // repeated .msg_info_def.ItemInfo items = 5;
  27442. total_size += 1 * this->items_size();
  27443. for (int i = 0; i < this->items_size(); i++) {
  27444. total_size +=
  27445. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  27446. this->items(i));
  27447. }
  27448. if (!unknown_fields().empty()) {
  27449. total_size +=
  27450. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  27451. unknown_fields());
  27452. }
  27453. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  27454. _cached_size_ = total_size;
  27455. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  27456. return total_size;
  27457. }
  27458. void packetw2c_recv_summer_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  27459. GOOGLE_CHECK_NE(&from, this);
  27460. const packetw2c_recv_summer_quest_award_result* source =
  27461. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_summer_quest_award_result*>(
  27462. &from);
  27463. if (source == NULL) {
  27464. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  27465. } else {
  27466. MergeFrom(*source);
  27467. }
  27468. }
  27469. void packetw2c_recv_summer_quest_award_result::MergeFrom(const packetw2c_recv_summer_quest_award_result& from) {
  27470. GOOGLE_CHECK_NE(&from, this);
  27471. items_.MergeFrom(from.items_);
  27472. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27473. if (from.has_packet_id()) {
  27474. set_packet_id(from.packet_id());
  27475. }
  27476. if (from.has_result()) {
  27477. set_result(from.result());
  27478. }
  27479. if (from.has_questid()) {
  27480. set_questid(from.questid());
  27481. }
  27482. if (from.has_receivebit()) {
  27483. set_receivebit(from.receivebit());
  27484. }
  27485. }
  27486. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  27487. }
  27488. void packetw2c_recv_summer_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  27489. if (&from == this) return;
  27490. Clear();
  27491. MergeFrom(from);
  27492. }
  27493. void packetw2c_recv_summer_quest_award_result::CopyFrom(const packetw2c_recv_summer_quest_award_result& from) {
  27494. if (&from == this) return;
  27495. Clear();
  27496. MergeFrom(from);
  27497. }
  27498. bool packetw2c_recv_summer_quest_award_result::IsInitialized() const {
  27499. return true;
  27500. }
  27501. void packetw2c_recv_summer_quest_award_result::Swap(packetw2c_recv_summer_quest_award_result* other) {
  27502. if (other != this) {
  27503. std::swap(packet_id_, other->packet_id_);
  27504. std::swap(result_, other->result_);
  27505. std::swap(questid_, other->questid_);
  27506. std::swap(receivebit_, other->receivebit_);
  27507. items_.Swap(&other->items_);
  27508. std::swap(_has_bits_[0], other->_has_bits_[0]);
  27509. _unknown_fields_.Swap(&other->_unknown_fields_);
  27510. std::swap(_cached_size_, other->_cached_size_);
  27511. }
  27512. }
  27513. ::google::protobuf::Metadata packetw2c_recv_summer_quest_award_result::GetMetadata() const {
  27514. protobuf_AssignDescriptorsOnce();
  27515. ::google::protobuf::Metadata metadata;
  27516. metadata.descriptor = packetw2c_recv_summer_quest_award_result_descriptor_;
  27517. metadata.reflection = packetw2c_recv_summer_quest_award_result_reflection_;
  27518. return metadata;
  27519. }
  27520. // ===================================================================
  27521. #ifndef _MSC_VER
  27522. const int packetc2w_recv_summer_handbooks_gold::kPacketIdFieldNumber;
  27523. const int packetc2w_recv_summer_handbooks_gold::kHandbooksIdFieldNumber;
  27524. #endif // !_MSC_VER
  27525. packetc2w_recv_summer_handbooks_gold::packetc2w_recv_summer_handbooks_gold()
  27526. : ::google::protobuf::Message() {
  27527. SharedCtor();
  27528. }
  27529. void packetc2w_recv_summer_handbooks_gold::InitAsDefaultInstance() {
  27530. }
  27531. packetc2w_recv_summer_handbooks_gold::packetc2w_recv_summer_handbooks_gold(const packetc2w_recv_summer_handbooks_gold& from)
  27532. : ::google::protobuf::Message() {
  27533. SharedCtor();
  27534. MergeFrom(from);
  27535. }
  27536. void packetc2w_recv_summer_handbooks_gold::SharedCtor() {
  27537. _cached_size_ = 0;
  27538. packet_id_ = 5138;
  27539. handbooksid_ = 0;
  27540. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  27541. }
  27542. packetc2w_recv_summer_handbooks_gold::~packetc2w_recv_summer_handbooks_gold() {
  27543. SharedDtor();
  27544. }
  27545. void packetc2w_recv_summer_handbooks_gold::SharedDtor() {
  27546. if (this != default_instance_) {
  27547. }
  27548. }
  27549. void packetc2w_recv_summer_handbooks_gold::SetCachedSize(int size) const {
  27550. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  27551. _cached_size_ = size;
  27552. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  27553. }
  27554. const ::google::protobuf::Descriptor* packetc2w_recv_summer_handbooks_gold::descriptor() {
  27555. protobuf_AssignDescriptorsOnce();
  27556. return packetc2w_recv_summer_handbooks_gold_descriptor_;
  27557. }
  27558. const packetc2w_recv_summer_handbooks_gold& packetc2w_recv_summer_handbooks_gold::default_instance() {
  27559. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  27560. return *default_instance_;
  27561. }
  27562. packetc2w_recv_summer_handbooks_gold* packetc2w_recv_summer_handbooks_gold::default_instance_ = NULL;
  27563. packetc2w_recv_summer_handbooks_gold* packetc2w_recv_summer_handbooks_gold::New() const {
  27564. return new packetc2w_recv_summer_handbooks_gold;
  27565. }
  27566. void packetc2w_recv_summer_handbooks_gold::Clear() {
  27567. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27568. packet_id_ = 5138;
  27569. handbooksid_ = 0;
  27570. }
  27571. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  27572. mutable_unknown_fields()->Clear();
  27573. }
  27574. bool packetc2w_recv_summer_handbooks_gold::MergePartialFromCodedStream(
  27575. ::google::protobuf::io::CodedInputStream* input) {
  27576. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  27577. ::google::protobuf::uint32 tag;
  27578. while ((tag = input->ReadTag()) != 0) {
  27579. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  27580. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_gold];
  27581. case 1: {
  27582. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27583. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27584. int value;
  27585. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27586. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  27587. input, &value)));
  27588. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  27589. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  27590. } else {
  27591. mutable_unknown_fields()->AddVarint(1, value);
  27592. }
  27593. } else {
  27594. goto handle_uninterpreted;
  27595. }
  27596. if (input->ExpectTag(16)) goto parse_handbooksId;
  27597. break;
  27598. }
  27599. // optional int32 handbooksId = 2;
  27600. case 2: {
  27601. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27602. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27603. parse_handbooksId:
  27604. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27605. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  27606. input, &handbooksid_)));
  27607. set_has_handbooksid();
  27608. } else {
  27609. goto handle_uninterpreted;
  27610. }
  27611. if (input->ExpectAtEnd()) return true;
  27612. break;
  27613. }
  27614. default: {
  27615. handle_uninterpreted:
  27616. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27617. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  27618. return true;
  27619. }
  27620. DO_(::google::protobuf::internal::WireFormat::SkipField(
  27621. input, tag, mutable_unknown_fields()));
  27622. break;
  27623. }
  27624. }
  27625. }
  27626. return true;
  27627. #undef DO_
  27628. }
  27629. void packetc2w_recv_summer_handbooks_gold::SerializeWithCachedSizes(
  27630. ::google::protobuf::io::CodedOutputStream* output) const {
  27631. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_gold];
  27632. if (has_packet_id()) {
  27633. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  27634. 1, this->packet_id(), output);
  27635. }
  27636. // optional int32 handbooksId = 2;
  27637. if (has_handbooksid()) {
  27638. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  27639. }
  27640. if (!unknown_fields().empty()) {
  27641. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  27642. unknown_fields(), output);
  27643. }
  27644. }
  27645. ::google::protobuf::uint8* packetc2w_recv_summer_handbooks_gold::SerializeWithCachedSizesToArray(
  27646. ::google::protobuf::uint8* target) const {
  27647. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_gold];
  27648. if (has_packet_id()) {
  27649. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  27650. 1, this->packet_id(), target);
  27651. }
  27652. // optional int32 handbooksId = 2;
  27653. if (has_handbooksid()) {
  27654. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  27655. }
  27656. if (!unknown_fields().empty()) {
  27657. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  27658. unknown_fields(), target);
  27659. }
  27660. return target;
  27661. }
  27662. int packetc2w_recv_summer_handbooks_gold::ByteSize() const {
  27663. int total_size = 0;
  27664. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27665. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_gold];
  27666. if (has_packet_id()) {
  27667. total_size += 1 +
  27668. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  27669. }
  27670. // optional int32 handbooksId = 2;
  27671. if (has_handbooksid()) {
  27672. total_size += 1 +
  27673. ::google::protobuf::internal::WireFormatLite::Int32Size(
  27674. this->handbooksid());
  27675. }
  27676. }
  27677. if (!unknown_fields().empty()) {
  27678. total_size +=
  27679. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  27680. unknown_fields());
  27681. }
  27682. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  27683. _cached_size_ = total_size;
  27684. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  27685. return total_size;
  27686. }
  27687. void packetc2w_recv_summer_handbooks_gold::MergeFrom(const ::google::protobuf::Message& from) {
  27688. GOOGLE_CHECK_NE(&from, this);
  27689. const packetc2w_recv_summer_handbooks_gold* source =
  27690. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_summer_handbooks_gold*>(
  27691. &from);
  27692. if (source == NULL) {
  27693. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  27694. } else {
  27695. MergeFrom(*source);
  27696. }
  27697. }
  27698. void packetc2w_recv_summer_handbooks_gold::MergeFrom(const packetc2w_recv_summer_handbooks_gold& from) {
  27699. GOOGLE_CHECK_NE(&from, this);
  27700. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27701. if (from.has_packet_id()) {
  27702. set_packet_id(from.packet_id());
  27703. }
  27704. if (from.has_handbooksid()) {
  27705. set_handbooksid(from.handbooksid());
  27706. }
  27707. }
  27708. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  27709. }
  27710. void packetc2w_recv_summer_handbooks_gold::CopyFrom(const ::google::protobuf::Message& from) {
  27711. if (&from == this) return;
  27712. Clear();
  27713. MergeFrom(from);
  27714. }
  27715. void packetc2w_recv_summer_handbooks_gold::CopyFrom(const packetc2w_recv_summer_handbooks_gold& from) {
  27716. if (&from == this) return;
  27717. Clear();
  27718. MergeFrom(from);
  27719. }
  27720. bool packetc2w_recv_summer_handbooks_gold::IsInitialized() const {
  27721. return true;
  27722. }
  27723. void packetc2w_recv_summer_handbooks_gold::Swap(packetc2w_recv_summer_handbooks_gold* other) {
  27724. if (other != this) {
  27725. std::swap(packet_id_, other->packet_id_);
  27726. std::swap(handbooksid_, other->handbooksid_);
  27727. std::swap(_has_bits_[0], other->_has_bits_[0]);
  27728. _unknown_fields_.Swap(&other->_unknown_fields_);
  27729. std::swap(_cached_size_, other->_cached_size_);
  27730. }
  27731. }
  27732. ::google::protobuf::Metadata packetc2w_recv_summer_handbooks_gold::GetMetadata() const {
  27733. protobuf_AssignDescriptorsOnce();
  27734. ::google::protobuf::Metadata metadata;
  27735. metadata.descriptor = packetc2w_recv_summer_handbooks_gold_descriptor_;
  27736. metadata.reflection = packetc2w_recv_summer_handbooks_gold_reflection_;
  27737. return metadata;
  27738. }
  27739. // ===================================================================
  27740. #ifndef _MSC_VER
  27741. const int packetw2c_recv_summer_handbooks_gold_result::kPacketIdFieldNumber;
  27742. const int packetw2c_recv_summer_handbooks_gold_result::kHandbooksIdFieldNumber;
  27743. const int packetw2c_recv_summer_handbooks_gold_result::kResultFieldNumber;
  27744. #endif // !_MSC_VER
  27745. packetw2c_recv_summer_handbooks_gold_result::packetw2c_recv_summer_handbooks_gold_result()
  27746. : ::google::protobuf::Message() {
  27747. SharedCtor();
  27748. }
  27749. void packetw2c_recv_summer_handbooks_gold_result::InitAsDefaultInstance() {
  27750. }
  27751. packetw2c_recv_summer_handbooks_gold_result::packetw2c_recv_summer_handbooks_gold_result(const packetw2c_recv_summer_handbooks_gold_result& from)
  27752. : ::google::protobuf::Message() {
  27753. SharedCtor();
  27754. MergeFrom(from);
  27755. }
  27756. void packetw2c_recv_summer_handbooks_gold_result::SharedCtor() {
  27757. _cached_size_ = 0;
  27758. packet_id_ = 7649;
  27759. handbooksid_ = 0;
  27760. result_ = 0;
  27761. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  27762. }
  27763. packetw2c_recv_summer_handbooks_gold_result::~packetw2c_recv_summer_handbooks_gold_result() {
  27764. SharedDtor();
  27765. }
  27766. void packetw2c_recv_summer_handbooks_gold_result::SharedDtor() {
  27767. if (this != default_instance_) {
  27768. }
  27769. }
  27770. void packetw2c_recv_summer_handbooks_gold_result::SetCachedSize(int size) const {
  27771. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  27772. _cached_size_ = size;
  27773. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  27774. }
  27775. const ::google::protobuf::Descriptor* packetw2c_recv_summer_handbooks_gold_result::descriptor() {
  27776. protobuf_AssignDescriptorsOnce();
  27777. return packetw2c_recv_summer_handbooks_gold_result_descriptor_;
  27778. }
  27779. const packetw2c_recv_summer_handbooks_gold_result& packetw2c_recv_summer_handbooks_gold_result::default_instance() {
  27780. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  27781. return *default_instance_;
  27782. }
  27783. packetw2c_recv_summer_handbooks_gold_result* packetw2c_recv_summer_handbooks_gold_result::default_instance_ = NULL;
  27784. packetw2c_recv_summer_handbooks_gold_result* packetw2c_recv_summer_handbooks_gold_result::New() const {
  27785. return new packetw2c_recv_summer_handbooks_gold_result;
  27786. }
  27787. void packetw2c_recv_summer_handbooks_gold_result::Clear() {
  27788. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27789. packet_id_ = 7649;
  27790. handbooksid_ = 0;
  27791. result_ = 0;
  27792. }
  27793. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  27794. mutable_unknown_fields()->Clear();
  27795. }
  27796. bool packetw2c_recv_summer_handbooks_gold_result::MergePartialFromCodedStream(
  27797. ::google::protobuf::io::CodedInputStream* input) {
  27798. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  27799. ::google::protobuf::uint32 tag;
  27800. while ((tag = input->ReadTag()) != 0) {
  27801. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  27802. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_gold_result];
  27803. case 1: {
  27804. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27805. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27806. int value;
  27807. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27808. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  27809. input, &value)));
  27810. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  27811. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  27812. } else {
  27813. mutable_unknown_fields()->AddVarint(1, value);
  27814. }
  27815. } else {
  27816. goto handle_uninterpreted;
  27817. }
  27818. if (input->ExpectTag(16)) goto parse_handbooksId;
  27819. break;
  27820. }
  27821. // optional int32 handbooksId = 2;
  27822. case 2: {
  27823. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27824. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27825. parse_handbooksId:
  27826. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27827. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  27828. input, &handbooksid_)));
  27829. set_has_handbooksid();
  27830. } else {
  27831. goto handle_uninterpreted;
  27832. }
  27833. if (input->ExpectTag(24)) goto parse_result;
  27834. break;
  27835. }
  27836. // optional int32 result = 3;
  27837. case 3: {
  27838. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27839. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  27840. parse_result:
  27841. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  27842. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  27843. input, &result_)));
  27844. set_has_result();
  27845. } else {
  27846. goto handle_uninterpreted;
  27847. }
  27848. if (input->ExpectAtEnd()) return true;
  27849. break;
  27850. }
  27851. default: {
  27852. handle_uninterpreted:
  27853. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  27854. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  27855. return true;
  27856. }
  27857. DO_(::google::protobuf::internal::WireFormat::SkipField(
  27858. input, tag, mutable_unknown_fields()));
  27859. break;
  27860. }
  27861. }
  27862. }
  27863. return true;
  27864. #undef DO_
  27865. }
  27866. void packetw2c_recv_summer_handbooks_gold_result::SerializeWithCachedSizes(
  27867. ::google::protobuf::io::CodedOutputStream* output) const {
  27868. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_gold_result];
  27869. if (has_packet_id()) {
  27870. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  27871. 1, this->packet_id(), output);
  27872. }
  27873. // optional int32 handbooksId = 2;
  27874. if (has_handbooksid()) {
  27875. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  27876. }
  27877. // optional int32 result = 3;
  27878. if (has_result()) {
  27879. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  27880. }
  27881. if (!unknown_fields().empty()) {
  27882. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  27883. unknown_fields(), output);
  27884. }
  27885. }
  27886. ::google::protobuf::uint8* packetw2c_recv_summer_handbooks_gold_result::SerializeWithCachedSizesToArray(
  27887. ::google::protobuf::uint8* target) const {
  27888. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_gold_result];
  27889. if (has_packet_id()) {
  27890. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  27891. 1, this->packet_id(), target);
  27892. }
  27893. // optional int32 handbooksId = 2;
  27894. if (has_handbooksid()) {
  27895. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  27896. }
  27897. // optional int32 result = 3;
  27898. if (has_result()) {
  27899. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  27900. }
  27901. if (!unknown_fields().empty()) {
  27902. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  27903. unknown_fields(), target);
  27904. }
  27905. return target;
  27906. }
  27907. int packetw2c_recv_summer_handbooks_gold_result::ByteSize() const {
  27908. int total_size = 0;
  27909. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27910. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_gold_result];
  27911. if (has_packet_id()) {
  27912. total_size += 1 +
  27913. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  27914. }
  27915. // optional int32 handbooksId = 2;
  27916. if (has_handbooksid()) {
  27917. total_size += 1 +
  27918. ::google::protobuf::internal::WireFormatLite::Int32Size(
  27919. this->handbooksid());
  27920. }
  27921. // optional int32 result = 3;
  27922. if (has_result()) {
  27923. total_size += 1 +
  27924. ::google::protobuf::internal::WireFormatLite::Int32Size(
  27925. this->result());
  27926. }
  27927. }
  27928. if (!unknown_fields().empty()) {
  27929. total_size +=
  27930. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  27931. unknown_fields());
  27932. }
  27933. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  27934. _cached_size_ = total_size;
  27935. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  27936. return total_size;
  27937. }
  27938. void packetw2c_recv_summer_handbooks_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  27939. GOOGLE_CHECK_NE(&from, this);
  27940. const packetw2c_recv_summer_handbooks_gold_result* source =
  27941. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_summer_handbooks_gold_result*>(
  27942. &from);
  27943. if (source == NULL) {
  27944. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  27945. } else {
  27946. MergeFrom(*source);
  27947. }
  27948. }
  27949. void packetw2c_recv_summer_handbooks_gold_result::MergeFrom(const packetw2c_recv_summer_handbooks_gold_result& from) {
  27950. GOOGLE_CHECK_NE(&from, this);
  27951. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  27952. if (from.has_packet_id()) {
  27953. set_packet_id(from.packet_id());
  27954. }
  27955. if (from.has_handbooksid()) {
  27956. set_handbooksid(from.handbooksid());
  27957. }
  27958. if (from.has_result()) {
  27959. set_result(from.result());
  27960. }
  27961. }
  27962. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  27963. }
  27964. void packetw2c_recv_summer_handbooks_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  27965. if (&from == this) return;
  27966. Clear();
  27967. MergeFrom(from);
  27968. }
  27969. void packetw2c_recv_summer_handbooks_gold_result::CopyFrom(const packetw2c_recv_summer_handbooks_gold_result& from) {
  27970. if (&from == this) return;
  27971. Clear();
  27972. MergeFrom(from);
  27973. }
  27974. bool packetw2c_recv_summer_handbooks_gold_result::IsInitialized() const {
  27975. return true;
  27976. }
  27977. void packetw2c_recv_summer_handbooks_gold_result::Swap(packetw2c_recv_summer_handbooks_gold_result* other) {
  27978. if (other != this) {
  27979. std::swap(packet_id_, other->packet_id_);
  27980. std::swap(handbooksid_, other->handbooksid_);
  27981. std::swap(result_, other->result_);
  27982. std::swap(_has_bits_[0], other->_has_bits_[0]);
  27983. _unknown_fields_.Swap(&other->_unknown_fields_);
  27984. std::swap(_cached_size_, other->_cached_size_);
  27985. }
  27986. }
  27987. ::google::protobuf::Metadata packetw2c_recv_summer_handbooks_gold_result::GetMetadata() const {
  27988. protobuf_AssignDescriptorsOnce();
  27989. ::google::protobuf::Metadata metadata;
  27990. metadata.descriptor = packetw2c_recv_summer_handbooks_gold_result_descriptor_;
  27991. metadata.reflection = packetw2c_recv_summer_handbooks_gold_result_reflection_;
  27992. return metadata;
  27993. }
  27994. // ===================================================================
  27995. #ifndef _MSC_VER
  27996. const int packetc2w_recv_summer_handbooks_award::kPacketIdFieldNumber;
  27997. const int packetc2w_recv_summer_handbooks_award::kTypeFieldNumber;
  27998. #endif // !_MSC_VER
  27999. packetc2w_recv_summer_handbooks_award::packetc2w_recv_summer_handbooks_award()
  28000. : ::google::protobuf::Message() {
  28001. SharedCtor();
  28002. }
  28003. void packetc2w_recv_summer_handbooks_award::InitAsDefaultInstance() {
  28004. }
  28005. packetc2w_recv_summer_handbooks_award::packetc2w_recv_summer_handbooks_award(const packetc2w_recv_summer_handbooks_award& from)
  28006. : ::google::protobuf::Message() {
  28007. SharedCtor();
  28008. MergeFrom(from);
  28009. }
  28010. void packetc2w_recv_summer_handbooks_award::SharedCtor() {
  28011. _cached_size_ = 0;
  28012. packet_id_ = 5154;
  28013. type_ = 0;
  28014. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  28015. }
  28016. packetc2w_recv_summer_handbooks_award::~packetc2w_recv_summer_handbooks_award() {
  28017. SharedDtor();
  28018. }
  28019. void packetc2w_recv_summer_handbooks_award::SharedDtor() {
  28020. if (this != default_instance_) {
  28021. }
  28022. }
  28023. void packetc2w_recv_summer_handbooks_award::SetCachedSize(int size) const {
  28024. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  28025. _cached_size_ = size;
  28026. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  28027. }
  28028. const ::google::protobuf::Descriptor* packetc2w_recv_summer_handbooks_award::descriptor() {
  28029. protobuf_AssignDescriptorsOnce();
  28030. return packetc2w_recv_summer_handbooks_award_descriptor_;
  28031. }
  28032. const packetc2w_recv_summer_handbooks_award& packetc2w_recv_summer_handbooks_award::default_instance() {
  28033. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  28034. return *default_instance_;
  28035. }
  28036. packetc2w_recv_summer_handbooks_award* packetc2w_recv_summer_handbooks_award::default_instance_ = NULL;
  28037. packetc2w_recv_summer_handbooks_award* packetc2w_recv_summer_handbooks_award::New() const {
  28038. return new packetc2w_recv_summer_handbooks_award;
  28039. }
  28040. void packetc2w_recv_summer_handbooks_award::Clear() {
  28041. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28042. packet_id_ = 5154;
  28043. type_ = 0;
  28044. }
  28045. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  28046. mutable_unknown_fields()->Clear();
  28047. }
  28048. bool packetc2w_recv_summer_handbooks_award::MergePartialFromCodedStream(
  28049. ::google::protobuf::io::CodedInputStream* input) {
  28050. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  28051. ::google::protobuf::uint32 tag;
  28052. while ((tag = input->ReadTag()) != 0) {
  28053. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  28054. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_award];
  28055. case 1: {
  28056. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28057. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28058. int value;
  28059. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28060. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  28061. input, &value)));
  28062. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  28063. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  28064. } else {
  28065. mutable_unknown_fields()->AddVarint(1, value);
  28066. }
  28067. } else {
  28068. goto handle_uninterpreted;
  28069. }
  28070. if (input->ExpectTag(16)) goto parse_type;
  28071. break;
  28072. }
  28073. // optional int32 type = 2;
  28074. case 2: {
  28075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28077. parse_type:
  28078. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28079. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28080. input, &type_)));
  28081. set_has_type();
  28082. } else {
  28083. goto handle_uninterpreted;
  28084. }
  28085. if (input->ExpectAtEnd()) return true;
  28086. break;
  28087. }
  28088. default: {
  28089. handle_uninterpreted:
  28090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  28092. return true;
  28093. }
  28094. DO_(::google::protobuf::internal::WireFormat::SkipField(
  28095. input, tag, mutable_unknown_fields()));
  28096. break;
  28097. }
  28098. }
  28099. }
  28100. return true;
  28101. #undef DO_
  28102. }
  28103. void packetc2w_recv_summer_handbooks_award::SerializeWithCachedSizes(
  28104. ::google::protobuf::io::CodedOutputStream* output) const {
  28105. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_award];
  28106. if (has_packet_id()) {
  28107. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  28108. 1, this->packet_id(), output);
  28109. }
  28110. // optional int32 type = 2;
  28111. if (has_type()) {
  28112. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  28113. }
  28114. if (!unknown_fields().empty()) {
  28115. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  28116. unknown_fields(), output);
  28117. }
  28118. }
  28119. ::google::protobuf::uint8* packetc2w_recv_summer_handbooks_award::SerializeWithCachedSizesToArray(
  28120. ::google::protobuf::uint8* target) const {
  28121. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_award];
  28122. if (has_packet_id()) {
  28123. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  28124. 1, this->packet_id(), target);
  28125. }
  28126. // optional int32 type = 2;
  28127. if (has_type()) {
  28128. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  28129. }
  28130. if (!unknown_fields().empty()) {
  28131. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  28132. unknown_fields(), target);
  28133. }
  28134. return target;
  28135. }
  28136. int packetc2w_recv_summer_handbooks_award::ByteSize() const {
  28137. int total_size = 0;
  28138. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28139. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_award];
  28140. if (has_packet_id()) {
  28141. total_size += 1 +
  28142. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  28143. }
  28144. // optional int32 type = 2;
  28145. if (has_type()) {
  28146. total_size += 1 +
  28147. ::google::protobuf::internal::WireFormatLite::Int32Size(
  28148. this->type());
  28149. }
  28150. }
  28151. if (!unknown_fields().empty()) {
  28152. total_size +=
  28153. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  28154. unknown_fields());
  28155. }
  28156. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  28157. _cached_size_ = total_size;
  28158. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  28159. return total_size;
  28160. }
  28161. void packetc2w_recv_summer_handbooks_award::MergeFrom(const ::google::protobuf::Message& from) {
  28162. GOOGLE_CHECK_NE(&from, this);
  28163. const packetc2w_recv_summer_handbooks_award* source =
  28164. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_summer_handbooks_award*>(
  28165. &from);
  28166. if (source == NULL) {
  28167. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  28168. } else {
  28169. MergeFrom(*source);
  28170. }
  28171. }
  28172. void packetc2w_recv_summer_handbooks_award::MergeFrom(const packetc2w_recv_summer_handbooks_award& from) {
  28173. GOOGLE_CHECK_NE(&from, this);
  28174. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28175. if (from.has_packet_id()) {
  28176. set_packet_id(from.packet_id());
  28177. }
  28178. if (from.has_type()) {
  28179. set_type(from.type());
  28180. }
  28181. }
  28182. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  28183. }
  28184. void packetc2w_recv_summer_handbooks_award::CopyFrom(const ::google::protobuf::Message& from) {
  28185. if (&from == this) return;
  28186. Clear();
  28187. MergeFrom(from);
  28188. }
  28189. void packetc2w_recv_summer_handbooks_award::CopyFrom(const packetc2w_recv_summer_handbooks_award& from) {
  28190. if (&from == this) return;
  28191. Clear();
  28192. MergeFrom(from);
  28193. }
  28194. bool packetc2w_recv_summer_handbooks_award::IsInitialized() const {
  28195. return true;
  28196. }
  28197. void packetc2w_recv_summer_handbooks_award::Swap(packetc2w_recv_summer_handbooks_award* other) {
  28198. if (other != this) {
  28199. std::swap(packet_id_, other->packet_id_);
  28200. std::swap(type_, other->type_);
  28201. std::swap(_has_bits_[0], other->_has_bits_[0]);
  28202. _unknown_fields_.Swap(&other->_unknown_fields_);
  28203. std::swap(_cached_size_, other->_cached_size_);
  28204. }
  28205. }
  28206. ::google::protobuf::Metadata packetc2w_recv_summer_handbooks_award::GetMetadata() const {
  28207. protobuf_AssignDescriptorsOnce();
  28208. ::google::protobuf::Metadata metadata;
  28209. metadata.descriptor = packetc2w_recv_summer_handbooks_award_descriptor_;
  28210. metadata.reflection = packetc2w_recv_summer_handbooks_award_reflection_;
  28211. return metadata;
  28212. }
  28213. // ===================================================================
  28214. #ifndef _MSC_VER
  28215. const int packetw2c_recv_summer_handbooks_award_result::kPacketIdFieldNumber;
  28216. const int packetw2c_recv_summer_handbooks_award_result::kResultFieldNumber;
  28217. const int packetw2c_recv_summer_handbooks_award_result::kTypelistFieldNumber;
  28218. const int packetw2c_recv_summer_handbooks_award_result::kHandbooksGoldFieldNumber;
  28219. #endif // !_MSC_VER
  28220. packetw2c_recv_summer_handbooks_award_result::packetw2c_recv_summer_handbooks_award_result()
  28221. : ::google::protobuf::Message() {
  28222. SharedCtor();
  28223. }
  28224. void packetw2c_recv_summer_handbooks_award_result::InitAsDefaultInstance() {
  28225. }
  28226. packetw2c_recv_summer_handbooks_award_result::packetw2c_recv_summer_handbooks_award_result(const packetw2c_recv_summer_handbooks_award_result& from)
  28227. : ::google::protobuf::Message() {
  28228. SharedCtor();
  28229. MergeFrom(from);
  28230. }
  28231. void packetw2c_recv_summer_handbooks_award_result::SharedCtor() {
  28232. _cached_size_ = 0;
  28233. packet_id_ = 7647;
  28234. result_ = 0;
  28235. handbooksgold_ = 0;
  28236. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  28237. }
  28238. packetw2c_recv_summer_handbooks_award_result::~packetw2c_recv_summer_handbooks_award_result() {
  28239. SharedDtor();
  28240. }
  28241. void packetw2c_recv_summer_handbooks_award_result::SharedDtor() {
  28242. if (this != default_instance_) {
  28243. }
  28244. }
  28245. void packetw2c_recv_summer_handbooks_award_result::SetCachedSize(int size) const {
  28246. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  28247. _cached_size_ = size;
  28248. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  28249. }
  28250. const ::google::protobuf::Descriptor* packetw2c_recv_summer_handbooks_award_result::descriptor() {
  28251. protobuf_AssignDescriptorsOnce();
  28252. return packetw2c_recv_summer_handbooks_award_result_descriptor_;
  28253. }
  28254. const packetw2c_recv_summer_handbooks_award_result& packetw2c_recv_summer_handbooks_award_result::default_instance() {
  28255. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  28256. return *default_instance_;
  28257. }
  28258. packetw2c_recv_summer_handbooks_award_result* packetw2c_recv_summer_handbooks_award_result::default_instance_ = NULL;
  28259. packetw2c_recv_summer_handbooks_award_result* packetw2c_recv_summer_handbooks_award_result::New() const {
  28260. return new packetw2c_recv_summer_handbooks_award_result;
  28261. }
  28262. void packetw2c_recv_summer_handbooks_award_result::Clear() {
  28263. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28264. packet_id_ = 7647;
  28265. result_ = 0;
  28266. handbooksgold_ = 0;
  28267. }
  28268. typelist_.Clear();
  28269. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  28270. mutable_unknown_fields()->Clear();
  28271. }
  28272. bool packetw2c_recv_summer_handbooks_award_result::MergePartialFromCodedStream(
  28273. ::google::protobuf::io::CodedInputStream* input) {
  28274. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  28275. ::google::protobuf::uint32 tag;
  28276. while ((tag = input->ReadTag()) != 0) {
  28277. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  28278. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_award_result];
  28279. case 1: {
  28280. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28281. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28282. int value;
  28283. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28284. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  28285. input, &value)));
  28286. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  28287. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  28288. } else {
  28289. mutable_unknown_fields()->AddVarint(1, value);
  28290. }
  28291. } else {
  28292. goto handle_uninterpreted;
  28293. }
  28294. if (input->ExpectTag(16)) goto parse_result;
  28295. break;
  28296. }
  28297. // optional int32 result = 2;
  28298. case 2: {
  28299. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28300. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28301. parse_result:
  28302. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28303. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28304. input, &result_)));
  28305. set_has_result();
  28306. } else {
  28307. goto handle_uninterpreted;
  28308. }
  28309. if (input->ExpectTag(24)) goto parse_typelist;
  28310. break;
  28311. }
  28312. // repeated int32 typelist = 3;
  28313. case 3: {
  28314. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28315. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28316. parse_typelist:
  28317. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  28318. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28319. 1, 24, input, this->mutable_typelist())));
  28320. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  28321. == ::google::protobuf::internal::WireFormatLite::
  28322. WIRETYPE_LENGTH_DELIMITED) {
  28323. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  28324. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28325. input, this->mutable_typelist())));
  28326. } else {
  28327. goto handle_uninterpreted;
  28328. }
  28329. if (input->ExpectTag(24)) goto parse_typelist;
  28330. if (input->ExpectTag(32)) goto parse_handbooksGold;
  28331. break;
  28332. }
  28333. // optional int32 handbooksGold = 4;
  28334. case 4: {
  28335. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28336. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28337. parse_handbooksGold:
  28338. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28339. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28340. input, &handbooksgold_)));
  28341. set_has_handbooksgold();
  28342. } else {
  28343. goto handle_uninterpreted;
  28344. }
  28345. if (input->ExpectAtEnd()) return true;
  28346. break;
  28347. }
  28348. default: {
  28349. handle_uninterpreted:
  28350. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28351. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  28352. return true;
  28353. }
  28354. DO_(::google::protobuf::internal::WireFormat::SkipField(
  28355. input, tag, mutable_unknown_fields()));
  28356. break;
  28357. }
  28358. }
  28359. }
  28360. return true;
  28361. #undef DO_
  28362. }
  28363. void packetw2c_recv_summer_handbooks_award_result::SerializeWithCachedSizes(
  28364. ::google::protobuf::io::CodedOutputStream* output) const {
  28365. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_award_result];
  28366. if (has_packet_id()) {
  28367. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  28368. 1, this->packet_id(), output);
  28369. }
  28370. // optional int32 result = 2;
  28371. if (has_result()) {
  28372. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  28373. }
  28374. // repeated int32 typelist = 3;
  28375. for (int i = 0; i < this->typelist_size(); i++) {
  28376. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  28377. 3, this->typelist(i), output);
  28378. }
  28379. // optional int32 handbooksGold = 4;
  28380. if (has_handbooksgold()) {
  28381. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->handbooksgold(), output);
  28382. }
  28383. if (!unknown_fields().empty()) {
  28384. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  28385. unknown_fields(), output);
  28386. }
  28387. }
  28388. ::google::protobuf::uint8* packetw2c_recv_summer_handbooks_award_result::SerializeWithCachedSizesToArray(
  28389. ::google::protobuf::uint8* target) const {
  28390. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_award_result];
  28391. if (has_packet_id()) {
  28392. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  28393. 1, this->packet_id(), target);
  28394. }
  28395. // optional int32 result = 2;
  28396. if (has_result()) {
  28397. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  28398. }
  28399. // repeated int32 typelist = 3;
  28400. for (int i = 0; i < this->typelist_size(); i++) {
  28401. target = ::google::protobuf::internal::WireFormatLite::
  28402. WriteInt32ToArray(3, this->typelist(i), target);
  28403. }
  28404. // optional int32 handbooksGold = 4;
  28405. if (has_handbooksgold()) {
  28406. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->handbooksgold(), target);
  28407. }
  28408. if (!unknown_fields().empty()) {
  28409. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  28410. unknown_fields(), target);
  28411. }
  28412. return target;
  28413. }
  28414. int packetw2c_recv_summer_handbooks_award_result::ByteSize() const {
  28415. int total_size = 0;
  28416. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28417. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_award_result];
  28418. if (has_packet_id()) {
  28419. total_size += 1 +
  28420. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  28421. }
  28422. // optional int32 result = 2;
  28423. if (has_result()) {
  28424. total_size += 1 +
  28425. ::google::protobuf::internal::WireFormatLite::Int32Size(
  28426. this->result());
  28427. }
  28428. // optional int32 handbooksGold = 4;
  28429. if (has_handbooksgold()) {
  28430. total_size += 1 +
  28431. ::google::protobuf::internal::WireFormatLite::Int32Size(
  28432. this->handbooksgold());
  28433. }
  28434. }
  28435. // repeated int32 typelist = 3;
  28436. {
  28437. int data_size = 0;
  28438. for (int i = 0; i < this->typelist_size(); i++) {
  28439. data_size += ::google::protobuf::internal::WireFormatLite::
  28440. Int32Size(this->typelist(i));
  28441. }
  28442. total_size += 1 * this->typelist_size() + data_size;
  28443. }
  28444. if (!unknown_fields().empty()) {
  28445. total_size +=
  28446. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  28447. unknown_fields());
  28448. }
  28449. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  28450. _cached_size_ = total_size;
  28451. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  28452. return total_size;
  28453. }
  28454. void packetw2c_recv_summer_handbooks_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  28455. GOOGLE_CHECK_NE(&from, this);
  28456. const packetw2c_recv_summer_handbooks_award_result* source =
  28457. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_summer_handbooks_award_result*>(
  28458. &from);
  28459. if (source == NULL) {
  28460. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  28461. } else {
  28462. MergeFrom(*source);
  28463. }
  28464. }
  28465. void packetw2c_recv_summer_handbooks_award_result::MergeFrom(const packetw2c_recv_summer_handbooks_award_result& from) {
  28466. GOOGLE_CHECK_NE(&from, this);
  28467. typelist_.MergeFrom(from.typelist_);
  28468. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28469. if (from.has_packet_id()) {
  28470. set_packet_id(from.packet_id());
  28471. }
  28472. if (from.has_result()) {
  28473. set_result(from.result());
  28474. }
  28475. if (from.has_handbooksgold()) {
  28476. set_handbooksgold(from.handbooksgold());
  28477. }
  28478. }
  28479. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  28480. }
  28481. void packetw2c_recv_summer_handbooks_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  28482. if (&from == this) return;
  28483. Clear();
  28484. MergeFrom(from);
  28485. }
  28486. void packetw2c_recv_summer_handbooks_award_result::CopyFrom(const packetw2c_recv_summer_handbooks_award_result& from) {
  28487. if (&from == this) return;
  28488. Clear();
  28489. MergeFrom(from);
  28490. }
  28491. bool packetw2c_recv_summer_handbooks_award_result::IsInitialized() const {
  28492. return true;
  28493. }
  28494. void packetw2c_recv_summer_handbooks_award_result::Swap(packetw2c_recv_summer_handbooks_award_result* other) {
  28495. if (other != this) {
  28496. std::swap(packet_id_, other->packet_id_);
  28497. std::swap(result_, other->result_);
  28498. typelist_.Swap(&other->typelist_);
  28499. std::swap(handbooksgold_, other->handbooksgold_);
  28500. std::swap(_has_bits_[0], other->_has_bits_[0]);
  28501. _unknown_fields_.Swap(&other->_unknown_fields_);
  28502. std::swap(_cached_size_, other->_cached_size_);
  28503. }
  28504. }
  28505. ::google::protobuf::Metadata packetw2c_recv_summer_handbooks_award_result::GetMetadata() const {
  28506. protobuf_AssignDescriptorsOnce();
  28507. ::google::protobuf::Metadata metadata;
  28508. metadata.descriptor = packetw2c_recv_summer_handbooks_award_result_descriptor_;
  28509. metadata.reflection = packetw2c_recv_summer_handbooks_award_result_reflection_;
  28510. return metadata;
  28511. }
  28512. // ===================================================================
  28513. #ifndef _MSC_VER
  28514. const int packetc2w_summer_lottery::kPacketIdFieldNumber;
  28515. const int packetc2w_summer_lottery::kTypeFieldNumber;
  28516. #endif // !_MSC_VER
  28517. packetc2w_summer_lottery::packetc2w_summer_lottery()
  28518. : ::google::protobuf::Message() {
  28519. SharedCtor();
  28520. }
  28521. void packetc2w_summer_lottery::InitAsDefaultInstance() {
  28522. }
  28523. packetc2w_summer_lottery::packetc2w_summer_lottery(const packetc2w_summer_lottery& from)
  28524. : ::google::protobuf::Message() {
  28525. SharedCtor();
  28526. MergeFrom(from);
  28527. }
  28528. void packetc2w_summer_lottery::SharedCtor() {
  28529. _cached_size_ = 0;
  28530. packet_id_ = 5156;
  28531. type_ = 0;
  28532. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  28533. }
  28534. packetc2w_summer_lottery::~packetc2w_summer_lottery() {
  28535. SharedDtor();
  28536. }
  28537. void packetc2w_summer_lottery::SharedDtor() {
  28538. if (this != default_instance_) {
  28539. }
  28540. }
  28541. void packetc2w_summer_lottery::SetCachedSize(int size) const {
  28542. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  28543. _cached_size_ = size;
  28544. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  28545. }
  28546. const ::google::protobuf::Descriptor* packetc2w_summer_lottery::descriptor() {
  28547. protobuf_AssignDescriptorsOnce();
  28548. return packetc2w_summer_lottery_descriptor_;
  28549. }
  28550. const packetc2w_summer_lottery& packetc2w_summer_lottery::default_instance() {
  28551. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  28552. return *default_instance_;
  28553. }
  28554. packetc2w_summer_lottery* packetc2w_summer_lottery::default_instance_ = NULL;
  28555. packetc2w_summer_lottery* packetc2w_summer_lottery::New() const {
  28556. return new packetc2w_summer_lottery;
  28557. }
  28558. void packetc2w_summer_lottery::Clear() {
  28559. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28560. packet_id_ = 5156;
  28561. type_ = 0;
  28562. }
  28563. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  28564. mutable_unknown_fields()->Clear();
  28565. }
  28566. bool packetc2w_summer_lottery::MergePartialFromCodedStream(
  28567. ::google::protobuf::io::CodedInputStream* input) {
  28568. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  28569. ::google::protobuf::uint32 tag;
  28570. while ((tag = input->ReadTag()) != 0) {
  28571. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  28572. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_lottery];
  28573. case 1: {
  28574. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28575. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28576. int value;
  28577. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28578. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  28579. input, &value)));
  28580. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  28581. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  28582. } else {
  28583. mutable_unknown_fields()->AddVarint(1, value);
  28584. }
  28585. } else {
  28586. goto handle_uninterpreted;
  28587. }
  28588. if (input->ExpectTag(16)) goto parse_type;
  28589. break;
  28590. }
  28591. // optional int32 type = 2;
  28592. case 2: {
  28593. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28594. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28595. parse_type:
  28596. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28597. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28598. input, &type_)));
  28599. set_has_type();
  28600. } else {
  28601. goto handle_uninterpreted;
  28602. }
  28603. if (input->ExpectAtEnd()) return true;
  28604. break;
  28605. }
  28606. default: {
  28607. handle_uninterpreted:
  28608. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28609. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  28610. return true;
  28611. }
  28612. DO_(::google::protobuf::internal::WireFormat::SkipField(
  28613. input, tag, mutable_unknown_fields()));
  28614. break;
  28615. }
  28616. }
  28617. }
  28618. return true;
  28619. #undef DO_
  28620. }
  28621. void packetc2w_summer_lottery::SerializeWithCachedSizes(
  28622. ::google::protobuf::io::CodedOutputStream* output) const {
  28623. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_lottery];
  28624. if (has_packet_id()) {
  28625. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  28626. 1, this->packet_id(), output);
  28627. }
  28628. // optional int32 type = 2;
  28629. if (has_type()) {
  28630. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  28631. }
  28632. if (!unknown_fields().empty()) {
  28633. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  28634. unknown_fields(), output);
  28635. }
  28636. }
  28637. ::google::protobuf::uint8* packetc2w_summer_lottery::SerializeWithCachedSizesToArray(
  28638. ::google::protobuf::uint8* target) const {
  28639. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_lottery];
  28640. if (has_packet_id()) {
  28641. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  28642. 1, this->packet_id(), target);
  28643. }
  28644. // optional int32 type = 2;
  28645. if (has_type()) {
  28646. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  28647. }
  28648. if (!unknown_fields().empty()) {
  28649. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  28650. unknown_fields(), target);
  28651. }
  28652. return target;
  28653. }
  28654. int packetc2w_summer_lottery::ByteSize() const {
  28655. int total_size = 0;
  28656. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28657. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_lottery];
  28658. if (has_packet_id()) {
  28659. total_size += 1 +
  28660. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  28661. }
  28662. // optional int32 type = 2;
  28663. if (has_type()) {
  28664. total_size += 1 +
  28665. ::google::protobuf::internal::WireFormatLite::Int32Size(
  28666. this->type());
  28667. }
  28668. }
  28669. if (!unknown_fields().empty()) {
  28670. total_size +=
  28671. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  28672. unknown_fields());
  28673. }
  28674. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  28675. _cached_size_ = total_size;
  28676. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  28677. return total_size;
  28678. }
  28679. void packetc2w_summer_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  28680. GOOGLE_CHECK_NE(&from, this);
  28681. const packetc2w_summer_lottery* source =
  28682. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_lottery*>(
  28683. &from);
  28684. if (source == NULL) {
  28685. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  28686. } else {
  28687. MergeFrom(*source);
  28688. }
  28689. }
  28690. void packetc2w_summer_lottery::MergeFrom(const packetc2w_summer_lottery& from) {
  28691. GOOGLE_CHECK_NE(&from, this);
  28692. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28693. if (from.has_packet_id()) {
  28694. set_packet_id(from.packet_id());
  28695. }
  28696. if (from.has_type()) {
  28697. set_type(from.type());
  28698. }
  28699. }
  28700. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  28701. }
  28702. void packetc2w_summer_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  28703. if (&from == this) return;
  28704. Clear();
  28705. MergeFrom(from);
  28706. }
  28707. void packetc2w_summer_lottery::CopyFrom(const packetc2w_summer_lottery& from) {
  28708. if (&from == this) return;
  28709. Clear();
  28710. MergeFrom(from);
  28711. }
  28712. bool packetc2w_summer_lottery::IsInitialized() const {
  28713. return true;
  28714. }
  28715. void packetc2w_summer_lottery::Swap(packetc2w_summer_lottery* other) {
  28716. if (other != this) {
  28717. std::swap(packet_id_, other->packet_id_);
  28718. std::swap(type_, other->type_);
  28719. std::swap(_has_bits_[0], other->_has_bits_[0]);
  28720. _unknown_fields_.Swap(&other->_unknown_fields_);
  28721. std::swap(_cached_size_, other->_cached_size_);
  28722. }
  28723. }
  28724. ::google::protobuf::Metadata packetc2w_summer_lottery::GetMetadata() const {
  28725. protobuf_AssignDescriptorsOnce();
  28726. ::google::protobuf::Metadata metadata;
  28727. metadata.descriptor = packetc2w_summer_lottery_descriptor_;
  28728. metadata.reflection = packetc2w_summer_lottery_reflection_;
  28729. return metadata;
  28730. }
  28731. // ===================================================================
  28732. #ifndef _MSC_VER
  28733. const int packetw2c_summer_lottery_result::kPacketIdFieldNumber;
  28734. const int packetw2c_summer_lottery_result::kResultFieldNumber;
  28735. const int packetw2c_summer_lottery_result::kTypeFieldNumber;
  28736. const int packetw2c_summer_lottery_result::kRewardIdFieldNumber;
  28737. #endif // !_MSC_VER
  28738. packetw2c_summer_lottery_result::packetw2c_summer_lottery_result()
  28739. : ::google::protobuf::Message() {
  28740. SharedCtor();
  28741. }
  28742. void packetw2c_summer_lottery_result::InitAsDefaultInstance() {
  28743. }
  28744. packetw2c_summer_lottery_result::packetw2c_summer_lottery_result(const packetw2c_summer_lottery_result& from)
  28745. : ::google::protobuf::Message() {
  28746. SharedCtor();
  28747. MergeFrom(from);
  28748. }
  28749. void packetw2c_summer_lottery_result::SharedCtor() {
  28750. _cached_size_ = 0;
  28751. packet_id_ = 7670;
  28752. result_ = 0;
  28753. type_ = 0;
  28754. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  28755. }
  28756. packetw2c_summer_lottery_result::~packetw2c_summer_lottery_result() {
  28757. SharedDtor();
  28758. }
  28759. void packetw2c_summer_lottery_result::SharedDtor() {
  28760. if (this != default_instance_) {
  28761. }
  28762. }
  28763. void packetw2c_summer_lottery_result::SetCachedSize(int size) const {
  28764. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  28765. _cached_size_ = size;
  28766. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  28767. }
  28768. const ::google::protobuf::Descriptor* packetw2c_summer_lottery_result::descriptor() {
  28769. protobuf_AssignDescriptorsOnce();
  28770. return packetw2c_summer_lottery_result_descriptor_;
  28771. }
  28772. const packetw2c_summer_lottery_result& packetw2c_summer_lottery_result::default_instance() {
  28773. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  28774. return *default_instance_;
  28775. }
  28776. packetw2c_summer_lottery_result* packetw2c_summer_lottery_result::default_instance_ = NULL;
  28777. packetw2c_summer_lottery_result* packetw2c_summer_lottery_result::New() const {
  28778. return new packetw2c_summer_lottery_result;
  28779. }
  28780. void packetw2c_summer_lottery_result::Clear() {
  28781. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28782. packet_id_ = 7670;
  28783. result_ = 0;
  28784. type_ = 0;
  28785. }
  28786. rewardid_.Clear();
  28787. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  28788. mutable_unknown_fields()->Clear();
  28789. }
  28790. bool packetw2c_summer_lottery_result::MergePartialFromCodedStream(
  28791. ::google::protobuf::io::CodedInputStream* input) {
  28792. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  28793. ::google::protobuf::uint32 tag;
  28794. while ((tag = input->ReadTag()) != 0) {
  28795. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  28796. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_lottery_result];
  28797. case 1: {
  28798. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28799. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28800. int value;
  28801. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28802. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  28803. input, &value)));
  28804. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  28805. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  28806. } else {
  28807. mutable_unknown_fields()->AddVarint(1, value);
  28808. }
  28809. } else {
  28810. goto handle_uninterpreted;
  28811. }
  28812. if (input->ExpectTag(16)) goto parse_result;
  28813. break;
  28814. }
  28815. // optional int32 result = 2;
  28816. case 2: {
  28817. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28818. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28819. parse_result:
  28820. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28821. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28822. input, &result_)));
  28823. set_has_result();
  28824. } else {
  28825. goto handle_uninterpreted;
  28826. }
  28827. if (input->ExpectTag(24)) goto parse_type;
  28828. break;
  28829. }
  28830. // optional int32 type = 3;
  28831. case 3: {
  28832. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28833. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28834. parse_type:
  28835. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  28836. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28837. input, &type_)));
  28838. set_has_type();
  28839. } else {
  28840. goto handle_uninterpreted;
  28841. }
  28842. if (input->ExpectTag(32)) goto parse_rewardId;
  28843. break;
  28844. }
  28845. // repeated int32 rewardId = 4;
  28846. case 4: {
  28847. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28848. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  28849. parse_rewardId:
  28850. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  28851. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28852. 1, 32, input, this->mutable_rewardid())));
  28853. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  28854. == ::google::protobuf::internal::WireFormatLite::
  28855. WIRETYPE_LENGTH_DELIMITED) {
  28856. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  28857. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  28858. input, this->mutable_rewardid())));
  28859. } else {
  28860. goto handle_uninterpreted;
  28861. }
  28862. if (input->ExpectTag(32)) goto parse_rewardId;
  28863. if (input->ExpectAtEnd()) return true;
  28864. break;
  28865. }
  28866. default: {
  28867. handle_uninterpreted:
  28868. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  28869. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  28870. return true;
  28871. }
  28872. DO_(::google::protobuf::internal::WireFormat::SkipField(
  28873. input, tag, mutable_unknown_fields()));
  28874. break;
  28875. }
  28876. }
  28877. }
  28878. return true;
  28879. #undef DO_
  28880. }
  28881. void packetw2c_summer_lottery_result::SerializeWithCachedSizes(
  28882. ::google::protobuf::io::CodedOutputStream* output) const {
  28883. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_lottery_result];
  28884. if (has_packet_id()) {
  28885. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  28886. 1, this->packet_id(), output);
  28887. }
  28888. // optional int32 result = 2;
  28889. if (has_result()) {
  28890. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  28891. }
  28892. // optional int32 type = 3;
  28893. if (has_type()) {
  28894. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  28895. }
  28896. // repeated int32 rewardId = 4;
  28897. for (int i = 0; i < this->rewardid_size(); i++) {
  28898. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  28899. 4, this->rewardid(i), output);
  28900. }
  28901. if (!unknown_fields().empty()) {
  28902. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  28903. unknown_fields(), output);
  28904. }
  28905. }
  28906. ::google::protobuf::uint8* packetw2c_summer_lottery_result::SerializeWithCachedSizesToArray(
  28907. ::google::protobuf::uint8* target) const {
  28908. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_lottery_result];
  28909. if (has_packet_id()) {
  28910. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  28911. 1, this->packet_id(), target);
  28912. }
  28913. // optional int32 result = 2;
  28914. if (has_result()) {
  28915. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  28916. }
  28917. // optional int32 type = 3;
  28918. if (has_type()) {
  28919. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  28920. }
  28921. // repeated int32 rewardId = 4;
  28922. for (int i = 0; i < this->rewardid_size(); i++) {
  28923. target = ::google::protobuf::internal::WireFormatLite::
  28924. WriteInt32ToArray(4, this->rewardid(i), target);
  28925. }
  28926. if (!unknown_fields().empty()) {
  28927. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  28928. unknown_fields(), target);
  28929. }
  28930. return target;
  28931. }
  28932. int packetw2c_summer_lottery_result::ByteSize() const {
  28933. int total_size = 0;
  28934. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28935. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_lottery_result];
  28936. if (has_packet_id()) {
  28937. total_size += 1 +
  28938. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  28939. }
  28940. // optional int32 result = 2;
  28941. if (has_result()) {
  28942. total_size += 1 +
  28943. ::google::protobuf::internal::WireFormatLite::Int32Size(
  28944. this->result());
  28945. }
  28946. // optional int32 type = 3;
  28947. if (has_type()) {
  28948. total_size += 1 +
  28949. ::google::protobuf::internal::WireFormatLite::Int32Size(
  28950. this->type());
  28951. }
  28952. }
  28953. // repeated int32 rewardId = 4;
  28954. {
  28955. int data_size = 0;
  28956. for (int i = 0; i < this->rewardid_size(); i++) {
  28957. data_size += ::google::protobuf::internal::WireFormatLite::
  28958. Int32Size(this->rewardid(i));
  28959. }
  28960. total_size += 1 * this->rewardid_size() + data_size;
  28961. }
  28962. if (!unknown_fields().empty()) {
  28963. total_size +=
  28964. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  28965. unknown_fields());
  28966. }
  28967. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  28968. _cached_size_ = total_size;
  28969. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  28970. return total_size;
  28971. }
  28972. void packetw2c_summer_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  28973. GOOGLE_CHECK_NE(&from, this);
  28974. const packetw2c_summer_lottery_result* source =
  28975. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_lottery_result*>(
  28976. &from);
  28977. if (source == NULL) {
  28978. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  28979. } else {
  28980. MergeFrom(*source);
  28981. }
  28982. }
  28983. void packetw2c_summer_lottery_result::MergeFrom(const packetw2c_summer_lottery_result& from) {
  28984. GOOGLE_CHECK_NE(&from, this);
  28985. rewardid_.MergeFrom(from.rewardid_);
  28986. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  28987. if (from.has_packet_id()) {
  28988. set_packet_id(from.packet_id());
  28989. }
  28990. if (from.has_result()) {
  28991. set_result(from.result());
  28992. }
  28993. if (from.has_type()) {
  28994. set_type(from.type());
  28995. }
  28996. }
  28997. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  28998. }
  28999. void packetw2c_summer_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  29000. if (&from == this) return;
  29001. Clear();
  29002. MergeFrom(from);
  29003. }
  29004. void packetw2c_summer_lottery_result::CopyFrom(const packetw2c_summer_lottery_result& from) {
  29005. if (&from == this) return;
  29006. Clear();
  29007. MergeFrom(from);
  29008. }
  29009. bool packetw2c_summer_lottery_result::IsInitialized() const {
  29010. return true;
  29011. }
  29012. void packetw2c_summer_lottery_result::Swap(packetw2c_summer_lottery_result* other) {
  29013. if (other != this) {
  29014. std::swap(packet_id_, other->packet_id_);
  29015. std::swap(result_, other->result_);
  29016. std::swap(type_, other->type_);
  29017. rewardid_.Swap(&other->rewardid_);
  29018. std::swap(_has_bits_[0], other->_has_bits_[0]);
  29019. _unknown_fields_.Swap(&other->_unknown_fields_);
  29020. std::swap(_cached_size_, other->_cached_size_);
  29021. }
  29022. }
  29023. ::google::protobuf::Metadata packetw2c_summer_lottery_result::GetMetadata() const {
  29024. protobuf_AssignDescriptorsOnce();
  29025. ::google::protobuf::Metadata metadata;
  29026. metadata.descriptor = packetw2c_summer_lottery_result_descriptor_;
  29027. metadata.reflection = packetw2c_summer_lottery_result_reflection_;
  29028. return metadata;
  29029. }
  29030. // ===================================================================
  29031. #ifndef _MSC_VER
  29032. const int onr_history_info::kNameFieldNumber;
  29033. const int onr_history_info::kRateFieldNumber;
  29034. #endif // !_MSC_VER
  29035. onr_history_info::onr_history_info()
  29036. : ::google::protobuf::Message() {
  29037. SharedCtor();
  29038. }
  29039. void onr_history_info::InitAsDefaultInstance() {
  29040. }
  29041. onr_history_info::onr_history_info(const onr_history_info& from)
  29042. : ::google::protobuf::Message() {
  29043. SharedCtor();
  29044. MergeFrom(from);
  29045. }
  29046. void onr_history_info::SharedCtor() {
  29047. _cached_size_ = 0;
  29048. name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  29049. rate_ = 0;
  29050. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  29051. }
  29052. onr_history_info::~onr_history_info() {
  29053. SharedDtor();
  29054. }
  29055. void onr_history_info::SharedDtor() {
  29056. if (name_ != &::google::protobuf::internal::kEmptyString) {
  29057. delete name_;
  29058. }
  29059. if (this != default_instance_) {
  29060. }
  29061. }
  29062. void onr_history_info::SetCachedSize(int size) const {
  29063. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  29064. _cached_size_ = size;
  29065. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  29066. }
  29067. const ::google::protobuf::Descriptor* onr_history_info::descriptor() {
  29068. protobuf_AssignDescriptorsOnce();
  29069. return onr_history_info_descriptor_;
  29070. }
  29071. const onr_history_info& onr_history_info::default_instance() {
  29072. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  29073. return *default_instance_;
  29074. }
  29075. onr_history_info* onr_history_info::default_instance_ = NULL;
  29076. onr_history_info* onr_history_info::New() const {
  29077. return new onr_history_info;
  29078. }
  29079. void onr_history_info::Clear() {
  29080. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29081. if (has_name()) {
  29082. if (name_ != &::google::protobuf::internal::kEmptyString) {
  29083. name_->clear();
  29084. }
  29085. }
  29086. rate_ = 0;
  29087. }
  29088. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  29089. mutable_unknown_fields()->Clear();
  29090. }
  29091. bool onr_history_info::MergePartialFromCodedStream(
  29092. ::google::protobuf::io::CodedInputStream* input) {
  29093. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  29094. ::google::protobuf::uint32 tag;
  29095. while ((tag = input->ReadTag()) != 0) {
  29096. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  29097. // optional string name = 1;
  29098. case 1: {
  29099. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29100. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  29101. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  29102. input, this->mutable_name()));
  29103. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  29104. this->name().data(), this->name().length(),
  29105. ::google::protobuf::internal::WireFormat::PARSE);
  29106. } else {
  29107. goto handle_uninterpreted;
  29108. }
  29109. if (input->ExpectTag(16)) goto parse_rate;
  29110. break;
  29111. }
  29112. // optional int32 rate = 2;
  29113. case 2: {
  29114. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29115. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29116. parse_rate:
  29117. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29118. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29119. input, &rate_)));
  29120. set_has_rate();
  29121. } else {
  29122. goto handle_uninterpreted;
  29123. }
  29124. if (input->ExpectAtEnd()) return true;
  29125. break;
  29126. }
  29127. default: {
  29128. handle_uninterpreted:
  29129. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29130. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  29131. return true;
  29132. }
  29133. DO_(::google::protobuf::internal::WireFormat::SkipField(
  29134. input, tag, mutable_unknown_fields()));
  29135. break;
  29136. }
  29137. }
  29138. }
  29139. return true;
  29140. #undef DO_
  29141. }
  29142. void onr_history_info::SerializeWithCachedSizes(
  29143. ::google::protobuf::io::CodedOutputStream* output) const {
  29144. // optional string name = 1;
  29145. if (has_name()) {
  29146. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  29147. this->name().data(), this->name().length(),
  29148. ::google::protobuf::internal::WireFormat::SERIALIZE);
  29149. ::google::protobuf::internal::WireFormatLite::WriteString(
  29150. 1, this->name(), output);
  29151. }
  29152. // optional int32 rate = 2;
  29153. if (has_rate()) {
  29154. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rate(), output);
  29155. }
  29156. if (!unknown_fields().empty()) {
  29157. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  29158. unknown_fields(), output);
  29159. }
  29160. }
  29161. ::google::protobuf::uint8* onr_history_info::SerializeWithCachedSizesToArray(
  29162. ::google::protobuf::uint8* target) const {
  29163. // optional string name = 1;
  29164. if (has_name()) {
  29165. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  29166. this->name().data(), this->name().length(),
  29167. ::google::protobuf::internal::WireFormat::SERIALIZE);
  29168. target =
  29169. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  29170. 1, this->name(), target);
  29171. }
  29172. // optional int32 rate = 2;
  29173. if (has_rate()) {
  29174. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rate(), target);
  29175. }
  29176. if (!unknown_fields().empty()) {
  29177. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  29178. unknown_fields(), target);
  29179. }
  29180. return target;
  29181. }
  29182. int onr_history_info::ByteSize() const {
  29183. int total_size = 0;
  29184. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29185. // optional string name = 1;
  29186. if (has_name()) {
  29187. total_size += 1 +
  29188. ::google::protobuf::internal::WireFormatLite::StringSize(
  29189. this->name());
  29190. }
  29191. // optional int32 rate = 2;
  29192. if (has_rate()) {
  29193. total_size += 1 +
  29194. ::google::protobuf::internal::WireFormatLite::Int32Size(
  29195. this->rate());
  29196. }
  29197. }
  29198. if (!unknown_fields().empty()) {
  29199. total_size +=
  29200. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  29201. unknown_fields());
  29202. }
  29203. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  29204. _cached_size_ = total_size;
  29205. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  29206. return total_size;
  29207. }
  29208. void onr_history_info::MergeFrom(const ::google::protobuf::Message& from) {
  29209. GOOGLE_CHECK_NE(&from, this);
  29210. const onr_history_info* source =
  29211. ::google::protobuf::internal::dynamic_cast_if_available<const onr_history_info*>(
  29212. &from);
  29213. if (source == NULL) {
  29214. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  29215. } else {
  29216. MergeFrom(*source);
  29217. }
  29218. }
  29219. void onr_history_info::MergeFrom(const onr_history_info& from) {
  29220. GOOGLE_CHECK_NE(&from, this);
  29221. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29222. if (from.has_name()) {
  29223. set_name(from.name());
  29224. }
  29225. if (from.has_rate()) {
  29226. set_rate(from.rate());
  29227. }
  29228. }
  29229. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  29230. }
  29231. void onr_history_info::CopyFrom(const ::google::protobuf::Message& from) {
  29232. if (&from == this) return;
  29233. Clear();
  29234. MergeFrom(from);
  29235. }
  29236. void onr_history_info::CopyFrom(const onr_history_info& from) {
  29237. if (&from == this) return;
  29238. Clear();
  29239. MergeFrom(from);
  29240. }
  29241. bool onr_history_info::IsInitialized() const {
  29242. return true;
  29243. }
  29244. void onr_history_info::Swap(onr_history_info* other) {
  29245. if (other != this) {
  29246. std::swap(name_, other->name_);
  29247. std::swap(rate_, other->rate_);
  29248. std::swap(_has_bits_[0], other->_has_bits_[0]);
  29249. _unknown_fields_.Swap(&other->_unknown_fields_);
  29250. std::swap(_cached_size_, other->_cached_size_);
  29251. }
  29252. }
  29253. ::google::protobuf::Metadata onr_history_info::GetMetadata() const {
  29254. protobuf_AssignDescriptorsOnce();
  29255. ::google::protobuf::Metadata metadata;
  29256. metadata.descriptor = onr_history_info_descriptor_;
  29257. metadata.reflection = onr_history_info_reflection_;
  29258. return metadata;
  29259. }
  29260. // ===================================================================
  29261. #ifndef _MSC_VER
  29262. const int packetw2c_syn_one_night_rich_info::kPacketIdFieldNumber;
  29263. const int packetw2c_syn_one_night_rich_info::kActivityStateFieldNumber;
  29264. const int packetw2c_syn_one_night_rich_info::kStartTimeFieldNumber;
  29265. const int packetw2c_syn_one_night_rich_info::kEndTimeFieldNumber;
  29266. const int packetw2c_syn_one_night_rich_info::kRechargedFieldNumber;
  29267. const int packetw2c_syn_one_night_rich_info::kLotteryIdFieldNumber;
  29268. const int packetw2c_syn_one_night_rich_info::kReceiveCheckFieldNumber;
  29269. #endif // !_MSC_VER
  29270. packetw2c_syn_one_night_rich_info::packetw2c_syn_one_night_rich_info()
  29271. : ::google::protobuf::Message() {
  29272. SharedCtor();
  29273. }
  29274. void packetw2c_syn_one_night_rich_info::InitAsDefaultInstance() {
  29275. }
  29276. packetw2c_syn_one_night_rich_info::packetw2c_syn_one_night_rich_info(const packetw2c_syn_one_night_rich_info& from)
  29277. : ::google::protobuf::Message() {
  29278. SharedCtor();
  29279. MergeFrom(from);
  29280. }
  29281. void packetw2c_syn_one_night_rich_info::SharedCtor() {
  29282. _cached_size_ = 0;
  29283. packet_id_ = 7715;
  29284. activitystate_ = 0;
  29285. starttime_ = 0;
  29286. endtime_ = 0;
  29287. recharged_ = 0;
  29288. lotteryid_ = 0;
  29289. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  29290. }
  29291. packetw2c_syn_one_night_rich_info::~packetw2c_syn_one_night_rich_info() {
  29292. SharedDtor();
  29293. }
  29294. void packetw2c_syn_one_night_rich_info::SharedDtor() {
  29295. if (this != default_instance_) {
  29296. }
  29297. }
  29298. void packetw2c_syn_one_night_rich_info::SetCachedSize(int size) const {
  29299. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  29300. _cached_size_ = size;
  29301. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  29302. }
  29303. const ::google::protobuf::Descriptor* packetw2c_syn_one_night_rich_info::descriptor() {
  29304. protobuf_AssignDescriptorsOnce();
  29305. return packetw2c_syn_one_night_rich_info_descriptor_;
  29306. }
  29307. const packetw2c_syn_one_night_rich_info& packetw2c_syn_one_night_rich_info::default_instance() {
  29308. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  29309. return *default_instance_;
  29310. }
  29311. packetw2c_syn_one_night_rich_info* packetw2c_syn_one_night_rich_info::default_instance_ = NULL;
  29312. packetw2c_syn_one_night_rich_info* packetw2c_syn_one_night_rich_info::New() const {
  29313. return new packetw2c_syn_one_night_rich_info;
  29314. }
  29315. void packetw2c_syn_one_night_rich_info::Clear() {
  29316. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29317. packet_id_ = 7715;
  29318. activitystate_ = 0;
  29319. starttime_ = 0;
  29320. endtime_ = 0;
  29321. recharged_ = 0;
  29322. lotteryid_ = 0;
  29323. }
  29324. receivecheck_.Clear();
  29325. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  29326. mutable_unknown_fields()->Clear();
  29327. }
  29328. bool packetw2c_syn_one_night_rich_info::MergePartialFromCodedStream(
  29329. ::google::protobuf::io::CodedInputStream* input) {
  29330. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  29331. ::google::protobuf::uint32 tag;
  29332. while ((tag = input->ReadTag()) != 0) {
  29333. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  29334. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_one_night_rich_info];
  29335. case 1: {
  29336. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29337. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29338. int value;
  29339. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29340. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  29341. input, &value)));
  29342. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  29343. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  29344. } else {
  29345. mutable_unknown_fields()->AddVarint(1, value);
  29346. }
  29347. } else {
  29348. goto handle_uninterpreted;
  29349. }
  29350. if (input->ExpectTag(16)) goto parse_activityState;
  29351. break;
  29352. }
  29353. // optional int32 activityState = 2;
  29354. case 2: {
  29355. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29356. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29357. parse_activityState:
  29358. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29359. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29360. input, &activitystate_)));
  29361. set_has_activitystate();
  29362. } else {
  29363. goto handle_uninterpreted;
  29364. }
  29365. if (input->ExpectTag(24)) goto parse_startTime;
  29366. break;
  29367. }
  29368. // optional int32 startTime = 3;
  29369. case 3: {
  29370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29372. parse_startTime:
  29373. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29374. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29375. input, &starttime_)));
  29376. set_has_starttime();
  29377. } else {
  29378. goto handle_uninterpreted;
  29379. }
  29380. if (input->ExpectTag(32)) goto parse_endTime;
  29381. break;
  29382. }
  29383. // optional int32 endTime = 4;
  29384. case 4: {
  29385. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29386. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29387. parse_endTime:
  29388. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29389. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29390. input, &endtime_)));
  29391. set_has_endtime();
  29392. } else {
  29393. goto handle_uninterpreted;
  29394. }
  29395. if (input->ExpectTag(40)) goto parse_recharged;
  29396. break;
  29397. }
  29398. // optional int32 recharged = 5;
  29399. case 5: {
  29400. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29401. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29402. parse_recharged:
  29403. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29404. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29405. input, &recharged_)));
  29406. set_has_recharged();
  29407. } else {
  29408. goto handle_uninterpreted;
  29409. }
  29410. if (input->ExpectTag(48)) goto parse_lotteryId;
  29411. break;
  29412. }
  29413. // optional int32 lotteryId = 6;
  29414. case 6: {
  29415. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29416. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29417. parse_lotteryId:
  29418. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29419. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29420. input, &lotteryid_)));
  29421. set_has_lotteryid();
  29422. } else {
  29423. goto handle_uninterpreted;
  29424. }
  29425. if (input->ExpectTag(56)) goto parse_receiveCheck;
  29426. break;
  29427. }
  29428. // repeated bool receiveCheck = 7;
  29429. case 7: {
  29430. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29431. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29432. parse_receiveCheck:
  29433. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  29434. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  29435. 1, 56, input, this->mutable_receivecheck())));
  29436. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  29437. == ::google::protobuf::internal::WireFormatLite::
  29438. WIRETYPE_LENGTH_DELIMITED) {
  29439. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  29440. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  29441. input, this->mutable_receivecheck())));
  29442. } else {
  29443. goto handle_uninterpreted;
  29444. }
  29445. if (input->ExpectTag(56)) goto parse_receiveCheck;
  29446. if (input->ExpectAtEnd()) return true;
  29447. break;
  29448. }
  29449. default: {
  29450. handle_uninterpreted:
  29451. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29452. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  29453. return true;
  29454. }
  29455. DO_(::google::protobuf::internal::WireFormat::SkipField(
  29456. input, tag, mutable_unknown_fields()));
  29457. break;
  29458. }
  29459. }
  29460. }
  29461. return true;
  29462. #undef DO_
  29463. }
  29464. void packetw2c_syn_one_night_rich_info::SerializeWithCachedSizes(
  29465. ::google::protobuf::io::CodedOutputStream* output) const {
  29466. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_one_night_rich_info];
  29467. if (has_packet_id()) {
  29468. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  29469. 1, this->packet_id(), output);
  29470. }
  29471. // optional int32 activityState = 2;
  29472. if (has_activitystate()) {
  29473. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  29474. }
  29475. // optional int32 startTime = 3;
  29476. if (has_starttime()) {
  29477. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  29478. }
  29479. // optional int32 endTime = 4;
  29480. if (has_endtime()) {
  29481. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  29482. }
  29483. // optional int32 recharged = 5;
  29484. if (has_recharged()) {
  29485. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->recharged(), output);
  29486. }
  29487. // optional int32 lotteryId = 6;
  29488. if (has_lotteryid()) {
  29489. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->lotteryid(), output);
  29490. }
  29491. // repeated bool receiveCheck = 7;
  29492. for (int i = 0; i < this->receivecheck_size(); i++) {
  29493. ::google::protobuf::internal::WireFormatLite::WriteBool(
  29494. 7, this->receivecheck(i), output);
  29495. }
  29496. if (!unknown_fields().empty()) {
  29497. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  29498. unknown_fields(), output);
  29499. }
  29500. }
  29501. ::google::protobuf::uint8* packetw2c_syn_one_night_rich_info::SerializeWithCachedSizesToArray(
  29502. ::google::protobuf::uint8* target) const {
  29503. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_one_night_rich_info];
  29504. if (has_packet_id()) {
  29505. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  29506. 1, this->packet_id(), target);
  29507. }
  29508. // optional int32 activityState = 2;
  29509. if (has_activitystate()) {
  29510. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  29511. }
  29512. // optional int32 startTime = 3;
  29513. if (has_starttime()) {
  29514. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  29515. }
  29516. // optional int32 endTime = 4;
  29517. if (has_endtime()) {
  29518. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  29519. }
  29520. // optional int32 recharged = 5;
  29521. if (has_recharged()) {
  29522. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->recharged(), target);
  29523. }
  29524. // optional int32 lotteryId = 6;
  29525. if (has_lotteryid()) {
  29526. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->lotteryid(), target);
  29527. }
  29528. // repeated bool receiveCheck = 7;
  29529. for (int i = 0; i < this->receivecheck_size(); i++) {
  29530. target = ::google::protobuf::internal::WireFormatLite::
  29531. WriteBoolToArray(7, this->receivecheck(i), target);
  29532. }
  29533. if (!unknown_fields().empty()) {
  29534. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  29535. unknown_fields(), target);
  29536. }
  29537. return target;
  29538. }
  29539. int packetw2c_syn_one_night_rich_info::ByteSize() const {
  29540. int total_size = 0;
  29541. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29542. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_one_night_rich_info];
  29543. if (has_packet_id()) {
  29544. total_size += 1 +
  29545. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  29546. }
  29547. // optional int32 activityState = 2;
  29548. if (has_activitystate()) {
  29549. total_size += 1 +
  29550. ::google::protobuf::internal::WireFormatLite::Int32Size(
  29551. this->activitystate());
  29552. }
  29553. // optional int32 startTime = 3;
  29554. if (has_starttime()) {
  29555. total_size += 1 +
  29556. ::google::protobuf::internal::WireFormatLite::Int32Size(
  29557. this->starttime());
  29558. }
  29559. // optional int32 endTime = 4;
  29560. if (has_endtime()) {
  29561. total_size += 1 +
  29562. ::google::protobuf::internal::WireFormatLite::Int32Size(
  29563. this->endtime());
  29564. }
  29565. // optional int32 recharged = 5;
  29566. if (has_recharged()) {
  29567. total_size += 1 +
  29568. ::google::protobuf::internal::WireFormatLite::Int32Size(
  29569. this->recharged());
  29570. }
  29571. // optional int32 lotteryId = 6;
  29572. if (has_lotteryid()) {
  29573. total_size += 1 +
  29574. ::google::protobuf::internal::WireFormatLite::Int32Size(
  29575. this->lotteryid());
  29576. }
  29577. }
  29578. // repeated bool receiveCheck = 7;
  29579. {
  29580. int data_size = 0;
  29581. data_size = 1 * this->receivecheck_size();
  29582. total_size += 1 * this->receivecheck_size() + data_size;
  29583. }
  29584. if (!unknown_fields().empty()) {
  29585. total_size +=
  29586. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  29587. unknown_fields());
  29588. }
  29589. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  29590. _cached_size_ = total_size;
  29591. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  29592. return total_size;
  29593. }
  29594. void packetw2c_syn_one_night_rich_info::MergeFrom(const ::google::protobuf::Message& from) {
  29595. GOOGLE_CHECK_NE(&from, this);
  29596. const packetw2c_syn_one_night_rich_info* source =
  29597. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_one_night_rich_info*>(
  29598. &from);
  29599. if (source == NULL) {
  29600. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  29601. } else {
  29602. MergeFrom(*source);
  29603. }
  29604. }
  29605. void packetw2c_syn_one_night_rich_info::MergeFrom(const packetw2c_syn_one_night_rich_info& from) {
  29606. GOOGLE_CHECK_NE(&from, this);
  29607. receivecheck_.MergeFrom(from.receivecheck_);
  29608. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29609. if (from.has_packet_id()) {
  29610. set_packet_id(from.packet_id());
  29611. }
  29612. if (from.has_activitystate()) {
  29613. set_activitystate(from.activitystate());
  29614. }
  29615. if (from.has_starttime()) {
  29616. set_starttime(from.starttime());
  29617. }
  29618. if (from.has_endtime()) {
  29619. set_endtime(from.endtime());
  29620. }
  29621. if (from.has_recharged()) {
  29622. set_recharged(from.recharged());
  29623. }
  29624. if (from.has_lotteryid()) {
  29625. set_lotteryid(from.lotteryid());
  29626. }
  29627. }
  29628. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  29629. }
  29630. void packetw2c_syn_one_night_rich_info::CopyFrom(const ::google::protobuf::Message& from) {
  29631. if (&from == this) return;
  29632. Clear();
  29633. MergeFrom(from);
  29634. }
  29635. void packetw2c_syn_one_night_rich_info::CopyFrom(const packetw2c_syn_one_night_rich_info& from) {
  29636. if (&from == this) return;
  29637. Clear();
  29638. MergeFrom(from);
  29639. }
  29640. bool packetw2c_syn_one_night_rich_info::IsInitialized() const {
  29641. return true;
  29642. }
  29643. void packetw2c_syn_one_night_rich_info::Swap(packetw2c_syn_one_night_rich_info* other) {
  29644. if (other != this) {
  29645. std::swap(packet_id_, other->packet_id_);
  29646. std::swap(activitystate_, other->activitystate_);
  29647. std::swap(starttime_, other->starttime_);
  29648. std::swap(endtime_, other->endtime_);
  29649. std::swap(recharged_, other->recharged_);
  29650. std::swap(lotteryid_, other->lotteryid_);
  29651. receivecheck_.Swap(&other->receivecheck_);
  29652. std::swap(_has_bits_[0], other->_has_bits_[0]);
  29653. _unknown_fields_.Swap(&other->_unknown_fields_);
  29654. std::swap(_cached_size_, other->_cached_size_);
  29655. }
  29656. }
  29657. ::google::protobuf::Metadata packetw2c_syn_one_night_rich_info::GetMetadata() const {
  29658. protobuf_AssignDescriptorsOnce();
  29659. ::google::protobuf::Metadata metadata;
  29660. metadata.descriptor = packetw2c_syn_one_night_rich_info_descriptor_;
  29661. metadata.reflection = packetw2c_syn_one_night_rich_info_reflection_;
  29662. return metadata;
  29663. }
  29664. // ===================================================================
  29665. #ifndef _MSC_VER
  29666. const int packetc2w_recv_one_night_rich_award::kPacketIdFieldNumber;
  29667. const int packetc2w_recv_one_night_rich_award::kTypeFieldNumber;
  29668. #endif // !_MSC_VER
  29669. packetc2w_recv_one_night_rich_award::packetc2w_recv_one_night_rich_award()
  29670. : ::google::protobuf::Message() {
  29671. SharedCtor();
  29672. }
  29673. void packetc2w_recv_one_night_rich_award::InitAsDefaultInstance() {
  29674. }
  29675. packetc2w_recv_one_night_rich_award::packetc2w_recv_one_night_rich_award(const packetc2w_recv_one_night_rich_award& from)
  29676. : ::google::protobuf::Message() {
  29677. SharedCtor();
  29678. MergeFrom(from);
  29679. }
  29680. void packetc2w_recv_one_night_rich_award::SharedCtor() {
  29681. _cached_size_ = 0;
  29682. packet_id_ = 5153;
  29683. type_ = 0;
  29684. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  29685. }
  29686. packetc2w_recv_one_night_rich_award::~packetc2w_recv_one_night_rich_award() {
  29687. SharedDtor();
  29688. }
  29689. void packetc2w_recv_one_night_rich_award::SharedDtor() {
  29690. if (this != default_instance_) {
  29691. }
  29692. }
  29693. void packetc2w_recv_one_night_rich_award::SetCachedSize(int size) const {
  29694. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  29695. _cached_size_ = size;
  29696. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  29697. }
  29698. const ::google::protobuf::Descriptor* packetc2w_recv_one_night_rich_award::descriptor() {
  29699. protobuf_AssignDescriptorsOnce();
  29700. return packetc2w_recv_one_night_rich_award_descriptor_;
  29701. }
  29702. const packetc2w_recv_one_night_rich_award& packetc2w_recv_one_night_rich_award::default_instance() {
  29703. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  29704. return *default_instance_;
  29705. }
  29706. packetc2w_recv_one_night_rich_award* packetc2w_recv_one_night_rich_award::default_instance_ = NULL;
  29707. packetc2w_recv_one_night_rich_award* packetc2w_recv_one_night_rich_award::New() const {
  29708. return new packetc2w_recv_one_night_rich_award;
  29709. }
  29710. void packetc2w_recv_one_night_rich_award::Clear() {
  29711. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29712. packet_id_ = 5153;
  29713. type_ = 0;
  29714. }
  29715. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  29716. mutable_unknown_fields()->Clear();
  29717. }
  29718. bool packetc2w_recv_one_night_rich_award::MergePartialFromCodedStream(
  29719. ::google::protobuf::io::CodedInputStream* input) {
  29720. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  29721. ::google::protobuf::uint32 tag;
  29722. while ((tag = input->ReadTag()) != 0) {
  29723. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  29724. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_one_night_rich_award];
  29725. case 1: {
  29726. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29727. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29728. int value;
  29729. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29730. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  29731. input, &value)));
  29732. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  29733. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  29734. } else {
  29735. mutable_unknown_fields()->AddVarint(1, value);
  29736. }
  29737. } else {
  29738. goto handle_uninterpreted;
  29739. }
  29740. if (input->ExpectTag(16)) goto parse_type;
  29741. break;
  29742. }
  29743. // optional int32 type = 2;
  29744. case 2: {
  29745. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29746. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29747. parse_type:
  29748. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29749. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29750. input, &type_)));
  29751. set_has_type();
  29752. } else {
  29753. goto handle_uninterpreted;
  29754. }
  29755. if (input->ExpectAtEnd()) return true;
  29756. break;
  29757. }
  29758. default: {
  29759. handle_uninterpreted:
  29760. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29761. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  29762. return true;
  29763. }
  29764. DO_(::google::protobuf::internal::WireFormat::SkipField(
  29765. input, tag, mutable_unknown_fields()));
  29766. break;
  29767. }
  29768. }
  29769. }
  29770. return true;
  29771. #undef DO_
  29772. }
  29773. void packetc2w_recv_one_night_rich_award::SerializeWithCachedSizes(
  29774. ::google::protobuf::io::CodedOutputStream* output) const {
  29775. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_one_night_rich_award];
  29776. if (has_packet_id()) {
  29777. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  29778. 1, this->packet_id(), output);
  29779. }
  29780. // optional int32 type = 2;
  29781. if (has_type()) {
  29782. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  29783. }
  29784. if (!unknown_fields().empty()) {
  29785. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  29786. unknown_fields(), output);
  29787. }
  29788. }
  29789. ::google::protobuf::uint8* packetc2w_recv_one_night_rich_award::SerializeWithCachedSizesToArray(
  29790. ::google::protobuf::uint8* target) const {
  29791. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_one_night_rich_award];
  29792. if (has_packet_id()) {
  29793. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  29794. 1, this->packet_id(), target);
  29795. }
  29796. // optional int32 type = 2;
  29797. if (has_type()) {
  29798. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  29799. }
  29800. if (!unknown_fields().empty()) {
  29801. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  29802. unknown_fields(), target);
  29803. }
  29804. return target;
  29805. }
  29806. int packetc2w_recv_one_night_rich_award::ByteSize() const {
  29807. int total_size = 0;
  29808. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29809. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_one_night_rich_award];
  29810. if (has_packet_id()) {
  29811. total_size += 1 +
  29812. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  29813. }
  29814. // optional int32 type = 2;
  29815. if (has_type()) {
  29816. total_size += 1 +
  29817. ::google::protobuf::internal::WireFormatLite::Int32Size(
  29818. this->type());
  29819. }
  29820. }
  29821. if (!unknown_fields().empty()) {
  29822. total_size +=
  29823. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  29824. unknown_fields());
  29825. }
  29826. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  29827. _cached_size_ = total_size;
  29828. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  29829. return total_size;
  29830. }
  29831. void packetc2w_recv_one_night_rich_award::MergeFrom(const ::google::protobuf::Message& from) {
  29832. GOOGLE_CHECK_NE(&from, this);
  29833. const packetc2w_recv_one_night_rich_award* source =
  29834. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_one_night_rich_award*>(
  29835. &from);
  29836. if (source == NULL) {
  29837. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  29838. } else {
  29839. MergeFrom(*source);
  29840. }
  29841. }
  29842. void packetc2w_recv_one_night_rich_award::MergeFrom(const packetc2w_recv_one_night_rich_award& from) {
  29843. GOOGLE_CHECK_NE(&from, this);
  29844. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29845. if (from.has_packet_id()) {
  29846. set_packet_id(from.packet_id());
  29847. }
  29848. if (from.has_type()) {
  29849. set_type(from.type());
  29850. }
  29851. }
  29852. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  29853. }
  29854. void packetc2w_recv_one_night_rich_award::CopyFrom(const ::google::protobuf::Message& from) {
  29855. if (&from == this) return;
  29856. Clear();
  29857. MergeFrom(from);
  29858. }
  29859. void packetc2w_recv_one_night_rich_award::CopyFrom(const packetc2w_recv_one_night_rich_award& from) {
  29860. if (&from == this) return;
  29861. Clear();
  29862. MergeFrom(from);
  29863. }
  29864. bool packetc2w_recv_one_night_rich_award::IsInitialized() const {
  29865. return true;
  29866. }
  29867. void packetc2w_recv_one_night_rich_award::Swap(packetc2w_recv_one_night_rich_award* other) {
  29868. if (other != this) {
  29869. std::swap(packet_id_, other->packet_id_);
  29870. std::swap(type_, other->type_);
  29871. std::swap(_has_bits_[0], other->_has_bits_[0]);
  29872. _unknown_fields_.Swap(&other->_unknown_fields_);
  29873. std::swap(_cached_size_, other->_cached_size_);
  29874. }
  29875. }
  29876. ::google::protobuf::Metadata packetc2w_recv_one_night_rich_award::GetMetadata() const {
  29877. protobuf_AssignDescriptorsOnce();
  29878. ::google::protobuf::Metadata metadata;
  29879. metadata.descriptor = packetc2w_recv_one_night_rich_award_descriptor_;
  29880. metadata.reflection = packetc2w_recv_one_night_rich_award_reflection_;
  29881. return metadata;
  29882. }
  29883. // ===================================================================
  29884. #ifndef _MSC_VER
  29885. const int packetw2c_recv_one_night_rich_result::kPacketIdFieldNumber;
  29886. const int packetw2c_recv_one_night_rich_result::kResultFieldNumber;
  29887. const int packetw2c_recv_one_night_rich_result::kTypeFieldNumber;
  29888. const int packetw2c_recv_one_night_rich_result::kIndexFieldNumber;
  29889. #endif // !_MSC_VER
  29890. packetw2c_recv_one_night_rich_result::packetw2c_recv_one_night_rich_result()
  29891. : ::google::protobuf::Message() {
  29892. SharedCtor();
  29893. }
  29894. void packetw2c_recv_one_night_rich_result::InitAsDefaultInstance() {
  29895. }
  29896. packetw2c_recv_one_night_rich_result::packetw2c_recv_one_night_rich_result(const packetw2c_recv_one_night_rich_result& from)
  29897. : ::google::protobuf::Message() {
  29898. SharedCtor();
  29899. MergeFrom(from);
  29900. }
  29901. void packetw2c_recv_one_night_rich_result::SharedCtor() {
  29902. _cached_size_ = 0;
  29903. packet_id_ = 7645;
  29904. result_ = 0;
  29905. type_ = 0;
  29906. index_ = 0;
  29907. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  29908. }
  29909. packetw2c_recv_one_night_rich_result::~packetw2c_recv_one_night_rich_result() {
  29910. SharedDtor();
  29911. }
  29912. void packetw2c_recv_one_night_rich_result::SharedDtor() {
  29913. if (this != default_instance_) {
  29914. }
  29915. }
  29916. void packetw2c_recv_one_night_rich_result::SetCachedSize(int size) const {
  29917. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  29918. _cached_size_ = size;
  29919. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  29920. }
  29921. const ::google::protobuf::Descriptor* packetw2c_recv_one_night_rich_result::descriptor() {
  29922. protobuf_AssignDescriptorsOnce();
  29923. return packetw2c_recv_one_night_rich_result_descriptor_;
  29924. }
  29925. const packetw2c_recv_one_night_rich_result& packetw2c_recv_one_night_rich_result::default_instance() {
  29926. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  29927. return *default_instance_;
  29928. }
  29929. packetw2c_recv_one_night_rich_result* packetw2c_recv_one_night_rich_result::default_instance_ = NULL;
  29930. packetw2c_recv_one_night_rich_result* packetw2c_recv_one_night_rich_result::New() const {
  29931. return new packetw2c_recv_one_night_rich_result;
  29932. }
  29933. void packetw2c_recv_one_night_rich_result::Clear() {
  29934. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  29935. packet_id_ = 7645;
  29936. result_ = 0;
  29937. type_ = 0;
  29938. index_ = 0;
  29939. }
  29940. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  29941. mutable_unknown_fields()->Clear();
  29942. }
  29943. bool packetw2c_recv_one_night_rich_result::MergePartialFromCodedStream(
  29944. ::google::protobuf::io::CodedInputStream* input) {
  29945. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  29946. ::google::protobuf::uint32 tag;
  29947. while ((tag = input->ReadTag()) != 0) {
  29948. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  29949. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_one_night_rich_result];
  29950. case 1: {
  29951. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29952. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29953. int value;
  29954. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29955. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  29956. input, &value)));
  29957. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  29958. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  29959. } else {
  29960. mutable_unknown_fields()->AddVarint(1, value);
  29961. }
  29962. } else {
  29963. goto handle_uninterpreted;
  29964. }
  29965. if (input->ExpectTag(16)) goto parse_result;
  29966. break;
  29967. }
  29968. // optional int32 result = 2;
  29969. case 2: {
  29970. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29971. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29972. parse_result:
  29973. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29974. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29975. input, &result_)));
  29976. set_has_result();
  29977. } else {
  29978. goto handle_uninterpreted;
  29979. }
  29980. if (input->ExpectTag(24)) goto parse_type;
  29981. break;
  29982. }
  29983. // optional int32 type = 3;
  29984. case 3: {
  29985. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  29986. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  29987. parse_type:
  29988. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  29989. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  29990. input, &type_)));
  29991. set_has_type();
  29992. } else {
  29993. goto handle_uninterpreted;
  29994. }
  29995. if (input->ExpectTag(32)) goto parse_index;
  29996. break;
  29997. }
  29998. // optional int32 index = 4;
  29999. case 4: {
  30000. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30001. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30002. parse_index:
  30003. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30004. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  30005. input, &index_)));
  30006. set_has_index();
  30007. } else {
  30008. goto handle_uninterpreted;
  30009. }
  30010. if (input->ExpectAtEnd()) return true;
  30011. break;
  30012. }
  30013. default: {
  30014. handle_uninterpreted:
  30015. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30016. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  30017. return true;
  30018. }
  30019. DO_(::google::protobuf::internal::WireFormat::SkipField(
  30020. input, tag, mutable_unknown_fields()));
  30021. break;
  30022. }
  30023. }
  30024. }
  30025. return true;
  30026. #undef DO_
  30027. }
  30028. void packetw2c_recv_one_night_rich_result::SerializeWithCachedSizes(
  30029. ::google::protobuf::io::CodedOutputStream* output) const {
  30030. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_one_night_rich_result];
  30031. if (has_packet_id()) {
  30032. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  30033. 1, this->packet_id(), output);
  30034. }
  30035. // optional int32 result = 2;
  30036. if (has_result()) {
  30037. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  30038. }
  30039. // optional int32 type = 3;
  30040. if (has_type()) {
  30041. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  30042. }
  30043. // optional int32 index = 4;
  30044. if (has_index()) {
  30045. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->index(), output);
  30046. }
  30047. if (!unknown_fields().empty()) {
  30048. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  30049. unknown_fields(), output);
  30050. }
  30051. }
  30052. ::google::protobuf::uint8* packetw2c_recv_one_night_rich_result::SerializeWithCachedSizesToArray(
  30053. ::google::protobuf::uint8* target) const {
  30054. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_one_night_rich_result];
  30055. if (has_packet_id()) {
  30056. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  30057. 1, this->packet_id(), target);
  30058. }
  30059. // optional int32 result = 2;
  30060. if (has_result()) {
  30061. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  30062. }
  30063. // optional int32 type = 3;
  30064. if (has_type()) {
  30065. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  30066. }
  30067. // optional int32 index = 4;
  30068. if (has_index()) {
  30069. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->index(), target);
  30070. }
  30071. if (!unknown_fields().empty()) {
  30072. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  30073. unknown_fields(), target);
  30074. }
  30075. return target;
  30076. }
  30077. int packetw2c_recv_one_night_rich_result::ByteSize() const {
  30078. int total_size = 0;
  30079. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30080. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_one_night_rich_result];
  30081. if (has_packet_id()) {
  30082. total_size += 1 +
  30083. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  30084. }
  30085. // optional int32 result = 2;
  30086. if (has_result()) {
  30087. total_size += 1 +
  30088. ::google::protobuf::internal::WireFormatLite::Int32Size(
  30089. this->result());
  30090. }
  30091. // optional int32 type = 3;
  30092. if (has_type()) {
  30093. total_size += 1 +
  30094. ::google::protobuf::internal::WireFormatLite::Int32Size(
  30095. this->type());
  30096. }
  30097. // optional int32 index = 4;
  30098. if (has_index()) {
  30099. total_size += 1 +
  30100. ::google::protobuf::internal::WireFormatLite::Int32Size(
  30101. this->index());
  30102. }
  30103. }
  30104. if (!unknown_fields().empty()) {
  30105. total_size +=
  30106. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  30107. unknown_fields());
  30108. }
  30109. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  30110. _cached_size_ = total_size;
  30111. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  30112. return total_size;
  30113. }
  30114. void packetw2c_recv_one_night_rich_result::MergeFrom(const ::google::protobuf::Message& from) {
  30115. GOOGLE_CHECK_NE(&from, this);
  30116. const packetw2c_recv_one_night_rich_result* source =
  30117. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_one_night_rich_result*>(
  30118. &from);
  30119. if (source == NULL) {
  30120. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  30121. } else {
  30122. MergeFrom(*source);
  30123. }
  30124. }
  30125. void packetw2c_recv_one_night_rich_result::MergeFrom(const packetw2c_recv_one_night_rich_result& from) {
  30126. GOOGLE_CHECK_NE(&from, this);
  30127. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30128. if (from.has_packet_id()) {
  30129. set_packet_id(from.packet_id());
  30130. }
  30131. if (from.has_result()) {
  30132. set_result(from.result());
  30133. }
  30134. if (from.has_type()) {
  30135. set_type(from.type());
  30136. }
  30137. if (from.has_index()) {
  30138. set_index(from.index());
  30139. }
  30140. }
  30141. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  30142. }
  30143. void packetw2c_recv_one_night_rich_result::CopyFrom(const ::google::protobuf::Message& from) {
  30144. if (&from == this) return;
  30145. Clear();
  30146. MergeFrom(from);
  30147. }
  30148. void packetw2c_recv_one_night_rich_result::CopyFrom(const packetw2c_recv_one_night_rich_result& from) {
  30149. if (&from == this) return;
  30150. Clear();
  30151. MergeFrom(from);
  30152. }
  30153. bool packetw2c_recv_one_night_rich_result::IsInitialized() const {
  30154. return true;
  30155. }
  30156. void packetw2c_recv_one_night_rich_result::Swap(packetw2c_recv_one_night_rich_result* other) {
  30157. if (other != this) {
  30158. std::swap(packet_id_, other->packet_id_);
  30159. std::swap(result_, other->result_);
  30160. std::swap(type_, other->type_);
  30161. std::swap(index_, other->index_);
  30162. std::swap(_has_bits_[0], other->_has_bits_[0]);
  30163. _unknown_fields_.Swap(&other->_unknown_fields_);
  30164. std::swap(_cached_size_, other->_cached_size_);
  30165. }
  30166. }
  30167. ::google::protobuf::Metadata packetw2c_recv_one_night_rich_result::GetMetadata() const {
  30168. protobuf_AssignDescriptorsOnce();
  30169. ::google::protobuf::Metadata metadata;
  30170. metadata.descriptor = packetw2c_recv_one_night_rich_result_descriptor_;
  30171. metadata.reflection = packetw2c_recv_one_night_rich_result_reflection_;
  30172. return metadata;
  30173. }
  30174. // ===================================================================
  30175. #ifndef _MSC_VER
  30176. const int packetc2w_recv_onr_historyList::kPacketIdFieldNumber;
  30177. #endif // !_MSC_VER
  30178. packetc2w_recv_onr_historyList::packetc2w_recv_onr_historyList()
  30179. : ::google::protobuf::Message() {
  30180. SharedCtor();
  30181. }
  30182. void packetc2w_recv_onr_historyList::InitAsDefaultInstance() {
  30183. }
  30184. packetc2w_recv_onr_historyList::packetc2w_recv_onr_historyList(const packetc2w_recv_onr_historyList& from)
  30185. : ::google::protobuf::Message() {
  30186. SharedCtor();
  30187. MergeFrom(from);
  30188. }
  30189. void packetc2w_recv_onr_historyList::SharedCtor() {
  30190. _cached_size_ = 0;
  30191. packet_id_ = 5191;
  30192. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  30193. }
  30194. packetc2w_recv_onr_historyList::~packetc2w_recv_onr_historyList() {
  30195. SharedDtor();
  30196. }
  30197. void packetc2w_recv_onr_historyList::SharedDtor() {
  30198. if (this != default_instance_) {
  30199. }
  30200. }
  30201. void packetc2w_recv_onr_historyList::SetCachedSize(int size) const {
  30202. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  30203. _cached_size_ = size;
  30204. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  30205. }
  30206. const ::google::protobuf::Descriptor* packetc2w_recv_onr_historyList::descriptor() {
  30207. protobuf_AssignDescriptorsOnce();
  30208. return packetc2w_recv_onr_historyList_descriptor_;
  30209. }
  30210. const packetc2w_recv_onr_historyList& packetc2w_recv_onr_historyList::default_instance() {
  30211. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  30212. return *default_instance_;
  30213. }
  30214. packetc2w_recv_onr_historyList* packetc2w_recv_onr_historyList::default_instance_ = NULL;
  30215. packetc2w_recv_onr_historyList* packetc2w_recv_onr_historyList::New() const {
  30216. return new packetc2w_recv_onr_historyList;
  30217. }
  30218. void packetc2w_recv_onr_historyList::Clear() {
  30219. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30220. packet_id_ = 5191;
  30221. }
  30222. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  30223. mutable_unknown_fields()->Clear();
  30224. }
  30225. bool packetc2w_recv_onr_historyList::MergePartialFromCodedStream(
  30226. ::google::protobuf::io::CodedInputStream* input) {
  30227. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  30228. ::google::protobuf::uint32 tag;
  30229. while ((tag = input->ReadTag()) != 0) {
  30230. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  30231. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_onr_historyList];
  30232. case 1: {
  30233. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30234. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30235. int value;
  30236. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30237. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  30238. input, &value)));
  30239. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  30240. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  30241. } else {
  30242. mutable_unknown_fields()->AddVarint(1, value);
  30243. }
  30244. } else {
  30245. goto handle_uninterpreted;
  30246. }
  30247. if (input->ExpectAtEnd()) return true;
  30248. break;
  30249. }
  30250. default: {
  30251. handle_uninterpreted:
  30252. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30253. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  30254. return true;
  30255. }
  30256. DO_(::google::protobuf::internal::WireFormat::SkipField(
  30257. input, tag, mutable_unknown_fields()));
  30258. break;
  30259. }
  30260. }
  30261. }
  30262. return true;
  30263. #undef DO_
  30264. }
  30265. void packetc2w_recv_onr_historyList::SerializeWithCachedSizes(
  30266. ::google::protobuf::io::CodedOutputStream* output) const {
  30267. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_onr_historyList];
  30268. if (has_packet_id()) {
  30269. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  30270. 1, this->packet_id(), output);
  30271. }
  30272. if (!unknown_fields().empty()) {
  30273. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  30274. unknown_fields(), output);
  30275. }
  30276. }
  30277. ::google::protobuf::uint8* packetc2w_recv_onr_historyList::SerializeWithCachedSizesToArray(
  30278. ::google::protobuf::uint8* target) const {
  30279. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_onr_historyList];
  30280. if (has_packet_id()) {
  30281. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  30282. 1, this->packet_id(), target);
  30283. }
  30284. if (!unknown_fields().empty()) {
  30285. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  30286. unknown_fields(), target);
  30287. }
  30288. return target;
  30289. }
  30290. int packetc2w_recv_onr_historyList::ByteSize() const {
  30291. int total_size = 0;
  30292. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30293. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_onr_historyList];
  30294. if (has_packet_id()) {
  30295. total_size += 1 +
  30296. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  30297. }
  30298. }
  30299. if (!unknown_fields().empty()) {
  30300. total_size +=
  30301. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  30302. unknown_fields());
  30303. }
  30304. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  30305. _cached_size_ = total_size;
  30306. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  30307. return total_size;
  30308. }
  30309. void packetc2w_recv_onr_historyList::MergeFrom(const ::google::protobuf::Message& from) {
  30310. GOOGLE_CHECK_NE(&from, this);
  30311. const packetc2w_recv_onr_historyList* source =
  30312. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_onr_historyList*>(
  30313. &from);
  30314. if (source == NULL) {
  30315. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  30316. } else {
  30317. MergeFrom(*source);
  30318. }
  30319. }
  30320. void packetc2w_recv_onr_historyList::MergeFrom(const packetc2w_recv_onr_historyList& from) {
  30321. GOOGLE_CHECK_NE(&from, this);
  30322. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30323. if (from.has_packet_id()) {
  30324. set_packet_id(from.packet_id());
  30325. }
  30326. }
  30327. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  30328. }
  30329. void packetc2w_recv_onr_historyList::CopyFrom(const ::google::protobuf::Message& from) {
  30330. if (&from == this) return;
  30331. Clear();
  30332. MergeFrom(from);
  30333. }
  30334. void packetc2w_recv_onr_historyList::CopyFrom(const packetc2w_recv_onr_historyList& from) {
  30335. if (&from == this) return;
  30336. Clear();
  30337. MergeFrom(from);
  30338. }
  30339. bool packetc2w_recv_onr_historyList::IsInitialized() const {
  30340. return true;
  30341. }
  30342. void packetc2w_recv_onr_historyList::Swap(packetc2w_recv_onr_historyList* other) {
  30343. if (other != this) {
  30344. std::swap(packet_id_, other->packet_id_);
  30345. std::swap(_has_bits_[0], other->_has_bits_[0]);
  30346. _unknown_fields_.Swap(&other->_unknown_fields_);
  30347. std::swap(_cached_size_, other->_cached_size_);
  30348. }
  30349. }
  30350. ::google::protobuf::Metadata packetc2w_recv_onr_historyList::GetMetadata() const {
  30351. protobuf_AssignDescriptorsOnce();
  30352. ::google::protobuf::Metadata metadata;
  30353. metadata.descriptor = packetc2w_recv_onr_historyList_descriptor_;
  30354. metadata.reflection = packetc2w_recv_onr_historyList_reflection_;
  30355. return metadata;
  30356. }
  30357. // ===================================================================
  30358. #ifndef _MSC_VER
  30359. const int packetw2c_recv_onr_historyList_result::kPacketIdFieldNumber;
  30360. const int packetw2c_recv_onr_historyList_result::kHistoryListFieldNumber;
  30361. #endif // !_MSC_VER
  30362. packetw2c_recv_onr_historyList_result::packetw2c_recv_onr_historyList_result()
  30363. : ::google::protobuf::Message() {
  30364. SharedCtor();
  30365. }
  30366. void packetw2c_recv_onr_historyList_result::InitAsDefaultInstance() {
  30367. }
  30368. packetw2c_recv_onr_historyList_result::packetw2c_recv_onr_historyList_result(const packetw2c_recv_onr_historyList_result& from)
  30369. : ::google::protobuf::Message() {
  30370. SharedCtor();
  30371. MergeFrom(from);
  30372. }
  30373. void packetw2c_recv_onr_historyList_result::SharedCtor() {
  30374. _cached_size_ = 0;
  30375. packet_id_ = 7717;
  30376. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  30377. }
  30378. packetw2c_recv_onr_historyList_result::~packetw2c_recv_onr_historyList_result() {
  30379. SharedDtor();
  30380. }
  30381. void packetw2c_recv_onr_historyList_result::SharedDtor() {
  30382. if (this != default_instance_) {
  30383. }
  30384. }
  30385. void packetw2c_recv_onr_historyList_result::SetCachedSize(int size) const {
  30386. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  30387. _cached_size_ = size;
  30388. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  30389. }
  30390. const ::google::protobuf::Descriptor* packetw2c_recv_onr_historyList_result::descriptor() {
  30391. protobuf_AssignDescriptorsOnce();
  30392. return packetw2c_recv_onr_historyList_result_descriptor_;
  30393. }
  30394. const packetw2c_recv_onr_historyList_result& packetw2c_recv_onr_historyList_result::default_instance() {
  30395. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  30396. return *default_instance_;
  30397. }
  30398. packetw2c_recv_onr_historyList_result* packetw2c_recv_onr_historyList_result::default_instance_ = NULL;
  30399. packetw2c_recv_onr_historyList_result* packetw2c_recv_onr_historyList_result::New() const {
  30400. return new packetw2c_recv_onr_historyList_result;
  30401. }
  30402. void packetw2c_recv_onr_historyList_result::Clear() {
  30403. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30404. packet_id_ = 7717;
  30405. }
  30406. historylist_.Clear();
  30407. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  30408. mutable_unknown_fields()->Clear();
  30409. }
  30410. bool packetw2c_recv_onr_historyList_result::MergePartialFromCodedStream(
  30411. ::google::protobuf::io::CodedInputStream* input) {
  30412. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  30413. ::google::protobuf::uint32 tag;
  30414. while ((tag = input->ReadTag()) != 0) {
  30415. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  30416. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_onr_historyList_result];
  30417. case 1: {
  30418. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30419. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30420. int value;
  30421. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30422. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  30423. input, &value)));
  30424. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  30425. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  30426. } else {
  30427. mutable_unknown_fields()->AddVarint(1, value);
  30428. }
  30429. } else {
  30430. goto handle_uninterpreted;
  30431. }
  30432. if (input->ExpectTag(34)) goto parse_historyList;
  30433. break;
  30434. }
  30435. // repeated .client2world_protocols.onr_history_info historyList = 4;
  30436. case 4: {
  30437. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30438. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  30439. parse_historyList:
  30440. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  30441. input, add_historylist()));
  30442. } else {
  30443. goto handle_uninterpreted;
  30444. }
  30445. if (input->ExpectTag(34)) goto parse_historyList;
  30446. if (input->ExpectAtEnd()) return true;
  30447. break;
  30448. }
  30449. default: {
  30450. handle_uninterpreted:
  30451. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30452. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  30453. return true;
  30454. }
  30455. DO_(::google::protobuf::internal::WireFormat::SkipField(
  30456. input, tag, mutable_unknown_fields()));
  30457. break;
  30458. }
  30459. }
  30460. }
  30461. return true;
  30462. #undef DO_
  30463. }
  30464. void packetw2c_recv_onr_historyList_result::SerializeWithCachedSizes(
  30465. ::google::protobuf::io::CodedOutputStream* output) const {
  30466. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_onr_historyList_result];
  30467. if (has_packet_id()) {
  30468. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  30469. 1, this->packet_id(), output);
  30470. }
  30471. // repeated .client2world_protocols.onr_history_info historyList = 4;
  30472. for (int i = 0; i < this->historylist_size(); i++) {
  30473. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  30474. 4, this->historylist(i), output);
  30475. }
  30476. if (!unknown_fields().empty()) {
  30477. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  30478. unknown_fields(), output);
  30479. }
  30480. }
  30481. ::google::protobuf::uint8* packetw2c_recv_onr_historyList_result::SerializeWithCachedSizesToArray(
  30482. ::google::protobuf::uint8* target) const {
  30483. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_onr_historyList_result];
  30484. if (has_packet_id()) {
  30485. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  30486. 1, this->packet_id(), target);
  30487. }
  30488. // repeated .client2world_protocols.onr_history_info historyList = 4;
  30489. for (int i = 0; i < this->historylist_size(); i++) {
  30490. target = ::google::protobuf::internal::WireFormatLite::
  30491. WriteMessageNoVirtualToArray(
  30492. 4, this->historylist(i), target);
  30493. }
  30494. if (!unknown_fields().empty()) {
  30495. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  30496. unknown_fields(), target);
  30497. }
  30498. return target;
  30499. }
  30500. int packetw2c_recv_onr_historyList_result::ByteSize() const {
  30501. int total_size = 0;
  30502. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30503. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_onr_historyList_result];
  30504. if (has_packet_id()) {
  30505. total_size += 1 +
  30506. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  30507. }
  30508. }
  30509. // repeated .client2world_protocols.onr_history_info historyList = 4;
  30510. total_size += 1 * this->historylist_size();
  30511. for (int i = 0; i < this->historylist_size(); i++) {
  30512. total_size +=
  30513. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  30514. this->historylist(i));
  30515. }
  30516. if (!unknown_fields().empty()) {
  30517. total_size +=
  30518. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  30519. unknown_fields());
  30520. }
  30521. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  30522. _cached_size_ = total_size;
  30523. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  30524. return total_size;
  30525. }
  30526. void packetw2c_recv_onr_historyList_result::MergeFrom(const ::google::protobuf::Message& from) {
  30527. GOOGLE_CHECK_NE(&from, this);
  30528. const packetw2c_recv_onr_historyList_result* source =
  30529. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_onr_historyList_result*>(
  30530. &from);
  30531. if (source == NULL) {
  30532. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  30533. } else {
  30534. MergeFrom(*source);
  30535. }
  30536. }
  30537. void packetw2c_recv_onr_historyList_result::MergeFrom(const packetw2c_recv_onr_historyList_result& from) {
  30538. GOOGLE_CHECK_NE(&from, this);
  30539. historylist_.MergeFrom(from.historylist_);
  30540. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30541. if (from.has_packet_id()) {
  30542. set_packet_id(from.packet_id());
  30543. }
  30544. }
  30545. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  30546. }
  30547. void packetw2c_recv_onr_historyList_result::CopyFrom(const ::google::protobuf::Message& from) {
  30548. if (&from == this) return;
  30549. Clear();
  30550. MergeFrom(from);
  30551. }
  30552. void packetw2c_recv_onr_historyList_result::CopyFrom(const packetw2c_recv_onr_historyList_result& from) {
  30553. if (&from == this) return;
  30554. Clear();
  30555. MergeFrom(from);
  30556. }
  30557. bool packetw2c_recv_onr_historyList_result::IsInitialized() const {
  30558. return true;
  30559. }
  30560. void packetw2c_recv_onr_historyList_result::Swap(packetw2c_recv_onr_historyList_result* other) {
  30561. if (other != this) {
  30562. std::swap(packet_id_, other->packet_id_);
  30563. historylist_.Swap(&other->historylist_);
  30564. std::swap(_has_bits_[0], other->_has_bits_[0]);
  30565. _unknown_fields_.Swap(&other->_unknown_fields_);
  30566. std::swap(_cached_size_, other->_cached_size_);
  30567. }
  30568. }
  30569. ::google::protobuf::Metadata packetw2c_recv_onr_historyList_result::GetMetadata() const {
  30570. protobuf_AssignDescriptorsOnce();
  30571. ::google::protobuf::Metadata metadata;
  30572. metadata.descriptor = packetw2c_recv_onr_historyList_result_descriptor_;
  30573. metadata.reflection = packetw2c_recv_onr_historyList_result_reflection_;
  30574. return metadata;
  30575. }
  30576. // ===================================================================
  30577. #ifndef _MSC_VER
  30578. const int packetw2c_syn_fortune_star_info::kPacketIdFieldNumber;
  30579. const int packetw2c_syn_fortune_star_info::kActivityStateFieldNumber;
  30580. const int packetw2c_syn_fortune_star_info::kStartTimeFieldNumber;
  30581. const int packetw2c_syn_fortune_star_info::kEndTimeFieldNumber;
  30582. const int packetw2c_syn_fortune_star_info::kMyFortuneStarFieldNumber;
  30583. #endif // !_MSC_VER
  30584. packetw2c_syn_fortune_star_info::packetw2c_syn_fortune_star_info()
  30585. : ::google::protobuf::Message() {
  30586. SharedCtor();
  30587. }
  30588. void packetw2c_syn_fortune_star_info::InitAsDefaultInstance() {
  30589. }
  30590. packetw2c_syn_fortune_star_info::packetw2c_syn_fortune_star_info(const packetw2c_syn_fortune_star_info& from)
  30591. : ::google::protobuf::Message() {
  30592. SharedCtor();
  30593. MergeFrom(from);
  30594. }
  30595. void packetw2c_syn_fortune_star_info::SharedCtor() {
  30596. _cached_size_ = 0;
  30597. packet_id_ = 7716;
  30598. activitystate_ = 0;
  30599. starttime_ = 0;
  30600. endtime_ = 0;
  30601. myfortunestar_ = 0;
  30602. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  30603. }
  30604. packetw2c_syn_fortune_star_info::~packetw2c_syn_fortune_star_info() {
  30605. SharedDtor();
  30606. }
  30607. void packetw2c_syn_fortune_star_info::SharedDtor() {
  30608. if (this != default_instance_) {
  30609. }
  30610. }
  30611. void packetw2c_syn_fortune_star_info::SetCachedSize(int size) const {
  30612. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  30613. _cached_size_ = size;
  30614. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  30615. }
  30616. const ::google::protobuf::Descriptor* packetw2c_syn_fortune_star_info::descriptor() {
  30617. protobuf_AssignDescriptorsOnce();
  30618. return packetw2c_syn_fortune_star_info_descriptor_;
  30619. }
  30620. const packetw2c_syn_fortune_star_info& packetw2c_syn_fortune_star_info::default_instance() {
  30621. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  30622. return *default_instance_;
  30623. }
  30624. packetw2c_syn_fortune_star_info* packetw2c_syn_fortune_star_info::default_instance_ = NULL;
  30625. packetw2c_syn_fortune_star_info* packetw2c_syn_fortune_star_info::New() const {
  30626. return new packetw2c_syn_fortune_star_info;
  30627. }
  30628. void packetw2c_syn_fortune_star_info::Clear() {
  30629. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30630. packet_id_ = 7716;
  30631. activitystate_ = 0;
  30632. starttime_ = 0;
  30633. endtime_ = 0;
  30634. myfortunestar_ = 0;
  30635. }
  30636. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  30637. mutable_unknown_fields()->Clear();
  30638. }
  30639. bool packetw2c_syn_fortune_star_info::MergePartialFromCodedStream(
  30640. ::google::protobuf::io::CodedInputStream* input) {
  30641. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  30642. ::google::protobuf::uint32 tag;
  30643. while ((tag = input->ReadTag()) != 0) {
  30644. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  30645. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fortune_star_info];
  30646. case 1: {
  30647. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30648. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30649. int value;
  30650. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30651. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  30652. input, &value)));
  30653. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  30654. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  30655. } else {
  30656. mutable_unknown_fields()->AddVarint(1, value);
  30657. }
  30658. } else {
  30659. goto handle_uninterpreted;
  30660. }
  30661. if (input->ExpectTag(16)) goto parse_activityState;
  30662. break;
  30663. }
  30664. // optional int32 activityState = 2;
  30665. case 2: {
  30666. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30667. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30668. parse_activityState:
  30669. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30670. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  30671. input, &activitystate_)));
  30672. set_has_activitystate();
  30673. } else {
  30674. goto handle_uninterpreted;
  30675. }
  30676. if (input->ExpectTag(24)) goto parse_startTime;
  30677. break;
  30678. }
  30679. // optional int32 startTime = 3;
  30680. case 3: {
  30681. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30682. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30683. parse_startTime:
  30684. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30685. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  30686. input, &starttime_)));
  30687. set_has_starttime();
  30688. } else {
  30689. goto handle_uninterpreted;
  30690. }
  30691. if (input->ExpectTag(32)) goto parse_endTime;
  30692. break;
  30693. }
  30694. // optional int32 endTime = 4;
  30695. case 4: {
  30696. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30697. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30698. parse_endTime:
  30699. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30700. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  30701. input, &endtime_)));
  30702. set_has_endtime();
  30703. } else {
  30704. goto handle_uninterpreted;
  30705. }
  30706. if (input->ExpectTag(40)) goto parse_myFortuneStar;
  30707. break;
  30708. }
  30709. // optional int32 myFortuneStar = 5;
  30710. case 5: {
  30711. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30712. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30713. parse_myFortuneStar:
  30714. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30715. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  30716. input, &myfortunestar_)));
  30717. set_has_myfortunestar();
  30718. } else {
  30719. goto handle_uninterpreted;
  30720. }
  30721. if (input->ExpectAtEnd()) return true;
  30722. break;
  30723. }
  30724. default: {
  30725. handle_uninterpreted:
  30726. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30727. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  30728. return true;
  30729. }
  30730. DO_(::google::protobuf::internal::WireFormat::SkipField(
  30731. input, tag, mutable_unknown_fields()));
  30732. break;
  30733. }
  30734. }
  30735. }
  30736. return true;
  30737. #undef DO_
  30738. }
  30739. void packetw2c_syn_fortune_star_info::SerializeWithCachedSizes(
  30740. ::google::protobuf::io::CodedOutputStream* output) const {
  30741. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fortune_star_info];
  30742. if (has_packet_id()) {
  30743. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  30744. 1, this->packet_id(), output);
  30745. }
  30746. // optional int32 activityState = 2;
  30747. if (has_activitystate()) {
  30748. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  30749. }
  30750. // optional int32 startTime = 3;
  30751. if (has_starttime()) {
  30752. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  30753. }
  30754. // optional int32 endTime = 4;
  30755. if (has_endtime()) {
  30756. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  30757. }
  30758. // optional int32 myFortuneStar = 5;
  30759. if (has_myfortunestar()) {
  30760. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->myfortunestar(), output);
  30761. }
  30762. if (!unknown_fields().empty()) {
  30763. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  30764. unknown_fields(), output);
  30765. }
  30766. }
  30767. ::google::protobuf::uint8* packetw2c_syn_fortune_star_info::SerializeWithCachedSizesToArray(
  30768. ::google::protobuf::uint8* target) const {
  30769. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fortune_star_info];
  30770. if (has_packet_id()) {
  30771. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  30772. 1, this->packet_id(), target);
  30773. }
  30774. // optional int32 activityState = 2;
  30775. if (has_activitystate()) {
  30776. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  30777. }
  30778. // optional int32 startTime = 3;
  30779. if (has_starttime()) {
  30780. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  30781. }
  30782. // optional int32 endTime = 4;
  30783. if (has_endtime()) {
  30784. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  30785. }
  30786. // optional int32 myFortuneStar = 5;
  30787. if (has_myfortunestar()) {
  30788. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->myfortunestar(), target);
  30789. }
  30790. if (!unknown_fields().empty()) {
  30791. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  30792. unknown_fields(), target);
  30793. }
  30794. return target;
  30795. }
  30796. int packetw2c_syn_fortune_star_info::ByteSize() const {
  30797. int total_size = 0;
  30798. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30799. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fortune_star_info];
  30800. if (has_packet_id()) {
  30801. total_size += 1 +
  30802. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  30803. }
  30804. // optional int32 activityState = 2;
  30805. if (has_activitystate()) {
  30806. total_size += 1 +
  30807. ::google::protobuf::internal::WireFormatLite::Int32Size(
  30808. this->activitystate());
  30809. }
  30810. // optional int32 startTime = 3;
  30811. if (has_starttime()) {
  30812. total_size += 1 +
  30813. ::google::protobuf::internal::WireFormatLite::Int32Size(
  30814. this->starttime());
  30815. }
  30816. // optional int32 endTime = 4;
  30817. if (has_endtime()) {
  30818. total_size += 1 +
  30819. ::google::protobuf::internal::WireFormatLite::Int32Size(
  30820. this->endtime());
  30821. }
  30822. // optional int32 myFortuneStar = 5;
  30823. if (has_myfortunestar()) {
  30824. total_size += 1 +
  30825. ::google::protobuf::internal::WireFormatLite::Int32Size(
  30826. this->myfortunestar());
  30827. }
  30828. }
  30829. if (!unknown_fields().empty()) {
  30830. total_size +=
  30831. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  30832. unknown_fields());
  30833. }
  30834. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  30835. _cached_size_ = total_size;
  30836. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  30837. return total_size;
  30838. }
  30839. void packetw2c_syn_fortune_star_info::MergeFrom(const ::google::protobuf::Message& from) {
  30840. GOOGLE_CHECK_NE(&from, this);
  30841. const packetw2c_syn_fortune_star_info* source =
  30842. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_fortune_star_info*>(
  30843. &from);
  30844. if (source == NULL) {
  30845. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  30846. } else {
  30847. MergeFrom(*source);
  30848. }
  30849. }
  30850. void packetw2c_syn_fortune_star_info::MergeFrom(const packetw2c_syn_fortune_star_info& from) {
  30851. GOOGLE_CHECK_NE(&from, this);
  30852. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30853. if (from.has_packet_id()) {
  30854. set_packet_id(from.packet_id());
  30855. }
  30856. if (from.has_activitystate()) {
  30857. set_activitystate(from.activitystate());
  30858. }
  30859. if (from.has_starttime()) {
  30860. set_starttime(from.starttime());
  30861. }
  30862. if (from.has_endtime()) {
  30863. set_endtime(from.endtime());
  30864. }
  30865. if (from.has_myfortunestar()) {
  30866. set_myfortunestar(from.myfortunestar());
  30867. }
  30868. }
  30869. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  30870. }
  30871. void packetw2c_syn_fortune_star_info::CopyFrom(const ::google::protobuf::Message& from) {
  30872. if (&from == this) return;
  30873. Clear();
  30874. MergeFrom(from);
  30875. }
  30876. void packetw2c_syn_fortune_star_info::CopyFrom(const packetw2c_syn_fortune_star_info& from) {
  30877. if (&from == this) return;
  30878. Clear();
  30879. MergeFrom(from);
  30880. }
  30881. bool packetw2c_syn_fortune_star_info::IsInitialized() const {
  30882. return true;
  30883. }
  30884. void packetw2c_syn_fortune_star_info::Swap(packetw2c_syn_fortune_star_info* other) {
  30885. if (other != this) {
  30886. std::swap(packet_id_, other->packet_id_);
  30887. std::swap(activitystate_, other->activitystate_);
  30888. std::swap(starttime_, other->starttime_);
  30889. std::swap(endtime_, other->endtime_);
  30890. std::swap(myfortunestar_, other->myfortunestar_);
  30891. std::swap(_has_bits_[0], other->_has_bits_[0]);
  30892. _unknown_fields_.Swap(&other->_unknown_fields_);
  30893. std::swap(_cached_size_, other->_cached_size_);
  30894. }
  30895. }
  30896. ::google::protobuf::Metadata packetw2c_syn_fortune_star_info::GetMetadata() const {
  30897. protobuf_AssignDescriptorsOnce();
  30898. ::google::protobuf::Metadata metadata;
  30899. metadata.descriptor = packetw2c_syn_fortune_star_info_descriptor_;
  30900. metadata.reflection = packetw2c_syn_fortune_star_info_reflection_;
  30901. return metadata;
  30902. }
  30903. // ===================================================================
  30904. #ifndef _MSC_VER
  30905. const int packetc2w_get_fortune_star_quest::kPacketIdFieldNumber;
  30906. #endif // !_MSC_VER
  30907. packetc2w_get_fortune_star_quest::packetc2w_get_fortune_star_quest()
  30908. : ::google::protobuf::Message() {
  30909. SharedCtor();
  30910. }
  30911. void packetc2w_get_fortune_star_quest::InitAsDefaultInstance() {
  30912. }
  30913. packetc2w_get_fortune_star_quest::packetc2w_get_fortune_star_quest(const packetc2w_get_fortune_star_quest& from)
  30914. : ::google::protobuf::Message() {
  30915. SharedCtor();
  30916. MergeFrom(from);
  30917. }
  30918. void packetc2w_get_fortune_star_quest::SharedCtor() {
  30919. _cached_size_ = 0;
  30920. packet_id_ = 5254;
  30921. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  30922. }
  30923. packetc2w_get_fortune_star_quest::~packetc2w_get_fortune_star_quest() {
  30924. SharedDtor();
  30925. }
  30926. void packetc2w_get_fortune_star_quest::SharedDtor() {
  30927. if (this != default_instance_) {
  30928. }
  30929. }
  30930. void packetc2w_get_fortune_star_quest::SetCachedSize(int size) const {
  30931. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  30932. _cached_size_ = size;
  30933. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  30934. }
  30935. const ::google::protobuf::Descriptor* packetc2w_get_fortune_star_quest::descriptor() {
  30936. protobuf_AssignDescriptorsOnce();
  30937. return packetc2w_get_fortune_star_quest_descriptor_;
  30938. }
  30939. const packetc2w_get_fortune_star_quest& packetc2w_get_fortune_star_quest::default_instance() {
  30940. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  30941. return *default_instance_;
  30942. }
  30943. packetc2w_get_fortune_star_quest* packetc2w_get_fortune_star_quest::default_instance_ = NULL;
  30944. packetc2w_get_fortune_star_quest* packetc2w_get_fortune_star_quest::New() const {
  30945. return new packetc2w_get_fortune_star_quest;
  30946. }
  30947. void packetc2w_get_fortune_star_quest::Clear() {
  30948. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  30949. packet_id_ = 5254;
  30950. }
  30951. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  30952. mutable_unknown_fields()->Clear();
  30953. }
  30954. bool packetc2w_get_fortune_star_quest::MergePartialFromCodedStream(
  30955. ::google::protobuf::io::CodedInputStream* input) {
  30956. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  30957. ::google::protobuf::uint32 tag;
  30958. while ((tag = input->ReadTag()) != 0) {
  30959. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  30960. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fortune_star_quest];
  30961. case 1: {
  30962. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30963. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  30964. int value;
  30965. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  30966. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  30967. input, &value)));
  30968. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  30969. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  30970. } else {
  30971. mutable_unknown_fields()->AddVarint(1, value);
  30972. }
  30973. } else {
  30974. goto handle_uninterpreted;
  30975. }
  30976. if (input->ExpectAtEnd()) return true;
  30977. break;
  30978. }
  30979. default: {
  30980. handle_uninterpreted:
  30981. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  30982. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  30983. return true;
  30984. }
  30985. DO_(::google::protobuf::internal::WireFormat::SkipField(
  30986. input, tag, mutable_unknown_fields()));
  30987. break;
  30988. }
  30989. }
  30990. }
  30991. return true;
  30992. #undef DO_
  30993. }
  30994. void packetc2w_get_fortune_star_quest::SerializeWithCachedSizes(
  30995. ::google::protobuf::io::CodedOutputStream* output) const {
  30996. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fortune_star_quest];
  30997. if (has_packet_id()) {
  30998. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  30999. 1, this->packet_id(), output);
  31000. }
  31001. if (!unknown_fields().empty()) {
  31002. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  31003. unknown_fields(), output);
  31004. }
  31005. }
  31006. ::google::protobuf::uint8* packetc2w_get_fortune_star_quest::SerializeWithCachedSizesToArray(
  31007. ::google::protobuf::uint8* target) const {
  31008. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fortune_star_quest];
  31009. if (has_packet_id()) {
  31010. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  31011. 1, this->packet_id(), target);
  31012. }
  31013. if (!unknown_fields().empty()) {
  31014. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  31015. unknown_fields(), target);
  31016. }
  31017. return target;
  31018. }
  31019. int packetc2w_get_fortune_star_quest::ByteSize() const {
  31020. int total_size = 0;
  31021. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31022. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fortune_star_quest];
  31023. if (has_packet_id()) {
  31024. total_size += 1 +
  31025. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  31026. }
  31027. }
  31028. if (!unknown_fields().empty()) {
  31029. total_size +=
  31030. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  31031. unknown_fields());
  31032. }
  31033. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31034. _cached_size_ = total_size;
  31035. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31036. return total_size;
  31037. }
  31038. void packetc2w_get_fortune_star_quest::MergeFrom(const ::google::protobuf::Message& from) {
  31039. GOOGLE_CHECK_NE(&from, this);
  31040. const packetc2w_get_fortune_star_quest* source =
  31041. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_fortune_star_quest*>(
  31042. &from);
  31043. if (source == NULL) {
  31044. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  31045. } else {
  31046. MergeFrom(*source);
  31047. }
  31048. }
  31049. void packetc2w_get_fortune_star_quest::MergeFrom(const packetc2w_get_fortune_star_quest& from) {
  31050. GOOGLE_CHECK_NE(&from, this);
  31051. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31052. if (from.has_packet_id()) {
  31053. set_packet_id(from.packet_id());
  31054. }
  31055. }
  31056. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  31057. }
  31058. void packetc2w_get_fortune_star_quest::CopyFrom(const ::google::protobuf::Message& from) {
  31059. if (&from == this) return;
  31060. Clear();
  31061. MergeFrom(from);
  31062. }
  31063. void packetc2w_get_fortune_star_quest::CopyFrom(const packetc2w_get_fortune_star_quest& from) {
  31064. if (&from == this) return;
  31065. Clear();
  31066. MergeFrom(from);
  31067. }
  31068. bool packetc2w_get_fortune_star_quest::IsInitialized() const {
  31069. return true;
  31070. }
  31071. void packetc2w_get_fortune_star_quest::Swap(packetc2w_get_fortune_star_quest* other) {
  31072. if (other != this) {
  31073. std::swap(packet_id_, other->packet_id_);
  31074. std::swap(_has_bits_[0], other->_has_bits_[0]);
  31075. _unknown_fields_.Swap(&other->_unknown_fields_);
  31076. std::swap(_cached_size_, other->_cached_size_);
  31077. }
  31078. }
  31079. ::google::protobuf::Metadata packetc2w_get_fortune_star_quest::GetMetadata() const {
  31080. protobuf_AssignDescriptorsOnce();
  31081. ::google::protobuf::Metadata metadata;
  31082. metadata.descriptor = packetc2w_get_fortune_star_quest_descriptor_;
  31083. metadata.reflection = packetc2w_get_fortune_star_quest_reflection_;
  31084. return metadata;
  31085. }
  31086. // ===================================================================
  31087. #ifndef _MSC_VER
  31088. const int packetw2c_get_fortune_star_quest_result::kPacketIdFieldNumber;
  31089. const int packetw2c_get_fortune_star_quest_result::kQuestListFieldNumber;
  31090. #endif // !_MSC_VER
  31091. packetw2c_get_fortune_star_quest_result::packetw2c_get_fortune_star_quest_result()
  31092. : ::google::protobuf::Message() {
  31093. SharedCtor();
  31094. }
  31095. void packetw2c_get_fortune_star_quest_result::InitAsDefaultInstance() {
  31096. }
  31097. packetw2c_get_fortune_star_quest_result::packetw2c_get_fortune_star_quest_result(const packetw2c_get_fortune_star_quest_result& from)
  31098. : ::google::protobuf::Message() {
  31099. SharedCtor();
  31100. MergeFrom(from);
  31101. }
  31102. void packetw2c_get_fortune_star_quest_result::SharedCtor() {
  31103. _cached_size_ = 0;
  31104. packet_id_ = 7802;
  31105. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  31106. }
  31107. packetw2c_get_fortune_star_quest_result::~packetw2c_get_fortune_star_quest_result() {
  31108. SharedDtor();
  31109. }
  31110. void packetw2c_get_fortune_star_quest_result::SharedDtor() {
  31111. if (this != default_instance_) {
  31112. }
  31113. }
  31114. void packetw2c_get_fortune_star_quest_result::SetCachedSize(int size) const {
  31115. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31116. _cached_size_ = size;
  31117. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31118. }
  31119. const ::google::protobuf::Descriptor* packetw2c_get_fortune_star_quest_result::descriptor() {
  31120. protobuf_AssignDescriptorsOnce();
  31121. return packetw2c_get_fortune_star_quest_result_descriptor_;
  31122. }
  31123. const packetw2c_get_fortune_star_quest_result& packetw2c_get_fortune_star_quest_result::default_instance() {
  31124. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  31125. return *default_instance_;
  31126. }
  31127. packetw2c_get_fortune_star_quest_result* packetw2c_get_fortune_star_quest_result::default_instance_ = NULL;
  31128. packetw2c_get_fortune_star_quest_result* packetw2c_get_fortune_star_quest_result::New() const {
  31129. return new packetw2c_get_fortune_star_quest_result;
  31130. }
  31131. void packetw2c_get_fortune_star_quest_result::Clear() {
  31132. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31133. packet_id_ = 7802;
  31134. }
  31135. questlist_.Clear();
  31136. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  31137. mutable_unknown_fields()->Clear();
  31138. }
  31139. bool packetw2c_get_fortune_star_quest_result::MergePartialFromCodedStream(
  31140. ::google::protobuf::io::CodedInputStream* input) {
  31141. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  31142. ::google::protobuf::uint32 tag;
  31143. while ((tag = input->ReadTag()) != 0) {
  31144. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  31145. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fortune_star_quest_result];
  31146. case 1: {
  31147. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31148. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  31149. int value;
  31150. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  31151. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  31152. input, &value)));
  31153. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  31154. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  31155. } else {
  31156. mutable_unknown_fields()->AddVarint(1, value);
  31157. }
  31158. } else {
  31159. goto handle_uninterpreted;
  31160. }
  31161. if (input->ExpectTag(18)) goto parse_questList;
  31162. break;
  31163. }
  31164. // repeated .msg_info_def.msg_quest_info questList = 2;
  31165. case 2: {
  31166. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31167. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  31168. parse_questList:
  31169. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  31170. input, add_questlist()));
  31171. } else {
  31172. goto handle_uninterpreted;
  31173. }
  31174. if (input->ExpectTag(18)) goto parse_questList;
  31175. if (input->ExpectAtEnd()) return true;
  31176. break;
  31177. }
  31178. default: {
  31179. handle_uninterpreted:
  31180. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31181. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  31182. return true;
  31183. }
  31184. DO_(::google::protobuf::internal::WireFormat::SkipField(
  31185. input, tag, mutable_unknown_fields()));
  31186. break;
  31187. }
  31188. }
  31189. }
  31190. return true;
  31191. #undef DO_
  31192. }
  31193. void packetw2c_get_fortune_star_quest_result::SerializeWithCachedSizes(
  31194. ::google::protobuf::io::CodedOutputStream* output) const {
  31195. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fortune_star_quest_result];
  31196. if (has_packet_id()) {
  31197. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  31198. 1, this->packet_id(), output);
  31199. }
  31200. // repeated .msg_info_def.msg_quest_info questList = 2;
  31201. for (int i = 0; i < this->questlist_size(); i++) {
  31202. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  31203. 2, this->questlist(i), output);
  31204. }
  31205. if (!unknown_fields().empty()) {
  31206. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  31207. unknown_fields(), output);
  31208. }
  31209. }
  31210. ::google::protobuf::uint8* packetw2c_get_fortune_star_quest_result::SerializeWithCachedSizesToArray(
  31211. ::google::protobuf::uint8* target) const {
  31212. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fortune_star_quest_result];
  31213. if (has_packet_id()) {
  31214. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  31215. 1, this->packet_id(), target);
  31216. }
  31217. // repeated .msg_info_def.msg_quest_info questList = 2;
  31218. for (int i = 0; i < this->questlist_size(); i++) {
  31219. target = ::google::protobuf::internal::WireFormatLite::
  31220. WriteMessageNoVirtualToArray(
  31221. 2, this->questlist(i), target);
  31222. }
  31223. if (!unknown_fields().empty()) {
  31224. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  31225. unknown_fields(), target);
  31226. }
  31227. return target;
  31228. }
  31229. int packetw2c_get_fortune_star_quest_result::ByteSize() const {
  31230. int total_size = 0;
  31231. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31232. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fortune_star_quest_result];
  31233. if (has_packet_id()) {
  31234. total_size += 1 +
  31235. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  31236. }
  31237. }
  31238. // repeated .msg_info_def.msg_quest_info questList = 2;
  31239. total_size += 1 * this->questlist_size();
  31240. for (int i = 0; i < this->questlist_size(); i++) {
  31241. total_size +=
  31242. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  31243. this->questlist(i));
  31244. }
  31245. if (!unknown_fields().empty()) {
  31246. total_size +=
  31247. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  31248. unknown_fields());
  31249. }
  31250. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31251. _cached_size_ = total_size;
  31252. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31253. return total_size;
  31254. }
  31255. void packetw2c_get_fortune_star_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  31256. GOOGLE_CHECK_NE(&from, this);
  31257. const packetw2c_get_fortune_star_quest_result* source =
  31258. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_fortune_star_quest_result*>(
  31259. &from);
  31260. if (source == NULL) {
  31261. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  31262. } else {
  31263. MergeFrom(*source);
  31264. }
  31265. }
  31266. void packetw2c_get_fortune_star_quest_result::MergeFrom(const packetw2c_get_fortune_star_quest_result& from) {
  31267. GOOGLE_CHECK_NE(&from, this);
  31268. questlist_.MergeFrom(from.questlist_);
  31269. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31270. if (from.has_packet_id()) {
  31271. set_packet_id(from.packet_id());
  31272. }
  31273. }
  31274. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  31275. }
  31276. void packetw2c_get_fortune_star_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  31277. if (&from == this) return;
  31278. Clear();
  31279. MergeFrom(from);
  31280. }
  31281. void packetw2c_get_fortune_star_quest_result::CopyFrom(const packetw2c_get_fortune_star_quest_result& from) {
  31282. if (&from == this) return;
  31283. Clear();
  31284. MergeFrom(from);
  31285. }
  31286. bool packetw2c_get_fortune_star_quest_result::IsInitialized() const {
  31287. return true;
  31288. }
  31289. void packetw2c_get_fortune_star_quest_result::Swap(packetw2c_get_fortune_star_quest_result* other) {
  31290. if (other != this) {
  31291. std::swap(packet_id_, other->packet_id_);
  31292. questlist_.Swap(&other->questlist_);
  31293. std::swap(_has_bits_[0], other->_has_bits_[0]);
  31294. _unknown_fields_.Swap(&other->_unknown_fields_);
  31295. std::swap(_cached_size_, other->_cached_size_);
  31296. }
  31297. }
  31298. ::google::protobuf::Metadata packetw2c_get_fortune_star_quest_result::GetMetadata() const {
  31299. protobuf_AssignDescriptorsOnce();
  31300. ::google::protobuf::Metadata metadata;
  31301. metadata.descriptor = packetw2c_get_fortune_star_quest_result_descriptor_;
  31302. metadata.reflection = packetw2c_get_fortune_star_quest_result_reflection_;
  31303. return metadata;
  31304. }
  31305. // ===================================================================
  31306. #ifndef _MSC_VER
  31307. const int packetc2w_recv_fortune_star_quest_award::kPacketIdFieldNumber;
  31308. const int packetc2w_recv_fortune_star_quest_award::kQuestIdFieldNumber;
  31309. #endif // !_MSC_VER
  31310. packetc2w_recv_fortune_star_quest_award::packetc2w_recv_fortune_star_quest_award()
  31311. : ::google::protobuf::Message() {
  31312. SharedCtor();
  31313. }
  31314. void packetc2w_recv_fortune_star_quest_award::InitAsDefaultInstance() {
  31315. }
  31316. packetc2w_recv_fortune_star_quest_award::packetc2w_recv_fortune_star_quest_award(const packetc2w_recv_fortune_star_quest_award& from)
  31317. : ::google::protobuf::Message() {
  31318. SharedCtor();
  31319. MergeFrom(from);
  31320. }
  31321. void packetc2w_recv_fortune_star_quest_award::SharedCtor() {
  31322. _cached_size_ = 0;
  31323. packet_id_ = 5137;
  31324. questid_ = 0;
  31325. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  31326. }
  31327. packetc2w_recv_fortune_star_quest_award::~packetc2w_recv_fortune_star_quest_award() {
  31328. SharedDtor();
  31329. }
  31330. void packetc2w_recv_fortune_star_quest_award::SharedDtor() {
  31331. if (this != default_instance_) {
  31332. }
  31333. }
  31334. void packetc2w_recv_fortune_star_quest_award::SetCachedSize(int size) const {
  31335. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31336. _cached_size_ = size;
  31337. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31338. }
  31339. const ::google::protobuf::Descriptor* packetc2w_recv_fortune_star_quest_award::descriptor() {
  31340. protobuf_AssignDescriptorsOnce();
  31341. return packetc2w_recv_fortune_star_quest_award_descriptor_;
  31342. }
  31343. const packetc2w_recv_fortune_star_quest_award& packetc2w_recv_fortune_star_quest_award::default_instance() {
  31344. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  31345. return *default_instance_;
  31346. }
  31347. packetc2w_recv_fortune_star_quest_award* packetc2w_recv_fortune_star_quest_award::default_instance_ = NULL;
  31348. packetc2w_recv_fortune_star_quest_award* packetc2w_recv_fortune_star_quest_award::New() const {
  31349. return new packetc2w_recv_fortune_star_quest_award;
  31350. }
  31351. void packetc2w_recv_fortune_star_quest_award::Clear() {
  31352. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31353. packet_id_ = 5137;
  31354. questid_ = 0;
  31355. }
  31356. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  31357. mutable_unknown_fields()->Clear();
  31358. }
  31359. bool packetc2w_recv_fortune_star_quest_award::MergePartialFromCodedStream(
  31360. ::google::protobuf::io::CodedInputStream* input) {
  31361. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  31362. ::google::protobuf::uint32 tag;
  31363. while ((tag = input->ReadTag()) != 0) {
  31364. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  31365. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_quest_award];
  31366. case 1: {
  31367. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31368. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  31369. int value;
  31370. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  31371. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  31372. input, &value)));
  31373. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  31374. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  31375. } else {
  31376. mutable_unknown_fields()->AddVarint(1, value);
  31377. }
  31378. } else {
  31379. goto handle_uninterpreted;
  31380. }
  31381. if (input->ExpectTag(16)) goto parse_questId;
  31382. break;
  31383. }
  31384. // optional int32 questId = 2;
  31385. case 2: {
  31386. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31387. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  31388. parse_questId:
  31389. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  31390. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  31391. input, &questid_)));
  31392. set_has_questid();
  31393. } else {
  31394. goto handle_uninterpreted;
  31395. }
  31396. if (input->ExpectAtEnd()) return true;
  31397. break;
  31398. }
  31399. default: {
  31400. handle_uninterpreted:
  31401. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31402. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  31403. return true;
  31404. }
  31405. DO_(::google::protobuf::internal::WireFormat::SkipField(
  31406. input, tag, mutable_unknown_fields()));
  31407. break;
  31408. }
  31409. }
  31410. }
  31411. return true;
  31412. #undef DO_
  31413. }
  31414. void packetc2w_recv_fortune_star_quest_award::SerializeWithCachedSizes(
  31415. ::google::protobuf::io::CodedOutputStream* output) const {
  31416. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_quest_award];
  31417. if (has_packet_id()) {
  31418. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  31419. 1, this->packet_id(), output);
  31420. }
  31421. // optional int32 questId = 2;
  31422. if (has_questid()) {
  31423. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  31424. }
  31425. if (!unknown_fields().empty()) {
  31426. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  31427. unknown_fields(), output);
  31428. }
  31429. }
  31430. ::google::protobuf::uint8* packetc2w_recv_fortune_star_quest_award::SerializeWithCachedSizesToArray(
  31431. ::google::protobuf::uint8* target) const {
  31432. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_quest_award];
  31433. if (has_packet_id()) {
  31434. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  31435. 1, this->packet_id(), target);
  31436. }
  31437. // optional int32 questId = 2;
  31438. if (has_questid()) {
  31439. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  31440. }
  31441. if (!unknown_fields().empty()) {
  31442. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  31443. unknown_fields(), target);
  31444. }
  31445. return target;
  31446. }
  31447. int packetc2w_recv_fortune_star_quest_award::ByteSize() const {
  31448. int total_size = 0;
  31449. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31450. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_quest_award];
  31451. if (has_packet_id()) {
  31452. total_size += 1 +
  31453. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  31454. }
  31455. // optional int32 questId = 2;
  31456. if (has_questid()) {
  31457. total_size += 1 +
  31458. ::google::protobuf::internal::WireFormatLite::Int32Size(
  31459. this->questid());
  31460. }
  31461. }
  31462. if (!unknown_fields().empty()) {
  31463. total_size +=
  31464. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  31465. unknown_fields());
  31466. }
  31467. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31468. _cached_size_ = total_size;
  31469. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31470. return total_size;
  31471. }
  31472. void packetc2w_recv_fortune_star_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  31473. GOOGLE_CHECK_NE(&from, this);
  31474. const packetc2w_recv_fortune_star_quest_award* source =
  31475. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_fortune_star_quest_award*>(
  31476. &from);
  31477. if (source == NULL) {
  31478. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  31479. } else {
  31480. MergeFrom(*source);
  31481. }
  31482. }
  31483. void packetc2w_recv_fortune_star_quest_award::MergeFrom(const packetc2w_recv_fortune_star_quest_award& from) {
  31484. GOOGLE_CHECK_NE(&from, this);
  31485. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31486. if (from.has_packet_id()) {
  31487. set_packet_id(from.packet_id());
  31488. }
  31489. if (from.has_questid()) {
  31490. set_questid(from.questid());
  31491. }
  31492. }
  31493. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  31494. }
  31495. void packetc2w_recv_fortune_star_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  31496. if (&from == this) return;
  31497. Clear();
  31498. MergeFrom(from);
  31499. }
  31500. void packetc2w_recv_fortune_star_quest_award::CopyFrom(const packetc2w_recv_fortune_star_quest_award& from) {
  31501. if (&from == this) return;
  31502. Clear();
  31503. MergeFrom(from);
  31504. }
  31505. bool packetc2w_recv_fortune_star_quest_award::IsInitialized() const {
  31506. return true;
  31507. }
  31508. void packetc2w_recv_fortune_star_quest_award::Swap(packetc2w_recv_fortune_star_quest_award* other) {
  31509. if (other != this) {
  31510. std::swap(packet_id_, other->packet_id_);
  31511. std::swap(questid_, other->questid_);
  31512. std::swap(_has_bits_[0], other->_has_bits_[0]);
  31513. _unknown_fields_.Swap(&other->_unknown_fields_);
  31514. std::swap(_cached_size_, other->_cached_size_);
  31515. }
  31516. }
  31517. ::google::protobuf::Metadata packetc2w_recv_fortune_star_quest_award::GetMetadata() const {
  31518. protobuf_AssignDescriptorsOnce();
  31519. ::google::protobuf::Metadata metadata;
  31520. metadata.descriptor = packetc2w_recv_fortune_star_quest_award_descriptor_;
  31521. metadata.reflection = packetc2w_recv_fortune_star_quest_award_reflection_;
  31522. return metadata;
  31523. }
  31524. // ===================================================================
  31525. #ifndef _MSC_VER
  31526. const int packetw2c_recv_fortune_star_quest_award_result::kPacketIdFieldNumber;
  31527. const int packetw2c_recv_fortune_star_quest_award_result::kResultFieldNumber;
  31528. const int packetw2c_recv_fortune_star_quest_award_result::kQuestIdFieldNumber;
  31529. const int packetw2c_recv_fortune_star_quest_award_result::kItemsFieldNumber;
  31530. #endif // !_MSC_VER
  31531. packetw2c_recv_fortune_star_quest_award_result::packetw2c_recv_fortune_star_quest_award_result()
  31532. : ::google::protobuf::Message() {
  31533. SharedCtor();
  31534. }
  31535. void packetw2c_recv_fortune_star_quest_award_result::InitAsDefaultInstance() {
  31536. }
  31537. packetw2c_recv_fortune_star_quest_award_result::packetw2c_recv_fortune_star_quest_award_result(const packetw2c_recv_fortune_star_quest_award_result& from)
  31538. : ::google::protobuf::Message() {
  31539. SharedCtor();
  31540. MergeFrom(from);
  31541. }
  31542. void packetw2c_recv_fortune_star_quest_award_result::SharedCtor() {
  31543. _cached_size_ = 0;
  31544. packet_id_ = 7650;
  31545. result_ = 0;
  31546. questid_ = 0;
  31547. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  31548. }
  31549. packetw2c_recv_fortune_star_quest_award_result::~packetw2c_recv_fortune_star_quest_award_result() {
  31550. SharedDtor();
  31551. }
  31552. void packetw2c_recv_fortune_star_quest_award_result::SharedDtor() {
  31553. if (this != default_instance_) {
  31554. }
  31555. }
  31556. void packetw2c_recv_fortune_star_quest_award_result::SetCachedSize(int size) const {
  31557. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31558. _cached_size_ = size;
  31559. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31560. }
  31561. const ::google::protobuf::Descriptor* packetw2c_recv_fortune_star_quest_award_result::descriptor() {
  31562. protobuf_AssignDescriptorsOnce();
  31563. return packetw2c_recv_fortune_star_quest_award_result_descriptor_;
  31564. }
  31565. const packetw2c_recv_fortune_star_quest_award_result& packetw2c_recv_fortune_star_quest_award_result::default_instance() {
  31566. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  31567. return *default_instance_;
  31568. }
  31569. packetw2c_recv_fortune_star_quest_award_result* packetw2c_recv_fortune_star_quest_award_result::default_instance_ = NULL;
  31570. packetw2c_recv_fortune_star_quest_award_result* packetw2c_recv_fortune_star_quest_award_result::New() const {
  31571. return new packetw2c_recv_fortune_star_quest_award_result;
  31572. }
  31573. void packetw2c_recv_fortune_star_quest_award_result::Clear() {
  31574. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31575. packet_id_ = 7650;
  31576. result_ = 0;
  31577. questid_ = 0;
  31578. }
  31579. items_.Clear();
  31580. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  31581. mutable_unknown_fields()->Clear();
  31582. }
  31583. bool packetw2c_recv_fortune_star_quest_award_result::MergePartialFromCodedStream(
  31584. ::google::protobuf::io::CodedInputStream* input) {
  31585. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  31586. ::google::protobuf::uint32 tag;
  31587. while ((tag = input->ReadTag()) != 0) {
  31588. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  31589. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_quest_award_result];
  31590. case 1: {
  31591. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31592. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  31593. int value;
  31594. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  31595. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  31596. input, &value)));
  31597. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  31598. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  31599. } else {
  31600. mutable_unknown_fields()->AddVarint(1, value);
  31601. }
  31602. } else {
  31603. goto handle_uninterpreted;
  31604. }
  31605. if (input->ExpectTag(16)) goto parse_result;
  31606. break;
  31607. }
  31608. // optional int32 result = 2;
  31609. case 2: {
  31610. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31611. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  31612. parse_result:
  31613. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  31614. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  31615. input, &result_)));
  31616. set_has_result();
  31617. } else {
  31618. goto handle_uninterpreted;
  31619. }
  31620. if (input->ExpectTag(24)) goto parse_questId;
  31621. break;
  31622. }
  31623. // optional int32 questId = 3;
  31624. case 3: {
  31625. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31626. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  31627. parse_questId:
  31628. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  31629. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  31630. input, &questid_)));
  31631. set_has_questid();
  31632. } else {
  31633. goto handle_uninterpreted;
  31634. }
  31635. if (input->ExpectTag(42)) goto parse_items;
  31636. break;
  31637. }
  31638. // repeated .msg_info_def.ItemInfo items = 5;
  31639. case 5: {
  31640. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31641. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  31642. parse_items:
  31643. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  31644. input, add_items()));
  31645. } else {
  31646. goto handle_uninterpreted;
  31647. }
  31648. if (input->ExpectTag(42)) goto parse_items;
  31649. if (input->ExpectAtEnd()) return true;
  31650. break;
  31651. }
  31652. default: {
  31653. handle_uninterpreted:
  31654. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31655. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  31656. return true;
  31657. }
  31658. DO_(::google::protobuf::internal::WireFormat::SkipField(
  31659. input, tag, mutable_unknown_fields()));
  31660. break;
  31661. }
  31662. }
  31663. }
  31664. return true;
  31665. #undef DO_
  31666. }
  31667. void packetw2c_recv_fortune_star_quest_award_result::SerializeWithCachedSizes(
  31668. ::google::protobuf::io::CodedOutputStream* output) const {
  31669. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_quest_award_result];
  31670. if (has_packet_id()) {
  31671. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  31672. 1, this->packet_id(), output);
  31673. }
  31674. // optional int32 result = 2;
  31675. if (has_result()) {
  31676. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  31677. }
  31678. // optional int32 questId = 3;
  31679. if (has_questid()) {
  31680. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  31681. }
  31682. // repeated .msg_info_def.ItemInfo items = 5;
  31683. for (int i = 0; i < this->items_size(); i++) {
  31684. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  31685. 5, this->items(i), output);
  31686. }
  31687. if (!unknown_fields().empty()) {
  31688. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  31689. unknown_fields(), output);
  31690. }
  31691. }
  31692. ::google::protobuf::uint8* packetw2c_recv_fortune_star_quest_award_result::SerializeWithCachedSizesToArray(
  31693. ::google::protobuf::uint8* target) const {
  31694. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_quest_award_result];
  31695. if (has_packet_id()) {
  31696. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  31697. 1, this->packet_id(), target);
  31698. }
  31699. // optional int32 result = 2;
  31700. if (has_result()) {
  31701. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  31702. }
  31703. // optional int32 questId = 3;
  31704. if (has_questid()) {
  31705. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  31706. }
  31707. // repeated .msg_info_def.ItemInfo items = 5;
  31708. for (int i = 0; i < this->items_size(); i++) {
  31709. target = ::google::protobuf::internal::WireFormatLite::
  31710. WriteMessageNoVirtualToArray(
  31711. 5, this->items(i), target);
  31712. }
  31713. if (!unknown_fields().empty()) {
  31714. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  31715. unknown_fields(), target);
  31716. }
  31717. return target;
  31718. }
  31719. int packetw2c_recv_fortune_star_quest_award_result::ByteSize() const {
  31720. int total_size = 0;
  31721. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31722. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_quest_award_result];
  31723. if (has_packet_id()) {
  31724. total_size += 1 +
  31725. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  31726. }
  31727. // optional int32 result = 2;
  31728. if (has_result()) {
  31729. total_size += 1 +
  31730. ::google::protobuf::internal::WireFormatLite::Int32Size(
  31731. this->result());
  31732. }
  31733. // optional int32 questId = 3;
  31734. if (has_questid()) {
  31735. total_size += 1 +
  31736. ::google::protobuf::internal::WireFormatLite::Int32Size(
  31737. this->questid());
  31738. }
  31739. }
  31740. // repeated .msg_info_def.ItemInfo items = 5;
  31741. total_size += 1 * this->items_size();
  31742. for (int i = 0; i < this->items_size(); i++) {
  31743. total_size +=
  31744. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  31745. this->items(i));
  31746. }
  31747. if (!unknown_fields().empty()) {
  31748. total_size +=
  31749. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  31750. unknown_fields());
  31751. }
  31752. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31753. _cached_size_ = total_size;
  31754. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31755. return total_size;
  31756. }
  31757. void packetw2c_recv_fortune_star_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  31758. GOOGLE_CHECK_NE(&from, this);
  31759. const packetw2c_recv_fortune_star_quest_award_result* source =
  31760. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_fortune_star_quest_award_result*>(
  31761. &from);
  31762. if (source == NULL) {
  31763. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  31764. } else {
  31765. MergeFrom(*source);
  31766. }
  31767. }
  31768. void packetw2c_recv_fortune_star_quest_award_result::MergeFrom(const packetw2c_recv_fortune_star_quest_award_result& from) {
  31769. GOOGLE_CHECK_NE(&from, this);
  31770. items_.MergeFrom(from.items_);
  31771. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31772. if (from.has_packet_id()) {
  31773. set_packet_id(from.packet_id());
  31774. }
  31775. if (from.has_result()) {
  31776. set_result(from.result());
  31777. }
  31778. if (from.has_questid()) {
  31779. set_questid(from.questid());
  31780. }
  31781. }
  31782. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  31783. }
  31784. void packetw2c_recv_fortune_star_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  31785. if (&from == this) return;
  31786. Clear();
  31787. MergeFrom(from);
  31788. }
  31789. void packetw2c_recv_fortune_star_quest_award_result::CopyFrom(const packetw2c_recv_fortune_star_quest_award_result& from) {
  31790. if (&from == this) return;
  31791. Clear();
  31792. MergeFrom(from);
  31793. }
  31794. bool packetw2c_recv_fortune_star_quest_award_result::IsInitialized() const {
  31795. return true;
  31796. }
  31797. void packetw2c_recv_fortune_star_quest_award_result::Swap(packetw2c_recv_fortune_star_quest_award_result* other) {
  31798. if (other != this) {
  31799. std::swap(packet_id_, other->packet_id_);
  31800. std::swap(result_, other->result_);
  31801. std::swap(questid_, other->questid_);
  31802. items_.Swap(&other->items_);
  31803. std::swap(_has_bits_[0], other->_has_bits_[0]);
  31804. _unknown_fields_.Swap(&other->_unknown_fields_);
  31805. std::swap(_cached_size_, other->_cached_size_);
  31806. }
  31807. }
  31808. ::google::protobuf::Metadata packetw2c_recv_fortune_star_quest_award_result::GetMetadata() const {
  31809. protobuf_AssignDescriptorsOnce();
  31810. ::google::protobuf::Metadata metadata;
  31811. metadata.descriptor = packetw2c_recv_fortune_star_quest_award_result_descriptor_;
  31812. metadata.reflection = packetw2c_recv_fortune_star_quest_award_result_reflection_;
  31813. return metadata;
  31814. }
  31815. // ===================================================================
  31816. #ifndef _MSC_VER
  31817. const int packetc2w_recv_fortune_star_award::kPacketIdFieldNumber;
  31818. const int packetc2w_recv_fortune_star_award::kIndexFieldNumber;
  31819. #endif // !_MSC_VER
  31820. packetc2w_recv_fortune_star_award::packetc2w_recv_fortune_star_award()
  31821. : ::google::protobuf::Message() {
  31822. SharedCtor();
  31823. }
  31824. void packetc2w_recv_fortune_star_award::InitAsDefaultInstance() {
  31825. }
  31826. packetc2w_recv_fortune_star_award::packetc2w_recv_fortune_star_award(const packetc2w_recv_fortune_star_award& from)
  31827. : ::google::protobuf::Message() {
  31828. SharedCtor();
  31829. MergeFrom(from);
  31830. }
  31831. void packetc2w_recv_fortune_star_award::SharedCtor() {
  31832. _cached_size_ = 0;
  31833. packet_id_ = 5190;
  31834. index_ = 0;
  31835. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  31836. }
  31837. packetc2w_recv_fortune_star_award::~packetc2w_recv_fortune_star_award() {
  31838. SharedDtor();
  31839. }
  31840. void packetc2w_recv_fortune_star_award::SharedDtor() {
  31841. if (this != default_instance_) {
  31842. }
  31843. }
  31844. void packetc2w_recv_fortune_star_award::SetCachedSize(int size) const {
  31845. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31846. _cached_size_ = size;
  31847. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31848. }
  31849. const ::google::protobuf::Descriptor* packetc2w_recv_fortune_star_award::descriptor() {
  31850. protobuf_AssignDescriptorsOnce();
  31851. return packetc2w_recv_fortune_star_award_descriptor_;
  31852. }
  31853. const packetc2w_recv_fortune_star_award& packetc2w_recv_fortune_star_award::default_instance() {
  31854. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  31855. return *default_instance_;
  31856. }
  31857. packetc2w_recv_fortune_star_award* packetc2w_recv_fortune_star_award::default_instance_ = NULL;
  31858. packetc2w_recv_fortune_star_award* packetc2w_recv_fortune_star_award::New() const {
  31859. return new packetc2w_recv_fortune_star_award;
  31860. }
  31861. void packetc2w_recv_fortune_star_award::Clear() {
  31862. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31863. packet_id_ = 5190;
  31864. index_ = 0;
  31865. }
  31866. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  31867. mutable_unknown_fields()->Clear();
  31868. }
  31869. bool packetc2w_recv_fortune_star_award::MergePartialFromCodedStream(
  31870. ::google::protobuf::io::CodedInputStream* input) {
  31871. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  31872. ::google::protobuf::uint32 tag;
  31873. while ((tag = input->ReadTag()) != 0) {
  31874. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  31875. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_award];
  31876. case 1: {
  31877. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31878. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  31879. int value;
  31880. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  31881. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  31882. input, &value)));
  31883. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  31884. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  31885. } else {
  31886. mutable_unknown_fields()->AddVarint(1, value);
  31887. }
  31888. } else {
  31889. goto handle_uninterpreted;
  31890. }
  31891. if (input->ExpectTag(16)) goto parse_index;
  31892. break;
  31893. }
  31894. // optional int32 index = 2;
  31895. case 2: {
  31896. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31897. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  31898. parse_index:
  31899. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  31900. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  31901. input, &index_)));
  31902. set_has_index();
  31903. } else {
  31904. goto handle_uninterpreted;
  31905. }
  31906. if (input->ExpectAtEnd()) return true;
  31907. break;
  31908. }
  31909. default: {
  31910. handle_uninterpreted:
  31911. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  31912. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  31913. return true;
  31914. }
  31915. DO_(::google::protobuf::internal::WireFormat::SkipField(
  31916. input, tag, mutable_unknown_fields()));
  31917. break;
  31918. }
  31919. }
  31920. }
  31921. return true;
  31922. #undef DO_
  31923. }
  31924. void packetc2w_recv_fortune_star_award::SerializeWithCachedSizes(
  31925. ::google::protobuf::io::CodedOutputStream* output) const {
  31926. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_award];
  31927. if (has_packet_id()) {
  31928. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  31929. 1, this->packet_id(), output);
  31930. }
  31931. // optional int32 index = 2;
  31932. if (has_index()) {
  31933. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  31934. }
  31935. if (!unknown_fields().empty()) {
  31936. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  31937. unknown_fields(), output);
  31938. }
  31939. }
  31940. ::google::protobuf::uint8* packetc2w_recv_fortune_star_award::SerializeWithCachedSizesToArray(
  31941. ::google::protobuf::uint8* target) const {
  31942. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_award];
  31943. if (has_packet_id()) {
  31944. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  31945. 1, this->packet_id(), target);
  31946. }
  31947. // optional int32 index = 2;
  31948. if (has_index()) {
  31949. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  31950. }
  31951. if (!unknown_fields().empty()) {
  31952. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  31953. unknown_fields(), target);
  31954. }
  31955. return target;
  31956. }
  31957. int packetc2w_recv_fortune_star_award::ByteSize() const {
  31958. int total_size = 0;
  31959. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31960. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_award];
  31961. if (has_packet_id()) {
  31962. total_size += 1 +
  31963. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  31964. }
  31965. // optional int32 index = 2;
  31966. if (has_index()) {
  31967. total_size += 1 +
  31968. ::google::protobuf::internal::WireFormatLite::Int32Size(
  31969. this->index());
  31970. }
  31971. }
  31972. if (!unknown_fields().empty()) {
  31973. total_size +=
  31974. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  31975. unknown_fields());
  31976. }
  31977. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  31978. _cached_size_ = total_size;
  31979. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  31980. return total_size;
  31981. }
  31982. void packetc2w_recv_fortune_star_award::MergeFrom(const ::google::protobuf::Message& from) {
  31983. GOOGLE_CHECK_NE(&from, this);
  31984. const packetc2w_recv_fortune_star_award* source =
  31985. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_fortune_star_award*>(
  31986. &from);
  31987. if (source == NULL) {
  31988. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  31989. } else {
  31990. MergeFrom(*source);
  31991. }
  31992. }
  31993. void packetc2w_recv_fortune_star_award::MergeFrom(const packetc2w_recv_fortune_star_award& from) {
  31994. GOOGLE_CHECK_NE(&from, this);
  31995. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  31996. if (from.has_packet_id()) {
  31997. set_packet_id(from.packet_id());
  31998. }
  31999. if (from.has_index()) {
  32000. set_index(from.index());
  32001. }
  32002. }
  32003. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  32004. }
  32005. void packetc2w_recv_fortune_star_award::CopyFrom(const ::google::protobuf::Message& from) {
  32006. if (&from == this) return;
  32007. Clear();
  32008. MergeFrom(from);
  32009. }
  32010. void packetc2w_recv_fortune_star_award::CopyFrom(const packetc2w_recv_fortune_star_award& from) {
  32011. if (&from == this) return;
  32012. Clear();
  32013. MergeFrom(from);
  32014. }
  32015. bool packetc2w_recv_fortune_star_award::IsInitialized() const {
  32016. return true;
  32017. }
  32018. void packetc2w_recv_fortune_star_award::Swap(packetc2w_recv_fortune_star_award* other) {
  32019. if (other != this) {
  32020. std::swap(packet_id_, other->packet_id_);
  32021. std::swap(index_, other->index_);
  32022. std::swap(_has_bits_[0], other->_has_bits_[0]);
  32023. _unknown_fields_.Swap(&other->_unknown_fields_);
  32024. std::swap(_cached_size_, other->_cached_size_);
  32025. }
  32026. }
  32027. ::google::protobuf::Metadata packetc2w_recv_fortune_star_award::GetMetadata() const {
  32028. protobuf_AssignDescriptorsOnce();
  32029. ::google::protobuf::Metadata metadata;
  32030. metadata.descriptor = packetc2w_recv_fortune_star_award_descriptor_;
  32031. metadata.reflection = packetc2w_recv_fortune_star_award_reflection_;
  32032. return metadata;
  32033. }
  32034. // ===================================================================
  32035. #ifndef _MSC_VER
  32036. const int packetw2c_recv_fortune_star_award_result::kPacketIdFieldNumber;
  32037. const int packetw2c_recv_fortune_star_award_result::kResultFieldNumber;
  32038. const int packetw2c_recv_fortune_star_award_result::kIndexFieldNumber;
  32039. const int packetw2c_recv_fortune_star_award_result::kMyFortuneStarFieldNumber;
  32040. #endif // !_MSC_VER
  32041. packetw2c_recv_fortune_star_award_result::packetw2c_recv_fortune_star_award_result()
  32042. : ::google::protobuf::Message() {
  32043. SharedCtor();
  32044. }
  32045. void packetw2c_recv_fortune_star_award_result::InitAsDefaultInstance() {
  32046. }
  32047. packetw2c_recv_fortune_star_award_result::packetw2c_recv_fortune_star_award_result(const packetw2c_recv_fortune_star_award_result& from)
  32048. : ::google::protobuf::Message() {
  32049. SharedCtor();
  32050. MergeFrom(from);
  32051. }
  32052. void packetw2c_recv_fortune_star_award_result::SharedCtor() {
  32053. _cached_size_ = 0;
  32054. packet_id_ = 7648;
  32055. result_ = 0;
  32056. index_ = 0;
  32057. myfortunestar_ = 0;
  32058. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  32059. }
  32060. packetw2c_recv_fortune_star_award_result::~packetw2c_recv_fortune_star_award_result() {
  32061. SharedDtor();
  32062. }
  32063. void packetw2c_recv_fortune_star_award_result::SharedDtor() {
  32064. if (this != default_instance_) {
  32065. }
  32066. }
  32067. void packetw2c_recv_fortune_star_award_result::SetCachedSize(int size) const {
  32068. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  32069. _cached_size_ = size;
  32070. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  32071. }
  32072. const ::google::protobuf::Descriptor* packetw2c_recv_fortune_star_award_result::descriptor() {
  32073. protobuf_AssignDescriptorsOnce();
  32074. return packetw2c_recv_fortune_star_award_result_descriptor_;
  32075. }
  32076. const packetw2c_recv_fortune_star_award_result& packetw2c_recv_fortune_star_award_result::default_instance() {
  32077. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  32078. return *default_instance_;
  32079. }
  32080. packetw2c_recv_fortune_star_award_result* packetw2c_recv_fortune_star_award_result::default_instance_ = NULL;
  32081. packetw2c_recv_fortune_star_award_result* packetw2c_recv_fortune_star_award_result::New() const {
  32082. return new packetw2c_recv_fortune_star_award_result;
  32083. }
  32084. void packetw2c_recv_fortune_star_award_result::Clear() {
  32085. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32086. packet_id_ = 7648;
  32087. result_ = 0;
  32088. index_ = 0;
  32089. myfortunestar_ = 0;
  32090. }
  32091. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  32092. mutable_unknown_fields()->Clear();
  32093. }
  32094. bool packetw2c_recv_fortune_star_award_result::MergePartialFromCodedStream(
  32095. ::google::protobuf::io::CodedInputStream* input) {
  32096. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  32097. ::google::protobuf::uint32 tag;
  32098. while ((tag = input->ReadTag()) != 0) {
  32099. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  32100. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_award_result];
  32101. case 1: {
  32102. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32103. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32104. int value;
  32105. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32106. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  32107. input, &value)));
  32108. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  32109. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  32110. } else {
  32111. mutable_unknown_fields()->AddVarint(1, value);
  32112. }
  32113. } else {
  32114. goto handle_uninterpreted;
  32115. }
  32116. if (input->ExpectTag(16)) goto parse_result;
  32117. break;
  32118. }
  32119. // optional int32 result = 2;
  32120. case 2: {
  32121. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32122. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32123. parse_result:
  32124. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32125. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32126. input, &result_)));
  32127. set_has_result();
  32128. } else {
  32129. goto handle_uninterpreted;
  32130. }
  32131. if (input->ExpectTag(24)) goto parse_index;
  32132. break;
  32133. }
  32134. // optional int32 index = 3;
  32135. case 3: {
  32136. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32137. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32138. parse_index:
  32139. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32140. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32141. input, &index_)));
  32142. set_has_index();
  32143. } else {
  32144. goto handle_uninterpreted;
  32145. }
  32146. if (input->ExpectTag(32)) goto parse_myFortuneStar;
  32147. break;
  32148. }
  32149. // optional int32 myFortuneStar = 4;
  32150. case 4: {
  32151. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32152. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32153. parse_myFortuneStar:
  32154. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32155. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32156. input, &myfortunestar_)));
  32157. set_has_myfortunestar();
  32158. } else {
  32159. goto handle_uninterpreted;
  32160. }
  32161. if (input->ExpectAtEnd()) return true;
  32162. break;
  32163. }
  32164. default: {
  32165. handle_uninterpreted:
  32166. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32167. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  32168. return true;
  32169. }
  32170. DO_(::google::protobuf::internal::WireFormat::SkipField(
  32171. input, tag, mutable_unknown_fields()));
  32172. break;
  32173. }
  32174. }
  32175. }
  32176. return true;
  32177. #undef DO_
  32178. }
  32179. void packetw2c_recv_fortune_star_award_result::SerializeWithCachedSizes(
  32180. ::google::protobuf::io::CodedOutputStream* output) const {
  32181. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_award_result];
  32182. if (has_packet_id()) {
  32183. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  32184. 1, this->packet_id(), output);
  32185. }
  32186. // optional int32 result = 2;
  32187. if (has_result()) {
  32188. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  32189. }
  32190. // optional int32 index = 3;
  32191. if (has_index()) {
  32192. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  32193. }
  32194. // optional int32 myFortuneStar = 4;
  32195. if (has_myfortunestar()) {
  32196. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myfortunestar(), output);
  32197. }
  32198. if (!unknown_fields().empty()) {
  32199. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  32200. unknown_fields(), output);
  32201. }
  32202. }
  32203. ::google::protobuf::uint8* packetw2c_recv_fortune_star_award_result::SerializeWithCachedSizesToArray(
  32204. ::google::protobuf::uint8* target) const {
  32205. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_award_result];
  32206. if (has_packet_id()) {
  32207. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  32208. 1, this->packet_id(), target);
  32209. }
  32210. // optional int32 result = 2;
  32211. if (has_result()) {
  32212. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  32213. }
  32214. // optional int32 index = 3;
  32215. if (has_index()) {
  32216. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  32217. }
  32218. // optional int32 myFortuneStar = 4;
  32219. if (has_myfortunestar()) {
  32220. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myfortunestar(), target);
  32221. }
  32222. if (!unknown_fields().empty()) {
  32223. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  32224. unknown_fields(), target);
  32225. }
  32226. return target;
  32227. }
  32228. int packetw2c_recv_fortune_star_award_result::ByteSize() const {
  32229. int total_size = 0;
  32230. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32231. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_award_result];
  32232. if (has_packet_id()) {
  32233. total_size += 1 +
  32234. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  32235. }
  32236. // optional int32 result = 2;
  32237. if (has_result()) {
  32238. total_size += 1 +
  32239. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32240. this->result());
  32241. }
  32242. // optional int32 index = 3;
  32243. if (has_index()) {
  32244. total_size += 1 +
  32245. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32246. this->index());
  32247. }
  32248. // optional int32 myFortuneStar = 4;
  32249. if (has_myfortunestar()) {
  32250. total_size += 1 +
  32251. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32252. this->myfortunestar());
  32253. }
  32254. }
  32255. if (!unknown_fields().empty()) {
  32256. total_size +=
  32257. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  32258. unknown_fields());
  32259. }
  32260. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  32261. _cached_size_ = total_size;
  32262. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  32263. return total_size;
  32264. }
  32265. void packetw2c_recv_fortune_star_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  32266. GOOGLE_CHECK_NE(&from, this);
  32267. const packetw2c_recv_fortune_star_award_result* source =
  32268. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_fortune_star_award_result*>(
  32269. &from);
  32270. if (source == NULL) {
  32271. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  32272. } else {
  32273. MergeFrom(*source);
  32274. }
  32275. }
  32276. void packetw2c_recv_fortune_star_award_result::MergeFrom(const packetw2c_recv_fortune_star_award_result& from) {
  32277. GOOGLE_CHECK_NE(&from, this);
  32278. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32279. if (from.has_packet_id()) {
  32280. set_packet_id(from.packet_id());
  32281. }
  32282. if (from.has_result()) {
  32283. set_result(from.result());
  32284. }
  32285. if (from.has_index()) {
  32286. set_index(from.index());
  32287. }
  32288. if (from.has_myfortunestar()) {
  32289. set_myfortunestar(from.myfortunestar());
  32290. }
  32291. }
  32292. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  32293. }
  32294. void packetw2c_recv_fortune_star_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  32295. if (&from == this) return;
  32296. Clear();
  32297. MergeFrom(from);
  32298. }
  32299. void packetw2c_recv_fortune_star_award_result::CopyFrom(const packetw2c_recv_fortune_star_award_result& from) {
  32300. if (&from == this) return;
  32301. Clear();
  32302. MergeFrom(from);
  32303. }
  32304. bool packetw2c_recv_fortune_star_award_result::IsInitialized() const {
  32305. return true;
  32306. }
  32307. void packetw2c_recv_fortune_star_award_result::Swap(packetw2c_recv_fortune_star_award_result* other) {
  32308. if (other != this) {
  32309. std::swap(packet_id_, other->packet_id_);
  32310. std::swap(result_, other->result_);
  32311. std::swap(index_, other->index_);
  32312. std::swap(myfortunestar_, other->myfortunestar_);
  32313. std::swap(_has_bits_[0], other->_has_bits_[0]);
  32314. _unknown_fields_.Swap(&other->_unknown_fields_);
  32315. std::swap(_cached_size_, other->_cached_size_);
  32316. }
  32317. }
  32318. ::google::protobuf::Metadata packetw2c_recv_fortune_star_award_result::GetMetadata() const {
  32319. protobuf_AssignDescriptorsOnce();
  32320. ::google::protobuf::Metadata metadata;
  32321. metadata.descriptor = packetw2c_recv_fortune_star_award_result_descriptor_;
  32322. metadata.reflection = packetw2c_recv_fortune_star_award_result_reflection_;
  32323. return metadata;
  32324. }
  32325. // ===================================================================
  32326. #ifndef _MSC_VER
  32327. const int activity_rank::kNickNameFieldNumber;
  32328. const int activity_rank::kPlayerIdFieldNumber;
  32329. const int activity_rank::kVipFieldNumber;
  32330. const int activity_rank::kHeadidFieldNumber;
  32331. const int activity_rank::kFrameidFieldNumber;
  32332. const int activity_rank::kScoreFieldNumber;
  32333. const int activity_rank::kRankFieldNumber;
  32334. #endif // !_MSC_VER
  32335. activity_rank::activity_rank()
  32336. : ::google::protobuf::Message() {
  32337. SharedCtor();
  32338. }
  32339. void activity_rank::InitAsDefaultInstance() {
  32340. }
  32341. activity_rank::activity_rank(const activity_rank& from)
  32342. : ::google::protobuf::Message() {
  32343. SharedCtor();
  32344. MergeFrom(from);
  32345. }
  32346. void activity_rank::SharedCtor() {
  32347. _cached_size_ = 0;
  32348. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  32349. playerid_ = 0;
  32350. vip_ = 0;
  32351. headid_ = 0;
  32352. frameid_ = 0;
  32353. score_ = 0;
  32354. rank_ = 0;
  32355. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  32356. }
  32357. activity_rank::~activity_rank() {
  32358. SharedDtor();
  32359. }
  32360. void activity_rank::SharedDtor() {
  32361. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  32362. delete nickname_;
  32363. }
  32364. if (this != default_instance_) {
  32365. }
  32366. }
  32367. void activity_rank::SetCachedSize(int size) const {
  32368. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  32369. _cached_size_ = size;
  32370. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  32371. }
  32372. const ::google::protobuf::Descriptor* activity_rank::descriptor() {
  32373. protobuf_AssignDescriptorsOnce();
  32374. return activity_rank_descriptor_;
  32375. }
  32376. const activity_rank& activity_rank::default_instance() {
  32377. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  32378. return *default_instance_;
  32379. }
  32380. activity_rank* activity_rank::default_instance_ = NULL;
  32381. activity_rank* activity_rank::New() const {
  32382. return new activity_rank;
  32383. }
  32384. void activity_rank::Clear() {
  32385. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32386. if (has_nickname()) {
  32387. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  32388. nickname_->clear();
  32389. }
  32390. }
  32391. playerid_ = 0;
  32392. vip_ = 0;
  32393. headid_ = 0;
  32394. frameid_ = 0;
  32395. score_ = 0;
  32396. rank_ = 0;
  32397. }
  32398. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  32399. mutable_unknown_fields()->Clear();
  32400. }
  32401. bool activity_rank::MergePartialFromCodedStream(
  32402. ::google::protobuf::io::CodedInputStream* input) {
  32403. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  32404. ::google::protobuf::uint32 tag;
  32405. while ((tag = input->ReadTag()) != 0) {
  32406. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  32407. // optional string nickName = 1;
  32408. case 1: {
  32409. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32410. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  32411. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  32412. input, this->mutable_nickname()));
  32413. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32414. this->nickname().data(), this->nickname().length(),
  32415. ::google::protobuf::internal::WireFormat::PARSE);
  32416. } else {
  32417. goto handle_uninterpreted;
  32418. }
  32419. if (input->ExpectTag(16)) goto parse_playerId;
  32420. break;
  32421. }
  32422. // optional int32 playerId = 2;
  32423. case 2: {
  32424. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32425. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32426. parse_playerId:
  32427. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32428. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32429. input, &playerid_)));
  32430. set_has_playerid();
  32431. } else {
  32432. goto handle_uninterpreted;
  32433. }
  32434. if (input->ExpectTag(24)) goto parse_vip;
  32435. break;
  32436. }
  32437. // optional int32 vip = 3;
  32438. case 3: {
  32439. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32440. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32441. parse_vip:
  32442. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32443. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32444. input, &vip_)));
  32445. set_has_vip();
  32446. } else {
  32447. goto handle_uninterpreted;
  32448. }
  32449. if (input->ExpectTag(32)) goto parse_headid;
  32450. break;
  32451. }
  32452. // optional int32 headid = 4;
  32453. case 4: {
  32454. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32455. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32456. parse_headid:
  32457. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32458. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32459. input, &headid_)));
  32460. set_has_headid();
  32461. } else {
  32462. goto handle_uninterpreted;
  32463. }
  32464. if (input->ExpectTag(40)) goto parse_frameid;
  32465. break;
  32466. }
  32467. // optional int32 frameid = 5;
  32468. case 5: {
  32469. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32470. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32471. parse_frameid:
  32472. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32473. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32474. input, &frameid_)));
  32475. set_has_frameid();
  32476. } else {
  32477. goto handle_uninterpreted;
  32478. }
  32479. if (input->ExpectTag(48)) goto parse_score;
  32480. break;
  32481. }
  32482. // optional int32 score = 6;
  32483. case 6: {
  32484. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32485. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32486. parse_score:
  32487. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32488. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32489. input, &score_)));
  32490. set_has_score();
  32491. } else {
  32492. goto handle_uninterpreted;
  32493. }
  32494. if (input->ExpectTag(56)) goto parse_rank;
  32495. break;
  32496. }
  32497. // optional int32 rank = 7;
  32498. case 7: {
  32499. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32500. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32501. parse_rank:
  32502. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32503. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32504. input, &rank_)));
  32505. set_has_rank();
  32506. } else {
  32507. goto handle_uninterpreted;
  32508. }
  32509. if (input->ExpectAtEnd()) return true;
  32510. break;
  32511. }
  32512. default: {
  32513. handle_uninterpreted:
  32514. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32515. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  32516. return true;
  32517. }
  32518. DO_(::google::protobuf::internal::WireFormat::SkipField(
  32519. input, tag, mutable_unknown_fields()));
  32520. break;
  32521. }
  32522. }
  32523. }
  32524. return true;
  32525. #undef DO_
  32526. }
  32527. void activity_rank::SerializeWithCachedSizes(
  32528. ::google::protobuf::io::CodedOutputStream* output) const {
  32529. // optional string nickName = 1;
  32530. if (has_nickname()) {
  32531. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32532. this->nickname().data(), this->nickname().length(),
  32533. ::google::protobuf::internal::WireFormat::SERIALIZE);
  32534. ::google::protobuf::internal::WireFormatLite::WriteString(
  32535. 1, this->nickname(), output);
  32536. }
  32537. // optional int32 playerId = 2;
  32538. if (has_playerid()) {
  32539. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  32540. }
  32541. // optional int32 vip = 3;
  32542. if (has_vip()) {
  32543. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->vip(), output);
  32544. }
  32545. // optional int32 headid = 4;
  32546. if (has_headid()) {
  32547. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->headid(), output);
  32548. }
  32549. // optional int32 frameid = 5;
  32550. if (has_frameid()) {
  32551. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->frameid(), output);
  32552. }
  32553. // optional int32 score = 6;
  32554. if (has_score()) {
  32555. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->score(), output);
  32556. }
  32557. // optional int32 rank = 7;
  32558. if (has_rank()) {
  32559. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->rank(), output);
  32560. }
  32561. if (!unknown_fields().empty()) {
  32562. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  32563. unknown_fields(), output);
  32564. }
  32565. }
  32566. ::google::protobuf::uint8* activity_rank::SerializeWithCachedSizesToArray(
  32567. ::google::protobuf::uint8* target) const {
  32568. // optional string nickName = 1;
  32569. if (has_nickname()) {
  32570. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32571. this->nickname().data(), this->nickname().length(),
  32572. ::google::protobuf::internal::WireFormat::SERIALIZE);
  32573. target =
  32574. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  32575. 1, this->nickname(), target);
  32576. }
  32577. // optional int32 playerId = 2;
  32578. if (has_playerid()) {
  32579. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  32580. }
  32581. // optional int32 vip = 3;
  32582. if (has_vip()) {
  32583. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->vip(), target);
  32584. }
  32585. // optional int32 headid = 4;
  32586. if (has_headid()) {
  32587. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->headid(), target);
  32588. }
  32589. // optional int32 frameid = 5;
  32590. if (has_frameid()) {
  32591. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->frameid(), target);
  32592. }
  32593. // optional int32 score = 6;
  32594. if (has_score()) {
  32595. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->score(), target);
  32596. }
  32597. // optional int32 rank = 7;
  32598. if (has_rank()) {
  32599. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->rank(), target);
  32600. }
  32601. if (!unknown_fields().empty()) {
  32602. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  32603. unknown_fields(), target);
  32604. }
  32605. return target;
  32606. }
  32607. int activity_rank::ByteSize() const {
  32608. int total_size = 0;
  32609. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32610. // optional string nickName = 1;
  32611. if (has_nickname()) {
  32612. total_size += 1 +
  32613. ::google::protobuf::internal::WireFormatLite::StringSize(
  32614. this->nickname());
  32615. }
  32616. // optional int32 playerId = 2;
  32617. if (has_playerid()) {
  32618. total_size += 1 +
  32619. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32620. this->playerid());
  32621. }
  32622. // optional int32 vip = 3;
  32623. if (has_vip()) {
  32624. total_size += 1 +
  32625. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32626. this->vip());
  32627. }
  32628. // optional int32 headid = 4;
  32629. if (has_headid()) {
  32630. total_size += 1 +
  32631. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32632. this->headid());
  32633. }
  32634. // optional int32 frameid = 5;
  32635. if (has_frameid()) {
  32636. total_size += 1 +
  32637. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32638. this->frameid());
  32639. }
  32640. // optional int32 score = 6;
  32641. if (has_score()) {
  32642. total_size += 1 +
  32643. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32644. this->score());
  32645. }
  32646. // optional int32 rank = 7;
  32647. if (has_rank()) {
  32648. total_size += 1 +
  32649. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32650. this->rank());
  32651. }
  32652. }
  32653. if (!unknown_fields().empty()) {
  32654. total_size +=
  32655. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  32656. unknown_fields());
  32657. }
  32658. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  32659. _cached_size_ = total_size;
  32660. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  32661. return total_size;
  32662. }
  32663. void activity_rank::MergeFrom(const ::google::protobuf::Message& from) {
  32664. GOOGLE_CHECK_NE(&from, this);
  32665. const activity_rank* source =
  32666. ::google::protobuf::internal::dynamic_cast_if_available<const activity_rank*>(
  32667. &from);
  32668. if (source == NULL) {
  32669. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  32670. } else {
  32671. MergeFrom(*source);
  32672. }
  32673. }
  32674. void activity_rank::MergeFrom(const activity_rank& from) {
  32675. GOOGLE_CHECK_NE(&from, this);
  32676. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32677. if (from.has_nickname()) {
  32678. set_nickname(from.nickname());
  32679. }
  32680. if (from.has_playerid()) {
  32681. set_playerid(from.playerid());
  32682. }
  32683. if (from.has_vip()) {
  32684. set_vip(from.vip());
  32685. }
  32686. if (from.has_headid()) {
  32687. set_headid(from.headid());
  32688. }
  32689. if (from.has_frameid()) {
  32690. set_frameid(from.frameid());
  32691. }
  32692. if (from.has_score()) {
  32693. set_score(from.score());
  32694. }
  32695. if (from.has_rank()) {
  32696. set_rank(from.rank());
  32697. }
  32698. }
  32699. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  32700. }
  32701. void activity_rank::CopyFrom(const ::google::protobuf::Message& from) {
  32702. if (&from == this) return;
  32703. Clear();
  32704. MergeFrom(from);
  32705. }
  32706. void activity_rank::CopyFrom(const activity_rank& from) {
  32707. if (&from == this) return;
  32708. Clear();
  32709. MergeFrom(from);
  32710. }
  32711. bool activity_rank::IsInitialized() const {
  32712. return true;
  32713. }
  32714. void activity_rank::Swap(activity_rank* other) {
  32715. if (other != this) {
  32716. std::swap(nickname_, other->nickname_);
  32717. std::swap(playerid_, other->playerid_);
  32718. std::swap(vip_, other->vip_);
  32719. std::swap(headid_, other->headid_);
  32720. std::swap(frameid_, other->frameid_);
  32721. std::swap(score_, other->score_);
  32722. std::swap(rank_, other->rank_);
  32723. std::swap(_has_bits_[0], other->_has_bits_[0]);
  32724. _unknown_fields_.Swap(&other->_unknown_fields_);
  32725. std::swap(_cached_size_, other->_cached_size_);
  32726. }
  32727. }
  32728. ::google::protobuf::Metadata activity_rank::GetMetadata() const {
  32729. protobuf_AssignDescriptorsOnce();
  32730. ::google::protobuf::Metadata metadata;
  32731. metadata.descriptor = activity_rank_descriptor_;
  32732. metadata.reflection = activity_rank_reflection_;
  32733. return metadata;
  32734. }
  32735. // ===================================================================
  32736. #ifndef _MSC_VER
  32737. const int personal_tailor_lottery_history::kNickNameFieldNumber;
  32738. const int personal_tailor_lottery_history::kItemNameFieldNumber;
  32739. const int personal_tailor_lottery_history::kCountFieldNumber;
  32740. #endif // !_MSC_VER
  32741. personal_tailor_lottery_history::personal_tailor_lottery_history()
  32742. : ::google::protobuf::Message() {
  32743. SharedCtor();
  32744. }
  32745. void personal_tailor_lottery_history::InitAsDefaultInstance() {
  32746. }
  32747. personal_tailor_lottery_history::personal_tailor_lottery_history(const personal_tailor_lottery_history& from)
  32748. : ::google::protobuf::Message() {
  32749. SharedCtor();
  32750. MergeFrom(from);
  32751. }
  32752. void personal_tailor_lottery_history::SharedCtor() {
  32753. _cached_size_ = 0;
  32754. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  32755. itemname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  32756. count_ = 0;
  32757. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  32758. }
  32759. personal_tailor_lottery_history::~personal_tailor_lottery_history() {
  32760. SharedDtor();
  32761. }
  32762. void personal_tailor_lottery_history::SharedDtor() {
  32763. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  32764. delete nickname_;
  32765. }
  32766. if (itemname_ != &::google::protobuf::internal::kEmptyString) {
  32767. delete itemname_;
  32768. }
  32769. if (this != default_instance_) {
  32770. }
  32771. }
  32772. void personal_tailor_lottery_history::SetCachedSize(int size) const {
  32773. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  32774. _cached_size_ = size;
  32775. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  32776. }
  32777. const ::google::protobuf::Descriptor* personal_tailor_lottery_history::descriptor() {
  32778. protobuf_AssignDescriptorsOnce();
  32779. return personal_tailor_lottery_history_descriptor_;
  32780. }
  32781. const personal_tailor_lottery_history& personal_tailor_lottery_history::default_instance() {
  32782. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  32783. return *default_instance_;
  32784. }
  32785. personal_tailor_lottery_history* personal_tailor_lottery_history::default_instance_ = NULL;
  32786. personal_tailor_lottery_history* personal_tailor_lottery_history::New() const {
  32787. return new personal_tailor_lottery_history;
  32788. }
  32789. void personal_tailor_lottery_history::Clear() {
  32790. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32791. if (has_nickname()) {
  32792. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  32793. nickname_->clear();
  32794. }
  32795. }
  32796. if (has_itemname()) {
  32797. if (itemname_ != &::google::protobuf::internal::kEmptyString) {
  32798. itemname_->clear();
  32799. }
  32800. }
  32801. count_ = 0;
  32802. }
  32803. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  32804. mutable_unknown_fields()->Clear();
  32805. }
  32806. bool personal_tailor_lottery_history::MergePartialFromCodedStream(
  32807. ::google::protobuf::io::CodedInputStream* input) {
  32808. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  32809. ::google::protobuf::uint32 tag;
  32810. while ((tag = input->ReadTag()) != 0) {
  32811. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  32812. // optional string nickName = 1;
  32813. case 1: {
  32814. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32815. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  32816. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  32817. input, this->mutable_nickname()));
  32818. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32819. this->nickname().data(), this->nickname().length(),
  32820. ::google::protobuf::internal::WireFormat::PARSE);
  32821. } else {
  32822. goto handle_uninterpreted;
  32823. }
  32824. if (input->ExpectTag(18)) goto parse_itemName;
  32825. break;
  32826. }
  32827. // optional string itemName = 2;
  32828. case 2: {
  32829. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32830. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  32831. parse_itemName:
  32832. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  32833. input, this->mutable_itemname()));
  32834. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32835. this->itemname().data(), this->itemname().length(),
  32836. ::google::protobuf::internal::WireFormat::PARSE);
  32837. } else {
  32838. goto handle_uninterpreted;
  32839. }
  32840. if (input->ExpectTag(24)) goto parse_count;
  32841. break;
  32842. }
  32843. // optional int32 count = 3;
  32844. case 3: {
  32845. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32846. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  32847. parse_count:
  32848. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  32849. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  32850. input, &count_)));
  32851. set_has_count();
  32852. } else {
  32853. goto handle_uninterpreted;
  32854. }
  32855. if (input->ExpectAtEnd()) return true;
  32856. break;
  32857. }
  32858. default: {
  32859. handle_uninterpreted:
  32860. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  32861. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  32862. return true;
  32863. }
  32864. DO_(::google::protobuf::internal::WireFormat::SkipField(
  32865. input, tag, mutable_unknown_fields()));
  32866. break;
  32867. }
  32868. }
  32869. }
  32870. return true;
  32871. #undef DO_
  32872. }
  32873. void personal_tailor_lottery_history::SerializeWithCachedSizes(
  32874. ::google::protobuf::io::CodedOutputStream* output) const {
  32875. // optional string nickName = 1;
  32876. if (has_nickname()) {
  32877. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32878. this->nickname().data(), this->nickname().length(),
  32879. ::google::protobuf::internal::WireFormat::SERIALIZE);
  32880. ::google::protobuf::internal::WireFormatLite::WriteString(
  32881. 1, this->nickname(), output);
  32882. }
  32883. // optional string itemName = 2;
  32884. if (has_itemname()) {
  32885. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32886. this->itemname().data(), this->itemname().length(),
  32887. ::google::protobuf::internal::WireFormat::SERIALIZE);
  32888. ::google::protobuf::internal::WireFormatLite::WriteString(
  32889. 2, this->itemname(), output);
  32890. }
  32891. // optional int32 count = 3;
  32892. if (has_count()) {
  32893. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  32894. }
  32895. if (!unknown_fields().empty()) {
  32896. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  32897. unknown_fields(), output);
  32898. }
  32899. }
  32900. ::google::protobuf::uint8* personal_tailor_lottery_history::SerializeWithCachedSizesToArray(
  32901. ::google::protobuf::uint8* target) const {
  32902. // optional string nickName = 1;
  32903. if (has_nickname()) {
  32904. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32905. this->nickname().data(), this->nickname().length(),
  32906. ::google::protobuf::internal::WireFormat::SERIALIZE);
  32907. target =
  32908. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  32909. 1, this->nickname(), target);
  32910. }
  32911. // optional string itemName = 2;
  32912. if (has_itemname()) {
  32913. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  32914. this->itemname().data(), this->itemname().length(),
  32915. ::google::protobuf::internal::WireFormat::SERIALIZE);
  32916. target =
  32917. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  32918. 2, this->itemname(), target);
  32919. }
  32920. // optional int32 count = 3;
  32921. if (has_count()) {
  32922. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  32923. }
  32924. if (!unknown_fields().empty()) {
  32925. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  32926. unknown_fields(), target);
  32927. }
  32928. return target;
  32929. }
  32930. int personal_tailor_lottery_history::ByteSize() const {
  32931. int total_size = 0;
  32932. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32933. // optional string nickName = 1;
  32934. if (has_nickname()) {
  32935. total_size += 1 +
  32936. ::google::protobuf::internal::WireFormatLite::StringSize(
  32937. this->nickname());
  32938. }
  32939. // optional string itemName = 2;
  32940. if (has_itemname()) {
  32941. total_size += 1 +
  32942. ::google::protobuf::internal::WireFormatLite::StringSize(
  32943. this->itemname());
  32944. }
  32945. // optional int32 count = 3;
  32946. if (has_count()) {
  32947. total_size += 1 +
  32948. ::google::protobuf::internal::WireFormatLite::Int32Size(
  32949. this->count());
  32950. }
  32951. }
  32952. if (!unknown_fields().empty()) {
  32953. total_size +=
  32954. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  32955. unknown_fields());
  32956. }
  32957. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  32958. _cached_size_ = total_size;
  32959. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  32960. return total_size;
  32961. }
  32962. void personal_tailor_lottery_history::MergeFrom(const ::google::protobuf::Message& from) {
  32963. GOOGLE_CHECK_NE(&from, this);
  32964. const personal_tailor_lottery_history* source =
  32965. ::google::protobuf::internal::dynamic_cast_if_available<const personal_tailor_lottery_history*>(
  32966. &from);
  32967. if (source == NULL) {
  32968. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  32969. } else {
  32970. MergeFrom(*source);
  32971. }
  32972. }
  32973. void personal_tailor_lottery_history::MergeFrom(const personal_tailor_lottery_history& from) {
  32974. GOOGLE_CHECK_NE(&from, this);
  32975. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  32976. if (from.has_nickname()) {
  32977. set_nickname(from.nickname());
  32978. }
  32979. if (from.has_itemname()) {
  32980. set_itemname(from.itemname());
  32981. }
  32982. if (from.has_count()) {
  32983. set_count(from.count());
  32984. }
  32985. }
  32986. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  32987. }
  32988. void personal_tailor_lottery_history::CopyFrom(const ::google::protobuf::Message& from) {
  32989. if (&from == this) return;
  32990. Clear();
  32991. MergeFrom(from);
  32992. }
  32993. void personal_tailor_lottery_history::CopyFrom(const personal_tailor_lottery_history& from) {
  32994. if (&from == this) return;
  32995. Clear();
  32996. MergeFrom(from);
  32997. }
  32998. bool personal_tailor_lottery_history::IsInitialized() const {
  32999. return true;
  33000. }
  33001. void personal_tailor_lottery_history::Swap(personal_tailor_lottery_history* other) {
  33002. if (other != this) {
  33003. std::swap(nickname_, other->nickname_);
  33004. std::swap(itemname_, other->itemname_);
  33005. std::swap(count_, other->count_);
  33006. std::swap(_has_bits_[0], other->_has_bits_[0]);
  33007. _unknown_fields_.Swap(&other->_unknown_fields_);
  33008. std::swap(_cached_size_, other->_cached_size_);
  33009. }
  33010. }
  33011. ::google::protobuf::Metadata personal_tailor_lottery_history::GetMetadata() const {
  33012. protobuf_AssignDescriptorsOnce();
  33013. ::google::protobuf::Metadata metadata;
  33014. metadata.descriptor = personal_tailor_lottery_history_descriptor_;
  33015. metadata.reflection = personal_tailor_lottery_history_reflection_;
  33016. return metadata;
  33017. }
  33018. // ===================================================================
  33019. #ifndef _MSC_VER
  33020. const int packetw2c_syn_personal_tailor_info::kPacketIdFieldNumber;
  33021. const int packetw2c_syn_personal_tailor_info::kActivityStateFieldNumber;
  33022. const int packetw2c_syn_personal_tailor_info::kStartTimeFieldNumber;
  33023. const int packetw2c_syn_personal_tailor_info::kEndTimeFieldNumber;
  33024. const int packetw2c_syn_personal_tailor_info::kExchangeTicket1FieldNumber;
  33025. const int packetw2c_syn_personal_tailor_info::kExchangeTicket2FieldNumber;
  33026. const int packetw2c_syn_personal_tailor_info::kPointsFieldNumber;
  33027. const int packetw2c_syn_personal_tailor_info::kRankListFieldNumber;
  33028. const int packetw2c_syn_personal_tailor_info::kHistoryListFieldNumber;
  33029. #endif // !_MSC_VER
  33030. packetw2c_syn_personal_tailor_info::packetw2c_syn_personal_tailor_info()
  33031. : ::google::protobuf::Message() {
  33032. SharedCtor();
  33033. }
  33034. void packetw2c_syn_personal_tailor_info::InitAsDefaultInstance() {
  33035. }
  33036. packetw2c_syn_personal_tailor_info::packetw2c_syn_personal_tailor_info(const packetw2c_syn_personal_tailor_info& from)
  33037. : ::google::protobuf::Message() {
  33038. SharedCtor();
  33039. MergeFrom(from);
  33040. }
  33041. void packetw2c_syn_personal_tailor_info::SharedCtor() {
  33042. _cached_size_ = 0;
  33043. packet_id_ = 7718;
  33044. activitystate_ = 0;
  33045. starttime_ = 0;
  33046. endtime_ = 0;
  33047. exchangeticket1_ = 0;
  33048. exchangeticket2_ = 0;
  33049. points_ = 0;
  33050. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  33051. }
  33052. packetw2c_syn_personal_tailor_info::~packetw2c_syn_personal_tailor_info() {
  33053. SharedDtor();
  33054. }
  33055. void packetw2c_syn_personal_tailor_info::SharedDtor() {
  33056. if (this != default_instance_) {
  33057. }
  33058. }
  33059. void packetw2c_syn_personal_tailor_info::SetCachedSize(int size) const {
  33060. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  33061. _cached_size_ = size;
  33062. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  33063. }
  33064. const ::google::protobuf::Descriptor* packetw2c_syn_personal_tailor_info::descriptor() {
  33065. protobuf_AssignDescriptorsOnce();
  33066. return packetw2c_syn_personal_tailor_info_descriptor_;
  33067. }
  33068. const packetw2c_syn_personal_tailor_info& packetw2c_syn_personal_tailor_info::default_instance() {
  33069. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  33070. return *default_instance_;
  33071. }
  33072. packetw2c_syn_personal_tailor_info* packetw2c_syn_personal_tailor_info::default_instance_ = NULL;
  33073. packetw2c_syn_personal_tailor_info* packetw2c_syn_personal_tailor_info::New() const {
  33074. return new packetw2c_syn_personal_tailor_info;
  33075. }
  33076. void packetw2c_syn_personal_tailor_info::Clear() {
  33077. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33078. packet_id_ = 7718;
  33079. activitystate_ = 0;
  33080. starttime_ = 0;
  33081. endtime_ = 0;
  33082. exchangeticket1_ = 0;
  33083. exchangeticket2_ = 0;
  33084. points_ = 0;
  33085. }
  33086. ranklist_.Clear();
  33087. historylist_.Clear();
  33088. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  33089. mutable_unknown_fields()->Clear();
  33090. }
  33091. bool packetw2c_syn_personal_tailor_info::MergePartialFromCodedStream(
  33092. ::google::protobuf::io::CodedInputStream* input) {
  33093. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  33094. ::google::protobuf::uint32 tag;
  33095. while ((tag = input->ReadTag()) != 0) {
  33096. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  33097. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_info];
  33098. case 1: {
  33099. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33100. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33101. int value;
  33102. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33103. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  33104. input, &value)));
  33105. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  33106. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  33107. } else {
  33108. mutable_unknown_fields()->AddVarint(1, value);
  33109. }
  33110. } else {
  33111. goto handle_uninterpreted;
  33112. }
  33113. if (input->ExpectTag(16)) goto parse_activityState;
  33114. break;
  33115. }
  33116. // optional int32 activityState = 2;
  33117. case 2: {
  33118. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33119. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33120. parse_activityState:
  33121. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33122. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  33123. input, &activitystate_)));
  33124. set_has_activitystate();
  33125. } else {
  33126. goto handle_uninterpreted;
  33127. }
  33128. if (input->ExpectTag(24)) goto parse_startTime;
  33129. break;
  33130. }
  33131. // optional int32 startTime = 3;
  33132. case 3: {
  33133. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33134. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33135. parse_startTime:
  33136. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33137. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  33138. input, &starttime_)));
  33139. set_has_starttime();
  33140. } else {
  33141. goto handle_uninterpreted;
  33142. }
  33143. if (input->ExpectTag(32)) goto parse_endTime;
  33144. break;
  33145. }
  33146. // optional int32 endTime = 4;
  33147. case 4: {
  33148. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33149. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33150. parse_endTime:
  33151. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33152. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  33153. input, &endtime_)));
  33154. set_has_endtime();
  33155. } else {
  33156. goto handle_uninterpreted;
  33157. }
  33158. if (input->ExpectTag(40)) goto parse_exchangeTicket1;
  33159. break;
  33160. }
  33161. // optional int32 exchangeTicket1 = 5;
  33162. case 5: {
  33163. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33164. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33165. parse_exchangeTicket1:
  33166. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33167. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  33168. input, &exchangeticket1_)));
  33169. set_has_exchangeticket1();
  33170. } else {
  33171. goto handle_uninterpreted;
  33172. }
  33173. if (input->ExpectTag(48)) goto parse_exchangeTicket2;
  33174. break;
  33175. }
  33176. // optional int32 exchangeTicket2 = 6;
  33177. case 6: {
  33178. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33179. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33180. parse_exchangeTicket2:
  33181. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33182. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  33183. input, &exchangeticket2_)));
  33184. set_has_exchangeticket2();
  33185. } else {
  33186. goto handle_uninterpreted;
  33187. }
  33188. if (input->ExpectTag(56)) goto parse_points;
  33189. break;
  33190. }
  33191. // optional int32 points = 7;
  33192. case 7: {
  33193. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33194. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33195. parse_points:
  33196. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33197. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  33198. input, &points_)));
  33199. set_has_points();
  33200. } else {
  33201. goto handle_uninterpreted;
  33202. }
  33203. if (input->ExpectTag(66)) goto parse_rankList;
  33204. break;
  33205. }
  33206. // repeated .client2world_protocols.activity_rank rankList = 8;
  33207. case 8: {
  33208. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33209. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  33210. parse_rankList:
  33211. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  33212. input, add_ranklist()));
  33213. } else {
  33214. goto handle_uninterpreted;
  33215. }
  33216. if (input->ExpectTag(66)) goto parse_rankList;
  33217. if (input->ExpectTag(74)) goto parse_historyList;
  33218. break;
  33219. }
  33220. // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 9;
  33221. case 9: {
  33222. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33223. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  33224. parse_historyList:
  33225. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  33226. input, add_historylist()));
  33227. } else {
  33228. goto handle_uninterpreted;
  33229. }
  33230. if (input->ExpectTag(74)) goto parse_historyList;
  33231. if (input->ExpectAtEnd()) return true;
  33232. break;
  33233. }
  33234. default: {
  33235. handle_uninterpreted:
  33236. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33237. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  33238. return true;
  33239. }
  33240. DO_(::google::protobuf::internal::WireFormat::SkipField(
  33241. input, tag, mutable_unknown_fields()));
  33242. break;
  33243. }
  33244. }
  33245. }
  33246. return true;
  33247. #undef DO_
  33248. }
  33249. void packetw2c_syn_personal_tailor_info::SerializeWithCachedSizes(
  33250. ::google::protobuf::io::CodedOutputStream* output) const {
  33251. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_info];
  33252. if (has_packet_id()) {
  33253. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  33254. 1, this->packet_id(), output);
  33255. }
  33256. // optional int32 activityState = 2;
  33257. if (has_activitystate()) {
  33258. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  33259. }
  33260. // optional int32 startTime = 3;
  33261. if (has_starttime()) {
  33262. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  33263. }
  33264. // optional int32 endTime = 4;
  33265. if (has_endtime()) {
  33266. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  33267. }
  33268. // optional int32 exchangeTicket1 = 5;
  33269. if (has_exchangeticket1()) {
  33270. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->exchangeticket1(), output);
  33271. }
  33272. // optional int32 exchangeTicket2 = 6;
  33273. if (has_exchangeticket2()) {
  33274. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->exchangeticket2(), output);
  33275. }
  33276. // optional int32 points = 7;
  33277. if (has_points()) {
  33278. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->points(), output);
  33279. }
  33280. // repeated .client2world_protocols.activity_rank rankList = 8;
  33281. for (int i = 0; i < this->ranklist_size(); i++) {
  33282. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  33283. 8, this->ranklist(i), output);
  33284. }
  33285. // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 9;
  33286. for (int i = 0; i < this->historylist_size(); i++) {
  33287. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  33288. 9, this->historylist(i), output);
  33289. }
  33290. if (!unknown_fields().empty()) {
  33291. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  33292. unknown_fields(), output);
  33293. }
  33294. }
  33295. ::google::protobuf::uint8* packetw2c_syn_personal_tailor_info::SerializeWithCachedSizesToArray(
  33296. ::google::protobuf::uint8* target) const {
  33297. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_info];
  33298. if (has_packet_id()) {
  33299. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  33300. 1, this->packet_id(), target);
  33301. }
  33302. // optional int32 activityState = 2;
  33303. if (has_activitystate()) {
  33304. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  33305. }
  33306. // optional int32 startTime = 3;
  33307. if (has_starttime()) {
  33308. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  33309. }
  33310. // optional int32 endTime = 4;
  33311. if (has_endtime()) {
  33312. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  33313. }
  33314. // optional int32 exchangeTicket1 = 5;
  33315. if (has_exchangeticket1()) {
  33316. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->exchangeticket1(), target);
  33317. }
  33318. // optional int32 exchangeTicket2 = 6;
  33319. if (has_exchangeticket2()) {
  33320. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->exchangeticket2(), target);
  33321. }
  33322. // optional int32 points = 7;
  33323. if (has_points()) {
  33324. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->points(), target);
  33325. }
  33326. // repeated .client2world_protocols.activity_rank rankList = 8;
  33327. for (int i = 0; i < this->ranklist_size(); i++) {
  33328. target = ::google::protobuf::internal::WireFormatLite::
  33329. WriteMessageNoVirtualToArray(
  33330. 8, this->ranklist(i), target);
  33331. }
  33332. // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 9;
  33333. for (int i = 0; i < this->historylist_size(); i++) {
  33334. target = ::google::protobuf::internal::WireFormatLite::
  33335. WriteMessageNoVirtualToArray(
  33336. 9, this->historylist(i), target);
  33337. }
  33338. if (!unknown_fields().empty()) {
  33339. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  33340. unknown_fields(), target);
  33341. }
  33342. return target;
  33343. }
  33344. int packetw2c_syn_personal_tailor_info::ByteSize() const {
  33345. int total_size = 0;
  33346. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33347. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_info];
  33348. if (has_packet_id()) {
  33349. total_size += 1 +
  33350. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  33351. }
  33352. // optional int32 activityState = 2;
  33353. if (has_activitystate()) {
  33354. total_size += 1 +
  33355. ::google::protobuf::internal::WireFormatLite::Int32Size(
  33356. this->activitystate());
  33357. }
  33358. // optional int32 startTime = 3;
  33359. if (has_starttime()) {
  33360. total_size += 1 +
  33361. ::google::protobuf::internal::WireFormatLite::Int32Size(
  33362. this->starttime());
  33363. }
  33364. // optional int32 endTime = 4;
  33365. if (has_endtime()) {
  33366. total_size += 1 +
  33367. ::google::protobuf::internal::WireFormatLite::Int32Size(
  33368. this->endtime());
  33369. }
  33370. // optional int32 exchangeTicket1 = 5;
  33371. if (has_exchangeticket1()) {
  33372. total_size += 1 +
  33373. ::google::protobuf::internal::WireFormatLite::Int32Size(
  33374. this->exchangeticket1());
  33375. }
  33376. // optional int32 exchangeTicket2 = 6;
  33377. if (has_exchangeticket2()) {
  33378. total_size += 1 +
  33379. ::google::protobuf::internal::WireFormatLite::Int32Size(
  33380. this->exchangeticket2());
  33381. }
  33382. // optional int32 points = 7;
  33383. if (has_points()) {
  33384. total_size += 1 +
  33385. ::google::protobuf::internal::WireFormatLite::Int32Size(
  33386. this->points());
  33387. }
  33388. }
  33389. // repeated .client2world_protocols.activity_rank rankList = 8;
  33390. total_size += 1 * this->ranklist_size();
  33391. for (int i = 0; i < this->ranklist_size(); i++) {
  33392. total_size +=
  33393. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  33394. this->ranklist(i));
  33395. }
  33396. // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 9;
  33397. total_size += 1 * this->historylist_size();
  33398. for (int i = 0; i < this->historylist_size(); i++) {
  33399. total_size +=
  33400. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  33401. this->historylist(i));
  33402. }
  33403. if (!unknown_fields().empty()) {
  33404. total_size +=
  33405. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  33406. unknown_fields());
  33407. }
  33408. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  33409. _cached_size_ = total_size;
  33410. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  33411. return total_size;
  33412. }
  33413. void packetw2c_syn_personal_tailor_info::MergeFrom(const ::google::protobuf::Message& from) {
  33414. GOOGLE_CHECK_NE(&from, this);
  33415. const packetw2c_syn_personal_tailor_info* source =
  33416. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_personal_tailor_info*>(
  33417. &from);
  33418. if (source == NULL) {
  33419. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  33420. } else {
  33421. MergeFrom(*source);
  33422. }
  33423. }
  33424. void packetw2c_syn_personal_tailor_info::MergeFrom(const packetw2c_syn_personal_tailor_info& from) {
  33425. GOOGLE_CHECK_NE(&from, this);
  33426. ranklist_.MergeFrom(from.ranklist_);
  33427. historylist_.MergeFrom(from.historylist_);
  33428. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33429. if (from.has_packet_id()) {
  33430. set_packet_id(from.packet_id());
  33431. }
  33432. if (from.has_activitystate()) {
  33433. set_activitystate(from.activitystate());
  33434. }
  33435. if (from.has_starttime()) {
  33436. set_starttime(from.starttime());
  33437. }
  33438. if (from.has_endtime()) {
  33439. set_endtime(from.endtime());
  33440. }
  33441. if (from.has_exchangeticket1()) {
  33442. set_exchangeticket1(from.exchangeticket1());
  33443. }
  33444. if (from.has_exchangeticket2()) {
  33445. set_exchangeticket2(from.exchangeticket2());
  33446. }
  33447. if (from.has_points()) {
  33448. set_points(from.points());
  33449. }
  33450. }
  33451. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  33452. }
  33453. void packetw2c_syn_personal_tailor_info::CopyFrom(const ::google::protobuf::Message& from) {
  33454. if (&from == this) return;
  33455. Clear();
  33456. MergeFrom(from);
  33457. }
  33458. void packetw2c_syn_personal_tailor_info::CopyFrom(const packetw2c_syn_personal_tailor_info& from) {
  33459. if (&from == this) return;
  33460. Clear();
  33461. MergeFrom(from);
  33462. }
  33463. bool packetw2c_syn_personal_tailor_info::IsInitialized() const {
  33464. return true;
  33465. }
  33466. void packetw2c_syn_personal_tailor_info::Swap(packetw2c_syn_personal_tailor_info* other) {
  33467. if (other != this) {
  33468. std::swap(packet_id_, other->packet_id_);
  33469. std::swap(activitystate_, other->activitystate_);
  33470. std::swap(starttime_, other->starttime_);
  33471. std::swap(endtime_, other->endtime_);
  33472. std::swap(exchangeticket1_, other->exchangeticket1_);
  33473. std::swap(exchangeticket2_, other->exchangeticket2_);
  33474. std::swap(points_, other->points_);
  33475. ranklist_.Swap(&other->ranklist_);
  33476. historylist_.Swap(&other->historylist_);
  33477. std::swap(_has_bits_[0], other->_has_bits_[0]);
  33478. _unknown_fields_.Swap(&other->_unknown_fields_);
  33479. std::swap(_cached_size_, other->_cached_size_);
  33480. }
  33481. }
  33482. ::google::protobuf::Metadata packetw2c_syn_personal_tailor_info::GetMetadata() const {
  33483. protobuf_AssignDescriptorsOnce();
  33484. ::google::protobuf::Metadata metadata;
  33485. metadata.descriptor = packetw2c_syn_personal_tailor_info_descriptor_;
  33486. metadata.reflection = packetw2c_syn_personal_tailor_info_reflection_;
  33487. return metadata;
  33488. }
  33489. // ===================================================================
  33490. #ifndef _MSC_VER
  33491. const int packetc2w_get_personal_tailor_rank::kPacketIdFieldNumber;
  33492. #endif // !_MSC_VER
  33493. packetc2w_get_personal_tailor_rank::packetc2w_get_personal_tailor_rank()
  33494. : ::google::protobuf::Message() {
  33495. SharedCtor();
  33496. }
  33497. void packetc2w_get_personal_tailor_rank::InitAsDefaultInstance() {
  33498. }
  33499. packetc2w_get_personal_tailor_rank::packetc2w_get_personal_tailor_rank(const packetc2w_get_personal_tailor_rank& from)
  33500. : ::google::protobuf::Message() {
  33501. SharedCtor();
  33502. MergeFrom(from);
  33503. }
  33504. void packetc2w_get_personal_tailor_rank::SharedCtor() {
  33505. _cached_size_ = 0;
  33506. packet_id_ = 5195;
  33507. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  33508. }
  33509. packetc2w_get_personal_tailor_rank::~packetc2w_get_personal_tailor_rank() {
  33510. SharedDtor();
  33511. }
  33512. void packetc2w_get_personal_tailor_rank::SharedDtor() {
  33513. if (this != default_instance_) {
  33514. }
  33515. }
  33516. void packetc2w_get_personal_tailor_rank::SetCachedSize(int size) const {
  33517. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  33518. _cached_size_ = size;
  33519. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  33520. }
  33521. const ::google::protobuf::Descriptor* packetc2w_get_personal_tailor_rank::descriptor() {
  33522. protobuf_AssignDescriptorsOnce();
  33523. return packetc2w_get_personal_tailor_rank_descriptor_;
  33524. }
  33525. const packetc2w_get_personal_tailor_rank& packetc2w_get_personal_tailor_rank::default_instance() {
  33526. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  33527. return *default_instance_;
  33528. }
  33529. packetc2w_get_personal_tailor_rank* packetc2w_get_personal_tailor_rank::default_instance_ = NULL;
  33530. packetc2w_get_personal_tailor_rank* packetc2w_get_personal_tailor_rank::New() const {
  33531. return new packetc2w_get_personal_tailor_rank;
  33532. }
  33533. void packetc2w_get_personal_tailor_rank::Clear() {
  33534. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33535. packet_id_ = 5195;
  33536. }
  33537. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  33538. mutable_unknown_fields()->Clear();
  33539. }
  33540. bool packetc2w_get_personal_tailor_rank::MergePartialFromCodedStream(
  33541. ::google::protobuf::io::CodedInputStream* input) {
  33542. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  33543. ::google::protobuf::uint32 tag;
  33544. while ((tag = input->ReadTag()) != 0) {
  33545. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  33546. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank];
  33547. case 1: {
  33548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33550. int value;
  33551. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33552. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  33553. input, &value)));
  33554. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  33555. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  33556. } else {
  33557. mutable_unknown_fields()->AddVarint(1, value);
  33558. }
  33559. } else {
  33560. goto handle_uninterpreted;
  33561. }
  33562. if (input->ExpectAtEnd()) return true;
  33563. break;
  33564. }
  33565. default: {
  33566. handle_uninterpreted:
  33567. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33568. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  33569. return true;
  33570. }
  33571. DO_(::google::protobuf::internal::WireFormat::SkipField(
  33572. input, tag, mutable_unknown_fields()));
  33573. break;
  33574. }
  33575. }
  33576. }
  33577. return true;
  33578. #undef DO_
  33579. }
  33580. void packetc2w_get_personal_tailor_rank::SerializeWithCachedSizes(
  33581. ::google::protobuf::io::CodedOutputStream* output) const {
  33582. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank];
  33583. if (has_packet_id()) {
  33584. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  33585. 1, this->packet_id(), output);
  33586. }
  33587. if (!unknown_fields().empty()) {
  33588. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  33589. unknown_fields(), output);
  33590. }
  33591. }
  33592. ::google::protobuf::uint8* packetc2w_get_personal_tailor_rank::SerializeWithCachedSizesToArray(
  33593. ::google::protobuf::uint8* target) const {
  33594. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank];
  33595. if (has_packet_id()) {
  33596. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  33597. 1, this->packet_id(), target);
  33598. }
  33599. if (!unknown_fields().empty()) {
  33600. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  33601. unknown_fields(), target);
  33602. }
  33603. return target;
  33604. }
  33605. int packetc2w_get_personal_tailor_rank::ByteSize() const {
  33606. int total_size = 0;
  33607. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33608. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank];
  33609. if (has_packet_id()) {
  33610. total_size += 1 +
  33611. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  33612. }
  33613. }
  33614. if (!unknown_fields().empty()) {
  33615. total_size +=
  33616. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  33617. unknown_fields());
  33618. }
  33619. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  33620. _cached_size_ = total_size;
  33621. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  33622. return total_size;
  33623. }
  33624. void packetc2w_get_personal_tailor_rank::MergeFrom(const ::google::protobuf::Message& from) {
  33625. GOOGLE_CHECK_NE(&from, this);
  33626. const packetc2w_get_personal_tailor_rank* source =
  33627. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_personal_tailor_rank*>(
  33628. &from);
  33629. if (source == NULL) {
  33630. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  33631. } else {
  33632. MergeFrom(*source);
  33633. }
  33634. }
  33635. void packetc2w_get_personal_tailor_rank::MergeFrom(const packetc2w_get_personal_tailor_rank& from) {
  33636. GOOGLE_CHECK_NE(&from, this);
  33637. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33638. if (from.has_packet_id()) {
  33639. set_packet_id(from.packet_id());
  33640. }
  33641. }
  33642. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  33643. }
  33644. void packetc2w_get_personal_tailor_rank::CopyFrom(const ::google::protobuf::Message& from) {
  33645. if (&from == this) return;
  33646. Clear();
  33647. MergeFrom(from);
  33648. }
  33649. void packetc2w_get_personal_tailor_rank::CopyFrom(const packetc2w_get_personal_tailor_rank& from) {
  33650. if (&from == this) return;
  33651. Clear();
  33652. MergeFrom(from);
  33653. }
  33654. bool packetc2w_get_personal_tailor_rank::IsInitialized() const {
  33655. return true;
  33656. }
  33657. void packetc2w_get_personal_tailor_rank::Swap(packetc2w_get_personal_tailor_rank* other) {
  33658. if (other != this) {
  33659. std::swap(packet_id_, other->packet_id_);
  33660. std::swap(_has_bits_[0], other->_has_bits_[0]);
  33661. _unknown_fields_.Swap(&other->_unknown_fields_);
  33662. std::swap(_cached_size_, other->_cached_size_);
  33663. }
  33664. }
  33665. ::google::protobuf::Metadata packetc2w_get_personal_tailor_rank::GetMetadata() const {
  33666. protobuf_AssignDescriptorsOnce();
  33667. ::google::protobuf::Metadata metadata;
  33668. metadata.descriptor = packetc2w_get_personal_tailor_rank_descriptor_;
  33669. metadata.reflection = packetc2w_get_personal_tailor_rank_reflection_;
  33670. return metadata;
  33671. }
  33672. // ===================================================================
  33673. #ifndef _MSC_VER
  33674. const int packetw2c_get_personal_tailor_rank_result::kPacketIdFieldNumber;
  33675. const int packetw2c_get_personal_tailor_rank_result::kRankListFieldNumber;
  33676. const int packetw2c_get_personal_tailor_rank_result::kMyPointsFieldNumber;
  33677. #endif // !_MSC_VER
  33678. packetw2c_get_personal_tailor_rank_result::packetw2c_get_personal_tailor_rank_result()
  33679. : ::google::protobuf::Message() {
  33680. SharedCtor();
  33681. }
  33682. void packetw2c_get_personal_tailor_rank_result::InitAsDefaultInstance() {
  33683. }
  33684. packetw2c_get_personal_tailor_rank_result::packetw2c_get_personal_tailor_rank_result(const packetw2c_get_personal_tailor_rank_result& from)
  33685. : ::google::protobuf::Message() {
  33686. SharedCtor();
  33687. MergeFrom(from);
  33688. }
  33689. void packetw2c_get_personal_tailor_rank_result::SharedCtor() {
  33690. _cached_size_ = 0;
  33691. packet_id_ = 7722;
  33692. mypoints_ = 0;
  33693. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  33694. }
  33695. packetw2c_get_personal_tailor_rank_result::~packetw2c_get_personal_tailor_rank_result() {
  33696. SharedDtor();
  33697. }
  33698. void packetw2c_get_personal_tailor_rank_result::SharedDtor() {
  33699. if (this != default_instance_) {
  33700. }
  33701. }
  33702. void packetw2c_get_personal_tailor_rank_result::SetCachedSize(int size) const {
  33703. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  33704. _cached_size_ = size;
  33705. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  33706. }
  33707. const ::google::protobuf::Descriptor* packetw2c_get_personal_tailor_rank_result::descriptor() {
  33708. protobuf_AssignDescriptorsOnce();
  33709. return packetw2c_get_personal_tailor_rank_result_descriptor_;
  33710. }
  33711. const packetw2c_get_personal_tailor_rank_result& packetw2c_get_personal_tailor_rank_result::default_instance() {
  33712. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  33713. return *default_instance_;
  33714. }
  33715. packetw2c_get_personal_tailor_rank_result* packetw2c_get_personal_tailor_rank_result::default_instance_ = NULL;
  33716. packetw2c_get_personal_tailor_rank_result* packetw2c_get_personal_tailor_rank_result::New() const {
  33717. return new packetw2c_get_personal_tailor_rank_result;
  33718. }
  33719. void packetw2c_get_personal_tailor_rank_result::Clear() {
  33720. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33721. packet_id_ = 7722;
  33722. mypoints_ = 0;
  33723. }
  33724. ranklist_.Clear();
  33725. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  33726. mutable_unknown_fields()->Clear();
  33727. }
  33728. bool packetw2c_get_personal_tailor_rank_result::MergePartialFromCodedStream(
  33729. ::google::protobuf::io::CodedInputStream* input) {
  33730. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  33731. ::google::protobuf::uint32 tag;
  33732. while ((tag = input->ReadTag()) != 0) {
  33733. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  33734. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result];
  33735. case 1: {
  33736. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33737. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33738. int value;
  33739. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33740. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  33741. input, &value)));
  33742. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  33743. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  33744. } else {
  33745. mutable_unknown_fields()->AddVarint(1, value);
  33746. }
  33747. } else {
  33748. goto handle_uninterpreted;
  33749. }
  33750. if (input->ExpectTag(18)) goto parse_rankList;
  33751. break;
  33752. }
  33753. // repeated .client2world_protocols.activity_rank rankList = 2;
  33754. case 2: {
  33755. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33756. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  33757. parse_rankList:
  33758. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  33759. input, add_ranklist()));
  33760. } else {
  33761. goto handle_uninterpreted;
  33762. }
  33763. if (input->ExpectTag(18)) goto parse_rankList;
  33764. if (input->ExpectTag(24)) goto parse_myPoints;
  33765. break;
  33766. }
  33767. // optional int32 myPoints = 3;
  33768. case 3: {
  33769. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33770. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33771. parse_myPoints:
  33772. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33773. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  33774. input, &mypoints_)));
  33775. set_has_mypoints();
  33776. } else {
  33777. goto handle_uninterpreted;
  33778. }
  33779. if (input->ExpectAtEnd()) return true;
  33780. break;
  33781. }
  33782. default: {
  33783. handle_uninterpreted:
  33784. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33785. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  33786. return true;
  33787. }
  33788. DO_(::google::protobuf::internal::WireFormat::SkipField(
  33789. input, tag, mutable_unknown_fields()));
  33790. break;
  33791. }
  33792. }
  33793. }
  33794. return true;
  33795. #undef DO_
  33796. }
  33797. void packetw2c_get_personal_tailor_rank_result::SerializeWithCachedSizes(
  33798. ::google::protobuf::io::CodedOutputStream* output) const {
  33799. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result];
  33800. if (has_packet_id()) {
  33801. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  33802. 1, this->packet_id(), output);
  33803. }
  33804. // repeated .client2world_protocols.activity_rank rankList = 2;
  33805. for (int i = 0; i < this->ranklist_size(); i++) {
  33806. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  33807. 2, this->ranklist(i), output);
  33808. }
  33809. // optional int32 myPoints = 3;
  33810. if (has_mypoints()) {
  33811. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mypoints(), output);
  33812. }
  33813. if (!unknown_fields().empty()) {
  33814. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  33815. unknown_fields(), output);
  33816. }
  33817. }
  33818. ::google::protobuf::uint8* packetw2c_get_personal_tailor_rank_result::SerializeWithCachedSizesToArray(
  33819. ::google::protobuf::uint8* target) const {
  33820. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result];
  33821. if (has_packet_id()) {
  33822. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  33823. 1, this->packet_id(), target);
  33824. }
  33825. // repeated .client2world_protocols.activity_rank rankList = 2;
  33826. for (int i = 0; i < this->ranklist_size(); i++) {
  33827. target = ::google::protobuf::internal::WireFormatLite::
  33828. WriteMessageNoVirtualToArray(
  33829. 2, this->ranklist(i), target);
  33830. }
  33831. // optional int32 myPoints = 3;
  33832. if (has_mypoints()) {
  33833. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mypoints(), target);
  33834. }
  33835. if (!unknown_fields().empty()) {
  33836. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  33837. unknown_fields(), target);
  33838. }
  33839. return target;
  33840. }
  33841. int packetw2c_get_personal_tailor_rank_result::ByteSize() const {
  33842. int total_size = 0;
  33843. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33844. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result];
  33845. if (has_packet_id()) {
  33846. total_size += 1 +
  33847. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  33848. }
  33849. // optional int32 myPoints = 3;
  33850. if (has_mypoints()) {
  33851. total_size += 1 +
  33852. ::google::protobuf::internal::WireFormatLite::Int32Size(
  33853. this->mypoints());
  33854. }
  33855. }
  33856. // repeated .client2world_protocols.activity_rank rankList = 2;
  33857. total_size += 1 * this->ranklist_size();
  33858. for (int i = 0; i < this->ranklist_size(); i++) {
  33859. total_size +=
  33860. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  33861. this->ranklist(i));
  33862. }
  33863. if (!unknown_fields().empty()) {
  33864. total_size +=
  33865. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  33866. unknown_fields());
  33867. }
  33868. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  33869. _cached_size_ = total_size;
  33870. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  33871. return total_size;
  33872. }
  33873. void packetw2c_get_personal_tailor_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  33874. GOOGLE_CHECK_NE(&from, this);
  33875. const packetw2c_get_personal_tailor_rank_result* source =
  33876. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_personal_tailor_rank_result*>(
  33877. &from);
  33878. if (source == NULL) {
  33879. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  33880. } else {
  33881. MergeFrom(*source);
  33882. }
  33883. }
  33884. void packetw2c_get_personal_tailor_rank_result::MergeFrom(const packetw2c_get_personal_tailor_rank_result& from) {
  33885. GOOGLE_CHECK_NE(&from, this);
  33886. ranklist_.MergeFrom(from.ranklist_);
  33887. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33888. if (from.has_packet_id()) {
  33889. set_packet_id(from.packet_id());
  33890. }
  33891. if (from.has_mypoints()) {
  33892. set_mypoints(from.mypoints());
  33893. }
  33894. }
  33895. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  33896. }
  33897. void packetw2c_get_personal_tailor_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  33898. if (&from == this) return;
  33899. Clear();
  33900. MergeFrom(from);
  33901. }
  33902. void packetw2c_get_personal_tailor_rank_result::CopyFrom(const packetw2c_get_personal_tailor_rank_result& from) {
  33903. if (&from == this) return;
  33904. Clear();
  33905. MergeFrom(from);
  33906. }
  33907. bool packetw2c_get_personal_tailor_rank_result::IsInitialized() const {
  33908. return true;
  33909. }
  33910. void packetw2c_get_personal_tailor_rank_result::Swap(packetw2c_get_personal_tailor_rank_result* other) {
  33911. if (other != this) {
  33912. std::swap(packet_id_, other->packet_id_);
  33913. ranklist_.Swap(&other->ranklist_);
  33914. std::swap(mypoints_, other->mypoints_);
  33915. std::swap(_has_bits_[0], other->_has_bits_[0]);
  33916. _unknown_fields_.Swap(&other->_unknown_fields_);
  33917. std::swap(_cached_size_, other->_cached_size_);
  33918. }
  33919. }
  33920. ::google::protobuf::Metadata packetw2c_get_personal_tailor_rank_result::GetMetadata() const {
  33921. protobuf_AssignDescriptorsOnce();
  33922. ::google::protobuf::Metadata metadata;
  33923. metadata.descriptor = packetw2c_get_personal_tailor_rank_result_descriptor_;
  33924. metadata.reflection = packetw2c_get_personal_tailor_rank_result_reflection_;
  33925. return metadata;
  33926. }
  33927. // ===================================================================
  33928. #ifndef _MSC_VER
  33929. const int packetc2w_get_personal_tailor_lottry_history::kPacketIdFieldNumber;
  33930. #endif // !_MSC_VER
  33931. packetc2w_get_personal_tailor_lottry_history::packetc2w_get_personal_tailor_lottry_history()
  33932. : ::google::protobuf::Message() {
  33933. SharedCtor();
  33934. }
  33935. void packetc2w_get_personal_tailor_lottry_history::InitAsDefaultInstance() {
  33936. }
  33937. packetc2w_get_personal_tailor_lottry_history::packetc2w_get_personal_tailor_lottry_history(const packetc2w_get_personal_tailor_lottry_history& from)
  33938. : ::google::protobuf::Message() {
  33939. SharedCtor();
  33940. MergeFrom(from);
  33941. }
  33942. void packetc2w_get_personal_tailor_lottry_history::SharedCtor() {
  33943. _cached_size_ = 0;
  33944. packet_id_ = 5196;
  33945. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  33946. }
  33947. packetc2w_get_personal_tailor_lottry_history::~packetc2w_get_personal_tailor_lottry_history() {
  33948. SharedDtor();
  33949. }
  33950. void packetc2w_get_personal_tailor_lottry_history::SharedDtor() {
  33951. if (this != default_instance_) {
  33952. }
  33953. }
  33954. void packetc2w_get_personal_tailor_lottry_history::SetCachedSize(int size) const {
  33955. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  33956. _cached_size_ = size;
  33957. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  33958. }
  33959. const ::google::protobuf::Descriptor* packetc2w_get_personal_tailor_lottry_history::descriptor() {
  33960. protobuf_AssignDescriptorsOnce();
  33961. return packetc2w_get_personal_tailor_lottry_history_descriptor_;
  33962. }
  33963. const packetc2w_get_personal_tailor_lottry_history& packetc2w_get_personal_tailor_lottry_history::default_instance() {
  33964. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  33965. return *default_instance_;
  33966. }
  33967. packetc2w_get_personal_tailor_lottry_history* packetc2w_get_personal_tailor_lottry_history::default_instance_ = NULL;
  33968. packetc2w_get_personal_tailor_lottry_history* packetc2w_get_personal_tailor_lottry_history::New() const {
  33969. return new packetc2w_get_personal_tailor_lottry_history;
  33970. }
  33971. void packetc2w_get_personal_tailor_lottry_history::Clear() {
  33972. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  33973. packet_id_ = 5196;
  33974. }
  33975. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  33976. mutable_unknown_fields()->Clear();
  33977. }
  33978. bool packetc2w_get_personal_tailor_lottry_history::MergePartialFromCodedStream(
  33979. ::google::protobuf::io::CodedInputStream* input) {
  33980. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  33981. ::google::protobuf::uint32 tag;
  33982. while ((tag = input->ReadTag()) != 0) {
  33983. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  33984. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_lottry_history];
  33985. case 1: {
  33986. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  33987. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  33988. int value;
  33989. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  33990. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  33991. input, &value)));
  33992. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  33993. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  33994. } else {
  33995. mutable_unknown_fields()->AddVarint(1, value);
  33996. }
  33997. } else {
  33998. goto handle_uninterpreted;
  33999. }
  34000. if (input->ExpectAtEnd()) return true;
  34001. break;
  34002. }
  34003. default: {
  34004. handle_uninterpreted:
  34005. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34006. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  34007. return true;
  34008. }
  34009. DO_(::google::protobuf::internal::WireFormat::SkipField(
  34010. input, tag, mutable_unknown_fields()));
  34011. break;
  34012. }
  34013. }
  34014. }
  34015. return true;
  34016. #undef DO_
  34017. }
  34018. void packetc2w_get_personal_tailor_lottry_history::SerializeWithCachedSizes(
  34019. ::google::protobuf::io::CodedOutputStream* output) const {
  34020. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_lottry_history];
  34021. if (has_packet_id()) {
  34022. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  34023. 1, this->packet_id(), output);
  34024. }
  34025. if (!unknown_fields().empty()) {
  34026. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  34027. unknown_fields(), output);
  34028. }
  34029. }
  34030. ::google::protobuf::uint8* packetc2w_get_personal_tailor_lottry_history::SerializeWithCachedSizesToArray(
  34031. ::google::protobuf::uint8* target) const {
  34032. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_lottry_history];
  34033. if (has_packet_id()) {
  34034. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  34035. 1, this->packet_id(), target);
  34036. }
  34037. if (!unknown_fields().empty()) {
  34038. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  34039. unknown_fields(), target);
  34040. }
  34041. return target;
  34042. }
  34043. int packetc2w_get_personal_tailor_lottry_history::ByteSize() const {
  34044. int total_size = 0;
  34045. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34046. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_lottry_history];
  34047. if (has_packet_id()) {
  34048. total_size += 1 +
  34049. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  34050. }
  34051. }
  34052. if (!unknown_fields().empty()) {
  34053. total_size +=
  34054. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  34055. unknown_fields());
  34056. }
  34057. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  34058. _cached_size_ = total_size;
  34059. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  34060. return total_size;
  34061. }
  34062. void packetc2w_get_personal_tailor_lottry_history::MergeFrom(const ::google::protobuf::Message& from) {
  34063. GOOGLE_CHECK_NE(&from, this);
  34064. const packetc2w_get_personal_tailor_lottry_history* source =
  34065. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_personal_tailor_lottry_history*>(
  34066. &from);
  34067. if (source == NULL) {
  34068. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  34069. } else {
  34070. MergeFrom(*source);
  34071. }
  34072. }
  34073. void packetc2w_get_personal_tailor_lottry_history::MergeFrom(const packetc2w_get_personal_tailor_lottry_history& from) {
  34074. GOOGLE_CHECK_NE(&from, this);
  34075. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34076. if (from.has_packet_id()) {
  34077. set_packet_id(from.packet_id());
  34078. }
  34079. }
  34080. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  34081. }
  34082. void packetc2w_get_personal_tailor_lottry_history::CopyFrom(const ::google::protobuf::Message& from) {
  34083. if (&from == this) return;
  34084. Clear();
  34085. MergeFrom(from);
  34086. }
  34087. void packetc2w_get_personal_tailor_lottry_history::CopyFrom(const packetc2w_get_personal_tailor_lottry_history& from) {
  34088. if (&from == this) return;
  34089. Clear();
  34090. MergeFrom(from);
  34091. }
  34092. bool packetc2w_get_personal_tailor_lottry_history::IsInitialized() const {
  34093. return true;
  34094. }
  34095. void packetc2w_get_personal_tailor_lottry_history::Swap(packetc2w_get_personal_tailor_lottry_history* other) {
  34096. if (other != this) {
  34097. std::swap(packet_id_, other->packet_id_);
  34098. std::swap(_has_bits_[0], other->_has_bits_[0]);
  34099. _unknown_fields_.Swap(&other->_unknown_fields_);
  34100. std::swap(_cached_size_, other->_cached_size_);
  34101. }
  34102. }
  34103. ::google::protobuf::Metadata packetc2w_get_personal_tailor_lottry_history::GetMetadata() const {
  34104. protobuf_AssignDescriptorsOnce();
  34105. ::google::protobuf::Metadata metadata;
  34106. metadata.descriptor = packetc2w_get_personal_tailor_lottry_history_descriptor_;
  34107. metadata.reflection = packetc2w_get_personal_tailor_lottry_history_reflection_;
  34108. return metadata;
  34109. }
  34110. // ===================================================================
  34111. #ifndef _MSC_VER
  34112. const int packetw2c_get_personal_tailor_lottry_history_result::kPacketIdFieldNumber;
  34113. const int packetw2c_get_personal_tailor_lottry_history_result::kHistoryListFieldNumber;
  34114. #endif // !_MSC_VER
  34115. packetw2c_get_personal_tailor_lottry_history_result::packetw2c_get_personal_tailor_lottry_history_result()
  34116. : ::google::protobuf::Message() {
  34117. SharedCtor();
  34118. }
  34119. void packetw2c_get_personal_tailor_lottry_history_result::InitAsDefaultInstance() {
  34120. }
  34121. packetw2c_get_personal_tailor_lottry_history_result::packetw2c_get_personal_tailor_lottry_history_result(const packetw2c_get_personal_tailor_lottry_history_result& from)
  34122. : ::google::protobuf::Message() {
  34123. SharedCtor();
  34124. MergeFrom(from);
  34125. }
  34126. void packetw2c_get_personal_tailor_lottry_history_result::SharedCtor() {
  34127. _cached_size_ = 0;
  34128. packet_id_ = 7723;
  34129. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  34130. }
  34131. packetw2c_get_personal_tailor_lottry_history_result::~packetw2c_get_personal_tailor_lottry_history_result() {
  34132. SharedDtor();
  34133. }
  34134. void packetw2c_get_personal_tailor_lottry_history_result::SharedDtor() {
  34135. if (this != default_instance_) {
  34136. }
  34137. }
  34138. void packetw2c_get_personal_tailor_lottry_history_result::SetCachedSize(int size) const {
  34139. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  34140. _cached_size_ = size;
  34141. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  34142. }
  34143. const ::google::protobuf::Descriptor* packetw2c_get_personal_tailor_lottry_history_result::descriptor() {
  34144. protobuf_AssignDescriptorsOnce();
  34145. return packetw2c_get_personal_tailor_lottry_history_result_descriptor_;
  34146. }
  34147. const packetw2c_get_personal_tailor_lottry_history_result& packetw2c_get_personal_tailor_lottry_history_result::default_instance() {
  34148. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  34149. return *default_instance_;
  34150. }
  34151. packetw2c_get_personal_tailor_lottry_history_result* packetw2c_get_personal_tailor_lottry_history_result::default_instance_ = NULL;
  34152. packetw2c_get_personal_tailor_lottry_history_result* packetw2c_get_personal_tailor_lottry_history_result::New() const {
  34153. return new packetw2c_get_personal_tailor_lottry_history_result;
  34154. }
  34155. void packetw2c_get_personal_tailor_lottry_history_result::Clear() {
  34156. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34157. packet_id_ = 7723;
  34158. }
  34159. historylist_.Clear();
  34160. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  34161. mutable_unknown_fields()->Clear();
  34162. }
  34163. bool packetw2c_get_personal_tailor_lottry_history_result::MergePartialFromCodedStream(
  34164. ::google::protobuf::io::CodedInputStream* input) {
  34165. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  34166. ::google::protobuf::uint32 tag;
  34167. while ((tag = input->ReadTag()) != 0) {
  34168. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  34169. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_lottry_history_result];
  34170. case 1: {
  34171. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34172. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34173. int value;
  34174. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  34175. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  34176. input, &value)));
  34177. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  34178. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  34179. } else {
  34180. mutable_unknown_fields()->AddVarint(1, value);
  34181. }
  34182. } else {
  34183. goto handle_uninterpreted;
  34184. }
  34185. if (input->ExpectTag(18)) goto parse_historyList;
  34186. break;
  34187. }
  34188. // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 2;
  34189. case 2: {
  34190. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34191. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  34192. parse_historyList:
  34193. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  34194. input, add_historylist()));
  34195. } else {
  34196. goto handle_uninterpreted;
  34197. }
  34198. if (input->ExpectTag(18)) goto parse_historyList;
  34199. if (input->ExpectAtEnd()) return true;
  34200. break;
  34201. }
  34202. default: {
  34203. handle_uninterpreted:
  34204. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34205. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  34206. return true;
  34207. }
  34208. DO_(::google::protobuf::internal::WireFormat::SkipField(
  34209. input, tag, mutable_unknown_fields()));
  34210. break;
  34211. }
  34212. }
  34213. }
  34214. return true;
  34215. #undef DO_
  34216. }
  34217. void packetw2c_get_personal_tailor_lottry_history_result::SerializeWithCachedSizes(
  34218. ::google::protobuf::io::CodedOutputStream* output) const {
  34219. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_lottry_history_result];
  34220. if (has_packet_id()) {
  34221. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  34222. 1, this->packet_id(), output);
  34223. }
  34224. // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 2;
  34225. for (int i = 0; i < this->historylist_size(); i++) {
  34226. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  34227. 2, this->historylist(i), output);
  34228. }
  34229. if (!unknown_fields().empty()) {
  34230. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  34231. unknown_fields(), output);
  34232. }
  34233. }
  34234. ::google::protobuf::uint8* packetw2c_get_personal_tailor_lottry_history_result::SerializeWithCachedSizesToArray(
  34235. ::google::protobuf::uint8* target) const {
  34236. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_lottry_history_result];
  34237. if (has_packet_id()) {
  34238. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  34239. 1, this->packet_id(), target);
  34240. }
  34241. // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 2;
  34242. for (int i = 0; i < this->historylist_size(); i++) {
  34243. target = ::google::protobuf::internal::WireFormatLite::
  34244. WriteMessageNoVirtualToArray(
  34245. 2, this->historylist(i), target);
  34246. }
  34247. if (!unknown_fields().empty()) {
  34248. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  34249. unknown_fields(), target);
  34250. }
  34251. return target;
  34252. }
  34253. int packetw2c_get_personal_tailor_lottry_history_result::ByteSize() const {
  34254. int total_size = 0;
  34255. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34256. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_lottry_history_result];
  34257. if (has_packet_id()) {
  34258. total_size += 1 +
  34259. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  34260. }
  34261. }
  34262. // repeated .client2world_protocols.personal_tailor_lottery_history historyList = 2;
  34263. total_size += 1 * this->historylist_size();
  34264. for (int i = 0; i < this->historylist_size(); i++) {
  34265. total_size +=
  34266. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  34267. this->historylist(i));
  34268. }
  34269. if (!unknown_fields().empty()) {
  34270. total_size +=
  34271. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  34272. unknown_fields());
  34273. }
  34274. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  34275. _cached_size_ = total_size;
  34276. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  34277. return total_size;
  34278. }
  34279. void packetw2c_get_personal_tailor_lottry_history_result::MergeFrom(const ::google::protobuf::Message& from) {
  34280. GOOGLE_CHECK_NE(&from, this);
  34281. const packetw2c_get_personal_tailor_lottry_history_result* source =
  34282. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_personal_tailor_lottry_history_result*>(
  34283. &from);
  34284. if (source == NULL) {
  34285. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  34286. } else {
  34287. MergeFrom(*source);
  34288. }
  34289. }
  34290. void packetw2c_get_personal_tailor_lottry_history_result::MergeFrom(const packetw2c_get_personal_tailor_lottry_history_result& from) {
  34291. GOOGLE_CHECK_NE(&from, this);
  34292. historylist_.MergeFrom(from.historylist_);
  34293. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34294. if (from.has_packet_id()) {
  34295. set_packet_id(from.packet_id());
  34296. }
  34297. }
  34298. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  34299. }
  34300. void packetw2c_get_personal_tailor_lottry_history_result::CopyFrom(const ::google::protobuf::Message& from) {
  34301. if (&from == this) return;
  34302. Clear();
  34303. MergeFrom(from);
  34304. }
  34305. void packetw2c_get_personal_tailor_lottry_history_result::CopyFrom(const packetw2c_get_personal_tailor_lottry_history_result& from) {
  34306. if (&from == this) return;
  34307. Clear();
  34308. MergeFrom(from);
  34309. }
  34310. bool packetw2c_get_personal_tailor_lottry_history_result::IsInitialized() const {
  34311. return true;
  34312. }
  34313. void packetw2c_get_personal_tailor_lottry_history_result::Swap(packetw2c_get_personal_tailor_lottry_history_result* other) {
  34314. if (other != this) {
  34315. std::swap(packet_id_, other->packet_id_);
  34316. historylist_.Swap(&other->historylist_);
  34317. std::swap(_has_bits_[0], other->_has_bits_[0]);
  34318. _unknown_fields_.Swap(&other->_unknown_fields_);
  34319. std::swap(_cached_size_, other->_cached_size_);
  34320. }
  34321. }
  34322. ::google::protobuf::Metadata packetw2c_get_personal_tailor_lottry_history_result::GetMetadata() const {
  34323. protobuf_AssignDescriptorsOnce();
  34324. ::google::protobuf::Metadata metadata;
  34325. metadata.descriptor = packetw2c_get_personal_tailor_lottry_history_result_descriptor_;
  34326. metadata.reflection = packetw2c_get_personal_tailor_lottry_history_result_reflection_;
  34327. return metadata;
  34328. }
  34329. // ===================================================================
  34330. #ifndef _MSC_VER
  34331. const int packetc2w_personal_tailor_lottery::kPacketIdFieldNumber;
  34332. const int packetc2w_personal_tailor_lottery::kCountFieldNumber;
  34333. #endif // !_MSC_VER
  34334. packetc2w_personal_tailor_lottery::packetc2w_personal_tailor_lottery()
  34335. : ::google::protobuf::Message() {
  34336. SharedCtor();
  34337. }
  34338. void packetc2w_personal_tailor_lottery::InitAsDefaultInstance() {
  34339. }
  34340. packetc2w_personal_tailor_lottery::packetc2w_personal_tailor_lottery(const packetc2w_personal_tailor_lottery& from)
  34341. : ::google::protobuf::Message() {
  34342. SharedCtor();
  34343. MergeFrom(from);
  34344. }
  34345. void packetc2w_personal_tailor_lottery::SharedCtor() {
  34346. _cached_size_ = 0;
  34347. packet_id_ = 5192;
  34348. count_ = 0;
  34349. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  34350. }
  34351. packetc2w_personal_tailor_lottery::~packetc2w_personal_tailor_lottery() {
  34352. SharedDtor();
  34353. }
  34354. void packetc2w_personal_tailor_lottery::SharedDtor() {
  34355. if (this != default_instance_) {
  34356. }
  34357. }
  34358. void packetc2w_personal_tailor_lottery::SetCachedSize(int size) const {
  34359. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  34360. _cached_size_ = size;
  34361. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  34362. }
  34363. const ::google::protobuf::Descriptor* packetc2w_personal_tailor_lottery::descriptor() {
  34364. protobuf_AssignDescriptorsOnce();
  34365. return packetc2w_personal_tailor_lottery_descriptor_;
  34366. }
  34367. const packetc2w_personal_tailor_lottery& packetc2w_personal_tailor_lottery::default_instance() {
  34368. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  34369. return *default_instance_;
  34370. }
  34371. packetc2w_personal_tailor_lottery* packetc2w_personal_tailor_lottery::default_instance_ = NULL;
  34372. packetc2w_personal_tailor_lottery* packetc2w_personal_tailor_lottery::New() const {
  34373. return new packetc2w_personal_tailor_lottery;
  34374. }
  34375. void packetc2w_personal_tailor_lottery::Clear() {
  34376. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34377. packet_id_ = 5192;
  34378. count_ = 0;
  34379. }
  34380. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  34381. mutable_unknown_fields()->Clear();
  34382. }
  34383. bool packetc2w_personal_tailor_lottery::MergePartialFromCodedStream(
  34384. ::google::protobuf::io::CodedInputStream* input) {
  34385. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  34386. ::google::protobuf::uint32 tag;
  34387. while ((tag = input->ReadTag()) != 0) {
  34388. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  34389. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_lottery];
  34390. case 1: {
  34391. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34392. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34393. int value;
  34394. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  34395. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  34396. input, &value)));
  34397. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  34398. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  34399. } else {
  34400. mutable_unknown_fields()->AddVarint(1, value);
  34401. }
  34402. } else {
  34403. goto handle_uninterpreted;
  34404. }
  34405. if (input->ExpectTag(16)) goto parse_count;
  34406. break;
  34407. }
  34408. // optional int32 count = 2;
  34409. case 2: {
  34410. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34411. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34412. parse_count:
  34413. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  34414. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  34415. input, &count_)));
  34416. set_has_count();
  34417. } else {
  34418. goto handle_uninterpreted;
  34419. }
  34420. if (input->ExpectAtEnd()) return true;
  34421. break;
  34422. }
  34423. default: {
  34424. handle_uninterpreted:
  34425. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34426. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  34427. return true;
  34428. }
  34429. DO_(::google::protobuf::internal::WireFormat::SkipField(
  34430. input, tag, mutable_unknown_fields()));
  34431. break;
  34432. }
  34433. }
  34434. }
  34435. return true;
  34436. #undef DO_
  34437. }
  34438. void packetc2w_personal_tailor_lottery::SerializeWithCachedSizes(
  34439. ::google::protobuf::io::CodedOutputStream* output) const {
  34440. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_lottery];
  34441. if (has_packet_id()) {
  34442. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  34443. 1, this->packet_id(), output);
  34444. }
  34445. // optional int32 count = 2;
  34446. if (has_count()) {
  34447. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  34448. }
  34449. if (!unknown_fields().empty()) {
  34450. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  34451. unknown_fields(), output);
  34452. }
  34453. }
  34454. ::google::protobuf::uint8* packetc2w_personal_tailor_lottery::SerializeWithCachedSizesToArray(
  34455. ::google::protobuf::uint8* target) const {
  34456. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_lottery];
  34457. if (has_packet_id()) {
  34458. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  34459. 1, this->packet_id(), target);
  34460. }
  34461. // optional int32 count = 2;
  34462. if (has_count()) {
  34463. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  34464. }
  34465. if (!unknown_fields().empty()) {
  34466. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  34467. unknown_fields(), target);
  34468. }
  34469. return target;
  34470. }
  34471. int packetc2w_personal_tailor_lottery::ByteSize() const {
  34472. int total_size = 0;
  34473. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34474. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_lottery];
  34475. if (has_packet_id()) {
  34476. total_size += 1 +
  34477. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  34478. }
  34479. // optional int32 count = 2;
  34480. if (has_count()) {
  34481. total_size += 1 +
  34482. ::google::protobuf::internal::WireFormatLite::Int32Size(
  34483. this->count());
  34484. }
  34485. }
  34486. if (!unknown_fields().empty()) {
  34487. total_size +=
  34488. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  34489. unknown_fields());
  34490. }
  34491. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  34492. _cached_size_ = total_size;
  34493. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  34494. return total_size;
  34495. }
  34496. void packetc2w_personal_tailor_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  34497. GOOGLE_CHECK_NE(&from, this);
  34498. const packetc2w_personal_tailor_lottery* source =
  34499. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_personal_tailor_lottery*>(
  34500. &from);
  34501. if (source == NULL) {
  34502. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  34503. } else {
  34504. MergeFrom(*source);
  34505. }
  34506. }
  34507. void packetc2w_personal_tailor_lottery::MergeFrom(const packetc2w_personal_tailor_lottery& from) {
  34508. GOOGLE_CHECK_NE(&from, this);
  34509. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34510. if (from.has_packet_id()) {
  34511. set_packet_id(from.packet_id());
  34512. }
  34513. if (from.has_count()) {
  34514. set_count(from.count());
  34515. }
  34516. }
  34517. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  34518. }
  34519. void packetc2w_personal_tailor_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  34520. if (&from == this) return;
  34521. Clear();
  34522. MergeFrom(from);
  34523. }
  34524. void packetc2w_personal_tailor_lottery::CopyFrom(const packetc2w_personal_tailor_lottery& from) {
  34525. if (&from == this) return;
  34526. Clear();
  34527. MergeFrom(from);
  34528. }
  34529. bool packetc2w_personal_tailor_lottery::IsInitialized() const {
  34530. return true;
  34531. }
  34532. void packetc2w_personal_tailor_lottery::Swap(packetc2w_personal_tailor_lottery* other) {
  34533. if (other != this) {
  34534. std::swap(packet_id_, other->packet_id_);
  34535. std::swap(count_, other->count_);
  34536. std::swap(_has_bits_[0], other->_has_bits_[0]);
  34537. _unknown_fields_.Swap(&other->_unknown_fields_);
  34538. std::swap(_cached_size_, other->_cached_size_);
  34539. }
  34540. }
  34541. ::google::protobuf::Metadata packetc2w_personal_tailor_lottery::GetMetadata() const {
  34542. protobuf_AssignDescriptorsOnce();
  34543. ::google::protobuf::Metadata metadata;
  34544. metadata.descriptor = packetc2w_personal_tailor_lottery_descriptor_;
  34545. metadata.reflection = packetc2w_personal_tailor_lottery_reflection_;
  34546. return metadata;
  34547. }
  34548. // ===================================================================
  34549. #ifndef _MSC_VER
  34550. const int packetw2c_personal_tailor_lottery_result::kPacketIdFieldNumber;
  34551. const int packetw2c_personal_tailor_lottery_result::kResultFieldNumber;
  34552. const int packetw2c_personal_tailor_lottery_result::kCountFieldNumber;
  34553. const int packetw2c_personal_tailor_lottery_result::kIndexFieldNumber;
  34554. #endif // !_MSC_VER
  34555. packetw2c_personal_tailor_lottery_result::packetw2c_personal_tailor_lottery_result()
  34556. : ::google::protobuf::Message() {
  34557. SharedCtor();
  34558. }
  34559. void packetw2c_personal_tailor_lottery_result::InitAsDefaultInstance() {
  34560. }
  34561. packetw2c_personal_tailor_lottery_result::packetw2c_personal_tailor_lottery_result(const packetw2c_personal_tailor_lottery_result& from)
  34562. : ::google::protobuf::Message() {
  34563. SharedCtor();
  34564. MergeFrom(from);
  34565. }
  34566. void packetw2c_personal_tailor_lottery_result::SharedCtor() {
  34567. _cached_size_ = 0;
  34568. packet_id_ = 7646;
  34569. result_ = 0;
  34570. count_ = 0;
  34571. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  34572. }
  34573. packetw2c_personal_tailor_lottery_result::~packetw2c_personal_tailor_lottery_result() {
  34574. SharedDtor();
  34575. }
  34576. void packetw2c_personal_tailor_lottery_result::SharedDtor() {
  34577. if (this != default_instance_) {
  34578. }
  34579. }
  34580. void packetw2c_personal_tailor_lottery_result::SetCachedSize(int size) const {
  34581. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  34582. _cached_size_ = size;
  34583. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  34584. }
  34585. const ::google::protobuf::Descriptor* packetw2c_personal_tailor_lottery_result::descriptor() {
  34586. protobuf_AssignDescriptorsOnce();
  34587. return packetw2c_personal_tailor_lottery_result_descriptor_;
  34588. }
  34589. const packetw2c_personal_tailor_lottery_result& packetw2c_personal_tailor_lottery_result::default_instance() {
  34590. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  34591. return *default_instance_;
  34592. }
  34593. packetw2c_personal_tailor_lottery_result* packetw2c_personal_tailor_lottery_result::default_instance_ = NULL;
  34594. packetw2c_personal_tailor_lottery_result* packetw2c_personal_tailor_lottery_result::New() const {
  34595. return new packetw2c_personal_tailor_lottery_result;
  34596. }
  34597. void packetw2c_personal_tailor_lottery_result::Clear() {
  34598. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34599. packet_id_ = 7646;
  34600. result_ = 0;
  34601. count_ = 0;
  34602. }
  34603. index_.Clear();
  34604. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  34605. mutable_unknown_fields()->Clear();
  34606. }
  34607. bool packetw2c_personal_tailor_lottery_result::MergePartialFromCodedStream(
  34608. ::google::protobuf::io::CodedInputStream* input) {
  34609. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  34610. ::google::protobuf::uint32 tag;
  34611. while ((tag = input->ReadTag()) != 0) {
  34612. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  34613. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_lottery_result];
  34614. case 1: {
  34615. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34616. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34617. int value;
  34618. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  34619. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  34620. input, &value)));
  34621. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  34622. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  34623. } else {
  34624. mutable_unknown_fields()->AddVarint(1, value);
  34625. }
  34626. } else {
  34627. goto handle_uninterpreted;
  34628. }
  34629. if (input->ExpectTag(16)) goto parse_result;
  34630. break;
  34631. }
  34632. // optional int32 result = 2;
  34633. case 2: {
  34634. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34635. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34636. parse_result:
  34637. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  34638. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  34639. input, &result_)));
  34640. set_has_result();
  34641. } else {
  34642. goto handle_uninterpreted;
  34643. }
  34644. if (input->ExpectTag(24)) goto parse_count;
  34645. break;
  34646. }
  34647. // optional int32 count = 3;
  34648. case 3: {
  34649. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34650. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34651. parse_count:
  34652. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  34653. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  34654. input, &count_)));
  34655. set_has_count();
  34656. } else {
  34657. goto handle_uninterpreted;
  34658. }
  34659. if (input->ExpectTag(32)) goto parse_index;
  34660. break;
  34661. }
  34662. // repeated int32 index = 4;
  34663. case 4: {
  34664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34666. parse_index:
  34667. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  34668. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  34669. 1, 32, input, this->mutable_index())));
  34670. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  34671. == ::google::protobuf::internal::WireFormatLite::
  34672. WIRETYPE_LENGTH_DELIMITED) {
  34673. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  34674. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  34675. input, this->mutable_index())));
  34676. } else {
  34677. goto handle_uninterpreted;
  34678. }
  34679. if (input->ExpectTag(32)) goto parse_index;
  34680. if (input->ExpectAtEnd()) return true;
  34681. break;
  34682. }
  34683. default: {
  34684. handle_uninterpreted:
  34685. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34686. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  34687. return true;
  34688. }
  34689. DO_(::google::protobuf::internal::WireFormat::SkipField(
  34690. input, tag, mutable_unknown_fields()));
  34691. break;
  34692. }
  34693. }
  34694. }
  34695. return true;
  34696. #undef DO_
  34697. }
  34698. void packetw2c_personal_tailor_lottery_result::SerializeWithCachedSizes(
  34699. ::google::protobuf::io::CodedOutputStream* output) const {
  34700. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_lottery_result];
  34701. if (has_packet_id()) {
  34702. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  34703. 1, this->packet_id(), output);
  34704. }
  34705. // optional int32 result = 2;
  34706. if (has_result()) {
  34707. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  34708. }
  34709. // optional int32 count = 3;
  34710. if (has_count()) {
  34711. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  34712. }
  34713. // repeated int32 index = 4;
  34714. for (int i = 0; i < this->index_size(); i++) {
  34715. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  34716. 4, this->index(i), output);
  34717. }
  34718. if (!unknown_fields().empty()) {
  34719. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  34720. unknown_fields(), output);
  34721. }
  34722. }
  34723. ::google::protobuf::uint8* packetw2c_personal_tailor_lottery_result::SerializeWithCachedSizesToArray(
  34724. ::google::protobuf::uint8* target) const {
  34725. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_lottery_result];
  34726. if (has_packet_id()) {
  34727. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  34728. 1, this->packet_id(), target);
  34729. }
  34730. // optional int32 result = 2;
  34731. if (has_result()) {
  34732. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  34733. }
  34734. // optional int32 count = 3;
  34735. if (has_count()) {
  34736. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  34737. }
  34738. // repeated int32 index = 4;
  34739. for (int i = 0; i < this->index_size(); i++) {
  34740. target = ::google::protobuf::internal::WireFormatLite::
  34741. WriteInt32ToArray(4, this->index(i), target);
  34742. }
  34743. if (!unknown_fields().empty()) {
  34744. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  34745. unknown_fields(), target);
  34746. }
  34747. return target;
  34748. }
  34749. int packetw2c_personal_tailor_lottery_result::ByteSize() const {
  34750. int total_size = 0;
  34751. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34752. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_lottery_result];
  34753. if (has_packet_id()) {
  34754. total_size += 1 +
  34755. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  34756. }
  34757. // optional int32 result = 2;
  34758. if (has_result()) {
  34759. total_size += 1 +
  34760. ::google::protobuf::internal::WireFormatLite::Int32Size(
  34761. this->result());
  34762. }
  34763. // optional int32 count = 3;
  34764. if (has_count()) {
  34765. total_size += 1 +
  34766. ::google::protobuf::internal::WireFormatLite::Int32Size(
  34767. this->count());
  34768. }
  34769. }
  34770. // repeated int32 index = 4;
  34771. {
  34772. int data_size = 0;
  34773. for (int i = 0; i < this->index_size(); i++) {
  34774. data_size += ::google::protobuf::internal::WireFormatLite::
  34775. Int32Size(this->index(i));
  34776. }
  34777. total_size += 1 * this->index_size() + data_size;
  34778. }
  34779. if (!unknown_fields().empty()) {
  34780. total_size +=
  34781. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  34782. unknown_fields());
  34783. }
  34784. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  34785. _cached_size_ = total_size;
  34786. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  34787. return total_size;
  34788. }
  34789. void packetw2c_personal_tailor_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  34790. GOOGLE_CHECK_NE(&from, this);
  34791. const packetw2c_personal_tailor_lottery_result* source =
  34792. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_personal_tailor_lottery_result*>(
  34793. &from);
  34794. if (source == NULL) {
  34795. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  34796. } else {
  34797. MergeFrom(*source);
  34798. }
  34799. }
  34800. void packetw2c_personal_tailor_lottery_result::MergeFrom(const packetw2c_personal_tailor_lottery_result& from) {
  34801. GOOGLE_CHECK_NE(&from, this);
  34802. index_.MergeFrom(from.index_);
  34803. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34804. if (from.has_packet_id()) {
  34805. set_packet_id(from.packet_id());
  34806. }
  34807. if (from.has_result()) {
  34808. set_result(from.result());
  34809. }
  34810. if (from.has_count()) {
  34811. set_count(from.count());
  34812. }
  34813. }
  34814. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  34815. }
  34816. void packetw2c_personal_tailor_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  34817. if (&from == this) return;
  34818. Clear();
  34819. MergeFrom(from);
  34820. }
  34821. void packetw2c_personal_tailor_lottery_result::CopyFrom(const packetw2c_personal_tailor_lottery_result& from) {
  34822. if (&from == this) return;
  34823. Clear();
  34824. MergeFrom(from);
  34825. }
  34826. bool packetw2c_personal_tailor_lottery_result::IsInitialized() const {
  34827. return true;
  34828. }
  34829. void packetw2c_personal_tailor_lottery_result::Swap(packetw2c_personal_tailor_lottery_result* other) {
  34830. if (other != this) {
  34831. std::swap(packet_id_, other->packet_id_);
  34832. std::swap(result_, other->result_);
  34833. std::swap(count_, other->count_);
  34834. index_.Swap(&other->index_);
  34835. std::swap(_has_bits_[0], other->_has_bits_[0]);
  34836. _unknown_fields_.Swap(&other->_unknown_fields_);
  34837. std::swap(_cached_size_, other->_cached_size_);
  34838. }
  34839. }
  34840. ::google::protobuf::Metadata packetw2c_personal_tailor_lottery_result::GetMetadata() const {
  34841. protobuf_AssignDescriptorsOnce();
  34842. ::google::protobuf::Metadata metadata;
  34843. metadata.descriptor = packetw2c_personal_tailor_lottery_result_descriptor_;
  34844. metadata.reflection = packetw2c_personal_tailor_lottery_result_reflection_;
  34845. return metadata;
  34846. }
  34847. // ===================================================================
  34848. #ifndef _MSC_VER
  34849. const int packetc2w_personal_tailor_exchange::kPacketIdFieldNumber;
  34850. const int packetc2w_personal_tailor_exchange::kIndexFieldNumber;
  34851. #endif // !_MSC_VER
  34852. packetc2w_personal_tailor_exchange::packetc2w_personal_tailor_exchange()
  34853. : ::google::protobuf::Message() {
  34854. SharedCtor();
  34855. }
  34856. void packetc2w_personal_tailor_exchange::InitAsDefaultInstance() {
  34857. }
  34858. packetc2w_personal_tailor_exchange::packetc2w_personal_tailor_exchange(const packetc2w_personal_tailor_exchange& from)
  34859. : ::google::protobuf::Message() {
  34860. SharedCtor();
  34861. MergeFrom(from);
  34862. }
  34863. void packetc2w_personal_tailor_exchange::SharedCtor() {
  34864. _cached_size_ = 0;
  34865. packet_id_ = 5193;
  34866. index_ = 0;
  34867. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  34868. }
  34869. packetc2w_personal_tailor_exchange::~packetc2w_personal_tailor_exchange() {
  34870. SharedDtor();
  34871. }
  34872. void packetc2w_personal_tailor_exchange::SharedDtor() {
  34873. if (this != default_instance_) {
  34874. }
  34875. }
  34876. void packetc2w_personal_tailor_exchange::SetCachedSize(int size) const {
  34877. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  34878. _cached_size_ = size;
  34879. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  34880. }
  34881. const ::google::protobuf::Descriptor* packetc2w_personal_tailor_exchange::descriptor() {
  34882. protobuf_AssignDescriptorsOnce();
  34883. return packetc2w_personal_tailor_exchange_descriptor_;
  34884. }
  34885. const packetc2w_personal_tailor_exchange& packetc2w_personal_tailor_exchange::default_instance() {
  34886. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  34887. return *default_instance_;
  34888. }
  34889. packetc2w_personal_tailor_exchange* packetc2w_personal_tailor_exchange::default_instance_ = NULL;
  34890. packetc2w_personal_tailor_exchange* packetc2w_personal_tailor_exchange::New() const {
  34891. return new packetc2w_personal_tailor_exchange;
  34892. }
  34893. void packetc2w_personal_tailor_exchange::Clear() {
  34894. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34895. packet_id_ = 5193;
  34896. index_ = 0;
  34897. }
  34898. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  34899. mutable_unknown_fields()->Clear();
  34900. }
  34901. bool packetc2w_personal_tailor_exchange::MergePartialFromCodedStream(
  34902. ::google::protobuf::io::CodedInputStream* input) {
  34903. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  34904. ::google::protobuf::uint32 tag;
  34905. while ((tag = input->ReadTag()) != 0) {
  34906. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  34907. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange];
  34908. case 1: {
  34909. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34910. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34911. int value;
  34912. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  34913. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  34914. input, &value)));
  34915. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  34916. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  34917. } else {
  34918. mutable_unknown_fields()->AddVarint(1, value);
  34919. }
  34920. } else {
  34921. goto handle_uninterpreted;
  34922. }
  34923. if (input->ExpectTag(16)) goto parse_index;
  34924. break;
  34925. }
  34926. // optional int32 index = 2;
  34927. case 2: {
  34928. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34929. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  34930. parse_index:
  34931. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  34932. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  34933. input, &index_)));
  34934. set_has_index();
  34935. } else {
  34936. goto handle_uninterpreted;
  34937. }
  34938. if (input->ExpectAtEnd()) return true;
  34939. break;
  34940. }
  34941. default: {
  34942. handle_uninterpreted:
  34943. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  34944. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  34945. return true;
  34946. }
  34947. DO_(::google::protobuf::internal::WireFormat::SkipField(
  34948. input, tag, mutable_unknown_fields()));
  34949. break;
  34950. }
  34951. }
  34952. }
  34953. return true;
  34954. #undef DO_
  34955. }
  34956. void packetc2w_personal_tailor_exchange::SerializeWithCachedSizes(
  34957. ::google::protobuf::io::CodedOutputStream* output) const {
  34958. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange];
  34959. if (has_packet_id()) {
  34960. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  34961. 1, this->packet_id(), output);
  34962. }
  34963. // optional int32 index = 2;
  34964. if (has_index()) {
  34965. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  34966. }
  34967. if (!unknown_fields().empty()) {
  34968. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  34969. unknown_fields(), output);
  34970. }
  34971. }
  34972. ::google::protobuf::uint8* packetc2w_personal_tailor_exchange::SerializeWithCachedSizesToArray(
  34973. ::google::protobuf::uint8* target) const {
  34974. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange];
  34975. if (has_packet_id()) {
  34976. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  34977. 1, this->packet_id(), target);
  34978. }
  34979. // optional int32 index = 2;
  34980. if (has_index()) {
  34981. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  34982. }
  34983. if (!unknown_fields().empty()) {
  34984. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  34985. unknown_fields(), target);
  34986. }
  34987. return target;
  34988. }
  34989. int packetc2w_personal_tailor_exchange::ByteSize() const {
  34990. int total_size = 0;
  34991. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  34992. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange];
  34993. if (has_packet_id()) {
  34994. total_size += 1 +
  34995. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  34996. }
  34997. // optional int32 index = 2;
  34998. if (has_index()) {
  34999. total_size += 1 +
  35000. ::google::protobuf::internal::WireFormatLite::Int32Size(
  35001. this->index());
  35002. }
  35003. }
  35004. if (!unknown_fields().empty()) {
  35005. total_size +=
  35006. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  35007. unknown_fields());
  35008. }
  35009. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  35010. _cached_size_ = total_size;
  35011. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  35012. return total_size;
  35013. }
  35014. void packetc2w_personal_tailor_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  35015. GOOGLE_CHECK_NE(&from, this);
  35016. const packetc2w_personal_tailor_exchange* source =
  35017. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_personal_tailor_exchange*>(
  35018. &from);
  35019. if (source == NULL) {
  35020. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  35021. } else {
  35022. MergeFrom(*source);
  35023. }
  35024. }
  35025. void packetc2w_personal_tailor_exchange::MergeFrom(const packetc2w_personal_tailor_exchange& from) {
  35026. GOOGLE_CHECK_NE(&from, this);
  35027. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35028. if (from.has_packet_id()) {
  35029. set_packet_id(from.packet_id());
  35030. }
  35031. if (from.has_index()) {
  35032. set_index(from.index());
  35033. }
  35034. }
  35035. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  35036. }
  35037. void packetc2w_personal_tailor_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  35038. if (&from == this) return;
  35039. Clear();
  35040. MergeFrom(from);
  35041. }
  35042. void packetc2w_personal_tailor_exchange::CopyFrom(const packetc2w_personal_tailor_exchange& from) {
  35043. if (&from == this) return;
  35044. Clear();
  35045. MergeFrom(from);
  35046. }
  35047. bool packetc2w_personal_tailor_exchange::IsInitialized() const {
  35048. return true;
  35049. }
  35050. void packetc2w_personal_tailor_exchange::Swap(packetc2w_personal_tailor_exchange* other) {
  35051. if (other != this) {
  35052. std::swap(packet_id_, other->packet_id_);
  35053. std::swap(index_, other->index_);
  35054. std::swap(_has_bits_[0], other->_has_bits_[0]);
  35055. _unknown_fields_.Swap(&other->_unknown_fields_);
  35056. std::swap(_cached_size_, other->_cached_size_);
  35057. }
  35058. }
  35059. ::google::protobuf::Metadata packetc2w_personal_tailor_exchange::GetMetadata() const {
  35060. protobuf_AssignDescriptorsOnce();
  35061. ::google::protobuf::Metadata metadata;
  35062. metadata.descriptor = packetc2w_personal_tailor_exchange_descriptor_;
  35063. metadata.reflection = packetc2w_personal_tailor_exchange_reflection_;
  35064. return metadata;
  35065. }
  35066. // ===================================================================
  35067. #ifndef _MSC_VER
  35068. const int packetw2c_personal_tailor_exchange_result::kPacketIdFieldNumber;
  35069. const int packetw2c_personal_tailor_exchange_result::kResultFieldNumber;
  35070. const int packetw2c_personal_tailor_exchange_result::kIndexFieldNumber;
  35071. #endif // !_MSC_VER
  35072. packetw2c_personal_tailor_exchange_result::packetw2c_personal_tailor_exchange_result()
  35073. : ::google::protobuf::Message() {
  35074. SharedCtor();
  35075. }
  35076. void packetw2c_personal_tailor_exchange_result::InitAsDefaultInstance() {
  35077. }
  35078. packetw2c_personal_tailor_exchange_result::packetw2c_personal_tailor_exchange_result(const packetw2c_personal_tailor_exchange_result& from)
  35079. : ::google::protobuf::Message() {
  35080. SharedCtor();
  35081. MergeFrom(from);
  35082. }
  35083. void packetw2c_personal_tailor_exchange_result::SharedCtor() {
  35084. _cached_size_ = 0;
  35085. packet_id_ = 7644;
  35086. result_ = 0;
  35087. index_ = 0;
  35088. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  35089. }
  35090. packetw2c_personal_tailor_exchange_result::~packetw2c_personal_tailor_exchange_result() {
  35091. SharedDtor();
  35092. }
  35093. void packetw2c_personal_tailor_exchange_result::SharedDtor() {
  35094. if (this != default_instance_) {
  35095. }
  35096. }
  35097. void packetw2c_personal_tailor_exchange_result::SetCachedSize(int size) const {
  35098. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  35099. _cached_size_ = size;
  35100. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  35101. }
  35102. const ::google::protobuf::Descriptor* packetw2c_personal_tailor_exchange_result::descriptor() {
  35103. protobuf_AssignDescriptorsOnce();
  35104. return packetw2c_personal_tailor_exchange_result_descriptor_;
  35105. }
  35106. const packetw2c_personal_tailor_exchange_result& packetw2c_personal_tailor_exchange_result::default_instance() {
  35107. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  35108. return *default_instance_;
  35109. }
  35110. packetw2c_personal_tailor_exchange_result* packetw2c_personal_tailor_exchange_result::default_instance_ = NULL;
  35111. packetw2c_personal_tailor_exchange_result* packetw2c_personal_tailor_exchange_result::New() const {
  35112. return new packetw2c_personal_tailor_exchange_result;
  35113. }
  35114. void packetw2c_personal_tailor_exchange_result::Clear() {
  35115. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35116. packet_id_ = 7644;
  35117. result_ = 0;
  35118. index_ = 0;
  35119. }
  35120. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  35121. mutable_unknown_fields()->Clear();
  35122. }
  35123. bool packetw2c_personal_tailor_exchange_result::MergePartialFromCodedStream(
  35124. ::google::protobuf::io::CodedInputStream* input) {
  35125. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  35126. ::google::protobuf::uint32 tag;
  35127. while ((tag = input->ReadTag()) != 0) {
  35128. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  35129. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result];
  35130. case 1: {
  35131. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35132. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35133. int value;
  35134. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35135. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  35136. input, &value)));
  35137. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  35138. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  35139. } else {
  35140. mutable_unknown_fields()->AddVarint(1, value);
  35141. }
  35142. } else {
  35143. goto handle_uninterpreted;
  35144. }
  35145. if (input->ExpectTag(16)) goto parse_result;
  35146. break;
  35147. }
  35148. // optional int32 result = 2;
  35149. case 2: {
  35150. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35151. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35152. parse_result:
  35153. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35154. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35155. input, &result_)));
  35156. set_has_result();
  35157. } else {
  35158. goto handle_uninterpreted;
  35159. }
  35160. if (input->ExpectTag(24)) goto parse_index;
  35161. break;
  35162. }
  35163. // optional int32 index = 3;
  35164. case 3: {
  35165. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35166. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35167. parse_index:
  35168. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35169. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35170. input, &index_)));
  35171. set_has_index();
  35172. } else {
  35173. goto handle_uninterpreted;
  35174. }
  35175. if (input->ExpectAtEnd()) return true;
  35176. break;
  35177. }
  35178. default: {
  35179. handle_uninterpreted:
  35180. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35181. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  35182. return true;
  35183. }
  35184. DO_(::google::protobuf::internal::WireFormat::SkipField(
  35185. input, tag, mutable_unknown_fields()));
  35186. break;
  35187. }
  35188. }
  35189. }
  35190. return true;
  35191. #undef DO_
  35192. }
  35193. void packetw2c_personal_tailor_exchange_result::SerializeWithCachedSizes(
  35194. ::google::protobuf::io::CodedOutputStream* output) const {
  35195. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result];
  35196. if (has_packet_id()) {
  35197. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  35198. 1, this->packet_id(), output);
  35199. }
  35200. // optional int32 result = 2;
  35201. if (has_result()) {
  35202. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  35203. }
  35204. // optional int32 index = 3;
  35205. if (has_index()) {
  35206. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  35207. }
  35208. if (!unknown_fields().empty()) {
  35209. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  35210. unknown_fields(), output);
  35211. }
  35212. }
  35213. ::google::protobuf::uint8* packetw2c_personal_tailor_exchange_result::SerializeWithCachedSizesToArray(
  35214. ::google::protobuf::uint8* target) const {
  35215. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result];
  35216. if (has_packet_id()) {
  35217. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  35218. 1, this->packet_id(), target);
  35219. }
  35220. // optional int32 result = 2;
  35221. if (has_result()) {
  35222. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  35223. }
  35224. // optional int32 index = 3;
  35225. if (has_index()) {
  35226. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  35227. }
  35228. if (!unknown_fields().empty()) {
  35229. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  35230. unknown_fields(), target);
  35231. }
  35232. return target;
  35233. }
  35234. int packetw2c_personal_tailor_exchange_result::ByteSize() const {
  35235. int total_size = 0;
  35236. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35237. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result];
  35238. if (has_packet_id()) {
  35239. total_size += 1 +
  35240. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  35241. }
  35242. // optional int32 result = 2;
  35243. if (has_result()) {
  35244. total_size += 1 +
  35245. ::google::protobuf::internal::WireFormatLite::Int32Size(
  35246. this->result());
  35247. }
  35248. // optional int32 index = 3;
  35249. if (has_index()) {
  35250. total_size += 1 +
  35251. ::google::protobuf::internal::WireFormatLite::Int32Size(
  35252. this->index());
  35253. }
  35254. }
  35255. if (!unknown_fields().empty()) {
  35256. total_size +=
  35257. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  35258. unknown_fields());
  35259. }
  35260. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  35261. _cached_size_ = total_size;
  35262. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  35263. return total_size;
  35264. }
  35265. void packetw2c_personal_tailor_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  35266. GOOGLE_CHECK_NE(&from, this);
  35267. const packetw2c_personal_tailor_exchange_result* source =
  35268. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_personal_tailor_exchange_result*>(
  35269. &from);
  35270. if (source == NULL) {
  35271. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  35272. } else {
  35273. MergeFrom(*source);
  35274. }
  35275. }
  35276. void packetw2c_personal_tailor_exchange_result::MergeFrom(const packetw2c_personal_tailor_exchange_result& from) {
  35277. GOOGLE_CHECK_NE(&from, this);
  35278. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35279. if (from.has_packet_id()) {
  35280. set_packet_id(from.packet_id());
  35281. }
  35282. if (from.has_result()) {
  35283. set_result(from.result());
  35284. }
  35285. if (from.has_index()) {
  35286. set_index(from.index());
  35287. }
  35288. }
  35289. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  35290. }
  35291. void packetw2c_personal_tailor_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  35292. if (&from == this) return;
  35293. Clear();
  35294. MergeFrom(from);
  35295. }
  35296. void packetw2c_personal_tailor_exchange_result::CopyFrom(const packetw2c_personal_tailor_exchange_result& from) {
  35297. if (&from == this) return;
  35298. Clear();
  35299. MergeFrom(from);
  35300. }
  35301. bool packetw2c_personal_tailor_exchange_result::IsInitialized() const {
  35302. return true;
  35303. }
  35304. void packetw2c_personal_tailor_exchange_result::Swap(packetw2c_personal_tailor_exchange_result* other) {
  35305. if (other != this) {
  35306. std::swap(packet_id_, other->packet_id_);
  35307. std::swap(result_, other->result_);
  35308. std::swap(index_, other->index_);
  35309. std::swap(_has_bits_[0], other->_has_bits_[0]);
  35310. _unknown_fields_.Swap(&other->_unknown_fields_);
  35311. std::swap(_cached_size_, other->_cached_size_);
  35312. }
  35313. }
  35314. ::google::protobuf::Metadata packetw2c_personal_tailor_exchange_result::GetMetadata() const {
  35315. protobuf_AssignDescriptorsOnce();
  35316. ::google::protobuf::Metadata metadata;
  35317. metadata.descriptor = packetw2c_personal_tailor_exchange_result_descriptor_;
  35318. metadata.reflection = packetw2c_personal_tailor_exchange_result_reflection_;
  35319. return metadata;
  35320. }
  35321. // ===================================================================
  35322. #ifndef _MSC_VER
  35323. const int packetw2c_syn_time_limit_purchase_info::kPacketIdFieldNumber;
  35324. const int packetw2c_syn_time_limit_purchase_info::kActivityStateFieldNumber;
  35325. const int packetw2c_syn_time_limit_purchase_info::kStartTimeFieldNumber;
  35326. const int packetw2c_syn_time_limit_purchase_info::kEndTimeFieldNumber;
  35327. const int packetw2c_syn_time_limit_purchase_info::kItemClockFieldNumber;
  35328. #endif // !_MSC_VER
  35329. packetw2c_syn_time_limit_purchase_info::packetw2c_syn_time_limit_purchase_info()
  35330. : ::google::protobuf::Message() {
  35331. SharedCtor();
  35332. }
  35333. void packetw2c_syn_time_limit_purchase_info::InitAsDefaultInstance() {
  35334. }
  35335. packetw2c_syn_time_limit_purchase_info::packetw2c_syn_time_limit_purchase_info(const packetw2c_syn_time_limit_purchase_info& from)
  35336. : ::google::protobuf::Message() {
  35337. SharedCtor();
  35338. MergeFrom(from);
  35339. }
  35340. void packetw2c_syn_time_limit_purchase_info::SharedCtor() {
  35341. _cached_size_ = 0;
  35342. packet_id_ = 7719;
  35343. activitystate_ = 0;
  35344. starttime_ = 0;
  35345. endtime_ = 0;
  35346. itemclock_ = 0;
  35347. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  35348. }
  35349. packetw2c_syn_time_limit_purchase_info::~packetw2c_syn_time_limit_purchase_info() {
  35350. SharedDtor();
  35351. }
  35352. void packetw2c_syn_time_limit_purchase_info::SharedDtor() {
  35353. if (this != default_instance_) {
  35354. }
  35355. }
  35356. void packetw2c_syn_time_limit_purchase_info::SetCachedSize(int size) const {
  35357. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  35358. _cached_size_ = size;
  35359. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  35360. }
  35361. const ::google::protobuf::Descriptor* packetw2c_syn_time_limit_purchase_info::descriptor() {
  35362. protobuf_AssignDescriptorsOnce();
  35363. return packetw2c_syn_time_limit_purchase_info_descriptor_;
  35364. }
  35365. const packetw2c_syn_time_limit_purchase_info& packetw2c_syn_time_limit_purchase_info::default_instance() {
  35366. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  35367. return *default_instance_;
  35368. }
  35369. packetw2c_syn_time_limit_purchase_info* packetw2c_syn_time_limit_purchase_info::default_instance_ = NULL;
  35370. packetw2c_syn_time_limit_purchase_info* packetw2c_syn_time_limit_purchase_info::New() const {
  35371. return new packetw2c_syn_time_limit_purchase_info;
  35372. }
  35373. void packetw2c_syn_time_limit_purchase_info::Clear() {
  35374. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35375. packet_id_ = 7719;
  35376. activitystate_ = 0;
  35377. starttime_ = 0;
  35378. endtime_ = 0;
  35379. itemclock_ = 0;
  35380. }
  35381. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  35382. mutable_unknown_fields()->Clear();
  35383. }
  35384. bool packetw2c_syn_time_limit_purchase_info::MergePartialFromCodedStream(
  35385. ::google::protobuf::io::CodedInputStream* input) {
  35386. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  35387. ::google::protobuf::uint32 tag;
  35388. while ((tag = input->ReadTag()) != 0) {
  35389. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  35390. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_time_limit_purchase_info];
  35391. case 1: {
  35392. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35393. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35394. int value;
  35395. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35396. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  35397. input, &value)));
  35398. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  35399. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  35400. } else {
  35401. mutable_unknown_fields()->AddVarint(1, value);
  35402. }
  35403. } else {
  35404. goto handle_uninterpreted;
  35405. }
  35406. if (input->ExpectTag(16)) goto parse_activityState;
  35407. break;
  35408. }
  35409. // optional int32 activityState = 2;
  35410. case 2: {
  35411. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35412. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35413. parse_activityState:
  35414. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35415. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35416. input, &activitystate_)));
  35417. set_has_activitystate();
  35418. } else {
  35419. goto handle_uninterpreted;
  35420. }
  35421. if (input->ExpectTag(24)) goto parse_startTime;
  35422. break;
  35423. }
  35424. // optional int32 startTime = 3;
  35425. case 3: {
  35426. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35427. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35428. parse_startTime:
  35429. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35430. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35431. input, &starttime_)));
  35432. set_has_starttime();
  35433. } else {
  35434. goto handle_uninterpreted;
  35435. }
  35436. if (input->ExpectTag(32)) goto parse_endTime;
  35437. break;
  35438. }
  35439. // optional int32 endTime = 4;
  35440. case 4: {
  35441. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35442. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35443. parse_endTime:
  35444. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35445. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35446. input, &endtime_)));
  35447. set_has_endtime();
  35448. } else {
  35449. goto handle_uninterpreted;
  35450. }
  35451. if (input->ExpectTag(40)) goto parse_itemClock;
  35452. break;
  35453. }
  35454. // optional int32 itemClock = 5;
  35455. case 5: {
  35456. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35457. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35458. parse_itemClock:
  35459. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35460. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35461. input, &itemclock_)));
  35462. set_has_itemclock();
  35463. } else {
  35464. goto handle_uninterpreted;
  35465. }
  35466. if (input->ExpectAtEnd()) return true;
  35467. break;
  35468. }
  35469. default: {
  35470. handle_uninterpreted:
  35471. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35472. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  35473. return true;
  35474. }
  35475. DO_(::google::protobuf::internal::WireFormat::SkipField(
  35476. input, tag, mutable_unknown_fields()));
  35477. break;
  35478. }
  35479. }
  35480. }
  35481. return true;
  35482. #undef DO_
  35483. }
  35484. void packetw2c_syn_time_limit_purchase_info::SerializeWithCachedSizes(
  35485. ::google::protobuf::io::CodedOutputStream* output) const {
  35486. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_time_limit_purchase_info];
  35487. if (has_packet_id()) {
  35488. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  35489. 1, this->packet_id(), output);
  35490. }
  35491. // optional int32 activityState = 2;
  35492. if (has_activitystate()) {
  35493. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  35494. }
  35495. // optional int32 startTime = 3;
  35496. if (has_starttime()) {
  35497. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  35498. }
  35499. // optional int32 endTime = 4;
  35500. if (has_endtime()) {
  35501. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  35502. }
  35503. // optional int32 itemClock = 5;
  35504. if (has_itemclock()) {
  35505. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->itemclock(), output);
  35506. }
  35507. if (!unknown_fields().empty()) {
  35508. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  35509. unknown_fields(), output);
  35510. }
  35511. }
  35512. ::google::protobuf::uint8* packetw2c_syn_time_limit_purchase_info::SerializeWithCachedSizesToArray(
  35513. ::google::protobuf::uint8* target) const {
  35514. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_time_limit_purchase_info];
  35515. if (has_packet_id()) {
  35516. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  35517. 1, this->packet_id(), target);
  35518. }
  35519. // optional int32 activityState = 2;
  35520. if (has_activitystate()) {
  35521. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  35522. }
  35523. // optional int32 startTime = 3;
  35524. if (has_starttime()) {
  35525. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  35526. }
  35527. // optional int32 endTime = 4;
  35528. if (has_endtime()) {
  35529. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  35530. }
  35531. // optional int32 itemClock = 5;
  35532. if (has_itemclock()) {
  35533. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->itemclock(), target);
  35534. }
  35535. if (!unknown_fields().empty()) {
  35536. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  35537. unknown_fields(), target);
  35538. }
  35539. return target;
  35540. }
  35541. int packetw2c_syn_time_limit_purchase_info::ByteSize() const {
  35542. int total_size = 0;
  35543. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35544. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_time_limit_purchase_info];
  35545. if (has_packet_id()) {
  35546. total_size += 1 +
  35547. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  35548. }
  35549. // optional int32 activityState = 2;
  35550. if (has_activitystate()) {
  35551. total_size += 1 +
  35552. ::google::protobuf::internal::WireFormatLite::Int32Size(
  35553. this->activitystate());
  35554. }
  35555. // optional int32 startTime = 3;
  35556. if (has_starttime()) {
  35557. total_size += 1 +
  35558. ::google::protobuf::internal::WireFormatLite::Int32Size(
  35559. this->starttime());
  35560. }
  35561. // optional int32 endTime = 4;
  35562. if (has_endtime()) {
  35563. total_size += 1 +
  35564. ::google::protobuf::internal::WireFormatLite::Int32Size(
  35565. this->endtime());
  35566. }
  35567. // optional int32 itemClock = 5;
  35568. if (has_itemclock()) {
  35569. total_size += 1 +
  35570. ::google::protobuf::internal::WireFormatLite::Int32Size(
  35571. this->itemclock());
  35572. }
  35573. }
  35574. if (!unknown_fields().empty()) {
  35575. total_size +=
  35576. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  35577. unknown_fields());
  35578. }
  35579. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  35580. _cached_size_ = total_size;
  35581. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  35582. return total_size;
  35583. }
  35584. void packetw2c_syn_time_limit_purchase_info::MergeFrom(const ::google::protobuf::Message& from) {
  35585. GOOGLE_CHECK_NE(&from, this);
  35586. const packetw2c_syn_time_limit_purchase_info* source =
  35587. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_time_limit_purchase_info*>(
  35588. &from);
  35589. if (source == NULL) {
  35590. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  35591. } else {
  35592. MergeFrom(*source);
  35593. }
  35594. }
  35595. void packetw2c_syn_time_limit_purchase_info::MergeFrom(const packetw2c_syn_time_limit_purchase_info& from) {
  35596. GOOGLE_CHECK_NE(&from, this);
  35597. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35598. if (from.has_packet_id()) {
  35599. set_packet_id(from.packet_id());
  35600. }
  35601. if (from.has_activitystate()) {
  35602. set_activitystate(from.activitystate());
  35603. }
  35604. if (from.has_starttime()) {
  35605. set_starttime(from.starttime());
  35606. }
  35607. if (from.has_endtime()) {
  35608. set_endtime(from.endtime());
  35609. }
  35610. if (from.has_itemclock()) {
  35611. set_itemclock(from.itemclock());
  35612. }
  35613. }
  35614. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  35615. }
  35616. void packetw2c_syn_time_limit_purchase_info::CopyFrom(const ::google::protobuf::Message& from) {
  35617. if (&from == this) return;
  35618. Clear();
  35619. MergeFrom(from);
  35620. }
  35621. void packetw2c_syn_time_limit_purchase_info::CopyFrom(const packetw2c_syn_time_limit_purchase_info& from) {
  35622. if (&from == this) return;
  35623. Clear();
  35624. MergeFrom(from);
  35625. }
  35626. bool packetw2c_syn_time_limit_purchase_info::IsInitialized() const {
  35627. return true;
  35628. }
  35629. void packetw2c_syn_time_limit_purchase_info::Swap(packetw2c_syn_time_limit_purchase_info* other) {
  35630. if (other != this) {
  35631. std::swap(packet_id_, other->packet_id_);
  35632. std::swap(activitystate_, other->activitystate_);
  35633. std::swap(starttime_, other->starttime_);
  35634. std::swap(endtime_, other->endtime_);
  35635. std::swap(itemclock_, other->itemclock_);
  35636. std::swap(_has_bits_[0], other->_has_bits_[0]);
  35637. _unknown_fields_.Swap(&other->_unknown_fields_);
  35638. std::swap(_cached_size_, other->_cached_size_);
  35639. }
  35640. }
  35641. ::google::protobuf::Metadata packetw2c_syn_time_limit_purchase_info::GetMetadata() const {
  35642. protobuf_AssignDescriptorsOnce();
  35643. ::google::protobuf::Metadata metadata;
  35644. metadata.descriptor = packetw2c_syn_time_limit_purchase_info_descriptor_;
  35645. metadata.reflection = packetw2c_syn_time_limit_purchase_info_reflection_;
  35646. return metadata;
  35647. }
  35648. // ===================================================================
  35649. #ifndef _MSC_VER
  35650. const int packetc2w_time_limit_purchase_lottery::kPacketIdFieldNumber;
  35651. const int packetc2w_time_limit_purchase_lottery::kCountFieldNumber;
  35652. #endif // !_MSC_VER
  35653. packetc2w_time_limit_purchase_lottery::packetc2w_time_limit_purchase_lottery()
  35654. : ::google::protobuf::Message() {
  35655. SharedCtor();
  35656. }
  35657. void packetc2w_time_limit_purchase_lottery::InitAsDefaultInstance() {
  35658. }
  35659. packetc2w_time_limit_purchase_lottery::packetc2w_time_limit_purchase_lottery(const packetc2w_time_limit_purchase_lottery& from)
  35660. : ::google::protobuf::Message() {
  35661. SharedCtor();
  35662. MergeFrom(from);
  35663. }
  35664. void packetc2w_time_limit_purchase_lottery::SharedCtor() {
  35665. _cached_size_ = 0;
  35666. packet_id_ = 5194;
  35667. count_ = 0;
  35668. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  35669. }
  35670. packetc2w_time_limit_purchase_lottery::~packetc2w_time_limit_purchase_lottery() {
  35671. SharedDtor();
  35672. }
  35673. void packetc2w_time_limit_purchase_lottery::SharedDtor() {
  35674. if (this != default_instance_) {
  35675. }
  35676. }
  35677. void packetc2w_time_limit_purchase_lottery::SetCachedSize(int size) const {
  35678. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  35679. _cached_size_ = size;
  35680. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  35681. }
  35682. const ::google::protobuf::Descriptor* packetc2w_time_limit_purchase_lottery::descriptor() {
  35683. protobuf_AssignDescriptorsOnce();
  35684. return packetc2w_time_limit_purchase_lottery_descriptor_;
  35685. }
  35686. const packetc2w_time_limit_purchase_lottery& packetc2w_time_limit_purchase_lottery::default_instance() {
  35687. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  35688. return *default_instance_;
  35689. }
  35690. packetc2w_time_limit_purchase_lottery* packetc2w_time_limit_purchase_lottery::default_instance_ = NULL;
  35691. packetc2w_time_limit_purchase_lottery* packetc2w_time_limit_purchase_lottery::New() const {
  35692. return new packetc2w_time_limit_purchase_lottery;
  35693. }
  35694. void packetc2w_time_limit_purchase_lottery::Clear() {
  35695. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35696. packet_id_ = 5194;
  35697. count_ = 0;
  35698. }
  35699. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  35700. mutable_unknown_fields()->Clear();
  35701. }
  35702. bool packetc2w_time_limit_purchase_lottery::MergePartialFromCodedStream(
  35703. ::google::protobuf::io::CodedInputStream* input) {
  35704. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  35705. ::google::protobuf::uint32 tag;
  35706. while ((tag = input->ReadTag()) != 0) {
  35707. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  35708. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_time_limit_purchase_lottery];
  35709. case 1: {
  35710. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35711. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35712. int value;
  35713. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35714. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  35715. input, &value)));
  35716. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  35717. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  35718. } else {
  35719. mutable_unknown_fields()->AddVarint(1, value);
  35720. }
  35721. } else {
  35722. goto handle_uninterpreted;
  35723. }
  35724. if (input->ExpectTag(16)) goto parse_count;
  35725. break;
  35726. }
  35727. // optional int32 count = 2;
  35728. case 2: {
  35729. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35730. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35731. parse_count:
  35732. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35733. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35734. input, &count_)));
  35735. set_has_count();
  35736. } else {
  35737. goto handle_uninterpreted;
  35738. }
  35739. if (input->ExpectAtEnd()) return true;
  35740. break;
  35741. }
  35742. default: {
  35743. handle_uninterpreted:
  35744. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35745. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  35746. return true;
  35747. }
  35748. DO_(::google::protobuf::internal::WireFormat::SkipField(
  35749. input, tag, mutable_unknown_fields()));
  35750. break;
  35751. }
  35752. }
  35753. }
  35754. return true;
  35755. #undef DO_
  35756. }
  35757. void packetc2w_time_limit_purchase_lottery::SerializeWithCachedSizes(
  35758. ::google::protobuf::io::CodedOutputStream* output) const {
  35759. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_time_limit_purchase_lottery];
  35760. if (has_packet_id()) {
  35761. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  35762. 1, this->packet_id(), output);
  35763. }
  35764. // optional int32 count = 2;
  35765. if (has_count()) {
  35766. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  35767. }
  35768. if (!unknown_fields().empty()) {
  35769. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  35770. unknown_fields(), output);
  35771. }
  35772. }
  35773. ::google::protobuf::uint8* packetc2w_time_limit_purchase_lottery::SerializeWithCachedSizesToArray(
  35774. ::google::protobuf::uint8* target) const {
  35775. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_time_limit_purchase_lottery];
  35776. if (has_packet_id()) {
  35777. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  35778. 1, this->packet_id(), target);
  35779. }
  35780. // optional int32 count = 2;
  35781. if (has_count()) {
  35782. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  35783. }
  35784. if (!unknown_fields().empty()) {
  35785. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  35786. unknown_fields(), target);
  35787. }
  35788. return target;
  35789. }
  35790. int packetc2w_time_limit_purchase_lottery::ByteSize() const {
  35791. int total_size = 0;
  35792. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35793. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_time_limit_purchase_lottery];
  35794. if (has_packet_id()) {
  35795. total_size += 1 +
  35796. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  35797. }
  35798. // optional int32 count = 2;
  35799. if (has_count()) {
  35800. total_size += 1 +
  35801. ::google::protobuf::internal::WireFormatLite::Int32Size(
  35802. this->count());
  35803. }
  35804. }
  35805. if (!unknown_fields().empty()) {
  35806. total_size +=
  35807. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  35808. unknown_fields());
  35809. }
  35810. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  35811. _cached_size_ = total_size;
  35812. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  35813. return total_size;
  35814. }
  35815. void packetc2w_time_limit_purchase_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  35816. GOOGLE_CHECK_NE(&from, this);
  35817. const packetc2w_time_limit_purchase_lottery* source =
  35818. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_time_limit_purchase_lottery*>(
  35819. &from);
  35820. if (source == NULL) {
  35821. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  35822. } else {
  35823. MergeFrom(*source);
  35824. }
  35825. }
  35826. void packetc2w_time_limit_purchase_lottery::MergeFrom(const packetc2w_time_limit_purchase_lottery& from) {
  35827. GOOGLE_CHECK_NE(&from, this);
  35828. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35829. if (from.has_packet_id()) {
  35830. set_packet_id(from.packet_id());
  35831. }
  35832. if (from.has_count()) {
  35833. set_count(from.count());
  35834. }
  35835. }
  35836. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  35837. }
  35838. void packetc2w_time_limit_purchase_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  35839. if (&from == this) return;
  35840. Clear();
  35841. MergeFrom(from);
  35842. }
  35843. void packetc2w_time_limit_purchase_lottery::CopyFrom(const packetc2w_time_limit_purchase_lottery& from) {
  35844. if (&from == this) return;
  35845. Clear();
  35846. MergeFrom(from);
  35847. }
  35848. bool packetc2w_time_limit_purchase_lottery::IsInitialized() const {
  35849. return true;
  35850. }
  35851. void packetc2w_time_limit_purchase_lottery::Swap(packetc2w_time_limit_purchase_lottery* other) {
  35852. if (other != this) {
  35853. std::swap(packet_id_, other->packet_id_);
  35854. std::swap(count_, other->count_);
  35855. std::swap(_has_bits_[0], other->_has_bits_[0]);
  35856. _unknown_fields_.Swap(&other->_unknown_fields_);
  35857. std::swap(_cached_size_, other->_cached_size_);
  35858. }
  35859. }
  35860. ::google::protobuf::Metadata packetc2w_time_limit_purchase_lottery::GetMetadata() const {
  35861. protobuf_AssignDescriptorsOnce();
  35862. ::google::protobuf::Metadata metadata;
  35863. metadata.descriptor = packetc2w_time_limit_purchase_lottery_descriptor_;
  35864. metadata.reflection = packetc2w_time_limit_purchase_lottery_reflection_;
  35865. return metadata;
  35866. }
  35867. // ===================================================================
  35868. #ifndef _MSC_VER
  35869. const int packetw2c_time_limit_purchase_lottery_result::kPacketIdFieldNumber;
  35870. const int packetw2c_time_limit_purchase_lottery_result::kResultFieldNumber;
  35871. const int packetw2c_time_limit_purchase_lottery_result::kCountFieldNumber;
  35872. const int packetw2c_time_limit_purchase_lottery_result::kIndexFieldNumber;
  35873. #endif // !_MSC_VER
  35874. packetw2c_time_limit_purchase_lottery_result::packetw2c_time_limit_purchase_lottery_result()
  35875. : ::google::protobuf::Message() {
  35876. SharedCtor();
  35877. }
  35878. void packetw2c_time_limit_purchase_lottery_result::InitAsDefaultInstance() {
  35879. }
  35880. packetw2c_time_limit_purchase_lottery_result::packetw2c_time_limit_purchase_lottery_result(const packetw2c_time_limit_purchase_lottery_result& from)
  35881. : ::google::protobuf::Message() {
  35882. SharedCtor();
  35883. MergeFrom(from);
  35884. }
  35885. void packetw2c_time_limit_purchase_lottery_result::SharedCtor() {
  35886. _cached_size_ = 0;
  35887. packet_id_ = 7720;
  35888. result_ = 0;
  35889. count_ = 0;
  35890. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  35891. }
  35892. packetw2c_time_limit_purchase_lottery_result::~packetw2c_time_limit_purchase_lottery_result() {
  35893. SharedDtor();
  35894. }
  35895. void packetw2c_time_limit_purchase_lottery_result::SharedDtor() {
  35896. if (this != default_instance_) {
  35897. }
  35898. }
  35899. void packetw2c_time_limit_purchase_lottery_result::SetCachedSize(int size) const {
  35900. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  35901. _cached_size_ = size;
  35902. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  35903. }
  35904. const ::google::protobuf::Descriptor* packetw2c_time_limit_purchase_lottery_result::descriptor() {
  35905. protobuf_AssignDescriptorsOnce();
  35906. return packetw2c_time_limit_purchase_lottery_result_descriptor_;
  35907. }
  35908. const packetw2c_time_limit_purchase_lottery_result& packetw2c_time_limit_purchase_lottery_result::default_instance() {
  35909. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  35910. return *default_instance_;
  35911. }
  35912. packetw2c_time_limit_purchase_lottery_result* packetw2c_time_limit_purchase_lottery_result::default_instance_ = NULL;
  35913. packetw2c_time_limit_purchase_lottery_result* packetw2c_time_limit_purchase_lottery_result::New() const {
  35914. return new packetw2c_time_limit_purchase_lottery_result;
  35915. }
  35916. void packetw2c_time_limit_purchase_lottery_result::Clear() {
  35917. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  35918. packet_id_ = 7720;
  35919. result_ = 0;
  35920. count_ = 0;
  35921. }
  35922. index_.Clear();
  35923. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  35924. mutable_unknown_fields()->Clear();
  35925. }
  35926. bool packetw2c_time_limit_purchase_lottery_result::MergePartialFromCodedStream(
  35927. ::google::protobuf::io::CodedInputStream* input) {
  35928. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  35929. ::google::protobuf::uint32 tag;
  35930. while ((tag = input->ReadTag()) != 0) {
  35931. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  35932. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_time_limit_purchase_lottery_result];
  35933. case 1: {
  35934. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35935. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35936. int value;
  35937. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35938. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  35939. input, &value)));
  35940. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  35941. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  35942. } else {
  35943. mutable_unknown_fields()->AddVarint(1, value);
  35944. }
  35945. } else {
  35946. goto handle_uninterpreted;
  35947. }
  35948. if (input->ExpectTag(16)) goto parse_result;
  35949. break;
  35950. }
  35951. // optional int32 result = 2;
  35952. case 2: {
  35953. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35954. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35955. parse_result:
  35956. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35957. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35958. input, &result_)));
  35959. set_has_result();
  35960. } else {
  35961. goto handle_uninterpreted;
  35962. }
  35963. if (input->ExpectTag(24)) goto parse_count;
  35964. break;
  35965. }
  35966. // optional int32 count = 3;
  35967. case 3: {
  35968. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35969. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35970. parse_count:
  35971. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  35972. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35973. input, &count_)));
  35974. set_has_count();
  35975. } else {
  35976. goto handle_uninterpreted;
  35977. }
  35978. if (input->ExpectTag(32)) goto parse_index;
  35979. break;
  35980. }
  35981. // repeated int32 index = 4;
  35982. case 4: {
  35983. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  35984. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  35985. parse_index:
  35986. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  35987. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35988. 1, 32, input, this->mutable_index())));
  35989. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  35990. == ::google::protobuf::internal::WireFormatLite::
  35991. WIRETYPE_LENGTH_DELIMITED) {
  35992. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  35993. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  35994. input, this->mutable_index())));
  35995. } else {
  35996. goto handle_uninterpreted;
  35997. }
  35998. if (input->ExpectTag(32)) goto parse_index;
  35999. if (input->ExpectAtEnd()) return true;
  36000. break;
  36001. }
  36002. default: {
  36003. handle_uninterpreted:
  36004. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36005. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  36006. return true;
  36007. }
  36008. DO_(::google::protobuf::internal::WireFormat::SkipField(
  36009. input, tag, mutable_unknown_fields()));
  36010. break;
  36011. }
  36012. }
  36013. }
  36014. return true;
  36015. #undef DO_
  36016. }
  36017. void packetw2c_time_limit_purchase_lottery_result::SerializeWithCachedSizes(
  36018. ::google::protobuf::io::CodedOutputStream* output) const {
  36019. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_time_limit_purchase_lottery_result];
  36020. if (has_packet_id()) {
  36021. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  36022. 1, this->packet_id(), output);
  36023. }
  36024. // optional int32 result = 2;
  36025. if (has_result()) {
  36026. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  36027. }
  36028. // optional int32 count = 3;
  36029. if (has_count()) {
  36030. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  36031. }
  36032. // repeated int32 index = 4;
  36033. for (int i = 0; i < this->index_size(); i++) {
  36034. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  36035. 4, this->index(i), output);
  36036. }
  36037. if (!unknown_fields().empty()) {
  36038. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  36039. unknown_fields(), output);
  36040. }
  36041. }
  36042. ::google::protobuf::uint8* packetw2c_time_limit_purchase_lottery_result::SerializeWithCachedSizesToArray(
  36043. ::google::protobuf::uint8* target) const {
  36044. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_time_limit_purchase_lottery_result];
  36045. if (has_packet_id()) {
  36046. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  36047. 1, this->packet_id(), target);
  36048. }
  36049. // optional int32 result = 2;
  36050. if (has_result()) {
  36051. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  36052. }
  36053. // optional int32 count = 3;
  36054. if (has_count()) {
  36055. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  36056. }
  36057. // repeated int32 index = 4;
  36058. for (int i = 0; i < this->index_size(); i++) {
  36059. target = ::google::protobuf::internal::WireFormatLite::
  36060. WriteInt32ToArray(4, this->index(i), target);
  36061. }
  36062. if (!unknown_fields().empty()) {
  36063. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  36064. unknown_fields(), target);
  36065. }
  36066. return target;
  36067. }
  36068. int packetw2c_time_limit_purchase_lottery_result::ByteSize() const {
  36069. int total_size = 0;
  36070. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36071. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_time_limit_purchase_lottery_result];
  36072. if (has_packet_id()) {
  36073. total_size += 1 +
  36074. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  36075. }
  36076. // optional int32 result = 2;
  36077. if (has_result()) {
  36078. total_size += 1 +
  36079. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36080. this->result());
  36081. }
  36082. // optional int32 count = 3;
  36083. if (has_count()) {
  36084. total_size += 1 +
  36085. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36086. this->count());
  36087. }
  36088. }
  36089. // repeated int32 index = 4;
  36090. {
  36091. int data_size = 0;
  36092. for (int i = 0; i < this->index_size(); i++) {
  36093. data_size += ::google::protobuf::internal::WireFormatLite::
  36094. Int32Size(this->index(i));
  36095. }
  36096. total_size += 1 * this->index_size() + data_size;
  36097. }
  36098. if (!unknown_fields().empty()) {
  36099. total_size +=
  36100. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  36101. unknown_fields());
  36102. }
  36103. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  36104. _cached_size_ = total_size;
  36105. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  36106. return total_size;
  36107. }
  36108. void packetw2c_time_limit_purchase_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  36109. GOOGLE_CHECK_NE(&from, this);
  36110. const packetw2c_time_limit_purchase_lottery_result* source =
  36111. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_time_limit_purchase_lottery_result*>(
  36112. &from);
  36113. if (source == NULL) {
  36114. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  36115. } else {
  36116. MergeFrom(*source);
  36117. }
  36118. }
  36119. void packetw2c_time_limit_purchase_lottery_result::MergeFrom(const packetw2c_time_limit_purchase_lottery_result& from) {
  36120. GOOGLE_CHECK_NE(&from, this);
  36121. index_.MergeFrom(from.index_);
  36122. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36123. if (from.has_packet_id()) {
  36124. set_packet_id(from.packet_id());
  36125. }
  36126. if (from.has_result()) {
  36127. set_result(from.result());
  36128. }
  36129. if (from.has_count()) {
  36130. set_count(from.count());
  36131. }
  36132. }
  36133. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  36134. }
  36135. void packetw2c_time_limit_purchase_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  36136. if (&from == this) return;
  36137. Clear();
  36138. MergeFrom(from);
  36139. }
  36140. void packetw2c_time_limit_purchase_lottery_result::CopyFrom(const packetw2c_time_limit_purchase_lottery_result& from) {
  36141. if (&from == this) return;
  36142. Clear();
  36143. MergeFrom(from);
  36144. }
  36145. bool packetw2c_time_limit_purchase_lottery_result::IsInitialized() const {
  36146. return true;
  36147. }
  36148. void packetw2c_time_limit_purchase_lottery_result::Swap(packetw2c_time_limit_purchase_lottery_result* other) {
  36149. if (other != this) {
  36150. std::swap(packet_id_, other->packet_id_);
  36151. std::swap(result_, other->result_);
  36152. std::swap(count_, other->count_);
  36153. index_.Swap(&other->index_);
  36154. std::swap(_has_bits_[0], other->_has_bits_[0]);
  36155. _unknown_fields_.Swap(&other->_unknown_fields_);
  36156. std::swap(_cached_size_, other->_cached_size_);
  36157. }
  36158. }
  36159. ::google::protobuf::Metadata packetw2c_time_limit_purchase_lottery_result::GetMetadata() const {
  36160. protobuf_AssignDescriptorsOnce();
  36161. ::google::protobuf::Metadata metadata;
  36162. metadata.descriptor = packetw2c_time_limit_purchase_lottery_result_descriptor_;
  36163. metadata.reflection = packetw2c_time_limit_purchase_lottery_result_reflection_;
  36164. return metadata;
  36165. }
  36166. // ===================================================================
  36167. #ifndef _MSC_VER
  36168. const int packetw2c_syn_lucky_bag_info::kPacketIdFieldNumber;
  36169. const int packetw2c_syn_lucky_bag_info::kActivityStateFieldNumber;
  36170. const int packetw2c_syn_lucky_bag_info::kStartTimeFieldNumber;
  36171. const int packetw2c_syn_lucky_bag_info::kEndTimeFieldNumber;
  36172. #endif // !_MSC_VER
  36173. packetw2c_syn_lucky_bag_info::packetw2c_syn_lucky_bag_info()
  36174. : ::google::protobuf::Message() {
  36175. SharedCtor();
  36176. }
  36177. void packetw2c_syn_lucky_bag_info::InitAsDefaultInstance() {
  36178. }
  36179. packetw2c_syn_lucky_bag_info::packetw2c_syn_lucky_bag_info(const packetw2c_syn_lucky_bag_info& from)
  36180. : ::google::protobuf::Message() {
  36181. SharedCtor();
  36182. MergeFrom(from);
  36183. }
  36184. void packetw2c_syn_lucky_bag_info::SharedCtor() {
  36185. _cached_size_ = 0;
  36186. packet_id_ = 7721;
  36187. activitystate_ = 0;
  36188. starttime_ = 0;
  36189. endtime_ = 0;
  36190. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  36191. }
  36192. packetw2c_syn_lucky_bag_info::~packetw2c_syn_lucky_bag_info() {
  36193. SharedDtor();
  36194. }
  36195. void packetw2c_syn_lucky_bag_info::SharedDtor() {
  36196. if (this != default_instance_) {
  36197. }
  36198. }
  36199. void packetw2c_syn_lucky_bag_info::SetCachedSize(int size) const {
  36200. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  36201. _cached_size_ = size;
  36202. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  36203. }
  36204. const ::google::protobuf::Descriptor* packetw2c_syn_lucky_bag_info::descriptor() {
  36205. protobuf_AssignDescriptorsOnce();
  36206. return packetw2c_syn_lucky_bag_info_descriptor_;
  36207. }
  36208. const packetw2c_syn_lucky_bag_info& packetw2c_syn_lucky_bag_info::default_instance() {
  36209. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  36210. return *default_instance_;
  36211. }
  36212. packetw2c_syn_lucky_bag_info* packetw2c_syn_lucky_bag_info::default_instance_ = NULL;
  36213. packetw2c_syn_lucky_bag_info* packetw2c_syn_lucky_bag_info::New() const {
  36214. return new packetw2c_syn_lucky_bag_info;
  36215. }
  36216. void packetw2c_syn_lucky_bag_info::Clear() {
  36217. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36218. packet_id_ = 7721;
  36219. activitystate_ = 0;
  36220. starttime_ = 0;
  36221. endtime_ = 0;
  36222. }
  36223. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  36224. mutable_unknown_fields()->Clear();
  36225. }
  36226. bool packetw2c_syn_lucky_bag_info::MergePartialFromCodedStream(
  36227. ::google::protobuf::io::CodedInputStream* input) {
  36228. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  36229. ::google::protobuf::uint32 tag;
  36230. while ((tag = input->ReadTag()) != 0) {
  36231. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  36232. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_lucky_bag_info];
  36233. case 1: {
  36234. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36235. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36236. int value;
  36237. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36238. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  36239. input, &value)));
  36240. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  36241. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  36242. } else {
  36243. mutable_unknown_fields()->AddVarint(1, value);
  36244. }
  36245. } else {
  36246. goto handle_uninterpreted;
  36247. }
  36248. if (input->ExpectTag(16)) goto parse_activityState;
  36249. break;
  36250. }
  36251. // optional int32 activityState = 2;
  36252. case 2: {
  36253. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36254. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36255. parse_activityState:
  36256. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36257. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36258. input, &activitystate_)));
  36259. set_has_activitystate();
  36260. } else {
  36261. goto handle_uninterpreted;
  36262. }
  36263. if (input->ExpectTag(24)) goto parse_startTime;
  36264. break;
  36265. }
  36266. // optional int32 startTime = 3;
  36267. case 3: {
  36268. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36269. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36270. parse_startTime:
  36271. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36272. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36273. input, &starttime_)));
  36274. set_has_starttime();
  36275. } else {
  36276. goto handle_uninterpreted;
  36277. }
  36278. if (input->ExpectTag(32)) goto parse_endTime;
  36279. break;
  36280. }
  36281. // optional int32 endTime = 4;
  36282. case 4: {
  36283. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36284. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36285. parse_endTime:
  36286. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36287. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36288. input, &endtime_)));
  36289. set_has_endtime();
  36290. } else {
  36291. goto handle_uninterpreted;
  36292. }
  36293. if (input->ExpectAtEnd()) return true;
  36294. break;
  36295. }
  36296. default: {
  36297. handle_uninterpreted:
  36298. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36299. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  36300. return true;
  36301. }
  36302. DO_(::google::protobuf::internal::WireFormat::SkipField(
  36303. input, tag, mutable_unknown_fields()));
  36304. break;
  36305. }
  36306. }
  36307. }
  36308. return true;
  36309. #undef DO_
  36310. }
  36311. void packetw2c_syn_lucky_bag_info::SerializeWithCachedSizes(
  36312. ::google::protobuf::io::CodedOutputStream* output) const {
  36313. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_lucky_bag_info];
  36314. if (has_packet_id()) {
  36315. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  36316. 1, this->packet_id(), output);
  36317. }
  36318. // optional int32 activityState = 2;
  36319. if (has_activitystate()) {
  36320. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  36321. }
  36322. // optional int32 startTime = 3;
  36323. if (has_starttime()) {
  36324. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  36325. }
  36326. // optional int32 endTime = 4;
  36327. if (has_endtime()) {
  36328. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  36329. }
  36330. if (!unknown_fields().empty()) {
  36331. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  36332. unknown_fields(), output);
  36333. }
  36334. }
  36335. ::google::protobuf::uint8* packetw2c_syn_lucky_bag_info::SerializeWithCachedSizesToArray(
  36336. ::google::protobuf::uint8* target) const {
  36337. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_lucky_bag_info];
  36338. if (has_packet_id()) {
  36339. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  36340. 1, this->packet_id(), target);
  36341. }
  36342. // optional int32 activityState = 2;
  36343. if (has_activitystate()) {
  36344. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  36345. }
  36346. // optional int32 startTime = 3;
  36347. if (has_starttime()) {
  36348. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  36349. }
  36350. // optional int32 endTime = 4;
  36351. if (has_endtime()) {
  36352. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  36353. }
  36354. if (!unknown_fields().empty()) {
  36355. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  36356. unknown_fields(), target);
  36357. }
  36358. return target;
  36359. }
  36360. int packetw2c_syn_lucky_bag_info::ByteSize() const {
  36361. int total_size = 0;
  36362. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36363. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_lucky_bag_info];
  36364. if (has_packet_id()) {
  36365. total_size += 1 +
  36366. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  36367. }
  36368. // optional int32 activityState = 2;
  36369. if (has_activitystate()) {
  36370. total_size += 1 +
  36371. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36372. this->activitystate());
  36373. }
  36374. // optional int32 startTime = 3;
  36375. if (has_starttime()) {
  36376. total_size += 1 +
  36377. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36378. this->starttime());
  36379. }
  36380. // optional int32 endTime = 4;
  36381. if (has_endtime()) {
  36382. total_size += 1 +
  36383. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36384. this->endtime());
  36385. }
  36386. }
  36387. if (!unknown_fields().empty()) {
  36388. total_size +=
  36389. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  36390. unknown_fields());
  36391. }
  36392. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  36393. _cached_size_ = total_size;
  36394. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  36395. return total_size;
  36396. }
  36397. void packetw2c_syn_lucky_bag_info::MergeFrom(const ::google::protobuf::Message& from) {
  36398. GOOGLE_CHECK_NE(&from, this);
  36399. const packetw2c_syn_lucky_bag_info* source =
  36400. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_lucky_bag_info*>(
  36401. &from);
  36402. if (source == NULL) {
  36403. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  36404. } else {
  36405. MergeFrom(*source);
  36406. }
  36407. }
  36408. void packetw2c_syn_lucky_bag_info::MergeFrom(const packetw2c_syn_lucky_bag_info& from) {
  36409. GOOGLE_CHECK_NE(&from, this);
  36410. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36411. if (from.has_packet_id()) {
  36412. set_packet_id(from.packet_id());
  36413. }
  36414. if (from.has_activitystate()) {
  36415. set_activitystate(from.activitystate());
  36416. }
  36417. if (from.has_starttime()) {
  36418. set_starttime(from.starttime());
  36419. }
  36420. if (from.has_endtime()) {
  36421. set_endtime(from.endtime());
  36422. }
  36423. }
  36424. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  36425. }
  36426. void packetw2c_syn_lucky_bag_info::CopyFrom(const ::google::protobuf::Message& from) {
  36427. if (&from == this) return;
  36428. Clear();
  36429. MergeFrom(from);
  36430. }
  36431. void packetw2c_syn_lucky_bag_info::CopyFrom(const packetw2c_syn_lucky_bag_info& from) {
  36432. if (&from == this) return;
  36433. Clear();
  36434. MergeFrom(from);
  36435. }
  36436. bool packetw2c_syn_lucky_bag_info::IsInitialized() const {
  36437. return true;
  36438. }
  36439. void packetw2c_syn_lucky_bag_info::Swap(packetw2c_syn_lucky_bag_info* other) {
  36440. if (other != this) {
  36441. std::swap(packet_id_, other->packet_id_);
  36442. std::swap(activitystate_, other->activitystate_);
  36443. std::swap(starttime_, other->starttime_);
  36444. std::swap(endtime_, other->endtime_);
  36445. std::swap(_has_bits_[0], other->_has_bits_[0]);
  36446. _unknown_fields_.Swap(&other->_unknown_fields_);
  36447. std::swap(_cached_size_, other->_cached_size_);
  36448. }
  36449. }
  36450. ::google::protobuf::Metadata packetw2c_syn_lucky_bag_info::GetMetadata() const {
  36451. protobuf_AssignDescriptorsOnce();
  36452. ::google::protobuf::Metadata metadata;
  36453. metadata.descriptor = packetw2c_syn_lucky_bag_info_descriptor_;
  36454. metadata.reflection = packetw2c_syn_lucky_bag_info_reflection_;
  36455. return metadata;
  36456. }
  36457. // ===================================================================
  36458. #ifndef _MSC_VER
  36459. const int packetw2c_syn_vip_limit_purchase_info::kPacketIdFieldNumber;
  36460. const int packetw2c_syn_vip_limit_purchase_info::kActivityStateFieldNumber;
  36461. const int packetw2c_syn_vip_limit_purchase_info::kStartTimeFieldNumber;
  36462. const int packetw2c_syn_vip_limit_purchase_info::kEndTimeFieldNumber;
  36463. #endif // !_MSC_VER
  36464. packetw2c_syn_vip_limit_purchase_info::packetw2c_syn_vip_limit_purchase_info()
  36465. : ::google::protobuf::Message() {
  36466. SharedCtor();
  36467. }
  36468. void packetw2c_syn_vip_limit_purchase_info::InitAsDefaultInstance() {
  36469. }
  36470. packetw2c_syn_vip_limit_purchase_info::packetw2c_syn_vip_limit_purchase_info(const packetw2c_syn_vip_limit_purchase_info& from)
  36471. : ::google::protobuf::Message() {
  36472. SharedCtor();
  36473. MergeFrom(from);
  36474. }
  36475. void packetw2c_syn_vip_limit_purchase_info::SharedCtor() {
  36476. _cached_size_ = 0;
  36477. packet_id_ = 7724;
  36478. activitystate_ = 0;
  36479. starttime_ = 0;
  36480. endtime_ = 0;
  36481. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  36482. }
  36483. packetw2c_syn_vip_limit_purchase_info::~packetw2c_syn_vip_limit_purchase_info() {
  36484. SharedDtor();
  36485. }
  36486. void packetw2c_syn_vip_limit_purchase_info::SharedDtor() {
  36487. if (this != default_instance_) {
  36488. }
  36489. }
  36490. void packetw2c_syn_vip_limit_purchase_info::SetCachedSize(int size) const {
  36491. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  36492. _cached_size_ = size;
  36493. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  36494. }
  36495. const ::google::protobuf::Descriptor* packetw2c_syn_vip_limit_purchase_info::descriptor() {
  36496. protobuf_AssignDescriptorsOnce();
  36497. return packetw2c_syn_vip_limit_purchase_info_descriptor_;
  36498. }
  36499. const packetw2c_syn_vip_limit_purchase_info& packetw2c_syn_vip_limit_purchase_info::default_instance() {
  36500. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  36501. return *default_instance_;
  36502. }
  36503. packetw2c_syn_vip_limit_purchase_info* packetw2c_syn_vip_limit_purchase_info::default_instance_ = NULL;
  36504. packetw2c_syn_vip_limit_purchase_info* packetw2c_syn_vip_limit_purchase_info::New() const {
  36505. return new packetw2c_syn_vip_limit_purchase_info;
  36506. }
  36507. void packetw2c_syn_vip_limit_purchase_info::Clear() {
  36508. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36509. packet_id_ = 7724;
  36510. activitystate_ = 0;
  36511. starttime_ = 0;
  36512. endtime_ = 0;
  36513. }
  36514. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  36515. mutable_unknown_fields()->Clear();
  36516. }
  36517. bool packetw2c_syn_vip_limit_purchase_info::MergePartialFromCodedStream(
  36518. ::google::protobuf::io::CodedInputStream* input) {
  36519. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  36520. ::google::protobuf::uint32 tag;
  36521. while ((tag = input->ReadTag()) != 0) {
  36522. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  36523. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_vip_limit_purchase_info];
  36524. case 1: {
  36525. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36526. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36527. int value;
  36528. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36529. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  36530. input, &value)));
  36531. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  36532. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  36533. } else {
  36534. mutable_unknown_fields()->AddVarint(1, value);
  36535. }
  36536. } else {
  36537. goto handle_uninterpreted;
  36538. }
  36539. if (input->ExpectTag(16)) goto parse_activityState;
  36540. break;
  36541. }
  36542. // optional int32 activityState = 2;
  36543. case 2: {
  36544. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36545. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36546. parse_activityState:
  36547. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36548. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36549. input, &activitystate_)));
  36550. set_has_activitystate();
  36551. } else {
  36552. goto handle_uninterpreted;
  36553. }
  36554. if (input->ExpectTag(24)) goto parse_startTime;
  36555. break;
  36556. }
  36557. // optional int32 startTime = 3;
  36558. case 3: {
  36559. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36560. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36561. parse_startTime:
  36562. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36563. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36564. input, &starttime_)));
  36565. set_has_starttime();
  36566. } else {
  36567. goto handle_uninterpreted;
  36568. }
  36569. if (input->ExpectTag(32)) goto parse_endTime;
  36570. break;
  36571. }
  36572. // optional int32 endTime = 4;
  36573. case 4: {
  36574. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36575. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36576. parse_endTime:
  36577. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36578. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36579. input, &endtime_)));
  36580. set_has_endtime();
  36581. } else {
  36582. goto handle_uninterpreted;
  36583. }
  36584. if (input->ExpectAtEnd()) return true;
  36585. break;
  36586. }
  36587. default: {
  36588. handle_uninterpreted:
  36589. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36590. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  36591. return true;
  36592. }
  36593. DO_(::google::protobuf::internal::WireFormat::SkipField(
  36594. input, tag, mutable_unknown_fields()));
  36595. break;
  36596. }
  36597. }
  36598. }
  36599. return true;
  36600. #undef DO_
  36601. }
  36602. void packetw2c_syn_vip_limit_purchase_info::SerializeWithCachedSizes(
  36603. ::google::protobuf::io::CodedOutputStream* output) const {
  36604. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_vip_limit_purchase_info];
  36605. if (has_packet_id()) {
  36606. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  36607. 1, this->packet_id(), output);
  36608. }
  36609. // optional int32 activityState = 2;
  36610. if (has_activitystate()) {
  36611. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  36612. }
  36613. // optional int32 startTime = 3;
  36614. if (has_starttime()) {
  36615. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  36616. }
  36617. // optional int32 endTime = 4;
  36618. if (has_endtime()) {
  36619. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  36620. }
  36621. if (!unknown_fields().empty()) {
  36622. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  36623. unknown_fields(), output);
  36624. }
  36625. }
  36626. ::google::protobuf::uint8* packetw2c_syn_vip_limit_purchase_info::SerializeWithCachedSizesToArray(
  36627. ::google::protobuf::uint8* target) const {
  36628. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_vip_limit_purchase_info];
  36629. if (has_packet_id()) {
  36630. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  36631. 1, this->packet_id(), target);
  36632. }
  36633. // optional int32 activityState = 2;
  36634. if (has_activitystate()) {
  36635. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  36636. }
  36637. // optional int32 startTime = 3;
  36638. if (has_starttime()) {
  36639. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  36640. }
  36641. // optional int32 endTime = 4;
  36642. if (has_endtime()) {
  36643. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  36644. }
  36645. if (!unknown_fields().empty()) {
  36646. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  36647. unknown_fields(), target);
  36648. }
  36649. return target;
  36650. }
  36651. int packetw2c_syn_vip_limit_purchase_info::ByteSize() const {
  36652. int total_size = 0;
  36653. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36654. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_vip_limit_purchase_info];
  36655. if (has_packet_id()) {
  36656. total_size += 1 +
  36657. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  36658. }
  36659. // optional int32 activityState = 2;
  36660. if (has_activitystate()) {
  36661. total_size += 1 +
  36662. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36663. this->activitystate());
  36664. }
  36665. // optional int32 startTime = 3;
  36666. if (has_starttime()) {
  36667. total_size += 1 +
  36668. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36669. this->starttime());
  36670. }
  36671. // optional int32 endTime = 4;
  36672. if (has_endtime()) {
  36673. total_size += 1 +
  36674. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36675. this->endtime());
  36676. }
  36677. }
  36678. if (!unknown_fields().empty()) {
  36679. total_size +=
  36680. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  36681. unknown_fields());
  36682. }
  36683. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  36684. _cached_size_ = total_size;
  36685. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  36686. return total_size;
  36687. }
  36688. void packetw2c_syn_vip_limit_purchase_info::MergeFrom(const ::google::protobuf::Message& from) {
  36689. GOOGLE_CHECK_NE(&from, this);
  36690. const packetw2c_syn_vip_limit_purchase_info* source =
  36691. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_vip_limit_purchase_info*>(
  36692. &from);
  36693. if (source == NULL) {
  36694. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  36695. } else {
  36696. MergeFrom(*source);
  36697. }
  36698. }
  36699. void packetw2c_syn_vip_limit_purchase_info::MergeFrom(const packetw2c_syn_vip_limit_purchase_info& from) {
  36700. GOOGLE_CHECK_NE(&from, this);
  36701. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36702. if (from.has_packet_id()) {
  36703. set_packet_id(from.packet_id());
  36704. }
  36705. if (from.has_activitystate()) {
  36706. set_activitystate(from.activitystate());
  36707. }
  36708. if (from.has_starttime()) {
  36709. set_starttime(from.starttime());
  36710. }
  36711. if (from.has_endtime()) {
  36712. set_endtime(from.endtime());
  36713. }
  36714. }
  36715. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  36716. }
  36717. void packetw2c_syn_vip_limit_purchase_info::CopyFrom(const ::google::protobuf::Message& from) {
  36718. if (&from == this) return;
  36719. Clear();
  36720. MergeFrom(from);
  36721. }
  36722. void packetw2c_syn_vip_limit_purchase_info::CopyFrom(const packetw2c_syn_vip_limit_purchase_info& from) {
  36723. if (&from == this) return;
  36724. Clear();
  36725. MergeFrom(from);
  36726. }
  36727. bool packetw2c_syn_vip_limit_purchase_info::IsInitialized() const {
  36728. return true;
  36729. }
  36730. void packetw2c_syn_vip_limit_purchase_info::Swap(packetw2c_syn_vip_limit_purchase_info* other) {
  36731. if (other != this) {
  36732. std::swap(packet_id_, other->packet_id_);
  36733. std::swap(activitystate_, other->activitystate_);
  36734. std::swap(starttime_, other->starttime_);
  36735. std::swap(endtime_, other->endtime_);
  36736. std::swap(_has_bits_[0], other->_has_bits_[0]);
  36737. _unknown_fields_.Swap(&other->_unknown_fields_);
  36738. std::swap(_cached_size_, other->_cached_size_);
  36739. }
  36740. }
  36741. ::google::protobuf::Metadata packetw2c_syn_vip_limit_purchase_info::GetMetadata() const {
  36742. protobuf_AssignDescriptorsOnce();
  36743. ::google::protobuf::Metadata metadata;
  36744. metadata.descriptor = packetw2c_syn_vip_limit_purchase_info_descriptor_;
  36745. metadata.reflection = packetw2c_syn_vip_limit_purchase_info_reflection_;
  36746. return metadata;
  36747. }
  36748. // ===================================================================
  36749. #ifndef _MSC_VER
  36750. const int packetw2c_syn_turret_lottery_info::kPacketIdFieldNumber;
  36751. const int packetw2c_syn_turret_lottery_info::kActivityStateFieldNumber;
  36752. const int packetw2c_syn_turret_lottery_info::kStartTimeFieldNumber;
  36753. const int packetw2c_syn_turret_lottery_info::kEndTimeFieldNumber;
  36754. #endif // !_MSC_VER
  36755. packetw2c_syn_turret_lottery_info::packetw2c_syn_turret_lottery_info()
  36756. : ::google::protobuf::Message() {
  36757. SharedCtor();
  36758. }
  36759. void packetw2c_syn_turret_lottery_info::InitAsDefaultInstance() {
  36760. }
  36761. packetw2c_syn_turret_lottery_info::packetw2c_syn_turret_lottery_info(const packetw2c_syn_turret_lottery_info& from)
  36762. : ::google::protobuf::Message() {
  36763. SharedCtor();
  36764. MergeFrom(from);
  36765. }
  36766. void packetw2c_syn_turret_lottery_info::SharedCtor() {
  36767. _cached_size_ = 0;
  36768. packet_id_ = 7725;
  36769. activitystate_ = 0;
  36770. starttime_ = 0;
  36771. endtime_ = 0;
  36772. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  36773. }
  36774. packetw2c_syn_turret_lottery_info::~packetw2c_syn_turret_lottery_info() {
  36775. SharedDtor();
  36776. }
  36777. void packetw2c_syn_turret_lottery_info::SharedDtor() {
  36778. if (this != default_instance_) {
  36779. }
  36780. }
  36781. void packetw2c_syn_turret_lottery_info::SetCachedSize(int size) const {
  36782. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  36783. _cached_size_ = size;
  36784. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  36785. }
  36786. const ::google::protobuf::Descriptor* packetw2c_syn_turret_lottery_info::descriptor() {
  36787. protobuf_AssignDescriptorsOnce();
  36788. return packetw2c_syn_turret_lottery_info_descriptor_;
  36789. }
  36790. const packetw2c_syn_turret_lottery_info& packetw2c_syn_turret_lottery_info::default_instance() {
  36791. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  36792. return *default_instance_;
  36793. }
  36794. packetw2c_syn_turret_lottery_info* packetw2c_syn_turret_lottery_info::default_instance_ = NULL;
  36795. packetw2c_syn_turret_lottery_info* packetw2c_syn_turret_lottery_info::New() const {
  36796. return new packetw2c_syn_turret_lottery_info;
  36797. }
  36798. void packetw2c_syn_turret_lottery_info::Clear() {
  36799. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36800. packet_id_ = 7725;
  36801. activitystate_ = 0;
  36802. starttime_ = 0;
  36803. endtime_ = 0;
  36804. }
  36805. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  36806. mutable_unknown_fields()->Clear();
  36807. }
  36808. bool packetw2c_syn_turret_lottery_info::MergePartialFromCodedStream(
  36809. ::google::protobuf::io::CodedInputStream* input) {
  36810. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  36811. ::google::protobuf::uint32 tag;
  36812. while ((tag = input->ReadTag()) != 0) {
  36813. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  36814. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_turret_lottery_info];
  36815. case 1: {
  36816. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36817. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36818. int value;
  36819. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36820. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  36821. input, &value)));
  36822. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  36823. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  36824. } else {
  36825. mutable_unknown_fields()->AddVarint(1, value);
  36826. }
  36827. } else {
  36828. goto handle_uninterpreted;
  36829. }
  36830. if (input->ExpectTag(16)) goto parse_activityState;
  36831. break;
  36832. }
  36833. // optional int32 activityState = 2;
  36834. case 2: {
  36835. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36836. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36837. parse_activityState:
  36838. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36839. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36840. input, &activitystate_)));
  36841. set_has_activitystate();
  36842. } else {
  36843. goto handle_uninterpreted;
  36844. }
  36845. if (input->ExpectTag(24)) goto parse_startTime;
  36846. break;
  36847. }
  36848. // optional int32 startTime = 3;
  36849. case 3: {
  36850. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36851. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36852. parse_startTime:
  36853. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36854. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36855. input, &starttime_)));
  36856. set_has_starttime();
  36857. } else {
  36858. goto handle_uninterpreted;
  36859. }
  36860. if (input->ExpectTag(32)) goto parse_endTime;
  36861. break;
  36862. }
  36863. // optional int32 endTime = 4;
  36864. case 4: {
  36865. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36866. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  36867. parse_endTime:
  36868. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  36869. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  36870. input, &endtime_)));
  36871. set_has_endtime();
  36872. } else {
  36873. goto handle_uninterpreted;
  36874. }
  36875. if (input->ExpectAtEnd()) return true;
  36876. break;
  36877. }
  36878. default: {
  36879. handle_uninterpreted:
  36880. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  36881. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  36882. return true;
  36883. }
  36884. DO_(::google::protobuf::internal::WireFormat::SkipField(
  36885. input, tag, mutable_unknown_fields()));
  36886. break;
  36887. }
  36888. }
  36889. }
  36890. return true;
  36891. #undef DO_
  36892. }
  36893. void packetw2c_syn_turret_lottery_info::SerializeWithCachedSizes(
  36894. ::google::protobuf::io::CodedOutputStream* output) const {
  36895. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_turret_lottery_info];
  36896. if (has_packet_id()) {
  36897. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  36898. 1, this->packet_id(), output);
  36899. }
  36900. // optional int32 activityState = 2;
  36901. if (has_activitystate()) {
  36902. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  36903. }
  36904. // optional int32 startTime = 3;
  36905. if (has_starttime()) {
  36906. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  36907. }
  36908. // optional int32 endTime = 4;
  36909. if (has_endtime()) {
  36910. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  36911. }
  36912. if (!unknown_fields().empty()) {
  36913. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  36914. unknown_fields(), output);
  36915. }
  36916. }
  36917. ::google::protobuf::uint8* packetw2c_syn_turret_lottery_info::SerializeWithCachedSizesToArray(
  36918. ::google::protobuf::uint8* target) const {
  36919. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_turret_lottery_info];
  36920. if (has_packet_id()) {
  36921. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  36922. 1, this->packet_id(), target);
  36923. }
  36924. // optional int32 activityState = 2;
  36925. if (has_activitystate()) {
  36926. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  36927. }
  36928. // optional int32 startTime = 3;
  36929. if (has_starttime()) {
  36930. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  36931. }
  36932. // optional int32 endTime = 4;
  36933. if (has_endtime()) {
  36934. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  36935. }
  36936. if (!unknown_fields().empty()) {
  36937. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  36938. unknown_fields(), target);
  36939. }
  36940. return target;
  36941. }
  36942. int packetw2c_syn_turret_lottery_info::ByteSize() const {
  36943. int total_size = 0;
  36944. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36945. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_turret_lottery_info];
  36946. if (has_packet_id()) {
  36947. total_size += 1 +
  36948. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  36949. }
  36950. // optional int32 activityState = 2;
  36951. if (has_activitystate()) {
  36952. total_size += 1 +
  36953. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36954. this->activitystate());
  36955. }
  36956. // optional int32 startTime = 3;
  36957. if (has_starttime()) {
  36958. total_size += 1 +
  36959. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36960. this->starttime());
  36961. }
  36962. // optional int32 endTime = 4;
  36963. if (has_endtime()) {
  36964. total_size += 1 +
  36965. ::google::protobuf::internal::WireFormatLite::Int32Size(
  36966. this->endtime());
  36967. }
  36968. }
  36969. if (!unknown_fields().empty()) {
  36970. total_size +=
  36971. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  36972. unknown_fields());
  36973. }
  36974. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  36975. _cached_size_ = total_size;
  36976. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  36977. return total_size;
  36978. }
  36979. void packetw2c_syn_turret_lottery_info::MergeFrom(const ::google::protobuf::Message& from) {
  36980. GOOGLE_CHECK_NE(&from, this);
  36981. const packetw2c_syn_turret_lottery_info* source =
  36982. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_turret_lottery_info*>(
  36983. &from);
  36984. if (source == NULL) {
  36985. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  36986. } else {
  36987. MergeFrom(*source);
  36988. }
  36989. }
  36990. void packetw2c_syn_turret_lottery_info::MergeFrom(const packetw2c_syn_turret_lottery_info& from) {
  36991. GOOGLE_CHECK_NE(&from, this);
  36992. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  36993. if (from.has_packet_id()) {
  36994. set_packet_id(from.packet_id());
  36995. }
  36996. if (from.has_activitystate()) {
  36997. set_activitystate(from.activitystate());
  36998. }
  36999. if (from.has_starttime()) {
  37000. set_starttime(from.starttime());
  37001. }
  37002. if (from.has_endtime()) {
  37003. set_endtime(from.endtime());
  37004. }
  37005. }
  37006. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  37007. }
  37008. void packetw2c_syn_turret_lottery_info::CopyFrom(const ::google::protobuf::Message& from) {
  37009. if (&from == this) return;
  37010. Clear();
  37011. MergeFrom(from);
  37012. }
  37013. void packetw2c_syn_turret_lottery_info::CopyFrom(const packetw2c_syn_turret_lottery_info& from) {
  37014. if (&from == this) return;
  37015. Clear();
  37016. MergeFrom(from);
  37017. }
  37018. bool packetw2c_syn_turret_lottery_info::IsInitialized() const {
  37019. return true;
  37020. }
  37021. void packetw2c_syn_turret_lottery_info::Swap(packetw2c_syn_turret_lottery_info* other) {
  37022. if (other != this) {
  37023. std::swap(packet_id_, other->packet_id_);
  37024. std::swap(activitystate_, other->activitystate_);
  37025. std::swap(starttime_, other->starttime_);
  37026. std::swap(endtime_, other->endtime_);
  37027. std::swap(_has_bits_[0], other->_has_bits_[0]);
  37028. _unknown_fields_.Swap(&other->_unknown_fields_);
  37029. std::swap(_cached_size_, other->_cached_size_);
  37030. }
  37031. }
  37032. ::google::protobuf::Metadata packetw2c_syn_turret_lottery_info::GetMetadata() const {
  37033. protobuf_AssignDescriptorsOnce();
  37034. ::google::protobuf::Metadata metadata;
  37035. metadata.descriptor = packetw2c_syn_turret_lottery_info_descriptor_;
  37036. metadata.reflection = packetw2c_syn_turret_lottery_info_reflection_;
  37037. return metadata;
  37038. }
  37039. // ===================================================================
  37040. #ifndef _MSC_VER
  37041. const int packetc2w_turret_lottery::kPacketIdFieldNumber;
  37042. const int packetc2w_turret_lottery::kCountFieldNumber;
  37043. #endif // !_MSC_VER
  37044. packetc2w_turret_lottery::packetc2w_turret_lottery()
  37045. : ::google::protobuf::Message() {
  37046. SharedCtor();
  37047. }
  37048. void packetc2w_turret_lottery::InitAsDefaultInstance() {
  37049. }
  37050. packetc2w_turret_lottery::packetc2w_turret_lottery(const packetc2w_turret_lottery& from)
  37051. : ::google::protobuf::Message() {
  37052. SharedCtor();
  37053. MergeFrom(from);
  37054. }
  37055. void packetc2w_turret_lottery::SharedCtor() {
  37056. _cached_size_ = 0;
  37057. packet_id_ = 5197;
  37058. count_ = 0;
  37059. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  37060. }
  37061. packetc2w_turret_lottery::~packetc2w_turret_lottery() {
  37062. SharedDtor();
  37063. }
  37064. void packetc2w_turret_lottery::SharedDtor() {
  37065. if (this != default_instance_) {
  37066. }
  37067. }
  37068. void packetc2w_turret_lottery::SetCachedSize(int size) const {
  37069. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  37070. _cached_size_ = size;
  37071. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  37072. }
  37073. const ::google::protobuf::Descriptor* packetc2w_turret_lottery::descriptor() {
  37074. protobuf_AssignDescriptorsOnce();
  37075. return packetc2w_turret_lottery_descriptor_;
  37076. }
  37077. const packetc2w_turret_lottery& packetc2w_turret_lottery::default_instance() {
  37078. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  37079. return *default_instance_;
  37080. }
  37081. packetc2w_turret_lottery* packetc2w_turret_lottery::default_instance_ = NULL;
  37082. packetc2w_turret_lottery* packetc2w_turret_lottery::New() const {
  37083. return new packetc2w_turret_lottery;
  37084. }
  37085. void packetc2w_turret_lottery::Clear() {
  37086. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37087. packet_id_ = 5197;
  37088. count_ = 0;
  37089. }
  37090. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  37091. mutable_unknown_fields()->Clear();
  37092. }
  37093. bool packetc2w_turret_lottery::MergePartialFromCodedStream(
  37094. ::google::protobuf::io::CodedInputStream* input) {
  37095. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  37096. ::google::protobuf::uint32 tag;
  37097. while ((tag = input->ReadTag()) != 0) {
  37098. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  37099. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_lottery];
  37100. case 1: {
  37101. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37102. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37103. int value;
  37104. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37105. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  37106. input, &value)));
  37107. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  37108. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  37109. } else {
  37110. mutable_unknown_fields()->AddVarint(1, value);
  37111. }
  37112. } else {
  37113. goto handle_uninterpreted;
  37114. }
  37115. if (input->ExpectTag(16)) goto parse_count;
  37116. break;
  37117. }
  37118. // optional int32 count = 2;
  37119. case 2: {
  37120. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37121. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37122. parse_count:
  37123. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37124. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37125. input, &count_)));
  37126. set_has_count();
  37127. } else {
  37128. goto handle_uninterpreted;
  37129. }
  37130. if (input->ExpectAtEnd()) return true;
  37131. break;
  37132. }
  37133. default: {
  37134. handle_uninterpreted:
  37135. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37136. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  37137. return true;
  37138. }
  37139. DO_(::google::protobuf::internal::WireFormat::SkipField(
  37140. input, tag, mutable_unknown_fields()));
  37141. break;
  37142. }
  37143. }
  37144. }
  37145. return true;
  37146. #undef DO_
  37147. }
  37148. void packetc2w_turret_lottery::SerializeWithCachedSizes(
  37149. ::google::protobuf::io::CodedOutputStream* output) const {
  37150. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_lottery];
  37151. if (has_packet_id()) {
  37152. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  37153. 1, this->packet_id(), output);
  37154. }
  37155. // optional int32 count = 2;
  37156. if (has_count()) {
  37157. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  37158. }
  37159. if (!unknown_fields().empty()) {
  37160. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  37161. unknown_fields(), output);
  37162. }
  37163. }
  37164. ::google::protobuf::uint8* packetc2w_turret_lottery::SerializeWithCachedSizesToArray(
  37165. ::google::protobuf::uint8* target) const {
  37166. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_lottery];
  37167. if (has_packet_id()) {
  37168. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  37169. 1, this->packet_id(), target);
  37170. }
  37171. // optional int32 count = 2;
  37172. if (has_count()) {
  37173. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  37174. }
  37175. if (!unknown_fields().empty()) {
  37176. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  37177. unknown_fields(), target);
  37178. }
  37179. return target;
  37180. }
  37181. int packetc2w_turret_lottery::ByteSize() const {
  37182. int total_size = 0;
  37183. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37184. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_lottery];
  37185. if (has_packet_id()) {
  37186. total_size += 1 +
  37187. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  37188. }
  37189. // optional int32 count = 2;
  37190. if (has_count()) {
  37191. total_size += 1 +
  37192. ::google::protobuf::internal::WireFormatLite::Int32Size(
  37193. this->count());
  37194. }
  37195. }
  37196. if (!unknown_fields().empty()) {
  37197. total_size +=
  37198. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  37199. unknown_fields());
  37200. }
  37201. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  37202. _cached_size_ = total_size;
  37203. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  37204. return total_size;
  37205. }
  37206. void packetc2w_turret_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  37207. GOOGLE_CHECK_NE(&from, this);
  37208. const packetc2w_turret_lottery* source =
  37209. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_turret_lottery*>(
  37210. &from);
  37211. if (source == NULL) {
  37212. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  37213. } else {
  37214. MergeFrom(*source);
  37215. }
  37216. }
  37217. void packetc2w_turret_lottery::MergeFrom(const packetc2w_turret_lottery& from) {
  37218. GOOGLE_CHECK_NE(&from, this);
  37219. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37220. if (from.has_packet_id()) {
  37221. set_packet_id(from.packet_id());
  37222. }
  37223. if (from.has_count()) {
  37224. set_count(from.count());
  37225. }
  37226. }
  37227. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  37228. }
  37229. void packetc2w_turret_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  37230. if (&from == this) return;
  37231. Clear();
  37232. MergeFrom(from);
  37233. }
  37234. void packetc2w_turret_lottery::CopyFrom(const packetc2w_turret_lottery& from) {
  37235. if (&from == this) return;
  37236. Clear();
  37237. MergeFrom(from);
  37238. }
  37239. bool packetc2w_turret_lottery::IsInitialized() const {
  37240. return true;
  37241. }
  37242. void packetc2w_turret_lottery::Swap(packetc2w_turret_lottery* other) {
  37243. if (other != this) {
  37244. std::swap(packet_id_, other->packet_id_);
  37245. std::swap(count_, other->count_);
  37246. std::swap(_has_bits_[0], other->_has_bits_[0]);
  37247. _unknown_fields_.Swap(&other->_unknown_fields_);
  37248. std::swap(_cached_size_, other->_cached_size_);
  37249. }
  37250. }
  37251. ::google::protobuf::Metadata packetc2w_turret_lottery::GetMetadata() const {
  37252. protobuf_AssignDescriptorsOnce();
  37253. ::google::protobuf::Metadata metadata;
  37254. metadata.descriptor = packetc2w_turret_lottery_descriptor_;
  37255. metadata.reflection = packetc2w_turret_lottery_reflection_;
  37256. return metadata;
  37257. }
  37258. // ===================================================================
  37259. #ifndef _MSC_VER
  37260. const int packetw2c_turret_lottery_result::kPacketIdFieldNumber;
  37261. const int packetw2c_turret_lottery_result::kResultFieldNumber;
  37262. const int packetw2c_turret_lottery_result::kCountFieldNumber;
  37263. const int packetw2c_turret_lottery_result::kIndexFieldNumber;
  37264. #endif // !_MSC_VER
  37265. packetw2c_turret_lottery_result::packetw2c_turret_lottery_result()
  37266. : ::google::protobuf::Message() {
  37267. SharedCtor();
  37268. }
  37269. void packetw2c_turret_lottery_result::InitAsDefaultInstance() {
  37270. }
  37271. packetw2c_turret_lottery_result::packetw2c_turret_lottery_result(const packetw2c_turret_lottery_result& from)
  37272. : ::google::protobuf::Message() {
  37273. SharedCtor();
  37274. MergeFrom(from);
  37275. }
  37276. void packetw2c_turret_lottery_result::SharedCtor() {
  37277. _cached_size_ = 0;
  37278. packet_id_ = 7726;
  37279. result_ = 0;
  37280. count_ = 0;
  37281. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  37282. }
  37283. packetw2c_turret_lottery_result::~packetw2c_turret_lottery_result() {
  37284. SharedDtor();
  37285. }
  37286. void packetw2c_turret_lottery_result::SharedDtor() {
  37287. if (this != default_instance_) {
  37288. }
  37289. }
  37290. void packetw2c_turret_lottery_result::SetCachedSize(int size) const {
  37291. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  37292. _cached_size_ = size;
  37293. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  37294. }
  37295. const ::google::protobuf::Descriptor* packetw2c_turret_lottery_result::descriptor() {
  37296. protobuf_AssignDescriptorsOnce();
  37297. return packetw2c_turret_lottery_result_descriptor_;
  37298. }
  37299. const packetw2c_turret_lottery_result& packetw2c_turret_lottery_result::default_instance() {
  37300. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  37301. return *default_instance_;
  37302. }
  37303. packetw2c_turret_lottery_result* packetw2c_turret_lottery_result::default_instance_ = NULL;
  37304. packetw2c_turret_lottery_result* packetw2c_turret_lottery_result::New() const {
  37305. return new packetw2c_turret_lottery_result;
  37306. }
  37307. void packetw2c_turret_lottery_result::Clear() {
  37308. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37309. packet_id_ = 7726;
  37310. result_ = 0;
  37311. count_ = 0;
  37312. }
  37313. index_.Clear();
  37314. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  37315. mutable_unknown_fields()->Clear();
  37316. }
  37317. bool packetw2c_turret_lottery_result::MergePartialFromCodedStream(
  37318. ::google::protobuf::io::CodedInputStream* input) {
  37319. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  37320. ::google::protobuf::uint32 tag;
  37321. while ((tag = input->ReadTag()) != 0) {
  37322. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  37323. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_lottery_result];
  37324. case 1: {
  37325. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37326. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37327. int value;
  37328. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37329. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  37330. input, &value)));
  37331. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  37332. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  37333. } else {
  37334. mutable_unknown_fields()->AddVarint(1, value);
  37335. }
  37336. } else {
  37337. goto handle_uninterpreted;
  37338. }
  37339. if (input->ExpectTag(16)) goto parse_result;
  37340. break;
  37341. }
  37342. // optional int32 result = 2;
  37343. case 2: {
  37344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37346. parse_result:
  37347. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37348. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37349. input, &result_)));
  37350. set_has_result();
  37351. } else {
  37352. goto handle_uninterpreted;
  37353. }
  37354. if (input->ExpectTag(24)) goto parse_count;
  37355. break;
  37356. }
  37357. // optional int32 count = 3;
  37358. case 3: {
  37359. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37360. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37361. parse_count:
  37362. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37363. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37364. input, &count_)));
  37365. set_has_count();
  37366. } else {
  37367. goto handle_uninterpreted;
  37368. }
  37369. if (input->ExpectTag(32)) goto parse_index;
  37370. break;
  37371. }
  37372. // repeated int32 index = 4;
  37373. case 4: {
  37374. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37375. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37376. parse_index:
  37377. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  37378. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37379. 1, 32, input, this->mutable_index())));
  37380. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  37381. == ::google::protobuf::internal::WireFormatLite::
  37382. WIRETYPE_LENGTH_DELIMITED) {
  37383. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  37384. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37385. input, this->mutable_index())));
  37386. } else {
  37387. goto handle_uninterpreted;
  37388. }
  37389. if (input->ExpectTag(32)) goto parse_index;
  37390. if (input->ExpectAtEnd()) return true;
  37391. break;
  37392. }
  37393. default: {
  37394. handle_uninterpreted:
  37395. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37396. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  37397. return true;
  37398. }
  37399. DO_(::google::protobuf::internal::WireFormat::SkipField(
  37400. input, tag, mutable_unknown_fields()));
  37401. break;
  37402. }
  37403. }
  37404. }
  37405. return true;
  37406. #undef DO_
  37407. }
  37408. void packetw2c_turret_lottery_result::SerializeWithCachedSizes(
  37409. ::google::protobuf::io::CodedOutputStream* output) const {
  37410. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_lottery_result];
  37411. if (has_packet_id()) {
  37412. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  37413. 1, this->packet_id(), output);
  37414. }
  37415. // optional int32 result = 2;
  37416. if (has_result()) {
  37417. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  37418. }
  37419. // optional int32 count = 3;
  37420. if (has_count()) {
  37421. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  37422. }
  37423. // repeated int32 index = 4;
  37424. for (int i = 0; i < this->index_size(); i++) {
  37425. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  37426. 4, this->index(i), output);
  37427. }
  37428. if (!unknown_fields().empty()) {
  37429. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  37430. unknown_fields(), output);
  37431. }
  37432. }
  37433. ::google::protobuf::uint8* packetw2c_turret_lottery_result::SerializeWithCachedSizesToArray(
  37434. ::google::protobuf::uint8* target) const {
  37435. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_lottery_result];
  37436. if (has_packet_id()) {
  37437. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  37438. 1, this->packet_id(), target);
  37439. }
  37440. // optional int32 result = 2;
  37441. if (has_result()) {
  37442. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  37443. }
  37444. // optional int32 count = 3;
  37445. if (has_count()) {
  37446. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  37447. }
  37448. // repeated int32 index = 4;
  37449. for (int i = 0; i < this->index_size(); i++) {
  37450. target = ::google::protobuf::internal::WireFormatLite::
  37451. WriteInt32ToArray(4, this->index(i), target);
  37452. }
  37453. if (!unknown_fields().empty()) {
  37454. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  37455. unknown_fields(), target);
  37456. }
  37457. return target;
  37458. }
  37459. int packetw2c_turret_lottery_result::ByteSize() const {
  37460. int total_size = 0;
  37461. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37462. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_lottery_result];
  37463. if (has_packet_id()) {
  37464. total_size += 1 +
  37465. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  37466. }
  37467. // optional int32 result = 2;
  37468. if (has_result()) {
  37469. total_size += 1 +
  37470. ::google::protobuf::internal::WireFormatLite::Int32Size(
  37471. this->result());
  37472. }
  37473. // optional int32 count = 3;
  37474. if (has_count()) {
  37475. total_size += 1 +
  37476. ::google::protobuf::internal::WireFormatLite::Int32Size(
  37477. this->count());
  37478. }
  37479. }
  37480. // repeated int32 index = 4;
  37481. {
  37482. int data_size = 0;
  37483. for (int i = 0; i < this->index_size(); i++) {
  37484. data_size += ::google::protobuf::internal::WireFormatLite::
  37485. Int32Size(this->index(i));
  37486. }
  37487. total_size += 1 * this->index_size() + data_size;
  37488. }
  37489. if (!unknown_fields().empty()) {
  37490. total_size +=
  37491. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  37492. unknown_fields());
  37493. }
  37494. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  37495. _cached_size_ = total_size;
  37496. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  37497. return total_size;
  37498. }
  37499. void packetw2c_turret_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  37500. GOOGLE_CHECK_NE(&from, this);
  37501. const packetw2c_turret_lottery_result* source =
  37502. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_turret_lottery_result*>(
  37503. &from);
  37504. if (source == NULL) {
  37505. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  37506. } else {
  37507. MergeFrom(*source);
  37508. }
  37509. }
  37510. void packetw2c_turret_lottery_result::MergeFrom(const packetw2c_turret_lottery_result& from) {
  37511. GOOGLE_CHECK_NE(&from, this);
  37512. index_.MergeFrom(from.index_);
  37513. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37514. if (from.has_packet_id()) {
  37515. set_packet_id(from.packet_id());
  37516. }
  37517. if (from.has_result()) {
  37518. set_result(from.result());
  37519. }
  37520. if (from.has_count()) {
  37521. set_count(from.count());
  37522. }
  37523. }
  37524. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  37525. }
  37526. void packetw2c_turret_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  37527. if (&from == this) return;
  37528. Clear();
  37529. MergeFrom(from);
  37530. }
  37531. void packetw2c_turret_lottery_result::CopyFrom(const packetw2c_turret_lottery_result& from) {
  37532. if (&from == this) return;
  37533. Clear();
  37534. MergeFrom(from);
  37535. }
  37536. bool packetw2c_turret_lottery_result::IsInitialized() const {
  37537. return true;
  37538. }
  37539. void packetw2c_turret_lottery_result::Swap(packetw2c_turret_lottery_result* other) {
  37540. if (other != this) {
  37541. std::swap(packet_id_, other->packet_id_);
  37542. std::swap(result_, other->result_);
  37543. std::swap(count_, other->count_);
  37544. index_.Swap(&other->index_);
  37545. std::swap(_has_bits_[0], other->_has_bits_[0]);
  37546. _unknown_fields_.Swap(&other->_unknown_fields_);
  37547. std::swap(_cached_size_, other->_cached_size_);
  37548. }
  37549. }
  37550. ::google::protobuf::Metadata packetw2c_turret_lottery_result::GetMetadata() const {
  37551. protobuf_AssignDescriptorsOnce();
  37552. ::google::protobuf::Metadata metadata;
  37553. metadata.descriptor = packetw2c_turret_lottery_result_descriptor_;
  37554. metadata.reflection = packetw2c_turret_lottery_result_reflection_;
  37555. return metadata;
  37556. }
  37557. // ===================================================================
  37558. #ifndef _MSC_VER
  37559. const int packetw2c_syn_smashing_eggs_info::kPacketIdFieldNumber;
  37560. const int packetw2c_syn_smashing_eggs_info::kActivityStateFieldNumber;
  37561. const int packetw2c_syn_smashing_eggs_info::kStartTimeFieldNumber;
  37562. const int packetw2c_syn_smashing_eggs_info::kEndTimeFieldNumber;
  37563. const int packetw2c_syn_smashing_eggs_info::kRechargedFieldNumber;
  37564. const int packetw2c_syn_smashing_eggs_info::kHammerFieldNumber;
  37565. const int packetw2c_syn_smashing_eggs_info::kJackpotFieldNumber;
  37566. #endif // !_MSC_VER
  37567. packetw2c_syn_smashing_eggs_info::packetw2c_syn_smashing_eggs_info()
  37568. : ::google::protobuf::Message() {
  37569. SharedCtor();
  37570. }
  37571. void packetw2c_syn_smashing_eggs_info::InitAsDefaultInstance() {
  37572. }
  37573. packetw2c_syn_smashing_eggs_info::packetw2c_syn_smashing_eggs_info(const packetw2c_syn_smashing_eggs_info& from)
  37574. : ::google::protobuf::Message() {
  37575. SharedCtor();
  37576. MergeFrom(from);
  37577. }
  37578. void packetw2c_syn_smashing_eggs_info::SharedCtor() {
  37579. _cached_size_ = 0;
  37580. packet_id_ = 7730;
  37581. activitystate_ = 0;
  37582. starttime_ = 0;
  37583. endtime_ = 0;
  37584. recharged_ = 0;
  37585. hammer_ = 0;
  37586. jackpot_ = GOOGLE_LONGLONG(0);
  37587. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  37588. }
  37589. packetw2c_syn_smashing_eggs_info::~packetw2c_syn_smashing_eggs_info() {
  37590. SharedDtor();
  37591. }
  37592. void packetw2c_syn_smashing_eggs_info::SharedDtor() {
  37593. if (this != default_instance_) {
  37594. }
  37595. }
  37596. void packetw2c_syn_smashing_eggs_info::SetCachedSize(int size) const {
  37597. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  37598. _cached_size_ = size;
  37599. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  37600. }
  37601. const ::google::protobuf::Descriptor* packetw2c_syn_smashing_eggs_info::descriptor() {
  37602. protobuf_AssignDescriptorsOnce();
  37603. return packetw2c_syn_smashing_eggs_info_descriptor_;
  37604. }
  37605. const packetw2c_syn_smashing_eggs_info& packetw2c_syn_smashing_eggs_info::default_instance() {
  37606. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  37607. return *default_instance_;
  37608. }
  37609. packetw2c_syn_smashing_eggs_info* packetw2c_syn_smashing_eggs_info::default_instance_ = NULL;
  37610. packetw2c_syn_smashing_eggs_info* packetw2c_syn_smashing_eggs_info::New() const {
  37611. return new packetw2c_syn_smashing_eggs_info;
  37612. }
  37613. void packetw2c_syn_smashing_eggs_info::Clear() {
  37614. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37615. packet_id_ = 7730;
  37616. activitystate_ = 0;
  37617. starttime_ = 0;
  37618. endtime_ = 0;
  37619. recharged_ = 0;
  37620. hammer_ = 0;
  37621. jackpot_ = GOOGLE_LONGLONG(0);
  37622. }
  37623. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  37624. mutable_unknown_fields()->Clear();
  37625. }
  37626. bool packetw2c_syn_smashing_eggs_info::MergePartialFromCodedStream(
  37627. ::google::protobuf::io::CodedInputStream* input) {
  37628. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  37629. ::google::protobuf::uint32 tag;
  37630. while ((tag = input->ReadTag()) != 0) {
  37631. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  37632. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_smashing_eggs_info];
  37633. case 1: {
  37634. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37635. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37636. int value;
  37637. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37638. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  37639. input, &value)));
  37640. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  37641. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  37642. } else {
  37643. mutable_unknown_fields()->AddVarint(1, value);
  37644. }
  37645. } else {
  37646. goto handle_uninterpreted;
  37647. }
  37648. if (input->ExpectTag(16)) goto parse_activityState;
  37649. break;
  37650. }
  37651. // optional int32 activityState = 2;
  37652. case 2: {
  37653. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37654. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37655. parse_activityState:
  37656. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37657. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37658. input, &activitystate_)));
  37659. set_has_activitystate();
  37660. } else {
  37661. goto handle_uninterpreted;
  37662. }
  37663. if (input->ExpectTag(24)) goto parse_startTime;
  37664. break;
  37665. }
  37666. // optional int32 startTime = 3;
  37667. case 3: {
  37668. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37669. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37670. parse_startTime:
  37671. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37672. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37673. input, &starttime_)));
  37674. set_has_starttime();
  37675. } else {
  37676. goto handle_uninterpreted;
  37677. }
  37678. if (input->ExpectTag(32)) goto parse_endTime;
  37679. break;
  37680. }
  37681. // optional int32 endTime = 4;
  37682. case 4: {
  37683. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37684. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37685. parse_endTime:
  37686. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37687. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37688. input, &endtime_)));
  37689. set_has_endtime();
  37690. } else {
  37691. goto handle_uninterpreted;
  37692. }
  37693. if (input->ExpectTag(40)) goto parse_recharged;
  37694. break;
  37695. }
  37696. // optional int32 recharged = 5;
  37697. case 5: {
  37698. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37699. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37700. parse_recharged:
  37701. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37702. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37703. input, &recharged_)));
  37704. set_has_recharged();
  37705. } else {
  37706. goto handle_uninterpreted;
  37707. }
  37708. if (input->ExpectTag(48)) goto parse_hammer;
  37709. break;
  37710. }
  37711. // optional int32 hammer = 6;
  37712. case 6: {
  37713. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37714. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37715. parse_hammer:
  37716. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37717. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  37718. input, &hammer_)));
  37719. set_has_hammer();
  37720. } else {
  37721. goto handle_uninterpreted;
  37722. }
  37723. if (input->ExpectTag(56)) goto parse_jackpot;
  37724. break;
  37725. }
  37726. // optional int64 jackpot = 7;
  37727. case 7: {
  37728. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37729. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  37730. parse_jackpot:
  37731. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  37732. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  37733. input, &jackpot_)));
  37734. set_has_jackpot();
  37735. } else {
  37736. goto handle_uninterpreted;
  37737. }
  37738. if (input->ExpectAtEnd()) return true;
  37739. break;
  37740. }
  37741. default: {
  37742. handle_uninterpreted:
  37743. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  37744. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  37745. return true;
  37746. }
  37747. DO_(::google::protobuf::internal::WireFormat::SkipField(
  37748. input, tag, mutable_unknown_fields()));
  37749. break;
  37750. }
  37751. }
  37752. }
  37753. return true;
  37754. #undef DO_
  37755. }
  37756. void packetw2c_syn_smashing_eggs_info::SerializeWithCachedSizes(
  37757. ::google::protobuf::io::CodedOutputStream* output) const {
  37758. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_smashing_eggs_info];
  37759. if (has_packet_id()) {
  37760. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  37761. 1, this->packet_id(), output);
  37762. }
  37763. // optional int32 activityState = 2;
  37764. if (has_activitystate()) {
  37765. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  37766. }
  37767. // optional int32 startTime = 3;
  37768. if (has_starttime()) {
  37769. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  37770. }
  37771. // optional int32 endTime = 4;
  37772. if (has_endtime()) {
  37773. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  37774. }
  37775. // optional int32 recharged = 5;
  37776. if (has_recharged()) {
  37777. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->recharged(), output);
  37778. }
  37779. // optional int32 hammer = 6;
  37780. if (has_hammer()) {
  37781. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->hammer(), output);
  37782. }
  37783. // optional int64 jackpot = 7;
  37784. if (has_jackpot()) {
  37785. ::google::protobuf::internal::WireFormatLite::WriteInt64(7, this->jackpot(), output);
  37786. }
  37787. if (!unknown_fields().empty()) {
  37788. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  37789. unknown_fields(), output);
  37790. }
  37791. }
  37792. ::google::protobuf::uint8* packetw2c_syn_smashing_eggs_info::SerializeWithCachedSizesToArray(
  37793. ::google::protobuf::uint8* target) const {
  37794. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_smashing_eggs_info];
  37795. if (has_packet_id()) {
  37796. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  37797. 1, this->packet_id(), target);
  37798. }
  37799. // optional int32 activityState = 2;
  37800. if (has_activitystate()) {
  37801. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  37802. }
  37803. // optional int32 startTime = 3;
  37804. if (has_starttime()) {
  37805. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  37806. }
  37807. // optional int32 endTime = 4;
  37808. if (has_endtime()) {
  37809. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  37810. }
  37811. // optional int32 recharged = 5;
  37812. if (has_recharged()) {
  37813. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->recharged(), target);
  37814. }
  37815. // optional int32 hammer = 6;
  37816. if (has_hammer()) {
  37817. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->hammer(), target);
  37818. }
  37819. // optional int64 jackpot = 7;
  37820. if (has_jackpot()) {
  37821. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(7, this->jackpot(), target);
  37822. }
  37823. if (!unknown_fields().empty()) {
  37824. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  37825. unknown_fields(), target);
  37826. }
  37827. return target;
  37828. }
  37829. int packetw2c_syn_smashing_eggs_info::ByteSize() const {
  37830. int total_size = 0;
  37831. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37832. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_smashing_eggs_info];
  37833. if (has_packet_id()) {
  37834. total_size += 1 +
  37835. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  37836. }
  37837. // optional int32 activityState = 2;
  37838. if (has_activitystate()) {
  37839. total_size += 1 +
  37840. ::google::protobuf::internal::WireFormatLite::Int32Size(
  37841. this->activitystate());
  37842. }
  37843. // optional int32 startTime = 3;
  37844. if (has_starttime()) {
  37845. total_size += 1 +
  37846. ::google::protobuf::internal::WireFormatLite::Int32Size(
  37847. this->starttime());
  37848. }
  37849. // optional int32 endTime = 4;
  37850. if (has_endtime()) {
  37851. total_size += 1 +
  37852. ::google::protobuf::internal::WireFormatLite::Int32Size(
  37853. this->endtime());
  37854. }
  37855. // optional int32 recharged = 5;
  37856. if (has_recharged()) {
  37857. total_size += 1 +
  37858. ::google::protobuf::internal::WireFormatLite::Int32Size(
  37859. this->recharged());
  37860. }
  37861. // optional int32 hammer = 6;
  37862. if (has_hammer()) {
  37863. total_size += 1 +
  37864. ::google::protobuf::internal::WireFormatLite::Int32Size(
  37865. this->hammer());
  37866. }
  37867. // optional int64 jackpot = 7;
  37868. if (has_jackpot()) {
  37869. total_size += 1 +
  37870. ::google::protobuf::internal::WireFormatLite::Int64Size(
  37871. this->jackpot());
  37872. }
  37873. }
  37874. if (!unknown_fields().empty()) {
  37875. total_size +=
  37876. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  37877. unknown_fields());
  37878. }
  37879. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  37880. _cached_size_ = total_size;
  37881. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  37882. return total_size;
  37883. }
  37884. void packetw2c_syn_smashing_eggs_info::MergeFrom(const ::google::protobuf::Message& from) {
  37885. GOOGLE_CHECK_NE(&from, this);
  37886. const packetw2c_syn_smashing_eggs_info* source =
  37887. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_smashing_eggs_info*>(
  37888. &from);
  37889. if (source == NULL) {
  37890. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  37891. } else {
  37892. MergeFrom(*source);
  37893. }
  37894. }
  37895. void packetw2c_syn_smashing_eggs_info::MergeFrom(const packetw2c_syn_smashing_eggs_info& from) {
  37896. GOOGLE_CHECK_NE(&from, this);
  37897. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  37898. if (from.has_packet_id()) {
  37899. set_packet_id(from.packet_id());
  37900. }
  37901. if (from.has_activitystate()) {
  37902. set_activitystate(from.activitystate());
  37903. }
  37904. if (from.has_starttime()) {
  37905. set_starttime(from.starttime());
  37906. }
  37907. if (from.has_endtime()) {
  37908. set_endtime(from.endtime());
  37909. }
  37910. if (from.has_recharged()) {
  37911. set_recharged(from.recharged());
  37912. }
  37913. if (from.has_hammer()) {
  37914. set_hammer(from.hammer());
  37915. }
  37916. if (from.has_jackpot()) {
  37917. set_jackpot(from.jackpot());
  37918. }
  37919. }
  37920. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  37921. }
  37922. void packetw2c_syn_smashing_eggs_info::CopyFrom(const ::google::protobuf::Message& from) {
  37923. if (&from == this) return;
  37924. Clear();
  37925. MergeFrom(from);
  37926. }
  37927. void packetw2c_syn_smashing_eggs_info::CopyFrom(const packetw2c_syn_smashing_eggs_info& from) {
  37928. if (&from == this) return;
  37929. Clear();
  37930. MergeFrom(from);
  37931. }
  37932. bool packetw2c_syn_smashing_eggs_info::IsInitialized() const {
  37933. return true;
  37934. }
  37935. void packetw2c_syn_smashing_eggs_info::Swap(packetw2c_syn_smashing_eggs_info* other) {
  37936. if (other != this) {
  37937. std::swap(packet_id_, other->packet_id_);
  37938. std::swap(activitystate_, other->activitystate_);
  37939. std::swap(starttime_, other->starttime_);
  37940. std::swap(endtime_, other->endtime_);
  37941. std::swap(recharged_, other->recharged_);
  37942. std::swap(hammer_, other->hammer_);
  37943. std::swap(jackpot_, other->jackpot_);
  37944. std::swap(_has_bits_[0], other->_has_bits_[0]);
  37945. _unknown_fields_.Swap(&other->_unknown_fields_);
  37946. std::swap(_cached_size_, other->_cached_size_);
  37947. }
  37948. }
  37949. ::google::protobuf::Metadata packetw2c_syn_smashing_eggs_info::GetMetadata() const {
  37950. protobuf_AssignDescriptorsOnce();
  37951. ::google::protobuf::Metadata metadata;
  37952. metadata.descriptor = packetw2c_syn_smashing_eggs_info_descriptor_;
  37953. metadata.reflection = packetw2c_syn_smashing_eggs_info_reflection_;
  37954. return metadata;
  37955. }
  37956. // ===================================================================
  37957. #ifndef _MSC_VER
  37958. const int packetc2w_get_smashing_eggs_info::kPacketIdFieldNumber;
  37959. #endif // !_MSC_VER
  37960. packetc2w_get_smashing_eggs_info::packetc2w_get_smashing_eggs_info()
  37961. : ::google::protobuf::Message() {
  37962. SharedCtor();
  37963. }
  37964. void packetc2w_get_smashing_eggs_info::InitAsDefaultInstance() {
  37965. }
  37966. packetc2w_get_smashing_eggs_info::packetc2w_get_smashing_eggs_info(const packetc2w_get_smashing_eggs_info& from)
  37967. : ::google::protobuf::Message() {
  37968. SharedCtor();
  37969. MergeFrom(from);
  37970. }
  37971. void packetc2w_get_smashing_eggs_info::SharedCtor() {
  37972. _cached_size_ = 0;
  37973. packet_id_ = 5202;
  37974. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  37975. }
  37976. packetc2w_get_smashing_eggs_info::~packetc2w_get_smashing_eggs_info() {
  37977. SharedDtor();
  37978. }
  37979. void packetc2w_get_smashing_eggs_info::SharedDtor() {
  37980. if (this != default_instance_) {
  37981. }
  37982. }
  37983. void packetc2w_get_smashing_eggs_info::SetCachedSize(int size) const {
  37984. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  37985. _cached_size_ = size;
  37986. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  37987. }
  37988. const ::google::protobuf::Descriptor* packetc2w_get_smashing_eggs_info::descriptor() {
  37989. protobuf_AssignDescriptorsOnce();
  37990. return packetc2w_get_smashing_eggs_info_descriptor_;
  37991. }
  37992. const packetc2w_get_smashing_eggs_info& packetc2w_get_smashing_eggs_info::default_instance() {
  37993. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  37994. return *default_instance_;
  37995. }
  37996. packetc2w_get_smashing_eggs_info* packetc2w_get_smashing_eggs_info::default_instance_ = NULL;
  37997. packetc2w_get_smashing_eggs_info* packetc2w_get_smashing_eggs_info::New() const {
  37998. return new packetc2w_get_smashing_eggs_info;
  37999. }
  38000. void packetc2w_get_smashing_eggs_info::Clear() {
  38001. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38002. packet_id_ = 5202;
  38003. }
  38004. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38005. mutable_unknown_fields()->Clear();
  38006. }
  38007. bool packetc2w_get_smashing_eggs_info::MergePartialFromCodedStream(
  38008. ::google::protobuf::io::CodedInputStream* input) {
  38009. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  38010. ::google::protobuf::uint32 tag;
  38011. while ((tag = input->ReadTag()) != 0) {
  38012. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  38013. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_info];
  38014. case 1: {
  38015. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38016. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38017. int value;
  38018. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38019. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  38020. input, &value)));
  38021. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  38022. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  38023. } else {
  38024. mutable_unknown_fields()->AddVarint(1, value);
  38025. }
  38026. } else {
  38027. goto handle_uninterpreted;
  38028. }
  38029. if (input->ExpectAtEnd()) return true;
  38030. break;
  38031. }
  38032. default: {
  38033. handle_uninterpreted:
  38034. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38035. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  38036. return true;
  38037. }
  38038. DO_(::google::protobuf::internal::WireFormat::SkipField(
  38039. input, tag, mutable_unknown_fields()));
  38040. break;
  38041. }
  38042. }
  38043. }
  38044. return true;
  38045. #undef DO_
  38046. }
  38047. void packetc2w_get_smashing_eggs_info::SerializeWithCachedSizes(
  38048. ::google::protobuf::io::CodedOutputStream* output) const {
  38049. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_info];
  38050. if (has_packet_id()) {
  38051. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  38052. 1, this->packet_id(), output);
  38053. }
  38054. if (!unknown_fields().empty()) {
  38055. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  38056. unknown_fields(), output);
  38057. }
  38058. }
  38059. ::google::protobuf::uint8* packetc2w_get_smashing_eggs_info::SerializeWithCachedSizesToArray(
  38060. ::google::protobuf::uint8* target) const {
  38061. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_info];
  38062. if (has_packet_id()) {
  38063. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  38064. 1, this->packet_id(), target);
  38065. }
  38066. if (!unknown_fields().empty()) {
  38067. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  38068. unknown_fields(), target);
  38069. }
  38070. return target;
  38071. }
  38072. int packetc2w_get_smashing_eggs_info::ByteSize() const {
  38073. int total_size = 0;
  38074. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38075. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_info];
  38076. if (has_packet_id()) {
  38077. total_size += 1 +
  38078. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  38079. }
  38080. }
  38081. if (!unknown_fields().empty()) {
  38082. total_size +=
  38083. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  38084. unknown_fields());
  38085. }
  38086. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  38087. _cached_size_ = total_size;
  38088. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  38089. return total_size;
  38090. }
  38091. void packetc2w_get_smashing_eggs_info::MergeFrom(const ::google::protobuf::Message& from) {
  38092. GOOGLE_CHECK_NE(&from, this);
  38093. const packetc2w_get_smashing_eggs_info* source =
  38094. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_smashing_eggs_info*>(
  38095. &from);
  38096. if (source == NULL) {
  38097. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  38098. } else {
  38099. MergeFrom(*source);
  38100. }
  38101. }
  38102. void packetc2w_get_smashing_eggs_info::MergeFrom(const packetc2w_get_smashing_eggs_info& from) {
  38103. GOOGLE_CHECK_NE(&from, this);
  38104. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38105. if (from.has_packet_id()) {
  38106. set_packet_id(from.packet_id());
  38107. }
  38108. }
  38109. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  38110. }
  38111. void packetc2w_get_smashing_eggs_info::CopyFrom(const ::google::protobuf::Message& from) {
  38112. if (&from == this) return;
  38113. Clear();
  38114. MergeFrom(from);
  38115. }
  38116. void packetc2w_get_smashing_eggs_info::CopyFrom(const packetc2w_get_smashing_eggs_info& from) {
  38117. if (&from == this) return;
  38118. Clear();
  38119. MergeFrom(from);
  38120. }
  38121. bool packetc2w_get_smashing_eggs_info::IsInitialized() const {
  38122. return true;
  38123. }
  38124. void packetc2w_get_smashing_eggs_info::Swap(packetc2w_get_smashing_eggs_info* other) {
  38125. if (other != this) {
  38126. std::swap(packet_id_, other->packet_id_);
  38127. std::swap(_has_bits_[0], other->_has_bits_[0]);
  38128. _unknown_fields_.Swap(&other->_unknown_fields_);
  38129. std::swap(_cached_size_, other->_cached_size_);
  38130. }
  38131. }
  38132. ::google::protobuf::Metadata packetc2w_get_smashing_eggs_info::GetMetadata() const {
  38133. protobuf_AssignDescriptorsOnce();
  38134. ::google::protobuf::Metadata metadata;
  38135. metadata.descriptor = packetc2w_get_smashing_eggs_info_descriptor_;
  38136. metadata.reflection = packetc2w_get_smashing_eggs_info_reflection_;
  38137. return metadata;
  38138. }
  38139. // ===================================================================
  38140. #ifndef _MSC_VER
  38141. const int packetc2w_smashing_eggs::kPacketIdFieldNumber;
  38142. const int packetc2w_smashing_eggs::kTypeFieldNumber;
  38143. #endif // !_MSC_VER
  38144. packetc2w_smashing_eggs::packetc2w_smashing_eggs()
  38145. : ::google::protobuf::Message() {
  38146. SharedCtor();
  38147. }
  38148. void packetc2w_smashing_eggs::InitAsDefaultInstance() {
  38149. }
  38150. packetc2w_smashing_eggs::packetc2w_smashing_eggs(const packetc2w_smashing_eggs& from)
  38151. : ::google::protobuf::Message() {
  38152. SharedCtor();
  38153. MergeFrom(from);
  38154. }
  38155. void packetc2w_smashing_eggs::SharedCtor() {
  38156. _cached_size_ = 0;
  38157. packet_id_ = 5200;
  38158. type_ = 0;
  38159. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38160. }
  38161. packetc2w_smashing_eggs::~packetc2w_smashing_eggs() {
  38162. SharedDtor();
  38163. }
  38164. void packetc2w_smashing_eggs::SharedDtor() {
  38165. if (this != default_instance_) {
  38166. }
  38167. }
  38168. void packetc2w_smashing_eggs::SetCachedSize(int size) const {
  38169. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  38170. _cached_size_ = size;
  38171. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  38172. }
  38173. const ::google::protobuf::Descriptor* packetc2w_smashing_eggs::descriptor() {
  38174. protobuf_AssignDescriptorsOnce();
  38175. return packetc2w_smashing_eggs_descriptor_;
  38176. }
  38177. const packetc2w_smashing_eggs& packetc2w_smashing_eggs::default_instance() {
  38178. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  38179. return *default_instance_;
  38180. }
  38181. packetc2w_smashing_eggs* packetc2w_smashing_eggs::default_instance_ = NULL;
  38182. packetc2w_smashing_eggs* packetc2w_smashing_eggs::New() const {
  38183. return new packetc2w_smashing_eggs;
  38184. }
  38185. void packetc2w_smashing_eggs::Clear() {
  38186. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38187. packet_id_ = 5200;
  38188. type_ = 0;
  38189. }
  38190. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38191. mutable_unknown_fields()->Clear();
  38192. }
  38193. bool packetc2w_smashing_eggs::MergePartialFromCodedStream(
  38194. ::google::protobuf::io::CodedInputStream* input) {
  38195. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  38196. ::google::protobuf::uint32 tag;
  38197. while ((tag = input->ReadTag()) != 0) {
  38198. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  38199. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_smashing_eggs];
  38200. case 1: {
  38201. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38202. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38203. int value;
  38204. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38205. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  38206. input, &value)));
  38207. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  38208. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  38209. } else {
  38210. mutable_unknown_fields()->AddVarint(1, value);
  38211. }
  38212. } else {
  38213. goto handle_uninterpreted;
  38214. }
  38215. if (input->ExpectTag(16)) goto parse_type;
  38216. break;
  38217. }
  38218. // optional int32 type = 2;
  38219. case 2: {
  38220. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38221. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38222. parse_type:
  38223. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38224. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  38225. input, &type_)));
  38226. set_has_type();
  38227. } else {
  38228. goto handle_uninterpreted;
  38229. }
  38230. if (input->ExpectAtEnd()) return true;
  38231. break;
  38232. }
  38233. default: {
  38234. handle_uninterpreted:
  38235. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38236. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  38237. return true;
  38238. }
  38239. DO_(::google::protobuf::internal::WireFormat::SkipField(
  38240. input, tag, mutable_unknown_fields()));
  38241. break;
  38242. }
  38243. }
  38244. }
  38245. return true;
  38246. #undef DO_
  38247. }
  38248. void packetc2w_smashing_eggs::SerializeWithCachedSizes(
  38249. ::google::protobuf::io::CodedOutputStream* output) const {
  38250. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_smashing_eggs];
  38251. if (has_packet_id()) {
  38252. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  38253. 1, this->packet_id(), output);
  38254. }
  38255. // optional int32 type = 2;
  38256. if (has_type()) {
  38257. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  38258. }
  38259. if (!unknown_fields().empty()) {
  38260. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  38261. unknown_fields(), output);
  38262. }
  38263. }
  38264. ::google::protobuf::uint8* packetc2w_smashing_eggs::SerializeWithCachedSizesToArray(
  38265. ::google::protobuf::uint8* target) const {
  38266. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_smashing_eggs];
  38267. if (has_packet_id()) {
  38268. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  38269. 1, this->packet_id(), target);
  38270. }
  38271. // optional int32 type = 2;
  38272. if (has_type()) {
  38273. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  38274. }
  38275. if (!unknown_fields().empty()) {
  38276. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  38277. unknown_fields(), target);
  38278. }
  38279. return target;
  38280. }
  38281. int packetc2w_smashing_eggs::ByteSize() const {
  38282. int total_size = 0;
  38283. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38284. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_smashing_eggs];
  38285. if (has_packet_id()) {
  38286. total_size += 1 +
  38287. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  38288. }
  38289. // optional int32 type = 2;
  38290. if (has_type()) {
  38291. total_size += 1 +
  38292. ::google::protobuf::internal::WireFormatLite::Int32Size(
  38293. this->type());
  38294. }
  38295. }
  38296. if (!unknown_fields().empty()) {
  38297. total_size +=
  38298. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  38299. unknown_fields());
  38300. }
  38301. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  38302. _cached_size_ = total_size;
  38303. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  38304. return total_size;
  38305. }
  38306. void packetc2w_smashing_eggs::MergeFrom(const ::google::protobuf::Message& from) {
  38307. GOOGLE_CHECK_NE(&from, this);
  38308. const packetc2w_smashing_eggs* source =
  38309. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_smashing_eggs*>(
  38310. &from);
  38311. if (source == NULL) {
  38312. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  38313. } else {
  38314. MergeFrom(*source);
  38315. }
  38316. }
  38317. void packetc2w_smashing_eggs::MergeFrom(const packetc2w_smashing_eggs& from) {
  38318. GOOGLE_CHECK_NE(&from, this);
  38319. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38320. if (from.has_packet_id()) {
  38321. set_packet_id(from.packet_id());
  38322. }
  38323. if (from.has_type()) {
  38324. set_type(from.type());
  38325. }
  38326. }
  38327. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  38328. }
  38329. void packetc2w_smashing_eggs::CopyFrom(const ::google::protobuf::Message& from) {
  38330. if (&from == this) return;
  38331. Clear();
  38332. MergeFrom(from);
  38333. }
  38334. void packetc2w_smashing_eggs::CopyFrom(const packetc2w_smashing_eggs& from) {
  38335. if (&from == this) return;
  38336. Clear();
  38337. MergeFrom(from);
  38338. }
  38339. bool packetc2w_smashing_eggs::IsInitialized() const {
  38340. return true;
  38341. }
  38342. void packetc2w_smashing_eggs::Swap(packetc2w_smashing_eggs* other) {
  38343. if (other != this) {
  38344. std::swap(packet_id_, other->packet_id_);
  38345. std::swap(type_, other->type_);
  38346. std::swap(_has_bits_[0], other->_has_bits_[0]);
  38347. _unknown_fields_.Swap(&other->_unknown_fields_);
  38348. std::swap(_cached_size_, other->_cached_size_);
  38349. }
  38350. }
  38351. ::google::protobuf::Metadata packetc2w_smashing_eggs::GetMetadata() const {
  38352. protobuf_AssignDescriptorsOnce();
  38353. ::google::protobuf::Metadata metadata;
  38354. metadata.descriptor = packetc2w_smashing_eggs_descriptor_;
  38355. metadata.reflection = packetc2w_smashing_eggs_reflection_;
  38356. return metadata;
  38357. }
  38358. // ===================================================================
  38359. #ifndef _MSC_VER
  38360. const int packetw2c_smashing_eggs_result::kPacketIdFieldNumber;
  38361. const int packetw2c_smashing_eggs_result::kResultFieldNumber;
  38362. const int packetw2c_smashing_eggs_result::kTypeFieldNumber;
  38363. const int packetw2c_smashing_eggs_result::kIndexFieldNumber;
  38364. #endif // !_MSC_VER
  38365. packetw2c_smashing_eggs_result::packetw2c_smashing_eggs_result()
  38366. : ::google::protobuf::Message() {
  38367. SharedCtor();
  38368. }
  38369. void packetw2c_smashing_eggs_result::InitAsDefaultInstance() {
  38370. }
  38371. packetw2c_smashing_eggs_result::packetw2c_smashing_eggs_result(const packetw2c_smashing_eggs_result& from)
  38372. : ::google::protobuf::Message() {
  38373. SharedCtor();
  38374. MergeFrom(from);
  38375. }
  38376. void packetw2c_smashing_eggs_result::SharedCtor() {
  38377. _cached_size_ = 0;
  38378. packet_id_ = 7731;
  38379. result_ = 0;
  38380. type_ = 0;
  38381. index_ = 0;
  38382. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38383. }
  38384. packetw2c_smashing_eggs_result::~packetw2c_smashing_eggs_result() {
  38385. SharedDtor();
  38386. }
  38387. void packetw2c_smashing_eggs_result::SharedDtor() {
  38388. if (this != default_instance_) {
  38389. }
  38390. }
  38391. void packetw2c_smashing_eggs_result::SetCachedSize(int size) const {
  38392. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  38393. _cached_size_ = size;
  38394. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  38395. }
  38396. const ::google::protobuf::Descriptor* packetw2c_smashing_eggs_result::descriptor() {
  38397. protobuf_AssignDescriptorsOnce();
  38398. return packetw2c_smashing_eggs_result_descriptor_;
  38399. }
  38400. const packetw2c_smashing_eggs_result& packetw2c_smashing_eggs_result::default_instance() {
  38401. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  38402. return *default_instance_;
  38403. }
  38404. packetw2c_smashing_eggs_result* packetw2c_smashing_eggs_result::default_instance_ = NULL;
  38405. packetw2c_smashing_eggs_result* packetw2c_smashing_eggs_result::New() const {
  38406. return new packetw2c_smashing_eggs_result;
  38407. }
  38408. void packetw2c_smashing_eggs_result::Clear() {
  38409. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38410. packet_id_ = 7731;
  38411. result_ = 0;
  38412. type_ = 0;
  38413. index_ = 0;
  38414. }
  38415. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38416. mutable_unknown_fields()->Clear();
  38417. }
  38418. bool packetw2c_smashing_eggs_result::MergePartialFromCodedStream(
  38419. ::google::protobuf::io::CodedInputStream* input) {
  38420. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  38421. ::google::protobuf::uint32 tag;
  38422. while ((tag = input->ReadTag()) != 0) {
  38423. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  38424. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_smashing_eggs_result];
  38425. case 1: {
  38426. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38427. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38428. int value;
  38429. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38430. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  38431. input, &value)));
  38432. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  38433. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  38434. } else {
  38435. mutable_unknown_fields()->AddVarint(1, value);
  38436. }
  38437. } else {
  38438. goto handle_uninterpreted;
  38439. }
  38440. if (input->ExpectTag(16)) goto parse_result;
  38441. break;
  38442. }
  38443. // optional int32 result = 2;
  38444. case 2: {
  38445. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38446. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38447. parse_result:
  38448. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38449. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  38450. input, &result_)));
  38451. set_has_result();
  38452. } else {
  38453. goto handle_uninterpreted;
  38454. }
  38455. if (input->ExpectTag(24)) goto parse_type;
  38456. break;
  38457. }
  38458. // optional int32 type = 3;
  38459. case 3: {
  38460. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38461. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38462. parse_type:
  38463. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38464. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  38465. input, &type_)));
  38466. set_has_type();
  38467. } else {
  38468. goto handle_uninterpreted;
  38469. }
  38470. if (input->ExpectTag(32)) goto parse_index;
  38471. break;
  38472. }
  38473. // optional int32 index = 4;
  38474. case 4: {
  38475. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38476. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38477. parse_index:
  38478. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38479. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  38480. input, &index_)));
  38481. set_has_index();
  38482. } else {
  38483. goto handle_uninterpreted;
  38484. }
  38485. if (input->ExpectAtEnd()) return true;
  38486. break;
  38487. }
  38488. default: {
  38489. handle_uninterpreted:
  38490. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38491. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  38492. return true;
  38493. }
  38494. DO_(::google::protobuf::internal::WireFormat::SkipField(
  38495. input, tag, mutable_unknown_fields()));
  38496. break;
  38497. }
  38498. }
  38499. }
  38500. return true;
  38501. #undef DO_
  38502. }
  38503. void packetw2c_smashing_eggs_result::SerializeWithCachedSizes(
  38504. ::google::protobuf::io::CodedOutputStream* output) const {
  38505. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_smashing_eggs_result];
  38506. if (has_packet_id()) {
  38507. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  38508. 1, this->packet_id(), output);
  38509. }
  38510. // optional int32 result = 2;
  38511. if (has_result()) {
  38512. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  38513. }
  38514. // optional int32 type = 3;
  38515. if (has_type()) {
  38516. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  38517. }
  38518. // optional int32 index = 4;
  38519. if (has_index()) {
  38520. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->index(), output);
  38521. }
  38522. if (!unknown_fields().empty()) {
  38523. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  38524. unknown_fields(), output);
  38525. }
  38526. }
  38527. ::google::protobuf::uint8* packetw2c_smashing_eggs_result::SerializeWithCachedSizesToArray(
  38528. ::google::protobuf::uint8* target) const {
  38529. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_smashing_eggs_result];
  38530. if (has_packet_id()) {
  38531. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  38532. 1, this->packet_id(), target);
  38533. }
  38534. // optional int32 result = 2;
  38535. if (has_result()) {
  38536. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  38537. }
  38538. // optional int32 type = 3;
  38539. if (has_type()) {
  38540. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  38541. }
  38542. // optional int32 index = 4;
  38543. if (has_index()) {
  38544. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->index(), target);
  38545. }
  38546. if (!unknown_fields().empty()) {
  38547. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  38548. unknown_fields(), target);
  38549. }
  38550. return target;
  38551. }
  38552. int packetw2c_smashing_eggs_result::ByteSize() const {
  38553. int total_size = 0;
  38554. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38555. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_smashing_eggs_result];
  38556. if (has_packet_id()) {
  38557. total_size += 1 +
  38558. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  38559. }
  38560. // optional int32 result = 2;
  38561. if (has_result()) {
  38562. total_size += 1 +
  38563. ::google::protobuf::internal::WireFormatLite::Int32Size(
  38564. this->result());
  38565. }
  38566. // optional int32 type = 3;
  38567. if (has_type()) {
  38568. total_size += 1 +
  38569. ::google::protobuf::internal::WireFormatLite::Int32Size(
  38570. this->type());
  38571. }
  38572. // optional int32 index = 4;
  38573. if (has_index()) {
  38574. total_size += 1 +
  38575. ::google::protobuf::internal::WireFormatLite::Int32Size(
  38576. this->index());
  38577. }
  38578. }
  38579. if (!unknown_fields().empty()) {
  38580. total_size +=
  38581. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  38582. unknown_fields());
  38583. }
  38584. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  38585. _cached_size_ = total_size;
  38586. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  38587. return total_size;
  38588. }
  38589. void packetw2c_smashing_eggs_result::MergeFrom(const ::google::protobuf::Message& from) {
  38590. GOOGLE_CHECK_NE(&from, this);
  38591. const packetw2c_smashing_eggs_result* source =
  38592. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_smashing_eggs_result*>(
  38593. &from);
  38594. if (source == NULL) {
  38595. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  38596. } else {
  38597. MergeFrom(*source);
  38598. }
  38599. }
  38600. void packetw2c_smashing_eggs_result::MergeFrom(const packetw2c_smashing_eggs_result& from) {
  38601. GOOGLE_CHECK_NE(&from, this);
  38602. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38603. if (from.has_packet_id()) {
  38604. set_packet_id(from.packet_id());
  38605. }
  38606. if (from.has_result()) {
  38607. set_result(from.result());
  38608. }
  38609. if (from.has_type()) {
  38610. set_type(from.type());
  38611. }
  38612. if (from.has_index()) {
  38613. set_index(from.index());
  38614. }
  38615. }
  38616. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  38617. }
  38618. void packetw2c_smashing_eggs_result::CopyFrom(const ::google::protobuf::Message& from) {
  38619. if (&from == this) return;
  38620. Clear();
  38621. MergeFrom(from);
  38622. }
  38623. void packetw2c_smashing_eggs_result::CopyFrom(const packetw2c_smashing_eggs_result& from) {
  38624. if (&from == this) return;
  38625. Clear();
  38626. MergeFrom(from);
  38627. }
  38628. bool packetw2c_smashing_eggs_result::IsInitialized() const {
  38629. return true;
  38630. }
  38631. void packetw2c_smashing_eggs_result::Swap(packetw2c_smashing_eggs_result* other) {
  38632. if (other != this) {
  38633. std::swap(packet_id_, other->packet_id_);
  38634. std::swap(result_, other->result_);
  38635. std::swap(type_, other->type_);
  38636. std::swap(index_, other->index_);
  38637. std::swap(_has_bits_[0], other->_has_bits_[0]);
  38638. _unknown_fields_.Swap(&other->_unknown_fields_);
  38639. std::swap(_cached_size_, other->_cached_size_);
  38640. }
  38641. }
  38642. ::google::protobuf::Metadata packetw2c_smashing_eggs_result::GetMetadata() const {
  38643. protobuf_AssignDescriptorsOnce();
  38644. ::google::protobuf::Metadata metadata;
  38645. metadata.descriptor = packetw2c_smashing_eggs_result_descriptor_;
  38646. metadata.reflection = packetw2c_smashing_eggs_result_reflection_;
  38647. return metadata;
  38648. }
  38649. // ===================================================================
  38650. #ifndef _MSC_VER
  38651. const int packetc2w_get_smashing_eggs_rank::kPacketIdFieldNumber;
  38652. #endif // !_MSC_VER
  38653. packetc2w_get_smashing_eggs_rank::packetc2w_get_smashing_eggs_rank()
  38654. : ::google::protobuf::Message() {
  38655. SharedCtor();
  38656. }
  38657. void packetc2w_get_smashing_eggs_rank::InitAsDefaultInstance() {
  38658. }
  38659. packetc2w_get_smashing_eggs_rank::packetc2w_get_smashing_eggs_rank(const packetc2w_get_smashing_eggs_rank& from)
  38660. : ::google::protobuf::Message() {
  38661. SharedCtor();
  38662. MergeFrom(from);
  38663. }
  38664. void packetc2w_get_smashing_eggs_rank::SharedCtor() {
  38665. _cached_size_ = 0;
  38666. packet_id_ = 5201;
  38667. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38668. }
  38669. packetc2w_get_smashing_eggs_rank::~packetc2w_get_smashing_eggs_rank() {
  38670. SharedDtor();
  38671. }
  38672. void packetc2w_get_smashing_eggs_rank::SharedDtor() {
  38673. if (this != default_instance_) {
  38674. }
  38675. }
  38676. void packetc2w_get_smashing_eggs_rank::SetCachedSize(int size) const {
  38677. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  38678. _cached_size_ = size;
  38679. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  38680. }
  38681. const ::google::protobuf::Descriptor* packetc2w_get_smashing_eggs_rank::descriptor() {
  38682. protobuf_AssignDescriptorsOnce();
  38683. return packetc2w_get_smashing_eggs_rank_descriptor_;
  38684. }
  38685. const packetc2w_get_smashing_eggs_rank& packetc2w_get_smashing_eggs_rank::default_instance() {
  38686. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  38687. return *default_instance_;
  38688. }
  38689. packetc2w_get_smashing_eggs_rank* packetc2w_get_smashing_eggs_rank::default_instance_ = NULL;
  38690. packetc2w_get_smashing_eggs_rank* packetc2w_get_smashing_eggs_rank::New() const {
  38691. return new packetc2w_get_smashing_eggs_rank;
  38692. }
  38693. void packetc2w_get_smashing_eggs_rank::Clear() {
  38694. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38695. packet_id_ = 5201;
  38696. }
  38697. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38698. mutable_unknown_fields()->Clear();
  38699. }
  38700. bool packetc2w_get_smashing_eggs_rank::MergePartialFromCodedStream(
  38701. ::google::protobuf::io::CodedInputStream* input) {
  38702. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  38703. ::google::protobuf::uint32 tag;
  38704. while ((tag = input->ReadTag()) != 0) {
  38705. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  38706. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank];
  38707. case 1: {
  38708. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38709. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38710. int value;
  38711. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38712. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  38713. input, &value)));
  38714. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  38715. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  38716. } else {
  38717. mutable_unknown_fields()->AddVarint(1, value);
  38718. }
  38719. } else {
  38720. goto handle_uninterpreted;
  38721. }
  38722. if (input->ExpectAtEnd()) return true;
  38723. break;
  38724. }
  38725. default: {
  38726. handle_uninterpreted:
  38727. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38728. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  38729. return true;
  38730. }
  38731. DO_(::google::protobuf::internal::WireFormat::SkipField(
  38732. input, tag, mutable_unknown_fields()));
  38733. break;
  38734. }
  38735. }
  38736. }
  38737. return true;
  38738. #undef DO_
  38739. }
  38740. void packetc2w_get_smashing_eggs_rank::SerializeWithCachedSizes(
  38741. ::google::protobuf::io::CodedOutputStream* output) const {
  38742. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank];
  38743. if (has_packet_id()) {
  38744. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  38745. 1, this->packet_id(), output);
  38746. }
  38747. if (!unknown_fields().empty()) {
  38748. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  38749. unknown_fields(), output);
  38750. }
  38751. }
  38752. ::google::protobuf::uint8* packetc2w_get_smashing_eggs_rank::SerializeWithCachedSizesToArray(
  38753. ::google::protobuf::uint8* target) const {
  38754. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank];
  38755. if (has_packet_id()) {
  38756. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  38757. 1, this->packet_id(), target);
  38758. }
  38759. if (!unknown_fields().empty()) {
  38760. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  38761. unknown_fields(), target);
  38762. }
  38763. return target;
  38764. }
  38765. int packetc2w_get_smashing_eggs_rank::ByteSize() const {
  38766. int total_size = 0;
  38767. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38768. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank];
  38769. if (has_packet_id()) {
  38770. total_size += 1 +
  38771. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  38772. }
  38773. }
  38774. if (!unknown_fields().empty()) {
  38775. total_size +=
  38776. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  38777. unknown_fields());
  38778. }
  38779. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  38780. _cached_size_ = total_size;
  38781. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  38782. return total_size;
  38783. }
  38784. void packetc2w_get_smashing_eggs_rank::MergeFrom(const ::google::protobuf::Message& from) {
  38785. GOOGLE_CHECK_NE(&from, this);
  38786. const packetc2w_get_smashing_eggs_rank* source =
  38787. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_smashing_eggs_rank*>(
  38788. &from);
  38789. if (source == NULL) {
  38790. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  38791. } else {
  38792. MergeFrom(*source);
  38793. }
  38794. }
  38795. void packetc2w_get_smashing_eggs_rank::MergeFrom(const packetc2w_get_smashing_eggs_rank& from) {
  38796. GOOGLE_CHECK_NE(&from, this);
  38797. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38798. if (from.has_packet_id()) {
  38799. set_packet_id(from.packet_id());
  38800. }
  38801. }
  38802. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  38803. }
  38804. void packetc2w_get_smashing_eggs_rank::CopyFrom(const ::google::protobuf::Message& from) {
  38805. if (&from == this) return;
  38806. Clear();
  38807. MergeFrom(from);
  38808. }
  38809. void packetc2w_get_smashing_eggs_rank::CopyFrom(const packetc2w_get_smashing_eggs_rank& from) {
  38810. if (&from == this) return;
  38811. Clear();
  38812. MergeFrom(from);
  38813. }
  38814. bool packetc2w_get_smashing_eggs_rank::IsInitialized() const {
  38815. return true;
  38816. }
  38817. void packetc2w_get_smashing_eggs_rank::Swap(packetc2w_get_smashing_eggs_rank* other) {
  38818. if (other != this) {
  38819. std::swap(packet_id_, other->packet_id_);
  38820. std::swap(_has_bits_[0], other->_has_bits_[0]);
  38821. _unknown_fields_.Swap(&other->_unknown_fields_);
  38822. std::swap(_cached_size_, other->_cached_size_);
  38823. }
  38824. }
  38825. ::google::protobuf::Metadata packetc2w_get_smashing_eggs_rank::GetMetadata() const {
  38826. protobuf_AssignDescriptorsOnce();
  38827. ::google::protobuf::Metadata metadata;
  38828. metadata.descriptor = packetc2w_get_smashing_eggs_rank_descriptor_;
  38829. metadata.reflection = packetc2w_get_smashing_eggs_rank_reflection_;
  38830. return metadata;
  38831. }
  38832. // ===================================================================
  38833. #ifndef _MSC_VER
  38834. const int packetw2c_get_smashing_eggs_rank_result::kPacketIdFieldNumber;
  38835. const int packetw2c_get_smashing_eggs_rank_result::kRankListFieldNumber;
  38836. const int packetw2c_get_smashing_eggs_rank_result::kMypointFieldNumber;
  38837. #endif // !_MSC_VER
  38838. packetw2c_get_smashing_eggs_rank_result::packetw2c_get_smashing_eggs_rank_result()
  38839. : ::google::protobuf::Message() {
  38840. SharedCtor();
  38841. }
  38842. void packetw2c_get_smashing_eggs_rank_result::InitAsDefaultInstance() {
  38843. }
  38844. packetw2c_get_smashing_eggs_rank_result::packetw2c_get_smashing_eggs_rank_result(const packetw2c_get_smashing_eggs_rank_result& from)
  38845. : ::google::protobuf::Message() {
  38846. SharedCtor();
  38847. MergeFrom(from);
  38848. }
  38849. void packetw2c_get_smashing_eggs_rank_result::SharedCtor() {
  38850. _cached_size_ = 0;
  38851. packet_id_ = 7732;
  38852. mypoint_ = 0;
  38853. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38854. }
  38855. packetw2c_get_smashing_eggs_rank_result::~packetw2c_get_smashing_eggs_rank_result() {
  38856. SharedDtor();
  38857. }
  38858. void packetw2c_get_smashing_eggs_rank_result::SharedDtor() {
  38859. if (this != default_instance_) {
  38860. }
  38861. }
  38862. void packetw2c_get_smashing_eggs_rank_result::SetCachedSize(int size) const {
  38863. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  38864. _cached_size_ = size;
  38865. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  38866. }
  38867. const ::google::protobuf::Descriptor* packetw2c_get_smashing_eggs_rank_result::descriptor() {
  38868. protobuf_AssignDescriptorsOnce();
  38869. return packetw2c_get_smashing_eggs_rank_result_descriptor_;
  38870. }
  38871. const packetw2c_get_smashing_eggs_rank_result& packetw2c_get_smashing_eggs_rank_result::default_instance() {
  38872. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  38873. return *default_instance_;
  38874. }
  38875. packetw2c_get_smashing_eggs_rank_result* packetw2c_get_smashing_eggs_rank_result::default_instance_ = NULL;
  38876. packetw2c_get_smashing_eggs_rank_result* packetw2c_get_smashing_eggs_rank_result::New() const {
  38877. return new packetw2c_get_smashing_eggs_rank_result;
  38878. }
  38879. void packetw2c_get_smashing_eggs_rank_result::Clear() {
  38880. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  38881. packet_id_ = 7732;
  38882. mypoint_ = 0;
  38883. }
  38884. ranklist_.Clear();
  38885. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  38886. mutable_unknown_fields()->Clear();
  38887. }
  38888. bool packetw2c_get_smashing_eggs_rank_result::MergePartialFromCodedStream(
  38889. ::google::protobuf::io::CodedInputStream* input) {
  38890. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  38891. ::google::protobuf::uint32 tag;
  38892. while ((tag = input->ReadTag()) != 0) {
  38893. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  38894. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result];
  38895. case 1: {
  38896. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38897. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38898. int value;
  38899. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38900. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  38901. input, &value)));
  38902. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  38903. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  38904. } else {
  38905. mutable_unknown_fields()->AddVarint(1, value);
  38906. }
  38907. } else {
  38908. goto handle_uninterpreted;
  38909. }
  38910. if (input->ExpectTag(18)) goto parse_rankList;
  38911. break;
  38912. }
  38913. // repeated .client2world_protocols.activity_rank rankList = 2;
  38914. case 2: {
  38915. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38916. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  38917. parse_rankList:
  38918. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  38919. input, add_ranklist()));
  38920. } else {
  38921. goto handle_uninterpreted;
  38922. }
  38923. if (input->ExpectTag(18)) goto parse_rankList;
  38924. if (input->ExpectTag(24)) goto parse_mypoint;
  38925. break;
  38926. }
  38927. // optional int32 mypoint = 3;
  38928. case 3: {
  38929. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38930. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  38931. parse_mypoint:
  38932. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  38933. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  38934. input, &mypoint_)));
  38935. set_has_mypoint();
  38936. } else {
  38937. goto handle_uninterpreted;
  38938. }
  38939. if (input->ExpectAtEnd()) return true;
  38940. break;
  38941. }
  38942. default: {
  38943. handle_uninterpreted:
  38944. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  38945. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  38946. return true;
  38947. }
  38948. DO_(::google::protobuf::internal::WireFormat::SkipField(
  38949. input, tag, mutable_unknown_fields()));
  38950. break;
  38951. }
  38952. }
  38953. }
  38954. return true;
  38955. #undef DO_
  38956. }
  38957. void packetw2c_get_smashing_eggs_rank_result::SerializeWithCachedSizes(
  38958. ::google::protobuf::io::CodedOutputStream* output) const {
  38959. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result];
  38960. if (has_packet_id()) {
  38961. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  38962. 1, this->packet_id(), output);
  38963. }
  38964. // repeated .client2world_protocols.activity_rank rankList = 2;
  38965. for (int i = 0; i < this->ranklist_size(); i++) {
  38966. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  38967. 2, this->ranklist(i), output);
  38968. }
  38969. // optional int32 mypoint = 3;
  38970. if (has_mypoint()) {
  38971. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mypoint(), output);
  38972. }
  38973. if (!unknown_fields().empty()) {
  38974. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  38975. unknown_fields(), output);
  38976. }
  38977. }
  38978. ::google::protobuf::uint8* packetw2c_get_smashing_eggs_rank_result::SerializeWithCachedSizesToArray(
  38979. ::google::protobuf::uint8* target) const {
  38980. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result];
  38981. if (has_packet_id()) {
  38982. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  38983. 1, this->packet_id(), target);
  38984. }
  38985. // repeated .client2world_protocols.activity_rank rankList = 2;
  38986. for (int i = 0; i < this->ranklist_size(); i++) {
  38987. target = ::google::protobuf::internal::WireFormatLite::
  38988. WriteMessageNoVirtualToArray(
  38989. 2, this->ranklist(i), target);
  38990. }
  38991. // optional int32 mypoint = 3;
  38992. if (has_mypoint()) {
  38993. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mypoint(), target);
  38994. }
  38995. if (!unknown_fields().empty()) {
  38996. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  38997. unknown_fields(), target);
  38998. }
  38999. return target;
  39000. }
  39001. int packetw2c_get_smashing_eggs_rank_result::ByteSize() const {
  39002. int total_size = 0;
  39003. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39004. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result];
  39005. if (has_packet_id()) {
  39006. total_size += 1 +
  39007. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  39008. }
  39009. // optional int32 mypoint = 3;
  39010. if (has_mypoint()) {
  39011. total_size += 1 +
  39012. ::google::protobuf::internal::WireFormatLite::Int32Size(
  39013. this->mypoint());
  39014. }
  39015. }
  39016. // repeated .client2world_protocols.activity_rank rankList = 2;
  39017. total_size += 1 * this->ranklist_size();
  39018. for (int i = 0; i < this->ranklist_size(); i++) {
  39019. total_size +=
  39020. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  39021. this->ranklist(i));
  39022. }
  39023. if (!unknown_fields().empty()) {
  39024. total_size +=
  39025. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  39026. unknown_fields());
  39027. }
  39028. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  39029. _cached_size_ = total_size;
  39030. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  39031. return total_size;
  39032. }
  39033. void packetw2c_get_smashing_eggs_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  39034. GOOGLE_CHECK_NE(&from, this);
  39035. const packetw2c_get_smashing_eggs_rank_result* source =
  39036. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_smashing_eggs_rank_result*>(
  39037. &from);
  39038. if (source == NULL) {
  39039. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  39040. } else {
  39041. MergeFrom(*source);
  39042. }
  39043. }
  39044. void packetw2c_get_smashing_eggs_rank_result::MergeFrom(const packetw2c_get_smashing_eggs_rank_result& from) {
  39045. GOOGLE_CHECK_NE(&from, this);
  39046. ranklist_.MergeFrom(from.ranklist_);
  39047. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39048. if (from.has_packet_id()) {
  39049. set_packet_id(from.packet_id());
  39050. }
  39051. if (from.has_mypoint()) {
  39052. set_mypoint(from.mypoint());
  39053. }
  39054. }
  39055. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  39056. }
  39057. void packetw2c_get_smashing_eggs_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  39058. if (&from == this) return;
  39059. Clear();
  39060. MergeFrom(from);
  39061. }
  39062. void packetw2c_get_smashing_eggs_rank_result::CopyFrom(const packetw2c_get_smashing_eggs_rank_result& from) {
  39063. if (&from == this) return;
  39064. Clear();
  39065. MergeFrom(from);
  39066. }
  39067. bool packetw2c_get_smashing_eggs_rank_result::IsInitialized() const {
  39068. return true;
  39069. }
  39070. void packetw2c_get_smashing_eggs_rank_result::Swap(packetw2c_get_smashing_eggs_rank_result* other) {
  39071. if (other != this) {
  39072. std::swap(packet_id_, other->packet_id_);
  39073. ranklist_.Swap(&other->ranklist_);
  39074. std::swap(mypoint_, other->mypoint_);
  39075. std::swap(_has_bits_[0], other->_has_bits_[0]);
  39076. _unknown_fields_.Swap(&other->_unknown_fields_);
  39077. std::swap(_cached_size_, other->_cached_size_);
  39078. }
  39079. }
  39080. ::google::protobuf::Metadata packetw2c_get_smashing_eggs_rank_result::GetMetadata() const {
  39081. protobuf_AssignDescriptorsOnce();
  39082. ::google::protobuf::Metadata metadata;
  39083. metadata.descriptor = packetw2c_get_smashing_eggs_rank_result_descriptor_;
  39084. metadata.reflection = packetw2c_get_smashing_eggs_rank_result_reflection_;
  39085. return metadata;
  39086. }
  39087. // ===================================================================
  39088. #ifndef _MSC_VER
  39089. const int packetw2c_syn_rich_lottery_info::kPacketIdFieldNumber;
  39090. const int packetw2c_syn_rich_lottery_info::kActivityStateFieldNumber;
  39091. const int packetw2c_syn_rich_lottery_info::kStartTimeFieldNumber;
  39092. const int packetw2c_syn_rich_lottery_info::kEndTimeFieldNumber;
  39093. const int packetw2c_syn_rich_lottery_info::kMultFieldNumber;
  39094. #endif // !_MSC_VER
  39095. packetw2c_syn_rich_lottery_info::packetw2c_syn_rich_lottery_info()
  39096. : ::google::protobuf::Message() {
  39097. SharedCtor();
  39098. }
  39099. void packetw2c_syn_rich_lottery_info::InitAsDefaultInstance() {
  39100. }
  39101. packetw2c_syn_rich_lottery_info::packetw2c_syn_rich_lottery_info(const packetw2c_syn_rich_lottery_info& from)
  39102. : ::google::protobuf::Message() {
  39103. SharedCtor();
  39104. MergeFrom(from);
  39105. }
  39106. void packetw2c_syn_rich_lottery_info::SharedCtor() {
  39107. _cached_size_ = 0;
  39108. packet_id_ = 7733;
  39109. activitystate_ = 0;
  39110. starttime_ = 0;
  39111. endtime_ = 0;
  39112. mult_ = 0;
  39113. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  39114. }
  39115. packetw2c_syn_rich_lottery_info::~packetw2c_syn_rich_lottery_info() {
  39116. SharedDtor();
  39117. }
  39118. void packetw2c_syn_rich_lottery_info::SharedDtor() {
  39119. if (this != default_instance_) {
  39120. }
  39121. }
  39122. void packetw2c_syn_rich_lottery_info::SetCachedSize(int size) const {
  39123. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  39124. _cached_size_ = size;
  39125. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  39126. }
  39127. const ::google::protobuf::Descriptor* packetw2c_syn_rich_lottery_info::descriptor() {
  39128. protobuf_AssignDescriptorsOnce();
  39129. return packetw2c_syn_rich_lottery_info_descriptor_;
  39130. }
  39131. const packetw2c_syn_rich_lottery_info& packetw2c_syn_rich_lottery_info::default_instance() {
  39132. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  39133. return *default_instance_;
  39134. }
  39135. packetw2c_syn_rich_lottery_info* packetw2c_syn_rich_lottery_info::default_instance_ = NULL;
  39136. packetw2c_syn_rich_lottery_info* packetw2c_syn_rich_lottery_info::New() const {
  39137. return new packetw2c_syn_rich_lottery_info;
  39138. }
  39139. void packetw2c_syn_rich_lottery_info::Clear() {
  39140. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39141. packet_id_ = 7733;
  39142. activitystate_ = 0;
  39143. starttime_ = 0;
  39144. endtime_ = 0;
  39145. mult_ = 0;
  39146. }
  39147. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  39148. mutable_unknown_fields()->Clear();
  39149. }
  39150. bool packetw2c_syn_rich_lottery_info::MergePartialFromCodedStream(
  39151. ::google::protobuf::io::CodedInputStream* input) {
  39152. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  39153. ::google::protobuf::uint32 tag;
  39154. while ((tag = input->ReadTag()) != 0) {
  39155. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  39156. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_rich_lottery_info];
  39157. case 1: {
  39158. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39159. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39160. int value;
  39161. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39162. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  39163. input, &value)));
  39164. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  39165. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  39166. } else {
  39167. mutable_unknown_fields()->AddVarint(1, value);
  39168. }
  39169. } else {
  39170. goto handle_uninterpreted;
  39171. }
  39172. if (input->ExpectTag(16)) goto parse_activityState;
  39173. break;
  39174. }
  39175. // optional int32 activityState = 2;
  39176. case 2: {
  39177. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39178. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39179. parse_activityState:
  39180. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39181. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39182. input, &activitystate_)));
  39183. set_has_activitystate();
  39184. } else {
  39185. goto handle_uninterpreted;
  39186. }
  39187. if (input->ExpectTag(24)) goto parse_startTime;
  39188. break;
  39189. }
  39190. // optional int32 startTime = 3;
  39191. case 3: {
  39192. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39193. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39194. parse_startTime:
  39195. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39196. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39197. input, &starttime_)));
  39198. set_has_starttime();
  39199. } else {
  39200. goto handle_uninterpreted;
  39201. }
  39202. if (input->ExpectTag(32)) goto parse_endTime;
  39203. break;
  39204. }
  39205. // optional int32 endTime = 4;
  39206. case 4: {
  39207. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39208. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39209. parse_endTime:
  39210. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39211. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39212. input, &endtime_)));
  39213. set_has_endtime();
  39214. } else {
  39215. goto handle_uninterpreted;
  39216. }
  39217. if (input->ExpectTag(40)) goto parse_mult;
  39218. break;
  39219. }
  39220. // optional int32 mult = 5;
  39221. case 5: {
  39222. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39223. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39224. parse_mult:
  39225. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39226. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39227. input, &mult_)));
  39228. set_has_mult();
  39229. } else {
  39230. goto handle_uninterpreted;
  39231. }
  39232. if (input->ExpectAtEnd()) return true;
  39233. break;
  39234. }
  39235. default: {
  39236. handle_uninterpreted:
  39237. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39238. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  39239. return true;
  39240. }
  39241. DO_(::google::protobuf::internal::WireFormat::SkipField(
  39242. input, tag, mutable_unknown_fields()));
  39243. break;
  39244. }
  39245. }
  39246. }
  39247. return true;
  39248. #undef DO_
  39249. }
  39250. void packetw2c_syn_rich_lottery_info::SerializeWithCachedSizes(
  39251. ::google::protobuf::io::CodedOutputStream* output) const {
  39252. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_rich_lottery_info];
  39253. if (has_packet_id()) {
  39254. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  39255. 1, this->packet_id(), output);
  39256. }
  39257. // optional int32 activityState = 2;
  39258. if (has_activitystate()) {
  39259. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  39260. }
  39261. // optional int32 startTime = 3;
  39262. if (has_starttime()) {
  39263. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  39264. }
  39265. // optional int32 endTime = 4;
  39266. if (has_endtime()) {
  39267. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  39268. }
  39269. // optional int32 mult = 5;
  39270. if (has_mult()) {
  39271. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->mult(), output);
  39272. }
  39273. if (!unknown_fields().empty()) {
  39274. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  39275. unknown_fields(), output);
  39276. }
  39277. }
  39278. ::google::protobuf::uint8* packetw2c_syn_rich_lottery_info::SerializeWithCachedSizesToArray(
  39279. ::google::protobuf::uint8* target) const {
  39280. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_rich_lottery_info];
  39281. if (has_packet_id()) {
  39282. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  39283. 1, this->packet_id(), target);
  39284. }
  39285. // optional int32 activityState = 2;
  39286. if (has_activitystate()) {
  39287. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  39288. }
  39289. // optional int32 startTime = 3;
  39290. if (has_starttime()) {
  39291. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  39292. }
  39293. // optional int32 endTime = 4;
  39294. if (has_endtime()) {
  39295. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  39296. }
  39297. // optional int32 mult = 5;
  39298. if (has_mult()) {
  39299. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->mult(), target);
  39300. }
  39301. if (!unknown_fields().empty()) {
  39302. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  39303. unknown_fields(), target);
  39304. }
  39305. return target;
  39306. }
  39307. int packetw2c_syn_rich_lottery_info::ByteSize() const {
  39308. int total_size = 0;
  39309. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39310. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_rich_lottery_info];
  39311. if (has_packet_id()) {
  39312. total_size += 1 +
  39313. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  39314. }
  39315. // optional int32 activityState = 2;
  39316. if (has_activitystate()) {
  39317. total_size += 1 +
  39318. ::google::protobuf::internal::WireFormatLite::Int32Size(
  39319. this->activitystate());
  39320. }
  39321. // optional int32 startTime = 3;
  39322. if (has_starttime()) {
  39323. total_size += 1 +
  39324. ::google::protobuf::internal::WireFormatLite::Int32Size(
  39325. this->starttime());
  39326. }
  39327. // optional int32 endTime = 4;
  39328. if (has_endtime()) {
  39329. total_size += 1 +
  39330. ::google::protobuf::internal::WireFormatLite::Int32Size(
  39331. this->endtime());
  39332. }
  39333. // optional int32 mult = 5;
  39334. if (has_mult()) {
  39335. total_size += 1 +
  39336. ::google::protobuf::internal::WireFormatLite::Int32Size(
  39337. this->mult());
  39338. }
  39339. }
  39340. if (!unknown_fields().empty()) {
  39341. total_size +=
  39342. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  39343. unknown_fields());
  39344. }
  39345. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  39346. _cached_size_ = total_size;
  39347. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  39348. return total_size;
  39349. }
  39350. void packetw2c_syn_rich_lottery_info::MergeFrom(const ::google::protobuf::Message& from) {
  39351. GOOGLE_CHECK_NE(&from, this);
  39352. const packetw2c_syn_rich_lottery_info* source =
  39353. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_rich_lottery_info*>(
  39354. &from);
  39355. if (source == NULL) {
  39356. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  39357. } else {
  39358. MergeFrom(*source);
  39359. }
  39360. }
  39361. void packetw2c_syn_rich_lottery_info::MergeFrom(const packetw2c_syn_rich_lottery_info& from) {
  39362. GOOGLE_CHECK_NE(&from, this);
  39363. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39364. if (from.has_packet_id()) {
  39365. set_packet_id(from.packet_id());
  39366. }
  39367. if (from.has_activitystate()) {
  39368. set_activitystate(from.activitystate());
  39369. }
  39370. if (from.has_starttime()) {
  39371. set_starttime(from.starttime());
  39372. }
  39373. if (from.has_endtime()) {
  39374. set_endtime(from.endtime());
  39375. }
  39376. if (from.has_mult()) {
  39377. set_mult(from.mult());
  39378. }
  39379. }
  39380. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  39381. }
  39382. void packetw2c_syn_rich_lottery_info::CopyFrom(const ::google::protobuf::Message& from) {
  39383. if (&from == this) return;
  39384. Clear();
  39385. MergeFrom(from);
  39386. }
  39387. void packetw2c_syn_rich_lottery_info::CopyFrom(const packetw2c_syn_rich_lottery_info& from) {
  39388. if (&from == this) return;
  39389. Clear();
  39390. MergeFrom(from);
  39391. }
  39392. bool packetw2c_syn_rich_lottery_info::IsInitialized() const {
  39393. return true;
  39394. }
  39395. void packetw2c_syn_rich_lottery_info::Swap(packetw2c_syn_rich_lottery_info* other) {
  39396. if (other != this) {
  39397. std::swap(packet_id_, other->packet_id_);
  39398. std::swap(activitystate_, other->activitystate_);
  39399. std::swap(starttime_, other->starttime_);
  39400. std::swap(endtime_, other->endtime_);
  39401. std::swap(mult_, other->mult_);
  39402. std::swap(_has_bits_[0], other->_has_bits_[0]);
  39403. _unknown_fields_.Swap(&other->_unknown_fields_);
  39404. std::swap(_cached_size_, other->_cached_size_);
  39405. }
  39406. }
  39407. ::google::protobuf::Metadata packetw2c_syn_rich_lottery_info::GetMetadata() const {
  39408. protobuf_AssignDescriptorsOnce();
  39409. ::google::protobuf::Metadata metadata;
  39410. metadata.descriptor = packetw2c_syn_rich_lottery_info_descriptor_;
  39411. metadata.reflection = packetw2c_syn_rich_lottery_info_reflection_;
  39412. return metadata;
  39413. }
  39414. // ===================================================================
  39415. #ifndef _MSC_VER
  39416. const int packetc2w_rich_lottery::kPacketIdFieldNumber;
  39417. #endif // !_MSC_VER
  39418. packetc2w_rich_lottery::packetc2w_rich_lottery()
  39419. : ::google::protobuf::Message() {
  39420. SharedCtor();
  39421. }
  39422. void packetc2w_rich_lottery::InitAsDefaultInstance() {
  39423. }
  39424. packetc2w_rich_lottery::packetc2w_rich_lottery(const packetc2w_rich_lottery& from)
  39425. : ::google::protobuf::Message() {
  39426. SharedCtor();
  39427. MergeFrom(from);
  39428. }
  39429. void packetc2w_rich_lottery::SharedCtor() {
  39430. _cached_size_ = 0;
  39431. packet_id_ = 5203;
  39432. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  39433. }
  39434. packetc2w_rich_lottery::~packetc2w_rich_lottery() {
  39435. SharedDtor();
  39436. }
  39437. void packetc2w_rich_lottery::SharedDtor() {
  39438. if (this != default_instance_) {
  39439. }
  39440. }
  39441. void packetc2w_rich_lottery::SetCachedSize(int size) const {
  39442. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  39443. _cached_size_ = size;
  39444. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  39445. }
  39446. const ::google::protobuf::Descriptor* packetc2w_rich_lottery::descriptor() {
  39447. protobuf_AssignDescriptorsOnce();
  39448. return packetc2w_rich_lottery_descriptor_;
  39449. }
  39450. const packetc2w_rich_lottery& packetc2w_rich_lottery::default_instance() {
  39451. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  39452. return *default_instance_;
  39453. }
  39454. packetc2w_rich_lottery* packetc2w_rich_lottery::default_instance_ = NULL;
  39455. packetc2w_rich_lottery* packetc2w_rich_lottery::New() const {
  39456. return new packetc2w_rich_lottery;
  39457. }
  39458. void packetc2w_rich_lottery::Clear() {
  39459. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39460. packet_id_ = 5203;
  39461. }
  39462. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  39463. mutable_unknown_fields()->Clear();
  39464. }
  39465. bool packetc2w_rich_lottery::MergePartialFromCodedStream(
  39466. ::google::protobuf::io::CodedInputStream* input) {
  39467. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  39468. ::google::protobuf::uint32 tag;
  39469. while ((tag = input->ReadTag()) != 0) {
  39470. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  39471. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_rich_lottery];
  39472. case 1: {
  39473. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39474. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39475. int value;
  39476. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39477. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  39478. input, &value)));
  39479. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  39480. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  39481. } else {
  39482. mutable_unknown_fields()->AddVarint(1, value);
  39483. }
  39484. } else {
  39485. goto handle_uninterpreted;
  39486. }
  39487. if (input->ExpectAtEnd()) return true;
  39488. break;
  39489. }
  39490. default: {
  39491. handle_uninterpreted:
  39492. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39493. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  39494. return true;
  39495. }
  39496. DO_(::google::protobuf::internal::WireFormat::SkipField(
  39497. input, tag, mutable_unknown_fields()));
  39498. break;
  39499. }
  39500. }
  39501. }
  39502. return true;
  39503. #undef DO_
  39504. }
  39505. void packetc2w_rich_lottery::SerializeWithCachedSizes(
  39506. ::google::protobuf::io::CodedOutputStream* output) const {
  39507. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_rich_lottery];
  39508. if (has_packet_id()) {
  39509. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  39510. 1, this->packet_id(), output);
  39511. }
  39512. if (!unknown_fields().empty()) {
  39513. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  39514. unknown_fields(), output);
  39515. }
  39516. }
  39517. ::google::protobuf::uint8* packetc2w_rich_lottery::SerializeWithCachedSizesToArray(
  39518. ::google::protobuf::uint8* target) const {
  39519. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_rich_lottery];
  39520. if (has_packet_id()) {
  39521. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  39522. 1, this->packet_id(), target);
  39523. }
  39524. if (!unknown_fields().empty()) {
  39525. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  39526. unknown_fields(), target);
  39527. }
  39528. return target;
  39529. }
  39530. int packetc2w_rich_lottery::ByteSize() const {
  39531. int total_size = 0;
  39532. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39533. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_rich_lottery];
  39534. if (has_packet_id()) {
  39535. total_size += 1 +
  39536. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  39537. }
  39538. }
  39539. if (!unknown_fields().empty()) {
  39540. total_size +=
  39541. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  39542. unknown_fields());
  39543. }
  39544. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  39545. _cached_size_ = total_size;
  39546. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  39547. return total_size;
  39548. }
  39549. void packetc2w_rich_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  39550. GOOGLE_CHECK_NE(&from, this);
  39551. const packetc2w_rich_lottery* source =
  39552. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_rich_lottery*>(
  39553. &from);
  39554. if (source == NULL) {
  39555. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  39556. } else {
  39557. MergeFrom(*source);
  39558. }
  39559. }
  39560. void packetc2w_rich_lottery::MergeFrom(const packetc2w_rich_lottery& from) {
  39561. GOOGLE_CHECK_NE(&from, this);
  39562. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39563. if (from.has_packet_id()) {
  39564. set_packet_id(from.packet_id());
  39565. }
  39566. }
  39567. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  39568. }
  39569. void packetc2w_rich_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  39570. if (&from == this) return;
  39571. Clear();
  39572. MergeFrom(from);
  39573. }
  39574. void packetc2w_rich_lottery::CopyFrom(const packetc2w_rich_lottery& from) {
  39575. if (&from == this) return;
  39576. Clear();
  39577. MergeFrom(from);
  39578. }
  39579. bool packetc2w_rich_lottery::IsInitialized() const {
  39580. return true;
  39581. }
  39582. void packetc2w_rich_lottery::Swap(packetc2w_rich_lottery* other) {
  39583. if (other != this) {
  39584. std::swap(packet_id_, other->packet_id_);
  39585. std::swap(_has_bits_[0], other->_has_bits_[0]);
  39586. _unknown_fields_.Swap(&other->_unknown_fields_);
  39587. std::swap(_cached_size_, other->_cached_size_);
  39588. }
  39589. }
  39590. ::google::protobuf::Metadata packetc2w_rich_lottery::GetMetadata() const {
  39591. protobuf_AssignDescriptorsOnce();
  39592. ::google::protobuf::Metadata metadata;
  39593. metadata.descriptor = packetc2w_rich_lottery_descriptor_;
  39594. metadata.reflection = packetc2w_rich_lottery_reflection_;
  39595. return metadata;
  39596. }
  39597. // ===================================================================
  39598. #ifndef _MSC_VER
  39599. const int packetw2c_rich_lottery_result::kPacketIdFieldNumber;
  39600. const int packetw2c_rich_lottery_result::kResultFieldNumber;
  39601. const int packetw2c_rich_lottery_result::kMultFieldNumber;
  39602. #endif // !_MSC_VER
  39603. packetw2c_rich_lottery_result::packetw2c_rich_lottery_result()
  39604. : ::google::protobuf::Message() {
  39605. SharedCtor();
  39606. }
  39607. void packetw2c_rich_lottery_result::InitAsDefaultInstance() {
  39608. }
  39609. packetw2c_rich_lottery_result::packetw2c_rich_lottery_result(const packetw2c_rich_lottery_result& from)
  39610. : ::google::protobuf::Message() {
  39611. SharedCtor();
  39612. MergeFrom(from);
  39613. }
  39614. void packetw2c_rich_lottery_result::SharedCtor() {
  39615. _cached_size_ = 0;
  39616. packet_id_ = 7734;
  39617. result_ = 0;
  39618. mult_ = 0;
  39619. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  39620. }
  39621. packetw2c_rich_lottery_result::~packetw2c_rich_lottery_result() {
  39622. SharedDtor();
  39623. }
  39624. void packetw2c_rich_lottery_result::SharedDtor() {
  39625. if (this != default_instance_) {
  39626. }
  39627. }
  39628. void packetw2c_rich_lottery_result::SetCachedSize(int size) const {
  39629. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  39630. _cached_size_ = size;
  39631. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  39632. }
  39633. const ::google::protobuf::Descriptor* packetw2c_rich_lottery_result::descriptor() {
  39634. protobuf_AssignDescriptorsOnce();
  39635. return packetw2c_rich_lottery_result_descriptor_;
  39636. }
  39637. const packetw2c_rich_lottery_result& packetw2c_rich_lottery_result::default_instance() {
  39638. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  39639. return *default_instance_;
  39640. }
  39641. packetw2c_rich_lottery_result* packetw2c_rich_lottery_result::default_instance_ = NULL;
  39642. packetw2c_rich_lottery_result* packetw2c_rich_lottery_result::New() const {
  39643. return new packetw2c_rich_lottery_result;
  39644. }
  39645. void packetw2c_rich_lottery_result::Clear() {
  39646. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39647. packet_id_ = 7734;
  39648. result_ = 0;
  39649. mult_ = 0;
  39650. }
  39651. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  39652. mutable_unknown_fields()->Clear();
  39653. }
  39654. bool packetw2c_rich_lottery_result::MergePartialFromCodedStream(
  39655. ::google::protobuf::io::CodedInputStream* input) {
  39656. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  39657. ::google::protobuf::uint32 tag;
  39658. while ((tag = input->ReadTag()) != 0) {
  39659. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  39660. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_rich_lottery_result];
  39661. case 1: {
  39662. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39663. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39664. int value;
  39665. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39666. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  39667. input, &value)));
  39668. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  39669. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  39670. } else {
  39671. mutable_unknown_fields()->AddVarint(1, value);
  39672. }
  39673. } else {
  39674. goto handle_uninterpreted;
  39675. }
  39676. if (input->ExpectTag(16)) goto parse_result;
  39677. break;
  39678. }
  39679. // optional int32 result = 2;
  39680. case 2: {
  39681. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39682. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39683. parse_result:
  39684. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39685. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39686. input, &result_)));
  39687. set_has_result();
  39688. } else {
  39689. goto handle_uninterpreted;
  39690. }
  39691. if (input->ExpectTag(24)) goto parse_mult;
  39692. break;
  39693. }
  39694. // optional int32 mult = 3;
  39695. case 3: {
  39696. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39697. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39698. parse_mult:
  39699. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39700. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39701. input, &mult_)));
  39702. set_has_mult();
  39703. } else {
  39704. goto handle_uninterpreted;
  39705. }
  39706. if (input->ExpectAtEnd()) return true;
  39707. break;
  39708. }
  39709. default: {
  39710. handle_uninterpreted:
  39711. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39712. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  39713. return true;
  39714. }
  39715. DO_(::google::protobuf::internal::WireFormat::SkipField(
  39716. input, tag, mutable_unknown_fields()));
  39717. break;
  39718. }
  39719. }
  39720. }
  39721. return true;
  39722. #undef DO_
  39723. }
  39724. void packetw2c_rich_lottery_result::SerializeWithCachedSizes(
  39725. ::google::protobuf::io::CodedOutputStream* output) const {
  39726. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_rich_lottery_result];
  39727. if (has_packet_id()) {
  39728. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  39729. 1, this->packet_id(), output);
  39730. }
  39731. // optional int32 result = 2;
  39732. if (has_result()) {
  39733. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  39734. }
  39735. // optional int32 mult = 3;
  39736. if (has_mult()) {
  39737. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mult(), output);
  39738. }
  39739. if (!unknown_fields().empty()) {
  39740. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  39741. unknown_fields(), output);
  39742. }
  39743. }
  39744. ::google::protobuf::uint8* packetw2c_rich_lottery_result::SerializeWithCachedSizesToArray(
  39745. ::google::protobuf::uint8* target) const {
  39746. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_rich_lottery_result];
  39747. if (has_packet_id()) {
  39748. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  39749. 1, this->packet_id(), target);
  39750. }
  39751. // optional int32 result = 2;
  39752. if (has_result()) {
  39753. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  39754. }
  39755. // optional int32 mult = 3;
  39756. if (has_mult()) {
  39757. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mult(), target);
  39758. }
  39759. if (!unknown_fields().empty()) {
  39760. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  39761. unknown_fields(), target);
  39762. }
  39763. return target;
  39764. }
  39765. int packetw2c_rich_lottery_result::ByteSize() const {
  39766. int total_size = 0;
  39767. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39768. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_rich_lottery_result];
  39769. if (has_packet_id()) {
  39770. total_size += 1 +
  39771. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  39772. }
  39773. // optional int32 result = 2;
  39774. if (has_result()) {
  39775. total_size += 1 +
  39776. ::google::protobuf::internal::WireFormatLite::Int32Size(
  39777. this->result());
  39778. }
  39779. // optional int32 mult = 3;
  39780. if (has_mult()) {
  39781. total_size += 1 +
  39782. ::google::protobuf::internal::WireFormatLite::Int32Size(
  39783. this->mult());
  39784. }
  39785. }
  39786. if (!unknown_fields().empty()) {
  39787. total_size +=
  39788. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  39789. unknown_fields());
  39790. }
  39791. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  39792. _cached_size_ = total_size;
  39793. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  39794. return total_size;
  39795. }
  39796. void packetw2c_rich_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  39797. GOOGLE_CHECK_NE(&from, this);
  39798. const packetw2c_rich_lottery_result* source =
  39799. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_rich_lottery_result*>(
  39800. &from);
  39801. if (source == NULL) {
  39802. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  39803. } else {
  39804. MergeFrom(*source);
  39805. }
  39806. }
  39807. void packetw2c_rich_lottery_result::MergeFrom(const packetw2c_rich_lottery_result& from) {
  39808. GOOGLE_CHECK_NE(&from, this);
  39809. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39810. if (from.has_packet_id()) {
  39811. set_packet_id(from.packet_id());
  39812. }
  39813. if (from.has_result()) {
  39814. set_result(from.result());
  39815. }
  39816. if (from.has_mult()) {
  39817. set_mult(from.mult());
  39818. }
  39819. }
  39820. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  39821. }
  39822. void packetw2c_rich_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  39823. if (&from == this) return;
  39824. Clear();
  39825. MergeFrom(from);
  39826. }
  39827. void packetw2c_rich_lottery_result::CopyFrom(const packetw2c_rich_lottery_result& from) {
  39828. if (&from == this) return;
  39829. Clear();
  39830. MergeFrom(from);
  39831. }
  39832. bool packetw2c_rich_lottery_result::IsInitialized() const {
  39833. return true;
  39834. }
  39835. void packetw2c_rich_lottery_result::Swap(packetw2c_rich_lottery_result* other) {
  39836. if (other != this) {
  39837. std::swap(packet_id_, other->packet_id_);
  39838. std::swap(result_, other->result_);
  39839. std::swap(mult_, other->mult_);
  39840. std::swap(_has_bits_[0], other->_has_bits_[0]);
  39841. _unknown_fields_.Swap(&other->_unknown_fields_);
  39842. std::swap(_cached_size_, other->_cached_size_);
  39843. }
  39844. }
  39845. ::google::protobuf::Metadata packetw2c_rich_lottery_result::GetMetadata() const {
  39846. protobuf_AssignDescriptorsOnce();
  39847. ::google::protobuf::Metadata metadata;
  39848. metadata.descriptor = packetw2c_rich_lottery_result_descriptor_;
  39849. metadata.reflection = packetw2c_rich_lottery_result_reflection_;
  39850. return metadata;
  39851. }
  39852. // ===================================================================
  39853. #ifndef _MSC_VER
  39854. const int packetw2c_syn_summer_revels_info::kPacketIdFieldNumber;
  39855. const int packetw2c_syn_summer_revels_info::kActivityStateFieldNumber;
  39856. const int packetw2c_syn_summer_revels_info::kStartTimeFieldNumber;
  39857. const int packetw2c_syn_summer_revels_info::kEndTimeFieldNumber;
  39858. const int packetw2c_syn_summer_revels_info::kPointsFieldNumber;
  39859. const int packetw2c_syn_summer_revels_info::kTodayRechargedFieldNumber;
  39860. const int packetw2c_syn_summer_revels_info::kRankListFieldNumber;
  39861. const int packetw2c_syn_summer_revels_info::kReceiveCheckFieldNumber;
  39862. #endif // !_MSC_VER
  39863. packetw2c_syn_summer_revels_info::packetw2c_syn_summer_revels_info()
  39864. : ::google::protobuf::Message() {
  39865. SharedCtor();
  39866. }
  39867. void packetw2c_syn_summer_revels_info::InitAsDefaultInstance() {
  39868. }
  39869. packetw2c_syn_summer_revels_info::packetw2c_syn_summer_revels_info(const packetw2c_syn_summer_revels_info& from)
  39870. : ::google::protobuf::Message() {
  39871. SharedCtor();
  39872. MergeFrom(from);
  39873. }
  39874. void packetw2c_syn_summer_revels_info::SharedCtor() {
  39875. _cached_size_ = 0;
  39876. packet_id_ = 7735;
  39877. activitystate_ = 0;
  39878. starttime_ = 0;
  39879. endtime_ = 0;
  39880. points_ = 0;
  39881. todayrecharged_ = 0;
  39882. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  39883. }
  39884. packetw2c_syn_summer_revels_info::~packetw2c_syn_summer_revels_info() {
  39885. SharedDtor();
  39886. }
  39887. void packetw2c_syn_summer_revels_info::SharedDtor() {
  39888. if (this != default_instance_) {
  39889. }
  39890. }
  39891. void packetw2c_syn_summer_revels_info::SetCachedSize(int size) const {
  39892. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  39893. _cached_size_ = size;
  39894. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  39895. }
  39896. const ::google::protobuf::Descriptor* packetw2c_syn_summer_revels_info::descriptor() {
  39897. protobuf_AssignDescriptorsOnce();
  39898. return packetw2c_syn_summer_revels_info_descriptor_;
  39899. }
  39900. const packetw2c_syn_summer_revels_info& packetw2c_syn_summer_revels_info::default_instance() {
  39901. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  39902. return *default_instance_;
  39903. }
  39904. packetw2c_syn_summer_revels_info* packetw2c_syn_summer_revels_info::default_instance_ = NULL;
  39905. packetw2c_syn_summer_revels_info* packetw2c_syn_summer_revels_info::New() const {
  39906. return new packetw2c_syn_summer_revels_info;
  39907. }
  39908. void packetw2c_syn_summer_revels_info::Clear() {
  39909. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  39910. packet_id_ = 7735;
  39911. activitystate_ = 0;
  39912. starttime_ = 0;
  39913. endtime_ = 0;
  39914. points_ = 0;
  39915. todayrecharged_ = 0;
  39916. }
  39917. ranklist_.Clear();
  39918. receivecheck_.Clear();
  39919. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  39920. mutable_unknown_fields()->Clear();
  39921. }
  39922. bool packetw2c_syn_summer_revels_info::MergePartialFromCodedStream(
  39923. ::google::protobuf::io::CodedInputStream* input) {
  39924. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  39925. ::google::protobuf::uint32 tag;
  39926. while ((tag = input->ReadTag()) != 0) {
  39927. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  39928. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_revels_info];
  39929. case 1: {
  39930. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39931. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39932. int value;
  39933. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39934. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  39935. input, &value)));
  39936. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  39937. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  39938. } else {
  39939. mutable_unknown_fields()->AddVarint(1, value);
  39940. }
  39941. } else {
  39942. goto handle_uninterpreted;
  39943. }
  39944. if (input->ExpectTag(16)) goto parse_activityState;
  39945. break;
  39946. }
  39947. // optional int32 activityState = 2;
  39948. case 2: {
  39949. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39950. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39951. parse_activityState:
  39952. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39953. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39954. input, &activitystate_)));
  39955. set_has_activitystate();
  39956. } else {
  39957. goto handle_uninterpreted;
  39958. }
  39959. if (input->ExpectTag(24)) goto parse_startTime;
  39960. break;
  39961. }
  39962. // optional int32 startTime = 3;
  39963. case 3: {
  39964. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39965. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39966. parse_startTime:
  39967. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39968. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39969. input, &starttime_)));
  39970. set_has_starttime();
  39971. } else {
  39972. goto handle_uninterpreted;
  39973. }
  39974. if (input->ExpectTag(32)) goto parse_endTime;
  39975. break;
  39976. }
  39977. // optional int32 endTime = 4;
  39978. case 4: {
  39979. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39980. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39981. parse_endTime:
  39982. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39983. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39984. input, &endtime_)));
  39985. set_has_endtime();
  39986. } else {
  39987. goto handle_uninterpreted;
  39988. }
  39989. if (input->ExpectTag(40)) goto parse_points;
  39990. break;
  39991. }
  39992. // optional int32 points = 5;
  39993. case 5: {
  39994. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  39995. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  39996. parse_points:
  39997. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  39998. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  39999. input, &points_)));
  40000. set_has_points();
  40001. } else {
  40002. goto handle_uninterpreted;
  40003. }
  40004. if (input->ExpectTag(48)) goto parse_todayRecharged;
  40005. break;
  40006. }
  40007. // optional int32 todayRecharged = 6;
  40008. case 6: {
  40009. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40010. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  40011. parse_todayRecharged:
  40012. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  40013. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  40014. input, &todayrecharged_)));
  40015. set_has_todayrecharged();
  40016. } else {
  40017. goto handle_uninterpreted;
  40018. }
  40019. if (input->ExpectTag(58)) goto parse_rankList;
  40020. break;
  40021. }
  40022. // repeated .client2world_protocols.activity_rank rankList = 7;
  40023. case 7: {
  40024. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40025. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  40026. parse_rankList:
  40027. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  40028. input, add_ranklist()));
  40029. } else {
  40030. goto handle_uninterpreted;
  40031. }
  40032. if (input->ExpectTag(58)) goto parse_rankList;
  40033. if (input->ExpectTag(64)) goto parse_receiveCheck;
  40034. break;
  40035. }
  40036. // repeated bool receiveCheck = 8;
  40037. case 8: {
  40038. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40039. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  40040. parse_receiveCheck:
  40041. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  40042. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  40043. 1, 64, input, this->mutable_receivecheck())));
  40044. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  40045. == ::google::protobuf::internal::WireFormatLite::
  40046. WIRETYPE_LENGTH_DELIMITED) {
  40047. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  40048. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  40049. input, this->mutable_receivecheck())));
  40050. } else {
  40051. goto handle_uninterpreted;
  40052. }
  40053. if (input->ExpectTag(64)) goto parse_receiveCheck;
  40054. if (input->ExpectAtEnd()) return true;
  40055. break;
  40056. }
  40057. default: {
  40058. handle_uninterpreted:
  40059. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40060. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  40061. return true;
  40062. }
  40063. DO_(::google::protobuf::internal::WireFormat::SkipField(
  40064. input, tag, mutable_unknown_fields()));
  40065. break;
  40066. }
  40067. }
  40068. }
  40069. return true;
  40070. #undef DO_
  40071. }
  40072. void packetw2c_syn_summer_revels_info::SerializeWithCachedSizes(
  40073. ::google::protobuf::io::CodedOutputStream* output) const {
  40074. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_revels_info];
  40075. if (has_packet_id()) {
  40076. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  40077. 1, this->packet_id(), output);
  40078. }
  40079. // optional int32 activityState = 2;
  40080. if (has_activitystate()) {
  40081. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  40082. }
  40083. // optional int32 startTime = 3;
  40084. if (has_starttime()) {
  40085. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  40086. }
  40087. // optional int32 endTime = 4;
  40088. if (has_endtime()) {
  40089. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  40090. }
  40091. // optional int32 points = 5;
  40092. if (has_points()) {
  40093. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->points(), output);
  40094. }
  40095. // optional int32 todayRecharged = 6;
  40096. if (has_todayrecharged()) {
  40097. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->todayrecharged(), output);
  40098. }
  40099. // repeated .client2world_protocols.activity_rank rankList = 7;
  40100. for (int i = 0; i < this->ranklist_size(); i++) {
  40101. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  40102. 7, this->ranklist(i), output);
  40103. }
  40104. // repeated bool receiveCheck = 8;
  40105. for (int i = 0; i < this->receivecheck_size(); i++) {
  40106. ::google::protobuf::internal::WireFormatLite::WriteBool(
  40107. 8, this->receivecheck(i), output);
  40108. }
  40109. if (!unknown_fields().empty()) {
  40110. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  40111. unknown_fields(), output);
  40112. }
  40113. }
  40114. ::google::protobuf::uint8* packetw2c_syn_summer_revels_info::SerializeWithCachedSizesToArray(
  40115. ::google::protobuf::uint8* target) const {
  40116. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_revels_info];
  40117. if (has_packet_id()) {
  40118. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  40119. 1, this->packet_id(), target);
  40120. }
  40121. // optional int32 activityState = 2;
  40122. if (has_activitystate()) {
  40123. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  40124. }
  40125. // optional int32 startTime = 3;
  40126. if (has_starttime()) {
  40127. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  40128. }
  40129. // optional int32 endTime = 4;
  40130. if (has_endtime()) {
  40131. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  40132. }
  40133. // optional int32 points = 5;
  40134. if (has_points()) {
  40135. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->points(), target);
  40136. }
  40137. // optional int32 todayRecharged = 6;
  40138. if (has_todayrecharged()) {
  40139. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->todayrecharged(), target);
  40140. }
  40141. // repeated .client2world_protocols.activity_rank rankList = 7;
  40142. for (int i = 0; i < this->ranklist_size(); i++) {
  40143. target = ::google::protobuf::internal::WireFormatLite::
  40144. WriteMessageNoVirtualToArray(
  40145. 7, this->ranklist(i), target);
  40146. }
  40147. // repeated bool receiveCheck = 8;
  40148. for (int i = 0; i < this->receivecheck_size(); i++) {
  40149. target = ::google::protobuf::internal::WireFormatLite::
  40150. WriteBoolToArray(8, this->receivecheck(i), target);
  40151. }
  40152. if (!unknown_fields().empty()) {
  40153. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  40154. unknown_fields(), target);
  40155. }
  40156. return target;
  40157. }
  40158. int packetw2c_syn_summer_revels_info::ByteSize() const {
  40159. int total_size = 0;
  40160. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40161. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_revels_info];
  40162. if (has_packet_id()) {
  40163. total_size += 1 +
  40164. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  40165. }
  40166. // optional int32 activityState = 2;
  40167. if (has_activitystate()) {
  40168. total_size += 1 +
  40169. ::google::protobuf::internal::WireFormatLite::Int32Size(
  40170. this->activitystate());
  40171. }
  40172. // optional int32 startTime = 3;
  40173. if (has_starttime()) {
  40174. total_size += 1 +
  40175. ::google::protobuf::internal::WireFormatLite::Int32Size(
  40176. this->starttime());
  40177. }
  40178. // optional int32 endTime = 4;
  40179. if (has_endtime()) {
  40180. total_size += 1 +
  40181. ::google::protobuf::internal::WireFormatLite::Int32Size(
  40182. this->endtime());
  40183. }
  40184. // optional int32 points = 5;
  40185. if (has_points()) {
  40186. total_size += 1 +
  40187. ::google::protobuf::internal::WireFormatLite::Int32Size(
  40188. this->points());
  40189. }
  40190. // optional int32 todayRecharged = 6;
  40191. if (has_todayrecharged()) {
  40192. total_size += 1 +
  40193. ::google::protobuf::internal::WireFormatLite::Int32Size(
  40194. this->todayrecharged());
  40195. }
  40196. }
  40197. // repeated .client2world_protocols.activity_rank rankList = 7;
  40198. total_size += 1 * this->ranklist_size();
  40199. for (int i = 0; i < this->ranklist_size(); i++) {
  40200. total_size +=
  40201. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  40202. this->ranklist(i));
  40203. }
  40204. // repeated bool receiveCheck = 8;
  40205. {
  40206. int data_size = 0;
  40207. data_size = 1 * this->receivecheck_size();
  40208. total_size += 1 * this->receivecheck_size() + data_size;
  40209. }
  40210. if (!unknown_fields().empty()) {
  40211. total_size +=
  40212. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  40213. unknown_fields());
  40214. }
  40215. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  40216. _cached_size_ = total_size;
  40217. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  40218. return total_size;
  40219. }
  40220. void packetw2c_syn_summer_revels_info::MergeFrom(const ::google::protobuf::Message& from) {
  40221. GOOGLE_CHECK_NE(&from, this);
  40222. const packetw2c_syn_summer_revels_info* source =
  40223. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_summer_revels_info*>(
  40224. &from);
  40225. if (source == NULL) {
  40226. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  40227. } else {
  40228. MergeFrom(*source);
  40229. }
  40230. }
  40231. void packetw2c_syn_summer_revels_info::MergeFrom(const packetw2c_syn_summer_revels_info& from) {
  40232. GOOGLE_CHECK_NE(&from, this);
  40233. ranklist_.MergeFrom(from.ranklist_);
  40234. receivecheck_.MergeFrom(from.receivecheck_);
  40235. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40236. if (from.has_packet_id()) {
  40237. set_packet_id(from.packet_id());
  40238. }
  40239. if (from.has_activitystate()) {
  40240. set_activitystate(from.activitystate());
  40241. }
  40242. if (from.has_starttime()) {
  40243. set_starttime(from.starttime());
  40244. }
  40245. if (from.has_endtime()) {
  40246. set_endtime(from.endtime());
  40247. }
  40248. if (from.has_points()) {
  40249. set_points(from.points());
  40250. }
  40251. if (from.has_todayrecharged()) {
  40252. set_todayrecharged(from.todayrecharged());
  40253. }
  40254. }
  40255. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  40256. }
  40257. void packetw2c_syn_summer_revels_info::CopyFrom(const ::google::protobuf::Message& from) {
  40258. if (&from == this) return;
  40259. Clear();
  40260. MergeFrom(from);
  40261. }
  40262. void packetw2c_syn_summer_revels_info::CopyFrom(const packetw2c_syn_summer_revels_info& from) {
  40263. if (&from == this) return;
  40264. Clear();
  40265. MergeFrom(from);
  40266. }
  40267. bool packetw2c_syn_summer_revels_info::IsInitialized() const {
  40268. return true;
  40269. }
  40270. void packetw2c_syn_summer_revels_info::Swap(packetw2c_syn_summer_revels_info* other) {
  40271. if (other != this) {
  40272. std::swap(packet_id_, other->packet_id_);
  40273. std::swap(activitystate_, other->activitystate_);
  40274. std::swap(starttime_, other->starttime_);
  40275. std::swap(endtime_, other->endtime_);
  40276. std::swap(points_, other->points_);
  40277. std::swap(todayrecharged_, other->todayrecharged_);
  40278. ranklist_.Swap(&other->ranklist_);
  40279. receivecheck_.Swap(&other->receivecheck_);
  40280. std::swap(_has_bits_[0], other->_has_bits_[0]);
  40281. _unknown_fields_.Swap(&other->_unknown_fields_);
  40282. std::swap(_cached_size_, other->_cached_size_);
  40283. }
  40284. }
  40285. ::google::protobuf::Metadata packetw2c_syn_summer_revels_info::GetMetadata() const {
  40286. protobuf_AssignDescriptorsOnce();
  40287. ::google::protobuf::Metadata metadata;
  40288. metadata.descriptor = packetw2c_syn_summer_revels_info_descriptor_;
  40289. metadata.reflection = packetw2c_syn_summer_revels_info_reflection_;
  40290. return metadata;
  40291. }
  40292. // ===================================================================
  40293. #ifndef _MSC_VER
  40294. const int packetc2w_get_summer_revels_rank::kPacketIdFieldNumber;
  40295. #endif // !_MSC_VER
  40296. packetc2w_get_summer_revels_rank::packetc2w_get_summer_revels_rank()
  40297. : ::google::protobuf::Message() {
  40298. SharedCtor();
  40299. }
  40300. void packetc2w_get_summer_revels_rank::InitAsDefaultInstance() {
  40301. }
  40302. packetc2w_get_summer_revels_rank::packetc2w_get_summer_revels_rank(const packetc2w_get_summer_revels_rank& from)
  40303. : ::google::protobuf::Message() {
  40304. SharedCtor();
  40305. MergeFrom(from);
  40306. }
  40307. void packetc2w_get_summer_revels_rank::SharedCtor() {
  40308. _cached_size_ = 0;
  40309. packet_id_ = 5204;
  40310. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  40311. }
  40312. packetc2w_get_summer_revels_rank::~packetc2w_get_summer_revels_rank() {
  40313. SharedDtor();
  40314. }
  40315. void packetc2w_get_summer_revels_rank::SharedDtor() {
  40316. if (this != default_instance_) {
  40317. }
  40318. }
  40319. void packetc2w_get_summer_revels_rank::SetCachedSize(int size) const {
  40320. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  40321. _cached_size_ = size;
  40322. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  40323. }
  40324. const ::google::protobuf::Descriptor* packetc2w_get_summer_revels_rank::descriptor() {
  40325. protobuf_AssignDescriptorsOnce();
  40326. return packetc2w_get_summer_revels_rank_descriptor_;
  40327. }
  40328. const packetc2w_get_summer_revels_rank& packetc2w_get_summer_revels_rank::default_instance() {
  40329. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  40330. return *default_instance_;
  40331. }
  40332. packetc2w_get_summer_revels_rank* packetc2w_get_summer_revels_rank::default_instance_ = NULL;
  40333. packetc2w_get_summer_revels_rank* packetc2w_get_summer_revels_rank::New() const {
  40334. return new packetc2w_get_summer_revels_rank;
  40335. }
  40336. void packetc2w_get_summer_revels_rank::Clear() {
  40337. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40338. packet_id_ = 5204;
  40339. }
  40340. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  40341. mutable_unknown_fields()->Clear();
  40342. }
  40343. bool packetc2w_get_summer_revels_rank::MergePartialFromCodedStream(
  40344. ::google::protobuf::io::CodedInputStream* input) {
  40345. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  40346. ::google::protobuf::uint32 tag;
  40347. while ((tag = input->ReadTag()) != 0) {
  40348. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  40349. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
  40350. case 1: {
  40351. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40352. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  40353. int value;
  40354. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  40355. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  40356. input, &value)));
  40357. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  40358. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  40359. } else {
  40360. mutable_unknown_fields()->AddVarint(1, value);
  40361. }
  40362. } else {
  40363. goto handle_uninterpreted;
  40364. }
  40365. if (input->ExpectAtEnd()) return true;
  40366. break;
  40367. }
  40368. default: {
  40369. handle_uninterpreted:
  40370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  40372. return true;
  40373. }
  40374. DO_(::google::protobuf::internal::WireFormat::SkipField(
  40375. input, tag, mutable_unknown_fields()));
  40376. break;
  40377. }
  40378. }
  40379. }
  40380. return true;
  40381. #undef DO_
  40382. }
  40383. void packetc2w_get_summer_revels_rank::SerializeWithCachedSizes(
  40384. ::google::protobuf::io::CodedOutputStream* output) const {
  40385. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
  40386. if (has_packet_id()) {
  40387. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  40388. 1, this->packet_id(), output);
  40389. }
  40390. if (!unknown_fields().empty()) {
  40391. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  40392. unknown_fields(), output);
  40393. }
  40394. }
  40395. ::google::protobuf::uint8* packetc2w_get_summer_revels_rank::SerializeWithCachedSizesToArray(
  40396. ::google::protobuf::uint8* target) const {
  40397. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
  40398. if (has_packet_id()) {
  40399. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  40400. 1, this->packet_id(), target);
  40401. }
  40402. if (!unknown_fields().empty()) {
  40403. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  40404. unknown_fields(), target);
  40405. }
  40406. return target;
  40407. }
  40408. int packetc2w_get_summer_revels_rank::ByteSize() const {
  40409. int total_size = 0;
  40410. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40411. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
  40412. if (has_packet_id()) {
  40413. total_size += 1 +
  40414. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  40415. }
  40416. }
  40417. if (!unknown_fields().empty()) {
  40418. total_size +=
  40419. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  40420. unknown_fields());
  40421. }
  40422. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  40423. _cached_size_ = total_size;
  40424. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  40425. return total_size;
  40426. }
  40427. void packetc2w_get_summer_revels_rank::MergeFrom(const ::google::protobuf::Message& from) {
  40428. GOOGLE_CHECK_NE(&from, this);
  40429. const packetc2w_get_summer_revels_rank* source =
  40430. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_summer_revels_rank*>(
  40431. &from);
  40432. if (source == NULL) {
  40433. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  40434. } else {
  40435. MergeFrom(*source);
  40436. }
  40437. }
  40438. void packetc2w_get_summer_revels_rank::MergeFrom(const packetc2w_get_summer_revels_rank& from) {
  40439. GOOGLE_CHECK_NE(&from, this);
  40440. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40441. if (from.has_packet_id()) {
  40442. set_packet_id(from.packet_id());
  40443. }
  40444. }
  40445. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  40446. }
  40447. void packetc2w_get_summer_revels_rank::CopyFrom(const ::google::protobuf::Message& from) {
  40448. if (&from == this) return;
  40449. Clear();
  40450. MergeFrom(from);
  40451. }
  40452. void packetc2w_get_summer_revels_rank::CopyFrom(const packetc2w_get_summer_revels_rank& from) {
  40453. if (&from == this) return;
  40454. Clear();
  40455. MergeFrom(from);
  40456. }
  40457. bool packetc2w_get_summer_revels_rank::IsInitialized() const {
  40458. return true;
  40459. }
  40460. void packetc2w_get_summer_revels_rank::Swap(packetc2w_get_summer_revels_rank* other) {
  40461. if (other != this) {
  40462. std::swap(packet_id_, other->packet_id_);
  40463. std::swap(_has_bits_[0], other->_has_bits_[0]);
  40464. _unknown_fields_.Swap(&other->_unknown_fields_);
  40465. std::swap(_cached_size_, other->_cached_size_);
  40466. }
  40467. }
  40468. ::google::protobuf::Metadata packetc2w_get_summer_revels_rank::GetMetadata() const {
  40469. protobuf_AssignDescriptorsOnce();
  40470. ::google::protobuf::Metadata metadata;
  40471. metadata.descriptor = packetc2w_get_summer_revels_rank_descriptor_;
  40472. metadata.reflection = packetc2w_get_summer_revels_rank_reflection_;
  40473. return metadata;
  40474. }
  40475. // ===================================================================
  40476. #ifndef _MSC_VER
  40477. const int packetw2c_get_summer_revels_rank_result::kPacketIdFieldNumber;
  40478. const int packetw2c_get_summer_revels_rank_result::kRankListFieldNumber;
  40479. const int packetw2c_get_summer_revels_rank_result::kMyPointsFieldNumber;
  40480. #endif // !_MSC_VER
  40481. packetw2c_get_summer_revels_rank_result::packetw2c_get_summer_revels_rank_result()
  40482. : ::google::protobuf::Message() {
  40483. SharedCtor();
  40484. }
  40485. void packetw2c_get_summer_revels_rank_result::InitAsDefaultInstance() {
  40486. }
  40487. packetw2c_get_summer_revels_rank_result::packetw2c_get_summer_revels_rank_result(const packetw2c_get_summer_revels_rank_result& from)
  40488. : ::google::protobuf::Message() {
  40489. SharedCtor();
  40490. MergeFrom(from);
  40491. }
  40492. void packetw2c_get_summer_revels_rank_result::SharedCtor() {
  40493. _cached_size_ = 0;
  40494. packet_id_ = 7736;
  40495. mypoints_ = 0;
  40496. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  40497. }
  40498. packetw2c_get_summer_revels_rank_result::~packetw2c_get_summer_revels_rank_result() {
  40499. SharedDtor();
  40500. }
  40501. void packetw2c_get_summer_revels_rank_result::SharedDtor() {
  40502. if (this != default_instance_) {
  40503. }
  40504. }
  40505. void packetw2c_get_summer_revels_rank_result::SetCachedSize(int size) const {
  40506. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  40507. _cached_size_ = size;
  40508. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  40509. }
  40510. const ::google::protobuf::Descriptor* packetw2c_get_summer_revels_rank_result::descriptor() {
  40511. protobuf_AssignDescriptorsOnce();
  40512. return packetw2c_get_summer_revels_rank_result_descriptor_;
  40513. }
  40514. const packetw2c_get_summer_revels_rank_result& packetw2c_get_summer_revels_rank_result::default_instance() {
  40515. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  40516. return *default_instance_;
  40517. }
  40518. packetw2c_get_summer_revels_rank_result* packetw2c_get_summer_revels_rank_result::default_instance_ = NULL;
  40519. packetw2c_get_summer_revels_rank_result* packetw2c_get_summer_revels_rank_result::New() const {
  40520. return new packetw2c_get_summer_revels_rank_result;
  40521. }
  40522. void packetw2c_get_summer_revels_rank_result::Clear() {
  40523. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40524. packet_id_ = 7736;
  40525. mypoints_ = 0;
  40526. }
  40527. ranklist_.Clear();
  40528. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  40529. mutable_unknown_fields()->Clear();
  40530. }
  40531. bool packetw2c_get_summer_revels_rank_result::MergePartialFromCodedStream(
  40532. ::google::protobuf::io::CodedInputStream* input) {
  40533. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  40534. ::google::protobuf::uint32 tag;
  40535. while ((tag = input->ReadTag()) != 0) {
  40536. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  40537. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result];
  40538. case 1: {
  40539. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40540. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  40541. int value;
  40542. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  40543. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  40544. input, &value)));
  40545. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  40546. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  40547. } else {
  40548. mutable_unknown_fields()->AddVarint(1, value);
  40549. }
  40550. } else {
  40551. goto handle_uninterpreted;
  40552. }
  40553. if (input->ExpectTag(18)) goto parse_rankList;
  40554. break;
  40555. }
  40556. // repeated .client2world_protocols.activity_rank rankList = 2;
  40557. case 2: {
  40558. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40559. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  40560. parse_rankList:
  40561. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  40562. input, add_ranklist()));
  40563. } else {
  40564. goto handle_uninterpreted;
  40565. }
  40566. if (input->ExpectTag(18)) goto parse_rankList;
  40567. if (input->ExpectTag(24)) goto parse_myPoints;
  40568. break;
  40569. }
  40570. // optional int32 myPoints = 3;
  40571. case 3: {
  40572. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40573. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  40574. parse_myPoints:
  40575. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  40576. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  40577. input, &mypoints_)));
  40578. set_has_mypoints();
  40579. } else {
  40580. goto handle_uninterpreted;
  40581. }
  40582. if (input->ExpectAtEnd()) return true;
  40583. break;
  40584. }
  40585. default: {
  40586. handle_uninterpreted:
  40587. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40588. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  40589. return true;
  40590. }
  40591. DO_(::google::protobuf::internal::WireFormat::SkipField(
  40592. input, tag, mutable_unknown_fields()));
  40593. break;
  40594. }
  40595. }
  40596. }
  40597. return true;
  40598. #undef DO_
  40599. }
  40600. void packetw2c_get_summer_revels_rank_result::SerializeWithCachedSizes(
  40601. ::google::protobuf::io::CodedOutputStream* output) const {
  40602. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result];
  40603. if (has_packet_id()) {
  40604. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  40605. 1, this->packet_id(), output);
  40606. }
  40607. // repeated .client2world_protocols.activity_rank rankList = 2;
  40608. for (int i = 0; i < this->ranklist_size(); i++) {
  40609. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  40610. 2, this->ranklist(i), output);
  40611. }
  40612. // optional int32 myPoints = 3;
  40613. if (has_mypoints()) {
  40614. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mypoints(), output);
  40615. }
  40616. if (!unknown_fields().empty()) {
  40617. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  40618. unknown_fields(), output);
  40619. }
  40620. }
  40621. ::google::protobuf::uint8* packetw2c_get_summer_revels_rank_result::SerializeWithCachedSizesToArray(
  40622. ::google::protobuf::uint8* target) const {
  40623. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result];
  40624. if (has_packet_id()) {
  40625. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  40626. 1, this->packet_id(), target);
  40627. }
  40628. // repeated .client2world_protocols.activity_rank rankList = 2;
  40629. for (int i = 0; i < this->ranklist_size(); i++) {
  40630. target = ::google::protobuf::internal::WireFormatLite::
  40631. WriteMessageNoVirtualToArray(
  40632. 2, this->ranklist(i), target);
  40633. }
  40634. // optional int32 myPoints = 3;
  40635. if (has_mypoints()) {
  40636. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mypoints(), target);
  40637. }
  40638. if (!unknown_fields().empty()) {
  40639. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  40640. unknown_fields(), target);
  40641. }
  40642. return target;
  40643. }
  40644. int packetw2c_get_summer_revels_rank_result::ByteSize() const {
  40645. int total_size = 0;
  40646. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40647. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result];
  40648. if (has_packet_id()) {
  40649. total_size += 1 +
  40650. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  40651. }
  40652. // optional int32 myPoints = 3;
  40653. if (has_mypoints()) {
  40654. total_size += 1 +
  40655. ::google::protobuf::internal::WireFormatLite::Int32Size(
  40656. this->mypoints());
  40657. }
  40658. }
  40659. // repeated .client2world_protocols.activity_rank rankList = 2;
  40660. total_size += 1 * this->ranklist_size();
  40661. for (int i = 0; i < this->ranklist_size(); i++) {
  40662. total_size +=
  40663. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  40664. this->ranklist(i));
  40665. }
  40666. if (!unknown_fields().empty()) {
  40667. total_size +=
  40668. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  40669. unknown_fields());
  40670. }
  40671. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  40672. _cached_size_ = total_size;
  40673. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  40674. return total_size;
  40675. }
  40676. void packetw2c_get_summer_revels_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  40677. GOOGLE_CHECK_NE(&from, this);
  40678. const packetw2c_get_summer_revels_rank_result* source =
  40679. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_summer_revels_rank_result*>(
  40680. &from);
  40681. if (source == NULL) {
  40682. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  40683. } else {
  40684. MergeFrom(*source);
  40685. }
  40686. }
  40687. void packetw2c_get_summer_revels_rank_result::MergeFrom(const packetw2c_get_summer_revels_rank_result& from) {
  40688. GOOGLE_CHECK_NE(&from, this);
  40689. ranklist_.MergeFrom(from.ranklist_);
  40690. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40691. if (from.has_packet_id()) {
  40692. set_packet_id(from.packet_id());
  40693. }
  40694. if (from.has_mypoints()) {
  40695. set_mypoints(from.mypoints());
  40696. }
  40697. }
  40698. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  40699. }
  40700. void packetw2c_get_summer_revels_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  40701. if (&from == this) return;
  40702. Clear();
  40703. MergeFrom(from);
  40704. }
  40705. void packetw2c_get_summer_revels_rank_result::CopyFrom(const packetw2c_get_summer_revels_rank_result& from) {
  40706. if (&from == this) return;
  40707. Clear();
  40708. MergeFrom(from);
  40709. }
  40710. bool packetw2c_get_summer_revels_rank_result::IsInitialized() const {
  40711. return true;
  40712. }
  40713. void packetw2c_get_summer_revels_rank_result::Swap(packetw2c_get_summer_revels_rank_result* other) {
  40714. if (other != this) {
  40715. std::swap(packet_id_, other->packet_id_);
  40716. ranklist_.Swap(&other->ranklist_);
  40717. std::swap(mypoints_, other->mypoints_);
  40718. std::swap(_has_bits_[0], other->_has_bits_[0]);
  40719. _unknown_fields_.Swap(&other->_unknown_fields_);
  40720. std::swap(_cached_size_, other->_cached_size_);
  40721. }
  40722. }
  40723. ::google::protobuf::Metadata packetw2c_get_summer_revels_rank_result::GetMetadata() const {
  40724. protobuf_AssignDescriptorsOnce();
  40725. ::google::protobuf::Metadata metadata;
  40726. metadata.descriptor = packetw2c_get_summer_revels_rank_result_descriptor_;
  40727. metadata.reflection = packetw2c_get_summer_revels_rank_result_reflection_;
  40728. return metadata;
  40729. }
  40730. // ===================================================================
  40731. #ifndef _MSC_VER
  40732. const int packetc2w_summer_revels_lottery::kPacketIdFieldNumber;
  40733. const int packetc2w_summer_revels_lottery::kIndexFieldNumber;
  40734. #endif // !_MSC_VER
  40735. packetc2w_summer_revels_lottery::packetc2w_summer_revels_lottery()
  40736. : ::google::protobuf::Message() {
  40737. SharedCtor();
  40738. }
  40739. void packetc2w_summer_revels_lottery::InitAsDefaultInstance() {
  40740. }
  40741. packetc2w_summer_revels_lottery::packetc2w_summer_revels_lottery(const packetc2w_summer_revels_lottery& from)
  40742. : ::google::protobuf::Message() {
  40743. SharedCtor();
  40744. MergeFrom(from);
  40745. }
  40746. void packetc2w_summer_revels_lottery::SharedCtor() {
  40747. _cached_size_ = 0;
  40748. packet_id_ = 5205;
  40749. index_ = 0;
  40750. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  40751. }
  40752. packetc2w_summer_revels_lottery::~packetc2w_summer_revels_lottery() {
  40753. SharedDtor();
  40754. }
  40755. void packetc2w_summer_revels_lottery::SharedDtor() {
  40756. if (this != default_instance_) {
  40757. }
  40758. }
  40759. void packetc2w_summer_revels_lottery::SetCachedSize(int size) const {
  40760. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  40761. _cached_size_ = size;
  40762. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  40763. }
  40764. const ::google::protobuf::Descriptor* packetc2w_summer_revels_lottery::descriptor() {
  40765. protobuf_AssignDescriptorsOnce();
  40766. return packetc2w_summer_revels_lottery_descriptor_;
  40767. }
  40768. const packetc2w_summer_revels_lottery& packetc2w_summer_revels_lottery::default_instance() {
  40769. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  40770. return *default_instance_;
  40771. }
  40772. packetc2w_summer_revels_lottery* packetc2w_summer_revels_lottery::default_instance_ = NULL;
  40773. packetc2w_summer_revels_lottery* packetc2w_summer_revels_lottery::New() const {
  40774. return new packetc2w_summer_revels_lottery;
  40775. }
  40776. void packetc2w_summer_revels_lottery::Clear() {
  40777. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40778. packet_id_ = 5205;
  40779. index_ = 0;
  40780. }
  40781. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  40782. mutable_unknown_fields()->Clear();
  40783. }
  40784. bool packetc2w_summer_revels_lottery::MergePartialFromCodedStream(
  40785. ::google::protobuf::io::CodedInputStream* input) {
  40786. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  40787. ::google::protobuf::uint32 tag;
  40788. while ((tag = input->ReadTag()) != 0) {
  40789. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  40790. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_revels_lottery];
  40791. case 1: {
  40792. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40793. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  40794. int value;
  40795. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  40796. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  40797. input, &value)));
  40798. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  40799. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  40800. } else {
  40801. mutable_unknown_fields()->AddVarint(1, value);
  40802. }
  40803. } else {
  40804. goto handle_uninterpreted;
  40805. }
  40806. if (input->ExpectTag(16)) goto parse_index;
  40807. break;
  40808. }
  40809. // optional int32 index = 2;
  40810. case 2: {
  40811. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40812. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  40813. parse_index:
  40814. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  40815. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  40816. input, &index_)));
  40817. set_has_index();
  40818. } else {
  40819. goto handle_uninterpreted;
  40820. }
  40821. if (input->ExpectAtEnd()) return true;
  40822. break;
  40823. }
  40824. default: {
  40825. handle_uninterpreted:
  40826. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  40827. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  40828. return true;
  40829. }
  40830. DO_(::google::protobuf::internal::WireFormat::SkipField(
  40831. input, tag, mutable_unknown_fields()));
  40832. break;
  40833. }
  40834. }
  40835. }
  40836. return true;
  40837. #undef DO_
  40838. }
  40839. void packetc2w_summer_revels_lottery::SerializeWithCachedSizes(
  40840. ::google::protobuf::io::CodedOutputStream* output) const {
  40841. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_revels_lottery];
  40842. if (has_packet_id()) {
  40843. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  40844. 1, this->packet_id(), output);
  40845. }
  40846. // optional int32 index = 2;
  40847. if (has_index()) {
  40848. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  40849. }
  40850. if (!unknown_fields().empty()) {
  40851. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  40852. unknown_fields(), output);
  40853. }
  40854. }
  40855. ::google::protobuf::uint8* packetc2w_summer_revels_lottery::SerializeWithCachedSizesToArray(
  40856. ::google::protobuf::uint8* target) const {
  40857. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_revels_lottery];
  40858. if (has_packet_id()) {
  40859. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  40860. 1, this->packet_id(), target);
  40861. }
  40862. // optional int32 index = 2;
  40863. if (has_index()) {
  40864. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  40865. }
  40866. if (!unknown_fields().empty()) {
  40867. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  40868. unknown_fields(), target);
  40869. }
  40870. return target;
  40871. }
  40872. int packetc2w_summer_revels_lottery::ByteSize() const {
  40873. int total_size = 0;
  40874. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40875. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_revels_lottery];
  40876. if (has_packet_id()) {
  40877. total_size += 1 +
  40878. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  40879. }
  40880. // optional int32 index = 2;
  40881. if (has_index()) {
  40882. total_size += 1 +
  40883. ::google::protobuf::internal::WireFormatLite::Int32Size(
  40884. this->index());
  40885. }
  40886. }
  40887. if (!unknown_fields().empty()) {
  40888. total_size +=
  40889. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  40890. unknown_fields());
  40891. }
  40892. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  40893. _cached_size_ = total_size;
  40894. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  40895. return total_size;
  40896. }
  40897. void packetc2w_summer_revels_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  40898. GOOGLE_CHECK_NE(&from, this);
  40899. const packetc2w_summer_revels_lottery* source =
  40900. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_revels_lottery*>(
  40901. &from);
  40902. if (source == NULL) {
  40903. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  40904. } else {
  40905. MergeFrom(*source);
  40906. }
  40907. }
  40908. void packetc2w_summer_revels_lottery::MergeFrom(const packetc2w_summer_revels_lottery& from) {
  40909. GOOGLE_CHECK_NE(&from, this);
  40910. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  40911. if (from.has_packet_id()) {
  40912. set_packet_id(from.packet_id());
  40913. }
  40914. if (from.has_index()) {
  40915. set_index(from.index());
  40916. }
  40917. }
  40918. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  40919. }
  40920. void packetc2w_summer_revels_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  40921. if (&from == this) return;
  40922. Clear();
  40923. MergeFrom(from);
  40924. }
  40925. void packetc2w_summer_revels_lottery::CopyFrom(const packetc2w_summer_revels_lottery& from) {
  40926. if (&from == this) return;
  40927. Clear();
  40928. MergeFrom(from);
  40929. }
  40930. bool packetc2w_summer_revels_lottery::IsInitialized() const {
  40931. return true;
  40932. }
  40933. void packetc2w_summer_revels_lottery::Swap(packetc2w_summer_revels_lottery* other) {
  40934. if (other != this) {
  40935. std::swap(packet_id_, other->packet_id_);
  40936. std::swap(index_, other->index_);
  40937. std::swap(_has_bits_[0], other->_has_bits_[0]);
  40938. _unknown_fields_.Swap(&other->_unknown_fields_);
  40939. std::swap(_cached_size_, other->_cached_size_);
  40940. }
  40941. }
  40942. ::google::protobuf::Metadata packetc2w_summer_revels_lottery::GetMetadata() const {
  40943. protobuf_AssignDescriptorsOnce();
  40944. ::google::protobuf::Metadata metadata;
  40945. metadata.descriptor = packetc2w_summer_revels_lottery_descriptor_;
  40946. metadata.reflection = packetc2w_summer_revels_lottery_reflection_;
  40947. return metadata;
  40948. }
  40949. // ===================================================================
  40950. #ifndef _MSC_VER
  40951. const int packetw2c_summer_revels_lottery_result::kPacketIdFieldNumber;
  40952. const int packetw2c_summer_revels_lottery_result::kResultFieldNumber;
  40953. const int packetw2c_summer_revels_lottery_result::kIndexFieldNumber;
  40954. const int packetw2c_summer_revels_lottery_result::kItemsFieldNumber;
  40955. #endif // !_MSC_VER
  40956. packetw2c_summer_revels_lottery_result::packetw2c_summer_revels_lottery_result()
  40957. : ::google::protobuf::Message() {
  40958. SharedCtor();
  40959. }
  40960. void packetw2c_summer_revels_lottery_result::InitAsDefaultInstance() {
  40961. }
  40962. packetw2c_summer_revels_lottery_result::packetw2c_summer_revels_lottery_result(const packetw2c_summer_revels_lottery_result& from)
  40963. : ::google::protobuf::Message() {
  40964. SharedCtor();
  40965. MergeFrom(from);
  40966. }
  40967. void packetw2c_summer_revels_lottery_result::SharedCtor() {
  40968. _cached_size_ = 0;
  40969. packet_id_ = 7737;
  40970. result_ = 0;
  40971. index_ = 0;
  40972. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  40973. }
  40974. packetw2c_summer_revels_lottery_result::~packetw2c_summer_revels_lottery_result() {
  40975. SharedDtor();
  40976. }
  40977. void packetw2c_summer_revels_lottery_result::SharedDtor() {
  40978. if (this != default_instance_) {
  40979. }
  40980. }
  40981. void packetw2c_summer_revels_lottery_result::SetCachedSize(int size) const {
  40982. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  40983. _cached_size_ = size;
  40984. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  40985. }
  40986. const ::google::protobuf::Descriptor* packetw2c_summer_revels_lottery_result::descriptor() {
  40987. protobuf_AssignDescriptorsOnce();
  40988. return packetw2c_summer_revels_lottery_result_descriptor_;
  40989. }
  40990. const packetw2c_summer_revels_lottery_result& packetw2c_summer_revels_lottery_result::default_instance() {
  40991. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  40992. return *default_instance_;
  40993. }
  40994. packetw2c_summer_revels_lottery_result* packetw2c_summer_revels_lottery_result::default_instance_ = NULL;
  40995. packetw2c_summer_revels_lottery_result* packetw2c_summer_revels_lottery_result::New() const {
  40996. return new packetw2c_summer_revels_lottery_result;
  40997. }
  40998. void packetw2c_summer_revels_lottery_result::Clear() {
  40999. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41000. packet_id_ = 7737;
  41001. result_ = 0;
  41002. index_ = 0;
  41003. }
  41004. items_.Clear();
  41005. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  41006. mutable_unknown_fields()->Clear();
  41007. }
  41008. bool packetw2c_summer_revels_lottery_result::MergePartialFromCodedStream(
  41009. ::google::protobuf::io::CodedInputStream* input) {
  41010. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  41011. ::google::protobuf::uint32 tag;
  41012. while ((tag = input->ReadTag()) != 0) {
  41013. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  41014. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_revels_lottery_result];
  41015. case 1: {
  41016. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41017. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41018. int value;
  41019. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41020. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  41021. input, &value)));
  41022. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  41023. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  41024. } else {
  41025. mutable_unknown_fields()->AddVarint(1, value);
  41026. }
  41027. } else {
  41028. goto handle_uninterpreted;
  41029. }
  41030. if (input->ExpectTag(16)) goto parse_result;
  41031. break;
  41032. }
  41033. // optional int32 result = 2;
  41034. case 2: {
  41035. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41036. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41037. parse_result:
  41038. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41039. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41040. input, &result_)));
  41041. set_has_result();
  41042. } else {
  41043. goto handle_uninterpreted;
  41044. }
  41045. if (input->ExpectTag(24)) goto parse_index;
  41046. break;
  41047. }
  41048. // optional int32 index = 3;
  41049. case 3: {
  41050. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41051. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41052. parse_index:
  41053. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41054. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41055. input, &index_)));
  41056. set_has_index();
  41057. } else {
  41058. goto handle_uninterpreted;
  41059. }
  41060. if (input->ExpectTag(34)) goto parse_items;
  41061. break;
  41062. }
  41063. // repeated .msg_info_def.ItemInfo items = 4;
  41064. case 4: {
  41065. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41066. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  41067. parse_items:
  41068. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  41069. input, add_items()));
  41070. } else {
  41071. goto handle_uninterpreted;
  41072. }
  41073. if (input->ExpectTag(34)) goto parse_items;
  41074. if (input->ExpectAtEnd()) return true;
  41075. break;
  41076. }
  41077. default: {
  41078. handle_uninterpreted:
  41079. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41080. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  41081. return true;
  41082. }
  41083. DO_(::google::protobuf::internal::WireFormat::SkipField(
  41084. input, tag, mutable_unknown_fields()));
  41085. break;
  41086. }
  41087. }
  41088. }
  41089. return true;
  41090. #undef DO_
  41091. }
  41092. void packetw2c_summer_revels_lottery_result::SerializeWithCachedSizes(
  41093. ::google::protobuf::io::CodedOutputStream* output) const {
  41094. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_revels_lottery_result];
  41095. if (has_packet_id()) {
  41096. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  41097. 1, this->packet_id(), output);
  41098. }
  41099. // optional int32 result = 2;
  41100. if (has_result()) {
  41101. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  41102. }
  41103. // optional int32 index = 3;
  41104. if (has_index()) {
  41105. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  41106. }
  41107. // repeated .msg_info_def.ItemInfo items = 4;
  41108. for (int i = 0; i < this->items_size(); i++) {
  41109. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  41110. 4, this->items(i), output);
  41111. }
  41112. if (!unknown_fields().empty()) {
  41113. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  41114. unknown_fields(), output);
  41115. }
  41116. }
  41117. ::google::protobuf::uint8* packetw2c_summer_revels_lottery_result::SerializeWithCachedSizesToArray(
  41118. ::google::protobuf::uint8* target) const {
  41119. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_revels_lottery_result];
  41120. if (has_packet_id()) {
  41121. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  41122. 1, this->packet_id(), target);
  41123. }
  41124. // optional int32 result = 2;
  41125. if (has_result()) {
  41126. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  41127. }
  41128. // optional int32 index = 3;
  41129. if (has_index()) {
  41130. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  41131. }
  41132. // repeated .msg_info_def.ItemInfo items = 4;
  41133. for (int i = 0; i < this->items_size(); i++) {
  41134. target = ::google::protobuf::internal::WireFormatLite::
  41135. WriteMessageNoVirtualToArray(
  41136. 4, this->items(i), target);
  41137. }
  41138. if (!unknown_fields().empty()) {
  41139. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  41140. unknown_fields(), target);
  41141. }
  41142. return target;
  41143. }
  41144. int packetw2c_summer_revels_lottery_result::ByteSize() const {
  41145. int total_size = 0;
  41146. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41147. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_revels_lottery_result];
  41148. if (has_packet_id()) {
  41149. total_size += 1 +
  41150. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  41151. }
  41152. // optional int32 result = 2;
  41153. if (has_result()) {
  41154. total_size += 1 +
  41155. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41156. this->result());
  41157. }
  41158. // optional int32 index = 3;
  41159. if (has_index()) {
  41160. total_size += 1 +
  41161. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41162. this->index());
  41163. }
  41164. }
  41165. // repeated .msg_info_def.ItemInfo items = 4;
  41166. total_size += 1 * this->items_size();
  41167. for (int i = 0; i < this->items_size(); i++) {
  41168. total_size +=
  41169. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  41170. this->items(i));
  41171. }
  41172. if (!unknown_fields().empty()) {
  41173. total_size +=
  41174. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  41175. unknown_fields());
  41176. }
  41177. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  41178. _cached_size_ = total_size;
  41179. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  41180. return total_size;
  41181. }
  41182. void packetw2c_summer_revels_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  41183. GOOGLE_CHECK_NE(&from, this);
  41184. const packetw2c_summer_revels_lottery_result* source =
  41185. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_revels_lottery_result*>(
  41186. &from);
  41187. if (source == NULL) {
  41188. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  41189. } else {
  41190. MergeFrom(*source);
  41191. }
  41192. }
  41193. void packetw2c_summer_revels_lottery_result::MergeFrom(const packetw2c_summer_revels_lottery_result& from) {
  41194. GOOGLE_CHECK_NE(&from, this);
  41195. items_.MergeFrom(from.items_);
  41196. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41197. if (from.has_packet_id()) {
  41198. set_packet_id(from.packet_id());
  41199. }
  41200. if (from.has_result()) {
  41201. set_result(from.result());
  41202. }
  41203. if (from.has_index()) {
  41204. set_index(from.index());
  41205. }
  41206. }
  41207. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  41208. }
  41209. void packetw2c_summer_revels_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  41210. if (&from == this) return;
  41211. Clear();
  41212. MergeFrom(from);
  41213. }
  41214. void packetw2c_summer_revels_lottery_result::CopyFrom(const packetw2c_summer_revels_lottery_result& from) {
  41215. if (&from == this) return;
  41216. Clear();
  41217. MergeFrom(from);
  41218. }
  41219. bool packetw2c_summer_revels_lottery_result::IsInitialized() const {
  41220. return true;
  41221. }
  41222. void packetw2c_summer_revels_lottery_result::Swap(packetw2c_summer_revels_lottery_result* other) {
  41223. if (other != this) {
  41224. std::swap(packet_id_, other->packet_id_);
  41225. std::swap(result_, other->result_);
  41226. std::swap(index_, other->index_);
  41227. items_.Swap(&other->items_);
  41228. std::swap(_has_bits_[0], other->_has_bits_[0]);
  41229. _unknown_fields_.Swap(&other->_unknown_fields_);
  41230. std::swap(_cached_size_, other->_cached_size_);
  41231. }
  41232. }
  41233. ::google::protobuf::Metadata packetw2c_summer_revels_lottery_result::GetMetadata() const {
  41234. protobuf_AssignDescriptorsOnce();
  41235. ::google::protobuf::Metadata metadata;
  41236. metadata.descriptor = packetw2c_summer_revels_lottery_result_descriptor_;
  41237. metadata.reflection = packetw2c_summer_revels_lottery_result_reflection_;
  41238. return metadata;
  41239. }
  41240. // ===================================================================
  41241. #ifndef _MSC_VER
  41242. const int attackInfo::kWeaponIdFieldNumber;
  41243. const int attackInfo::kHarmValueFieldNumber;
  41244. #endif // !_MSC_VER
  41245. attackInfo::attackInfo()
  41246. : ::google::protobuf::Message() {
  41247. SharedCtor();
  41248. }
  41249. void attackInfo::InitAsDefaultInstance() {
  41250. }
  41251. attackInfo::attackInfo(const attackInfo& from)
  41252. : ::google::protobuf::Message() {
  41253. SharedCtor();
  41254. MergeFrom(from);
  41255. }
  41256. void attackInfo::SharedCtor() {
  41257. _cached_size_ = 0;
  41258. weaponid_ = 0;
  41259. harmvalue_ = 0;
  41260. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  41261. }
  41262. attackInfo::~attackInfo() {
  41263. SharedDtor();
  41264. }
  41265. void attackInfo::SharedDtor() {
  41266. if (this != default_instance_) {
  41267. }
  41268. }
  41269. void attackInfo::SetCachedSize(int size) const {
  41270. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  41271. _cached_size_ = size;
  41272. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  41273. }
  41274. const ::google::protobuf::Descriptor* attackInfo::descriptor() {
  41275. protobuf_AssignDescriptorsOnce();
  41276. return attackInfo_descriptor_;
  41277. }
  41278. const attackInfo& attackInfo::default_instance() {
  41279. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  41280. return *default_instance_;
  41281. }
  41282. attackInfo* attackInfo::default_instance_ = NULL;
  41283. attackInfo* attackInfo::New() const {
  41284. return new attackInfo;
  41285. }
  41286. void attackInfo::Clear() {
  41287. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41288. weaponid_ = 0;
  41289. harmvalue_ = 0;
  41290. }
  41291. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  41292. mutable_unknown_fields()->Clear();
  41293. }
  41294. bool attackInfo::MergePartialFromCodedStream(
  41295. ::google::protobuf::io::CodedInputStream* input) {
  41296. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  41297. ::google::protobuf::uint32 tag;
  41298. while ((tag = input->ReadTag()) != 0) {
  41299. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  41300. // optional int32 weaponId = 1;
  41301. case 1: {
  41302. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41303. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41304. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41305. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41306. input, &weaponid_)));
  41307. set_has_weaponid();
  41308. } else {
  41309. goto handle_uninterpreted;
  41310. }
  41311. if (input->ExpectTag(16)) goto parse_harmValue;
  41312. break;
  41313. }
  41314. // optional int32 harmValue = 2;
  41315. case 2: {
  41316. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41317. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41318. parse_harmValue:
  41319. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41320. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41321. input, &harmvalue_)));
  41322. set_has_harmvalue();
  41323. } else {
  41324. goto handle_uninterpreted;
  41325. }
  41326. if (input->ExpectAtEnd()) return true;
  41327. break;
  41328. }
  41329. default: {
  41330. handle_uninterpreted:
  41331. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41332. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  41333. return true;
  41334. }
  41335. DO_(::google::protobuf::internal::WireFormat::SkipField(
  41336. input, tag, mutable_unknown_fields()));
  41337. break;
  41338. }
  41339. }
  41340. }
  41341. return true;
  41342. #undef DO_
  41343. }
  41344. void attackInfo::SerializeWithCachedSizes(
  41345. ::google::protobuf::io::CodedOutputStream* output) const {
  41346. // optional int32 weaponId = 1;
  41347. if (has_weaponid()) {
  41348. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->weaponid(), output);
  41349. }
  41350. // optional int32 harmValue = 2;
  41351. if (has_harmvalue()) {
  41352. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->harmvalue(), output);
  41353. }
  41354. if (!unknown_fields().empty()) {
  41355. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  41356. unknown_fields(), output);
  41357. }
  41358. }
  41359. ::google::protobuf::uint8* attackInfo::SerializeWithCachedSizesToArray(
  41360. ::google::protobuf::uint8* target) const {
  41361. // optional int32 weaponId = 1;
  41362. if (has_weaponid()) {
  41363. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->weaponid(), target);
  41364. }
  41365. // optional int32 harmValue = 2;
  41366. if (has_harmvalue()) {
  41367. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->harmvalue(), target);
  41368. }
  41369. if (!unknown_fields().empty()) {
  41370. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  41371. unknown_fields(), target);
  41372. }
  41373. return target;
  41374. }
  41375. int attackInfo::ByteSize() const {
  41376. int total_size = 0;
  41377. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41378. // optional int32 weaponId = 1;
  41379. if (has_weaponid()) {
  41380. total_size += 1 +
  41381. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41382. this->weaponid());
  41383. }
  41384. // optional int32 harmValue = 2;
  41385. if (has_harmvalue()) {
  41386. total_size += 1 +
  41387. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41388. this->harmvalue());
  41389. }
  41390. }
  41391. if (!unknown_fields().empty()) {
  41392. total_size +=
  41393. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  41394. unknown_fields());
  41395. }
  41396. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  41397. _cached_size_ = total_size;
  41398. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  41399. return total_size;
  41400. }
  41401. void attackInfo::MergeFrom(const ::google::protobuf::Message& from) {
  41402. GOOGLE_CHECK_NE(&from, this);
  41403. const attackInfo* source =
  41404. ::google::protobuf::internal::dynamic_cast_if_available<const attackInfo*>(
  41405. &from);
  41406. if (source == NULL) {
  41407. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  41408. } else {
  41409. MergeFrom(*source);
  41410. }
  41411. }
  41412. void attackInfo::MergeFrom(const attackInfo& from) {
  41413. GOOGLE_CHECK_NE(&from, this);
  41414. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41415. if (from.has_weaponid()) {
  41416. set_weaponid(from.weaponid());
  41417. }
  41418. if (from.has_harmvalue()) {
  41419. set_harmvalue(from.harmvalue());
  41420. }
  41421. }
  41422. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  41423. }
  41424. void attackInfo::CopyFrom(const ::google::protobuf::Message& from) {
  41425. if (&from == this) return;
  41426. Clear();
  41427. MergeFrom(from);
  41428. }
  41429. void attackInfo::CopyFrom(const attackInfo& from) {
  41430. if (&from == this) return;
  41431. Clear();
  41432. MergeFrom(from);
  41433. }
  41434. bool attackInfo::IsInitialized() const {
  41435. return true;
  41436. }
  41437. void attackInfo::Swap(attackInfo* other) {
  41438. if (other != this) {
  41439. std::swap(weaponid_, other->weaponid_);
  41440. std::swap(harmvalue_, other->harmvalue_);
  41441. std::swap(_has_bits_[0], other->_has_bits_[0]);
  41442. _unknown_fields_.Swap(&other->_unknown_fields_);
  41443. std::swap(_cached_size_, other->_cached_size_);
  41444. }
  41445. }
  41446. ::google::protobuf::Metadata attackInfo::GetMetadata() const {
  41447. protobuf_AssignDescriptorsOnce();
  41448. ::google::protobuf::Metadata metadata;
  41449. metadata.descriptor = attackInfo_descriptor_;
  41450. metadata.reflection = attackInfo_reflection_;
  41451. return metadata;
  41452. }
  41453. // ===================================================================
  41454. #ifndef _MSC_VER
  41455. const int demonTowerInfo::kFloorFieldNumber;
  41456. const int demonTowerInfo::kLeftLifeFieldNumber;
  41457. const int demonTowerInfo::kCurRoundFieldNumber;
  41458. const int demonTowerInfo::kKillCountFieldNumber;
  41459. const int demonTowerInfo::kStarCountFieldNumber;
  41460. const int demonTowerInfo::kAttackHistoryFieldNumber;
  41461. #endif // !_MSC_VER
  41462. demonTowerInfo::demonTowerInfo()
  41463. : ::google::protobuf::Message() {
  41464. SharedCtor();
  41465. }
  41466. void demonTowerInfo::InitAsDefaultInstance() {
  41467. }
  41468. demonTowerInfo::demonTowerInfo(const demonTowerInfo& from)
  41469. : ::google::protobuf::Message() {
  41470. SharedCtor();
  41471. MergeFrom(from);
  41472. }
  41473. void demonTowerInfo::SharedCtor() {
  41474. _cached_size_ = 0;
  41475. floor_ = 0;
  41476. leftlife_ = 0;
  41477. curround_ = 0;
  41478. killcount_ = 0;
  41479. starcount_ = 0;
  41480. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  41481. }
  41482. demonTowerInfo::~demonTowerInfo() {
  41483. SharedDtor();
  41484. }
  41485. void demonTowerInfo::SharedDtor() {
  41486. if (this != default_instance_) {
  41487. }
  41488. }
  41489. void demonTowerInfo::SetCachedSize(int size) const {
  41490. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  41491. _cached_size_ = size;
  41492. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  41493. }
  41494. const ::google::protobuf::Descriptor* demonTowerInfo::descriptor() {
  41495. protobuf_AssignDescriptorsOnce();
  41496. return demonTowerInfo_descriptor_;
  41497. }
  41498. const demonTowerInfo& demonTowerInfo::default_instance() {
  41499. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  41500. return *default_instance_;
  41501. }
  41502. demonTowerInfo* demonTowerInfo::default_instance_ = NULL;
  41503. demonTowerInfo* demonTowerInfo::New() const {
  41504. return new demonTowerInfo;
  41505. }
  41506. void demonTowerInfo::Clear() {
  41507. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41508. floor_ = 0;
  41509. leftlife_ = 0;
  41510. curround_ = 0;
  41511. killcount_ = 0;
  41512. starcount_ = 0;
  41513. }
  41514. attackhistory_.Clear();
  41515. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  41516. mutable_unknown_fields()->Clear();
  41517. }
  41518. bool demonTowerInfo::MergePartialFromCodedStream(
  41519. ::google::protobuf::io::CodedInputStream* input) {
  41520. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  41521. ::google::protobuf::uint32 tag;
  41522. while ((tag = input->ReadTag()) != 0) {
  41523. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  41524. // optional int32 floor = 1;
  41525. case 1: {
  41526. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41527. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41528. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41529. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41530. input, &floor_)));
  41531. set_has_floor();
  41532. } else {
  41533. goto handle_uninterpreted;
  41534. }
  41535. if (input->ExpectTag(16)) goto parse_leftLife;
  41536. break;
  41537. }
  41538. // optional int32 leftLife = 2;
  41539. case 2: {
  41540. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41541. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41542. parse_leftLife:
  41543. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41544. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41545. input, &leftlife_)));
  41546. set_has_leftlife();
  41547. } else {
  41548. goto handle_uninterpreted;
  41549. }
  41550. if (input->ExpectTag(24)) goto parse_curRound;
  41551. break;
  41552. }
  41553. // optional int32 curRound = 3;
  41554. case 3: {
  41555. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41556. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41557. parse_curRound:
  41558. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41559. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41560. input, &curround_)));
  41561. set_has_curround();
  41562. } else {
  41563. goto handle_uninterpreted;
  41564. }
  41565. if (input->ExpectTag(32)) goto parse_killCount;
  41566. break;
  41567. }
  41568. // optional int32 killCount = 4;
  41569. case 4: {
  41570. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41571. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41572. parse_killCount:
  41573. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41574. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41575. input, &killcount_)));
  41576. set_has_killcount();
  41577. } else {
  41578. goto handle_uninterpreted;
  41579. }
  41580. if (input->ExpectTag(40)) goto parse_starCount;
  41581. break;
  41582. }
  41583. // optional int32 starCount = 5;
  41584. case 5: {
  41585. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41586. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41587. parse_starCount:
  41588. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41589. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41590. input, &starcount_)));
  41591. set_has_starcount();
  41592. } else {
  41593. goto handle_uninterpreted;
  41594. }
  41595. if (input->ExpectTag(50)) goto parse_attackHistory;
  41596. break;
  41597. }
  41598. // repeated .client2world_protocols.attackInfo attackHistory = 6;
  41599. case 6: {
  41600. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41601. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  41602. parse_attackHistory:
  41603. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  41604. input, add_attackhistory()));
  41605. } else {
  41606. goto handle_uninterpreted;
  41607. }
  41608. if (input->ExpectTag(50)) goto parse_attackHistory;
  41609. if (input->ExpectAtEnd()) return true;
  41610. break;
  41611. }
  41612. default: {
  41613. handle_uninterpreted:
  41614. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41615. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  41616. return true;
  41617. }
  41618. DO_(::google::protobuf::internal::WireFormat::SkipField(
  41619. input, tag, mutable_unknown_fields()));
  41620. break;
  41621. }
  41622. }
  41623. }
  41624. return true;
  41625. #undef DO_
  41626. }
  41627. void demonTowerInfo::SerializeWithCachedSizes(
  41628. ::google::protobuf::io::CodedOutputStream* output) const {
  41629. // optional int32 floor = 1;
  41630. if (has_floor()) {
  41631. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->floor(), output);
  41632. }
  41633. // optional int32 leftLife = 2;
  41634. if (has_leftlife()) {
  41635. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->leftlife(), output);
  41636. }
  41637. // optional int32 curRound = 3;
  41638. if (has_curround()) {
  41639. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->curround(), output);
  41640. }
  41641. // optional int32 killCount = 4;
  41642. if (has_killcount()) {
  41643. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->killcount(), output);
  41644. }
  41645. // optional int32 starCount = 5;
  41646. if (has_starcount()) {
  41647. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->starcount(), output);
  41648. }
  41649. // repeated .client2world_protocols.attackInfo attackHistory = 6;
  41650. for (int i = 0; i < this->attackhistory_size(); i++) {
  41651. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  41652. 6, this->attackhistory(i), output);
  41653. }
  41654. if (!unknown_fields().empty()) {
  41655. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  41656. unknown_fields(), output);
  41657. }
  41658. }
  41659. ::google::protobuf::uint8* demonTowerInfo::SerializeWithCachedSizesToArray(
  41660. ::google::protobuf::uint8* target) const {
  41661. // optional int32 floor = 1;
  41662. if (has_floor()) {
  41663. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->floor(), target);
  41664. }
  41665. // optional int32 leftLife = 2;
  41666. if (has_leftlife()) {
  41667. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->leftlife(), target);
  41668. }
  41669. // optional int32 curRound = 3;
  41670. if (has_curround()) {
  41671. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->curround(), target);
  41672. }
  41673. // optional int32 killCount = 4;
  41674. if (has_killcount()) {
  41675. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->killcount(), target);
  41676. }
  41677. // optional int32 starCount = 5;
  41678. if (has_starcount()) {
  41679. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->starcount(), target);
  41680. }
  41681. // repeated .client2world_protocols.attackInfo attackHistory = 6;
  41682. for (int i = 0; i < this->attackhistory_size(); i++) {
  41683. target = ::google::protobuf::internal::WireFormatLite::
  41684. WriteMessageNoVirtualToArray(
  41685. 6, this->attackhistory(i), target);
  41686. }
  41687. if (!unknown_fields().empty()) {
  41688. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  41689. unknown_fields(), target);
  41690. }
  41691. return target;
  41692. }
  41693. int demonTowerInfo::ByteSize() const {
  41694. int total_size = 0;
  41695. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41696. // optional int32 floor = 1;
  41697. if (has_floor()) {
  41698. total_size += 1 +
  41699. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41700. this->floor());
  41701. }
  41702. // optional int32 leftLife = 2;
  41703. if (has_leftlife()) {
  41704. total_size += 1 +
  41705. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41706. this->leftlife());
  41707. }
  41708. // optional int32 curRound = 3;
  41709. if (has_curround()) {
  41710. total_size += 1 +
  41711. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41712. this->curround());
  41713. }
  41714. // optional int32 killCount = 4;
  41715. if (has_killcount()) {
  41716. total_size += 1 +
  41717. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41718. this->killcount());
  41719. }
  41720. // optional int32 starCount = 5;
  41721. if (has_starcount()) {
  41722. total_size += 1 +
  41723. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41724. this->starcount());
  41725. }
  41726. }
  41727. // repeated .client2world_protocols.attackInfo attackHistory = 6;
  41728. total_size += 1 * this->attackhistory_size();
  41729. for (int i = 0; i < this->attackhistory_size(); i++) {
  41730. total_size +=
  41731. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  41732. this->attackhistory(i));
  41733. }
  41734. if (!unknown_fields().empty()) {
  41735. total_size +=
  41736. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  41737. unknown_fields());
  41738. }
  41739. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  41740. _cached_size_ = total_size;
  41741. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  41742. return total_size;
  41743. }
  41744. void demonTowerInfo::MergeFrom(const ::google::protobuf::Message& from) {
  41745. GOOGLE_CHECK_NE(&from, this);
  41746. const demonTowerInfo* source =
  41747. ::google::protobuf::internal::dynamic_cast_if_available<const demonTowerInfo*>(
  41748. &from);
  41749. if (source == NULL) {
  41750. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  41751. } else {
  41752. MergeFrom(*source);
  41753. }
  41754. }
  41755. void demonTowerInfo::MergeFrom(const demonTowerInfo& from) {
  41756. GOOGLE_CHECK_NE(&from, this);
  41757. attackhistory_.MergeFrom(from.attackhistory_);
  41758. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41759. if (from.has_floor()) {
  41760. set_floor(from.floor());
  41761. }
  41762. if (from.has_leftlife()) {
  41763. set_leftlife(from.leftlife());
  41764. }
  41765. if (from.has_curround()) {
  41766. set_curround(from.curround());
  41767. }
  41768. if (from.has_killcount()) {
  41769. set_killcount(from.killcount());
  41770. }
  41771. if (from.has_starcount()) {
  41772. set_starcount(from.starcount());
  41773. }
  41774. }
  41775. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  41776. }
  41777. void demonTowerInfo::CopyFrom(const ::google::protobuf::Message& from) {
  41778. if (&from == this) return;
  41779. Clear();
  41780. MergeFrom(from);
  41781. }
  41782. void demonTowerInfo::CopyFrom(const demonTowerInfo& from) {
  41783. if (&from == this) return;
  41784. Clear();
  41785. MergeFrom(from);
  41786. }
  41787. bool demonTowerInfo::IsInitialized() const {
  41788. return true;
  41789. }
  41790. void demonTowerInfo::Swap(demonTowerInfo* other) {
  41791. if (other != this) {
  41792. std::swap(floor_, other->floor_);
  41793. std::swap(leftlife_, other->leftlife_);
  41794. std::swap(curround_, other->curround_);
  41795. std::swap(killcount_, other->killcount_);
  41796. std::swap(starcount_, other->starcount_);
  41797. attackhistory_.Swap(&other->attackhistory_);
  41798. std::swap(_has_bits_[0], other->_has_bits_[0]);
  41799. _unknown_fields_.Swap(&other->_unknown_fields_);
  41800. std::swap(_cached_size_, other->_cached_size_);
  41801. }
  41802. }
  41803. ::google::protobuf::Metadata demonTowerInfo::GetMetadata() const {
  41804. protobuf_AssignDescriptorsOnce();
  41805. ::google::protobuf::Metadata metadata;
  41806. metadata.descriptor = demonTowerInfo_descriptor_;
  41807. metadata.reflection = demonTowerInfo_reflection_;
  41808. return metadata;
  41809. }
  41810. // ===================================================================
  41811. #ifndef _MSC_VER
  41812. const int weaponInfo::kWeaponIdFieldNumber;
  41813. const int weaponInfo::kCountFieldNumber;
  41814. #endif // !_MSC_VER
  41815. weaponInfo::weaponInfo()
  41816. : ::google::protobuf::Message() {
  41817. SharedCtor();
  41818. }
  41819. void weaponInfo::InitAsDefaultInstance() {
  41820. }
  41821. weaponInfo::weaponInfo(const weaponInfo& from)
  41822. : ::google::protobuf::Message() {
  41823. SharedCtor();
  41824. MergeFrom(from);
  41825. }
  41826. void weaponInfo::SharedCtor() {
  41827. _cached_size_ = 0;
  41828. weaponid_ = 0;
  41829. count_ = 0;
  41830. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  41831. }
  41832. weaponInfo::~weaponInfo() {
  41833. SharedDtor();
  41834. }
  41835. void weaponInfo::SharedDtor() {
  41836. if (this != default_instance_) {
  41837. }
  41838. }
  41839. void weaponInfo::SetCachedSize(int size) const {
  41840. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  41841. _cached_size_ = size;
  41842. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  41843. }
  41844. const ::google::protobuf::Descriptor* weaponInfo::descriptor() {
  41845. protobuf_AssignDescriptorsOnce();
  41846. return weaponInfo_descriptor_;
  41847. }
  41848. const weaponInfo& weaponInfo::default_instance() {
  41849. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  41850. return *default_instance_;
  41851. }
  41852. weaponInfo* weaponInfo::default_instance_ = NULL;
  41853. weaponInfo* weaponInfo::New() const {
  41854. return new weaponInfo;
  41855. }
  41856. void weaponInfo::Clear() {
  41857. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41858. weaponid_ = 0;
  41859. count_ = 0;
  41860. }
  41861. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  41862. mutable_unknown_fields()->Clear();
  41863. }
  41864. bool weaponInfo::MergePartialFromCodedStream(
  41865. ::google::protobuf::io::CodedInputStream* input) {
  41866. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  41867. ::google::protobuf::uint32 tag;
  41868. while ((tag = input->ReadTag()) != 0) {
  41869. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  41870. // optional int32 weaponId = 1;
  41871. case 1: {
  41872. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41873. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41874. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41875. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41876. input, &weaponid_)));
  41877. set_has_weaponid();
  41878. } else {
  41879. goto handle_uninterpreted;
  41880. }
  41881. if (input->ExpectTag(16)) goto parse_count;
  41882. break;
  41883. }
  41884. // optional int32 count = 2;
  41885. case 2: {
  41886. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41887. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  41888. parse_count:
  41889. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  41890. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  41891. input, &count_)));
  41892. set_has_count();
  41893. } else {
  41894. goto handle_uninterpreted;
  41895. }
  41896. if (input->ExpectAtEnd()) return true;
  41897. break;
  41898. }
  41899. default: {
  41900. handle_uninterpreted:
  41901. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  41902. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  41903. return true;
  41904. }
  41905. DO_(::google::protobuf::internal::WireFormat::SkipField(
  41906. input, tag, mutable_unknown_fields()));
  41907. break;
  41908. }
  41909. }
  41910. }
  41911. return true;
  41912. #undef DO_
  41913. }
  41914. void weaponInfo::SerializeWithCachedSizes(
  41915. ::google::protobuf::io::CodedOutputStream* output) const {
  41916. // optional int32 weaponId = 1;
  41917. if (has_weaponid()) {
  41918. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->weaponid(), output);
  41919. }
  41920. // optional int32 count = 2;
  41921. if (has_count()) {
  41922. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  41923. }
  41924. if (!unknown_fields().empty()) {
  41925. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  41926. unknown_fields(), output);
  41927. }
  41928. }
  41929. ::google::protobuf::uint8* weaponInfo::SerializeWithCachedSizesToArray(
  41930. ::google::protobuf::uint8* target) const {
  41931. // optional int32 weaponId = 1;
  41932. if (has_weaponid()) {
  41933. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->weaponid(), target);
  41934. }
  41935. // optional int32 count = 2;
  41936. if (has_count()) {
  41937. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  41938. }
  41939. if (!unknown_fields().empty()) {
  41940. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  41941. unknown_fields(), target);
  41942. }
  41943. return target;
  41944. }
  41945. int weaponInfo::ByteSize() const {
  41946. int total_size = 0;
  41947. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41948. // optional int32 weaponId = 1;
  41949. if (has_weaponid()) {
  41950. total_size += 1 +
  41951. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41952. this->weaponid());
  41953. }
  41954. // optional int32 count = 2;
  41955. if (has_count()) {
  41956. total_size += 1 +
  41957. ::google::protobuf::internal::WireFormatLite::Int32Size(
  41958. this->count());
  41959. }
  41960. }
  41961. if (!unknown_fields().empty()) {
  41962. total_size +=
  41963. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  41964. unknown_fields());
  41965. }
  41966. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  41967. _cached_size_ = total_size;
  41968. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  41969. return total_size;
  41970. }
  41971. void weaponInfo::MergeFrom(const ::google::protobuf::Message& from) {
  41972. GOOGLE_CHECK_NE(&from, this);
  41973. const weaponInfo* source =
  41974. ::google::protobuf::internal::dynamic_cast_if_available<const weaponInfo*>(
  41975. &from);
  41976. if (source == NULL) {
  41977. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  41978. } else {
  41979. MergeFrom(*source);
  41980. }
  41981. }
  41982. void weaponInfo::MergeFrom(const weaponInfo& from) {
  41983. GOOGLE_CHECK_NE(&from, this);
  41984. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  41985. if (from.has_weaponid()) {
  41986. set_weaponid(from.weaponid());
  41987. }
  41988. if (from.has_count()) {
  41989. set_count(from.count());
  41990. }
  41991. }
  41992. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  41993. }
  41994. void weaponInfo::CopyFrom(const ::google::protobuf::Message& from) {
  41995. if (&from == this) return;
  41996. Clear();
  41997. MergeFrom(from);
  41998. }
  41999. void weaponInfo::CopyFrom(const weaponInfo& from) {
  42000. if (&from == this) return;
  42001. Clear();
  42002. MergeFrom(from);
  42003. }
  42004. bool weaponInfo::IsInitialized() const {
  42005. return true;
  42006. }
  42007. void weaponInfo::Swap(weaponInfo* other) {
  42008. if (other != this) {
  42009. std::swap(weaponid_, other->weaponid_);
  42010. std::swap(count_, other->count_);
  42011. std::swap(_has_bits_[0], other->_has_bits_[0]);
  42012. _unknown_fields_.Swap(&other->_unknown_fields_);
  42013. std::swap(_cached_size_, other->_cached_size_);
  42014. }
  42015. }
  42016. ::google::protobuf::Metadata weaponInfo::GetMetadata() const {
  42017. protobuf_AssignDescriptorsOnce();
  42018. ::google::protobuf::Metadata metadata;
  42019. metadata.descriptor = weaponInfo_descriptor_;
  42020. metadata.reflection = weaponInfo_reflection_;
  42021. return metadata;
  42022. }
  42023. // ===================================================================
  42024. #ifndef _MSC_VER
  42025. const int packetw2c_syn_kill_demons_info::kPacketIdFieldNumber;
  42026. const int packetw2c_syn_kill_demons_info::kActivityStateFieldNumber;
  42027. const int packetw2c_syn_kill_demons_info::kStartTimeFieldNumber;
  42028. const int packetw2c_syn_kill_demons_info::kEndTimeFieldNumber;
  42029. const int packetw2c_syn_kill_demons_info::kTrialScoreFieldNumber;
  42030. const int packetw2c_syn_kill_demons_info::kTrialScoreHistoryFieldNumber;
  42031. const int packetw2c_syn_kill_demons_info::kSwordEnergyFieldNumber;
  42032. const int packetw2c_syn_kill_demons_info::kSmeltTimesFieldNumber;
  42033. const int packetw2c_syn_kill_demons_info::kHuntDemonScoreFieldNumber;
  42034. const int packetw2c_syn_kill_demons_info::kReceiveTrialFieldNumber;
  42035. const int packetw2c_syn_kill_demons_info::kReceiveSwordEnergyFieldNumber;
  42036. const int packetw2c_syn_kill_demons_info::kReceiveStarFieldNumber;
  42037. const int packetw2c_syn_kill_demons_info::kTowerListFieldNumber;
  42038. const int packetw2c_syn_kill_demons_info::kWeaponListFieldNumber;
  42039. const int packetw2c_syn_kill_demons_info::kStarCountFieldNumber;
  42040. #endif // !_MSC_VER
  42041. packetw2c_syn_kill_demons_info::packetw2c_syn_kill_demons_info()
  42042. : ::google::protobuf::Message() {
  42043. SharedCtor();
  42044. }
  42045. void packetw2c_syn_kill_demons_info::InitAsDefaultInstance() {
  42046. }
  42047. packetw2c_syn_kill_demons_info::packetw2c_syn_kill_demons_info(const packetw2c_syn_kill_demons_info& from)
  42048. : ::google::protobuf::Message() {
  42049. SharedCtor();
  42050. MergeFrom(from);
  42051. }
  42052. void packetw2c_syn_kill_demons_info::SharedCtor() {
  42053. _cached_size_ = 0;
  42054. packet_id_ = 7738;
  42055. activitystate_ = 0;
  42056. starttime_ = 0;
  42057. endtime_ = 0;
  42058. trialscore_ = 0;
  42059. trialscorehistory_ = 0;
  42060. swordenergy_ = 0;
  42061. smelttimes_ = 0;
  42062. huntdemonscore_ = 0;
  42063. starcount_ = 0;
  42064. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  42065. }
  42066. packetw2c_syn_kill_demons_info::~packetw2c_syn_kill_demons_info() {
  42067. SharedDtor();
  42068. }
  42069. void packetw2c_syn_kill_demons_info::SharedDtor() {
  42070. if (this != default_instance_) {
  42071. }
  42072. }
  42073. void packetw2c_syn_kill_demons_info::SetCachedSize(int size) const {
  42074. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  42075. _cached_size_ = size;
  42076. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  42077. }
  42078. const ::google::protobuf::Descriptor* packetw2c_syn_kill_demons_info::descriptor() {
  42079. protobuf_AssignDescriptorsOnce();
  42080. return packetw2c_syn_kill_demons_info_descriptor_;
  42081. }
  42082. const packetw2c_syn_kill_demons_info& packetw2c_syn_kill_demons_info::default_instance() {
  42083. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  42084. return *default_instance_;
  42085. }
  42086. packetw2c_syn_kill_demons_info* packetw2c_syn_kill_demons_info::default_instance_ = NULL;
  42087. packetw2c_syn_kill_demons_info* packetw2c_syn_kill_demons_info::New() const {
  42088. return new packetw2c_syn_kill_demons_info;
  42089. }
  42090. void packetw2c_syn_kill_demons_info::Clear() {
  42091. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  42092. packet_id_ = 7738;
  42093. activitystate_ = 0;
  42094. starttime_ = 0;
  42095. endtime_ = 0;
  42096. trialscore_ = 0;
  42097. trialscorehistory_ = 0;
  42098. swordenergy_ = 0;
  42099. smelttimes_ = 0;
  42100. }
  42101. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  42102. huntdemonscore_ = 0;
  42103. starcount_ = 0;
  42104. }
  42105. receivetrial_.Clear();
  42106. receiveswordenergy_.Clear();
  42107. receivestar_.Clear();
  42108. towerlist_.Clear();
  42109. weaponlist_.Clear();
  42110. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  42111. mutable_unknown_fields()->Clear();
  42112. }
  42113. bool packetw2c_syn_kill_demons_info::MergePartialFromCodedStream(
  42114. ::google::protobuf::io::CodedInputStream* input) {
  42115. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  42116. ::google::protobuf::uint32 tag;
  42117. while ((tag = input->ReadTag()) != 0) {
  42118. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  42119. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kill_demons_info];
  42120. case 1: {
  42121. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42122. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42123. int value;
  42124. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42125. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  42126. input, &value)));
  42127. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  42128. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  42129. } else {
  42130. mutable_unknown_fields()->AddVarint(1, value);
  42131. }
  42132. } else {
  42133. goto handle_uninterpreted;
  42134. }
  42135. if (input->ExpectTag(16)) goto parse_activityState;
  42136. break;
  42137. }
  42138. // optional int32 activityState = 2;
  42139. case 2: {
  42140. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42141. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42142. parse_activityState:
  42143. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42144. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42145. input, &activitystate_)));
  42146. set_has_activitystate();
  42147. } else {
  42148. goto handle_uninterpreted;
  42149. }
  42150. if (input->ExpectTag(24)) goto parse_startTime;
  42151. break;
  42152. }
  42153. // optional int32 startTime = 3;
  42154. case 3: {
  42155. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42156. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42157. parse_startTime:
  42158. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42159. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42160. input, &starttime_)));
  42161. set_has_starttime();
  42162. } else {
  42163. goto handle_uninterpreted;
  42164. }
  42165. if (input->ExpectTag(32)) goto parse_endTime;
  42166. break;
  42167. }
  42168. // optional int32 endTime = 4;
  42169. case 4: {
  42170. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42171. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42172. parse_endTime:
  42173. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42174. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42175. input, &endtime_)));
  42176. set_has_endtime();
  42177. } else {
  42178. goto handle_uninterpreted;
  42179. }
  42180. if (input->ExpectTag(40)) goto parse_trialScore;
  42181. break;
  42182. }
  42183. // optional int32 trialScore = 5;
  42184. case 5: {
  42185. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42186. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42187. parse_trialScore:
  42188. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42189. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42190. input, &trialscore_)));
  42191. set_has_trialscore();
  42192. } else {
  42193. goto handle_uninterpreted;
  42194. }
  42195. if (input->ExpectTag(48)) goto parse_trialScoreHistory;
  42196. break;
  42197. }
  42198. // optional int32 trialScoreHistory = 6;
  42199. case 6: {
  42200. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42201. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42202. parse_trialScoreHistory:
  42203. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42204. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42205. input, &trialscorehistory_)));
  42206. set_has_trialscorehistory();
  42207. } else {
  42208. goto handle_uninterpreted;
  42209. }
  42210. if (input->ExpectTag(56)) goto parse_swordEnergy;
  42211. break;
  42212. }
  42213. // optional int32 swordEnergy = 7;
  42214. case 7: {
  42215. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42216. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42217. parse_swordEnergy:
  42218. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42219. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42220. input, &swordenergy_)));
  42221. set_has_swordenergy();
  42222. } else {
  42223. goto handle_uninterpreted;
  42224. }
  42225. if (input->ExpectTag(64)) goto parse_smeltTimes;
  42226. break;
  42227. }
  42228. // optional int32 smeltTimes = 8;
  42229. case 8: {
  42230. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42231. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42232. parse_smeltTimes:
  42233. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42234. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42235. input, &smelttimes_)));
  42236. set_has_smelttimes();
  42237. } else {
  42238. goto handle_uninterpreted;
  42239. }
  42240. if (input->ExpectTag(72)) goto parse_huntDemonScore;
  42241. break;
  42242. }
  42243. // optional int32 huntDemonScore = 9;
  42244. case 9: {
  42245. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42246. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42247. parse_huntDemonScore:
  42248. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42249. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42250. input, &huntdemonscore_)));
  42251. set_has_huntdemonscore();
  42252. } else {
  42253. goto handle_uninterpreted;
  42254. }
  42255. if (input->ExpectTag(80)) goto parse_receiveTrial;
  42256. break;
  42257. }
  42258. // repeated bool receiveTrial = 10;
  42259. case 10: {
  42260. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42261. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42262. parse_receiveTrial:
  42263. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  42264. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  42265. 1, 80, input, this->mutable_receivetrial())));
  42266. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  42267. == ::google::protobuf::internal::WireFormatLite::
  42268. WIRETYPE_LENGTH_DELIMITED) {
  42269. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  42270. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  42271. input, this->mutable_receivetrial())));
  42272. } else {
  42273. goto handle_uninterpreted;
  42274. }
  42275. if (input->ExpectTag(80)) goto parse_receiveTrial;
  42276. if (input->ExpectTag(88)) goto parse_receiveSwordEnergy;
  42277. break;
  42278. }
  42279. // repeated bool receiveSwordEnergy = 11;
  42280. case 11: {
  42281. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42282. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42283. parse_receiveSwordEnergy:
  42284. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  42285. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  42286. 1, 88, input, this->mutable_receiveswordenergy())));
  42287. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  42288. == ::google::protobuf::internal::WireFormatLite::
  42289. WIRETYPE_LENGTH_DELIMITED) {
  42290. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  42291. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  42292. input, this->mutable_receiveswordenergy())));
  42293. } else {
  42294. goto handle_uninterpreted;
  42295. }
  42296. if (input->ExpectTag(88)) goto parse_receiveSwordEnergy;
  42297. if (input->ExpectTag(96)) goto parse_receiveStar;
  42298. break;
  42299. }
  42300. // repeated bool receiveStar = 12;
  42301. case 12: {
  42302. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42303. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42304. parse_receiveStar:
  42305. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  42306. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  42307. 1, 96, input, this->mutable_receivestar())));
  42308. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  42309. == ::google::protobuf::internal::WireFormatLite::
  42310. WIRETYPE_LENGTH_DELIMITED) {
  42311. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  42312. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  42313. input, this->mutable_receivestar())));
  42314. } else {
  42315. goto handle_uninterpreted;
  42316. }
  42317. if (input->ExpectTag(96)) goto parse_receiveStar;
  42318. if (input->ExpectTag(114)) goto parse_towerList;
  42319. break;
  42320. }
  42321. // repeated .client2world_protocols.demonTowerInfo towerList = 14;
  42322. case 14: {
  42323. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42324. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  42325. parse_towerList:
  42326. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  42327. input, add_towerlist()));
  42328. } else {
  42329. goto handle_uninterpreted;
  42330. }
  42331. if (input->ExpectTag(114)) goto parse_towerList;
  42332. if (input->ExpectTag(122)) goto parse_weaponList;
  42333. break;
  42334. }
  42335. // repeated .client2world_protocols.weaponInfo weaponList = 15;
  42336. case 15: {
  42337. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42338. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  42339. parse_weaponList:
  42340. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  42341. input, add_weaponlist()));
  42342. } else {
  42343. goto handle_uninterpreted;
  42344. }
  42345. if (input->ExpectTag(122)) goto parse_weaponList;
  42346. if (input->ExpectTag(128)) goto parse_starCount;
  42347. break;
  42348. }
  42349. // optional int32 starCount = 16;
  42350. case 16: {
  42351. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42352. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42353. parse_starCount:
  42354. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42355. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42356. input, &starcount_)));
  42357. set_has_starcount();
  42358. } else {
  42359. goto handle_uninterpreted;
  42360. }
  42361. if (input->ExpectAtEnd()) return true;
  42362. break;
  42363. }
  42364. default: {
  42365. handle_uninterpreted:
  42366. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42367. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  42368. return true;
  42369. }
  42370. DO_(::google::protobuf::internal::WireFormat::SkipField(
  42371. input, tag, mutable_unknown_fields()));
  42372. break;
  42373. }
  42374. }
  42375. }
  42376. return true;
  42377. #undef DO_
  42378. }
  42379. void packetw2c_syn_kill_demons_info::SerializeWithCachedSizes(
  42380. ::google::protobuf::io::CodedOutputStream* output) const {
  42381. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kill_demons_info];
  42382. if (has_packet_id()) {
  42383. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  42384. 1, this->packet_id(), output);
  42385. }
  42386. // optional int32 activityState = 2;
  42387. if (has_activitystate()) {
  42388. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  42389. }
  42390. // optional int32 startTime = 3;
  42391. if (has_starttime()) {
  42392. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  42393. }
  42394. // optional int32 endTime = 4;
  42395. if (has_endtime()) {
  42396. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  42397. }
  42398. // optional int32 trialScore = 5;
  42399. if (has_trialscore()) {
  42400. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->trialscore(), output);
  42401. }
  42402. // optional int32 trialScoreHistory = 6;
  42403. if (has_trialscorehistory()) {
  42404. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->trialscorehistory(), output);
  42405. }
  42406. // optional int32 swordEnergy = 7;
  42407. if (has_swordenergy()) {
  42408. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->swordenergy(), output);
  42409. }
  42410. // optional int32 smeltTimes = 8;
  42411. if (has_smelttimes()) {
  42412. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->smelttimes(), output);
  42413. }
  42414. // optional int32 huntDemonScore = 9;
  42415. if (has_huntdemonscore()) {
  42416. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->huntdemonscore(), output);
  42417. }
  42418. // repeated bool receiveTrial = 10;
  42419. for (int i = 0; i < this->receivetrial_size(); i++) {
  42420. ::google::protobuf::internal::WireFormatLite::WriteBool(
  42421. 10, this->receivetrial(i), output);
  42422. }
  42423. // repeated bool receiveSwordEnergy = 11;
  42424. for (int i = 0; i < this->receiveswordenergy_size(); i++) {
  42425. ::google::protobuf::internal::WireFormatLite::WriteBool(
  42426. 11, this->receiveswordenergy(i), output);
  42427. }
  42428. // repeated bool receiveStar = 12;
  42429. for (int i = 0; i < this->receivestar_size(); i++) {
  42430. ::google::protobuf::internal::WireFormatLite::WriteBool(
  42431. 12, this->receivestar(i), output);
  42432. }
  42433. // repeated .client2world_protocols.demonTowerInfo towerList = 14;
  42434. for (int i = 0; i < this->towerlist_size(); i++) {
  42435. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  42436. 14, this->towerlist(i), output);
  42437. }
  42438. // repeated .client2world_protocols.weaponInfo weaponList = 15;
  42439. for (int i = 0; i < this->weaponlist_size(); i++) {
  42440. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  42441. 15, this->weaponlist(i), output);
  42442. }
  42443. // optional int32 starCount = 16;
  42444. if (has_starcount()) {
  42445. ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->starcount(), output);
  42446. }
  42447. if (!unknown_fields().empty()) {
  42448. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  42449. unknown_fields(), output);
  42450. }
  42451. }
  42452. ::google::protobuf::uint8* packetw2c_syn_kill_demons_info::SerializeWithCachedSizesToArray(
  42453. ::google::protobuf::uint8* target) const {
  42454. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kill_demons_info];
  42455. if (has_packet_id()) {
  42456. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  42457. 1, this->packet_id(), target);
  42458. }
  42459. // optional int32 activityState = 2;
  42460. if (has_activitystate()) {
  42461. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  42462. }
  42463. // optional int32 startTime = 3;
  42464. if (has_starttime()) {
  42465. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  42466. }
  42467. // optional int32 endTime = 4;
  42468. if (has_endtime()) {
  42469. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  42470. }
  42471. // optional int32 trialScore = 5;
  42472. if (has_trialscore()) {
  42473. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->trialscore(), target);
  42474. }
  42475. // optional int32 trialScoreHistory = 6;
  42476. if (has_trialscorehistory()) {
  42477. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->trialscorehistory(), target);
  42478. }
  42479. // optional int32 swordEnergy = 7;
  42480. if (has_swordenergy()) {
  42481. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->swordenergy(), target);
  42482. }
  42483. // optional int32 smeltTimes = 8;
  42484. if (has_smelttimes()) {
  42485. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->smelttimes(), target);
  42486. }
  42487. // optional int32 huntDemonScore = 9;
  42488. if (has_huntdemonscore()) {
  42489. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->huntdemonscore(), target);
  42490. }
  42491. // repeated bool receiveTrial = 10;
  42492. for (int i = 0; i < this->receivetrial_size(); i++) {
  42493. target = ::google::protobuf::internal::WireFormatLite::
  42494. WriteBoolToArray(10, this->receivetrial(i), target);
  42495. }
  42496. // repeated bool receiveSwordEnergy = 11;
  42497. for (int i = 0; i < this->receiveswordenergy_size(); i++) {
  42498. target = ::google::protobuf::internal::WireFormatLite::
  42499. WriteBoolToArray(11, this->receiveswordenergy(i), target);
  42500. }
  42501. // repeated bool receiveStar = 12;
  42502. for (int i = 0; i < this->receivestar_size(); i++) {
  42503. target = ::google::protobuf::internal::WireFormatLite::
  42504. WriteBoolToArray(12, this->receivestar(i), target);
  42505. }
  42506. // repeated .client2world_protocols.demonTowerInfo towerList = 14;
  42507. for (int i = 0; i < this->towerlist_size(); i++) {
  42508. target = ::google::protobuf::internal::WireFormatLite::
  42509. WriteMessageNoVirtualToArray(
  42510. 14, this->towerlist(i), target);
  42511. }
  42512. // repeated .client2world_protocols.weaponInfo weaponList = 15;
  42513. for (int i = 0; i < this->weaponlist_size(); i++) {
  42514. target = ::google::protobuf::internal::WireFormatLite::
  42515. WriteMessageNoVirtualToArray(
  42516. 15, this->weaponlist(i), target);
  42517. }
  42518. // optional int32 starCount = 16;
  42519. if (has_starcount()) {
  42520. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->starcount(), target);
  42521. }
  42522. if (!unknown_fields().empty()) {
  42523. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  42524. unknown_fields(), target);
  42525. }
  42526. return target;
  42527. }
  42528. int packetw2c_syn_kill_demons_info::ByteSize() const {
  42529. int total_size = 0;
  42530. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  42531. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kill_demons_info];
  42532. if (has_packet_id()) {
  42533. total_size += 1 +
  42534. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  42535. }
  42536. // optional int32 activityState = 2;
  42537. if (has_activitystate()) {
  42538. total_size += 1 +
  42539. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42540. this->activitystate());
  42541. }
  42542. // optional int32 startTime = 3;
  42543. if (has_starttime()) {
  42544. total_size += 1 +
  42545. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42546. this->starttime());
  42547. }
  42548. // optional int32 endTime = 4;
  42549. if (has_endtime()) {
  42550. total_size += 1 +
  42551. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42552. this->endtime());
  42553. }
  42554. // optional int32 trialScore = 5;
  42555. if (has_trialscore()) {
  42556. total_size += 1 +
  42557. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42558. this->trialscore());
  42559. }
  42560. // optional int32 trialScoreHistory = 6;
  42561. if (has_trialscorehistory()) {
  42562. total_size += 1 +
  42563. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42564. this->trialscorehistory());
  42565. }
  42566. // optional int32 swordEnergy = 7;
  42567. if (has_swordenergy()) {
  42568. total_size += 1 +
  42569. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42570. this->swordenergy());
  42571. }
  42572. // optional int32 smeltTimes = 8;
  42573. if (has_smelttimes()) {
  42574. total_size += 1 +
  42575. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42576. this->smelttimes());
  42577. }
  42578. }
  42579. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  42580. // optional int32 huntDemonScore = 9;
  42581. if (has_huntdemonscore()) {
  42582. total_size += 1 +
  42583. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42584. this->huntdemonscore());
  42585. }
  42586. // optional int32 starCount = 16;
  42587. if (has_starcount()) {
  42588. total_size += 2 +
  42589. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42590. this->starcount());
  42591. }
  42592. }
  42593. // repeated bool receiveTrial = 10;
  42594. {
  42595. int data_size = 0;
  42596. data_size = 1 * this->receivetrial_size();
  42597. total_size += 1 * this->receivetrial_size() + data_size;
  42598. }
  42599. // repeated bool receiveSwordEnergy = 11;
  42600. {
  42601. int data_size = 0;
  42602. data_size = 1 * this->receiveswordenergy_size();
  42603. total_size += 1 * this->receiveswordenergy_size() + data_size;
  42604. }
  42605. // repeated bool receiveStar = 12;
  42606. {
  42607. int data_size = 0;
  42608. data_size = 1 * this->receivestar_size();
  42609. total_size += 1 * this->receivestar_size() + data_size;
  42610. }
  42611. // repeated .client2world_protocols.demonTowerInfo towerList = 14;
  42612. total_size += 1 * this->towerlist_size();
  42613. for (int i = 0; i < this->towerlist_size(); i++) {
  42614. total_size +=
  42615. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  42616. this->towerlist(i));
  42617. }
  42618. // repeated .client2world_protocols.weaponInfo weaponList = 15;
  42619. total_size += 1 * this->weaponlist_size();
  42620. for (int i = 0; i < this->weaponlist_size(); i++) {
  42621. total_size +=
  42622. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  42623. this->weaponlist(i));
  42624. }
  42625. if (!unknown_fields().empty()) {
  42626. total_size +=
  42627. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  42628. unknown_fields());
  42629. }
  42630. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  42631. _cached_size_ = total_size;
  42632. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  42633. return total_size;
  42634. }
  42635. void packetw2c_syn_kill_demons_info::MergeFrom(const ::google::protobuf::Message& from) {
  42636. GOOGLE_CHECK_NE(&from, this);
  42637. const packetw2c_syn_kill_demons_info* source =
  42638. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_kill_demons_info*>(
  42639. &from);
  42640. if (source == NULL) {
  42641. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  42642. } else {
  42643. MergeFrom(*source);
  42644. }
  42645. }
  42646. void packetw2c_syn_kill_demons_info::MergeFrom(const packetw2c_syn_kill_demons_info& from) {
  42647. GOOGLE_CHECK_NE(&from, this);
  42648. receivetrial_.MergeFrom(from.receivetrial_);
  42649. receiveswordenergy_.MergeFrom(from.receiveswordenergy_);
  42650. receivestar_.MergeFrom(from.receivestar_);
  42651. towerlist_.MergeFrom(from.towerlist_);
  42652. weaponlist_.MergeFrom(from.weaponlist_);
  42653. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  42654. if (from.has_packet_id()) {
  42655. set_packet_id(from.packet_id());
  42656. }
  42657. if (from.has_activitystate()) {
  42658. set_activitystate(from.activitystate());
  42659. }
  42660. if (from.has_starttime()) {
  42661. set_starttime(from.starttime());
  42662. }
  42663. if (from.has_endtime()) {
  42664. set_endtime(from.endtime());
  42665. }
  42666. if (from.has_trialscore()) {
  42667. set_trialscore(from.trialscore());
  42668. }
  42669. if (from.has_trialscorehistory()) {
  42670. set_trialscorehistory(from.trialscorehistory());
  42671. }
  42672. if (from.has_swordenergy()) {
  42673. set_swordenergy(from.swordenergy());
  42674. }
  42675. if (from.has_smelttimes()) {
  42676. set_smelttimes(from.smelttimes());
  42677. }
  42678. }
  42679. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  42680. if (from.has_huntdemonscore()) {
  42681. set_huntdemonscore(from.huntdemonscore());
  42682. }
  42683. if (from.has_starcount()) {
  42684. set_starcount(from.starcount());
  42685. }
  42686. }
  42687. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  42688. }
  42689. void packetw2c_syn_kill_demons_info::CopyFrom(const ::google::protobuf::Message& from) {
  42690. if (&from == this) return;
  42691. Clear();
  42692. MergeFrom(from);
  42693. }
  42694. void packetw2c_syn_kill_demons_info::CopyFrom(const packetw2c_syn_kill_demons_info& from) {
  42695. if (&from == this) return;
  42696. Clear();
  42697. MergeFrom(from);
  42698. }
  42699. bool packetw2c_syn_kill_demons_info::IsInitialized() const {
  42700. return true;
  42701. }
  42702. void packetw2c_syn_kill_demons_info::Swap(packetw2c_syn_kill_demons_info* other) {
  42703. if (other != this) {
  42704. std::swap(packet_id_, other->packet_id_);
  42705. std::swap(activitystate_, other->activitystate_);
  42706. std::swap(starttime_, other->starttime_);
  42707. std::swap(endtime_, other->endtime_);
  42708. std::swap(trialscore_, other->trialscore_);
  42709. std::swap(trialscorehistory_, other->trialscorehistory_);
  42710. std::swap(swordenergy_, other->swordenergy_);
  42711. std::swap(smelttimes_, other->smelttimes_);
  42712. std::swap(huntdemonscore_, other->huntdemonscore_);
  42713. receivetrial_.Swap(&other->receivetrial_);
  42714. receiveswordenergy_.Swap(&other->receiveswordenergy_);
  42715. receivestar_.Swap(&other->receivestar_);
  42716. towerlist_.Swap(&other->towerlist_);
  42717. weaponlist_.Swap(&other->weaponlist_);
  42718. std::swap(starcount_, other->starcount_);
  42719. std::swap(_has_bits_[0], other->_has_bits_[0]);
  42720. _unknown_fields_.Swap(&other->_unknown_fields_);
  42721. std::swap(_cached_size_, other->_cached_size_);
  42722. }
  42723. }
  42724. ::google::protobuf::Metadata packetw2c_syn_kill_demons_info::GetMetadata() const {
  42725. protobuf_AssignDescriptorsOnce();
  42726. ::google::protobuf::Metadata metadata;
  42727. metadata.descriptor = packetw2c_syn_kill_demons_info_descriptor_;
  42728. metadata.reflection = packetw2c_syn_kill_demons_info_reflection_;
  42729. return metadata;
  42730. }
  42731. // ===================================================================
  42732. #ifndef _MSC_VER
  42733. const int packetc2w_recv_kill_demons_quest_award::kPacketIdFieldNumber;
  42734. const int packetc2w_recv_kill_demons_quest_award::kQuestIdFieldNumber;
  42735. #endif // !_MSC_VER
  42736. packetc2w_recv_kill_demons_quest_award::packetc2w_recv_kill_demons_quest_award()
  42737. : ::google::protobuf::Message() {
  42738. SharedCtor();
  42739. }
  42740. void packetc2w_recv_kill_demons_quest_award::InitAsDefaultInstance() {
  42741. }
  42742. packetc2w_recv_kill_demons_quest_award::packetc2w_recv_kill_demons_quest_award(const packetc2w_recv_kill_demons_quest_award& from)
  42743. : ::google::protobuf::Message() {
  42744. SharedCtor();
  42745. MergeFrom(from);
  42746. }
  42747. void packetc2w_recv_kill_demons_quest_award::SharedCtor() {
  42748. _cached_size_ = 0;
  42749. packet_id_ = 5206;
  42750. questid_ = 0;
  42751. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  42752. }
  42753. packetc2w_recv_kill_demons_quest_award::~packetc2w_recv_kill_demons_quest_award() {
  42754. SharedDtor();
  42755. }
  42756. void packetc2w_recv_kill_demons_quest_award::SharedDtor() {
  42757. if (this != default_instance_) {
  42758. }
  42759. }
  42760. void packetc2w_recv_kill_demons_quest_award::SetCachedSize(int size) const {
  42761. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  42762. _cached_size_ = size;
  42763. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  42764. }
  42765. const ::google::protobuf::Descriptor* packetc2w_recv_kill_demons_quest_award::descriptor() {
  42766. protobuf_AssignDescriptorsOnce();
  42767. return packetc2w_recv_kill_demons_quest_award_descriptor_;
  42768. }
  42769. const packetc2w_recv_kill_demons_quest_award& packetc2w_recv_kill_demons_quest_award::default_instance() {
  42770. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  42771. return *default_instance_;
  42772. }
  42773. packetc2w_recv_kill_demons_quest_award* packetc2w_recv_kill_demons_quest_award::default_instance_ = NULL;
  42774. packetc2w_recv_kill_demons_quest_award* packetc2w_recv_kill_demons_quest_award::New() const {
  42775. return new packetc2w_recv_kill_demons_quest_award;
  42776. }
  42777. void packetc2w_recv_kill_demons_quest_award::Clear() {
  42778. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  42779. packet_id_ = 5206;
  42780. questid_ = 0;
  42781. }
  42782. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  42783. mutable_unknown_fields()->Clear();
  42784. }
  42785. bool packetc2w_recv_kill_demons_quest_award::MergePartialFromCodedStream(
  42786. ::google::protobuf::io::CodedInputStream* input) {
  42787. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  42788. ::google::protobuf::uint32 tag;
  42789. while ((tag = input->ReadTag()) != 0) {
  42790. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  42791. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_kill_demons_quest_award];
  42792. case 1: {
  42793. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42794. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42795. int value;
  42796. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42797. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  42798. input, &value)));
  42799. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  42800. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  42801. } else {
  42802. mutable_unknown_fields()->AddVarint(1, value);
  42803. }
  42804. } else {
  42805. goto handle_uninterpreted;
  42806. }
  42807. if (input->ExpectTag(16)) goto parse_questId;
  42808. break;
  42809. }
  42810. // optional int32 questId = 2;
  42811. case 2: {
  42812. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42813. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  42814. parse_questId:
  42815. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  42816. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  42817. input, &questid_)));
  42818. set_has_questid();
  42819. } else {
  42820. goto handle_uninterpreted;
  42821. }
  42822. if (input->ExpectAtEnd()) return true;
  42823. break;
  42824. }
  42825. default: {
  42826. handle_uninterpreted:
  42827. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  42828. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  42829. return true;
  42830. }
  42831. DO_(::google::protobuf::internal::WireFormat::SkipField(
  42832. input, tag, mutable_unknown_fields()));
  42833. break;
  42834. }
  42835. }
  42836. }
  42837. return true;
  42838. #undef DO_
  42839. }
  42840. void packetc2w_recv_kill_demons_quest_award::SerializeWithCachedSizes(
  42841. ::google::protobuf::io::CodedOutputStream* output) const {
  42842. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_kill_demons_quest_award];
  42843. if (has_packet_id()) {
  42844. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  42845. 1, this->packet_id(), output);
  42846. }
  42847. // optional int32 questId = 2;
  42848. if (has_questid()) {
  42849. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  42850. }
  42851. if (!unknown_fields().empty()) {
  42852. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  42853. unknown_fields(), output);
  42854. }
  42855. }
  42856. ::google::protobuf::uint8* packetc2w_recv_kill_demons_quest_award::SerializeWithCachedSizesToArray(
  42857. ::google::protobuf::uint8* target) const {
  42858. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_kill_demons_quest_award];
  42859. if (has_packet_id()) {
  42860. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  42861. 1, this->packet_id(), target);
  42862. }
  42863. // optional int32 questId = 2;
  42864. if (has_questid()) {
  42865. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  42866. }
  42867. if (!unknown_fields().empty()) {
  42868. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  42869. unknown_fields(), target);
  42870. }
  42871. return target;
  42872. }
  42873. int packetc2w_recv_kill_demons_quest_award::ByteSize() const {
  42874. int total_size = 0;
  42875. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  42876. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_kill_demons_quest_award];
  42877. if (has_packet_id()) {
  42878. total_size += 1 +
  42879. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  42880. }
  42881. // optional int32 questId = 2;
  42882. if (has_questid()) {
  42883. total_size += 1 +
  42884. ::google::protobuf::internal::WireFormatLite::Int32Size(
  42885. this->questid());
  42886. }
  42887. }
  42888. if (!unknown_fields().empty()) {
  42889. total_size +=
  42890. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  42891. unknown_fields());
  42892. }
  42893. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  42894. _cached_size_ = total_size;
  42895. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  42896. return total_size;
  42897. }
  42898. void packetc2w_recv_kill_demons_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  42899. GOOGLE_CHECK_NE(&from, this);
  42900. const packetc2w_recv_kill_demons_quest_award* source =
  42901. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_kill_demons_quest_award*>(
  42902. &from);
  42903. if (source == NULL) {
  42904. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  42905. } else {
  42906. MergeFrom(*source);
  42907. }
  42908. }
  42909. void packetc2w_recv_kill_demons_quest_award::MergeFrom(const packetc2w_recv_kill_demons_quest_award& from) {
  42910. GOOGLE_CHECK_NE(&from, this);
  42911. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  42912. if (from.has_packet_id()) {
  42913. set_packet_id(from.packet_id());
  42914. }
  42915. if (from.has_questid()) {
  42916. set_questid(from.questid());
  42917. }
  42918. }
  42919. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  42920. }
  42921. void packetc2w_recv_kill_demons_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  42922. if (&from == this) return;
  42923. Clear();
  42924. MergeFrom(from);
  42925. }
  42926. void packetc2w_recv_kill_demons_quest_award::CopyFrom(const packetc2w_recv_kill_demons_quest_award& from) {
  42927. if (&from == this) return;
  42928. Clear();
  42929. MergeFrom(from);
  42930. }
  42931. bool packetc2w_recv_kill_demons_quest_award::IsInitialized() const {
  42932. return true;
  42933. }
  42934. void packetc2w_recv_kill_demons_quest_award::Swap(packetc2w_recv_kill_demons_quest_award* other) {
  42935. if (other != this) {
  42936. std::swap(packet_id_, other->packet_id_);
  42937. std::swap(questid_, other->questid_);
  42938. std::swap(_has_bits_[0], other->_has_bits_[0]);
  42939. _unknown_fields_.Swap(&other->_unknown_fields_);
  42940. std::swap(_cached_size_, other->_cached_size_);
  42941. }
  42942. }
  42943. ::google::protobuf::Metadata packetc2w_recv_kill_demons_quest_award::GetMetadata() const {
  42944. protobuf_AssignDescriptorsOnce();
  42945. ::google::protobuf::Metadata metadata;
  42946. metadata.descriptor = packetc2w_recv_kill_demons_quest_award_descriptor_;
  42947. metadata.reflection = packetc2w_recv_kill_demons_quest_award_reflection_;
  42948. return metadata;
  42949. }
  42950. // ===================================================================
  42951. #ifndef _MSC_VER
  42952. const int packetw2c_recv_kill_demons_quest_award_result::kPacketIdFieldNumber;
  42953. const int packetw2c_recv_kill_demons_quest_award_result::kResultFieldNumber;
  42954. const int packetw2c_recv_kill_demons_quest_award_result::kQuestIdFieldNumber;
  42955. const int packetw2c_recv_kill_demons_quest_award_result::kItemsFieldNumber;
  42956. #endif // !_MSC_VER
  42957. packetw2c_recv_kill_demons_quest_award_result::packetw2c_recv_kill_demons_quest_award_result()
  42958. : ::google::protobuf::Message() {
  42959. SharedCtor();
  42960. }
  42961. void packetw2c_recv_kill_demons_quest_award_result::InitAsDefaultInstance() {
  42962. }
  42963. packetw2c_recv_kill_demons_quest_award_result::packetw2c_recv_kill_demons_quest_award_result(const packetw2c_recv_kill_demons_quest_award_result& from)
  42964. : ::google::protobuf::Message() {
  42965. SharedCtor();
  42966. MergeFrom(from);
  42967. }
  42968. void packetw2c_recv_kill_demons_quest_award_result::SharedCtor() {
  42969. _cached_size_ = 0;
  42970. packet_id_ = 7739;
  42971. result_ = 0;
  42972. questid_ = 0;
  42973. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  42974. }
  42975. packetw2c_recv_kill_demons_quest_award_result::~packetw2c_recv_kill_demons_quest_award_result() {
  42976. SharedDtor();
  42977. }
  42978. void packetw2c_recv_kill_demons_quest_award_result::SharedDtor() {
  42979. if (this != default_instance_) {
  42980. }
  42981. }
  42982. void packetw2c_recv_kill_demons_quest_award_result::SetCachedSize(int size) const {
  42983. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  42984. _cached_size_ = size;
  42985. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  42986. }
  42987. const ::google::protobuf::Descriptor* packetw2c_recv_kill_demons_quest_award_result::descriptor() {
  42988. protobuf_AssignDescriptorsOnce();
  42989. return packetw2c_recv_kill_demons_quest_award_result_descriptor_;
  42990. }
  42991. const packetw2c_recv_kill_demons_quest_award_result& packetw2c_recv_kill_demons_quest_award_result::default_instance() {
  42992. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  42993. return *default_instance_;
  42994. }
  42995. packetw2c_recv_kill_demons_quest_award_result* packetw2c_recv_kill_demons_quest_award_result::default_instance_ = NULL;
  42996. packetw2c_recv_kill_demons_quest_award_result* packetw2c_recv_kill_demons_quest_award_result::New() const {
  42997. return new packetw2c_recv_kill_demons_quest_award_result;
  42998. }
  42999. void packetw2c_recv_kill_demons_quest_award_result::Clear() {
  43000. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43001. packet_id_ = 7739;
  43002. result_ = 0;
  43003. questid_ = 0;
  43004. }
  43005. items_.Clear();
  43006. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43007. mutable_unknown_fields()->Clear();
  43008. }
  43009. bool packetw2c_recv_kill_demons_quest_award_result::MergePartialFromCodedStream(
  43010. ::google::protobuf::io::CodedInputStream* input) {
  43011. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  43012. ::google::protobuf::uint32 tag;
  43013. while ((tag = input->ReadTag()) != 0) {
  43014. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  43015. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_kill_demons_quest_award_result];
  43016. case 1: {
  43017. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43018. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43019. int value;
  43020. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43021. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  43022. input, &value)));
  43023. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  43024. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  43025. } else {
  43026. mutable_unknown_fields()->AddVarint(1, value);
  43027. }
  43028. } else {
  43029. goto handle_uninterpreted;
  43030. }
  43031. if (input->ExpectTag(16)) goto parse_result;
  43032. break;
  43033. }
  43034. // optional int32 result = 2;
  43035. case 2: {
  43036. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43037. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43038. parse_result:
  43039. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43040. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  43041. input, &result_)));
  43042. set_has_result();
  43043. } else {
  43044. goto handle_uninterpreted;
  43045. }
  43046. if (input->ExpectTag(24)) goto parse_questId;
  43047. break;
  43048. }
  43049. // optional int32 questId = 3;
  43050. case 3: {
  43051. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43052. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43053. parse_questId:
  43054. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43055. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  43056. input, &questid_)));
  43057. set_has_questid();
  43058. } else {
  43059. goto handle_uninterpreted;
  43060. }
  43061. if (input->ExpectTag(50)) goto parse_items;
  43062. break;
  43063. }
  43064. // repeated .msg_info_def.ItemInfo items = 6;
  43065. case 6: {
  43066. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43067. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  43068. parse_items:
  43069. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  43070. input, add_items()));
  43071. } else {
  43072. goto handle_uninterpreted;
  43073. }
  43074. if (input->ExpectTag(50)) goto parse_items;
  43075. if (input->ExpectAtEnd()) return true;
  43076. break;
  43077. }
  43078. default: {
  43079. handle_uninterpreted:
  43080. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43081. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  43082. return true;
  43083. }
  43084. DO_(::google::protobuf::internal::WireFormat::SkipField(
  43085. input, tag, mutable_unknown_fields()));
  43086. break;
  43087. }
  43088. }
  43089. }
  43090. return true;
  43091. #undef DO_
  43092. }
  43093. void packetw2c_recv_kill_demons_quest_award_result::SerializeWithCachedSizes(
  43094. ::google::protobuf::io::CodedOutputStream* output) const {
  43095. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_kill_demons_quest_award_result];
  43096. if (has_packet_id()) {
  43097. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  43098. 1, this->packet_id(), output);
  43099. }
  43100. // optional int32 result = 2;
  43101. if (has_result()) {
  43102. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  43103. }
  43104. // optional int32 questId = 3;
  43105. if (has_questid()) {
  43106. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  43107. }
  43108. // repeated .msg_info_def.ItemInfo items = 6;
  43109. for (int i = 0; i < this->items_size(); i++) {
  43110. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  43111. 6, this->items(i), output);
  43112. }
  43113. if (!unknown_fields().empty()) {
  43114. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  43115. unknown_fields(), output);
  43116. }
  43117. }
  43118. ::google::protobuf::uint8* packetw2c_recv_kill_demons_quest_award_result::SerializeWithCachedSizesToArray(
  43119. ::google::protobuf::uint8* target) const {
  43120. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_kill_demons_quest_award_result];
  43121. if (has_packet_id()) {
  43122. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  43123. 1, this->packet_id(), target);
  43124. }
  43125. // optional int32 result = 2;
  43126. if (has_result()) {
  43127. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  43128. }
  43129. // optional int32 questId = 3;
  43130. if (has_questid()) {
  43131. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  43132. }
  43133. // repeated .msg_info_def.ItemInfo items = 6;
  43134. for (int i = 0; i < this->items_size(); i++) {
  43135. target = ::google::protobuf::internal::WireFormatLite::
  43136. WriteMessageNoVirtualToArray(
  43137. 6, this->items(i), target);
  43138. }
  43139. if (!unknown_fields().empty()) {
  43140. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  43141. unknown_fields(), target);
  43142. }
  43143. return target;
  43144. }
  43145. int packetw2c_recv_kill_demons_quest_award_result::ByteSize() const {
  43146. int total_size = 0;
  43147. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43148. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_kill_demons_quest_award_result];
  43149. if (has_packet_id()) {
  43150. total_size += 1 +
  43151. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  43152. }
  43153. // optional int32 result = 2;
  43154. if (has_result()) {
  43155. total_size += 1 +
  43156. ::google::protobuf::internal::WireFormatLite::Int32Size(
  43157. this->result());
  43158. }
  43159. // optional int32 questId = 3;
  43160. if (has_questid()) {
  43161. total_size += 1 +
  43162. ::google::protobuf::internal::WireFormatLite::Int32Size(
  43163. this->questid());
  43164. }
  43165. }
  43166. // repeated .msg_info_def.ItemInfo items = 6;
  43167. total_size += 1 * this->items_size();
  43168. for (int i = 0; i < this->items_size(); i++) {
  43169. total_size +=
  43170. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  43171. this->items(i));
  43172. }
  43173. if (!unknown_fields().empty()) {
  43174. total_size +=
  43175. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  43176. unknown_fields());
  43177. }
  43178. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  43179. _cached_size_ = total_size;
  43180. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  43181. return total_size;
  43182. }
  43183. void packetw2c_recv_kill_demons_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  43184. GOOGLE_CHECK_NE(&from, this);
  43185. const packetw2c_recv_kill_demons_quest_award_result* source =
  43186. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_kill_demons_quest_award_result*>(
  43187. &from);
  43188. if (source == NULL) {
  43189. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  43190. } else {
  43191. MergeFrom(*source);
  43192. }
  43193. }
  43194. void packetw2c_recv_kill_demons_quest_award_result::MergeFrom(const packetw2c_recv_kill_demons_quest_award_result& from) {
  43195. GOOGLE_CHECK_NE(&from, this);
  43196. items_.MergeFrom(from.items_);
  43197. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43198. if (from.has_packet_id()) {
  43199. set_packet_id(from.packet_id());
  43200. }
  43201. if (from.has_result()) {
  43202. set_result(from.result());
  43203. }
  43204. if (from.has_questid()) {
  43205. set_questid(from.questid());
  43206. }
  43207. }
  43208. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  43209. }
  43210. void packetw2c_recv_kill_demons_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  43211. if (&from == this) return;
  43212. Clear();
  43213. MergeFrom(from);
  43214. }
  43215. void packetw2c_recv_kill_demons_quest_award_result::CopyFrom(const packetw2c_recv_kill_demons_quest_award_result& from) {
  43216. if (&from == this) return;
  43217. Clear();
  43218. MergeFrom(from);
  43219. }
  43220. bool packetw2c_recv_kill_demons_quest_award_result::IsInitialized() const {
  43221. return true;
  43222. }
  43223. void packetw2c_recv_kill_demons_quest_award_result::Swap(packetw2c_recv_kill_demons_quest_award_result* other) {
  43224. if (other != this) {
  43225. std::swap(packet_id_, other->packet_id_);
  43226. std::swap(result_, other->result_);
  43227. std::swap(questid_, other->questid_);
  43228. items_.Swap(&other->items_);
  43229. std::swap(_has_bits_[0], other->_has_bits_[0]);
  43230. _unknown_fields_.Swap(&other->_unknown_fields_);
  43231. std::swap(_cached_size_, other->_cached_size_);
  43232. }
  43233. }
  43234. ::google::protobuf::Metadata packetw2c_recv_kill_demons_quest_award_result::GetMetadata() const {
  43235. protobuf_AssignDescriptorsOnce();
  43236. ::google::protobuf::Metadata metadata;
  43237. metadata.descriptor = packetw2c_recv_kill_demons_quest_award_result_descriptor_;
  43238. metadata.reflection = packetw2c_recv_kill_demons_quest_award_result_reflection_;
  43239. return metadata;
  43240. }
  43241. // ===================================================================
  43242. #ifndef _MSC_VER
  43243. const int packetc2w_recv_trial_score_award::kPacketIdFieldNumber;
  43244. const int packetc2w_recv_trial_score_award::kIndexFieldNumber;
  43245. #endif // !_MSC_VER
  43246. packetc2w_recv_trial_score_award::packetc2w_recv_trial_score_award()
  43247. : ::google::protobuf::Message() {
  43248. SharedCtor();
  43249. }
  43250. void packetc2w_recv_trial_score_award::InitAsDefaultInstance() {
  43251. }
  43252. packetc2w_recv_trial_score_award::packetc2w_recv_trial_score_award(const packetc2w_recv_trial_score_award& from)
  43253. : ::google::protobuf::Message() {
  43254. SharedCtor();
  43255. MergeFrom(from);
  43256. }
  43257. void packetc2w_recv_trial_score_award::SharedCtor() {
  43258. _cached_size_ = 0;
  43259. packet_id_ = 5211;
  43260. index_ = 0;
  43261. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43262. }
  43263. packetc2w_recv_trial_score_award::~packetc2w_recv_trial_score_award() {
  43264. SharedDtor();
  43265. }
  43266. void packetc2w_recv_trial_score_award::SharedDtor() {
  43267. if (this != default_instance_) {
  43268. }
  43269. }
  43270. void packetc2w_recv_trial_score_award::SetCachedSize(int size) const {
  43271. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  43272. _cached_size_ = size;
  43273. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  43274. }
  43275. const ::google::protobuf::Descriptor* packetc2w_recv_trial_score_award::descriptor() {
  43276. protobuf_AssignDescriptorsOnce();
  43277. return packetc2w_recv_trial_score_award_descriptor_;
  43278. }
  43279. const packetc2w_recv_trial_score_award& packetc2w_recv_trial_score_award::default_instance() {
  43280. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  43281. return *default_instance_;
  43282. }
  43283. packetc2w_recv_trial_score_award* packetc2w_recv_trial_score_award::default_instance_ = NULL;
  43284. packetc2w_recv_trial_score_award* packetc2w_recv_trial_score_award::New() const {
  43285. return new packetc2w_recv_trial_score_award;
  43286. }
  43287. void packetc2w_recv_trial_score_award::Clear() {
  43288. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43289. packet_id_ = 5211;
  43290. index_ = 0;
  43291. }
  43292. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43293. mutable_unknown_fields()->Clear();
  43294. }
  43295. bool packetc2w_recv_trial_score_award::MergePartialFromCodedStream(
  43296. ::google::protobuf::io::CodedInputStream* input) {
  43297. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  43298. ::google::protobuf::uint32 tag;
  43299. while ((tag = input->ReadTag()) != 0) {
  43300. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  43301. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_trial_score_award];
  43302. case 1: {
  43303. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43304. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43305. int value;
  43306. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43307. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  43308. input, &value)));
  43309. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  43310. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  43311. } else {
  43312. mutable_unknown_fields()->AddVarint(1, value);
  43313. }
  43314. } else {
  43315. goto handle_uninterpreted;
  43316. }
  43317. if (input->ExpectTag(16)) goto parse_index;
  43318. break;
  43319. }
  43320. // optional int32 index = 2;
  43321. case 2: {
  43322. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43323. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43324. parse_index:
  43325. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43326. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  43327. input, &index_)));
  43328. set_has_index();
  43329. } else {
  43330. goto handle_uninterpreted;
  43331. }
  43332. if (input->ExpectAtEnd()) return true;
  43333. break;
  43334. }
  43335. default: {
  43336. handle_uninterpreted:
  43337. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43338. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  43339. return true;
  43340. }
  43341. DO_(::google::protobuf::internal::WireFormat::SkipField(
  43342. input, tag, mutable_unknown_fields()));
  43343. break;
  43344. }
  43345. }
  43346. }
  43347. return true;
  43348. #undef DO_
  43349. }
  43350. void packetc2w_recv_trial_score_award::SerializeWithCachedSizes(
  43351. ::google::protobuf::io::CodedOutputStream* output) const {
  43352. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_trial_score_award];
  43353. if (has_packet_id()) {
  43354. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  43355. 1, this->packet_id(), output);
  43356. }
  43357. // optional int32 index = 2;
  43358. if (has_index()) {
  43359. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  43360. }
  43361. if (!unknown_fields().empty()) {
  43362. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  43363. unknown_fields(), output);
  43364. }
  43365. }
  43366. ::google::protobuf::uint8* packetc2w_recv_trial_score_award::SerializeWithCachedSizesToArray(
  43367. ::google::protobuf::uint8* target) const {
  43368. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_trial_score_award];
  43369. if (has_packet_id()) {
  43370. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  43371. 1, this->packet_id(), target);
  43372. }
  43373. // optional int32 index = 2;
  43374. if (has_index()) {
  43375. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  43376. }
  43377. if (!unknown_fields().empty()) {
  43378. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  43379. unknown_fields(), target);
  43380. }
  43381. return target;
  43382. }
  43383. int packetc2w_recv_trial_score_award::ByteSize() const {
  43384. int total_size = 0;
  43385. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43386. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_trial_score_award];
  43387. if (has_packet_id()) {
  43388. total_size += 1 +
  43389. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  43390. }
  43391. // optional int32 index = 2;
  43392. if (has_index()) {
  43393. total_size += 1 +
  43394. ::google::protobuf::internal::WireFormatLite::Int32Size(
  43395. this->index());
  43396. }
  43397. }
  43398. if (!unknown_fields().empty()) {
  43399. total_size +=
  43400. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  43401. unknown_fields());
  43402. }
  43403. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  43404. _cached_size_ = total_size;
  43405. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  43406. return total_size;
  43407. }
  43408. void packetc2w_recv_trial_score_award::MergeFrom(const ::google::protobuf::Message& from) {
  43409. GOOGLE_CHECK_NE(&from, this);
  43410. const packetc2w_recv_trial_score_award* source =
  43411. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_trial_score_award*>(
  43412. &from);
  43413. if (source == NULL) {
  43414. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  43415. } else {
  43416. MergeFrom(*source);
  43417. }
  43418. }
  43419. void packetc2w_recv_trial_score_award::MergeFrom(const packetc2w_recv_trial_score_award& from) {
  43420. GOOGLE_CHECK_NE(&from, this);
  43421. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43422. if (from.has_packet_id()) {
  43423. set_packet_id(from.packet_id());
  43424. }
  43425. if (from.has_index()) {
  43426. set_index(from.index());
  43427. }
  43428. }
  43429. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  43430. }
  43431. void packetc2w_recv_trial_score_award::CopyFrom(const ::google::protobuf::Message& from) {
  43432. if (&from == this) return;
  43433. Clear();
  43434. MergeFrom(from);
  43435. }
  43436. void packetc2w_recv_trial_score_award::CopyFrom(const packetc2w_recv_trial_score_award& from) {
  43437. if (&from == this) return;
  43438. Clear();
  43439. MergeFrom(from);
  43440. }
  43441. bool packetc2w_recv_trial_score_award::IsInitialized() const {
  43442. return true;
  43443. }
  43444. void packetc2w_recv_trial_score_award::Swap(packetc2w_recv_trial_score_award* other) {
  43445. if (other != this) {
  43446. std::swap(packet_id_, other->packet_id_);
  43447. std::swap(index_, other->index_);
  43448. std::swap(_has_bits_[0], other->_has_bits_[0]);
  43449. _unknown_fields_.Swap(&other->_unknown_fields_);
  43450. std::swap(_cached_size_, other->_cached_size_);
  43451. }
  43452. }
  43453. ::google::protobuf::Metadata packetc2w_recv_trial_score_award::GetMetadata() const {
  43454. protobuf_AssignDescriptorsOnce();
  43455. ::google::protobuf::Metadata metadata;
  43456. metadata.descriptor = packetc2w_recv_trial_score_award_descriptor_;
  43457. metadata.reflection = packetc2w_recv_trial_score_award_reflection_;
  43458. return metadata;
  43459. }
  43460. // ===================================================================
  43461. #ifndef _MSC_VER
  43462. const int packetw2c_recv_trial_score_award_result::kPacketIdFieldNumber;
  43463. const int packetw2c_recv_trial_score_award_result::kResultFieldNumber;
  43464. const int packetw2c_recv_trial_score_award_result::kIndexFieldNumber;
  43465. #endif // !_MSC_VER
  43466. packetw2c_recv_trial_score_award_result::packetw2c_recv_trial_score_award_result()
  43467. : ::google::protobuf::Message() {
  43468. SharedCtor();
  43469. }
  43470. void packetw2c_recv_trial_score_award_result::InitAsDefaultInstance() {
  43471. }
  43472. packetw2c_recv_trial_score_award_result::packetw2c_recv_trial_score_award_result(const packetw2c_recv_trial_score_award_result& from)
  43473. : ::google::protobuf::Message() {
  43474. SharedCtor();
  43475. MergeFrom(from);
  43476. }
  43477. void packetw2c_recv_trial_score_award_result::SharedCtor() {
  43478. _cached_size_ = 0;
  43479. packet_id_ = 7744;
  43480. result_ = 0;
  43481. index_ = 0;
  43482. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43483. }
  43484. packetw2c_recv_trial_score_award_result::~packetw2c_recv_trial_score_award_result() {
  43485. SharedDtor();
  43486. }
  43487. void packetw2c_recv_trial_score_award_result::SharedDtor() {
  43488. if (this != default_instance_) {
  43489. }
  43490. }
  43491. void packetw2c_recv_trial_score_award_result::SetCachedSize(int size) const {
  43492. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  43493. _cached_size_ = size;
  43494. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  43495. }
  43496. const ::google::protobuf::Descriptor* packetw2c_recv_trial_score_award_result::descriptor() {
  43497. protobuf_AssignDescriptorsOnce();
  43498. return packetw2c_recv_trial_score_award_result_descriptor_;
  43499. }
  43500. const packetw2c_recv_trial_score_award_result& packetw2c_recv_trial_score_award_result::default_instance() {
  43501. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  43502. return *default_instance_;
  43503. }
  43504. packetw2c_recv_trial_score_award_result* packetw2c_recv_trial_score_award_result::default_instance_ = NULL;
  43505. packetw2c_recv_trial_score_award_result* packetw2c_recv_trial_score_award_result::New() const {
  43506. return new packetw2c_recv_trial_score_award_result;
  43507. }
  43508. void packetw2c_recv_trial_score_award_result::Clear() {
  43509. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43510. packet_id_ = 7744;
  43511. result_ = 0;
  43512. index_ = 0;
  43513. }
  43514. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43515. mutable_unknown_fields()->Clear();
  43516. }
  43517. bool packetw2c_recv_trial_score_award_result::MergePartialFromCodedStream(
  43518. ::google::protobuf::io::CodedInputStream* input) {
  43519. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  43520. ::google::protobuf::uint32 tag;
  43521. while ((tag = input->ReadTag()) != 0) {
  43522. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  43523. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_trial_score_award_result];
  43524. case 1: {
  43525. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43526. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43527. int value;
  43528. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43529. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  43530. input, &value)));
  43531. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  43532. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  43533. } else {
  43534. mutable_unknown_fields()->AddVarint(1, value);
  43535. }
  43536. } else {
  43537. goto handle_uninterpreted;
  43538. }
  43539. if (input->ExpectTag(16)) goto parse_result;
  43540. break;
  43541. }
  43542. // optional int32 result = 2;
  43543. case 2: {
  43544. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43545. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43546. parse_result:
  43547. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43548. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  43549. input, &result_)));
  43550. set_has_result();
  43551. } else {
  43552. goto handle_uninterpreted;
  43553. }
  43554. if (input->ExpectTag(24)) goto parse_index;
  43555. break;
  43556. }
  43557. // optional int32 index = 3;
  43558. case 3: {
  43559. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43560. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43561. parse_index:
  43562. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43563. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  43564. input, &index_)));
  43565. set_has_index();
  43566. } else {
  43567. goto handle_uninterpreted;
  43568. }
  43569. if (input->ExpectAtEnd()) return true;
  43570. break;
  43571. }
  43572. default: {
  43573. handle_uninterpreted:
  43574. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43575. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  43576. return true;
  43577. }
  43578. DO_(::google::protobuf::internal::WireFormat::SkipField(
  43579. input, tag, mutable_unknown_fields()));
  43580. break;
  43581. }
  43582. }
  43583. }
  43584. return true;
  43585. #undef DO_
  43586. }
  43587. void packetw2c_recv_trial_score_award_result::SerializeWithCachedSizes(
  43588. ::google::protobuf::io::CodedOutputStream* output) const {
  43589. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_trial_score_award_result];
  43590. if (has_packet_id()) {
  43591. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  43592. 1, this->packet_id(), output);
  43593. }
  43594. // optional int32 result = 2;
  43595. if (has_result()) {
  43596. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  43597. }
  43598. // optional int32 index = 3;
  43599. if (has_index()) {
  43600. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  43601. }
  43602. if (!unknown_fields().empty()) {
  43603. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  43604. unknown_fields(), output);
  43605. }
  43606. }
  43607. ::google::protobuf::uint8* packetw2c_recv_trial_score_award_result::SerializeWithCachedSizesToArray(
  43608. ::google::protobuf::uint8* target) const {
  43609. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_trial_score_award_result];
  43610. if (has_packet_id()) {
  43611. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  43612. 1, this->packet_id(), target);
  43613. }
  43614. // optional int32 result = 2;
  43615. if (has_result()) {
  43616. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  43617. }
  43618. // optional int32 index = 3;
  43619. if (has_index()) {
  43620. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  43621. }
  43622. if (!unknown_fields().empty()) {
  43623. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  43624. unknown_fields(), target);
  43625. }
  43626. return target;
  43627. }
  43628. int packetw2c_recv_trial_score_award_result::ByteSize() const {
  43629. int total_size = 0;
  43630. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43631. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_trial_score_award_result];
  43632. if (has_packet_id()) {
  43633. total_size += 1 +
  43634. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  43635. }
  43636. // optional int32 result = 2;
  43637. if (has_result()) {
  43638. total_size += 1 +
  43639. ::google::protobuf::internal::WireFormatLite::Int32Size(
  43640. this->result());
  43641. }
  43642. // optional int32 index = 3;
  43643. if (has_index()) {
  43644. total_size += 1 +
  43645. ::google::protobuf::internal::WireFormatLite::Int32Size(
  43646. this->index());
  43647. }
  43648. }
  43649. if (!unknown_fields().empty()) {
  43650. total_size +=
  43651. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  43652. unknown_fields());
  43653. }
  43654. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  43655. _cached_size_ = total_size;
  43656. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  43657. return total_size;
  43658. }
  43659. void packetw2c_recv_trial_score_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  43660. GOOGLE_CHECK_NE(&from, this);
  43661. const packetw2c_recv_trial_score_award_result* source =
  43662. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_trial_score_award_result*>(
  43663. &from);
  43664. if (source == NULL) {
  43665. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  43666. } else {
  43667. MergeFrom(*source);
  43668. }
  43669. }
  43670. void packetw2c_recv_trial_score_award_result::MergeFrom(const packetw2c_recv_trial_score_award_result& from) {
  43671. GOOGLE_CHECK_NE(&from, this);
  43672. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43673. if (from.has_packet_id()) {
  43674. set_packet_id(from.packet_id());
  43675. }
  43676. if (from.has_result()) {
  43677. set_result(from.result());
  43678. }
  43679. if (from.has_index()) {
  43680. set_index(from.index());
  43681. }
  43682. }
  43683. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  43684. }
  43685. void packetw2c_recv_trial_score_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  43686. if (&from == this) return;
  43687. Clear();
  43688. MergeFrom(from);
  43689. }
  43690. void packetw2c_recv_trial_score_award_result::CopyFrom(const packetw2c_recv_trial_score_award_result& from) {
  43691. if (&from == this) return;
  43692. Clear();
  43693. MergeFrom(from);
  43694. }
  43695. bool packetw2c_recv_trial_score_award_result::IsInitialized() const {
  43696. return true;
  43697. }
  43698. void packetw2c_recv_trial_score_award_result::Swap(packetw2c_recv_trial_score_award_result* other) {
  43699. if (other != this) {
  43700. std::swap(packet_id_, other->packet_id_);
  43701. std::swap(result_, other->result_);
  43702. std::swap(index_, other->index_);
  43703. std::swap(_has_bits_[0], other->_has_bits_[0]);
  43704. _unknown_fields_.Swap(&other->_unknown_fields_);
  43705. std::swap(_cached_size_, other->_cached_size_);
  43706. }
  43707. }
  43708. ::google::protobuf::Metadata packetw2c_recv_trial_score_award_result::GetMetadata() const {
  43709. protobuf_AssignDescriptorsOnce();
  43710. ::google::protobuf::Metadata metadata;
  43711. metadata.descriptor = packetw2c_recv_trial_score_award_result_descriptor_;
  43712. metadata.reflection = packetw2c_recv_trial_score_award_result_reflection_;
  43713. return metadata;
  43714. }
  43715. // ===================================================================
  43716. #ifndef _MSC_VER
  43717. const int packetc2w_recv_star_award::kPacketIdFieldNumber;
  43718. const int packetc2w_recv_star_award::kIndexFieldNumber;
  43719. #endif // !_MSC_VER
  43720. packetc2w_recv_star_award::packetc2w_recv_star_award()
  43721. : ::google::protobuf::Message() {
  43722. SharedCtor();
  43723. }
  43724. void packetc2w_recv_star_award::InitAsDefaultInstance() {
  43725. }
  43726. packetc2w_recv_star_award::packetc2w_recv_star_award(const packetc2w_recv_star_award& from)
  43727. : ::google::protobuf::Message() {
  43728. SharedCtor();
  43729. MergeFrom(from);
  43730. }
  43731. void packetc2w_recv_star_award::SharedCtor() {
  43732. _cached_size_ = 0;
  43733. packet_id_ = 5212;
  43734. index_ = 0;
  43735. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43736. }
  43737. packetc2w_recv_star_award::~packetc2w_recv_star_award() {
  43738. SharedDtor();
  43739. }
  43740. void packetc2w_recv_star_award::SharedDtor() {
  43741. if (this != default_instance_) {
  43742. }
  43743. }
  43744. void packetc2w_recv_star_award::SetCachedSize(int size) const {
  43745. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  43746. _cached_size_ = size;
  43747. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  43748. }
  43749. const ::google::protobuf::Descriptor* packetc2w_recv_star_award::descriptor() {
  43750. protobuf_AssignDescriptorsOnce();
  43751. return packetc2w_recv_star_award_descriptor_;
  43752. }
  43753. const packetc2w_recv_star_award& packetc2w_recv_star_award::default_instance() {
  43754. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  43755. return *default_instance_;
  43756. }
  43757. packetc2w_recv_star_award* packetc2w_recv_star_award::default_instance_ = NULL;
  43758. packetc2w_recv_star_award* packetc2w_recv_star_award::New() const {
  43759. return new packetc2w_recv_star_award;
  43760. }
  43761. void packetc2w_recv_star_award::Clear() {
  43762. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43763. packet_id_ = 5212;
  43764. index_ = 0;
  43765. }
  43766. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43767. mutable_unknown_fields()->Clear();
  43768. }
  43769. bool packetc2w_recv_star_award::MergePartialFromCodedStream(
  43770. ::google::protobuf::io::CodedInputStream* input) {
  43771. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  43772. ::google::protobuf::uint32 tag;
  43773. while ((tag = input->ReadTag()) != 0) {
  43774. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  43775. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_star_award];
  43776. case 1: {
  43777. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43778. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43779. int value;
  43780. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43781. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  43782. input, &value)));
  43783. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  43784. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  43785. } else {
  43786. mutable_unknown_fields()->AddVarint(1, value);
  43787. }
  43788. } else {
  43789. goto handle_uninterpreted;
  43790. }
  43791. if (input->ExpectTag(16)) goto parse_index;
  43792. break;
  43793. }
  43794. // optional int32 index = 2;
  43795. case 2: {
  43796. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43797. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  43798. parse_index:
  43799. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  43800. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  43801. input, &index_)));
  43802. set_has_index();
  43803. } else {
  43804. goto handle_uninterpreted;
  43805. }
  43806. if (input->ExpectAtEnd()) return true;
  43807. break;
  43808. }
  43809. default: {
  43810. handle_uninterpreted:
  43811. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  43812. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  43813. return true;
  43814. }
  43815. DO_(::google::protobuf::internal::WireFormat::SkipField(
  43816. input, tag, mutable_unknown_fields()));
  43817. break;
  43818. }
  43819. }
  43820. }
  43821. return true;
  43822. #undef DO_
  43823. }
  43824. void packetc2w_recv_star_award::SerializeWithCachedSizes(
  43825. ::google::protobuf::io::CodedOutputStream* output) const {
  43826. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_star_award];
  43827. if (has_packet_id()) {
  43828. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  43829. 1, this->packet_id(), output);
  43830. }
  43831. // optional int32 index = 2;
  43832. if (has_index()) {
  43833. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  43834. }
  43835. if (!unknown_fields().empty()) {
  43836. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  43837. unknown_fields(), output);
  43838. }
  43839. }
  43840. ::google::protobuf::uint8* packetc2w_recv_star_award::SerializeWithCachedSizesToArray(
  43841. ::google::protobuf::uint8* target) const {
  43842. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_star_award];
  43843. if (has_packet_id()) {
  43844. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  43845. 1, this->packet_id(), target);
  43846. }
  43847. // optional int32 index = 2;
  43848. if (has_index()) {
  43849. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  43850. }
  43851. if (!unknown_fields().empty()) {
  43852. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  43853. unknown_fields(), target);
  43854. }
  43855. return target;
  43856. }
  43857. int packetc2w_recv_star_award::ByteSize() const {
  43858. int total_size = 0;
  43859. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43860. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_star_award];
  43861. if (has_packet_id()) {
  43862. total_size += 1 +
  43863. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  43864. }
  43865. // optional int32 index = 2;
  43866. if (has_index()) {
  43867. total_size += 1 +
  43868. ::google::protobuf::internal::WireFormatLite::Int32Size(
  43869. this->index());
  43870. }
  43871. }
  43872. if (!unknown_fields().empty()) {
  43873. total_size +=
  43874. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  43875. unknown_fields());
  43876. }
  43877. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  43878. _cached_size_ = total_size;
  43879. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  43880. return total_size;
  43881. }
  43882. void packetc2w_recv_star_award::MergeFrom(const ::google::protobuf::Message& from) {
  43883. GOOGLE_CHECK_NE(&from, this);
  43884. const packetc2w_recv_star_award* source =
  43885. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_star_award*>(
  43886. &from);
  43887. if (source == NULL) {
  43888. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  43889. } else {
  43890. MergeFrom(*source);
  43891. }
  43892. }
  43893. void packetc2w_recv_star_award::MergeFrom(const packetc2w_recv_star_award& from) {
  43894. GOOGLE_CHECK_NE(&from, this);
  43895. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43896. if (from.has_packet_id()) {
  43897. set_packet_id(from.packet_id());
  43898. }
  43899. if (from.has_index()) {
  43900. set_index(from.index());
  43901. }
  43902. }
  43903. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  43904. }
  43905. void packetc2w_recv_star_award::CopyFrom(const ::google::protobuf::Message& from) {
  43906. if (&from == this) return;
  43907. Clear();
  43908. MergeFrom(from);
  43909. }
  43910. void packetc2w_recv_star_award::CopyFrom(const packetc2w_recv_star_award& from) {
  43911. if (&from == this) return;
  43912. Clear();
  43913. MergeFrom(from);
  43914. }
  43915. bool packetc2w_recv_star_award::IsInitialized() const {
  43916. return true;
  43917. }
  43918. void packetc2w_recv_star_award::Swap(packetc2w_recv_star_award* other) {
  43919. if (other != this) {
  43920. std::swap(packet_id_, other->packet_id_);
  43921. std::swap(index_, other->index_);
  43922. std::swap(_has_bits_[0], other->_has_bits_[0]);
  43923. _unknown_fields_.Swap(&other->_unknown_fields_);
  43924. std::swap(_cached_size_, other->_cached_size_);
  43925. }
  43926. }
  43927. ::google::protobuf::Metadata packetc2w_recv_star_award::GetMetadata() const {
  43928. protobuf_AssignDescriptorsOnce();
  43929. ::google::protobuf::Metadata metadata;
  43930. metadata.descriptor = packetc2w_recv_star_award_descriptor_;
  43931. metadata.reflection = packetc2w_recv_star_award_reflection_;
  43932. return metadata;
  43933. }
  43934. // ===================================================================
  43935. #ifndef _MSC_VER
  43936. const int packetw2c_recv_star_award_result::kPacketIdFieldNumber;
  43937. const int packetw2c_recv_star_award_result::kResultFieldNumber;
  43938. const int packetw2c_recv_star_award_result::kIndexFieldNumber;
  43939. #endif // !_MSC_VER
  43940. packetw2c_recv_star_award_result::packetw2c_recv_star_award_result()
  43941. : ::google::protobuf::Message() {
  43942. SharedCtor();
  43943. }
  43944. void packetw2c_recv_star_award_result::InitAsDefaultInstance() {
  43945. }
  43946. packetw2c_recv_star_award_result::packetw2c_recv_star_award_result(const packetw2c_recv_star_award_result& from)
  43947. : ::google::protobuf::Message() {
  43948. SharedCtor();
  43949. MergeFrom(from);
  43950. }
  43951. void packetw2c_recv_star_award_result::SharedCtor() {
  43952. _cached_size_ = 0;
  43953. packet_id_ = 7745;
  43954. result_ = 0;
  43955. index_ = 0;
  43956. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43957. }
  43958. packetw2c_recv_star_award_result::~packetw2c_recv_star_award_result() {
  43959. SharedDtor();
  43960. }
  43961. void packetw2c_recv_star_award_result::SharedDtor() {
  43962. if (this != default_instance_) {
  43963. }
  43964. }
  43965. void packetw2c_recv_star_award_result::SetCachedSize(int size) const {
  43966. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  43967. _cached_size_ = size;
  43968. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  43969. }
  43970. const ::google::protobuf::Descriptor* packetw2c_recv_star_award_result::descriptor() {
  43971. protobuf_AssignDescriptorsOnce();
  43972. return packetw2c_recv_star_award_result_descriptor_;
  43973. }
  43974. const packetw2c_recv_star_award_result& packetw2c_recv_star_award_result::default_instance() {
  43975. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  43976. return *default_instance_;
  43977. }
  43978. packetw2c_recv_star_award_result* packetw2c_recv_star_award_result::default_instance_ = NULL;
  43979. packetw2c_recv_star_award_result* packetw2c_recv_star_award_result::New() const {
  43980. return new packetw2c_recv_star_award_result;
  43981. }
  43982. void packetw2c_recv_star_award_result::Clear() {
  43983. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  43984. packet_id_ = 7745;
  43985. result_ = 0;
  43986. index_ = 0;
  43987. }
  43988. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  43989. mutable_unknown_fields()->Clear();
  43990. }
  43991. bool packetw2c_recv_star_award_result::MergePartialFromCodedStream(
  43992. ::google::protobuf::io::CodedInputStream* input) {
  43993. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  43994. ::google::protobuf::uint32 tag;
  43995. while ((tag = input->ReadTag()) != 0) {
  43996. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  43997. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_star_award_result];
  43998. case 1: {
  43999. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44000. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44001. int value;
  44002. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44003. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  44004. input, &value)));
  44005. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  44006. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  44007. } else {
  44008. mutable_unknown_fields()->AddVarint(1, value);
  44009. }
  44010. } else {
  44011. goto handle_uninterpreted;
  44012. }
  44013. if (input->ExpectTag(16)) goto parse_result;
  44014. break;
  44015. }
  44016. // optional int32 result = 2;
  44017. case 2: {
  44018. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44019. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44020. parse_result:
  44021. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44022. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44023. input, &result_)));
  44024. set_has_result();
  44025. } else {
  44026. goto handle_uninterpreted;
  44027. }
  44028. if (input->ExpectTag(24)) goto parse_index;
  44029. break;
  44030. }
  44031. // optional int32 index = 3;
  44032. case 3: {
  44033. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44034. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44035. parse_index:
  44036. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44037. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44038. input, &index_)));
  44039. set_has_index();
  44040. } else {
  44041. goto handle_uninterpreted;
  44042. }
  44043. if (input->ExpectAtEnd()) return true;
  44044. break;
  44045. }
  44046. default: {
  44047. handle_uninterpreted:
  44048. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44049. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  44050. return true;
  44051. }
  44052. DO_(::google::protobuf::internal::WireFormat::SkipField(
  44053. input, tag, mutable_unknown_fields()));
  44054. break;
  44055. }
  44056. }
  44057. }
  44058. return true;
  44059. #undef DO_
  44060. }
  44061. void packetw2c_recv_star_award_result::SerializeWithCachedSizes(
  44062. ::google::protobuf::io::CodedOutputStream* output) const {
  44063. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_star_award_result];
  44064. if (has_packet_id()) {
  44065. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  44066. 1, this->packet_id(), output);
  44067. }
  44068. // optional int32 result = 2;
  44069. if (has_result()) {
  44070. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  44071. }
  44072. // optional int32 index = 3;
  44073. if (has_index()) {
  44074. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  44075. }
  44076. if (!unknown_fields().empty()) {
  44077. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  44078. unknown_fields(), output);
  44079. }
  44080. }
  44081. ::google::protobuf::uint8* packetw2c_recv_star_award_result::SerializeWithCachedSizesToArray(
  44082. ::google::protobuf::uint8* target) const {
  44083. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_star_award_result];
  44084. if (has_packet_id()) {
  44085. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  44086. 1, this->packet_id(), target);
  44087. }
  44088. // optional int32 result = 2;
  44089. if (has_result()) {
  44090. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  44091. }
  44092. // optional int32 index = 3;
  44093. if (has_index()) {
  44094. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  44095. }
  44096. if (!unknown_fields().empty()) {
  44097. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  44098. unknown_fields(), target);
  44099. }
  44100. return target;
  44101. }
  44102. int packetw2c_recv_star_award_result::ByteSize() const {
  44103. int total_size = 0;
  44104. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  44105. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_star_award_result];
  44106. if (has_packet_id()) {
  44107. total_size += 1 +
  44108. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  44109. }
  44110. // optional int32 result = 2;
  44111. if (has_result()) {
  44112. total_size += 1 +
  44113. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44114. this->result());
  44115. }
  44116. // optional int32 index = 3;
  44117. if (has_index()) {
  44118. total_size += 1 +
  44119. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44120. this->index());
  44121. }
  44122. }
  44123. if (!unknown_fields().empty()) {
  44124. total_size +=
  44125. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  44126. unknown_fields());
  44127. }
  44128. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  44129. _cached_size_ = total_size;
  44130. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  44131. return total_size;
  44132. }
  44133. void packetw2c_recv_star_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  44134. GOOGLE_CHECK_NE(&from, this);
  44135. const packetw2c_recv_star_award_result* source =
  44136. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_star_award_result*>(
  44137. &from);
  44138. if (source == NULL) {
  44139. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  44140. } else {
  44141. MergeFrom(*source);
  44142. }
  44143. }
  44144. void packetw2c_recv_star_award_result::MergeFrom(const packetw2c_recv_star_award_result& from) {
  44145. GOOGLE_CHECK_NE(&from, this);
  44146. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  44147. if (from.has_packet_id()) {
  44148. set_packet_id(from.packet_id());
  44149. }
  44150. if (from.has_result()) {
  44151. set_result(from.result());
  44152. }
  44153. if (from.has_index()) {
  44154. set_index(from.index());
  44155. }
  44156. }
  44157. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  44158. }
  44159. void packetw2c_recv_star_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  44160. if (&from == this) return;
  44161. Clear();
  44162. MergeFrom(from);
  44163. }
  44164. void packetw2c_recv_star_award_result::CopyFrom(const packetw2c_recv_star_award_result& from) {
  44165. if (&from == this) return;
  44166. Clear();
  44167. MergeFrom(from);
  44168. }
  44169. bool packetw2c_recv_star_award_result::IsInitialized() const {
  44170. return true;
  44171. }
  44172. void packetw2c_recv_star_award_result::Swap(packetw2c_recv_star_award_result* other) {
  44173. if (other != this) {
  44174. std::swap(packet_id_, other->packet_id_);
  44175. std::swap(result_, other->result_);
  44176. std::swap(index_, other->index_);
  44177. std::swap(_has_bits_[0], other->_has_bits_[0]);
  44178. _unknown_fields_.Swap(&other->_unknown_fields_);
  44179. std::swap(_cached_size_, other->_cached_size_);
  44180. }
  44181. }
  44182. ::google::protobuf::Metadata packetw2c_recv_star_award_result::GetMetadata() const {
  44183. protobuf_AssignDescriptorsOnce();
  44184. ::google::protobuf::Metadata metadata;
  44185. metadata.descriptor = packetw2c_recv_star_award_result_descriptor_;
  44186. metadata.reflection = packetw2c_recv_star_award_result_reflection_;
  44187. return metadata;
  44188. }
  44189. // ===================================================================
  44190. #ifndef _MSC_VER
  44191. const int packetc2w_attack_demon::kPacketIdFieldNumber;
  44192. const int packetc2w_attack_demon::kFloorFieldNumber;
  44193. const int packetc2w_attack_demon::kIsHangUpFieldNumber;
  44194. const int packetc2w_attack_demon::kWeaponIdFieldNumber;
  44195. #endif // !_MSC_VER
  44196. packetc2w_attack_demon::packetc2w_attack_demon()
  44197. : ::google::protobuf::Message() {
  44198. SharedCtor();
  44199. }
  44200. void packetc2w_attack_demon::InitAsDefaultInstance() {
  44201. }
  44202. packetc2w_attack_demon::packetc2w_attack_demon(const packetc2w_attack_demon& from)
  44203. : ::google::protobuf::Message() {
  44204. SharedCtor();
  44205. MergeFrom(from);
  44206. }
  44207. void packetc2w_attack_demon::SharedCtor() {
  44208. _cached_size_ = 0;
  44209. packet_id_ = 5207;
  44210. floor_ = 0;
  44211. ishangup_ = false;
  44212. weaponid_ = 0;
  44213. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  44214. }
  44215. packetc2w_attack_demon::~packetc2w_attack_demon() {
  44216. SharedDtor();
  44217. }
  44218. void packetc2w_attack_demon::SharedDtor() {
  44219. if (this != default_instance_) {
  44220. }
  44221. }
  44222. void packetc2w_attack_demon::SetCachedSize(int size) const {
  44223. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  44224. _cached_size_ = size;
  44225. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  44226. }
  44227. const ::google::protobuf::Descriptor* packetc2w_attack_demon::descriptor() {
  44228. protobuf_AssignDescriptorsOnce();
  44229. return packetc2w_attack_demon_descriptor_;
  44230. }
  44231. const packetc2w_attack_demon& packetc2w_attack_demon::default_instance() {
  44232. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  44233. return *default_instance_;
  44234. }
  44235. packetc2w_attack_demon* packetc2w_attack_demon::default_instance_ = NULL;
  44236. packetc2w_attack_demon* packetc2w_attack_demon::New() const {
  44237. return new packetc2w_attack_demon;
  44238. }
  44239. void packetc2w_attack_demon::Clear() {
  44240. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  44241. packet_id_ = 5207;
  44242. floor_ = 0;
  44243. ishangup_ = false;
  44244. weaponid_ = 0;
  44245. }
  44246. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  44247. mutable_unknown_fields()->Clear();
  44248. }
  44249. bool packetc2w_attack_demon::MergePartialFromCodedStream(
  44250. ::google::protobuf::io::CodedInputStream* input) {
  44251. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  44252. ::google::protobuf::uint32 tag;
  44253. while ((tag = input->ReadTag()) != 0) {
  44254. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  44255. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_attack_demon];
  44256. case 1: {
  44257. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44258. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44259. int value;
  44260. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44261. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  44262. input, &value)));
  44263. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  44264. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  44265. } else {
  44266. mutable_unknown_fields()->AddVarint(1, value);
  44267. }
  44268. } else {
  44269. goto handle_uninterpreted;
  44270. }
  44271. if (input->ExpectTag(16)) goto parse_floor;
  44272. break;
  44273. }
  44274. // optional int32 floor = 2;
  44275. case 2: {
  44276. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44277. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44278. parse_floor:
  44279. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44280. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44281. input, &floor_)));
  44282. set_has_floor();
  44283. } else {
  44284. goto handle_uninterpreted;
  44285. }
  44286. if (input->ExpectTag(24)) goto parse_isHangUp;
  44287. break;
  44288. }
  44289. // optional bool isHangUp = 3;
  44290. case 3: {
  44291. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44292. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44293. parse_isHangUp:
  44294. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44295. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  44296. input, &ishangup_)));
  44297. set_has_ishangup();
  44298. } else {
  44299. goto handle_uninterpreted;
  44300. }
  44301. if (input->ExpectTag(32)) goto parse_weaponId;
  44302. break;
  44303. }
  44304. // optional int32 weaponId = 4;
  44305. case 4: {
  44306. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44307. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44308. parse_weaponId:
  44309. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44310. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44311. input, &weaponid_)));
  44312. set_has_weaponid();
  44313. } else {
  44314. goto handle_uninterpreted;
  44315. }
  44316. if (input->ExpectAtEnd()) return true;
  44317. break;
  44318. }
  44319. default: {
  44320. handle_uninterpreted:
  44321. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44322. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  44323. return true;
  44324. }
  44325. DO_(::google::protobuf::internal::WireFormat::SkipField(
  44326. input, tag, mutable_unknown_fields()));
  44327. break;
  44328. }
  44329. }
  44330. }
  44331. return true;
  44332. #undef DO_
  44333. }
  44334. void packetc2w_attack_demon::SerializeWithCachedSizes(
  44335. ::google::protobuf::io::CodedOutputStream* output) const {
  44336. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_attack_demon];
  44337. if (has_packet_id()) {
  44338. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  44339. 1, this->packet_id(), output);
  44340. }
  44341. // optional int32 floor = 2;
  44342. if (has_floor()) {
  44343. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->floor(), output);
  44344. }
  44345. // optional bool isHangUp = 3;
  44346. if (has_ishangup()) {
  44347. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ishangup(), output);
  44348. }
  44349. // optional int32 weaponId = 4;
  44350. if (has_weaponid()) {
  44351. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->weaponid(), output);
  44352. }
  44353. if (!unknown_fields().empty()) {
  44354. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  44355. unknown_fields(), output);
  44356. }
  44357. }
  44358. ::google::protobuf::uint8* packetc2w_attack_demon::SerializeWithCachedSizesToArray(
  44359. ::google::protobuf::uint8* target) const {
  44360. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_attack_demon];
  44361. if (has_packet_id()) {
  44362. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  44363. 1, this->packet_id(), target);
  44364. }
  44365. // optional int32 floor = 2;
  44366. if (has_floor()) {
  44367. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->floor(), target);
  44368. }
  44369. // optional bool isHangUp = 3;
  44370. if (has_ishangup()) {
  44371. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ishangup(), target);
  44372. }
  44373. // optional int32 weaponId = 4;
  44374. if (has_weaponid()) {
  44375. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->weaponid(), target);
  44376. }
  44377. if (!unknown_fields().empty()) {
  44378. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  44379. unknown_fields(), target);
  44380. }
  44381. return target;
  44382. }
  44383. int packetc2w_attack_demon::ByteSize() const {
  44384. int total_size = 0;
  44385. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  44386. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_attack_demon];
  44387. if (has_packet_id()) {
  44388. total_size += 1 +
  44389. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  44390. }
  44391. // optional int32 floor = 2;
  44392. if (has_floor()) {
  44393. total_size += 1 +
  44394. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44395. this->floor());
  44396. }
  44397. // optional bool isHangUp = 3;
  44398. if (has_ishangup()) {
  44399. total_size += 1 + 1;
  44400. }
  44401. // optional int32 weaponId = 4;
  44402. if (has_weaponid()) {
  44403. total_size += 1 +
  44404. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44405. this->weaponid());
  44406. }
  44407. }
  44408. if (!unknown_fields().empty()) {
  44409. total_size +=
  44410. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  44411. unknown_fields());
  44412. }
  44413. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  44414. _cached_size_ = total_size;
  44415. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  44416. return total_size;
  44417. }
  44418. void packetc2w_attack_demon::MergeFrom(const ::google::protobuf::Message& from) {
  44419. GOOGLE_CHECK_NE(&from, this);
  44420. const packetc2w_attack_demon* source =
  44421. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_attack_demon*>(
  44422. &from);
  44423. if (source == NULL) {
  44424. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  44425. } else {
  44426. MergeFrom(*source);
  44427. }
  44428. }
  44429. void packetc2w_attack_demon::MergeFrom(const packetc2w_attack_demon& from) {
  44430. GOOGLE_CHECK_NE(&from, this);
  44431. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  44432. if (from.has_packet_id()) {
  44433. set_packet_id(from.packet_id());
  44434. }
  44435. if (from.has_floor()) {
  44436. set_floor(from.floor());
  44437. }
  44438. if (from.has_ishangup()) {
  44439. set_ishangup(from.ishangup());
  44440. }
  44441. if (from.has_weaponid()) {
  44442. set_weaponid(from.weaponid());
  44443. }
  44444. }
  44445. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  44446. }
  44447. void packetc2w_attack_demon::CopyFrom(const ::google::protobuf::Message& from) {
  44448. if (&from == this) return;
  44449. Clear();
  44450. MergeFrom(from);
  44451. }
  44452. void packetc2w_attack_demon::CopyFrom(const packetc2w_attack_demon& from) {
  44453. if (&from == this) return;
  44454. Clear();
  44455. MergeFrom(from);
  44456. }
  44457. bool packetc2w_attack_demon::IsInitialized() const {
  44458. return true;
  44459. }
  44460. void packetc2w_attack_demon::Swap(packetc2w_attack_demon* other) {
  44461. if (other != this) {
  44462. std::swap(packet_id_, other->packet_id_);
  44463. std::swap(floor_, other->floor_);
  44464. std::swap(ishangup_, other->ishangup_);
  44465. std::swap(weaponid_, other->weaponid_);
  44466. std::swap(_has_bits_[0], other->_has_bits_[0]);
  44467. _unknown_fields_.Swap(&other->_unknown_fields_);
  44468. std::swap(_cached_size_, other->_cached_size_);
  44469. }
  44470. }
  44471. ::google::protobuf::Metadata packetc2w_attack_demon::GetMetadata() const {
  44472. protobuf_AssignDescriptorsOnce();
  44473. ::google::protobuf::Metadata metadata;
  44474. metadata.descriptor = packetc2w_attack_demon_descriptor_;
  44475. metadata.reflection = packetc2w_attack_demon_reflection_;
  44476. return metadata;
  44477. }
  44478. // ===================================================================
  44479. #ifndef _MSC_VER
  44480. const int packetw2c_attack_demon_result::kPacketIdFieldNumber;
  44481. const int packetw2c_attack_demon_result::kResultFieldNumber;
  44482. const int packetw2c_attack_demon_result::kFloorFieldNumber;
  44483. const int packetw2c_attack_demon_result::kIsHangUpFieldNumber;
  44484. const int packetw2c_attack_demon_result::kWeaponIdFieldNumber;
  44485. const int packetw2c_attack_demon_result::kHarmValueFieldNumber;
  44486. const int packetw2c_attack_demon_result::kCurRoundFieldNumber;
  44487. const int packetw2c_attack_demon_result::kLeftLifeFieldNumber;
  44488. const int packetw2c_attack_demon_result::kBalanceStarFieldNumber;
  44489. const int packetw2c_attack_demon_result::kItemsFieldNumber;
  44490. #endif // !_MSC_VER
  44491. packetw2c_attack_demon_result::packetw2c_attack_demon_result()
  44492. : ::google::protobuf::Message() {
  44493. SharedCtor();
  44494. }
  44495. void packetw2c_attack_demon_result::InitAsDefaultInstance() {
  44496. }
  44497. packetw2c_attack_demon_result::packetw2c_attack_demon_result(const packetw2c_attack_demon_result& from)
  44498. : ::google::protobuf::Message() {
  44499. SharedCtor();
  44500. MergeFrom(from);
  44501. }
  44502. void packetw2c_attack_demon_result::SharedCtor() {
  44503. _cached_size_ = 0;
  44504. packet_id_ = 7740;
  44505. result_ = 0;
  44506. floor_ = 0;
  44507. ishangup_ = false;
  44508. curround_ = 0;
  44509. leftlife_ = 0;
  44510. balancestar_ = 0;
  44511. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  44512. }
  44513. packetw2c_attack_demon_result::~packetw2c_attack_demon_result() {
  44514. SharedDtor();
  44515. }
  44516. void packetw2c_attack_demon_result::SharedDtor() {
  44517. if (this != default_instance_) {
  44518. }
  44519. }
  44520. void packetw2c_attack_demon_result::SetCachedSize(int size) const {
  44521. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  44522. _cached_size_ = size;
  44523. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  44524. }
  44525. const ::google::protobuf::Descriptor* packetw2c_attack_demon_result::descriptor() {
  44526. protobuf_AssignDescriptorsOnce();
  44527. return packetw2c_attack_demon_result_descriptor_;
  44528. }
  44529. const packetw2c_attack_demon_result& packetw2c_attack_demon_result::default_instance() {
  44530. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  44531. return *default_instance_;
  44532. }
  44533. packetw2c_attack_demon_result* packetw2c_attack_demon_result::default_instance_ = NULL;
  44534. packetw2c_attack_demon_result* packetw2c_attack_demon_result::New() const {
  44535. return new packetw2c_attack_demon_result;
  44536. }
  44537. void packetw2c_attack_demon_result::Clear() {
  44538. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  44539. packet_id_ = 7740;
  44540. result_ = 0;
  44541. floor_ = 0;
  44542. ishangup_ = false;
  44543. curround_ = 0;
  44544. leftlife_ = 0;
  44545. }
  44546. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  44547. balancestar_ = 0;
  44548. }
  44549. weaponid_.Clear();
  44550. harmvalue_.Clear();
  44551. items_.Clear();
  44552. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  44553. mutable_unknown_fields()->Clear();
  44554. }
  44555. bool packetw2c_attack_demon_result::MergePartialFromCodedStream(
  44556. ::google::protobuf::io::CodedInputStream* input) {
  44557. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  44558. ::google::protobuf::uint32 tag;
  44559. while ((tag = input->ReadTag()) != 0) {
  44560. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  44561. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_attack_demon_result];
  44562. case 1: {
  44563. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44564. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44565. int value;
  44566. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44567. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  44568. input, &value)));
  44569. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  44570. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  44571. } else {
  44572. mutable_unknown_fields()->AddVarint(1, value);
  44573. }
  44574. } else {
  44575. goto handle_uninterpreted;
  44576. }
  44577. if (input->ExpectTag(16)) goto parse_result;
  44578. break;
  44579. }
  44580. // optional int32 result = 2;
  44581. case 2: {
  44582. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44583. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44584. parse_result:
  44585. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44586. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44587. input, &result_)));
  44588. set_has_result();
  44589. } else {
  44590. goto handle_uninterpreted;
  44591. }
  44592. if (input->ExpectTag(24)) goto parse_floor;
  44593. break;
  44594. }
  44595. // optional int32 floor = 3;
  44596. case 3: {
  44597. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44598. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44599. parse_floor:
  44600. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44601. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44602. input, &floor_)));
  44603. set_has_floor();
  44604. } else {
  44605. goto handle_uninterpreted;
  44606. }
  44607. if (input->ExpectTag(32)) goto parse_isHangUp;
  44608. break;
  44609. }
  44610. // optional bool isHangUp = 4;
  44611. case 4: {
  44612. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44613. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44614. parse_isHangUp:
  44615. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44616. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  44617. input, &ishangup_)));
  44618. set_has_ishangup();
  44619. } else {
  44620. goto handle_uninterpreted;
  44621. }
  44622. if (input->ExpectTag(40)) goto parse_weaponId;
  44623. break;
  44624. }
  44625. // repeated int32 weaponId = 5;
  44626. case 5: {
  44627. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44628. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44629. parse_weaponId:
  44630. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  44631. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44632. 1, 40, input, this->mutable_weaponid())));
  44633. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  44634. == ::google::protobuf::internal::WireFormatLite::
  44635. WIRETYPE_LENGTH_DELIMITED) {
  44636. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  44637. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44638. input, this->mutable_weaponid())));
  44639. } else {
  44640. goto handle_uninterpreted;
  44641. }
  44642. if (input->ExpectTag(40)) goto parse_weaponId;
  44643. if (input->ExpectTag(48)) goto parse_harmValue;
  44644. break;
  44645. }
  44646. // repeated int32 harmValue = 6;
  44647. case 6: {
  44648. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44649. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44650. parse_harmValue:
  44651. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  44652. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44653. 1, 48, input, this->mutable_harmvalue())));
  44654. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  44655. == ::google::protobuf::internal::WireFormatLite::
  44656. WIRETYPE_LENGTH_DELIMITED) {
  44657. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  44658. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44659. input, this->mutable_harmvalue())));
  44660. } else {
  44661. goto handle_uninterpreted;
  44662. }
  44663. if (input->ExpectTag(48)) goto parse_harmValue;
  44664. if (input->ExpectTag(56)) goto parse_curRound;
  44665. break;
  44666. }
  44667. // optional int32 curRound = 7;
  44668. case 7: {
  44669. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44670. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44671. parse_curRound:
  44672. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44673. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44674. input, &curround_)));
  44675. set_has_curround();
  44676. } else {
  44677. goto handle_uninterpreted;
  44678. }
  44679. if (input->ExpectTag(64)) goto parse_LeftLife;
  44680. break;
  44681. }
  44682. // optional int32 LeftLife = 8;
  44683. case 8: {
  44684. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44685. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44686. parse_LeftLife:
  44687. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44688. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44689. input, &leftlife_)));
  44690. set_has_leftlife();
  44691. } else {
  44692. goto handle_uninterpreted;
  44693. }
  44694. if (input->ExpectTag(72)) goto parse_balanceStar;
  44695. break;
  44696. }
  44697. // optional int32 balanceStar = 9;
  44698. case 9: {
  44699. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44700. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  44701. parse_balanceStar:
  44702. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  44703. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  44704. input, &balancestar_)));
  44705. set_has_balancestar();
  44706. } else {
  44707. goto handle_uninterpreted;
  44708. }
  44709. if (input->ExpectTag(82)) goto parse_items;
  44710. break;
  44711. }
  44712. // repeated .msg_info_def.ItemInfo items = 10;
  44713. case 10: {
  44714. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44715. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  44716. parse_items:
  44717. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  44718. input, add_items()));
  44719. } else {
  44720. goto handle_uninterpreted;
  44721. }
  44722. if (input->ExpectTag(82)) goto parse_items;
  44723. if (input->ExpectAtEnd()) return true;
  44724. break;
  44725. }
  44726. default: {
  44727. handle_uninterpreted:
  44728. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  44729. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  44730. return true;
  44731. }
  44732. DO_(::google::protobuf::internal::WireFormat::SkipField(
  44733. input, tag, mutable_unknown_fields()));
  44734. break;
  44735. }
  44736. }
  44737. }
  44738. return true;
  44739. #undef DO_
  44740. }
  44741. void packetw2c_attack_demon_result::SerializeWithCachedSizes(
  44742. ::google::protobuf::io::CodedOutputStream* output) const {
  44743. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_attack_demon_result];
  44744. if (has_packet_id()) {
  44745. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  44746. 1, this->packet_id(), output);
  44747. }
  44748. // optional int32 result = 2;
  44749. if (has_result()) {
  44750. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  44751. }
  44752. // optional int32 floor = 3;
  44753. if (has_floor()) {
  44754. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->floor(), output);
  44755. }
  44756. // optional bool isHangUp = 4;
  44757. if (has_ishangup()) {
  44758. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->ishangup(), output);
  44759. }
  44760. // repeated int32 weaponId = 5;
  44761. for (int i = 0; i < this->weaponid_size(); i++) {
  44762. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  44763. 5, this->weaponid(i), output);
  44764. }
  44765. // repeated int32 harmValue = 6;
  44766. for (int i = 0; i < this->harmvalue_size(); i++) {
  44767. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  44768. 6, this->harmvalue(i), output);
  44769. }
  44770. // optional int32 curRound = 7;
  44771. if (has_curround()) {
  44772. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->curround(), output);
  44773. }
  44774. // optional int32 LeftLife = 8;
  44775. if (has_leftlife()) {
  44776. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->leftlife(), output);
  44777. }
  44778. // optional int32 balanceStar = 9;
  44779. if (has_balancestar()) {
  44780. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->balancestar(), output);
  44781. }
  44782. // repeated .msg_info_def.ItemInfo items = 10;
  44783. for (int i = 0; i < this->items_size(); i++) {
  44784. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  44785. 10, this->items(i), output);
  44786. }
  44787. if (!unknown_fields().empty()) {
  44788. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  44789. unknown_fields(), output);
  44790. }
  44791. }
  44792. ::google::protobuf::uint8* packetw2c_attack_demon_result::SerializeWithCachedSizesToArray(
  44793. ::google::protobuf::uint8* target) const {
  44794. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_attack_demon_result];
  44795. if (has_packet_id()) {
  44796. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  44797. 1, this->packet_id(), target);
  44798. }
  44799. // optional int32 result = 2;
  44800. if (has_result()) {
  44801. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  44802. }
  44803. // optional int32 floor = 3;
  44804. if (has_floor()) {
  44805. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->floor(), target);
  44806. }
  44807. // optional bool isHangUp = 4;
  44808. if (has_ishangup()) {
  44809. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->ishangup(), target);
  44810. }
  44811. // repeated int32 weaponId = 5;
  44812. for (int i = 0; i < this->weaponid_size(); i++) {
  44813. target = ::google::protobuf::internal::WireFormatLite::
  44814. WriteInt32ToArray(5, this->weaponid(i), target);
  44815. }
  44816. // repeated int32 harmValue = 6;
  44817. for (int i = 0; i < this->harmvalue_size(); i++) {
  44818. target = ::google::protobuf::internal::WireFormatLite::
  44819. WriteInt32ToArray(6, this->harmvalue(i), target);
  44820. }
  44821. // optional int32 curRound = 7;
  44822. if (has_curround()) {
  44823. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->curround(), target);
  44824. }
  44825. // optional int32 LeftLife = 8;
  44826. if (has_leftlife()) {
  44827. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->leftlife(), target);
  44828. }
  44829. // optional int32 balanceStar = 9;
  44830. if (has_balancestar()) {
  44831. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->balancestar(), target);
  44832. }
  44833. // repeated .msg_info_def.ItemInfo items = 10;
  44834. for (int i = 0; i < this->items_size(); i++) {
  44835. target = ::google::protobuf::internal::WireFormatLite::
  44836. WriteMessageNoVirtualToArray(
  44837. 10, this->items(i), target);
  44838. }
  44839. if (!unknown_fields().empty()) {
  44840. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  44841. unknown_fields(), target);
  44842. }
  44843. return target;
  44844. }
  44845. int packetw2c_attack_demon_result::ByteSize() const {
  44846. int total_size = 0;
  44847. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  44848. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_attack_demon_result];
  44849. if (has_packet_id()) {
  44850. total_size += 1 +
  44851. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  44852. }
  44853. // optional int32 result = 2;
  44854. if (has_result()) {
  44855. total_size += 1 +
  44856. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44857. this->result());
  44858. }
  44859. // optional int32 floor = 3;
  44860. if (has_floor()) {
  44861. total_size += 1 +
  44862. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44863. this->floor());
  44864. }
  44865. // optional bool isHangUp = 4;
  44866. if (has_ishangup()) {
  44867. total_size += 1 + 1;
  44868. }
  44869. // optional int32 curRound = 7;
  44870. if (has_curround()) {
  44871. total_size += 1 +
  44872. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44873. this->curround());
  44874. }
  44875. // optional int32 LeftLife = 8;
  44876. if (has_leftlife()) {
  44877. total_size += 1 +
  44878. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44879. this->leftlife());
  44880. }
  44881. }
  44882. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  44883. // optional int32 balanceStar = 9;
  44884. if (has_balancestar()) {
  44885. total_size += 1 +
  44886. ::google::protobuf::internal::WireFormatLite::Int32Size(
  44887. this->balancestar());
  44888. }
  44889. }
  44890. // repeated int32 weaponId = 5;
  44891. {
  44892. int data_size = 0;
  44893. for (int i = 0; i < this->weaponid_size(); i++) {
  44894. data_size += ::google::protobuf::internal::WireFormatLite::
  44895. Int32Size(this->weaponid(i));
  44896. }
  44897. total_size += 1 * this->weaponid_size() + data_size;
  44898. }
  44899. // repeated int32 harmValue = 6;
  44900. {
  44901. int data_size = 0;
  44902. for (int i = 0; i < this->harmvalue_size(); i++) {
  44903. data_size += ::google::protobuf::internal::WireFormatLite::
  44904. Int32Size(this->harmvalue(i));
  44905. }
  44906. total_size += 1 * this->harmvalue_size() + data_size;
  44907. }
  44908. // repeated .msg_info_def.ItemInfo items = 10;
  44909. total_size += 1 * this->items_size();
  44910. for (int i = 0; i < this->items_size(); i++) {
  44911. total_size +=
  44912. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  44913. this->items(i));
  44914. }
  44915. if (!unknown_fields().empty()) {
  44916. total_size +=
  44917. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  44918. unknown_fields());
  44919. }
  44920. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  44921. _cached_size_ = total_size;
  44922. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  44923. return total_size;
  44924. }
  44925. void packetw2c_attack_demon_result::MergeFrom(const ::google::protobuf::Message& from) {
  44926. GOOGLE_CHECK_NE(&from, this);
  44927. const packetw2c_attack_demon_result* source =
  44928. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_attack_demon_result*>(
  44929. &from);
  44930. if (source == NULL) {
  44931. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  44932. } else {
  44933. MergeFrom(*source);
  44934. }
  44935. }
  44936. void packetw2c_attack_demon_result::MergeFrom(const packetw2c_attack_demon_result& from) {
  44937. GOOGLE_CHECK_NE(&from, this);
  44938. weaponid_.MergeFrom(from.weaponid_);
  44939. harmvalue_.MergeFrom(from.harmvalue_);
  44940. items_.MergeFrom(from.items_);
  44941. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  44942. if (from.has_packet_id()) {
  44943. set_packet_id(from.packet_id());
  44944. }
  44945. if (from.has_result()) {
  44946. set_result(from.result());
  44947. }
  44948. if (from.has_floor()) {
  44949. set_floor(from.floor());
  44950. }
  44951. if (from.has_ishangup()) {
  44952. set_ishangup(from.ishangup());
  44953. }
  44954. if (from.has_curround()) {
  44955. set_curround(from.curround());
  44956. }
  44957. if (from.has_leftlife()) {
  44958. set_leftlife(from.leftlife());
  44959. }
  44960. }
  44961. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  44962. if (from.has_balancestar()) {
  44963. set_balancestar(from.balancestar());
  44964. }
  44965. }
  44966. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  44967. }
  44968. void packetw2c_attack_demon_result::CopyFrom(const ::google::protobuf::Message& from) {
  44969. if (&from == this) return;
  44970. Clear();
  44971. MergeFrom(from);
  44972. }
  44973. void packetw2c_attack_demon_result::CopyFrom(const packetw2c_attack_demon_result& from) {
  44974. if (&from == this) return;
  44975. Clear();
  44976. MergeFrom(from);
  44977. }
  44978. bool packetw2c_attack_demon_result::IsInitialized() const {
  44979. return true;
  44980. }
  44981. void packetw2c_attack_demon_result::Swap(packetw2c_attack_demon_result* other) {
  44982. if (other != this) {
  44983. std::swap(packet_id_, other->packet_id_);
  44984. std::swap(result_, other->result_);
  44985. std::swap(floor_, other->floor_);
  44986. std::swap(ishangup_, other->ishangup_);
  44987. weaponid_.Swap(&other->weaponid_);
  44988. harmvalue_.Swap(&other->harmvalue_);
  44989. std::swap(curround_, other->curround_);
  44990. std::swap(leftlife_, other->leftlife_);
  44991. std::swap(balancestar_, other->balancestar_);
  44992. items_.Swap(&other->items_);
  44993. std::swap(_has_bits_[0], other->_has_bits_[0]);
  44994. _unknown_fields_.Swap(&other->_unknown_fields_);
  44995. std::swap(_cached_size_, other->_cached_size_);
  44996. }
  44997. }
  44998. ::google::protobuf::Metadata packetw2c_attack_demon_result::GetMetadata() const {
  44999. protobuf_AssignDescriptorsOnce();
  45000. ::google::protobuf::Metadata metadata;
  45001. metadata.descriptor = packetw2c_attack_demon_result_descriptor_;
  45002. metadata.reflection = packetw2c_attack_demon_result_reflection_;
  45003. return metadata;
  45004. }
  45005. // ===================================================================
  45006. #ifndef _MSC_VER
  45007. const int packetc2w_get_kill_demons_rank::kPacketIdFieldNumber;
  45008. #endif // !_MSC_VER
  45009. packetc2w_get_kill_demons_rank::packetc2w_get_kill_demons_rank()
  45010. : ::google::protobuf::Message() {
  45011. SharedCtor();
  45012. }
  45013. void packetc2w_get_kill_demons_rank::InitAsDefaultInstance() {
  45014. }
  45015. packetc2w_get_kill_demons_rank::packetc2w_get_kill_demons_rank(const packetc2w_get_kill_demons_rank& from)
  45016. : ::google::protobuf::Message() {
  45017. SharedCtor();
  45018. MergeFrom(from);
  45019. }
  45020. void packetc2w_get_kill_demons_rank::SharedCtor() {
  45021. _cached_size_ = 0;
  45022. packet_id_ = 5208;
  45023. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  45024. }
  45025. packetc2w_get_kill_demons_rank::~packetc2w_get_kill_demons_rank() {
  45026. SharedDtor();
  45027. }
  45028. void packetc2w_get_kill_demons_rank::SharedDtor() {
  45029. if (this != default_instance_) {
  45030. }
  45031. }
  45032. void packetc2w_get_kill_demons_rank::SetCachedSize(int size) const {
  45033. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  45034. _cached_size_ = size;
  45035. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  45036. }
  45037. const ::google::protobuf::Descriptor* packetc2w_get_kill_demons_rank::descriptor() {
  45038. protobuf_AssignDescriptorsOnce();
  45039. return packetc2w_get_kill_demons_rank_descriptor_;
  45040. }
  45041. const packetc2w_get_kill_demons_rank& packetc2w_get_kill_demons_rank::default_instance() {
  45042. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  45043. return *default_instance_;
  45044. }
  45045. packetc2w_get_kill_demons_rank* packetc2w_get_kill_demons_rank::default_instance_ = NULL;
  45046. packetc2w_get_kill_demons_rank* packetc2w_get_kill_demons_rank::New() const {
  45047. return new packetc2w_get_kill_demons_rank;
  45048. }
  45049. void packetc2w_get_kill_demons_rank::Clear() {
  45050. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45051. packet_id_ = 5208;
  45052. }
  45053. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  45054. mutable_unknown_fields()->Clear();
  45055. }
  45056. bool packetc2w_get_kill_demons_rank::MergePartialFromCodedStream(
  45057. ::google::protobuf::io::CodedInputStream* input) {
  45058. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  45059. ::google::protobuf::uint32 tag;
  45060. while ((tag = input->ReadTag()) != 0) {
  45061. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  45062. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
  45063. case 1: {
  45064. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45065. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45066. int value;
  45067. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  45068. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  45069. input, &value)));
  45070. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  45071. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  45072. } else {
  45073. mutable_unknown_fields()->AddVarint(1, value);
  45074. }
  45075. } else {
  45076. goto handle_uninterpreted;
  45077. }
  45078. if (input->ExpectAtEnd()) return true;
  45079. break;
  45080. }
  45081. default: {
  45082. handle_uninterpreted:
  45083. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45084. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  45085. return true;
  45086. }
  45087. DO_(::google::protobuf::internal::WireFormat::SkipField(
  45088. input, tag, mutable_unknown_fields()));
  45089. break;
  45090. }
  45091. }
  45092. }
  45093. return true;
  45094. #undef DO_
  45095. }
  45096. void packetc2w_get_kill_demons_rank::SerializeWithCachedSizes(
  45097. ::google::protobuf::io::CodedOutputStream* output) const {
  45098. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
  45099. if (has_packet_id()) {
  45100. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  45101. 1, this->packet_id(), output);
  45102. }
  45103. if (!unknown_fields().empty()) {
  45104. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  45105. unknown_fields(), output);
  45106. }
  45107. }
  45108. ::google::protobuf::uint8* packetc2w_get_kill_demons_rank::SerializeWithCachedSizesToArray(
  45109. ::google::protobuf::uint8* target) const {
  45110. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
  45111. if (has_packet_id()) {
  45112. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  45113. 1, this->packet_id(), target);
  45114. }
  45115. if (!unknown_fields().empty()) {
  45116. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  45117. unknown_fields(), target);
  45118. }
  45119. return target;
  45120. }
  45121. int packetc2w_get_kill_demons_rank::ByteSize() const {
  45122. int total_size = 0;
  45123. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45124. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
  45125. if (has_packet_id()) {
  45126. total_size += 1 +
  45127. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  45128. }
  45129. }
  45130. if (!unknown_fields().empty()) {
  45131. total_size +=
  45132. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  45133. unknown_fields());
  45134. }
  45135. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  45136. _cached_size_ = total_size;
  45137. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  45138. return total_size;
  45139. }
  45140. void packetc2w_get_kill_demons_rank::MergeFrom(const ::google::protobuf::Message& from) {
  45141. GOOGLE_CHECK_NE(&from, this);
  45142. const packetc2w_get_kill_demons_rank* source =
  45143. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_kill_demons_rank*>(
  45144. &from);
  45145. if (source == NULL) {
  45146. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  45147. } else {
  45148. MergeFrom(*source);
  45149. }
  45150. }
  45151. void packetc2w_get_kill_demons_rank::MergeFrom(const packetc2w_get_kill_demons_rank& from) {
  45152. GOOGLE_CHECK_NE(&from, this);
  45153. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45154. if (from.has_packet_id()) {
  45155. set_packet_id(from.packet_id());
  45156. }
  45157. }
  45158. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  45159. }
  45160. void packetc2w_get_kill_demons_rank::CopyFrom(const ::google::protobuf::Message& from) {
  45161. if (&from == this) return;
  45162. Clear();
  45163. MergeFrom(from);
  45164. }
  45165. void packetc2w_get_kill_demons_rank::CopyFrom(const packetc2w_get_kill_demons_rank& from) {
  45166. if (&from == this) return;
  45167. Clear();
  45168. MergeFrom(from);
  45169. }
  45170. bool packetc2w_get_kill_demons_rank::IsInitialized() const {
  45171. return true;
  45172. }
  45173. void packetc2w_get_kill_demons_rank::Swap(packetc2w_get_kill_demons_rank* other) {
  45174. if (other != this) {
  45175. std::swap(packet_id_, other->packet_id_);
  45176. std::swap(_has_bits_[0], other->_has_bits_[0]);
  45177. _unknown_fields_.Swap(&other->_unknown_fields_);
  45178. std::swap(_cached_size_, other->_cached_size_);
  45179. }
  45180. }
  45181. ::google::protobuf::Metadata packetc2w_get_kill_demons_rank::GetMetadata() const {
  45182. protobuf_AssignDescriptorsOnce();
  45183. ::google::protobuf::Metadata metadata;
  45184. metadata.descriptor = packetc2w_get_kill_demons_rank_descriptor_;
  45185. metadata.reflection = packetc2w_get_kill_demons_rank_reflection_;
  45186. return metadata;
  45187. }
  45188. // ===================================================================
  45189. #ifndef _MSC_VER
  45190. const int packetw2c_get_kill_demons_rank_result::kPacketIdFieldNumber;
  45191. const int packetw2c_get_kill_demons_rank_result::kRankListFieldNumber;
  45192. const int packetw2c_get_kill_demons_rank_result::kThresholdValueFieldNumber;
  45193. const int packetw2c_get_kill_demons_rank_result::kMyRankFieldNumber;
  45194. #endif // !_MSC_VER
  45195. packetw2c_get_kill_demons_rank_result::packetw2c_get_kill_demons_rank_result()
  45196. : ::google::protobuf::Message() {
  45197. SharedCtor();
  45198. }
  45199. void packetw2c_get_kill_demons_rank_result::InitAsDefaultInstance() {
  45200. myrank_ = const_cast< ::client2world_protocols::activity_rank*>(&::client2world_protocols::activity_rank::default_instance());
  45201. }
  45202. packetw2c_get_kill_demons_rank_result::packetw2c_get_kill_demons_rank_result(const packetw2c_get_kill_demons_rank_result& from)
  45203. : ::google::protobuf::Message() {
  45204. SharedCtor();
  45205. MergeFrom(from);
  45206. }
  45207. void packetw2c_get_kill_demons_rank_result::SharedCtor() {
  45208. _cached_size_ = 0;
  45209. packet_id_ = 7741;
  45210. myrank_ = NULL;
  45211. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  45212. }
  45213. packetw2c_get_kill_demons_rank_result::~packetw2c_get_kill_demons_rank_result() {
  45214. SharedDtor();
  45215. }
  45216. void packetw2c_get_kill_demons_rank_result::SharedDtor() {
  45217. if (this != default_instance_) {
  45218. delete myrank_;
  45219. }
  45220. }
  45221. void packetw2c_get_kill_demons_rank_result::SetCachedSize(int size) const {
  45222. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  45223. _cached_size_ = size;
  45224. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  45225. }
  45226. const ::google::protobuf::Descriptor* packetw2c_get_kill_demons_rank_result::descriptor() {
  45227. protobuf_AssignDescriptorsOnce();
  45228. return packetw2c_get_kill_demons_rank_result_descriptor_;
  45229. }
  45230. const packetw2c_get_kill_demons_rank_result& packetw2c_get_kill_demons_rank_result::default_instance() {
  45231. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  45232. return *default_instance_;
  45233. }
  45234. packetw2c_get_kill_demons_rank_result* packetw2c_get_kill_demons_rank_result::default_instance_ = NULL;
  45235. packetw2c_get_kill_demons_rank_result* packetw2c_get_kill_demons_rank_result::New() const {
  45236. return new packetw2c_get_kill_demons_rank_result;
  45237. }
  45238. void packetw2c_get_kill_demons_rank_result::Clear() {
  45239. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45240. packet_id_ = 7741;
  45241. if (has_myrank()) {
  45242. if (myrank_ != NULL) myrank_->::client2world_protocols::activity_rank::Clear();
  45243. }
  45244. }
  45245. ranklist_.Clear();
  45246. thresholdvalue_.Clear();
  45247. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  45248. mutable_unknown_fields()->Clear();
  45249. }
  45250. bool packetw2c_get_kill_demons_rank_result::MergePartialFromCodedStream(
  45251. ::google::protobuf::io::CodedInputStream* input) {
  45252. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  45253. ::google::protobuf::uint32 tag;
  45254. while ((tag = input->ReadTag()) != 0) {
  45255. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  45256. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result];
  45257. case 1: {
  45258. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45259. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45260. int value;
  45261. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  45262. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  45263. input, &value)));
  45264. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  45265. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  45266. } else {
  45267. mutable_unknown_fields()->AddVarint(1, value);
  45268. }
  45269. } else {
  45270. goto handle_uninterpreted;
  45271. }
  45272. if (input->ExpectTag(18)) goto parse_rankList;
  45273. break;
  45274. }
  45275. // repeated .client2world_protocols.activity_rank rankList = 2;
  45276. case 2: {
  45277. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45278. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  45279. parse_rankList:
  45280. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  45281. input, add_ranklist()));
  45282. } else {
  45283. goto handle_uninterpreted;
  45284. }
  45285. if (input->ExpectTag(18)) goto parse_rankList;
  45286. if (input->ExpectTag(24)) goto parse_thresholdValue;
  45287. break;
  45288. }
  45289. // repeated int32 thresholdValue = 3;
  45290. case 3: {
  45291. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45292. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45293. parse_thresholdValue:
  45294. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  45295. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  45296. 1, 24, input, this->mutable_thresholdvalue())));
  45297. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  45298. == ::google::protobuf::internal::WireFormatLite::
  45299. WIRETYPE_LENGTH_DELIMITED) {
  45300. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  45301. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  45302. input, this->mutable_thresholdvalue())));
  45303. } else {
  45304. goto handle_uninterpreted;
  45305. }
  45306. if (input->ExpectTag(24)) goto parse_thresholdValue;
  45307. if (input->ExpectTag(34)) goto parse_myRank;
  45308. break;
  45309. }
  45310. // optional .client2world_protocols.activity_rank myRank = 4;
  45311. case 4: {
  45312. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45313. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  45314. parse_myRank:
  45315. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  45316. input, mutable_myrank()));
  45317. } else {
  45318. goto handle_uninterpreted;
  45319. }
  45320. if (input->ExpectAtEnd()) return true;
  45321. break;
  45322. }
  45323. default: {
  45324. handle_uninterpreted:
  45325. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45326. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  45327. return true;
  45328. }
  45329. DO_(::google::protobuf::internal::WireFormat::SkipField(
  45330. input, tag, mutable_unknown_fields()));
  45331. break;
  45332. }
  45333. }
  45334. }
  45335. return true;
  45336. #undef DO_
  45337. }
  45338. void packetw2c_get_kill_demons_rank_result::SerializeWithCachedSizes(
  45339. ::google::protobuf::io::CodedOutputStream* output) const {
  45340. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result];
  45341. if (has_packet_id()) {
  45342. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  45343. 1, this->packet_id(), output);
  45344. }
  45345. // repeated .client2world_protocols.activity_rank rankList = 2;
  45346. for (int i = 0; i < this->ranklist_size(); i++) {
  45347. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  45348. 2, this->ranklist(i), output);
  45349. }
  45350. // repeated int32 thresholdValue = 3;
  45351. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  45352. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  45353. 3, this->thresholdvalue(i), output);
  45354. }
  45355. // optional .client2world_protocols.activity_rank myRank = 4;
  45356. if (has_myrank()) {
  45357. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  45358. 4, this->myrank(), output);
  45359. }
  45360. if (!unknown_fields().empty()) {
  45361. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  45362. unknown_fields(), output);
  45363. }
  45364. }
  45365. ::google::protobuf::uint8* packetw2c_get_kill_demons_rank_result::SerializeWithCachedSizesToArray(
  45366. ::google::protobuf::uint8* target) const {
  45367. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result];
  45368. if (has_packet_id()) {
  45369. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  45370. 1, this->packet_id(), target);
  45371. }
  45372. // repeated .client2world_protocols.activity_rank rankList = 2;
  45373. for (int i = 0; i < this->ranklist_size(); i++) {
  45374. target = ::google::protobuf::internal::WireFormatLite::
  45375. WriteMessageNoVirtualToArray(
  45376. 2, this->ranklist(i), target);
  45377. }
  45378. // repeated int32 thresholdValue = 3;
  45379. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  45380. target = ::google::protobuf::internal::WireFormatLite::
  45381. WriteInt32ToArray(3, this->thresholdvalue(i), target);
  45382. }
  45383. // optional .client2world_protocols.activity_rank myRank = 4;
  45384. if (has_myrank()) {
  45385. target = ::google::protobuf::internal::WireFormatLite::
  45386. WriteMessageNoVirtualToArray(
  45387. 4, this->myrank(), target);
  45388. }
  45389. if (!unknown_fields().empty()) {
  45390. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  45391. unknown_fields(), target);
  45392. }
  45393. return target;
  45394. }
  45395. int packetw2c_get_kill_demons_rank_result::ByteSize() const {
  45396. int total_size = 0;
  45397. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45398. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result];
  45399. if (has_packet_id()) {
  45400. total_size += 1 +
  45401. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  45402. }
  45403. // optional .client2world_protocols.activity_rank myRank = 4;
  45404. if (has_myrank()) {
  45405. total_size += 1 +
  45406. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  45407. this->myrank());
  45408. }
  45409. }
  45410. // repeated .client2world_protocols.activity_rank rankList = 2;
  45411. total_size += 1 * this->ranklist_size();
  45412. for (int i = 0; i < this->ranklist_size(); i++) {
  45413. total_size +=
  45414. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  45415. this->ranklist(i));
  45416. }
  45417. // repeated int32 thresholdValue = 3;
  45418. {
  45419. int data_size = 0;
  45420. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  45421. data_size += ::google::protobuf::internal::WireFormatLite::
  45422. Int32Size(this->thresholdvalue(i));
  45423. }
  45424. total_size += 1 * this->thresholdvalue_size() + data_size;
  45425. }
  45426. if (!unknown_fields().empty()) {
  45427. total_size +=
  45428. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  45429. unknown_fields());
  45430. }
  45431. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  45432. _cached_size_ = total_size;
  45433. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  45434. return total_size;
  45435. }
  45436. void packetw2c_get_kill_demons_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  45437. GOOGLE_CHECK_NE(&from, this);
  45438. const packetw2c_get_kill_demons_rank_result* source =
  45439. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_kill_demons_rank_result*>(
  45440. &from);
  45441. if (source == NULL) {
  45442. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  45443. } else {
  45444. MergeFrom(*source);
  45445. }
  45446. }
  45447. void packetw2c_get_kill_demons_rank_result::MergeFrom(const packetw2c_get_kill_demons_rank_result& from) {
  45448. GOOGLE_CHECK_NE(&from, this);
  45449. ranklist_.MergeFrom(from.ranklist_);
  45450. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  45451. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45452. if (from.has_packet_id()) {
  45453. set_packet_id(from.packet_id());
  45454. }
  45455. if (from.has_myrank()) {
  45456. mutable_myrank()->::client2world_protocols::activity_rank::MergeFrom(from.myrank());
  45457. }
  45458. }
  45459. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  45460. }
  45461. void packetw2c_get_kill_demons_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  45462. if (&from == this) return;
  45463. Clear();
  45464. MergeFrom(from);
  45465. }
  45466. void packetw2c_get_kill_demons_rank_result::CopyFrom(const packetw2c_get_kill_demons_rank_result& from) {
  45467. if (&from == this) return;
  45468. Clear();
  45469. MergeFrom(from);
  45470. }
  45471. bool packetw2c_get_kill_demons_rank_result::IsInitialized() const {
  45472. return true;
  45473. }
  45474. void packetw2c_get_kill_demons_rank_result::Swap(packetw2c_get_kill_demons_rank_result* other) {
  45475. if (other != this) {
  45476. std::swap(packet_id_, other->packet_id_);
  45477. ranklist_.Swap(&other->ranklist_);
  45478. thresholdvalue_.Swap(&other->thresholdvalue_);
  45479. std::swap(myrank_, other->myrank_);
  45480. std::swap(_has_bits_[0], other->_has_bits_[0]);
  45481. _unknown_fields_.Swap(&other->_unknown_fields_);
  45482. std::swap(_cached_size_, other->_cached_size_);
  45483. }
  45484. }
  45485. ::google::protobuf::Metadata packetw2c_get_kill_demons_rank_result::GetMetadata() const {
  45486. protobuf_AssignDescriptorsOnce();
  45487. ::google::protobuf::Metadata metadata;
  45488. metadata.descriptor = packetw2c_get_kill_demons_rank_result_descriptor_;
  45489. metadata.reflection = packetw2c_get_kill_demons_rank_result_reflection_;
  45490. return metadata;
  45491. }
  45492. // ===================================================================
  45493. #ifndef _MSC_VER
  45494. const int packetc2w_kill_demons_smelt::kPacketIdFieldNumber;
  45495. const int packetc2w_kill_demons_smelt::kSmeltTimesFieldNumber;
  45496. #endif // !_MSC_VER
  45497. packetc2w_kill_demons_smelt::packetc2w_kill_demons_smelt()
  45498. : ::google::protobuf::Message() {
  45499. SharedCtor();
  45500. }
  45501. void packetc2w_kill_demons_smelt::InitAsDefaultInstance() {
  45502. }
  45503. packetc2w_kill_demons_smelt::packetc2w_kill_demons_smelt(const packetc2w_kill_demons_smelt& from)
  45504. : ::google::protobuf::Message() {
  45505. SharedCtor();
  45506. MergeFrom(from);
  45507. }
  45508. void packetc2w_kill_demons_smelt::SharedCtor() {
  45509. _cached_size_ = 0;
  45510. packet_id_ = 5209;
  45511. smelttimes_ = 0;
  45512. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  45513. }
  45514. packetc2w_kill_demons_smelt::~packetc2w_kill_demons_smelt() {
  45515. SharedDtor();
  45516. }
  45517. void packetc2w_kill_demons_smelt::SharedDtor() {
  45518. if (this != default_instance_) {
  45519. }
  45520. }
  45521. void packetc2w_kill_demons_smelt::SetCachedSize(int size) const {
  45522. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  45523. _cached_size_ = size;
  45524. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  45525. }
  45526. const ::google::protobuf::Descriptor* packetc2w_kill_demons_smelt::descriptor() {
  45527. protobuf_AssignDescriptorsOnce();
  45528. return packetc2w_kill_demons_smelt_descriptor_;
  45529. }
  45530. const packetc2w_kill_demons_smelt& packetc2w_kill_demons_smelt::default_instance() {
  45531. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  45532. return *default_instance_;
  45533. }
  45534. packetc2w_kill_demons_smelt* packetc2w_kill_demons_smelt::default_instance_ = NULL;
  45535. packetc2w_kill_demons_smelt* packetc2w_kill_demons_smelt::New() const {
  45536. return new packetc2w_kill_demons_smelt;
  45537. }
  45538. void packetc2w_kill_demons_smelt::Clear() {
  45539. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45540. packet_id_ = 5209;
  45541. smelttimes_ = 0;
  45542. }
  45543. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  45544. mutable_unknown_fields()->Clear();
  45545. }
  45546. bool packetc2w_kill_demons_smelt::MergePartialFromCodedStream(
  45547. ::google::protobuf::io::CodedInputStream* input) {
  45548. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  45549. ::google::protobuf::uint32 tag;
  45550. while ((tag = input->ReadTag()) != 0) {
  45551. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  45552. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_smelt];
  45553. case 1: {
  45554. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45555. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45556. int value;
  45557. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  45558. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  45559. input, &value)));
  45560. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  45561. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  45562. } else {
  45563. mutable_unknown_fields()->AddVarint(1, value);
  45564. }
  45565. } else {
  45566. goto handle_uninterpreted;
  45567. }
  45568. if (input->ExpectTag(16)) goto parse_smeltTimes;
  45569. break;
  45570. }
  45571. // optional int32 smeltTimes = 2;
  45572. case 2: {
  45573. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45574. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45575. parse_smeltTimes:
  45576. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  45577. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  45578. input, &smelttimes_)));
  45579. set_has_smelttimes();
  45580. } else {
  45581. goto handle_uninterpreted;
  45582. }
  45583. if (input->ExpectAtEnd()) return true;
  45584. break;
  45585. }
  45586. default: {
  45587. handle_uninterpreted:
  45588. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45589. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  45590. return true;
  45591. }
  45592. DO_(::google::protobuf::internal::WireFormat::SkipField(
  45593. input, tag, mutable_unknown_fields()));
  45594. break;
  45595. }
  45596. }
  45597. }
  45598. return true;
  45599. #undef DO_
  45600. }
  45601. void packetc2w_kill_demons_smelt::SerializeWithCachedSizes(
  45602. ::google::protobuf::io::CodedOutputStream* output) const {
  45603. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_smelt];
  45604. if (has_packet_id()) {
  45605. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  45606. 1, this->packet_id(), output);
  45607. }
  45608. // optional int32 smeltTimes = 2;
  45609. if (has_smelttimes()) {
  45610. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->smelttimes(), output);
  45611. }
  45612. if (!unknown_fields().empty()) {
  45613. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  45614. unknown_fields(), output);
  45615. }
  45616. }
  45617. ::google::protobuf::uint8* packetc2w_kill_demons_smelt::SerializeWithCachedSizesToArray(
  45618. ::google::protobuf::uint8* target) const {
  45619. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_smelt];
  45620. if (has_packet_id()) {
  45621. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  45622. 1, this->packet_id(), target);
  45623. }
  45624. // optional int32 smeltTimes = 2;
  45625. if (has_smelttimes()) {
  45626. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->smelttimes(), target);
  45627. }
  45628. if (!unknown_fields().empty()) {
  45629. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  45630. unknown_fields(), target);
  45631. }
  45632. return target;
  45633. }
  45634. int packetc2w_kill_demons_smelt::ByteSize() const {
  45635. int total_size = 0;
  45636. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45637. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_smelt];
  45638. if (has_packet_id()) {
  45639. total_size += 1 +
  45640. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  45641. }
  45642. // optional int32 smeltTimes = 2;
  45643. if (has_smelttimes()) {
  45644. total_size += 1 +
  45645. ::google::protobuf::internal::WireFormatLite::Int32Size(
  45646. this->smelttimes());
  45647. }
  45648. }
  45649. if (!unknown_fields().empty()) {
  45650. total_size +=
  45651. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  45652. unknown_fields());
  45653. }
  45654. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  45655. _cached_size_ = total_size;
  45656. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  45657. return total_size;
  45658. }
  45659. void packetc2w_kill_demons_smelt::MergeFrom(const ::google::protobuf::Message& from) {
  45660. GOOGLE_CHECK_NE(&from, this);
  45661. const packetc2w_kill_demons_smelt* source =
  45662. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_kill_demons_smelt*>(
  45663. &from);
  45664. if (source == NULL) {
  45665. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  45666. } else {
  45667. MergeFrom(*source);
  45668. }
  45669. }
  45670. void packetc2w_kill_demons_smelt::MergeFrom(const packetc2w_kill_demons_smelt& from) {
  45671. GOOGLE_CHECK_NE(&from, this);
  45672. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45673. if (from.has_packet_id()) {
  45674. set_packet_id(from.packet_id());
  45675. }
  45676. if (from.has_smelttimes()) {
  45677. set_smelttimes(from.smelttimes());
  45678. }
  45679. }
  45680. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  45681. }
  45682. void packetc2w_kill_demons_smelt::CopyFrom(const ::google::protobuf::Message& from) {
  45683. if (&from == this) return;
  45684. Clear();
  45685. MergeFrom(from);
  45686. }
  45687. void packetc2w_kill_demons_smelt::CopyFrom(const packetc2w_kill_demons_smelt& from) {
  45688. if (&from == this) return;
  45689. Clear();
  45690. MergeFrom(from);
  45691. }
  45692. bool packetc2w_kill_demons_smelt::IsInitialized() const {
  45693. return true;
  45694. }
  45695. void packetc2w_kill_demons_smelt::Swap(packetc2w_kill_demons_smelt* other) {
  45696. if (other != this) {
  45697. std::swap(packet_id_, other->packet_id_);
  45698. std::swap(smelttimes_, other->smelttimes_);
  45699. std::swap(_has_bits_[0], other->_has_bits_[0]);
  45700. _unknown_fields_.Swap(&other->_unknown_fields_);
  45701. std::swap(_cached_size_, other->_cached_size_);
  45702. }
  45703. }
  45704. ::google::protobuf::Metadata packetc2w_kill_demons_smelt::GetMetadata() const {
  45705. protobuf_AssignDescriptorsOnce();
  45706. ::google::protobuf::Metadata metadata;
  45707. metadata.descriptor = packetc2w_kill_demons_smelt_descriptor_;
  45708. metadata.reflection = packetc2w_kill_demons_smelt_reflection_;
  45709. return metadata;
  45710. }
  45711. // ===================================================================
  45712. #ifndef _MSC_VER
  45713. const int packetw2c_kill_demons_smelt_result::kPacketIdFieldNumber;
  45714. const int packetw2c_kill_demons_smelt_result::kResultFieldNumber;
  45715. const int packetw2c_kill_demons_smelt_result::kSmeltTimesFieldNumber;
  45716. const int packetw2c_kill_demons_smelt_result::kSmeltRewardFieldNumber;
  45717. #endif // !_MSC_VER
  45718. packetw2c_kill_demons_smelt_result::packetw2c_kill_demons_smelt_result()
  45719. : ::google::protobuf::Message() {
  45720. SharedCtor();
  45721. }
  45722. void packetw2c_kill_demons_smelt_result::InitAsDefaultInstance() {
  45723. }
  45724. packetw2c_kill_demons_smelt_result::packetw2c_kill_demons_smelt_result(const packetw2c_kill_demons_smelt_result& from)
  45725. : ::google::protobuf::Message() {
  45726. SharedCtor();
  45727. MergeFrom(from);
  45728. }
  45729. void packetw2c_kill_demons_smelt_result::SharedCtor() {
  45730. _cached_size_ = 0;
  45731. packet_id_ = 7742;
  45732. result_ = 0;
  45733. smelttimes_ = 0;
  45734. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  45735. }
  45736. packetw2c_kill_demons_smelt_result::~packetw2c_kill_demons_smelt_result() {
  45737. SharedDtor();
  45738. }
  45739. void packetw2c_kill_demons_smelt_result::SharedDtor() {
  45740. if (this != default_instance_) {
  45741. }
  45742. }
  45743. void packetw2c_kill_demons_smelt_result::SetCachedSize(int size) const {
  45744. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  45745. _cached_size_ = size;
  45746. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  45747. }
  45748. const ::google::protobuf::Descriptor* packetw2c_kill_demons_smelt_result::descriptor() {
  45749. protobuf_AssignDescriptorsOnce();
  45750. return packetw2c_kill_demons_smelt_result_descriptor_;
  45751. }
  45752. const packetw2c_kill_demons_smelt_result& packetw2c_kill_demons_smelt_result::default_instance() {
  45753. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  45754. return *default_instance_;
  45755. }
  45756. packetw2c_kill_demons_smelt_result* packetw2c_kill_demons_smelt_result::default_instance_ = NULL;
  45757. packetw2c_kill_demons_smelt_result* packetw2c_kill_demons_smelt_result::New() const {
  45758. return new packetw2c_kill_demons_smelt_result;
  45759. }
  45760. void packetw2c_kill_demons_smelt_result::Clear() {
  45761. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45762. packet_id_ = 7742;
  45763. result_ = 0;
  45764. smelttimes_ = 0;
  45765. }
  45766. smeltreward_.Clear();
  45767. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  45768. mutable_unknown_fields()->Clear();
  45769. }
  45770. bool packetw2c_kill_demons_smelt_result::MergePartialFromCodedStream(
  45771. ::google::protobuf::io::CodedInputStream* input) {
  45772. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  45773. ::google::protobuf::uint32 tag;
  45774. while ((tag = input->ReadTag()) != 0) {
  45775. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  45776. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_smelt_result];
  45777. case 1: {
  45778. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45779. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45780. int value;
  45781. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  45782. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  45783. input, &value)));
  45784. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  45785. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  45786. } else {
  45787. mutable_unknown_fields()->AddVarint(1, value);
  45788. }
  45789. } else {
  45790. goto handle_uninterpreted;
  45791. }
  45792. if (input->ExpectTag(16)) goto parse_result;
  45793. break;
  45794. }
  45795. // optional int32 result = 2;
  45796. case 2: {
  45797. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45798. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45799. parse_result:
  45800. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  45801. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  45802. input, &result_)));
  45803. set_has_result();
  45804. } else {
  45805. goto handle_uninterpreted;
  45806. }
  45807. if (input->ExpectTag(24)) goto parse_smeltTimes;
  45808. break;
  45809. }
  45810. // optional int32 smeltTimes = 3;
  45811. case 3: {
  45812. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45813. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45814. parse_smeltTimes:
  45815. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  45816. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  45817. input, &smelttimes_)));
  45818. set_has_smelttimes();
  45819. } else {
  45820. goto handle_uninterpreted;
  45821. }
  45822. if (input->ExpectTag(32)) goto parse_smeltReward;
  45823. break;
  45824. }
  45825. // repeated int32 smeltReward = 4;
  45826. case 4: {
  45827. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45828. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  45829. parse_smeltReward:
  45830. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  45831. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  45832. 1, 32, input, this->mutable_smeltreward())));
  45833. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  45834. == ::google::protobuf::internal::WireFormatLite::
  45835. WIRETYPE_LENGTH_DELIMITED) {
  45836. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  45837. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  45838. input, this->mutable_smeltreward())));
  45839. } else {
  45840. goto handle_uninterpreted;
  45841. }
  45842. if (input->ExpectTag(32)) goto parse_smeltReward;
  45843. if (input->ExpectAtEnd()) return true;
  45844. break;
  45845. }
  45846. default: {
  45847. handle_uninterpreted:
  45848. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  45849. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  45850. return true;
  45851. }
  45852. DO_(::google::protobuf::internal::WireFormat::SkipField(
  45853. input, tag, mutable_unknown_fields()));
  45854. break;
  45855. }
  45856. }
  45857. }
  45858. return true;
  45859. #undef DO_
  45860. }
  45861. void packetw2c_kill_demons_smelt_result::SerializeWithCachedSizes(
  45862. ::google::protobuf::io::CodedOutputStream* output) const {
  45863. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_smelt_result];
  45864. if (has_packet_id()) {
  45865. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  45866. 1, this->packet_id(), output);
  45867. }
  45868. // optional int32 result = 2;
  45869. if (has_result()) {
  45870. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  45871. }
  45872. // optional int32 smeltTimes = 3;
  45873. if (has_smelttimes()) {
  45874. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->smelttimes(), output);
  45875. }
  45876. // repeated int32 smeltReward = 4;
  45877. for (int i = 0; i < this->smeltreward_size(); i++) {
  45878. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  45879. 4, this->smeltreward(i), output);
  45880. }
  45881. if (!unknown_fields().empty()) {
  45882. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  45883. unknown_fields(), output);
  45884. }
  45885. }
  45886. ::google::protobuf::uint8* packetw2c_kill_demons_smelt_result::SerializeWithCachedSizesToArray(
  45887. ::google::protobuf::uint8* target) const {
  45888. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_smelt_result];
  45889. if (has_packet_id()) {
  45890. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  45891. 1, this->packet_id(), target);
  45892. }
  45893. // optional int32 result = 2;
  45894. if (has_result()) {
  45895. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  45896. }
  45897. // optional int32 smeltTimes = 3;
  45898. if (has_smelttimes()) {
  45899. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->smelttimes(), target);
  45900. }
  45901. // repeated int32 smeltReward = 4;
  45902. for (int i = 0; i < this->smeltreward_size(); i++) {
  45903. target = ::google::protobuf::internal::WireFormatLite::
  45904. WriteInt32ToArray(4, this->smeltreward(i), target);
  45905. }
  45906. if (!unknown_fields().empty()) {
  45907. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  45908. unknown_fields(), target);
  45909. }
  45910. return target;
  45911. }
  45912. int packetw2c_kill_demons_smelt_result::ByteSize() const {
  45913. int total_size = 0;
  45914. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45915. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_smelt_result];
  45916. if (has_packet_id()) {
  45917. total_size += 1 +
  45918. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  45919. }
  45920. // optional int32 result = 2;
  45921. if (has_result()) {
  45922. total_size += 1 +
  45923. ::google::protobuf::internal::WireFormatLite::Int32Size(
  45924. this->result());
  45925. }
  45926. // optional int32 smeltTimes = 3;
  45927. if (has_smelttimes()) {
  45928. total_size += 1 +
  45929. ::google::protobuf::internal::WireFormatLite::Int32Size(
  45930. this->smelttimes());
  45931. }
  45932. }
  45933. // repeated int32 smeltReward = 4;
  45934. {
  45935. int data_size = 0;
  45936. for (int i = 0; i < this->smeltreward_size(); i++) {
  45937. data_size += ::google::protobuf::internal::WireFormatLite::
  45938. Int32Size(this->smeltreward(i));
  45939. }
  45940. total_size += 1 * this->smeltreward_size() + data_size;
  45941. }
  45942. if (!unknown_fields().empty()) {
  45943. total_size +=
  45944. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  45945. unknown_fields());
  45946. }
  45947. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  45948. _cached_size_ = total_size;
  45949. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  45950. return total_size;
  45951. }
  45952. void packetw2c_kill_demons_smelt_result::MergeFrom(const ::google::protobuf::Message& from) {
  45953. GOOGLE_CHECK_NE(&from, this);
  45954. const packetw2c_kill_demons_smelt_result* source =
  45955. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_kill_demons_smelt_result*>(
  45956. &from);
  45957. if (source == NULL) {
  45958. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  45959. } else {
  45960. MergeFrom(*source);
  45961. }
  45962. }
  45963. void packetw2c_kill_demons_smelt_result::MergeFrom(const packetw2c_kill_demons_smelt_result& from) {
  45964. GOOGLE_CHECK_NE(&from, this);
  45965. smeltreward_.MergeFrom(from.smeltreward_);
  45966. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  45967. if (from.has_packet_id()) {
  45968. set_packet_id(from.packet_id());
  45969. }
  45970. if (from.has_result()) {
  45971. set_result(from.result());
  45972. }
  45973. if (from.has_smelttimes()) {
  45974. set_smelttimes(from.smelttimes());
  45975. }
  45976. }
  45977. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  45978. }
  45979. void packetw2c_kill_demons_smelt_result::CopyFrom(const ::google::protobuf::Message& from) {
  45980. if (&from == this) return;
  45981. Clear();
  45982. MergeFrom(from);
  45983. }
  45984. void packetw2c_kill_demons_smelt_result::CopyFrom(const packetw2c_kill_demons_smelt_result& from) {
  45985. if (&from == this) return;
  45986. Clear();
  45987. MergeFrom(from);
  45988. }
  45989. bool packetw2c_kill_demons_smelt_result::IsInitialized() const {
  45990. return true;
  45991. }
  45992. void packetw2c_kill_demons_smelt_result::Swap(packetw2c_kill_demons_smelt_result* other) {
  45993. if (other != this) {
  45994. std::swap(packet_id_, other->packet_id_);
  45995. std::swap(result_, other->result_);
  45996. std::swap(smelttimes_, other->smelttimes_);
  45997. smeltreward_.Swap(&other->smeltreward_);
  45998. std::swap(_has_bits_[0], other->_has_bits_[0]);
  45999. _unknown_fields_.Swap(&other->_unknown_fields_);
  46000. std::swap(_cached_size_, other->_cached_size_);
  46001. }
  46002. }
  46003. ::google::protobuf::Metadata packetw2c_kill_demons_smelt_result::GetMetadata() const {
  46004. protobuf_AssignDescriptorsOnce();
  46005. ::google::protobuf::Metadata metadata;
  46006. metadata.descriptor = packetw2c_kill_demons_smelt_result_descriptor_;
  46007. metadata.reflection = packetw2c_kill_demons_smelt_result_reflection_;
  46008. return metadata;
  46009. }
  46010. // ===================================================================
  46011. #ifndef _MSC_VER
  46012. const int packetc2w_recv_sword_energy_award::kPacketIdFieldNumber;
  46013. const int packetc2w_recv_sword_energy_award::kIndexFieldNumber;
  46014. #endif // !_MSC_VER
  46015. packetc2w_recv_sword_energy_award::packetc2w_recv_sword_energy_award()
  46016. : ::google::protobuf::Message() {
  46017. SharedCtor();
  46018. }
  46019. void packetc2w_recv_sword_energy_award::InitAsDefaultInstance() {
  46020. }
  46021. packetc2w_recv_sword_energy_award::packetc2w_recv_sword_energy_award(const packetc2w_recv_sword_energy_award& from)
  46022. : ::google::protobuf::Message() {
  46023. SharedCtor();
  46024. MergeFrom(from);
  46025. }
  46026. void packetc2w_recv_sword_energy_award::SharedCtor() {
  46027. _cached_size_ = 0;
  46028. packet_id_ = 5210;
  46029. index_ = 0;
  46030. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46031. }
  46032. packetc2w_recv_sword_energy_award::~packetc2w_recv_sword_energy_award() {
  46033. SharedDtor();
  46034. }
  46035. void packetc2w_recv_sword_energy_award::SharedDtor() {
  46036. if (this != default_instance_) {
  46037. }
  46038. }
  46039. void packetc2w_recv_sword_energy_award::SetCachedSize(int size) const {
  46040. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46041. _cached_size_ = size;
  46042. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46043. }
  46044. const ::google::protobuf::Descriptor* packetc2w_recv_sword_energy_award::descriptor() {
  46045. protobuf_AssignDescriptorsOnce();
  46046. return packetc2w_recv_sword_energy_award_descriptor_;
  46047. }
  46048. const packetc2w_recv_sword_energy_award& packetc2w_recv_sword_energy_award::default_instance() {
  46049. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  46050. return *default_instance_;
  46051. }
  46052. packetc2w_recv_sword_energy_award* packetc2w_recv_sword_energy_award::default_instance_ = NULL;
  46053. packetc2w_recv_sword_energy_award* packetc2w_recv_sword_energy_award::New() const {
  46054. return new packetc2w_recv_sword_energy_award;
  46055. }
  46056. void packetc2w_recv_sword_energy_award::Clear() {
  46057. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46058. packet_id_ = 5210;
  46059. index_ = 0;
  46060. }
  46061. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46062. mutable_unknown_fields()->Clear();
  46063. }
  46064. bool packetc2w_recv_sword_energy_award::MergePartialFromCodedStream(
  46065. ::google::protobuf::io::CodedInputStream* input) {
  46066. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  46067. ::google::protobuf::uint32 tag;
  46068. while ((tag = input->ReadTag()) != 0) {
  46069. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  46070. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_sword_energy_award];
  46071. case 1: {
  46072. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46073. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46074. int value;
  46075. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46076. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  46077. input, &value)));
  46078. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  46079. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  46080. } else {
  46081. mutable_unknown_fields()->AddVarint(1, value);
  46082. }
  46083. } else {
  46084. goto handle_uninterpreted;
  46085. }
  46086. if (input->ExpectTag(16)) goto parse_index;
  46087. break;
  46088. }
  46089. // optional int32 index = 2;
  46090. case 2: {
  46091. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46092. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46093. parse_index:
  46094. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46095. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  46096. input, &index_)));
  46097. set_has_index();
  46098. } else {
  46099. goto handle_uninterpreted;
  46100. }
  46101. if (input->ExpectAtEnd()) return true;
  46102. break;
  46103. }
  46104. default: {
  46105. handle_uninterpreted:
  46106. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46107. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  46108. return true;
  46109. }
  46110. DO_(::google::protobuf::internal::WireFormat::SkipField(
  46111. input, tag, mutable_unknown_fields()));
  46112. break;
  46113. }
  46114. }
  46115. }
  46116. return true;
  46117. #undef DO_
  46118. }
  46119. void packetc2w_recv_sword_energy_award::SerializeWithCachedSizes(
  46120. ::google::protobuf::io::CodedOutputStream* output) const {
  46121. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_sword_energy_award];
  46122. if (has_packet_id()) {
  46123. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  46124. 1, this->packet_id(), output);
  46125. }
  46126. // optional int32 index = 2;
  46127. if (has_index()) {
  46128. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  46129. }
  46130. if (!unknown_fields().empty()) {
  46131. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  46132. unknown_fields(), output);
  46133. }
  46134. }
  46135. ::google::protobuf::uint8* packetc2w_recv_sword_energy_award::SerializeWithCachedSizesToArray(
  46136. ::google::protobuf::uint8* target) const {
  46137. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_sword_energy_award];
  46138. if (has_packet_id()) {
  46139. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  46140. 1, this->packet_id(), target);
  46141. }
  46142. // optional int32 index = 2;
  46143. if (has_index()) {
  46144. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  46145. }
  46146. if (!unknown_fields().empty()) {
  46147. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  46148. unknown_fields(), target);
  46149. }
  46150. return target;
  46151. }
  46152. int packetc2w_recv_sword_energy_award::ByteSize() const {
  46153. int total_size = 0;
  46154. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46155. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_sword_energy_award];
  46156. if (has_packet_id()) {
  46157. total_size += 1 +
  46158. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  46159. }
  46160. // optional int32 index = 2;
  46161. if (has_index()) {
  46162. total_size += 1 +
  46163. ::google::protobuf::internal::WireFormatLite::Int32Size(
  46164. this->index());
  46165. }
  46166. }
  46167. if (!unknown_fields().empty()) {
  46168. total_size +=
  46169. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  46170. unknown_fields());
  46171. }
  46172. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46173. _cached_size_ = total_size;
  46174. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46175. return total_size;
  46176. }
  46177. void packetc2w_recv_sword_energy_award::MergeFrom(const ::google::protobuf::Message& from) {
  46178. GOOGLE_CHECK_NE(&from, this);
  46179. const packetc2w_recv_sword_energy_award* source =
  46180. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_sword_energy_award*>(
  46181. &from);
  46182. if (source == NULL) {
  46183. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  46184. } else {
  46185. MergeFrom(*source);
  46186. }
  46187. }
  46188. void packetc2w_recv_sword_energy_award::MergeFrom(const packetc2w_recv_sword_energy_award& from) {
  46189. GOOGLE_CHECK_NE(&from, this);
  46190. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46191. if (from.has_packet_id()) {
  46192. set_packet_id(from.packet_id());
  46193. }
  46194. if (from.has_index()) {
  46195. set_index(from.index());
  46196. }
  46197. }
  46198. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  46199. }
  46200. void packetc2w_recv_sword_energy_award::CopyFrom(const ::google::protobuf::Message& from) {
  46201. if (&from == this) return;
  46202. Clear();
  46203. MergeFrom(from);
  46204. }
  46205. void packetc2w_recv_sword_energy_award::CopyFrom(const packetc2w_recv_sword_energy_award& from) {
  46206. if (&from == this) return;
  46207. Clear();
  46208. MergeFrom(from);
  46209. }
  46210. bool packetc2w_recv_sword_energy_award::IsInitialized() const {
  46211. return true;
  46212. }
  46213. void packetc2w_recv_sword_energy_award::Swap(packetc2w_recv_sword_energy_award* other) {
  46214. if (other != this) {
  46215. std::swap(packet_id_, other->packet_id_);
  46216. std::swap(index_, other->index_);
  46217. std::swap(_has_bits_[0], other->_has_bits_[0]);
  46218. _unknown_fields_.Swap(&other->_unknown_fields_);
  46219. std::swap(_cached_size_, other->_cached_size_);
  46220. }
  46221. }
  46222. ::google::protobuf::Metadata packetc2w_recv_sword_energy_award::GetMetadata() const {
  46223. protobuf_AssignDescriptorsOnce();
  46224. ::google::protobuf::Metadata metadata;
  46225. metadata.descriptor = packetc2w_recv_sword_energy_award_descriptor_;
  46226. metadata.reflection = packetc2w_recv_sword_energy_award_reflection_;
  46227. return metadata;
  46228. }
  46229. // ===================================================================
  46230. #ifndef _MSC_VER
  46231. const int packetw2c_recv_sword_energy_award_result::kPacketIdFieldNumber;
  46232. const int packetw2c_recv_sword_energy_award_result::kResultFieldNumber;
  46233. const int packetw2c_recv_sword_energy_award_result::kIndexFieldNumber;
  46234. #endif // !_MSC_VER
  46235. packetw2c_recv_sword_energy_award_result::packetw2c_recv_sword_energy_award_result()
  46236. : ::google::protobuf::Message() {
  46237. SharedCtor();
  46238. }
  46239. void packetw2c_recv_sword_energy_award_result::InitAsDefaultInstance() {
  46240. }
  46241. packetw2c_recv_sword_energy_award_result::packetw2c_recv_sword_energy_award_result(const packetw2c_recv_sword_energy_award_result& from)
  46242. : ::google::protobuf::Message() {
  46243. SharedCtor();
  46244. MergeFrom(from);
  46245. }
  46246. void packetw2c_recv_sword_energy_award_result::SharedCtor() {
  46247. _cached_size_ = 0;
  46248. packet_id_ = 7743;
  46249. result_ = 0;
  46250. index_ = 0;
  46251. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46252. }
  46253. packetw2c_recv_sword_energy_award_result::~packetw2c_recv_sword_energy_award_result() {
  46254. SharedDtor();
  46255. }
  46256. void packetw2c_recv_sword_energy_award_result::SharedDtor() {
  46257. if (this != default_instance_) {
  46258. }
  46259. }
  46260. void packetw2c_recv_sword_energy_award_result::SetCachedSize(int size) const {
  46261. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46262. _cached_size_ = size;
  46263. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46264. }
  46265. const ::google::protobuf::Descriptor* packetw2c_recv_sword_energy_award_result::descriptor() {
  46266. protobuf_AssignDescriptorsOnce();
  46267. return packetw2c_recv_sword_energy_award_result_descriptor_;
  46268. }
  46269. const packetw2c_recv_sword_energy_award_result& packetw2c_recv_sword_energy_award_result::default_instance() {
  46270. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  46271. return *default_instance_;
  46272. }
  46273. packetw2c_recv_sword_energy_award_result* packetw2c_recv_sword_energy_award_result::default_instance_ = NULL;
  46274. packetw2c_recv_sword_energy_award_result* packetw2c_recv_sword_energy_award_result::New() const {
  46275. return new packetw2c_recv_sword_energy_award_result;
  46276. }
  46277. void packetw2c_recv_sword_energy_award_result::Clear() {
  46278. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46279. packet_id_ = 7743;
  46280. result_ = 0;
  46281. index_ = 0;
  46282. }
  46283. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46284. mutable_unknown_fields()->Clear();
  46285. }
  46286. bool packetw2c_recv_sword_energy_award_result::MergePartialFromCodedStream(
  46287. ::google::protobuf::io::CodedInputStream* input) {
  46288. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  46289. ::google::protobuf::uint32 tag;
  46290. while ((tag = input->ReadTag()) != 0) {
  46291. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  46292. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_sword_energy_award_result];
  46293. case 1: {
  46294. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46295. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46296. int value;
  46297. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46298. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  46299. input, &value)));
  46300. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  46301. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  46302. } else {
  46303. mutable_unknown_fields()->AddVarint(1, value);
  46304. }
  46305. } else {
  46306. goto handle_uninterpreted;
  46307. }
  46308. if (input->ExpectTag(16)) goto parse_result;
  46309. break;
  46310. }
  46311. // optional int32 result = 2;
  46312. case 2: {
  46313. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46314. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46315. parse_result:
  46316. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46317. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  46318. input, &result_)));
  46319. set_has_result();
  46320. } else {
  46321. goto handle_uninterpreted;
  46322. }
  46323. if (input->ExpectTag(24)) goto parse_index;
  46324. break;
  46325. }
  46326. // optional int32 index = 3;
  46327. case 3: {
  46328. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46329. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46330. parse_index:
  46331. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46332. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  46333. input, &index_)));
  46334. set_has_index();
  46335. } else {
  46336. goto handle_uninterpreted;
  46337. }
  46338. if (input->ExpectAtEnd()) return true;
  46339. break;
  46340. }
  46341. default: {
  46342. handle_uninterpreted:
  46343. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46344. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  46345. return true;
  46346. }
  46347. DO_(::google::protobuf::internal::WireFormat::SkipField(
  46348. input, tag, mutable_unknown_fields()));
  46349. break;
  46350. }
  46351. }
  46352. }
  46353. return true;
  46354. #undef DO_
  46355. }
  46356. void packetw2c_recv_sword_energy_award_result::SerializeWithCachedSizes(
  46357. ::google::protobuf::io::CodedOutputStream* output) const {
  46358. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_sword_energy_award_result];
  46359. if (has_packet_id()) {
  46360. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  46361. 1, this->packet_id(), output);
  46362. }
  46363. // optional int32 result = 2;
  46364. if (has_result()) {
  46365. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  46366. }
  46367. // optional int32 index = 3;
  46368. if (has_index()) {
  46369. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  46370. }
  46371. if (!unknown_fields().empty()) {
  46372. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  46373. unknown_fields(), output);
  46374. }
  46375. }
  46376. ::google::protobuf::uint8* packetw2c_recv_sword_energy_award_result::SerializeWithCachedSizesToArray(
  46377. ::google::protobuf::uint8* target) const {
  46378. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_sword_energy_award_result];
  46379. if (has_packet_id()) {
  46380. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  46381. 1, this->packet_id(), target);
  46382. }
  46383. // optional int32 result = 2;
  46384. if (has_result()) {
  46385. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  46386. }
  46387. // optional int32 index = 3;
  46388. if (has_index()) {
  46389. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  46390. }
  46391. if (!unknown_fields().empty()) {
  46392. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  46393. unknown_fields(), target);
  46394. }
  46395. return target;
  46396. }
  46397. int packetw2c_recv_sword_energy_award_result::ByteSize() const {
  46398. int total_size = 0;
  46399. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46400. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_sword_energy_award_result];
  46401. if (has_packet_id()) {
  46402. total_size += 1 +
  46403. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  46404. }
  46405. // optional int32 result = 2;
  46406. if (has_result()) {
  46407. total_size += 1 +
  46408. ::google::protobuf::internal::WireFormatLite::Int32Size(
  46409. this->result());
  46410. }
  46411. // optional int32 index = 3;
  46412. if (has_index()) {
  46413. total_size += 1 +
  46414. ::google::protobuf::internal::WireFormatLite::Int32Size(
  46415. this->index());
  46416. }
  46417. }
  46418. if (!unknown_fields().empty()) {
  46419. total_size +=
  46420. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  46421. unknown_fields());
  46422. }
  46423. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46424. _cached_size_ = total_size;
  46425. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46426. return total_size;
  46427. }
  46428. void packetw2c_recv_sword_energy_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  46429. GOOGLE_CHECK_NE(&from, this);
  46430. const packetw2c_recv_sword_energy_award_result* source =
  46431. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_sword_energy_award_result*>(
  46432. &from);
  46433. if (source == NULL) {
  46434. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  46435. } else {
  46436. MergeFrom(*source);
  46437. }
  46438. }
  46439. void packetw2c_recv_sword_energy_award_result::MergeFrom(const packetw2c_recv_sword_energy_award_result& from) {
  46440. GOOGLE_CHECK_NE(&from, this);
  46441. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46442. if (from.has_packet_id()) {
  46443. set_packet_id(from.packet_id());
  46444. }
  46445. if (from.has_result()) {
  46446. set_result(from.result());
  46447. }
  46448. if (from.has_index()) {
  46449. set_index(from.index());
  46450. }
  46451. }
  46452. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  46453. }
  46454. void packetw2c_recv_sword_energy_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  46455. if (&from == this) return;
  46456. Clear();
  46457. MergeFrom(from);
  46458. }
  46459. void packetw2c_recv_sword_energy_award_result::CopyFrom(const packetw2c_recv_sword_energy_award_result& from) {
  46460. if (&from == this) return;
  46461. Clear();
  46462. MergeFrom(from);
  46463. }
  46464. bool packetw2c_recv_sword_energy_award_result::IsInitialized() const {
  46465. return true;
  46466. }
  46467. void packetw2c_recv_sword_energy_award_result::Swap(packetw2c_recv_sword_energy_award_result* other) {
  46468. if (other != this) {
  46469. std::swap(packet_id_, other->packet_id_);
  46470. std::swap(result_, other->result_);
  46471. std::swap(index_, other->index_);
  46472. std::swap(_has_bits_[0], other->_has_bits_[0]);
  46473. _unknown_fields_.Swap(&other->_unknown_fields_);
  46474. std::swap(_cached_size_, other->_cached_size_);
  46475. }
  46476. }
  46477. ::google::protobuf::Metadata packetw2c_recv_sword_energy_award_result::GetMetadata() const {
  46478. protobuf_AssignDescriptorsOnce();
  46479. ::google::protobuf::Metadata metadata;
  46480. metadata.descriptor = packetw2c_recv_sword_energy_award_result_descriptor_;
  46481. metadata.reflection = packetw2c_recv_sword_energy_award_result_reflection_;
  46482. return metadata;
  46483. }
  46484. // ===================================================================
  46485. #ifndef _MSC_VER
  46486. const int packetc2w_kill_demons_task::kPacketIdFieldNumber;
  46487. #endif // !_MSC_VER
  46488. packetc2w_kill_demons_task::packetc2w_kill_demons_task()
  46489. : ::google::protobuf::Message() {
  46490. SharedCtor();
  46491. }
  46492. void packetc2w_kill_demons_task::InitAsDefaultInstance() {
  46493. }
  46494. packetc2w_kill_demons_task::packetc2w_kill_demons_task(const packetc2w_kill_demons_task& from)
  46495. : ::google::protobuf::Message() {
  46496. SharedCtor();
  46497. MergeFrom(from);
  46498. }
  46499. void packetc2w_kill_demons_task::SharedCtor() {
  46500. _cached_size_ = 0;
  46501. packet_id_ = 5248;
  46502. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46503. }
  46504. packetc2w_kill_demons_task::~packetc2w_kill_demons_task() {
  46505. SharedDtor();
  46506. }
  46507. void packetc2w_kill_demons_task::SharedDtor() {
  46508. if (this != default_instance_) {
  46509. }
  46510. }
  46511. void packetc2w_kill_demons_task::SetCachedSize(int size) const {
  46512. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46513. _cached_size_ = size;
  46514. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46515. }
  46516. const ::google::protobuf::Descriptor* packetc2w_kill_demons_task::descriptor() {
  46517. protobuf_AssignDescriptorsOnce();
  46518. return packetc2w_kill_demons_task_descriptor_;
  46519. }
  46520. const packetc2w_kill_demons_task& packetc2w_kill_demons_task::default_instance() {
  46521. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  46522. return *default_instance_;
  46523. }
  46524. packetc2w_kill_demons_task* packetc2w_kill_demons_task::default_instance_ = NULL;
  46525. packetc2w_kill_demons_task* packetc2w_kill_demons_task::New() const {
  46526. return new packetc2w_kill_demons_task;
  46527. }
  46528. void packetc2w_kill_demons_task::Clear() {
  46529. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46530. packet_id_ = 5248;
  46531. }
  46532. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46533. mutable_unknown_fields()->Clear();
  46534. }
  46535. bool packetc2w_kill_demons_task::MergePartialFromCodedStream(
  46536. ::google::protobuf::io::CodedInputStream* input) {
  46537. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  46538. ::google::protobuf::uint32 tag;
  46539. while ((tag = input->ReadTag()) != 0) {
  46540. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  46541. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_task];
  46542. case 1: {
  46543. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46544. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46545. int value;
  46546. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46547. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  46548. input, &value)));
  46549. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  46550. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  46551. } else {
  46552. mutable_unknown_fields()->AddVarint(1, value);
  46553. }
  46554. } else {
  46555. goto handle_uninterpreted;
  46556. }
  46557. if (input->ExpectAtEnd()) return true;
  46558. break;
  46559. }
  46560. default: {
  46561. handle_uninterpreted:
  46562. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46563. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  46564. return true;
  46565. }
  46566. DO_(::google::protobuf::internal::WireFormat::SkipField(
  46567. input, tag, mutable_unknown_fields()));
  46568. break;
  46569. }
  46570. }
  46571. }
  46572. return true;
  46573. #undef DO_
  46574. }
  46575. void packetc2w_kill_demons_task::SerializeWithCachedSizes(
  46576. ::google::protobuf::io::CodedOutputStream* output) const {
  46577. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_task];
  46578. if (has_packet_id()) {
  46579. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  46580. 1, this->packet_id(), output);
  46581. }
  46582. if (!unknown_fields().empty()) {
  46583. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  46584. unknown_fields(), output);
  46585. }
  46586. }
  46587. ::google::protobuf::uint8* packetc2w_kill_demons_task::SerializeWithCachedSizesToArray(
  46588. ::google::protobuf::uint8* target) const {
  46589. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_task];
  46590. if (has_packet_id()) {
  46591. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  46592. 1, this->packet_id(), target);
  46593. }
  46594. if (!unknown_fields().empty()) {
  46595. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  46596. unknown_fields(), target);
  46597. }
  46598. return target;
  46599. }
  46600. int packetc2w_kill_demons_task::ByteSize() const {
  46601. int total_size = 0;
  46602. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46603. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_task];
  46604. if (has_packet_id()) {
  46605. total_size += 1 +
  46606. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  46607. }
  46608. }
  46609. if (!unknown_fields().empty()) {
  46610. total_size +=
  46611. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  46612. unknown_fields());
  46613. }
  46614. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46615. _cached_size_ = total_size;
  46616. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46617. return total_size;
  46618. }
  46619. void packetc2w_kill_demons_task::MergeFrom(const ::google::protobuf::Message& from) {
  46620. GOOGLE_CHECK_NE(&from, this);
  46621. const packetc2w_kill_demons_task* source =
  46622. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_kill_demons_task*>(
  46623. &from);
  46624. if (source == NULL) {
  46625. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  46626. } else {
  46627. MergeFrom(*source);
  46628. }
  46629. }
  46630. void packetc2w_kill_demons_task::MergeFrom(const packetc2w_kill_demons_task& from) {
  46631. GOOGLE_CHECK_NE(&from, this);
  46632. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46633. if (from.has_packet_id()) {
  46634. set_packet_id(from.packet_id());
  46635. }
  46636. }
  46637. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  46638. }
  46639. void packetc2w_kill_demons_task::CopyFrom(const ::google::protobuf::Message& from) {
  46640. if (&from == this) return;
  46641. Clear();
  46642. MergeFrom(from);
  46643. }
  46644. void packetc2w_kill_demons_task::CopyFrom(const packetc2w_kill_demons_task& from) {
  46645. if (&from == this) return;
  46646. Clear();
  46647. MergeFrom(from);
  46648. }
  46649. bool packetc2w_kill_demons_task::IsInitialized() const {
  46650. return true;
  46651. }
  46652. void packetc2w_kill_demons_task::Swap(packetc2w_kill_demons_task* other) {
  46653. if (other != this) {
  46654. std::swap(packet_id_, other->packet_id_);
  46655. std::swap(_has_bits_[0], other->_has_bits_[0]);
  46656. _unknown_fields_.Swap(&other->_unknown_fields_);
  46657. std::swap(_cached_size_, other->_cached_size_);
  46658. }
  46659. }
  46660. ::google::protobuf::Metadata packetc2w_kill_demons_task::GetMetadata() const {
  46661. protobuf_AssignDescriptorsOnce();
  46662. ::google::protobuf::Metadata metadata;
  46663. metadata.descriptor = packetc2w_kill_demons_task_descriptor_;
  46664. metadata.reflection = packetc2w_kill_demons_task_reflection_;
  46665. return metadata;
  46666. }
  46667. // ===================================================================
  46668. #ifndef _MSC_VER
  46669. const int packetw2c_kill_demons_task_result::kPacketIdFieldNumber;
  46670. const int packetw2c_kill_demons_task_result::kQuestListFieldNumber;
  46671. #endif // !_MSC_VER
  46672. packetw2c_kill_demons_task_result::packetw2c_kill_demons_task_result()
  46673. : ::google::protobuf::Message() {
  46674. SharedCtor();
  46675. }
  46676. void packetw2c_kill_demons_task_result::InitAsDefaultInstance() {
  46677. }
  46678. packetw2c_kill_demons_task_result::packetw2c_kill_demons_task_result(const packetw2c_kill_demons_task_result& from)
  46679. : ::google::protobuf::Message() {
  46680. SharedCtor();
  46681. MergeFrom(from);
  46682. }
  46683. void packetw2c_kill_demons_task_result::SharedCtor() {
  46684. _cached_size_ = 0;
  46685. packet_id_ = 7795;
  46686. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46687. }
  46688. packetw2c_kill_demons_task_result::~packetw2c_kill_demons_task_result() {
  46689. SharedDtor();
  46690. }
  46691. void packetw2c_kill_demons_task_result::SharedDtor() {
  46692. if (this != default_instance_) {
  46693. }
  46694. }
  46695. void packetw2c_kill_demons_task_result::SetCachedSize(int size) const {
  46696. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46697. _cached_size_ = size;
  46698. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46699. }
  46700. const ::google::protobuf::Descriptor* packetw2c_kill_demons_task_result::descriptor() {
  46701. protobuf_AssignDescriptorsOnce();
  46702. return packetw2c_kill_demons_task_result_descriptor_;
  46703. }
  46704. const packetw2c_kill_demons_task_result& packetw2c_kill_demons_task_result::default_instance() {
  46705. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  46706. return *default_instance_;
  46707. }
  46708. packetw2c_kill_demons_task_result* packetw2c_kill_demons_task_result::default_instance_ = NULL;
  46709. packetw2c_kill_demons_task_result* packetw2c_kill_demons_task_result::New() const {
  46710. return new packetw2c_kill_demons_task_result;
  46711. }
  46712. void packetw2c_kill_demons_task_result::Clear() {
  46713. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46714. packet_id_ = 7795;
  46715. }
  46716. questlist_.Clear();
  46717. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46718. mutable_unknown_fields()->Clear();
  46719. }
  46720. bool packetw2c_kill_demons_task_result::MergePartialFromCodedStream(
  46721. ::google::protobuf::io::CodedInputStream* input) {
  46722. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  46723. ::google::protobuf::uint32 tag;
  46724. while ((tag = input->ReadTag()) != 0) {
  46725. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  46726. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_task_result];
  46727. case 1: {
  46728. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46729. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46730. int value;
  46731. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46732. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  46733. input, &value)));
  46734. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  46735. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  46736. } else {
  46737. mutable_unknown_fields()->AddVarint(1, value);
  46738. }
  46739. } else {
  46740. goto handle_uninterpreted;
  46741. }
  46742. if (input->ExpectTag(18)) goto parse_questList;
  46743. break;
  46744. }
  46745. // repeated .msg_info_def.msg_quest_info questList = 2;
  46746. case 2: {
  46747. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46748. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  46749. parse_questList:
  46750. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  46751. input, add_questlist()));
  46752. } else {
  46753. goto handle_uninterpreted;
  46754. }
  46755. if (input->ExpectTag(18)) goto parse_questList;
  46756. if (input->ExpectAtEnd()) return true;
  46757. break;
  46758. }
  46759. default: {
  46760. handle_uninterpreted:
  46761. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46762. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  46763. return true;
  46764. }
  46765. DO_(::google::protobuf::internal::WireFormat::SkipField(
  46766. input, tag, mutable_unknown_fields()));
  46767. break;
  46768. }
  46769. }
  46770. }
  46771. return true;
  46772. #undef DO_
  46773. }
  46774. void packetw2c_kill_demons_task_result::SerializeWithCachedSizes(
  46775. ::google::protobuf::io::CodedOutputStream* output) const {
  46776. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_task_result];
  46777. if (has_packet_id()) {
  46778. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  46779. 1, this->packet_id(), output);
  46780. }
  46781. // repeated .msg_info_def.msg_quest_info questList = 2;
  46782. for (int i = 0; i < this->questlist_size(); i++) {
  46783. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  46784. 2, this->questlist(i), output);
  46785. }
  46786. if (!unknown_fields().empty()) {
  46787. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  46788. unknown_fields(), output);
  46789. }
  46790. }
  46791. ::google::protobuf::uint8* packetw2c_kill_demons_task_result::SerializeWithCachedSizesToArray(
  46792. ::google::protobuf::uint8* target) const {
  46793. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_task_result];
  46794. if (has_packet_id()) {
  46795. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  46796. 1, this->packet_id(), target);
  46797. }
  46798. // repeated .msg_info_def.msg_quest_info questList = 2;
  46799. for (int i = 0; i < this->questlist_size(); i++) {
  46800. target = ::google::protobuf::internal::WireFormatLite::
  46801. WriteMessageNoVirtualToArray(
  46802. 2, this->questlist(i), target);
  46803. }
  46804. if (!unknown_fields().empty()) {
  46805. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  46806. unknown_fields(), target);
  46807. }
  46808. return target;
  46809. }
  46810. int packetw2c_kill_demons_task_result::ByteSize() const {
  46811. int total_size = 0;
  46812. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46813. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_task_result];
  46814. if (has_packet_id()) {
  46815. total_size += 1 +
  46816. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  46817. }
  46818. }
  46819. // repeated .msg_info_def.msg_quest_info questList = 2;
  46820. total_size += 1 * this->questlist_size();
  46821. for (int i = 0; i < this->questlist_size(); i++) {
  46822. total_size +=
  46823. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  46824. this->questlist(i));
  46825. }
  46826. if (!unknown_fields().empty()) {
  46827. total_size +=
  46828. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  46829. unknown_fields());
  46830. }
  46831. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46832. _cached_size_ = total_size;
  46833. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46834. return total_size;
  46835. }
  46836. void packetw2c_kill_demons_task_result::MergeFrom(const ::google::protobuf::Message& from) {
  46837. GOOGLE_CHECK_NE(&from, this);
  46838. const packetw2c_kill_demons_task_result* source =
  46839. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_kill_demons_task_result*>(
  46840. &from);
  46841. if (source == NULL) {
  46842. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  46843. } else {
  46844. MergeFrom(*source);
  46845. }
  46846. }
  46847. void packetw2c_kill_demons_task_result::MergeFrom(const packetw2c_kill_demons_task_result& from) {
  46848. GOOGLE_CHECK_NE(&from, this);
  46849. questlist_.MergeFrom(from.questlist_);
  46850. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46851. if (from.has_packet_id()) {
  46852. set_packet_id(from.packet_id());
  46853. }
  46854. }
  46855. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  46856. }
  46857. void packetw2c_kill_demons_task_result::CopyFrom(const ::google::protobuf::Message& from) {
  46858. if (&from == this) return;
  46859. Clear();
  46860. MergeFrom(from);
  46861. }
  46862. void packetw2c_kill_demons_task_result::CopyFrom(const packetw2c_kill_demons_task_result& from) {
  46863. if (&from == this) return;
  46864. Clear();
  46865. MergeFrom(from);
  46866. }
  46867. bool packetw2c_kill_demons_task_result::IsInitialized() const {
  46868. return true;
  46869. }
  46870. void packetw2c_kill_demons_task_result::Swap(packetw2c_kill_demons_task_result* other) {
  46871. if (other != this) {
  46872. std::swap(packet_id_, other->packet_id_);
  46873. questlist_.Swap(&other->questlist_);
  46874. std::swap(_has_bits_[0], other->_has_bits_[0]);
  46875. _unknown_fields_.Swap(&other->_unknown_fields_);
  46876. std::swap(_cached_size_, other->_cached_size_);
  46877. }
  46878. }
  46879. ::google::protobuf::Metadata packetw2c_kill_demons_task_result::GetMetadata() const {
  46880. protobuf_AssignDescriptorsOnce();
  46881. ::google::protobuf::Metadata metadata;
  46882. metadata.descriptor = packetw2c_kill_demons_task_result_descriptor_;
  46883. metadata.reflection = packetw2c_kill_demons_task_result_reflection_;
  46884. return metadata;
  46885. }
  46886. // ===================================================================
  46887. #ifndef _MSC_VER
  46888. const int packetw2c_syn_2020_national_info::kPacketIdFieldNumber;
  46889. const int packetw2c_syn_2020_national_info::kActivityStateFieldNumber;
  46890. const int packetw2c_syn_2020_national_info::kStartTimeFieldNumber;
  46891. const int packetw2c_syn_2020_national_info::kEndTimeFieldNumber;
  46892. const int packetw2c_syn_2020_national_info::kSignCountFieldNumber;
  46893. const int packetw2c_syn_2020_national_info::kCanSignFieldNumber;
  46894. const int packetw2c_syn_2020_national_info::kHandbooksAwardStatFieldNumber;
  46895. const int packetw2c_syn_2020_national_info::kHandbooksStatFieldNumber;
  46896. const int packetw2c_syn_2020_national_info::kPaddyCountFieldNumber;
  46897. #endif // !_MSC_VER
  46898. packetw2c_syn_2020_national_info::packetw2c_syn_2020_national_info()
  46899. : ::google::protobuf::Message() {
  46900. SharedCtor();
  46901. }
  46902. void packetw2c_syn_2020_national_info::InitAsDefaultInstance() {
  46903. }
  46904. packetw2c_syn_2020_national_info::packetw2c_syn_2020_national_info(const packetw2c_syn_2020_national_info& from)
  46905. : ::google::protobuf::Message() {
  46906. SharedCtor();
  46907. MergeFrom(from);
  46908. }
  46909. void packetw2c_syn_2020_national_info::SharedCtor() {
  46910. _cached_size_ = 0;
  46911. packet_id_ = 7746;
  46912. activitystate_ = 0;
  46913. starttime_ = 0;
  46914. endtime_ = 0;
  46915. signcount_ = 0;
  46916. cansign_ = false;
  46917. paddycount_ = 0;
  46918. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46919. }
  46920. packetw2c_syn_2020_national_info::~packetw2c_syn_2020_national_info() {
  46921. SharedDtor();
  46922. }
  46923. void packetw2c_syn_2020_national_info::SharedDtor() {
  46924. if (this != default_instance_) {
  46925. }
  46926. }
  46927. void packetw2c_syn_2020_national_info::SetCachedSize(int size) const {
  46928. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  46929. _cached_size_ = size;
  46930. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  46931. }
  46932. const ::google::protobuf::Descriptor* packetw2c_syn_2020_national_info::descriptor() {
  46933. protobuf_AssignDescriptorsOnce();
  46934. return packetw2c_syn_2020_national_info_descriptor_;
  46935. }
  46936. const packetw2c_syn_2020_national_info& packetw2c_syn_2020_national_info::default_instance() {
  46937. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  46938. return *default_instance_;
  46939. }
  46940. packetw2c_syn_2020_national_info* packetw2c_syn_2020_national_info::default_instance_ = NULL;
  46941. packetw2c_syn_2020_national_info* packetw2c_syn_2020_national_info::New() const {
  46942. return new packetw2c_syn_2020_national_info;
  46943. }
  46944. void packetw2c_syn_2020_national_info::Clear() {
  46945. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  46946. packet_id_ = 7746;
  46947. activitystate_ = 0;
  46948. starttime_ = 0;
  46949. endtime_ = 0;
  46950. signcount_ = 0;
  46951. cansign_ = false;
  46952. }
  46953. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  46954. paddycount_ = 0;
  46955. }
  46956. handbooksawardstat_.Clear();
  46957. handbooksstat_.Clear();
  46958. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  46959. mutable_unknown_fields()->Clear();
  46960. }
  46961. bool packetw2c_syn_2020_national_info::MergePartialFromCodedStream(
  46962. ::google::protobuf::io::CodedInputStream* input) {
  46963. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  46964. ::google::protobuf::uint32 tag;
  46965. while ((tag = input->ReadTag()) != 0) {
  46966. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  46967. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_2020_national_info];
  46968. case 1: {
  46969. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46970. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46971. int value;
  46972. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46973. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  46974. input, &value)));
  46975. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  46976. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  46977. } else {
  46978. mutable_unknown_fields()->AddVarint(1, value);
  46979. }
  46980. } else {
  46981. goto handle_uninterpreted;
  46982. }
  46983. if (input->ExpectTag(16)) goto parse_activityState;
  46984. break;
  46985. }
  46986. // optional int32 activityState = 2;
  46987. case 2: {
  46988. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  46989. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  46990. parse_activityState:
  46991. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  46992. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  46993. input, &activitystate_)));
  46994. set_has_activitystate();
  46995. } else {
  46996. goto handle_uninterpreted;
  46997. }
  46998. if (input->ExpectTag(24)) goto parse_startTime;
  46999. break;
  47000. }
  47001. // optional int32 startTime = 3;
  47002. case 3: {
  47003. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47004. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47005. parse_startTime:
  47006. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47007. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  47008. input, &starttime_)));
  47009. set_has_starttime();
  47010. } else {
  47011. goto handle_uninterpreted;
  47012. }
  47013. if (input->ExpectTag(32)) goto parse_endTime;
  47014. break;
  47015. }
  47016. // optional int32 endTime = 4;
  47017. case 4: {
  47018. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47019. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47020. parse_endTime:
  47021. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47022. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  47023. input, &endtime_)));
  47024. set_has_endtime();
  47025. } else {
  47026. goto handle_uninterpreted;
  47027. }
  47028. if (input->ExpectTag(40)) goto parse_signCount;
  47029. break;
  47030. }
  47031. // optional int32 signCount = 5;
  47032. case 5: {
  47033. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47034. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47035. parse_signCount:
  47036. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47037. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  47038. input, &signcount_)));
  47039. set_has_signcount();
  47040. } else {
  47041. goto handle_uninterpreted;
  47042. }
  47043. if (input->ExpectTag(48)) goto parse_canSign;
  47044. break;
  47045. }
  47046. // optional bool canSign = 6;
  47047. case 6: {
  47048. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47049. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47050. parse_canSign:
  47051. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47052. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  47053. input, &cansign_)));
  47054. set_has_cansign();
  47055. } else {
  47056. goto handle_uninterpreted;
  47057. }
  47058. if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
  47059. break;
  47060. }
  47061. // repeated bool handbooksAwardStat = 8;
  47062. case 8: {
  47063. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47064. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47065. parse_handbooksAwardStat:
  47066. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  47067. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  47068. 1, 64, input, this->mutable_handbooksawardstat())));
  47069. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  47070. == ::google::protobuf::internal::WireFormatLite::
  47071. WIRETYPE_LENGTH_DELIMITED) {
  47072. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  47073. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  47074. input, this->mutable_handbooksawardstat())));
  47075. } else {
  47076. goto handle_uninterpreted;
  47077. }
  47078. if (input->ExpectTag(64)) goto parse_handbooksAwardStat;
  47079. if (input->ExpectTag(72)) goto parse_handbooksStat;
  47080. break;
  47081. }
  47082. // repeated int32 handbooksStat = 9;
  47083. case 9: {
  47084. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47085. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47086. parse_handbooksStat:
  47087. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  47088. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  47089. 1, 72, input, this->mutable_handbooksstat())));
  47090. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  47091. == ::google::protobuf::internal::WireFormatLite::
  47092. WIRETYPE_LENGTH_DELIMITED) {
  47093. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  47094. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  47095. input, this->mutable_handbooksstat())));
  47096. } else {
  47097. goto handle_uninterpreted;
  47098. }
  47099. if (input->ExpectTag(72)) goto parse_handbooksStat;
  47100. if (input->ExpectTag(80)) goto parse_paddyCount;
  47101. break;
  47102. }
  47103. // optional int32 paddyCount = 10;
  47104. case 10: {
  47105. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47106. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47107. parse_paddyCount:
  47108. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47109. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  47110. input, &paddycount_)));
  47111. set_has_paddycount();
  47112. } else {
  47113. goto handle_uninterpreted;
  47114. }
  47115. if (input->ExpectAtEnd()) return true;
  47116. break;
  47117. }
  47118. default: {
  47119. handle_uninterpreted:
  47120. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47121. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  47122. return true;
  47123. }
  47124. DO_(::google::protobuf::internal::WireFormat::SkipField(
  47125. input, tag, mutable_unknown_fields()));
  47126. break;
  47127. }
  47128. }
  47129. }
  47130. return true;
  47131. #undef DO_
  47132. }
  47133. void packetw2c_syn_2020_national_info::SerializeWithCachedSizes(
  47134. ::google::protobuf::io::CodedOutputStream* output) const {
  47135. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_2020_national_info];
  47136. if (has_packet_id()) {
  47137. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  47138. 1, this->packet_id(), output);
  47139. }
  47140. // optional int32 activityState = 2;
  47141. if (has_activitystate()) {
  47142. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  47143. }
  47144. // optional int32 startTime = 3;
  47145. if (has_starttime()) {
  47146. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  47147. }
  47148. // optional int32 endTime = 4;
  47149. if (has_endtime()) {
  47150. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  47151. }
  47152. // optional int32 signCount = 5;
  47153. if (has_signcount()) {
  47154. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->signcount(), output);
  47155. }
  47156. // optional bool canSign = 6;
  47157. if (has_cansign()) {
  47158. ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->cansign(), output);
  47159. }
  47160. // repeated bool handbooksAwardStat = 8;
  47161. for (int i = 0; i < this->handbooksawardstat_size(); i++) {
  47162. ::google::protobuf::internal::WireFormatLite::WriteBool(
  47163. 8, this->handbooksawardstat(i), output);
  47164. }
  47165. // repeated int32 handbooksStat = 9;
  47166. for (int i = 0; i < this->handbooksstat_size(); i++) {
  47167. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  47168. 9, this->handbooksstat(i), output);
  47169. }
  47170. // optional int32 paddyCount = 10;
  47171. if (has_paddycount()) {
  47172. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->paddycount(), output);
  47173. }
  47174. if (!unknown_fields().empty()) {
  47175. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  47176. unknown_fields(), output);
  47177. }
  47178. }
  47179. ::google::protobuf::uint8* packetw2c_syn_2020_national_info::SerializeWithCachedSizesToArray(
  47180. ::google::protobuf::uint8* target) const {
  47181. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_2020_national_info];
  47182. if (has_packet_id()) {
  47183. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  47184. 1, this->packet_id(), target);
  47185. }
  47186. // optional int32 activityState = 2;
  47187. if (has_activitystate()) {
  47188. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  47189. }
  47190. // optional int32 startTime = 3;
  47191. if (has_starttime()) {
  47192. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  47193. }
  47194. // optional int32 endTime = 4;
  47195. if (has_endtime()) {
  47196. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  47197. }
  47198. // optional int32 signCount = 5;
  47199. if (has_signcount()) {
  47200. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->signcount(), target);
  47201. }
  47202. // optional bool canSign = 6;
  47203. if (has_cansign()) {
  47204. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->cansign(), target);
  47205. }
  47206. // repeated bool handbooksAwardStat = 8;
  47207. for (int i = 0; i < this->handbooksawardstat_size(); i++) {
  47208. target = ::google::protobuf::internal::WireFormatLite::
  47209. WriteBoolToArray(8, this->handbooksawardstat(i), target);
  47210. }
  47211. // repeated int32 handbooksStat = 9;
  47212. for (int i = 0; i < this->handbooksstat_size(); i++) {
  47213. target = ::google::protobuf::internal::WireFormatLite::
  47214. WriteInt32ToArray(9, this->handbooksstat(i), target);
  47215. }
  47216. // optional int32 paddyCount = 10;
  47217. if (has_paddycount()) {
  47218. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->paddycount(), target);
  47219. }
  47220. if (!unknown_fields().empty()) {
  47221. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  47222. unknown_fields(), target);
  47223. }
  47224. return target;
  47225. }
  47226. int packetw2c_syn_2020_national_info::ByteSize() const {
  47227. int total_size = 0;
  47228. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47229. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_2020_national_info];
  47230. if (has_packet_id()) {
  47231. total_size += 1 +
  47232. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  47233. }
  47234. // optional int32 activityState = 2;
  47235. if (has_activitystate()) {
  47236. total_size += 1 +
  47237. ::google::protobuf::internal::WireFormatLite::Int32Size(
  47238. this->activitystate());
  47239. }
  47240. // optional int32 startTime = 3;
  47241. if (has_starttime()) {
  47242. total_size += 1 +
  47243. ::google::protobuf::internal::WireFormatLite::Int32Size(
  47244. this->starttime());
  47245. }
  47246. // optional int32 endTime = 4;
  47247. if (has_endtime()) {
  47248. total_size += 1 +
  47249. ::google::protobuf::internal::WireFormatLite::Int32Size(
  47250. this->endtime());
  47251. }
  47252. // optional int32 signCount = 5;
  47253. if (has_signcount()) {
  47254. total_size += 1 +
  47255. ::google::protobuf::internal::WireFormatLite::Int32Size(
  47256. this->signcount());
  47257. }
  47258. // optional bool canSign = 6;
  47259. if (has_cansign()) {
  47260. total_size += 1 + 1;
  47261. }
  47262. }
  47263. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  47264. // optional int32 paddyCount = 10;
  47265. if (has_paddycount()) {
  47266. total_size += 1 +
  47267. ::google::protobuf::internal::WireFormatLite::Int32Size(
  47268. this->paddycount());
  47269. }
  47270. }
  47271. // repeated bool handbooksAwardStat = 8;
  47272. {
  47273. int data_size = 0;
  47274. data_size = 1 * this->handbooksawardstat_size();
  47275. total_size += 1 * this->handbooksawardstat_size() + data_size;
  47276. }
  47277. // repeated int32 handbooksStat = 9;
  47278. {
  47279. int data_size = 0;
  47280. for (int i = 0; i < this->handbooksstat_size(); i++) {
  47281. data_size += ::google::protobuf::internal::WireFormatLite::
  47282. Int32Size(this->handbooksstat(i));
  47283. }
  47284. total_size += 1 * this->handbooksstat_size() + data_size;
  47285. }
  47286. if (!unknown_fields().empty()) {
  47287. total_size +=
  47288. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  47289. unknown_fields());
  47290. }
  47291. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  47292. _cached_size_ = total_size;
  47293. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  47294. return total_size;
  47295. }
  47296. void packetw2c_syn_2020_national_info::MergeFrom(const ::google::protobuf::Message& from) {
  47297. GOOGLE_CHECK_NE(&from, this);
  47298. const packetw2c_syn_2020_national_info* source =
  47299. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_2020_national_info*>(
  47300. &from);
  47301. if (source == NULL) {
  47302. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  47303. } else {
  47304. MergeFrom(*source);
  47305. }
  47306. }
  47307. void packetw2c_syn_2020_national_info::MergeFrom(const packetw2c_syn_2020_national_info& from) {
  47308. GOOGLE_CHECK_NE(&from, this);
  47309. handbooksawardstat_.MergeFrom(from.handbooksawardstat_);
  47310. handbooksstat_.MergeFrom(from.handbooksstat_);
  47311. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47312. if (from.has_packet_id()) {
  47313. set_packet_id(from.packet_id());
  47314. }
  47315. if (from.has_activitystate()) {
  47316. set_activitystate(from.activitystate());
  47317. }
  47318. if (from.has_starttime()) {
  47319. set_starttime(from.starttime());
  47320. }
  47321. if (from.has_endtime()) {
  47322. set_endtime(from.endtime());
  47323. }
  47324. if (from.has_signcount()) {
  47325. set_signcount(from.signcount());
  47326. }
  47327. if (from.has_cansign()) {
  47328. set_cansign(from.cansign());
  47329. }
  47330. }
  47331. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  47332. if (from.has_paddycount()) {
  47333. set_paddycount(from.paddycount());
  47334. }
  47335. }
  47336. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  47337. }
  47338. void packetw2c_syn_2020_national_info::CopyFrom(const ::google::protobuf::Message& from) {
  47339. if (&from == this) return;
  47340. Clear();
  47341. MergeFrom(from);
  47342. }
  47343. void packetw2c_syn_2020_national_info::CopyFrom(const packetw2c_syn_2020_national_info& from) {
  47344. if (&from == this) return;
  47345. Clear();
  47346. MergeFrom(from);
  47347. }
  47348. bool packetw2c_syn_2020_national_info::IsInitialized() const {
  47349. return true;
  47350. }
  47351. void packetw2c_syn_2020_national_info::Swap(packetw2c_syn_2020_national_info* other) {
  47352. if (other != this) {
  47353. std::swap(packet_id_, other->packet_id_);
  47354. std::swap(activitystate_, other->activitystate_);
  47355. std::swap(starttime_, other->starttime_);
  47356. std::swap(endtime_, other->endtime_);
  47357. std::swap(signcount_, other->signcount_);
  47358. std::swap(cansign_, other->cansign_);
  47359. handbooksawardstat_.Swap(&other->handbooksawardstat_);
  47360. handbooksstat_.Swap(&other->handbooksstat_);
  47361. std::swap(paddycount_, other->paddycount_);
  47362. std::swap(_has_bits_[0], other->_has_bits_[0]);
  47363. _unknown_fields_.Swap(&other->_unknown_fields_);
  47364. std::swap(_cached_size_, other->_cached_size_);
  47365. }
  47366. }
  47367. ::google::protobuf::Metadata packetw2c_syn_2020_national_info::GetMetadata() const {
  47368. protobuf_AssignDescriptorsOnce();
  47369. ::google::protobuf::Metadata metadata;
  47370. metadata.descriptor = packetw2c_syn_2020_national_info_descriptor_;
  47371. metadata.reflection = packetw2c_syn_2020_national_info_reflection_;
  47372. return metadata;
  47373. }
  47374. // ===================================================================
  47375. #ifndef _MSC_VER
  47376. const int packetc2w_get_2020_national_quest::kPacketIdFieldNumber;
  47377. #endif // !_MSC_VER
  47378. packetc2w_get_2020_national_quest::packetc2w_get_2020_national_quest()
  47379. : ::google::protobuf::Message() {
  47380. SharedCtor();
  47381. }
  47382. void packetc2w_get_2020_national_quest::InitAsDefaultInstance() {
  47383. }
  47384. packetc2w_get_2020_national_quest::packetc2w_get_2020_national_quest(const packetc2w_get_2020_national_quest& from)
  47385. : ::google::protobuf::Message() {
  47386. SharedCtor();
  47387. MergeFrom(from);
  47388. }
  47389. void packetc2w_get_2020_national_quest::SharedCtor() {
  47390. _cached_size_ = 0;
  47391. packet_id_ = 5255;
  47392. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  47393. }
  47394. packetc2w_get_2020_national_quest::~packetc2w_get_2020_national_quest() {
  47395. SharedDtor();
  47396. }
  47397. void packetc2w_get_2020_national_quest::SharedDtor() {
  47398. if (this != default_instance_) {
  47399. }
  47400. }
  47401. void packetc2w_get_2020_national_quest::SetCachedSize(int size) const {
  47402. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  47403. _cached_size_ = size;
  47404. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  47405. }
  47406. const ::google::protobuf::Descriptor* packetc2w_get_2020_national_quest::descriptor() {
  47407. protobuf_AssignDescriptorsOnce();
  47408. return packetc2w_get_2020_national_quest_descriptor_;
  47409. }
  47410. const packetc2w_get_2020_national_quest& packetc2w_get_2020_national_quest::default_instance() {
  47411. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  47412. return *default_instance_;
  47413. }
  47414. packetc2w_get_2020_national_quest* packetc2w_get_2020_national_quest::default_instance_ = NULL;
  47415. packetc2w_get_2020_national_quest* packetc2w_get_2020_national_quest::New() const {
  47416. return new packetc2w_get_2020_national_quest;
  47417. }
  47418. void packetc2w_get_2020_national_quest::Clear() {
  47419. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47420. packet_id_ = 5255;
  47421. }
  47422. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  47423. mutable_unknown_fields()->Clear();
  47424. }
  47425. bool packetc2w_get_2020_national_quest::MergePartialFromCodedStream(
  47426. ::google::protobuf::io::CodedInputStream* input) {
  47427. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  47428. ::google::protobuf::uint32 tag;
  47429. while ((tag = input->ReadTag()) != 0) {
  47430. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  47431. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_2020_national_quest];
  47432. case 1: {
  47433. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47434. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47435. int value;
  47436. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47437. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  47438. input, &value)));
  47439. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  47440. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  47441. } else {
  47442. mutable_unknown_fields()->AddVarint(1, value);
  47443. }
  47444. } else {
  47445. goto handle_uninterpreted;
  47446. }
  47447. if (input->ExpectAtEnd()) return true;
  47448. break;
  47449. }
  47450. default: {
  47451. handle_uninterpreted:
  47452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  47454. return true;
  47455. }
  47456. DO_(::google::protobuf::internal::WireFormat::SkipField(
  47457. input, tag, mutable_unknown_fields()));
  47458. break;
  47459. }
  47460. }
  47461. }
  47462. return true;
  47463. #undef DO_
  47464. }
  47465. void packetc2w_get_2020_national_quest::SerializeWithCachedSizes(
  47466. ::google::protobuf::io::CodedOutputStream* output) const {
  47467. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_2020_national_quest];
  47468. if (has_packet_id()) {
  47469. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  47470. 1, this->packet_id(), output);
  47471. }
  47472. if (!unknown_fields().empty()) {
  47473. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  47474. unknown_fields(), output);
  47475. }
  47476. }
  47477. ::google::protobuf::uint8* packetc2w_get_2020_national_quest::SerializeWithCachedSizesToArray(
  47478. ::google::protobuf::uint8* target) const {
  47479. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_2020_national_quest];
  47480. if (has_packet_id()) {
  47481. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  47482. 1, this->packet_id(), target);
  47483. }
  47484. if (!unknown_fields().empty()) {
  47485. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  47486. unknown_fields(), target);
  47487. }
  47488. return target;
  47489. }
  47490. int packetc2w_get_2020_national_quest::ByteSize() const {
  47491. int total_size = 0;
  47492. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47493. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_2020_national_quest];
  47494. if (has_packet_id()) {
  47495. total_size += 1 +
  47496. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  47497. }
  47498. }
  47499. if (!unknown_fields().empty()) {
  47500. total_size +=
  47501. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  47502. unknown_fields());
  47503. }
  47504. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  47505. _cached_size_ = total_size;
  47506. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  47507. return total_size;
  47508. }
  47509. void packetc2w_get_2020_national_quest::MergeFrom(const ::google::protobuf::Message& from) {
  47510. GOOGLE_CHECK_NE(&from, this);
  47511. const packetc2w_get_2020_national_quest* source =
  47512. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_2020_national_quest*>(
  47513. &from);
  47514. if (source == NULL) {
  47515. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  47516. } else {
  47517. MergeFrom(*source);
  47518. }
  47519. }
  47520. void packetc2w_get_2020_national_quest::MergeFrom(const packetc2w_get_2020_national_quest& from) {
  47521. GOOGLE_CHECK_NE(&from, this);
  47522. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47523. if (from.has_packet_id()) {
  47524. set_packet_id(from.packet_id());
  47525. }
  47526. }
  47527. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  47528. }
  47529. void packetc2w_get_2020_national_quest::CopyFrom(const ::google::protobuf::Message& from) {
  47530. if (&from == this) return;
  47531. Clear();
  47532. MergeFrom(from);
  47533. }
  47534. void packetc2w_get_2020_national_quest::CopyFrom(const packetc2w_get_2020_national_quest& from) {
  47535. if (&from == this) return;
  47536. Clear();
  47537. MergeFrom(from);
  47538. }
  47539. bool packetc2w_get_2020_national_quest::IsInitialized() const {
  47540. return true;
  47541. }
  47542. void packetc2w_get_2020_national_quest::Swap(packetc2w_get_2020_national_quest* other) {
  47543. if (other != this) {
  47544. std::swap(packet_id_, other->packet_id_);
  47545. std::swap(_has_bits_[0], other->_has_bits_[0]);
  47546. _unknown_fields_.Swap(&other->_unknown_fields_);
  47547. std::swap(_cached_size_, other->_cached_size_);
  47548. }
  47549. }
  47550. ::google::protobuf::Metadata packetc2w_get_2020_national_quest::GetMetadata() const {
  47551. protobuf_AssignDescriptorsOnce();
  47552. ::google::protobuf::Metadata metadata;
  47553. metadata.descriptor = packetc2w_get_2020_national_quest_descriptor_;
  47554. metadata.reflection = packetc2w_get_2020_national_quest_reflection_;
  47555. return metadata;
  47556. }
  47557. // ===================================================================
  47558. #ifndef _MSC_VER
  47559. const int packetw2c_get_2020_national_quest_result::kPacketIdFieldNumber;
  47560. const int packetw2c_get_2020_national_quest_result::kQuestListFieldNumber;
  47561. #endif // !_MSC_VER
  47562. packetw2c_get_2020_national_quest_result::packetw2c_get_2020_national_quest_result()
  47563. : ::google::protobuf::Message() {
  47564. SharedCtor();
  47565. }
  47566. void packetw2c_get_2020_national_quest_result::InitAsDefaultInstance() {
  47567. }
  47568. packetw2c_get_2020_national_quest_result::packetw2c_get_2020_national_quest_result(const packetw2c_get_2020_national_quest_result& from)
  47569. : ::google::protobuf::Message() {
  47570. SharedCtor();
  47571. MergeFrom(from);
  47572. }
  47573. void packetw2c_get_2020_national_quest_result::SharedCtor() {
  47574. _cached_size_ = 0;
  47575. packet_id_ = 7803;
  47576. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  47577. }
  47578. packetw2c_get_2020_national_quest_result::~packetw2c_get_2020_national_quest_result() {
  47579. SharedDtor();
  47580. }
  47581. void packetw2c_get_2020_national_quest_result::SharedDtor() {
  47582. if (this != default_instance_) {
  47583. }
  47584. }
  47585. void packetw2c_get_2020_national_quest_result::SetCachedSize(int size) const {
  47586. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  47587. _cached_size_ = size;
  47588. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  47589. }
  47590. const ::google::protobuf::Descriptor* packetw2c_get_2020_national_quest_result::descriptor() {
  47591. protobuf_AssignDescriptorsOnce();
  47592. return packetw2c_get_2020_national_quest_result_descriptor_;
  47593. }
  47594. const packetw2c_get_2020_national_quest_result& packetw2c_get_2020_national_quest_result::default_instance() {
  47595. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  47596. return *default_instance_;
  47597. }
  47598. packetw2c_get_2020_national_quest_result* packetw2c_get_2020_national_quest_result::default_instance_ = NULL;
  47599. packetw2c_get_2020_national_quest_result* packetw2c_get_2020_national_quest_result::New() const {
  47600. return new packetw2c_get_2020_national_quest_result;
  47601. }
  47602. void packetw2c_get_2020_national_quest_result::Clear() {
  47603. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47604. packet_id_ = 7803;
  47605. }
  47606. questlist_.Clear();
  47607. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  47608. mutable_unknown_fields()->Clear();
  47609. }
  47610. bool packetw2c_get_2020_national_quest_result::MergePartialFromCodedStream(
  47611. ::google::protobuf::io::CodedInputStream* input) {
  47612. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  47613. ::google::protobuf::uint32 tag;
  47614. while ((tag = input->ReadTag()) != 0) {
  47615. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  47616. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_2020_national_quest_result];
  47617. case 1: {
  47618. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47619. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47620. int value;
  47621. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47622. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  47623. input, &value)));
  47624. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  47625. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  47626. } else {
  47627. mutable_unknown_fields()->AddVarint(1, value);
  47628. }
  47629. } else {
  47630. goto handle_uninterpreted;
  47631. }
  47632. if (input->ExpectTag(18)) goto parse_questList;
  47633. break;
  47634. }
  47635. // repeated .msg_info_def.msg_quest_info questList = 2;
  47636. case 2: {
  47637. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47638. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  47639. parse_questList:
  47640. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  47641. input, add_questlist()));
  47642. } else {
  47643. goto handle_uninterpreted;
  47644. }
  47645. if (input->ExpectTag(18)) goto parse_questList;
  47646. if (input->ExpectAtEnd()) return true;
  47647. break;
  47648. }
  47649. default: {
  47650. handle_uninterpreted:
  47651. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47652. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  47653. return true;
  47654. }
  47655. DO_(::google::protobuf::internal::WireFormat::SkipField(
  47656. input, tag, mutable_unknown_fields()));
  47657. break;
  47658. }
  47659. }
  47660. }
  47661. return true;
  47662. #undef DO_
  47663. }
  47664. void packetw2c_get_2020_national_quest_result::SerializeWithCachedSizes(
  47665. ::google::protobuf::io::CodedOutputStream* output) const {
  47666. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_2020_national_quest_result];
  47667. if (has_packet_id()) {
  47668. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  47669. 1, this->packet_id(), output);
  47670. }
  47671. // repeated .msg_info_def.msg_quest_info questList = 2;
  47672. for (int i = 0; i < this->questlist_size(); i++) {
  47673. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  47674. 2, this->questlist(i), output);
  47675. }
  47676. if (!unknown_fields().empty()) {
  47677. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  47678. unknown_fields(), output);
  47679. }
  47680. }
  47681. ::google::protobuf::uint8* packetw2c_get_2020_national_quest_result::SerializeWithCachedSizesToArray(
  47682. ::google::protobuf::uint8* target) const {
  47683. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_2020_national_quest_result];
  47684. if (has_packet_id()) {
  47685. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  47686. 1, this->packet_id(), target);
  47687. }
  47688. // repeated .msg_info_def.msg_quest_info questList = 2;
  47689. for (int i = 0; i < this->questlist_size(); i++) {
  47690. target = ::google::protobuf::internal::WireFormatLite::
  47691. WriteMessageNoVirtualToArray(
  47692. 2, this->questlist(i), target);
  47693. }
  47694. if (!unknown_fields().empty()) {
  47695. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  47696. unknown_fields(), target);
  47697. }
  47698. return target;
  47699. }
  47700. int packetw2c_get_2020_national_quest_result::ByteSize() const {
  47701. int total_size = 0;
  47702. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47703. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_2020_national_quest_result];
  47704. if (has_packet_id()) {
  47705. total_size += 1 +
  47706. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  47707. }
  47708. }
  47709. // repeated .msg_info_def.msg_quest_info questList = 2;
  47710. total_size += 1 * this->questlist_size();
  47711. for (int i = 0; i < this->questlist_size(); i++) {
  47712. total_size +=
  47713. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  47714. this->questlist(i));
  47715. }
  47716. if (!unknown_fields().empty()) {
  47717. total_size +=
  47718. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  47719. unknown_fields());
  47720. }
  47721. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  47722. _cached_size_ = total_size;
  47723. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  47724. return total_size;
  47725. }
  47726. void packetw2c_get_2020_national_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  47727. GOOGLE_CHECK_NE(&from, this);
  47728. const packetw2c_get_2020_national_quest_result* source =
  47729. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_2020_national_quest_result*>(
  47730. &from);
  47731. if (source == NULL) {
  47732. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  47733. } else {
  47734. MergeFrom(*source);
  47735. }
  47736. }
  47737. void packetw2c_get_2020_national_quest_result::MergeFrom(const packetw2c_get_2020_national_quest_result& from) {
  47738. GOOGLE_CHECK_NE(&from, this);
  47739. questlist_.MergeFrom(from.questlist_);
  47740. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47741. if (from.has_packet_id()) {
  47742. set_packet_id(from.packet_id());
  47743. }
  47744. }
  47745. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  47746. }
  47747. void packetw2c_get_2020_national_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  47748. if (&from == this) return;
  47749. Clear();
  47750. MergeFrom(from);
  47751. }
  47752. void packetw2c_get_2020_national_quest_result::CopyFrom(const packetw2c_get_2020_national_quest_result& from) {
  47753. if (&from == this) return;
  47754. Clear();
  47755. MergeFrom(from);
  47756. }
  47757. bool packetw2c_get_2020_national_quest_result::IsInitialized() const {
  47758. return true;
  47759. }
  47760. void packetw2c_get_2020_national_quest_result::Swap(packetw2c_get_2020_national_quest_result* other) {
  47761. if (other != this) {
  47762. std::swap(packet_id_, other->packet_id_);
  47763. questlist_.Swap(&other->questlist_);
  47764. std::swap(_has_bits_[0], other->_has_bits_[0]);
  47765. _unknown_fields_.Swap(&other->_unknown_fields_);
  47766. std::swap(_cached_size_, other->_cached_size_);
  47767. }
  47768. }
  47769. ::google::protobuf::Metadata packetw2c_get_2020_national_quest_result::GetMetadata() const {
  47770. protobuf_AssignDescriptorsOnce();
  47771. ::google::protobuf::Metadata metadata;
  47772. metadata.descriptor = packetw2c_get_2020_national_quest_result_descriptor_;
  47773. metadata.reflection = packetw2c_get_2020_national_quest_result_reflection_;
  47774. return metadata;
  47775. }
  47776. // ===================================================================
  47777. #ifndef _MSC_VER
  47778. const int packetc2w_recv_2020_national_login_reward::kPacketIdFieldNumber;
  47779. const int packetc2w_recv_2020_national_login_reward::kSignIndexFieldNumber;
  47780. #endif // !_MSC_VER
  47781. packetc2w_recv_2020_national_login_reward::packetc2w_recv_2020_national_login_reward()
  47782. : ::google::protobuf::Message() {
  47783. SharedCtor();
  47784. }
  47785. void packetc2w_recv_2020_national_login_reward::InitAsDefaultInstance() {
  47786. }
  47787. packetc2w_recv_2020_national_login_reward::packetc2w_recv_2020_national_login_reward(const packetc2w_recv_2020_national_login_reward& from)
  47788. : ::google::protobuf::Message() {
  47789. SharedCtor();
  47790. MergeFrom(from);
  47791. }
  47792. void packetc2w_recv_2020_national_login_reward::SharedCtor() {
  47793. _cached_size_ = 0;
  47794. packet_id_ = 5213;
  47795. signindex_ = 0;
  47796. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  47797. }
  47798. packetc2w_recv_2020_national_login_reward::~packetc2w_recv_2020_national_login_reward() {
  47799. SharedDtor();
  47800. }
  47801. void packetc2w_recv_2020_national_login_reward::SharedDtor() {
  47802. if (this != default_instance_) {
  47803. }
  47804. }
  47805. void packetc2w_recv_2020_national_login_reward::SetCachedSize(int size) const {
  47806. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  47807. _cached_size_ = size;
  47808. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  47809. }
  47810. const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_login_reward::descriptor() {
  47811. protobuf_AssignDescriptorsOnce();
  47812. return packetc2w_recv_2020_national_login_reward_descriptor_;
  47813. }
  47814. const packetc2w_recv_2020_national_login_reward& packetc2w_recv_2020_national_login_reward::default_instance() {
  47815. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  47816. return *default_instance_;
  47817. }
  47818. packetc2w_recv_2020_national_login_reward* packetc2w_recv_2020_national_login_reward::default_instance_ = NULL;
  47819. packetc2w_recv_2020_national_login_reward* packetc2w_recv_2020_national_login_reward::New() const {
  47820. return new packetc2w_recv_2020_national_login_reward;
  47821. }
  47822. void packetc2w_recv_2020_national_login_reward::Clear() {
  47823. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47824. packet_id_ = 5213;
  47825. signindex_ = 0;
  47826. }
  47827. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  47828. mutable_unknown_fields()->Clear();
  47829. }
  47830. bool packetc2w_recv_2020_national_login_reward::MergePartialFromCodedStream(
  47831. ::google::protobuf::io::CodedInputStream* input) {
  47832. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  47833. ::google::protobuf::uint32 tag;
  47834. while ((tag = input->ReadTag()) != 0) {
  47835. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  47836. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_login_reward];
  47837. case 1: {
  47838. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47839. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47840. int value;
  47841. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47842. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  47843. input, &value)));
  47844. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  47845. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  47846. } else {
  47847. mutable_unknown_fields()->AddVarint(1, value);
  47848. }
  47849. } else {
  47850. goto handle_uninterpreted;
  47851. }
  47852. if (input->ExpectTag(16)) goto parse_signIndex;
  47853. break;
  47854. }
  47855. // optional int32 signIndex = 2;
  47856. case 2: {
  47857. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47858. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  47859. parse_signIndex:
  47860. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  47861. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  47862. input, &signindex_)));
  47863. set_has_signindex();
  47864. } else {
  47865. goto handle_uninterpreted;
  47866. }
  47867. if (input->ExpectAtEnd()) return true;
  47868. break;
  47869. }
  47870. default: {
  47871. handle_uninterpreted:
  47872. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  47873. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  47874. return true;
  47875. }
  47876. DO_(::google::protobuf::internal::WireFormat::SkipField(
  47877. input, tag, mutable_unknown_fields()));
  47878. break;
  47879. }
  47880. }
  47881. }
  47882. return true;
  47883. #undef DO_
  47884. }
  47885. void packetc2w_recv_2020_national_login_reward::SerializeWithCachedSizes(
  47886. ::google::protobuf::io::CodedOutputStream* output) const {
  47887. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_login_reward];
  47888. if (has_packet_id()) {
  47889. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  47890. 1, this->packet_id(), output);
  47891. }
  47892. // optional int32 signIndex = 2;
  47893. if (has_signindex()) {
  47894. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  47895. }
  47896. if (!unknown_fields().empty()) {
  47897. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  47898. unknown_fields(), output);
  47899. }
  47900. }
  47901. ::google::protobuf::uint8* packetc2w_recv_2020_national_login_reward::SerializeWithCachedSizesToArray(
  47902. ::google::protobuf::uint8* target) const {
  47903. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_login_reward];
  47904. if (has_packet_id()) {
  47905. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  47906. 1, this->packet_id(), target);
  47907. }
  47908. // optional int32 signIndex = 2;
  47909. if (has_signindex()) {
  47910. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  47911. }
  47912. if (!unknown_fields().empty()) {
  47913. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  47914. unknown_fields(), target);
  47915. }
  47916. return target;
  47917. }
  47918. int packetc2w_recv_2020_national_login_reward::ByteSize() const {
  47919. int total_size = 0;
  47920. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47921. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_login_reward];
  47922. if (has_packet_id()) {
  47923. total_size += 1 +
  47924. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  47925. }
  47926. // optional int32 signIndex = 2;
  47927. if (has_signindex()) {
  47928. total_size += 1 +
  47929. ::google::protobuf::internal::WireFormatLite::Int32Size(
  47930. this->signindex());
  47931. }
  47932. }
  47933. if (!unknown_fields().empty()) {
  47934. total_size +=
  47935. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  47936. unknown_fields());
  47937. }
  47938. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  47939. _cached_size_ = total_size;
  47940. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  47941. return total_size;
  47942. }
  47943. void packetc2w_recv_2020_national_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  47944. GOOGLE_CHECK_NE(&from, this);
  47945. const packetc2w_recv_2020_national_login_reward* source =
  47946. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_2020_national_login_reward*>(
  47947. &from);
  47948. if (source == NULL) {
  47949. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  47950. } else {
  47951. MergeFrom(*source);
  47952. }
  47953. }
  47954. void packetc2w_recv_2020_national_login_reward::MergeFrom(const packetc2w_recv_2020_national_login_reward& from) {
  47955. GOOGLE_CHECK_NE(&from, this);
  47956. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  47957. if (from.has_packet_id()) {
  47958. set_packet_id(from.packet_id());
  47959. }
  47960. if (from.has_signindex()) {
  47961. set_signindex(from.signindex());
  47962. }
  47963. }
  47964. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  47965. }
  47966. void packetc2w_recv_2020_national_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  47967. if (&from == this) return;
  47968. Clear();
  47969. MergeFrom(from);
  47970. }
  47971. void packetc2w_recv_2020_national_login_reward::CopyFrom(const packetc2w_recv_2020_national_login_reward& from) {
  47972. if (&from == this) return;
  47973. Clear();
  47974. MergeFrom(from);
  47975. }
  47976. bool packetc2w_recv_2020_national_login_reward::IsInitialized() const {
  47977. return true;
  47978. }
  47979. void packetc2w_recv_2020_national_login_reward::Swap(packetc2w_recv_2020_national_login_reward* other) {
  47980. if (other != this) {
  47981. std::swap(packet_id_, other->packet_id_);
  47982. std::swap(signindex_, other->signindex_);
  47983. std::swap(_has_bits_[0], other->_has_bits_[0]);
  47984. _unknown_fields_.Swap(&other->_unknown_fields_);
  47985. std::swap(_cached_size_, other->_cached_size_);
  47986. }
  47987. }
  47988. ::google::protobuf::Metadata packetc2w_recv_2020_national_login_reward::GetMetadata() const {
  47989. protobuf_AssignDescriptorsOnce();
  47990. ::google::protobuf::Metadata metadata;
  47991. metadata.descriptor = packetc2w_recv_2020_national_login_reward_descriptor_;
  47992. metadata.reflection = packetc2w_recv_2020_national_login_reward_reflection_;
  47993. return metadata;
  47994. }
  47995. // ===================================================================
  47996. #ifndef _MSC_VER
  47997. const int packetw2c_recv_2020_national_login_reward_result::kPacketIdFieldNumber;
  47998. const int packetw2c_recv_2020_national_login_reward_result::kSignIndexFieldNumber;
  47999. const int packetw2c_recv_2020_national_login_reward_result::kResultFieldNumber;
  48000. const int packetw2c_recv_2020_national_login_reward_result::kExHandbooksIdFieldNumber;
  48001. #endif // !_MSC_VER
  48002. packetw2c_recv_2020_national_login_reward_result::packetw2c_recv_2020_national_login_reward_result()
  48003. : ::google::protobuf::Message() {
  48004. SharedCtor();
  48005. }
  48006. void packetw2c_recv_2020_national_login_reward_result::InitAsDefaultInstance() {
  48007. }
  48008. packetw2c_recv_2020_national_login_reward_result::packetw2c_recv_2020_national_login_reward_result(const packetw2c_recv_2020_national_login_reward_result& from)
  48009. : ::google::protobuf::Message() {
  48010. SharedCtor();
  48011. MergeFrom(from);
  48012. }
  48013. void packetw2c_recv_2020_national_login_reward_result::SharedCtor() {
  48014. _cached_size_ = 0;
  48015. packet_id_ = 7747;
  48016. signindex_ = 0;
  48017. result_ = 0;
  48018. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  48019. }
  48020. packetw2c_recv_2020_national_login_reward_result::~packetw2c_recv_2020_national_login_reward_result() {
  48021. SharedDtor();
  48022. }
  48023. void packetw2c_recv_2020_national_login_reward_result::SharedDtor() {
  48024. if (this != default_instance_) {
  48025. }
  48026. }
  48027. void packetw2c_recv_2020_national_login_reward_result::SetCachedSize(int size) const {
  48028. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  48029. _cached_size_ = size;
  48030. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  48031. }
  48032. const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_login_reward_result::descriptor() {
  48033. protobuf_AssignDescriptorsOnce();
  48034. return packetw2c_recv_2020_national_login_reward_result_descriptor_;
  48035. }
  48036. const packetw2c_recv_2020_national_login_reward_result& packetw2c_recv_2020_national_login_reward_result::default_instance() {
  48037. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  48038. return *default_instance_;
  48039. }
  48040. packetw2c_recv_2020_national_login_reward_result* packetw2c_recv_2020_national_login_reward_result::default_instance_ = NULL;
  48041. packetw2c_recv_2020_national_login_reward_result* packetw2c_recv_2020_national_login_reward_result::New() const {
  48042. return new packetw2c_recv_2020_national_login_reward_result;
  48043. }
  48044. void packetw2c_recv_2020_national_login_reward_result::Clear() {
  48045. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48046. packet_id_ = 7747;
  48047. signindex_ = 0;
  48048. result_ = 0;
  48049. }
  48050. exhandbooksid_.Clear();
  48051. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  48052. mutable_unknown_fields()->Clear();
  48053. }
  48054. bool packetw2c_recv_2020_national_login_reward_result::MergePartialFromCodedStream(
  48055. ::google::protobuf::io::CodedInputStream* input) {
  48056. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  48057. ::google::protobuf::uint32 tag;
  48058. while ((tag = input->ReadTag()) != 0) {
  48059. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  48060. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_login_reward_result];
  48061. case 1: {
  48062. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48063. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48064. int value;
  48065. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48066. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  48067. input, &value)));
  48068. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  48069. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  48070. } else {
  48071. mutable_unknown_fields()->AddVarint(1, value);
  48072. }
  48073. } else {
  48074. goto handle_uninterpreted;
  48075. }
  48076. if (input->ExpectTag(16)) goto parse_signIndex;
  48077. break;
  48078. }
  48079. // optional int32 signIndex = 2;
  48080. case 2: {
  48081. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48082. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48083. parse_signIndex:
  48084. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48085. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48086. input, &signindex_)));
  48087. set_has_signindex();
  48088. } else {
  48089. goto handle_uninterpreted;
  48090. }
  48091. if (input->ExpectTag(24)) goto parse_result;
  48092. break;
  48093. }
  48094. // optional int32 result = 3;
  48095. case 3: {
  48096. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48097. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48098. parse_result:
  48099. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48100. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48101. input, &result_)));
  48102. set_has_result();
  48103. } else {
  48104. goto handle_uninterpreted;
  48105. }
  48106. if (input->ExpectTag(32)) goto parse_exHandbooksId;
  48107. break;
  48108. }
  48109. // repeated int32 exHandbooksId = 4;
  48110. case 4: {
  48111. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48112. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48113. parse_exHandbooksId:
  48114. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  48115. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48116. 1, 32, input, this->mutable_exhandbooksid())));
  48117. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  48118. == ::google::protobuf::internal::WireFormatLite::
  48119. WIRETYPE_LENGTH_DELIMITED) {
  48120. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  48121. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48122. input, this->mutable_exhandbooksid())));
  48123. } else {
  48124. goto handle_uninterpreted;
  48125. }
  48126. if (input->ExpectTag(32)) goto parse_exHandbooksId;
  48127. if (input->ExpectAtEnd()) return true;
  48128. break;
  48129. }
  48130. default: {
  48131. handle_uninterpreted:
  48132. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48133. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  48134. return true;
  48135. }
  48136. DO_(::google::protobuf::internal::WireFormat::SkipField(
  48137. input, tag, mutable_unknown_fields()));
  48138. break;
  48139. }
  48140. }
  48141. }
  48142. return true;
  48143. #undef DO_
  48144. }
  48145. void packetw2c_recv_2020_national_login_reward_result::SerializeWithCachedSizes(
  48146. ::google::protobuf::io::CodedOutputStream* output) const {
  48147. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_login_reward_result];
  48148. if (has_packet_id()) {
  48149. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  48150. 1, this->packet_id(), output);
  48151. }
  48152. // optional int32 signIndex = 2;
  48153. if (has_signindex()) {
  48154. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signindex(), output);
  48155. }
  48156. // optional int32 result = 3;
  48157. if (has_result()) {
  48158. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  48159. }
  48160. // repeated int32 exHandbooksId = 4;
  48161. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  48162. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  48163. 4, this->exhandbooksid(i), output);
  48164. }
  48165. if (!unknown_fields().empty()) {
  48166. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  48167. unknown_fields(), output);
  48168. }
  48169. }
  48170. ::google::protobuf::uint8* packetw2c_recv_2020_national_login_reward_result::SerializeWithCachedSizesToArray(
  48171. ::google::protobuf::uint8* target) const {
  48172. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_login_reward_result];
  48173. if (has_packet_id()) {
  48174. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  48175. 1, this->packet_id(), target);
  48176. }
  48177. // optional int32 signIndex = 2;
  48178. if (has_signindex()) {
  48179. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signindex(), target);
  48180. }
  48181. // optional int32 result = 3;
  48182. if (has_result()) {
  48183. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  48184. }
  48185. // repeated int32 exHandbooksId = 4;
  48186. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  48187. target = ::google::protobuf::internal::WireFormatLite::
  48188. WriteInt32ToArray(4, this->exhandbooksid(i), target);
  48189. }
  48190. if (!unknown_fields().empty()) {
  48191. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  48192. unknown_fields(), target);
  48193. }
  48194. return target;
  48195. }
  48196. int packetw2c_recv_2020_national_login_reward_result::ByteSize() const {
  48197. int total_size = 0;
  48198. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48199. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_login_reward_result];
  48200. if (has_packet_id()) {
  48201. total_size += 1 +
  48202. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  48203. }
  48204. // optional int32 signIndex = 2;
  48205. if (has_signindex()) {
  48206. total_size += 1 +
  48207. ::google::protobuf::internal::WireFormatLite::Int32Size(
  48208. this->signindex());
  48209. }
  48210. // optional int32 result = 3;
  48211. if (has_result()) {
  48212. total_size += 1 +
  48213. ::google::protobuf::internal::WireFormatLite::Int32Size(
  48214. this->result());
  48215. }
  48216. }
  48217. // repeated int32 exHandbooksId = 4;
  48218. {
  48219. int data_size = 0;
  48220. for (int i = 0; i < this->exhandbooksid_size(); i++) {
  48221. data_size += ::google::protobuf::internal::WireFormatLite::
  48222. Int32Size(this->exhandbooksid(i));
  48223. }
  48224. total_size += 1 * this->exhandbooksid_size() + data_size;
  48225. }
  48226. if (!unknown_fields().empty()) {
  48227. total_size +=
  48228. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  48229. unknown_fields());
  48230. }
  48231. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  48232. _cached_size_ = total_size;
  48233. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  48234. return total_size;
  48235. }
  48236. void packetw2c_recv_2020_national_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  48237. GOOGLE_CHECK_NE(&from, this);
  48238. const packetw2c_recv_2020_national_login_reward_result* source =
  48239. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_2020_national_login_reward_result*>(
  48240. &from);
  48241. if (source == NULL) {
  48242. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  48243. } else {
  48244. MergeFrom(*source);
  48245. }
  48246. }
  48247. void packetw2c_recv_2020_national_login_reward_result::MergeFrom(const packetw2c_recv_2020_national_login_reward_result& from) {
  48248. GOOGLE_CHECK_NE(&from, this);
  48249. exhandbooksid_.MergeFrom(from.exhandbooksid_);
  48250. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48251. if (from.has_packet_id()) {
  48252. set_packet_id(from.packet_id());
  48253. }
  48254. if (from.has_signindex()) {
  48255. set_signindex(from.signindex());
  48256. }
  48257. if (from.has_result()) {
  48258. set_result(from.result());
  48259. }
  48260. }
  48261. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  48262. }
  48263. void packetw2c_recv_2020_national_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  48264. if (&from == this) return;
  48265. Clear();
  48266. MergeFrom(from);
  48267. }
  48268. void packetw2c_recv_2020_national_login_reward_result::CopyFrom(const packetw2c_recv_2020_national_login_reward_result& from) {
  48269. if (&from == this) return;
  48270. Clear();
  48271. MergeFrom(from);
  48272. }
  48273. bool packetw2c_recv_2020_national_login_reward_result::IsInitialized() const {
  48274. return true;
  48275. }
  48276. void packetw2c_recv_2020_national_login_reward_result::Swap(packetw2c_recv_2020_national_login_reward_result* other) {
  48277. if (other != this) {
  48278. std::swap(packet_id_, other->packet_id_);
  48279. std::swap(signindex_, other->signindex_);
  48280. std::swap(result_, other->result_);
  48281. exhandbooksid_.Swap(&other->exhandbooksid_);
  48282. std::swap(_has_bits_[0], other->_has_bits_[0]);
  48283. _unknown_fields_.Swap(&other->_unknown_fields_);
  48284. std::swap(_cached_size_, other->_cached_size_);
  48285. }
  48286. }
  48287. ::google::protobuf::Metadata packetw2c_recv_2020_national_login_reward_result::GetMetadata() const {
  48288. protobuf_AssignDescriptorsOnce();
  48289. ::google::protobuf::Metadata metadata;
  48290. metadata.descriptor = packetw2c_recv_2020_national_login_reward_result_descriptor_;
  48291. metadata.reflection = packetw2c_recv_2020_national_login_reward_result_reflection_;
  48292. return metadata;
  48293. }
  48294. // ===================================================================
  48295. #ifndef _MSC_VER
  48296. const int packetc2w_recv_2020_national_quest_award::kPacketIdFieldNumber;
  48297. const int packetc2w_recv_2020_national_quest_award::kQuestIdFieldNumber;
  48298. const int packetc2w_recv_2020_national_quest_award::kReceiveBitFieldNumber;
  48299. #endif // !_MSC_VER
  48300. packetc2w_recv_2020_national_quest_award::packetc2w_recv_2020_national_quest_award()
  48301. : ::google::protobuf::Message() {
  48302. SharedCtor();
  48303. }
  48304. void packetc2w_recv_2020_national_quest_award::InitAsDefaultInstance() {
  48305. }
  48306. packetc2w_recv_2020_national_quest_award::packetc2w_recv_2020_national_quest_award(const packetc2w_recv_2020_national_quest_award& from)
  48307. : ::google::protobuf::Message() {
  48308. SharedCtor();
  48309. MergeFrom(from);
  48310. }
  48311. void packetc2w_recv_2020_national_quest_award::SharedCtor() {
  48312. _cached_size_ = 0;
  48313. packet_id_ = 5217;
  48314. questid_ = 0;
  48315. receivebit_ = 0;
  48316. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  48317. }
  48318. packetc2w_recv_2020_national_quest_award::~packetc2w_recv_2020_national_quest_award() {
  48319. SharedDtor();
  48320. }
  48321. void packetc2w_recv_2020_national_quest_award::SharedDtor() {
  48322. if (this != default_instance_) {
  48323. }
  48324. }
  48325. void packetc2w_recv_2020_national_quest_award::SetCachedSize(int size) const {
  48326. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  48327. _cached_size_ = size;
  48328. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  48329. }
  48330. const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_quest_award::descriptor() {
  48331. protobuf_AssignDescriptorsOnce();
  48332. return packetc2w_recv_2020_national_quest_award_descriptor_;
  48333. }
  48334. const packetc2w_recv_2020_national_quest_award& packetc2w_recv_2020_national_quest_award::default_instance() {
  48335. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  48336. return *default_instance_;
  48337. }
  48338. packetc2w_recv_2020_national_quest_award* packetc2w_recv_2020_national_quest_award::default_instance_ = NULL;
  48339. packetc2w_recv_2020_national_quest_award* packetc2w_recv_2020_national_quest_award::New() const {
  48340. return new packetc2w_recv_2020_national_quest_award;
  48341. }
  48342. void packetc2w_recv_2020_national_quest_award::Clear() {
  48343. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48344. packet_id_ = 5217;
  48345. questid_ = 0;
  48346. receivebit_ = 0;
  48347. }
  48348. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  48349. mutable_unknown_fields()->Clear();
  48350. }
  48351. bool packetc2w_recv_2020_national_quest_award::MergePartialFromCodedStream(
  48352. ::google::protobuf::io::CodedInputStream* input) {
  48353. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  48354. ::google::protobuf::uint32 tag;
  48355. while ((tag = input->ReadTag()) != 0) {
  48356. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  48357. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_quest_award];
  48358. case 1: {
  48359. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48360. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48361. int value;
  48362. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48363. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  48364. input, &value)));
  48365. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  48366. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  48367. } else {
  48368. mutable_unknown_fields()->AddVarint(1, value);
  48369. }
  48370. } else {
  48371. goto handle_uninterpreted;
  48372. }
  48373. if (input->ExpectTag(16)) goto parse_questId;
  48374. break;
  48375. }
  48376. // optional int32 questId = 2;
  48377. case 2: {
  48378. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48379. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48380. parse_questId:
  48381. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48382. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48383. input, &questid_)));
  48384. set_has_questid();
  48385. } else {
  48386. goto handle_uninterpreted;
  48387. }
  48388. if (input->ExpectTag(24)) goto parse_receiveBit;
  48389. break;
  48390. }
  48391. // optional int32 receiveBit = 3;
  48392. case 3: {
  48393. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48394. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48395. parse_receiveBit:
  48396. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48397. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48398. input, &receivebit_)));
  48399. set_has_receivebit();
  48400. } else {
  48401. goto handle_uninterpreted;
  48402. }
  48403. if (input->ExpectAtEnd()) return true;
  48404. break;
  48405. }
  48406. default: {
  48407. handle_uninterpreted:
  48408. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48409. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  48410. return true;
  48411. }
  48412. DO_(::google::protobuf::internal::WireFormat::SkipField(
  48413. input, tag, mutable_unknown_fields()));
  48414. break;
  48415. }
  48416. }
  48417. }
  48418. return true;
  48419. #undef DO_
  48420. }
  48421. void packetc2w_recv_2020_national_quest_award::SerializeWithCachedSizes(
  48422. ::google::protobuf::io::CodedOutputStream* output) const {
  48423. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_quest_award];
  48424. if (has_packet_id()) {
  48425. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  48426. 1, this->packet_id(), output);
  48427. }
  48428. // optional int32 questId = 2;
  48429. if (has_questid()) {
  48430. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  48431. }
  48432. // optional int32 receiveBit = 3;
  48433. if (has_receivebit()) {
  48434. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->receivebit(), output);
  48435. }
  48436. if (!unknown_fields().empty()) {
  48437. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  48438. unknown_fields(), output);
  48439. }
  48440. }
  48441. ::google::protobuf::uint8* packetc2w_recv_2020_national_quest_award::SerializeWithCachedSizesToArray(
  48442. ::google::protobuf::uint8* target) const {
  48443. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_quest_award];
  48444. if (has_packet_id()) {
  48445. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  48446. 1, this->packet_id(), target);
  48447. }
  48448. // optional int32 questId = 2;
  48449. if (has_questid()) {
  48450. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  48451. }
  48452. // optional int32 receiveBit = 3;
  48453. if (has_receivebit()) {
  48454. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->receivebit(), target);
  48455. }
  48456. if (!unknown_fields().empty()) {
  48457. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  48458. unknown_fields(), target);
  48459. }
  48460. return target;
  48461. }
  48462. int packetc2w_recv_2020_national_quest_award::ByteSize() const {
  48463. int total_size = 0;
  48464. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48465. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_quest_award];
  48466. if (has_packet_id()) {
  48467. total_size += 1 +
  48468. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  48469. }
  48470. // optional int32 questId = 2;
  48471. if (has_questid()) {
  48472. total_size += 1 +
  48473. ::google::protobuf::internal::WireFormatLite::Int32Size(
  48474. this->questid());
  48475. }
  48476. // optional int32 receiveBit = 3;
  48477. if (has_receivebit()) {
  48478. total_size += 1 +
  48479. ::google::protobuf::internal::WireFormatLite::Int32Size(
  48480. this->receivebit());
  48481. }
  48482. }
  48483. if (!unknown_fields().empty()) {
  48484. total_size +=
  48485. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  48486. unknown_fields());
  48487. }
  48488. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  48489. _cached_size_ = total_size;
  48490. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  48491. return total_size;
  48492. }
  48493. void packetc2w_recv_2020_national_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  48494. GOOGLE_CHECK_NE(&from, this);
  48495. const packetc2w_recv_2020_national_quest_award* source =
  48496. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_2020_national_quest_award*>(
  48497. &from);
  48498. if (source == NULL) {
  48499. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  48500. } else {
  48501. MergeFrom(*source);
  48502. }
  48503. }
  48504. void packetc2w_recv_2020_national_quest_award::MergeFrom(const packetc2w_recv_2020_national_quest_award& from) {
  48505. GOOGLE_CHECK_NE(&from, this);
  48506. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48507. if (from.has_packet_id()) {
  48508. set_packet_id(from.packet_id());
  48509. }
  48510. if (from.has_questid()) {
  48511. set_questid(from.questid());
  48512. }
  48513. if (from.has_receivebit()) {
  48514. set_receivebit(from.receivebit());
  48515. }
  48516. }
  48517. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  48518. }
  48519. void packetc2w_recv_2020_national_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  48520. if (&from == this) return;
  48521. Clear();
  48522. MergeFrom(from);
  48523. }
  48524. void packetc2w_recv_2020_national_quest_award::CopyFrom(const packetc2w_recv_2020_national_quest_award& from) {
  48525. if (&from == this) return;
  48526. Clear();
  48527. MergeFrom(from);
  48528. }
  48529. bool packetc2w_recv_2020_national_quest_award::IsInitialized() const {
  48530. return true;
  48531. }
  48532. void packetc2w_recv_2020_national_quest_award::Swap(packetc2w_recv_2020_national_quest_award* other) {
  48533. if (other != this) {
  48534. std::swap(packet_id_, other->packet_id_);
  48535. std::swap(questid_, other->questid_);
  48536. std::swap(receivebit_, other->receivebit_);
  48537. std::swap(_has_bits_[0], other->_has_bits_[0]);
  48538. _unknown_fields_.Swap(&other->_unknown_fields_);
  48539. std::swap(_cached_size_, other->_cached_size_);
  48540. }
  48541. }
  48542. ::google::protobuf::Metadata packetc2w_recv_2020_national_quest_award::GetMetadata() const {
  48543. protobuf_AssignDescriptorsOnce();
  48544. ::google::protobuf::Metadata metadata;
  48545. metadata.descriptor = packetc2w_recv_2020_national_quest_award_descriptor_;
  48546. metadata.reflection = packetc2w_recv_2020_national_quest_award_reflection_;
  48547. return metadata;
  48548. }
  48549. // ===================================================================
  48550. #ifndef _MSC_VER
  48551. const int packetw2c_recv_2020_national_quest_award_result::kPacketIdFieldNumber;
  48552. const int packetw2c_recv_2020_national_quest_award_result::kResultFieldNumber;
  48553. const int packetw2c_recv_2020_national_quest_award_result::kQuestIdFieldNumber;
  48554. const int packetw2c_recv_2020_national_quest_award_result::kReceiveBitFieldNumber;
  48555. const int packetw2c_recv_2020_national_quest_award_result::kItemsFieldNumber;
  48556. #endif // !_MSC_VER
  48557. packetw2c_recv_2020_national_quest_award_result::packetw2c_recv_2020_national_quest_award_result()
  48558. : ::google::protobuf::Message() {
  48559. SharedCtor();
  48560. }
  48561. void packetw2c_recv_2020_national_quest_award_result::InitAsDefaultInstance() {
  48562. }
  48563. packetw2c_recv_2020_national_quest_award_result::packetw2c_recv_2020_national_quest_award_result(const packetw2c_recv_2020_national_quest_award_result& from)
  48564. : ::google::protobuf::Message() {
  48565. SharedCtor();
  48566. MergeFrom(from);
  48567. }
  48568. void packetw2c_recv_2020_national_quest_award_result::SharedCtor() {
  48569. _cached_size_ = 0;
  48570. packet_id_ = 7748;
  48571. result_ = 0;
  48572. questid_ = 0;
  48573. receivebit_ = 0;
  48574. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  48575. }
  48576. packetw2c_recv_2020_national_quest_award_result::~packetw2c_recv_2020_national_quest_award_result() {
  48577. SharedDtor();
  48578. }
  48579. void packetw2c_recv_2020_national_quest_award_result::SharedDtor() {
  48580. if (this != default_instance_) {
  48581. }
  48582. }
  48583. void packetw2c_recv_2020_national_quest_award_result::SetCachedSize(int size) const {
  48584. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  48585. _cached_size_ = size;
  48586. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  48587. }
  48588. const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_quest_award_result::descriptor() {
  48589. protobuf_AssignDescriptorsOnce();
  48590. return packetw2c_recv_2020_national_quest_award_result_descriptor_;
  48591. }
  48592. const packetw2c_recv_2020_national_quest_award_result& packetw2c_recv_2020_national_quest_award_result::default_instance() {
  48593. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  48594. return *default_instance_;
  48595. }
  48596. packetw2c_recv_2020_national_quest_award_result* packetw2c_recv_2020_national_quest_award_result::default_instance_ = NULL;
  48597. packetw2c_recv_2020_national_quest_award_result* packetw2c_recv_2020_national_quest_award_result::New() const {
  48598. return new packetw2c_recv_2020_national_quest_award_result;
  48599. }
  48600. void packetw2c_recv_2020_national_quest_award_result::Clear() {
  48601. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48602. packet_id_ = 7748;
  48603. result_ = 0;
  48604. questid_ = 0;
  48605. receivebit_ = 0;
  48606. }
  48607. items_.Clear();
  48608. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  48609. mutable_unknown_fields()->Clear();
  48610. }
  48611. bool packetw2c_recv_2020_national_quest_award_result::MergePartialFromCodedStream(
  48612. ::google::protobuf::io::CodedInputStream* input) {
  48613. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  48614. ::google::protobuf::uint32 tag;
  48615. while ((tag = input->ReadTag()) != 0) {
  48616. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  48617. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_quest_award_result];
  48618. case 1: {
  48619. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48620. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48621. int value;
  48622. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48623. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  48624. input, &value)));
  48625. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  48626. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  48627. } else {
  48628. mutable_unknown_fields()->AddVarint(1, value);
  48629. }
  48630. } else {
  48631. goto handle_uninterpreted;
  48632. }
  48633. if (input->ExpectTag(16)) goto parse_result;
  48634. break;
  48635. }
  48636. // optional int32 result = 2;
  48637. case 2: {
  48638. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48639. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48640. parse_result:
  48641. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48642. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48643. input, &result_)));
  48644. set_has_result();
  48645. } else {
  48646. goto handle_uninterpreted;
  48647. }
  48648. if (input->ExpectTag(24)) goto parse_questId;
  48649. break;
  48650. }
  48651. // optional int32 questId = 3;
  48652. case 3: {
  48653. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48654. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48655. parse_questId:
  48656. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48657. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48658. input, &questid_)));
  48659. set_has_questid();
  48660. } else {
  48661. goto handle_uninterpreted;
  48662. }
  48663. if (input->ExpectTag(32)) goto parse_receiveBit;
  48664. break;
  48665. }
  48666. // optional int32 receiveBit = 4;
  48667. case 4: {
  48668. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48669. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48670. parse_receiveBit:
  48671. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48672. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48673. input, &receivebit_)));
  48674. set_has_receivebit();
  48675. } else {
  48676. goto handle_uninterpreted;
  48677. }
  48678. if (input->ExpectTag(42)) goto parse_items;
  48679. break;
  48680. }
  48681. // repeated .msg_info_def.ItemInfo items = 5;
  48682. case 5: {
  48683. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48684. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  48685. parse_items:
  48686. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  48687. input, add_items()));
  48688. } else {
  48689. goto handle_uninterpreted;
  48690. }
  48691. if (input->ExpectTag(42)) goto parse_items;
  48692. if (input->ExpectAtEnd()) return true;
  48693. break;
  48694. }
  48695. default: {
  48696. handle_uninterpreted:
  48697. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48698. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  48699. return true;
  48700. }
  48701. DO_(::google::protobuf::internal::WireFormat::SkipField(
  48702. input, tag, mutable_unknown_fields()));
  48703. break;
  48704. }
  48705. }
  48706. }
  48707. return true;
  48708. #undef DO_
  48709. }
  48710. void packetw2c_recv_2020_national_quest_award_result::SerializeWithCachedSizes(
  48711. ::google::protobuf::io::CodedOutputStream* output) const {
  48712. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_quest_award_result];
  48713. if (has_packet_id()) {
  48714. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  48715. 1, this->packet_id(), output);
  48716. }
  48717. // optional int32 result = 2;
  48718. if (has_result()) {
  48719. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  48720. }
  48721. // optional int32 questId = 3;
  48722. if (has_questid()) {
  48723. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  48724. }
  48725. // optional int32 receiveBit = 4;
  48726. if (has_receivebit()) {
  48727. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->receivebit(), output);
  48728. }
  48729. // repeated .msg_info_def.ItemInfo items = 5;
  48730. for (int i = 0; i < this->items_size(); i++) {
  48731. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  48732. 5, this->items(i), output);
  48733. }
  48734. if (!unknown_fields().empty()) {
  48735. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  48736. unknown_fields(), output);
  48737. }
  48738. }
  48739. ::google::protobuf::uint8* packetw2c_recv_2020_national_quest_award_result::SerializeWithCachedSizesToArray(
  48740. ::google::protobuf::uint8* target) const {
  48741. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_quest_award_result];
  48742. if (has_packet_id()) {
  48743. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  48744. 1, this->packet_id(), target);
  48745. }
  48746. // optional int32 result = 2;
  48747. if (has_result()) {
  48748. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  48749. }
  48750. // optional int32 questId = 3;
  48751. if (has_questid()) {
  48752. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  48753. }
  48754. // optional int32 receiveBit = 4;
  48755. if (has_receivebit()) {
  48756. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->receivebit(), target);
  48757. }
  48758. // repeated .msg_info_def.ItemInfo items = 5;
  48759. for (int i = 0; i < this->items_size(); i++) {
  48760. target = ::google::protobuf::internal::WireFormatLite::
  48761. WriteMessageNoVirtualToArray(
  48762. 5, this->items(i), target);
  48763. }
  48764. if (!unknown_fields().empty()) {
  48765. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  48766. unknown_fields(), target);
  48767. }
  48768. return target;
  48769. }
  48770. int packetw2c_recv_2020_national_quest_award_result::ByteSize() const {
  48771. int total_size = 0;
  48772. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48773. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_quest_award_result];
  48774. if (has_packet_id()) {
  48775. total_size += 1 +
  48776. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  48777. }
  48778. // optional int32 result = 2;
  48779. if (has_result()) {
  48780. total_size += 1 +
  48781. ::google::protobuf::internal::WireFormatLite::Int32Size(
  48782. this->result());
  48783. }
  48784. // optional int32 questId = 3;
  48785. if (has_questid()) {
  48786. total_size += 1 +
  48787. ::google::protobuf::internal::WireFormatLite::Int32Size(
  48788. this->questid());
  48789. }
  48790. // optional int32 receiveBit = 4;
  48791. if (has_receivebit()) {
  48792. total_size += 1 +
  48793. ::google::protobuf::internal::WireFormatLite::Int32Size(
  48794. this->receivebit());
  48795. }
  48796. }
  48797. // repeated .msg_info_def.ItemInfo items = 5;
  48798. total_size += 1 * this->items_size();
  48799. for (int i = 0; i < this->items_size(); i++) {
  48800. total_size +=
  48801. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  48802. this->items(i));
  48803. }
  48804. if (!unknown_fields().empty()) {
  48805. total_size +=
  48806. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  48807. unknown_fields());
  48808. }
  48809. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  48810. _cached_size_ = total_size;
  48811. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  48812. return total_size;
  48813. }
  48814. void packetw2c_recv_2020_national_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  48815. GOOGLE_CHECK_NE(&from, this);
  48816. const packetw2c_recv_2020_national_quest_award_result* source =
  48817. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_2020_national_quest_award_result*>(
  48818. &from);
  48819. if (source == NULL) {
  48820. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  48821. } else {
  48822. MergeFrom(*source);
  48823. }
  48824. }
  48825. void packetw2c_recv_2020_national_quest_award_result::MergeFrom(const packetw2c_recv_2020_national_quest_award_result& from) {
  48826. GOOGLE_CHECK_NE(&from, this);
  48827. items_.MergeFrom(from.items_);
  48828. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48829. if (from.has_packet_id()) {
  48830. set_packet_id(from.packet_id());
  48831. }
  48832. if (from.has_result()) {
  48833. set_result(from.result());
  48834. }
  48835. if (from.has_questid()) {
  48836. set_questid(from.questid());
  48837. }
  48838. if (from.has_receivebit()) {
  48839. set_receivebit(from.receivebit());
  48840. }
  48841. }
  48842. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  48843. }
  48844. void packetw2c_recv_2020_national_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  48845. if (&from == this) return;
  48846. Clear();
  48847. MergeFrom(from);
  48848. }
  48849. void packetw2c_recv_2020_national_quest_award_result::CopyFrom(const packetw2c_recv_2020_national_quest_award_result& from) {
  48850. if (&from == this) return;
  48851. Clear();
  48852. MergeFrom(from);
  48853. }
  48854. bool packetw2c_recv_2020_national_quest_award_result::IsInitialized() const {
  48855. return true;
  48856. }
  48857. void packetw2c_recv_2020_national_quest_award_result::Swap(packetw2c_recv_2020_national_quest_award_result* other) {
  48858. if (other != this) {
  48859. std::swap(packet_id_, other->packet_id_);
  48860. std::swap(result_, other->result_);
  48861. std::swap(questid_, other->questid_);
  48862. std::swap(receivebit_, other->receivebit_);
  48863. items_.Swap(&other->items_);
  48864. std::swap(_has_bits_[0], other->_has_bits_[0]);
  48865. _unknown_fields_.Swap(&other->_unknown_fields_);
  48866. std::swap(_cached_size_, other->_cached_size_);
  48867. }
  48868. }
  48869. ::google::protobuf::Metadata packetw2c_recv_2020_national_quest_award_result::GetMetadata() const {
  48870. protobuf_AssignDescriptorsOnce();
  48871. ::google::protobuf::Metadata metadata;
  48872. metadata.descriptor = packetw2c_recv_2020_national_quest_award_result_descriptor_;
  48873. metadata.reflection = packetw2c_recv_2020_national_quest_award_result_reflection_;
  48874. return metadata;
  48875. }
  48876. // ===================================================================
  48877. #ifndef _MSC_VER
  48878. const int packetc2w_recv_2020_national_handbooks_gold::kPacketIdFieldNumber;
  48879. const int packetc2w_recv_2020_national_handbooks_gold::kHandbooksIdFieldNumber;
  48880. #endif // !_MSC_VER
  48881. packetc2w_recv_2020_national_handbooks_gold::packetc2w_recv_2020_national_handbooks_gold()
  48882. : ::google::protobuf::Message() {
  48883. SharedCtor();
  48884. }
  48885. void packetc2w_recv_2020_national_handbooks_gold::InitAsDefaultInstance() {
  48886. }
  48887. packetc2w_recv_2020_national_handbooks_gold::packetc2w_recv_2020_national_handbooks_gold(const packetc2w_recv_2020_national_handbooks_gold& from)
  48888. : ::google::protobuf::Message() {
  48889. SharedCtor();
  48890. MergeFrom(from);
  48891. }
  48892. void packetc2w_recv_2020_national_handbooks_gold::SharedCtor() {
  48893. _cached_size_ = 0;
  48894. packet_id_ = 5214;
  48895. handbooksid_ = 0;
  48896. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  48897. }
  48898. packetc2w_recv_2020_national_handbooks_gold::~packetc2w_recv_2020_national_handbooks_gold() {
  48899. SharedDtor();
  48900. }
  48901. void packetc2w_recv_2020_national_handbooks_gold::SharedDtor() {
  48902. if (this != default_instance_) {
  48903. }
  48904. }
  48905. void packetc2w_recv_2020_national_handbooks_gold::SetCachedSize(int size) const {
  48906. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  48907. _cached_size_ = size;
  48908. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  48909. }
  48910. const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_handbooks_gold::descriptor() {
  48911. protobuf_AssignDescriptorsOnce();
  48912. return packetc2w_recv_2020_national_handbooks_gold_descriptor_;
  48913. }
  48914. const packetc2w_recv_2020_national_handbooks_gold& packetc2w_recv_2020_national_handbooks_gold::default_instance() {
  48915. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  48916. return *default_instance_;
  48917. }
  48918. packetc2w_recv_2020_national_handbooks_gold* packetc2w_recv_2020_national_handbooks_gold::default_instance_ = NULL;
  48919. packetc2w_recv_2020_national_handbooks_gold* packetc2w_recv_2020_national_handbooks_gold::New() const {
  48920. return new packetc2w_recv_2020_national_handbooks_gold;
  48921. }
  48922. void packetc2w_recv_2020_national_handbooks_gold::Clear() {
  48923. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  48924. packet_id_ = 5214;
  48925. handbooksid_ = 0;
  48926. }
  48927. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  48928. mutable_unknown_fields()->Clear();
  48929. }
  48930. bool packetc2w_recv_2020_national_handbooks_gold::MergePartialFromCodedStream(
  48931. ::google::protobuf::io::CodedInputStream* input) {
  48932. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  48933. ::google::protobuf::uint32 tag;
  48934. while ((tag = input->ReadTag()) != 0) {
  48935. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  48936. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_gold];
  48937. case 1: {
  48938. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48939. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48940. int value;
  48941. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48942. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  48943. input, &value)));
  48944. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  48945. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  48946. } else {
  48947. mutable_unknown_fields()->AddVarint(1, value);
  48948. }
  48949. } else {
  48950. goto handle_uninterpreted;
  48951. }
  48952. if (input->ExpectTag(16)) goto parse_handbooksId;
  48953. break;
  48954. }
  48955. // optional int32 handbooksId = 2;
  48956. case 2: {
  48957. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48958. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  48959. parse_handbooksId:
  48960. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  48961. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  48962. input, &handbooksid_)));
  48963. set_has_handbooksid();
  48964. } else {
  48965. goto handle_uninterpreted;
  48966. }
  48967. if (input->ExpectAtEnd()) return true;
  48968. break;
  48969. }
  48970. default: {
  48971. handle_uninterpreted:
  48972. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  48973. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  48974. return true;
  48975. }
  48976. DO_(::google::protobuf::internal::WireFormat::SkipField(
  48977. input, tag, mutable_unknown_fields()));
  48978. break;
  48979. }
  48980. }
  48981. }
  48982. return true;
  48983. #undef DO_
  48984. }
  48985. void packetc2w_recv_2020_national_handbooks_gold::SerializeWithCachedSizes(
  48986. ::google::protobuf::io::CodedOutputStream* output) const {
  48987. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_gold];
  48988. if (has_packet_id()) {
  48989. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  48990. 1, this->packet_id(), output);
  48991. }
  48992. // optional int32 handbooksId = 2;
  48993. if (has_handbooksid()) {
  48994. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  48995. }
  48996. if (!unknown_fields().empty()) {
  48997. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  48998. unknown_fields(), output);
  48999. }
  49000. }
  49001. ::google::protobuf::uint8* packetc2w_recv_2020_national_handbooks_gold::SerializeWithCachedSizesToArray(
  49002. ::google::protobuf::uint8* target) const {
  49003. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_gold];
  49004. if (has_packet_id()) {
  49005. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  49006. 1, this->packet_id(), target);
  49007. }
  49008. // optional int32 handbooksId = 2;
  49009. if (has_handbooksid()) {
  49010. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  49011. }
  49012. if (!unknown_fields().empty()) {
  49013. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  49014. unknown_fields(), target);
  49015. }
  49016. return target;
  49017. }
  49018. int packetc2w_recv_2020_national_handbooks_gold::ByteSize() const {
  49019. int total_size = 0;
  49020. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49021. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_gold];
  49022. if (has_packet_id()) {
  49023. total_size += 1 +
  49024. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  49025. }
  49026. // optional int32 handbooksId = 2;
  49027. if (has_handbooksid()) {
  49028. total_size += 1 +
  49029. ::google::protobuf::internal::WireFormatLite::Int32Size(
  49030. this->handbooksid());
  49031. }
  49032. }
  49033. if (!unknown_fields().empty()) {
  49034. total_size +=
  49035. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  49036. unknown_fields());
  49037. }
  49038. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49039. _cached_size_ = total_size;
  49040. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49041. return total_size;
  49042. }
  49043. void packetc2w_recv_2020_national_handbooks_gold::MergeFrom(const ::google::protobuf::Message& from) {
  49044. GOOGLE_CHECK_NE(&from, this);
  49045. const packetc2w_recv_2020_national_handbooks_gold* source =
  49046. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_2020_national_handbooks_gold*>(
  49047. &from);
  49048. if (source == NULL) {
  49049. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  49050. } else {
  49051. MergeFrom(*source);
  49052. }
  49053. }
  49054. void packetc2w_recv_2020_national_handbooks_gold::MergeFrom(const packetc2w_recv_2020_national_handbooks_gold& from) {
  49055. GOOGLE_CHECK_NE(&from, this);
  49056. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49057. if (from.has_packet_id()) {
  49058. set_packet_id(from.packet_id());
  49059. }
  49060. if (from.has_handbooksid()) {
  49061. set_handbooksid(from.handbooksid());
  49062. }
  49063. }
  49064. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  49065. }
  49066. void packetc2w_recv_2020_national_handbooks_gold::CopyFrom(const ::google::protobuf::Message& from) {
  49067. if (&from == this) return;
  49068. Clear();
  49069. MergeFrom(from);
  49070. }
  49071. void packetc2w_recv_2020_national_handbooks_gold::CopyFrom(const packetc2w_recv_2020_national_handbooks_gold& from) {
  49072. if (&from == this) return;
  49073. Clear();
  49074. MergeFrom(from);
  49075. }
  49076. bool packetc2w_recv_2020_national_handbooks_gold::IsInitialized() const {
  49077. return true;
  49078. }
  49079. void packetc2w_recv_2020_national_handbooks_gold::Swap(packetc2w_recv_2020_national_handbooks_gold* other) {
  49080. if (other != this) {
  49081. std::swap(packet_id_, other->packet_id_);
  49082. std::swap(handbooksid_, other->handbooksid_);
  49083. std::swap(_has_bits_[0], other->_has_bits_[0]);
  49084. _unknown_fields_.Swap(&other->_unknown_fields_);
  49085. std::swap(_cached_size_, other->_cached_size_);
  49086. }
  49087. }
  49088. ::google::protobuf::Metadata packetc2w_recv_2020_national_handbooks_gold::GetMetadata() const {
  49089. protobuf_AssignDescriptorsOnce();
  49090. ::google::protobuf::Metadata metadata;
  49091. metadata.descriptor = packetc2w_recv_2020_national_handbooks_gold_descriptor_;
  49092. metadata.reflection = packetc2w_recv_2020_national_handbooks_gold_reflection_;
  49093. return metadata;
  49094. }
  49095. // ===================================================================
  49096. #ifndef _MSC_VER
  49097. const int packetw2c_recv_2020_national_handbooks_gold_result::kPacketIdFieldNumber;
  49098. const int packetw2c_recv_2020_national_handbooks_gold_result::kHandbooksIdFieldNumber;
  49099. const int packetw2c_recv_2020_national_handbooks_gold_result::kResultFieldNumber;
  49100. #endif // !_MSC_VER
  49101. packetw2c_recv_2020_national_handbooks_gold_result::packetw2c_recv_2020_national_handbooks_gold_result()
  49102. : ::google::protobuf::Message() {
  49103. SharedCtor();
  49104. }
  49105. void packetw2c_recv_2020_national_handbooks_gold_result::InitAsDefaultInstance() {
  49106. }
  49107. packetw2c_recv_2020_national_handbooks_gold_result::packetw2c_recv_2020_national_handbooks_gold_result(const packetw2c_recv_2020_national_handbooks_gold_result& from)
  49108. : ::google::protobuf::Message() {
  49109. SharedCtor();
  49110. MergeFrom(from);
  49111. }
  49112. void packetw2c_recv_2020_national_handbooks_gold_result::SharedCtor() {
  49113. _cached_size_ = 0;
  49114. packet_id_ = 7750;
  49115. handbooksid_ = 0;
  49116. result_ = 0;
  49117. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  49118. }
  49119. packetw2c_recv_2020_national_handbooks_gold_result::~packetw2c_recv_2020_national_handbooks_gold_result() {
  49120. SharedDtor();
  49121. }
  49122. void packetw2c_recv_2020_national_handbooks_gold_result::SharedDtor() {
  49123. if (this != default_instance_) {
  49124. }
  49125. }
  49126. void packetw2c_recv_2020_national_handbooks_gold_result::SetCachedSize(int size) const {
  49127. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49128. _cached_size_ = size;
  49129. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49130. }
  49131. const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_handbooks_gold_result::descriptor() {
  49132. protobuf_AssignDescriptorsOnce();
  49133. return packetw2c_recv_2020_national_handbooks_gold_result_descriptor_;
  49134. }
  49135. const packetw2c_recv_2020_national_handbooks_gold_result& packetw2c_recv_2020_national_handbooks_gold_result::default_instance() {
  49136. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  49137. return *default_instance_;
  49138. }
  49139. packetw2c_recv_2020_national_handbooks_gold_result* packetw2c_recv_2020_national_handbooks_gold_result::default_instance_ = NULL;
  49140. packetw2c_recv_2020_national_handbooks_gold_result* packetw2c_recv_2020_national_handbooks_gold_result::New() const {
  49141. return new packetw2c_recv_2020_national_handbooks_gold_result;
  49142. }
  49143. void packetw2c_recv_2020_national_handbooks_gold_result::Clear() {
  49144. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49145. packet_id_ = 7750;
  49146. handbooksid_ = 0;
  49147. result_ = 0;
  49148. }
  49149. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  49150. mutable_unknown_fields()->Clear();
  49151. }
  49152. bool packetw2c_recv_2020_national_handbooks_gold_result::MergePartialFromCodedStream(
  49153. ::google::protobuf::io::CodedInputStream* input) {
  49154. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  49155. ::google::protobuf::uint32 tag;
  49156. while ((tag = input->ReadTag()) != 0) {
  49157. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  49158. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_gold_result];
  49159. case 1: {
  49160. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49161. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49162. int value;
  49163. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49164. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  49165. input, &value)));
  49166. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  49167. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  49168. } else {
  49169. mutable_unknown_fields()->AddVarint(1, value);
  49170. }
  49171. } else {
  49172. goto handle_uninterpreted;
  49173. }
  49174. if (input->ExpectTag(16)) goto parse_handbooksId;
  49175. break;
  49176. }
  49177. // optional int32 handbooksId = 2;
  49178. case 2: {
  49179. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49180. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49181. parse_handbooksId:
  49182. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49183. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  49184. input, &handbooksid_)));
  49185. set_has_handbooksid();
  49186. } else {
  49187. goto handle_uninterpreted;
  49188. }
  49189. if (input->ExpectTag(24)) goto parse_result;
  49190. break;
  49191. }
  49192. // optional int32 result = 3;
  49193. case 3: {
  49194. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49195. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49196. parse_result:
  49197. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49198. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  49199. input, &result_)));
  49200. set_has_result();
  49201. } else {
  49202. goto handle_uninterpreted;
  49203. }
  49204. if (input->ExpectAtEnd()) return true;
  49205. break;
  49206. }
  49207. default: {
  49208. handle_uninterpreted:
  49209. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49210. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  49211. return true;
  49212. }
  49213. DO_(::google::protobuf::internal::WireFormat::SkipField(
  49214. input, tag, mutable_unknown_fields()));
  49215. break;
  49216. }
  49217. }
  49218. }
  49219. return true;
  49220. #undef DO_
  49221. }
  49222. void packetw2c_recv_2020_national_handbooks_gold_result::SerializeWithCachedSizes(
  49223. ::google::protobuf::io::CodedOutputStream* output) const {
  49224. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_gold_result];
  49225. if (has_packet_id()) {
  49226. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  49227. 1, this->packet_id(), output);
  49228. }
  49229. // optional int32 handbooksId = 2;
  49230. if (has_handbooksid()) {
  49231. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->handbooksid(), output);
  49232. }
  49233. // optional int32 result = 3;
  49234. if (has_result()) {
  49235. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  49236. }
  49237. if (!unknown_fields().empty()) {
  49238. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  49239. unknown_fields(), output);
  49240. }
  49241. }
  49242. ::google::protobuf::uint8* packetw2c_recv_2020_national_handbooks_gold_result::SerializeWithCachedSizesToArray(
  49243. ::google::protobuf::uint8* target) const {
  49244. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_gold_result];
  49245. if (has_packet_id()) {
  49246. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  49247. 1, this->packet_id(), target);
  49248. }
  49249. // optional int32 handbooksId = 2;
  49250. if (has_handbooksid()) {
  49251. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->handbooksid(), target);
  49252. }
  49253. // optional int32 result = 3;
  49254. if (has_result()) {
  49255. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  49256. }
  49257. if (!unknown_fields().empty()) {
  49258. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  49259. unknown_fields(), target);
  49260. }
  49261. return target;
  49262. }
  49263. int packetw2c_recv_2020_national_handbooks_gold_result::ByteSize() const {
  49264. int total_size = 0;
  49265. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49266. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_gold_result];
  49267. if (has_packet_id()) {
  49268. total_size += 1 +
  49269. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  49270. }
  49271. // optional int32 handbooksId = 2;
  49272. if (has_handbooksid()) {
  49273. total_size += 1 +
  49274. ::google::protobuf::internal::WireFormatLite::Int32Size(
  49275. this->handbooksid());
  49276. }
  49277. // optional int32 result = 3;
  49278. if (has_result()) {
  49279. total_size += 1 +
  49280. ::google::protobuf::internal::WireFormatLite::Int32Size(
  49281. this->result());
  49282. }
  49283. }
  49284. if (!unknown_fields().empty()) {
  49285. total_size +=
  49286. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  49287. unknown_fields());
  49288. }
  49289. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49290. _cached_size_ = total_size;
  49291. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49292. return total_size;
  49293. }
  49294. void packetw2c_recv_2020_national_handbooks_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  49295. GOOGLE_CHECK_NE(&from, this);
  49296. const packetw2c_recv_2020_national_handbooks_gold_result* source =
  49297. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_2020_national_handbooks_gold_result*>(
  49298. &from);
  49299. if (source == NULL) {
  49300. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  49301. } else {
  49302. MergeFrom(*source);
  49303. }
  49304. }
  49305. void packetw2c_recv_2020_national_handbooks_gold_result::MergeFrom(const packetw2c_recv_2020_national_handbooks_gold_result& from) {
  49306. GOOGLE_CHECK_NE(&from, this);
  49307. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49308. if (from.has_packet_id()) {
  49309. set_packet_id(from.packet_id());
  49310. }
  49311. if (from.has_handbooksid()) {
  49312. set_handbooksid(from.handbooksid());
  49313. }
  49314. if (from.has_result()) {
  49315. set_result(from.result());
  49316. }
  49317. }
  49318. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  49319. }
  49320. void packetw2c_recv_2020_national_handbooks_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  49321. if (&from == this) return;
  49322. Clear();
  49323. MergeFrom(from);
  49324. }
  49325. void packetw2c_recv_2020_national_handbooks_gold_result::CopyFrom(const packetw2c_recv_2020_national_handbooks_gold_result& from) {
  49326. if (&from == this) return;
  49327. Clear();
  49328. MergeFrom(from);
  49329. }
  49330. bool packetw2c_recv_2020_national_handbooks_gold_result::IsInitialized() const {
  49331. return true;
  49332. }
  49333. void packetw2c_recv_2020_national_handbooks_gold_result::Swap(packetw2c_recv_2020_national_handbooks_gold_result* other) {
  49334. if (other != this) {
  49335. std::swap(packet_id_, other->packet_id_);
  49336. std::swap(handbooksid_, other->handbooksid_);
  49337. std::swap(result_, other->result_);
  49338. std::swap(_has_bits_[0], other->_has_bits_[0]);
  49339. _unknown_fields_.Swap(&other->_unknown_fields_);
  49340. std::swap(_cached_size_, other->_cached_size_);
  49341. }
  49342. }
  49343. ::google::protobuf::Metadata packetw2c_recv_2020_national_handbooks_gold_result::GetMetadata() const {
  49344. protobuf_AssignDescriptorsOnce();
  49345. ::google::protobuf::Metadata metadata;
  49346. metadata.descriptor = packetw2c_recv_2020_national_handbooks_gold_result_descriptor_;
  49347. metadata.reflection = packetw2c_recv_2020_national_handbooks_gold_result_reflection_;
  49348. return metadata;
  49349. }
  49350. // ===================================================================
  49351. #ifndef _MSC_VER
  49352. const int packetc2w_recv_2020_national_handbooks_award::kPacketIdFieldNumber;
  49353. const int packetc2w_recv_2020_national_handbooks_award::kTypeFieldNumber;
  49354. #endif // !_MSC_VER
  49355. packetc2w_recv_2020_national_handbooks_award::packetc2w_recv_2020_national_handbooks_award()
  49356. : ::google::protobuf::Message() {
  49357. SharedCtor();
  49358. }
  49359. void packetc2w_recv_2020_national_handbooks_award::InitAsDefaultInstance() {
  49360. }
  49361. packetc2w_recv_2020_national_handbooks_award::packetc2w_recv_2020_national_handbooks_award(const packetc2w_recv_2020_national_handbooks_award& from)
  49362. : ::google::protobuf::Message() {
  49363. SharedCtor();
  49364. MergeFrom(from);
  49365. }
  49366. void packetc2w_recv_2020_national_handbooks_award::SharedCtor() {
  49367. _cached_size_ = 0;
  49368. packet_id_ = 5215;
  49369. type_ = 0;
  49370. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  49371. }
  49372. packetc2w_recv_2020_national_handbooks_award::~packetc2w_recv_2020_national_handbooks_award() {
  49373. SharedDtor();
  49374. }
  49375. void packetc2w_recv_2020_national_handbooks_award::SharedDtor() {
  49376. if (this != default_instance_) {
  49377. }
  49378. }
  49379. void packetc2w_recv_2020_national_handbooks_award::SetCachedSize(int size) const {
  49380. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49381. _cached_size_ = size;
  49382. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49383. }
  49384. const ::google::protobuf::Descriptor* packetc2w_recv_2020_national_handbooks_award::descriptor() {
  49385. protobuf_AssignDescriptorsOnce();
  49386. return packetc2w_recv_2020_national_handbooks_award_descriptor_;
  49387. }
  49388. const packetc2w_recv_2020_national_handbooks_award& packetc2w_recv_2020_national_handbooks_award::default_instance() {
  49389. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  49390. return *default_instance_;
  49391. }
  49392. packetc2w_recv_2020_national_handbooks_award* packetc2w_recv_2020_national_handbooks_award::default_instance_ = NULL;
  49393. packetc2w_recv_2020_national_handbooks_award* packetc2w_recv_2020_national_handbooks_award::New() const {
  49394. return new packetc2w_recv_2020_national_handbooks_award;
  49395. }
  49396. void packetc2w_recv_2020_national_handbooks_award::Clear() {
  49397. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49398. packet_id_ = 5215;
  49399. type_ = 0;
  49400. }
  49401. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  49402. mutable_unknown_fields()->Clear();
  49403. }
  49404. bool packetc2w_recv_2020_national_handbooks_award::MergePartialFromCodedStream(
  49405. ::google::protobuf::io::CodedInputStream* input) {
  49406. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  49407. ::google::protobuf::uint32 tag;
  49408. while ((tag = input->ReadTag()) != 0) {
  49409. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  49410. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_award];
  49411. case 1: {
  49412. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49413. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49414. int value;
  49415. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49416. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  49417. input, &value)));
  49418. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  49419. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  49420. } else {
  49421. mutable_unknown_fields()->AddVarint(1, value);
  49422. }
  49423. } else {
  49424. goto handle_uninterpreted;
  49425. }
  49426. if (input->ExpectTag(16)) goto parse_type;
  49427. break;
  49428. }
  49429. // optional int32 type = 2;
  49430. case 2: {
  49431. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49432. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49433. parse_type:
  49434. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49435. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  49436. input, &type_)));
  49437. set_has_type();
  49438. } else {
  49439. goto handle_uninterpreted;
  49440. }
  49441. if (input->ExpectAtEnd()) return true;
  49442. break;
  49443. }
  49444. default: {
  49445. handle_uninterpreted:
  49446. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49447. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  49448. return true;
  49449. }
  49450. DO_(::google::protobuf::internal::WireFormat::SkipField(
  49451. input, tag, mutable_unknown_fields()));
  49452. break;
  49453. }
  49454. }
  49455. }
  49456. return true;
  49457. #undef DO_
  49458. }
  49459. void packetc2w_recv_2020_national_handbooks_award::SerializeWithCachedSizes(
  49460. ::google::protobuf::io::CodedOutputStream* output) const {
  49461. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_award];
  49462. if (has_packet_id()) {
  49463. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  49464. 1, this->packet_id(), output);
  49465. }
  49466. // optional int32 type = 2;
  49467. if (has_type()) {
  49468. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  49469. }
  49470. if (!unknown_fields().empty()) {
  49471. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  49472. unknown_fields(), output);
  49473. }
  49474. }
  49475. ::google::protobuf::uint8* packetc2w_recv_2020_national_handbooks_award::SerializeWithCachedSizesToArray(
  49476. ::google::protobuf::uint8* target) const {
  49477. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_award];
  49478. if (has_packet_id()) {
  49479. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  49480. 1, this->packet_id(), target);
  49481. }
  49482. // optional int32 type = 2;
  49483. if (has_type()) {
  49484. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  49485. }
  49486. if (!unknown_fields().empty()) {
  49487. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  49488. unknown_fields(), target);
  49489. }
  49490. return target;
  49491. }
  49492. int packetc2w_recv_2020_national_handbooks_award::ByteSize() const {
  49493. int total_size = 0;
  49494. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49495. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_award];
  49496. if (has_packet_id()) {
  49497. total_size += 1 +
  49498. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  49499. }
  49500. // optional int32 type = 2;
  49501. if (has_type()) {
  49502. total_size += 1 +
  49503. ::google::protobuf::internal::WireFormatLite::Int32Size(
  49504. this->type());
  49505. }
  49506. }
  49507. if (!unknown_fields().empty()) {
  49508. total_size +=
  49509. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  49510. unknown_fields());
  49511. }
  49512. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49513. _cached_size_ = total_size;
  49514. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49515. return total_size;
  49516. }
  49517. void packetc2w_recv_2020_national_handbooks_award::MergeFrom(const ::google::protobuf::Message& from) {
  49518. GOOGLE_CHECK_NE(&from, this);
  49519. const packetc2w_recv_2020_national_handbooks_award* source =
  49520. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_2020_national_handbooks_award*>(
  49521. &from);
  49522. if (source == NULL) {
  49523. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  49524. } else {
  49525. MergeFrom(*source);
  49526. }
  49527. }
  49528. void packetc2w_recv_2020_national_handbooks_award::MergeFrom(const packetc2w_recv_2020_national_handbooks_award& from) {
  49529. GOOGLE_CHECK_NE(&from, this);
  49530. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49531. if (from.has_packet_id()) {
  49532. set_packet_id(from.packet_id());
  49533. }
  49534. if (from.has_type()) {
  49535. set_type(from.type());
  49536. }
  49537. }
  49538. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  49539. }
  49540. void packetc2w_recv_2020_national_handbooks_award::CopyFrom(const ::google::protobuf::Message& from) {
  49541. if (&from == this) return;
  49542. Clear();
  49543. MergeFrom(from);
  49544. }
  49545. void packetc2w_recv_2020_national_handbooks_award::CopyFrom(const packetc2w_recv_2020_national_handbooks_award& from) {
  49546. if (&from == this) return;
  49547. Clear();
  49548. MergeFrom(from);
  49549. }
  49550. bool packetc2w_recv_2020_national_handbooks_award::IsInitialized() const {
  49551. return true;
  49552. }
  49553. void packetc2w_recv_2020_national_handbooks_award::Swap(packetc2w_recv_2020_national_handbooks_award* other) {
  49554. if (other != this) {
  49555. std::swap(packet_id_, other->packet_id_);
  49556. std::swap(type_, other->type_);
  49557. std::swap(_has_bits_[0], other->_has_bits_[0]);
  49558. _unknown_fields_.Swap(&other->_unknown_fields_);
  49559. std::swap(_cached_size_, other->_cached_size_);
  49560. }
  49561. }
  49562. ::google::protobuf::Metadata packetc2w_recv_2020_national_handbooks_award::GetMetadata() const {
  49563. protobuf_AssignDescriptorsOnce();
  49564. ::google::protobuf::Metadata metadata;
  49565. metadata.descriptor = packetc2w_recv_2020_national_handbooks_award_descriptor_;
  49566. metadata.reflection = packetc2w_recv_2020_national_handbooks_award_reflection_;
  49567. return metadata;
  49568. }
  49569. // ===================================================================
  49570. #ifndef _MSC_VER
  49571. const int packetw2c_recv_2020_national_handbooks_award_result::kPacketIdFieldNumber;
  49572. const int packetw2c_recv_2020_national_handbooks_award_result::kResultFieldNumber;
  49573. const int packetw2c_recv_2020_national_handbooks_award_result::kTypeFieldNumber;
  49574. #endif // !_MSC_VER
  49575. packetw2c_recv_2020_national_handbooks_award_result::packetw2c_recv_2020_national_handbooks_award_result()
  49576. : ::google::protobuf::Message() {
  49577. SharedCtor();
  49578. }
  49579. void packetw2c_recv_2020_national_handbooks_award_result::InitAsDefaultInstance() {
  49580. }
  49581. packetw2c_recv_2020_national_handbooks_award_result::packetw2c_recv_2020_national_handbooks_award_result(const packetw2c_recv_2020_national_handbooks_award_result& from)
  49582. : ::google::protobuf::Message() {
  49583. SharedCtor();
  49584. MergeFrom(from);
  49585. }
  49586. void packetw2c_recv_2020_national_handbooks_award_result::SharedCtor() {
  49587. _cached_size_ = 0;
  49588. packet_id_ = 7749;
  49589. result_ = 0;
  49590. type_ = 0;
  49591. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  49592. }
  49593. packetw2c_recv_2020_national_handbooks_award_result::~packetw2c_recv_2020_national_handbooks_award_result() {
  49594. SharedDtor();
  49595. }
  49596. void packetw2c_recv_2020_national_handbooks_award_result::SharedDtor() {
  49597. if (this != default_instance_) {
  49598. }
  49599. }
  49600. void packetw2c_recv_2020_national_handbooks_award_result::SetCachedSize(int size) const {
  49601. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49602. _cached_size_ = size;
  49603. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49604. }
  49605. const ::google::protobuf::Descriptor* packetw2c_recv_2020_national_handbooks_award_result::descriptor() {
  49606. protobuf_AssignDescriptorsOnce();
  49607. return packetw2c_recv_2020_national_handbooks_award_result_descriptor_;
  49608. }
  49609. const packetw2c_recv_2020_national_handbooks_award_result& packetw2c_recv_2020_national_handbooks_award_result::default_instance() {
  49610. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  49611. return *default_instance_;
  49612. }
  49613. packetw2c_recv_2020_national_handbooks_award_result* packetw2c_recv_2020_national_handbooks_award_result::default_instance_ = NULL;
  49614. packetw2c_recv_2020_national_handbooks_award_result* packetw2c_recv_2020_national_handbooks_award_result::New() const {
  49615. return new packetw2c_recv_2020_national_handbooks_award_result;
  49616. }
  49617. void packetw2c_recv_2020_national_handbooks_award_result::Clear() {
  49618. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49619. packet_id_ = 7749;
  49620. result_ = 0;
  49621. type_ = 0;
  49622. }
  49623. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  49624. mutable_unknown_fields()->Clear();
  49625. }
  49626. bool packetw2c_recv_2020_national_handbooks_award_result::MergePartialFromCodedStream(
  49627. ::google::protobuf::io::CodedInputStream* input) {
  49628. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  49629. ::google::protobuf::uint32 tag;
  49630. while ((tag = input->ReadTag()) != 0) {
  49631. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  49632. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_award_result];
  49633. case 1: {
  49634. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49635. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49636. int value;
  49637. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49638. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  49639. input, &value)));
  49640. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  49641. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  49642. } else {
  49643. mutable_unknown_fields()->AddVarint(1, value);
  49644. }
  49645. } else {
  49646. goto handle_uninterpreted;
  49647. }
  49648. if (input->ExpectTag(16)) goto parse_result;
  49649. break;
  49650. }
  49651. // optional int32 result = 2;
  49652. case 2: {
  49653. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49654. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49655. parse_result:
  49656. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49657. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  49658. input, &result_)));
  49659. set_has_result();
  49660. } else {
  49661. goto handle_uninterpreted;
  49662. }
  49663. if (input->ExpectTag(24)) goto parse_type;
  49664. break;
  49665. }
  49666. // optional int32 type = 3;
  49667. case 3: {
  49668. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49669. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49670. parse_type:
  49671. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49672. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  49673. input, &type_)));
  49674. set_has_type();
  49675. } else {
  49676. goto handle_uninterpreted;
  49677. }
  49678. if (input->ExpectAtEnd()) return true;
  49679. break;
  49680. }
  49681. default: {
  49682. handle_uninterpreted:
  49683. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49684. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  49685. return true;
  49686. }
  49687. DO_(::google::protobuf::internal::WireFormat::SkipField(
  49688. input, tag, mutable_unknown_fields()));
  49689. break;
  49690. }
  49691. }
  49692. }
  49693. return true;
  49694. #undef DO_
  49695. }
  49696. void packetw2c_recv_2020_national_handbooks_award_result::SerializeWithCachedSizes(
  49697. ::google::protobuf::io::CodedOutputStream* output) const {
  49698. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_award_result];
  49699. if (has_packet_id()) {
  49700. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  49701. 1, this->packet_id(), output);
  49702. }
  49703. // optional int32 result = 2;
  49704. if (has_result()) {
  49705. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  49706. }
  49707. // optional int32 type = 3;
  49708. if (has_type()) {
  49709. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  49710. }
  49711. if (!unknown_fields().empty()) {
  49712. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  49713. unknown_fields(), output);
  49714. }
  49715. }
  49716. ::google::protobuf::uint8* packetw2c_recv_2020_national_handbooks_award_result::SerializeWithCachedSizesToArray(
  49717. ::google::protobuf::uint8* target) const {
  49718. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_award_result];
  49719. if (has_packet_id()) {
  49720. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  49721. 1, this->packet_id(), target);
  49722. }
  49723. // optional int32 result = 2;
  49724. if (has_result()) {
  49725. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  49726. }
  49727. // optional int32 type = 3;
  49728. if (has_type()) {
  49729. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  49730. }
  49731. if (!unknown_fields().empty()) {
  49732. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  49733. unknown_fields(), target);
  49734. }
  49735. return target;
  49736. }
  49737. int packetw2c_recv_2020_national_handbooks_award_result::ByteSize() const {
  49738. int total_size = 0;
  49739. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49740. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_award_result];
  49741. if (has_packet_id()) {
  49742. total_size += 1 +
  49743. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  49744. }
  49745. // optional int32 result = 2;
  49746. if (has_result()) {
  49747. total_size += 1 +
  49748. ::google::protobuf::internal::WireFormatLite::Int32Size(
  49749. this->result());
  49750. }
  49751. // optional int32 type = 3;
  49752. if (has_type()) {
  49753. total_size += 1 +
  49754. ::google::protobuf::internal::WireFormatLite::Int32Size(
  49755. this->type());
  49756. }
  49757. }
  49758. if (!unknown_fields().empty()) {
  49759. total_size +=
  49760. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  49761. unknown_fields());
  49762. }
  49763. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49764. _cached_size_ = total_size;
  49765. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49766. return total_size;
  49767. }
  49768. void packetw2c_recv_2020_national_handbooks_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  49769. GOOGLE_CHECK_NE(&from, this);
  49770. const packetw2c_recv_2020_national_handbooks_award_result* source =
  49771. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_2020_national_handbooks_award_result*>(
  49772. &from);
  49773. if (source == NULL) {
  49774. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  49775. } else {
  49776. MergeFrom(*source);
  49777. }
  49778. }
  49779. void packetw2c_recv_2020_national_handbooks_award_result::MergeFrom(const packetw2c_recv_2020_national_handbooks_award_result& from) {
  49780. GOOGLE_CHECK_NE(&from, this);
  49781. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49782. if (from.has_packet_id()) {
  49783. set_packet_id(from.packet_id());
  49784. }
  49785. if (from.has_result()) {
  49786. set_result(from.result());
  49787. }
  49788. if (from.has_type()) {
  49789. set_type(from.type());
  49790. }
  49791. }
  49792. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  49793. }
  49794. void packetw2c_recv_2020_national_handbooks_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  49795. if (&from == this) return;
  49796. Clear();
  49797. MergeFrom(from);
  49798. }
  49799. void packetw2c_recv_2020_national_handbooks_award_result::CopyFrom(const packetw2c_recv_2020_national_handbooks_award_result& from) {
  49800. if (&from == this) return;
  49801. Clear();
  49802. MergeFrom(from);
  49803. }
  49804. bool packetw2c_recv_2020_national_handbooks_award_result::IsInitialized() const {
  49805. return true;
  49806. }
  49807. void packetw2c_recv_2020_national_handbooks_award_result::Swap(packetw2c_recv_2020_national_handbooks_award_result* other) {
  49808. if (other != this) {
  49809. std::swap(packet_id_, other->packet_id_);
  49810. std::swap(result_, other->result_);
  49811. std::swap(type_, other->type_);
  49812. std::swap(_has_bits_[0], other->_has_bits_[0]);
  49813. _unknown_fields_.Swap(&other->_unknown_fields_);
  49814. std::swap(_cached_size_, other->_cached_size_);
  49815. }
  49816. }
  49817. ::google::protobuf::Metadata packetw2c_recv_2020_national_handbooks_award_result::GetMetadata() const {
  49818. protobuf_AssignDescriptorsOnce();
  49819. ::google::protobuf::Metadata metadata;
  49820. metadata.descriptor = packetw2c_recv_2020_national_handbooks_award_result_descriptor_;
  49821. metadata.reflection = packetw2c_recv_2020_national_handbooks_award_result_reflection_;
  49822. return metadata;
  49823. }
  49824. // ===================================================================
  49825. #ifndef _MSC_VER
  49826. const int packetc2w_2020_national_lottery::kPacketIdFieldNumber;
  49827. const int packetc2w_2020_national_lottery::kTypeFieldNumber;
  49828. #endif // !_MSC_VER
  49829. packetc2w_2020_national_lottery::packetc2w_2020_national_lottery()
  49830. : ::google::protobuf::Message() {
  49831. SharedCtor();
  49832. }
  49833. void packetc2w_2020_national_lottery::InitAsDefaultInstance() {
  49834. }
  49835. packetc2w_2020_national_lottery::packetc2w_2020_national_lottery(const packetc2w_2020_national_lottery& from)
  49836. : ::google::protobuf::Message() {
  49837. SharedCtor();
  49838. MergeFrom(from);
  49839. }
  49840. void packetc2w_2020_national_lottery::SharedCtor() {
  49841. _cached_size_ = 0;
  49842. packet_id_ = 5216;
  49843. type_ = 0;
  49844. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  49845. }
  49846. packetc2w_2020_national_lottery::~packetc2w_2020_national_lottery() {
  49847. SharedDtor();
  49848. }
  49849. void packetc2w_2020_national_lottery::SharedDtor() {
  49850. if (this != default_instance_) {
  49851. }
  49852. }
  49853. void packetc2w_2020_national_lottery::SetCachedSize(int size) const {
  49854. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49855. _cached_size_ = size;
  49856. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49857. }
  49858. const ::google::protobuf::Descriptor* packetc2w_2020_national_lottery::descriptor() {
  49859. protobuf_AssignDescriptorsOnce();
  49860. return packetc2w_2020_national_lottery_descriptor_;
  49861. }
  49862. const packetc2w_2020_national_lottery& packetc2w_2020_national_lottery::default_instance() {
  49863. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  49864. return *default_instance_;
  49865. }
  49866. packetc2w_2020_national_lottery* packetc2w_2020_national_lottery::default_instance_ = NULL;
  49867. packetc2w_2020_national_lottery* packetc2w_2020_national_lottery::New() const {
  49868. return new packetc2w_2020_national_lottery;
  49869. }
  49870. void packetc2w_2020_national_lottery::Clear() {
  49871. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49872. packet_id_ = 5216;
  49873. type_ = 0;
  49874. }
  49875. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  49876. mutable_unknown_fields()->Clear();
  49877. }
  49878. bool packetc2w_2020_national_lottery::MergePartialFromCodedStream(
  49879. ::google::protobuf::io::CodedInputStream* input) {
  49880. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  49881. ::google::protobuf::uint32 tag;
  49882. while ((tag = input->ReadTag()) != 0) {
  49883. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  49884. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_2020_national_lottery];
  49885. case 1: {
  49886. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49887. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49888. int value;
  49889. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49890. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  49891. input, &value)));
  49892. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  49893. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  49894. } else {
  49895. mutable_unknown_fields()->AddVarint(1, value);
  49896. }
  49897. } else {
  49898. goto handle_uninterpreted;
  49899. }
  49900. if (input->ExpectTag(16)) goto parse_type;
  49901. break;
  49902. }
  49903. // optional int32 type = 2;
  49904. case 2: {
  49905. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49906. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  49907. parse_type:
  49908. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  49909. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  49910. input, &type_)));
  49911. set_has_type();
  49912. } else {
  49913. goto handle_uninterpreted;
  49914. }
  49915. if (input->ExpectAtEnd()) return true;
  49916. break;
  49917. }
  49918. default: {
  49919. handle_uninterpreted:
  49920. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  49921. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  49922. return true;
  49923. }
  49924. DO_(::google::protobuf::internal::WireFormat::SkipField(
  49925. input, tag, mutable_unknown_fields()));
  49926. break;
  49927. }
  49928. }
  49929. }
  49930. return true;
  49931. #undef DO_
  49932. }
  49933. void packetc2w_2020_national_lottery::SerializeWithCachedSizes(
  49934. ::google::protobuf::io::CodedOutputStream* output) const {
  49935. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_2020_national_lottery];
  49936. if (has_packet_id()) {
  49937. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  49938. 1, this->packet_id(), output);
  49939. }
  49940. // optional int32 type = 2;
  49941. if (has_type()) {
  49942. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  49943. }
  49944. if (!unknown_fields().empty()) {
  49945. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  49946. unknown_fields(), output);
  49947. }
  49948. }
  49949. ::google::protobuf::uint8* packetc2w_2020_national_lottery::SerializeWithCachedSizesToArray(
  49950. ::google::protobuf::uint8* target) const {
  49951. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_2020_national_lottery];
  49952. if (has_packet_id()) {
  49953. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  49954. 1, this->packet_id(), target);
  49955. }
  49956. // optional int32 type = 2;
  49957. if (has_type()) {
  49958. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  49959. }
  49960. if (!unknown_fields().empty()) {
  49961. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  49962. unknown_fields(), target);
  49963. }
  49964. return target;
  49965. }
  49966. int packetc2w_2020_national_lottery::ByteSize() const {
  49967. int total_size = 0;
  49968. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  49969. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_2020_national_lottery];
  49970. if (has_packet_id()) {
  49971. total_size += 1 +
  49972. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  49973. }
  49974. // optional int32 type = 2;
  49975. if (has_type()) {
  49976. total_size += 1 +
  49977. ::google::protobuf::internal::WireFormatLite::Int32Size(
  49978. this->type());
  49979. }
  49980. }
  49981. if (!unknown_fields().empty()) {
  49982. total_size +=
  49983. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  49984. unknown_fields());
  49985. }
  49986. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  49987. _cached_size_ = total_size;
  49988. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  49989. return total_size;
  49990. }
  49991. void packetc2w_2020_national_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  49992. GOOGLE_CHECK_NE(&from, this);
  49993. const packetc2w_2020_national_lottery* source =
  49994. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_2020_national_lottery*>(
  49995. &from);
  49996. if (source == NULL) {
  49997. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  49998. } else {
  49999. MergeFrom(*source);
  50000. }
  50001. }
  50002. void packetc2w_2020_national_lottery::MergeFrom(const packetc2w_2020_national_lottery& from) {
  50003. GOOGLE_CHECK_NE(&from, this);
  50004. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50005. if (from.has_packet_id()) {
  50006. set_packet_id(from.packet_id());
  50007. }
  50008. if (from.has_type()) {
  50009. set_type(from.type());
  50010. }
  50011. }
  50012. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  50013. }
  50014. void packetc2w_2020_national_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  50015. if (&from == this) return;
  50016. Clear();
  50017. MergeFrom(from);
  50018. }
  50019. void packetc2w_2020_national_lottery::CopyFrom(const packetc2w_2020_national_lottery& from) {
  50020. if (&from == this) return;
  50021. Clear();
  50022. MergeFrom(from);
  50023. }
  50024. bool packetc2w_2020_national_lottery::IsInitialized() const {
  50025. return true;
  50026. }
  50027. void packetc2w_2020_national_lottery::Swap(packetc2w_2020_national_lottery* other) {
  50028. if (other != this) {
  50029. std::swap(packet_id_, other->packet_id_);
  50030. std::swap(type_, other->type_);
  50031. std::swap(_has_bits_[0], other->_has_bits_[0]);
  50032. _unknown_fields_.Swap(&other->_unknown_fields_);
  50033. std::swap(_cached_size_, other->_cached_size_);
  50034. }
  50035. }
  50036. ::google::protobuf::Metadata packetc2w_2020_national_lottery::GetMetadata() const {
  50037. protobuf_AssignDescriptorsOnce();
  50038. ::google::protobuf::Metadata metadata;
  50039. metadata.descriptor = packetc2w_2020_national_lottery_descriptor_;
  50040. metadata.reflection = packetc2w_2020_national_lottery_reflection_;
  50041. return metadata;
  50042. }
  50043. // ===================================================================
  50044. #ifndef _MSC_VER
  50045. const int packetw2c_2020_national_lottery_result::kPacketIdFieldNumber;
  50046. const int packetw2c_2020_national_lottery_result::kResultFieldNumber;
  50047. const int packetw2c_2020_national_lottery_result::kTypeFieldNumber;
  50048. const int packetw2c_2020_national_lottery_result::kRewardIdFieldNumber;
  50049. #endif // !_MSC_VER
  50050. packetw2c_2020_national_lottery_result::packetw2c_2020_national_lottery_result()
  50051. : ::google::protobuf::Message() {
  50052. SharedCtor();
  50053. }
  50054. void packetw2c_2020_national_lottery_result::InitAsDefaultInstance() {
  50055. }
  50056. packetw2c_2020_national_lottery_result::packetw2c_2020_national_lottery_result(const packetw2c_2020_national_lottery_result& from)
  50057. : ::google::protobuf::Message() {
  50058. SharedCtor();
  50059. MergeFrom(from);
  50060. }
  50061. void packetw2c_2020_national_lottery_result::SharedCtor() {
  50062. _cached_size_ = 0;
  50063. packet_id_ = 7751;
  50064. result_ = 0;
  50065. type_ = 0;
  50066. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  50067. }
  50068. packetw2c_2020_national_lottery_result::~packetw2c_2020_national_lottery_result() {
  50069. SharedDtor();
  50070. }
  50071. void packetw2c_2020_national_lottery_result::SharedDtor() {
  50072. if (this != default_instance_) {
  50073. }
  50074. }
  50075. void packetw2c_2020_national_lottery_result::SetCachedSize(int size) const {
  50076. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  50077. _cached_size_ = size;
  50078. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  50079. }
  50080. const ::google::protobuf::Descriptor* packetw2c_2020_national_lottery_result::descriptor() {
  50081. protobuf_AssignDescriptorsOnce();
  50082. return packetw2c_2020_national_lottery_result_descriptor_;
  50083. }
  50084. const packetw2c_2020_national_lottery_result& packetw2c_2020_national_lottery_result::default_instance() {
  50085. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  50086. return *default_instance_;
  50087. }
  50088. packetw2c_2020_national_lottery_result* packetw2c_2020_national_lottery_result::default_instance_ = NULL;
  50089. packetw2c_2020_national_lottery_result* packetw2c_2020_national_lottery_result::New() const {
  50090. return new packetw2c_2020_national_lottery_result;
  50091. }
  50092. void packetw2c_2020_national_lottery_result::Clear() {
  50093. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50094. packet_id_ = 7751;
  50095. result_ = 0;
  50096. type_ = 0;
  50097. }
  50098. rewardid_.Clear();
  50099. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  50100. mutable_unknown_fields()->Clear();
  50101. }
  50102. bool packetw2c_2020_national_lottery_result::MergePartialFromCodedStream(
  50103. ::google::protobuf::io::CodedInputStream* input) {
  50104. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  50105. ::google::protobuf::uint32 tag;
  50106. while ((tag = input->ReadTag()) != 0) {
  50107. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  50108. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_2020_national_lottery_result];
  50109. case 1: {
  50110. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50111. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50112. int value;
  50113. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50114. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  50115. input, &value)));
  50116. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  50117. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  50118. } else {
  50119. mutable_unknown_fields()->AddVarint(1, value);
  50120. }
  50121. } else {
  50122. goto handle_uninterpreted;
  50123. }
  50124. if (input->ExpectTag(16)) goto parse_result;
  50125. break;
  50126. }
  50127. // optional int32 result = 2;
  50128. case 2: {
  50129. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50130. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50131. parse_result:
  50132. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50133. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50134. input, &result_)));
  50135. set_has_result();
  50136. } else {
  50137. goto handle_uninterpreted;
  50138. }
  50139. if (input->ExpectTag(24)) goto parse_type;
  50140. break;
  50141. }
  50142. // optional int32 type = 3;
  50143. case 3: {
  50144. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50145. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50146. parse_type:
  50147. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50148. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50149. input, &type_)));
  50150. set_has_type();
  50151. } else {
  50152. goto handle_uninterpreted;
  50153. }
  50154. if (input->ExpectTag(32)) goto parse_rewardId;
  50155. break;
  50156. }
  50157. // repeated int32 rewardId = 4;
  50158. case 4: {
  50159. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50160. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50161. parse_rewardId:
  50162. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  50163. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50164. 1, 32, input, this->mutable_rewardid())));
  50165. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  50166. == ::google::protobuf::internal::WireFormatLite::
  50167. WIRETYPE_LENGTH_DELIMITED) {
  50168. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  50169. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50170. input, this->mutable_rewardid())));
  50171. } else {
  50172. goto handle_uninterpreted;
  50173. }
  50174. if (input->ExpectTag(32)) goto parse_rewardId;
  50175. if (input->ExpectAtEnd()) return true;
  50176. break;
  50177. }
  50178. default: {
  50179. handle_uninterpreted:
  50180. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50181. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  50182. return true;
  50183. }
  50184. DO_(::google::protobuf::internal::WireFormat::SkipField(
  50185. input, tag, mutable_unknown_fields()));
  50186. break;
  50187. }
  50188. }
  50189. }
  50190. return true;
  50191. #undef DO_
  50192. }
  50193. void packetw2c_2020_national_lottery_result::SerializeWithCachedSizes(
  50194. ::google::protobuf::io::CodedOutputStream* output) const {
  50195. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_2020_national_lottery_result];
  50196. if (has_packet_id()) {
  50197. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  50198. 1, this->packet_id(), output);
  50199. }
  50200. // optional int32 result = 2;
  50201. if (has_result()) {
  50202. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  50203. }
  50204. // optional int32 type = 3;
  50205. if (has_type()) {
  50206. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  50207. }
  50208. // repeated int32 rewardId = 4;
  50209. for (int i = 0; i < this->rewardid_size(); i++) {
  50210. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  50211. 4, this->rewardid(i), output);
  50212. }
  50213. if (!unknown_fields().empty()) {
  50214. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  50215. unknown_fields(), output);
  50216. }
  50217. }
  50218. ::google::protobuf::uint8* packetw2c_2020_national_lottery_result::SerializeWithCachedSizesToArray(
  50219. ::google::protobuf::uint8* target) const {
  50220. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_2020_national_lottery_result];
  50221. if (has_packet_id()) {
  50222. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  50223. 1, this->packet_id(), target);
  50224. }
  50225. // optional int32 result = 2;
  50226. if (has_result()) {
  50227. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  50228. }
  50229. // optional int32 type = 3;
  50230. if (has_type()) {
  50231. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  50232. }
  50233. // repeated int32 rewardId = 4;
  50234. for (int i = 0; i < this->rewardid_size(); i++) {
  50235. target = ::google::protobuf::internal::WireFormatLite::
  50236. WriteInt32ToArray(4, this->rewardid(i), target);
  50237. }
  50238. if (!unknown_fields().empty()) {
  50239. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  50240. unknown_fields(), target);
  50241. }
  50242. return target;
  50243. }
  50244. int packetw2c_2020_national_lottery_result::ByteSize() const {
  50245. int total_size = 0;
  50246. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50247. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_2020_national_lottery_result];
  50248. if (has_packet_id()) {
  50249. total_size += 1 +
  50250. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  50251. }
  50252. // optional int32 result = 2;
  50253. if (has_result()) {
  50254. total_size += 1 +
  50255. ::google::protobuf::internal::WireFormatLite::Int32Size(
  50256. this->result());
  50257. }
  50258. // optional int32 type = 3;
  50259. if (has_type()) {
  50260. total_size += 1 +
  50261. ::google::protobuf::internal::WireFormatLite::Int32Size(
  50262. this->type());
  50263. }
  50264. }
  50265. // repeated int32 rewardId = 4;
  50266. {
  50267. int data_size = 0;
  50268. for (int i = 0; i < this->rewardid_size(); i++) {
  50269. data_size += ::google::protobuf::internal::WireFormatLite::
  50270. Int32Size(this->rewardid(i));
  50271. }
  50272. total_size += 1 * this->rewardid_size() + data_size;
  50273. }
  50274. if (!unknown_fields().empty()) {
  50275. total_size +=
  50276. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  50277. unknown_fields());
  50278. }
  50279. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  50280. _cached_size_ = total_size;
  50281. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  50282. return total_size;
  50283. }
  50284. void packetw2c_2020_national_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  50285. GOOGLE_CHECK_NE(&from, this);
  50286. const packetw2c_2020_national_lottery_result* source =
  50287. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_2020_national_lottery_result*>(
  50288. &from);
  50289. if (source == NULL) {
  50290. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  50291. } else {
  50292. MergeFrom(*source);
  50293. }
  50294. }
  50295. void packetw2c_2020_national_lottery_result::MergeFrom(const packetw2c_2020_national_lottery_result& from) {
  50296. GOOGLE_CHECK_NE(&from, this);
  50297. rewardid_.MergeFrom(from.rewardid_);
  50298. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50299. if (from.has_packet_id()) {
  50300. set_packet_id(from.packet_id());
  50301. }
  50302. if (from.has_result()) {
  50303. set_result(from.result());
  50304. }
  50305. if (from.has_type()) {
  50306. set_type(from.type());
  50307. }
  50308. }
  50309. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  50310. }
  50311. void packetw2c_2020_national_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  50312. if (&from == this) return;
  50313. Clear();
  50314. MergeFrom(from);
  50315. }
  50316. void packetw2c_2020_national_lottery_result::CopyFrom(const packetw2c_2020_national_lottery_result& from) {
  50317. if (&from == this) return;
  50318. Clear();
  50319. MergeFrom(from);
  50320. }
  50321. bool packetw2c_2020_national_lottery_result::IsInitialized() const {
  50322. return true;
  50323. }
  50324. void packetw2c_2020_national_lottery_result::Swap(packetw2c_2020_national_lottery_result* other) {
  50325. if (other != this) {
  50326. std::swap(packet_id_, other->packet_id_);
  50327. std::swap(result_, other->result_);
  50328. std::swap(type_, other->type_);
  50329. rewardid_.Swap(&other->rewardid_);
  50330. std::swap(_has_bits_[0], other->_has_bits_[0]);
  50331. _unknown_fields_.Swap(&other->_unknown_fields_);
  50332. std::swap(_cached_size_, other->_cached_size_);
  50333. }
  50334. }
  50335. ::google::protobuf::Metadata packetw2c_2020_national_lottery_result::GetMetadata() const {
  50336. protobuf_AssignDescriptorsOnce();
  50337. ::google::protobuf::Metadata metadata;
  50338. metadata.descriptor = packetw2c_2020_national_lottery_result_descriptor_;
  50339. metadata.reflection = packetw2c_2020_national_lottery_result_reflection_;
  50340. return metadata;
  50341. }
  50342. // ===================================================================
  50343. #ifndef _MSC_VER
  50344. const int packetw2c_syn_personal_tailor_new_info::kPacketIdFieldNumber;
  50345. const int packetw2c_syn_personal_tailor_new_info::kActivityStateFieldNumber;
  50346. const int packetw2c_syn_personal_tailor_new_info::kStartTimeFieldNumber;
  50347. const int packetw2c_syn_personal_tailor_new_info::kEndTimeFieldNumber;
  50348. const int packetw2c_syn_personal_tailor_new_info::kTailorItemsFieldNumber;
  50349. #endif // !_MSC_VER
  50350. packetw2c_syn_personal_tailor_new_info::packetw2c_syn_personal_tailor_new_info()
  50351. : ::google::protobuf::Message() {
  50352. SharedCtor();
  50353. }
  50354. void packetw2c_syn_personal_tailor_new_info::InitAsDefaultInstance() {
  50355. }
  50356. packetw2c_syn_personal_tailor_new_info::packetw2c_syn_personal_tailor_new_info(const packetw2c_syn_personal_tailor_new_info& from)
  50357. : ::google::protobuf::Message() {
  50358. SharedCtor();
  50359. MergeFrom(from);
  50360. }
  50361. void packetw2c_syn_personal_tailor_new_info::SharedCtor() {
  50362. _cached_size_ = 0;
  50363. packet_id_ = 7754;
  50364. activitystate_ = 0;
  50365. starttime_ = 0;
  50366. endtime_ = 0;
  50367. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  50368. }
  50369. packetw2c_syn_personal_tailor_new_info::~packetw2c_syn_personal_tailor_new_info() {
  50370. SharedDtor();
  50371. }
  50372. void packetw2c_syn_personal_tailor_new_info::SharedDtor() {
  50373. if (this != default_instance_) {
  50374. }
  50375. }
  50376. void packetw2c_syn_personal_tailor_new_info::SetCachedSize(int size) const {
  50377. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  50378. _cached_size_ = size;
  50379. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  50380. }
  50381. const ::google::protobuf::Descriptor* packetw2c_syn_personal_tailor_new_info::descriptor() {
  50382. protobuf_AssignDescriptorsOnce();
  50383. return packetw2c_syn_personal_tailor_new_info_descriptor_;
  50384. }
  50385. const packetw2c_syn_personal_tailor_new_info& packetw2c_syn_personal_tailor_new_info::default_instance() {
  50386. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  50387. return *default_instance_;
  50388. }
  50389. packetw2c_syn_personal_tailor_new_info* packetw2c_syn_personal_tailor_new_info::default_instance_ = NULL;
  50390. packetw2c_syn_personal_tailor_new_info* packetw2c_syn_personal_tailor_new_info::New() const {
  50391. return new packetw2c_syn_personal_tailor_new_info;
  50392. }
  50393. void packetw2c_syn_personal_tailor_new_info::Clear() {
  50394. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50395. packet_id_ = 7754;
  50396. activitystate_ = 0;
  50397. starttime_ = 0;
  50398. endtime_ = 0;
  50399. }
  50400. tailoritems_.Clear();
  50401. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  50402. mutable_unknown_fields()->Clear();
  50403. }
  50404. bool packetw2c_syn_personal_tailor_new_info::MergePartialFromCodedStream(
  50405. ::google::protobuf::io::CodedInputStream* input) {
  50406. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  50407. ::google::protobuf::uint32 tag;
  50408. while ((tag = input->ReadTag()) != 0) {
  50409. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  50410. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_new_info];
  50411. case 1: {
  50412. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50413. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50414. int value;
  50415. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50416. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  50417. input, &value)));
  50418. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  50419. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  50420. } else {
  50421. mutable_unknown_fields()->AddVarint(1, value);
  50422. }
  50423. } else {
  50424. goto handle_uninterpreted;
  50425. }
  50426. if (input->ExpectTag(16)) goto parse_activityState;
  50427. break;
  50428. }
  50429. // optional int32 activityState = 2;
  50430. case 2: {
  50431. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50432. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50433. parse_activityState:
  50434. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50435. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50436. input, &activitystate_)));
  50437. set_has_activitystate();
  50438. } else {
  50439. goto handle_uninterpreted;
  50440. }
  50441. if (input->ExpectTag(24)) goto parse_startTime;
  50442. break;
  50443. }
  50444. // optional int32 startTime = 3;
  50445. case 3: {
  50446. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50447. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50448. parse_startTime:
  50449. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50450. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50451. input, &starttime_)));
  50452. set_has_starttime();
  50453. } else {
  50454. goto handle_uninterpreted;
  50455. }
  50456. if (input->ExpectTag(32)) goto parse_endTime;
  50457. break;
  50458. }
  50459. // optional int32 endTime = 4;
  50460. case 4: {
  50461. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50462. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50463. parse_endTime:
  50464. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50465. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50466. input, &endtime_)));
  50467. set_has_endtime();
  50468. } else {
  50469. goto handle_uninterpreted;
  50470. }
  50471. if (input->ExpectTag(40)) goto parse_tailorItems;
  50472. break;
  50473. }
  50474. // repeated int32 tailorItems = 5;
  50475. case 5: {
  50476. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50477. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50478. parse_tailorItems:
  50479. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  50480. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50481. 1, 40, input, this->mutable_tailoritems())));
  50482. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  50483. == ::google::protobuf::internal::WireFormatLite::
  50484. WIRETYPE_LENGTH_DELIMITED) {
  50485. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  50486. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50487. input, this->mutable_tailoritems())));
  50488. } else {
  50489. goto handle_uninterpreted;
  50490. }
  50491. if (input->ExpectTag(40)) goto parse_tailorItems;
  50492. if (input->ExpectAtEnd()) return true;
  50493. break;
  50494. }
  50495. default: {
  50496. handle_uninterpreted:
  50497. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50498. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  50499. return true;
  50500. }
  50501. DO_(::google::protobuf::internal::WireFormat::SkipField(
  50502. input, tag, mutable_unknown_fields()));
  50503. break;
  50504. }
  50505. }
  50506. }
  50507. return true;
  50508. #undef DO_
  50509. }
  50510. void packetw2c_syn_personal_tailor_new_info::SerializeWithCachedSizes(
  50511. ::google::protobuf::io::CodedOutputStream* output) const {
  50512. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_new_info];
  50513. if (has_packet_id()) {
  50514. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  50515. 1, this->packet_id(), output);
  50516. }
  50517. // optional int32 activityState = 2;
  50518. if (has_activitystate()) {
  50519. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  50520. }
  50521. // optional int32 startTime = 3;
  50522. if (has_starttime()) {
  50523. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  50524. }
  50525. // optional int32 endTime = 4;
  50526. if (has_endtime()) {
  50527. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  50528. }
  50529. // repeated int32 tailorItems = 5;
  50530. for (int i = 0; i < this->tailoritems_size(); i++) {
  50531. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  50532. 5, this->tailoritems(i), output);
  50533. }
  50534. if (!unknown_fields().empty()) {
  50535. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  50536. unknown_fields(), output);
  50537. }
  50538. }
  50539. ::google::protobuf::uint8* packetw2c_syn_personal_tailor_new_info::SerializeWithCachedSizesToArray(
  50540. ::google::protobuf::uint8* target) const {
  50541. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_new_info];
  50542. if (has_packet_id()) {
  50543. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  50544. 1, this->packet_id(), target);
  50545. }
  50546. // optional int32 activityState = 2;
  50547. if (has_activitystate()) {
  50548. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  50549. }
  50550. // optional int32 startTime = 3;
  50551. if (has_starttime()) {
  50552. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  50553. }
  50554. // optional int32 endTime = 4;
  50555. if (has_endtime()) {
  50556. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  50557. }
  50558. // repeated int32 tailorItems = 5;
  50559. for (int i = 0; i < this->tailoritems_size(); i++) {
  50560. target = ::google::protobuf::internal::WireFormatLite::
  50561. WriteInt32ToArray(5, this->tailoritems(i), target);
  50562. }
  50563. if (!unknown_fields().empty()) {
  50564. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  50565. unknown_fields(), target);
  50566. }
  50567. return target;
  50568. }
  50569. int packetw2c_syn_personal_tailor_new_info::ByteSize() const {
  50570. int total_size = 0;
  50571. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50572. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_new_info];
  50573. if (has_packet_id()) {
  50574. total_size += 1 +
  50575. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  50576. }
  50577. // optional int32 activityState = 2;
  50578. if (has_activitystate()) {
  50579. total_size += 1 +
  50580. ::google::protobuf::internal::WireFormatLite::Int32Size(
  50581. this->activitystate());
  50582. }
  50583. // optional int32 startTime = 3;
  50584. if (has_starttime()) {
  50585. total_size += 1 +
  50586. ::google::protobuf::internal::WireFormatLite::Int32Size(
  50587. this->starttime());
  50588. }
  50589. // optional int32 endTime = 4;
  50590. if (has_endtime()) {
  50591. total_size += 1 +
  50592. ::google::protobuf::internal::WireFormatLite::Int32Size(
  50593. this->endtime());
  50594. }
  50595. }
  50596. // repeated int32 tailorItems = 5;
  50597. {
  50598. int data_size = 0;
  50599. for (int i = 0; i < this->tailoritems_size(); i++) {
  50600. data_size += ::google::protobuf::internal::WireFormatLite::
  50601. Int32Size(this->tailoritems(i));
  50602. }
  50603. total_size += 1 * this->tailoritems_size() + data_size;
  50604. }
  50605. if (!unknown_fields().empty()) {
  50606. total_size +=
  50607. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  50608. unknown_fields());
  50609. }
  50610. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  50611. _cached_size_ = total_size;
  50612. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  50613. return total_size;
  50614. }
  50615. void packetw2c_syn_personal_tailor_new_info::MergeFrom(const ::google::protobuf::Message& from) {
  50616. GOOGLE_CHECK_NE(&from, this);
  50617. const packetw2c_syn_personal_tailor_new_info* source =
  50618. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_personal_tailor_new_info*>(
  50619. &from);
  50620. if (source == NULL) {
  50621. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  50622. } else {
  50623. MergeFrom(*source);
  50624. }
  50625. }
  50626. void packetw2c_syn_personal_tailor_new_info::MergeFrom(const packetw2c_syn_personal_tailor_new_info& from) {
  50627. GOOGLE_CHECK_NE(&from, this);
  50628. tailoritems_.MergeFrom(from.tailoritems_);
  50629. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50630. if (from.has_packet_id()) {
  50631. set_packet_id(from.packet_id());
  50632. }
  50633. if (from.has_activitystate()) {
  50634. set_activitystate(from.activitystate());
  50635. }
  50636. if (from.has_starttime()) {
  50637. set_starttime(from.starttime());
  50638. }
  50639. if (from.has_endtime()) {
  50640. set_endtime(from.endtime());
  50641. }
  50642. }
  50643. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  50644. }
  50645. void packetw2c_syn_personal_tailor_new_info::CopyFrom(const ::google::protobuf::Message& from) {
  50646. if (&from == this) return;
  50647. Clear();
  50648. MergeFrom(from);
  50649. }
  50650. void packetw2c_syn_personal_tailor_new_info::CopyFrom(const packetw2c_syn_personal_tailor_new_info& from) {
  50651. if (&from == this) return;
  50652. Clear();
  50653. MergeFrom(from);
  50654. }
  50655. bool packetw2c_syn_personal_tailor_new_info::IsInitialized() const {
  50656. return true;
  50657. }
  50658. void packetw2c_syn_personal_tailor_new_info::Swap(packetw2c_syn_personal_tailor_new_info* other) {
  50659. if (other != this) {
  50660. std::swap(packet_id_, other->packet_id_);
  50661. std::swap(activitystate_, other->activitystate_);
  50662. std::swap(starttime_, other->starttime_);
  50663. std::swap(endtime_, other->endtime_);
  50664. tailoritems_.Swap(&other->tailoritems_);
  50665. std::swap(_has_bits_[0], other->_has_bits_[0]);
  50666. _unknown_fields_.Swap(&other->_unknown_fields_);
  50667. std::swap(_cached_size_, other->_cached_size_);
  50668. }
  50669. }
  50670. ::google::protobuf::Metadata packetw2c_syn_personal_tailor_new_info::GetMetadata() const {
  50671. protobuf_AssignDescriptorsOnce();
  50672. ::google::protobuf::Metadata metadata;
  50673. metadata.descriptor = packetw2c_syn_personal_tailor_new_info_descriptor_;
  50674. metadata.reflection = packetw2c_syn_personal_tailor_new_info_reflection_;
  50675. return metadata;
  50676. }
  50677. // ===================================================================
  50678. #ifndef _MSC_VER
  50679. const int packetc2w_change_personal_tailor_items::kPacketIdFieldNumber;
  50680. const int packetc2w_change_personal_tailor_items::kTailorItemsFieldNumber;
  50681. #endif // !_MSC_VER
  50682. packetc2w_change_personal_tailor_items::packetc2w_change_personal_tailor_items()
  50683. : ::google::protobuf::Message() {
  50684. SharedCtor();
  50685. }
  50686. void packetc2w_change_personal_tailor_items::InitAsDefaultInstance() {
  50687. }
  50688. packetc2w_change_personal_tailor_items::packetc2w_change_personal_tailor_items(const packetc2w_change_personal_tailor_items& from)
  50689. : ::google::protobuf::Message() {
  50690. SharedCtor();
  50691. MergeFrom(from);
  50692. }
  50693. void packetc2w_change_personal_tailor_items::SharedCtor() {
  50694. _cached_size_ = 0;
  50695. packet_id_ = 5220;
  50696. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  50697. }
  50698. packetc2w_change_personal_tailor_items::~packetc2w_change_personal_tailor_items() {
  50699. SharedDtor();
  50700. }
  50701. void packetc2w_change_personal_tailor_items::SharedDtor() {
  50702. if (this != default_instance_) {
  50703. }
  50704. }
  50705. void packetc2w_change_personal_tailor_items::SetCachedSize(int size) const {
  50706. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  50707. _cached_size_ = size;
  50708. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  50709. }
  50710. const ::google::protobuf::Descriptor* packetc2w_change_personal_tailor_items::descriptor() {
  50711. protobuf_AssignDescriptorsOnce();
  50712. return packetc2w_change_personal_tailor_items_descriptor_;
  50713. }
  50714. const packetc2w_change_personal_tailor_items& packetc2w_change_personal_tailor_items::default_instance() {
  50715. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  50716. return *default_instance_;
  50717. }
  50718. packetc2w_change_personal_tailor_items* packetc2w_change_personal_tailor_items::default_instance_ = NULL;
  50719. packetc2w_change_personal_tailor_items* packetc2w_change_personal_tailor_items::New() const {
  50720. return new packetc2w_change_personal_tailor_items;
  50721. }
  50722. void packetc2w_change_personal_tailor_items::Clear() {
  50723. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50724. packet_id_ = 5220;
  50725. }
  50726. tailoritems_.Clear();
  50727. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  50728. mutable_unknown_fields()->Clear();
  50729. }
  50730. bool packetc2w_change_personal_tailor_items::MergePartialFromCodedStream(
  50731. ::google::protobuf::io::CodedInputStream* input) {
  50732. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  50733. ::google::protobuf::uint32 tag;
  50734. while ((tag = input->ReadTag()) != 0) {
  50735. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  50736. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_personal_tailor_items];
  50737. case 1: {
  50738. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50739. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50740. int value;
  50741. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50742. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  50743. input, &value)));
  50744. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  50745. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  50746. } else {
  50747. mutable_unknown_fields()->AddVarint(1, value);
  50748. }
  50749. } else {
  50750. goto handle_uninterpreted;
  50751. }
  50752. if (input->ExpectTag(16)) goto parse_tailorItems;
  50753. break;
  50754. }
  50755. // repeated int32 tailorItems = 2;
  50756. case 2: {
  50757. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50758. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50759. parse_tailorItems:
  50760. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  50761. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50762. 1, 16, input, this->mutable_tailoritems())));
  50763. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  50764. == ::google::protobuf::internal::WireFormatLite::
  50765. WIRETYPE_LENGTH_DELIMITED) {
  50766. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  50767. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50768. input, this->mutable_tailoritems())));
  50769. } else {
  50770. goto handle_uninterpreted;
  50771. }
  50772. if (input->ExpectTag(16)) goto parse_tailorItems;
  50773. if (input->ExpectAtEnd()) return true;
  50774. break;
  50775. }
  50776. default: {
  50777. handle_uninterpreted:
  50778. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50779. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  50780. return true;
  50781. }
  50782. DO_(::google::protobuf::internal::WireFormat::SkipField(
  50783. input, tag, mutable_unknown_fields()));
  50784. break;
  50785. }
  50786. }
  50787. }
  50788. return true;
  50789. #undef DO_
  50790. }
  50791. void packetc2w_change_personal_tailor_items::SerializeWithCachedSizes(
  50792. ::google::protobuf::io::CodedOutputStream* output) const {
  50793. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_personal_tailor_items];
  50794. if (has_packet_id()) {
  50795. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  50796. 1, this->packet_id(), output);
  50797. }
  50798. // repeated int32 tailorItems = 2;
  50799. for (int i = 0; i < this->tailoritems_size(); i++) {
  50800. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  50801. 2, this->tailoritems(i), output);
  50802. }
  50803. if (!unknown_fields().empty()) {
  50804. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  50805. unknown_fields(), output);
  50806. }
  50807. }
  50808. ::google::protobuf::uint8* packetc2w_change_personal_tailor_items::SerializeWithCachedSizesToArray(
  50809. ::google::protobuf::uint8* target) const {
  50810. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_personal_tailor_items];
  50811. if (has_packet_id()) {
  50812. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  50813. 1, this->packet_id(), target);
  50814. }
  50815. // repeated int32 tailorItems = 2;
  50816. for (int i = 0; i < this->tailoritems_size(); i++) {
  50817. target = ::google::protobuf::internal::WireFormatLite::
  50818. WriteInt32ToArray(2, this->tailoritems(i), target);
  50819. }
  50820. if (!unknown_fields().empty()) {
  50821. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  50822. unknown_fields(), target);
  50823. }
  50824. return target;
  50825. }
  50826. int packetc2w_change_personal_tailor_items::ByteSize() const {
  50827. int total_size = 0;
  50828. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50829. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_personal_tailor_items];
  50830. if (has_packet_id()) {
  50831. total_size += 1 +
  50832. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  50833. }
  50834. }
  50835. // repeated int32 tailorItems = 2;
  50836. {
  50837. int data_size = 0;
  50838. for (int i = 0; i < this->tailoritems_size(); i++) {
  50839. data_size += ::google::protobuf::internal::WireFormatLite::
  50840. Int32Size(this->tailoritems(i));
  50841. }
  50842. total_size += 1 * this->tailoritems_size() + data_size;
  50843. }
  50844. if (!unknown_fields().empty()) {
  50845. total_size +=
  50846. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  50847. unknown_fields());
  50848. }
  50849. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  50850. _cached_size_ = total_size;
  50851. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  50852. return total_size;
  50853. }
  50854. void packetc2w_change_personal_tailor_items::MergeFrom(const ::google::protobuf::Message& from) {
  50855. GOOGLE_CHECK_NE(&from, this);
  50856. const packetc2w_change_personal_tailor_items* source =
  50857. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_change_personal_tailor_items*>(
  50858. &from);
  50859. if (source == NULL) {
  50860. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  50861. } else {
  50862. MergeFrom(*source);
  50863. }
  50864. }
  50865. void packetc2w_change_personal_tailor_items::MergeFrom(const packetc2w_change_personal_tailor_items& from) {
  50866. GOOGLE_CHECK_NE(&from, this);
  50867. tailoritems_.MergeFrom(from.tailoritems_);
  50868. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50869. if (from.has_packet_id()) {
  50870. set_packet_id(from.packet_id());
  50871. }
  50872. }
  50873. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  50874. }
  50875. void packetc2w_change_personal_tailor_items::CopyFrom(const ::google::protobuf::Message& from) {
  50876. if (&from == this) return;
  50877. Clear();
  50878. MergeFrom(from);
  50879. }
  50880. void packetc2w_change_personal_tailor_items::CopyFrom(const packetc2w_change_personal_tailor_items& from) {
  50881. if (&from == this) return;
  50882. Clear();
  50883. MergeFrom(from);
  50884. }
  50885. bool packetc2w_change_personal_tailor_items::IsInitialized() const {
  50886. return true;
  50887. }
  50888. void packetc2w_change_personal_tailor_items::Swap(packetc2w_change_personal_tailor_items* other) {
  50889. if (other != this) {
  50890. std::swap(packet_id_, other->packet_id_);
  50891. tailoritems_.Swap(&other->tailoritems_);
  50892. std::swap(_has_bits_[0], other->_has_bits_[0]);
  50893. _unknown_fields_.Swap(&other->_unknown_fields_);
  50894. std::swap(_cached_size_, other->_cached_size_);
  50895. }
  50896. }
  50897. ::google::protobuf::Metadata packetc2w_change_personal_tailor_items::GetMetadata() const {
  50898. protobuf_AssignDescriptorsOnce();
  50899. ::google::protobuf::Metadata metadata;
  50900. metadata.descriptor = packetc2w_change_personal_tailor_items_descriptor_;
  50901. metadata.reflection = packetc2w_change_personal_tailor_items_reflection_;
  50902. return metadata;
  50903. }
  50904. // ===================================================================
  50905. #ifndef _MSC_VER
  50906. const int packetw2c_change_personal_tailor_items_result::kPacketIdFieldNumber;
  50907. const int packetw2c_change_personal_tailor_items_result::kTailorItemsFieldNumber;
  50908. const int packetw2c_change_personal_tailor_items_result::kResultFieldNumber;
  50909. #endif // !_MSC_VER
  50910. packetw2c_change_personal_tailor_items_result::packetw2c_change_personal_tailor_items_result()
  50911. : ::google::protobuf::Message() {
  50912. SharedCtor();
  50913. }
  50914. void packetw2c_change_personal_tailor_items_result::InitAsDefaultInstance() {
  50915. }
  50916. packetw2c_change_personal_tailor_items_result::packetw2c_change_personal_tailor_items_result(const packetw2c_change_personal_tailor_items_result& from)
  50917. : ::google::protobuf::Message() {
  50918. SharedCtor();
  50919. MergeFrom(from);
  50920. }
  50921. void packetw2c_change_personal_tailor_items_result::SharedCtor() {
  50922. _cached_size_ = 0;
  50923. packet_id_ = 7755;
  50924. result_ = 0;
  50925. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  50926. }
  50927. packetw2c_change_personal_tailor_items_result::~packetw2c_change_personal_tailor_items_result() {
  50928. SharedDtor();
  50929. }
  50930. void packetw2c_change_personal_tailor_items_result::SharedDtor() {
  50931. if (this != default_instance_) {
  50932. }
  50933. }
  50934. void packetw2c_change_personal_tailor_items_result::SetCachedSize(int size) const {
  50935. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  50936. _cached_size_ = size;
  50937. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  50938. }
  50939. const ::google::protobuf::Descriptor* packetw2c_change_personal_tailor_items_result::descriptor() {
  50940. protobuf_AssignDescriptorsOnce();
  50941. return packetw2c_change_personal_tailor_items_result_descriptor_;
  50942. }
  50943. const packetw2c_change_personal_tailor_items_result& packetw2c_change_personal_tailor_items_result::default_instance() {
  50944. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  50945. return *default_instance_;
  50946. }
  50947. packetw2c_change_personal_tailor_items_result* packetw2c_change_personal_tailor_items_result::default_instance_ = NULL;
  50948. packetw2c_change_personal_tailor_items_result* packetw2c_change_personal_tailor_items_result::New() const {
  50949. return new packetw2c_change_personal_tailor_items_result;
  50950. }
  50951. void packetw2c_change_personal_tailor_items_result::Clear() {
  50952. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  50953. packet_id_ = 7755;
  50954. result_ = 0;
  50955. }
  50956. tailoritems_.Clear();
  50957. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  50958. mutable_unknown_fields()->Clear();
  50959. }
  50960. bool packetw2c_change_personal_tailor_items_result::MergePartialFromCodedStream(
  50961. ::google::protobuf::io::CodedInputStream* input) {
  50962. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  50963. ::google::protobuf::uint32 tag;
  50964. while ((tag = input->ReadTag()) != 0) {
  50965. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  50966. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_personal_tailor_items_result];
  50967. case 1: {
  50968. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50969. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50970. int value;
  50971. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  50972. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  50973. input, &value)));
  50974. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  50975. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  50976. } else {
  50977. mutable_unknown_fields()->AddVarint(1, value);
  50978. }
  50979. } else {
  50980. goto handle_uninterpreted;
  50981. }
  50982. if (input->ExpectTag(16)) goto parse_tailorItems;
  50983. break;
  50984. }
  50985. // repeated int32 tailorItems = 2;
  50986. case 2: {
  50987. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  50988. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  50989. parse_tailorItems:
  50990. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  50991. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50992. 1, 16, input, this->mutable_tailoritems())));
  50993. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  50994. == ::google::protobuf::internal::WireFormatLite::
  50995. WIRETYPE_LENGTH_DELIMITED) {
  50996. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  50997. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  50998. input, this->mutable_tailoritems())));
  50999. } else {
  51000. goto handle_uninterpreted;
  51001. }
  51002. if (input->ExpectTag(16)) goto parse_tailorItems;
  51003. if (input->ExpectTag(24)) goto parse_result;
  51004. break;
  51005. }
  51006. // optional int32 result = 3;
  51007. case 3: {
  51008. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51009. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51010. parse_result:
  51011. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51012. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51013. input, &result_)));
  51014. set_has_result();
  51015. } else {
  51016. goto handle_uninterpreted;
  51017. }
  51018. if (input->ExpectAtEnd()) return true;
  51019. break;
  51020. }
  51021. default: {
  51022. handle_uninterpreted:
  51023. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51024. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  51025. return true;
  51026. }
  51027. DO_(::google::protobuf::internal::WireFormat::SkipField(
  51028. input, tag, mutable_unknown_fields()));
  51029. break;
  51030. }
  51031. }
  51032. }
  51033. return true;
  51034. #undef DO_
  51035. }
  51036. void packetw2c_change_personal_tailor_items_result::SerializeWithCachedSizes(
  51037. ::google::protobuf::io::CodedOutputStream* output) const {
  51038. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_personal_tailor_items_result];
  51039. if (has_packet_id()) {
  51040. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  51041. 1, this->packet_id(), output);
  51042. }
  51043. // repeated int32 tailorItems = 2;
  51044. for (int i = 0; i < this->tailoritems_size(); i++) {
  51045. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  51046. 2, this->tailoritems(i), output);
  51047. }
  51048. // optional int32 result = 3;
  51049. if (has_result()) {
  51050. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  51051. }
  51052. if (!unknown_fields().empty()) {
  51053. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  51054. unknown_fields(), output);
  51055. }
  51056. }
  51057. ::google::protobuf::uint8* packetw2c_change_personal_tailor_items_result::SerializeWithCachedSizesToArray(
  51058. ::google::protobuf::uint8* target) const {
  51059. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_personal_tailor_items_result];
  51060. if (has_packet_id()) {
  51061. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  51062. 1, this->packet_id(), target);
  51063. }
  51064. // repeated int32 tailorItems = 2;
  51065. for (int i = 0; i < this->tailoritems_size(); i++) {
  51066. target = ::google::protobuf::internal::WireFormatLite::
  51067. WriteInt32ToArray(2, this->tailoritems(i), target);
  51068. }
  51069. // optional int32 result = 3;
  51070. if (has_result()) {
  51071. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  51072. }
  51073. if (!unknown_fields().empty()) {
  51074. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  51075. unknown_fields(), target);
  51076. }
  51077. return target;
  51078. }
  51079. int packetw2c_change_personal_tailor_items_result::ByteSize() const {
  51080. int total_size = 0;
  51081. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  51082. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_personal_tailor_items_result];
  51083. if (has_packet_id()) {
  51084. total_size += 1 +
  51085. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  51086. }
  51087. // optional int32 result = 3;
  51088. if (has_result()) {
  51089. total_size += 1 +
  51090. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51091. this->result());
  51092. }
  51093. }
  51094. // repeated int32 tailorItems = 2;
  51095. {
  51096. int data_size = 0;
  51097. for (int i = 0; i < this->tailoritems_size(); i++) {
  51098. data_size += ::google::protobuf::internal::WireFormatLite::
  51099. Int32Size(this->tailoritems(i));
  51100. }
  51101. total_size += 1 * this->tailoritems_size() + data_size;
  51102. }
  51103. if (!unknown_fields().empty()) {
  51104. total_size +=
  51105. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  51106. unknown_fields());
  51107. }
  51108. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  51109. _cached_size_ = total_size;
  51110. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  51111. return total_size;
  51112. }
  51113. void packetw2c_change_personal_tailor_items_result::MergeFrom(const ::google::protobuf::Message& from) {
  51114. GOOGLE_CHECK_NE(&from, this);
  51115. const packetw2c_change_personal_tailor_items_result* source =
  51116. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_change_personal_tailor_items_result*>(
  51117. &from);
  51118. if (source == NULL) {
  51119. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  51120. } else {
  51121. MergeFrom(*source);
  51122. }
  51123. }
  51124. void packetw2c_change_personal_tailor_items_result::MergeFrom(const packetw2c_change_personal_tailor_items_result& from) {
  51125. GOOGLE_CHECK_NE(&from, this);
  51126. tailoritems_.MergeFrom(from.tailoritems_);
  51127. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  51128. if (from.has_packet_id()) {
  51129. set_packet_id(from.packet_id());
  51130. }
  51131. if (from.has_result()) {
  51132. set_result(from.result());
  51133. }
  51134. }
  51135. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  51136. }
  51137. void packetw2c_change_personal_tailor_items_result::CopyFrom(const ::google::protobuf::Message& from) {
  51138. if (&from == this) return;
  51139. Clear();
  51140. MergeFrom(from);
  51141. }
  51142. void packetw2c_change_personal_tailor_items_result::CopyFrom(const packetw2c_change_personal_tailor_items_result& from) {
  51143. if (&from == this) return;
  51144. Clear();
  51145. MergeFrom(from);
  51146. }
  51147. bool packetw2c_change_personal_tailor_items_result::IsInitialized() const {
  51148. return true;
  51149. }
  51150. void packetw2c_change_personal_tailor_items_result::Swap(packetw2c_change_personal_tailor_items_result* other) {
  51151. if (other != this) {
  51152. std::swap(packet_id_, other->packet_id_);
  51153. tailoritems_.Swap(&other->tailoritems_);
  51154. std::swap(result_, other->result_);
  51155. std::swap(_has_bits_[0], other->_has_bits_[0]);
  51156. _unknown_fields_.Swap(&other->_unknown_fields_);
  51157. std::swap(_cached_size_, other->_cached_size_);
  51158. }
  51159. }
  51160. ::google::protobuf::Metadata packetw2c_change_personal_tailor_items_result::GetMetadata() const {
  51161. protobuf_AssignDescriptorsOnce();
  51162. ::google::protobuf::Metadata metadata;
  51163. metadata.descriptor = packetw2c_change_personal_tailor_items_result_descriptor_;
  51164. metadata.reflection = packetw2c_change_personal_tailor_items_result_reflection_;
  51165. return metadata;
  51166. }
  51167. // ===================================================================
  51168. #ifndef _MSC_VER
  51169. const int packetw2c_syn_super_value_gift_activity_info::kPacketIdFieldNumber;
  51170. const int packetw2c_syn_super_value_gift_activity_info::kActivityStateFieldNumber;
  51171. const int packetw2c_syn_super_value_gift_activity_info::kStartTimeFieldNumber;
  51172. const int packetw2c_syn_super_value_gift_activity_info::kEndTimeFieldNumber;
  51173. #endif // !_MSC_VER
  51174. packetw2c_syn_super_value_gift_activity_info::packetw2c_syn_super_value_gift_activity_info()
  51175. : ::google::protobuf::Message() {
  51176. SharedCtor();
  51177. }
  51178. void packetw2c_syn_super_value_gift_activity_info::InitAsDefaultInstance() {
  51179. }
  51180. packetw2c_syn_super_value_gift_activity_info::packetw2c_syn_super_value_gift_activity_info(const packetw2c_syn_super_value_gift_activity_info& from)
  51181. : ::google::protobuf::Message() {
  51182. SharedCtor();
  51183. MergeFrom(from);
  51184. }
  51185. void packetw2c_syn_super_value_gift_activity_info::SharedCtor() {
  51186. _cached_size_ = 0;
  51187. packet_id_ = 7757;
  51188. activitystate_ = 0;
  51189. starttime_ = 0;
  51190. endtime_ = 0;
  51191. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  51192. }
  51193. packetw2c_syn_super_value_gift_activity_info::~packetw2c_syn_super_value_gift_activity_info() {
  51194. SharedDtor();
  51195. }
  51196. void packetw2c_syn_super_value_gift_activity_info::SharedDtor() {
  51197. if (this != default_instance_) {
  51198. }
  51199. }
  51200. void packetw2c_syn_super_value_gift_activity_info::SetCachedSize(int size) const {
  51201. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  51202. _cached_size_ = size;
  51203. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  51204. }
  51205. const ::google::protobuf::Descriptor* packetw2c_syn_super_value_gift_activity_info::descriptor() {
  51206. protobuf_AssignDescriptorsOnce();
  51207. return packetw2c_syn_super_value_gift_activity_info_descriptor_;
  51208. }
  51209. const packetw2c_syn_super_value_gift_activity_info& packetw2c_syn_super_value_gift_activity_info::default_instance() {
  51210. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  51211. return *default_instance_;
  51212. }
  51213. packetw2c_syn_super_value_gift_activity_info* packetw2c_syn_super_value_gift_activity_info::default_instance_ = NULL;
  51214. packetw2c_syn_super_value_gift_activity_info* packetw2c_syn_super_value_gift_activity_info::New() const {
  51215. return new packetw2c_syn_super_value_gift_activity_info;
  51216. }
  51217. void packetw2c_syn_super_value_gift_activity_info::Clear() {
  51218. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  51219. packet_id_ = 7757;
  51220. activitystate_ = 0;
  51221. starttime_ = 0;
  51222. endtime_ = 0;
  51223. }
  51224. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  51225. mutable_unknown_fields()->Clear();
  51226. }
  51227. bool packetw2c_syn_super_value_gift_activity_info::MergePartialFromCodedStream(
  51228. ::google::protobuf::io::CodedInputStream* input) {
  51229. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  51230. ::google::protobuf::uint32 tag;
  51231. while ((tag = input->ReadTag()) != 0) {
  51232. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  51233. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_super_value_gift_activity_info];
  51234. case 1: {
  51235. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51236. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51237. int value;
  51238. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51239. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  51240. input, &value)));
  51241. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  51242. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  51243. } else {
  51244. mutable_unknown_fields()->AddVarint(1, value);
  51245. }
  51246. } else {
  51247. goto handle_uninterpreted;
  51248. }
  51249. if (input->ExpectTag(16)) goto parse_activityState;
  51250. break;
  51251. }
  51252. // optional int32 activityState = 2;
  51253. case 2: {
  51254. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51255. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51256. parse_activityState:
  51257. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51258. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51259. input, &activitystate_)));
  51260. set_has_activitystate();
  51261. } else {
  51262. goto handle_uninterpreted;
  51263. }
  51264. if (input->ExpectTag(24)) goto parse_startTime;
  51265. break;
  51266. }
  51267. // optional int32 startTime = 3;
  51268. case 3: {
  51269. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51270. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51271. parse_startTime:
  51272. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51273. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51274. input, &starttime_)));
  51275. set_has_starttime();
  51276. } else {
  51277. goto handle_uninterpreted;
  51278. }
  51279. if (input->ExpectTag(32)) goto parse_endTime;
  51280. break;
  51281. }
  51282. // optional int32 endTime = 4;
  51283. case 4: {
  51284. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51285. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51286. parse_endTime:
  51287. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51288. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51289. input, &endtime_)));
  51290. set_has_endtime();
  51291. } else {
  51292. goto handle_uninterpreted;
  51293. }
  51294. if (input->ExpectAtEnd()) return true;
  51295. break;
  51296. }
  51297. default: {
  51298. handle_uninterpreted:
  51299. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51300. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  51301. return true;
  51302. }
  51303. DO_(::google::protobuf::internal::WireFormat::SkipField(
  51304. input, tag, mutable_unknown_fields()));
  51305. break;
  51306. }
  51307. }
  51308. }
  51309. return true;
  51310. #undef DO_
  51311. }
  51312. void packetw2c_syn_super_value_gift_activity_info::SerializeWithCachedSizes(
  51313. ::google::protobuf::io::CodedOutputStream* output) const {
  51314. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_super_value_gift_activity_info];
  51315. if (has_packet_id()) {
  51316. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  51317. 1, this->packet_id(), output);
  51318. }
  51319. // optional int32 activityState = 2;
  51320. if (has_activitystate()) {
  51321. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  51322. }
  51323. // optional int32 startTime = 3;
  51324. if (has_starttime()) {
  51325. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  51326. }
  51327. // optional int32 endTime = 4;
  51328. if (has_endtime()) {
  51329. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  51330. }
  51331. if (!unknown_fields().empty()) {
  51332. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  51333. unknown_fields(), output);
  51334. }
  51335. }
  51336. ::google::protobuf::uint8* packetw2c_syn_super_value_gift_activity_info::SerializeWithCachedSizesToArray(
  51337. ::google::protobuf::uint8* target) const {
  51338. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_super_value_gift_activity_info];
  51339. if (has_packet_id()) {
  51340. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  51341. 1, this->packet_id(), target);
  51342. }
  51343. // optional int32 activityState = 2;
  51344. if (has_activitystate()) {
  51345. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  51346. }
  51347. // optional int32 startTime = 3;
  51348. if (has_starttime()) {
  51349. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  51350. }
  51351. // optional int32 endTime = 4;
  51352. if (has_endtime()) {
  51353. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  51354. }
  51355. if (!unknown_fields().empty()) {
  51356. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  51357. unknown_fields(), target);
  51358. }
  51359. return target;
  51360. }
  51361. int packetw2c_syn_super_value_gift_activity_info::ByteSize() const {
  51362. int total_size = 0;
  51363. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  51364. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_super_value_gift_activity_info];
  51365. if (has_packet_id()) {
  51366. total_size += 1 +
  51367. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  51368. }
  51369. // optional int32 activityState = 2;
  51370. if (has_activitystate()) {
  51371. total_size += 1 +
  51372. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51373. this->activitystate());
  51374. }
  51375. // optional int32 startTime = 3;
  51376. if (has_starttime()) {
  51377. total_size += 1 +
  51378. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51379. this->starttime());
  51380. }
  51381. // optional int32 endTime = 4;
  51382. if (has_endtime()) {
  51383. total_size += 1 +
  51384. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51385. this->endtime());
  51386. }
  51387. }
  51388. if (!unknown_fields().empty()) {
  51389. total_size +=
  51390. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  51391. unknown_fields());
  51392. }
  51393. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  51394. _cached_size_ = total_size;
  51395. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  51396. return total_size;
  51397. }
  51398. void packetw2c_syn_super_value_gift_activity_info::MergeFrom(const ::google::protobuf::Message& from) {
  51399. GOOGLE_CHECK_NE(&from, this);
  51400. const packetw2c_syn_super_value_gift_activity_info* source =
  51401. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_super_value_gift_activity_info*>(
  51402. &from);
  51403. if (source == NULL) {
  51404. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  51405. } else {
  51406. MergeFrom(*source);
  51407. }
  51408. }
  51409. void packetw2c_syn_super_value_gift_activity_info::MergeFrom(const packetw2c_syn_super_value_gift_activity_info& from) {
  51410. GOOGLE_CHECK_NE(&from, this);
  51411. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  51412. if (from.has_packet_id()) {
  51413. set_packet_id(from.packet_id());
  51414. }
  51415. if (from.has_activitystate()) {
  51416. set_activitystate(from.activitystate());
  51417. }
  51418. if (from.has_starttime()) {
  51419. set_starttime(from.starttime());
  51420. }
  51421. if (from.has_endtime()) {
  51422. set_endtime(from.endtime());
  51423. }
  51424. }
  51425. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  51426. }
  51427. void packetw2c_syn_super_value_gift_activity_info::CopyFrom(const ::google::protobuf::Message& from) {
  51428. if (&from == this) return;
  51429. Clear();
  51430. MergeFrom(from);
  51431. }
  51432. void packetw2c_syn_super_value_gift_activity_info::CopyFrom(const packetw2c_syn_super_value_gift_activity_info& from) {
  51433. if (&from == this) return;
  51434. Clear();
  51435. MergeFrom(from);
  51436. }
  51437. bool packetw2c_syn_super_value_gift_activity_info::IsInitialized() const {
  51438. return true;
  51439. }
  51440. void packetw2c_syn_super_value_gift_activity_info::Swap(packetw2c_syn_super_value_gift_activity_info* other) {
  51441. if (other != this) {
  51442. std::swap(packet_id_, other->packet_id_);
  51443. std::swap(activitystate_, other->activitystate_);
  51444. std::swap(starttime_, other->starttime_);
  51445. std::swap(endtime_, other->endtime_);
  51446. std::swap(_has_bits_[0], other->_has_bits_[0]);
  51447. _unknown_fields_.Swap(&other->_unknown_fields_);
  51448. std::swap(_cached_size_, other->_cached_size_);
  51449. }
  51450. }
  51451. ::google::protobuf::Metadata packetw2c_syn_super_value_gift_activity_info::GetMetadata() const {
  51452. protobuf_AssignDescriptorsOnce();
  51453. ::google::protobuf::Metadata metadata;
  51454. metadata.descriptor = packetw2c_syn_super_value_gift_activity_info_descriptor_;
  51455. metadata.reflection = packetw2c_syn_super_value_gift_activity_info_reflection_;
  51456. return metadata;
  51457. }
  51458. // ===================================================================
  51459. #ifndef _MSC_VER
  51460. const int packetw2c_syn_double_eleven_info::kPacketIdFieldNumber;
  51461. const int packetw2c_syn_double_eleven_info::kActivityStateFieldNumber;
  51462. const int packetw2c_syn_double_eleven_info::kStartTimeFieldNumber;
  51463. const int packetw2c_syn_double_eleven_info::kEndTimeFieldNumber;
  51464. const int packetw2c_syn_double_eleven_info::kLotteryTicketFieldNumber;
  51465. const int packetw2c_syn_double_eleven_info::kLotteryCountFieldNumber;
  51466. const int packetw2c_syn_double_eleven_info::kLuckyValueFieldNumber;
  51467. const int packetw2c_syn_double_eleven_info::kRechargedFieldNumber;
  51468. const int packetw2c_syn_double_eleven_info::kRechargeCheckFieldNumber;
  51469. const int packetw2c_syn_double_eleven_info::kLeftCountFieldNumber;
  51470. const int packetw2c_syn_double_eleven_info::kCanbuyFieldNumber;
  51471. const int packetw2c_syn_double_eleven_info::kRankListFieldNumber;
  51472. const int packetw2c_syn_double_eleven_info::kThresholdValueFieldNumber;
  51473. #endif // !_MSC_VER
  51474. packetw2c_syn_double_eleven_info::packetw2c_syn_double_eleven_info()
  51475. : ::google::protobuf::Message() {
  51476. SharedCtor();
  51477. }
  51478. void packetw2c_syn_double_eleven_info::InitAsDefaultInstance() {
  51479. }
  51480. packetw2c_syn_double_eleven_info::packetw2c_syn_double_eleven_info(const packetw2c_syn_double_eleven_info& from)
  51481. : ::google::protobuf::Message() {
  51482. SharedCtor();
  51483. MergeFrom(from);
  51484. }
  51485. void packetw2c_syn_double_eleven_info::SharedCtor() {
  51486. _cached_size_ = 0;
  51487. packet_id_ = 7761;
  51488. activitystate_ = 0;
  51489. starttime_ = 0;
  51490. endtime_ = 0;
  51491. lotteryticket_ = 0;
  51492. lotterycount_ = 0;
  51493. luckyvalue_ = 0;
  51494. recharged_ = 0;
  51495. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  51496. }
  51497. packetw2c_syn_double_eleven_info::~packetw2c_syn_double_eleven_info() {
  51498. SharedDtor();
  51499. }
  51500. void packetw2c_syn_double_eleven_info::SharedDtor() {
  51501. if (this != default_instance_) {
  51502. }
  51503. }
  51504. void packetw2c_syn_double_eleven_info::SetCachedSize(int size) const {
  51505. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  51506. _cached_size_ = size;
  51507. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  51508. }
  51509. const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_info::descriptor() {
  51510. protobuf_AssignDescriptorsOnce();
  51511. return packetw2c_syn_double_eleven_info_descriptor_;
  51512. }
  51513. const packetw2c_syn_double_eleven_info& packetw2c_syn_double_eleven_info::default_instance() {
  51514. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  51515. return *default_instance_;
  51516. }
  51517. packetw2c_syn_double_eleven_info* packetw2c_syn_double_eleven_info::default_instance_ = NULL;
  51518. packetw2c_syn_double_eleven_info* packetw2c_syn_double_eleven_info::New() const {
  51519. return new packetw2c_syn_double_eleven_info;
  51520. }
  51521. void packetw2c_syn_double_eleven_info::Clear() {
  51522. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  51523. packet_id_ = 7761;
  51524. activitystate_ = 0;
  51525. starttime_ = 0;
  51526. endtime_ = 0;
  51527. lotteryticket_ = 0;
  51528. lotterycount_ = 0;
  51529. luckyvalue_ = 0;
  51530. recharged_ = 0;
  51531. }
  51532. rechargecheck_.Clear();
  51533. leftcount_.Clear();
  51534. canbuy_.Clear();
  51535. ranklist_.Clear();
  51536. thresholdvalue_.Clear();
  51537. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  51538. mutable_unknown_fields()->Clear();
  51539. }
  51540. bool packetw2c_syn_double_eleven_info::MergePartialFromCodedStream(
  51541. ::google::protobuf::io::CodedInputStream* input) {
  51542. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  51543. ::google::protobuf::uint32 tag;
  51544. while ((tag = input->ReadTag()) != 0) {
  51545. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  51546. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_info];
  51547. case 1: {
  51548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51550. int value;
  51551. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51552. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  51553. input, &value)));
  51554. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  51555. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  51556. } else {
  51557. mutable_unknown_fields()->AddVarint(1, value);
  51558. }
  51559. } else {
  51560. goto handle_uninterpreted;
  51561. }
  51562. if (input->ExpectTag(16)) goto parse_activityState;
  51563. break;
  51564. }
  51565. // optional int32 activityState = 2;
  51566. case 2: {
  51567. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51568. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51569. parse_activityState:
  51570. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51571. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51572. input, &activitystate_)));
  51573. set_has_activitystate();
  51574. } else {
  51575. goto handle_uninterpreted;
  51576. }
  51577. if (input->ExpectTag(24)) goto parse_startTime;
  51578. break;
  51579. }
  51580. // optional int32 startTime = 3;
  51581. case 3: {
  51582. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51583. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51584. parse_startTime:
  51585. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51586. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51587. input, &starttime_)));
  51588. set_has_starttime();
  51589. } else {
  51590. goto handle_uninterpreted;
  51591. }
  51592. if (input->ExpectTag(32)) goto parse_endTime;
  51593. break;
  51594. }
  51595. // optional int32 endTime = 4;
  51596. case 4: {
  51597. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51598. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51599. parse_endTime:
  51600. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51601. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51602. input, &endtime_)));
  51603. set_has_endtime();
  51604. } else {
  51605. goto handle_uninterpreted;
  51606. }
  51607. if (input->ExpectTag(40)) goto parse_lotteryTicket;
  51608. break;
  51609. }
  51610. // optional int32 lotteryTicket = 5;
  51611. case 5: {
  51612. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51613. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51614. parse_lotteryTicket:
  51615. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51616. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51617. input, &lotteryticket_)));
  51618. set_has_lotteryticket();
  51619. } else {
  51620. goto handle_uninterpreted;
  51621. }
  51622. if (input->ExpectTag(48)) goto parse_lotteryCount;
  51623. break;
  51624. }
  51625. // optional int32 lotteryCount = 6;
  51626. case 6: {
  51627. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51628. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51629. parse_lotteryCount:
  51630. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51631. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51632. input, &lotterycount_)));
  51633. set_has_lotterycount();
  51634. } else {
  51635. goto handle_uninterpreted;
  51636. }
  51637. if (input->ExpectTag(56)) goto parse_luckyValue;
  51638. break;
  51639. }
  51640. // optional int32 luckyValue = 7;
  51641. case 7: {
  51642. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51643. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51644. parse_luckyValue:
  51645. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51646. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51647. input, &luckyvalue_)));
  51648. set_has_luckyvalue();
  51649. } else {
  51650. goto handle_uninterpreted;
  51651. }
  51652. if (input->ExpectTag(64)) goto parse_recharged;
  51653. break;
  51654. }
  51655. // optional int32 recharged = 8;
  51656. case 8: {
  51657. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51658. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51659. parse_recharged:
  51660. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  51661. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51662. input, &recharged_)));
  51663. set_has_recharged();
  51664. } else {
  51665. goto handle_uninterpreted;
  51666. }
  51667. if (input->ExpectTag(72)) goto parse_rechargeCheck;
  51668. break;
  51669. }
  51670. // repeated int32 rechargeCheck = 9;
  51671. case 9: {
  51672. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51673. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51674. parse_rechargeCheck:
  51675. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  51676. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51677. 1, 72, input, this->mutable_rechargecheck())));
  51678. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  51679. == ::google::protobuf::internal::WireFormatLite::
  51680. WIRETYPE_LENGTH_DELIMITED) {
  51681. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  51682. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51683. input, this->mutable_rechargecheck())));
  51684. } else {
  51685. goto handle_uninterpreted;
  51686. }
  51687. if (input->ExpectTag(72)) goto parse_rechargeCheck;
  51688. if (input->ExpectTag(80)) goto parse_leftCount;
  51689. break;
  51690. }
  51691. // repeated int32 leftCount = 10;
  51692. case 10: {
  51693. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51694. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51695. parse_leftCount:
  51696. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  51697. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51698. 1, 80, input, this->mutable_leftcount())));
  51699. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  51700. == ::google::protobuf::internal::WireFormatLite::
  51701. WIRETYPE_LENGTH_DELIMITED) {
  51702. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  51703. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51704. input, this->mutable_leftcount())));
  51705. } else {
  51706. goto handle_uninterpreted;
  51707. }
  51708. if (input->ExpectTag(80)) goto parse_leftCount;
  51709. if (input->ExpectTag(88)) goto parse_canbuy;
  51710. break;
  51711. }
  51712. // repeated bool canbuy = 11;
  51713. case 11: {
  51714. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51715. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51716. parse_canbuy:
  51717. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  51718. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  51719. 1, 88, input, this->mutable_canbuy())));
  51720. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  51721. == ::google::protobuf::internal::WireFormatLite::
  51722. WIRETYPE_LENGTH_DELIMITED) {
  51723. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  51724. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  51725. input, this->mutable_canbuy())));
  51726. } else {
  51727. goto handle_uninterpreted;
  51728. }
  51729. if (input->ExpectTag(88)) goto parse_canbuy;
  51730. if (input->ExpectTag(98)) goto parse_rankList;
  51731. break;
  51732. }
  51733. // repeated .client2world_protocols.activity_rank rankList = 12;
  51734. case 12: {
  51735. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51736. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  51737. parse_rankList:
  51738. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  51739. input, add_ranklist()));
  51740. } else {
  51741. goto handle_uninterpreted;
  51742. }
  51743. if (input->ExpectTag(98)) goto parse_rankList;
  51744. if (input->ExpectTag(104)) goto parse_thresholdValue;
  51745. break;
  51746. }
  51747. // repeated int32 thresholdValue = 13;
  51748. case 13: {
  51749. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51750. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  51751. parse_thresholdValue:
  51752. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  51753. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51754. 1, 104, input, this->mutable_thresholdvalue())));
  51755. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  51756. == ::google::protobuf::internal::WireFormatLite::
  51757. WIRETYPE_LENGTH_DELIMITED) {
  51758. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  51759. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  51760. input, this->mutable_thresholdvalue())));
  51761. } else {
  51762. goto handle_uninterpreted;
  51763. }
  51764. if (input->ExpectTag(104)) goto parse_thresholdValue;
  51765. if (input->ExpectAtEnd()) return true;
  51766. break;
  51767. }
  51768. default: {
  51769. handle_uninterpreted:
  51770. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  51771. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  51772. return true;
  51773. }
  51774. DO_(::google::protobuf::internal::WireFormat::SkipField(
  51775. input, tag, mutable_unknown_fields()));
  51776. break;
  51777. }
  51778. }
  51779. }
  51780. return true;
  51781. #undef DO_
  51782. }
  51783. void packetw2c_syn_double_eleven_info::SerializeWithCachedSizes(
  51784. ::google::protobuf::io::CodedOutputStream* output) const {
  51785. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_info];
  51786. if (has_packet_id()) {
  51787. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  51788. 1, this->packet_id(), output);
  51789. }
  51790. // optional int32 activityState = 2;
  51791. if (has_activitystate()) {
  51792. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  51793. }
  51794. // optional int32 startTime = 3;
  51795. if (has_starttime()) {
  51796. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  51797. }
  51798. // optional int32 endTime = 4;
  51799. if (has_endtime()) {
  51800. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  51801. }
  51802. // optional int32 lotteryTicket = 5;
  51803. if (has_lotteryticket()) {
  51804. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->lotteryticket(), output);
  51805. }
  51806. // optional int32 lotteryCount = 6;
  51807. if (has_lotterycount()) {
  51808. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->lotterycount(), output);
  51809. }
  51810. // optional int32 luckyValue = 7;
  51811. if (has_luckyvalue()) {
  51812. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->luckyvalue(), output);
  51813. }
  51814. // optional int32 recharged = 8;
  51815. if (has_recharged()) {
  51816. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->recharged(), output);
  51817. }
  51818. // repeated int32 rechargeCheck = 9;
  51819. for (int i = 0; i < this->rechargecheck_size(); i++) {
  51820. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  51821. 9, this->rechargecheck(i), output);
  51822. }
  51823. // repeated int32 leftCount = 10;
  51824. for (int i = 0; i < this->leftcount_size(); i++) {
  51825. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  51826. 10, this->leftcount(i), output);
  51827. }
  51828. // repeated bool canbuy = 11;
  51829. for (int i = 0; i < this->canbuy_size(); i++) {
  51830. ::google::protobuf::internal::WireFormatLite::WriteBool(
  51831. 11, this->canbuy(i), output);
  51832. }
  51833. // repeated .client2world_protocols.activity_rank rankList = 12;
  51834. for (int i = 0; i < this->ranklist_size(); i++) {
  51835. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  51836. 12, this->ranklist(i), output);
  51837. }
  51838. // repeated int32 thresholdValue = 13;
  51839. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  51840. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  51841. 13, this->thresholdvalue(i), output);
  51842. }
  51843. if (!unknown_fields().empty()) {
  51844. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  51845. unknown_fields(), output);
  51846. }
  51847. }
  51848. ::google::protobuf::uint8* packetw2c_syn_double_eleven_info::SerializeWithCachedSizesToArray(
  51849. ::google::protobuf::uint8* target) const {
  51850. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_info];
  51851. if (has_packet_id()) {
  51852. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  51853. 1, this->packet_id(), target);
  51854. }
  51855. // optional int32 activityState = 2;
  51856. if (has_activitystate()) {
  51857. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  51858. }
  51859. // optional int32 startTime = 3;
  51860. if (has_starttime()) {
  51861. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  51862. }
  51863. // optional int32 endTime = 4;
  51864. if (has_endtime()) {
  51865. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  51866. }
  51867. // optional int32 lotteryTicket = 5;
  51868. if (has_lotteryticket()) {
  51869. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->lotteryticket(), target);
  51870. }
  51871. // optional int32 lotteryCount = 6;
  51872. if (has_lotterycount()) {
  51873. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->lotterycount(), target);
  51874. }
  51875. // optional int32 luckyValue = 7;
  51876. if (has_luckyvalue()) {
  51877. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->luckyvalue(), target);
  51878. }
  51879. // optional int32 recharged = 8;
  51880. if (has_recharged()) {
  51881. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->recharged(), target);
  51882. }
  51883. // repeated int32 rechargeCheck = 9;
  51884. for (int i = 0; i < this->rechargecheck_size(); i++) {
  51885. target = ::google::protobuf::internal::WireFormatLite::
  51886. WriteInt32ToArray(9, this->rechargecheck(i), target);
  51887. }
  51888. // repeated int32 leftCount = 10;
  51889. for (int i = 0; i < this->leftcount_size(); i++) {
  51890. target = ::google::protobuf::internal::WireFormatLite::
  51891. WriteInt32ToArray(10, this->leftcount(i), target);
  51892. }
  51893. // repeated bool canbuy = 11;
  51894. for (int i = 0; i < this->canbuy_size(); i++) {
  51895. target = ::google::protobuf::internal::WireFormatLite::
  51896. WriteBoolToArray(11, this->canbuy(i), target);
  51897. }
  51898. // repeated .client2world_protocols.activity_rank rankList = 12;
  51899. for (int i = 0; i < this->ranklist_size(); i++) {
  51900. target = ::google::protobuf::internal::WireFormatLite::
  51901. WriteMessageNoVirtualToArray(
  51902. 12, this->ranklist(i), target);
  51903. }
  51904. // repeated int32 thresholdValue = 13;
  51905. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  51906. target = ::google::protobuf::internal::WireFormatLite::
  51907. WriteInt32ToArray(13, this->thresholdvalue(i), target);
  51908. }
  51909. if (!unknown_fields().empty()) {
  51910. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  51911. unknown_fields(), target);
  51912. }
  51913. return target;
  51914. }
  51915. int packetw2c_syn_double_eleven_info::ByteSize() const {
  51916. int total_size = 0;
  51917. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  51918. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_info];
  51919. if (has_packet_id()) {
  51920. total_size += 1 +
  51921. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  51922. }
  51923. // optional int32 activityState = 2;
  51924. if (has_activitystate()) {
  51925. total_size += 1 +
  51926. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51927. this->activitystate());
  51928. }
  51929. // optional int32 startTime = 3;
  51930. if (has_starttime()) {
  51931. total_size += 1 +
  51932. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51933. this->starttime());
  51934. }
  51935. // optional int32 endTime = 4;
  51936. if (has_endtime()) {
  51937. total_size += 1 +
  51938. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51939. this->endtime());
  51940. }
  51941. // optional int32 lotteryTicket = 5;
  51942. if (has_lotteryticket()) {
  51943. total_size += 1 +
  51944. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51945. this->lotteryticket());
  51946. }
  51947. // optional int32 lotteryCount = 6;
  51948. if (has_lotterycount()) {
  51949. total_size += 1 +
  51950. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51951. this->lotterycount());
  51952. }
  51953. // optional int32 luckyValue = 7;
  51954. if (has_luckyvalue()) {
  51955. total_size += 1 +
  51956. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51957. this->luckyvalue());
  51958. }
  51959. // optional int32 recharged = 8;
  51960. if (has_recharged()) {
  51961. total_size += 1 +
  51962. ::google::protobuf::internal::WireFormatLite::Int32Size(
  51963. this->recharged());
  51964. }
  51965. }
  51966. // repeated int32 rechargeCheck = 9;
  51967. {
  51968. int data_size = 0;
  51969. for (int i = 0; i < this->rechargecheck_size(); i++) {
  51970. data_size += ::google::protobuf::internal::WireFormatLite::
  51971. Int32Size(this->rechargecheck(i));
  51972. }
  51973. total_size += 1 * this->rechargecheck_size() + data_size;
  51974. }
  51975. // repeated int32 leftCount = 10;
  51976. {
  51977. int data_size = 0;
  51978. for (int i = 0; i < this->leftcount_size(); i++) {
  51979. data_size += ::google::protobuf::internal::WireFormatLite::
  51980. Int32Size(this->leftcount(i));
  51981. }
  51982. total_size += 1 * this->leftcount_size() + data_size;
  51983. }
  51984. // repeated bool canbuy = 11;
  51985. {
  51986. int data_size = 0;
  51987. data_size = 1 * this->canbuy_size();
  51988. total_size += 1 * this->canbuy_size() + data_size;
  51989. }
  51990. // repeated .client2world_protocols.activity_rank rankList = 12;
  51991. total_size += 1 * this->ranklist_size();
  51992. for (int i = 0; i < this->ranklist_size(); i++) {
  51993. total_size +=
  51994. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  51995. this->ranklist(i));
  51996. }
  51997. // repeated int32 thresholdValue = 13;
  51998. {
  51999. int data_size = 0;
  52000. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  52001. data_size += ::google::protobuf::internal::WireFormatLite::
  52002. Int32Size(this->thresholdvalue(i));
  52003. }
  52004. total_size += 1 * this->thresholdvalue_size() + data_size;
  52005. }
  52006. if (!unknown_fields().empty()) {
  52007. total_size +=
  52008. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  52009. unknown_fields());
  52010. }
  52011. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52012. _cached_size_ = total_size;
  52013. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52014. return total_size;
  52015. }
  52016. void packetw2c_syn_double_eleven_info::MergeFrom(const ::google::protobuf::Message& from) {
  52017. GOOGLE_CHECK_NE(&from, this);
  52018. const packetw2c_syn_double_eleven_info* source =
  52019. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_double_eleven_info*>(
  52020. &from);
  52021. if (source == NULL) {
  52022. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  52023. } else {
  52024. MergeFrom(*source);
  52025. }
  52026. }
  52027. void packetw2c_syn_double_eleven_info::MergeFrom(const packetw2c_syn_double_eleven_info& from) {
  52028. GOOGLE_CHECK_NE(&from, this);
  52029. rechargecheck_.MergeFrom(from.rechargecheck_);
  52030. leftcount_.MergeFrom(from.leftcount_);
  52031. canbuy_.MergeFrom(from.canbuy_);
  52032. ranklist_.MergeFrom(from.ranklist_);
  52033. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  52034. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52035. if (from.has_packet_id()) {
  52036. set_packet_id(from.packet_id());
  52037. }
  52038. if (from.has_activitystate()) {
  52039. set_activitystate(from.activitystate());
  52040. }
  52041. if (from.has_starttime()) {
  52042. set_starttime(from.starttime());
  52043. }
  52044. if (from.has_endtime()) {
  52045. set_endtime(from.endtime());
  52046. }
  52047. if (from.has_lotteryticket()) {
  52048. set_lotteryticket(from.lotteryticket());
  52049. }
  52050. if (from.has_lotterycount()) {
  52051. set_lotterycount(from.lotterycount());
  52052. }
  52053. if (from.has_luckyvalue()) {
  52054. set_luckyvalue(from.luckyvalue());
  52055. }
  52056. if (from.has_recharged()) {
  52057. set_recharged(from.recharged());
  52058. }
  52059. }
  52060. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  52061. }
  52062. void packetw2c_syn_double_eleven_info::CopyFrom(const ::google::protobuf::Message& from) {
  52063. if (&from == this) return;
  52064. Clear();
  52065. MergeFrom(from);
  52066. }
  52067. void packetw2c_syn_double_eleven_info::CopyFrom(const packetw2c_syn_double_eleven_info& from) {
  52068. if (&from == this) return;
  52069. Clear();
  52070. MergeFrom(from);
  52071. }
  52072. bool packetw2c_syn_double_eleven_info::IsInitialized() const {
  52073. return true;
  52074. }
  52075. void packetw2c_syn_double_eleven_info::Swap(packetw2c_syn_double_eleven_info* other) {
  52076. if (other != this) {
  52077. std::swap(packet_id_, other->packet_id_);
  52078. std::swap(activitystate_, other->activitystate_);
  52079. std::swap(starttime_, other->starttime_);
  52080. std::swap(endtime_, other->endtime_);
  52081. std::swap(lotteryticket_, other->lotteryticket_);
  52082. std::swap(lotterycount_, other->lotterycount_);
  52083. std::swap(luckyvalue_, other->luckyvalue_);
  52084. std::swap(recharged_, other->recharged_);
  52085. rechargecheck_.Swap(&other->rechargecheck_);
  52086. leftcount_.Swap(&other->leftcount_);
  52087. canbuy_.Swap(&other->canbuy_);
  52088. ranklist_.Swap(&other->ranklist_);
  52089. thresholdvalue_.Swap(&other->thresholdvalue_);
  52090. std::swap(_has_bits_[0], other->_has_bits_[0]);
  52091. _unknown_fields_.Swap(&other->_unknown_fields_);
  52092. std::swap(_cached_size_, other->_cached_size_);
  52093. }
  52094. }
  52095. ::google::protobuf::Metadata packetw2c_syn_double_eleven_info::GetMetadata() const {
  52096. protobuf_AssignDescriptorsOnce();
  52097. ::google::protobuf::Metadata metadata;
  52098. metadata.descriptor = packetw2c_syn_double_eleven_info_descriptor_;
  52099. metadata.reflection = packetw2c_syn_double_eleven_info_reflection_;
  52100. return metadata;
  52101. }
  52102. // ===================================================================
  52103. #ifndef _MSC_VER
  52104. const int packetc2w_get_double_eleven_quest::kPacketIdFieldNumber;
  52105. #endif // !_MSC_VER
  52106. packetc2w_get_double_eleven_quest::packetc2w_get_double_eleven_quest()
  52107. : ::google::protobuf::Message() {
  52108. SharedCtor();
  52109. }
  52110. void packetc2w_get_double_eleven_quest::InitAsDefaultInstance() {
  52111. }
  52112. packetc2w_get_double_eleven_quest::packetc2w_get_double_eleven_quest(const packetc2w_get_double_eleven_quest& from)
  52113. : ::google::protobuf::Message() {
  52114. SharedCtor();
  52115. MergeFrom(from);
  52116. }
  52117. void packetc2w_get_double_eleven_quest::SharedCtor() {
  52118. _cached_size_ = 0;
  52119. packet_id_ = 5249;
  52120. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52121. }
  52122. packetc2w_get_double_eleven_quest::~packetc2w_get_double_eleven_quest() {
  52123. SharedDtor();
  52124. }
  52125. void packetc2w_get_double_eleven_quest::SharedDtor() {
  52126. if (this != default_instance_) {
  52127. }
  52128. }
  52129. void packetc2w_get_double_eleven_quest::SetCachedSize(int size) const {
  52130. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52131. _cached_size_ = size;
  52132. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52133. }
  52134. const ::google::protobuf::Descriptor* packetc2w_get_double_eleven_quest::descriptor() {
  52135. protobuf_AssignDescriptorsOnce();
  52136. return packetc2w_get_double_eleven_quest_descriptor_;
  52137. }
  52138. const packetc2w_get_double_eleven_quest& packetc2w_get_double_eleven_quest::default_instance() {
  52139. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  52140. return *default_instance_;
  52141. }
  52142. packetc2w_get_double_eleven_quest* packetc2w_get_double_eleven_quest::default_instance_ = NULL;
  52143. packetc2w_get_double_eleven_quest* packetc2w_get_double_eleven_quest::New() const {
  52144. return new packetc2w_get_double_eleven_quest;
  52145. }
  52146. void packetc2w_get_double_eleven_quest::Clear() {
  52147. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52148. packet_id_ = 5249;
  52149. }
  52150. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52151. mutable_unknown_fields()->Clear();
  52152. }
  52153. bool packetc2w_get_double_eleven_quest::MergePartialFromCodedStream(
  52154. ::google::protobuf::io::CodedInputStream* input) {
  52155. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  52156. ::google::protobuf::uint32 tag;
  52157. while ((tag = input->ReadTag()) != 0) {
  52158. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  52159. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_quest];
  52160. case 1: {
  52161. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52162. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  52163. int value;
  52164. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  52165. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  52166. input, &value)));
  52167. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  52168. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  52169. } else {
  52170. mutable_unknown_fields()->AddVarint(1, value);
  52171. }
  52172. } else {
  52173. goto handle_uninterpreted;
  52174. }
  52175. if (input->ExpectAtEnd()) return true;
  52176. break;
  52177. }
  52178. default: {
  52179. handle_uninterpreted:
  52180. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52181. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  52182. return true;
  52183. }
  52184. DO_(::google::protobuf::internal::WireFormat::SkipField(
  52185. input, tag, mutable_unknown_fields()));
  52186. break;
  52187. }
  52188. }
  52189. }
  52190. return true;
  52191. #undef DO_
  52192. }
  52193. void packetc2w_get_double_eleven_quest::SerializeWithCachedSizes(
  52194. ::google::protobuf::io::CodedOutputStream* output) const {
  52195. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_quest];
  52196. if (has_packet_id()) {
  52197. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  52198. 1, this->packet_id(), output);
  52199. }
  52200. if (!unknown_fields().empty()) {
  52201. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  52202. unknown_fields(), output);
  52203. }
  52204. }
  52205. ::google::protobuf::uint8* packetc2w_get_double_eleven_quest::SerializeWithCachedSizesToArray(
  52206. ::google::protobuf::uint8* target) const {
  52207. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_quest];
  52208. if (has_packet_id()) {
  52209. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  52210. 1, this->packet_id(), target);
  52211. }
  52212. if (!unknown_fields().empty()) {
  52213. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  52214. unknown_fields(), target);
  52215. }
  52216. return target;
  52217. }
  52218. int packetc2w_get_double_eleven_quest::ByteSize() const {
  52219. int total_size = 0;
  52220. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52221. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_quest];
  52222. if (has_packet_id()) {
  52223. total_size += 1 +
  52224. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  52225. }
  52226. }
  52227. if (!unknown_fields().empty()) {
  52228. total_size +=
  52229. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  52230. unknown_fields());
  52231. }
  52232. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52233. _cached_size_ = total_size;
  52234. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52235. return total_size;
  52236. }
  52237. void packetc2w_get_double_eleven_quest::MergeFrom(const ::google::protobuf::Message& from) {
  52238. GOOGLE_CHECK_NE(&from, this);
  52239. const packetc2w_get_double_eleven_quest* source =
  52240. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_double_eleven_quest*>(
  52241. &from);
  52242. if (source == NULL) {
  52243. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  52244. } else {
  52245. MergeFrom(*source);
  52246. }
  52247. }
  52248. void packetc2w_get_double_eleven_quest::MergeFrom(const packetc2w_get_double_eleven_quest& from) {
  52249. GOOGLE_CHECK_NE(&from, this);
  52250. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52251. if (from.has_packet_id()) {
  52252. set_packet_id(from.packet_id());
  52253. }
  52254. }
  52255. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  52256. }
  52257. void packetc2w_get_double_eleven_quest::CopyFrom(const ::google::protobuf::Message& from) {
  52258. if (&from == this) return;
  52259. Clear();
  52260. MergeFrom(from);
  52261. }
  52262. void packetc2w_get_double_eleven_quest::CopyFrom(const packetc2w_get_double_eleven_quest& from) {
  52263. if (&from == this) return;
  52264. Clear();
  52265. MergeFrom(from);
  52266. }
  52267. bool packetc2w_get_double_eleven_quest::IsInitialized() const {
  52268. return true;
  52269. }
  52270. void packetc2w_get_double_eleven_quest::Swap(packetc2w_get_double_eleven_quest* other) {
  52271. if (other != this) {
  52272. std::swap(packet_id_, other->packet_id_);
  52273. std::swap(_has_bits_[0], other->_has_bits_[0]);
  52274. _unknown_fields_.Swap(&other->_unknown_fields_);
  52275. std::swap(_cached_size_, other->_cached_size_);
  52276. }
  52277. }
  52278. ::google::protobuf::Metadata packetc2w_get_double_eleven_quest::GetMetadata() const {
  52279. protobuf_AssignDescriptorsOnce();
  52280. ::google::protobuf::Metadata metadata;
  52281. metadata.descriptor = packetc2w_get_double_eleven_quest_descriptor_;
  52282. metadata.reflection = packetc2w_get_double_eleven_quest_reflection_;
  52283. return metadata;
  52284. }
  52285. // ===================================================================
  52286. #ifndef _MSC_VER
  52287. const int packetw2c_get_double_eleven_quest_result::kPacketIdFieldNumber;
  52288. const int packetw2c_get_double_eleven_quest_result::kQuestListFieldNumber;
  52289. #endif // !_MSC_VER
  52290. packetw2c_get_double_eleven_quest_result::packetw2c_get_double_eleven_quest_result()
  52291. : ::google::protobuf::Message() {
  52292. SharedCtor();
  52293. }
  52294. void packetw2c_get_double_eleven_quest_result::InitAsDefaultInstance() {
  52295. }
  52296. packetw2c_get_double_eleven_quest_result::packetw2c_get_double_eleven_quest_result(const packetw2c_get_double_eleven_quest_result& from)
  52297. : ::google::protobuf::Message() {
  52298. SharedCtor();
  52299. MergeFrom(from);
  52300. }
  52301. void packetw2c_get_double_eleven_quest_result::SharedCtor() {
  52302. _cached_size_ = 0;
  52303. packet_id_ = 7796;
  52304. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52305. }
  52306. packetw2c_get_double_eleven_quest_result::~packetw2c_get_double_eleven_quest_result() {
  52307. SharedDtor();
  52308. }
  52309. void packetw2c_get_double_eleven_quest_result::SharedDtor() {
  52310. if (this != default_instance_) {
  52311. }
  52312. }
  52313. void packetw2c_get_double_eleven_quest_result::SetCachedSize(int size) const {
  52314. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52315. _cached_size_ = size;
  52316. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52317. }
  52318. const ::google::protobuf::Descriptor* packetw2c_get_double_eleven_quest_result::descriptor() {
  52319. protobuf_AssignDescriptorsOnce();
  52320. return packetw2c_get_double_eleven_quest_result_descriptor_;
  52321. }
  52322. const packetw2c_get_double_eleven_quest_result& packetw2c_get_double_eleven_quest_result::default_instance() {
  52323. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  52324. return *default_instance_;
  52325. }
  52326. packetw2c_get_double_eleven_quest_result* packetw2c_get_double_eleven_quest_result::default_instance_ = NULL;
  52327. packetw2c_get_double_eleven_quest_result* packetw2c_get_double_eleven_quest_result::New() const {
  52328. return new packetw2c_get_double_eleven_quest_result;
  52329. }
  52330. void packetw2c_get_double_eleven_quest_result::Clear() {
  52331. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52332. packet_id_ = 7796;
  52333. }
  52334. questlist_.Clear();
  52335. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52336. mutable_unknown_fields()->Clear();
  52337. }
  52338. bool packetw2c_get_double_eleven_quest_result::MergePartialFromCodedStream(
  52339. ::google::protobuf::io::CodedInputStream* input) {
  52340. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  52341. ::google::protobuf::uint32 tag;
  52342. while ((tag = input->ReadTag()) != 0) {
  52343. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  52344. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_quest_result];
  52345. case 1: {
  52346. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52347. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  52348. int value;
  52349. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  52350. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  52351. input, &value)));
  52352. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  52353. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  52354. } else {
  52355. mutable_unknown_fields()->AddVarint(1, value);
  52356. }
  52357. } else {
  52358. goto handle_uninterpreted;
  52359. }
  52360. if (input->ExpectTag(18)) goto parse_questList;
  52361. break;
  52362. }
  52363. // repeated .msg_info_def.msg_quest_info questList = 2;
  52364. case 2: {
  52365. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52366. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  52367. parse_questList:
  52368. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  52369. input, add_questlist()));
  52370. } else {
  52371. goto handle_uninterpreted;
  52372. }
  52373. if (input->ExpectTag(18)) goto parse_questList;
  52374. if (input->ExpectAtEnd()) return true;
  52375. break;
  52376. }
  52377. default: {
  52378. handle_uninterpreted:
  52379. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52380. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  52381. return true;
  52382. }
  52383. DO_(::google::protobuf::internal::WireFormat::SkipField(
  52384. input, tag, mutable_unknown_fields()));
  52385. break;
  52386. }
  52387. }
  52388. }
  52389. return true;
  52390. #undef DO_
  52391. }
  52392. void packetw2c_get_double_eleven_quest_result::SerializeWithCachedSizes(
  52393. ::google::protobuf::io::CodedOutputStream* output) const {
  52394. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_quest_result];
  52395. if (has_packet_id()) {
  52396. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  52397. 1, this->packet_id(), output);
  52398. }
  52399. // repeated .msg_info_def.msg_quest_info questList = 2;
  52400. for (int i = 0; i < this->questlist_size(); i++) {
  52401. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  52402. 2, this->questlist(i), output);
  52403. }
  52404. if (!unknown_fields().empty()) {
  52405. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  52406. unknown_fields(), output);
  52407. }
  52408. }
  52409. ::google::protobuf::uint8* packetw2c_get_double_eleven_quest_result::SerializeWithCachedSizesToArray(
  52410. ::google::protobuf::uint8* target) const {
  52411. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_quest_result];
  52412. if (has_packet_id()) {
  52413. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  52414. 1, this->packet_id(), target);
  52415. }
  52416. // repeated .msg_info_def.msg_quest_info questList = 2;
  52417. for (int i = 0; i < this->questlist_size(); i++) {
  52418. target = ::google::protobuf::internal::WireFormatLite::
  52419. WriteMessageNoVirtualToArray(
  52420. 2, this->questlist(i), target);
  52421. }
  52422. if (!unknown_fields().empty()) {
  52423. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  52424. unknown_fields(), target);
  52425. }
  52426. return target;
  52427. }
  52428. int packetw2c_get_double_eleven_quest_result::ByteSize() const {
  52429. int total_size = 0;
  52430. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52431. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_quest_result];
  52432. if (has_packet_id()) {
  52433. total_size += 1 +
  52434. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  52435. }
  52436. }
  52437. // repeated .msg_info_def.msg_quest_info questList = 2;
  52438. total_size += 1 * this->questlist_size();
  52439. for (int i = 0; i < this->questlist_size(); i++) {
  52440. total_size +=
  52441. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  52442. this->questlist(i));
  52443. }
  52444. if (!unknown_fields().empty()) {
  52445. total_size +=
  52446. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  52447. unknown_fields());
  52448. }
  52449. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52450. _cached_size_ = total_size;
  52451. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52452. return total_size;
  52453. }
  52454. void packetw2c_get_double_eleven_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  52455. GOOGLE_CHECK_NE(&from, this);
  52456. const packetw2c_get_double_eleven_quest_result* source =
  52457. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_double_eleven_quest_result*>(
  52458. &from);
  52459. if (source == NULL) {
  52460. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  52461. } else {
  52462. MergeFrom(*source);
  52463. }
  52464. }
  52465. void packetw2c_get_double_eleven_quest_result::MergeFrom(const packetw2c_get_double_eleven_quest_result& from) {
  52466. GOOGLE_CHECK_NE(&from, this);
  52467. questlist_.MergeFrom(from.questlist_);
  52468. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52469. if (from.has_packet_id()) {
  52470. set_packet_id(from.packet_id());
  52471. }
  52472. }
  52473. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  52474. }
  52475. void packetw2c_get_double_eleven_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  52476. if (&from == this) return;
  52477. Clear();
  52478. MergeFrom(from);
  52479. }
  52480. void packetw2c_get_double_eleven_quest_result::CopyFrom(const packetw2c_get_double_eleven_quest_result& from) {
  52481. if (&from == this) return;
  52482. Clear();
  52483. MergeFrom(from);
  52484. }
  52485. bool packetw2c_get_double_eleven_quest_result::IsInitialized() const {
  52486. return true;
  52487. }
  52488. void packetw2c_get_double_eleven_quest_result::Swap(packetw2c_get_double_eleven_quest_result* other) {
  52489. if (other != this) {
  52490. std::swap(packet_id_, other->packet_id_);
  52491. questlist_.Swap(&other->questlist_);
  52492. std::swap(_has_bits_[0], other->_has_bits_[0]);
  52493. _unknown_fields_.Swap(&other->_unknown_fields_);
  52494. std::swap(_cached_size_, other->_cached_size_);
  52495. }
  52496. }
  52497. ::google::protobuf::Metadata packetw2c_get_double_eleven_quest_result::GetMetadata() const {
  52498. protobuf_AssignDescriptorsOnce();
  52499. ::google::protobuf::Metadata metadata;
  52500. metadata.descriptor = packetw2c_get_double_eleven_quest_result_descriptor_;
  52501. metadata.reflection = packetw2c_get_double_eleven_quest_result_reflection_;
  52502. return metadata;
  52503. }
  52504. // ===================================================================
  52505. #ifndef _MSC_VER
  52506. const int packetw2c_syn_double_eleven_gift_reflush::kPacketIdFieldNumber;
  52507. const int packetw2c_syn_double_eleven_gift_reflush::kLeftCountFieldNumber;
  52508. #endif // !_MSC_VER
  52509. packetw2c_syn_double_eleven_gift_reflush::packetw2c_syn_double_eleven_gift_reflush()
  52510. : ::google::protobuf::Message() {
  52511. SharedCtor();
  52512. }
  52513. void packetw2c_syn_double_eleven_gift_reflush::InitAsDefaultInstance() {
  52514. }
  52515. packetw2c_syn_double_eleven_gift_reflush::packetw2c_syn_double_eleven_gift_reflush(const packetw2c_syn_double_eleven_gift_reflush& from)
  52516. : ::google::protobuf::Message() {
  52517. SharedCtor();
  52518. MergeFrom(from);
  52519. }
  52520. void packetw2c_syn_double_eleven_gift_reflush::SharedCtor() {
  52521. _cached_size_ = 0;
  52522. packet_id_ = 7766;
  52523. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52524. }
  52525. packetw2c_syn_double_eleven_gift_reflush::~packetw2c_syn_double_eleven_gift_reflush() {
  52526. SharedDtor();
  52527. }
  52528. void packetw2c_syn_double_eleven_gift_reflush::SharedDtor() {
  52529. if (this != default_instance_) {
  52530. }
  52531. }
  52532. void packetw2c_syn_double_eleven_gift_reflush::SetCachedSize(int size) const {
  52533. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52534. _cached_size_ = size;
  52535. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52536. }
  52537. const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_gift_reflush::descriptor() {
  52538. protobuf_AssignDescriptorsOnce();
  52539. return packetw2c_syn_double_eleven_gift_reflush_descriptor_;
  52540. }
  52541. const packetw2c_syn_double_eleven_gift_reflush& packetw2c_syn_double_eleven_gift_reflush::default_instance() {
  52542. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  52543. return *default_instance_;
  52544. }
  52545. packetw2c_syn_double_eleven_gift_reflush* packetw2c_syn_double_eleven_gift_reflush::default_instance_ = NULL;
  52546. packetw2c_syn_double_eleven_gift_reflush* packetw2c_syn_double_eleven_gift_reflush::New() const {
  52547. return new packetw2c_syn_double_eleven_gift_reflush;
  52548. }
  52549. void packetw2c_syn_double_eleven_gift_reflush::Clear() {
  52550. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52551. packet_id_ = 7766;
  52552. }
  52553. leftcount_.Clear();
  52554. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52555. mutable_unknown_fields()->Clear();
  52556. }
  52557. bool packetw2c_syn_double_eleven_gift_reflush::MergePartialFromCodedStream(
  52558. ::google::protobuf::io::CodedInputStream* input) {
  52559. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  52560. ::google::protobuf::uint32 tag;
  52561. while ((tag = input->ReadTag()) != 0) {
  52562. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  52563. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_gift_reflush];
  52564. case 1: {
  52565. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52566. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  52567. int value;
  52568. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  52569. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  52570. input, &value)));
  52571. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  52572. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  52573. } else {
  52574. mutable_unknown_fields()->AddVarint(1, value);
  52575. }
  52576. } else {
  52577. goto handle_uninterpreted;
  52578. }
  52579. if (input->ExpectTag(16)) goto parse_leftCount;
  52580. break;
  52581. }
  52582. // repeated int32 leftCount = 2;
  52583. case 2: {
  52584. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52585. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  52586. parse_leftCount:
  52587. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  52588. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  52589. 1, 16, input, this->mutable_leftcount())));
  52590. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  52591. == ::google::protobuf::internal::WireFormatLite::
  52592. WIRETYPE_LENGTH_DELIMITED) {
  52593. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  52594. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  52595. input, this->mutable_leftcount())));
  52596. } else {
  52597. goto handle_uninterpreted;
  52598. }
  52599. if (input->ExpectTag(16)) goto parse_leftCount;
  52600. if (input->ExpectAtEnd()) return true;
  52601. break;
  52602. }
  52603. default: {
  52604. handle_uninterpreted:
  52605. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52606. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  52607. return true;
  52608. }
  52609. DO_(::google::protobuf::internal::WireFormat::SkipField(
  52610. input, tag, mutable_unknown_fields()));
  52611. break;
  52612. }
  52613. }
  52614. }
  52615. return true;
  52616. #undef DO_
  52617. }
  52618. void packetw2c_syn_double_eleven_gift_reflush::SerializeWithCachedSizes(
  52619. ::google::protobuf::io::CodedOutputStream* output) const {
  52620. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_gift_reflush];
  52621. if (has_packet_id()) {
  52622. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  52623. 1, this->packet_id(), output);
  52624. }
  52625. // repeated int32 leftCount = 2;
  52626. for (int i = 0; i < this->leftcount_size(); i++) {
  52627. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  52628. 2, this->leftcount(i), output);
  52629. }
  52630. if (!unknown_fields().empty()) {
  52631. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  52632. unknown_fields(), output);
  52633. }
  52634. }
  52635. ::google::protobuf::uint8* packetw2c_syn_double_eleven_gift_reflush::SerializeWithCachedSizesToArray(
  52636. ::google::protobuf::uint8* target) const {
  52637. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_gift_reflush];
  52638. if (has_packet_id()) {
  52639. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  52640. 1, this->packet_id(), target);
  52641. }
  52642. // repeated int32 leftCount = 2;
  52643. for (int i = 0; i < this->leftcount_size(); i++) {
  52644. target = ::google::protobuf::internal::WireFormatLite::
  52645. WriteInt32ToArray(2, this->leftcount(i), target);
  52646. }
  52647. if (!unknown_fields().empty()) {
  52648. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  52649. unknown_fields(), target);
  52650. }
  52651. return target;
  52652. }
  52653. int packetw2c_syn_double_eleven_gift_reflush::ByteSize() const {
  52654. int total_size = 0;
  52655. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52656. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_gift_reflush];
  52657. if (has_packet_id()) {
  52658. total_size += 1 +
  52659. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  52660. }
  52661. }
  52662. // repeated int32 leftCount = 2;
  52663. {
  52664. int data_size = 0;
  52665. for (int i = 0; i < this->leftcount_size(); i++) {
  52666. data_size += ::google::protobuf::internal::WireFormatLite::
  52667. Int32Size(this->leftcount(i));
  52668. }
  52669. total_size += 1 * this->leftcount_size() + data_size;
  52670. }
  52671. if (!unknown_fields().empty()) {
  52672. total_size +=
  52673. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  52674. unknown_fields());
  52675. }
  52676. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52677. _cached_size_ = total_size;
  52678. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52679. return total_size;
  52680. }
  52681. void packetw2c_syn_double_eleven_gift_reflush::MergeFrom(const ::google::protobuf::Message& from) {
  52682. GOOGLE_CHECK_NE(&from, this);
  52683. const packetw2c_syn_double_eleven_gift_reflush* source =
  52684. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_double_eleven_gift_reflush*>(
  52685. &from);
  52686. if (source == NULL) {
  52687. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  52688. } else {
  52689. MergeFrom(*source);
  52690. }
  52691. }
  52692. void packetw2c_syn_double_eleven_gift_reflush::MergeFrom(const packetw2c_syn_double_eleven_gift_reflush& from) {
  52693. GOOGLE_CHECK_NE(&from, this);
  52694. leftcount_.MergeFrom(from.leftcount_);
  52695. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52696. if (from.has_packet_id()) {
  52697. set_packet_id(from.packet_id());
  52698. }
  52699. }
  52700. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  52701. }
  52702. void packetw2c_syn_double_eleven_gift_reflush::CopyFrom(const ::google::protobuf::Message& from) {
  52703. if (&from == this) return;
  52704. Clear();
  52705. MergeFrom(from);
  52706. }
  52707. void packetw2c_syn_double_eleven_gift_reflush::CopyFrom(const packetw2c_syn_double_eleven_gift_reflush& from) {
  52708. if (&from == this) return;
  52709. Clear();
  52710. MergeFrom(from);
  52711. }
  52712. bool packetw2c_syn_double_eleven_gift_reflush::IsInitialized() const {
  52713. return true;
  52714. }
  52715. void packetw2c_syn_double_eleven_gift_reflush::Swap(packetw2c_syn_double_eleven_gift_reflush* other) {
  52716. if (other != this) {
  52717. std::swap(packet_id_, other->packet_id_);
  52718. leftcount_.Swap(&other->leftcount_);
  52719. std::swap(_has_bits_[0], other->_has_bits_[0]);
  52720. _unknown_fields_.Swap(&other->_unknown_fields_);
  52721. std::swap(_cached_size_, other->_cached_size_);
  52722. }
  52723. }
  52724. ::google::protobuf::Metadata packetw2c_syn_double_eleven_gift_reflush::GetMetadata() const {
  52725. protobuf_AssignDescriptorsOnce();
  52726. ::google::protobuf::Metadata metadata;
  52727. metadata.descriptor = packetw2c_syn_double_eleven_gift_reflush_descriptor_;
  52728. metadata.reflection = packetw2c_syn_double_eleven_gift_reflush_reflection_;
  52729. return metadata;
  52730. }
  52731. // ===================================================================
  52732. #ifndef _MSC_VER
  52733. const int packetc2w_get_double_eleven_rank::kPacketIdFieldNumber;
  52734. #endif // !_MSC_VER
  52735. packetc2w_get_double_eleven_rank::packetc2w_get_double_eleven_rank()
  52736. : ::google::protobuf::Message() {
  52737. SharedCtor();
  52738. }
  52739. void packetc2w_get_double_eleven_rank::InitAsDefaultInstance() {
  52740. }
  52741. packetc2w_get_double_eleven_rank::packetc2w_get_double_eleven_rank(const packetc2w_get_double_eleven_rank& from)
  52742. : ::google::protobuf::Message() {
  52743. SharedCtor();
  52744. MergeFrom(from);
  52745. }
  52746. void packetc2w_get_double_eleven_rank::SharedCtor() {
  52747. _cached_size_ = 0;
  52748. packet_id_ = 5228;
  52749. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52750. }
  52751. packetc2w_get_double_eleven_rank::~packetc2w_get_double_eleven_rank() {
  52752. SharedDtor();
  52753. }
  52754. void packetc2w_get_double_eleven_rank::SharedDtor() {
  52755. if (this != default_instance_) {
  52756. }
  52757. }
  52758. void packetc2w_get_double_eleven_rank::SetCachedSize(int size) const {
  52759. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52760. _cached_size_ = size;
  52761. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52762. }
  52763. const ::google::protobuf::Descriptor* packetc2w_get_double_eleven_rank::descriptor() {
  52764. protobuf_AssignDescriptorsOnce();
  52765. return packetc2w_get_double_eleven_rank_descriptor_;
  52766. }
  52767. const packetc2w_get_double_eleven_rank& packetc2w_get_double_eleven_rank::default_instance() {
  52768. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  52769. return *default_instance_;
  52770. }
  52771. packetc2w_get_double_eleven_rank* packetc2w_get_double_eleven_rank::default_instance_ = NULL;
  52772. packetc2w_get_double_eleven_rank* packetc2w_get_double_eleven_rank::New() const {
  52773. return new packetc2w_get_double_eleven_rank;
  52774. }
  52775. void packetc2w_get_double_eleven_rank::Clear() {
  52776. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52777. packet_id_ = 5228;
  52778. }
  52779. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52780. mutable_unknown_fields()->Clear();
  52781. }
  52782. bool packetc2w_get_double_eleven_rank::MergePartialFromCodedStream(
  52783. ::google::protobuf::io::CodedInputStream* input) {
  52784. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  52785. ::google::protobuf::uint32 tag;
  52786. while ((tag = input->ReadTag()) != 0) {
  52787. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  52788. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank];
  52789. case 1: {
  52790. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52791. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  52792. int value;
  52793. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  52794. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  52795. input, &value)));
  52796. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  52797. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  52798. } else {
  52799. mutable_unknown_fields()->AddVarint(1, value);
  52800. }
  52801. } else {
  52802. goto handle_uninterpreted;
  52803. }
  52804. if (input->ExpectAtEnd()) return true;
  52805. break;
  52806. }
  52807. default: {
  52808. handle_uninterpreted:
  52809. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52810. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  52811. return true;
  52812. }
  52813. DO_(::google::protobuf::internal::WireFormat::SkipField(
  52814. input, tag, mutable_unknown_fields()));
  52815. break;
  52816. }
  52817. }
  52818. }
  52819. return true;
  52820. #undef DO_
  52821. }
  52822. void packetc2w_get_double_eleven_rank::SerializeWithCachedSizes(
  52823. ::google::protobuf::io::CodedOutputStream* output) const {
  52824. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank];
  52825. if (has_packet_id()) {
  52826. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  52827. 1, this->packet_id(), output);
  52828. }
  52829. if (!unknown_fields().empty()) {
  52830. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  52831. unknown_fields(), output);
  52832. }
  52833. }
  52834. ::google::protobuf::uint8* packetc2w_get_double_eleven_rank::SerializeWithCachedSizesToArray(
  52835. ::google::protobuf::uint8* target) const {
  52836. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank];
  52837. if (has_packet_id()) {
  52838. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  52839. 1, this->packet_id(), target);
  52840. }
  52841. if (!unknown_fields().empty()) {
  52842. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  52843. unknown_fields(), target);
  52844. }
  52845. return target;
  52846. }
  52847. int packetc2w_get_double_eleven_rank::ByteSize() const {
  52848. int total_size = 0;
  52849. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52850. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank];
  52851. if (has_packet_id()) {
  52852. total_size += 1 +
  52853. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  52854. }
  52855. }
  52856. if (!unknown_fields().empty()) {
  52857. total_size +=
  52858. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  52859. unknown_fields());
  52860. }
  52861. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52862. _cached_size_ = total_size;
  52863. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52864. return total_size;
  52865. }
  52866. void packetc2w_get_double_eleven_rank::MergeFrom(const ::google::protobuf::Message& from) {
  52867. GOOGLE_CHECK_NE(&from, this);
  52868. const packetc2w_get_double_eleven_rank* source =
  52869. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_double_eleven_rank*>(
  52870. &from);
  52871. if (source == NULL) {
  52872. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  52873. } else {
  52874. MergeFrom(*source);
  52875. }
  52876. }
  52877. void packetc2w_get_double_eleven_rank::MergeFrom(const packetc2w_get_double_eleven_rank& from) {
  52878. GOOGLE_CHECK_NE(&from, this);
  52879. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52880. if (from.has_packet_id()) {
  52881. set_packet_id(from.packet_id());
  52882. }
  52883. }
  52884. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  52885. }
  52886. void packetc2w_get_double_eleven_rank::CopyFrom(const ::google::protobuf::Message& from) {
  52887. if (&from == this) return;
  52888. Clear();
  52889. MergeFrom(from);
  52890. }
  52891. void packetc2w_get_double_eleven_rank::CopyFrom(const packetc2w_get_double_eleven_rank& from) {
  52892. if (&from == this) return;
  52893. Clear();
  52894. MergeFrom(from);
  52895. }
  52896. bool packetc2w_get_double_eleven_rank::IsInitialized() const {
  52897. return true;
  52898. }
  52899. void packetc2w_get_double_eleven_rank::Swap(packetc2w_get_double_eleven_rank* other) {
  52900. if (other != this) {
  52901. std::swap(packet_id_, other->packet_id_);
  52902. std::swap(_has_bits_[0], other->_has_bits_[0]);
  52903. _unknown_fields_.Swap(&other->_unknown_fields_);
  52904. std::swap(_cached_size_, other->_cached_size_);
  52905. }
  52906. }
  52907. ::google::protobuf::Metadata packetc2w_get_double_eleven_rank::GetMetadata() const {
  52908. protobuf_AssignDescriptorsOnce();
  52909. ::google::protobuf::Metadata metadata;
  52910. metadata.descriptor = packetc2w_get_double_eleven_rank_descriptor_;
  52911. metadata.reflection = packetc2w_get_double_eleven_rank_reflection_;
  52912. return metadata;
  52913. }
  52914. // ===================================================================
  52915. #ifndef _MSC_VER
  52916. const int packetw2c_get_double_eleven_rank_result::kPacketIdFieldNumber;
  52917. const int packetw2c_get_double_eleven_rank_result::kRankListFieldNumber;
  52918. const int packetw2c_get_double_eleven_rank_result::kMyCountFieldNumber;
  52919. const int packetw2c_get_double_eleven_rank_result::kMyRankFieldNumber;
  52920. const int packetw2c_get_double_eleven_rank_result::kThresholdValueFieldNumber;
  52921. #endif // !_MSC_VER
  52922. packetw2c_get_double_eleven_rank_result::packetw2c_get_double_eleven_rank_result()
  52923. : ::google::protobuf::Message() {
  52924. SharedCtor();
  52925. }
  52926. void packetw2c_get_double_eleven_rank_result::InitAsDefaultInstance() {
  52927. }
  52928. packetw2c_get_double_eleven_rank_result::packetw2c_get_double_eleven_rank_result(const packetw2c_get_double_eleven_rank_result& from)
  52929. : ::google::protobuf::Message() {
  52930. SharedCtor();
  52931. MergeFrom(from);
  52932. }
  52933. void packetw2c_get_double_eleven_rank_result::SharedCtor() {
  52934. _cached_size_ = 0;
  52935. packet_id_ = 7762;
  52936. mycount_ = 0;
  52937. myrank_ = 0;
  52938. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52939. }
  52940. packetw2c_get_double_eleven_rank_result::~packetw2c_get_double_eleven_rank_result() {
  52941. SharedDtor();
  52942. }
  52943. void packetw2c_get_double_eleven_rank_result::SharedDtor() {
  52944. if (this != default_instance_) {
  52945. }
  52946. }
  52947. void packetw2c_get_double_eleven_rank_result::SetCachedSize(int size) const {
  52948. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  52949. _cached_size_ = size;
  52950. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  52951. }
  52952. const ::google::protobuf::Descriptor* packetw2c_get_double_eleven_rank_result::descriptor() {
  52953. protobuf_AssignDescriptorsOnce();
  52954. return packetw2c_get_double_eleven_rank_result_descriptor_;
  52955. }
  52956. const packetw2c_get_double_eleven_rank_result& packetw2c_get_double_eleven_rank_result::default_instance() {
  52957. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  52958. return *default_instance_;
  52959. }
  52960. packetw2c_get_double_eleven_rank_result* packetw2c_get_double_eleven_rank_result::default_instance_ = NULL;
  52961. packetw2c_get_double_eleven_rank_result* packetw2c_get_double_eleven_rank_result::New() const {
  52962. return new packetw2c_get_double_eleven_rank_result;
  52963. }
  52964. void packetw2c_get_double_eleven_rank_result::Clear() {
  52965. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  52966. packet_id_ = 7762;
  52967. mycount_ = 0;
  52968. myrank_ = 0;
  52969. }
  52970. ranklist_.Clear();
  52971. thresholdvalue_.Clear();
  52972. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  52973. mutable_unknown_fields()->Clear();
  52974. }
  52975. bool packetw2c_get_double_eleven_rank_result::MergePartialFromCodedStream(
  52976. ::google::protobuf::io::CodedInputStream* input) {
  52977. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  52978. ::google::protobuf::uint32 tag;
  52979. while ((tag = input->ReadTag()) != 0) {
  52980. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  52981. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result];
  52982. case 1: {
  52983. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  52984. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  52985. int value;
  52986. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  52987. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  52988. input, &value)));
  52989. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  52990. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  52991. } else {
  52992. mutable_unknown_fields()->AddVarint(1, value);
  52993. }
  52994. } else {
  52995. goto handle_uninterpreted;
  52996. }
  52997. if (input->ExpectTag(18)) goto parse_rankList;
  52998. break;
  52999. }
  53000. // repeated .client2world_protocols.activity_rank rankList = 2;
  53001. case 2: {
  53002. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53003. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  53004. parse_rankList:
  53005. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  53006. input, add_ranklist()));
  53007. } else {
  53008. goto handle_uninterpreted;
  53009. }
  53010. if (input->ExpectTag(18)) goto parse_rankList;
  53011. if (input->ExpectTag(24)) goto parse_myCount;
  53012. break;
  53013. }
  53014. // optional int32 myCount = 3;
  53015. case 3: {
  53016. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53017. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53018. parse_myCount:
  53019. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53020. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53021. input, &mycount_)));
  53022. set_has_mycount();
  53023. } else {
  53024. goto handle_uninterpreted;
  53025. }
  53026. if (input->ExpectTag(32)) goto parse_myRank;
  53027. break;
  53028. }
  53029. // optional int32 myRank = 4;
  53030. case 4: {
  53031. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53032. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53033. parse_myRank:
  53034. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53035. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53036. input, &myrank_)));
  53037. set_has_myrank();
  53038. } else {
  53039. goto handle_uninterpreted;
  53040. }
  53041. if (input->ExpectTag(40)) goto parse_thresholdValue;
  53042. break;
  53043. }
  53044. // repeated int32 thresholdValue = 5;
  53045. case 5: {
  53046. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53047. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53048. parse_thresholdValue:
  53049. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  53050. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53051. 1, 40, input, this->mutable_thresholdvalue())));
  53052. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  53053. == ::google::protobuf::internal::WireFormatLite::
  53054. WIRETYPE_LENGTH_DELIMITED) {
  53055. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  53056. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53057. input, this->mutable_thresholdvalue())));
  53058. } else {
  53059. goto handle_uninterpreted;
  53060. }
  53061. if (input->ExpectTag(40)) goto parse_thresholdValue;
  53062. if (input->ExpectAtEnd()) return true;
  53063. break;
  53064. }
  53065. default: {
  53066. handle_uninterpreted:
  53067. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53068. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  53069. return true;
  53070. }
  53071. DO_(::google::protobuf::internal::WireFormat::SkipField(
  53072. input, tag, mutable_unknown_fields()));
  53073. break;
  53074. }
  53075. }
  53076. }
  53077. return true;
  53078. #undef DO_
  53079. }
  53080. void packetw2c_get_double_eleven_rank_result::SerializeWithCachedSizes(
  53081. ::google::protobuf::io::CodedOutputStream* output) const {
  53082. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result];
  53083. if (has_packet_id()) {
  53084. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  53085. 1, this->packet_id(), output);
  53086. }
  53087. // repeated .client2world_protocols.activity_rank rankList = 2;
  53088. for (int i = 0; i < this->ranklist_size(); i++) {
  53089. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  53090. 2, this->ranklist(i), output);
  53091. }
  53092. // optional int32 myCount = 3;
  53093. if (has_mycount()) {
  53094. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mycount(), output);
  53095. }
  53096. // optional int32 myRank = 4;
  53097. if (has_myrank()) {
  53098. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myrank(), output);
  53099. }
  53100. // repeated int32 thresholdValue = 5;
  53101. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  53102. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  53103. 5, this->thresholdvalue(i), output);
  53104. }
  53105. if (!unknown_fields().empty()) {
  53106. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  53107. unknown_fields(), output);
  53108. }
  53109. }
  53110. ::google::protobuf::uint8* packetw2c_get_double_eleven_rank_result::SerializeWithCachedSizesToArray(
  53111. ::google::protobuf::uint8* target) const {
  53112. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result];
  53113. if (has_packet_id()) {
  53114. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  53115. 1, this->packet_id(), target);
  53116. }
  53117. // repeated .client2world_protocols.activity_rank rankList = 2;
  53118. for (int i = 0; i < this->ranklist_size(); i++) {
  53119. target = ::google::protobuf::internal::WireFormatLite::
  53120. WriteMessageNoVirtualToArray(
  53121. 2, this->ranklist(i), target);
  53122. }
  53123. // optional int32 myCount = 3;
  53124. if (has_mycount()) {
  53125. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mycount(), target);
  53126. }
  53127. // optional int32 myRank = 4;
  53128. if (has_myrank()) {
  53129. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myrank(), target);
  53130. }
  53131. // repeated int32 thresholdValue = 5;
  53132. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  53133. target = ::google::protobuf::internal::WireFormatLite::
  53134. WriteInt32ToArray(5, this->thresholdvalue(i), target);
  53135. }
  53136. if (!unknown_fields().empty()) {
  53137. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  53138. unknown_fields(), target);
  53139. }
  53140. return target;
  53141. }
  53142. int packetw2c_get_double_eleven_rank_result::ByteSize() const {
  53143. int total_size = 0;
  53144. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53145. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result];
  53146. if (has_packet_id()) {
  53147. total_size += 1 +
  53148. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  53149. }
  53150. // optional int32 myCount = 3;
  53151. if (has_mycount()) {
  53152. total_size += 1 +
  53153. ::google::protobuf::internal::WireFormatLite::Int32Size(
  53154. this->mycount());
  53155. }
  53156. // optional int32 myRank = 4;
  53157. if (has_myrank()) {
  53158. total_size += 1 +
  53159. ::google::protobuf::internal::WireFormatLite::Int32Size(
  53160. this->myrank());
  53161. }
  53162. }
  53163. // repeated .client2world_protocols.activity_rank rankList = 2;
  53164. total_size += 1 * this->ranklist_size();
  53165. for (int i = 0; i < this->ranklist_size(); i++) {
  53166. total_size +=
  53167. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  53168. this->ranklist(i));
  53169. }
  53170. // repeated int32 thresholdValue = 5;
  53171. {
  53172. int data_size = 0;
  53173. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  53174. data_size += ::google::protobuf::internal::WireFormatLite::
  53175. Int32Size(this->thresholdvalue(i));
  53176. }
  53177. total_size += 1 * this->thresholdvalue_size() + data_size;
  53178. }
  53179. if (!unknown_fields().empty()) {
  53180. total_size +=
  53181. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  53182. unknown_fields());
  53183. }
  53184. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  53185. _cached_size_ = total_size;
  53186. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  53187. return total_size;
  53188. }
  53189. void packetw2c_get_double_eleven_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  53190. GOOGLE_CHECK_NE(&from, this);
  53191. const packetw2c_get_double_eleven_rank_result* source =
  53192. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_double_eleven_rank_result*>(
  53193. &from);
  53194. if (source == NULL) {
  53195. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  53196. } else {
  53197. MergeFrom(*source);
  53198. }
  53199. }
  53200. void packetw2c_get_double_eleven_rank_result::MergeFrom(const packetw2c_get_double_eleven_rank_result& from) {
  53201. GOOGLE_CHECK_NE(&from, this);
  53202. ranklist_.MergeFrom(from.ranklist_);
  53203. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  53204. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53205. if (from.has_packet_id()) {
  53206. set_packet_id(from.packet_id());
  53207. }
  53208. if (from.has_mycount()) {
  53209. set_mycount(from.mycount());
  53210. }
  53211. if (from.has_myrank()) {
  53212. set_myrank(from.myrank());
  53213. }
  53214. }
  53215. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  53216. }
  53217. void packetw2c_get_double_eleven_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  53218. if (&from == this) return;
  53219. Clear();
  53220. MergeFrom(from);
  53221. }
  53222. void packetw2c_get_double_eleven_rank_result::CopyFrom(const packetw2c_get_double_eleven_rank_result& from) {
  53223. if (&from == this) return;
  53224. Clear();
  53225. MergeFrom(from);
  53226. }
  53227. bool packetw2c_get_double_eleven_rank_result::IsInitialized() const {
  53228. return true;
  53229. }
  53230. void packetw2c_get_double_eleven_rank_result::Swap(packetw2c_get_double_eleven_rank_result* other) {
  53231. if (other != this) {
  53232. std::swap(packet_id_, other->packet_id_);
  53233. ranklist_.Swap(&other->ranklist_);
  53234. std::swap(mycount_, other->mycount_);
  53235. std::swap(myrank_, other->myrank_);
  53236. thresholdvalue_.Swap(&other->thresholdvalue_);
  53237. std::swap(_has_bits_[0], other->_has_bits_[0]);
  53238. _unknown_fields_.Swap(&other->_unknown_fields_);
  53239. std::swap(_cached_size_, other->_cached_size_);
  53240. }
  53241. }
  53242. ::google::protobuf::Metadata packetw2c_get_double_eleven_rank_result::GetMetadata() const {
  53243. protobuf_AssignDescriptorsOnce();
  53244. ::google::protobuf::Metadata metadata;
  53245. metadata.descriptor = packetw2c_get_double_eleven_rank_result_descriptor_;
  53246. metadata.reflection = packetw2c_get_double_eleven_rank_result_reflection_;
  53247. return metadata;
  53248. }
  53249. // ===================================================================
  53250. #ifndef _MSC_VER
  53251. const int packetc2w_double_eleven_lottery::kPacketIdFieldNumber;
  53252. const int packetc2w_double_eleven_lottery::kTypeFieldNumber;
  53253. const int packetc2w_double_eleven_lottery::kCountFieldNumber;
  53254. #endif // !_MSC_VER
  53255. packetc2w_double_eleven_lottery::packetc2w_double_eleven_lottery()
  53256. : ::google::protobuf::Message() {
  53257. SharedCtor();
  53258. }
  53259. void packetc2w_double_eleven_lottery::InitAsDefaultInstance() {
  53260. }
  53261. packetc2w_double_eleven_lottery::packetc2w_double_eleven_lottery(const packetc2w_double_eleven_lottery& from)
  53262. : ::google::protobuf::Message() {
  53263. SharedCtor();
  53264. MergeFrom(from);
  53265. }
  53266. void packetc2w_double_eleven_lottery::SharedCtor() {
  53267. _cached_size_ = 0;
  53268. packet_id_ = 5223;
  53269. type_ = 0;
  53270. count_ = 0;
  53271. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  53272. }
  53273. packetc2w_double_eleven_lottery::~packetc2w_double_eleven_lottery() {
  53274. SharedDtor();
  53275. }
  53276. void packetc2w_double_eleven_lottery::SharedDtor() {
  53277. if (this != default_instance_) {
  53278. }
  53279. }
  53280. void packetc2w_double_eleven_lottery::SetCachedSize(int size) const {
  53281. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  53282. _cached_size_ = size;
  53283. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  53284. }
  53285. const ::google::protobuf::Descriptor* packetc2w_double_eleven_lottery::descriptor() {
  53286. protobuf_AssignDescriptorsOnce();
  53287. return packetc2w_double_eleven_lottery_descriptor_;
  53288. }
  53289. const packetc2w_double_eleven_lottery& packetc2w_double_eleven_lottery::default_instance() {
  53290. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  53291. return *default_instance_;
  53292. }
  53293. packetc2w_double_eleven_lottery* packetc2w_double_eleven_lottery::default_instance_ = NULL;
  53294. packetc2w_double_eleven_lottery* packetc2w_double_eleven_lottery::New() const {
  53295. return new packetc2w_double_eleven_lottery;
  53296. }
  53297. void packetc2w_double_eleven_lottery::Clear() {
  53298. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53299. packet_id_ = 5223;
  53300. type_ = 0;
  53301. count_ = 0;
  53302. }
  53303. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  53304. mutable_unknown_fields()->Clear();
  53305. }
  53306. bool packetc2w_double_eleven_lottery::MergePartialFromCodedStream(
  53307. ::google::protobuf::io::CodedInputStream* input) {
  53308. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  53309. ::google::protobuf::uint32 tag;
  53310. while ((tag = input->ReadTag()) != 0) {
  53311. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  53312. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_lottery];
  53313. case 1: {
  53314. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53315. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53316. int value;
  53317. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53318. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  53319. input, &value)));
  53320. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  53321. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  53322. } else {
  53323. mutable_unknown_fields()->AddVarint(1, value);
  53324. }
  53325. } else {
  53326. goto handle_uninterpreted;
  53327. }
  53328. if (input->ExpectTag(16)) goto parse_type;
  53329. break;
  53330. }
  53331. // optional int32 type = 2;
  53332. case 2: {
  53333. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53334. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53335. parse_type:
  53336. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53337. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53338. input, &type_)));
  53339. set_has_type();
  53340. } else {
  53341. goto handle_uninterpreted;
  53342. }
  53343. if (input->ExpectTag(24)) goto parse_count;
  53344. break;
  53345. }
  53346. // optional int32 count = 3;
  53347. case 3: {
  53348. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53349. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53350. parse_count:
  53351. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53352. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53353. input, &count_)));
  53354. set_has_count();
  53355. } else {
  53356. goto handle_uninterpreted;
  53357. }
  53358. if (input->ExpectAtEnd()) return true;
  53359. break;
  53360. }
  53361. default: {
  53362. handle_uninterpreted:
  53363. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53364. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  53365. return true;
  53366. }
  53367. DO_(::google::protobuf::internal::WireFormat::SkipField(
  53368. input, tag, mutable_unknown_fields()));
  53369. break;
  53370. }
  53371. }
  53372. }
  53373. return true;
  53374. #undef DO_
  53375. }
  53376. void packetc2w_double_eleven_lottery::SerializeWithCachedSizes(
  53377. ::google::protobuf::io::CodedOutputStream* output) const {
  53378. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_lottery];
  53379. if (has_packet_id()) {
  53380. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  53381. 1, this->packet_id(), output);
  53382. }
  53383. // optional int32 type = 2;
  53384. if (has_type()) {
  53385. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  53386. }
  53387. // optional int32 count = 3;
  53388. if (has_count()) {
  53389. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  53390. }
  53391. if (!unknown_fields().empty()) {
  53392. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  53393. unknown_fields(), output);
  53394. }
  53395. }
  53396. ::google::protobuf::uint8* packetc2w_double_eleven_lottery::SerializeWithCachedSizesToArray(
  53397. ::google::protobuf::uint8* target) const {
  53398. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_lottery];
  53399. if (has_packet_id()) {
  53400. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  53401. 1, this->packet_id(), target);
  53402. }
  53403. // optional int32 type = 2;
  53404. if (has_type()) {
  53405. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  53406. }
  53407. // optional int32 count = 3;
  53408. if (has_count()) {
  53409. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  53410. }
  53411. if (!unknown_fields().empty()) {
  53412. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  53413. unknown_fields(), target);
  53414. }
  53415. return target;
  53416. }
  53417. int packetc2w_double_eleven_lottery::ByteSize() const {
  53418. int total_size = 0;
  53419. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53420. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_lottery];
  53421. if (has_packet_id()) {
  53422. total_size += 1 +
  53423. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  53424. }
  53425. // optional int32 type = 2;
  53426. if (has_type()) {
  53427. total_size += 1 +
  53428. ::google::protobuf::internal::WireFormatLite::Int32Size(
  53429. this->type());
  53430. }
  53431. // optional int32 count = 3;
  53432. if (has_count()) {
  53433. total_size += 1 +
  53434. ::google::protobuf::internal::WireFormatLite::Int32Size(
  53435. this->count());
  53436. }
  53437. }
  53438. if (!unknown_fields().empty()) {
  53439. total_size +=
  53440. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  53441. unknown_fields());
  53442. }
  53443. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  53444. _cached_size_ = total_size;
  53445. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  53446. return total_size;
  53447. }
  53448. void packetc2w_double_eleven_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  53449. GOOGLE_CHECK_NE(&from, this);
  53450. const packetc2w_double_eleven_lottery* source =
  53451. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_double_eleven_lottery*>(
  53452. &from);
  53453. if (source == NULL) {
  53454. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  53455. } else {
  53456. MergeFrom(*source);
  53457. }
  53458. }
  53459. void packetc2w_double_eleven_lottery::MergeFrom(const packetc2w_double_eleven_lottery& from) {
  53460. GOOGLE_CHECK_NE(&from, this);
  53461. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53462. if (from.has_packet_id()) {
  53463. set_packet_id(from.packet_id());
  53464. }
  53465. if (from.has_type()) {
  53466. set_type(from.type());
  53467. }
  53468. if (from.has_count()) {
  53469. set_count(from.count());
  53470. }
  53471. }
  53472. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  53473. }
  53474. void packetc2w_double_eleven_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  53475. if (&from == this) return;
  53476. Clear();
  53477. MergeFrom(from);
  53478. }
  53479. void packetc2w_double_eleven_lottery::CopyFrom(const packetc2w_double_eleven_lottery& from) {
  53480. if (&from == this) return;
  53481. Clear();
  53482. MergeFrom(from);
  53483. }
  53484. bool packetc2w_double_eleven_lottery::IsInitialized() const {
  53485. return true;
  53486. }
  53487. void packetc2w_double_eleven_lottery::Swap(packetc2w_double_eleven_lottery* other) {
  53488. if (other != this) {
  53489. std::swap(packet_id_, other->packet_id_);
  53490. std::swap(type_, other->type_);
  53491. std::swap(count_, other->count_);
  53492. std::swap(_has_bits_[0], other->_has_bits_[0]);
  53493. _unknown_fields_.Swap(&other->_unknown_fields_);
  53494. std::swap(_cached_size_, other->_cached_size_);
  53495. }
  53496. }
  53497. ::google::protobuf::Metadata packetc2w_double_eleven_lottery::GetMetadata() const {
  53498. protobuf_AssignDescriptorsOnce();
  53499. ::google::protobuf::Metadata metadata;
  53500. metadata.descriptor = packetc2w_double_eleven_lottery_descriptor_;
  53501. metadata.reflection = packetc2w_double_eleven_lottery_reflection_;
  53502. return metadata;
  53503. }
  53504. // ===================================================================
  53505. #ifndef _MSC_VER
  53506. const int packetw2c_double_eleven_lottery_result::kPacketIdFieldNumber;
  53507. const int packetw2c_double_eleven_lottery_result::kResultFieldNumber;
  53508. const int packetw2c_double_eleven_lottery_result::kTypeFieldNumber;
  53509. const int packetw2c_double_eleven_lottery_result::kCountFieldNumber;
  53510. const int packetw2c_double_eleven_lottery_result::kRewardidFieldNumber;
  53511. const int packetw2c_double_eleven_lottery_result::kRewardidExFieldNumber;
  53512. #endif // !_MSC_VER
  53513. packetw2c_double_eleven_lottery_result::packetw2c_double_eleven_lottery_result()
  53514. : ::google::protobuf::Message() {
  53515. SharedCtor();
  53516. }
  53517. void packetw2c_double_eleven_lottery_result::InitAsDefaultInstance() {
  53518. }
  53519. packetw2c_double_eleven_lottery_result::packetw2c_double_eleven_lottery_result(const packetw2c_double_eleven_lottery_result& from)
  53520. : ::google::protobuf::Message() {
  53521. SharedCtor();
  53522. MergeFrom(from);
  53523. }
  53524. void packetw2c_double_eleven_lottery_result::SharedCtor() {
  53525. _cached_size_ = 0;
  53526. packet_id_ = 7763;
  53527. result_ = 0;
  53528. type_ = 0;
  53529. count_ = 0;
  53530. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  53531. }
  53532. packetw2c_double_eleven_lottery_result::~packetw2c_double_eleven_lottery_result() {
  53533. SharedDtor();
  53534. }
  53535. void packetw2c_double_eleven_lottery_result::SharedDtor() {
  53536. if (this != default_instance_) {
  53537. }
  53538. }
  53539. void packetw2c_double_eleven_lottery_result::SetCachedSize(int size) const {
  53540. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  53541. _cached_size_ = size;
  53542. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  53543. }
  53544. const ::google::protobuf::Descriptor* packetw2c_double_eleven_lottery_result::descriptor() {
  53545. protobuf_AssignDescriptorsOnce();
  53546. return packetw2c_double_eleven_lottery_result_descriptor_;
  53547. }
  53548. const packetw2c_double_eleven_lottery_result& packetw2c_double_eleven_lottery_result::default_instance() {
  53549. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  53550. return *default_instance_;
  53551. }
  53552. packetw2c_double_eleven_lottery_result* packetw2c_double_eleven_lottery_result::default_instance_ = NULL;
  53553. packetw2c_double_eleven_lottery_result* packetw2c_double_eleven_lottery_result::New() const {
  53554. return new packetw2c_double_eleven_lottery_result;
  53555. }
  53556. void packetw2c_double_eleven_lottery_result::Clear() {
  53557. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53558. packet_id_ = 7763;
  53559. result_ = 0;
  53560. type_ = 0;
  53561. count_ = 0;
  53562. }
  53563. rewardid_.Clear();
  53564. rewardidex_.Clear();
  53565. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  53566. mutable_unknown_fields()->Clear();
  53567. }
  53568. bool packetw2c_double_eleven_lottery_result::MergePartialFromCodedStream(
  53569. ::google::protobuf::io::CodedInputStream* input) {
  53570. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  53571. ::google::protobuf::uint32 tag;
  53572. while ((tag = input->ReadTag()) != 0) {
  53573. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  53574. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_lottery_result];
  53575. case 1: {
  53576. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53577. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53578. int value;
  53579. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53580. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  53581. input, &value)));
  53582. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  53583. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  53584. } else {
  53585. mutable_unknown_fields()->AddVarint(1, value);
  53586. }
  53587. } else {
  53588. goto handle_uninterpreted;
  53589. }
  53590. if (input->ExpectTag(16)) goto parse_result;
  53591. break;
  53592. }
  53593. // optional int32 result = 2;
  53594. case 2: {
  53595. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53596. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53597. parse_result:
  53598. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53599. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53600. input, &result_)));
  53601. set_has_result();
  53602. } else {
  53603. goto handle_uninterpreted;
  53604. }
  53605. if (input->ExpectTag(24)) goto parse_type;
  53606. break;
  53607. }
  53608. // optional int32 type = 3;
  53609. case 3: {
  53610. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53611. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53612. parse_type:
  53613. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53614. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53615. input, &type_)));
  53616. set_has_type();
  53617. } else {
  53618. goto handle_uninterpreted;
  53619. }
  53620. if (input->ExpectTag(32)) goto parse_count;
  53621. break;
  53622. }
  53623. // optional int32 count = 4;
  53624. case 4: {
  53625. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53626. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53627. parse_count:
  53628. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53629. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53630. input, &count_)));
  53631. set_has_count();
  53632. } else {
  53633. goto handle_uninterpreted;
  53634. }
  53635. if (input->ExpectTag(40)) goto parse_rewardid;
  53636. break;
  53637. }
  53638. // repeated int32 rewardid = 5;
  53639. case 5: {
  53640. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53641. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53642. parse_rewardid:
  53643. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  53644. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53645. 1, 40, input, this->mutable_rewardid())));
  53646. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  53647. == ::google::protobuf::internal::WireFormatLite::
  53648. WIRETYPE_LENGTH_DELIMITED) {
  53649. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  53650. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53651. input, this->mutable_rewardid())));
  53652. } else {
  53653. goto handle_uninterpreted;
  53654. }
  53655. if (input->ExpectTag(40)) goto parse_rewardid;
  53656. if (input->ExpectTag(48)) goto parse_rewardidEx;
  53657. break;
  53658. }
  53659. // repeated int32 rewardidEx = 6;
  53660. case 6: {
  53661. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53662. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53663. parse_rewardidEx:
  53664. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  53665. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53666. 1, 48, input, this->mutable_rewardidex())));
  53667. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  53668. == ::google::protobuf::internal::WireFormatLite::
  53669. WIRETYPE_LENGTH_DELIMITED) {
  53670. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  53671. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53672. input, this->mutable_rewardidex())));
  53673. } else {
  53674. goto handle_uninterpreted;
  53675. }
  53676. if (input->ExpectTag(48)) goto parse_rewardidEx;
  53677. if (input->ExpectAtEnd()) return true;
  53678. break;
  53679. }
  53680. default: {
  53681. handle_uninterpreted:
  53682. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53683. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  53684. return true;
  53685. }
  53686. DO_(::google::protobuf::internal::WireFormat::SkipField(
  53687. input, tag, mutable_unknown_fields()));
  53688. break;
  53689. }
  53690. }
  53691. }
  53692. return true;
  53693. #undef DO_
  53694. }
  53695. void packetw2c_double_eleven_lottery_result::SerializeWithCachedSizes(
  53696. ::google::protobuf::io::CodedOutputStream* output) const {
  53697. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_lottery_result];
  53698. if (has_packet_id()) {
  53699. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  53700. 1, this->packet_id(), output);
  53701. }
  53702. // optional int32 result = 2;
  53703. if (has_result()) {
  53704. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  53705. }
  53706. // optional int32 type = 3;
  53707. if (has_type()) {
  53708. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  53709. }
  53710. // optional int32 count = 4;
  53711. if (has_count()) {
  53712. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  53713. }
  53714. // repeated int32 rewardid = 5;
  53715. for (int i = 0; i < this->rewardid_size(); i++) {
  53716. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  53717. 5, this->rewardid(i), output);
  53718. }
  53719. // repeated int32 rewardidEx = 6;
  53720. for (int i = 0; i < this->rewardidex_size(); i++) {
  53721. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  53722. 6, this->rewardidex(i), output);
  53723. }
  53724. if (!unknown_fields().empty()) {
  53725. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  53726. unknown_fields(), output);
  53727. }
  53728. }
  53729. ::google::protobuf::uint8* packetw2c_double_eleven_lottery_result::SerializeWithCachedSizesToArray(
  53730. ::google::protobuf::uint8* target) const {
  53731. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_lottery_result];
  53732. if (has_packet_id()) {
  53733. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  53734. 1, this->packet_id(), target);
  53735. }
  53736. // optional int32 result = 2;
  53737. if (has_result()) {
  53738. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  53739. }
  53740. // optional int32 type = 3;
  53741. if (has_type()) {
  53742. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  53743. }
  53744. // optional int32 count = 4;
  53745. if (has_count()) {
  53746. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  53747. }
  53748. // repeated int32 rewardid = 5;
  53749. for (int i = 0; i < this->rewardid_size(); i++) {
  53750. target = ::google::protobuf::internal::WireFormatLite::
  53751. WriteInt32ToArray(5, this->rewardid(i), target);
  53752. }
  53753. // repeated int32 rewardidEx = 6;
  53754. for (int i = 0; i < this->rewardidex_size(); i++) {
  53755. target = ::google::protobuf::internal::WireFormatLite::
  53756. WriteInt32ToArray(6, this->rewardidex(i), target);
  53757. }
  53758. if (!unknown_fields().empty()) {
  53759. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  53760. unknown_fields(), target);
  53761. }
  53762. return target;
  53763. }
  53764. int packetw2c_double_eleven_lottery_result::ByteSize() const {
  53765. int total_size = 0;
  53766. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53767. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_lottery_result];
  53768. if (has_packet_id()) {
  53769. total_size += 1 +
  53770. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  53771. }
  53772. // optional int32 result = 2;
  53773. if (has_result()) {
  53774. total_size += 1 +
  53775. ::google::protobuf::internal::WireFormatLite::Int32Size(
  53776. this->result());
  53777. }
  53778. // optional int32 type = 3;
  53779. if (has_type()) {
  53780. total_size += 1 +
  53781. ::google::protobuf::internal::WireFormatLite::Int32Size(
  53782. this->type());
  53783. }
  53784. // optional int32 count = 4;
  53785. if (has_count()) {
  53786. total_size += 1 +
  53787. ::google::protobuf::internal::WireFormatLite::Int32Size(
  53788. this->count());
  53789. }
  53790. }
  53791. // repeated int32 rewardid = 5;
  53792. {
  53793. int data_size = 0;
  53794. for (int i = 0; i < this->rewardid_size(); i++) {
  53795. data_size += ::google::protobuf::internal::WireFormatLite::
  53796. Int32Size(this->rewardid(i));
  53797. }
  53798. total_size += 1 * this->rewardid_size() + data_size;
  53799. }
  53800. // repeated int32 rewardidEx = 6;
  53801. {
  53802. int data_size = 0;
  53803. for (int i = 0; i < this->rewardidex_size(); i++) {
  53804. data_size += ::google::protobuf::internal::WireFormatLite::
  53805. Int32Size(this->rewardidex(i));
  53806. }
  53807. total_size += 1 * this->rewardidex_size() + data_size;
  53808. }
  53809. if (!unknown_fields().empty()) {
  53810. total_size +=
  53811. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  53812. unknown_fields());
  53813. }
  53814. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  53815. _cached_size_ = total_size;
  53816. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  53817. return total_size;
  53818. }
  53819. void packetw2c_double_eleven_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  53820. GOOGLE_CHECK_NE(&from, this);
  53821. const packetw2c_double_eleven_lottery_result* source =
  53822. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_double_eleven_lottery_result*>(
  53823. &from);
  53824. if (source == NULL) {
  53825. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  53826. } else {
  53827. MergeFrom(*source);
  53828. }
  53829. }
  53830. void packetw2c_double_eleven_lottery_result::MergeFrom(const packetw2c_double_eleven_lottery_result& from) {
  53831. GOOGLE_CHECK_NE(&from, this);
  53832. rewardid_.MergeFrom(from.rewardid_);
  53833. rewardidex_.MergeFrom(from.rewardidex_);
  53834. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53835. if (from.has_packet_id()) {
  53836. set_packet_id(from.packet_id());
  53837. }
  53838. if (from.has_result()) {
  53839. set_result(from.result());
  53840. }
  53841. if (from.has_type()) {
  53842. set_type(from.type());
  53843. }
  53844. if (from.has_count()) {
  53845. set_count(from.count());
  53846. }
  53847. }
  53848. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  53849. }
  53850. void packetw2c_double_eleven_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  53851. if (&from == this) return;
  53852. Clear();
  53853. MergeFrom(from);
  53854. }
  53855. void packetw2c_double_eleven_lottery_result::CopyFrom(const packetw2c_double_eleven_lottery_result& from) {
  53856. if (&from == this) return;
  53857. Clear();
  53858. MergeFrom(from);
  53859. }
  53860. bool packetw2c_double_eleven_lottery_result::IsInitialized() const {
  53861. return true;
  53862. }
  53863. void packetw2c_double_eleven_lottery_result::Swap(packetw2c_double_eleven_lottery_result* other) {
  53864. if (other != this) {
  53865. std::swap(packet_id_, other->packet_id_);
  53866. std::swap(result_, other->result_);
  53867. std::swap(type_, other->type_);
  53868. std::swap(count_, other->count_);
  53869. rewardid_.Swap(&other->rewardid_);
  53870. rewardidex_.Swap(&other->rewardidex_);
  53871. std::swap(_has_bits_[0], other->_has_bits_[0]);
  53872. _unknown_fields_.Swap(&other->_unknown_fields_);
  53873. std::swap(_cached_size_, other->_cached_size_);
  53874. }
  53875. }
  53876. ::google::protobuf::Metadata packetw2c_double_eleven_lottery_result::GetMetadata() const {
  53877. protobuf_AssignDescriptorsOnce();
  53878. ::google::protobuf::Metadata metadata;
  53879. metadata.descriptor = packetw2c_double_eleven_lottery_result_descriptor_;
  53880. metadata.reflection = packetw2c_double_eleven_lottery_result_reflection_;
  53881. return metadata;
  53882. }
  53883. // ===================================================================
  53884. #ifndef _MSC_VER
  53885. const int packetc2w_receive_double_eleven_recharge_reward::kPacketIdFieldNumber;
  53886. const int packetc2w_receive_double_eleven_recharge_reward::kIndexFieldNumber;
  53887. #endif // !_MSC_VER
  53888. packetc2w_receive_double_eleven_recharge_reward::packetc2w_receive_double_eleven_recharge_reward()
  53889. : ::google::protobuf::Message() {
  53890. SharedCtor();
  53891. }
  53892. void packetc2w_receive_double_eleven_recharge_reward::InitAsDefaultInstance() {
  53893. }
  53894. packetc2w_receive_double_eleven_recharge_reward::packetc2w_receive_double_eleven_recharge_reward(const packetc2w_receive_double_eleven_recharge_reward& from)
  53895. : ::google::protobuf::Message() {
  53896. SharedCtor();
  53897. MergeFrom(from);
  53898. }
  53899. void packetc2w_receive_double_eleven_recharge_reward::SharedCtor() {
  53900. _cached_size_ = 0;
  53901. packet_id_ = 5224;
  53902. index_ = 0;
  53903. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  53904. }
  53905. packetc2w_receive_double_eleven_recharge_reward::~packetc2w_receive_double_eleven_recharge_reward() {
  53906. SharedDtor();
  53907. }
  53908. void packetc2w_receive_double_eleven_recharge_reward::SharedDtor() {
  53909. if (this != default_instance_) {
  53910. }
  53911. }
  53912. void packetc2w_receive_double_eleven_recharge_reward::SetCachedSize(int size) const {
  53913. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  53914. _cached_size_ = size;
  53915. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  53916. }
  53917. const ::google::protobuf::Descriptor* packetc2w_receive_double_eleven_recharge_reward::descriptor() {
  53918. protobuf_AssignDescriptorsOnce();
  53919. return packetc2w_receive_double_eleven_recharge_reward_descriptor_;
  53920. }
  53921. const packetc2w_receive_double_eleven_recharge_reward& packetc2w_receive_double_eleven_recharge_reward::default_instance() {
  53922. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  53923. return *default_instance_;
  53924. }
  53925. packetc2w_receive_double_eleven_recharge_reward* packetc2w_receive_double_eleven_recharge_reward::default_instance_ = NULL;
  53926. packetc2w_receive_double_eleven_recharge_reward* packetc2w_receive_double_eleven_recharge_reward::New() const {
  53927. return new packetc2w_receive_double_eleven_recharge_reward;
  53928. }
  53929. void packetc2w_receive_double_eleven_recharge_reward::Clear() {
  53930. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  53931. packet_id_ = 5224;
  53932. index_ = 0;
  53933. }
  53934. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  53935. mutable_unknown_fields()->Clear();
  53936. }
  53937. bool packetc2w_receive_double_eleven_recharge_reward::MergePartialFromCodedStream(
  53938. ::google::protobuf::io::CodedInputStream* input) {
  53939. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  53940. ::google::protobuf::uint32 tag;
  53941. while ((tag = input->ReadTag()) != 0) {
  53942. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  53943. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_double_eleven_recharge_reward];
  53944. case 1: {
  53945. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53946. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53947. int value;
  53948. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53949. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  53950. input, &value)));
  53951. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  53952. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  53953. } else {
  53954. mutable_unknown_fields()->AddVarint(1, value);
  53955. }
  53956. } else {
  53957. goto handle_uninterpreted;
  53958. }
  53959. if (input->ExpectTag(16)) goto parse_index;
  53960. break;
  53961. }
  53962. // optional int32 index = 2;
  53963. case 2: {
  53964. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53965. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  53966. parse_index:
  53967. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  53968. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  53969. input, &index_)));
  53970. set_has_index();
  53971. } else {
  53972. goto handle_uninterpreted;
  53973. }
  53974. if (input->ExpectAtEnd()) return true;
  53975. break;
  53976. }
  53977. default: {
  53978. handle_uninterpreted:
  53979. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  53980. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  53981. return true;
  53982. }
  53983. DO_(::google::protobuf::internal::WireFormat::SkipField(
  53984. input, tag, mutable_unknown_fields()));
  53985. break;
  53986. }
  53987. }
  53988. }
  53989. return true;
  53990. #undef DO_
  53991. }
  53992. void packetc2w_receive_double_eleven_recharge_reward::SerializeWithCachedSizes(
  53993. ::google::protobuf::io::CodedOutputStream* output) const {
  53994. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_double_eleven_recharge_reward];
  53995. if (has_packet_id()) {
  53996. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  53997. 1, this->packet_id(), output);
  53998. }
  53999. // optional int32 index = 2;
  54000. if (has_index()) {
  54001. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  54002. }
  54003. if (!unknown_fields().empty()) {
  54004. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  54005. unknown_fields(), output);
  54006. }
  54007. }
  54008. ::google::protobuf::uint8* packetc2w_receive_double_eleven_recharge_reward::SerializeWithCachedSizesToArray(
  54009. ::google::protobuf::uint8* target) const {
  54010. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_double_eleven_recharge_reward];
  54011. if (has_packet_id()) {
  54012. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  54013. 1, this->packet_id(), target);
  54014. }
  54015. // optional int32 index = 2;
  54016. if (has_index()) {
  54017. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  54018. }
  54019. if (!unknown_fields().empty()) {
  54020. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  54021. unknown_fields(), target);
  54022. }
  54023. return target;
  54024. }
  54025. int packetc2w_receive_double_eleven_recharge_reward::ByteSize() const {
  54026. int total_size = 0;
  54027. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54028. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_double_eleven_recharge_reward];
  54029. if (has_packet_id()) {
  54030. total_size += 1 +
  54031. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  54032. }
  54033. // optional int32 index = 2;
  54034. if (has_index()) {
  54035. total_size += 1 +
  54036. ::google::protobuf::internal::WireFormatLite::Int32Size(
  54037. this->index());
  54038. }
  54039. }
  54040. if (!unknown_fields().empty()) {
  54041. total_size +=
  54042. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  54043. unknown_fields());
  54044. }
  54045. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54046. _cached_size_ = total_size;
  54047. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54048. return total_size;
  54049. }
  54050. void packetc2w_receive_double_eleven_recharge_reward::MergeFrom(const ::google::protobuf::Message& from) {
  54051. GOOGLE_CHECK_NE(&from, this);
  54052. const packetc2w_receive_double_eleven_recharge_reward* source =
  54053. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_double_eleven_recharge_reward*>(
  54054. &from);
  54055. if (source == NULL) {
  54056. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  54057. } else {
  54058. MergeFrom(*source);
  54059. }
  54060. }
  54061. void packetc2w_receive_double_eleven_recharge_reward::MergeFrom(const packetc2w_receive_double_eleven_recharge_reward& from) {
  54062. GOOGLE_CHECK_NE(&from, this);
  54063. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54064. if (from.has_packet_id()) {
  54065. set_packet_id(from.packet_id());
  54066. }
  54067. if (from.has_index()) {
  54068. set_index(from.index());
  54069. }
  54070. }
  54071. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  54072. }
  54073. void packetc2w_receive_double_eleven_recharge_reward::CopyFrom(const ::google::protobuf::Message& from) {
  54074. if (&from == this) return;
  54075. Clear();
  54076. MergeFrom(from);
  54077. }
  54078. void packetc2w_receive_double_eleven_recharge_reward::CopyFrom(const packetc2w_receive_double_eleven_recharge_reward& from) {
  54079. if (&from == this) return;
  54080. Clear();
  54081. MergeFrom(from);
  54082. }
  54083. bool packetc2w_receive_double_eleven_recharge_reward::IsInitialized() const {
  54084. return true;
  54085. }
  54086. void packetc2w_receive_double_eleven_recharge_reward::Swap(packetc2w_receive_double_eleven_recharge_reward* other) {
  54087. if (other != this) {
  54088. std::swap(packet_id_, other->packet_id_);
  54089. std::swap(index_, other->index_);
  54090. std::swap(_has_bits_[0], other->_has_bits_[0]);
  54091. _unknown_fields_.Swap(&other->_unknown_fields_);
  54092. std::swap(_cached_size_, other->_cached_size_);
  54093. }
  54094. }
  54095. ::google::protobuf::Metadata packetc2w_receive_double_eleven_recharge_reward::GetMetadata() const {
  54096. protobuf_AssignDescriptorsOnce();
  54097. ::google::protobuf::Metadata metadata;
  54098. metadata.descriptor = packetc2w_receive_double_eleven_recharge_reward_descriptor_;
  54099. metadata.reflection = packetc2w_receive_double_eleven_recharge_reward_reflection_;
  54100. return metadata;
  54101. }
  54102. // ===================================================================
  54103. #ifndef _MSC_VER
  54104. const int packetw2c_receive_double_eleven_recharge_reward_result::kPacketIdFieldNumber;
  54105. const int packetw2c_receive_double_eleven_recharge_reward_result::kResultFieldNumber;
  54106. const int packetw2c_receive_double_eleven_recharge_reward_result::kIndexFieldNumber;
  54107. #endif // !_MSC_VER
  54108. packetw2c_receive_double_eleven_recharge_reward_result::packetw2c_receive_double_eleven_recharge_reward_result()
  54109. : ::google::protobuf::Message() {
  54110. SharedCtor();
  54111. }
  54112. void packetw2c_receive_double_eleven_recharge_reward_result::InitAsDefaultInstance() {
  54113. }
  54114. packetw2c_receive_double_eleven_recharge_reward_result::packetw2c_receive_double_eleven_recharge_reward_result(const packetw2c_receive_double_eleven_recharge_reward_result& from)
  54115. : ::google::protobuf::Message() {
  54116. SharedCtor();
  54117. MergeFrom(from);
  54118. }
  54119. void packetw2c_receive_double_eleven_recharge_reward_result::SharedCtor() {
  54120. _cached_size_ = 0;
  54121. packet_id_ = 7764;
  54122. result_ = 0;
  54123. index_ = 0;
  54124. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  54125. }
  54126. packetw2c_receive_double_eleven_recharge_reward_result::~packetw2c_receive_double_eleven_recharge_reward_result() {
  54127. SharedDtor();
  54128. }
  54129. void packetw2c_receive_double_eleven_recharge_reward_result::SharedDtor() {
  54130. if (this != default_instance_) {
  54131. }
  54132. }
  54133. void packetw2c_receive_double_eleven_recharge_reward_result::SetCachedSize(int size) const {
  54134. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54135. _cached_size_ = size;
  54136. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54137. }
  54138. const ::google::protobuf::Descriptor* packetw2c_receive_double_eleven_recharge_reward_result::descriptor() {
  54139. protobuf_AssignDescriptorsOnce();
  54140. return packetw2c_receive_double_eleven_recharge_reward_result_descriptor_;
  54141. }
  54142. const packetw2c_receive_double_eleven_recharge_reward_result& packetw2c_receive_double_eleven_recharge_reward_result::default_instance() {
  54143. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  54144. return *default_instance_;
  54145. }
  54146. packetw2c_receive_double_eleven_recharge_reward_result* packetw2c_receive_double_eleven_recharge_reward_result::default_instance_ = NULL;
  54147. packetw2c_receive_double_eleven_recharge_reward_result* packetw2c_receive_double_eleven_recharge_reward_result::New() const {
  54148. return new packetw2c_receive_double_eleven_recharge_reward_result;
  54149. }
  54150. void packetw2c_receive_double_eleven_recharge_reward_result::Clear() {
  54151. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54152. packet_id_ = 7764;
  54153. result_ = 0;
  54154. index_ = 0;
  54155. }
  54156. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  54157. mutable_unknown_fields()->Clear();
  54158. }
  54159. bool packetw2c_receive_double_eleven_recharge_reward_result::MergePartialFromCodedStream(
  54160. ::google::protobuf::io::CodedInputStream* input) {
  54161. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  54162. ::google::protobuf::uint32 tag;
  54163. while ((tag = input->ReadTag()) != 0) {
  54164. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  54165. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_double_eleven_recharge_reward_result];
  54166. case 1: {
  54167. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54168. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54169. int value;
  54170. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  54171. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  54172. input, &value)));
  54173. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  54174. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  54175. } else {
  54176. mutable_unknown_fields()->AddVarint(1, value);
  54177. }
  54178. } else {
  54179. goto handle_uninterpreted;
  54180. }
  54181. if (input->ExpectTag(16)) goto parse_result;
  54182. break;
  54183. }
  54184. // optional int32 result = 2;
  54185. case 2: {
  54186. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54187. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54188. parse_result:
  54189. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  54190. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  54191. input, &result_)));
  54192. set_has_result();
  54193. } else {
  54194. goto handle_uninterpreted;
  54195. }
  54196. if (input->ExpectTag(24)) goto parse_index;
  54197. break;
  54198. }
  54199. // optional int32 index = 3;
  54200. case 3: {
  54201. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54202. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54203. parse_index:
  54204. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  54205. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  54206. input, &index_)));
  54207. set_has_index();
  54208. } else {
  54209. goto handle_uninterpreted;
  54210. }
  54211. if (input->ExpectAtEnd()) return true;
  54212. break;
  54213. }
  54214. default: {
  54215. handle_uninterpreted:
  54216. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54217. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  54218. return true;
  54219. }
  54220. DO_(::google::protobuf::internal::WireFormat::SkipField(
  54221. input, tag, mutable_unknown_fields()));
  54222. break;
  54223. }
  54224. }
  54225. }
  54226. return true;
  54227. #undef DO_
  54228. }
  54229. void packetw2c_receive_double_eleven_recharge_reward_result::SerializeWithCachedSizes(
  54230. ::google::protobuf::io::CodedOutputStream* output) const {
  54231. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_double_eleven_recharge_reward_result];
  54232. if (has_packet_id()) {
  54233. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  54234. 1, this->packet_id(), output);
  54235. }
  54236. // optional int32 result = 2;
  54237. if (has_result()) {
  54238. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  54239. }
  54240. // optional int32 index = 3;
  54241. if (has_index()) {
  54242. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  54243. }
  54244. if (!unknown_fields().empty()) {
  54245. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  54246. unknown_fields(), output);
  54247. }
  54248. }
  54249. ::google::protobuf::uint8* packetw2c_receive_double_eleven_recharge_reward_result::SerializeWithCachedSizesToArray(
  54250. ::google::protobuf::uint8* target) const {
  54251. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_double_eleven_recharge_reward_result];
  54252. if (has_packet_id()) {
  54253. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  54254. 1, this->packet_id(), target);
  54255. }
  54256. // optional int32 result = 2;
  54257. if (has_result()) {
  54258. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  54259. }
  54260. // optional int32 index = 3;
  54261. if (has_index()) {
  54262. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  54263. }
  54264. if (!unknown_fields().empty()) {
  54265. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  54266. unknown_fields(), target);
  54267. }
  54268. return target;
  54269. }
  54270. int packetw2c_receive_double_eleven_recharge_reward_result::ByteSize() const {
  54271. int total_size = 0;
  54272. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54273. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_double_eleven_recharge_reward_result];
  54274. if (has_packet_id()) {
  54275. total_size += 1 +
  54276. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  54277. }
  54278. // optional int32 result = 2;
  54279. if (has_result()) {
  54280. total_size += 1 +
  54281. ::google::protobuf::internal::WireFormatLite::Int32Size(
  54282. this->result());
  54283. }
  54284. // optional int32 index = 3;
  54285. if (has_index()) {
  54286. total_size += 1 +
  54287. ::google::protobuf::internal::WireFormatLite::Int32Size(
  54288. this->index());
  54289. }
  54290. }
  54291. if (!unknown_fields().empty()) {
  54292. total_size +=
  54293. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  54294. unknown_fields());
  54295. }
  54296. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54297. _cached_size_ = total_size;
  54298. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54299. return total_size;
  54300. }
  54301. void packetw2c_receive_double_eleven_recharge_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  54302. GOOGLE_CHECK_NE(&from, this);
  54303. const packetw2c_receive_double_eleven_recharge_reward_result* source =
  54304. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_double_eleven_recharge_reward_result*>(
  54305. &from);
  54306. if (source == NULL) {
  54307. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  54308. } else {
  54309. MergeFrom(*source);
  54310. }
  54311. }
  54312. void packetw2c_receive_double_eleven_recharge_reward_result::MergeFrom(const packetw2c_receive_double_eleven_recharge_reward_result& from) {
  54313. GOOGLE_CHECK_NE(&from, this);
  54314. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54315. if (from.has_packet_id()) {
  54316. set_packet_id(from.packet_id());
  54317. }
  54318. if (from.has_result()) {
  54319. set_result(from.result());
  54320. }
  54321. if (from.has_index()) {
  54322. set_index(from.index());
  54323. }
  54324. }
  54325. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  54326. }
  54327. void packetw2c_receive_double_eleven_recharge_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  54328. if (&from == this) return;
  54329. Clear();
  54330. MergeFrom(from);
  54331. }
  54332. void packetw2c_receive_double_eleven_recharge_reward_result::CopyFrom(const packetw2c_receive_double_eleven_recharge_reward_result& from) {
  54333. if (&from == this) return;
  54334. Clear();
  54335. MergeFrom(from);
  54336. }
  54337. bool packetw2c_receive_double_eleven_recharge_reward_result::IsInitialized() const {
  54338. return true;
  54339. }
  54340. void packetw2c_receive_double_eleven_recharge_reward_result::Swap(packetw2c_receive_double_eleven_recharge_reward_result* other) {
  54341. if (other != this) {
  54342. std::swap(packet_id_, other->packet_id_);
  54343. std::swap(result_, other->result_);
  54344. std::swap(index_, other->index_);
  54345. std::swap(_has_bits_[0], other->_has_bits_[0]);
  54346. _unknown_fields_.Swap(&other->_unknown_fields_);
  54347. std::swap(_cached_size_, other->_cached_size_);
  54348. }
  54349. }
  54350. ::google::protobuf::Metadata packetw2c_receive_double_eleven_recharge_reward_result::GetMetadata() const {
  54351. protobuf_AssignDescriptorsOnce();
  54352. ::google::protobuf::Metadata metadata;
  54353. metadata.descriptor = packetw2c_receive_double_eleven_recharge_reward_result_descriptor_;
  54354. metadata.reflection = packetw2c_receive_double_eleven_recharge_reward_result_reflection_;
  54355. return metadata;
  54356. }
  54357. // ===================================================================
  54358. #ifndef _MSC_VER
  54359. const int packetc2w_syn_double_eleven_diamond_gift_count::kPacketIdFieldNumber;
  54360. #endif // !_MSC_VER
  54361. packetc2w_syn_double_eleven_diamond_gift_count::packetc2w_syn_double_eleven_diamond_gift_count()
  54362. : ::google::protobuf::Message() {
  54363. SharedCtor();
  54364. }
  54365. void packetc2w_syn_double_eleven_diamond_gift_count::InitAsDefaultInstance() {
  54366. }
  54367. packetc2w_syn_double_eleven_diamond_gift_count::packetc2w_syn_double_eleven_diamond_gift_count(const packetc2w_syn_double_eleven_diamond_gift_count& from)
  54368. : ::google::protobuf::Message() {
  54369. SharedCtor();
  54370. MergeFrom(from);
  54371. }
  54372. void packetc2w_syn_double_eleven_diamond_gift_count::SharedCtor() {
  54373. _cached_size_ = 0;
  54374. packet_id_ = 5225;
  54375. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  54376. }
  54377. packetc2w_syn_double_eleven_diamond_gift_count::~packetc2w_syn_double_eleven_diamond_gift_count() {
  54378. SharedDtor();
  54379. }
  54380. void packetc2w_syn_double_eleven_diamond_gift_count::SharedDtor() {
  54381. if (this != default_instance_) {
  54382. }
  54383. }
  54384. void packetc2w_syn_double_eleven_diamond_gift_count::SetCachedSize(int size) const {
  54385. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54386. _cached_size_ = size;
  54387. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54388. }
  54389. const ::google::protobuf::Descriptor* packetc2w_syn_double_eleven_diamond_gift_count::descriptor() {
  54390. protobuf_AssignDescriptorsOnce();
  54391. return packetc2w_syn_double_eleven_diamond_gift_count_descriptor_;
  54392. }
  54393. const packetc2w_syn_double_eleven_diamond_gift_count& packetc2w_syn_double_eleven_diamond_gift_count::default_instance() {
  54394. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  54395. return *default_instance_;
  54396. }
  54397. packetc2w_syn_double_eleven_diamond_gift_count* packetc2w_syn_double_eleven_diamond_gift_count::default_instance_ = NULL;
  54398. packetc2w_syn_double_eleven_diamond_gift_count* packetc2w_syn_double_eleven_diamond_gift_count::New() const {
  54399. return new packetc2w_syn_double_eleven_diamond_gift_count;
  54400. }
  54401. void packetc2w_syn_double_eleven_diamond_gift_count::Clear() {
  54402. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54403. packet_id_ = 5225;
  54404. }
  54405. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  54406. mutable_unknown_fields()->Clear();
  54407. }
  54408. bool packetc2w_syn_double_eleven_diamond_gift_count::MergePartialFromCodedStream(
  54409. ::google::protobuf::io::CodedInputStream* input) {
  54410. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  54411. ::google::protobuf::uint32 tag;
  54412. while ((tag = input->ReadTag()) != 0) {
  54413. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  54414. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
  54415. case 1: {
  54416. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54417. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54418. int value;
  54419. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  54420. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  54421. input, &value)));
  54422. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  54423. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  54424. } else {
  54425. mutable_unknown_fields()->AddVarint(1, value);
  54426. }
  54427. } else {
  54428. goto handle_uninterpreted;
  54429. }
  54430. if (input->ExpectAtEnd()) return true;
  54431. break;
  54432. }
  54433. default: {
  54434. handle_uninterpreted:
  54435. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54436. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  54437. return true;
  54438. }
  54439. DO_(::google::protobuf::internal::WireFormat::SkipField(
  54440. input, tag, mutable_unknown_fields()));
  54441. break;
  54442. }
  54443. }
  54444. }
  54445. return true;
  54446. #undef DO_
  54447. }
  54448. void packetc2w_syn_double_eleven_diamond_gift_count::SerializeWithCachedSizes(
  54449. ::google::protobuf::io::CodedOutputStream* output) const {
  54450. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
  54451. if (has_packet_id()) {
  54452. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  54453. 1, this->packet_id(), output);
  54454. }
  54455. if (!unknown_fields().empty()) {
  54456. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  54457. unknown_fields(), output);
  54458. }
  54459. }
  54460. ::google::protobuf::uint8* packetc2w_syn_double_eleven_diamond_gift_count::SerializeWithCachedSizesToArray(
  54461. ::google::protobuf::uint8* target) const {
  54462. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
  54463. if (has_packet_id()) {
  54464. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  54465. 1, this->packet_id(), target);
  54466. }
  54467. if (!unknown_fields().empty()) {
  54468. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  54469. unknown_fields(), target);
  54470. }
  54471. return target;
  54472. }
  54473. int packetc2w_syn_double_eleven_diamond_gift_count::ByteSize() const {
  54474. int total_size = 0;
  54475. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54476. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
  54477. if (has_packet_id()) {
  54478. total_size += 1 +
  54479. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  54480. }
  54481. }
  54482. if (!unknown_fields().empty()) {
  54483. total_size +=
  54484. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  54485. unknown_fields());
  54486. }
  54487. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54488. _cached_size_ = total_size;
  54489. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54490. return total_size;
  54491. }
  54492. void packetc2w_syn_double_eleven_diamond_gift_count::MergeFrom(const ::google::protobuf::Message& from) {
  54493. GOOGLE_CHECK_NE(&from, this);
  54494. const packetc2w_syn_double_eleven_diamond_gift_count* source =
  54495. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_syn_double_eleven_diamond_gift_count*>(
  54496. &from);
  54497. if (source == NULL) {
  54498. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  54499. } else {
  54500. MergeFrom(*source);
  54501. }
  54502. }
  54503. void packetc2w_syn_double_eleven_diamond_gift_count::MergeFrom(const packetc2w_syn_double_eleven_diamond_gift_count& from) {
  54504. GOOGLE_CHECK_NE(&from, this);
  54505. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54506. if (from.has_packet_id()) {
  54507. set_packet_id(from.packet_id());
  54508. }
  54509. }
  54510. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  54511. }
  54512. void packetc2w_syn_double_eleven_diamond_gift_count::CopyFrom(const ::google::protobuf::Message& from) {
  54513. if (&from == this) return;
  54514. Clear();
  54515. MergeFrom(from);
  54516. }
  54517. void packetc2w_syn_double_eleven_diamond_gift_count::CopyFrom(const packetc2w_syn_double_eleven_diamond_gift_count& from) {
  54518. if (&from == this) return;
  54519. Clear();
  54520. MergeFrom(from);
  54521. }
  54522. bool packetc2w_syn_double_eleven_diamond_gift_count::IsInitialized() const {
  54523. return true;
  54524. }
  54525. void packetc2w_syn_double_eleven_diamond_gift_count::Swap(packetc2w_syn_double_eleven_diamond_gift_count* other) {
  54526. if (other != this) {
  54527. std::swap(packet_id_, other->packet_id_);
  54528. std::swap(_has_bits_[0], other->_has_bits_[0]);
  54529. _unknown_fields_.Swap(&other->_unknown_fields_);
  54530. std::swap(_cached_size_, other->_cached_size_);
  54531. }
  54532. }
  54533. ::google::protobuf::Metadata packetc2w_syn_double_eleven_diamond_gift_count::GetMetadata() const {
  54534. protobuf_AssignDescriptorsOnce();
  54535. ::google::protobuf::Metadata metadata;
  54536. metadata.descriptor = packetc2w_syn_double_eleven_diamond_gift_count_descriptor_;
  54537. metadata.reflection = packetc2w_syn_double_eleven_diamond_gift_count_reflection_;
  54538. return metadata;
  54539. }
  54540. // ===================================================================
  54541. #ifndef _MSC_VER
  54542. const int packetw2c_syn_double_eleven_diamond_gift_count_result::kPacketIdFieldNumber;
  54543. const int packetw2c_syn_double_eleven_diamond_gift_count_result::kLeftCountFieldNumber;
  54544. const int packetw2c_syn_double_eleven_diamond_gift_count_result::kCanbuyFieldNumber;
  54545. #endif // !_MSC_VER
  54546. packetw2c_syn_double_eleven_diamond_gift_count_result::packetw2c_syn_double_eleven_diamond_gift_count_result()
  54547. : ::google::protobuf::Message() {
  54548. SharedCtor();
  54549. }
  54550. void packetw2c_syn_double_eleven_diamond_gift_count_result::InitAsDefaultInstance() {
  54551. }
  54552. packetw2c_syn_double_eleven_diamond_gift_count_result::packetw2c_syn_double_eleven_diamond_gift_count_result(const packetw2c_syn_double_eleven_diamond_gift_count_result& from)
  54553. : ::google::protobuf::Message() {
  54554. SharedCtor();
  54555. MergeFrom(from);
  54556. }
  54557. void packetw2c_syn_double_eleven_diamond_gift_count_result::SharedCtor() {
  54558. _cached_size_ = 0;
  54559. packet_id_ = 7765;
  54560. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  54561. }
  54562. packetw2c_syn_double_eleven_diamond_gift_count_result::~packetw2c_syn_double_eleven_diamond_gift_count_result() {
  54563. SharedDtor();
  54564. }
  54565. void packetw2c_syn_double_eleven_diamond_gift_count_result::SharedDtor() {
  54566. if (this != default_instance_) {
  54567. }
  54568. }
  54569. void packetw2c_syn_double_eleven_diamond_gift_count_result::SetCachedSize(int size) const {
  54570. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54571. _cached_size_ = size;
  54572. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54573. }
  54574. const ::google::protobuf::Descriptor* packetw2c_syn_double_eleven_diamond_gift_count_result::descriptor() {
  54575. protobuf_AssignDescriptorsOnce();
  54576. return packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_;
  54577. }
  54578. const packetw2c_syn_double_eleven_diamond_gift_count_result& packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance() {
  54579. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  54580. return *default_instance_;
  54581. }
  54582. packetw2c_syn_double_eleven_diamond_gift_count_result* packetw2c_syn_double_eleven_diamond_gift_count_result::default_instance_ = NULL;
  54583. packetw2c_syn_double_eleven_diamond_gift_count_result* packetw2c_syn_double_eleven_diamond_gift_count_result::New() const {
  54584. return new packetw2c_syn_double_eleven_diamond_gift_count_result;
  54585. }
  54586. void packetw2c_syn_double_eleven_diamond_gift_count_result::Clear() {
  54587. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54588. packet_id_ = 7765;
  54589. }
  54590. leftcount_.Clear();
  54591. canbuy_.Clear();
  54592. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  54593. mutable_unknown_fields()->Clear();
  54594. }
  54595. bool packetw2c_syn_double_eleven_diamond_gift_count_result::MergePartialFromCodedStream(
  54596. ::google::protobuf::io::CodedInputStream* input) {
  54597. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  54598. ::google::protobuf::uint32 tag;
  54599. while ((tag = input->ReadTag()) != 0) {
  54600. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  54601. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result];
  54602. case 1: {
  54603. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54604. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54605. int value;
  54606. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  54607. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  54608. input, &value)));
  54609. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  54610. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  54611. } else {
  54612. mutable_unknown_fields()->AddVarint(1, value);
  54613. }
  54614. } else {
  54615. goto handle_uninterpreted;
  54616. }
  54617. if (input->ExpectTag(16)) goto parse_leftCount;
  54618. break;
  54619. }
  54620. // repeated int32 leftCount = 2;
  54621. case 2: {
  54622. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54623. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54624. parse_leftCount:
  54625. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  54626. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  54627. 1, 16, input, this->mutable_leftcount())));
  54628. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  54629. == ::google::protobuf::internal::WireFormatLite::
  54630. WIRETYPE_LENGTH_DELIMITED) {
  54631. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  54632. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  54633. input, this->mutable_leftcount())));
  54634. } else {
  54635. goto handle_uninterpreted;
  54636. }
  54637. if (input->ExpectTag(16)) goto parse_leftCount;
  54638. if (input->ExpectTag(24)) goto parse_canbuy;
  54639. break;
  54640. }
  54641. // repeated bool canbuy = 3;
  54642. case 3: {
  54643. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54644. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54645. parse_canbuy:
  54646. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  54647. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  54648. 1, 24, input, this->mutable_canbuy())));
  54649. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  54650. == ::google::protobuf::internal::WireFormatLite::
  54651. WIRETYPE_LENGTH_DELIMITED) {
  54652. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  54653. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  54654. input, this->mutable_canbuy())));
  54655. } else {
  54656. goto handle_uninterpreted;
  54657. }
  54658. if (input->ExpectTag(24)) goto parse_canbuy;
  54659. if (input->ExpectAtEnd()) return true;
  54660. break;
  54661. }
  54662. default: {
  54663. handle_uninterpreted:
  54664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  54666. return true;
  54667. }
  54668. DO_(::google::protobuf::internal::WireFormat::SkipField(
  54669. input, tag, mutable_unknown_fields()));
  54670. break;
  54671. }
  54672. }
  54673. }
  54674. return true;
  54675. #undef DO_
  54676. }
  54677. void packetw2c_syn_double_eleven_diamond_gift_count_result::SerializeWithCachedSizes(
  54678. ::google::protobuf::io::CodedOutputStream* output) const {
  54679. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result];
  54680. if (has_packet_id()) {
  54681. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  54682. 1, this->packet_id(), output);
  54683. }
  54684. // repeated int32 leftCount = 2;
  54685. for (int i = 0; i < this->leftcount_size(); i++) {
  54686. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  54687. 2, this->leftcount(i), output);
  54688. }
  54689. // repeated bool canbuy = 3;
  54690. for (int i = 0; i < this->canbuy_size(); i++) {
  54691. ::google::protobuf::internal::WireFormatLite::WriteBool(
  54692. 3, this->canbuy(i), output);
  54693. }
  54694. if (!unknown_fields().empty()) {
  54695. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  54696. unknown_fields(), output);
  54697. }
  54698. }
  54699. ::google::protobuf::uint8* packetw2c_syn_double_eleven_diamond_gift_count_result::SerializeWithCachedSizesToArray(
  54700. ::google::protobuf::uint8* target) const {
  54701. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result];
  54702. if (has_packet_id()) {
  54703. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  54704. 1, this->packet_id(), target);
  54705. }
  54706. // repeated int32 leftCount = 2;
  54707. for (int i = 0; i < this->leftcount_size(); i++) {
  54708. target = ::google::protobuf::internal::WireFormatLite::
  54709. WriteInt32ToArray(2, this->leftcount(i), target);
  54710. }
  54711. // repeated bool canbuy = 3;
  54712. for (int i = 0; i < this->canbuy_size(); i++) {
  54713. target = ::google::protobuf::internal::WireFormatLite::
  54714. WriteBoolToArray(3, this->canbuy(i), target);
  54715. }
  54716. if (!unknown_fields().empty()) {
  54717. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  54718. unknown_fields(), target);
  54719. }
  54720. return target;
  54721. }
  54722. int packetw2c_syn_double_eleven_diamond_gift_count_result::ByteSize() const {
  54723. int total_size = 0;
  54724. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54725. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result];
  54726. if (has_packet_id()) {
  54727. total_size += 1 +
  54728. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  54729. }
  54730. }
  54731. // repeated int32 leftCount = 2;
  54732. {
  54733. int data_size = 0;
  54734. for (int i = 0; i < this->leftcount_size(); i++) {
  54735. data_size += ::google::protobuf::internal::WireFormatLite::
  54736. Int32Size(this->leftcount(i));
  54737. }
  54738. total_size += 1 * this->leftcount_size() + data_size;
  54739. }
  54740. // repeated bool canbuy = 3;
  54741. {
  54742. int data_size = 0;
  54743. data_size = 1 * this->canbuy_size();
  54744. total_size += 1 * this->canbuy_size() + data_size;
  54745. }
  54746. if (!unknown_fields().empty()) {
  54747. total_size +=
  54748. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  54749. unknown_fields());
  54750. }
  54751. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54752. _cached_size_ = total_size;
  54753. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54754. return total_size;
  54755. }
  54756. void packetw2c_syn_double_eleven_diamond_gift_count_result::MergeFrom(const ::google::protobuf::Message& from) {
  54757. GOOGLE_CHECK_NE(&from, this);
  54758. const packetw2c_syn_double_eleven_diamond_gift_count_result* source =
  54759. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_double_eleven_diamond_gift_count_result*>(
  54760. &from);
  54761. if (source == NULL) {
  54762. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  54763. } else {
  54764. MergeFrom(*source);
  54765. }
  54766. }
  54767. void packetw2c_syn_double_eleven_diamond_gift_count_result::MergeFrom(const packetw2c_syn_double_eleven_diamond_gift_count_result& from) {
  54768. GOOGLE_CHECK_NE(&from, this);
  54769. leftcount_.MergeFrom(from.leftcount_);
  54770. canbuy_.MergeFrom(from.canbuy_);
  54771. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54772. if (from.has_packet_id()) {
  54773. set_packet_id(from.packet_id());
  54774. }
  54775. }
  54776. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  54777. }
  54778. void packetw2c_syn_double_eleven_diamond_gift_count_result::CopyFrom(const ::google::protobuf::Message& from) {
  54779. if (&from == this) return;
  54780. Clear();
  54781. MergeFrom(from);
  54782. }
  54783. void packetw2c_syn_double_eleven_diamond_gift_count_result::CopyFrom(const packetw2c_syn_double_eleven_diamond_gift_count_result& from) {
  54784. if (&from == this) return;
  54785. Clear();
  54786. MergeFrom(from);
  54787. }
  54788. bool packetw2c_syn_double_eleven_diamond_gift_count_result::IsInitialized() const {
  54789. return true;
  54790. }
  54791. void packetw2c_syn_double_eleven_diamond_gift_count_result::Swap(packetw2c_syn_double_eleven_diamond_gift_count_result* other) {
  54792. if (other != this) {
  54793. std::swap(packet_id_, other->packet_id_);
  54794. leftcount_.Swap(&other->leftcount_);
  54795. canbuy_.Swap(&other->canbuy_);
  54796. std::swap(_has_bits_[0], other->_has_bits_[0]);
  54797. _unknown_fields_.Swap(&other->_unknown_fields_);
  54798. std::swap(_cached_size_, other->_cached_size_);
  54799. }
  54800. }
  54801. ::google::protobuf::Metadata packetw2c_syn_double_eleven_diamond_gift_count_result::GetMetadata() const {
  54802. protobuf_AssignDescriptorsOnce();
  54803. ::google::protobuf::Metadata metadata;
  54804. metadata.descriptor = packetw2c_syn_double_eleven_diamond_gift_count_result_descriptor_;
  54805. metadata.reflection = packetw2c_syn_double_eleven_diamond_gift_count_result_reflection_;
  54806. return metadata;
  54807. }
  54808. // ===================================================================
  54809. #ifndef _MSC_VER
  54810. const int packetc2w_recv_double_eleven_quest_award::kPacketIdFieldNumber;
  54811. const int packetc2w_recv_double_eleven_quest_award::kQuestIdFieldNumber;
  54812. #endif // !_MSC_VER
  54813. packetc2w_recv_double_eleven_quest_award::packetc2w_recv_double_eleven_quest_award()
  54814. : ::google::protobuf::Message() {
  54815. SharedCtor();
  54816. }
  54817. void packetc2w_recv_double_eleven_quest_award::InitAsDefaultInstance() {
  54818. }
  54819. packetc2w_recv_double_eleven_quest_award::packetc2w_recv_double_eleven_quest_award(const packetc2w_recv_double_eleven_quest_award& from)
  54820. : ::google::protobuf::Message() {
  54821. SharedCtor();
  54822. MergeFrom(from);
  54823. }
  54824. void packetc2w_recv_double_eleven_quest_award::SharedCtor() {
  54825. _cached_size_ = 0;
  54826. packet_id_ = 5226;
  54827. questid_ = 0;
  54828. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  54829. }
  54830. packetc2w_recv_double_eleven_quest_award::~packetc2w_recv_double_eleven_quest_award() {
  54831. SharedDtor();
  54832. }
  54833. void packetc2w_recv_double_eleven_quest_award::SharedDtor() {
  54834. if (this != default_instance_) {
  54835. }
  54836. }
  54837. void packetc2w_recv_double_eleven_quest_award::SetCachedSize(int size) const {
  54838. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54839. _cached_size_ = size;
  54840. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54841. }
  54842. const ::google::protobuf::Descriptor* packetc2w_recv_double_eleven_quest_award::descriptor() {
  54843. protobuf_AssignDescriptorsOnce();
  54844. return packetc2w_recv_double_eleven_quest_award_descriptor_;
  54845. }
  54846. const packetc2w_recv_double_eleven_quest_award& packetc2w_recv_double_eleven_quest_award::default_instance() {
  54847. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  54848. return *default_instance_;
  54849. }
  54850. packetc2w_recv_double_eleven_quest_award* packetc2w_recv_double_eleven_quest_award::default_instance_ = NULL;
  54851. packetc2w_recv_double_eleven_quest_award* packetc2w_recv_double_eleven_quest_award::New() const {
  54852. return new packetc2w_recv_double_eleven_quest_award;
  54853. }
  54854. void packetc2w_recv_double_eleven_quest_award::Clear() {
  54855. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54856. packet_id_ = 5226;
  54857. questid_ = 0;
  54858. }
  54859. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  54860. mutable_unknown_fields()->Clear();
  54861. }
  54862. bool packetc2w_recv_double_eleven_quest_award::MergePartialFromCodedStream(
  54863. ::google::protobuf::io::CodedInputStream* input) {
  54864. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  54865. ::google::protobuf::uint32 tag;
  54866. while ((tag = input->ReadTag()) != 0) {
  54867. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  54868. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_double_eleven_quest_award];
  54869. case 1: {
  54870. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54871. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54872. int value;
  54873. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  54874. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  54875. input, &value)));
  54876. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  54877. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  54878. } else {
  54879. mutable_unknown_fields()->AddVarint(1, value);
  54880. }
  54881. } else {
  54882. goto handle_uninterpreted;
  54883. }
  54884. if (input->ExpectTag(16)) goto parse_questId;
  54885. break;
  54886. }
  54887. // optional int32 questId = 2;
  54888. case 2: {
  54889. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54890. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  54891. parse_questId:
  54892. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  54893. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  54894. input, &questid_)));
  54895. set_has_questid();
  54896. } else {
  54897. goto handle_uninterpreted;
  54898. }
  54899. if (input->ExpectAtEnd()) return true;
  54900. break;
  54901. }
  54902. default: {
  54903. handle_uninterpreted:
  54904. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  54905. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  54906. return true;
  54907. }
  54908. DO_(::google::protobuf::internal::WireFormat::SkipField(
  54909. input, tag, mutable_unknown_fields()));
  54910. break;
  54911. }
  54912. }
  54913. }
  54914. return true;
  54915. #undef DO_
  54916. }
  54917. void packetc2w_recv_double_eleven_quest_award::SerializeWithCachedSizes(
  54918. ::google::protobuf::io::CodedOutputStream* output) const {
  54919. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_double_eleven_quest_award];
  54920. if (has_packet_id()) {
  54921. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  54922. 1, this->packet_id(), output);
  54923. }
  54924. // optional int32 questId = 2;
  54925. if (has_questid()) {
  54926. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  54927. }
  54928. if (!unknown_fields().empty()) {
  54929. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  54930. unknown_fields(), output);
  54931. }
  54932. }
  54933. ::google::protobuf::uint8* packetc2w_recv_double_eleven_quest_award::SerializeWithCachedSizesToArray(
  54934. ::google::protobuf::uint8* target) const {
  54935. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_double_eleven_quest_award];
  54936. if (has_packet_id()) {
  54937. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  54938. 1, this->packet_id(), target);
  54939. }
  54940. // optional int32 questId = 2;
  54941. if (has_questid()) {
  54942. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  54943. }
  54944. if (!unknown_fields().empty()) {
  54945. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  54946. unknown_fields(), target);
  54947. }
  54948. return target;
  54949. }
  54950. int packetc2w_recv_double_eleven_quest_award::ByteSize() const {
  54951. int total_size = 0;
  54952. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54953. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_double_eleven_quest_award];
  54954. if (has_packet_id()) {
  54955. total_size += 1 +
  54956. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  54957. }
  54958. // optional int32 questId = 2;
  54959. if (has_questid()) {
  54960. total_size += 1 +
  54961. ::google::protobuf::internal::WireFormatLite::Int32Size(
  54962. this->questid());
  54963. }
  54964. }
  54965. if (!unknown_fields().empty()) {
  54966. total_size +=
  54967. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  54968. unknown_fields());
  54969. }
  54970. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  54971. _cached_size_ = total_size;
  54972. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  54973. return total_size;
  54974. }
  54975. void packetc2w_recv_double_eleven_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  54976. GOOGLE_CHECK_NE(&from, this);
  54977. const packetc2w_recv_double_eleven_quest_award* source =
  54978. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_double_eleven_quest_award*>(
  54979. &from);
  54980. if (source == NULL) {
  54981. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  54982. } else {
  54983. MergeFrom(*source);
  54984. }
  54985. }
  54986. void packetc2w_recv_double_eleven_quest_award::MergeFrom(const packetc2w_recv_double_eleven_quest_award& from) {
  54987. GOOGLE_CHECK_NE(&from, this);
  54988. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  54989. if (from.has_packet_id()) {
  54990. set_packet_id(from.packet_id());
  54991. }
  54992. if (from.has_questid()) {
  54993. set_questid(from.questid());
  54994. }
  54995. }
  54996. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  54997. }
  54998. void packetc2w_recv_double_eleven_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  54999. if (&from == this) return;
  55000. Clear();
  55001. MergeFrom(from);
  55002. }
  55003. void packetc2w_recv_double_eleven_quest_award::CopyFrom(const packetc2w_recv_double_eleven_quest_award& from) {
  55004. if (&from == this) return;
  55005. Clear();
  55006. MergeFrom(from);
  55007. }
  55008. bool packetc2w_recv_double_eleven_quest_award::IsInitialized() const {
  55009. return true;
  55010. }
  55011. void packetc2w_recv_double_eleven_quest_award::Swap(packetc2w_recv_double_eleven_quest_award* other) {
  55012. if (other != this) {
  55013. std::swap(packet_id_, other->packet_id_);
  55014. std::swap(questid_, other->questid_);
  55015. std::swap(_has_bits_[0], other->_has_bits_[0]);
  55016. _unknown_fields_.Swap(&other->_unknown_fields_);
  55017. std::swap(_cached_size_, other->_cached_size_);
  55018. }
  55019. }
  55020. ::google::protobuf::Metadata packetc2w_recv_double_eleven_quest_award::GetMetadata() const {
  55021. protobuf_AssignDescriptorsOnce();
  55022. ::google::protobuf::Metadata metadata;
  55023. metadata.descriptor = packetc2w_recv_double_eleven_quest_award_descriptor_;
  55024. metadata.reflection = packetc2w_recv_double_eleven_quest_award_reflection_;
  55025. return metadata;
  55026. }
  55027. // ===================================================================
  55028. #ifndef _MSC_VER
  55029. const int packetw2c_recv_double_eleven_quest_award_result::kPacketIdFieldNumber;
  55030. const int packetw2c_recv_double_eleven_quest_award_result::kResultFieldNumber;
  55031. const int packetw2c_recv_double_eleven_quest_award_result::kQuestIdFieldNumber;
  55032. const int packetw2c_recv_double_eleven_quest_award_result::kItemsFieldNumber;
  55033. #endif // !_MSC_VER
  55034. packetw2c_recv_double_eleven_quest_award_result::packetw2c_recv_double_eleven_quest_award_result()
  55035. : ::google::protobuf::Message() {
  55036. SharedCtor();
  55037. }
  55038. void packetw2c_recv_double_eleven_quest_award_result::InitAsDefaultInstance() {
  55039. }
  55040. packetw2c_recv_double_eleven_quest_award_result::packetw2c_recv_double_eleven_quest_award_result(const packetw2c_recv_double_eleven_quest_award_result& from)
  55041. : ::google::protobuf::Message() {
  55042. SharedCtor();
  55043. MergeFrom(from);
  55044. }
  55045. void packetw2c_recv_double_eleven_quest_award_result::SharedCtor() {
  55046. _cached_size_ = 0;
  55047. packet_id_ = 7767;
  55048. result_ = 0;
  55049. questid_ = 0;
  55050. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  55051. }
  55052. packetw2c_recv_double_eleven_quest_award_result::~packetw2c_recv_double_eleven_quest_award_result() {
  55053. SharedDtor();
  55054. }
  55055. void packetw2c_recv_double_eleven_quest_award_result::SharedDtor() {
  55056. if (this != default_instance_) {
  55057. }
  55058. }
  55059. void packetw2c_recv_double_eleven_quest_award_result::SetCachedSize(int size) const {
  55060. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  55061. _cached_size_ = size;
  55062. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  55063. }
  55064. const ::google::protobuf::Descriptor* packetw2c_recv_double_eleven_quest_award_result::descriptor() {
  55065. protobuf_AssignDescriptorsOnce();
  55066. return packetw2c_recv_double_eleven_quest_award_result_descriptor_;
  55067. }
  55068. const packetw2c_recv_double_eleven_quest_award_result& packetw2c_recv_double_eleven_quest_award_result::default_instance() {
  55069. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  55070. return *default_instance_;
  55071. }
  55072. packetw2c_recv_double_eleven_quest_award_result* packetw2c_recv_double_eleven_quest_award_result::default_instance_ = NULL;
  55073. packetw2c_recv_double_eleven_quest_award_result* packetw2c_recv_double_eleven_quest_award_result::New() const {
  55074. return new packetw2c_recv_double_eleven_quest_award_result;
  55075. }
  55076. void packetw2c_recv_double_eleven_quest_award_result::Clear() {
  55077. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55078. packet_id_ = 7767;
  55079. result_ = 0;
  55080. questid_ = 0;
  55081. }
  55082. items_.Clear();
  55083. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  55084. mutable_unknown_fields()->Clear();
  55085. }
  55086. bool packetw2c_recv_double_eleven_quest_award_result::MergePartialFromCodedStream(
  55087. ::google::protobuf::io::CodedInputStream* input) {
  55088. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  55089. ::google::protobuf::uint32 tag;
  55090. while ((tag = input->ReadTag()) != 0) {
  55091. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  55092. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_double_eleven_quest_award_result];
  55093. case 1: {
  55094. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55095. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55096. int value;
  55097. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55098. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  55099. input, &value)));
  55100. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  55101. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  55102. } else {
  55103. mutable_unknown_fields()->AddVarint(1, value);
  55104. }
  55105. } else {
  55106. goto handle_uninterpreted;
  55107. }
  55108. if (input->ExpectTag(16)) goto parse_result;
  55109. break;
  55110. }
  55111. // optional int32 result = 2;
  55112. case 2: {
  55113. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55114. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55115. parse_result:
  55116. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55117. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  55118. input, &result_)));
  55119. set_has_result();
  55120. } else {
  55121. goto handle_uninterpreted;
  55122. }
  55123. if (input->ExpectTag(24)) goto parse_questId;
  55124. break;
  55125. }
  55126. // optional int32 questId = 3;
  55127. case 3: {
  55128. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55129. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55130. parse_questId:
  55131. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55132. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  55133. input, &questid_)));
  55134. set_has_questid();
  55135. } else {
  55136. goto handle_uninterpreted;
  55137. }
  55138. if (input->ExpectTag(50)) goto parse_items;
  55139. break;
  55140. }
  55141. // repeated .msg_info_def.ItemInfo items = 6;
  55142. case 6: {
  55143. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55144. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  55145. parse_items:
  55146. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  55147. input, add_items()));
  55148. } else {
  55149. goto handle_uninterpreted;
  55150. }
  55151. if (input->ExpectTag(50)) goto parse_items;
  55152. if (input->ExpectAtEnd()) return true;
  55153. break;
  55154. }
  55155. default: {
  55156. handle_uninterpreted:
  55157. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55158. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  55159. return true;
  55160. }
  55161. DO_(::google::protobuf::internal::WireFormat::SkipField(
  55162. input, tag, mutable_unknown_fields()));
  55163. break;
  55164. }
  55165. }
  55166. }
  55167. return true;
  55168. #undef DO_
  55169. }
  55170. void packetw2c_recv_double_eleven_quest_award_result::SerializeWithCachedSizes(
  55171. ::google::protobuf::io::CodedOutputStream* output) const {
  55172. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_double_eleven_quest_award_result];
  55173. if (has_packet_id()) {
  55174. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  55175. 1, this->packet_id(), output);
  55176. }
  55177. // optional int32 result = 2;
  55178. if (has_result()) {
  55179. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  55180. }
  55181. // optional int32 questId = 3;
  55182. if (has_questid()) {
  55183. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  55184. }
  55185. // repeated .msg_info_def.ItemInfo items = 6;
  55186. for (int i = 0; i < this->items_size(); i++) {
  55187. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  55188. 6, this->items(i), output);
  55189. }
  55190. if (!unknown_fields().empty()) {
  55191. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  55192. unknown_fields(), output);
  55193. }
  55194. }
  55195. ::google::protobuf::uint8* packetw2c_recv_double_eleven_quest_award_result::SerializeWithCachedSizesToArray(
  55196. ::google::protobuf::uint8* target) const {
  55197. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_double_eleven_quest_award_result];
  55198. if (has_packet_id()) {
  55199. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  55200. 1, this->packet_id(), target);
  55201. }
  55202. // optional int32 result = 2;
  55203. if (has_result()) {
  55204. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  55205. }
  55206. // optional int32 questId = 3;
  55207. if (has_questid()) {
  55208. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  55209. }
  55210. // repeated .msg_info_def.ItemInfo items = 6;
  55211. for (int i = 0; i < this->items_size(); i++) {
  55212. target = ::google::protobuf::internal::WireFormatLite::
  55213. WriteMessageNoVirtualToArray(
  55214. 6, this->items(i), target);
  55215. }
  55216. if (!unknown_fields().empty()) {
  55217. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  55218. unknown_fields(), target);
  55219. }
  55220. return target;
  55221. }
  55222. int packetw2c_recv_double_eleven_quest_award_result::ByteSize() const {
  55223. int total_size = 0;
  55224. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55225. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_double_eleven_quest_award_result];
  55226. if (has_packet_id()) {
  55227. total_size += 1 +
  55228. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  55229. }
  55230. // optional int32 result = 2;
  55231. if (has_result()) {
  55232. total_size += 1 +
  55233. ::google::protobuf::internal::WireFormatLite::Int32Size(
  55234. this->result());
  55235. }
  55236. // optional int32 questId = 3;
  55237. if (has_questid()) {
  55238. total_size += 1 +
  55239. ::google::protobuf::internal::WireFormatLite::Int32Size(
  55240. this->questid());
  55241. }
  55242. }
  55243. // repeated .msg_info_def.ItemInfo items = 6;
  55244. total_size += 1 * this->items_size();
  55245. for (int i = 0; i < this->items_size(); i++) {
  55246. total_size +=
  55247. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  55248. this->items(i));
  55249. }
  55250. if (!unknown_fields().empty()) {
  55251. total_size +=
  55252. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  55253. unknown_fields());
  55254. }
  55255. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  55256. _cached_size_ = total_size;
  55257. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  55258. return total_size;
  55259. }
  55260. void packetw2c_recv_double_eleven_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  55261. GOOGLE_CHECK_NE(&from, this);
  55262. const packetw2c_recv_double_eleven_quest_award_result* source =
  55263. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_double_eleven_quest_award_result*>(
  55264. &from);
  55265. if (source == NULL) {
  55266. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  55267. } else {
  55268. MergeFrom(*source);
  55269. }
  55270. }
  55271. void packetw2c_recv_double_eleven_quest_award_result::MergeFrom(const packetw2c_recv_double_eleven_quest_award_result& from) {
  55272. GOOGLE_CHECK_NE(&from, this);
  55273. items_.MergeFrom(from.items_);
  55274. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55275. if (from.has_packet_id()) {
  55276. set_packet_id(from.packet_id());
  55277. }
  55278. if (from.has_result()) {
  55279. set_result(from.result());
  55280. }
  55281. if (from.has_questid()) {
  55282. set_questid(from.questid());
  55283. }
  55284. }
  55285. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  55286. }
  55287. void packetw2c_recv_double_eleven_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  55288. if (&from == this) return;
  55289. Clear();
  55290. MergeFrom(from);
  55291. }
  55292. void packetw2c_recv_double_eleven_quest_award_result::CopyFrom(const packetw2c_recv_double_eleven_quest_award_result& from) {
  55293. if (&from == this) return;
  55294. Clear();
  55295. MergeFrom(from);
  55296. }
  55297. bool packetw2c_recv_double_eleven_quest_award_result::IsInitialized() const {
  55298. return true;
  55299. }
  55300. void packetw2c_recv_double_eleven_quest_award_result::Swap(packetw2c_recv_double_eleven_quest_award_result* other) {
  55301. if (other != this) {
  55302. std::swap(packet_id_, other->packet_id_);
  55303. std::swap(result_, other->result_);
  55304. std::swap(questid_, other->questid_);
  55305. items_.Swap(&other->items_);
  55306. std::swap(_has_bits_[0], other->_has_bits_[0]);
  55307. _unknown_fields_.Swap(&other->_unknown_fields_);
  55308. std::swap(_cached_size_, other->_cached_size_);
  55309. }
  55310. }
  55311. ::google::protobuf::Metadata packetw2c_recv_double_eleven_quest_award_result::GetMetadata() const {
  55312. protobuf_AssignDescriptorsOnce();
  55313. ::google::protobuf::Metadata metadata;
  55314. metadata.descriptor = packetw2c_recv_double_eleven_quest_award_result_descriptor_;
  55315. metadata.reflection = packetw2c_recv_double_eleven_quest_award_result_reflection_;
  55316. return metadata;
  55317. }
  55318. // ===================================================================
  55319. #ifndef _MSC_VER
  55320. const int packetc2w_double_eleven_buy_lottery_ticket::kPacketIdFieldNumber;
  55321. const int packetc2w_double_eleven_buy_lottery_ticket::kIndexFieldNumber;
  55322. #endif // !_MSC_VER
  55323. packetc2w_double_eleven_buy_lottery_ticket::packetc2w_double_eleven_buy_lottery_ticket()
  55324. : ::google::protobuf::Message() {
  55325. SharedCtor();
  55326. }
  55327. void packetc2w_double_eleven_buy_lottery_ticket::InitAsDefaultInstance() {
  55328. }
  55329. packetc2w_double_eleven_buy_lottery_ticket::packetc2w_double_eleven_buy_lottery_ticket(const packetc2w_double_eleven_buy_lottery_ticket& from)
  55330. : ::google::protobuf::Message() {
  55331. SharedCtor();
  55332. MergeFrom(from);
  55333. }
  55334. void packetc2w_double_eleven_buy_lottery_ticket::SharedCtor() {
  55335. _cached_size_ = 0;
  55336. packet_id_ = 5227;
  55337. index_ = 0;
  55338. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  55339. }
  55340. packetc2w_double_eleven_buy_lottery_ticket::~packetc2w_double_eleven_buy_lottery_ticket() {
  55341. SharedDtor();
  55342. }
  55343. void packetc2w_double_eleven_buy_lottery_ticket::SharedDtor() {
  55344. if (this != default_instance_) {
  55345. }
  55346. }
  55347. void packetc2w_double_eleven_buy_lottery_ticket::SetCachedSize(int size) const {
  55348. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  55349. _cached_size_ = size;
  55350. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  55351. }
  55352. const ::google::protobuf::Descriptor* packetc2w_double_eleven_buy_lottery_ticket::descriptor() {
  55353. protobuf_AssignDescriptorsOnce();
  55354. return packetc2w_double_eleven_buy_lottery_ticket_descriptor_;
  55355. }
  55356. const packetc2w_double_eleven_buy_lottery_ticket& packetc2w_double_eleven_buy_lottery_ticket::default_instance() {
  55357. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  55358. return *default_instance_;
  55359. }
  55360. packetc2w_double_eleven_buy_lottery_ticket* packetc2w_double_eleven_buy_lottery_ticket::default_instance_ = NULL;
  55361. packetc2w_double_eleven_buy_lottery_ticket* packetc2w_double_eleven_buy_lottery_ticket::New() const {
  55362. return new packetc2w_double_eleven_buy_lottery_ticket;
  55363. }
  55364. void packetc2w_double_eleven_buy_lottery_ticket::Clear() {
  55365. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55366. packet_id_ = 5227;
  55367. index_ = 0;
  55368. }
  55369. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  55370. mutable_unknown_fields()->Clear();
  55371. }
  55372. bool packetc2w_double_eleven_buy_lottery_ticket::MergePartialFromCodedStream(
  55373. ::google::protobuf::io::CodedInputStream* input) {
  55374. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  55375. ::google::protobuf::uint32 tag;
  55376. while ((tag = input->ReadTag()) != 0) {
  55377. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  55378. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_buy_lottery_ticket];
  55379. case 1: {
  55380. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55381. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55382. int value;
  55383. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55384. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  55385. input, &value)));
  55386. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  55387. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  55388. } else {
  55389. mutable_unknown_fields()->AddVarint(1, value);
  55390. }
  55391. } else {
  55392. goto handle_uninterpreted;
  55393. }
  55394. if (input->ExpectTag(16)) goto parse_index;
  55395. break;
  55396. }
  55397. // optional int32 index = 2;
  55398. case 2: {
  55399. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55400. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55401. parse_index:
  55402. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55403. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  55404. input, &index_)));
  55405. set_has_index();
  55406. } else {
  55407. goto handle_uninterpreted;
  55408. }
  55409. if (input->ExpectAtEnd()) return true;
  55410. break;
  55411. }
  55412. default: {
  55413. handle_uninterpreted:
  55414. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55415. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  55416. return true;
  55417. }
  55418. DO_(::google::protobuf::internal::WireFormat::SkipField(
  55419. input, tag, mutable_unknown_fields()));
  55420. break;
  55421. }
  55422. }
  55423. }
  55424. return true;
  55425. #undef DO_
  55426. }
  55427. void packetc2w_double_eleven_buy_lottery_ticket::SerializeWithCachedSizes(
  55428. ::google::protobuf::io::CodedOutputStream* output) const {
  55429. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_buy_lottery_ticket];
  55430. if (has_packet_id()) {
  55431. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  55432. 1, this->packet_id(), output);
  55433. }
  55434. // optional int32 index = 2;
  55435. if (has_index()) {
  55436. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  55437. }
  55438. if (!unknown_fields().empty()) {
  55439. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  55440. unknown_fields(), output);
  55441. }
  55442. }
  55443. ::google::protobuf::uint8* packetc2w_double_eleven_buy_lottery_ticket::SerializeWithCachedSizesToArray(
  55444. ::google::protobuf::uint8* target) const {
  55445. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_buy_lottery_ticket];
  55446. if (has_packet_id()) {
  55447. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  55448. 1, this->packet_id(), target);
  55449. }
  55450. // optional int32 index = 2;
  55451. if (has_index()) {
  55452. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  55453. }
  55454. if (!unknown_fields().empty()) {
  55455. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  55456. unknown_fields(), target);
  55457. }
  55458. return target;
  55459. }
  55460. int packetc2w_double_eleven_buy_lottery_ticket::ByteSize() const {
  55461. int total_size = 0;
  55462. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55463. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_buy_lottery_ticket];
  55464. if (has_packet_id()) {
  55465. total_size += 1 +
  55466. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  55467. }
  55468. // optional int32 index = 2;
  55469. if (has_index()) {
  55470. total_size += 1 +
  55471. ::google::protobuf::internal::WireFormatLite::Int32Size(
  55472. this->index());
  55473. }
  55474. }
  55475. if (!unknown_fields().empty()) {
  55476. total_size +=
  55477. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  55478. unknown_fields());
  55479. }
  55480. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  55481. _cached_size_ = total_size;
  55482. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  55483. return total_size;
  55484. }
  55485. void packetc2w_double_eleven_buy_lottery_ticket::MergeFrom(const ::google::protobuf::Message& from) {
  55486. GOOGLE_CHECK_NE(&from, this);
  55487. const packetc2w_double_eleven_buy_lottery_ticket* source =
  55488. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_double_eleven_buy_lottery_ticket*>(
  55489. &from);
  55490. if (source == NULL) {
  55491. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  55492. } else {
  55493. MergeFrom(*source);
  55494. }
  55495. }
  55496. void packetc2w_double_eleven_buy_lottery_ticket::MergeFrom(const packetc2w_double_eleven_buy_lottery_ticket& from) {
  55497. GOOGLE_CHECK_NE(&from, this);
  55498. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55499. if (from.has_packet_id()) {
  55500. set_packet_id(from.packet_id());
  55501. }
  55502. if (from.has_index()) {
  55503. set_index(from.index());
  55504. }
  55505. }
  55506. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  55507. }
  55508. void packetc2w_double_eleven_buy_lottery_ticket::CopyFrom(const ::google::protobuf::Message& from) {
  55509. if (&from == this) return;
  55510. Clear();
  55511. MergeFrom(from);
  55512. }
  55513. void packetc2w_double_eleven_buy_lottery_ticket::CopyFrom(const packetc2w_double_eleven_buy_lottery_ticket& from) {
  55514. if (&from == this) return;
  55515. Clear();
  55516. MergeFrom(from);
  55517. }
  55518. bool packetc2w_double_eleven_buy_lottery_ticket::IsInitialized() const {
  55519. return true;
  55520. }
  55521. void packetc2w_double_eleven_buy_lottery_ticket::Swap(packetc2w_double_eleven_buy_lottery_ticket* other) {
  55522. if (other != this) {
  55523. std::swap(packet_id_, other->packet_id_);
  55524. std::swap(index_, other->index_);
  55525. std::swap(_has_bits_[0], other->_has_bits_[0]);
  55526. _unknown_fields_.Swap(&other->_unknown_fields_);
  55527. std::swap(_cached_size_, other->_cached_size_);
  55528. }
  55529. }
  55530. ::google::protobuf::Metadata packetc2w_double_eleven_buy_lottery_ticket::GetMetadata() const {
  55531. protobuf_AssignDescriptorsOnce();
  55532. ::google::protobuf::Metadata metadata;
  55533. metadata.descriptor = packetc2w_double_eleven_buy_lottery_ticket_descriptor_;
  55534. metadata.reflection = packetc2w_double_eleven_buy_lottery_ticket_reflection_;
  55535. return metadata;
  55536. }
  55537. // ===================================================================
  55538. #ifndef _MSC_VER
  55539. const int packetw2c_double_eleven_buy_lottery_ticket_result::kPacketIdFieldNumber;
  55540. const int packetw2c_double_eleven_buy_lottery_ticket_result::kResultFieldNumber;
  55541. const int packetw2c_double_eleven_buy_lottery_ticket_result::kIndexFieldNumber;
  55542. #endif // !_MSC_VER
  55543. packetw2c_double_eleven_buy_lottery_ticket_result::packetw2c_double_eleven_buy_lottery_ticket_result()
  55544. : ::google::protobuf::Message() {
  55545. SharedCtor();
  55546. }
  55547. void packetw2c_double_eleven_buy_lottery_ticket_result::InitAsDefaultInstance() {
  55548. }
  55549. packetw2c_double_eleven_buy_lottery_ticket_result::packetw2c_double_eleven_buy_lottery_ticket_result(const packetw2c_double_eleven_buy_lottery_ticket_result& from)
  55550. : ::google::protobuf::Message() {
  55551. SharedCtor();
  55552. MergeFrom(from);
  55553. }
  55554. void packetw2c_double_eleven_buy_lottery_ticket_result::SharedCtor() {
  55555. _cached_size_ = 0;
  55556. packet_id_ = 7768;
  55557. result_ = 0;
  55558. index_ = 0;
  55559. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  55560. }
  55561. packetw2c_double_eleven_buy_lottery_ticket_result::~packetw2c_double_eleven_buy_lottery_ticket_result() {
  55562. SharedDtor();
  55563. }
  55564. void packetw2c_double_eleven_buy_lottery_ticket_result::SharedDtor() {
  55565. if (this != default_instance_) {
  55566. }
  55567. }
  55568. void packetw2c_double_eleven_buy_lottery_ticket_result::SetCachedSize(int size) const {
  55569. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  55570. _cached_size_ = size;
  55571. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  55572. }
  55573. const ::google::protobuf::Descriptor* packetw2c_double_eleven_buy_lottery_ticket_result::descriptor() {
  55574. protobuf_AssignDescriptorsOnce();
  55575. return packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_;
  55576. }
  55577. const packetw2c_double_eleven_buy_lottery_ticket_result& packetw2c_double_eleven_buy_lottery_ticket_result::default_instance() {
  55578. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  55579. return *default_instance_;
  55580. }
  55581. packetw2c_double_eleven_buy_lottery_ticket_result* packetw2c_double_eleven_buy_lottery_ticket_result::default_instance_ = NULL;
  55582. packetw2c_double_eleven_buy_lottery_ticket_result* packetw2c_double_eleven_buy_lottery_ticket_result::New() const {
  55583. return new packetw2c_double_eleven_buy_lottery_ticket_result;
  55584. }
  55585. void packetw2c_double_eleven_buy_lottery_ticket_result::Clear() {
  55586. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55587. packet_id_ = 7768;
  55588. result_ = 0;
  55589. index_ = 0;
  55590. }
  55591. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  55592. mutable_unknown_fields()->Clear();
  55593. }
  55594. bool packetw2c_double_eleven_buy_lottery_ticket_result::MergePartialFromCodedStream(
  55595. ::google::protobuf::io::CodedInputStream* input) {
  55596. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  55597. ::google::protobuf::uint32 tag;
  55598. while ((tag = input->ReadTag()) != 0) {
  55599. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  55600. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_buy_lottery_ticket_result];
  55601. case 1: {
  55602. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55603. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55604. int value;
  55605. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55606. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  55607. input, &value)));
  55608. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  55609. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  55610. } else {
  55611. mutable_unknown_fields()->AddVarint(1, value);
  55612. }
  55613. } else {
  55614. goto handle_uninterpreted;
  55615. }
  55616. if (input->ExpectTag(16)) goto parse_result;
  55617. break;
  55618. }
  55619. // optional int32 result = 2;
  55620. case 2: {
  55621. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55622. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55623. parse_result:
  55624. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55625. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  55626. input, &result_)));
  55627. set_has_result();
  55628. } else {
  55629. goto handle_uninterpreted;
  55630. }
  55631. if (input->ExpectTag(24)) goto parse_index;
  55632. break;
  55633. }
  55634. // optional int32 index = 3;
  55635. case 3: {
  55636. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55637. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55638. parse_index:
  55639. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55640. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  55641. input, &index_)));
  55642. set_has_index();
  55643. } else {
  55644. goto handle_uninterpreted;
  55645. }
  55646. if (input->ExpectAtEnd()) return true;
  55647. break;
  55648. }
  55649. default: {
  55650. handle_uninterpreted:
  55651. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55652. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  55653. return true;
  55654. }
  55655. DO_(::google::protobuf::internal::WireFormat::SkipField(
  55656. input, tag, mutable_unknown_fields()));
  55657. break;
  55658. }
  55659. }
  55660. }
  55661. return true;
  55662. #undef DO_
  55663. }
  55664. void packetw2c_double_eleven_buy_lottery_ticket_result::SerializeWithCachedSizes(
  55665. ::google::protobuf::io::CodedOutputStream* output) const {
  55666. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_buy_lottery_ticket_result];
  55667. if (has_packet_id()) {
  55668. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  55669. 1, this->packet_id(), output);
  55670. }
  55671. // optional int32 result = 2;
  55672. if (has_result()) {
  55673. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  55674. }
  55675. // optional int32 index = 3;
  55676. if (has_index()) {
  55677. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  55678. }
  55679. if (!unknown_fields().empty()) {
  55680. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  55681. unknown_fields(), output);
  55682. }
  55683. }
  55684. ::google::protobuf::uint8* packetw2c_double_eleven_buy_lottery_ticket_result::SerializeWithCachedSizesToArray(
  55685. ::google::protobuf::uint8* target) const {
  55686. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_buy_lottery_ticket_result];
  55687. if (has_packet_id()) {
  55688. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  55689. 1, this->packet_id(), target);
  55690. }
  55691. // optional int32 result = 2;
  55692. if (has_result()) {
  55693. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  55694. }
  55695. // optional int32 index = 3;
  55696. if (has_index()) {
  55697. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  55698. }
  55699. if (!unknown_fields().empty()) {
  55700. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  55701. unknown_fields(), target);
  55702. }
  55703. return target;
  55704. }
  55705. int packetw2c_double_eleven_buy_lottery_ticket_result::ByteSize() const {
  55706. int total_size = 0;
  55707. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55708. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_buy_lottery_ticket_result];
  55709. if (has_packet_id()) {
  55710. total_size += 1 +
  55711. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  55712. }
  55713. // optional int32 result = 2;
  55714. if (has_result()) {
  55715. total_size += 1 +
  55716. ::google::protobuf::internal::WireFormatLite::Int32Size(
  55717. this->result());
  55718. }
  55719. // optional int32 index = 3;
  55720. if (has_index()) {
  55721. total_size += 1 +
  55722. ::google::protobuf::internal::WireFormatLite::Int32Size(
  55723. this->index());
  55724. }
  55725. }
  55726. if (!unknown_fields().empty()) {
  55727. total_size +=
  55728. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  55729. unknown_fields());
  55730. }
  55731. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  55732. _cached_size_ = total_size;
  55733. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  55734. return total_size;
  55735. }
  55736. void packetw2c_double_eleven_buy_lottery_ticket_result::MergeFrom(const ::google::protobuf::Message& from) {
  55737. GOOGLE_CHECK_NE(&from, this);
  55738. const packetw2c_double_eleven_buy_lottery_ticket_result* source =
  55739. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_double_eleven_buy_lottery_ticket_result*>(
  55740. &from);
  55741. if (source == NULL) {
  55742. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  55743. } else {
  55744. MergeFrom(*source);
  55745. }
  55746. }
  55747. void packetw2c_double_eleven_buy_lottery_ticket_result::MergeFrom(const packetw2c_double_eleven_buy_lottery_ticket_result& from) {
  55748. GOOGLE_CHECK_NE(&from, this);
  55749. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55750. if (from.has_packet_id()) {
  55751. set_packet_id(from.packet_id());
  55752. }
  55753. if (from.has_result()) {
  55754. set_result(from.result());
  55755. }
  55756. if (from.has_index()) {
  55757. set_index(from.index());
  55758. }
  55759. }
  55760. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  55761. }
  55762. void packetw2c_double_eleven_buy_lottery_ticket_result::CopyFrom(const ::google::protobuf::Message& from) {
  55763. if (&from == this) return;
  55764. Clear();
  55765. MergeFrom(from);
  55766. }
  55767. void packetw2c_double_eleven_buy_lottery_ticket_result::CopyFrom(const packetw2c_double_eleven_buy_lottery_ticket_result& from) {
  55768. if (&from == this) return;
  55769. Clear();
  55770. MergeFrom(from);
  55771. }
  55772. bool packetw2c_double_eleven_buy_lottery_ticket_result::IsInitialized() const {
  55773. return true;
  55774. }
  55775. void packetw2c_double_eleven_buy_lottery_ticket_result::Swap(packetw2c_double_eleven_buy_lottery_ticket_result* other) {
  55776. if (other != this) {
  55777. std::swap(packet_id_, other->packet_id_);
  55778. std::swap(result_, other->result_);
  55779. std::swap(index_, other->index_);
  55780. std::swap(_has_bits_[0], other->_has_bits_[0]);
  55781. _unknown_fields_.Swap(&other->_unknown_fields_);
  55782. std::swap(_cached_size_, other->_cached_size_);
  55783. }
  55784. }
  55785. ::google::protobuf::Metadata packetw2c_double_eleven_buy_lottery_ticket_result::GetMetadata() const {
  55786. protobuf_AssignDescriptorsOnce();
  55787. ::google::protobuf::Metadata metadata;
  55788. metadata.descriptor = packetw2c_double_eleven_buy_lottery_ticket_result_descriptor_;
  55789. metadata.reflection = packetw2c_double_eleven_buy_lottery_ticket_result_reflection_;
  55790. return metadata;
  55791. }
  55792. // ===================================================================
  55793. #ifndef _MSC_VER
  55794. const int packetw2c_syn_wing_experience_info::kPacketIdFieldNumber;
  55795. const int packetw2c_syn_wing_experience_info::kActivityStateFieldNumber;
  55796. const int packetw2c_syn_wing_experience_info::kStartTimeFieldNumber;
  55797. const int packetw2c_syn_wing_experience_info::kEndTimeFieldNumber;
  55798. const int packetw2c_syn_wing_experience_info::kReceivedFieldNumber;
  55799. #endif // !_MSC_VER
  55800. packetw2c_syn_wing_experience_info::packetw2c_syn_wing_experience_info()
  55801. : ::google::protobuf::Message() {
  55802. SharedCtor();
  55803. }
  55804. void packetw2c_syn_wing_experience_info::InitAsDefaultInstance() {
  55805. }
  55806. packetw2c_syn_wing_experience_info::packetw2c_syn_wing_experience_info(const packetw2c_syn_wing_experience_info& from)
  55807. : ::google::protobuf::Message() {
  55808. SharedCtor();
  55809. MergeFrom(from);
  55810. }
  55811. void packetw2c_syn_wing_experience_info::SharedCtor() {
  55812. _cached_size_ = 0;
  55813. packet_id_ = 7770;
  55814. activitystate_ = 0;
  55815. starttime_ = 0;
  55816. endtime_ = 0;
  55817. received_ = false;
  55818. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  55819. }
  55820. packetw2c_syn_wing_experience_info::~packetw2c_syn_wing_experience_info() {
  55821. SharedDtor();
  55822. }
  55823. void packetw2c_syn_wing_experience_info::SharedDtor() {
  55824. if (this != default_instance_) {
  55825. }
  55826. }
  55827. void packetw2c_syn_wing_experience_info::SetCachedSize(int size) const {
  55828. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  55829. _cached_size_ = size;
  55830. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  55831. }
  55832. const ::google::protobuf::Descriptor* packetw2c_syn_wing_experience_info::descriptor() {
  55833. protobuf_AssignDescriptorsOnce();
  55834. return packetw2c_syn_wing_experience_info_descriptor_;
  55835. }
  55836. const packetw2c_syn_wing_experience_info& packetw2c_syn_wing_experience_info::default_instance() {
  55837. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  55838. return *default_instance_;
  55839. }
  55840. packetw2c_syn_wing_experience_info* packetw2c_syn_wing_experience_info::default_instance_ = NULL;
  55841. packetw2c_syn_wing_experience_info* packetw2c_syn_wing_experience_info::New() const {
  55842. return new packetw2c_syn_wing_experience_info;
  55843. }
  55844. void packetw2c_syn_wing_experience_info::Clear() {
  55845. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  55846. packet_id_ = 7770;
  55847. activitystate_ = 0;
  55848. starttime_ = 0;
  55849. endtime_ = 0;
  55850. received_ = false;
  55851. }
  55852. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  55853. mutable_unknown_fields()->Clear();
  55854. }
  55855. bool packetw2c_syn_wing_experience_info::MergePartialFromCodedStream(
  55856. ::google::protobuf::io::CodedInputStream* input) {
  55857. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  55858. ::google::protobuf::uint32 tag;
  55859. while ((tag = input->ReadTag()) != 0) {
  55860. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  55861. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wing_experience_info];
  55862. case 1: {
  55863. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55864. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55865. int value;
  55866. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55867. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  55868. input, &value)));
  55869. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  55870. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  55871. } else {
  55872. mutable_unknown_fields()->AddVarint(1, value);
  55873. }
  55874. } else {
  55875. goto handle_uninterpreted;
  55876. }
  55877. if (input->ExpectTag(16)) goto parse_activityState;
  55878. break;
  55879. }
  55880. // optional int32 activityState = 2;
  55881. case 2: {
  55882. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55883. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55884. parse_activityState:
  55885. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55886. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  55887. input, &activitystate_)));
  55888. set_has_activitystate();
  55889. } else {
  55890. goto handle_uninterpreted;
  55891. }
  55892. if (input->ExpectTag(24)) goto parse_startTime;
  55893. break;
  55894. }
  55895. // optional int32 startTime = 3;
  55896. case 3: {
  55897. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55898. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55899. parse_startTime:
  55900. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55901. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  55902. input, &starttime_)));
  55903. set_has_starttime();
  55904. } else {
  55905. goto handle_uninterpreted;
  55906. }
  55907. if (input->ExpectTag(32)) goto parse_endTime;
  55908. break;
  55909. }
  55910. // optional int32 endTime = 4;
  55911. case 4: {
  55912. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55913. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55914. parse_endTime:
  55915. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55916. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  55917. input, &endtime_)));
  55918. set_has_endtime();
  55919. } else {
  55920. goto handle_uninterpreted;
  55921. }
  55922. if (input->ExpectTag(40)) goto parse_received;
  55923. break;
  55924. }
  55925. // optional bool received = 5;
  55926. case 5: {
  55927. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55928. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  55929. parse_received:
  55930. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  55931. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  55932. input, &received_)));
  55933. set_has_received();
  55934. } else {
  55935. goto handle_uninterpreted;
  55936. }
  55937. if (input->ExpectAtEnd()) return true;
  55938. break;
  55939. }
  55940. default: {
  55941. handle_uninterpreted:
  55942. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  55943. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  55944. return true;
  55945. }
  55946. DO_(::google::protobuf::internal::WireFormat::SkipField(
  55947. input, tag, mutable_unknown_fields()));
  55948. break;
  55949. }
  55950. }
  55951. }
  55952. return true;
  55953. #undef DO_
  55954. }
  55955. void packetw2c_syn_wing_experience_info::SerializeWithCachedSizes(
  55956. ::google::protobuf::io::CodedOutputStream* output) const {
  55957. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wing_experience_info];
  55958. if (has_packet_id()) {
  55959. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  55960. 1, this->packet_id(), output);
  55961. }
  55962. // optional int32 activityState = 2;
  55963. if (has_activitystate()) {
  55964. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  55965. }
  55966. // optional int32 startTime = 3;
  55967. if (has_starttime()) {
  55968. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  55969. }
  55970. // optional int32 endTime = 4;
  55971. if (has_endtime()) {
  55972. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  55973. }
  55974. // optional bool received = 5;
  55975. if (has_received()) {
  55976. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->received(), output);
  55977. }
  55978. if (!unknown_fields().empty()) {
  55979. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  55980. unknown_fields(), output);
  55981. }
  55982. }
  55983. ::google::protobuf::uint8* packetw2c_syn_wing_experience_info::SerializeWithCachedSizesToArray(
  55984. ::google::protobuf::uint8* target) const {
  55985. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wing_experience_info];
  55986. if (has_packet_id()) {
  55987. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  55988. 1, this->packet_id(), target);
  55989. }
  55990. // optional int32 activityState = 2;
  55991. if (has_activitystate()) {
  55992. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  55993. }
  55994. // optional int32 startTime = 3;
  55995. if (has_starttime()) {
  55996. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  55997. }
  55998. // optional int32 endTime = 4;
  55999. if (has_endtime()) {
  56000. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  56001. }
  56002. // optional bool received = 5;
  56003. if (has_received()) {
  56004. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->received(), target);
  56005. }
  56006. if (!unknown_fields().empty()) {
  56007. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  56008. unknown_fields(), target);
  56009. }
  56010. return target;
  56011. }
  56012. int packetw2c_syn_wing_experience_info::ByteSize() const {
  56013. int total_size = 0;
  56014. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56015. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wing_experience_info];
  56016. if (has_packet_id()) {
  56017. total_size += 1 +
  56018. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  56019. }
  56020. // optional int32 activityState = 2;
  56021. if (has_activitystate()) {
  56022. total_size += 1 +
  56023. ::google::protobuf::internal::WireFormatLite::Int32Size(
  56024. this->activitystate());
  56025. }
  56026. // optional int32 startTime = 3;
  56027. if (has_starttime()) {
  56028. total_size += 1 +
  56029. ::google::protobuf::internal::WireFormatLite::Int32Size(
  56030. this->starttime());
  56031. }
  56032. // optional int32 endTime = 4;
  56033. if (has_endtime()) {
  56034. total_size += 1 +
  56035. ::google::protobuf::internal::WireFormatLite::Int32Size(
  56036. this->endtime());
  56037. }
  56038. // optional bool received = 5;
  56039. if (has_received()) {
  56040. total_size += 1 + 1;
  56041. }
  56042. }
  56043. if (!unknown_fields().empty()) {
  56044. total_size +=
  56045. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  56046. unknown_fields());
  56047. }
  56048. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  56049. _cached_size_ = total_size;
  56050. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  56051. return total_size;
  56052. }
  56053. void packetw2c_syn_wing_experience_info::MergeFrom(const ::google::protobuf::Message& from) {
  56054. GOOGLE_CHECK_NE(&from, this);
  56055. const packetw2c_syn_wing_experience_info* source =
  56056. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_wing_experience_info*>(
  56057. &from);
  56058. if (source == NULL) {
  56059. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  56060. } else {
  56061. MergeFrom(*source);
  56062. }
  56063. }
  56064. void packetw2c_syn_wing_experience_info::MergeFrom(const packetw2c_syn_wing_experience_info& from) {
  56065. GOOGLE_CHECK_NE(&from, this);
  56066. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56067. if (from.has_packet_id()) {
  56068. set_packet_id(from.packet_id());
  56069. }
  56070. if (from.has_activitystate()) {
  56071. set_activitystate(from.activitystate());
  56072. }
  56073. if (from.has_starttime()) {
  56074. set_starttime(from.starttime());
  56075. }
  56076. if (from.has_endtime()) {
  56077. set_endtime(from.endtime());
  56078. }
  56079. if (from.has_received()) {
  56080. set_received(from.received());
  56081. }
  56082. }
  56083. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  56084. }
  56085. void packetw2c_syn_wing_experience_info::CopyFrom(const ::google::protobuf::Message& from) {
  56086. if (&from == this) return;
  56087. Clear();
  56088. MergeFrom(from);
  56089. }
  56090. void packetw2c_syn_wing_experience_info::CopyFrom(const packetw2c_syn_wing_experience_info& from) {
  56091. if (&from == this) return;
  56092. Clear();
  56093. MergeFrom(from);
  56094. }
  56095. bool packetw2c_syn_wing_experience_info::IsInitialized() const {
  56096. return true;
  56097. }
  56098. void packetw2c_syn_wing_experience_info::Swap(packetw2c_syn_wing_experience_info* other) {
  56099. if (other != this) {
  56100. std::swap(packet_id_, other->packet_id_);
  56101. std::swap(activitystate_, other->activitystate_);
  56102. std::swap(starttime_, other->starttime_);
  56103. std::swap(endtime_, other->endtime_);
  56104. std::swap(received_, other->received_);
  56105. std::swap(_has_bits_[0], other->_has_bits_[0]);
  56106. _unknown_fields_.Swap(&other->_unknown_fields_);
  56107. std::swap(_cached_size_, other->_cached_size_);
  56108. }
  56109. }
  56110. ::google::protobuf::Metadata packetw2c_syn_wing_experience_info::GetMetadata() const {
  56111. protobuf_AssignDescriptorsOnce();
  56112. ::google::protobuf::Metadata metadata;
  56113. metadata.descriptor = packetw2c_syn_wing_experience_info_descriptor_;
  56114. metadata.reflection = packetw2c_syn_wing_experience_info_reflection_;
  56115. return metadata;
  56116. }
  56117. // ===================================================================
  56118. #ifndef _MSC_VER
  56119. const int packetc2w_wing_experience_receive_wing::kPacketIdFieldNumber;
  56120. #endif // !_MSC_VER
  56121. packetc2w_wing_experience_receive_wing::packetc2w_wing_experience_receive_wing()
  56122. : ::google::protobuf::Message() {
  56123. SharedCtor();
  56124. }
  56125. void packetc2w_wing_experience_receive_wing::InitAsDefaultInstance() {
  56126. }
  56127. packetc2w_wing_experience_receive_wing::packetc2w_wing_experience_receive_wing(const packetc2w_wing_experience_receive_wing& from)
  56128. : ::google::protobuf::Message() {
  56129. SharedCtor();
  56130. MergeFrom(from);
  56131. }
  56132. void packetc2w_wing_experience_receive_wing::SharedCtor() {
  56133. _cached_size_ = 0;
  56134. packet_id_ = 5229;
  56135. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  56136. }
  56137. packetc2w_wing_experience_receive_wing::~packetc2w_wing_experience_receive_wing() {
  56138. SharedDtor();
  56139. }
  56140. void packetc2w_wing_experience_receive_wing::SharedDtor() {
  56141. if (this != default_instance_) {
  56142. }
  56143. }
  56144. void packetc2w_wing_experience_receive_wing::SetCachedSize(int size) const {
  56145. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  56146. _cached_size_ = size;
  56147. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  56148. }
  56149. const ::google::protobuf::Descriptor* packetc2w_wing_experience_receive_wing::descriptor() {
  56150. protobuf_AssignDescriptorsOnce();
  56151. return packetc2w_wing_experience_receive_wing_descriptor_;
  56152. }
  56153. const packetc2w_wing_experience_receive_wing& packetc2w_wing_experience_receive_wing::default_instance() {
  56154. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  56155. return *default_instance_;
  56156. }
  56157. packetc2w_wing_experience_receive_wing* packetc2w_wing_experience_receive_wing::default_instance_ = NULL;
  56158. packetc2w_wing_experience_receive_wing* packetc2w_wing_experience_receive_wing::New() const {
  56159. return new packetc2w_wing_experience_receive_wing;
  56160. }
  56161. void packetc2w_wing_experience_receive_wing::Clear() {
  56162. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56163. packet_id_ = 5229;
  56164. }
  56165. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  56166. mutable_unknown_fields()->Clear();
  56167. }
  56168. bool packetc2w_wing_experience_receive_wing::MergePartialFromCodedStream(
  56169. ::google::protobuf::io::CodedInputStream* input) {
  56170. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  56171. ::google::protobuf::uint32 tag;
  56172. while ((tag = input->ReadTag()) != 0) {
  56173. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  56174. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wing_experience_receive_wing];
  56175. case 1: {
  56176. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56177. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56178. int value;
  56179. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56180. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  56181. input, &value)));
  56182. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  56183. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  56184. } else {
  56185. mutable_unknown_fields()->AddVarint(1, value);
  56186. }
  56187. } else {
  56188. goto handle_uninterpreted;
  56189. }
  56190. if (input->ExpectAtEnd()) return true;
  56191. break;
  56192. }
  56193. default: {
  56194. handle_uninterpreted:
  56195. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56196. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  56197. return true;
  56198. }
  56199. DO_(::google::protobuf::internal::WireFormat::SkipField(
  56200. input, tag, mutable_unknown_fields()));
  56201. break;
  56202. }
  56203. }
  56204. }
  56205. return true;
  56206. #undef DO_
  56207. }
  56208. void packetc2w_wing_experience_receive_wing::SerializeWithCachedSizes(
  56209. ::google::protobuf::io::CodedOutputStream* output) const {
  56210. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wing_experience_receive_wing];
  56211. if (has_packet_id()) {
  56212. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  56213. 1, this->packet_id(), output);
  56214. }
  56215. if (!unknown_fields().empty()) {
  56216. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  56217. unknown_fields(), output);
  56218. }
  56219. }
  56220. ::google::protobuf::uint8* packetc2w_wing_experience_receive_wing::SerializeWithCachedSizesToArray(
  56221. ::google::protobuf::uint8* target) const {
  56222. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wing_experience_receive_wing];
  56223. if (has_packet_id()) {
  56224. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  56225. 1, this->packet_id(), target);
  56226. }
  56227. if (!unknown_fields().empty()) {
  56228. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  56229. unknown_fields(), target);
  56230. }
  56231. return target;
  56232. }
  56233. int packetc2w_wing_experience_receive_wing::ByteSize() const {
  56234. int total_size = 0;
  56235. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56236. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_wing_experience_receive_wing];
  56237. if (has_packet_id()) {
  56238. total_size += 1 +
  56239. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  56240. }
  56241. }
  56242. if (!unknown_fields().empty()) {
  56243. total_size +=
  56244. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  56245. unknown_fields());
  56246. }
  56247. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  56248. _cached_size_ = total_size;
  56249. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  56250. return total_size;
  56251. }
  56252. void packetc2w_wing_experience_receive_wing::MergeFrom(const ::google::protobuf::Message& from) {
  56253. GOOGLE_CHECK_NE(&from, this);
  56254. const packetc2w_wing_experience_receive_wing* source =
  56255. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_wing_experience_receive_wing*>(
  56256. &from);
  56257. if (source == NULL) {
  56258. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  56259. } else {
  56260. MergeFrom(*source);
  56261. }
  56262. }
  56263. void packetc2w_wing_experience_receive_wing::MergeFrom(const packetc2w_wing_experience_receive_wing& from) {
  56264. GOOGLE_CHECK_NE(&from, this);
  56265. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56266. if (from.has_packet_id()) {
  56267. set_packet_id(from.packet_id());
  56268. }
  56269. }
  56270. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  56271. }
  56272. void packetc2w_wing_experience_receive_wing::CopyFrom(const ::google::protobuf::Message& from) {
  56273. if (&from == this) return;
  56274. Clear();
  56275. MergeFrom(from);
  56276. }
  56277. void packetc2w_wing_experience_receive_wing::CopyFrom(const packetc2w_wing_experience_receive_wing& from) {
  56278. if (&from == this) return;
  56279. Clear();
  56280. MergeFrom(from);
  56281. }
  56282. bool packetc2w_wing_experience_receive_wing::IsInitialized() const {
  56283. return true;
  56284. }
  56285. void packetc2w_wing_experience_receive_wing::Swap(packetc2w_wing_experience_receive_wing* other) {
  56286. if (other != this) {
  56287. std::swap(packet_id_, other->packet_id_);
  56288. std::swap(_has_bits_[0], other->_has_bits_[0]);
  56289. _unknown_fields_.Swap(&other->_unknown_fields_);
  56290. std::swap(_cached_size_, other->_cached_size_);
  56291. }
  56292. }
  56293. ::google::protobuf::Metadata packetc2w_wing_experience_receive_wing::GetMetadata() const {
  56294. protobuf_AssignDescriptorsOnce();
  56295. ::google::protobuf::Metadata metadata;
  56296. metadata.descriptor = packetc2w_wing_experience_receive_wing_descriptor_;
  56297. metadata.reflection = packetc2w_wing_experience_receive_wing_reflection_;
  56298. return metadata;
  56299. }
  56300. // ===================================================================
  56301. #ifndef _MSC_VER
  56302. const int packetw2c_wing_experience_receive_wing_result::kPacketIdFieldNumber;
  56303. const int packetw2c_wing_experience_receive_wing_result::kResultFieldNumber;
  56304. #endif // !_MSC_VER
  56305. packetw2c_wing_experience_receive_wing_result::packetw2c_wing_experience_receive_wing_result()
  56306. : ::google::protobuf::Message() {
  56307. SharedCtor();
  56308. }
  56309. void packetw2c_wing_experience_receive_wing_result::InitAsDefaultInstance() {
  56310. }
  56311. packetw2c_wing_experience_receive_wing_result::packetw2c_wing_experience_receive_wing_result(const packetw2c_wing_experience_receive_wing_result& from)
  56312. : ::google::protobuf::Message() {
  56313. SharedCtor();
  56314. MergeFrom(from);
  56315. }
  56316. void packetw2c_wing_experience_receive_wing_result::SharedCtor() {
  56317. _cached_size_ = 0;
  56318. packet_id_ = 7769;
  56319. result_ = 0;
  56320. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  56321. }
  56322. packetw2c_wing_experience_receive_wing_result::~packetw2c_wing_experience_receive_wing_result() {
  56323. SharedDtor();
  56324. }
  56325. void packetw2c_wing_experience_receive_wing_result::SharedDtor() {
  56326. if (this != default_instance_) {
  56327. }
  56328. }
  56329. void packetw2c_wing_experience_receive_wing_result::SetCachedSize(int size) const {
  56330. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  56331. _cached_size_ = size;
  56332. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  56333. }
  56334. const ::google::protobuf::Descriptor* packetw2c_wing_experience_receive_wing_result::descriptor() {
  56335. protobuf_AssignDescriptorsOnce();
  56336. return packetw2c_wing_experience_receive_wing_result_descriptor_;
  56337. }
  56338. const packetw2c_wing_experience_receive_wing_result& packetw2c_wing_experience_receive_wing_result::default_instance() {
  56339. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  56340. return *default_instance_;
  56341. }
  56342. packetw2c_wing_experience_receive_wing_result* packetw2c_wing_experience_receive_wing_result::default_instance_ = NULL;
  56343. packetw2c_wing_experience_receive_wing_result* packetw2c_wing_experience_receive_wing_result::New() const {
  56344. return new packetw2c_wing_experience_receive_wing_result;
  56345. }
  56346. void packetw2c_wing_experience_receive_wing_result::Clear() {
  56347. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56348. packet_id_ = 7769;
  56349. result_ = 0;
  56350. }
  56351. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  56352. mutable_unknown_fields()->Clear();
  56353. }
  56354. bool packetw2c_wing_experience_receive_wing_result::MergePartialFromCodedStream(
  56355. ::google::protobuf::io::CodedInputStream* input) {
  56356. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  56357. ::google::protobuf::uint32 tag;
  56358. while ((tag = input->ReadTag()) != 0) {
  56359. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  56360. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wing_experience_receive_wing_result];
  56361. case 1: {
  56362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56364. int value;
  56365. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56366. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  56367. input, &value)));
  56368. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  56369. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  56370. } else {
  56371. mutable_unknown_fields()->AddVarint(1, value);
  56372. }
  56373. } else {
  56374. goto handle_uninterpreted;
  56375. }
  56376. if (input->ExpectTag(16)) goto parse_result;
  56377. break;
  56378. }
  56379. // optional int32 result = 2;
  56380. case 2: {
  56381. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56382. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56383. parse_result:
  56384. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56385. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56386. input, &result_)));
  56387. set_has_result();
  56388. } else {
  56389. goto handle_uninterpreted;
  56390. }
  56391. if (input->ExpectAtEnd()) return true;
  56392. break;
  56393. }
  56394. default: {
  56395. handle_uninterpreted:
  56396. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56397. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  56398. return true;
  56399. }
  56400. DO_(::google::protobuf::internal::WireFormat::SkipField(
  56401. input, tag, mutable_unknown_fields()));
  56402. break;
  56403. }
  56404. }
  56405. }
  56406. return true;
  56407. #undef DO_
  56408. }
  56409. void packetw2c_wing_experience_receive_wing_result::SerializeWithCachedSizes(
  56410. ::google::protobuf::io::CodedOutputStream* output) const {
  56411. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wing_experience_receive_wing_result];
  56412. if (has_packet_id()) {
  56413. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  56414. 1, this->packet_id(), output);
  56415. }
  56416. // optional int32 result = 2;
  56417. if (has_result()) {
  56418. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  56419. }
  56420. if (!unknown_fields().empty()) {
  56421. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  56422. unknown_fields(), output);
  56423. }
  56424. }
  56425. ::google::protobuf::uint8* packetw2c_wing_experience_receive_wing_result::SerializeWithCachedSizesToArray(
  56426. ::google::protobuf::uint8* target) const {
  56427. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wing_experience_receive_wing_result];
  56428. if (has_packet_id()) {
  56429. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  56430. 1, this->packet_id(), target);
  56431. }
  56432. // optional int32 result = 2;
  56433. if (has_result()) {
  56434. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  56435. }
  56436. if (!unknown_fields().empty()) {
  56437. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  56438. unknown_fields(), target);
  56439. }
  56440. return target;
  56441. }
  56442. int packetw2c_wing_experience_receive_wing_result::ByteSize() const {
  56443. int total_size = 0;
  56444. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56445. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_wing_experience_receive_wing_result];
  56446. if (has_packet_id()) {
  56447. total_size += 1 +
  56448. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  56449. }
  56450. // optional int32 result = 2;
  56451. if (has_result()) {
  56452. total_size += 1 +
  56453. ::google::protobuf::internal::WireFormatLite::Int32Size(
  56454. this->result());
  56455. }
  56456. }
  56457. if (!unknown_fields().empty()) {
  56458. total_size +=
  56459. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  56460. unknown_fields());
  56461. }
  56462. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  56463. _cached_size_ = total_size;
  56464. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  56465. return total_size;
  56466. }
  56467. void packetw2c_wing_experience_receive_wing_result::MergeFrom(const ::google::protobuf::Message& from) {
  56468. GOOGLE_CHECK_NE(&from, this);
  56469. const packetw2c_wing_experience_receive_wing_result* source =
  56470. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_wing_experience_receive_wing_result*>(
  56471. &from);
  56472. if (source == NULL) {
  56473. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  56474. } else {
  56475. MergeFrom(*source);
  56476. }
  56477. }
  56478. void packetw2c_wing_experience_receive_wing_result::MergeFrom(const packetw2c_wing_experience_receive_wing_result& from) {
  56479. GOOGLE_CHECK_NE(&from, this);
  56480. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56481. if (from.has_packet_id()) {
  56482. set_packet_id(from.packet_id());
  56483. }
  56484. if (from.has_result()) {
  56485. set_result(from.result());
  56486. }
  56487. }
  56488. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  56489. }
  56490. void packetw2c_wing_experience_receive_wing_result::CopyFrom(const ::google::protobuf::Message& from) {
  56491. if (&from == this) return;
  56492. Clear();
  56493. MergeFrom(from);
  56494. }
  56495. void packetw2c_wing_experience_receive_wing_result::CopyFrom(const packetw2c_wing_experience_receive_wing_result& from) {
  56496. if (&from == this) return;
  56497. Clear();
  56498. MergeFrom(from);
  56499. }
  56500. bool packetw2c_wing_experience_receive_wing_result::IsInitialized() const {
  56501. return true;
  56502. }
  56503. void packetw2c_wing_experience_receive_wing_result::Swap(packetw2c_wing_experience_receive_wing_result* other) {
  56504. if (other != this) {
  56505. std::swap(packet_id_, other->packet_id_);
  56506. std::swap(result_, other->result_);
  56507. std::swap(_has_bits_[0], other->_has_bits_[0]);
  56508. _unknown_fields_.Swap(&other->_unknown_fields_);
  56509. std::swap(_cached_size_, other->_cached_size_);
  56510. }
  56511. }
  56512. ::google::protobuf::Metadata packetw2c_wing_experience_receive_wing_result::GetMetadata() const {
  56513. protobuf_AssignDescriptorsOnce();
  56514. ::google::protobuf::Metadata metadata;
  56515. metadata.descriptor = packetw2c_wing_experience_receive_wing_result_descriptor_;
  56516. metadata.reflection = packetw2c_wing_experience_receive_wing_result_reflection_;
  56517. return metadata;
  56518. }
  56519. // ===================================================================
  56520. #ifndef _MSC_VER
  56521. const int exchangeInfo::kIdFieldNumber;
  56522. const int exchangeInfo::kTimesFieldNumber;
  56523. #endif // !_MSC_VER
  56524. exchangeInfo::exchangeInfo()
  56525. : ::google::protobuf::Message() {
  56526. SharedCtor();
  56527. }
  56528. void exchangeInfo::InitAsDefaultInstance() {
  56529. }
  56530. exchangeInfo::exchangeInfo(const exchangeInfo& from)
  56531. : ::google::protobuf::Message() {
  56532. SharedCtor();
  56533. MergeFrom(from);
  56534. }
  56535. void exchangeInfo::SharedCtor() {
  56536. _cached_size_ = 0;
  56537. id_ = 0;
  56538. times_ = 0;
  56539. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  56540. }
  56541. exchangeInfo::~exchangeInfo() {
  56542. SharedDtor();
  56543. }
  56544. void exchangeInfo::SharedDtor() {
  56545. if (this != default_instance_) {
  56546. }
  56547. }
  56548. void exchangeInfo::SetCachedSize(int size) const {
  56549. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  56550. _cached_size_ = size;
  56551. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  56552. }
  56553. const ::google::protobuf::Descriptor* exchangeInfo::descriptor() {
  56554. protobuf_AssignDescriptorsOnce();
  56555. return exchangeInfo_descriptor_;
  56556. }
  56557. const exchangeInfo& exchangeInfo::default_instance() {
  56558. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  56559. return *default_instance_;
  56560. }
  56561. exchangeInfo* exchangeInfo::default_instance_ = NULL;
  56562. exchangeInfo* exchangeInfo::New() const {
  56563. return new exchangeInfo;
  56564. }
  56565. void exchangeInfo::Clear() {
  56566. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56567. id_ = 0;
  56568. times_ = 0;
  56569. }
  56570. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  56571. mutable_unknown_fields()->Clear();
  56572. }
  56573. bool exchangeInfo::MergePartialFromCodedStream(
  56574. ::google::protobuf::io::CodedInputStream* input) {
  56575. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  56576. ::google::protobuf::uint32 tag;
  56577. while ((tag = input->ReadTag()) != 0) {
  56578. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  56579. // optional int32 id = 1;
  56580. case 1: {
  56581. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56582. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56583. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56584. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56585. input, &id_)));
  56586. set_has_id();
  56587. } else {
  56588. goto handle_uninterpreted;
  56589. }
  56590. if (input->ExpectTag(16)) goto parse_times;
  56591. break;
  56592. }
  56593. // optional int32 times = 2;
  56594. case 2: {
  56595. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56596. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56597. parse_times:
  56598. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56599. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56600. input, &times_)));
  56601. set_has_times();
  56602. } else {
  56603. goto handle_uninterpreted;
  56604. }
  56605. if (input->ExpectAtEnd()) return true;
  56606. break;
  56607. }
  56608. default: {
  56609. handle_uninterpreted:
  56610. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56611. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  56612. return true;
  56613. }
  56614. DO_(::google::protobuf::internal::WireFormat::SkipField(
  56615. input, tag, mutable_unknown_fields()));
  56616. break;
  56617. }
  56618. }
  56619. }
  56620. return true;
  56621. #undef DO_
  56622. }
  56623. void exchangeInfo::SerializeWithCachedSizes(
  56624. ::google::protobuf::io::CodedOutputStream* output) const {
  56625. // optional int32 id = 1;
  56626. if (has_id()) {
  56627. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
  56628. }
  56629. // optional int32 times = 2;
  56630. if (has_times()) {
  56631. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->times(), output);
  56632. }
  56633. if (!unknown_fields().empty()) {
  56634. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  56635. unknown_fields(), output);
  56636. }
  56637. }
  56638. ::google::protobuf::uint8* exchangeInfo::SerializeWithCachedSizesToArray(
  56639. ::google::protobuf::uint8* target) const {
  56640. // optional int32 id = 1;
  56641. if (has_id()) {
  56642. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
  56643. }
  56644. // optional int32 times = 2;
  56645. if (has_times()) {
  56646. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->times(), target);
  56647. }
  56648. if (!unknown_fields().empty()) {
  56649. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  56650. unknown_fields(), target);
  56651. }
  56652. return target;
  56653. }
  56654. int exchangeInfo::ByteSize() const {
  56655. int total_size = 0;
  56656. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56657. // optional int32 id = 1;
  56658. if (has_id()) {
  56659. total_size += 1 +
  56660. ::google::protobuf::internal::WireFormatLite::Int32Size(
  56661. this->id());
  56662. }
  56663. // optional int32 times = 2;
  56664. if (has_times()) {
  56665. total_size += 1 +
  56666. ::google::protobuf::internal::WireFormatLite::Int32Size(
  56667. this->times());
  56668. }
  56669. }
  56670. if (!unknown_fields().empty()) {
  56671. total_size +=
  56672. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  56673. unknown_fields());
  56674. }
  56675. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  56676. _cached_size_ = total_size;
  56677. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  56678. return total_size;
  56679. }
  56680. void exchangeInfo::MergeFrom(const ::google::protobuf::Message& from) {
  56681. GOOGLE_CHECK_NE(&from, this);
  56682. const exchangeInfo* source =
  56683. ::google::protobuf::internal::dynamic_cast_if_available<const exchangeInfo*>(
  56684. &from);
  56685. if (source == NULL) {
  56686. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  56687. } else {
  56688. MergeFrom(*source);
  56689. }
  56690. }
  56691. void exchangeInfo::MergeFrom(const exchangeInfo& from) {
  56692. GOOGLE_CHECK_NE(&from, this);
  56693. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56694. if (from.has_id()) {
  56695. set_id(from.id());
  56696. }
  56697. if (from.has_times()) {
  56698. set_times(from.times());
  56699. }
  56700. }
  56701. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  56702. }
  56703. void exchangeInfo::CopyFrom(const ::google::protobuf::Message& from) {
  56704. if (&from == this) return;
  56705. Clear();
  56706. MergeFrom(from);
  56707. }
  56708. void exchangeInfo::CopyFrom(const exchangeInfo& from) {
  56709. if (&from == this) return;
  56710. Clear();
  56711. MergeFrom(from);
  56712. }
  56713. bool exchangeInfo::IsInitialized() const {
  56714. return true;
  56715. }
  56716. void exchangeInfo::Swap(exchangeInfo* other) {
  56717. if (other != this) {
  56718. std::swap(id_, other->id_);
  56719. std::swap(times_, other->times_);
  56720. std::swap(_has_bits_[0], other->_has_bits_[0]);
  56721. _unknown_fields_.Swap(&other->_unknown_fields_);
  56722. std::swap(_cached_size_, other->_cached_size_);
  56723. }
  56724. }
  56725. ::google::protobuf::Metadata exchangeInfo::GetMetadata() const {
  56726. protobuf_AssignDescriptorsOnce();
  56727. ::google::protobuf::Metadata metadata;
  56728. metadata.descriptor = exchangeInfo_descriptor_;
  56729. metadata.reflection = exchangeInfo_reflection_;
  56730. return metadata;
  56731. }
  56732. // ===================================================================
  56733. #ifndef _MSC_VER
  56734. const int packetw2c_syn_kingcraft_info::kPacketIdFieldNumber;
  56735. const int packetw2c_syn_kingcraft_info::kActivityStateFieldNumber;
  56736. const int packetw2c_syn_kingcraft_info::kStartTimeFieldNumber;
  56737. const int packetw2c_syn_kingcraft_info::kEndTimeFieldNumber;
  56738. const int packetw2c_syn_kingcraft_info::kShieldCountFieldNumber;
  56739. const int packetw2c_syn_kingcraft_info::kLotteryTicketFieldNumber;
  56740. const int packetw2c_syn_kingcraft_info::kLotteryCountFieldNumber;
  56741. const int packetw2c_syn_kingcraft_info::kRechargedFieldNumber;
  56742. const int packetw2c_syn_kingcraft_info::kRechargeCheckFieldNumber;
  56743. const int packetw2c_syn_kingcraft_info::kSignCountFieldNumber;
  56744. const int packetw2c_syn_kingcraft_info::kCanSignFieldNumber;
  56745. const int packetw2c_syn_kingcraft_info::kRankListFieldNumber;
  56746. const int packetw2c_syn_kingcraft_info::kThresholdValueFieldNumber;
  56747. const int packetw2c_syn_kingcraft_info::kExchangeListFieldNumber;
  56748. #endif // !_MSC_VER
  56749. packetw2c_syn_kingcraft_info::packetw2c_syn_kingcraft_info()
  56750. : ::google::protobuf::Message() {
  56751. SharedCtor();
  56752. }
  56753. void packetw2c_syn_kingcraft_info::InitAsDefaultInstance() {
  56754. }
  56755. packetw2c_syn_kingcraft_info::packetw2c_syn_kingcraft_info(const packetw2c_syn_kingcraft_info& from)
  56756. : ::google::protobuf::Message() {
  56757. SharedCtor();
  56758. MergeFrom(from);
  56759. }
  56760. void packetw2c_syn_kingcraft_info::SharedCtor() {
  56761. _cached_size_ = 0;
  56762. packet_id_ = 7771;
  56763. activitystate_ = 0;
  56764. starttime_ = 0;
  56765. endtime_ = 0;
  56766. shieldcount_ = 0;
  56767. lotteryticket_ = 0;
  56768. lotterycount_ = 0;
  56769. recharged_ = 0;
  56770. signcount_ = 0;
  56771. cansign_ = false;
  56772. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  56773. }
  56774. packetw2c_syn_kingcraft_info::~packetw2c_syn_kingcraft_info() {
  56775. SharedDtor();
  56776. }
  56777. void packetw2c_syn_kingcraft_info::SharedDtor() {
  56778. if (this != default_instance_) {
  56779. }
  56780. }
  56781. void packetw2c_syn_kingcraft_info::SetCachedSize(int size) const {
  56782. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  56783. _cached_size_ = size;
  56784. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  56785. }
  56786. const ::google::protobuf::Descriptor* packetw2c_syn_kingcraft_info::descriptor() {
  56787. protobuf_AssignDescriptorsOnce();
  56788. return packetw2c_syn_kingcraft_info_descriptor_;
  56789. }
  56790. const packetw2c_syn_kingcraft_info& packetw2c_syn_kingcraft_info::default_instance() {
  56791. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  56792. return *default_instance_;
  56793. }
  56794. packetw2c_syn_kingcraft_info* packetw2c_syn_kingcraft_info::default_instance_ = NULL;
  56795. packetw2c_syn_kingcraft_info* packetw2c_syn_kingcraft_info::New() const {
  56796. return new packetw2c_syn_kingcraft_info;
  56797. }
  56798. void packetw2c_syn_kingcraft_info::Clear() {
  56799. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  56800. packet_id_ = 7771;
  56801. activitystate_ = 0;
  56802. starttime_ = 0;
  56803. endtime_ = 0;
  56804. shieldcount_ = 0;
  56805. lotteryticket_ = 0;
  56806. lotterycount_ = 0;
  56807. recharged_ = 0;
  56808. }
  56809. if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  56810. signcount_ = 0;
  56811. cansign_ = false;
  56812. }
  56813. rechargecheck_.Clear();
  56814. ranklist_.Clear();
  56815. thresholdvalue_.Clear();
  56816. exchangelist_.Clear();
  56817. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  56818. mutable_unknown_fields()->Clear();
  56819. }
  56820. bool packetw2c_syn_kingcraft_info::MergePartialFromCodedStream(
  56821. ::google::protobuf::io::CodedInputStream* input) {
  56822. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  56823. ::google::protobuf::uint32 tag;
  56824. while ((tag = input->ReadTag()) != 0) {
  56825. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  56826. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kingcraft_info];
  56827. case 1: {
  56828. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56829. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56830. int value;
  56831. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56832. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  56833. input, &value)));
  56834. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  56835. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  56836. } else {
  56837. mutable_unknown_fields()->AddVarint(1, value);
  56838. }
  56839. } else {
  56840. goto handle_uninterpreted;
  56841. }
  56842. if (input->ExpectTag(16)) goto parse_activityState;
  56843. break;
  56844. }
  56845. // optional int32 activityState = 2;
  56846. case 2: {
  56847. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56848. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56849. parse_activityState:
  56850. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56851. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56852. input, &activitystate_)));
  56853. set_has_activitystate();
  56854. } else {
  56855. goto handle_uninterpreted;
  56856. }
  56857. if (input->ExpectTag(24)) goto parse_startTime;
  56858. break;
  56859. }
  56860. // optional int32 startTime = 3;
  56861. case 3: {
  56862. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56863. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56864. parse_startTime:
  56865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56866. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56867. input, &starttime_)));
  56868. set_has_starttime();
  56869. } else {
  56870. goto handle_uninterpreted;
  56871. }
  56872. if (input->ExpectTag(32)) goto parse_endTime;
  56873. break;
  56874. }
  56875. // optional int32 endTime = 4;
  56876. case 4: {
  56877. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56878. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56879. parse_endTime:
  56880. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56881. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56882. input, &endtime_)));
  56883. set_has_endtime();
  56884. } else {
  56885. goto handle_uninterpreted;
  56886. }
  56887. if (input->ExpectTag(40)) goto parse_shieldCount;
  56888. break;
  56889. }
  56890. // optional int32 shieldCount = 5;
  56891. case 5: {
  56892. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56893. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56894. parse_shieldCount:
  56895. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56896. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56897. input, &shieldcount_)));
  56898. set_has_shieldcount();
  56899. } else {
  56900. goto handle_uninterpreted;
  56901. }
  56902. if (input->ExpectTag(48)) goto parse_lotteryTicket;
  56903. break;
  56904. }
  56905. // optional int32 lotteryTicket = 6;
  56906. case 6: {
  56907. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56908. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56909. parse_lotteryTicket:
  56910. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56911. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56912. input, &lotteryticket_)));
  56913. set_has_lotteryticket();
  56914. } else {
  56915. goto handle_uninterpreted;
  56916. }
  56917. if (input->ExpectTag(56)) goto parse_lotteryCount;
  56918. break;
  56919. }
  56920. // optional int32 lotteryCount = 7;
  56921. case 7: {
  56922. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56923. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56924. parse_lotteryCount:
  56925. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56926. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56927. input, &lotterycount_)));
  56928. set_has_lotterycount();
  56929. } else {
  56930. goto handle_uninterpreted;
  56931. }
  56932. if (input->ExpectTag(64)) goto parse_recharged;
  56933. break;
  56934. }
  56935. // optional int32 recharged = 8;
  56936. case 8: {
  56937. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56938. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56939. parse_recharged:
  56940. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56941. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56942. input, &recharged_)));
  56943. set_has_recharged();
  56944. } else {
  56945. goto handle_uninterpreted;
  56946. }
  56947. if (input->ExpectTag(72)) goto parse_rechargeCheck;
  56948. break;
  56949. }
  56950. // repeated int32 rechargeCheck = 9;
  56951. case 9: {
  56952. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56953. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56954. parse_rechargeCheck:
  56955. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  56956. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56957. 1, 72, input, this->mutable_rechargecheck())));
  56958. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  56959. == ::google::protobuf::internal::WireFormatLite::
  56960. WIRETYPE_LENGTH_DELIMITED) {
  56961. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  56962. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56963. input, this->mutable_rechargecheck())));
  56964. } else {
  56965. goto handle_uninterpreted;
  56966. }
  56967. if (input->ExpectTag(72)) goto parse_rechargeCheck;
  56968. if (input->ExpectTag(80)) goto parse_signCount;
  56969. break;
  56970. }
  56971. // optional int32 signCount = 10;
  56972. case 10: {
  56973. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56974. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56975. parse_signCount:
  56976. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56977. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  56978. input, &signcount_)));
  56979. set_has_signcount();
  56980. } else {
  56981. goto handle_uninterpreted;
  56982. }
  56983. if (input->ExpectTag(88)) goto parse_canSign;
  56984. break;
  56985. }
  56986. // optional bool canSign = 11;
  56987. case 11: {
  56988. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  56989. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  56990. parse_canSign:
  56991. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  56992. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  56993. input, &cansign_)));
  56994. set_has_cansign();
  56995. } else {
  56996. goto handle_uninterpreted;
  56997. }
  56998. if (input->ExpectTag(98)) goto parse_rankList;
  56999. break;
  57000. }
  57001. // repeated .client2world_protocols.activity_rank rankList = 12;
  57002. case 12: {
  57003. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57004. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  57005. parse_rankList:
  57006. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  57007. input, add_ranklist()));
  57008. } else {
  57009. goto handle_uninterpreted;
  57010. }
  57011. if (input->ExpectTag(98)) goto parse_rankList;
  57012. if (input->ExpectTag(104)) goto parse_thresholdValue;
  57013. break;
  57014. }
  57015. // repeated int32 thresholdValue = 13;
  57016. case 13: {
  57017. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57018. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  57019. parse_thresholdValue:
  57020. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  57021. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  57022. 1, 104, input, this->mutable_thresholdvalue())));
  57023. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  57024. == ::google::protobuf::internal::WireFormatLite::
  57025. WIRETYPE_LENGTH_DELIMITED) {
  57026. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  57027. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  57028. input, this->mutable_thresholdvalue())));
  57029. } else {
  57030. goto handle_uninterpreted;
  57031. }
  57032. if (input->ExpectTag(104)) goto parse_thresholdValue;
  57033. if (input->ExpectTag(114)) goto parse_exchangeList;
  57034. break;
  57035. }
  57036. // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  57037. case 14: {
  57038. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57039. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  57040. parse_exchangeList:
  57041. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  57042. input, add_exchangelist()));
  57043. } else {
  57044. goto handle_uninterpreted;
  57045. }
  57046. if (input->ExpectTag(114)) goto parse_exchangeList;
  57047. if (input->ExpectAtEnd()) return true;
  57048. break;
  57049. }
  57050. default: {
  57051. handle_uninterpreted:
  57052. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57053. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  57054. return true;
  57055. }
  57056. DO_(::google::protobuf::internal::WireFormat::SkipField(
  57057. input, tag, mutable_unknown_fields()));
  57058. break;
  57059. }
  57060. }
  57061. }
  57062. return true;
  57063. #undef DO_
  57064. }
  57065. void packetw2c_syn_kingcraft_info::SerializeWithCachedSizes(
  57066. ::google::protobuf::io::CodedOutputStream* output) const {
  57067. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kingcraft_info];
  57068. if (has_packet_id()) {
  57069. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  57070. 1, this->packet_id(), output);
  57071. }
  57072. // optional int32 activityState = 2;
  57073. if (has_activitystate()) {
  57074. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  57075. }
  57076. // optional int32 startTime = 3;
  57077. if (has_starttime()) {
  57078. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  57079. }
  57080. // optional int32 endTime = 4;
  57081. if (has_endtime()) {
  57082. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  57083. }
  57084. // optional int32 shieldCount = 5;
  57085. if (has_shieldcount()) {
  57086. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->shieldcount(), output);
  57087. }
  57088. // optional int32 lotteryTicket = 6;
  57089. if (has_lotteryticket()) {
  57090. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->lotteryticket(), output);
  57091. }
  57092. // optional int32 lotteryCount = 7;
  57093. if (has_lotterycount()) {
  57094. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->lotterycount(), output);
  57095. }
  57096. // optional int32 recharged = 8;
  57097. if (has_recharged()) {
  57098. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->recharged(), output);
  57099. }
  57100. // repeated int32 rechargeCheck = 9;
  57101. for (int i = 0; i < this->rechargecheck_size(); i++) {
  57102. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  57103. 9, this->rechargecheck(i), output);
  57104. }
  57105. // optional int32 signCount = 10;
  57106. if (has_signcount()) {
  57107. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->signcount(), output);
  57108. }
  57109. // optional bool canSign = 11;
  57110. if (has_cansign()) {
  57111. ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->cansign(), output);
  57112. }
  57113. // repeated .client2world_protocols.activity_rank rankList = 12;
  57114. for (int i = 0; i < this->ranklist_size(); i++) {
  57115. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  57116. 12, this->ranklist(i), output);
  57117. }
  57118. // repeated int32 thresholdValue = 13;
  57119. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  57120. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  57121. 13, this->thresholdvalue(i), output);
  57122. }
  57123. // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  57124. for (int i = 0; i < this->exchangelist_size(); i++) {
  57125. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  57126. 14, this->exchangelist(i), output);
  57127. }
  57128. if (!unknown_fields().empty()) {
  57129. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  57130. unknown_fields(), output);
  57131. }
  57132. }
  57133. ::google::protobuf::uint8* packetw2c_syn_kingcraft_info::SerializeWithCachedSizesToArray(
  57134. ::google::protobuf::uint8* target) const {
  57135. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kingcraft_info];
  57136. if (has_packet_id()) {
  57137. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  57138. 1, this->packet_id(), target);
  57139. }
  57140. // optional int32 activityState = 2;
  57141. if (has_activitystate()) {
  57142. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  57143. }
  57144. // optional int32 startTime = 3;
  57145. if (has_starttime()) {
  57146. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  57147. }
  57148. // optional int32 endTime = 4;
  57149. if (has_endtime()) {
  57150. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  57151. }
  57152. // optional int32 shieldCount = 5;
  57153. if (has_shieldcount()) {
  57154. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->shieldcount(), target);
  57155. }
  57156. // optional int32 lotteryTicket = 6;
  57157. if (has_lotteryticket()) {
  57158. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->lotteryticket(), target);
  57159. }
  57160. // optional int32 lotteryCount = 7;
  57161. if (has_lotterycount()) {
  57162. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->lotterycount(), target);
  57163. }
  57164. // optional int32 recharged = 8;
  57165. if (has_recharged()) {
  57166. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->recharged(), target);
  57167. }
  57168. // repeated int32 rechargeCheck = 9;
  57169. for (int i = 0; i < this->rechargecheck_size(); i++) {
  57170. target = ::google::protobuf::internal::WireFormatLite::
  57171. WriteInt32ToArray(9, this->rechargecheck(i), target);
  57172. }
  57173. // optional int32 signCount = 10;
  57174. if (has_signcount()) {
  57175. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->signcount(), target);
  57176. }
  57177. // optional bool canSign = 11;
  57178. if (has_cansign()) {
  57179. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->cansign(), target);
  57180. }
  57181. // repeated .client2world_protocols.activity_rank rankList = 12;
  57182. for (int i = 0; i < this->ranklist_size(); i++) {
  57183. target = ::google::protobuf::internal::WireFormatLite::
  57184. WriteMessageNoVirtualToArray(
  57185. 12, this->ranklist(i), target);
  57186. }
  57187. // repeated int32 thresholdValue = 13;
  57188. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  57189. target = ::google::protobuf::internal::WireFormatLite::
  57190. WriteInt32ToArray(13, this->thresholdvalue(i), target);
  57191. }
  57192. // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  57193. for (int i = 0; i < this->exchangelist_size(); i++) {
  57194. target = ::google::protobuf::internal::WireFormatLite::
  57195. WriteMessageNoVirtualToArray(
  57196. 14, this->exchangelist(i), target);
  57197. }
  57198. if (!unknown_fields().empty()) {
  57199. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  57200. unknown_fields(), target);
  57201. }
  57202. return target;
  57203. }
  57204. int packetw2c_syn_kingcraft_info::ByteSize() const {
  57205. int total_size = 0;
  57206. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57207. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kingcraft_info];
  57208. if (has_packet_id()) {
  57209. total_size += 1 +
  57210. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  57211. }
  57212. // optional int32 activityState = 2;
  57213. if (has_activitystate()) {
  57214. total_size += 1 +
  57215. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57216. this->activitystate());
  57217. }
  57218. // optional int32 startTime = 3;
  57219. if (has_starttime()) {
  57220. total_size += 1 +
  57221. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57222. this->starttime());
  57223. }
  57224. // optional int32 endTime = 4;
  57225. if (has_endtime()) {
  57226. total_size += 1 +
  57227. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57228. this->endtime());
  57229. }
  57230. // optional int32 shieldCount = 5;
  57231. if (has_shieldcount()) {
  57232. total_size += 1 +
  57233. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57234. this->shieldcount());
  57235. }
  57236. // optional int32 lotteryTicket = 6;
  57237. if (has_lotteryticket()) {
  57238. total_size += 1 +
  57239. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57240. this->lotteryticket());
  57241. }
  57242. // optional int32 lotteryCount = 7;
  57243. if (has_lotterycount()) {
  57244. total_size += 1 +
  57245. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57246. this->lotterycount());
  57247. }
  57248. // optional int32 recharged = 8;
  57249. if (has_recharged()) {
  57250. total_size += 1 +
  57251. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57252. this->recharged());
  57253. }
  57254. }
  57255. if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  57256. // optional int32 signCount = 10;
  57257. if (has_signcount()) {
  57258. total_size += 1 +
  57259. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57260. this->signcount());
  57261. }
  57262. // optional bool canSign = 11;
  57263. if (has_cansign()) {
  57264. total_size += 1 + 1;
  57265. }
  57266. }
  57267. // repeated int32 rechargeCheck = 9;
  57268. {
  57269. int data_size = 0;
  57270. for (int i = 0; i < this->rechargecheck_size(); i++) {
  57271. data_size += ::google::protobuf::internal::WireFormatLite::
  57272. Int32Size(this->rechargecheck(i));
  57273. }
  57274. total_size += 1 * this->rechargecheck_size() + data_size;
  57275. }
  57276. // repeated .client2world_protocols.activity_rank rankList = 12;
  57277. total_size += 1 * this->ranklist_size();
  57278. for (int i = 0; i < this->ranklist_size(); i++) {
  57279. total_size +=
  57280. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  57281. this->ranklist(i));
  57282. }
  57283. // repeated int32 thresholdValue = 13;
  57284. {
  57285. int data_size = 0;
  57286. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  57287. data_size += ::google::protobuf::internal::WireFormatLite::
  57288. Int32Size(this->thresholdvalue(i));
  57289. }
  57290. total_size += 1 * this->thresholdvalue_size() + data_size;
  57291. }
  57292. // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  57293. total_size += 1 * this->exchangelist_size();
  57294. for (int i = 0; i < this->exchangelist_size(); i++) {
  57295. total_size +=
  57296. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  57297. this->exchangelist(i));
  57298. }
  57299. if (!unknown_fields().empty()) {
  57300. total_size +=
  57301. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  57302. unknown_fields());
  57303. }
  57304. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  57305. _cached_size_ = total_size;
  57306. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  57307. return total_size;
  57308. }
  57309. void packetw2c_syn_kingcraft_info::MergeFrom(const ::google::protobuf::Message& from) {
  57310. GOOGLE_CHECK_NE(&from, this);
  57311. const packetw2c_syn_kingcraft_info* source =
  57312. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_kingcraft_info*>(
  57313. &from);
  57314. if (source == NULL) {
  57315. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  57316. } else {
  57317. MergeFrom(*source);
  57318. }
  57319. }
  57320. void packetw2c_syn_kingcraft_info::MergeFrom(const packetw2c_syn_kingcraft_info& from) {
  57321. GOOGLE_CHECK_NE(&from, this);
  57322. rechargecheck_.MergeFrom(from.rechargecheck_);
  57323. ranklist_.MergeFrom(from.ranklist_);
  57324. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  57325. exchangelist_.MergeFrom(from.exchangelist_);
  57326. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57327. if (from.has_packet_id()) {
  57328. set_packet_id(from.packet_id());
  57329. }
  57330. if (from.has_activitystate()) {
  57331. set_activitystate(from.activitystate());
  57332. }
  57333. if (from.has_starttime()) {
  57334. set_starttime(from.starttime());
  57335. }
  57336. if (from.has_endtime()) {
  57337. set_endtime(from.endtime());
  57338. }
  57339. if (from.has_shieldcount()) {
  57340. set_shieldcount(from.shieldcount());
  57341. }
  57342. if (from.has_lotteryticket()) {
  57343. set_lotteryticket(from.lotteryticket());
  57344. }
  57345. if (from.has_lotterycount()) {
  57346. set_lotterycount(from.lotterycount());
  57347. }
  57348. if (from.has_recharged()) {
  57349. set_recharged(from.recharged());
  57350. }
  57351. }
  57352. if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  57353. if (from.has_signcount()) {
  57354. set_signcount(from.signcount());
  57355. }
  57356. if (from.has_cansign()) {
  57357. set_cansign(from.cansign());
  57358. }
  57359. }
  57360. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  57361. }
  57362. void packetw2c_syn_kingcraft_info::CopyFrom(const ::google::protobuf::Message& from) {
  57363. if (&from == this) return;
  57364. Clear();
  57365. MergeFrom(from);
  57366. }
  57367. void packetw2c_syn_kingcraft_info::CopyFrom(const packetw2c_syn_kingcraft_info& from) {
  57368. if (&from == this) return;
  57369. Clear();
  57370. MergeFrom(from);
  57371. }
  57372. bool packetw2c_syn_kingcraft_info::IsInitialized() const {
  57373. return true;
  57374. }
  57375. void packetw2c_syn_kingcraft_info::Swap(packetw2c_syn_kingcraft_info* other) {
  57376. if (other != this) {
  57377. std::swap(packet_id_, other->packet_id_);
  57378. std::swap(activitystate_, other->activitystate_);
  57379. std::swap(starttime_, other->starttime_);
  57380. std::swap(endtime_, other->endtime_);
  57381. std::swap(shieldcount_, other->shieldcount_);
  57382. std::swap(lotteryticket_, other->lotteryticket_);
  57383. std::swap(lotterycount_, other->lotterycount_);
  57384. std::swap(recharged_, other->recharged_);
  57385. rechargecheck_.Swap(&other->rechargecheck_);
  57386. std::swap(signcount_, other->signcount_);
  57387. std::swap(cansign_, other->cansign_);
  57388. ranklist_.Swap(&other->ranklist_);
  57389. thresholdvalue_.Swap(&other->thresholdvalue_);
  57390. exchangelist_.Swap(&other->exchangelist_);
  57391. std::swap(_has_bits_[0], other->_has_bits_[0]);
  57392. _unknown_fields_.Swap(&other->_unknown_fields_);
  57393. std::swap(_cached_size_, other->_cached_size_);
  57394. }
  57395. }
  57396. ::google::protobuf::Metadata packetw2c_syn_kingcraft_info::GetMetadata() const {
  57397. protobuf_AssignDescriptorsOnce();
  57398. ::google::protobuf::Metadata metadata;
  57399. metadata.descriptor = packetw2c_syn_kingcraft_info_descriptor_;
  57400. metadata.reflection = packetw2c_syn_kingcraft_info_reflection_;
  57401. return metadata;
  57402. }
  57403. // ===================================================================
  57404. #ifndef _MSC_VER
  57405. const int packetc2w_get_kingcraft_rank::kPacketIdFieldNumber;
  57406. #endif // !_MSC_VER
  57407. packetc2w_get_kingcraft_rank::packetc2w_get_kingcraft_rank()
  57408. : ::google::protobuf::Message() {
  57409. SharedCtor();
  57410. }
  57411. void packetc2w_get_kingcraft_rank::InitAsDefaultInstance() {
  57412. }
  57413. packetc2w_get_kingcraft_rank::packetc2w_get_kingcraft_rank(const packetc2w_get_kingcraft_rank& from)
  57414. : ::google::protobuf::Message() {
  57415. SharedCtor();
  57416. MergeFrom(from);
  57417. }
  57418. void packetc2w_get_kingcraft_rank::SharedCtor() {
  57419. _cached_size_ = 0;
  57420. packet_id_ = 5230;
  57421. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  57422. }
  57423. packetc2w_get_kingcraft_rank::~packetc2w_get_kingcraft_rank() {
  57424. SharedDtor();
  57425. }
  57426. void packetc2w_get_kingcraft_rank::SharedDtor() {
  57427. if (this != default_instance_) {
  57428. }
  57429. }
  57430. void packetc2w_get_kingcraft_rank::SetCachedSize(int size) const {
  57431. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  57432. _cached_size_ = size;
  57433. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  57434. }
  57435. const ::google::protobuf::Descriptor* packetc2w_get_kingcraft_rank::descriptor() {
  57436. protobuf_AssignDescriptorsOnce();
  57437. return packetc2w_get_kingcraft_rank_descriptor_;
  57438. }
  57439. const packetc2w_get_kingcraft_rank& packetc2w_get_kingcraft_rank::default_instance() {
  57440. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  57441. return *default_instance_;
  57442. }
  57443. packetc2w_get_kingcraft_rank* packetc2w_get_kingcraft_rank::default_instance_ = NULL;
  57444. packetc2w_get_kingcraft_rank* packetc2w_get_kingcraft_rank::New() const {
  57445. return new packetc2w_get_kingcraft_rank;
  57446. }
  57447. void packetc2w_get_kingcraft_rank::Clear() {
  57448. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57449. packet_id_ = 5230;
  57450. }
  57451. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  57452. mutable_unknown_fields()->Clear();
  57453. }
  57454. bool packetc2w_get_kingcraft_rank::MergePartialFromCodedStream(
  57455. ::google::protobuf::io::CodedInputStream* input) {
  57456. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  57457. ::google::protobuf::uint32 tag;
  57458. while ((tag = input->ReadTag()) != 0) {
  57459. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  57460. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank];
  57461. case 1: {
  57462. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57463. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  57464. int value;
  57465. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  57466. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  57467. input, &value)));
  57468. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  57469. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  57470. } else {
  57471. mutable_unknown_fields()->AddVarint(1, value);
  57472. }
  57473. } else {
  57474. goto handle_uninterpreted;
  57475. }
  57476. if (input->ExpectAtEnd()) return true;
  57477. break;
  57478. }
  57479. default: {
  57480. handle_uninterpreted:
  57481. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57482. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  57483. return true;
  57484. }
  57485. DO_(::google::protobuf::internal::WireFormat::SkipField(
  57486. input, tag, mutable_unknown_fields()));
  57487. break;
  57488. }
  57489. }
  57490. }
  57491. return true;
  57492. #undef DO_
  57493. }
  57494. void packetc2w_get_kingcraft_rank::SerializeWithCachedSizes(
  57495. ::google::protobuf::io::CodedOutputStream* output) const {
  57496. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank];
  57497. if (has_packet_id()) {
  57498. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  57499. 1, this->packet_id(), output);
  57500. }
  57501. if (!unknown_fields().empty()) {
  57502. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  57503. unknown_fields(), output);
  57504. }
  57505. }
  57506. ::google::protobuf::uint8* packetc2w_get_kingcraft_rank::SerializeWithCachedSizesToArray(
  57507. ::google::protobuf::uint8* target) const {
  57508. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank];
  57509. if (has_packet_id()) {
  57510. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  57511. 1, this->packet_id(), target);
  57512. }
  57513. if (!unknown_fields().empty()) {
  57514. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  57515. unknown_fields(), target);
  57516. }
  57517. return target;
  57518. }
  57519. int packetc2w_get_kingcraft_rank::ByteSize() const {
  57520. int total_size = 0;
  57521. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57522. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank];
  57523. if (has_packet_id()) {
  57524. total_size += 1 +
  57525. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  57526. }
  57527. }
  57528. if (!unknown_fields().empty()) {
  57529. total_size +=
  57530. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  57531. unknown_fields());
  57532. }
  57533. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  57534. _cached_size_ = total_size;
  57535. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  57536. return total_size;
  57537. }
  57538. void packetc2w_get_kingcraft_rank::MergeFrom(const ::google::protobuf::Message& from) {
  57539. GOOGLE_CHECK_NE(&from, this);
  57540. const packetc2w_get_kingcraft_rank* source =
  57541. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_kingcraft_rank*>(
  57542. &from);
  57543. if (source == NULL) {
  57544. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  57545. } else {
  57546. MergeFrom(*source);
  57547. }
  57548. }
  57549. void packetc2w_get_kingcraft_rank::MergeFrom(const packetc2w_get_kingcraft_rank& from) {
  57550. GOOGLE_CHECK_NE(&from, this);
  57551. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57552. if (from.has_packet_id()) {
  57553. set_packet_id(from.packet_id());
  57554. }
  57555. }
  57556. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  57557. }
  57558. void packetc2w_get_kingcraft_rank::CopyFrom(const ::google::protobuf::Message& from) {
  57559. if (&from == this) return;
  57560. Clear();
  57561. MergeFrom(from);
  57562. }
  57563. void packetc2w_get_kingcraft_rank::CopyFrom(const packetc2w_get_kingcraft_rank& from) {
  57564. if (&from == this) return;
  57565. Clear();
  57566. MergeFrom(from);
  57567. }
  57568. bool packetc2w_get_kingcraft_rank::IsInitialized() const {
  57569. return true;
  57570. }
  57571. void packetc2w_get_kingcraft_rank::Swap(packetc2w_get_kingcraft_rank* other) {
  57572. if (other != this) {
  57573. std::swap(packet_id_, other->packet_id_);
  57574. std::swap(_has_bits_[0], other->_has_bits_[0]);
  57575. _unknown_fields_.Swap(&other->_unknown_fields_);
  57576. std::swap(_cached_size_, other->_cached_size_);
  57577. }
  57578. }
  57579. ::google::protobuf::Metadata packetc2w_get_kingcraft_rank::GetMetadata() const {
  57580. protobuf_AssignDescriptorsOnce();
  57581. ::google::protobuf::Metadata metadata;
  57582. metadata.descriptor = packetc2w_get_kingcraft_rank_descriptor_;
  57583. metadata.reflection = packetc2w_get_kingcraft_rank_reflection_;
  57584. return metadata;
  57585. }
  57586. // ===================================================================
  57587. #ifndef _MSC_VER
  57588. const int packetw2c_get_kingcraft_rank_result::kPacketIdFieldNumber;
  57589. const int packetw2c_get_kingcraft_rank_result::kRankListFieldNumber;
  57590. const int packetw2c_get_kingcraft_rank_result::kMyCountFieldNumber;
  57591. const int packetw2c_get_kingcraft_rank_result::kMyRankFieldNumber;
  57592. const int packetw2c_get_kingcraft_rank_result::kThresholdValueFieldNumber;
  57593. #endif // !_MSC_VER
  57594. packetw2c_get_kingcraft_rank_result::packetw2c_get_kingcraft_rank_result()
  57595. : ::google::protobuf::Message() {
  57596. SharedCtor();
  57597. }
  57598. void packetw2c_get_kingcraft_rank_result::InitAsDefaultInstance() {
  57599. }
  57600. packetw2c_get_kingcraft_rank_result::packetw2c_get_kingcraft_rank_result(const packetw2c_get_kingcraft_rank_result& from)
  57601. : ::google::protobuf::Message() {
  57602. SharedCtor();
  57603. MergeFrom(from);
  57604. }
  57605. void packetw2c_get_kingcraft_rank_result::SharedCtor() {
  57606. _cached_size_ = 0;
  57607. packet_id_ = 7772;
  57608. mycount_ = 0;
  57609. myrank_ = 0;
  57610. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  57611. }
  57612. packetw2c_get_kingcraft_rank_result::~packetw2c_get_kingcraft_rank_result() {
  57613. SharedDtor();
  57614. }
  57615. void packetw2c_get_kingcraft_rank_result::SharedDtor() {
  57616. if (this != default_instance_) {
  57617. }
  57618. }
  57619. void packetw2c_get_kingcraft_rank_result::SetCachedSize(int size) const {
  57620. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  57621. _cached_size_ = size;
  57622. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  57623. }
  57624. const ::google::protobuf::Descriptor* packetw2c_get_kingcraft_rank_result::descriptor() {
  57625. protobuf_AssignDescriptorsOnce();
  57626. return packetw2c_get_kingcraft_rank_result_descriptor_;
  57627. }
  57628. const packetw2c_get_kingcraft_rank_result& packetw2c_get_kingcraft_rank_result::default_instance() {
  57629. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  57630. return *default_instance_;
  57631. }
  57632. packetw2c_get_kingcraft_rank_result* packetw2c_get_kingcraft_rank_result::default_instance_ = NULL;
  57633. packetw2c_get_kingcraft_rank_result* packetw2c_get_kingcraft_rank_result::New() const {
  57634. return new packetw2c_get_kingcraft_rank_result;
  57635. }
  57636. void packetw2c_get_kingcraft_rank_result::Clear() {
  57637. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57638. packet_id_ = 7772;
  57639. mycount_ = 0;
  57640. myrank_ = 0;
  57641. }
  57642. ranklist_.Clear();
  57643. thresholdvalue_.Clear();
  57644. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  57645. mutable_unknown_fields()->Clear();
  57646. }
  57647. bool packetw2c_get_kingcraft_rank_result::MergePartialFromCodedStream(
  57648. ::google::protobuf::io::CodedInputStream* input) {
  57649. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  57650. ::google::protobuf::uint32 tag;
  57651. while ((tag = input->ReadTag()) != 0) {
  57652. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  57653. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result];
  57654. case 1: {
  57655. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57656. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  57657. int value;
  57658. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  57659. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  57660. input, &value)));
  57661. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  57662. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  57663. } else {
  57664. mutable_unknown_fields()->AddVarint(1, value);
  57665. }
  57666. } else {
  57667. goto handle_uninterpreted;
  57668. }
  57669. if (input->ExpectTag(18)) goto parse_rankList;
  57670. break;
  57671. }
  57672. // repeated .client2world_protocols.activity_rank rankList = 2;
  57673. case 2: {
  57674. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57675. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  57676. parse_rankList:
  57677. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  57678. input, add_ranklist()));
  57679. } else {
  57680. goto handle_uninterpreted;
  57681. }
  57682. if (input->ExpectTag(18)) goto parse_rankList;
  57683. if (input->ExpectTag(24)) goto parse_myCount;
  57684. break;
  57685. }
  57686. // optional int32 myCount = 3;
  57687. case 3: {
  57688. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57689. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  57690. parse_myCount:
  57691. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  57692. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  57693. input, &mycount_)));
  57694. set_has_mycount();
  57695. } else {
  57696. goto handle_uninterpreted;
  57697. }
  57698. if (input->ExpectTag(32)) goto parse_myRank;
  57699. break;
  57700. }
  57701. // optional int32 myRank = 4;
  57702. case 4: {
  57703. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57704. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  57705. parse_myRank:
  57706. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  57707. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  57708. input, &myrank_)));
  57709. set_has_myrank();
  57710. } else {
  57711. goto handle_uninterpreted;
  57712. }
  57713. if (input->ExpectTag(40)) goto parse_thresholdValue;
  57714. break;
  57715. }
  57716. // repeated int32 thresholdValue = 5;
  57717. case 5: {
  57718. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57719. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  57720. parse_thresholdValue:
  57721. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  57722. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  57723. 1, 40, input, this->mutable_thresholdvalue())));
  57724. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  57725. == ::google::protobuf::internal::WireFormatLite::
  57726. WIRETYPE_LENGTH_DELIMITED) {
  57727. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  57728. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  57729. input, this->mutable_thresholdvalue())));
  57730. } else {
  57731. goto handle_uninterpreted;
  57732. }
  57733. if (input->ExpectTag(40)) goto parse_thresholdValue;
  57734. if (input->ExpectAtEnd()) return true;
  57735. break;
  57736. }
  57737. default: {
  57738. handle_uninterpreted:
  57739. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57740. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  57741. return true;
  57742. }
  57743. DO_(::google::protobuf::internal::WireFormat::SkipField(
  57744. input, tag, mutable_unknown_fields()));
  57745. break;
  57746. }
  57747. }
  57748. }
  57749. return true;
  57750. #undef DO_
  57751. }
  57752. void packetw2c_get_kingcraft_rank_result::SerializeWithCachedSizes(
  57753. ::google::protobuf::io::CodedOutputStream* output) const {
  57754. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result];
  57755. if (has_packet_id()) {
  57756. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  57757. 1, this->packet_id(), output);
  57758. }
  57759. // repeated .client2world_protocols.activity_rank rankList = 2;
  57760. for (int i = 0; i < this->ranklist_size(); i++) {
  57761. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  57762. 2, this->ranklist(i), output);
  57763. }
  57764. // optional int32 myCount = 3;
  57765. if (has_mycount()) {
  57766. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mycount(), output);
  57767. }
  57768. // optional int32 myRank = 4;
  57769. if (has_myrank()) {
  57770. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myrank(), output);
  57771. }
  57772. // repeated int32 thresholdValue = 5;
  57773. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  57774. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  57775. 5, this->thresholdvalue(i), output);
  57776. }
  57777. if (!unknown_fields().empty()) {
  57778. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  57779. unknown_fields(), output);
  57780. }
  57781. }
  57782. ::google::protobuf::uint8* packetw2c_get_kingcraft_rank_result::SerializeWithCachedSizesToArray(
  57783. ::google::protobuf::uint8* target) const {
  57784. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result];
  57785. if (has_packet_id()) {
  57786. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  57787. 1, this->packet_id(), target);
  57788. }
  57789. // repeated .client2world_protocols.activity_rank rankList = 2;
  57790. for (int i = 0; i < this->ranklist_size(); i++) {
  57791. target = ::google::protobuf::internal::WireFormatLite::
  57792. WriteMessageNoVirtualToArray(
  57793. 2, this->ranklist(i), target);
  57794. }
  57795. // optional int32 myCount = 3;
  57796. if (has_mycount()) {
  57797. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mycount(), target);
  57798. }
  57799. // optional int32 myRank = 4;
  57800. if (has_myrank()) {
  57801. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myrank(), target);
  57802. }
  57803. // repeated int32 thresholdValue = 5;
  57804. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  57805. target = ::google::protobuf::internal::WireFormatLite::
  57806. WriteInt32ToArray(5, this->thresholdvalue(i), target);
  57807. }
  57808. if (!unknown_fields().empty()) {
  57809. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  57810. unknown_fields(), target);
  57811. }
  57812. return target;
  57813. }
  57814. int packetw2c_get_kingcraft_rank_result::ByteSize() const {
  57815. int total_size = 0;
  57816. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57817. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result];
  57818. if (has_packet_id()) {
  57819. total_size += 1 +
  57820. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  57821. }
  57822. // optional int32 myCount = 3;
  57823. if (has_mycount()) {
  57824. total_size += 1 +
  57825. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57826. this->mycount());
  57827. }
  57828. // optional int32 myRank = 4;
  57829. if (has_myrank()) {
  57830. total_size += 1 +
  57831. ::google::protobuf::internal::WireFormatLite::Int32Size(
  57832. this->myrank());
  57833. }
  57834. }
  57835. // repeated .client2world_protocols.activity_rank rankList = 2;
  57836. total_size += 1 * this->ranklist_size();
  57837. for (int i = 0; i < this->ranklist_size(); i++) {
  57838. total_size +=
  57839. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  57840. this->ranklist(i));
  57841. }
  57842. // repeated int32 thresholdValue = 5;
  57843. {
  57844. int data_size = 0;
  57845. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  57846. data_size += ::google::protobuf::internal::WireFormatLite::
  57847. Int32Size(this->thresholdvalue(i));
  57848. }
  57849. total_size += 1 * this->thresholdvalue_size() + data_size;
  57850. }
  57851. if (!unknown_fields().empty()) {
  57852. total_size +=
  57853. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  57854. unknown_fields());
  57855. }
  57856. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  57857. _cached_size_ = total_size;
  57858. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  57859. return total_size;
  57860. }
  57861. void packetw2c_get_kingcraft_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  57862. GOOGLE_CHECK_NE(&from, this);
  57863. const packetw2c_get_kingcraft_rank_result* source =
  57864. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_kingcraft_rank_result*>(
  57865. &from);
  57866. if (source == NULL) {
  57867. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  57868. } else {
  57869. MergeFrom(*source);
  57870. }
  57871. }
  57872. void packetw2c_get_kingcraft_rank_result::MergeFrom(const packetw2c_get_kingcraft_rank_result& from) {
  57873. GOOGLE_CHECK_NE(&from, this);
  57874. ranklist_.MergeFrom(from.ranklist_);
  57875. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  57876. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57877. if (from.has_packet_id()) {
  57878. set_packet_id(from.packet_id());
  57879. }
  57880. if (from.has_mycount()) {
  57881. set_mycount(from.mycount());
  57882. }
  57883. if (from.has_myrank()) {
  57884. set_myrank(from.myrank());
  57885. }
  57886. }
  57887. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  57888. }
  57889. void packetw2c_get_kingcraft_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  57890. if (&from == this) return;
  57891. Clear();
  57892. MergeFrom(from);
  57893. }
  57894. void packetw2c_get_kingcraft_rank_result::CopyFrom(const packetw2c_get_kingcraft_rank_result& from) {
  57895. if (&from == this) return;
  57896. Clear();
  57897. MergeFrom(from);
  57898. }
  57899. bool packetw2c_get_kingcraft_rank_result::IsInitialized() const {
  57900. return true;
  57901. }
  57902. void packetw2c_get_kingcraft_rank_result::Swap(packetw2c_get_kingcraft_rank_result* other) {
  57903. if (other != this) {
  57904. std::swap(packet_id_, other->packet_id_);
  57905. ranklist_.Swap(&other->ranklist_);
  57906. std::swap(mycount_, other->mycount_);
  57907. std::swap(myrank_, other->myrank_);
  57908. thresholdvalue_.Swap(&other->thresholdvalue_);
  57909. std::swap(_has_bits_[0], other->_has_bits_[0]);
  57910. _unknown_fields_.Swap(&other->_unknown_fields_);
  57911. std::swap(_cached_size_, other->_cached_size_);
  57912. }
  57913. }
  57914. ::google::protobuf::Metadata packetw2c_get_kingcraft_rank_result::GetMetadata() const {
  57915. protobuf_AssignDescriptorsOnce();
  57916. ::google::protobuf::Metadata metadata;
  57917. metadata.descriptor = packetw2c_get_kingcraft_rank_result_descriptor_;
  57918. metadata.reflection = packetw2c_get_kingcraft_rank_result_reflection_;
  57919. return metadata;
  57920. }
  57921. // ===================================================================
  57922. #ifndef _MSC_VER
  57923. const int packetc2w_kingcraft_lottery::kPacketIdFieldNumber;
  57924. const int packetc2w_kingcraft_lottery::kTypeFieldNumber;
  57925. const int packetc2w_kingcraft_lottery::kCountFieldNumber;
  57926. #endif // !_MSC_VER
  57927. packetc2w_kingcraft_lottery::packetc2w_kingcraft_lottery()
  57928. : ::google::protobuf::Message() {
  57929. SharedCtor();
  57930. }
  57931. void packetc2w_kingcraft_lottery::InitAsDefaultInstance() {
  57932. }
  57933. packetc2w_kingcraft_lottery::packetc2w_kingcraft_lottery(const packetc2w_kingcraft_lottery& from)
  57934. : ::google::protobuf::Message() {
  57935. SharedCtor();
  57936. MergeFrom(from);
  57937. }
  57938. void packetc2w_kingcraft_lottery::SharedCtor() {
  57939. _cached_size_ = 0;
  57940. packet_id_ = 5231;
  57941. type_ = 0;
  57942. count_ = 0;
  57943. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  57944. }
  57945. packetc2w_kingcraft_lottery::~packetc2w_kingcraft_lottery() {
  57946. SharedDtor();
  57947. }
  57948. void packetc2w_kingcraft_lottery::SharedDtor() {
  57949. if (this != default_instance_) {
  57950. }
  57951. }
  57952. void packetc2w_kingcraft_lottery::SetCachedSize(int size) const {
  57953. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  57954. _cached_size_ = size;
  57955. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  57956. }
  57957. const ::google::protobuf::Descriptor* packetc2w_kingcraft_lottery::descriptor() {
  57958. protobuf_AssignDescriptorsOnce();
  57959. return packetc2w_kingcraft_lottery_descriptor_;
  57960. }
  57961. const packetc2w_kingcraft_lottery& packetc2w_kingcraft_lottery::default_instance() {
  57962. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  57963. return *default_instance_;
  57964. }
  57965. packetc2w_kingcraft_lottery* packetc2w_kingcraft_lottery::default_instance_ = NULL;
  57966. packetc2w_kingcraft_lottery* packetc2w_kingcraft_lottery::New() const {
  57967. return new packetc2w_kingcraft_lottery;
  57968. }
  57969. void packetc2w_kingcraft_lottery::Clear() {
  57970. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  57971. packet_id_ = 5231;
  57972. type_ = 0;
  57973. count_ = 0;
  57974. }
  57975. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  57976. mutable_unknown_fields()->Clear();
  57977. }
  57978. bool packetc2w_kingcraft_lottery::MergePartialFromCodedStream(
  57979. ::google::protobuf::io::CodedInputStream* input) {
  57980. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  57981. ::google::protobuf::uint32 tag;
  57982. while ((tag = input->ReadTag()) != 0) {
  57983. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  57984. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_lottery];
  57985. case 1: {
  57986. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  57987. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  57988. int value;
  57989. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  57990. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  57991. input, &value)));
  57992. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  57993. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  57994. } else {
  57995. mutable_unknown_fields()->AddVarint(1, value);
  57996. }
  57997. } else {
  57998. goto handle_uninterpreted;
  57999. }
  58000. if (input->ExpectTag(16)) goto parse_type;
  58001. break;
  58002. }
  58003. // optional int32 type = 2;
  58004. case 2: {
  58005. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58006. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58007. parse_type:
  58008. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58009. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58010. input, &type_)));
  58011. set_has_type();
  58012. } else {
  58013. goto handle_uninterpreted;
  58014. }
  58015. if (input->ExpectTag(24)) goto parse_count;
  58016. break;
  58017. }
  58018. // optional int32 count = 3;
  58019. case 3: {
  58020. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58021. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58022. parse_count:
  58023. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58024. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58025. input, &count_)));
  58026. set_has_count();
  58027. } else {
  58028. goto handle_uninterpreted;
  58029. }
  58030. if (input->ExpectAtEnd()) return true;
  58031. break;
  58032. }
  58033. default: {
  58034. handle_uninterpreted:
  58035. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58036. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  58037. return true;
  58038. }
  58039. DO_(::google::protobuf::internal::WireFormat::SkipField(
  58040. input, tag, mutable_unknown_fields()));
  58041. break;
  58042. }
  58043. }
  58044. }
  58045. return true;
  58046. #undef DO_
  58047. }
  58048. void packetc2w_kingcraft_lottery::SerializeWithCachedSizes(
  58049. ::google::protobuf::io::CodedOutputStream* output) const {
  58050. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_lottery];
  58051. if (has_packet_id()) {
  58052. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  58053. 1, this->packet_id(), output);
  58054. }
  58055. // optional int32 type = 2;
  58056. if (has_type()) {
  58057. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  58058. }
  58059. // optional int32 count = 3;
  58060. if (has_count()) {
  58061. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  58062. }
  58063. if (!unknown_fields().empty()) {
  58064. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  58065. unknown_fields(), output);
  58066. }
  58067. }
  58068. ::google::protobuf::uint8* packetc2w_kingcraft_lottery::SerializeWithCachedSizesToArray(
  58069. ::google::protobuf::uint8* target) const {
  58070. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_lottery];
  58071. if (has_packet_id()) {
  58072. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  58073. 1, this->packet_id(), target);
  58074. }
  58075. // optional int32 type = 2;
  58076. if (has_type()) {
  58077. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  58078. }
  58079. // optional int32 count = 3;
  58080. if (has_count()) {
  58081. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  58082. }
  58083. if (!unknown_fields().empty()) {
  58084. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  58085. unknown_fields(), target);
  58086. }
  58087. return target;
  58088. }
  58089. int packetc2w_kingcraft_lottery::ByteSize() const {
  58090. int total_size = 0;
  58091. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58092. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_lottery];
  58093. if (has_packet_id()) {
  58094. total_size += 1 +
  58095. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  58096. }
  58097. // optional int32 type = 2;
  58098. if (has_type()) {
  58099. total_size += 1 +
  58100. ::google::protobuf::internal::WireFormatLite::Int32Size(
  58101. this->type());
  58102. }
  58103. // optional int32 count = 3;
  58104. if (has_count()) {
  58105. total_size += 1 +
  58106. ::google::protobuf::internal::WireFormatLite::Int32Size(
  58107. this->count());
  58108. }
  58109. }
  58110. if (!unknown_fields().empty()) {
  58111. total_size +=
  58112. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  58113. unknown_fields());
  58114. }
  58115. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  58116. _cached_size_ = total_size;
  58117. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  58118. return total_size;
  58119. }
  58120. void packetc2w_kingcraft_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  58121. GOOGLE_CHECK_NE(&from, this);
  58122. const packetc2w_kingcraft_lottery* source =
  58123. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_kingcraft_lottery*>(
  58124. &from);
  58125. if (source == NULL) {
  58126. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  58127. } else {
  58128. MergeFrom(*source);
  58129. }
  58130. }
  58131. void packetc2w_kingcraft_lottery::MergeFrom(const packetc2w_kingcraft_lottery& from) {
  58132. GOOGLE_CHECK_NE(&from, this);
  58133. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58134. if (from.has_packet_id()) {
  58135. set_packet_id(from.packet_id());
  58136. }
  58137. if (from.has_type()) {
  58138. set_type(from.type());
  58139. }
  58140. if (from.has_count()) {
  58141. set_count(from.count());
  58142. }
  58143. }
  58144. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  58145. }
  58146. void packetc2w_kingcraft_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  58147. if (&from == this) return;
  58148. Clear();
  58149. MergeFrom(from);
  58150. }
  58151. void packetc2w_kingcraft_lottery::CopyFrom(const packetc2w_kingcraft_lottery& from) {
  58152. if (&from == this) return;
  58153. Clear();
  58154. MergeFrom(from);
  58155. }
  58156. bool packetc2w_kingcraft_lottery::IsInitialized() const {
  58157. return true;
  58158. }
  58159. void packetc2w_kingcraft_lottery::Swap(packetc2w_kingcraft_lottery* other) {
  58160. if (other != this) {
  58161. std::swap(packet_id_, other->packet_id_);
  58162. std::swap(type_, other->type_);
  58163. std::swap(count_, other->count_);
  58164. std::swap(_has_bits_[0], other->_has_bits_[0]);
  58165. _unknown_fields_.Swap(&other->_unknown_fields_);
  58166. std::swap(_cached_size_, other->_cached_size_);
  58167. }
  58168. }
  58169. ::google::protobuf::Metadata packetc2w_kingcraft_lottery::GetMetadata() const {
  58170. protobuf_AssignDescriptorsOnce();
  58171. ::google::protobuf::Metadata metadata;
  58172. metadata.descriptor = packetc2w_kingcraft_lottery_descriptor_;
  58173. metadata.reflection = packetc2w_kingcraft_lottery_reflection_;
  58174. return metadata;
  58175. }
  58176. // ===================================================================
  58177. #ifndef _MSC_VER
  58178. const int packetw2c_kingcraft_lottery_result::kPacketIdFieldNumber;
  58179. const int packetw2c_kingcraft_lottery_result::kResultFieldNumber;
  58180. const int packetw2c_kingcraft_lottery_result::kTypeFieldNumber;
  58181. const int packetw2c_kingcraft_lottery_result::kCountFieldNumber;
  58182. const int packetw2c_kingcraft_lottery_result::kRewardidFieldNumber;
  58183. #endif // !_MSC_VER
  58184. packetw2c_kingcraft_lottery_result::packetw2c_kingcraft_lottery_result()
  58185. : ::google::protobuf::Message() {
  58186. SharedCtor();
  58187. }
  58188. void packetw2c_kingcraft_lottery_result::InitAsDefaultInstance() {
  58189. }
  58190. packetw2c_kingcraft_lottery_result::packetw2c_kingcraft_lottery_result(const packetw2c_kingcraft_lottery_result& from)
  58191. : ::google::protobuf::Message() {
  58192. SharedCtor();
  58193. MergeFrom(from);
  58194. }
  58195. void packetw2c_kingcraft_lottery_result::SharedCtor() {
  58196. _cached_size_ = 0;
  58197. packet_id_ = 7773;
  58198. result_ = 0;
  58199. type_ = 0;
  58200. count_ = 0;
  58201. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  58202. }
  58203. packetw2c_kingcraft_lottery_result::~packetw2c_kingcraft_lottery_result() {
  58204. SharedDtor();
  58205. }
  58206. void packetw2c_kingcraft_lottery_result::SharedDtor() {
  58207. if (this != default_instance_) {
  58208. }
  58209. }
  58210. void packetw2c_kingcraft_lottery_result::SetCachedSize(int size) const {
  58211. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  58212. _cached_size_ = size;
  58213. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  58214. }
  58215. const ::google::protobuf::Descriptor* packetw2c_kingcraft_lottery_result::descriptor() {
  58216. protobuf_AssignDescriptorsOnce();
  58217. return packetw2c_kingcraft_lottery_result_descriptor_;
  58218. }
  58219. const packetw2c_kingcraft_lottery_result& packetw2c_kingcraft_lottery_result::default_instance() {
  58220. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  58221. return *default_instance_;
  58222. }
  58223. packetw2c_kingcraft_lottery_result* packetw2c_kingcraft_lottery_result::default_instance_ = NULL;
  58224. packetw2c_kingcraft_lottery_result* packetw2c_kingcraft_lottery_result::New() const {
  58225. return new packetw2c_kingcraft_lottery_result;
  58226. }
  58227. void packetw2c_kingcraft_lottery_result::Clear() {
  58228. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58229. packet_id_ = 7773;
  58230. result_ = 0;
  58231. type_ = 0;
  58232. count_ = 0;
  58233. }
  58234. rewardid_.Clear();
  58235. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  58236. mutable_unknown_fields()->Clear();
  58237. }
  58238. bool packetw2c_kingcraft_lottery_result::MergePartialFromCodedStream(
  58239. ::google::protobuf::io::CodedInputStream* input) {
  58240. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  58241. ::google::protobuf::uint32 tag;
  58242. while ((tag = input->ReadTag()) != 0) {
  58243. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  58244. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_lottery_result];
  58245. case 1: {
  58246. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58247. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58248. int value;
  58249. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58250. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  58251. input, &value)));
  58252. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  58253. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  58254. } else {
  58255. mutable_unknown_fields()->AddVarint(1, value);
  58256. }
  58257. } else {
  58258. goto handle_uninterpreted;
  58259. }
  58260. if (input->ExpectTag(16)) goto parse_result;
  58261. break;
  58262. }
  58263. // optional int32 result = 2;
  58264. case 2: {
  58265. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58266. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58267. parse_result:
  58268. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58269. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58270. input, &result_)));
  58271. set_has_result();
  58272. } else {
  58273. goto handle_uninterpreted;
  58274. }
  58275. if (input->ExpectTag(24)) goto parse_type;
  58276. break;
  58277. }
  58278. // optional int32 type = 3;
  58279. case 3: {
  58280. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58281. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58282. parse_type:
  58283. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58284. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58285. input, &type_)));
  58286. set_has_type();
  58287. } else {
  58288. goto handle_uninterpreted;
  58289. }
  58290. if (input->ExpectTag(32)) goto parse_count;
  58291. break;
  58292. }
  58293. // optional int32 count = 4;
  58294. case 4: {
  58295. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58296. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58297. parse_count:
  58298. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58299. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58300. input, &count_)));
  58301. set_has_count();
  58302. } else {
  58303. goto handle_uninterpreted;
  58304. }
  58305. if (input->ExpectTag(40)) goto parse_rewardid;
  58306. break;
  58307. }
  58308. // repeated int32 rewardid = 5;
  58309. case 5: {
  58310. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58311. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58312. parse_rewardid:
  58313. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  58314. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58315. 1, 40, input, this->mutable_rewardid())));
  58316. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  58317. == ::google::protobuf::internal::WireFormatLite::
  58318. WIRETYPE_LENGTH_DELIMITED) {
  58319. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  58320. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58321. input, this->mutable_rewardid())));
  58322. } else {
  58323. goto handle_uninterpreted;
  58324. }
  58325. if (input->ExpectTag(40)) goto parse_rewardid;
  58326. if (input->ExpectAtEnd()) return true;
  58327. break;
  58328. }
  58329. default: {
  58330. handle_uninterpreted:
  58331. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58332. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  58333. return true;
  58334. }
  58335. DO_(::google::protobuf::internal::WireFormat::SkipField(
  58336. input, tag, mutable_unknown_fields()));
  58337. break;
  58338. }
  58339. }
  58340. }
  58341. return true;
  58342. #undef DO_
  58343. }
  58344. void packetw2c_kingcraft_lottery_result::SerializeWithCachedSizes(
  58345. ::google::protobuf::io::CodedOutputStream* output) const {
  58346. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_lottery_result];
  58347. if (has_packet_id()) {
  58348. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  58349. 1, this->packet_id(), output);
  58350. }
  58351. // optional int32 result = 2;
  58352. if (has_result()) {
  58353. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  58354. }
  58355. // optional int32 type = 3;
  58356. if (has_type()) {
  58357. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  58358. }
  58359. // optional int32 count = 4;
  58360. if (has_count()) {
  58361. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  58362. }
  58363. // repeated int32 rewardid = 5;
  58364. for (int i = 0; i < this->rewardid_size(); i++) {
  58365. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  58366. 5, this->rewardid(i), output);
  58367. }
  58368. if (!unknown_fields().empty()) {
  58369. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  58370. unknown_fields(), output);
  58371. }
  58372. }
  58373. ::google::protobuf::uint8* packetw2c_kingcraft_lottery_result::SerializeWithCachedSizesToArray(
  58374. ::google::protobuf::uint8* target) const {
  58375. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_lottery_result];
  58376. if (has_packet_id()) {
  58377. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  58378. 1, this->packet_id(), target);
  58379. }
  58380. // optional int32 result = 2;
  58381. if (has_result()) {
  58382. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  58383. }
  58384. // optional int32 type = 3;
  58385. if (has_type()) {
  58386. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  58387. }
  58388. // optional int32 count = 4;
  58389. if (has_count()) {
  58390. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  58391. }
  58392. // repeated int32 rewardid = 5;
  58393. for (int i = 0; i < this->rewardid_size(); i++) {
  58394. target = ::google::protobuf::internal::WireFormatLite::
  58395. WriteInt32ToArray(5, this->rewardid(i), target);
  58396. }
  58397. if (!unknown_fields().empty()) {
  58398. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  58399. unknown_fields(), target);
  58400. }
  58401. return target;
  58402. }
  58403. int packetw2c_kingcraft_lottery_result::ByteSize() const {
  58404. int total_size = 0;
  58405. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58406. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_lottery_result];
  58407. if (has_packet_id()) {
  58408. total_size += 1 +
  58409. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  58410. }
  58411. // optional int32 result = 2;
  58412. if (has_result()) {
  58413. total_size += 1 +
  58414. ::google::protobuf::internal::WireFormatLite::Int32Size(
  58415. this->result());
  58416. }
  58417. // optional int32 type = 3;
  58418. if (has_type()) {
  58419. total_size += 1 +
  58420. ::google::protobuf::internal::WireFormatLite::Int32Size(
  58421. this->type());
  58422. }
  58423. // optional int32 count = 4;
  58424. if (has_count()) {
  58425. total_size += 1 +
  58426. ::google::protobuf::internal::WireFormatLite::Int32Size(
  58427. this->count());
  58428. }
  58429. }
  58430. // repeated int32 rewardid = 5;
  58431. {
  58432. int data_size = 0;
  58433. for (int i = 0; i < this->rewardid_size(); i++) {
  58434. data_size += ::google::protobuf::internal::WireFormatLite::
  58435. Int32Size(this->rewardid(i));
  58436. }
  58437. total_size += 1 * this->rewardid_size() + data_size;
  58438. }
  58439. if (!unknown_fields().empty()) {
  58440. total_size +=
  58441. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  58442. unknown_fields());
  58443. }
  58444. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  58445. _cached_size_ = total_size;
  58446. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  58447. return total_size;
  58448. }
  58449. void packetw2c_kingcraft_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  58450. GOOGLE_CHECK_NE(&from, this);
  58451. const packetw2c_kingcraft_lottery_result* source =
  58452. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_kingcraft_lottery_result*>(
  58453. &from);
  58454. if (source == NULL) {
  58455. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  58456. } else {
  58457. MergeFrom(*source);
  58458. }
  58459. }
  58460. void packetw2c_kingcraft_lottery_result::MergeFrom(const packetw2c_kingcraft_lottery_result& from) {
  58461. GOOGLE_CHECK_NE(&from, this);
  58462. rewardid_.MergeFrom(from.rewardid_);
  58463. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58464. if (from.has_packet_id()) {
  58465. set_packet_id(from.packet_id());
  58466. }
  58467. if (from.has_result()) {
  58468. set_result(from.result());
  58469. }
  58470. if (from.has_type()) {
  58471. set_type(from.type());
  58472. }
  58473. if (from.has_count()) {
  58474. set_count(from.count());
  58475. }
  58476. }
  58477. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  58478. }
  58479. void packetw2c_kingcraft_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  58480. if (&from == this) return;
  58481. Clear();
  58482. MergeFrom(from);
  58483. }
  58484. void packetw2c_kingcraft_lottery_result::CopyFrom(const packetw2c_kingcraft_lottery_result& from) {
  58485. if (&from == this) return;
  58486. Clear();
  58487. MergeFrom(from);
  58488. }
  58489. bool packetw2c_kingcraft_lottery_result::IsInitialized() const {
  58490. return true;
  58491. }
  58492. void packetw2c_kingcraft_lottery_result::Swap(packetw2c_kingcraft_lottery_result* other) {
  58493. if (other != this) {
  58494. std::swap(packet_id_, other->packet_id_);
  58495. std::swap(result_, other->result_);
  58496. std::swap(type_, other->type_);
  58497. std::swap(count_, other->count_);
  58498. rewardid_.Swap(&other->rewardid_);
  58499. std::swap(_has_bits_[0], other->_has_bits_[0]);
  58500. _unknown_fields_.Swap(&other->_unknown_fields_);
  58501. std::swap(_cached_size_, other->_cached_size_);
  58502. }
  58503. }
  58504. ::google::protobuf::Metadata packetw2c_kingcraft_lottery_result::GetMetadata() const {
  58505. protobuf_AssignDescriptorsOnce();
  58506. ::google::protobuf::Metadata metadata;
  58507. metadata.descriptor = packetw2c_kingcraft_lottery_result_descriptor_;
  58508. metadata.reflection = packetw2c_kingcraft_lottery_result_reflection_;
  58509. return metadata;
  58510. }
  58511. // ===================================================================
  58512. #ifndef _MSC_VER
  58513. const int packetc2w_receive_kingcraft_recharge_reward::kPacketIdFieldNumber;
  58514. const int packetc2w_receive_kingcraft_recharge_reward::kIndexFieldNumber;
  58515. #endif // !_MSC_VER
  58516. packetc2w_receive_kingcraft_recharge_reward::packetc2w_receive_kingcraft_recharge_reward()
  58517. : ::google::protobuf::Message() {
  58518. SharedCtor();
  58519. }
  58520. void packetc2w_receive_kingcraft_recharge_reward::InitAsDefaultInstance() {
  58521. }
  58522. packetc2w_receive_kingcraft_recharge_reward::packetc2w_receive_kingcraft_recharge_reward(const packetc2w_receive_kingcraft_recharge_reward& from)
  58523. : ::google::protobuf::Message() {
  58524. SharedCtor();
  58525. MergeFrom(from);
  58526. }
  58527. void packetc2w_receive_kingcraft_recharge_reward::SharedCtor() {
  58528. _cached_size_ = 0;
  58529. packet_id_ = 5232;
  58530. index_ = 0;
  58531. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  58532. }
  58533. packetc2w_receive_kingcraft_recharge_reward::~packetc2w_receive_kingcraft_recharge_reward() {
  58534. SharedDtor();
  58535. }
  58536. void packetc2w_receive_kingcraft_recharge_reward::SharedDtor() {
  58537. if (this != default_instance_) {
  58538. }
  58539. }
  58540. void packetc2w_receive_kingcraft_recharge_reward::SetCachedSize(int size) const {
  58541. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  58542. _cached_size_ = size;
  58543. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  58544. }
  58545. const ::google::protobuf::Descriptor* packetc2w_receive_kingcraft_recharge_reward::descriptor() {
  58546. protobuf_AssignDescriptorsOnce();
  58547. return packetc2w_receive_kingcraft_recharge_reward_descriptor_;
  58548. }
  58549. const packetc2w_receive_kingcraft_recharge_reward& packetc2w_receive_kingcraft_recharge_reward::default_instance() {
  58550. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  58551. return *default_instance_;
  58552. }
  58553. packetc2w_receive_kingcraft_recharge_reward* packetc2w_receive_kingcraft_recharge_reward::default_instance_ = NULL;
  58554. packetc2w_receive_kingcraft_recharge_reward* packetc2w_receive_kingcraft_recharge_reward::New() const {
  58555. return new packetc2w_receive_kingcraft_recharge_reward;
  58556. }
  58557. void packetc2w_receive_kingcraft_recharge_reward::Clear() {
  58558. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58559. packet_id_ = 5232;
  58560. index_ = 0;
  58561. }
  58562. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  58563. mutable_unknown_fields()->Clear();
  58564. }
  58565. bool packetc2w_receive_kingcraft_recharge_reward::MergePartialFromCodedStream(
  58566. ::google::protobuf::io::CodedInputStream* input) {
  58567. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  58568. ::google::protobuf::uint32 tag;
  58569. while ((tag = input->ReadTag()) != 0) {
  58570. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  58571. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_recharge_reward];
  58572. case 1: {
  58573. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58574. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58575. int value;
  58576. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58577. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  58578. input, &value)));
  58579. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  58580. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  58581. } else {
  58582. mutable_unknown_fields()->AddVarint(1, value);
  58583. }
  58584. } else {
  58585. goto handle_uninterpreted;
  58586. }
  58587. if (input->ExpectTag(16)) goto parse_index;
  58588. break;
  58589. }
  58590. // optional int32 index = 2;
  58591. case 2: {
  58592. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58593. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58594. parse_index:
  58595. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58596. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58597. input, &index_)));
  58598. set_has_index();
  58599. } else {
  58600. goto handle_uninterpreted;
  58601. }
  58602. if (input->ExpectAtEnd()) return true;
  58603. break;
  58604. }
  58605. default: {
  58606. handle_uninterpreted:
  58607. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58608. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  58609. return true;
  58610. }
  58611. DO_(::google::protobuf::internal::WireFormat::SkipField(
  58612. input, tag, mutable_unknown_fields()));
  58613. break;
  58614. }
  58615. }
  58616. }
  58617. return true;
  58618. #undef DO_
  58619. }
  58620. void packetc2w_receive_kingcraft_recharge_reward::SerializeWithCachedSizes(
  58621. ::google::protobuf::io::CodedOutputStream* output) const {
  58622. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_recharge_reward];
  58623. if (has_packet_id()) {
  58624. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  58625. 1, this->packet_id(), output);
  58626. }
  58627. // optional int32 index = 2;
  58628. if (has_index()) {
  58629. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  58630. }
  58631. if (!unknown_fields().empty()) {
  58632. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  58633. unknown_fields(), output);
  58634. }
  58635. }
  58636. ::google::protobuf::uint8* packetc2w_receive_kingcraft_recharge_reward::SerializeWithCachedSizesToArray(
  58637. ::google::protobuf::uint8* target) const {
  58638. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_recharge_reward];
  58639. if (has_packet_id()) {
  58640. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  58641. 1, this->packet_id(), target);
  58642. }
  58643. // optional int32 index = 2;
  58644. if (has_index()) {
  58645. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  58646. }
  58647. if (!unknown_fields().empty()) {
  58648. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  58649. unknown_fields(), target);
  58650. }
  58651. return target;
  58652. }
  58653. int packetc2w_receive_kingcraft_recharge_reward::ByteSize() const {
  58654. int total_size = 0;
  58655. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58656. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_recharge_reward];
  58657. if (has_packet_id()) {
  58658. total_size += 1 +
  58659. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  58660. }
  58661. // optional int32 index = 2;
  58662. if (has_index()) {
  58663. total_size += 1 +
  58664. ::google::protobuf::internal::WireFormatLite::Int32Size(
  58665. this->index());
  58666. }
  58667. }
  58668. if (!unknown_fields().empty()) {
  58669. total_size +=
  58670. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  58671. unknown_fields());
  58672. }
  58673. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  58674. _cached_size_ = total_size;
  58675. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  58676. return total_size;
  58677. }
  58678. void packetc2w_receive_kingcraft_recharge_reward::MergeFrom(const ::google::protobuf::Message& from) {
  58679. GOOGLE_CHECK_NE(&from, this);
  58680. const packetc2w_receive_kingcraft_recharge_reward* source =
  58681. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_kingcraft_recharge_reward*>(
  58682. &from);
  58683. if (source == NULL) {
  58684. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  58685. } else {
  58686. MergeFrom(*source);
  58687. }
  58688. }
  58689. void packetc2w_receive_kingcraft_recharge_reward::MergeFrom(const packetc2w_receive_kingcraft_recharge_reward& from) {
  58690. GOOGLE_CHECK_NE(&from, this);
  58691. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58692. if (from.has_packet_id()) {
  58693. set_packet_id(from.packet_id());
  58694. }
  58695. if (from.has_index()) {
  58696. set_index(from.index());
  58697. }
  58698. }
  58699. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  58700. }
  58701. void packetc2w_receive_kingcraft_recharge_reward::CopyFrom(const ::google::protobuf::Message& from) {
  58702. if (&from == this) return;
  58703. Clear();
  58704. MergeFrom(from);
  58705. }
  58706. void packetc2w_receive_kingcraft_recharge_reward::CopyFrom(const packetc2w_receive_kingcraft_recharge_reward& from) {
  58707. if (&from == this) return;
  58708. Clear();
  58709. MergeFrom(from);
  58710. }
  58711. bool packetc2w_receive_kingcraft_recharge_reward::IsInitialized() const {
  58712. return true;
  58713. }
  58714. void packetc2w_receive_kingcraft_recharge_reward::Swap(packetc2w_receive_kingcraft_recharge_reward* other) {
  58715. if (other != this) {
  58716. std::swap(packet_id_, other->packet_id_);
  58717. std::swap(index_, other->index_);
  58718. std::swap(_has_bits_[0], other->_has_bits_[0]);
  58719. _unknown_fields_.Swap(&other->_unknown_fields_);
  58720. std::swap(_cached_size_, other->_cached_size_);
  58721. }
  58722. }
  58723. ::google::protobuf::Metadata packetc2w_receive_kingcraft_recharge_reward::GetMetadata() const {
  58724. protobuf_AssignDescriptorsOnce();
  58725. ::google::protobuf::Metadata metadata;
  58726. metadata.descriptor = packetc2w_receive_kingcraft_recharge_reward_descriptor_;
  58727. metadata.reflection = packetc2w_receive_kingcraft_recharge_reward_reflection_;
  58728. return metadata;
  58729. }
  58730. // ===================================================================
  58731. #ifndef _MSC_VER
  58732. const int packetw2c_receive_kingcraft_recharge_reward_result::kPacketIdFieldNumber;
  58733. const int packetw2c_receive_kingcraft_recharge_reward_result::kResultFieldNumber;
  58734. const int packetw2c_receive_kingcraft_recharge_reward_result::kIndexFieldNumber;
  58735. #endif // !_MSC_VER
  58736. packetw2c_receive_kingcraft_recharge_reward_result::packetw2c_receive_kingcraft_recharge_reward_result()
  58737. : ::google::protobuf::Message() {
  58738. SharedCtor();
  58739. }
  58740. void packetw2c_receive_kingcraft_recharge_reward_result::InitAsDefaultInstance() {
  58741. }
  58742. packetw2c_receive_kingcraft_recharge_reward_result::packetw2c_receive_kingcraft_recharge_reward_result(const packetw2c_receive_kingcraft_recharge_reward_result& from)
  58743. : ::google::protobuf::Message() {
  58744. SharedCtor();
  58745. MergeFrom(from);
  58746. }
  58747. void packetw2c_receive_kingcraft_recharge_reward_result::SharedCtor() {
  58748. _cached_size_ = 0;
  58749. packet_id_ = 7774;
  58750. result_ = 0;
  58751. index_ = 0;
  58752. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  58753. }
  58754. packetw2c_receive_kingcraft_recharge_reward_result::~packetw2c_receive_kingcraft_recharge_reward_result() {
  58755. SharedDtor();
  58756. }
  58757. void packetw2c_receive_kingcraft_recharge_reward_result::SharedDtor() {
  58758. if (this != default_instance_) {
  58759. }
  58760. }
  58761. void packetw2c_receive_kingcraft_recharge_reward_result::SetCachedSize(int size) const {
  58762. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  58763. _cached_size_ = size;
  58764. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  58765. }
  58766. const ::google::protobuf::Descriptor* packetw2c_receive_kingcraft_recharge_reward_result::descriptor() {
  58767. protobuf_AssignDescriptorsOnce();
  58768. return packetw2c_receive_kingcraft_recharge_reward_result_descriptor_;
  58769. }
  58770. const packetw2c_receive_kingcraft_recharge_reward_result& packetw2c_receive_kingcraft_recharge_reward_result::default_instance() {
  58771. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  58772. return *default_instance_;
  58773. }
  58774. packetw2c_receive_kingcraft_recharge_reward_result* packetw2c_receive_kingcraft_recharge_reward_result::default_instance_ = NULL;
  58775. packetw2c_receive_kingcraft_recharge_reward_result* packetw2c_receive_kingcraft_recharge_reward_result::New() const {
  58776. return new packetw2c_receive_kingcraft_recharge_reward_result;
  58777. }
  58778. void packetw2c_receive_kingcraft_recharge_reward_result::Clear() {
  58779. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58780. packet_id_ = 7774;
  58781. result_ = 0;
  58782. index_ = 0;
  58783. }
  58784. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  58785. mutable_unknown_fields()->Clear();
  58786. }
  58787. bool packetw2c_receive_kingcraft_recharge_reward_result::MergePartialFromCodedStream(
  58788. ::google::protobuf::io::CodedInputStream* input) {
  58789. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  58790. ::google::protobuf::uint32 tag;
  58791. while ((tag = input->ReadTag()) != 0) {
  58792. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  58793. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_recharge_reward_result];
  58794. case 1: {
  58795. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58796. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58797. int value;
  58798. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58799. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  58800. input, &value)));
  58801. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  58802. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  58803. } else {
  58804. mutable_unknown_fields()->AddVarint(1, value);
  58805. }
  58806. } else {
  58807. goto handle_uninterpreted;
  58808. }
  58809. if (input->ExpectTag(16)) goto parse_result;
  58810. break;
  58811. }
  58812. // optional int32 result = 2;
  58813. case 2: {
  58814. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58815. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58816. parse_result:
  58817. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58818. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58819. input, &result_)));
  58820. set_has_result();
  58821. } else {
  58822. goto handle_uninterpreted;
  58823. }
  58824. if (input->ExpectTag(24)) goto parse_index;
  58825. break;
  58826. }
  58827. // optional int32 index = 3;
  58828. case 3: {
  58829. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58830. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  58831. parse_index:
  58832. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  58833. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  58834. input, &index_)));
  58835. set_has_index();
  58836. } else {
  58837. goto handle_uninterpreted;
  58838. }
  58839. if (input->ExpectAtEnd()) return true;
  58840. break;
  58841. }
  58842. default: {
  58843. handle_uninterpreted:
  58844. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  58845. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  58846. return true;
  58847. }
  58848. DO_(::google::protobuf::internal::WireFormat::SkipField(
  58849. input, tag, mutable_unknown_fields()));
  58850. break;
  58851. }
  58852. }
  58853. }
  58854. return true;
  58855. #undef DO_
  58856. }
  58857. void packetw2c_receive_kingcraft_recharge_reward_result::SerializeWithCachedSizes(
  58858. ::google::protobuf::io::CodedOutputStream* output) const {
  58859. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_recharge_reward_result];
  58860. if (has_packet_id()) {
  58861. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  58862. 1, this->packet_id(), output);
  58863. }
  58864. // optional int32 result = 2;
  58865. if (has_result()) {
  58866. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  58867. }
  58868. // optional int32 index = 3;
  58869. if (has_index()) {
  58870. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  58871. }
  58872. if (!unknown_fields().empty()) {
  58873. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  58874. unknown_fields(), output);
  58875. }
  58876. }
  58877. ::google::protobuf::uint8* packetw2c_receive_kingcraft_recharge_reward_result::SerializeWithCachedSizesToArray(
  58878. ::google::protobuf::uint8* target) const {
  58879. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_recharge_reward_result];
  58880. if (has_packet_id()) {
  58881. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  58882. 1, this->packet_id(), target);
  58883. }
  58884. // optional int32 result = 2;
  58885. if (has_result()) {
  58886. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  58887. }
  58888. // optional int32 index = 3;
  58889. if (has_index()) {
  58890. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  58891. }
  58892. if (!unknown_fields().empty()) {
  58893. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  58894. unknown_fields(), target);
  58895. }
  58896. return target;
  58897. }
  58898. int packetw2c_receive_kingcraft_recharge_reward_result::ByteSize() const {
  58899. int total_size = 0;
  58900. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58901. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_recharge_reward_result];
  58902. if (has_packet_id()) {
  58903. total_size += 1 +
  58904. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  58905. }
  58906. // optional int32 result = 2;
  58907. if (has_result()) {
  58908. total_size += 1 +
  58909. ::google::protobuf::internal::WireFormatLite::Int32Size(
  58910. this->result());
  58911. }
  58912. // optional int32 index = 3;
  58913. if (has_index()) {
  58914. total_size += 1 +
  58915. ::google::protobuf::internal::WireFormatLite::Int32Size(
  58916. this->index());
  58917. }
  58918. }
  58919. if (!unknown_fields().empty()) {
  58920. total_size +=
  58921. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  58922. unknown_fields());
  58923. }
  58924. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  58925. _cached_size_ = total_size;
  58926. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  58927. return total_size;
  58928. }
  58929. void packetw2c_receive_kingcraft_recharge_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  58930. GOOGLE_CHECK_NE(&from, this);
  58931. const packetw2c_receive_kingcraft_recharge_reward_result* source =
  58932. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_kingcraft_recharge_reward_result*>(
  58933. &from);
  58934. if (source == NULL) {
  58935. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  58936. } else {
  58937. MergeFrom(*source);
  58938. }
  58939. }
  58940. void packetw2c_receive_kingcraft_recharge_reward_result::MergeFrom(const packetw2c_receive_kingcraft_recharge_reward_result& from) {
  58941. GOOGLE_CHECK_NE(&from, this);
  58942. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  58943. if (from.has_packet_id()) {
  58944. set_packet_id(from.packet_id());
  58945. }
  58946. if (from.has_result()) {
  58947. set_result(from.result());
  58948. }
  58949. if (from.has_index()) {
  58950. set_index(from.index());
  58951. }
  58952. }
  58953. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  58954. }
  58955. void packetw2c_receive_kingcraft_recharge_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  58956. if (&from == this) return;
  58957. Clear();
  58958. MergeFrom(from);
  58959. }
  58960. void packetw2c_receive_kingcraft_recharge_reward_result::CopyFrom(const packetw2c_receive_kingcraft_recharge_reward_result& from) {
  58961. if (&from == this) return;
  58962. Clear();
  58963. MergeFrom(from);
  58964. }
  58965. bool packetw2c_receive_kingcraft_recharge_reward_result::IsInitialized() const {
  58966. return true;
  58967. }
  58968. void packetw2c_receive_kingcraft_recharge_reward_result::Swap(packetw2c_receive_kingcraft_recharge_reward_result* other) {
  58969. if (other != this) {
  58970. std::swap(packet_id_, other->packet_id_);
  58971. std::swap(result_, other->result_);
  58972. std::swap(index_, other->index_);
  58973. std::swap(_has_bits_[0], other->_has_bits_[0]);
  58974. _unknown_fields_.Swap(&other->_unknown_fields_);
  58975. std::swap(_cached_size_, other->_cached_size_);
  58976. }
  58977. }
  58978. ::google::protobuf::Metadata packetw2c_receive_kingcraft_recharge_reward_result::GetMetadata() const {
  58979. protobuf_AssignDescriptorsOnce();
  58980. ::google::protobuf::Metadata metadata;
  58981. metadata.descriptor = packetw2c_receive_kingcraft_recharge_reward_result_descriptor_;
  58982. metadata.reflection = packetw2c_receive_kingcraft_recharge_reward_result_reflection_;
  58983. return metadata;
  58984. }
  58985. // ===================================================================
  58986. #ifndef _MSC_VER
  58987. const int packetc2w_receive_kingcraft_exchange::kPacketIdFieldNumber;
  58988. const int packetc2w_receive_kingcraft_exchange::kIndexFieldNumber;
  58989. #endif // !_MSC_VER
  58990. packetc2w_receive_kingcraft_exchange::packetc2w_receive_kingcraft_exchange()
  58991. : ::google::protobuf::Message() {
  58992. SharedCtor();
  58993. }
  58994. void packetc2w_receive_kingcraft_exchange::InitAsDefaultInstance() {
  58995. }
  58996. packetc2w_receive_kingcraft_exchange::packetc2w_receive_kingcraft_exchange(const packetc2w_receive_kingcraft_exchange& from)
  58997. : ::google::protobuf::Message() {
  58998. SharedCtor();
  58999. MergeFrom(from);
  59000. }
  59001. void packetc2w_receive_kingcraft_exchange::SharedCtor() {
  59002. _cached_size_ = 0;
  59003. packet_id_ = 5233;
  59004. index_ = 0;
  59005. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59006. }
  59007. packetc2w_receive_kingcraft_exchange::~packetc2w_receive_kingcraft_exchange() {
  59008. SharedDtor();
  59009. }
  59010. void packetc2w_receive_kingcraft_exchange::SharedDtor() {
  59011. if (this != default_instance_) {
  59012. }
  59013. }
  59014. void packetc2w_receive_kingcraft_exchange::SetCachedSize(int size) const {
  59015. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59016. _cached_size_ = size;
  59017. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59018. }
  59019. const ::google::protobuf::Descriptor* packetc2w_receive_kingcraft_exchange::descriptor() {
  59020. protobuf_AssignDescriptorsOnce();
  59021. return packetc2w_receive_kingcraft_exchange_descriptor_;
  59022. }
  59023. const packetc2w_receive_kingcraft_exchange& packetc2w_receive_kingcraft_exchange::default_instance() {
  59024. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  59025. return *default_instance_;
  59026. }
  59027. packetc2w_receive_kingcraft_exchange* packetc2w_receive_kingcraft_exchange::default_instance_ = NULL;
  59028. packetc2w_receive_kingcraft_exchange* packetc2w_receive_kingcraft_exchange::New() const {
  59029. return new packetc2w_receive_kingcraft_exchange;
  59030. }
  59031. void packetc2w_receive_kingcraft_exchange::Clear() {
  59032. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59033. packet_id_ = 5233;
  59034. index_ = 0;
  59035. }
  59036. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59037. mutable_unknown_fields()->Clear();
  59038. }
  59039. bool packetc2w_receive_kingcraft_exchange::MergePartialFromCodedStream(
  59040. ::google::protobuf::io::CodedInputStream* input) {
  59041. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  59042. ::google::protobuf::uint32 tag;
  59043. while ((tag = input->ReadTag()) != 0) {
  59044. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  59045. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
  59046. case 1: {
  59047. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59048. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59049. int value;
  59050. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59051. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  59052. input, &value)));
  59053. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  59054. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  59055. } else {
  59056. mutable_unknown_fields()->AddVarint(1, value);
  59057. }
  59058. } else {
  59059. goto handle_uninterpreted;
  59060. }
  59061. if (input->ExpectTag(16)) goto parse_index;
  59062. break;
  59063. }
  59064. // optional int32 index = 2;
  59065. case 2: {
  59066. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59067. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59068. parse_index:
  59069. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59070. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  59071. input, &index_)));
  59072. set_has_index();
  59073. } else {
  59074. goto handle_uninterpreted;
  59075. }
  59076. if (input->ExpectAtEnd()) return true;
  59077. break;
  59078. }
  59079. default: {
  59080. handle_uninterpreted:
  59081. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59082. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  59083. return true;
  59084. }
  59085. DO_(::google::protobuf::internal::WireFormat::SkipField(
  59086. input, tag, mutable_unknown_fields()));
  59087. break;
  59088. }
  59089. }
  59090. }
  59091. return true;
  59092. #undef DO_
  59093. }
  59094. void packetc2w_receive_kingcraft_exchange::SerializeWithCachedSizes(
  59095. ::google::protobuf::io::CodedOutputStream* output) const {
  59096. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
  59097. if (has_packet_id()) {
  59098. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  59099. 1, this->packet_id(), output);
  59100. }
  59101. // optional int32 index = 2;
  59102. if (has_index()) {
  59103. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  59104. }
  59105. if (!unknown_fields().empty()) {
  59106. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  59107. unknown_fields(), output);
  59108. }
  59109. }
  59110. ::google::protobuf::uint8* packetc2w_receive_kingcraft_exchange::SerializeWithCachedSizesToArray(
  59111. ::google::protobuf::uint8* target) const {
  59112. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
  59113. if (has_packet_id()) {
  59114. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  59115. 1, this->packet_id(), target);
  59116. }
  59117. // optional int32 index = 2;
  59118. if (has_index()) {
  59119. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  59120. }
  59121. if (!unknown_fields().empty()) {
  59122. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  59123. unknown_fields(), target);
  59124. }
  59125. return target;
  59126. }
  59127. int packetc2w_receive_kingcraft_exchange::ByteSize() const {
  59128. int total_size = 0;
  59129. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59130. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
  59131. if (has_packet_id()) {
  59132. total_size += 1 +
  59133. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  59134. }
  59135. // optional int32 index = 2;
  59136. if (has_index()) {
  59137. total_size += 1 +
  59138. ::google::protobuf::internal::WireFormatLite::Int32Size(
  59139. this->index());
  59140. }
  59141. }
  59142. if (!unknown_fields().empty()) {
  59143. total_size +=
  59144. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  59145. unknown_fields());
  59146. }
  59147. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59148. _cached_size_ = total_size;
  59149. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59150. return total_size;
  59151. }
  59152. void packetc2w_receive_kingcraft_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  59153. GOOGLE_CHECK_NE(&from, this);
  59154. const packetc2w_receive_kingcraft_exchange* source =
  59155. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_kingcraft_exchange*>(
  59156. &from);
  59157. if (source == NULL) {
  59158. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  59159. } else {
  59160. MergeFrom(*source);
  59161. }
  59162. }
  59163. void packetc2w_receive_kingcraft_exchange::MergeFrom(const packetc2w_receive_kingcraft_exchange& from) {
  59164. GOOGLE_CHECK_NE(&from, this);
  59165. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59166. if (from.has_packet_id()) {
  59167. set_packet_id(from.packet_id());
  59168. }
  59169. if (from.has_index()) {
  59170. set_index(from.index());
  59171. }
  59172. }
  59173. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  59174. }
  59175. void packetc2w_receive_kingcraft_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  59176. if (&from == this) return;
  59177. Clear();
  59178. MergeFrom(from);
  59179. }
  59180. void packetc2w_receive_kingcraft_exchange::CopyFrom(const packetc2w_receive_kingcraft_exchange& from) {
  59181. if (&from == this) return;
  59182. Clear();
  59183. MergeFrom(from);
  59184. }
  59185. bool packetc2w_receive_kingcraft_exchange::IsInitialized() const {
  59186. return true;
  59187. }
  59188. void packetc2w_receive_kingcraft_exchange::Swap(packetc2w_receive_kingcraft_exchange* other) {
  59189. if (other != this) {
  59190. std::swap(packet_id_, other->packet_id_);
  59191. std::swap(index_, other->index_);
  59192. std::swap(_has_bits_[0], other->_has_bits_[0]);
  59193. _unknown_fields_.Swap(&other->_unknown_fields_);
  59194. std::swap(_cached_size_, other->_cached_size_);
  59195. }
  59196. }
  59197. ::google::protobuf::Metadata packetc2w_receive_kingcraft_exchange::GetMetadata() const {
  59198. protobuf_AssignDescriptorsOnce();
  59199. ::google::protobuf::Metadata metadata;
  59200. metadata.descriptor = packetc2w_receive_kingcraft_exchange_descriptor_;
  59201. metadata.reflection = packetc2w_receive_kingcraft_exchange_reflection_;
  59202. return metadata;
  59203. }
  59204. // ===================================================================
  59205. #ifndef _MSC_VER
  59206. const int packetw2c_receive_kingcraft_exchange_result::kPacketIdFieldNumber;
  59207. const int packetw2c_receive_kingcraft_exchange_result::kIndexFieldNumber;
  59208. const int packetw2c_receive_kingcraft_exchange_result::kResultFieldNumber;
  59209. #endif // !_MSC_VER
  59210. packetw2c_receive_kingcraft_exchange_result::packetw2c_receive_kingcraft_exchange_result()
  59211. : ::google::protobuf::Message() {
  59212. SharedCtor();
  59213. }
  59214. void packetw2c_receive_kingcraft_exchange_result::InitAsDefaultInstance() {
  59215. }
  59216. packetw2c_receive_kingcraft_exchange_result::packetw2c_receive_kingcraft_exchange_result(const packetw2c_receive_kingcraft_exchange_result& from)
  59217. : ::google::protobuf::Message() {
  59218. SharedCtor();
  59219. MergeFrom(from);
  59220. }
  59221. void packetw2c_receive_kingcraft_exchange_result::SharedCtor() {
  59222. _cached_size_ = 0;
  59223. packet_id_ = 7775;
  59224. index_ = 0;
  59225. result_ = 0;
  59226. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59227. }
  59228. packetw2c_receive_kingcraft_exchange_result::~packetw2c_receive_kingcraft_exchange_result() {
  59229. SharedDtor();
  59230. }
  59231. void packetw2c_receive_kingcraft_exchange_result::SharedDtor() {
  59232. if (this != default_instance_) {
  59233. }
  59234. }
  59235. void packetw2c_receive_kingcraft_exchange_result::SetCachedSize(int size) const {
  59236. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59237. _cached_size_ = size;
  59238. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59239. }
  59240. const ::google::protobuf::Descriptor* packetw2c_receive_kingcraft_exchange_result::descriptor() {
  59241. protobuf_AssignDescriptorsOnce();
  59242. return packetw2c_receive_kingcraft_exchange_result_descriptor_;
  59243. }
  59244. const packetw2c_receive_kingcraft_exchange_result& packetw2c_receive_kingcraft_exchange_result::default_instance() {
  59245. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  59246. return *default_instance_;
  59247. }
  59248. packetw2c_receive_kingcraft_exchange_result* packetw2c_receive_kingcraft_exchange_result::default_instance_ = NULL;
  59249. packetw2c_receive_kingcraft_exchange_result* packetw2c_receive_kingcraft_exchange_result::New() const {
  59250. return new packetw2c_receive_kingcraft_exchange_result;
  59251. }
  59252. void packetw2c_receive_kingcraft_exchange_result::Clear() {
  59253. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59254. packet_id_ = 7775;
  59255. index_ = 0;
  59256. result_ = 0;
  59257. }
  59258. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59259. mutable_unknown_fields()->Clear();
  59260. }
  59261. bool packetw2c_receive_kingcraft_exchange_result::MergePartialFromCodedStream(
  59262. ::google::protobuf::io::CodedInputStream* input) {
  59263. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  59264. ::google::protobuf::uint32 tag;
  59265. while ((tag = input->ReadTag()) != 0) {
  59266. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  59267. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result];
  59268. case 1: {
  59269. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59270. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59271. int value;
  59272. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59273. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  59274. input, &value)));
  59275. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  59276. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  59277. } else {
  59278. mutable_unknown_fields()->AddVarint(1, value);
  59279. }
  59280. } else {
  59281. goto handle_uninterpreted;
  59282. }
  59283. if (input->ExpectTag(16)) goto parse_index;
  59284. break;
  59285. }
  59286. // optional int32 index = 2;
  59287. case 2: {
  59288. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59289. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59290. parse_index:
  59291. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59292. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  59293. input, &index_)));
  59294. set_has_index();
  59295. } else {
  59296. goto handle_uninterpreted;
  59297. }
  59298. if (input->ExpectTag(24)) goto parse_result;
  59299. break;
  59300. }
  59301. // optional int32 result = 3;
  59302. case 3: {
  59303. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59304. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59305. parse_result:
  59306. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59307. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  59308. input, &result_)));
  59309. set_has_result();
  59310. } else {
  59311. goto handle_uninterpreted;
  59312. }
  59313. if (input->ExpectAtEnd()) return true;
  59314. break;
  59315. }
  59316. default: {
  59317. handle_uninterpreted:
  59318. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59319. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  59320. return true;
  59321. }
  59322. DO_(::google::protobuf::internal::WireFormat::SkipField(
  59323. input, tag, mutable_unknown_fields()));
  59324. break;
  59325. }
  59326. }
  59327. }
  59328. return true;
  59329. #undef DO_
  59330. }
  59331. void packetw2c_receive_kingcraft_exchange_result::SerializeWithCachedSizes(
  59332. ::google::protobuf::io::CodedOutputStream* output) const {
  59333. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result];
  59334. if (has_packet_id()) {
  59335. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  59336. 1, this->packet_id(), output);
  59337. }
  59338. // optional int32 index = 2;
  59339. if (has_index()) {
  59340. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  59341. }
  59342. // optional int32 result = 3;
  59343. if (has_result()) {
  59344. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  59345. }
  59346. if (!unknown_fields().empty()) {
  59347. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  59348. unknown_fields(), output);
  59349. }
  59350. }
  59351. ::google::protobuf::uint8* packetw2c_receive_kingcraft_exchange_result::SerializeWithCachedSizesToArray(
  59352. ::google::protobuf::uint8* target) const {
  59353. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result];
  59354. if (has_packet_id()) {
  59355. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  59356. 1, this->packet_id(), target);
  59357. }
  59358. // optional int32 index = 2;
  59359. if (has_index()) {
  59360. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  59361. }
  59362. // optional int32 result = 3;
  59363. if (has_result()) {
  59364. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  59365. }
  59366. if (!unknown_fields().empty()) {
  59367. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  59368. unknown_fields(), target);
  59369. }
  59370. return target;
  59371. }
  59372. int packetw2c_receive_kingcraft_exchange_result::ByteSize() const {
  59373. int total_size = 0;
  59374. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59375. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result];
  59376. if (has_packet_id()) {
  59377. total_size += 1 +
  59378. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  59379. }
  59380. // optional int32 index = 2;
  59381. if (has_index()) {
  59382. total_size += 1 +
  59383. ::google::protobuf::internal::WireFormatLite::Int32Size(
  59384. this->index());
  59385. }
  59386. // optional int32 result = 3;
  59387. if (has_result()) {
  59388. total_size += 1 +
  59389. ::google::protobuf::internal::WireFormatLite::Int32Size(
  59390. this->result());
  59391. }
  59392. }
  59393. if (!unknown_fields().empty()) {
  59394. total_size +=
  59395. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  59396. unknown_fields());
  59397. }
  59398. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59399. _cached_size_ = total_size;
  59400. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59401. return total_size;
  59402. }
  59403. void packetw2c_receive_kingcraft_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  59404. GOOGLE_CHECK_NE(&from, this);
  59405. const packetw2c_receive_kingcraft_exchange_result* source =
  59406. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_kingcraft_exchange_result*>(
  59407. &from);
  59408. if (source == NULL) {
  59409. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  59410. } else {
  59411. MergeFrom(*source);
  59412. }
  59413. }
  59414. void packetw2c_receive_kingcraft_exchange_result::MergeFrom(const packetw2c_receive_kingcraft_exchange_result& from) {
  59415. GOOGLE_CHECK_NE(&from, this);
  59416. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59417. if (from.has_packet_id()) {
  59418. set_packet_id(from.packet_id());
  59419. }
  59420. if (from.has_index()) {
  59421. set_index(from.index());
  59422. }
  59423. if (from.has_result()) {
  59424. set_result(from.result());
  59425. }
  59426. }
  59427. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  59428. }
  59429. void packetw2c_receive_kingcraft_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  59430. if (&from == this) return;
  59431. Clear();
  59432. MergeFrom(from);
  59433. }
  59434. void packetw2c_receive_kingcraft_exchange_result::CopyFrom(const packetw2c_receive_kingcraft_exchange_result& from) {
  59435. if (&from == this) return;
  59436. Clear();
  59437. MergeFrom(from);
  59438. }
  59439. bool packetw2c_receive_kingcraft_exchange_result::IsInitialized() const {
  59440. return true;
  59441. }
  59442. void packetw2c_receive_kingcraft_exchange_result::Swap(packetw2c_receive_kingcraft_exchange_result* other) {
  59443. if (other != this) {
  59444. std::swap(packet_id_, other->packet_id_);
  59445. std::swap(index_, other->index_);
  59446. std::swap(result_, other->result_);
  59447. std::swap(_has_bits_[0], other->_has_bits_[0]);
  59448. _unknown_fields_.Swap(&other->_unknown_fields_);
  59449. std::swap(_cached_size_, other->_cached_size_);
  59450. }
  59451. }
  59452. ::google::protobuf::Metadata packetw2c_receive_kingcraft_exchange_result::GetMetadata() const {
  59453. protobuf_AssignDescriptorsOnce();
  59454. ::google::protobuf::Metadata metadata;
  59455. metadata.descriptor = packetw2c_receive_kingcraft_exchange_result_descriptor_;
  59456. metadata.reflection = packetw2c_receive_kingcraft_exchange_result_reflection_;
  59457. return metadata;
  59458. }
  59459. // ===================================================================
  59460. #ifndef _MSC_VER
  59461. const int packetc2w_kingcraft_sign::kPacketIdFieldNumber;
  59462. const int packetc2w_kingcraft_sign::kSigndayFieldNumber;
  59463. #endif // !_MSC_VER
  59464. packetc2w_kingcraft_sign::packetc2w_kingcraft_sign()
  59465. : ::google::protobuf::Message() {
  59466. SharedCtor();
  59467. }
  59468. void packetc2w_kingcraft_sign::InitAsDefaultInstance() {
  59469. }
  59470. packetc2w_kingcraft_sign::packetc2w_kingcraft_sign(const packetc2w_kingcraft_sign& from)
  59471. : ::google::protobuf::Message() {
  59472. SharedCtor();
  59473. MergeFrom(from);
  59474. }
  59475. void packetc2w_kingcraft_sign::SharedCtor() {
  59476. _cached_size_ = 0;
  59477. packet_id_ = 5234;
  59478. signday_ = 0;
  59479. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59480. }
  59481. packetc2w_kingcraft_sign::~packetc2w_kingcraft_sign() {
  59482. SharedDtor();
  59483. }
  59484. void packetc2w_kingcraft_sign::SharedDtor() {
  59485. if (this != default_instance_) {
  59486. }
  59487. }
  59488. void packetc2w_kingcraft_sign::SetCachedSize(int size) const {
  59489. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59490. _cached_size_ = size;
  59491. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59492. }
  59493. const ::google::protobuf::Descriptor* packetc2w_kingcraft_sign::descriptor() {
  59494. protobuf_AssignDescriptorsOnce();
  59495. return packetc2w_kingcraft_sign_descriptor_;
  59496. }
  59497. const packetc2w_kingcraft_sign& packetc2w_kingcraft_sign::default_instance() {
  59498. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  59499. return *default_instance_;
  59500. }
  59501. packetc2w_kingcraft_sign* packetc2w_kingcraft_sign::default_instance_ = NULL;
  59502. packetc2w_kingcraft_sign* packetc2w_kingcraft_sign::New() const {
  59503. return new packetc2w_kingcraft_sign;
  59504. }
  59505. void packetc2w_kingcraft_sign::Clear() {
  59506. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59507. packet_id_ = 5234;
  59508. signday_ = 0;
  59509. }
  59510. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59511. mutable_unknown_fields()->Clear();
  59512. }
  59513. bool packetc2w_kingcraft_sign::MergePartialFromCodedStream(
  59514. ::google::protobuf::io::CodedInputStream* input) {
  59515. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  59516. ::google::protobuf::uint32 tag;
  59517. while ((tag = input->ReadTag()) != 0) {
  59518. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  59519. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_sign];
  59520. case 1: {
  59521. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59522. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59523. int value;
  59524. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59525. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  59526. input, &value)));
  59527. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  59528. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  59529. } else {
  59530. mutable_unknown_fields()->AddVarint(1, value);
  59531. }
  59532. } else {
  59533. goto handle_uninterpreted;
  59534. }
  59535. if (input->ExpectTag(16)) goto parse_signday;
  59536. break;
  59537. }
  59538. // optional int32 signday = 2;
  59539. case 2: {
  59540. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59541. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59542. parse_signday:
  59543. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59544. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  59545. input, &signday_)));
  59546. set_has_signday();
  59547. } else {
  59548. goto handle_uninterpreted;
  59549. }
  59550. if (input->ExpectAtEnd()) return true;
  59551. break;
  59552. }
  59553. default: {
  59554. handle_uninterpreted:
  59555. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59556. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  59557. return true;
  59558. }
  59559. DO_(::google::protobuf::internal::WireFormat::SkipField(
  59560. input, tag, mutable_unknown_fields()));
  59561. break;
  59562. }
  59563. }
  59564. }
  59565. return true;
  59566. #undef DO_
  59567. }
  59568. void packetc2w_kingcraft_sign::SerializeWithCachedSizes(
  59569. ::google::protobuf::io::CodedOutputStream* output) const {
  59570. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_sign];
  59571. if (has_packet_id()) {
  59572. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  59573. 1, this->packet_id(), output);
  59574. }
  59575. // optional int32 signday = 2;
  59576. if (has_signday()) {
  59577. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signday(), output);
  59578. }
  59579. if (!unknown_fields().empty()) {
  59580. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  59581. unknown_fields(), output);
  59582. }
  59583. }
  59584. ::google::protobuf::uint8* packetc2w_kingcraft_sign::SerializeWithCachedSizesToArray(
  59585. ::google::protobuf::uint8* target) const {
  59586. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_sign];
  59587. if (has_packet_id()) {
  59588. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  59589. 1, this->packet_id(), target);
  59590. }
  59591. // optional int32 signday = 2;
  59592. if (has_signday()) {
  59593. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signday(), target);
  59594. }
  59595. if (!unknown_fields().empty()) {
  59596. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  59597. unknown_fields(), target);
  59598. }
  59599. return target;
  59600. }
  59601. int packetc2w_kingcraft_sign::ByteSize() const {
  59602. int total_size = 0;
  59603. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59604. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_sign];
  59605. if (has_packet_id()) {
  59606. total_size += 1 +
  59607. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  59608. }
  59609. // optional int32 signday = 2;
  59610. if (has_signday()) {
  59611. total_size += 1 +
  59612. ::google::protobuf::internal::WireFormatLite::Int32Size(
  59613. this->signday());
  59614. }
  59615. }
  59616. if (!unknown_fields().empty()) {
  59617. total_size +=
  59618. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  59619. unknown_fields());
  59620. }
  59621. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59622. _cached_size_ = total_size;
  59623. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59624. return total_size;
  59625. }
  59626. void packetc2w_kingcraft_sign::MergeFrom(const ::google::protobuf::Message& from) {
  59627. GOOGLE_CHECK_NE(&from, this);
  59628. const packetc2w_kingcraft_sign* source =
  59629. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_kingcraft_sign*>(
  59630. &from);
  59631. if (source == NULL) {
  59632. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  59633. } else {
  59634. MergeFrom(*source);
  59635. }
  59636. }
  59637. void packetc2w_kingcraft_sign::MergeFrom(const packetc2w_kingcraft_sign& from) {
  59638. GOOGLE_CHECK_NE(&from, this);
  59639. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59640. if (from.has_packet_id()) {
  59641. set_packet_id(from.packet_id());
  59642. }
  59643. if (from.has_signday()) {
  59644. set_signday(from.signday());
  59645. }
  59646. }
  59647. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  59648. }
  59649. void packetc2w_kingcraft_sign::CopyFrom(const ::google::protobuf::Message& from) {
  59650. if (&from == this) return;
  59651. Clear();
  59652. MergeFrom(from);
  59653. }
  59654. void packetc2w_kingcraft_sign::CopyFrom(const packetc2w_kingcraft_sign& from) {
  59655. if (&from == this) return;
  59656. Clear();
  59657. MergeFrom(from);
  59658. }
  59659. bool packetc2w_kingcraft_sign::IsInitialized() const {
  59660. return true;
  59661. }
  59662. void packetc2w_kingcraft_sign::Swap(packetc2w_kingcraft_sign* other) {
  59663. if (other != this) {
  59664. std::swap(packet_id_, other->packet_id_);
  59665. std::swap(signday_, other->signday_);
  59666. std::swap(_has_bits_[0], other->_has_bits_[0]);
  59667. _unknown_fields_.Swap(&other->_unknown_fields_);
  59668. std::swap(_cached_size_, other->_cached_size_);
  59669. }
  59670. }
  59671. ::google::protobuf::Metadata packetc2w_kingcraft_sign::GetMetadata() const {
  59672. protobuf_AssignDescriptorsOnce();
  59673. ::google::protobuf::Metadata metadata;
  59674. metadata.descriptor = packetc2w_kingcraft_sign_descriptor_;
  59675. metadata.reflection = packetc2w_kingcraft_sign_reflection_;
  59676. return metadata;
  59677. }
  59678. // ===================================================================
  59679. #ifndef _MSC_VER
  59680. const int packetw2c_kingcraft_sign_result::kPacketIdFieldNumber;
  59681. const int packetw2c_kingcraft_sign_result::kSigndayFieldNumber;
  59682. const int packetw2c_kingcraft_sign_result::kResultFieldNumber;
  59683. #endif // !_MSC_VER
  59684. packetw2c_kingcraft_sign_result::packetw2c_kingcraft_sign_result()
  59685. : ::google::protobuf::Message() {
  59686. SharedCtor();
  59687. }
  59688. void packetw2c_kingcraft_sign_result::InitAsDefaultInstance() {
  59689. }
  59690. packetw2c_kingcraft_sign_result::packetw2c_kingcraft_sign_result(const packetw2c_kingcraft_sign_result& from)
  59691. : ::google::protobuf::Message() {
  59692. SharedCtor();
  59693. MergeFrom(from);
  59694. }
  59695. void packetw2c_kingcraft_sign_result::SharedCtor() {
  59696. _cached_size_ = 0;
  59697. packet_id_ = 7776;
  59698. signday_ = 0;
  59699. result_ = 0;
  59700. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59701. }
  59702. packetw2c_kingcraft_sign_result::~packetw2c_kingcraft_sign_result() {
  59703. SharedDtor();
  59704. }
  59705. void packetw2c_kingcraft_sign_result::SharedDtor() {
  59706. if (this != default_instance_) {
  59707. }
  59708. }
  59709. void packetw2c_kingcraft_sign_result::SetCachedSize(int size) const {
  59710. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59711. _cached_size_ = size;
  59712. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59713. }
  59714. const ::google::protobuf::Descriptor* packetw2c_kingcraft_sign_result::descriptor() {
  59715. protobuf_AssignDescriptorsOnce();
  59716. return packetw2c_kingcraft_sign_result_descriptor_;
  59717. }
  59718. const packetw2c_kingcraft_sign_result& packetw2c_kingcraft_sign_result::default_instance() {
  59719. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  59720. return *default_instance_;
  59721. }
  59722. packetw2c_kingcraft_sign_result* packetw2c_kingcraft_sign_result::default_instance_ = NULL;
  59723. packetw2c_kingcraft_sign_result* packetw2c_kingcraft_sign_result::New() const {
  59724. return new packetw2c_kingcraft_sign_result;
  59725. }
  59726. void packetw2c_kingcraft_sign_result::Clear() {
  59727. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59728. packet_id_ = 7776;
  59729. signday_ = 0;
  59730. result_ = 0;
  59731. }
  59732. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59733. mutable_unknown_fields()->Clear();
  59734. }
  59735. bool packetw2c_kingcraft_sign_result::MergePartialFromCodedStream(
  59736. ::google::protobuf::io::CodedInputStream* input) {
  59737. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  59738. ::google::protobuf::uint32 tag;
  59739. while ((tag = input->ReadTag()) != 0) {
  59740. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  59741. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_sign_result];
  59742. case 1: {
  59743. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59744. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59745. int value;
  59746. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59747. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  59748. input, &value)));
  59749. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  59750. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  59751. } else {
  59752. mutable_unknown_fields()->AddVarint(1, value);
  59753. }
  59754. } else {
  59755. goto handle_uninterpreted;
  59756. }
  59757. if (input->ExpectTag(16)) goto parse_signday;
  59758. break;
  59759. }
  59760. // optional int32 signday = 2;
  59761. case 2: {
  59762. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59763. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59764. parse_signday:
  59765. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59766. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  59767. input, &signday_)));
  59768. set_has_signday();
  59769. } else {
  59770. goto handle_uninterpreted;
  59771. }
  59772. if (input->ExpectTag(24)) goto parse_result;
  59773. break;
  59774. }
  59775. // optional int32 result = 3;
  59776. case 3: {
  59777. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59778. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  59779. parse_result:
  59780. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  59781. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  59782. input, &result_)));
  59783. set_has_result();
  59784. } else {
  59785. goto handle_uninterpreted;
  59786. }
  59787. if (input->ExpectAtEnd()) return true;
  59788. break;
  59789. }
  59790. default: {
  59791. handle_uninterpreted:
  59792. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  59793. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  59794. return true;
  59795. }
  59796. DO_(::google::protobuf::internal::WireFormat::SkipField(
  59797. input, tag, mutable_unknown_fields()));
  59798. break;
  59799. }
  59800. }
  59801. }
  59802. return true;
  59803. #undef DO_
  59804. }
  59805. void packetw2c_kingcraft_sign_result::SerializeWithCachedSizes(
  59806. ::google::protobuf::io::CodedOutputStream* output) const {
  59807. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_sign_result];
  59808. if (has_packet_id()) {
  59809. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  59810. 1, this->packet_id(), output);
  59811. }
  59812. // optional int32 signday = 2;
  59813. if (has_signday()) {
  59814. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->signday(), output);
  59815. }
  59816. // optional int32 result = 3;
  59817. if (has_result()) {
  59818. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  59819. }
  59820. if (!unknown_fields().empty()) {
  59821. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  59822. unknown_fields(), output);
  59823. }
  59824. }
  59825. ::google::protobuf::uint8* packetw2c_kingcraft_sign_result::SerializeWithCachedSizesToArray(
  59826. ::google::protobuf::uint8* target) const {
  59827. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_sign_result];
  59828. if (has_packet_id()) {
  59829. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  59830. 1, this->packet_id(), target);
  59831. }
  59832. // optional int32 signday = 2;
  59833. if (has_signday()) {
  59834. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->signday(), target);
  59835. }
  59836. // optional int32 result = 3;
  59837. if (has_result()) {
  59838. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  59839. }
  59840. if (!unknown_fields().empty()) {
  59841. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  59842. unknown_fields(), target);
  59843. }
  59844. return target;
  59845. }
  59846. int packetw2c_kingcraft_sign_result::ByteSize() const {
  59847. int total_size = 0;
  59848. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59849. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_sign_result];
  59850. if (has_packet_id()) {
  59851. total_size += 1 +
  59852. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  59853. }
  59854. // optional int32 signday = 2;
  59855. if (has_signday()) {
  59856. total_size += 1 +
  59857. ::google::protobuf::internal::WireFormatLite::Int32Size(
  59858. this->signday());
  59859. }
  59860. // optional int32 result = 3;
  59861. if (has_result()) {
  59862. total_size += 1 +
  59863. ::google::protobuf::internal::WireFormatLite::Int32Size(
  59864. this->result());
  59865. }
  59866. }
  59867. if (!unknown_fields().empty()) {
  59868. total_size +=
  59869. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  59870. unknown_fields());
  59871. }
  59872. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59873. _cached_size_ = total_size;
  59874. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59875. return total_size;
  59876. }
  59877. void packetw2c_kingcraft_sign_result::MergeFrom(const ::google::protobuf::Message& from) {
  59878. GOOGLE_CHECK_NE(&from, this);
  59879. const packetw2c_kingcraft_sign_result* source =
  59880. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_kingcraft_sign_result*>(
  59881. &from);
  59882. if (source == NULL) {
  59883. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  59884. } else {
  59885. MergeFrom(*source);
  59886. }
  59887. }
  59888. void packetw2c_kingcraft_sign_result::MergeFrom(const packetw2c_kingcraft_sign_result& from) {
  59889. GOOGLE_CHECK_NE(&from, this);
  59890. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59891. if (from.has_packet_id()) {
  59892. set_packet_id(from.packet_id());
  59893. }
  59894. if (from.has_signday()) {
  59895. set_signday(from.signday());
  59896. }
  59897. if (from.has_result()) {
  59898. set_result(from.result());
  59899. }
  59900. }
  59901. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  59902. }
  59903. void packetw2c_kingcraft_sign_result::CopyFrom(const ::google::protobuf::Message& from) {
  59904. if (&from == this) return;
  59905. Clear();
  59906. MergeFrom(from);
  59907. }
  59908. void packetw2c_kingcraft_sign_result::CopyFrom(const packetw2c_kingcraft_sign_result& from) {
  59909. if (&from == this) return;
  59910. Clear();
  59911. MergeFrom(from);
  59912. }
  59913. bool packetw2c_kingcraft_sign_result::IsInitialized() const {
  59914. return true;
  59915. }
  59916. void packetw2c_kingcraft_sign_result::Swap(packetw2c_kingcraft_sign_result* other) {
  59917. if (other != this) {
  59918. std::swap(packet_id_, other->packet_id_);
  59919. std::swap(signday_, other->signday_);
  59920. std::swap(result_, other->result_);
  59921. std::swap(_has_bits_[0], other->_has_bits_[0]);
  59922. _unknown_fields_.Swap(&other->_unknown_fields_);
  59923. std::swap(_cached_size_, other->_cached_size_);
  59924. }
  59925. }
  59926. ::google::protobuf::Metadata packetw2c_kingcraft_sign_result::GetMetadata() const {
  59927. protobuf_AssignDescriptorsOnce();
  59928. ::google::protobuf::Metadata metadata;
  59929. metadata.descriptor = packetw2c_kingcraft_sign_result_descriptor_;
  59930. metadata.reflection = packetw2c_kingcraft_sign_result_reflection_;
  59931. return metadata;
  59932. }
  59933. // ===================================================================
  59934. #ifndef _MSC_VER
  59935. const int packetw2c_syn_double_egg_activity_info::kPacketIdFieldNumber;
  59936. const int packetw2c_syn_double_egg_activity_info::kActivityStateFieldNumber;
  59937. const int packetw2c_syn_double_egg_activity_info::kStartTimeFieldNumber;
  59938. const int packetw2c_syn_double_egg_activity_info::kEndTimeFieldNumber;
  59939. #endif // !_MSC_VER
  59940. packetw2c_syn_double_egg_activity_info::packetw2c_syn_double_egg_activity_info()
  59941. : ::google::protobuf::Message() {
  59942. SharedCtor();
  59943. }
  59944. void packetw2c_syn_double_egg_activity_info::InitAsDefaultInstance() {
  59945. }
  59946. packetw2c_syn_double_egg_activity_info::packetw2c_syn_double_egg_activity_info(const packetw2c_syn_double_egg_activity_info& from)
  59947. : ::google::protobuf::Message() {
  59948. SharedCtor();
  59949. MergeFrom(from);
  59950. }
  59951. void packetw2c_syn_double_egg_activity_info::SharedCtor() {
  59952. _cached_size_ = 0;
  59953. packet_id_ = 7777;
  59954. activitystate_ = 0;
  59955. starttime_ = 0;
  59956. endtime_ = 0;
  59957. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59958. }
  59959. packetw2c_syn_double_egg_activity_info::~packetw2c_syn_double_egg_activity_info() {
  59960. SharedDtor();
  59961. }
  59962. void packetw2c_syn_double_egg_activity_info::SharedDtor() {
  59963. if (this != default_instance_) {
  59964. }
  59965. }
  59966. void packetw2c_syn_double_egg_activity_info::SetCachedSize(int size) const {
  59967. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  59968. _cached_size_ = size;
  59969. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  59970. }
  59971. const ::google::protobuf::Descriptor* packetw2c_syn_double_egg_activity_info::descriptor() {
  59972. protobuf_AssignDescriptorsOnce();
  59973. return packetw2c_syn_double_egg_activity_info_descriptor_;
  59974. }
  59975. const packetw2c_syn_double_egg_activity_info& packetw2c_syn_double_egg_activity_info::default_instance() {
  59976. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  59977. return *default_instance_;
  59978. }
  59979. packetw2c_syn_double_egg_activity_info* packetw2c_syn_double_egg_activity_info::default_instance_ = NULL;
  59980. packetw2c_syn_double_egg_activity_info* packetw2c_syn_double_egg_activity_info::New() const {
  59981. return new packetw2c_syn_double_egg_activity_info;
  59982. }
  59983. void packetw2c_syn_double_egg_activity_info::Clear() {
  59984. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  59985. packet_id_ = 7777;
  59986. activitystate_ = 0;
  59987. starttime_ = 0;
  59988. endtime_ = 0;
  59989. }
  59990. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  59991. mutable_unknown_fields()->Clear();
  59992. }
  59993. bool packetw2c_syn_double_egg_activity_info::MergePartialFromCodedStream(
  59994. ::google::protobuf::io::CodedInputStream* input) {
  59995. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  59996. ::google::protobuf::uint32 tag;
  59997. while ((tag = input->ReadTag()) != 0) {
  59998. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  59999. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_egg_activity_info];
  60000. case 1: {
  60001. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60002. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60003. int value;
  60004. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60005. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  60006. input, &value)));
  60007. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  60008. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  60009. } else {
  60010. mutable_unknown_fields()->AddVarint(1, value);
  60011. }
  60012. } else {
  60013. goto handle_uninterpreted;
  60014. }
  60015. if (input->ExpectTag(16)) goto parse_activityState;
  60016. break;
  60017. }
  60018. // optional int32 activityState = 2;
  60019. case 2: {
  60020. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60021. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60022. parse_activityState:
  60023. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60024. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60025. input, &activitystate_)));
  60026. set_has_activitystate();
  60027. } else {
  60028. goto handle_uninterpreted;
  60029. }
  60030. if (input->ExpectTag(24)) goto parse_startTime;
  60031. break;
  60032. }
  60033. // optional int32 startTime = 3;
  60034. case 3: {
  60035. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60036. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60037. parse_startTime:
  60038. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60039. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60040. input, &starttime_)));
  60041. set_has_starttime();
  60042. } else {
  60043. goto handle_uninterpreted;
  60044. }
  60045. if (input->ExpectTag(32)) goto parse_endTime;
  60046. break;
  60047. }
  60048. // optional int32 endTime = 4;
  60049. case 4: {
  60050. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60051. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60052. parse_endTime:
  60053. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60054. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60055. input, &endtime_)));
  60056. set_has_endtime();
  60057. } else {
  60058. goto handle_uninterpreted;
  60059. }
  60060. if (input->ExpectAtEnd()) return true;
  60061. break;
  60062. }
  60063. default: {
  60064. handle_uninterpreted:
  60065. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60066. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  60067. return true;
  60068. }
  60069. DO_(::google::protobuf::internal::WireFormat::SkipField(
  60070. input, tag, mutable_unknown_fields()));
  60071. break;
  60072. }
  60073. }
  60074. }
  60075. return true;
  60076. #undef DO_
  60077. }
  60078. void packetw2c_syn_double_egg_activity_info::SerializeWithCachedSizes(
  60079. ::google::protobuf::io::CodedOutputStream* output) const {
  60080. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_egg_activity_info];
  60081. if (has_packet_id()) {
  60082. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  60083. 1, this->packet_id(), output);
  60084. }
  60085. // optional int32 activityState = 2;
  60086. if (has_activitystate()) {
  60087. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  60088. }
  60089. // optional int32 startTime = 3;
  60090. if (has_starttime()) {
  60091. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  60092. }
  60093. // optional int32 endTime = 4;
  60094. if (has_endtime()) {
  60095. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  60096. }
  60097. if (!unknown_fields().empty()) {
  60098. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  60099. unknown_fields(), output);
  60100. }
  60101. }
  60102. ::google::protobuf::uint8* packetw2c_syn_double_egg_activity_info::SerializeWithCachedSizesToArray(
  60103. ::google::protobuf::uint8* target) const {
  60104. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_egg_activity_info];
  60105. if (has_packet_id()) {
  60106. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  60107. 1, this->packet_id(), target);
  60108. }
  60109. // optional int32 activityState = 2;
  60110. if (has_activitystate()) {
  60111. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  60112. }
  60113. // optional int32 startTime = 3;
  60114. if (has_starttime()) {
  60115. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  60116. }
  60117. // optional int32 endTime = 4;
  60118. if (has_endtime()) {
  60119. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  60120. }
  60121. if (!unknown_fields().empty()) {
  60122. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  60123. unknown_fields(), target);
  60124. }
  60125. return target;
  60126. }
  60127. int packetw2c_syn_double_egg_activity_info::ByteSize() const {
  60128. int total_size = 0;
  60129. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  60130. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_egg_activity_info];
  60131. if (has_packet_id()) {
  60132. total_size += 1 +
  60133. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  60134. }
  60135. // optional int32 activityState = 2;
  60136. if (has_activitystate()) {
  60137. total_size += 1 +
  60138. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60139. this->activitystate());
  60140. }
  60141. // optional int32 startTime = 3;
  60142. if (has_starttime()) {
  60143. total_size += 1 +
  60144. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60145. this->starttime());
  60146. }
  60147. // optional int32 endTime = 4;
  60148. if (has_endtime()) {
  60149. total_size += 1 +
  60150. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60151. this->endtime());
  60152. }
  60153. }
  60154. if (!unknown_fields().empty()) {
  60155. total_size +=
  60156. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  60157. unknown_fields());
  60158. }
  60159. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  60160. _cached_size_ = total_size;
  60161. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  60162. return total_size;
  60163. }
  60164. void packetw2c_syn_double_egg_activity_info::MergeFrom(const ::google::protobuf::Message& from) {
  60165. GOOGLE_CHECK_NE(&from, this);
  60166. const packetw2c_syn_double_egg_activity_info* source =
  60167. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_double_egg_activity_info*>(
  60168. &from);
  60169. if (source == NULL) {
  60170. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  60171. } else {
  60172. MergeFrom(*source);
  60173. }
  60174. }
  60175. void packetw2c_syn_double_egg_activity_info::MergeFrom(const packetw2c_syn_double_egg_activity_info& from) {
  60176. GOOGLE_CHECK_NE(&from, this);
  60177. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  60178. if (from.has_packet_id()) {
  60179. set_packet_id(from.packet_id());
  60180. }
  60181. if (from.has_activitystate()) {
  60182. set_activitystate(from.activitystate());
  60183. }
  60184. if (from.has_starttime()) {
  60185. set_starttime(from.starttime());
  60186. }
  60187. if (from.has_endtime()) {
  60188. set_endtime(from.endtime());
  60189. }
  60190. }
  60191. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  60192. }
  60193. void packetw2c_syn_double_egg_activity_info::CopyFrom(const ::google::protobuf::Message& from) {
  60194. if (&from == this) return;
  60195. Clear();
  60196. MergeFrom(from);
  60197. }
  60198. void packetw2c_syn_double_egg_activity_info::CopyFrom(const packetw2c_syn_double_egg_activity_info& from) {
  60199. if (&from == this) return;
  60200. Clear();
  60201. MergeFrom(from);
  60202. }
  60203. bool packetw2c_syn_double_egg_activity_info::IsInitialized() const {
  60204. return true;
  60205. }
  60206. void packetw2c_syn_double_egg_activity_info::Swap(packetw2c_syn_double_egg_activity_info* other) {
  60207. if (other != this) {
  60208. std::swap(packet_id_, other->packet_id_);
  60209. std::swap(activitystate_, other->activitystate_);
  60210. std::swap(starttime_, other->starttime_);
  60211. std::swap(endtime_, other->endtime_);
  60212. std::swap(_has_bits_[0], other->_has_bits_[0]);
  60213. _unknown_fields_.Swap(&other->_unknown_fields_);
  60214. std::swap(_cached_size_, other->_cached_size_);
  60215. }
  60216. }
  60217. ::google::protobuf::Metadata packetw2c_syn_double_egg_activity_info::GetMetadata() const {
  60218. protobuf_AssignDescriptorsOnce();
  60219. ::google::protobuf::Metadata metadata;
  60220. metadata.descriptor = packetw2c_syn_double_egg_activity_info_descriptor_;
  60221. metadata.reflection = packetw2c_syn_double_egg_activity_info_reflection_;
  60222. return metadata;
  60223. }
  60224. // ===================================================================
  60225. #ifndef _MSC_VER
  60226. const int touchingFishRecInfo::kIdFieldNumber;
  60227. const int touchingFishRecInfo::kRecValueFieldNumber;
  60228. #endif // !_MSC_VER
  60229. touchingFishRecInfo::touchingFishRecInfo()
  60230. : ::google::protobuf::Message() {
  60231. SharedCtor();
  60232. }
  60233. void touchingFishRecInfo::InitAsDefaultInstance() {
  60234. }
  60235. touchingFishRecInfo::touchingFishRecInfo(const touchingFishRecInfo& from)
  60236. : ::google::protobuf::Message() {
  60237. SharedCtor();
  60238. MergeFrom(from);
  60239. }
  60240. void touchingFishRecInfo::SharedCtor() {
  60241. _cached_size_ = 0;
  60242. id_ = 0;
  60243. recvalue_ = 0;
  60244. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  60245. }
  60246. touchingFishRecInfo::~touchingFishRecInfo() {
  60247. SharedDtor();
  60248. }
  60249. void touchingFishRecInfo::SharedDtor() {
  60250. if (this != default_instance_) {
  60251. }
  60252. }
  60253. void touchingFishRecInfo::SetCachedSize(int size) const {
  60254. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  60255. _cached_size_ = size;
  60256. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  60257. }
  60258. const ::google::protobuf::Descriptor* touchingFishRecInfo::descriptor() {
  60259. protobuf_AssignDescriptorsOnce();
  60260. return touchingFishRecInfo_descriptor_;
  60261. }
  60262. const touchingFishRecInfo& touchingFishRecInfo::default_instance() {
  60263. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  60264. return *default_instance_;
  60265. }
  60266. touchingFishRecInfo* touchingFishRecInfo::default_instance_ = NULL;
  60267. touchingFishRecInfo* touchingFishRecInfo::New() const {
  60268. return new touchingFishRecInfo;
  60269. }
  60270. void touchingFishRecInfo::Clear() {
  60271. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  60272. id_ = 0;
  60273. recvalue_ = 0;
  60274. }
  60275. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  60276. mutable_unknown_fields()->Clear();
  60277. }
  60278. bool touchingFishRecInfo::MergePartialFromCodedStream(
  60279. ::google::protobuf::io::CodedInputStream* input) {
  60280. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  60281. ::google::protobuf::uint32 tag;
  60282. while ((tag = input->ReadTag()) != 0) {
  60283. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  60284. // optional int32 id = 1;
  60285. case 1: {
  60286. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60287. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60288. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60289. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60290. input, &id_)));
  60291. set_has_id();
  60292. } else {
  60293. goto handle_uninterpreted;
  60294. }
  60295. if (input->ExpectTag(16)) goto parse_recValue;
  60296. break;
  60297. }
  60298. // optional int32 recValue = 2;
  60299. case 2: {
  60300. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60301. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60302. parse_recValue:
  60303. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60304. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60305. input, &recvalue_)));
  60306. set_has_recvalue();
  60307. } else {
  60308. goto handle_uninterpreted;
  60309. }
  60310. if (input->ExpectAtEnd()) return true;
  60311. break;
  60312. }
  60313. default: {
  60314. handle_uninterpreted:
  60315. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60316. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  60317. return true;
  60318. }
  60319. DO_(::google::protobuf::internal::WireFormat::SkipField(
  60320. input, tag, mutable_unknown_fields()));
  60321. break;
  60322. }
  60323. }
  60324. }
  60325. return true;
  60326. #undef DO_
  60327. }
  60328. void touchingFishRecInfo::SerializeWithCachedSizes(
  60329. ::google::protobuf::io::CodedOutputStream* output) const {
  60330. // optional int32 id = 1;
  60331. if (has_id()) {
  60332. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
  60333. }
  60334. // optional int32 recValue = 2;
  60335. if (has_recvalue()) {
  60336. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->recvalue(), output);
  60337. }
  60338. if (!unknown_fields().empty()) {
  60339. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  60340. unknown_fields(), output);
  60341. }
  60342. }
  60343. ::google::protobuf::uint8* touchingFishRecInfo::SerializeWithCachedSizesToArray(
  60344. ::google::protobuf::uint8* target) const {
  60345. // optional int32 id = 1;
  60346. if (has_id()) {
  60347. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
  60348. }
  60349. // optional int32 recValue = 2;
  60350. if (has_recvalue()) {
  60351. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->recvalue(), target);
  60352. }
  60353. if (!unknown_fields().empty()) {
  60354. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  60355. unknown_fields(), target);
  60356. }
  60357. return target;
  60358. }
  60359. int touchingFishRecInfo::ByteSize() const {
  60360. int total_size = 0;
  60361. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  60362. // optional int32 id = 1;
  60363. if (has_id()) {
  60364. total_size += 1 +
  60365. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60366. this->id());
  60367. }
  60368. // optional int32 recValue = 2;
  60369. if (has_recvalue()) {
  60370. total_size += 1 +
  60371. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60372. this->recvalue());
  60373. }
  60374. }
  60375. if (!unknown_fields().empty()) {
  60376. total_size +=
  60377. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  60378. unknown_fields());
  60379. }
  60380. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  60381. _cached_size_ = total_size;
  60382. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  60383. return total_size;
  60384. }
  60385. void touchingFishRecInfo::MergeFrom(const ::google::protobuf::Message& from) {
  60386. GOOGLE_CHECK_NE(&from, this);
  60387. const touchingFishRecInfo* source =
  60388. ::google::protobuf::internal::dynamic_cast_if_available<const touchingFishRecInfo*>(
  60389. &from);
  60390. if (source == NULL) {
  60391. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  60392. } else {
  60393. MergeFrom(*source);
  60394. }
  60395. }
  60396. void touchingFishRecInfo::MergeFrom(const touchingFishRecInfo& from) {
  60397. GOOGLE_CHECK_NE(&from, this);
  60398. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  60399. if (from.has_id()) {
  60400. set_id(from.id());
  60401. }
  60402. if (from.has_recvalue()) {
  60403. set_recvalue(from.recvalue());
  60404. }
  60405. }
  60406. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  60407. }
  60408. void touchingFishRecInfo::CopyFrom(const ::google::protobuf::Message& from) {
  60409. if (&from == this) return;
  60410. Clear();
  60411. MergeFrom(from);
  60412. }
  60413. void touchingFishRecInfo::CopyFrom(const touchingFishRecInfo& from) {
  60414. if (&from == this) return;
  60415. Clear();
  60416. MergeFrom(from);
  60417. }
  60418. bool touchingFishRecInfo::IsInitialized() const {
  60419. return true;
  60420. }
  60421. void touchingFishRecInfo::Swap(touchingFishRecInfo* other) {
  60422. if (other != this) {
  60423. std::swap(id_, other->id_);
  60424. std::swap(recvalue_, other->recvalue_);
  60425. std::swap(_has_bits_[0], other->_has_bits_[0]);
  60426. _unknown_fields_.Swap(&other->_unknown_fields_);
  60427. std::swap(_cached_size_, other->_cached_size_);
  60428. }
  60429. }
  60430. ::google::protobuf::Metadata touchingFishRecInfo::GetMetadata() const {
  60431. protobuf_AssignDescriptorsOnce();
  60432. ::google::protobuf::Metadata metadata;
  60433. metadata.descriptor = touchingFishRecInfo_descriptor_;
  60434. metadata.reflection = touchingFishRecInfo_reflection_;
  60435. return metadata;
  60436. }
  60437. // ===================================================================
  60438. #ifndef _MSC_VER
  60439. const int packetw2c_syn_touching_fish_activity_info::kPacketIdFieldNumber;
  60440. const int packetw2c_syn_touching_fish_activity_info::kActivityStateFieldNumber;
  60441. const int packetw2c_syn_touching_fish_activity_info::kStartTimeFieldNumber;
  60442. const int packetw2c_syn_touching_fish_activity_info::kEndTimeFieldNumber;
  60443. const int packetw2c_syn_touching_fish_activity_info::kSeasonFieldNumber;
  60444. const int packetw2c_syn_touching_fish_activity_info::kExpFieldNumber;
  60445. const int packetw2c_syn_touching_fish_activity_info::kLevelFieldNumber;
  60446. const int packetw2c_syn_touching_fish_activity_info::kCurweekFieldNumber;
  60447. const int packetw2c_syn_touching_fish_activity_info::kWeekStartTimeFieldNumber;
  60448. const int packetw2c_syn_touching_fish_activity_info::kWeekEndTimeFieldNumber;
  60449. const int packetw2c_syn_touching_fish_activity_info::kWeekExpFieldNumber;
  60450. const int packetw2c_syn_touching_fish_activity_info::kLevelRevIdsFieldNumber;
  60451. const int packetw2c_syn_touching_fish_activity_info::kWeekBoxRevFieldNumber;
  60452. #endif // !_MSC_VER
  60453. packetw2c_syn_touching_fish_activity_info::packetw2c_syn_touching_fish_activity_info()
  60454. : ::google::protobuf::Message() {
  60455. SharedCtor();
  60456. }
  60457. void packetw2c_syn_touching_fish_activity_info::InitAsDefaultInstance() {
  60458. }
  60459. packetw2c_syn_touching_fish_activity_info::packetw2c_syn_touching_fish_activity_info(const packetw2c_syn_touching_fish_activity_info& from)
  60460. : ::google::protobuf::Message() {
  60461. SharedCtor();
  60462. MergeFrom(from);
  60463. }
  60464. void packetw2c_syn_touching_fish_activity_info::SharedCtor() {
  60465. _cached_size_ = 0;
  60466. packet_id_ = 7778;
  60467. activitystate_ = 0;
  60468. starttime_ = 0;
  60469. endtime_ = 0;
  60470. season_ = 0;
  60471. exp_ = 0;
  60472. level_ = 0;
  60473. curweek_ = 0;
  60474. weekstarttime_ = 0;
  60475. weekendtime_ = 0;
  60476. weekexp_ = 0;
  60477. weekboxrev_ = 0;
  60478. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  60479. }
  60480. packetw2c_syn_touching_fish_activity_info::~packetw2c_syn_touching_fish_activity_info() {
  60481. SharedDtor();
  60482. }
  60483. void packetw2c_syn_touching_fish_activity_info::SharedDtor() {
  60484. if (this != default_instance_) {
  60485. }
  60486. }
  60487. void packetw2c_syn_touching_fish_activity_info::SetCachedSize(int size) const {
  60488. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  60489. _cached_size_ = size;
  60490. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  60491. }
  60492. const ::google::protobuf::Descriptor* packetw2c_syn_touching_fish_activity_info::descriptor() {
  60493. protobuf_AssignDescriptorsOnce();
  60494. return packetw2c_syn_touching_fish_activity_info_descriptor_;
  60495. }
  60496. const packetw2c_syn_touching_fish_activity_info& packetw2c_syn_touching_fish_activity_info::default_instance() {
  60497. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  60498. return *default_instance_;
  60499. }
  60500. packetw2c_syn_touching_fish_activity_info* packetw2c_syn_touching_fish_activity_info::default_instance_ = NULL;
  60501. packetw2c_syn_touching_fish_activity_info* packetw2c_syn_touching_fish_activity_info::New() const {
  60502. return new packetw2c_syn_touching_fish_activity_info;
  60503. }
  60504. void packetw2c_syn_touching_fish_activity_info::Clear() {
  60505. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  60506. packet_id_ = 7778;
  60507. activitystate_ = 0;
  60508. starttime_ = 0;
  60509. endtime_ = 0;
  60510. season_ = 0;
  60511. exp_ = 0;
  60512. level_ = 0;
  60513. curweek_ = 0;
  60514. }
  60515. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  60516. weekstarttime_ = 0;
  60517. weekendtime_ = 0;
  60518. weekexp_ = 0;
  60519. weekboxrev_ = 0;
  60520. }
  60521. levelrevids_.Clear();
  60522. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  60523. mutable_unknown_fields()->Clear();
  60524. }
  60525. bool packetw2c_syn_touching_fish_activity_info::MergePartialFromCodedStream(
  60526. ::google::protobuf::io::CodedInputStream* input) {
  60527. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  60528. ::google::protobuf::uint32 tag;
  60529. while ((tag = input->ReadTag()) != 0) {
  60530. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  60531. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_activity_info];
  60532. case 1: {
  60533. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60534. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60535. int value;
  60536. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60537. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  60538. input, &value)));
  60539. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  60540. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  60541. } else {
  60542. mutable_unknown_fields()->AddVarint(1, value);
  60543. }
  60544. } else {
  60545. goto handle_uninterpreted;
  60546. }
  60547. if (input->ExpectTag(16)) goto parse_activityState;
  60548. break;
  60549. }
  60550. // optional int32 activityState = 2;
  60551. case 2: {
  60552. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60553. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60554. parse_activityState:
  60555. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60556. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60557. input, &activitystate_)));
  60558. set_has_activitystate();
  60559. } else {
  60560. goto handle_uninterpreted;
  60561. }
  60562. if (input->ExpectTag(24)) goto parse_startTime;
  60563. break;
  60564. }
  60565. // optional int32 startTime = 3;
  60566. case 3: {
  60567. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60568. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60569. parse_startTime:
  60570. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60571. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60572. input, &starttime_)));
  60573. set_has_starttime();
  60574. } else {
  60575. goto handle_uninterpreted;
  60576. }
  60577. if (input->ExpectTag(32)) goto parse_endTime;
  60578. break;
  60579. }
  60580. // optional int32 endTime = 4;
  60581. case 4: {
  60582. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60583. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60584. parse_endTime:
  60585. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60586. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60587. input, &endtime_)));
  60588. set_has_endtime();
  60589. } else {
  60590. goto handle_uninterpreted;
  60591. }
  60592. if (input->ExpectTag(40)) goto parse_season;
  60593. break;
  60594. }
  60595. // optional int32 season = 5;
  60596. case 5: {
  60597. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60598. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60599. parse_season:
  60600. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60601. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60602. input, &season_)));
  60603. set_has_season();
  60604. } else {
  60605. goto handle_uninterpreted;
  60606. }
  60607. if (input->ExpectTag(48)) goto parse_exp;
  60608. break;
  60609. }
  60610. // optional int32 exp = 6;
  60611. case 6: {
  60612. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60613. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60614. parse_exp:
  60615. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60616. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60617. input, &exp_)));
  60618. set_has_exp();
  60619. } else {
  60620. goto handle_uninterpreted;
  60621. }
  60622. if (input->ExpectTag(56)) goto parse_level;
  60623. break;
  60624. }
  60625. // optional int32 level = 7;
  60626. case 7: {
  60627. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60628. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60629. parse_level:
  60630. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60631. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60632. input, &level_)));
  60633. set_has_level();
  60634. } else {
  60635. goto handle_uninterpreted;
  60636. }
  60637. if (input->ExpectTag(64)) goto parse_curweek;
  60638. break;
  60639. }
  60640. // optional int32 curweek = 8;
  60641. case 8: {
  60642. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60643. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60644. parse_curweek:
  60645. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60646. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60647. input, &curweek_)));
  60648. set_has_curweek();
  60649. } else {
  60650. goto handle_uninterpreted;
  60651. }
  60652. if (input->ExpectTag(72)) goto parse_weekStartTime;
  60653. break;
  60654. }
  60655. // optional int32 weekStartTime = 9;
  60656. case 9: {
  60657. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60658. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60659. parse_weekStartTime:
  60660. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60661. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60662. input, &weekstarttime_)));
  60663. set_has_weekstarttime();
  60664. } else {
  60665. goto handle_uninterpreted;
  60666. }
  60667. if (input->ExpectTag(80)) goto parse_weekEndTime;
  60668. break;
  60669. }
  60670. // optional int32 weekEndTime = 10;
  60671. case 10: {
  60672. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60673. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60674. parse_weekEndTime:
  60675. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60676. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60677. input, &weekendtime_)));
  60678. set_has_weekendtime();
  60679. } else {
  60680. goto handle_uninterpreted;
  60681. }
  60682. if (input->ExpectTag(88)) goto parse_weekExp;
  60683. break;
  60684. }
  60685. // optional int32 weekExp = 11;
  60686. case 11: {
  60687. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60688. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60689. parse_weekExp:
  60690. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60691. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60692. input, &weekexp_)));
  60693. set_has_weekexp();
  60694. } else {
  60695. goto handle_uninterpreted;
  60696. }
  60697. if (input->ExpectTag(98)) goto parse_levelRevIds;
  60698. break;
  60699. }
  60700. // repeated .client2world_protocols.touchingFishRecInfo levelRevIds = 12;
  60701. case 12: {
  60702. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60703. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  60704. parse_levelRevIds:
  60705. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  60706. input, add_levelrevids()));
  60707. } else {
  60708. goto handle_uninterpreted;
  60709. }
  60710. if (input->ExpectTag(98)) goto parse_levelRevIds;
  60711. if (input->ExpectTag(104)) goto parse_weekBoxRev;
  60712. break;
  60713. }
  60714. // optional int32 weekBoxRev = 13;
  60715. case 13: {
  60716. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60717. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  60718. parse_weekBoxRev:
  60719. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  60720. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  60721. input, &weekboxrev_)));
  60722. set_has_weekboxrev();
  60723. } else {
  60724. goto handle_uninterpreted;
  60725. }
  60726. if (input->ExpectAtEnd()) return true;
  60727. break;
  60728. }
  60729. default: {
  60730. handle_uninterpreted:
  60731. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  60732. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  60733. return true;
  60734. }
  60735. DO_(::google::protobuf::internal::WireFormat::SkipField(
  60736. input, tag, mutable_unknown_fields()));
  60737. break;
  60738. }
  60739. }
  60740. }
  60741. return true;
  60742. #undef DO_
  60743. }
  60744. void packetw2c_syn_touching_fish_activity_info::SerializeWithCachedSizes(
  60745. ::google::protobuf::io::CodedOutputStream* output) const {
  60746. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_activity_info];
  60747. if (has_packet_id()) {
  60748. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  60749. 1, this->packet_id(), output);
  60750. }
  60751. // optional int32 activityState = 2;
  60752. if (has_activitystate()) {
  60753. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  60754. }
  60755. // optional int32 startTime = 3;
  60756. if (has_starttime()) {
  60757. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  60758. }
  60759. // optional int32 endTime = 4;
  60760. if (has_endtime()) {
  60761. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  60762. }
  60763. // optional int32 season = 5;
  60764. if (has_season()) {
  60765. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->season(), output);
  60766. }
  60767. // optional int32 exp = 6;
  60768. if (has_exp()) {
  60769. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->exp(), output);
  60770. }
  60771. // optional int32 level = 7;
  60772. if (has_level()) {
  60773. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->level(), output);
  60774. }
  60775. // optional int32 curweek = 8;
  60776. if (has_curweek()) {
  60777. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->curweek(), output);
  60778. }
  60779. // optional int32 weekStartTime = 9;
  60780. if (has_weekstarttime()) {
  60781. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->weekstarttime(), output);
  60782. }
  60783. // optional int32 weekEndTime = 10;
  60784. if (has_weekendtime()) {
  60785. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->weekendtime(), output);
  60786. }
  60787. // optional int32 weekExp = 11;
  60788. if (has_weekexp()) {
  60789. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->weekexp(), output);
  60790. }
  60791. // repeated .client2world_protocols.touchingFishRecInfo levelRevIds = 12;
  60792. for (int i = 0; i < this->levelrevids_size(); i++) {
  60793. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  60794. 12, this->levelrevids(i), output);
  60795. }
  60796. // optional int32 weekBoxRev = 13;
  60797. if (has_weekboxrev()) {
  60798. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->weekboxrev(), output);
  60799. }
  60800. if (!unknown_fields().empty()) {
  60801. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  60802. unknown_fields(), output);
  60803. }
  60804. }
  60805. ::google::protobuf::uint8* packetw2c_syn_touching_fish_activity_info::SerializeWithCachedSizesToArray(
  60806. ::google::protobuf::uint8* target) const {
  60807. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_activity_info];
  60808. if (has_packet_id()) {
  60809. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  60810. 1, this->packet_id(), target);
  60811. }
  60812. // optional int32 activityState = 2;
  60813. if (has_activitystate()) {
  60814. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  60815. }
  60816. // optional int32 startTime = 3;
  60817. if (has_starttime()) {
  60818. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  60819. }
  60820. // optional int32 endTime = 4;
  60821. if (has_endtime()) {
  60822. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  60823. }
  60824. // optional int32 season = 5;
  60825. if (has_season()) {
  60826. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->season(), target);
  60827. }
  60828. // optional int32 exp = 6;
  60829. if (has_exp()) {
  60830. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->exp(), target);
  60831. }
  60832. // optional int32 level = 7;
  60833. if (has_level()) {
  60834. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->level(), target);
  60835. }
  60836. // optional int32 curweek = 8;
  60837. if (has_curweek()) {
  60838. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->curweek(), target);
  60839. }
  60840. // optional int32 weekStartTime = 9;
  60841. if (has_weekstarttime()) {
  60842. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->weekstarttime(), target);
  60843. }
  60844. // optional int32 weekEndTime = 10;
  60845. if (has_weekendtime()) {
  60846. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->weekendtime(), target);
  60847. }
  60848. // optional int32 weekExp = 11;
  60849. if (has_weekexp()) {
  60850. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->weekexp(), target);
  60851. }
  60852. // repeated .client2world_protocols.touchingFishRecInfo levelRevIds = 12;
  60853. for (int i = 0; i < this->levelrevids_size(); i++) {
  60854. target = ::google::protobuf::internal::WireFormatLite::
  60855. WriteMessageNoVirtualToArray(
  60856. 12, this->levelrevids(i), target);
  60857. }
  60858. // optional int32 weekBoxRev = 13;
  60859. if (has_weekboxrev()) {
  60860. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->weekboxrev(), target);
  60861. }
  60862. if (!unknown_fields().empty()) {
  60863. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  60864. unknown_fields(), target);
  60865. }
  60866. return target;
  60867. }
  60868. int packetw2c_syn_touching_fish_activity_info::ByteSize() const {
  60869. int total_size = 0;
  60870. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  60871. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_activity_info];
  60872. if (has_packet_id()) {
  60873. total_size += 1 +
  60874. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  60875. }
  60876. // optional int32 activityState = 2;
  60877. if (has_activitystate()) {
  60878. total_size += 1 +
  60879. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60880. this->activitystate());
  60881. }
  60882. // optional int32 startTime = 3;
  60883. if (has_starttime()) {
  60884. total_size += 1 +
  60885. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60886. this->starttime());
  60887. }
  60888. // optional int32 endTime = 4;
  60889. if (has_endtime()) {
  60890. total_size += 1 +
  60891. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60892. this->endtime());
  60893. }
  60894. // optional int32 season = 5;
  60895. if (has_season()) {
  60896. total_size += 1 +
  60897. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60898. this->season());
  60899. }
  60900. // optional int32 exp = 6;
  60901. if (has_exp()) {
  60902. total_size += 1 +
  60903. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60904. this->exp());
  60905. }
  60906. // optional int32 level = 7;
  60907. if (has_level()) {
  60908. total_size += 1 +
  60909. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60910. this->level());
  60911. }
  60912. // optional int32 curweek = 8;
  60913. if (has_curweek()) {
  60914. total_size += 1 +
  60915. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60916. this->curweek());
  60917. }
  60918. }
  60919. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  60920. // optional int32 weekStartTime = 9;
  60921. if (has_weekstarttime()) {
  60922. total_size += 1 +
  60923. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60924. this->weekstarttime());
  60925. }
  60926. // optional int32 weekEndTime = 10;
  60927. if (has_weekendtime()) {
  60928. total_size += 1 +
  60929. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60930. this->weekendtime());
  60931. }
  60932. // optional int32 weekExp = 11;
  60933. if (has_weekexp()) {
  60934. total_size += 1 +
  60935. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60936. this->weekexp());
  60937. }
  60938. // optional int32 weekBoxRev = 13;
  60939. if (has_weekboxrev()) {
  60940. total_size += 1 +
  60941. ::google::protobuf::internal::WireFormatLite::Int32Size(
  60942. this->weekboxrev());
  60943. }
  60944. }
  60945. // repeated .client2world_protocols.touchingFishRecInfo levelRevIds = 12;
  60946. total_size += 1 * this->levelrevids_size();
  60947. for (int i = 0; i < this->levelrevids_size(); i++) {
  60948. total_size +=
  60949. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  60950. this->levelrevids(i));
  60951. }
  60952. if (!unknown_fields().empty()) {
  60953. total_size +=
  60954. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  60955. unknown_fields());
  60956. }
  60957. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  60958. _cached_size_ = total_size;
  60959. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  60960. return total_size;
  60961. }
  60962. void packetw2c_syn_touching_fish_activity_info::MergeFrom(const ::google::protobuf::Message& from) {
  60963. GOOGLE_CHECK_NE(&from, this);
  60964. const packetw2c_syn_touching_fish_activity_info* source =
  60965. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_touching_fish_activity_info*>(
  60966. &from);
  60967. if (source == NULL) {
  60968. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  60969. } else {
  60970. MergeFrom(*source);
  60971. }
  60972. }
  60973. void packetw2c_syn_touching_fish_activity_info::MergeFrom(const packetw2c_syn_touching_fish_activity_info& from) {
  60974. GOOGLE_CHECK_NE(&from, this);
  60975. levelrevids_.MergeFrom(from.levelrevids_);
  60976. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  60977. if (from.has_packet_id()) {
  60978. set_packet_id(from.packet_id());
  60979. }
  60980. if (from.has_activitystate()) {
  60981. set_activitystate(from.activitystate());
  60982. }
  60983. if (from.has_starttime()) {
  60984. set_starttime(from.starttime());
  60985. }
  60986. if (from.has_endtime()) {
  60987. set_endtime(from.endtime());
  60988. }
  60989. if (from.has_season()) {
  60990. set_season(from.season());
  60991. }
  60992. if (from.has_exp()) {
  60993. set_exp(from.exp());
  60994. }
  60995. if (from.has_level()) {
  60996. set_level(from.level());
  60997. }
  60998. if (from.has_curweek()) {
  60999. set_curweek(from.curweek());
  61000. }
  61001. }
  61002. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  61003. if (from.has_weekstarttime()) {
  61004. set_weekstarttime(from.weekstarttime());
  61005. }
  61006. if (from.has_weekendtime()) {
  61007. set_weekendtime(from.weekendtime());
  61008. }
  61009. if (from.has_weekexp()) {
  61010. set_weekexp(from.weekexp());
  61011. }
  61012. if (from.has_weekboxrev()) {
  61013. set_weekboxrev(from.weekboxrev());
  61014. }
  61015. }
  61016. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  61017. }
  61018. void packetw2c_syn_touching_fish_activity_info::CopyFrom(const ::google::protobuf::Message& from) {
  61019. if (&from == this) return;
  61020. Clear();
  61021. MergeFrom(from);
  61022. }
  61023. void packetw2c_syn_touching_fish_activity_info::CopyFrom(const packetw2c_syn_touching_fish_activity_info& from) {
  61024. if (&from == this) return;
  61025. Clear();
  61026. MergeFrom(from);
  61027. }
  61028. bool packetw2c_syn_touching_fish_activity_info::IsInitialized() const {
  61029. return true;
  61030. }
  61031. void packetw2c_syn_touching_fish_activity_info::Swap(packetw2c_syn_touching_fish_activity_info* other) {
  61032. if (other != this) {
  61033. std::swap(packet_id_, other->packet_id_);
  61034. std::swap(activitystate_, other->activitystate_);
  61035. std::swap(starttime_, other->starttime_);
  61036. std::swap(endtime_, other->endtime_);
  61037. std::swap(season_, other->season_);
  61038. std::swap(exp_, other->exp_);
  61039. std::swap(level_, other->level_);
  61040. std::swap(curweek_, other->curweek_);
  61041. std::swap(weekstarttime_, other->weekstarttime_);
  61042. std::swap(weekendtime_, other->weekendtime_);
  61043. std::swap(weekexp_, other->weekexp_);
  61044. levelrevids_.Swap(&other->levelrevids_);
  61045. std::swap(weekboxrev_, other->weekboxrev_);
  61046. std::swap(_has_bits_[0], other->_has_bits_[0]);
  61047. _unknown_fields_.Swap(&other->_unknown_fields_);
  61048. std::swap(_cached_size_, other->_cached_size_);
  61049. }
  61050. }
  61051. ::google::protobuf::Metadata packetw2c_syn_touching_fish_activity_info::GetMetadata() const {
  61052. protobuf_AssignDescriptorsOnce();
  61053. ::google::protobuf::Metadata metadata;
  61054. metadata.descriptor = packetw2c_syn_touching_fish_activity_info_descriptor_;
  61055. metadata.reflection = packetw2c_syn_touching_fish_activity_info_reflection_;
  61056. return metadata;
  61057. }
  61058. // ===================================================================
  61059. #ifndef _MSC_VER
  61060. const int packetw2c_syn_touching_fish_exp::kPacketIdFieldNumber;
  61061. const int packetw2c_syn_touching_fish_exp::kExpFieldNumber;
  61062. const int packetw2c_syn_touching_fish_exp::kLevelFieldNumber;
  61063. const int packetw2c_syn_touching_fish_exp::kWeekExpFieldNumber;
  61064. #endif // !_MSC_VER
  61065. packetw2c_syn_touching_fish_exp::packetw2c_syn_touching_fish_exp()
  61066. : ::google::protobuf::Message() {
  61067. SharedCtor();
  61068. }
  61069. void packetw2c_syn_touching_fish_exp::InitAsDefaultInstance() {
  61070. }
  61071. packetw2c_syn_touching_fish_exp::packetw2c_syn_touching_fish_exp(const packetw2c_syn_touching_fish_exp& from)
  61072. : ::google::protobuf::Message() {
  61073. SharedCtor();
  61074. MergeFrom(from);
  61075. }
  61076. void packetw2c_syn_touching_fish_exp::SharedCtor() {
  61077. _cached_size_ = 0;
  61078. packet_id_ = 7782;
  61079. exp_ = 0;
  61080. level_ = 0;
  61081. weekexp_ = 0;
  61082. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  61083. }
  61084. packetw2c_syn_touching_fish_exp::~packetw2c_syn_touching_fish_exp() {
  61085. SharedDtor();
  61086. }
  61087. void packetw2c_syn_touching_fish_exp::SharedDtor() {
  61088. if (this != default_instance_) {
  61089. }
  61090. }
  61091. void packetw2c_syn_touching_fish_exp::SetCachedSize(int size) const {
  61092. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  61093. _cached_size_ = size;
  61094. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  61095. }
  61096. const ::google::protobuf::Descriptor* packetw2c_syn_touching_fish_exp::descriptor() {
  61097. protobuf_AssignDescriptorsOnce();
  61098. return packetw2c_syn_touching_fish_exp_descriptor_;
  61099. }
  61100. const packetw2c_syn_touching_fish_exp& packetw2c_syn_touching_fish_exp::default_instance() {
  61101. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  61102. return *default_instance_;
  61103. }
  61104. packetw2c_syn_touching_fish_exp* packetw2c_syn_touching_fish_exp::default_instance_ = NULL;
  61105. packetw2c_syn_touching_fish_exp* packetw2c_syn_touching_fish_exp::New() const {
  61106. return new packetw2c_syn_touching_fish_exp;
  61107. }
  61108. void packetw2c_syn_touching_fish_exp::Clear() {
  61109. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61110. packet_id_ = 7782;
  61111. exp_ = 0;
  61112. level_ = 0;
  61113. weekexp_ = 0;
  61114. }
  61115. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  61116. mutable_unknown_fields()->Clear();
  61117. }
  61118. bool packetw2c_syn_touching_fish_exp::MergePartialFromCodedStream(
  61119. ::google::protobuf::io::CodedInputStream* input) {
  61120. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  61121. ::google::protobuf::uint32 tag;
  61122. while ((tag = input->ReadTag()) != 0) {
  61123. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  61124. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_exp];
  61125. case 1: {
  61126. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61127. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61128. int value;
  61129. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61130. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  61131. input, &value)));
  61132. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  61133. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  61134. } else {
  61135. mutable_unknown_fields()->AddVarint(1, value);
  61136. }
  61137. } else {
  61138. goto handle_uninterpreted;
  61139. }
  61140. if (input->ExpectTag(16)) goto parse_exp;
  61141. break;
  61142. }
  61143. // optional int32 exp = 2;
  61144. case 2: {
  61145. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61146. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61147. parse_exp:
  61148. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61149. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  61150. input, &exp_)));
  61151. set_has_exp();
  61152. } else {
  61153. goto handle_uninterpreted;
  61154. }
  61155. if (input->ExpectTag(24)) goto parse_level;
  61156. break;
  61157. }
  61158. // optional int32 level = 3;
  61159. case 3: {
  61160. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61161. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61162. parse_level:
  61163. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61164. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  61165. input, &level_)));
  61166. set_has_level();
  61167. } else {
  61168. goto handle_uninterpreted;
  61169. }
  61170. if (input->ExpectTag(32)) goto parse_weekExp;
  61171. break;
  61172. }
  61173. // optional int32 weekExp = 4;
  61174. case 4: {
  61175. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61176. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61177. parse_weekExp:
  61178. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61179. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  61180. input, &weekexp_)));
  61181. set_has_weekexp();
  61182. } else {
  61183. goto handle_uninterpreted;
  61184. }
  61185. if (input->ExpectAtEnd()) return true;
  61186. break;
  61187. }
  61188. default: {
  61189. handle_uninterpreted:
  61190. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61191. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  61192. return true;
  61193. }
  61194. DO_(::google::protobuf::internal::WireFormat::SkipField(
  61195. input, tag, mutable_unknown_fields()));
  61196. break;
  61197. }
  61198. }
  61199. }
  61200. return true;
  61201. #undef DO_
  61202. }
  61203. void packetw2c_syn_touching_fish_exp::SerializeWithCachedSizes(
  61204. ::google::protobuf::io::CodedOutputStream* output) const {
  61205. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_exp];
  61206. if (has_packet_id()) {
  61207. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  61208. 1, this->packet_id(), output);
  61209. }
  61210. // optional int32 exp = 2;
  61211. if (has_exp()) {
  61212. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->exp(), output);
  61213. }
  61214. // optional int32 level = 3;
  61215. if (has_level()) {
  61216. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->level(), output);
  61217. }
  61218. // optional int32 weekExp = 4;
  61219. if (has_weekexp()) {
  61220. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->weekexp(), output);
  61221. }
  61222. if (!unknown_fields().empty()) {
  61223. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  61224. unknown_fields(), output);
  61225. }
  61226. }
  61227. ::google::protobuf::uint8* packetw2c_syn_touching_fish_exp::SerializeWithCachedSizesToArray(
  61228. ::google::protobuf::uint8* target) const {
  61229. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_exp];
  61230. if (has_packet_id()) {
  61231. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  61232. 1, this->packet_id(), target);
  61233. }
  61234. // optional int32 exp = 2;
  61235. if (has_exp()) {
  61236. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->exp(), target);
  61237. }
  61238. // optional int32 level = 3;
  61239. if (has_level()) {
  61240. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->level(), target);
  61241. }
  61242. // optional int32 weekExp = 4;
  61243. if (has_weekexp()) {
  61244. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->weekexp(), target);
  61245. }
  61246. if (!unknown_fields().empty()) {
  61247. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  61248. unknown_fields(), target);
  61249. }
  61250. return target;
  61251. }
  61252. int packetw2c_syn_touching_fish_exp::ByteSize() const {
  61253. int total_size = 0;
  61254. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61255. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_exp];
  61256. if (has_packet_id()) {
  61257. total_size += 1 +
  61258. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  61259. }
  61260. // optional int32 exp = 2;
  61261. if (has_exp()) {
  61262. total_size += 1 +
  61263. ::google::protobuf::internal::WireFormatLite::Int32Size(
  61264. this->exp());
  61265. }
  61266. // optional int32 level = 3;
  61267. if (has_level()) {
  61268. total_size += 1 +
  61269. ::google::protobuf::internal::WireFormatLite::Int32Size(
  61270. this->level());
  61271. }
  61272. // optional int32 weekExp = 4;
  61273. if (has_weekexp()) {
  61274. total_size += 1 +
  61275. ::google::protobuf::internal::WireFormatLite::Int32Size(
  61276. this->weekexp());
  61277. }
  61278. }
  61279. if (!unknown_fields().empty()) {
  61280. total_size +=
  61281. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  61282. unknown_fields());
  61283. }
  61284. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  61285. _cached_size_ = total_size;
  61286. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  61287. return total_size;
  61288. }
  61289. void packetw2c_syn_touching_fish_exp::MergeFrom(const ::google::protobuf::Message& from) {
  61290. GOOGLE_CHECK_NE(&from, this);
  61291. const packetw2c_syn_touching_fish_exp* source =
  61292. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_touching_fish_exp*>(
  61293. &from);
  61294. if (source == NULL) {
  61295. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  61296. } else {
  61297. MergeFrom(*source);
  61298. }
  61299. }
  61300. void packetw2c_syn_touching_fish_exp::MergeFrom(const packetw2c_syn_touching_fish_exp& from) {
  61301. GOOGLE_CHECK_NE(&from, this);
  61302. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61303. if (from.has_packet_id()) {
  61304. set_packet_id(from.packet_id());
  61305. }
  61306. if (from.has_exp()) {
  61307. set_exp(from.exp());
  61308. }
  61309. if (from.has_level()) {
  61310. set_level(from.level());
  61311. }
  61312. if (from.has_weekexp()) {
  61313. set_weekexp(from.weekexp());
  61314. }
  61315. }
  61316. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  61317. }
  61318. void packetw2c_syn_touching_fish_exp::CopyFrom(const ::google::protobuf::Message& from) {
  61319. if (&from == this) return;
  61320. Clear();
  61321. MergeFrom(from);
  61322. }
  61323. void packetw2c_syn_touching_fish_exp::CopyFrom(const packetw2c_syn_touching_fish_exp& from) {
  61324. if (&from == this) return;
  61325. Clear();
  61326. MergeFrom(from);
  61327. }
  61328. bool packetw2c_syn_touching_fish_exp::IsInitialized() const {
  61329. return true;
  61330. }
  61331. void packetw2c_syn_touching_fish_exp::Swap(packetw2c_syn_touching_fish_exp* other) {
  61332. if (other != this) {
  61333. std::swap(packet_id_, other->packet_id_);
  61334. std::swap(exp_, other->exp_);
  61335. std::swap(level_, other->level_);
  61336. std::swap(weekexp_, other->weekexp_);
  61337. std::swap(_has_bits_[0], other->_has_bits_[0]);
  61338. _unknown_fields_.Swap(&other->_unknown_fields_);
  61339. std::swap(_cached_size_, other->_cached_size_);
  61340. }
  61341. }
  61342. ::google::protobuf::Metadata packetw2c_syn_touching_fish_exp::GetMetadata() const {
  61343. protobuf_AssignDescriptorsOnce();
  61344. ::google::protobuf::Metadata metadata;
  61345. metadata.descriptor = packetw2c_syn_touching_fish_exp_descriptor_;
  61346. metadata.reflection = packetw2c_syn_touching_fish_exp_reflection_;
  61347. return metadata;
  61348. }
  61349. // ===================================================================
  61350. #ifndef _MSC_VER
  61351. const int packetc2w_recv_touching_fish_level_reward::kPacketIdFieldNumber;
  61352. const int packetc2w_recv_touching_fish_level_reward::kRecIdFieldNumber;
  61353. #endif // !_MSC_VER
  61354. packetc2w_recv_touching_fish_level_reward::packetc2w_recv_touching_fish_level_reward()
  61355. : ::google::protobuf::Message() {
  61356. SharedCtor();
  61357. }
  61358. void packetc2w_recv_touching_fish_level_reward::InitAsDefaultInstance() {
  61359. }
  61360. packetc2w_recv_touching_fish_level_reward::packetc2w_recv_touching_fish_level_reward(const packetc2w_recv_touching_fish_level_reward& from)
  61361. : ::google::protobuf::Message() {
  61362. SharedCtor();
  61363. MergeFrom(from);
  61364. }
  61365. void packetc2w_recv_touching_fish_level_reward::SharedCtor() {
  61366. _cached_size_ = 0;
  61367. packet_id_ = 5237;
  61368. recid_ = 0;
  61369. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  61370. }
  61371. packetc2w_recv_touching_fish_level_reward::~packetc2w_recv_touching_fish_level_reward() {
  61372. SharedDtor();
  61373. }
  61374. void packetc2w_recv_touching_fish_level_reward::SharedDtor() {
  61375. if (this != default_instance_) {
  61376. }
  61377. }
  61378. void packetc2w_recv_touching_fish_level_reward::SetCachedSize(int size) const {
  61379. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  61380. _cached_size_ = size;
  61381. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  61382. }
  61383. const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_level_reward::descriptor() {
  61384. protobuf_AssignDescriptorsOnce();
  61385. return packetc2w_recv_touching_fish_level_reward_descriptor_;
  61386. }
  61387. const packetc2w_recv_touching_fish_level_reward& packetc2w_recv_touching_fish_level_reward::default_instance() {
  61388. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  61389. return *default_instance_;
  61390. }
  61391. packetc2w_recv_touching_fish_level_reward* packetc2w_recv_touching_fish_level_reward::default_instance_ = NULL;
  61392. packetc2w_recv_touching_fish_level_reward* packetc2w_recv_touching_fish_level_reward::New() const {
  61393. return new packetc2w_recv_touching_fish_level_reward;
  61394. }
  61395. void packetc2w_recv_touching_fish_level_reward::Clear() {
  61396. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61397. packet_id_ = 5237;
  61398. recid_ = 0;
  61399. }
  61400. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  61401. mutable_unknown_fields()->Clear();
  61402. }
  61403. bool packetc2w_recv_touching_fish_level_reward::MergePartialFromCodedStream(
  61404. ::google::protobuf::io::CodedInputStream* input) {
  61405. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  61406. ::google::protobuf::uint32 tag;
  61407. while ((tag = input->ReadTag()) != 0) {
  61408. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  61409. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_level_reward];
  61410. case 1: {
  61411. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61412. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61413. int value;
  61414. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61415. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  61416. input, &value)));
  61417. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  61418. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  61419. } else {
  61420. mutable_unknown_fields()->AddVarint(1, value);
  61421. }
  61422. } else {
  61423. goto handle_uninterpreted;
  61424. }
  61425. if (input->ExpectTag(112)) goto parse_recId;
  61426. break;
  61427. }
  61428. // optional int32 recId = 14;
  61429. case 14: {
  61430. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61431. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61432. parse_recId:
  61433. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61434. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  61435. input, &recid_)));
  61436. set_has_recid();
  61437. } else {
  61438. goto handle_uninterpreted;
  61439. }
  61440. if (input->ExpectAtEnd()) return true;
  61441. break;
  61442. }
  61443. default: {
  61444. handle_uninterpreted:
  61445. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61446. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  61447. return true;
  61448. }
  61449. DO_(::google::protobuf::internal::WireFormat::SkipField(
  61450. input, tag, mutable_unknown_fields()));
  61451. break;
  61452. }
  61453. }
  61454. }
  61455. return true;
  61456. #undef DO_
  61457. }
  61458. void packetc2w_recv_touching_fish_level_reward::SerializeWithCachedSizes(
  61459. ::google::protobuf::io::CodedOutputStream* output) const {
  61460. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_level_reward];
  61461. if (has_packet_id()) {
  61462. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  61463. 1, this->packet_id(), output);
  61464. }
  61465. // optional int32 recId = 14;
  61466. if (has_recid()) {
  61467. ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->recid(), output);
  61468. }
  61469. if (!unknown_fields().empty()) {
  61470. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  61471. unknown_fields(), output);
  61472. }
  61473. }
  61474. ::google::protobuf::uint8* packetc2w_recv_touching_fish_level_reward::SerializeWithCachedSizesToArray(
  61475. ::google::protobuf::uint8* target) const {
  61476. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_level_reward];
  61477. if (has_packet_id()) {
  61478. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  61479. 1, this->packet_id(), target);
  61480. }
  61481. // optional int32 recId = 14;
  61482. if (has_recid()) {
  61483. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->recid(), target);
  61484. }
  61485. if (!unknown_fields().empty()) {
  61486. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  61487. unknown_fields(), target);
  61488. }
  61489. return target;
  61490. }
  61491. int packetc2w_recv_touching_fish_level_reward::ByteSize() const {
  61492. int total_size = 0;
  61493. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61494. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_level_reward];
  61495. if (has_packet_id()) {
  61496. total_size += 1 +
  61497. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  61498. }
  61499. // optional int32 recId = 14;
  61500. if (has_recid()) {
  61501. total_size += 1 +
  61502. ::google::protobuf::internal::WireFormatLite::Int32Size(
  61503. this->recid());
  61504. }
  61505. }
  61506. if (!unknown_fields().empty()) {
  61507. total_size +=
  61508. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  61509. unknown_fields());
  61510. }
  61511. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  61512. _cached_size_ = total_size;
  61513. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  61514. return total_size;
  61515. }
  61516. void packetc2w_recv_touching_fish_level_reward::MergeFrom(const ::google::protobuf::Message& from) {
  61517. GOOGLE_CHECK_NE(&from, this);
  61518. const packetc2w_recv_touching_fish_level_reward* source =
  61519. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_touching_fish_level_reward*>(
  61520. &from);
  61521. if (source == NULL) {
  61522. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  61523. } else {
  61524. MergeFrom(*source);
  61525. }
  61526. }
  61527. void packetc2w_recv_touching_fish_level_reward::MergeFrom(const packetc2w_recv_touching_fish_level_reward& from) {
  61528. GOOGLE_CHECK_NE(&from, this);
  61529. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61530. if (from.has_packet_id()) {
  61531. set_packet_id(from.packet_id());
  61532. }
  61533. if (from.has_recid()) {
  61534. set_recid(from.recid());
  61535. }
  61536. }
  61537. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  61538. }
  61539. void packetc2w_recv_touching_fish_level_reward::CopyFrom(const ::google::protobuf::Message& from) {
  61540. if (&from == this) return;
  61541. Clear();
  61542. MergeFrom(from);
  61543. }
  61544. void packetc2w_recv_touching_fish_level_reward::CopyFrom(const packetc2w_recv_touching_fish_level_reward& from) {
  61545. if (&from == this) return;
  61546. Clear();
  61547. MergeFrom(from);
  61548. }
  61549. bool packetc2w_recv_touching_fish_level_reward::IsInitialized() const {
  61550. return true;
  61551. }
  61552. void packetc2w_recv_touching_fish_level_reward::Swap(packetc2w_recv_touching_fish_level_reward* other) {
  61553. if (other != this) {
  61554. std::swap(packet_id_, other->packet_id_);
  61555. std::swap(recid_, other->recid_);
  61556. std::swap(_has_bits_[0], other->_has_bits_[0]);
  61557. _unknown_fields_.Swap(&other->_unknown_fields_);
  61558. std::swap(_cached_size_, other->_cached_size_);
  61559. }
  61560. }
  61561. ::google::protobuf::Metadata packetc2w_recv_touching_fish_level_reward::GetMetadata() const {
  61562. protobuf_AssignDescriptorsOnce();
  61563. ::google::protobuf::Metadata metadata;
  61564. metadata.descriptor = packetc2w_recv_touching_fish_level_reward_descriptor_;
  61565. metadata.reflection = packetc2w_recv_touching_fish_level_reward_reflection_;
  61566. return metadata;
  61567. }
  61568. // ===================================================================
  61569. #ifndef _MSC_VER
  61570. const int packetw2c_recv_touching_fish_level_reward_result::kPacketIdFieldNumber;
  61571. const int packetw2c_recv_touching_fish_level_reward_result::kResultFieldNumber;
  61572. const int packetw2c_recv_touching_fish_level_reward_result::kRecIdFieldNumber;
  61573. const int packetw2c_recv_touching_fish_level_reward_result::kRecValueFieldNumber;
  61574. #endif // !_MSC_VER
  61575. packetw2c_recv_touching_fish_level_reward_result::packetw2c_recv_touching_fish_level_reward_result()
  61576. : ::google::protobuf::Message() {
  61577. SharedCtor();
  61578. }
  61579. void packetw2c_recv_touching_fish_level_reward_result::InitAsDefaultInstance() {
  61580. }
  61581. packetw2c_recv_touching_fish_level_reward_result::packetw2c_recv_touching_fish_level_reward_result(const packetw2c_recv_touching_fish_level_reward_result& from)
  61582. : ::google::protobuf::Message() {
  61583. SharedCtor();
  61584. MergeFrom(from);
  61585. }
  61586. void packetw2c_recv_touching_fish_level_reward_result::SharedCtor() {
  61587. _cached_size_ = 0;
  61588. packet_id_ = 7781;
  61589. result_ = 0;
  61590. recid_ = 0;
  61591. recvalue_ = 0;
  61592. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  61593. }
  61594. packetw2c_recv_touching_fish_level_reward_result::~packetw2c_recv_touching_fish_level_reward_result() {
  61595. SharedDtor();
  61596. }
  61597. void packetw2c_recv_touching_fish_level_reward_result::SharedDtor() {
  61598. if (this != default_instance_) {
  61599. }
  61600. }
  61601. void packetw2c_recv_touching_fish_level_reward_result::SetCachedSize(int size) const {
  61602. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  61603. _cached_size_ = size;
  61604. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  61605. }
  61606. const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_level_reward_result::descriptor() {
  61607. protobuf_AssignDescriptorsOnce();
  61608. return packetw2c_recv_touching_fish_level_reward_result_descriptor_;
  61609. }
  61610. const packetw2c_recv_touching_fish_level_reward_result& packetw2c_recv_touching_fish_level_reward_result::default_instance() {
  61611. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  61612. return *default_instance_;
  61613. }
  61614. packetw2c_recv_touching_fish_level_reward_result* packetw2c_recv_touching_fish_level_reward_result::default_instance_ = NULL;
  61615. packetw2c_recv_touching_fish_level_reward_result* packetw2c_recv_touching_fish_level_reward_result::New() const {
  61616. return new packetw2c_recv_touching_fish_level_reward_result;
  61617. }
  61618. void packetw2c_recv_touching_fish_level_reward_result::Clear() {
  61619. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61620. packet_id_ = 7781;
  61621. result_ = 0;
  61622. recid_ = 0;
  61623. recvalue_ = 0;
  61624. }
  61625. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  61626. mutable_unknown_fields()->Clear();
  61627. }
  61628. bool packetw2c_recv_touching_fish_level_reward_result::MergePartialFromCodedStream(
  61629. ::google::protobuf::io::CodedInputStream* input) {
  61630. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  61631. ::google::protobuf::uint32 tag;
  61632. while ((tag = input->ReadTag()) != 0) {
  61633. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  61634. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_level_reward_result];
  61635. case 1: {
  61636. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61637. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61638. int value;
  61639. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61640. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  61641. input, &value)));
  61642. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  61643. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  61644. } else {
  61645. mutable_unknown_fields()->AddVarint(1, value);
  61646. }
  61647. } else {
  61648. goto handle_uninterpreted;
  61649. }
  61650. if (input->ExpectTag(16)) goto parse_result;
  61651. break;
  61652. }
  61653. // optional int32 result = 2;
  61654. case 2: {
  61655. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61656. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61657. parse_result:
  61658. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61659. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  61660. input, &result_)));
  61661. set_has_result();
  61662. } else {
  61663. goto handle_uninterpreted;
  61664. }
  61665. if (input->ExpectTag(24)) goto parse_recId;
  61666. break;
  61667. }
  61668. // optional int32 recId = 3;
  61669. case 3: {
  61670. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61671. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61672. parse_recId:
  61673. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61674. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  61675. input, &recid_)));
  61676. set_has_recid();
  61677. } else {
  61678. goto handle_uninterpreted;
  61679. }
  61680. if (input->ExpectTag(32)) goto parse_recValue;
  61681. break;
  61682. }
  61683. // optional int32 recValue = 4;
  61684. case 4: {
  61685. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61686. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61687. parse_recValue:
  61688. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61689. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  61690. input, &recvalue_)));
  61691. set_has_recvalue();
  61692. } else {
  61693. goto handle_uninterpreted;
  61694. }
  61695. if (input->ExpectAtEnd()) return true;
  61696. break;
  61697. }
  61698. default: {
  61699. handle_uninterpreted:
  61700. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61701. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  61702. return true;
  61703. }
  61704. DO_(::google::protobuf::internal::WireFormat::SkipField(
  61705. input, tag, mutable_unknown_fields()));
  61706. break;
  61707. }
  61708. }
  61709. }
  61710. return true;
  61711. #undef DO_
  61712. }
  61713. void packetw2c_recv_touching_fish_level_reward_result::SerializeWithCachedSizes(
  61714. ::google::protobuf::io::CodedOutputStream* output) const {
  61715. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_level_reward_result];
  61716. if (has_packet_id()) {
  61717. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  61718. 1, this->packet_id(), output);
  61719. }
  61720. // optional int32 result = 2;
  61721. if (has_result()) {
  61722. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  61723. }
  61724. // optional int32 recId = 3;
  61725. if (has_recid()) {
  61726. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->recid(), output);
  61727. }
  61728. // optional int32 recValue = 4;
  61729. if (has_recvalue()) {
  61730. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->recvalue(), output);
  61731. }
  61732. if (!unknown_fields().empty()) {
  61733. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  61734. unknown_fields(), output);
  61735. }
  61736. }
  61737. ::google::protobuf::uint8* packetw2c_recv_touching_fish_level_reward_result::SerializeWithCachedSizesToArray(
  61738. ::google::protobuf::uint8* target) const {
  61739. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_level_reward_result];
  61740. if (has_packet_id()) {
  61741. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  61742. 1, this->packet_id(), target);
  61743. }
  61744. // optional int32 result = 2;
  61745. if (has_result()) {
  61746. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  61747. }
  61748. // optional int32 recId = 3;
  61749. if (has_recid()) {
  61750. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->recid(), target);
  61751. }
  61752. // optional int32 recValue = 4;
  61753. if (has_recvalue()) {
  61754. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->recvalue(), target);
  61755. }
  61756. if (!unknown_fields().empty()) {
  61757. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  61758. unknown_fields(), target);
  61759. }
  61760. return target;
  61761. }
  61762. int packetw2c_recv_touching_fish_level_reward_result::ByteSize() const {
  61763. int total_size = 0;
  61764. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61765. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_level_reward_result];
  61766. if (has_packet_id()) {
  61767. total_size += 1 +
  61768. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  61769. }
  61770. // optional int32 result = 2;
  61771. if (has_result()) {
  61772. total_size += 1 +
  61773. ::google::protobuf::internal::WireFormatLite::Int32Size(
  61774. this->result());
  61775. }
  61776. // optional int32 recId = 3;
  61777. if (has_recid()) {
  61778. total_size += 1 +
  61779. ::google::protobuf::internal::WireFormatLite::Int32Size(
  61780. this->recid());
  61781. }
  61782. // optional int32 recValue = 4;
  61783. if (has_recvalue()) {
  61784. total_size += 1 +
  61785. ::google::protobuf::internal::WireFormatLite::Int32Size(
  61786. this->recvalue());
  61787. }
  61788. }
  61789. if (!unknown_fields().empty()) {
  61790. total_size +=
  61791. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  61792. unknown_fields());
  61793. }
  61794. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  61795. _cached_size_ = total_size;
  61796. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  61797. return total_size;
  61798. }
  61799. void packetw2c_recv_touching_fish_level_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  61800. GOOGLE_CHECK_NE(&from, this);
  61801. const packetw2c_recv_touching_fish_level_reward_result* source =
  61802. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_touching_fish_level_reward_result*>(
  61803. &from);
  61804. if (source == NULL) {
  61805. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  61806. } else {
  61807. MergeFrom(*source);
  61808. }
  61809. }
  61810. void packetw2c_recv_touching_fish_level_reward_result::MergeFrom(const packetw2c_recv_touching_fish_level_reward_result& from) {
  61811. GOOGLE_CHECK_NE(&from, this);
  61812. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61813. if (from.has_packet_id()) {
  61814. set_packet_id(from.packet_id());
  61815. }
  61816. if (from.has_result()) {
  61817. set_result(from.result());
  61818. }
  61819. if (from.has_recid()) {
  61820. set_recid(from.recid());
  61821. }
  61822. if (from.has_recvalue()) {
  61823. set_recvalue(from.recvalue());
  61824. }
  61825. }
  61826. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  61827. }
  61828. void packetw2c_recv_touching_fish_level_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  61829. if (&from == this) return;
  61830. Clear();
  61831. MergeFrom(from);
  61832. }
  61833. void packetw2c_recv_touching_fish_level_reward_result::CopyFrom(const packetw2c_recv_touching_fish_level_reward_result& from) {
  61834. if (&from == this) return;
  61835. Clear();
  61836. MergeFrom(from);
  61837. }
  61838. bool packetw2c_recv_touching_fish_level_reward_result::IsInitialized() const {
  61839. return true;
  61840. }
  61841. void packetw2c_recv_touching_fish_level_reward_result::Swap(packetw2c_recv_touching_fish_level_reward_result* other) {
  61842. if (other != this) {
  61843. std::swap(packet_id_, other->packet_id_);
  61844. std::swap(result_, other->result_);
  61845. std::swap(recid_, other->recid_);
  61846. std::swap(recvalue_, other->recvalue_);
  61847. std::swap(_has_bits_[0], other->_has_bits_[0]);
  61848. _unknown_fields_.Swap(&other->_unknown_fields_);
  61849. std::swap(_cached_size_, other->_cached_size_);
  61850. }
  61851. }
  61852. ::google::protobuf::Metadata packetw2c_recv_touching_fish_level_reward_result::GetMetadata() const {
  61853. protobuf_AssignDescriptorsOnce();
  61854. ::google::protobuf::Metadata metadata;
  61855. metadata.descriptor = packetw2c_recv_touching_fish_level_reward_result_descriptor_;
  61856. metadata.reflection = packetw2c_recv_touching_fish_level_reward_result_reflection_;
  61857. return metadata;
  61858. }
  61859. // ===================================================================
  61860. #ifndef _MSC_VER
  61861. const int packetc2w_recv_touching_fish_task::kPacketIdFieldNumber;
  61862. #endif // !_MSC_VER
  61863. packetc2w_recv_touching_fish_task::packetc2w_recv_touching_fish_task()
  61864. : ::google::protobuf::Message() {
  61865. SharedCtor();
  61866. }
  61867. void packetc2w_recv_touching_fish_task::InitAsDefaultInstance() {
  61868. }
  61869. packetc2w_recv_touching_fish_task::packetc2w_recv_touching_fish_task(const packetc2w_recv_touching_fish_task& from)
  61870. : ::google::protobuf::Message() {
  61871. SharedCtor();
  61872. MergeFrom(from);
  61873. }
  61874. void packetc2w_recv_touching_fish_task::SharedCtor() {
  61875. _cached_size_ = 0;
  61876. packet_id_ = 5247;
  61877. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  61878. }
  61879. packetc2w_recv_touching_fish_task::~packetc2w_recv_touching_fish_task() {
  61880. SharedDtor();
  61881. }
  61882. void packetc2w_recv_touching_fish_task::SharedDtor() {
  61883. if (this != default_instance_) {
  61884. }
  61885. }
  61886. void packetc2w_recv_touching_fish_task::SetCachedSize(int size) const {
  61887. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  61888. _cached_size_ = size;
  61889. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  61890. }
  61891. const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_task::descriptor() {
  61892. protobuf_AssignDescriptorsOnce();
  61893. return packetc2w_recv_touching_fish_task_descriptor_;
  61894. }
  61895. const packetc2w_recv_touching_fish_task& packetc2w_recv_touching_fish_task::default_instance() {
  61896. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  61897. return *default_instance_;
  61898. }
  61899. packetc2w_recv_touching_fish_task* packetc2w_recv_touching_fish_task::default_instance_ = NULL;
  61900. packetc2w_recv_touching_fish_task* packetc2w_recv_touching_fish_task::New() const {
  61901. return new packetc2w_recv_touching_fish_task;
  61902. }
  61903. void packetc2w_recv_touching_fish_task::Clear() {
  61904. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61905. packet_id_ = 5247;
  61906. }
  61907. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  61908. mutable_unknown_fields()->Clear();
  61909. }
  61910. bool packetc2w_recv_touching_fish_task::MergePartialFromCodedStream(
  61911. ::google::protobuf::io::CodedInputStream* input) {
  61912. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  61913. ::google::protobuf::uint32 tag;
  61914. while ((tag = input->ReadTag()) != 0) {
  61915. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  61916. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_task];
  61917. case 1: {
  61918. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61919. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  61920. int value;
  61921. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  61922. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  61923. input, &value)));
  61924. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  61925. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  61926. } else {
  61927. mutable_unknown_fields()->AddVarint(1, value);
  61928. }
  61929. } else {
  61930. goto handle_uninterpreted;
  61931. }
  61932. if (input->ExpectAtEnd()) return true;
  61933. break;
  61934. }
  61935. default: {
  61936. handle_uninterpreted:
  61937. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  61938. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  61939. return true;
  61940. }
  61941. DO_(::google::protobuf::internal::WireFormat::SkipField(
  61942. input, tag, mutable_unknown_fields()));
  61943. break;
  61944. }
  61945. }
  61946. }
  61947. return true;
  61948. #undef DO_
  61949. }
  61950. void packetc2w_recv_touching_fish_task::SerializeWithCachedSizes(
  61951. ::google::protobuf::io::CodedOutputStream* output) const {
  61952. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_task];
  61953. if (has_packet_id()) {
  61954. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  61955. 1, this->packet_id(), output);
  61956. }
  61957. if (!unknown_fields().empty()) {
  61958. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  61959. unknown_fields(), output);
  61960. }
  61961. }
  61962. ::google::protobuf::uint8* packetc2w_recv_touching_fish_task::SerializeWithCachedSizesToArray(
  61963. ::google::protobuf::uint8* target) const {
  61964. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_task];
  61965. if (has_packet_id()) {
  61966. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  61967. 1, this->packet_id(), target);
  61968. }
  61969. if (!unknown_fields().empty()) {
  61970. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  61971. unknown_fields(), target);
  61972. }
  61973. return target;
  61974. }
  61975. int packetc2w_recv_touching_fish_task::ByteSize() const {
  61976. int total_size = 0;
  61977. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  61978. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_task];
  61979. if (has_packet_id()) {
  61980. total_size += 1 +
  61981. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  61982. }
  61983. }
  61984. if (!unknown_fields().empty()) {
  61985. total_size +=
  61986. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  61987. unknown_fields());
  61988. }
  61989. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  61990. _cached_size_ = total_size;
  61991. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  61992. return total_size;
  61993. }
  61994. void packetc2w_recv_touching_fish_task::MergeFrom(const ::google::protobuf::Message& from) {
  61995. GOOGLE_CHECK_NE(&from, this);
  61996. const packetc2w_recv_touching_fish_task* source =
  61997. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_touching_fish_task*>(
  61998. &from);
  61999. if (source == NULL) {
  62000. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  62001. } else {
  62002. MergeFrom(*source);
  62003. }
  62004. }
  62005. void packetc2w_recv_touching_fish_task::MergeFrom(const packetc2w_recv_touching_fish_task& from) {
  62006. GOOGLE_CHECK_NE(&from, this);
  62007. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62008. if (from.has_packet_id()) {
  62009. set_packet_id(from.packet_id());
  62010. }
  62011. }
  62012. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  62013. }
  62014. void packetc2w_recv_touching_fish_task::CopyFrom(const ::google::protobuf::Message& from) {
  62015. if (&from == this) return;
  62016. Clear();
  62017. MergeFrom(from);
  62018. }
  62019. void packetc2w_recv_touching_fish_task::CopyFrom(const packetc2w_recv_touching_fish_task& from) {
  62020. if (&from == this) return;
  62021. Clear();
  62022. MergeFrom(from);
  62023. }
  62024. bool packetc2w_recv_touching_fish_task::IsInitialized() const {
  62025. return true;
  62026. }
  62027. void packetc2w_recv_touching_fish_task::Swap(packetc2w_recv_touching_fish_task* other) {
  62028. if (other != this) {
  62029. std::swap(packet_id_, other->packet_id_);
  62030. std::swap(_has_bits_[0], other->_has_bits_[0]);
  62031. _unknown_fields_.Swap(&other->_unknown_fields_);
  62032. std::swap(_cached_size_, other->_cached_size_);
  62033. }
  62034. }
  62035. ::google::protobuf::Metadata packetc2w_recv_touching_fish_task::GetMetadata() const {
  62036. protobuf_AssignDescriptorsOnce();
  62037. ::google::protobuf::Metadata metadata;
  62038. metadata.descriptor = packetc2w_recv_touching_fish_task_descriptor_;
  62039. metadata.reflection = packetc2w_recv_touching_fish_task_reflection_;
  62040. return metadata;
  62041. }
  62042. // ===================================================================
  62043. #ifndef _MSC_VER
  62044. const int packetw2c_recv_touching_fish_task_result::kPacketIdFieldNumber;
  62045. const int packetw2c_recv_touching_fish_task_result::kQuestListFieldNumber;
  62046. const int packetw2c_recv_touching_fish_task_result::kWeekQuestListFieldNumber;
  62047. #endif // !_MSC_VER
  62048. packetw2c_recv_touching_fish_task_result::packetw2c_recv_touching_fish_task_result()
  62049. : ::google::protobuf::Message() {
  62050. SharedCtor();
  62051. }
  62052. void packetw2c_recv_touching_fish_task_result::InitAsDefaultInstance() {
  62053. }
  62054. packetw2c_recv_touching_fish_task_result::packetw2c_recv_touching_fish_task_result(const packetw2c_recv_touching_fish_task_result& from)
  62055. : ::google::protobuf::Message() {
  62056. SharedCtor();
  62057. MergeFrom(from);
  62058. }
  62059. void packetw2c_recv_touching_fish_task_result::SharedCtor() {
  62060. _cached_size_ = 0;
  62061. packet_id_ = 7794;
  62062. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  62063. }
  62064. packetw2c_recv_touching_fish_task_result::~packetw2c_recv_touching_fish_task_result() {
  62065. SharedDtor();
  62066. }
  62067. void packetw2c_recv_touching_fish_task_result::SharedDtor() {
  62068. if (this != default_instance_) {
  62069. }
  62070. }
  62071. void packetw2c_recv_touching_fish_task_result::SetCachedSize(int size) const {
  62072. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  62073. _cached_size_ = size;
  62074. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  62075. }
  62076. const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_task_result::descriptor() {
  62077. protobuf_AssignDescriptorsOnce();
  62078. return packetw2c_recv_touching_fish_task_result_descriptor_;
  62079. }
  62080. const packetw2c_recv_touching_fish_task_result& packetw2c_recv_touching_fish_task_result::default_instance() {
  62081. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  62082. return *default_instance_;
  62083. }
  62084. packetw2c_recv_touching_fish_task_result* packetw2c_recv_touching_fish_task_result::default_instance_ = NULL;
  62085. packetw2c_recv_touching_fish_task_result* packetw2c_recv_touching_fish_task_result::New() const {
  62086. return new packetw2c_recv_touching_fish_task_result;
  62087. }
  62088. void packetw2c_recv_touching_fish_task_result::Clear() {
  62089. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62090. packet_id_ = 7794;
  62091. }
  62092. questlist_.Clear();
  62093. weekquestlist_.Clear();
  62094. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  62095. mutable_unknown_fields()->Clear();
  62096. }
  62097. bool packetw2c_recv_touching_fish_task_result::MergePartialFromCodedStream(
  62098. ::google::protobuf::io::CodedInputStream* input) {
  62099. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  62100. ::google::protobuf::uint32 tag;
  62101. while ((tag = input->ReadTag()) != 0) {
  62102. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  62103. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_task_result];
  62104. case 1: {
  62105. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62106. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  62107. int value;
  62108. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  62109. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  62110. input, &value)));
  62111. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  62112. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  62113. } else {
  62114. mutable_unknown_fields()->AddVarint(1, value);
  62115. }
  62116. } else {
  62117. goto handle_uninterpreted;
  62118. }
  62119. if (input->ExpectTag(18)) goto parse_questList;
  62120. break;
  62121. }
  62122. // repeated .msg_info_def.msg_quest_info questList = 2;
  62123. case 2: {
  62124. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62125. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  62126. parse_questList:
  62127. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  62128. input, add_questlist()));
  62129. } else {
  62130. goto handle_uninterpreted;
  62131. }
  62132. if (input->ExpectTag(18)) goto parse_questList;
  62133. if (input->ExpectTag(26)) goto parse_weekQuestList;
  62134. break;
  62135. }
  62136. // repeated .msg_info_def.msg_quest_info weekQuestList = 3;
  62137. case 3: {
  62138. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62139. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  62140. parse_weekQuestList:
  62141. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  62142. input, add_weekquestlist()));
  62143. } else {
  62144. goto handle_uninterpreted;
  62145. }
  62146. if (input->ExpectTag(26)) goto parse_weekQuestList;
  62147. if (input->ExpectAtEnd()) return true;
  62148. break;
  62149. }
  62150. default: {
  62151. handle_uninterpreted:
  62152. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62153. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  62154. return true;
  62155. }
  62156. DO_(::google::protobuf::internal::WireFormat::SkipField(
  62157. input, tag, mutable_unknown_fields()));
  62158. break;
  62159. }
  62160. }
  62161. }
  62162. return true;
  62163. #undef DO_
  62164. }
  62165. void packetw2c_recv_touching_fish_task_result::SerializeWithCachedSizes(
  62166. ::google::protobuf::io::CodedOutputStream* output) const {
  62167. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_task_result];
  62168. if (has_packet_id()) {
  62169. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  62170. 1, this->packet_id(), output);
  62171. }
  62172. // repeated .msg_info_def.msg_quest_info questList = 2;
  62173. for (int i = 0; i < this->questlist_size(); i++) {
  62174. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  62175. 2, this->questlist(i), output);
  62176. }
  62177. // repeated .msg_info_def.msg_quest_info weekQuestList = 3;
  62178. for (int i = 0; i < this->weekquestlist_size(); i++) {
  62179. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  62180. 3, this->weekquestlist(i), output);
  62181. }
  62182. if (!unknown_fields().empty()) {
  62183. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  62184. unknown_fields(), output);
  62185. }
  62186. }
  62187. ::google::protobuf::uint8* packetw2c_recv_touching_fish_task_result::SerializeWithCachedSizesToArray(
  62188. ::google::protobuf::uint8* target) const {
  62189. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_task_result];
  62190. if (has_packet_id()) {
  62191. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  62192. 1, this->packet_id(), target);
  62193. }
  62194. // repeated .msg_info_def.msg_quest_info questList = 2;
  62195. for (int i = 0; i < this->questlist_size(); i++) {
  62196. target = ::google::protobuf::internal::WireFormatLite::
  62197. WriteMessageNoVirtualToArray(
  62198. 2, this->questlist(i), target);
  62199. }
  62200. // repeated .msg_info_def.msg_quest_info weekQuestList = 3;
  62201. for (int i = 0; i < this->weekquestlist_size(); i++) {
  62202. target = ::google::protobuf::internal::WireFormatLite::
  62203. WriteMessageNoVirtualToArray(
  62204. 3, this->weekquestlist(i), target);
  62205. }
  62206. if (!unknown_fields().empty()) {
  62207. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  62208. unknown_fields(), target);
  62209. }
  62210. return target;
  62211. }
  62212. int packetw2c_recv_touching_fish_task_result::ByteSize() const {
  62213. int total_size = 0;
  62214. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62215. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_task_result];
  62216. if (has_packet_id()) {
  62217. total_size += 1 +
  62218. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  62219. }
  62220. }
  62221. // repeated .msg_info_def.msg_quest_info questList = 2;
  62222. total_size += 1 * this->questlist_size();
  62223. for (int i = 0; i < this->questlist_size(); i++) {
  62224. total_size +=
  62225. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  62226. this->questlist(i));
  62227. }
  62228. // repeated .msg_info_def.msg_quest_info weekQuestList = 3;
  62229. total_size += 1 * this->weekquestlist_size();
  62230. for (int i = 0; i < this->weekquestlist_size(); i++) {
  62231. total_size +=
  62232. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  62233. this->weekquestlist(i));
  62234. }
  62235. if (!unknown_fields().empty()) {
  62236. total_size +=
  62237. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  62238. unknown_fields());
  62239. }
  62240. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  62241. _cached_size_ = total_size;
  62242. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  62243. return total_size;
  62244. }
  62245. void packetw2c_recv_touching_fish_task_result::MergeFrom(const ::google::protobuf::Message& from) {
  62246. GOOGLE_CHECK_NE(&from, this);
  62247. const packetw2c_recv_touching_fish_task_result* source =
  62248. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_touching_fish_task_result*>(
  62249. &from);
  62250. if (source == NULL) {
  62251. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  62252. } else {
  62253. MergeFrom(*source);
  62254. }
  62255. }
  62256. void packetw2c_recv_touching_fish_task_result::MergeFrom(const packetw2c_recv_touching_fish_task_result& from) {
  62257. GOOGLE_CHECK_NE(&from, this);
  62258. questlist_.MergeFrom(from.questlist_);
  62259. weekquestlist_.MergeFrom(from.weekquestlist_);
  62260. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62261. if (from.has_packet_id()) {
  62262. set_packet_id(from.packet_id());
  62263. }
  62264. }
  62265. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  62266. }
  62267. void packetw2c_recv_touching_fish_task_result::CopyFrom(const ::google::protobuf::Message& from) {
  62268. if (&from == this) return;
  62269. Clear();
  62270. MergeFrom(from);
  62271. }
  62272. void packetw2c_recv_touching_fish_task_result::CopyFrom(const packetw2c_recv_touching_fish_task_result& from) {
  62273. if (&from == this) return;
  62274. Clear();
  62275. MergeFrom(from);
  62276. }
  62277. bool packetw2c_recv_touching_fish_task_result::IsInitialized() const {
  62278. return true;
  62279. }
  62280. void packetw2c_recv_touching_fish_task_result::Swap(packetw2c_recv_touching_fish_task_result* other) {
  62281. if (other != this) {
  62282. std::swap(packet_id_, other->packet_id_);
  62283. questlist_.Swap(&other->questlist_);
  62284. weekquestlist_.Swap(&other->weekquestlist_);
  62285. std::swap(_has_bits_[0], other->_has_bits_[0]);
  62286. _unknown_fields_.Swap(&other->_unknown_fields_);
  62287. std::swap(_cached_size_, other->_cached_size_);
  62288. }
  62289. }
  62290. ::google::protobuf::Metadata packetw2c_recv_touching_fish_task_result::GetMetadata() const {
  62291. protobuf_AssignDescriptorsOnce();
  62292. ::google::protobuf::Metadata metadata;
  62293. metadata.descriptor = packetw2c_recv_touching_fish_task_result_descriptor_;
  62294. metadata.reflection = packetw2c_recv_touching_fish_task_result_reflection_;
  62295. return metadata;
  62296. }
  62297. // ===================================================================
  62298. #ifndef _MSC_VER
  62299. const int packetc2w_recv_touching_fish_quest_award::kPacketIdFieldNumber;
  62300. const int packetc2w_recv_touching_fish_quest_award::kQuestIdFieldNumber;
  62301. #endif // !_MSC_VER
  62302. packetc2w_recv_touching_fish_quest_award::packetc2w_recv_touching_fish_quest_award()
  62303. : ::google::protobuf::Message() {
  62304. SharedCtor();
  62305. }
  62306. void packetc2w_recv_touching_fish_quest_award::InitAsDefaultInstance() {
  62307. }
  62308. packetc2w_recv_touching_fish_quest_award::packetc2w_recv_touching_fish_quest_award(const packetc2w_recv_touching_fish_quest_award& from)
  62309. : ::google::protobuf::Message() {
  62310. SharedCtor();
  62311. MergeFrom(from);
  62312. }
  62313. void packetc2w_recv_touching_fish_quest_award::SharedCtor() {
  62314. _cached_size_ = 0;
  62315. packet_id_ = 5235;
  62316. questid_ = 0;
  62317. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  62318. }
  62319. packetc2w_recv_touching_fish_quest_award::~packetc2w_recv_touching_fish_quest_award() {
  62320. SharedDtor();
  62321. }
  62322. void packetc2w_recv_touching_fish_quest_award::SharedDtor() {
  62323. if (this != default_instance_) {
  62324. }
  62325. }
  62326. void packetc2w_recv_touching_fish_quest_award::SetCachedSize(int size) const {
  62327. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  62328. _cached_size_ = size;
  62329. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  62330. }
  62331. const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_quest_award::descriptor() {
  62332. protobuf_AssignDescriptorsOnce();
  62333. return packetc2w_recv_touching_fish_quest_award_descriptor_;
  62334. }
  62335. const packetc2w_recv_touching_fish_quest_award& packetc2w_recv_touching_fish_quest_award::default_instance() {
  62336. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  62337. return *default_instance_;
  62338. }
  62339. packetc2w_recv_touching_fish_quest_award* packetc2w_recv_touching_fish_quest_award::default_instance_ = NULL;
  62340. packetc2w_recv_touching_fish_quest_award* packetc2w_recv_touching_fish_quest_award::New() const {
  62341. return new packetc2w_recv_touching_fish_quest_award;
  62342. }
  62343. void packetc2w_recv_touching_fish_quest_award::Clear() {
  62344. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62345. packet_id_ = 5235;
  62346. questid_ = 0;
  62347. }
  62348. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  62349. mutable_unknown_fields()->Clear();
  62350. }
  62351. bool packetc2w_recv_touching_fish_quest_award::MergePartialFromCodedStream(
  62352. ::google::protobuf::io::CodedInputStream* input) {
  62353. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  62354. ::google::protobuf::uint32 tag;
  62355. while ((tag = input->ReadTag()) != 0) {
  62356. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  62357. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_quest_award];
  62358. case 1: {
  62359. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62360. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  62361. int value;
  62362. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  62363. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  62364. input, &value)));
  62365. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  62366. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  62367. } else {
  62368. mutable_unknown_fields()->AddVarint(1, value);
  62369. }
  62370. } else {
  62371. goto handle_uninterpreted;
  62372. }
  62373. if (input->ExpectTag(16)) goto parse_questId;
  62374. break;
  62375. }
  62376. // optional int32 questId = 2;
  62377. case 2: {
  62378. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62379. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  62380. parse_questId:
  62381. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  62382. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  62383. input, &questid_)));
  62384. set_has_questid();
  62385. } else {
  62386. goto handle_uninterpreted;
  62387. }
  62388. if (input->ExpectAtEnd()) return true;
  62389. break;
  62390. }
  62391. default: {
  62392. handle_uninterpreted:
  62393. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62394. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  62395. return true;
  62396. }
  62397. DO_(::google::protobuf::internal::WireFormat::SkipField(
  62398. input, tag, mutable_unknown_fields()));
  62399. break;
  62400. }
  62401. }
  62402. }
  62403. return true;
  62404. #undef DO_
  62405. }
  62406. void packetc2w_recv_touching_fish_quest_award::SerializeWithCachedSizes(
  62407. ::google::protobuf::io::CodedOutputStream* output) const {
  62408. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_quest_award];
  62409. if (has_packet_id()) {
  62410. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  62411. 1, this->packet_id(), output);
  62412. }
  62413. // optional int32 questId = 2;
  62414. if (has_questid()) {
  62415. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  62416. }
  62417. if (!unknown_fields().empty()) {
  62418. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  62419. unknown_fields(), output);
  62420. }
  62421. }
  62422. ::google::protobuf::uint8* packetc2w_recv_touching_fish_quest_award::SerializeWithCachedSizesToArray(
  62423. ::google::protobuf::uint8* target) const {
  62424. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_quest_award];
  62425. if (has_packet_id()) {
  62426. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  62427. 1, this->packet_id(), target);
  62428. }
  62429. // optional int32 questId = 2;
  62430. if (has_questid()) {
  62431. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  62432. }
  62433. if (!unknown_fields().empty()) {
  62434. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  62435. unknown_fields(), target);
  62436. }
  62437. return target;
  62438. }
  62439. int packetc2w_recv_touching_fish_quest_award::ByteSize() const {
  62440. int total_size = 0;
  62441. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62442. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_quest_award];
  62443. if (has_packet_id()) {
  62444. total_size += 1 +
  62445. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  62446. }
  62447. // optional int32 questId = 2;
  62448. if (has_questid()) {
  62449. total_size += 1 +
  62450. ::google::protobuf::internal::WireFormatLite::Int32Size(
  62451. this->questid());
  62452. }
  62453. }
  62454. if (!unknown_fields().empty()) {
  62455. total_size +=
  62456. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  62457. unknown_fields());
  62458. }
  62459. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  62460. _cached_size_ = total_size;
  62461. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  62462. return total_size;
  62463. }
  62464. void packetc2w_recv_touching_fish_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  62465. GOOGLE_CHECK_NE(&from, this);
  62466. const packetc2w_recv_touching_fish_quest_award* source =
  62467. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_touching_fish_quest_award*>(
  62468. &from);
  62469. if (source == NULL) {
  62470. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  62471. } else {
  62472. MergeFrom(*source);
  62473. }
  62474. }
  62475. void packetc2w_recv_touching_fish_quest_award::MergeFrom(const packetc2w_recv_touching_fish_quest_award& from) {
  62476. GOOGLE_CHECK_NE(&from, this);
  62477. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62478. if (from.has_packet_id()) {
  62479. set_packet_id(from.packet_id());
  62480. }
  62481. if (from.has_questid()) {
  62482. set_questid(from.questid());
  62483. }
  62484. }
  62485. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  62486. }
  62487. void packetc2w_recv_touching_fish_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  62488. if (&from == this) return;
  62489. Clear();
  62490. MergeFrom(from);
  62491. }
  62492. void packetc2w_recv_touching_fish_quest_award::CopyFrom(const packetc2w_recv_touching_fish_quest_award& from) {
  62493. if (&from == this) return;
  62494. Clear();
  62495. MergeFrom(from);
  62496. }
  62497. bool packetc2w_recv_touching_fish_quest_award::IsInitialized() const {
  62498. return true;
  62499. }
  62500. void packetc2w_recv_touching_fish_quest_award::Swap(packetc2w_recv_touching_fish_quest_award* other) {
  62501. if (other != this) {
  62502. std::swap(packet_id_, other->packet_id_);
  62503. std::swap(questid_, other->questid_);
  62504. std::swap(_has_bits_[0], other->_has_bits_[0]);
  62505. _unknown_fields_.Swap(&other->_unknown_fields_);
  62506. std::swap(_cached_size_, other->_cached_size_);
  62507. }
  62508. }
  62509. ::google::protobuf::Metadata packetc2w_recv_touching_fish_quest_award::GetMetadata() const {
  62510. protobuf_AssignDescriptorsOnce();
  62511. ::google::protobuf::Metadata metadata;
  62512. metadata.descriptor = packetc2w_recv_touching_fish_quest_award_descriptor_;
  62513. metadata.reflection = packetc2w_recv_touching_fish_quest_award_reflection_;
  62514. return metadata;
  62515. }
  62516. // ===================================================================
  62517. #ifndef _MSC_VER
  62518. const int packetw2c_recv_touching_fish_quest_award_result::kPacketIdFieldNumber;
  62519. const int packetw2c_recv_touching_fish_quest_award_result::kResultFieldNumber;
  62520. const int packetw2c_recv_touching_fish_quest_award_result::kQuestIdFieldNumber;
  62521. const int packetw2c_recv_touching_fish_quest_award_result::kItemsFieldNumber;
  62522. #endif // !_MSC_VER
  62523. packetw2c_recv_touching_fish_quest_award_result::packetw2c_recv_touching_fish_quest_award_result()
  62524. : ::google::protobuf::Message() {
  62525. SharedCtor();
  62526. }
  62527. void packetw2c_recv_touching_fish_quest_award_result::InitAsDefaultInstance() {
  62528. }
  62529. packetw2c_recv_touching_fish_quest_award_result::packetw2c_recv_touching_fish_quest_award_result(const packetw2c_recv_touching_fish_quest_award_result& from)
  62530. : ::google::protobuf::Message() {
  62531. SharedCtor();
  62532. MergeFrom(from);
  62533. }
  62534. void packetw2c_recv_touching_fish_quest_award_result::SharedCtor() {
  62535. _cached_size_ = 0;
  62536. packet_id_ = 7779;
  62537. result_ = 0;
  62538. questid_ = 0;
  62539. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  62540. }
  62541. packetw2c_recv_touching_fish_quest_award_result::~packetw2c_recv_touching_fish_quest_award_result() {
  62542. SharedDtor();
  62543. }
  62544. void packetw2c_recv_touching_fish_quest_award_result::SharedDtor() {
  62545. if (this != default_instance_) {
  62546. }
  62547. }
  62548. void packetw2c_recv_touching_fish_quest_award_result::SetCachedSize(int size) const {
  62549. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  62550. _cached_size_ = size;
  62551. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  62552. }
  62553. const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_quest_award_result::descriptor() {
  62554. protobuf_AssignDescriptorsOnce();
  62555. return packetw2c_recv_touching_fish_quest_award_result_descriptor_;
  62556. }
  62557. const packetw2c_recv_touching_fish_quest_award_result& packetw2c_recv_touching_fish_quest_award_result::default_instance() {
  62558. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  62559. return *default_instance_;
  62560. }
  62561. packetw2c_recv_touching_fish_quest_award_result* packetw2c_recv_touching_fish_quest_award_result::default_instance_ = NULL;
  62562. packetw2c_recv_touching_fish_quest_award_result* packetw2c_recv_touching_fish_quest_award_result::New() const {
  62563. return new packetw2c_recv_touching_fish_quest_award_result;
  62564. }
  62565. void packetw2c_recv_touching_fish_quest_award_result::Clear() {
  62566. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62567. packet_id_ = 7779;
  62568. result_ = 0;
  62569. questid_ = 0;
  62570. }
  62571. items_.Clear();
  62572. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  62573. mutable_unknown_fields()->Clear();
  62574. }
  62575. bool packetw2c_recv_touching_fish_quest_award_result::MergePartialFromCodedStream(
  62576. ::google::protobuf::io::CodedInputStream* input) {
  62577. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  62578. ::google::protobuf::uint32 tag;
  62579. while ((tag = input->ReadTag()) != 0) {
  62580. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  62581. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_quest_award_result];
  62582. case 1: {
  62583. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62584. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  62585. int value;
  62586. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  62587. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  62588. input, &value)));
  62589. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  62590. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  62591. } else {
  62592. mutable_unknown_fields()->AddVarint(1, value);
  62593. }
  62594. } else {
  62595. goto handle_uninterpreted;
  62596. }
  62597. if (input->ExpectTag(16)) goto parse_result;
  62598. break;
  62599. }
  62600. // optional int32 result = 2;
  62601. case 2: {
  62602. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62603. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  62604. parse_result:
  62605. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  62606. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  62607. input, &result_)));
  62608. set_has_result();
  62609. } else {
  62610. goto handle_uninterpreted;
  62611. }
  62612. if (input->ExpectTag(24)) goto parse_questId;
  62613. break;
  62614. }
  62615. // optional int32 questId = 3;
  62616. case 3: {
  62617. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62618. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  62619. parse_questId:
  62620. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  62621. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  62622. input, &questid_)));
  62623. set_has_questid();
  62624. } else {
  62625. goto handle_uninterpreted;
  62626. }
  62627. if (input->ExpectTag(34)) goto parse_items;
  62628. break;
  62629. }
  62630. // repeated .msg_info_def.ItemInfo items = 4;
  62631. case 4: {
  62632. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62633. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  62634. parse_items:
  62635. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  62636. input, add_items()));
  62637. } else {
  62638. goto handle_uninterpreted;
  62639. }
  62640. if (input->ExpectTag(34)) goto parse_items;
  62641. if (input->ExpectAtEnd()) return true;
  62642. break;
  62643. }
  62644. default: {
  62645. handle_uninterpreted:
  62646. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62647. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  62648. return true;
  62649. }
  62650. DO_(::google::protobuf::internal::WireFormat::SkipField(
  62651. input, tag, mutable_unknown_fields()));
  62652. break;
  62653. }
  62654. }
  62655. }
  62656. return true;
  62657. #undef DO_
  62658. }
  62659. void packetw2c_recv_touching_fish_quest_award_result::SerializeWithCachedSizes(
  62660. ::google::protobuf::io::CodedOutputStream* output) const {
  62661. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_quest_award_result];
  62662. if (has_packet_id()) {
  62663. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  62664. 1, this->packet_id(), output);
  62665. }
  62666. // optional int32 result = 2;
  62667. if (has_result()) {
  62668. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  62669. }
  62670. // optional int32 questId = 3;
  62671. if (has_questid()) {
  62672. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  62673. }
  62674. // repeated .msg_info_def.ItemInfo items = 4;
  62675. for (int i = 0; i < this->items_size(); i++) {
  62676. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  62677. 4, this->items(i), output);
  62678. }
  62679. if (!unknown_fields().empty()) {
  62680. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  62681. unknown_fields(), output);
  62682. }
  62683. }
  62684. ::google::protobuf::uint8* packetw2c_recv_touching_fish_quest_award_result::SerializeWithCachedSizesToArray(
  62685. ::google::protobuf::uint8* target) const {
  62686. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_quest_award_result];
  62687. if (has_packet_id()) {
  62688. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  62689. 1, this->packet_id(), target);
  62690. }
  62691. // optional int32 result = 2;
  62692. if (has_result()) {
  62693. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  62694. }
  62695. // optional int32 questId = 3;
  62696. if (has_questid()) {
  62697. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  62698. }
  62699. // repeated .msg_info_def.ItemInfo items = 4;
  62700. for (int i = 0; i < this->items_size(); i++) {
  62701. target = ::google::protobuf::internal::WireFormatLite::
  62702. WriteMessageNoVirtualToArray(
  62703. 4, this->items(i), target);
  62704. }
  62705. if (!unknown_fields().empty()) {
  62706. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  62707. unknown_fields(), target);
  62708. }
  62709. return target;
  62710. }
  62711. int packetw2c_recv_touching_fish_quest_award_result::ByteSize() const {
  62712. int total_size = 0;
  62713. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62714. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_quest_award_result];
  62715. if (has_packet_id()) {
  62716. total_size += 1 +
  62717. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  62718. }
  62719. // optional int32 result = 2;
  62720. if (has_result()) {
  62721. total_size += 1 +
  62722. ::google::protobuf::internal::WireFormatLite::Int32Size(
  62723. this->result());
  62724. }
  62725. // optional int32 questId = 3;
  62726. if (has_questid()) {
  62727. total_size += 1 +
  62728. ::google::protobuf::internal::WireFormatLite::Int32Size(
  62729. this->questid());
  62730. }
  62731. }
  62732. // repeated .msg_info_def.ItemInfo items = 4;
  62733. total_size += 1 * this->items_size();
  62734. for (int i = 0; i < this->items_size(); i++) {
  62735. total_size +=
  62736. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  62737. this->items(i));
  62738. }
  62739. if (!unknown_fields().empty()) {
  62740. total_size +=
  62741. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  62742. unknown_fields());
  62743. }
  62744. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  62745. _cached_size_ = total_size;
  62746. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  62747. return total_size;
  62748. }
  62749. void packetw2c_recv_touching_fish_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  62750. GOOGLE_CHECK_NE(&from, this);
  62751. const packetw2c_recv_touching_fish_quest_award_result* source =
  62752. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_touching_fish_quest_award_result*>(
  62753. &from);
  62754. if (source == NULL) {
  62755. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  62756. } else {
  62757. MergeFrom(*source);
  62758. }
  62759. }
  62760. void packetw2c_recv_touching_fish_quest_award_result::MergeFrom(const packetw2c_recv_touching_fish_quest_award_result& from) {
  62761. GOOGLE_CHECK_NE(&from, this);
  62762. items_.MergeFrom(from.items_);
  62763. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62764. if (from.has_packet_id()) {
  62765. set_packet_id(from.packet_id());
  62766. }
  62767. if (from.has_result()) {
  62768. set_result(from.result());
  62769. }
  62770. if (from.has_questid()) {
  62771. set_questid(from.questid());
  62772. }
  62773. }
  62774. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  62775. }
  62776. void packetw2c_recv_touching_fish_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  62777. if (&from == this) return;
  62778. Clear();
  62779. MergeFrom(from);
  62780. }
  62781. void packetw2c_recv_touching_fish_quest_award_result::CopyFrom(const packetw2c_recv_touching_fish_quest_award_result& from) {
  62782. if (&from == this) return;
  62783. Clear();
  62784. MergeFrom(from);
  62785. }
  62786. bool packetw2c_recv_touching_fish_quest_award_result::IsInitialized() const {
  62787. return true;
  62788. }
  62789. void packetw2c_recv_touching_fish_quest_award_result::Swap(packetw2c_recv_touching_fish_quest_award_result* other) {
  62790. if (other != this) {
  62791. std::swap(packet_id_, other->packet_id_);
  62792. std::swap(result_, other->result_);
  62793. std::swap(questid_, other->questid_);
  62794. items_.Swap(&other->items_);
  62795. std::swap(_has_bits_[0], other->_has_bits_[0]);
  62796. _unknown_fields_.Swap(&other->_unknown_fields_);
  62797. std::swap(_cached_size_, other->_cached_size_);
  62798. }
  62799. }
  62800. ::google::protobuf::Metadata packetw2c_recv_touching_fish_quest_award_result::GetMetadata() const {
  62801. protobuf_AssignDescriptorsOnce();
  62802. ::google::protobuf::Metadata metadata;
  62803. metadata.descriptor = packetw2c_recv_touching_fish_quest_award_result_descriptor_;
  62804. metadata.reflection = packetw2c_recv_touching_fish_quest_award_result_reflection_;
  62805. return metadata;
  62806. }
  62807. // ===================================================================
  62808. #ifndef _MSC_VER
  62809. const int packetc2w_recv_touching_fish_week_box::kPacketIdFieldNumber;
  62810. #endif // !_MSC_VER
  62811. packetc2w_recv_touching_fish_week_box::packetc2w_recv_touching_fish_week_box()
  62812. : ::google::protobuf::Message() {
  62813. SharedCtor();
  62814. }
  62815. void packetc2w_recv_touching_fish_week_box::InitAsDefaultInstance() {
  62816. }
  62817. packetc2w_recv_touching_fish_week_box::packetc2w_recv_touching_fish_week_box(const packetc2w_recv_touching_fish_week_box& from)
  62818. : ::google::protobuf::Message() {
  62819. SharedCtor();
  62820. MergeFrom(from);
  62821. }
  62822. void packetc2w_recv_touching_fish_week_box::SharedCtor() {
  62823. _cached_size_ = 0;
  62824. packet_id_ = 5236;
  62825. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  62826. }
  62827. packetc2w_recv_touching_fish_week_box::~packetc2w_recv_touching_fish_week_box() {
  62828. SharedDtor();
  62829. }
  62830. void packetc2w_recv_touching_fish_week_box::SharedDtor() {
  62831. if (this != default_instance_) {
  62832. }
  62833. }
  62834. void packetc2w_recv_touching_fish_week_box::SetCachedSize(int size) const {
  62835. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  62836. _cached_size_ = size;
  62837. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  62838. }
  62839. const ::google::protobuf::Descriptor* packetc2w_recv_touching_fish_week_box::descriptor() {
  62840. protobuf_AssignDescriptorsOnce();
  62841. return packetc2w_recv_touching_fish_week_box_descriptor_;
  62842. }
  62843. const packetc2w_recv_touching_fish_week_box& packetc2w_recv_touching_fish_week_box::default_instance() {
  62844. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  62845. return *default_instance_;
  62846. }
  62847. packetc2w_recv_touching_fish_week_box* packetc2w_recv_touching_fish_week_box::default_instance_ = NULL;
  62848. packetc2w_recv_touching_fish_week_box* packetc2w_recv_touching_fish_week_box::New() const {
  62849. return new packetc2w_recv_touching_fish_week_box;
  62850. }
  62851. void packetc2w_recv_touching_fish_week_box::Clear() {
  62852. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62853. packet_id_ = 5236;
  62854. }
  62855. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  62856. mutable_unknown_fields()->Clear();
  62857. }
  62858. bool packetc2w_recv_touching_fish_week_box::MergePartialFromCodedStream(
  62859. ::google::protobuf::io::CodedInputStream* input) {
  62860. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  62861. ::google::protobuf::uint32 tag;
  62862. while ((tag = input->ReadTag()) != 0) {
  62863. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  62864. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_week_box];
  62865. case 1: {
  62866. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62867. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  62868. int value;
  62869. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  62870. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  62871. input, &value)));
  62872. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  62873. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  62874. } else {
  62875. mutable_unknown_fields()->AddVarint(1, value);
  62876. }
  62877. } else {
  62878. goto handle_uninterpreted;
  62879. }
  62880. if (input->ExpectAtEnd()) return true;
  62881. break;
  62882. }
  62883. default: {
  62884. handle_uninterpreted:
  62885. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  62886. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  62887. return true;
  62888. }
  62889. DO_(::google::protobuf::internal::WireFormat::SkipField(
  62890. input, tag, mutable_unknown_fields()));
  62891. break;
  62892. }
  62893. }
  62894. }
  62895. return true;
  62896. #undef DO_
  62897. }
  62898. void packetc2w_recv_touching_fish_week_box::SerializeWithCachedSizes(
  62899. ::google::protobuf::io::CodedOutputStream* output) const {
  62900. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_week_box];
  62901. if (has_packet_id()) {
  62902. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  62903. 1, this->packet_id(), output);
  62904. }
  62905. if (!unknown_fields().empty()) {
  62906. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  62907. unknown_fields(), output);
  62908. }
  62909. }
  62910. ::google::protobuf::uint8* packetc2w_recv_touching_fish_week_box::SerializeWithCachedSizesToArray(
  62911. ::google::protobuf::uint8* target) const {
  62912. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_week_box];
  62913. if (has_packet_id()) {
  62914. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  62915. 1, this->packet_id(), target);
  62916. }
  62917. if (!unknown_fields().empty()) {
  62918. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  62919. unknown_fields(), target);
  62920. }
  62921. return target;
  62922. }
  62923. int packetc2w_recv_touching_fish_week_box::ByteSize() const {
  62924. int total_size = 0;
  62925. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62926. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_week_box];
  62927. if (has_packet_id()) {
  62928. total_size += 1 +
  62929. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  62930. }
  62931. }
  62932. if (!unknown_fields().empty()) {
  62933. total_size +=
  62934. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  62935. unknown_fields());
  62936. }
  62937. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  62938. _cached_size_ = total_size;
  62939. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  62940. return total_size;
  62941. }
  62942. void packetc2w_recv_touching_fish_week_box::MergeFrom(const ::google::protobuf::Message& from) {
  62943. GOOGLE_CHECK_NE(&from, this);
  62944. const packetc2w_recv_touching_fish_week_box* source =
  62945. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_touching_fish_week_box*>(
  62946. &from);
  62947. if (source == NULL) {
  62948. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  62949. } else {
  62950. MergeFrom(*source);
  62951. }
  62952. }
  62953. void packetc2w_recv_touching_fish_week_box::MergeFrom(const packetc2w_recv_touching_fish_week_box& from) {
  62954. GOOGLE_CHECK_NE(&from, this);
  62955. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  62956. if (from.has_packet_id()) {
  62957. set_packet_id(from.packet_id());
  62958. }
  62959. }
  62960. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  62961. }
  62962. void packetc2w_recv_touching_fish_week_box::CopyFrom(const ::google::protobuf::Message& from) {
  62963. if (&from == this) return;
  62964. Clear();
  62965. MergeFrom(from);
  62966. }
  62967. void packetc2w_recv_touching_fish_week_box::CopyFrom(const packetc2w_recv_touching_fish_week_box& from) {
  62968. if (&from == this) return;
  62969. Clear();
  62970. MergeFrom(from);
  62971. }
  62972. bool packetc2w_recv_touching_fish_week_box::IsInitialized() const {
  62973. return true;
  62974. }
  62975. void packetc2w_recv_touching_fish_week_box::Swap(packetc2w_recv_touching_fish_week_box* other) {
  62976. if (other != this) {
  62977. std::swap(packet_id_, other->packet_id_);
  62978. std::swap(_has_bits_[0], other->_has_bits_[0]);
  62979. _unknown_fields_.Swap(&other->_unknown_fields_);
  62980. std::swap(_cached_size_, other->_cached_size_);
  62981. }
  62982. }
  62983. ::google::protobuf::Metadata packetc2w_recv_touching_fish_week_box::GetMetadata() const {
  62984. protobuf_AssignDescriptorsOnce();
  62985. ::google::protobuf::Metadata metadata;
  62986. metadata.descriptor = packetc2w_recv_touching_fish_week_box_descriptor_;
  62987. metadata.reflection = packetc2w_recv_touching_fish_week_box_reflection_;
  62988. return metadata;
  62989. }
  62990. // ===================================================================
  62991. #ifndef _MSC_VER
  62992. const int packetw2c_recv_touching_fish_week_box_result::kPacketIdFieldNumber;
  62993. const int packetw2c_recv_touching_fish_week_box_result::kResultFieldNumber;
  62994. const int packetw2c_recv_touching_fish_week_box_result::kWeekBoxRevFieldNumber;
  62995. const int packetw2c_recv_touching_fish_week_box_result::kItemsFieldNumber;
  62996. #endif // !_MSC_VER
  62997. packetw2c_recv_touching_fish_week_box_result::packetw2c_recv_touching_fish_week_box_result()
  62998. : ::google::protobuf::Message() {
  62999. SharedCtor();
  63000. }
  63001. void packetw2c_recv_touching_fish_week_box_result::InitAsDefaultInstance() {
  63002. }
  63003. packetw2c_recv_touching_fish_week_box_result::packetw2c_recv_touching_fish_week_box_result(const packetw2c_recv_touching_fish_week_box_result& from)
  63004. : ::google::protobuf::Message() {
  63005. SharedCtor();
  63006. MergeFrom(from);
  63007. }
  63008. void packetw2c_recv_touching_fish_week_box_result::SharedCtor() {
  63009. _cached_size_ = 0;
  63010. packet_id_ = 7780;
  63011. result_ = 0;
  63012. weekboxrev_ = 0;
  63013. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63014. }
  63015. packetw2c_recv_touching_fish_week_box_result::~packetw2c_recv_touching_fish_week_box_result() {
  63016. SharedDtor();
  63017. }
  63018. void packetw2c_recv_touching_fish_week_box_result::SharedDtor() {
  63019. if (this != default_instance_) {
  63020. }
  63021. }
  63022. void packetw2c_recv_touching_fish_week_box_result::SetCachedSize(int size) const {
  63023. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  63024. _cached_size_ = size;
  63025. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  63026. }
  63027. const ::google::protobuf::Descriptor* packetw2c_recv_touching_fish_week_box_result::descriptor() {
  63028. protobuf_AssignDescriptorsOnce();
  63029. return packetw2c_recv_touching_fish_week_box_result_descriptor_;
  63030. }
  63031. const packetw2c_recv_touching_fish_week_box_result& packetw2c_recv_touching_fish_week_box_result::default_instance() {
  63032. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  63033. return *default_instance_;
  63034. }
  63035. packetw2c_recv_touching_fish_week_box_result* packetw2c_recv_touching_fish_week_box_result::default_instance_ = NULL;
  63036. packetw2c_recv_touching_fish_week_box_result* packetw2c_recv_touching_fish_week_box_result::New() const {
  63037. return new packetw2c_recv_touching_fish_week_box_result;
  63038. }
  63039. void packetw2c_recv_touching_fish_week_box_result::Clear() {
  63040. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63041. packet_id_ = 7780;
  63042. result_ = 0;
  63043. weekboxrev_ = 0;
  63044. }
  63045. items_.Clear();
  63046. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63047. mutable_unknown_fields()->Clear();
  63048. }
  63049. bool packetw2c_recv_touching_fish_week_box_result::MergePartialFromCodedStream(
  63050. ::google::protobuf::io::CodedInputStream* input) {
  63051. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  63052. ::google::protobuf::uint32 tag;
  63053. while ((tag = input->ReadTag()) != 0) {
  63054. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  63055. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_week_box_result];
  63056. case 1: {
  63057. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63058. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63059. int value;
  63060. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63061. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  63062. input, &value)));
  63063. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  63064. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  63065. } else {
  63066. mutable_unknown_fields()->AddVarint(1, value);
  63067. }
  63068. } else {
  63069. goto handle_uninterpreted;
  63070. }
  63071. if (input->ExpectTag(16)) goto parse_result;
  63072. break;
  63073. }
  63074. // optional int32 result = 2;
  63075. case 2: {
  63076. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63077. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63078. parse_result:
  63079. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63080. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  63081. input, &result_)));
  63082. set_has_result();
  63083. } else {
  63084. goto handle_uninterpreted;
  63085. }
  63086. if (input->ExpectTag(24)) goto parse_weekBoxRev;
  63087. break;
  63088. }
  63089. // optional int32 weekBoxRev = 3;
  63090. case 3: {
  63091. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63092. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63093. parse_weekBoxRev:
  63094. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63095. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  63096. input, &weekboxrev_)));
  63097. set_has_weekboxrev();
  63098. } else {
  63099. goto handle_uninterpreted;
  63100. }
  63101. if (input->ExpectTag(34)) goto parse_items;
  63102. break;
  63103. }
  63104. // repeated .msg_info_def.ItemInfo items = 4;
  63105. case 4: {
  63106. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63107. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  63108. parse_items:
  63109. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  63110. input, add_items()));
  63111. } else {
  63112. goto handle_uninterpreted;
  63113. }
  63114. if (input->ExpectTag(34)) goto parse_items;
  63115. if (input->ExpectAtEnd()) return true;
  63116. break;
  63117. }
  63118. default: {
  63119. handle_uninterpreted:
  63120. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63121. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  63122. return true;
  63123. }
  63124. DO_(::google::protobuf::internal::WireFormat::SkipField(
  63125. input, tag, mutable_unknown_fields()));
  63126. break;
  63127. }
  63128. }
  63129. }
  63130. return true;
  63131. #undef DO_
  63132. }
  63133. void packetw2c_recv_touching_fish_week_box_result::SerializeWithCachedSizes(
  63134. ::google::protobuf::io::CodedOutputStream* output) const {
  63135. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_week_box_result];
  63136. if (has_packet_id()) {
  63137. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  63138. 1, this->packet_id(), output);
  63139. }
  63140. // optional int32 result = 2;
  63141. if (has_result()) {
  63142. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  63143. }
  63144. // optional int32 weekBoxRev = 3;
  63145. if (has_weekboxrev()) {
  63146. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->weekboxrev(), output);
  63147. }
  63148. // repeated .msg_info_def.ItemInfo items = 4;
  63149. for (int i = 0; i < this->items_size(); i++) {
  63150. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  63151. 4, this->items(i), output);
  63152. }
  63153. if (!unknown_fields().empty()) {
  63154. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  63155. unknown_fields(), output);
  63156. }
  63157. }
  63158. ::google::protobuf::uint8* packetw2c_recv_touching_fish_week_box_result::SerializeWithCachedSizesToArray(
  63159. ::google::protobuf::uint8* target) const {
  63160. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_week_box_result];
  63161. if (has_packet_id()) {
  63162. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  63163. 1, this->packet_id(), target);
  63164. }
  63165. // optional int32 result = 2;
  63166. if (has_result()) {
  63167. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  63168. }
  63169. // optional int32 weekBoxRev = 3;
  63170. if (has_weekboxrev()) {
  63171. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->weekboxrev(), target);
  63172. }
  63173. // repeated .msg_info_def.ItemInfo items = 4;
  63174. for (int i = 0; i < this->items_size(); i++) {
  63175. target = ::google::protobuf::internal::WireFormatLite::
  63176. WriteMessageNoVirtualToArray(
  63177. 4, this->items(i), target);
  63178. }
  63179. if (!unknown_fields().empty()) {
  63180. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  63181. unknown_fields(), target);
  63182. }
  63183. return target;
  63184. }
  63185. int packetw2c_recv_touching_fish_week_box_result::ByteSize() const {
  63186. int total_size = 0;
  63187. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63188. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_week_box_result];
  63189. if (has_packet_id()) {
  63190. total_size += 1 +
  63191. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  63192. }
  63193. // optional int32 result = 2;
  63194. if (has_result()) {
  63195. total_size += 1 +
  63196. ::google::protobuf::internal::WireFormatLite::Int32Size(
  63197. this->result());
  63198. }
  63199. // optional int32 weekBoxRev = 3;
  63200. if (has_weekboxrev()) {
  63201. total_size += 1 +
  63202. ::google::protobuf::internal::WireFormatLite::Int32Size(
  63203. this->weekboxrev());
  63204. }
  63205. }
  63206. // repeated .msg_info_def.ItemInfo items = 4;
  63207. total_size += 1 * this->items_size();
  63208. for (int i = 0; i < this->items_size(); i++) {
  63209. total_size +=
  63210. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  63211. this->items(i));
  63212. }
  63213. if (!unknown_fields().empty()) {
  63214. total_size +=
  63215. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  63216. unknown_fields());
  63217. }
  63218. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  63219. _cached_size_ = total_size;
  63220. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  63221. return total_size;
  63222. }
  63223. void packetw2c_recv_touching_fish_week_box_result::MergeFrom(const ::google::protobuf::Message& from) {
  63224. GOOGLE_CHECK_NE(&from, this);
  63225. const packetw2c_recv_touching_fish_week_box_result* source =
  63226. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_touching_fish_week_box_result*>(
  63227. &from);
  63228. if (source == NULL) {
  63229. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  63230. } else {
  63231. MergeFrom(*source);
  63232. }
  63233. }
  63234. void packetw2c_recv_touching_fish_week_box_result::MergeFrom(const packetw2c_recv_touching_fish_week_box_result& from) {
  63235. GOOGLE_CHECK_NE(&from, this);
  63236. items_.MergeFrom(from.items_);
  63237. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63238. if (from.has_packet_id()) {
  63239. set_packet_id(from.packet_id());
  63240. }
  63241. if (from.has_result()) {
  63242. set_result(from.result());
  63243. }
  63244. if (from.has_weekboxrev()) {
  63245. set_weekboxrev(from.weekboxrev());
  63246. }
  63247. }
  63248. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  63249. }
  63250. void packetw2c_recv_touching_fish_week_box_result::CopyFrom(const ::google::protobuf::Message& from) {
  63251. if (&from == this) return;
  63252. Clear();
  63253. MergeFrom(from);
  63254. }
  63255. void packetw2c_recv_touching_fish_week_box_result::CopyFrom(const packetw2c_recv_touching_fish_week_box_result& from) {
  63256. if (&from == this) return;
  63257. Clear();
  63258. MergeFrom(from);
  63259. }
  63260. bool packetw2c_recv_touching_fish_week_box_result::IsInitialized() const {
  63261. return true;
  63262. }
  63263. void packetw2c_recv_touching_fish_week_box_result::Swap(packetw2c_recv_touching_fish_week_box_result* other) {
  63264. if (other != this) {
  63265. std::swap(packet_id_, other->packet_id_);
  63266. std::swap(result_, other->result_);
  63267. std::swap(weekboxrev_, other->weekboxrev_);
  63268. items_.Swap(&other->items_);
  63269. std::swap(_has_bits_[0], other->_has_bits_[0]);
  63270. _unknown_fields_.Swap(&other->_unknown_fields_);
  63271. std::swap(_cached_size_, other->_cached_size_);
  63272. }
  63273. }
  63274. ::google::protobuf::Metadata packetw2c_recv_touching_fish_week_box_result::GetMetadata() const {
  63275. protobuf_AssignDescriptorsOnce();
  63276. ::google::protobuf::Metadata metadata;
  63277. metadata.descriptor = packetw2c_recv_touching_fish_week_box_result_descriptor_;
  63278. metadata.reflection = packetw2c_recv_touching_fish_week_box_result_reflection_;
  63279. return metadata;
  63280. }
  63281. // ===================================================================
  63282. #ifndef _MSC_VER
  63283. const int packetc2w_flush_touching_fish_quest::kPacketIdFieldNumber;
  63284. const int packetc2w_flush_touching_fish_quest::kQuestIdFieldNumber;
  63285. #endif // !_MSC_VER
  63286. packetc2w_flush_touching_fish_quest::packetc2w_flush_touching_fish_quest()
  63287. : ::google::protobuf::Message() {
  63288. SharedCtor();
  63289. }
  63290. void packetc2w_flush_touching_fish_quest::InitAsDefaultInstance() {
  63291. }
  63292. packetc2w_flush_touching_fish_quest::packetc2w_flush_touching_fish_quest(const packetc2w_flush_touching_fish_quest& from)
  63293. : ::google::protobuf::Message() {
  63294. SharedCtor();
  63295. MergeFrom(from);
  63296. }
  63297. void packetc2w_flush_touching_fish_quest::SharedCtor() {
  63298. _cached_size_ = 0;
  63299. packet_id_ = 5238;
  63300. questid_ = 0;
  63301. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63302. }
  63303. packetc2w_flush_touching_fish_quest::~packetc2w_flush_touching_fish_quest() {
  63304. SharedDtor();
  63305. }
  63306. void packetc2w_flush_touching_fish_quest::SharedDtor() {
  63307. if (this != default_instance_) {
  63308. }
  63309. }
  63310. void packetc2w_flush_touching_fish_quest::SetCachedSize(int size) const {
  63311. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  63312. _cached_size_ = size;
  63313. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  63314. }
  63315. const ::google::protobuf::Descriptor* packetc2w_flush_touching_fish_quest::descriptor() {
  63316. protobuf_AssignDescriptorsOnce();
  63317. return packetc2w_flush_touching_fish_quest_descriptor_;
  63318. }
  63319. const packetc2w_flush_touching_fish_quest& packetc2w_flush_touching_fish_quest::default_instance() {
  63320. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  63321. return *default_instance_;
  63322. }
  63323. packetc2w_flush_touching_fish_quest* packetc2w_flush_touching_fish_quest::default_instance_ = NULL;
  63324. packetc2w_flush_touching_fish_quest* packetc2w_flush_touching_fish_quest::New() const {
  63325. return new packetc2w_flush_touching_fish_quest;
  63326. }
  63327. void packetc2w_flush_touching_fish_quest::Clear() {
  63328. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63329. packet_id_ = 5238;
  63330. questid_ = 0;
  63331. }
  63332. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63333. mutable_unknown_fields()->Clear();
  63334. }
  63335. bool packetc2w_flush_touching_fish_quest::MergePartialFromCodedStream(
  63336. ::google::protobuf::io::CodedInputStream* input) {
  63337. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  63338. ::google::protobuf::uint32 tag;
  63339. while ((tag = input->ReadTag()) != 0) {
  63340. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  63341. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_flush_touching_fish_quest];
  63342. case 1: {
  63343. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63344. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63345. int value;
  63346. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63347. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  63348. input, &value)));
  63349. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  63350. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  63351. } else {
  63352. mutable_unknown_fields()->AddVarint(1, value);
  63353. }
  63354. } else {
  63355. goto handle_uninterpreted;
  63356. }
  63357. if (input->ExpectTag(16)) goto parse_questId;
  63358. break;
  63359. }
  63360. // optional int32 questId = 2;
  63361. case 2: {
  63362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63364. parse_questId:
  63365. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63366. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  63367. input, &questid_)));
  63368. set_has_questid();
  63369. } else {
  63370. goto handle_uninterpreted;
  63371. }
  63372. if (input->ExpectAtEnd()) return true;
  63373. break;
  63374. }
  63375. default: {
  63376. handle_uninterpreted:
  63377. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63378. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  63379. return true;
  63380. }
  63381. DO_(::google::protobuf::internal::WireFormat::SkipField(
  63382. input, tag, mutable_unknown_fields()));
  63383. break;
  63384. }
  63385. }
  63386. }
  63387. return true;
  63388. #undef DO_
  63389. }
  63390. void packetc2w_flush_touching_fish_quest::SerializeWithCachedSizes(
  63391. ::google::protobuf::io::CodedOutputStream* output) const {
  63392. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_flush_touching_fish_quest];
  63393. if (has_packet_id()) {
  63394. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  63395. 1, this->packet_id(), output);
  63396. }
  63397. // optional int32 questId = 2;
  63398. if (has_questid()) {
  63399. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  63400. }
  63401. if (!unknown_fields().empty()) {
  63402. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  63403. unknown_fields(), output);
  63404. }
  63405. }
  63406. ::google::protobuf::uint8* packetc2w_flush_touching_fish_quest::SerializeWithCachedSizesToArray(
  63407. ::google::protobuf::uint8* target) const {
  63408. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_flush_touching_fish_quest];
  63409. if (has_packet_id()) {
  63410. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  63411. 1, this->packet_id(), target);
  63412. }
  63413. // optional int32 questId = 2;
  63414. if (has_questid()) {
  63415. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  63416. }
  63417. if (!unknown_fields().empty()) {
  63418. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  63419. unknown_fields(), target);
  63420. }
  63421. return target;
  63422. }
  63423. int packetc2w_flush_touching_fish_quest::ByteSize() const {
  63424. int total_size = 0;
  63425. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63426. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_flush_touching_fish_quest];
  63427. if (has_packet_id()) {
  63428. total_size += 1 +
  63429. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  63430. }
  63431. // optional int32 questId = 2;
  63432. if (has_questid()) {
  63433. total_size += 1 +
  63434. ::google::protobuf::internal::WireFormatLite::Int32Size(
  63435. this->questid());
  63436. }
  63437. }
  63438. if (!unknown_fields().empty()) {
  63439. total_size +=
  63440. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  63441. unknown_fields());
  63442. }
  63443. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  63444. _cached_size_ = total_size;
  63445. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  63446. return total_size;
  63447. }
  63448. void packetc2w_flush_touching_fish_quest::MergeFrom(const ::google::protobuf::Message& from) {
  63449. GOOGLE_CHECK_NE(&from, this);
  63450. const packetc2w_flush_touching_fish_quest* source =
  63451. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_flush_touching_fish_quest*>(
  63452. &from);
  63453. if (source == NULL) {
  63454. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  63455. } else {
  63456. MergeFrom(*source);
  63457. }
  63458. }
  63459. void packetc2w_flush_touching_fish_quest::MergeFrom(const packetc2w_flush_touching_fish_quest& from) {
  63460. GOOGLE_CHECK_NE(&from, this);
  63461. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63462. if (from.has_packet_id()) {
  63463. set_packet_id(from.packet_id());
  63464. }
  63465. if (from.has_questid()) {
  63466. set_questid(from.questid());
  63467. }
  63468. }
  63469. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  63470. }
  63471. void packetc2w_flush_touching_fish_quest::CopyFrom(const ::google::protobuf::Message& from) {
  63472. if (&from == this) return;
  63473. Clear();
  63474. MergeFrom(from);
  63475. }
  63476. void packetc2w_flush_touching_fish_quest::CopyFrom(const packetc2w_flush_touching_fish_quest& from) {
  63477. if (&from == this) return;
  63478. Clear();
  63479. MergeFrom(from);
  63480. }
  63481. bool packetc2w_flush_touching_fish_quest::IsInitialized() const {
  63482. return true;
  63483. }
  63484. void packetc2w_flush_touching_fish_quest::Swap(packetc2w_flush_touching_fish_quest* other) {
  63485. if (other != this) {
  63486. std::swap(packet_id_, other->packet_id_);
  63487. std::swap(questid_, other->questid_);
  63488. std::swap(_has_bits_[0], other->_has_bits_[0]);
  63489. _unknown_fields_.Swap(&other->_unknown_fields_);
  63490. std::swap(_cached_size_, other->_cached_size_);
  63491. }
  63492. }
  63493. ::google::protobuf::Metadata packetc2w_flush_touching_fish_quest::GetMetadata() const {
  63494. protobuf_AssignDescriptorsOnce();
  63495. ::google::protobuf::Metadata metadata;
  63496. metadata.descriptor = packetc2w_flush_touching_fish_quest_descriptor_;
  63497. metadata.reflection = packetc2w_flush_touching_fish_quest_reflection_;
  63498. return metadata;
  63499. }
  63500. // ===================================================================
  63501. #ifndef _MSC_VER
  63502. const int packetw2c_flush_touching_fish_quest_result::kPacketIdFieldNumber;
  63503. const int packetw2c_flush_touching_fish_quest_result::kResultFieldNumber;
  63504. const int packetw2c_flush_touching_fish_quest_result::kQuestIdFieldNumber;
  63505. const int packetw2c_flush_touching_fish_quest_result::kNewQuestIdFieldNumber;
  63506. #endif // !_MSC_VER
  63507. packetw2c_flush_touching_fish_quest_result::packetw2c_flush_touching_fish_quest_result()
  63508. : ::google::protobuf::Message() {
  63509. SharedCtor();
  63510. }
  63511. void packetw2c_flush_touching_fish_quest_result::InitAsDefaultInstance() {
  63512. }
  63513. packetw2c_flush_touching_fish_quest_result::packetw2c_flush_touching_fish_quest_result(const packetw2c_flush_touching_fish_quest_result& from)
  63514. : ::google::protobuf::Message() {
  63515. SharedCtor();
  63516. MergeFrom(from);
  63517. }
  63518. void packetw2c_flush_touching_fish_quest_result::SharedCtor() {
  63519. _cached_size_ = 0;
  63520. packet_id_ = 7783;
  63521. result_ = 0;
  63522. questid_ = 0;
  63523. newquestid_ = 0;
  63524. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63525. }
  63526. packetw2c_flush_touching_fish_quest_result::~packetw2c_flush_touching_fish_quest_result() {
  63527. SharedDtor();
  63528. }
  63529. void packetw2c_flush_touching_fish_quest_result::SharedDtor() {
  63530. if (this != default_instance_) {
  63531. }
  63532. }
  63533. void packetw2c_flush_touching_fish_quest_result::SetCachedSize(int size) const {
  63534. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  63535. _cached_size_ = size;
  63536. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  63537. }
  63538. const ::google::protobuf::Descriptor* packetw2c_flush_touching_fish_quest_result::descriptor() {
  63539. protobuf_AssignDescriptorsOnce();
  63540. return packetw2c_flush_touching_fish_quest_result_descriptor_;
  63541. }
  63542. const packetw2c_flush_touching_fish_quest_result& packetw2c_flush_touching_fish_quest_result::default_instance() {
  63543. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  63544. return *default_instance_;
  63545. }
  63546. packetw2c_flush_touching_fish_quest_result* packetw2c_flush_touching_fish_quest_result::default_instance_ = NULL;
  63547. packetw2c_flush_touching_fish_quest_result* packetw2c_flush_touching_fish_quest_result::New() const {
  63548. return new packetw2c_flush_touching_fish_quest_result;
  63549. }
  63550. void packetw2c_flush_touching_fish_quest_result::Clear() {
  63551. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63552. packet_id_ = 7783;
  63553. result_ = 0;
  63554. questid_ = 0;
  63555. newquestid_ = 0;
  63556. }
  63557. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63558. mutable_unknown_fields()->Clear();
  63559. }
  63560. bool packetw2c_flush_touching_fish_quest_result::MergePartialFromCodedStream(
  63561. ::google::protobuf::io::CodedInputStream* input) {
  63562. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  63563. ::google::protobuf::uint32 tag;
  63564. while ((tag = input->ReadTag()) != 0) {
  63565. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  63566. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_flush_touching_fish_quest_result];
  63567. case 1: {
  63568. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63569. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63570. int value;
  63571. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63572. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  63573. input, &value)));
  63574. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  63575. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  63576. } else {
  63577. mutable_unknown_fields()->AddVarint(1, value);
  63578. }
  63579. } else {
  63580. goto handle_uninterpreted;
  63581. }
  63582. if (input->ExpectTag(16)) goto parse_result;
  63583. break;
  63584. }
  63585. // optional int32 result = 2;
  63586. case 2: {
  63587. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63588. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63589. parse_result:
  63590. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63591. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  63592. input, &result_)));
  63593. set_has_result();
  63594. } else {
  63595. goto handle_uninterpreted;
  63596. }
  63597. if (input->ExpectTag(24)) goto parse_questId;
  63598. break;
  63599. }
  63600. // optional int32 questId = 3;
  63601. case 3: {
  63602. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63603. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63604. parse_questId:
  63605. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63606. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  63607. input, &questid_)));
  63608. set_has_questid();
  63609. } else {
  63610. goto handle_uninterpreted;
  63611. }
  63612. if (input->ExpectTag(32)) goto parse_newQuestId;
  63613. break;
  63614. }
  63615. // optional int32 newQuestId = 4;
  63616. case 4: {
  63617. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63618. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63619. parse_newQuestId:
  63620. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63621. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  63622. input, &newquestid_)));
  63623. set_has_newquestid();
  63624. } else {
  63625. goto handle_uninterpreted;
  63626. }
  63627. if (input->ExpectAtEnd()) return true;
  63628. break;
  63629. }
  63630. default: {
  63631. handle_uninterpreted:
  63632. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63633. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  63634. return true;
  63635. }
  63636. DO_(::google::protobuf::internal::WireFormat::SkipField(
  63637. input, tag, mutable_unknown_fields()));
  63638. break;
  63639. }
  63640. }
  63641. }
  63642. return true;
  63643. #undef DO_
  63644. }
  63645. void packetw2c_flush_touching_fish_quest_result::SerializeWithCachedSizes(
  63646. ::google::protobuf::io::CodedOutputStream* output) const {
  63647. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_flush_touching_fish_quest_result];
  63648. if (has_packet_id()) {
  63649. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  63650. 1, this->packet_id(), output);
  63651. }
  63652. // optional int32 result = 2;
  63653. if (has_result()) {
  63654. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  63655. }
  63656. // optional int32 questId = 3;
  63657. if (has_questid()) {
  63658. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  63659. }
  63660. // optional int32 newQuestId = 4;
  63661. if (has_newquestid()) {
  63662. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->newquestid(), output);
  63663. }
  63664. if (!unknown_fields().empty()) {
  63665. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  63666. unknown_fields(), output);
  63667. }
  63668. }
  63669. ::google::protobuf::uint8* packetw2c_flush_touching_fish_quest_result::SerializeWithCachedSizesToArray(
  63670. ::google::protobuf::uint8* target) const {
  63671. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_flush_touching_fish_quest_result];
  63672. if (has_packet_id()) {
  63673. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  63674. 1, this->packet_id(), target);
  63675. }
  63676. // optional int32 result = 2;
  63677. if (has_result()) {
  63678. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  63679. }
  63680. // optional int32 questId = 3;
  63681. if (has_questid()) {
  63682. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  63683. }
  63684. // optional int32 newQuestId = 4;
  63685. if (has_newquestid()) {
  63686. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->newquestid(), target);
  63687. }
  63688. if (!unknown_fields().empty()) {
  63689. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  63690. unknown_fields(), target);
  63691. }
  63692. return target;
  63693. }
  63694. int packetw2c_flush_touching_fish_quest_result::ByteSize() const {
  63695. int total_size = 0;
  63696. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63697. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_flush_touching_fish_quest_result];
  63698. if (has_packet_id()) {
  63699. total_size += 1 +
  63700. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  63701. }
  63702. // optional int32 result = 2;
  63703. if (has_result()) {
  63704. total_size += 1 +
  63705. ::google::protobuf::internal::WireFormatLite::Int32Size(
  63706. this->result());
  63707. }
  63708. // optional int32 questId = 3;
  63709. if (has_questid()) {
  63710. total_size += 1 +
  63711. ::google::protobuf::internal::WireFormatLite::Int32Size(
  63712. this->questid());
  63713. }
  63714. // optional int32 newQuestId = 4;
  63715. if (has_newquestid()) {
  63716. total_size += 1 +
  63717. ::google::protobuf::internal::WireFormatLite::Int32Size(
  63718. this->newquestid());
  63719. }
  63720. }
  63721. if (!unknown_fields().empty()) {
  63722. total_size +=
  63723. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  63724. unknown_fields());
  63725. }
  63726. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  63727. _cached_size_ = total_size;
  63728. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  63729. return total_size;
  63730. }
  63731. void packetw2c_flush_touching_fish_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  63732. GOOGLE_CHECK_NE(&from, this);
  63733. const packetw2c_flush_touching_fish_quest_result* source =
  63734. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_flush_touching_fish_quest_result*>(
  63735. &from);
  63736. if (source == NULL) {
  63737. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  63738. } else {
  63739. MergeFrom(*source);
  63740. }
  63741. }
  63742. void packetw2c_flush_touching_fish_quest_result::MergeFrom(const packetw2c_flush_touching_fish_quest_result& from) {
  63743. GOOGLE_CHECK_NE(&from, this);
  63744. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63745. if (from.has_packet_id()) {
  63746. set_packet_id(from.packet_id());
  63747. }
  63748. if (from.has_result()) {
  63749. set_result(from.result());
  63750. }
  63751. if (from.has_questid()) {
  63752. set_questid(from.questid());
  63753. }
  63754. if (from.has_newquestid()) {
  63755. set_newquestid(from.newquestid());
  63756. }
  63757. }
  63758. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  63759. }
  63760. void packetw2c_flush_touching_fish_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  63761. if (&from == this) return;
  63762. Clear();
  63763. MergeFrom(from);
  63764. }
  63765. void packetw2c_flush_touching_fish_quest_result::CopyFrom(const packetw2c_flush_touching_fish_quest_result& from) {
  63766. if (&from == this) return;
  63767. Clear();
  63768. MergeFrom(from);
  63769. }
  63770. bool packetw2c_flush_touching_fish_quest_result::IsInitialized() const {
  63771. return true;
  63772. }
  63773. void packetw2c_flush_touching_fish_quest_result::Swap(packetw2c_flush_touching_fish_quest_result* other) {
  63774. if (other != this) {
  63775. std::swap(packet_id_, other->packet_id_);
  63776. std::swap(result_, other->result_);
  63777. std::swap(questid_, other->questid_);
  63778. std::swap(newquestid_, other->newquestid_);
  63779. std::swap(_has_bits_[0], other->_has_bits_[0]);
  63780. _unknown_fields_.Swap(&other->_unknown_fields_);
  63781. std::swap(_cached_size_, other->_cached_size_);
  63782. }
  63783. }
  63784. ::google::protobuf::Metadata packetw2c_flush_touching_fish_quest_result::GetMetadata() const {
  63785. protobuf_AssignDescriptorsOnce();
  63786. ::google::protobuf::Metadata metadata;
  63787. metadata.descriptor = packetw2c_flush_touching_fish_quest_result_descriptor_;
  63788. metadata.reflection = packetw2c_flush_touching_fish_quest_result_reflection_;
  63789. return metadata;
  63790. }
  63791. // ===================================================================
  63792. #ifndef _MSC_VER
  63793. const int packetc2w_get_touching_fish_rank::kPacketIdFieldNumber;
  63794. #endif // !_MSC_VER
  63795. packetc2w_get_touching_fish_rank::packetc2w_get_touching_fish_rank()
  63796. : ::google::protobuf::Message() {
  63797. SharedCtor();
  63798. }
  63799. void packetc2w_get_touching_fish_rank::InitAsDefaultInstance() {
  63800. }
  63801. packetc2w_get_touching_fish_rank::packetc2w_get_touching_fish_rank(const packetc2w_get_touching_fish_rank& from)
  63802. : ::google::protobuf::Message() {
  63803. SharedCtor();
  63804. MergeFrom(from);
  63805. }
  63806. void packetc2w_get_touching_fish_rank::SharedCtor() {
  63807. _cached_size_ = 0;
  63808. packet_id_ = 5239;
  63809. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63810. }
  63811. packetc2w_get_touching_fish_rank::~packetc2w_get_touching_fish_rank() {
  63812. SharedDtor();
  63813. }
  63814. void packetc2w_get_touching_fish_rank::SharedDtor() {
  63815. if (this != default_instance_) {
  63816. }
  63817. }
  63818. void packetc2w_get_touching_fish_rank::SetCachedSize(int size) const {
  63819. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  63820. _cached_size_ = size;
  63821. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  63822. }
  63823. const ::google::protobuf::Descriptor* packetc2w_get_touching_fish_rank::descriptor() {
  63824. protobuf_AssignDescriptorsOnce();
  63825. return packetc2w_get_touching_fish_rank_descriptor_;
  63826. }
  63827. const packetc2w_get_touching_fish_rank& packetc2w_get_touching_fish_rank::default_instance() {
  63828. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  63829. return *default_instance_;
  63830. }
  63831. packetc2w_get_touching_fish_rank* packetc2w_get_touching_fish_rank::default_instance_ = NULL;
  63832. packetc2w_get_touching_fish_rank* packetc2w_get_touching_fish_rank::New() const {
  63833. return new packetc2w_get_touching_fish_rank;
  63834. }
  63835. void packetc2w_get_touching_fish_rank::Clear() {
  63836. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63837. packet_id_ = 5239;
  63838. }
  63839. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63840. mutable_unknown_fields()->Clear();
  63841. }
  63842. bool packetc2w_get_touching_fish_rank::MergePartialFromCodedStream(
  63843. ::google::protobuf::io::CodedInputStream* input) {
  63844. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  63845. ::google::protobuf::uint32 tag;
  63846. while ((tag = input->ReadTag()) != 0) {
  63847. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  63848. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
  63849. case 1: {
  63850. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63851. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  63852. int value;
  63853. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  63854. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  63855. input, &value)));
  63856. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  63857. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  63858. } else {
  63859. mutable_unknown_fields()->AddVarint(1, value);
  63860. }
  63861. } else {
  63862. goto handle_uninterpreted;
  63863. }
  63864. if (input->ExpectAtEnd()) return true;
  63865. break;
  63866. }
  63867. default: {
  63868. handle_uninterpreted:
  63869. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  63870. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  63871. return true;
  63872. }
  63873. DO_(::google::protobuf::internal::WireFormat::SkipField(
  63874. input, tag, mutable_unknown_fields()));
  63875. break;
  63876. }
  63877. }
  63878. }
  63879. return true;
  63880. #undef DO_
  63881. }
  63882. void packetc2w_get_touching_fish_rank::SerializeWithCachedSizes(
  63883. ::google::protobuf::io::CodedOutputStream* output) const {
  63884. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
  63885. if (has_packet_id()) {
  63886. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  63887. 1, this->packet_id(), output);
  63888. }
  63889. if (!unknown_fields().empty()) {
  63890. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  63891. unknown_fields(), output);
  63892. }
  63893. }
  63894. ::google::protobuf::uint8* packetc2w_get_touching_fish_rank::SerializeWithCachedSizesToArray(
  63895. ::google::protobuf::uint8* target) const {
  63896. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
  63897. if (has_packet_id()) {
  63898. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  63899. 1, this->packet_id(), target);
  63900. }
  63901. if (!unknown_fields().empty()) {
  63902. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  63903. unknown_fields(), target);
  63904. }
  63905. return target;
  63906. }
  63907. int packetc2w_get_touching_fish_rank::ByteSize() const {
  63908. int total_size = 0;
  63909. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63910. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
  63911. if (has_packet_id()) {
  63912. total_size += 1 +
  63913. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  63914. }
  63915. }
  63916. if (!unknown_fields().empty()) {
  63917. total_size +=
  63918. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  63919. unknown_fields());
  63920. }
  63921. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  63922. _cached_size_ = total_size;
  63923. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  63924. return total_size;
  63925. }
  63926. void packetc2w_get_touching_fish_rank::MergeFrom(const ::google::protobuf::Message& from) {
  63927. GOOGLE_CHECK_NE(&from, this);
  63928. const packetc2w_get_touching_fish_rank* source =
  63929. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_touching_fish_rank*>(
  63930. &from);
  63931. if (source == NULL) {
  63932. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  63933. } else {
  63934. MergeFrom(*source);
  63935. }
  63936. }
  63937. void packetc2w_get_touching_fish_rank::MergeFrom(const packetc2w_get_touching_fish_rank& from) {
  63938. GOOGLE_CHECK_NE(&from, this);
  63939. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  63940. if (from.has_packet_id()) {
  63941. set_packet_id(from.packet_id());
  63942. }
  63943. }
  63944. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  63945. }
  63946. void packetc2w_get_touching_fish_rank::CopyFrom(const ::google::protobuf::Message& from) {
  63947. if (&from == this) return;
  63948. Clear();
  63949. MergeFrom(from);
  63950. }
  63951. void packetc2w_get_touching_fish_rank::CopyFrom(const packetc2w_get_touching_fish_rank& from) {
  63952. if (&from == this) return;
  63953. Clear();
  63954. MergeFrom(from);
  63955. }
  63956. bool packetc2w_get_touching_fish_rank::IsInitialized() const {
  63957. return true;
  63958. }
  63959. void packetc2w_get_touching_fish_rank::Swap(packetc2w_get_touching_fish_rank* other) {
  63960. if (other != this) {
  63961. std::swap(packet_id_, other->packet_id_);
  63962. std::swap(_has_bits_[0], other->_has_bits_[0]);
  63963. _unknown_fields_.Swap(&other->_unknown_fields_);
  63964. std::swap(_cached_size_, other->_cached_size_);
  63965. }
  63966. }
  63967. ::google::protobuf::Metadata packetc2w_get_touching_fish_rank::GetMetadata() const {
  63968. protobuf_AssignDescriptorsOnce();
  63969. ::google::protobuf::Metadata metadata;
  63970. metadata.descriptor = packetc2w_get_touching_fish_rank_descriptor_;
  63971. metadata.reflection = packetc2w_get_touching_fish_rank_reflection_;
  63972. return metadata;
  63973. }
  63974. // ===================================================================
  63975. #ifndef _MSC_VER
  63976. const int packetw2c_get_touching_fish_rank_result::kPacketIdFieldNumber;
  63977. const int packetw2c_get_touching_fish_rank_result::kRankListFieldNumber;
  63978. const int packetw2c_get_touching_fish_rank_result::kThresholdValueFieldNumber;
  63979. const int packetw2c_get_touching_fish_rank_result::kMyRankFieldNumber;
  63980. #endif // !_MSC_VER
  63981. packetw2c_get_touching_fish_rank_result::packetw2c_get_touching_fish_rank_result()
  63982. : ::google::protobuf::Message() {
  63983. SharedCtor();
  63984. }
  63985. void packetw2c_get_touching_fish_rank_result::InitAsDefaultInstance() {
  63986. myrank_ = const_cast< ::client2world_protocols::activity_rank*>(&::client2world_protocols::activity_rank::default_instance());
  63987. }
  63988. packetw2c_get_touching_fish_rank_result::packetw2c_get_touching_fish_rank_result(const packetw2c_get_touching_fish_rank_result& from)
  63989. : ::google::protobuf::Message() {
  63990. SharedCtor();
  63991. MergeFrom(from);
  63992. }
  63993. void packetw2c_get_touching_fish_rank_result::SharedCtor() {
  63994. _cached_size_ = 0;
  63995. packet_id_ = 7784;
  63996. myrank_ = NULL;
  63997. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  63998. }
  63999. packetw2c_get_touching_fish_rank_result::~packetw2c_get_touching_fish_rank_result() {
  64000. SharedDtor();
  64001. }
  64002. void packetw2c_get_touching_fish_rank_result::SharedDtor() {
  64003. if (this != default_instance_) {
  64004. delete myrank_;
  64005. }
  64006. }
  64007. void packetw2c_get_touching_fish_rank_result::SetCachedSize(int size) const {
  64008. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  64009. _cached_size_ = size;
  64010. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  64011. }
  64012. const ::google::protobuf::Descriptor* packetw2c_get_touching_fish_rank_result::descriptor() {
  64013. protobuf_AssignDescriptorsOnce();
  64014. return packetw2c_get_touching_fish_rank_result_descriptor_;
  64015. }
  64016. const packetw2c_get_touching_fish_rank_result& packetw2c_get_touching_fish_rank_result::default_instance() {
  64017. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  64018. return *default_instance_;
  64019. }
  64020. packetw2c_get_touching_fish_rank_result* packetw2c_get_touching_fish_rank_result::default_instance_ = NULL;
  64021. packetw2c_get_touching_fish_rank_result* packetw2c_get_touching_fish_rank_result::New() const {
  64022. return new packetw2c_get_touching_fish_rank_result;
  64023. }
  64024. void packetw2c_get_touching_fish_rank_result::Clear() {
  64025. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  64026. packet_id_ = 7784;
  64027. if (has_myrank()) {
  64028. if (myrank_ != NULL) myrank_->::client2world_protocols::activity_rank::Clear();
  64029. }
  64030. }
  64031. ranklist_.Clear();
  64032. thresholdvalue_.Clear();
  64033. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  64034. mutable_unknown_fields()->Clear();
  64035. }
  64036. bool packetw2c_get_touching_fish_rank_result::MergePartialFromCodedStream(
  64037. ::google::protobuf::io::CodedInputStream* input) {
  64038. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  64039. ::google::protobuf::uint32 tag;
  64040. while ((tag = input->ReadTag()) != 0) {
  64041. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  64042. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result];
  64043. case 1: {
  64044. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64045. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64046. int value;
  64047. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64048. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  64049. input, &value)));
  64050. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  64051. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  64052. } else {
  64053. mutable_unknown_fields()->AddVarint(1, value);
  64054. }
  64055. } else {
  64056. goto handle_uninterpreted;
  64057. }
  64058. if (input->ExpectTag(18)) goto parse_rankList;
  64059. break;
  64060. }
  64061. // repeated .client2world_protocols.activity_rank rankList = 2;
  64062. case 2: {
  64063. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64064. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  64065. parse_rankList:
  64066. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  64067. input, add_ranklist()));
  64068. } else {
  64069. goto handle_uninterpreted;
  64070. }
  64071. if (input->ExpectTag(18)) goto parse_rankList;
  64072. if (input->ExpectTag(24)) goto parse_thresholdValue;
  64073. break;
  64074. }
  64075. // repeated int32 thresholdValue = 3;
  64076. case 3: {
  64077. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64078. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64079. parse_thresholdValue:
  64080. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  64081. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64082. 1, 24, input, this->mutable_thresholdvalue())));
  64083. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  64084. == ::google::protobuf::internal::WireFormatLite::
  64085. WIRETYPE_LENGTH_DELIMITED) {
  64086. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  64087. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64088. input, this->mutable_thresholdvalue())));
  64089. } else {
  64090. goto handle_uninterpreted;
  64091. }
  64092. if (input->ExpectTag(24)) goto parse_thresholdValue;
  64093. if (input->ExpectTag(34)) goto parse_myRank;
  64094. break;
  64095. }
  64096. // optional .client2world_protocols.activity_rank myRank = 4;
  64097. case 4: {
  64098. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64099. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  64100. parse_myRank:
  64101. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  64102. input, mutable_myrank()));
  64103. } else {
  64104. goto handle_uninterpreted;
  64105. }
  64106. if (input->ExpectAtEnd()) return true;
  64107. break;
  64108. }
  64109. default: {
  64110. handle_uninterpreted:
  64111. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64112. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  64113. return true;
  64114. }
  64115. DO_(::google::protobuf::internal::WireFormat::SkipField(
  64116. input, tag, mutable_unknown_fields()));
  64117. break;
  64118. }
  64119. }
  64120. }
  64121. return true;
  64122. #undef DO_
  64123. }
  64124. void packetw2c_get_touching_fish_rank_result::SerializeWithCachedSizes(
  64125. ::google::protobuf::io::CodedOutputStream* output) const {
  64126. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result];
  64127. if (has_packet_id()) {
  64128. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  64129. 1, this->packet_id(), output);
  64130. }
  64131. // repeated .client2world_protocols.activity_rank rankList = 2;
  64132. for (int i = 0; i < this->ranklist_size(); i++) {
  64133. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  64134. 2, this->ranklist(i), output);
  64135. }
  64136. // repeated int32 thresholdValue = 3;
  64137. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  64138. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  64139. 3, this->thresholdvalue(i), output);
  64140. }
  64141. // optional .client2world_protocols.activity_rank myRank = 4;
  64142. if (has_myrank()) {
  64143. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  64144. 4, this->myrank(), output);
  64145. }
  64146. if (!unknown_fields().empty()) {
  64147. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  64148. unknown_fields(), output);
  64149. }
  64150. }
  64151. ::google::protobuf::uint8* packetw2c_get_touching_fish_rank_result::SerializeWithCachedSizesToArray(
  64152. ::google::protobuf::uint8* target) const {
  64153. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result];
  64154. if (has_packet_id()) {
  64155. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  64156. 1, this->packet_id(), target);
  64157. }
  64158. // repeated .client2world_protocols.activity_rank rankList = 2;
  64159. for (int i = 0; i < this->ranklist_size(); i++) {
  64160. target = ::google::protobuf::internal::WireFormatLite::
  64161. WriteMessageNoVirtualToArray(
  64162. 2, this->ranklist(i), target);
  64163. }
  64164. // repeated int32 thresholdValue = 3;
  64165. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  64166. target = ::google::protobuf::internal::WireFormatLite::
  64167. WriteInt32ToArray(3, this->thresholdvalue(i), target);
  64168. }
  64169. // optional .client2world_protocols.activity_rank myRank = 4;
  64170. if (has_myrank()) {
  64171. target = ::google::protobuf::internal::WireFormatLite::
  64172. WriteMessageNoVirtualToArray(
  64173. 4, this->myrank(), target);
  64174. }
  64175. if (!unknown_fields().empty()) {
  64176. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  64177. unknown_fields(), target);
  64178. }
  64179. return target;
  64180. }
  64181. int packetw2c_get_touching_fish_rank_result::ByteSize() const {
  64182. int total_size = 0;
  64183. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  64184. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result];
  64185. if (has_packet_id()) {
  64186. total_size += 1 +
  64187. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  64188. }
  64189. // optional .client2world_protocols.activity_rank myRank = 4;
  64190. if (has_myrank()) {
  64191. total_size += 1 +
  64192. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  64193. this->myrank());
  64194. }
  64195. }
  64196. // repeated .client2world_protocols.activity_rank rankList = 2;
  64197. total_size += 1 * this->ranklist_size();
  64198. for (int i = 0; i < this->ranklist_size(); i++) {
  64199. total_size +=
  64200. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  64201. this->ranklist(i));
  64202. }
  64203. // repeated int32 thresholdValue = 3;
  64204. {
  64205. int data_size = 0;
  64206. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  64207. data_size += ::google::protobuf::internal::WireFormatLite::
  64208. Int32Size(this->thresholdvalue(i));
  64209. }
  64210. total_size += 1 * this->thresholdvalue_size() + data_size;
  64211. }
  64212. if (!unknown_fields().empty()) {
  64213. total_size +=
  64214. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  64215. unknown_fields());
  64216. }
  64217. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  64218. _cached_size_ = total_size;
  64219. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  64220. return total_size;
  64221. }
  64222. void packetw2c_get_touching_fish_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  64223. GOOGLE_CHECK_NE(&from, this);
  64224. const packetw2c_get_touching_fish_rank_result* source =
  64225. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_touching_fish_rank_result*>(
  64226. &from);
  64227. if (source == NULL) {
  64228. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  64229. } else {
  64230. MergeFrom(*source);
  64231. }
  64232. }
  64233. void packetw2c_get_touching_fish_rank_result::MergeFrom(const packetw2c_get_touching_fish_rank_result& from) {
  64234. GOOGLE_CHECK_NE(&from, this);
  64235. ranklist_.MergeFrom(from.ranklist_);
  64236. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  64237. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  64238. if (from.has_packet_id()) {
  64239. set_packet_id(from.packet_id());
  64240. }
  64241. if (from.has_myrank()) {
  64242. mutable_myrank()->::client2world_protocols::activity_rank::MergeFrom(from.myrank());
  64243. }
  64244. }
  64245. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  64246. }
  64247. void packetw2c_get_touching_fish_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  64248. if (&from == this) return;
  64249. Clear();
  64250. MergeFrom(from);
  64251. }
  64252. void packetw2c_get_touching_fish_rank_result::CopyFrom(const packetw2c_get_touching_fish_rank_result& from) {
  64253. if (&from == this) return;
  64254. Clear();
  64255. MergeFrom(from);
  64256. }
  64257. bool packetw2c_get_touching_fish_rank_result::IsInitialized() const {
  64258. return true;
  64259. }
  64260. void packetw2c_get_touching_fish_rank_result::Swap(packetw2c_get_touching_fish_rank_result* other) {
  64261. if (other != this) {
  64262. std::swap(packet_id_, other->packet_id_);
  64263. ranklist_.Swap(&other->ranklist_);
  64264. thresholdvalue_.Swap(&other->thresholdvalue_);
  64265. std::swap(myrank_, other->myrank_);
  64266. std::swap(_has_bits_[0], other->_has_bits_[0]);
  64267. _unknown_fields_.Swap(&other->_unknown_fields_);
  64268. std::swap(_cached_size_, other->_cached_size_);
  64269. }
  64270. }
  64271. ::google::protobuf::Metadata packetw2c_get_touching_fish_rank_result::GetMetadata() const {
  64272. protobuf_AssignDescriptorsOnce();
  64273. ::google::protobuf::Metadata metadata;
  64274. metadata.descriptor = packetw2c_get_touching_fish_rank_result_descriptor_;
  64275. metadata.reflection = packetw2c_get_touching_fish_rank_result_reflection_;
  64276. return metadata;
  64277. }
  64278. // ===================================================================
  64279. #ifndef _MSC_VER
  64280. const int packetw2c_syn_fishing_celebration_info::kPacketIdFieldNumber;
  64281. const int packetw2c_syn_fishing_celebration_info::kActivityStateFieldNumber;
  64282. const int packetw2c_syn_fishing_celebration_info::kStartTimeFieldNumber;
  64283. const int packetw2c_syn_fishing_celebration_info::kEndTimeFieldNumber;
  64284. const int packetw2c_syn_fishing_celebration_info::kCurlvFieldNumber;
  64285. const int packetw2c_syn_fishing_celebration_info::kBubbleScoreFieldNumber;
  64286. const int packetw2c_syn_fishing_celebration_info::kCleTicketFieldNumber;
  64287. const int packetw2c_syn_fishing_celebration_info::kCleLotteryTicketFieldNumber;
  64288. const int packetw2c_syn_fishing_celebration_info::kLotteryCountFieldNumber;
  64289. const int packetw2c_syn_fishing_celebration_info::kGiftLotteryCountFieldNumber;
  64290. const int packetw2c_syn_fishing_celebration_info::kGiftLotteryFreeCountFieldNumber;
  64291. const int packetw2c_syn_fishing_celebration_info::kGiftLotteryStateFieldNumber;
  64292. const int packetw2c_syn_fishing_celebration_info::kGiftLotteryTicketFieldNumber;
  64293. const int packetw2c_syn_fishing_celebration_info::kExchangeListFieldNumber;
  64294. const int packetw2c_syn_fishing_celebration_info::kItemAFieldNumber;
  64295. const int packetw2c_syn_fishing_celebration_info::kItemBFieldNumber;
  64296. const int packetw2c_syn_fishing_celebration_info::kItemCFieldNumber;
  64297. const int packetw2c_syn_fishing_celebration_info::kRankListFieldNumber;
  64298. const int packetw2c_syn_fishing_celebration_info::kThresholdValueFieldNumber;
  64299. #endif // !_MSC_VER
  64300. packetw2c_syn_fishing_celebration_info::packetw2c_syn_fishing_celebration_info()
  64301. : ::google::protobuf::Message() {
  64302. SharedCtor();
  64303. }
  64304. void packetw2c_syn_fishing_celebration_info::InitAsDefaultInstance() {
  64305. }
  64306. packetw2c_syn_fishing_celebration_info::packetw2c_syn_fishing_celebration_info(const packetw2c_syn_fishing_celebration_info& from)
  64307. : ::google::protobuf::Message() {
  64308. SharedCtor();
  64309. MergeFrom(from);
  64310. }
  64311. void packetw2c_syn_fishing_celebration_info::SharedCtor() {
  64312. _cached_size_ = 0;
  64313. packet_id_ = 7785;
  64314. activitystate_ = 0;
  64315. starttime_ = 0;
  64316. endtime_ = 0;
  64317. curlv_ = 0;
  64318. bubblescore_ = 0;
  64319. cleticket_ = 0;
  64320. clelotteryticket_ = 0;
  64321. lotterycount_ = 0;
  64322. itema_ = false;
  64323. itemb_ = false;
  64324. itemc_ = false;
  64325. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  64326. }
  64327. packetw2c_syn_fishing_celebration_info::~packetw2c_syn_fishing_celebration_info() {
  64328. SharedDtor();
  64329. }
  64330. void packetw2c_syn_fishing_celebration_info::SharedDtor() {
  64331. if (this != default_instance_) {
  64332. }
  64333. }
  64334. void packetw2c_syn_fishing_celebration_info::SetCachedSize(int size) const {
  64335. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  64336. _cached_size_ = size;
  64337. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  64338. }
  64339. const ::google::protobuf::Descriptor* packetw2c_syn_fishing_celebration_info::descriptor() {
  64340. protobuf_AssignDescriptorsOnce();
  64341. return packetw2c_syn_fishing_celebration_info_descriptor_;
  64342. }
  64343. const packetw2c_syn_fishing_celebration_info& packetw2c_syn_fishing_celebration_info::default_instance() {
  64344. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  64345. return *default_instance_;
  64346. }
  64347. packetw2c_syn_fishing_celebration_info* packetw2c_syn_fishing_celebration_info::default_instance_ = NULL;
  64348. packetw2c_syn_fishing_celebration_info* packetw2c_syn_fishing_celebration_info::New() const {
  64349. return new packetw2c_syn_fishing_celebration_info;
  64350. }
  64351. void packetw2c_syn_fishing_celebration_info::Clear() {
  64352. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  64353. packet_id_ = 7785;
  64354. activitystate_ = 0;
  64355. starttime_ = 0;
  64356. endtime_ = 0;
  64357. curlv_ = 0;
  64358. bubblescore_ = 0;
  64359. cleticket_ = 0;
  64360. clelotteryticket_ = 0;
  64361. }
  64362. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  64363. lotterycount_ = 0;
  64364. itema_ = false;
  64365. itemb_ = false;
  64366. }
  64367. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  64368. itemc_ = false;
  64369. }
  64370. giftlotterycount_.Clear();
  64371. giftlotteryfreecount_.Clear();
  64372. giftlotterystate_.Clear();
  64373. giftlotteryticket_.Clear();
  64374. exchangelist_.Clear();
  64375. ranklist_.Clear();
  64376. thresholdvalue_.Clear();
  64377. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  64378. mutable_unknown_fields()->Clear();
  64379. }
  64380. bool packetw2c_syn_fishing_celebration_info::MergePartialFromCodedStream(
  64381. ::google::protobuf::io::CodedInputStream* input) {
  64382. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  64383. ::google::protobuf::uint32 tag;
  64384. while ((tag = input->ReadTag()) != 0) {
  64385. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  64386. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_info];
  64387. case 1: {
  64388. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64389. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64390. int value;
  64391. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64392. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  64393. input, &value)));
  64394. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  64395. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  64396. } else {
  64397. mutable_unknown_fields()->AddVarint(1, value);
  64398. }
  64399. } else {
  64400. goto handle_uninterpreted;
  64401. }
  64402. if (input->ExpectTag(16)) goto parse_activityState;
  64403. break;
  64404. }
  64405. // optional int32 activityState = 2;
  64406. case 2: {
  64407. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64408. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64409. parse_activityState:
  64410. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64411. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64412. input, &activitystate_)));
  64413. set_has_activitystate();
  64414. } else {
  64415. goto handle_uninterpreted;
  64416. }
  64417. if (input->ExpectTag(24)) goto parse_startTime;
  64418. break;
  64419. }
  64420. // optional int32 startTime = 3;
  64421. case 3: {
  64422. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64423. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64424. parse_startTime:
  64425. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64426. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64427. input, &starttime_)));
  64428. set_has_starttime();
  64429. } else {
  64430. goto handle_uninterpreted;
  64431. }
  64432. if (input->ExpectTag(32)) goto parse_endTime;
  64433. break;
  64434. }
  64435. // optional int32 endTime = 4;
  64436. case 4: {
  64437. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64438. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64439. parse_endTime:
  64440. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64441. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64442. input, &endtime_)));
  64443. set_has_endtime();
  64444. } else {
  64445. goto handle_uninterpreted;
  64446. }
  64447. if (input->ExpectTag(40)) goto parse_curlv;
  64448. break;
  64449. }
  64450. // optional int32 curlv = 5;
  64451. case 5: {
  64452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64454. parse_curlv:
  64455. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64456. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64457. input, &curlv_)));
  64458. set_has_curlv();
  64459. } else {
  64460. goto handle_uninterpreted;
  64461. }
  64462. if (input->ExpectTag(48)) goto parse_bubbleScore;
  64463. break;
  64464. }
  64465. // optional int32 bubbleScore = 6;
  64466. case 6: {
  64467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64469. parse_bubbleScore:
  64470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64471. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64472. input, &bubblescore_)));
  64473. set_has_bubblescore();
  64474. } else {
  64475. goto handle_uninterpreted;
  64476. }
  64477. if (input->ExpectTag(56)) goto parse_cleTicket;
  64478. break;
  64479. }
  64480. // optional int32 cleTicket = 7;
  64481. case 7: {
  64482. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64483. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64484. parse_cleTicket:
  64485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64486. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64487. input, &cleticket_)));
  64488. set_has_cleticket();
  64489. } else {
  64490. goto handle_uninterpreted;
  64491. }
  64492. if (input->ExpectTag(64)) goto parse_cleLotteryTicket;
  64493. break;
  64494. }
  64495. // optional int32 cleLotteryTicket = 8;
  64496. case 8: {
  64497. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64498. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64499. parse_cleLotteryTicket:
  64500. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64501. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64502. input, &clelotteryticket_)));
  64503. set_has_clelotteryticket();
  64504. } else {
  64505. goto handle_uninterpreted;
  64506. }
  64507. if (input->ExpectTag(72)) goto parse_lotteryCount;
  64508. break;
  64509. }
  64510. // optional int32 lotteryCount = 9;
  64511. case 9: {
  64512. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64513. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64514. parse_lotteryCount:
  64515. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64516. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64517. input, &lotterycount_)));
  64518. set_has_lotterycount();
  64519. } else {
  64520. goto handle_uninterpreted;
  64521. }
  64522. if (input->ExpectTag(80)) goto parse_giftLotteryCount;
  64523. break;
  64524. }
  64525. // repeated int32 giftLotteryCount = 10;
  64526. case 10: {
  64527. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64528. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64529. parse_giftLotteryCount:
  64530. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  64531. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64532. 1, 80, input, this->mutable_giftlotterycount())));
  64533. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  64534. == ::google::protobuf::internal::WireFormatLite::
  64535. WIRETYPE_LENGTH_DELIMITED) {
  64536. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  64537. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64538. input, this->mutable_giftlotterycount())));
  64539. } else {
  64540. goto handle_uninterpreted;
  64541. }
  64542. if (input->ExpectTag(80)) goto parse_giftLotteryCount;
  64543. if (input->ExpectTag(88)) goto parse_giftLotteryFreeCount;
  64544. break;
  64545. }
  64546. // repeated int32 giftLotteryFreeCount = 11;
  64547. case 11: {
  64548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64550. parse_giftLotteryFreeCount:
  64551. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  64552. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64553. 1, 88, input, this->mutable_giftlotteryfreecount())));
  64554. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  64555. == ::google::protobuf::internal::WireFormatLite::
  64556. WIRETYPE_LENGTH_DELIMITED) {
  64557. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  64558. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64559. input, this->mutable_giftlotteryfreecount())));
  64560. } else {
  64561. goto handle_uninterpreted;
  64562. }
  64563. if (input->ExpectTag(88)) goto parse_giftLotteryFreeCount;
  64564. if (input->ExpectTag(96)) goto parse_giftLotteryState;
  64565. break;
  64566. }
  64567. // repeated int32 giftLotteryState = 12;
  64568. case 12: {
  64569. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64570. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64571. parse_giftLotteryState:
  64572. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  64573. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64574. 1, 96, input, this->mutable_giftlotterystate())));
  64575. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  64576. == ::google::protobuf::internal::WireFormatLite::
  64577. WIRETYPE_LENGTH_DELIMITED) {
  64578. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  64579. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64580. input, this->mutable_giftlotterystate())));
  64581. } else {
  64582. goto handle_uninterpreted;
  64583. }
  64584. if (input->ExpectTag(96)) goto parse_giftLotteryState;
  64585. if (input->ExpectTag(104)) goto parse_giftLotteryTicket;
  64586. break;
  64587. }
  64588. // repeated int32 giftLotteryTicket = 13;
  64589. case 13: {
  64590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64592. parse_giftLotteryTicket:
  64593. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  64594. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64595. 1, 104, input, this->mutable_giftlotteryticket())));
  64596. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  64597. == ::google::protobuf::internal::WireFormatLite::
  64598. WIRETYPE_LENGTH_DELIMITED) {
  64599. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  64600. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64601. input, this->mutable_giftlotteryticket())));
  64602. } else {
  64603. goto handle_uninterpreted;
  64604. }
  64605. if (input->ExpectTag(104)) goto parse_giftLotteryTicket;
  64606. if (input->ExpectTag(114)) goto parse_exchangeList;
  64607. break;
  64608. }
  64609. // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  64610. case 14: {
  64611. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64612. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  64613. parse_exchangeList:
  64614. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  64615. input, add_exchangelist()));
  64616. } else {
  64617. goto handle_uninterpreted;
  64618. }
  64619. if (input->ExpectTag(114)) goto parse_exchangeList;
  64620. if (input->ExpectTag(120)) goto parse_itemA;
  64621. break;
  64622. }
  64623. // optional bool itemA = 15;
  64624. case 15: {
  64625. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64626. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64627. parse_itemA:
  64628. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64629. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  64630. input, &itema_)));
  64631. set_has_itema();
  64632. } else {
  64633. goto handle_uninterpreted;
  64634. }
  64635. if (input->ExpectTag(128)) goto parse_itemB;
  64636. break;
  64637. }
  64638. // optional bool itemB = 16;
  64639. case 16: {
  64640. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64641. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64642. parse_itemB:
  64643. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64644. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  64645. input, &itemb_)));
  64646. set_has_itemb();
  64647. } else {
  64648. goto handle_uninterpreted;
  64649. }
  64650. if (input->ExpectTag(136)) goto parse_itemC;
  64651. break;
  64652. }
  64653. // optional bool itemC = 17;
  64654. case 17: {
  64655. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64656. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64657. parse_itemC:
  64658. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  64659. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  64660. input, &itemc_)));
  64661. set_has_itemc();
  64662. } else {
  64663. goto handle_uninterpreted;
  64664. }
  64665. if (input->ExpectTag(146)) goto parse_rankList;
  64666. break;
  64667. }
  64668. // repeated .client2world_protocols.activity_rank rankList = 18;
  64669. case 18: {
  64670. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64671. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  64672. parse_rankList:
  64673. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  64674. input, add_ranklist()));
  64675. } else {
  64676. goto handle_uninterpreted;
  64677. }
  64678. if (input->ExpectTag(146)) goto parse_rankList;
  64679. if (input->ExpectTag(152)) goto parse_thresholdValue;
  64680. break;
  64681. }
  64682. // repeated int32 thresholdValue = 19;
  64683. case 19: {
  64684. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64685. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  64686. parse_thresholdValue:
  64687. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  64688. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64689. 2, 152, input, this->mutable_thresholdvalue())));
  64690. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  64691. == ::google::protobuf::internal::WireFormatLite::
  64692. WIRETYPE_LENGTH_DELIMITED) {
  64693. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  64694. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  64695. input, this->mutable_thresholdvalue())));
  64696. } else {
  64697. goto handle_uninterpreted;
  64698. }
  64699. if (input->ExpectTag(152)) goto parse_thresholdValue;
  64700. if (input->ExpectAtEnd()) return true;
  64701. break;
  64702. }
  64703. default: {
  64704. handle_uninterpreted:
  64705. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  64706. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  64707. return true;
  64708. }
  64709. DO_(::google::protobuf::internal::WireFormat::SkipField(
  64710. input, tag, mutable_unknown_fields()));
  64711. break;
  64712. }
  64713. }
  64714. }
  64715. return true;
  64716. #undef DO_
  64717. }
  64718. void packetw2c_syn_fishing_celebration_info::SerializeWithCachedSizes(
  64719. ::google::protobuf::io::CodedOutputStream* output) const {
  64720. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_info];
  64721. if (has_packet_id()) {
  64722. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  64723. 1, this->packet_id(), output);
  64724. }
  64725. // optional int32 activityState = 2;
  64726. if (has_activitystate()) {
  64727. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  64728. }
  64729. // optional int32 startTime = 3;
  64730. if (has_starttime()) {
  64731. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  64732. }
  64733. // optional int32 endTime = 4;
  64734. if (has_endtime()) {
  64735. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  64736. }
  64737. // optional int32 curlv = 5;
  64738. if (has_curlv()) {
  64739. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->curlv(), output);
  64740. }
  64741. // optional int32 bubbleScore = 6;
  64742. if (has_bubblescore()) {
  64743. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bubblescore(), output);
  64744. }
  64745. // optional int32 cleTicket = 7;
  64746. if (has_cleticket()) {
  64747. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->cleticket(), output);
  64748. }
  64749. // optional int32 cleLotteryTicket = 8;
  64750. if (has_clelotteryticket()) {
  64751. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->clelotteryticket(), output);
  64752. }
  64753. // optional int32 lotteryCount = 9;
  64754. if (has_lotterycount()) {
  64755. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->lotterycount(), output);
  64756. }
  64757. // repeated int32 giftLotteryCount = 10;
  64758. for (int i = 0; i < this->giftlotterycount_size(); i++) {
  64759. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  64760. 10, this->giftlotterycount(i), output);
  64761. }
  64762. // repeated int32 giftLotteryFreeCount = 11;
  64763. for (int i = 0; i < this->giftlotteryfreecount_size(); i++) {
  64764. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  64765. 11, this->giftlotteryfreecount(i), output);
  64766. }
  64767. // repeated int32 giftLotteryState = 12;
  64768. for (int i = 0; i < this->giftlotterystate_size(); i++) {
  64769. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  64770. 12, this->giftlotterystate(i), output);
  64771. }
  64772. // repeated int32 giftLotteryTicket = 13;
  64773. for (int i = 0; i < this->giftlotteryticket_size(); i++) {
  64774. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  64775. 13, this->giftlotteryticket(i), output);
  64776. }
  64777. // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  64778. for (int i = 0; i < this->exchangelist_size(); i++) {
  64779. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  64780. 14, this->exchangelist(i), output);
  64781. }
  64782. // optional bool itemA = 15;
  64783. if (has_itema()) {
  64784. ::google::protobuf::internal::WireFormatLite::WriteBool(15, this->itema(), output);
  64785. }
  64786. // optional bool itemB = 16;
  64787. if (has_itemb()) {
  64788. ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->itemb(), output);
  64789. }
  64790. // optional bool itemC = 17;
  64791. if (has_itemc()) {
  64792. ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->itemc(), output);
  64793. }
  64794. // repeated .client2world_protocols.activity_rank rankList = 18;
  64795. for (int i = 0; i < this->ranklist_size(); i++) {
  64796. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  64797. 18, this->ranklist(i), output);
  64798. }
  64799. // repeated int32 thresholdValue = 19;
  64800. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  64801. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  64802. 19, this->thresholdvalue(i), output);
  64803. }
  64804. if (!unknown_fields().empty()) {
  64805. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  64806. unknown_fields(), output);
  64807. }
  64808. }
  64809. ::google::protobuf::uint8* packetw2c_syn_fishing_celebration_info::SerializeWithCachedSizesToArray(
  64810. ::google::protobuf::uint8* target) const {
  64811. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_info];
  64812. if (has_packet_id()) {
  64813. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  64814. 1, this->packet_id(), target);
  64815. }
  64816. // optional int32 activityState = 2;
  64817. if (has_activitystate()) {
  64818. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  64819. }
  64820. // optional int32 startTime = 3;
  64821. if (has_starttime()) {
  64822. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  64823. }
  64824. // optional int32 endTime = 4;
  64825. if (has_endtime()) {
  64826. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  64827. }
  64828. // optional int32 curlv = 5;
  64829. if (has_curlv()) {
  64830. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->curlv(), target);
  64831. }
  64832. // optional int32 bubbleScore = 6;
  64833. if (has_bubblescore()) {
  64834. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bubblescore(), target);
  64835. }
  64836. // optional int32 cleTicket = 7;
  64837. if (has_cleticket()) {
  64838. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->cleticket(), target);
  64839. }
  64840. // optional int32 cleLotteryTicket = 8;
  64841. if (has_clelotteryticket()) {
  64842. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->clelotteryticket(), target);
  64843. }
  64844. // optional int32 lotteryCount = 9;
  64845. if (has_lotterycount()) {
  64846. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->lotterycount(), target);
  64847. }
  64848. // repeated int32 giftLotteryCount = 10;
  64849. for (int i = 0; i < this->giftlotterycount_size(); i++) {
  64850. target = ::google::protobuf::internal::WireFormatLite::
  64851. WriteInt32ToArray(10, this->giftlotterycount(i), target);
  64852. }
  64853. // repeated int32 giftLotteryFreeCount = 11;
  64854. for (int i = 0; i < this->giftlotteryfreecount_size(); i++) {
  64855. target = ::google::protobuf::internal::WireFormatLite::
  64856. WriteInt32ToArray(11, this->giftlotteryfreecount(i), target);
  64857. }
  64858. // repeated int32 giftLotteryState = 12;
  64859. for (int i = 0; i < this->giftlotterystate_size(); i++) {
  64860. target = ::google::protobuf::internal::WireFormatLite::
  64861. WriteInt32ToArray(12, this->giftlotterystate(i), target);
  64862. }
  64863. // repeated int32 giftLotteryTicket = 13;
  64864. for (int i = 0; i < this->giftlotteryticket_size(); i++) {
  64865. target = ::google::protobuf::internal::WireFormatLite::
  64866. WriteInt32ToArray(13, this->giftlotteryticket(i), target);
  64867. }
  64868. // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  64869. for (int i = 0; i < this->exchangelist_size(); i++) {
  64870. target = ::google::protobuf::internal::WireFormatLite::
  64871. WriteMessageNoVirtualToArray(
  64872. 14, this->exchangelist(i), target);
  64873. }
  64874. // optional bool itemA = 15;
  64875. if (has_itema()) {
  64876. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(15, this->itema(), target);
  64877. }
  64878. // optional bool itemB = 16;
  64879. if (has_itemb()) {
  64880. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->itemb(), target);
  64881. }
  64882. // optional bool itemC = 17;
  64883. if (has_itemc()) {
  64884. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->itemc(), target);
  64885. }
  64886. // repeated .client2world_protocols.activity_rank rankList = 18;
  64887. for (int i = 0; i < this->ranklist_size(); i++) {
  64888. target = ::google::protobuf::internal::WireFormatLite::
  64889. WriteMessageNoVirtualToArray(
  64890. 18, this->ranklist(i), target);
  64891. }
  64892. // repeated int32 thresholdValue = 19;
  64893. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  64894. target = ::google::protobuf::internal::WireFormatLite::
  64895. WriteInt32ToArray(19, this->thresholdvalue(i), target);
  64896. }
  64897. if (!unknown_fields().empty()) {
  64898. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  64899. unknown_fields(), target);
  64900. }
  64901. return target;
  64902. }
  64903. int packetw2c_syn_fishing_celebration_info::ByteSize() const {
  64904. int total_size = 0;
  64905. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  64906. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_info];
  64907. if (has_packet_id()) {
  64908. total_size += 1 +
  64909. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  64910. }
  64911. // optional int32 activityState = 2;
  64912. if (has_activitystate()) {
  64913. total_size += 1 +
  64914. ::google::protobuf::internal::WireFormatLite::Int32Size(
  64915. this->activitystate());
  64916. }
  64917. // optional int32 startTime = 3;
  64918. if (has_starttime()) {
  64919. total_size += 1 +
  64920. ::google::protobuf::internal::WireFormatLite::Int32Size(
  64921. this->starttime());
  64922. }
  64923. // optional int32 endTime = 4;
  64924. if (has_endtime()) {
  64925. total_size += 1 +
  64926. ::google::protobuf::internal::WireFormatLite::Int32Size(
  64927. this->endtime());
  64928. }
  64929. // optional int32 curlv = 5;
  64930. if (has_curlv()) {
  64931. total_size += 1 +
  64932. ::google::protobuf::internal::WireFormatLite::Int32Size(
  64933. this->curlv());
  64934. }
  64935. // optional int32 bubbleScore = 6;
  64936. if (has_bubblescore()) {
  64937. total_size += 1 +
  64938. ::google::protobuf::internal::WireFormatLite::Int32Size(
  64939. this->bubblescore());
  64940. }
  64941. // optional int32 cleTicket = 7;
  64942. if (has_cleticket()) {
  64943. total_size += 1 +
  64944. ::google::protobuf::internal::WireFormatLite::Int32Size(
  64945. this->cleticket());
  64946. }
  64947. // optional int32 cleLotteryTicket = 8;
  64948. if (has_clelotteryticket()) {
  64949. total_size += 1 +
  64950. ::google::protobuf::internal::WireFormatLite::Int32Size(
  64951. this->clelotteryticket());
  64952. }
  64953. }
  64954. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  64955. // optional int32 lotteryCount = 9;
  64956. if (has_lotterycount()) {
  64957. total_size += 1 +
  64958. ::google::protobuf::internal::WireFormatLite::Int32Size(
  64959. this->lotterycount());
  64960. }
  64961. // optional bool itemA = 15;
  64962. if (has_itema()) {
  64963. total_size += 1 + 1;
  64964. }
  64965. // optional bool itemB = 16;
  64966. if (has_itemb()) {
  64967. total_size += 2 + 1;
  64968. }
  64969. }
  64970. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  64971. // optional bool itemC = 17;
  64972. if (has_itemc()) {
  64973. total_size += 2 + 1;
  64974. }
  64975. }
  64976. // repeated int32 giftLotteryCount = 10;
  64977. {
  64978. int data_size = 0;
  64979. for (int i = 0; i < this->giftlotterycount_size(); i++) {
  64980. data_size += ::google::protobuf::internal::WireFormatLite::
  64981. Int32Size(this->giftlotterycount(i));
  64982. }
  64983. total_size += 1 * this->giftlotterycount_size() + data_size;
  64984. }
  64985. // repeated int32 giftLotteryFreeCount = 11;
  64986. {
  64987. int data_size = 0;
  64988. for (int i = 0; i < this->giftlotteryfreecount_size(); i++) {
  64989. data_size += ::google::protobuf::internal::WireFormatLite::
  64990. Int32Size(this->giftlotteryfreecount(i));
  64991. }
  64992. total_size += 1 * this->giftlotteryfreecount_size() + data_size;
  64993. }
  64994. // repeated int32 giftLotteryState = 12;
  64995. {
  64996. int data_size = 0;
  64997. for (int i = 0; i < this->giftlotterystate_size(); i++) {
  64998. data_size += ::google::protobuf::internal::WireFormatLite::
  64999. Int32Size(this->giftlotterystate(i));
  65000. }
  65001. total_size += 1 * this->giftlotterystate_size() + data_size;
  65002. }
  65003. // repeated int32 giftLotteryTicket = 13;
  65004. {
  65005. int data_size = 0;
  65006. for (int i = 0; i < this->giftlotteryticket_size(); i++) {
  65007. data_size += ::google::protobuf::internal::WireFormatLite::
  65008. Int32Size(this->giftlotteryticket(i));
  65009. }
  65010. total_size += 1 * this->giftlotteryticket_size() + data_size;
  65011. }
  65012. // repeated .client2world_protocols.exchangeInfo exchangeList = 14;
  65013. total_size += 1 * this->exchangelist_size();
  65014. for (int i = 0; i < this->exchangelist_size(); i++) {
  65015. total_size +=
  65016. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  65017. this->exchangelist(i));
  65018. }
  65019. // repeated .client2world_protocols.activity_rank rankList = 18;
  65020. total_size += 2 * this->ranklist_size();
  65021. for (int i = 0; i < this->ranklist_size(); i++) {
  65022. total_size +=
  65023. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  65024. this->ranklist(i));
  65025. }
  65026. // repeated int32 thresholdValue = 19;
  65027. {
  65028. int data_size = 0;
  65029. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  65030. data_size += ::google::protobuf::internal::WireFormatLite::
  65031. Int32Size(this->thresholdvalue(i));
  65032. }
  65033. total_size += 2 * this->thresholdvalue_size() + data_size;
  65034. }
  65035. if (!unknown_fields().empty()) {
  65036. total_size +=
  65037. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  65038. unknown_fields());
  65039. }
  65040. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  65041. _cached_size_ = total_size;
  65042. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  65043. return total_size;
  65044. }
  65045. void packetw2c_syn_fishing_celebration_info::MergeFrom(const ::google::protobuf::Message& from) {
  65046. GOOGLE_CHECK_NE(&from, this);
  65047. const packetw2c_syn_fishing_celebration_info* source =
  65048. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_fishing_celebration_info*>(
  65049. &from);
  65050. if (source == NULL) {
  65051. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  65052. } else {
  65053. MergeFrom(*source);
  65054. }
  65055. }
  65056. void packetw2c_syn_fishing_celebration_info::MergeFrom(const packetw2c_syn_fishing_celebration_info& from) {
  65057. GOOGLE_CHECK_NE(&from, this);
  65058. giftlotterycount_.MergeFrom(from.giftlotterycount_);
  65059. giftlotteryfreecount_.MergeFrom(from.giftlotteryfreecount_);
  65060. giftlotterystate_.MergeFrom(from.giftlotterystate_);
  65061. giftlotteryticket_.MergeFrom(from.giftlotteryticket_);
  65062. exchangelist_.MergeFrom(from.exchangelist_);
  65063. ranklist_.MergeFrom(from.ranklist_);
  65064. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  65065. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65066. if (from.has_packet_id()) {
  65067. set_packet_id(from.packet_id());
  65068. }
  65069. if (from.has_activitystate()) {
  65070. set_activitystate(from.activitystate());
  65071. }
  65072. if (from.has_starttime()) {
  65073. set_starttime(from.starttime());
  65074. }
  65075. if (from.has_endtime()) {
  65076. set_endtime(from.endtime());
  65077. }
  65078. if (from.has_curlv()) {
  65079. set_curlv(from.curlv());
  65080. }
  65081. if (from.has_bubblescore()) {
  65082. set_bubblescore(from.bubblescore());
  65083. }
  65084. if (from.has_cleticket()) {
  65085. set_cleticket(from.cleticket());
  65086. }
  65087. if (from.has_clelotteryticket()) {
  65088. set_clelotteryticket(from.clelotteryticket());
  65089. }
  65090. }
  65091. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  65092. if (from.has_lotterycount()) {
  65093. set_lotterycount(from.lotterycount());
  65094. }
  65095. if (from.has_itema()) {
  65096. set_itema(from.itema());
  65097. }
  65098. if (from.has_itemb()) {
  65099. set_itemb(from.itemb());
  65100. }
  65101. }
  65102. if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  65103. if (from.has_itemc()) {
  65104. set_itemc(from.itemc());
  65105. }
  65106. }
  65107. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  65108. }
  65109. void packetw2c_syn_fishing_celebration_info::CopyFrom(const ::google::protobuf::Message& from) {
  65110. if (&from == this) return;
  65111. Clear();
  65112. MergeFrom(from);
  65113. }
  65114. void packetw2c_syn_fishing_celebration_info::CopyFrom(const packetw2c_syn_fishing_celebration_info& from) {
  65115. if (&from == this) return;
  65116. Clear();
  65117. MergeFrom(from);
  65118. }
  65119. bool packetw2c_syn_fishing_celebration_info::IsInitialized() const {
  65120. return true;
  65121. }
  65122. void packetw2c_syn_fishing_celebration_info::Swap(packetw2c_syn_fishing_celebration_info* other) {
  65123. if (other != this) {
  65124. std::swap(packet_id_, other->packet_id_);
  65125. std::swap(activitystate_, other->activitystate_);
  65126. std::swap(starttime_, other->starttime_);
  65127. std::swap(endtime_, other->endtime_);
  65128. std::swap(curlv_, other->curlv_);
  65129. std::swap(bubblescore_, other->bubblescore_);
  65130. std::swap(cleticket_, other->cleticket_);
  65131. std::swap(clelotteryticket_, other->clelotteryticket_);
  65132. std::swap(lotterycount_, other->lotterycount_);
  65133. giftlotterycount_.Swap(&other->giftlotterycount_);
  65134. giftlotteryfreecount_.Swap(&other->giftlotteryfreecount_);
  65135. giftlotterystate_.Swap(&other->giftlotterystate_);
  65136. giftlotteryticket_.Swap(&other->giftlotteryticket_);
  65137. exchangelist_.Swap(&other->exchangelist_);
  65138. std::swap(itema_, other->itema_);
  65139. std::swap(itemb_, other->itemb_);
  65140. std::swap(itemc_, other->itemc_);
  65141. ranklist_.Swap(&other->ranklist_);
  65142. thresholdvalue_.Swap(&other->thresholdvalue_);
  65143. std::swap(_has_bits_[0], other->_has_bits_[0]);
  65144. _unknown_fields_.Swap(&other->_unknown_fields_);
  65145. std::swap(_cached_size_, other->_cached_size_);
  65146. }
  65147. }
  65148. ::google::protobuf::Metadata packetw2c_syn_fishing_celebration_info::GetMetadata() const {
  65149. protobuf_AssignDescriptorsOnce();
  65150. ::google::protobuf::Metadata metadata;
  65151. metadata.descriptor = packetw2c_syn_fishing_celebration_info_descriptor_;
  65152. metadata.reflection = packetw2c_syn_fishing_celebration_info_reflection_;
  65153. return metadata;
  65154. }
  65155. // ===================================================================
  65156. #ifndef _MSC_VER
  65157. const int packetc2w_fishing_celebration_lottery::kPacketIdFieldNumber;
  65158. const int packetc2w_fishing_celebration_lottery::kAllLotteryFieldNumber;
  65159. const int packetc2w_fishing_celebration_lottery::kTypeFieldNumber;
  65160. #endif // !_MSC_VER
  65161. packetc2w_fishing_celebration_lottery::packetc2w_fishing_celebration_lottery()
  65162. : ::google::protobuf::Message() {
  65163. SharedCtor();
  65164. }
  65165. void packetc2w_fishing_celebration_lottery::InitAsDefaultInstance() {
  65166. }
  65167. packetc2w_fishing_celebration_lottery::packetc2w_fishing_celebration_lottery(const packetc2w_fishing_celebration_lottery& from)
  65168. : ::google::protobuf::Message() {
  65169. SharedCtor();
  65170. MergeFrom(from);
  65171. }
  65172. void packetc2w_fishing_celebration_lottery::SharedCtor() {
  65173. _cached_size_ = 0;
  65174. packet_id_ = 5241;
  65175. alllottery_ = false;
  65176. type_ = 0;
  65177. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  65178. }
  65179. packetc2w_fishing_celebration_lottery::~packetc2w_fishing_celebration_lottery() {
  65180. SharedDtor();
  65181. }
  65182. void packetc2w_fishing_celebration_lottery::SharedDtor() {
  65183. if (this != default_instance_) {
  65184. }
  65185. }
  65186. void packetc2w_fishing_celebration_lottery::SetCachedSize(int size) const {
  65187. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  65188. _cached_size_ = size;
  65189. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  65190. }
  65191. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_lottery::descriptor() {
  65192. protobuf_AssignDescriptorsOnce();
  65193. return packetc2w_fishing_celebration_lottery_descriptor_;
  65194. }
  65195. const packetc2w_fishing_celebration_lottery& packetc2w_fishing_celebration_lottery::default_instance() {
  65196. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  65197. return *default_instance_;
  65198. }
  65199. packetc2w_fishing_celebration_lottery* packetc2w_fishing_celebration_lottery::default_instance_ = NULL;
  65200. packetc2w_fishing_celebration_lottery* packetc2w_fishing_celebration_lottery::New() const {
  65201. return new packetc2w_fishing_celebration_lottery;
  65202. }
  65203. void packetc2w_fishing_celebration_lottery::Clear() {
  65204. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65205. packet_id_ = 5241;
  65206. alllottery_ = false;
  65207. type_ = 0;
  65208. }
  65209. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  65210. mutable_unknown_fields()->Clear();
  65211. }
  65212. bool packetc2w_fishing_celebration_lottery::MergePartialFromCodedStream(
  65213. ::google::protobuf::io::CodedInputStream* input) {
  65214. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  65215. ::google::protobuf::uint32 tag;
  65216. while ((tag = input->ReadTag()) != 0) {
  65217. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  65218. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_lottery];
  65219. case 1: {
  65220. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65221. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65222. int value;
  65223. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65224. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  65225. input, &value)));
  65226. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  65227. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  65228. } else {
  65229. mutable_unknown_fields()->AddVarint(1, value);
  65230. }
  65231. } else {
  65232. goto handle_uninterpreted;
  65233. }
  65234. if (input->ExpectTag(16)) goto parse_allLottery;
  65235. break;
  65236. }
  65237. // optional bool allLottery = 2;
  65238. case 2: {
  65239. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65240. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65241. parse_allLottery:
  65242. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65243. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  65244. input, &alllottery_)));
  65245. set_has_alllottery();
  65246. } else {
  65247. goto handle_uninterpreted;
  65248. }
  65249. if (input->ExpectTag(24)) goto parse_type;
  65250. break;
  65251. }
  65252. // optional int32 type = 3;
  65253. case 3: {
  65254. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65255. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65256. parse_type:
  65257. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65258. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  65259. input, &type_)));
  65260. set_has_type();
  65261. } else {
  65262. goto handle_uninterpreted;
  65263. }
  65264. if (input->ExpectAtEnd()) return true;
  65265. break;
  65266. }
  65267. default: {
  65268. handle_uninterpreted:
  65269. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65270. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  65271. return true;
  65272. }
  65273. DO_(::google::protobuf::internal::WireFormat::SkipField(
  65274. input, tag, mutable_unknown_fields()));
  65275. break;
  65276. }
  65277. }
  65278. }
  65279. return true;
  65280. #undef DO_
  65281. }
  65282. void packetc2w_fishing_celebration_lottery::SerializeWithCachedSizes(
  65283. ::google::protobuf::io::CodedOutputStream* output) const {
  65284. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_lottery];
  65285. if (has_packet_id()) {
  65286. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  65287. 1, this->packet_id(), output);
  65288. }
  65289. // optional bool allLottery = 2;
  65290. if (has_alllottery()) {
  65291. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->alllottery(), output);
  65292. }
  65293. // optional int32 type = 3;
  65294. if (has_type()) {
  65295. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  65296. }
  65297. if (!unknown_fields().empty()) {
  65298. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  65299. unknown_fields(), output);
  65300. }
  65301. }
  65302. ::google::protobuf::uint8* packetc2w_fishing_celebration_lottery::SerializeWithCachedSizesToArray(
  65303. ::google::protobuf::uint8* target) const {
  65304. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_lottery];
  65305. if (has_packet_id()) {
  65306. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  65307. 1, this->packet_id(), target);
  65308. }
  65309. // optional bool allLottery = 2;
  65310. if (has_alllottery()) {
  65311. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->alllottery(), target);
  65312. }
  65313. // optional int32 type = 3;
  65314. if (has_type()) {
  65315. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  65316. }
  65317. if (!unknown_fields().empty()) {
  65318. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  65319. unknown_fields(), target);
  65320. }
  65321. return target;
  65322. }
  65323. int packetc2w_fishing_celebration_lottery::ByteSize() const {
  65324. int total_size = 0;
  65325. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65326. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_lottery];
  65327. if (has_packet_id()) {
  65328. total_size += 1 +
  65329. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  65330. }
  65331. // optional bool allLottery = 2;
  65332. if (has_alllottery()) {
  65333. total_size += 1 + 1;
  65334. }
  65335. // optional int32 type = 3;
  65336. if (has_type()) {
  65337. total_size += 1 +
  65338. ::google::protobuf::internal::WireFormatLite::Int32Size(
  65339. this->type());
  65340. }
  65341. }
  65342. if (!unknown_fields().empty()) {
  65343. total_size +=
  65344. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  65345. unknown_fields());
  65346. }
  65347. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  65348. _cached_size_ = total_size;
  65349. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  65350. return total_size;
  65351. }
  65352. void packetc2w_fishing_celebration_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  65353. GOOGLE_CHECK_NE(&from, this);
  65354. const packetc2w_fishing_celebration_lottery* source =
  65355. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_lottery*>(
  65356. &from);
  65357. if (source == NULL) {
  65358. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  65359. } else {
  65360. MergeFrom(*source);
  65361. }
  65362. }
  65363. void packetc2w_fishing_celebration_lottery::MergeFrom(const packetc2w_fishing_celebration_lottery& from) {
  65364. GOOGLE_CHECK_NE(&from, this);
  65365. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65366. if (from.has_packet_id()) {
  65367. set_packet_id(from.packet_id());
  65368. }
  65369. if (from.has_alllottery()) {
  65370. set_alllottery(from.alllottery());
  65371. }
  65372. if (from.has_type()) {
  65373. set_type(from.type());
  65374. }
  65375. }
  65376. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  65377. }
  65378. void packetc2w_fishing_celebration_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  65379. if (&from == this) return;
  65380. Clear();
  65381. MergeFrom(from);
  65382. }
  65383. void packetc2w_fishing_celebration_lottery::CopyFrom(const packetc2w_fishing_celebration_lottery& from) {
  65384. if (&from == this) return;
  65385. Clear();
  65386. MergeFrom(from);
  65387. }
  65388. bool packetc2w_fishing_celebration_lottery::IsInitialized() const {
  65389. return true;
  65390. }
  65391. void packetc2w_fishing_celebration_lottery::Swap(packetc2w_fishing_celebration_lottery* other) {
  65392. if (other != this) {
  65393. std::swap(packet_id_, other->packet_id_);
  65394. std::swap(alllottery_, other->alllottery_);
  65395. std::swap(type_, other->type_);
  65396. std::swap(_has_bits_[0], other->_has_bits_[0]);
  65397. _unknown_fields_.Swap(&other->_unknown_fields_);
  65398. std::swap(_cached_size_, other->_cached_size_);
  65399. }
  65400. }
  65401. ::google::protobuf::Metadata packetc2w_fishing_celebration_lottery::GetMetadata() const {
  65402. protobuf_AssignDescriptorsOnce();
  65403. ::google::protobuf::Metadata metadata;
  65404. metadata.descriptor = packetc2w_fishing_celebration_lottery_descriptor_;
  65405. metadata.reflection = packetc2w_fishing_celebration_lottery_reflection_;
  65406. return metadata;
  65407. }
  65408. // ===================================================================
  65409. #ifndef _MSC_VER
  65410. const int packetw2c_fishing_celebration_lottery_result::kPacketIdFieldNumber;
  65411. const int packetw2c_fishing_celebration_lottery_result::kResultFieldNumber;
  65412. const int packetw2c_fishing_celebration_lottery_result::kAllLotteryFieldNumber;
  65413. const int packetw2c_fishing_celebration_lottery_result::kTypeFieldNumber;
  65414. const int packetw2c_fishing_celebration_lottery_result::kCostTocketFieldNumber;
  65415. const int packetw2c_fishing_celebration_lottery_result::kRewardidFieldNumber;
  65416. #endif // !_MSC_VER
  65417. packetw2c_fishing_celebration_lottery_result::packetw2c_fishing_celebration_lottery_result()
  65418. : ::google::protobuf::Message() {
  65419. SharedCtor();
  65420. }
  65421. void packetw2c_fishing_celebration_lottery_result::InitAsDefaultInstance() {
  65422. }
  65423. packetw2c_fishing_celebration_lottery_result::packetw2c_fishing_celebration_lottery_result(const packetw2c_fishing_celebration_lottery_result& from)
  65424. : ::google::protobuf::Message() {
  65425. SharedCtor();
  65426. MergeFrom(from);
  65427. }
  65428. void packetw2c_fishing_celebration_lottery_result::SharedCtor() {
  65429. _cached_size_ = 0;
  65430. packet_id_ = 7787;
  65431. result_ = 0;
  65432. alllottery_ = false;
  65433. type_ = 0;
  65434. costtocket_ = 0;
  65435. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  65436. }
  65437. packetw2c_fishing_celebration_lottery_result::~packetw2c_fishing_celebration_lottery_result() {
  65438. SharedDtor();
  65439. }
  65440. void packetw2c_fishing_celebration_lottery_result::SharedDtor() {
  65441. if (this != default_instance_) {
  65442. }
  65443. }
  65444. void packetw2c_fishing_celebration_lottery_result::SetCachedSize(int size) const {
  65445. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  65446. _cached_size_ = size;
  65447. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  65448. }
  65449. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_lottery_result::descriptor() {
  65450. protobuf_AssignDescriptorsOnce();
  65451. return packetw2c_fishing_celebration_lottery_result_descriptor_;
  65452. }
  65453. const packetw2c_fishing_celebration_lottery_result& packetw2c_fishing_celebration_lottery_result::default_instance() {
  65454. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  65455. return *default_instance_;
  65456. }
  65457. packetw2c_fishing_celebration_lottery_result* packetw2c_fishing_celebration_lottery_result::default_instance_ = NULL;
  65458. packetw2c_fishing_celebration_lottery_result* packetw2c_fishing_celebration_lottery_result::New() const {
  65459. return new packetw2c_fishing_celebration_lottery_result;
  65460. }
  65461. void packetw2c_fishing_celebration_lottery_result::Clear() {
  65462. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65463. packet_id_ = 7787;
  65464. result_ = 0;
  65465. alllottery_ = false;
  65466. type_ = 0;
  65467. costtocket_ = 0;
  65468. }
  65469. rewardid_.Clear();
  65470. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  65471. mutable_unknown_fields()->Clear();
  65472. }
  65473. bool packetw2c_fishing_celebration_lottery_result::MergePartialFromCodedStream(
  65474. ::google::protobuf::io::CodedInputStream* input) {
  65475. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  65476. ::google::protobuf::uint32 tag;
  65477. while ((tag = input->ReadTag()) != 0) {
  65478. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  65479. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_lottery_result];
  65480. case 1: {
  65481. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65482. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65483. int value;
  65484. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65485. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  65486. input, &value)));
  65487. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  65488. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  65489. } else {
  65490. mutable_unknown_fields()->AddVarint(1, value);
  65491. }
  65492. } else {
  65493. goto handle_uninterpreted;
  65494. }
  65495. if (input->ExpectTag(16)) goto parse_result;
  65496. break;
  65497. }
  65498. // optional int32 result = 2;
  65499. case 2: {
  65500. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65501. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65502. parse_result:
  65503. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65504. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  65505. input, &result_)));
  65506. set_has_result();
  65507. } else {
  65508. goto handle_uninterpreted;
  65509. }
  65510. if (input->ExpectTag(24)) goto parse_allLottery;
  65511. break;
  65512. }
  65513. // optional bool allLottery = 3;
  65514. case 3: {
  65515. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65516. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65517. parse_allLottery:
  65518. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65519. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  65520. input, &alllottery_)));
  65521. set_has_alllottery();
  65522. } else {
  65523. goto handle_uninterpreted;
  65524. }
  65525. if (input->ExpectTag(32)) goto parse_type;
  65526. break;
  65527. }
  65528. // optional int32 type = 4;
  65529. case 4: {
  65530. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65531. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65532. parse_type:
  65533. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65534. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  65535. input, &type_)));
  65536. set_has_type();
  65537. } else {
  65538. goto handle_uninterpreted;
  65539. }
  65540. if (input->ExpectTag(40)) goto parse_costTocket;
  65541. break;
  65542. }
  65543. // optional int32 costTocket = 5;
  65544. case 5: {
  65545. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65546. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65547. parse_costTocket:
  65548. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65549. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  65550. input, &costtocket_)));
  65551. set_has_costtocket();
  65552. } else {
  65553. goto handle_uninterpreted;
  65554. }
  65555. if (input->ExpectTag(48)) goto parse_rewardid;
  65556. break;
  65557. }
  65558. // repeated int32 rewardid = 6;
  65559. case 6: {
  65560. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65561. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65562. parse_rewardid:
  65563. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  65564. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  65565. 1, 48, input, this->mutable_rewardid())));
  65566. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  65567. == ::google::protobuf::internal::WireFormatLite::
  65568. WIRETYPE_LENGTH_DELIMITED) {
  65569. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  65570. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  65571. input, this->mutable_rewardid())));
  65572. } else {
  65573. goto handle_uninterpreted;
  65574. }
  65575. if (input->ExpectTag(48)) goto parse_rewardid;
  65576. if (input->ExpectAtEnd()) return true;
  65577. break;
  65578. }
  65579. default: {
  65580. handle_uninterpreted:
  65581. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65582. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  65583. return true;
  65584. }
  65585. DO_(::google::protobuf::internal::WireFormat::SkipField(
  65586. input, tag, mutable_unknown_fields()));
  65587. break;
  65588. }
  65589. }
  65590. }
  65591. return true;
  65592. #undef DO_
  65593. }
  65594. void packetw2c_fishing_celebration_lottery_result::SerializeWithCachedSizes(
  65595. ::google::protobuf::io::CodedOutputStream* output) const {
  65596. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_lottery_result];
  65597. if (has_packet_id()) {
  65598. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  65599. 1, this->packet_id(), output);
  65600. }
  65601. // optional int32 result = 2;
  65602. if (has_result()) {
  65603. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  65604. }
  65605. // optional bool allLottery = 3;
  65606. if (has_alllottery()) {
  65607. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->alllottery(), output);
  65608. }
  65609. // optional int32 type = 4;
  65610. if (has_type()) {
  65611. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->type(), output);
  65612. }
  65613. // optional int32 costTocket = 5;
  65614. if (has_costtocket()) {
  65615. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->costtocket(), output);
  65616. }
  65617. // repeated int32 rewardid = 6;
  65618. for (int i = 0; i < this->rewardid_size(); i++) {
  65619. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  65620. 6, this->rewardid(i), output);
  65621. }
  65622. if (!unknown_fields().empty()) {
  65623. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  65624. unknown_fields(), output);
  65625. }
  65626. }
  65627. ::google::protobuf::uint8* packetw2c_fishing_celebration_lottery_result::SerializeWithCachedSizesToArray(
  65628. ::google::protobuf::uint8* target) const {
  65629. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_lottery_result];
  65630. if (has_packet_id()) {
  65631. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  65632. 1, this->packet_id(), target);
  65633. }
  65634. // optional int32 result = 2;
  65635. if (has_result()) {
  65636. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  65637. }
  65638. // optional bool allLottery = 3;
  65639. if (has_alllottery()) {
  65640. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->alllottery(), target);
  65641. }
  65642. // optional int32 type = 4;
  65643. if (has_type()) {
  65644. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->type(), target);
  65645. }
  65646. // optional int32 costTocket = 5;
  65647. if (has_costtocket()) {
  65648. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->costtocket(), target);
  65649. }
  65650. // repeated int32 rewardid = 6;
  65651. for (int i = 0; i < this->rewardid_size(); i++) {
  65652. target = ::google::protobuf::internal::WireFormatLite::
  65653. WriteInt32ToArray(6, this->rewardid(i), target);
  65654. }
  65655. if (!unknown_fields().empty()) {
  65656. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  65657. unknown_fields(), target);
  65658. }
  65659. return target;
  65660. }
  65661. int packetw2c_fishing_celebration_lottery_result::ByteSize() const {
  65662. int total_size = 0;
  65663. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65664. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_lottery_result];
  65665. if (has_packet_id()) {
  65666. total_size += 1 +
  65667. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  65668. }
  65669. // optional int32 result = 2;
  65670. if (has_result()) {
  65671. total_size += 1 +
  65672. ::google::protobuf::internal::WireFormatLite::Int32Size(
  65673. this->result());
  65674. }
  65675. // optional bool allLottery = 3;
  65676. if (has_alllottery()) {
  65677. total_size += 1 + 1;
  65678. }
  65679. // optional int32 type = 4;
  65680. if (has_type()) {
  65681. total_size += 1 +
  65682. ::google::protobuf::internal::WireFormatLite::Int32Size(
  65683. this->type());
  65684. }
  65685. // optional int32 costTocket = 5;
  65686. if (has_costtocket()) {
  65687. total_size += 1 +
  65688. ::google::protobuf::internal::WireFormatLite::Int32Size(
  65689. this->costtocket());
  65690. }
  65691. }
  65692. // repeated int32 rewardid = 6;
  65693. {
  65694. int data_size = 0;
  65695. for (int i = 0; i < this->rewardid_size(); i++) {
  65696. data_size += ::google::protobuf::internal::WireFormatLite::
  65697. Int32Size(this->rewardid(i));
  65698. }
  65699. total_size += 1 * this->rewardid_size() + data_size;
  65700. }
  65701. if (!unknown_fields().empty()) {
  65702. total_size +=
  65703. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  65704. unknown_fields());
  65705. }
  65706. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  65707. _cached_size_ = total_size;
  65708. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  65709. return total_size;
  65710. }
  65711. void packetw2c_fishing_celebration_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  65712. GOOGLE_CHECK_NE(&from, this);
  65713. const packetw2c_fishing_celebration_lottery_result* source =
  65714. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_lottery_result*>(
  65715. &from);
  65716. if (source == NULL) {
  65717. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  65718. } else {
  65719. MergeFrom(*source);
  65720. }
  65721. }
  65722. void packetw2c_fishing_celebration_lottery_result::MergeFrom(const packetw2c_fishing_celebration_lottery_result& from) {
  65723. GOOGLE_CHECK_NE(&from, this);
  65724. rewardid_.MergeFrom(from.rewardid_);
  65725. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65726. if (from.has_packet_id()) {
  65727. set_packet_id(from.packet_id());
  65728. }
  65729. if (from.has_result()) {
  65730. set_result(from.result());
  65731. }
  65732. if (from.has_alllottery()) {
  65733. set_alllottery(from.alllottery());
  65734. }
  65735. if (from.has_type()) {
  65736. set_type(from.type());
  65737. }
  65738. if (from.has_costtocket()) {
  65739. set_costtocket(from.costtocket());
  65740. }
  65741. }
  65742. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  65743. }
  65744. void packetw2c_fishing_celebration_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  65745. if (&from == this) return;
  65746. Clear();
  65747. MergeFrom(from);
  65748. }
  65749. void packetw2c_fishing_celebration_lottery_result::CopyFrom(const packetw2c_fishing_celebration_lottery_result& from) {
  65750. if (&from == this) return;
  65751. Clear();
  65752. MergeFrom(from);
  65753. }
  65754. bool packetw2c_fishing_celebration_lottery_result::IsInitialized() const {
  65755. return true;
  65756. }
  65757. void packetw2c_fishing_celebration_lottery_result::Swap(packetw2c_fishing_celebration_lottery_result* other) {
  65758. if (other != this) {
  65759. std::swap(packet_id_, other->packet_id_);
  65760. std::swap(result_, other->result_);
  65761. std::swap(alllottery_, other->alllottery_);
  65762. std::swap(type_, other->type_);
  65763. std::swap(costtocket_, other->costtocket_);
  65764. rewardid_.Swap(&other->rewardid_);
  65765. std::swap(_has_bits_[0], other->_has_bits_[0]);
  65766. _unknown_fields_.Swap(&other->_unknown_fields_);
  65767. std::swap(_cached_size_, other->_cached_size_);
  65768. }
  65769. }
  65770. ::google::protobuf::Metadata packetw2c_fishing_celebration_lottery_result::GetMetadata() const {
  65771. protobuf_AssignDescriptorsOnce();
  65772. ::google::protobuf::Metadata metadata;
  65773. metadata.descriptor = packetw2c_fishing_celebration_lottery_result_descriptor_;
  65774. metadata.reflection = packetw2c_fishing_celebration_lottery_result_reflection_;
  65775. return metadata;
  65776. }
  65777. // ===================================================================
  65778. #ifndef _MSC_VER
  65779. const int packetc2w_fishing_celebration_activate::kPacketIdFieldNumber;
  65780. const int packetc2w_fishing_celebration_activate::kLvFieldNumber;
  65781. #endif // !_MSC_VER
  65782. packetc2w_fishing_celebration_activate::packetc2w_fishing_celebration_activate()
  65783. : ::google::protobuf::Message() {
  65784. SharedCtor();
  65785. }
  65786. void packetc2w_fishing_celebration_activate::InitAsDefaultInstance() {
  65787. }
  65788. packetc2w_fishing_celebration_activate::packetc2w_fishing_celebration_activate(const packetc2w_fishing_celebration_activate& from)
  65789. : ::google::protobuf::Message() {
  65790. SharedCtor();
  65791. MergeFrom(from);
  65792. }
  65793. void packetc2w_fishing_celebration_activate::SharedCtor() {
  65794. _cached_size_ = 0;
  65795. packet_id_ = 5242;
  65796. lv_ = 0;
  65797. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  65798. }
  65799. packetc2w_fishing_celebration_activate::~packetc2w_fishing_celebration_activate() {
  65800. SharedDtor();
  65801. }
  65802. void packetc2w_fishing_celebration_activate::SharedDtor() {
  65803. if (this != default_instance_) {
  65804. }
  65805. }
  65806. void packetc2w_fishing_celebration_activate::SetCachedSize(int size) const {
  65807. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  65808. _cached_size_ = size;
  65809. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  65810. }
  65811. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_activate::descriptor() {
  65812. protobuf_AssignDescriptorsOnce();
  65813. return packetc2w_fishing_celebration_activate_descriptor_;
  65814. }
  65815. const packetc2w_fishing_celebration_activate& packetc2w_fishing_celebration_activate::default_instance() {
  65816. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  65817. return *default_instance_;
  65818. }
  65819. packetc2w_fishing_celebration_activate* packetc2w_fishing_celebration_activate::default_instance_ = NULL;
  65820. packetc2w_fishing_celebration_activate* packetc2w_fishing_celebration_activate::New() const {
  65821. return new packetc2w_fishing_celebration_activate;
  65822. }
  65823. void packetc2w_fishing_celebration_activate::Clear() {
  65824. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65825. packet_id_ = 5242;
  65826. lv_ = 0;
  65827. }
  65828. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  65829. mutable_unknown_fields()->Clear();
  65830. }
  65831. bool packetc2w_fishing_celebration_activate::MergePartialFromCodedStream(
  65832. ::google::protobuf::io::CodedInputStream* input) {
  65833. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  65834. ::google::protobuf::uint32 tag;
  65835. while ((tag = input->ReadTag()) != 0) {
  65836. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  65837. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_activate];
  65838. case 1: {
  65839. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65840. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65841. int value;
  65842. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65843. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  65844. input, &value)));
  65845. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  65846. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  65847. } else {
  65848. mutable_unknown_fields()->AddVarint(1, value);
  65849. }
  65850. } else {
  65851. goto handle_uninterpreted;
  65852. }
  65853. if (input->ExpectTag(16)) goto parse_lv;
  65854. break;
  65855. }
  65856. // optional int32 lv = 2;
  65857. case 2: {
  65858. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65859. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  65860. parse_lv:
  65861. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  65862. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  65863. input, &lv_)));
  65864. set_has_lv();
  65865. } else {
  65866. goto handle_uninterpreted;
  65867. }
  65868. if (input->ExpectAtEnd()) return true;
  65869. break;
  65870. }
  65871. default: {
  65872. handle_uninterpreted:
  65873. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  65874. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  65875. return true;
  65876. }
  65877. DO_(::google::protobuf::internal::WireFormat::SkipField(
  65878. input, tag, mutable_unknown_fields()));
  65879. break;
  65880. }
  65881. }
  65882. }
  65883. return true;
  65884. #undef DO_
  65885. }
  65886. void packetc2w_fishing_celebration_activate::SerializeWithCachedSizes(
  65887. ::google::protobuf::io::CodedOutputStream* output) const {
  65888. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_activate];
  65889. if (has_packet_id()) {
  65890. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  65891. 1, this->packet_id(), output);
  65892. }
  65893. // optional int32 lv = 2;
  65894. if (has_lv()) {
  65895. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lv(), output);
  65896. }
  65897. if (!unknown_fields().empty()) {
  65898. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  65899. unknown_fields(), output);
  65900. }
  65901. }
  65902. ::google::protobuf::uint8* packetc2w_fishing_celebration_activate::SerializeWithCachedSizesToArray(
  65903. ::google::protobuf::uint8* target) const {
  65904. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_activate];
  65905. if (has_packet_id()) {
  65906. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  65907. 1, this->packet_id(), target);
  65908. }
  65909. // optional int32 lv = 2;
  65910. if (has_lv()) {
  65911. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lv(), target);
  65912. }
  65913. if (!unknown_fields().empty()) {
  65914. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  65915. unknown_fields(), target);
  65916. }
  65917. return target;
  65918. }
  65919. int packetc2w_fishing_celebration_activate::ByteSize() const {
  65920. int total_size = 0;
  65921. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65922. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_activate];
  65923. if (has_packet_id()) {
  65924. total_size += 1 +
  65925. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  65926. }
  65927. // optional int32 lv = 2;
  65928. if (has_lv()) {
  65929. total_size += 1 +
  65930. ::google::protobuf::internal::WireFormatLite::Int32Size(
  65931. this->lv());
  65932. }
  65933. }
  65934. if (!unknown_fields().empty()) {
  65935. total_size +=
  65936. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  65937. unknown_fields());
  65938. }
  65939. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  65940. _cached_size_ = total_size;
  65941. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  65942. return total_size;
  65943. }
  65944. void packetc2w_fishing_celebration_activate::MergeFrom(const ::google::protobuf::Message& from) {
  65945. GOOGLE_CHECK_NE(&from, this);
  65946. const packetc2w_fishing_celebration_activate* source =
  65947. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_activate*>(
  65948. &from);
  65949. if (source == NULL) {
  65950. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  65951. } else {
  65952. MergeFrom(*source);
  65953. }
  65954. }
  65955. void packetc2w_fishing_celebration_activate::MergeFrom(const packetc2w_fishing_celebration_activate& from) {
  65956. GOOGLE_CHECK_NE(&from, this);
  65957. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  65958. if (from.has_packet_id()) {
  65959. set_packet_id(from.packet_id());
  65960. }
  65961. if (from.has_lv()) {
  65962. set_lv(from.lv());
  65963. }
  65964. }
  65965. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  65966. }
  65967. void packetc2w_fishing_celebration_activate::CopyFrom(const ::google::protobuf::Message& from) {
  65968. if (&from == this) return;
  65969. Clear();
  65970. MergeFrom(from);
  65971. }
  65972. void packetc2w_fishing_celebration_activate::CopyFrom(const packetc2w_fishing_celebration_activate& from) {
  65973. if (&from == this) return;
  65974. Clear();
  65975. MergeFrom(from);
  65976. }
  65977. bool packetc2w_fishing_celebration_activate::IsInitialized() const {
  65978. return true;
  65979. }
  65980. void packetc2w_fishing_celebration_activate::Swap(packetc2w_fishing_celebration_activate* other) {
  65981. if (other != this) {
  65982. std::swap(packet_id_, other->packet_id_);
  65983. std::swap(lv_, other->lv_);
  65984. std::swap(_has_bits_[0], other->_has_bits_[0]);
  65985. _unknown_fields_.Swap(&other->_unknown_fields_);
  65986. std::swap(_cached_size_, other->_cached_size_);
  65987. }
  65988. }
  65989. ::google::protobuf::Metadata packetc2w_fishing_celebration_activate::GetMetadata() const {
  65990. protobuf_AssignDescriptorsOnce();
  65991. ::google::protobuf::Metadata metadata;
  65992. metadata.descriptor = packetc2w_fishing_celebration_activate_descriptor_;
  65993. metadata.reflection = packetc2w_fishing_celebration_activate_reflection_;
  65994. return metadata;
  65995. }
  65996. // ===================================================================
  65997. #ifndef _MSC_VER
  65998. const int packetw2c_fishing_celebration_activate_result::kPacketIdFieldNumber;
  65999. const int packetw2c_fishing_celebration_activate_result::kResultFieldNumber;
  66000. const int packetw2c_fishing_celebration_activate_result::kLvFieldNumber;
  66001. #endif // !_MSC_VER
  66002. packetw2c_fishing_celebration_activate_result::packetw2c_fishing_celebration_activate_result()
  66003. : ::google::protobuf::Message() {
  66004. SharedCtor();
  66005. }
  66006. void packetw2c_fishing_celebration_activate_result::InitAsDefaultInstance() {
  66007. }
  66008. packetw2c_fishing_celebration_activate_result::packetw2c_fishing_celebration_activate_result(const packetw2c_fishing_celebration_activate_result& from)
  66009. : ::google::protobuf::Message() {
  66010. SharedCtor();
  66011. MergeFrom(from);
  66012. }
  66013. void packetw2c_fishing_celebration_activate_result::SharedCtor() {
  66014. _cached_size_ = 0;
  66015. packet_id_ = 7788;
  66016. result_ = 0;
  66017. lv_ = 0;
  66018. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  66019. }
  66020. packetw2c_fishing_celebration_activate_result::~packetw2c_fishing_celebration_activate_result() {
  66021. SharedDtor();
  66022. }
  66023. void packetw2c_fishing_celebration_activate_result::SharedDtor() {
  66024. if (this != default_instance_) {
  66025. }
  66026. }
  66027. void packetw2c_fishing_celebration_activate_result::SetCachedSize(int size) const {
  66028. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  66029. _cached_size_ = size;
  66030. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  66031. }
  66032. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_activate_result::descriptor() {
  66033. protobuf_AssignDescriptorsOnce();
  66034. return packetw2c_fishing_celebration_activate_result_descriptor_;
  66035. }
  66036. const packetw2c_fishing_celebration_activate_result& packetw2c_fishing_celebration_activate_result::default_instance() {
  66037. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  66038. return *default_instance_;
  66039. }
  66040. packetw2c_fishing_celebration_activate_result* packetw2c_fishing_celebration_activate_result::default_instance_ = NULL;
  66041. packetw2c_fishing_celebration_activate_result* packetw2c_fishing_celebration_activate_result::New() const {
  66042. return new packetw2c_fishing_celebration_activate_result;
  66043. }
  66044. void packetw2c_fishing_celebration_activate_result::Clear() {
  66045. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66046. packet_id_ = 7788;
  66047. result_ = 0;
  66048. lv_ = 0;
  66049. }
  66050. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  66051. mutable_unknown_fields()->Clear();
  66052. }
  66053. bool packetw2c_fishing_celebration_activate_result::MergePartialFromCodedStream(
  66054. ::google::protobuf::io::CodedInputStream* input) {
  66055. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  66056. ::google::protobuf::uint32 tag;
  66057. while ((tag = input->ReadTag()) != 0) {
  66058. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  66059. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_activate_result];
  66060. case 1: {
  66061. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66062. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66063. int value;
  66064. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66065. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  66066. input, &value)));
  66067. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  66068. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  66069. } else {
  66070. mutable_unknown_fields()->AddVarint(1, value);
  66071. }
  66072. } else {
  66073. goto handle_uninterpreted;
  66074. }
  66075. if (input->ExpectTag(16)) goto parse_result;
  66076. break;
  66077. }
  66078. // optional int32 result = 2;
  66079. case 2: {
  66080. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66081. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66082. parse_result:
  66083. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66084. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66085. input, &result_)));
  66086. set_has_result();
  66087. } else {
  66088. goto handle_uninterpreted;
  66089. }
  66090. if (input->ExpectTag(24)) goto parse_lv;
  66091. break;
  66092. }
  66093. // optional int32 lv = 3;
  66094. case 3: {
  66095. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66096. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66097. parse_lv:
  66098. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66099. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66100. input, &lv_)));
  66101. set_has_lv();
  66102. } else {
  66103. goto handle_uninterpreted;
  66104. }
  66105. if (input->ExpectAtEnd()) return true;
  66106. break;
  66107. }
  66108. default: {
  66109. handle_uninterpreted:
  66110. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66111. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  66112. return true;
  66113. }
  66114. DO_(::google::protobuf::internal::WireFormat::SkipField(
  66115. input, tag, mutable_unknown_fields()));
  66116. break;
  66117. }
  66118. }
  66119. }
  66120. return true;
  66121. #undef DO_
  66122. }
  66123. void packetw2c_fishing_celebration_activate_result::SerializeWithCachedSizes(
  66124. ::google::protobuf::io::CodedOutputStream* output) const {
  66125. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_activate_result];
  66126. if (has_packet_id()) {
  66127. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  66128. 1, this->packet_id(), output);
  66129. }
  66130. // optional int32 result = 2;
  66131. if (has_result()) {
  66132. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  66133. }
  66134. // optional int32 lv = 3;
  66135. if (has_lv()) {
  66136. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->lv(), output);
  66137. }
  66138. if (!unknown_fields().empty()) {
  66139. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  66140. unknown_fields(), output);
  66141. }
  66142. }
  66143. ::google::protobuf::uint8* packetw2c_fishing_celebration_activate_result::SerializeWithCachedSizesToArray(
  66144. ::google::protobuf::uint8* target) const {
  66145. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_activate_result];
  66146. if (has_packet_id()) {
  66147. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  66148. 1, this->packet_id(), target);
  66149. }
  66150. // optional int32 result = 2;
  66151. if (has_result()) {
  66152. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  66153. }
  66154. // optional int32 lv = 3;
  66155. if (has_lv()) {
  66156. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->lv(), target);
  66157. }
  66158. if (!unknown_fields().empty()) {
  66159. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  66160. unknown_fields(), target);
  66161. }
  66162. return target;
  66163. }
  66164. int packetw2c_fishing_celebration_activate_result::ByteSize() const {
  66165. int total_size = 0;
  66166. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66167. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_activate_result];
  66168. if (has_packet_id()) {
  66169. total_size += 1 +
  66170. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  66171. }
  66172. // optional int32 result = 2;
  66173. if (has_result()) {
  66174. total_size += 1 +
  66175. ::google::protobuf::internal::WireFormatLite::Int32Size(
  66176. this->result());
  66177. }
  66178. // optional int32 lv = 3;
  66179. if (has_lv()) {
  66180. total_size += 1 +
  66181. ::google::protobuf::internal::WireFormatLite::Int32Size(
  66182. this->lv());
  66183. }
  66184. }
  66185. if (!unknown_fields().empty()) {
  66186. total_size +=
  66187. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  66188. unknown_fields());
  66189. }
  66190. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  66191. _cached_size_ = total_size;
  66192. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  66193. return total_size;
  66194. }
  66195. void packetw2c_fishing_celebration_activate_result::MergeFrom(const ::google::protobuf::Message& from) {
  66196. GOOGLE_CHECK_NE(&from, this);
  66197. const packetw2c_fishing_celebration_activate_result* source =
  66198. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_activate_result*>(
  66199. &from);
  66200. if (source == NULL) {
  66201. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  66202. } else {
  66203. MergeFrom(*source);
  66204. }
  66205. }
  66206. void packetw2c_fishing_celebration_activate_result::MergeFrom(const packetw2c_fishing_celebration_activate_result& from) {
  66207. GOOGLE_CHECK_NE(&from, this);
  66208. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66209. if (from.has_packet_id()) {
  66210. set_packet_id(from.packet_id());
  66211. }
  66212. if (from.has_result()) {
  66213. set_result(from.result());
  66214. }
  66215. if (from.has_lv()) {
  66216. set_lv(from.lv());
  66217. }
  66218. }
  66219. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  66220. }
  66221. void packetw2c_fishing_celebration_activate_result::CopyFrom(const ::google::protobuf::Message& from) {
  66222. if (&from == this) return;
  66223. Clear();
  66224. MergeFrom(from);
  66225. }
  66226. void packetw2c_fishing_celebration_activate_result::CopyFrom(const packetw2c_fishing_celebration_activate_result& from) {
  66227. if (&from == this) return;
  66228. Clear();
  66229. MergeFrom(from);
  66230. }
  66231. bool packetw2c_fishing_celebration_activate_result::IsInitialized() const {
  66232. return true;
  66233. }
  66234. void packetw2c_fishing_celebration_activate_result::Swap(packetw2c_fishing_celebration_activate_result* other) {
  66235. if (other != this) {
  66236. std::swap(packet_id_, other->packet_id_);
  66237. std::swap(result_, other->result_);
  66238. std::swap(lv_, other->lv_);
  66239. std::swap(_has_bits_[0], other->_has_bits_[0]);
  66240. _unknown_fields_.Swap(&other->_unknown_fields_);
  66241. std::swap(_cached_size_, other->_cached_size_);
  66242. }
  66243. }
  66244. ::google::protobuf::Metadata packetw2c_fishing_celebration_activate_result::GetMetadata() const {
  66245. protobuf_AssignDescriptorsOnce();
  66246. ::google::protobuf::Metadata metadata;
  66247. metadata.descriptor = packetw2c_fishing_celebration_activate_result_descriptor_;
  66248. metadata.reflection = packetw2c_fishing_celebration_activate_result_reflection_;
  66249. return metadata;
  66250. }
  66251. // ===================================================================
  66252. #ifndef _MSC_VER
  66253. const int packetc2w_fishing_celebration_exchange::kPacketIdFieldNumber;
  66254. const int packetc2w_fishing_celebration_exchange::kIndexFieldNumber;
  66255. const int packetc2w_fishing_celebration_exchange::kCountFieldNumber;
  66256. #endif // !_MSC_VER
  66257. packetc2w_fishing_celebration_exchange::packetc2w_fishing_celebration_exchange()
  66258. : ::google::protobuf::Message() {
  66259. SharedCtor();
  66260. }
  66261. void packetc2w_fishing_celebration_exchange::InitAsDefaultInstance() {
  66262. }
  66263. packetc2w_fishing_celebration_exchange::packetc2w_fishing_celebration_exchange(const packetc2w_fishing_celebration_exchange& from)
  66264. : ::google::protobuf::Message() {
  66265. SharedCtor();
  66266. MergeFrom(from);
  66267. }
  66268. void packetc2w_fishing_celebration_exchange::SharedCtor() {
  66269. _cached_size_ = 0;
  66270. packet_id_ = 5243;
  66271. index_ = 0;
  66272. count_ = 0;
  66273. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  66274. }
  66275. packetc2w_fishing_celebration_exchange::~packetc2w_fishing_celebration_exchange() {
  66276. SharedDtor();
  66277. }
  66278. void packetc2w_fishing_celebration_exchange::SharedDtor() {
  66279. if (this != default_instance_) {
  66280. }
  66281. }
  66282. void packetc2w_fishing_celebration_exchange::SetCachedSize(int size) const {
  66283. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  66284. _cached_size_ = size;
  66285. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  66286. }
  66287. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_exchange::descriptor() {
  66288. protobuf_AssignDescriptorsOnce();
  66289. return packetc2w_fishing_celebration_exchange_descriptor_;
  66290. }
  66291. const packetc2w_fishing_celebration_exchange& packetc2w_fishing_celebration_exchange::default_instance() {
  66292. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  66293. return *default_instance_;
  66294. }
  66295. packetc2w_fishing_celebration_exchange* packetc2w_fishing_celebration_exchange::default_instance_ = NULL;
  66296. packetc2w_fishing_celebration_exchange* packetc2w_fishing_celebration_exchange::New() const {
  66297. return new packetc2w_fishing_celebration_exchange;
  66298. }
  66299. void packetc2w_fishing_celebration_exchange::Clear() {
  66300. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66301. packet_id_ = 5243;
  66302. index_ = 0;
  66303. count_ = 0;
  66304. }
  66305. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  66306. mutable_unknown_fields()->Clear();
  66307. }
  66308. bool packetc2w_fishing_celebration_exchange::MergePartialFromCodedStream(
  66309. ::google::protobuf::io::CodedInputStream* input) {
  66310. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  66311. ::google::protobuf::uint32 tag;
  66312. while ((tag = input->ReadTag()) != 0) {
  66313. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  66314. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
  66315. case 1: {
  66316. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66317. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66318. int value;
  66319. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66320. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  66321. input, &value)));
  66322. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  66323. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  66324. } else {
  66325. mutable_unknown_fields()->AddVarint(1, value);
  66326. }
  66327. } else {
  66328. goto handle_uninterpreted;
  66329. }
  66330. if (input->ExpectTag(16)) goto parse_index;
  66331. break;
  66332. }
  66333. // optional int32 index = 2;
  66334. case 2: {
  66335. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66336. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66337. parse_index:
  66338. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66339. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66340. input, &index_)));
  66341. set_has_index();
  66342. } else {
  66343. goto handle_uninterpreted;
  66344. }
  66345. if (input->ExpectTag(24)) goto parse_count;
  66346. break;
  66347. }
  66348. // optional int32 count = 3;
  66349. case 3: {
  66350. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66351. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66352. parse_count:
  66353. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66354. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66355. input, &count_)));
  66356. set_has_count();
  66357. } else {
  66358. goto handle_uninterpreted;
  66359. }
  66360. if (input->ExpectAtEnd()) return true;
  66361. break;
  66362. }
  66363. default: {
  66364. handle_uninterpreted:
  66365. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66366. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  66367. return true;
  66368. }
  66369. DO_(::google::protobuf::internal::WireFormat::SkipField(
  66370. input, tag, mutable_unknown_fields()));
  66371. break;
  66372. }
  66373. }
  66374. }
  66375. return true;
  66376. #undef DO_
  66377. }
  66378. void packetc2w_fishing_celebration_exchange::SerializeWithCachedSizes(
  66379. ::google::protobuf::io::CodedOutputStream* output) const {
  66380. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
  66381. if (has_packet_id()) {
  66382. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  66383. 1, this->packet_id(), output);
  66384. }
  66385. // optional int32 index = 2;
  66386. if (has_index()) {
  66387. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  66388. }
  66389. // optional int32 count = 3;
  66390. if (has_count()) {
  66391. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  66392. }
  66393. if (!unknown_fields().empty()) {
  66394. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  66395. unknown_fields(), output);
  66396. }
  66397. }
  66398. ::google::protobuf::uint8* packetc2w_fishing_celebration_exchange::SerializeWithCachedSizesToArray(
  66399. ::google::protobuf::uint8* target) const {
  66400. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
  66401. if (has_packet_id()) {
  66402. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  66403. 1, this->packet_id(), target);
  66404. }
  66405. // optional int32 index = 2;
  66406. if (has_index()) {
  66407. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  66408. }
  66409. // optional int32 count = 3;
  66410. if (has_count()) {
  66411. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  66412. }
  66413. if (!unknown_fields().empty()) {
  66414. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  66415. unknown_fields(), target);
  66416. }
  66417. return target;
  66418. }
  66419. int packetc2w_fishing_celebration_exchange::ByteSize() const {
  66420. int total_size = 0;
  66421. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66422. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
  66423. if (has_packet_id()) {
  66424. total_size += 1 +
  66425. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  66426. }
  66427. // optional int32 index = 2;
  66428. if (has_index()) {
  66429. total_size += 1 +
  66430. ::google::protobuf::internal::WireFormatLite::Int32Size(
  66431. this->index());
  66432. }
  66433. // optional int32 count = 3;
  66434. if (has_count()) {
  66435. total_size += 1 +
  66436. ::google::protobuf::internal::WireFormatLite::Int32Size(
  66437. this->count());
  66438. }
  66439. }
  66440. if (!unknown_fields().empty()) {
  66441. total_size +=
  66442. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  66443. unknown_fields());
  66444. }
  66445. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  66446. _cached_size_ = total_size;
  66447. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  66448. return total_size;
  66449. }
  66450. void packetc2w_fishing_celebration_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  66451. GOOGLE_CHECK_NE(&from, this);
  66452. const packetc2w_fishing_celebration_exchange* source =
  66453. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_exchange*>(
  66454. &from);
  66455. if (source == NULL) {
  66456. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  66457. } else {
  66458. MergeFrom(*source);
  66459. }
  66460. }
  66461. void packetc2w_fishing_celebration_exchange::MergeFrom(const packetc2w_fishing_celebration_exchange& from) {
  66462. GOOGLE_CHECK_NE(&from, this);
  66463. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66464. if (from.has_packet_id()) {
  66465. set_packet_id(from.packet_id());
  66466. }
  66467. if (from.has_index()) {
  66468. set_index(from.index());
  66469. }
  66470. if (from.has_count()) {
  66471. set_count(from.count());
  66472. }
  66473. }
  66474. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  66475. }
  66476. void packetc2w_fishing_celebration_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  66477. if (&from == this) return;
  66478. Clear();
  66479. MergeFrom(from);
  66480. }
  66481. void packetc2w_fishing_celebration_exchange::CopyFrom(const packetc2w_fishing_celebration_exchange& from) {
  66482. if (&from == this) return;
  66483. Clear();
  66484. MergeFrom(from);
  66485. }
  66486. bool packetc2w_fishing_celebration_exchange::IsInitialized() const {
  66487. return true;
  66488. }
  66489. void packetc2w_fishing_celebration_exchange::Swap(packetc2w_fishing_celebration_exchange* other) {
  66490. if (other != this) {
  66491. std::swap(packet_id_, other->packet_id_);
  66492. std::swap(index_, other->index_);
  66493. std::swap(count_, other->count_);
  66494. std::swap(_has_bits_[0], other->_has_bits_[0]);
  66495. _unknown_fields_.Swap(&other->_unknown_fields_);
  66496. std::swap(_cached_size_, other->_cached_size_);
  66497. }
  66498. }
  66499. ::google::protobuf::Metadata packetc2w_fishing_celebration_exchange::GetMetadata() const {
  66500. protobuf_AssignDescriptorsOnce();
  66501. ::google::protobuf::Metadata metadata;
  66502. metadata.descriptor = packetc2w_fishing_celebration_exchange_descriptor_;
  66503. metadata.reflection = packetc2w_fishing_celebration_exchange_reflection_;
  66504. return metadata;
  66505. }
  66506. // ===================================================================
  66507. #ifndef _MSC_VER
  66508. const int packetw2c_fishing_celebration_exchange_result::kPacketIdFieldNumber;
  66509. const int packetw2c_fishing_celebration_exchange_result::kResultFieldNumber;
  66510. const int packetw2c_fishing_celebration_exchange_result::kIndexFieldNumber;
  66511. const int packetw2c_fishing_celebration_exchange_result::kCountFieldNumber;
  66512. const int packetw2c_fishing_celebration_exchange_result::kGetproFieldNumber;
  66513. #endif // !_MSC_VER
  66514. packetw2c_fishing_celebration_exchange_result::packetw2c_fishing_celebration_exchange_result()
  66515. : ::google::protobuf::Message() {
  66516. SharedCtor();
  66517. }
  66518. void packetw2c_fishing_celebration_exchange_result::InitAsDefaultInstance() {
  66519. }
  66520. packetw2c_fishing_celebration_exchange_result::packetw2c_fishing_celebration_exchange_result(const packetw2c_fishing_celebration_exchange_result& from)
  66521. : ::google::protobuf::Message() {
  66522. SharedCtor();
  66523. MergeFrom(from);
  66524. }
  66525. void packetw2c_fishing_celebration_exchange_result::SharedCtor() {
  66526. _cached_size_ = 0;
  66527. packet_id_ = 7789;
  66528. result_ = 0;
  66529. index_ = 0;
  66530. count_ = 0;
  66531. getpro_ = 0;
  66532. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  66533. }
  66534. packetw2c_fishing_celebration_exchange_result::~packetw2c_fishing_celebration_exchange_result() {
  66535. SharedDtor();
  66536. }
  66537. void packetw2c_fishing_celebration_exchange_result::SharedDtor() {
  66538. if (this != default_instance_) {
  66539. }
  66540. }
  66541. void packetw2c_fishing_celebration_exchange_result::SetCachedSize(int size) const {
  66542. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  66543. _cached_size_ = size;
  66544. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  66545. }
  66546. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_exchange_result::descriptor() {
  66547. protobuf_AssignDescriptorsOnce();
  66548. return packetw2c_fishing_celebration_exchange_result_descriptor_;
  66549. }
  66550. const packetw2c_fishing_celebration_exchange_result& packetw2c_fishing_celebration_exchange_result::default_instance() {
  66551. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  66552. return *default_instance_;
  66553. }
  66554. packetw2c_fishing_celebration_exchange_result* packetw2c_fishing_celebration_exchange_result::default_instance_ = NULL;
  66555. packetw2c_fishing_celebration_exchange_result* packetw2c_fishing_celebration_exchange_result::New() const {
  66556. return new packetw2c_fishing_celebration_exchange_result;
  66557. }
  66558. void packetw2c_fishing_celebration_exchange_result::Clear() {
  66559. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66560. packet_id_ = 7789;
  66561. result_ = 0;
  66562. index_ = 0;
  66563. count_ = 0;
  66564. getpro_ = 0;
  66565. }
  66566. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  66567. mutable_unknown_fields()->Clear();
  66568. }
  66569. bool packetw2c_fishing_celebration_exchange_result::MergePartialFromCodedStream(
  66570. ::google::protobuf::io::CodedInputStream* input) {
  66571. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  66572. ::google::protobuf::uint32 tag;
  66573. while ((tag = input->ReadTag()) != 0) {
  66574. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  66575. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result];
  66576. case 1: {
  66577. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66578. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66579. int value;
  66580. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66581. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  66582. input, &value)));
  66583. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  66584. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  66585. } else {
  66586. mutable_unknown_fields()->AddVarint(1, value);
  66587. }
  66588. } else {
  66589. goto handle_uninterpreted;
  66590. }
  66591. if (input->ExpectTag(16)) goto parse_result;
  66592. break;
  66593. }
  66594. // optional int32 result = 2;
  66595. case 2: {
  66596. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66597. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66598. parse_result:
  66599. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66600. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66601. input, &result_)));
  66602. set_has_result();
  66603. } else {
  66604. goto handle_uninterpreted;
  66605. }
  66606. if (input->ExpectTag(24)) goto parse_index;
  66607. break;
  66608. }
  66609. // optional int32 index = 3;
  66610. case 3: {
  66611. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66612. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66613. parse_index:
  66614. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66615. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66616. input, &index_)));
  66617. set_has_index();
  66618. } else {
  66619. goto handle_uninterpreted;
  66620. }
  66621. if (input->ExpectTag(32)) goto parse_count;
  66622. break;
  66623. }
  66624. // optional int32 count = 4;
  66625. case 4: {
  66626. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66627. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66628. parse_count:
  66629. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66630. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66631. input, &count_)));
  66632. set_has_count();
  66633. } else {
  66634. goto handle_uninterpreted;
  66635. }
  66636. if (input->ExpectTag(40)) goto parse_getpro;
  66637. break;
  66638. }
  66639. // optional int32 getpro = 5;
  66640. case 5: {
  66641. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66642. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66643. parse_getpro:
  66644. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66645. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66646. input, &getpro_)));
  66647. set_has_getpro();
  66648. } else {
  66649. goto handle_uninterpreted;
  66650. }
  66651. if (input->ExpectAtEnd()) return true;
  66652. break;
  66653. }
  66654. default: {
  66655. handle_uninterpreted:
  66656. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66657. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  66658. return true;
  66659. }
  66660. DO_(::google::protobuf::internal::WireFormat::SkipField(
  66661. input, tag, mutable_unknown_fields()));
  66662. break;
  66663. }
  66664. }
  66665. }
  66666. return true;
  66667. #undef DO_
  66668. }
  66669. void packetw2c_fishing_celebration_exchange_result::SerializeWithCachedSizes(
  66670. ::google::protobuf::io::CodedOutputStream* output) const {
  66671. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result];
  66672. if (has_packet_id()) {
  66673. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  66674. 1, this->packet_id(), output);
  66675. }
  66676. // optional int32 result = 2;
  66677. if (has_result()) {
  66678. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  66679. }
  66680. // optional int32 index = 3;
  66681. if (has_index()) {
  66682. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  66683. }
  66684. // optional int32 count = 4;
  66685. if (has_count()) {
  66686. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  66687. }
  66688. // optional int32 getpro = 5;
  66689. if (has_getpro()) {
  66690. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->getpro(), output);
  66691. }
  66692. if (!unknown_fields().empty()) {
  66693. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  66694. unknown_fields(), output);
  66695. }
  66696. }
  66697. ::google::protobuf::uint8* packetw2c_fishing_celebration_exchange_result::SerializeWithCachedSizesToArray(
  66698. ::google::protobuf::uint8* target) const {
  66699. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result];
  66700. if (has_packet_id()) {
  66701. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  66702. 1, this->packet_id(), target);
  66703. }
  66704. // optional int32 result = 2;
  66705. if (has_result()) {
  66706. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  66707. }
  66708. // optional int32 index = 3;
  66709. if (has_index()) {
  66710. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  66711. }
  66712. // optional int32 count = 4;
  66713. if (has_count()) {
  66714. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  66715. }
  66716. // optional int32 getpro = 5;
  66717. if (has_getpro()) {
  66718. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->getpro(), target);
  66719. }
  66720. if (!unknown_fields().empty()) {
  66721. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  66722. unknown_fields(), target);
  66723. }
  66724. return target;
  66725. }
  66726. int packetw2c_fishing_celebration_exchange_result::ByteSize() const {
  66727. int total_size = 0;
  66728. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66729. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result];
  66730. if (has_packet_id()) {
  66731. total_size += 1 +
  66732. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  66733. }
  66734. // optional int32 result = 2;
  66735. if (has_result()) {
  66736. total_size += 1 +
  66737. ::google::protobuf::internal::WireFormatLite::Int32Size(
  66738. this->result());
  66739. }
  66740. // optional int32 index = 3;
  66741. if (has_index()) {
  66742. total_size += 1 +
  66743. ::google::protobuf::internal::WireFormatLite::Int32Size(
  66744. this->index());
  66745. }
  66746. // optional int32 count = 4;
  66747. if (has_count()) {
  66748. total_size += 1 +
  66749. ::google::protobuf::internal::WireFormatLite::Int32Size(
  66750. this->count());
  66751. }
  66752. // optional int32 getpro = 5;
  66753. if (has_getpro()) {
  66754. total_size += 1 +
  66755. ::google::protobuf::internal::WireFormatLite::Int32Size(
  66756. this->getpro());
  66757. }
  66758. }
  66759. if (!unknown_fields().empty()) {
  66760. total_size +=
  66761. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  66762. unknown_fields());
  66763. }
  66764. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  66765. _cached_size_ = total_size;
  66766. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  66767. return total_size;
  66768. }
  66769. void packetw2c_fishing_celebration_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  66770. GOOGLE_CHECK_NE(&from, this);
  66771. const packetw2c_fishing_celebration_exchange_result* source =
  66772. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_exchange_result*>(
  66773. &from);
  66774. if (source == NULL) {
  66775. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  66776. } else {
  66777. MergeFrom(*source);
  66778. }
  66779. }
  66780. void packetw2c_fishing_celebration_exchange_result::MergeFrom(const packetw2c_fishing_celebration_exchange_result& from) {
  66781. GOOGLE_CHECK_NE(&from, this);
  66782. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66783. if (from.has_packet_id()) {
  66784. set_packet_id(from.packet_id());
  66785. }
  66786. if (from.has_result()) {
  66787. set_result(from.result());
  66788. }
  66789. if (from.has_index()) {
  66790. set_index(from.index());
  66791. }
  66792. if (from.has_count()) {
  66793. set_count(from.count());
  66794. }
  66795. if (from.has_getpro()) {
  66796. set_getpro(from.getpro());
  66797. }
  66798. }
  66799. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  66800. }
  66801. void packetw2c_fishing_celebration_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  66802. if (&from == this) return;
  66803. Clear();
  66804. MergeFrom(from);
  66805. }
  66806. void packetw2c_fishing_celebration_exchange_result::CopyFrom(const packetw2c_fishing_celebration_exchange_result& from) {
  66807. if (&from == this) return;
  66808. Clear();
  66809. MergeFrom(from);
  66810. }
  66811. bool packetw2c_fishing_celebration_exchange_result::IsInitialized() const {
  66812. return true;
  66813. }
  66814. void packetw2c_fishing_celebration_exchange_result::Swap(packetw2c_fishing_celebration_exchange_result* other) {
  66815. if (other != this) {
  66816. std::swap(packet_id_, other->packet_id_);
  66817. std::swap(result_, other->result_);
  66818. std::swap(index_, other->index_);
  66819. std::swap(count_, other->count_);
  66820. std::swap(getpro_, other->getpro_);
  66821. std::swap(_has_bits_[0], other->_has_bits_[0]);
  66822. _unknown_fields_.Swap(&other->_unknown_fields_);
  66823. std::swap(_cached_size_, other->_cached_size_);
  66824. }
  66825. }
  66826. ::google::protobuf::Metadata packetw2c_fishing_celebration_exchange_result::GetMetadata() const {
  66827. protobuf_AssignDescriptorsOnce();
  66828. ::google::protobuf::Metadata metadata;
  66829. metadata.descriptor = packetw2c_fishing_celebration_exchange_result_descriptor_;
  66830. metadata.reflection = packetw2c_fishing_celebration_exchange_result_reflection_;
  66831. return metadata;
  66832. }
  66833. // ===================================================================
  66834. #ifndef _MSC_VER
  66835. const int packetw2c_syn_fishing_celebration_free_gift_lottery::kPacketIdFieldNumber;
  66836. const int packetw2c_syn_fishing_celebration_free_gift_lottery::kFreeCountFieldNumber;
  66837. #endif // !_MSC_VER
  66838. packetw2c_syn_fishing_celebration_free_gift_lottery::packetw2c_syn_fishing_celebration_free_gift_lottery()
  66839. : ::google::protobuf::Message() {
  66840. SharedCtor();
  66841. }
  66842. void packetw2c_syn_fishing_celebration_free_gift_lottery::InitAsDefaultInstance() {
  66843. }
  66844. packetw2c_syn_fishing_celebration_free_gift_lottery::packetw2c_syn_fishing_celebration_free_gift_lottery(const packetw2c_syn_fishing_celebration_free_gift_lottery& from)
  66845. : ::google::protobuf::Message() {
  66846. SharedCtor();
  66847. MergeFrom(from);
  66848. }
  66849. void packetw2c_syn_fishing_celebration_free_gift_lottery::SharedCtor() {
  66850. _cached_size_ = 0;
  66851. packet_id_ = 7793;
  66852. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  66853. }
  66854. packetw2c_syn_fishing_celebration_free_gift_lottery::~packetw2c_syn_fishing_celebration_free_gift_lottery() {
  66855. SharedDtor();
  66856. }
  66857. void packetw2c_syn_fishing_celebration_free_gift_lottery::SharedDtor() {
  66858. if (this != default_instance_) {
  66859. }
  66860. }
  66861. void packetw2c_syn_fishing_celebration_free_gift_lottery::SetCachedSize(int size) const {
  66862. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  66863. _cached_size_ = size;
  66864. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  66865. }
  66866. const ::google::protobuf::Descriptor* packetw2c_syn_fishing_celebration_free_gift_lottery::descriptor() {
  66867. protobuf_AssignDescriptorsOnce();
  66868. return packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_;
  66869. }
  66870. const packetw2c_syn_fishing_celebration_free_gift_lottery& packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance() {
  66871. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  66872. return *default_instance_;
  66873. }
  66874. packetw2c_syn_fishing_celebration_free_gift_lottery* packetw2c_syn_fishing_celebration_free_gift_lottery::default_instance_ = NULL;
  66875. packetw2c_syn_fishing_celebration_free_gift_lottery* packetw2c_syn_fishing_celebration_free_gift_lottery::New() const {
  66876. return new packetw2c_syn_fishing_celebration_free_gift_lottery;
  66877. }
  66878. void packetw2c_syn_fishing_celebration_free_gift_lottery::Clear() {
  66879. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66880. packet_id_ = 7793;
  66881. }
  66882. freecount_.Clear();
  66883. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  66884. mutable_unknown_fields()->Clear();
  66885. }
  66886. bool packetw2c_syn_fishing_celebration_free_gift_lottery::MergePartialFromCodedStream(
  66887. ::google::protobuf::io::CodedInputStream* input) {
  66888. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  66889. ::google::protobuf::uint32 tag;
  66890. while ((tag = input->ReadTag()) != 0) {
  66891. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  66892. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_free_gift_lottery];
  66893. case 1: {
  66894. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66895. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66896. int value;
  66897. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  66898. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  66899. input, &value)));
  66900. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  66901. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  66902. } else {
  66903. mutable_unknown_fields()->AddVarint(1, value);
  66904. }
  66905. } else {
  66906. goto handle_uninterpreted;
  66907. }
  66908. if (input->ExpectTag(16)) goto parse_freeCount;
  66909. break;
  66910. }
  66911. // repeated int32 freeCount = 2;
  66912. case 2: {
  66913. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66914. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  66915. parse_freeCount:
  66916. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  66917. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66918. 1, 16, input, this->mutable_freecount())));
  66919. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  66920. == ::google::protobuf::internal::WireFormatLite::
  66921. WIRETYPE_LENGTH_DELIMITED) {
  66922. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  66923. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  66924. input, this->mutable_freecount())));
  66925. } else {
  66926. goto handle_uninterpreted;
  66927. }
  66928. if (input->ExpectTag(16)) goto parse_freeCount;
  66929. if (input->ExpectAtEnd()) return true;
  66930. break;
  66931. }
  66932. default: {
  66933. handle_uninterpreted:
  66934. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  66935. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  66936. return true;
  66937. }
  66938. DO_(::google::protobuf::internal::WireFormat::SkipField(
  66939. input, tag, mutable_unknown_fields()));
  66940. break;
  66941. }
  66942. }
  66943. }
  66944. return true;
  66945. #undef DO_
  66946. }
  66947. void packetw2c_syn_fishing_celebration_free_gift_lottery::SerializeWithCachedSizes(
  66948. ::google::protobuf::io::CodedOutputStream* output) const {
  66949. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_free_gift_lottery];
  66950. if (has_packet_id()) {
  66951. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  66952. 1, this->packet_id(), output);
  66953. }
  66954. // repeated int32 freeCount = 2;
  66955. for (int i = 0; i < this->freecount_size(); i++) {
  66956. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  66957. 2, this->freecount(i), output);
  66958. }
  66959. if (!unknown_fields().empty()) {
  66960. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  66961. unknown_fields(), output);
  66962. }
  66963. }
  66964. ::google::protobuf::uint8* packetw2c_syn_fishing_celebration_free_gift_lottery::SerializeWithCachedSizesToArray(
  66965. ::google::protobuf::uint8* target) const {
  66966. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_free_gift_lottery];
  66967. if (has_packet_id()) {
  66968. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  66969. 1, this->packet_id(), target);
  66970. }
  66971. // repeated int32 freeCount = 2;
  66972. for (int i = 0; i < this->freecount_size(); i++) {
  66973. target = ::google::protobuf::internal::WireFormatLite::
  66974. WriteInt32ToArray(2, this->freecount(i), target);
  66975. }
  66976. if (!unknown_fields().empty()) {
  66977. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  66978. unknown_fields(), target);
  66979. }
  66980. return target;
  66981. }
  66982. int packetw2c_syn_fishing_celebration_free_gift_lottery::ByteSize() const {
  66983. int total_size = 0;
  66984. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  66985. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_free_gift_lottery];
  66986. if (has_packet_id()) {
  66987. total_size += 1 +
  66988. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  66989. }
  66990. }
  66991. // repeated int32 freeCount = 2;
  66992. {
  66993. int data_size = 0;
  66994. for (int i = 0; i < this->freecount_size(); i++) {
  66995. data_size += ::google::protobuf::internal::WireFormatLite::
  66996. Int32Size(this->freecount(i));
  66997. }
  66998. total_size += 1 * this->freecount_size() + data_size;
  66999. }
  67000. if (!unknown_fields().empty()) {
  67001. total_size +=
  67002. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  67003. unknown_fields());
  67004. }
  67005. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  67006. _cached_size_ = total_size;
  67007. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  67008. return total_size;
  67009. }
  67010. void packetw2c_syn_fishing_celebration_free_gift_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  67011. GOOGLE_CHECK_NE(&from, this);
  67012. const packetw2c_syn_fishing_celebration_free_gift_lottery* source =
  67013. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_fishing_celebration_free_gift_lottery*>(
  67014. &from);
  67015. if (source == NULL) {
  67016. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  67017. } else {
  67018. MergeFrom(*source);
  67019. }
  67020. }
  67021. void packetw2c_syn_fishing_celebration_free_gift_lottery::MergeFrom(const packetw2c_syn_fishing_celebration_free_gift_lottery& from) {
  67022. GOOGLE_CHECK_NE(&from, this);
  67023. freecount_.MergeFrom(from.freecount_);
  67024. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67025. if (from.has_packet_id()) {
  67026. set_packet_id(from.packet_id());
  67027. }
  67028. }
  67029. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  67030. }
  67031. void packetw2c_syn_fishing_celebration_free_gift_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  67032. if (&from == this) return;
  67033. Clear();
  67034. MergeFrom(from);
  67035. }
  67036. void packetw2c_syn_fishing_celebration_free_gift_lottery::CopyFrom(const packetw2c_syn_fishing_celebration_free_gift_lottery& from) {
  67037. if (&from == this) return;
  67038. Clear();
  67039. MergeFrom(from);
  67040. }
  67041. bool packetw2c_syn_fishing_celebration_free_gift_lottery::IsInitialized() const {
  67042. return true;
  67043. }
  67044. void packetw2c_syn_fishing_celebration_free_gift_lottery::Swap(packetw2c_syn_fishing_celebration_free_gift_lottery* other) {
  67045. if (other != this) {
  67046. std::swap(packet_id_, other->packet_id_);
  67047. freecount_.Swap(&other->freecount_);
  67048. std::swap(_has_bits_[0], other->_has_bits_[0]);
  67049. _unknown_fields_.Swap(&other->_unknown_fields_);
  67050. std::swap(_cached_size_, other->_cached_size_);
  67051. }
  67052. }
  67053. ::google::protobuf::Metadata packetw2c_syn_fishing_celebration_free_gift_lottery::GetMetadata() const {
  67054. protobuf_AssignDescriptorsOnce();
  67055. ::google::protobuf::Metadata metadata;
  67056. metadata.descriptor = packetw2c_syn_fishing_celebration_free_gift_lottery_descriptor_;
  67057. metadata.reflection = packetw2c_syn_fishing_celebration_free_gift_lottery_reflection_;
  67058. return metadata;
  67059. }
  67060. // ===================================================================
  67061. #ifndef _MSC_VER
  67062. const int packetc2w_fishing_celebration_gift_lottery::kPacketIdFieldNumber;
  67063. const int packetc2w_fishing_celebration_gift_lottery::kTypeFieldNumber;
  67064. const int packetc2w_fishing_celebration_gift_lottery::kIsAdvFieldNumber;
  67065. #endif // !_MSC_VER
  67066. packetc2w_fishing_celebration_gift_lottery::packetc2w_fishing_celebration_gift_lottery()
  67067. : ::google::protobuf::Message() {
  67068. SharedCtor();
  67069. }
  67070. void packetc2w_fishing_celebration_gift_lottery::InitAsDefaultInstance() {
  67071. }
  67072. packetc2w_fishing_celebration_gift_lottery::packetc2w_fishing_celebration_gift_lottery(const packetc2w_fishing_celebration_gift_lottery& from)
  67073. : ::google::protobuf::Message() {
  67074. SharedCtor();
  67075. MergeFrom(from);
  67076. }
  67077. void packetc2w_fishing_celebration_gift_lottery::SharedCtor() {
  67078. _cached_size_ = 0;
  67079. packet_id_ = 5244;
  67080. type_ = 0;
  67081. isadv_ = false;
  67082. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  67083. }
  67084. packetc2w_fishing_celebration_gift_lottery::~packetc2w_fishing_celebration_gift_lottery() {
  67085. SharedDtor();
  67086. }
  67087. void packetc2w_fishing_celebration_gift_lottery::SharedDtor() {
  67088. if (this != default_instance_) {
  67089. }
  67090. }
  67091. void packetc2w_fishing_celebration_gift_lottery::SetCachedSize(int size) const {
  67092. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  67093. _cached_size_ = size;
  67094. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  67095. }
  67096. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_gift_lottery::descriptor() {
  67097. protobuf_AssignDescriptorsOnce();
  67098. return packetc2w_fishing_celebration_gift_lottery_descriptor_;
  67099. }
  67100. const packetc2w_fishing_celebration_gift_lottery& packetc2w_fishing_celebration_gift_lottery::default_instance() {
  67101. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  67102. return *default_instance_;
  67103. }
  67104. packetc2w_fishing_celebration_gift_lottery* packetc2w_fishing_celebration_gift_lottery::default_instance_ = NULL;
  67105. packetc2w_fishing_celebration_gift_lottery* packetc2w_fishing_celebration_gift_lottery::New() const {
  67106. return new packetc2w_fishing_celebration_gift_lottery;
  67107. }
  67108. void packetc2w_fishing_celebration_gift_lottery::Clear() {
  67109. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67110. packet_id_ = 5244;
  67111. type_ = 0;
  67112. isadv_ = false;
  67113. }
  67114. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  67115. mutable_unknown_fields()->Clear();
  67116. }
  67117. bool packetc2w_fishing_celebration_gift_lottery::MergePartialFromCodedStream(
  67118. ::google::protobuf::io::CodedInputStream* input) {
  67119. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  67120. ::google::protobuf::uint32 tag;
  67121. while ((tag = input->ReadTag()) != 0) {
  67122. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  67123. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery];
  67124. case 1: {
  67125. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67126. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67127. int value;
  67128. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67129. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  67130. input, &value)));
  67131. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  67132. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  67133. } else {
  67134. mutable_unknown_fields()->AddVarint(1, value);
  67135. }
  67136. } else {
  67137. goto handle_uninterpreted;
  67138. }
  67139. if (input->ExpectTag(16)) goto parse_type;
  67140. break;
  67141. }
  67142. // optional int32 type = 2;
  67143. case 2: {
  67144. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67145. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67146. parse_type:
  67147. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67148. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  67149. input, &type_)));
  67150. set_has_type();
  67151. } else {
  67152. goto handle_uninterpreted;
  67153. }
  67154. if (input->ExpectTag(24)) goto parse_isAdv;
  67155. break;
  67156. }
  67157. // optional bool isAdv = 3;
  67158. case 3: {
  67159. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67160. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67161. parse_isAdv:
  67162. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67163. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  67164. input, &isadv_)));
  67165. set_has_isadv();
  67166. } else {
  67167. goto handle_uninterpreted;
  67168. }
  67169. if (input->ExpectAtEnd()) return true;
  67170. break;
  67171. }
  67172. default: {
  67173. handle_uninterpreted:
  67174. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67175. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  67176. return true;
  67177. }
  67178. DO_(::google::protobuf::internal::WireFormat::SkipField(
  67179. input, tag, mutable_unknown_fields()));
  67180. break;
  67181. }
  67182. }
  67183. }
  67184. return true;
  67185. #undef DO_
  67186. }
  67187. void packetc2w_fishing_celebration_gift_lottery::SerializeWithCachedSizes(
  67188. ::google::protobuf::io::CodedOutputStream* output) const {
  67189. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery];
  67190. if (has_packet_id()) {
  67191. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  67192. 1, this->packet_id(), output);
  67193. }
  67194. // optional int32 type = 2;
  67195. if (has_type()) {
  67196. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  67197. }
  67198. // optional bool isAdv = 3;
  67199. if (has_isadv()) {
  67200. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isadv(), output);
  67201. }
  67202. if (!unknown_fields().empty()) {
  67203. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  67204. unknown_fields(), output);
  67205. }
  67206. }
  67207. ::google::protobuf::uint8* packetc2w_fishing_celebration_gift_lottery::SerializeWithCachedSizesToArray(
  67208. ::google::protobuf::uint8* target) const {
  67209. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery];
  67210. if (has_packet_id()) {
  67211. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  67212. 1, this->packet_id(), target);
  67213. }
  67214. // optional int32 type = 2;
  67215. if (has_type()) {
  67216. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  67217. }
  67218. // optional bool isAdv = 3;
  67219. if (has_isadv()) {
  67220. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->isadv(), target);
  67221. }
  67222. if (!unknown_fields().empty()) {
  67223. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  67224. unknown_fields(), target);
  67225. }
  67226. return target;
  67227. }
  67228. int packetc2w_fishing_celebration_gift_lottery::ByteSize() const {
  67229. int total_size = 0;
  67230. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67231. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery];
  67232. if (has_packet_id()) {
  67233. total_size += 1 +
  67234. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  67235. }
  67236. // optional int32 type = 2;
  67237. if (has_type()) {
  67238. total_size += 1 +
  67239. ::google::protobuf::internal::WireFormatLite::Int32Size(
  67240. this->type());
  67241. }
  67242. // optional bool isAdv = 3;
  67243. if (has_isadv()) {
  67244. total_size += 1 + 1;
  67245. }
  67246. }
  67247. if (!unknown_fields().empty()) {
  67248. total_size +=
  67249. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  67250. unknown_fields());
  67251. }
  67252. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  67253. _cached_size_ = total_size;
  67254. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  67255. return total_size;
  67256. }
  67257. void packetc2w_fishing_celebration_gift_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  67258. GOOGLE_CHECK_NE(&from, this);
  67259. const packetc2w_fishing_celebration_gift_lottery* source =
  67260. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_gift_lottery*>(
  67261. &from);
  67262. if (source == NULL) {
  67263. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  67264. } else {
  67265. MergeFrom(*source);
  67266. }
  67267. }
  67268. void packetc2w_fishing_celebration_gift_lottery::MergeFrom(const packetc2w_fishing_celebration_gift_lottery& from) {
  67269. GOOGLE_CHECK_NE(&from, this);
  67270. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67271. if (from.has_packet_id()) {
  67272. set_packet_id(from.packet_id());
  67273. }
  67274. if (from.has_type()) {
  67275. set_type(from.type());
  67276. }
  67277. if (from.has_isadv()) {
  67278. set_isadv(from.isadv());
  67279. }
  67280. }
  67281. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  67282. }
  67283. void packetc2w_fishing_celebration_gift_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  67284. if (&from == this) return;
  67285. Clear();
  67286. MergeFrom(from);
  67287. }
  67288. void packetc2w_fishing_celebration_gift_lottery::CopyFrom(const packetc2w_fishing_celebration_gift_lottery& from) {
  67289. if (&from == this) return;
  67290. Clear();
  67291. MergeFrom(from);
  67292. }
  67293. bool packetc2w_fishing_celebration_gift_lottery::IsInitialized() const {
  67294. return true;
  67295. }
  67296. void packetc2w_fishing_celebration_gift_lottery::Swap(packetc2w_fishing_celebration_gift_lottery* other) {
  67297. if (other != this) {
  67298. std::swap(packet_id_, other->packet_id_);
  67299. std::swap(type_, other->type_);
  67300. std::swap(isadv_, other->isadv_);
  67301. std::swap(_has_bits_[0], other->_has_bits_[0]);
  67302. _unknown_fields_.Swap(&other->_unknown_fields_);
  67303. std::swap(_cached_size_, other->_cached_size_);
  67304. }
  67305. }
  67306. ::google::protobuf::Metadata packetc2w_fishing_celebration_gift_lottery::GetMetadata() const {
  67307. protobuf_AssignDescriptorsOnce();
  67308. ::google::protobuf::Metadata metadata;
  67309. metadata.descriptor = packetc2w_fishing_celebration_gift_lottery_descriptor_;
  67310. metadata.reflection = packetc2w_fishing_celebration_gift_lottery_reflection_;
  67311. return metadata;
  67312. }
  67313. // ===================================================================
  67314. #ifndef _MSC_VER
  67315. const int packetw2c_fishing_celebration_gift_lottery_result::kPacketIdFieldNumber;
  67316. const int packetw2c_fishing_celebration_gift_lottery_result::kResultFieldNumber;
  67317. const int packetw2c_fishing_celebration_gift_lottery_result::kTypeFieldNumber;
  67318. const int packetw2c_fishing_celebration_gift_lottery_result::kIsAdvFieldNumber;
  67319. const int packetw2c_fishing_celebration_gift_lottery_result::kRewardidFieldNumber;
  67320. const int packetw2c_fishing_celebration_gift_lottery_result::kFreeCountFieldNumber;
  67321. #endif // !_MSC_VER
  67322. packetw2c_fishing_celebration_gift_lottery_result::packetw2c_fishing_celebration_gift_lottery_result()
  67323. : ::google::protobuf::Message() {
  67324. SharedCtor();
  67325. }
  67326. void packetw2c_fishing_celebration_gift_lottery_result::InitAsDefaultInstance() {
  67327. }
  67328. packetw2c_fishing_celebration_gift_lottery_result::packetw2c_fishing_celebration_gift_lottery_result(const packetw2c_fishing_celebration_gift_lottery_result& from)
  67329. : ::google::protobuf::Message() {
  67330. SharedCtor();
  67331. MergeFrom(from);
  67332. }
  67333. void packetw2c_fishing_celebration_gift_lottery_result::SharedCtor() {
  67334. _cached_size_ = 0;
  67335. packet_id_ = 7790;
  67336. result_ = 0;
  67337. type_ = 0;
  67338. isadv_ = false;
  67339. rewardid_ = 0;
  67340. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  67341. }
  67342. packetw2c_fishing_celebration_gift_lottery_result::~packetw2c_fishing_celebration_gift_lottery_result() {
  67343. SharedDtor();
  67344. }
  67345. void packetw2c_fishing_celebration_gift_lottery_result::SharedDtor() {
  67346. if (this != default_instance_) {
  67347. }
  67348. }
  67349. void packetw2c_fishing_celebration_gift_lottery_result::SetCachedSize(int size) const {
  67350. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  67351. _cached_size_ = size;
  67352. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  67353. }
  67354. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_gift_lottery_result::descriptor() {
  67355. protobuf_AssignDescriptorsOnce();
  67356. return packetw2c_fishing_celebration_gift_lottery_result_descriptor_;
  67357. }
  67358. const packetw2c_fishing_celebration_gift_lottery_result& packetw2c_fishing_celebration_gift_lottery_result::default_instance() {
  67359. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  67360. return *default_instance_;
  67361. }
  67362. packetw2c_fishing_celebration_gift_lottery_result* packetw2c_fishing_celebration_gift_lottery_result::default_instance_ = NULL;
  67363. packetw2c_fishing_celebration_gift_lottery_result* packetw2c_fishing_celebration_gift_lottery_result::New() const {
  67364. return new packetw2c_fishing_celebration_gift_lottery_result;
  67365. }
  67366. void packetw2c_fishing_celebration_gift_lottery_result::Clear() {
  67367. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67368. packet_id_ = 7790;
  67369. result_ = 0;
  67370. type_ = 0;
  67371. isadv_ = false;
  67372. rewardid_ = 0;
  67373. }
  67374. freecount_.Clear();
  67375. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  67376. mutable_unknown_fields()->Clear();
  67377. }
  67378. bool packetw2c_fishing_celebration_gift_lottery_result::MergePartialFromCodedStream(
  67379. ::google::protobuf::io::CodedInputStream* input) {
  67380. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  67381. ::google::protobuf::uint32 tag;
  67382. while ((tag = input->ReadTag()) != 0) {
  67383. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  67384. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_result];
  67385. case 1: {
  67386. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67387. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67388. int value;
  67389. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67390. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  67391. input, &value)));
  67392. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  67393. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  67394. } else {
  67395. mutable_unknown_fields()->AddVarint(1, value);
  67396. }
  67397. } else {
  67398. goto handle_uninterpreted;
  67399. }
  67400. if (input->ExpectTag(16)) goto parse_result;
  67401. break;
  67402. }
  67403. // optional int32 result = 2;
  67404. case 2: {
  67405. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67406. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67407. parse_result:
  67408. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67409. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  67410. input, &result_)));
  67411. set_has_result();
  67412. } else {
  67413. goto handle_uninterpreted;
  67414. }
  67415. if (input->ExpectTag(24)) goto parse_type;
  67416. break;
  67417. }
  67418. // optional int32 type = 3;
  67419. case 3: {
  67420. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67421. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67422. parse_type:
  67423. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67424. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  67425. input, &type_)));
  67426. set_has_type();
  67427. } else {
  67428. goto handle_uninterpreted;
  67429. }
  67430. if (input->ExpectTag(32)) goto parse_isAdv;
  67431. break;
  67432. }
  67433. // optional bool isAdv = 4;
  67434. case 4: {
  67435. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67436. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67437. parse_isAdv:
  67438. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67439. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  67440. input, &isadv_)));
  67441. set_has_isadv();
  67442. } else {
  67443. goto handle_uninterpreted;
  67444. }
  67445. if (input->ExpectTag(40)) goto parse_rewardid;
  67446. break;
  67447. }
  67448. // optional int32 rewardid = 5;
  67449. case 5: {
  67450. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67451. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67452. parse_rewardid:
  67453. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67454. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  67455. input, &rewardid_)));
  67456. set_has_rewardid();
  67457. } else {
  67458. goto handle_uninterpreted;
  67459. }
  67460. if (input->ExpectTag(48)) goto parse_freeCount;
  67461. break;
  67462. }
  67463. // repeated int32 freeCount = 6;
  67464. case 6: {
  67465. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67466. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67467. parse_freeCount:
  67468. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  67469. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  67470. 1, 48, input, this->mutable_freecount())));
  67471. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  67472. == ::google::protobuf::internal::WireFormatLite::
  67473. WIRETYPE_LENGTH_DELIMITED) {
  67474. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  67475. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  67476. input, this->mutable_freecount())));
  67477. } else {
  67478. goto handle_uninterpreted;
  67479. }
  67480. if (input->ExpectTag(48)) goto parse_freeCount;
  67481. if (input->ExpectAtEnd()) return true;
  67482. break;
  67483. }
  67484. default: {
  67485. handle_uninterpreted:
  67486. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67487. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  67488. return true;
  67489. }
  67490. DO_(::google::protobuf::internal::WireFormat::SkipField(
  67491. input, tag, mutable_unknown_fields()));
  67492. break;
  67493. }
  67494. }
  67495. }
  67496. return true;
  67497. #undef DO_
  67498. }
  67499. void packetw2c_fishing_celebration_gift_lottery_result::SerializeWithCachedSizes(
  67500. ::google::protobuf::io::CodedOutputStream* output) const {
  67501. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_result];
  67502. if (has_packet_id()) {
  67503. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  67504. 1, this->packet_id(), output);
  67505. }
  67506. // optional int32 result = 2;
  67507. if (has_result()) {
  67508. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  67509. }
  67510. // optional int32 type = 3;
  67511. if (has_type()) {
  67512. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  67513. }
  67514. // optional bool isAdv = 4;
  67515. if (has_isadv()) {
  67516. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->isadv(), output);
  67517. }
  67518. // optional int32 rewardid = 5;
  67519. if (has_rewardid()) {
  67520. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->rewardid(), output);
  67521. }
  67522. // repeated int32 freeCount = 6;
  67523. for (int i = 0; i < this->freecount_size(); i++) {
  67524. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  67525. 6, this->freecount(i), output);
  67526. }
  67527. if (!unknown_fields().empty()) {
  67528. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  67529. unknown_fields(), output);
  67530. }
  67531. }
  67532. ::google::protobuf::uint8* packetw2c_fishing_celebration_gift_lottery_result::SerializeWithCachedSizesToArray(
  67533. ::google::protobuf::uint8* target) const {
  67534. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_result];
  67535. if (has_packet_id()) {
  67536. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  67537. 1, this->packet_id(), target);
  67538. }
  67539. // optional int32 result = 2;
  67540. if (has_result()) {
  67541. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  67542. }
  67543. // optional int32 type = 3;
  67544. if (has_type()) {
  67545. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  67546. }
  67547. // optional bool isAdv = 4;
  67548. if (has_isadv()) {
  67549. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->isadv(), target);
  67550. }
  67551. // optional int32 rewardid = 5;
  67552. if (has_rewardid()) {
  67553. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->rewardid(), target);
  67554. }
  67555. // repeated int32 freeCount = 6;
  67556. for (int i = 0; i < this->freecount_size(); i++) {
  67557. target = ::google::protobuf::internal::WireFormatLite::
  67558. WriteInt32ToArray(6, this->freecount(i), target);
  67559. }
  67560. if (!unknown_fields().empty()) {
  67561. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  67562. unknown_fields(), target);
  67563. }
  67564. return target;
  67565. }
  67566. int packetw2c_fishing_celebration_gift_lottery_result::ByteSize() const {
  67567. int total_size = 0;
  67568. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67569. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_result];
  67570. if (has_packet_id()) {
  67571. total_size += 1 +
  67572. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  67573. }
  67574. // optional int32 result = 2;
  67575. if (has_result()) {
  67576. total_size += 1 +
  67577. ::google::protobuf::internal::WireFormatLite::Int32Size(
  67578. this->result());
  67579. }
  67580. // optional int32 type = 3;
  67581. if (has_type()) {
  67582. total_size += 1 +
  67583. ::google::protobuf::internal::WireFormatLite::Int32Size(
  67584. this->type());
  67585. }
  67586. // optional bool isAdv = 4;
  67587. if (has_isadv()) {
  67588. total_size += 1 + 1;
  67589. }
  67590. // optional int32 rewardid = 5;
  67591. if (has_rewardid()) {
  67592. total_size += 1 +
  67593. ::google::protobuf::internal::WireFormatLite::Int32Size(
  67594. this->rewardid());
  67595. }
  67596. }
  67597. // repeated int32 freeCount = 6;
  67598. {
  67599. int data_size = 0;
  67600. for (int i = 0; i < this->freecount_size(); i++) {
  67601. data_size += ::google::protobuf::internal::WireFormatLite::
  67602. Int32Size(this->freecount(i));
  67603. }
  67604. total_size += 1 * this->freecount_size() + data_size;
  67605. }
  67606. if (!unknown_fields().empty()) {
  67607. total_size +=
  67608. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  67609. unknown_fields());
  67610. }
  67611. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  67612. _cached_size_ = total_size;
  67613. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  67614. return total_size;
  67615. }
  67616. void packetw2c_fishing_celebration_gift_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  67617. GOOGLE_CHECK_NE(&from, this);
  67618. const packetw2c_fishing_celebration_gift_lottery_result* source =
  67619. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_gift_lottery_result*>(
  67620. &from);
  67621. if (source == NULL) {
  67622. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  67623. } else {
  67624. MergeFrom(*source);
  67625. }
  67626. }
  67627. void packetw2c_fishing_celebration_gift_lottery_result::MergeFrom(const packetw2c_fishing_celebration_gift_lottery_result& from) {
  67628. GOOGLE_CHECK_NE(&from, this);
  67629. freecount_.MergeFrom(from.freecount_);
  67630. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67631. if (from.has_packet_id()) {
  67632. set_packet_id(from.packet_id());
  67633. }
  67634. if (from.has_result()) {
  67635. set_result(from.result());
  67636. }
  67637. if (from.has_type()) {
  67638. set_type(from.type());
  67639. }
  67640. if (from.has_isadv()) {
  67641. set_isadv(from.isadv());
  67642. }
  67643. if (from.has_rewardid()) {
  67644. set_rewardid(from.rewardid());
  67645. }
  67646. }
  67647. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  67648. }
  67649. void packetw2c_fishing_celebration_gift_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  67650. if (&from == this) return;
  67651. Clear();
  67652. MergeFrom(from);
  67653. }
  67654. void packetw2c_fishing_celebration_gift_lottery_result::CopyFrom(const packetw2c_fishing_celebration_gift_lottery_result& from) {
  67655. if (&from == this) return;
  67656. Clear();
  67657. MergeFrom(from);
  67658. }
  67659. bool packetw2c_fishing_celebration_gift_lottery_result::IsInitialized() const {
  67660. return true;
  67661. }
  67662. void packetw2c_fishing_celebration_gift_lottery_result::Swap(packetw2c_fishing_celebration_gift_lottery_result* other) {
  67663. if (other != this) {
  67664. std::swap(packet_id_, other->packet_id_);
  67665. std::swap(result_, other->result_);
  67666. std::swap(type_, other->type_);
  67667. std::swap(isadv_, other->isadv_);
  67668. std::swap(rewardid_, other->rewardid_);
  67669. freecount_.Swap(&other->freecount_);
  67670. std::swap(_has_bits_[0], other->_has_bits_[0]);
  67671. _unknown_fields_.Swap(&other->_unknown_fields_);
  67672. std::swap(_cached_size_, other->_cached_size_);
  67673. }
  67674. }
  67675. ::google::protobuf::Metadata packetw2c_fishing_celebration_gift_lottery_result::GetMetadata() const {
  67676. protobuf_AssignDescriptorsOnce();
  67677. ::google::protobuf::Metadata metadata;
  67678. metadata.descriptor = packetw2c_fishing_celebration_gift_lottery_result_descriptor_;
  67679. metadata.reflection = packetw2c_fishing_celebration_gift_lottery_result_reflection_;
  67680. return metadata;
  67681. }
  67682. // ===================================================================
  67683. #ifndef _MSC_VER
  67684. const int packetc2w_fishing_celebration_gift_lottery_reward::kPacketIdFieldNumber;
  67685. const int packetc2w_fishing_celebration_gift_lottery_reward::kTypeFieldNumber;
  67686. #endif // !_MSC_VER
  67687. packetc2w_fishing_celebration_gift_lottery_reward::packetc2w_fishing_celebration_gift_lottery_reward()
  67688. : ::google::protobuf::Message() {
  67689. SharedCtor();
  67690. }
  67691. void packetc2w_fishing_celebration_gift_lottery_reward::InitAsDefaultInstance() {
  67692. }
  67693. packetc2w_fishing_celebration_gift_lottery_reward::packetc2w_fishing_celebration_gift_lottery_reward(const packetc2w_fishing_celebration_gift_lottery_reward& from)
  67694. : ::google::protobuf::Message() {
  67695. SharedCtor();
  67696. MergeFrom(from);
  67697. }
  67698. void packetc2w_fishing_celebration_gift_lottery_reward::SharedCtor() {
  67699. _cached_size_ = 0;
  67700. packet_id_ = 5245;
  67701. type_ = 0;
  67702. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  67703. }
  67704. packetc2w_fishing_celebration_gift_lottery_reward::~packetc2w_fishing_celebration_gift_lottery_reward() {
  67705. SharedDtor();
  67706. }
  67707. void packetc2w_fishing_celebration_gift_lottery_reward::SharedDtor() {
  67708. if (this != default_instance_) {
  67709. }
  67710. }
  67711. void packetc2w_fishing_celebration_gift_lottery_reward::SetCachedSize(int size) const {
  67712. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  67713. _cached_size_ = size;
  67714. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  67715. }
  67716. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_gift_lottery_reward::descriptor() {
  67717. protobuf_AssignDescriptorsOnce();
  67718. return packetc2w_fishing_celebration_gift_lottery_reward_descriptor_;
  67719. }
  67720. const packetc2w_fishing_celebration_gift_lottery_reward& packetc2w_fishing_celebration_gift_lottery_reward::default_instance() {
  67721. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  67722. return *default_instance_;
  67723. }
  67724. packetc2w_fishing_celebration_gift_lottery_reward* packetc2w_fishing_celebration_gift_lottery_reward::default_instance_ = NULL;
  67725. packetc2w_fishing_celebration_gift_lottery_reward* packetc2w_fishing_celebration_gift_lottery_reward::New() const {
  67726. return new packetc2w_fishing_celebration_gift_lottery_reward;
  67727. }
  67728. void packetc2w_fishing_celebration_gift_lottery_reward::Clear() {
  67729. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67730. packet_id_ = 5245;
  67731. type_ = 0;
  67732. }
  67733. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  67734. mutable_unknown_fields()->Clear();
  67735. }
  67736. bool packetc2w_fishing_celebration_gift_lottery_reward::MergePartialFromCodedStream(
  67737. ::google::protobuf::io::CodedInputStream* input) {
  67738. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  67739. ::google::protobuf::uint32 tag;
  67740. while ((tag = input->ReadTag()) != 0) {
  67741. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  67742. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery_reward];
  67743. case 1: {
  67744. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67745. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67746. int value;
  67747. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67748. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  67749. input, &value)));
  67750. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  67751. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  67752. } else {
  67753. mutable_unknown_fields()->AddVarint(1, value);
  67754. }
  67755. } else {
  67756. goto handle_uninterpreted;
  67757. }
  67758. if (input->ExpectTag(16)) goto parse_type;
  67759. break;
  67760. }
  67761. // optional int32 type = 2;
  67762. case 2: {
  67763. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67764. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67765. parse_type:
  67766. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67767. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  67768. input, &type_)));
  67769. set_has_type();
  67770. } else {
  67771. goto handle_uninterpreted;
  67772. }
  67773. if (input->ExpectAtEnd()) return true;
  67774. break;
  67775. }
  67776. default: {
  67777. handle_uninterpreted:
  67778. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67779. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  67780. return true;
  67781. }
  67782. DO_(::google::protobuf::internal::WireFormat::SkipField(
  67783. input, tag, mutable_unknown_fields()));
  67784. break;
  67785. }
  67786. }
  67787. }
  67788. return true;
  67789. #undef DO_
  67790. }
  67791. void packetc2w_fishing_celebration_gift_lottery_reward::SerializeWithCachedSizes(
  67792. ::google::protobuf::io::CodedOutputStream* output) const {
  67793. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery_reward];
  67794. if (has_packet_id()) {
  67795. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  67796. 1, this->packet_id(), output);
  67797. }
  67798. // optional int32 type = 2;
  67799. if (has_type()) {
  67800. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  67801. }
  67802. if (!unknown_fields().empty()) {
  67803. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  67804. unknown_fields(), output);
  67805. }
  67806. }
  67807. ::google::protobuf::uint8* packetc2w_fishing_celebration_gift_lottery_reward::SerializeWithCachedSizesToArray(
  67808. ::google::protobuf::uint8* target) const {
  67809. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery_reward];
  67810. if (has_packet_id()) {
  67811. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  67812. 1, this->packet_id(), target);
  67813. }
  67814. // optional int32 type = 2;
  67815. if (has_type()) {
  67816. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  67817. }
  67818. if (!unknown_fields().empty()) {
  67819. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  67820. unknown_fields(), target);
  67821. }
  67822. return target;
  67823. }
  67824. int packetc2w_fishing_celebration_gift_lottery_reward::ByteSize() const {
  67825. int total_size = 0;
  67826. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67827. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery_reward];
  67828. if (has_packet_id()) {
  67829. total_size += 1 +
  67830. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  67831. }
  67832. // optional int32 type = 2;
  67833. if (has_type()) {
  67834. total_size += 1 +
  67835. ::google::protobuf::internal::WireFormatLite::Int32Size(
  67836. this->type());
  67837. }
  67838. }
  67839. if (!unknown_fields().empty()) {
  67840. total_size +=
  67841. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  67842. unknown_fields());
  67843. }
  67844. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  67845. _cached_size_ = total_size;
  67846. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  67847. return total_size;
  67848. }
  67849. void packetc2w_fishing_celebration_gift_lottery_reward::MergeFrom(const ::google::protobuf::Message& from) {
  67850. GOOGLE_CHECK_NE(&from, this);
  67851. const packetc2w_fishing_celebration_gift_lottery_reward* source =
  67852. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_gift_lottery_reward*>(
  67853. &from);
  67854. if (source == NULL) {
  67855. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  67856. } else {
  67857. MergeFrom(*source);
  67858. }
  67859. }
  67860. void packetc2w_fishing_celebration_gift_lottery_reward::MergeFrom(const packetc2w_fishing_celebration_gift_lottery_reward& from) {
  67861. GOOGLE_CHECK_NE(&from, this);
  67862. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67863. if (from.has_packet_id()) {
  67864. set_packet_id(from.packet_id());
  67865. }
  67866. if (from.has_type()) {
  67867. set_type(from.type());
  67868. }
  67869. }
  67870. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  67871. }
  67872. void packetc2w_fishing_celebration_gift_lottery_reward::CopyFrom(const ::google::protobuf::Message& from) {
  67873. if (&from == this) return;
  67874. Clear();
  67875. MergeFrom(from);
  67876. }
  67877. void packetc2w_fishing_celebration_gift_lottery_reward::CopyFrom(const packetc2w_fishing_celebration_gift_lottery_reward& from) {
  67878. if (&from == this) return;
  67879. Clear();
  67880. MergeFrom(from);
  67881. }
  67882. bool packetc2w_fishing_celebration_gift_lottery_reward::IsInitialized() const {
  67883. return true;
  67884. }
  67885. void packetc2w_fishing_celebration_gift_lottery_reward::Swap(packetc2w_fishing_celebration_gift_lottery_reward* other) {
  67886. if (other != this) {
  67887. std::swap(packet_id_, other->packet_id_);
  67888. std::swap(type_, other->type_);
  67889. std::swap(_has_bits_[0], other->_has_bits_[0]);
  67890. _unknown_fields_.Swap(&other->_unknown_fields_);
  67891. std::swap(_cached_size_, other->_cached_size_);
  67892. }
  67893. }
  67894. ::google::protobuf::Metadata packetc2w_fishing_celebration_gift_lottery_reward::GetMetadata() const {
  67895. protobuf_AssignDescriptorsOnce();
  67896. ::google::protobuf::Metadata metadata;
  67897. metadata.descriptor = packetc2w_fishing_celebration_gift_lottery_reward_descriptor_;
  67898. metadata.reflection = packetc2w_fishing_celebration_gift_lottery_reward_reflection_;
  67899. return metadata;
  67900. }
  67901. // ===================================================================
  67902. #ifndef _MSC_VER
  67903. const int packetw2c_fishing_celebration_gift_lottery_reward_result::kPacketIdFieldNumber;
  67904. const int packetw2c_fishing_celebration_gift_lottery_reward_result::kResultFieldNumber;
  67905. const int packetw2c_fishing_celebration_gift_lottery_reward_result::kTypeFieldNumber;
  67906. #endif // !_MSC_VER
  67907. packetw2c_fishing_celebration_gift_lottery_reward_result::packetw2c_fishing_celebration_gift_lottery_reward_result()
  67908. : ::google::protobuf::Message() {
  67909. SharedCtor();
  67910. }
  67911. void packetw2c_fishing_celebration_gift_lottery_reward_result::InitAsDefaultInstance() {
  67912. }
  67913. packetw2c_fishing_celebration_gift_lottery_reward_result::packetw2c_fishing_celebration_gift_lottery_reward_result(const packetw2c_fishing_celebration_gift_lottery_reward_result& from)
  67914. : ::google::protobuf::Message() {
  67915. SharedCtor();
  67916. MergeFrom(from);
  67917. }
  67918. void packetw2c_fishing_celebration_gift_lottery_reward_result::SharedCtor() {
  67919. _cached_size_ = 0;
  67920. packet_id_ = 7791;
  67921. result_ = 0;
  67922. type_ = 0;
  67923. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  67924. }
  67925. packetw2c_fishing_celebration_gift_lottery_reward_result::~packetw2c_fishing_celebration_gift_lottery_reward_result() {
  67926. SharedDtor();
  67927. }
  67928. void packetw2c_fishing_celebration_gift_lottery_reward_result::SharedDtor() {
  67929. if (this != default_instance_) {
  67930. }
  67931. }
  67932. void packetw2c_fishing_celebration_gift_lottery_reward_result::SetCachedSize(int size) const {
  67933. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  67934. _cached_size_ = size;
  67935. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  67936. }
  67937. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_gift_lottery_reward_result::descriptor() {
  67938. protobuf_AssignDescriptorsOnce();
  67939. return packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_;
  67940. }
  67941. const packetw2c_fishing_celebration_gift_lottery_reward_result& packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance() {
  67942. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  67943. return *default_instance_;
  67944. }
  67945. packetw2c_fishing_celebration_gift_lottery_reward_result* packetw2c_fishing_celebration_gift_lottery_reward_result::default_instance_ = NULL;
  67946. packetw2c_fishing_celebration_gift_lottery_reward_result* packetw2c_fishing_celebration_gift_lottery_reward_result::New() const {
  67947. return new packetw2c_fishing_celebration_gift_lottery_reward_result;
  67948. }
  67949. void packetw2c_fishing_celebration_gift_lottery_reward_result::Clear() {
  67950. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  67951. packet_id_ = 7791;
  67952. result_ = 0;
  67953. type_ = 0;
  67954. }
  67955. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  67956. mutable_unknown_fields()->Clear();
  67957. }
  67958. bool packetw2c_fishing_celebration_gift_lottery_reward_result::MergePartialFromCodedStream(
  67959. ::google::protobuf::io::CodedInputStream* input) {
  67960. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  67961. ::google::protobuf::uint32 tag;
  67962. while ((tag = input->ReadTag()) != 0) {
  67963. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  67964. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_reward_result];
  67965. case 1: {
  67966. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67967. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67968. int value;
  67969. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67970. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  67971. input, &value)));
  67972. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  67973. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  67974. } else {
  67975. mutable_unknown_fields()->AddVarint(1, value);
  67976. }
  67977. } else {
  67978. goto handle_uninterpreted;
  67979. }
  67980. if (input->ExpectTag(16)) goto parse_result;
  67981. break;
  67982. }
  67983. // optional int32 result = 2;
  67984. case 2: {
  67985. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  67986. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  67987. parse_result:
  67988. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  67989. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  67990. input, &result_)));
  67991. set_has_result();
  67992. } else {
  67993. goto handle_uninterpreted;
  67994. }
  67995. if (input->ExpectTag(24)) goto parse_type;
  67996. break;
  67997. }
  67998. // optional int32 type = 3;
  67999. case 3: {
  68000. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68001. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68002. parse_type:
  68003. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  68004. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  68005. input, &type_)));
  68006. set_has_type();
  68007. } else {
  68008. goto handle_uninterpreted;
  68009. }
  68010. if (input->ExpectAtEnd()) return true;
  68011. break;
  68012. }
  68013. default: {
  68014. handle_uninterpreted:
  68015. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68016. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  68017. return true;
  68018. }
  68019. DO_(::google::protobuf::internal::WireFormat::SkipField(
  68020. input, tag, mutable_unknown_fields()));
  68021. break;
  68022. }
  68023. }
  68024. }
  68025. return true;
  68026. #undef DO_
  68027. }
  68028. void packetw2c_fishing_celebration_gift_lottery_reward_result::SerializeWithCachedSizes(
  68029. ::google::protobuf::io::CodedOutputStream* output) const {
  68030. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_reward_result];
  68031. if (has_packet_id()) {
  68032. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  68033. 1, this->packet_id(), output);
  68034. }
  68035. // optional int32 result = 2;
  68036. if (has_result()) {
  68037. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  68038. }
  68039. // optional int32 type = 3;
  68040. if (has_type()) {
  68041. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  68042. }
  68043. if (!unknown_fields().empty()) {
  68044. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  68045. unknown_fields(), output);
  68046. }
  68047. }
  68048. ::google::protobuf::uint8* packetw2c_fishing_celebration_gift_lottery_reward_result::SerializeWithCachedSizesToArray(
  68049. ::google::protobuf::uint8* target) const {
  68050. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_reward_result];
  68051. if (has_packet_id()) {
  68052. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  68053. 1, this->packet_id(), target);
  68054. }
  68055. // optional int32 result = 2;
  68056. if (has_result()) {
  68057. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  68058. }
  68059. // optional int32 type = 3;
  68060. if (has_type()) {
  68061. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  68062. }
  68063. if (!unknown_fields().empty()) {
  68064. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  68065. unknown_fields(), target);
  68066. }
  68067. return target;
  68068. }
  68069. int packetw2c_fishing_celebration_gift_lottery_reward_result::ByteSize() const {
  68070. int total_size = 0;
  68071. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68072. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_reward_result];
  68073. if (has_packet_id()) {
  68074. total_size += 1 +
  68075. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  68076. }
  68077. // optional int32 result = 2;
  68078. if (has_result()) {
  68079. total_size += 1 +
  68080. ::google::protobuf::internal::WireFormatLite::Int32Size(
  68081. this->result());
  68082. }
  68083. // optional int32 type = 3;
  68084. if (has_type()) {
  68085. total_size += 1 +
  68086. ::google::protobuf::internal::WireFormatLite::Int32Size(
  68087. this->type());
  68088. }
  68089. }
  68090. if (!unknown_fields().empty()) {
  68091. total_size +=
  68092. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  68093. unknown_fields());
  68094. }
  68095. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  68096. _cached_size_ = total_size;
  68097. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  68098. return total_size;
  68099. }
  68100. void packetw2c_fishing_celebration_gift_lottery_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  68101. GOOGLE_CHECK_NE(&from, this);
  68102. const packetw2c_fishing_celebration_gift_lottery_reward_result* source =
  68103. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_gift_lottery_reward_result*>(
  68104. &from);
  68105. if (source == NULL) {
  68106. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  68107. } else {
  68108. MergeFrom(*source);
  68109. }
  68110. }
  68111. void packetw2c_fishing_celebration_gift_lottery_reward_result::MergeFrom(const packetw2c_fishing_celebration_gift_lottery_reward_result& from) {
  68112. GOOGLE_CHECK_NE(&from, this);
  68113. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68114. if (from.has_packet_id()) {
  68115. set_packet_id(from.packet_id());
  68116. }
  68117. if (from.has_result()) {
  68118. set_result(from.result());
  68119. }
  68120. if (from.has_type()) {
  68121. set_type(from.type());
  68122. }
  68123. }
  68124. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  68125. }
  68126. void packetw2c_fishing_celebration_gift_lottery_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  68127. if (&from == this) return;
  68128. Clear();
  68129. MergeFrom(from);
  68130. }
  68131. void packetw2c_fishing_celebration_gift_lottery_reward_result::CopyFrom(const packetw2c_fishing_celebration_gift_lottery_reward_result& from) {
  68132. if (&from == this) return;
  68133. Clear();
  68134. MergeFrom(from);
  68135. }
  68136. bool packetw2c_fishing_celebration_gift_lottery_reward_result::IsInitialized() const {
  68137. return true;
  68138. }
  68139. void packetw2c_fishing_celebration_gift_lottery_reward_result::Swap(packetw2c_fishing_celebration_gift_lottery_reward_result* other) {
  68140. if (other != this) {
  68141. std::swap(packet_id_, other->packet_id_);
  68142. std::swap(result_, other->result_);
  68143. std::swap(type_, other->type_);
  68144. std::swap(_has_bits_[0], other->_has_bits_[0]);
  68145. _unknown_fields_.Swap(&other->_unknown_fields_);
  68146. std::swap(_cached_size_, other->_cached_size_);
  68147. }
  68148. }
  68149. ::google::protobuf::Metadata packetw2c_fishing_celebration_gift_lottery_reward_result::GetMetadata() const {
  68150. protobuf_AssignDescriptorsOnce();
  68151. ::google::protobuf::Metadata metadata;
  68152. metadata.descriptor = packetw2c_fishing_celebration_gift_lottery_reward_result_descriptor_;
  68153. metadata.reflection = packetw2c_fishing_celebration_gift_lottery_reward_result_reflection_;
  68154. return metadata;
  68155. }
  68156. // ===================================================================
  68157. #ifndef _MSC_VER
  68158. const int packetc2w_fishing_celebration_buy_gift::kPacketIdFieldNumber;
  68159. const int packetc2w_fishing_celebration_buy_gift::kIndexFieldNumber;
  68160. #endif // !_MSC_VER
  68161. packetc2w_fishing_celebration_buy_gift::packetc2w_fishing_celebration_buy_gift()
  68162. : ::google::protobuf::Message() {
  68163. SharedCtor();
  68164. }
  68165. void packetc2w_fishing_celebration_buy_gift::InitAsDefaultInstance() {
  68166. }
  68167. packetc2w_fishing_celebration_buy_gift::packetc2w_fishing_celebration_buy_gift(const packetc2w_fishing_celebration_buy_gift& from)
  68168. : ::google::protobuf::Message() {
  68169. SharedCtor();
  68170. MergeFrom(from);
  68171. }
  68172. void packetc2w_fishing_celebration_buy_gift::SharedCtor() {
  68173. _cached_size_ = 0;
  68174. packet_id_ = 5246;
  68175. index_ = 0;
  68176. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  68177. }
  68178. packetc2w_fishing_celebration_buy_gift::~packetc2w_fishing_celebration_buy_gift() {
  68179. SharedDtor();
  68180. }
  68181. void packetc2w_fishing_celebration_buy_gift::SharedDtor() {
  68182. if (this != default_instance_) {
  68183. }
  68184. }
  68185. void packetc2w_fishing_celebration_buy_gift::SetCachedSize(int size) const {
  68186. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  68187. _cached_size_ = size;
  68188. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  68189. }
  68190. const ::google::protobuf::Descriptor* packetc2w_fishing_celebration_buy_gift::descriptor() {
  68191. protobuf_AssignDescriptorsOnce();
  68192. return packetc2w_fishing_celebration_buy_gift_descriptor_;
  68193. }
  68194. const packetc2w_fishing_celebration_buy_gift& packetc2w_fishing_celebration_buy_gift::default_instance() {
  68195. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  68196. return *default_instance_;
  68197. }
  68198. packetc2w_fishing_celebration_buy_gift* packetc2w_fishing_celebration_buy_gift::default_instance_ = NULL;
  68199. packetc2w_fishing_celebration_buy_gift* packetc2w_fishing_celebration_buy_gift::New() const {
  68200. return new packetc2w_fishing_celebration_buy_gift;
  68201. }
  68202. void packetc2w_fishing_celebration_buy_gift::Clear() {
  68203. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68204. packet_id_ = 5246;
  68205. index_ = 0;
  68206. }
  68207. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  68208. mutable_unknown_fields()->Clear();
  68209. }
  68210. bool packetc2w_fishing_celebration_buy_gift::MergePartialFromCodedStream(
  68211. ::google::protobuf::io::CodedInputStream* input) {
  68212. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  68213. ::google::protobuf::uint32 tag;
  68214. while ((tag = input->ReadTag()) != 0) {
  68215. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  68216. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_buy_gift];
  68217. case 1: {
  68218. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68219. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68220. int value;
  68221. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  68222. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  68223. input, &value)));
  68224. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  68225. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  68226. } else {
  68227. mutable_unknown_fields()->AddVarint(1, value);
  68228. }
  68229. } else {
  68230. goto handle_uninterpreted;
  68231. }
  68232. if (input->ExpectTag(16)) goto parse_index;
  68233. break;
  68234. }
  68235. // optional int32 index = 2;
  68236. case 2: {
  68237. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68238. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68239. parse_index:
  68240. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  68241. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  68242. input, &index_)));
  68243. set_has_index();
  68244. } else {
  68245. goto handle_uninterpreted;
  68246. }
  68247. if (input->ExpectAtEnd()) return true;
  68248. break;
  68249. }
  68250. default: {
  68251. handle_uninterpreted:
  68252. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68253. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  68254. return true;
  68255. }
  68256. DO_(::google::protobuf::internal::WireFormat::SkipField(
  68257. input, tag, mutable_unknown_fields()));
  68258. break;
  68259. }
  68260. }
  68261. }
  68262. return true;
  68263. #undef DO_
  68264. }
  68265. void packetc2w_fishing_celebration_buy_gift::SerializeWithCachedSizes(
  68266. ::google::protobuf::io::CodedOutputStream* output) const {
  68267. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_buy_gift];
  68268. if (has_packet_id()) {
  68269. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  68270. 1, this->packet_id(), output);
  68271. }
  68272. // optional int32 index = 2;
  68273. if (has_index()) {
  68274. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  68275. }
  68276. if (!unknown_fields().empty()) {
  68277. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  68278. unknown_fields(), output);
  68279. }
  68280. }
  68281. ::google::protobuf::uint8* packetc2w_fishing_celebration_buy_gift::SerializeWithCachedSizesToArray(
  68282. ::google::protobuf::uint8* target) const {
  68283. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_buy_gift];
  68284. if (has_packet_id()) {
  68285. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  68286. 1, this->packet_id(), target);
  68287. }
  68288. // optional int32 index = 2;
  68289. if (has_index()) {
  68290. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  68291. }
  68292. if (!unknown_fields().empty()) {
  68293. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  68294. unknown_fields(), target);
  68295. }
  68296. return target;
  68297. }
  68298. int packetc2w_fishing_celebration_buy_gift::ByteSize() const {
  68299. int total_size = 0;
  68300. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68301. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_buy_gift];
  68302. if (has_packet_id()) {
  68303. total_size += 1 +
  68304. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  68305. }
  68306. // optional int32 index = 2;
  68307. if (has_index()) {
  68308. total_size += 1 +
  68309. ::google::protobuf::internal::WireFormatLite::Int32Size(
  68310. this->index());
  68311. }
  68312. }
  68313. if (!unknown_fields().empty()) {
  68314. total_size +=
  68315. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  68316. unknown_fields());
  68317. }
  68318. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  68319. _cached_size_ = total_size;
  68320. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  68321. return total_size;
  68322. }
  68323. void packetc2w_fishing_celebration_buy_gift::MergeFrom(const ::google::protobuf::Message& from) {
  68324. GOOGLE_CHECK_NE(&from, this);
  68325. const packetc2w_fishing_celebration_buy_gift* source =
  68326. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_fishing_celebration_buy_gift*>(
  68327. &from);
  68328. if (source == NULL) {
  68329. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  68330. } else {
  68331. MergeFrom(*source);
  68332. }
  68333. }
  68334. void packetc2w_fishing_celebration_buy_gift::MergeFrom(const packetc2w_fishing_celebration_buy_gift& from) {
  68335. GOOGLE_CHECK_NE(&from, this);
  68336. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68337. if (from.has_packet_id()) {
  68338. set_packet_id(from.packet_id());
  68339. }
  68340. if (from.has_index()) {
  68341. set_index(from.index());
  68342. }
  68343. }
  68344. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  68345. }
  68346. void packetc2w_fishing_celebration_buy_gift::CopyFrom(const ::google::protobuf::Message& from) {
  68347. if (&from == this) return;
  68348. Clear();
  68349. MergeFrom(from);
  68350. }
  68351. void packetc2w_fishing_celebration_buy_gift::CopyFrom(const packetc2w_fishing_celebration_buy_gift& from) {
  68352. if (&from == this) return;
  68353. Clear();
  68354. MergeFrom(from);
  68355. }
  68356. bool packetc2w_fishing_celebration_buy_gift::IsInitialized() const {
  68357. return true;
  68358. }
  68359. void packetc2w_fishing_celebration_buy_gift::Swap(packetc2w_fishing_celebration_buy_gift* other) {
  68360. if (other != this) {
  68361. std::swap(packet_id_, other->packet_id_);
  68362. std::swap(index_, other->index_);
  68363. std::swap(_has_bits_[0], other->_has_bits_[0]);
  68364. _unknown_fields_.Swap(&other->_unknown_fields_);
  68365. std::swap(_cached_size_, other->_cached_size_);
  68366. }
  68367. }
  68368. ::google::protobuf::Metadata packetc2w_fishing_celebration_buy_gift::GetMetadata() const {
  68369. protobuf_AssignDescriptorsOnce();
  68370. ::google::protobuf::Metadata metadata;
  68371. metadata.descriptor = packetc2w_fishing_celebration_buy_gift_descriptor_;
  68372. metadata.reflection = packetc2w_fishing_celebration_buy_gift_reflection_;
  68373. return metadata;
  68374. }
  68375. // ===================================================================
  68376. #ifndef _MSC_VER
  68377. const int packetw2c_fishing_celebration_buy_gift_result::kPacketIdFieldNumber;
  68378. const int packetw2c_fishing_celebration_buy_gift_result::kResultFieldNumber;
  68379. const int packetw2c_fishing_celebration_buy_gift_result::kIndexFieldNumber;
  68380. #endif // !_MSC_VER
  68381. packetw2c_fishing_celebration_buy_gift_result::packetw2c_fishing_celebration_buy_gift_result()
  68382. : ::google::protobuf::Message() {
  68383. SharedCtor();
  68384. }
  68385. void packetw2c_fishing_celebration_buy_gift_result::InitAsDefaultInstance() {
  68386. }
  68387. packetw2c_fishing_celebration_buy_gift_result::packetw2c_fishing_celebration_buy_gift_result(const packetw2c_fishing_celebration_buy_gift_result& from)
  68388. : ::google::protobuf::Message() {
  68389. SharedCtor();
  68390. MergeFrom(from);
  68391. }
  68392. void packetw2c_fishing_celebration_buy_gift_result::SharedCtor() {
  68393. _cached_size_ = 0;
  68394. packet_id_ = 7792;
  68395. result_ = 0;
  68396. index_ = 0;
  68397. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  68398. }
  68399. packetw2c_fishing_celebration_buy_gift_result::~packetw2c_fishing_celebration_buy_gift_result() {
  68400. SharedDtor();
  68401. }
  68402. void packetw2c_fishing_celebration_buy_gift_result::SharedDtor() {
  68403. if (this != default_instance_) {
  68404. }
  68405. }
  68406. void packetw2c_fishing_celebration_buy_gift_result::SetCachedSize(int size) const {
  68407. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  68408. _cached_size_ = size;
  68409. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  68410. }
  68411. const ::google::protobuf::Descriptor* packetw2c_fishing_celebration_buy_gift_result::descriptor() {
  68412. protobuf_AssignDescriptorsOnce();
  68413. return packetw2c_fishing_celebration_buy_gift_result_descriptor_;
  68414. }
  68415. const packetw2c_fishing_celebration_buy_gift_result& packetw2c_fishing_celebration_buy_gift_result::default_instance() {
  68416. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  68417. return *default_instance_;
  68418. }
  68419. packetw2c_fishing_celebration_buy_gift_result* packetw2c_fishing_celebration_buy_gift_result::default_instance_ = NULL;
  68420. packetw2c_fishing_celebration_buy_gift_result* packetw2c_fishing_celebration_buy_gift_result::New() const {
  68421. return new packetw2c_fishing_celebration_buy_gift_result;
  68422. }
  68423. void packetw2c_fishing_celebration_buy_gift_result::Clear() {
  68424. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68425. packet_id_ = 7792;
  68426. result_ = 0;
  68427. index_ = 0;
  68428. }
  68429. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  68430. mutable_unknown_fields()->Clear();
  68431. }
  68432. bool packetw2c_fishing_celebration_buy_gift_result::MergePartialFromCodedStream(
  68433. ::google::protobuf::io::CodedInputStream* input) {
  68434. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  68435. ::google::protobuf::uint32 tag;
  68436. while ((tag = input->ReadTag()) != 0) {
  68437. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  68438. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_buy_gift_result];
  68439. case 1: {
  68440. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68441. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68442. int value;
  68443. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  68444. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  68445. input, &value)));
  68446. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  68447. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  68448. } else {
  68449. mutable_unknown_fields()->AddVarint(1, value);
  68450. }
  68451. } else {
  68452. goto handle_uninterpreted;
  68453. }
  68454. if (input->ExpectTag(16)) goto parse_result;
  68455. break;
  68456. }
  68457. // optional int32 result = 2;
  68458. case 2: {
  68459. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68460. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68461. parse_result:
  68462. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  68463. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  68464. input, &result_)));
  68465. set_has_result();
  68466. } else {
  68467. goto handle_uninterpreted;
  68468. }
  68469. if (input->ExpectTag(24)) goto parse_index;
  68470. break;
  68471. }
  68472. // optional int32 index = 3;
  68473. case 3: {
  68474. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68475. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68476. parse_index:
  68477. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  68478. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  68479. input, &index_)));
  68480. set_has_index();
  68481. } else {
  68482. goto handle_uninterpreted;
  68483. }
  68484. if (input->ExpectAtEnd()) return true;
  68485. break;
  68486. }
  68487. default: {
  68488. handle_uninterpreted:
  68489. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68490. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  68491. return true;
  68492. }
  68493. DO_(::google::protobuf::internal::WireFormat::SkipField(
  68494. input, tag, mutable_unknown_fields()));
  68495. break;
  68496. }
  68497. }
  68498. }
  68499. return true;
  68500. #undef DO_
  68501. }
  68502. void packetw2c_fishing_celebration_buy_gift_result::SerializeWithCachedSizes(
  68503. ::google::protobuf::io::CodedOutputStream* output) const {
  68504. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_buy_gift_result];
  68505. if (has_packet_id()) {
  68506. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  68507. 1, this->packet_id(), output);
  68508. }
  68509. // optional int32 result = 2;
  68510. if (has_result()) {
  68511. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  68512. }
  68513. // optional int32 index = 3;
  68514. if (has_index()) {
  68515. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  68516. }
  68517. if (!unknown_fields().empty()) {
  68518. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  68519. unknown_fields(), output);
  68520. }
  68521. }
  68522. ::google::protobuf::uint8* packetw2c_fishing_celebration_buy_gift_result::SerializeWithCachedSizesToArray(
  68523. ::google::protobuf::uint8* target) const {
  68524. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_buy_gift_result];
  68525. if (has_packet_id()) {
  68526. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  68527. 1, this->packet_id(), target);
  68528. }
  68529. // optional int32 result = 2;
  68530. if (has_result()) {
  68531. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  68532. }
  68533. // optional int32 index = 3;
  68534. if (has_index()) {
  68535. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  68536. }
  68537. if (!unknown_fields().empty()) {
  68538. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  68539. unknown_fields(), target);
  68540. }
  68541. return target;
  68542. }
  68543. int packetw2c_fishing_celebration_buy_gift_result::ByteSize() const {
  68544. int total_size = 0;
  68545. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68546. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_buy_gift_result];
  68547. if (has_packet_id()) {
  68548. total_size += 1 +
  68549. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  68550. }
  68551. // optional int32 result = 2;
  68552. if (has_result()) {
  68553. total_size += 1 +
  68554. ::google::protobuf::internal::WireFormatLite::Int32Size(
  68555. this->result());
  68556. }
  68557. // optional int32 index = 3;
  68558. if (has_index()) {
  68559. total_size += 1 +
  68560. ::google::protobuf::internal::WireFormatLite::Int32Size(
  68561. this->index());
  68562. }
  68563. }
  68564. if (!unknown_fields().empty()) {
  68565. total_size +=
  68566. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  68567. unknown_fields());
  68568. }
  68569. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  68570. _cached_size_ = total_size;
  68571. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  68572. return total_size;
  68573. }
  68574. void packetw2c_fishing_celebration_buy_gift_result::MergeFrom(const ::google::protobuf::Message& from) {
  68575. GOOGLE_CHECK_NE(&from, this);
  68576. const packetw2c_fishing_celebration_buy_gift_result* source =
  68577. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_fishing_celebration_buy_gift_result*>(
  68578. &from);
  68579. if (source == NULL) {
  68580. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  68581. } else {
  68582. MergeFrom(*source);
  68583. }
  68584. }
  68585. void packetw2c_fishing_celebration_buy_gift_result::MergeFrom(const packetw2c_fishing_celebration_buy_gift_result& from) {
  68586. GOOGLE_CHECK_NE(&from, this);
  68587. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68588. if (from.has_packet_id()) {
  68589. set_packet_id(from.packet_id());
  68590. }
  68591. if (from.has_result()) {
  68592. set_result(from.result());
  68593. }
  68594. if (from.has_index()) {
  68595. set_index(from.index());
  68596. }
  68597. }
  68598. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  68599. }
  68600. void packetw2c_fishing_celebration_buy_gift_result::CopyFrom(const ::google::protobuf::Message& from) {
  68601. if (&from == this) return;
  68602. Clear();
  68603. MergeFrom(from);
  68604. }
  68605. void packetw2c_fishing_celebration_buy_gift_result::CopyFrom(const packetw2c_fishing_celebration_buy_gift_result& from) {
  68606. if (&from == this) return;
  68607. Clear();
  68608. MergeFrom(from);
  68609. }
  68610. bool packetw2c_fishing_celebration_buy_gift_result::IsInitialized() const {
  68611. return true;
  68612. }
  68613. void packetw2c_fishing_celebration_buy_gift_result::Swap(packetw2c_fishing_celebration_buy_gift_result* other) {
  68614. if (other != this) {
  68615. std::swap(packet_id_, other->packet_id_);
  68616. std::swap(result_, other->result_);
  68617. std::swap(index_, other->index_);
  68618. std::swap(_has_bits_[0], other->_has_bits_[0]);
  68619. _unknown_fields_.Swap(&other->_unknown_fields_);
  68620. std::swap(_cached_size_, other->_cached_size_);
  68621. }
  68622. }
  68623. ::google::protobuf::Metadata packetw2c_fishing_celebration_buy_gift_result::GetMetadata() const {
  68624. protobuf_AssignDescriptorsOnce();
  68625. ::google::protobuf::Metadata metadata;
  68626. metadata.descriptor = packetw2c_fishing_celebration_buy_gift_result_descriptor_;
  68627. metadata.reflection = packetw2c_fishing_celebration_buy_gift_result_reflection_;
  68628. return metadata;
  68629. }
  68630. // ===================================================================
  68631. #ifndef _MSC_VER
  68632. const int packetc2w_get_fishing_celebration_rank::kPacketIdFieldNumber;
  68633. #endif // !_MSC_VER
  68634. packetc2w_get_fishing_celebration_rank::packetc2w_get_fishing_celebration_rank()
  68635. : ::google::protobuf::Message() {
  68636. SharedCtor();
  68637. }
  68638. void packetc2w_get_fishing_celebration_rank::InitAsDefaultInstance() {
  68639. }
  68640. packetc2w_get_fishing_celebration_rank::packetc2w_get_fishing_celebration_rank(const packetc2w_get_fishing_celebration_rank& from)
  68641. : ::google::protobuf::Message() {
  68642. SharedCtor();
  68643. MergeFrom(from);
  68644. }
  68645. void packetc2w_get_fishing_celebration_rank::SharedCtor() {
  68646. _cached_size_ = 0;
  68647. packet_id_ = 5240;
  68648. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  68649. }
  68650. packetc2w_get_fishing_celebration_rank::~packetc2w_get_fishing_celebration_rank() {
  68651. SharedDtor();
  68652. }
  68653. void packetc2w_get_fishing_celebration_rank::SharedDtor() {
  68654. if (this != default_instance_) {
  68655. }
  68656. }
  68657. void packetc2w_get_fishing_celebration_rank::SetCachedSize(int size) const {
  68658. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  68659. _cached_size_ = size;
  68660. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  68661. }
  68662. const ::google::protobuf::Descriptor* packetc2w_get_fishing_celebration_rank::descriptor() {
  68663. protobuf_AssignDescriptorsOnce();
  68664. return packetc2w_get_fishing_celebration_rank_descriptor_;
  68665. }
  68666. const packetc2w_get_fishing_celebration_rank& packetc2w_get_fishing_celebration_rank::default_instance() {
  68667. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  68668. return *default_instance_;
  68669. }
  68670. packetc2w_get_fishing_celebration_rank* packetc2w_get_fishing_celebration_rank::default_instance_ = NULL;
  68671. packetc2w_get_fishing_celebration_rank* packetc2w_get_fishing_celebration_rank::New() const {
  68672. return new packetc2w_get_fishing_celebration_rank;
  68673. }
  68674. void packetc2w_get_fishing_celebration_rank::Clear() {
  68675. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68676. packet_id_ = 5240;
  68677. }
  68678. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  68679. mutable_unknown_fields()->Clear();
  68680. }
  68681. bool packetc2w_get_fishing_celebration_rank::MergePartialFromCodedStream(
  68682. ::google::protobuf::io::CodedInputStream* input) {
  68683. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  68684. ::google::protobuf::uint32 tag;
  68685. while ((tag = input->ReadTag()) != 0) {
  68686. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  68687. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
  68688. case 1: {
  68689. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68690. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68691. int value;
  68692. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  68693. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  68694. input, &value)));
  68695. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  68696. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  68697. } else {
  68698. mutable_unknown_fields()->AddVarint(1, value);
  68699. }
  68700. } else {
  68701. goto handle_uninterpreted;
  68702. }
  68703. if (input->ExpectAtEnd()) return true;
  68704. break;
  68705. }
  68706. default: {
  68707. handle_uninterpreted:
  68708. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68709. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  68710. return true;
  68711. }
  68712. DO_(::google::protobuf::internal::WireFormat::SkipField(
  68713. input, tag, mutable_unknown_fields()));
  68714. break;
  68715. }
  68716. }
  68717. }
  68718. return true;
  68719. #undef DO_
  68720. }
  68721. void packetc2w_get_fishing_celebration_rank::SerializeWithCachedSizes(
  68722. ::google::protobuf::io::CodedOutputStream* output) const {
  68723. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
  68724. if (has_packet_id()) {
  68725. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  68726. 1, this->packet_id(), output);
  68727. }
  68728. if (!unknown_fields().empty()) {
  68729. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  68730. unknown_fields(), output);
  68731. }
  68732. }
  68733. ::google::protobuf::uint8* packetc2w_get_fishing_celebration_rank::SerializeWithCachedSizesToArray(
  68734. ::google::protobuf::uint8* target) const {
  68735. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
  68736. if (has_packet_id()) {
  68737. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  68738. 1, this->packet_id(), target);
  68739. }
  68740. if (!unknown_fields().empty()) {
  68741. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  68742. unknown_fields(), target);
  68743. }
  68744. return target;
  68745. }
  68746. int packetc2w_get_fishing_celebration_rank::ByteSize() const {
  68747. int total_size = 0;
  68748. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68749. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
  68750. if (has_packet_id()) {
  68751. total_size += 1 +
  68752. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  68753. }
  68754. }
  68755. if (!unknown_fields().empty()) {
  68756. total_size +=
  68757. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  68758. unknown_fields());
  68759. }
  68760. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  68761. _cached_size_ = total_size;
  68762. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  68763. return total_size;
  68764. }
  68765. void packetc2w_get_fishing_celebration_rank::MergeFrom(const ::google::protobuf::Message& from) {
  68766. GOOGLE_CHECK_NE(&from, this);
  68767. const packetc2w_get_fishing_celebration_rank* source =
  68768. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_fishing_celebration_rank*>(
  68769. &from);
  68770. if (source == NULL) {
  68771. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  68772. } else {
  68773. MergeFrom(*source);
  68774. }
  68775. }
  68776. void packetc2w_get_fishing_celebration_rank::MergeFrom(const packetc2w_get_fishing_celebration_rank& from) {
  68777. GOOGLE_CHECK_NE(&from, this);
  68778. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68779. if (from.has_packet_id()) {
  68780. set_packet_id(from.packet_id());
  68781. }
  68782. }
  68783. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  68784. }
  68785. void packetc2w_get_fishing_celebration_rank::CopyFrom(const ::google::protobuf::Message& from) {
  68786. if (&from == this) return;
  68787. Clear();
  68788. MergeFrom(from);
  68789. }
  68790. void packetc2w_get_fishing_celebration_rank::CopyFrom(const packetc2w_get_fishing_celebration_rank& from) {
  68791. if (&from == this) return;
  68792. Clear();
  68793. MergeFrom(from);
  68794. }
  68795. bool packetc2w_get_fishing_celebration_rank::IsInitialized() const {
  68796. return true;
  68797. }
  68798. void packetc2w_get_fishing_celebration_rank::Swap(packetc2w_get_fishing_celebration_rank* other) {
  68799. if (other != this) {
  68800. std::swap(packet_id_, other->packet_id_);
  68801. std::swap(_has_bits_[0], other->_has_bits_[0]);
  68802. _unknown_fields_.Swap(&other->_unknown_fields_);
  68803. std::swap(_cached_size_, other->_cached_size_);
  68804. }
  68805. }
  68806. ::google::protobuf::Metadata packetc2w_get_fishing_celebration_rank::GetMetadata() const {
  68807. protobuf_AssignDescriptorsOnce();
  68808. ::google::protobuf::Metadata metadata;
  68809. metadata.descriptor = packetc2w_get_fishing_celebration_rank_descriptor_;
  68810. metadata.reflection = packetc2w_get_fishing_celebration_rank_reflection_;
  68811. return metadata;
  68812. }
  68813. // ===================================================================
  68814. #ifndef _MSC_VER
  68815. const int packetw2c_get_fishing_celebration_rank_result::kPacketIdFieldNumber;
  68816. const int packetw2c_get_fishing_celebration_rank_result::kRankListFieldNumber;
  68817. const int packetw2c_get_fishing_celebration_rank_result::kThresholdValueFieldNumber;
  68818. const int packetw2c_get_fishing_celebration_rank_result::kMyRankFieldNumber;
  68819. #endif // !_MSC_VER
  68820. packetw2c_get_fishing_celebration_rank_result::packetw2c_get_fishing_celebration_rank_result()
  68821. : ::google::protobuf::Message() {
  68822. SharedCtor();
  68823. }
  68824. void packetw2c_get_fishing_celebration_rank_result::InitAsDefaultInstance() {
  68825. myrank_ = const_cast< ::client2world_protocols::activity_rank*>(&::client2world_protocols::activity_rank::default_instance());
  68826. }
  68827. packetw2c_get_fishing_celebration_rank_result::packetw2c_get_fishing_celebration_rank_result(const packetw2c_get_fishing_celebration_rank_result& from)
  68828. : ::google::protobuf::Message() {
  68829. SharedCtor();
  68830. MergeFrom(from);
  68831. }
  68832. void packetw2c_get_fishing_celebration_rank_result::SharedCtor() {
  68833. _cached_size_ = 0;
  68834. packet_id_ = 7786;
  68835. myrank_ = NULL;
  68836. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  68837. }
  68838. packetw2c_get_fishing_celebration_rank_result::~packetw2c_get_fishing_celebration_rank_result() {
  68839. SharedDtor();
  68840. }
  68841. void packetw2c_get_fishing_celebration_rank_result::SharedDtor() {
  68842. if (this != default_instance_) {
  68843. delete myrank_;
  68844. }
  68845. }
  68846. void packetw2c_get_fishing_celebration_rank_result::SetCachedSize(int size) const {
  68847. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  68848. _cached_size_ = size;
  68849. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  68850. }
  68851. const ::google::protobuf::Descriptor* packetw2c_get_fishing_celebration_rank_result::descriptor() {
  68852. protobuf_AssignDescriptorsOnce();
  68853. return packetw2c_get_fishing_celebration_rank_result_descriptor_;
  68854. }
  68855. const packetw2c_get_fishing_celebration_rank_result& packetw2c_get_fishing_celebration_rank_result::default_instance() {
  68856. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  68857. return *default_instance_;
  68858. }
  68859. packetw2c_get_fishing_celebration_rank_result* packetw2c_get_fishing_celebration_rank_result::default_instance_ = NULL;
  68860. packetw2c_get_fishing_celebration_rank_result* packetw2c_get_fishing_celebration_rank_result::New() const {
  68861. return new packetw2c_get_fishing_celebration_rank_result;
  68862. }
  68863. void packetw2c_get_fishing_celebration_rank_result::Clear() {
  68864. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  68865. packet_id_ = 7786;
  68866. if (has_myrank()) {
  68867. if (myrank_ != NULL) myrank_->::client2world_protocols::activity_rank::Clear();
  68868. }
  68869. }
  68870. ranklist_.Clear();
  68871. thresholdvalue_.Clear();
  68872. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  68873. mutable_unknown_fields()->Clear();
  68874. }
  68875. bool packetw2c_get_fishing_celebration_rank_result::MergePartialFromCodedStream(
  68876. ::google::protobuf::io::CodedInputStream* input) {
  68877. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  68878. ::google::protobuf::uint32 tag;
  68879. while ((tag = input->ReadTag()) != 0) {
  68880. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  68881. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result];
  68882. case 1: {
  68883. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68884. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68885. int value;
  68886. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  68887. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  68888. input, &value)));
  68889. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  68890. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  68891. } else {
  68892. mutable_unknown_fields()->AddVarint(1, value);
  68893. }
  68894. } else {
  68895. goto handle_uninterpreted;
  68896. }
  68897. if (input->ExpectTag(18)) goto parse_rankList;
  68898. break;
  68899. }
  68900. // repeated .client2world_protocols.activity_rank rankList = 2;
  68901. case 2: {
  68902. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68903. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  68904. parse_rankList:
  68905. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  68906. input, add_ranklist()));
  68907. } else {
  68908. goto handle_uninterpreted;
  68909. }
  68910. if (input->ExpectTag(18)) goto parse_rankList;
  68911. if (input->ExpectTag(24)) goto parse_thresholdValue;
  68912. break;
  68913. }
  68914. // repeated int32 thresholdValue = 3;
  68915. case 3: {
  68916. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68917. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  68918. parse_thresholdValue:
  68919. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  68920. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  68921. 1, 24, input, this->mutable_thresholdvalue())));
  68922. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  68923. == ::google::protobuf::internal::WireFormatLite::
  68924. WIRETYPE_LENGTH_DELIMITED) {
  68925. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  68926. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  68927. input, this->mutable_thresholdvalue())));
  68928. } else {
  68929. goto handle_uninterpreted;
  68930. }
  68931. if (input->ExpectTag(24)) goto parse_thresholdValue;
  68932. if (input->ExpectTag(34)) goto parse_myRank;
  68933. break;
  68934. }
  68935. // optional .client2world_protocols.activity_rank myRank = 4;
  68936. case 4: {
  68937. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68938. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  68939. parse_myRank:
  68940. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  68941. input, mutable_myrank()));
  68942. } else {
  68943. goto handle_uninterpreted;
  68944. }
  68945. if (input->ExpectAtEnd()) return true;
  68946. break;
  68947. }
  68948. default: {
  68949. handle_uninterpreted:
  68950. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  68951. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  68952. return true;
  68953. }
  68954. DO_(::google::protobuf::internal::WireFormat::SkipField(
  68955. input, tag, mutable_unknown_fields()));
  68956. break;
  68957. }
  68958. }
  68959. }
  68960. return true;
  68961. #undef DO_
  68962. }
  68963. void packetw2c_get_fishing_celebration_rank_result::SerializeWithCachedSizes(
  68964. ::google::protobuf::io::CodedOutputStream* output) const {
  68965. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result];
  68966. if (has_packet_id()) {
  68967. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  68968. 1, this->packet_id(), output);
  68969. }
  68970. // repeated .client2world_protocols.activity_rank rankList = 2;
  68971. for (int i = 0; i < this->ranklist_size(); i++) {
  68972. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  68973. 2, this->ranklist(i), output);
  68974. }
  68975. // repeated int32 thresholdValue = 3;
  68976. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  68977. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  68978. 3, this->thresholdvalue(i), output);
  68979. }
  68980. // optional .client2world_protocols.activity_rank myRank = 4;
  68981. if (has_myrank()) {
  68982. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  68983. 4, this->myrank(), output);
  68984. }
  68985. if (!unknown_fields().empty()) {
  68986. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  68987. unknown_fields(), output);
  68988. }
  68989. }
  68990. ::google::protobuf::uint8* packetw2c_get_fishing_celebration_rank_result::SerializeWithCachedSizesToArray(
  68991. ::google::protobuf::uint8* target) const {
  68992. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result];
  68993. if (has_packet_id()) {
  68994. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  68995. 1, this->packet_id(), target);
  68996. }
  68997. // repeated .client2world_protocols.activity_rank rankList = 2;
  68998. for (int i = 0; i < this->ranklist_size(); i++) {
  68999. target = ::google::protobuf::internal::WireFormatLite::
  69000. WriteMessageNoVirtualToArray(
  69001. 2, this->ranklist(i), target);
  69002. }
  69003. // repeated int32 thresholdValue = 3;
  69004. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  69005. target = ::google::protobuf::internal::WireFormatLite::
  69006. WriteInt32ToArray(3, this->thresholdvalue(i), target);
  69007. }
  69008. // optional .client2world_protocols.activity_rank myRank = 4;
  69009. if (has_myrank()) {
  69010. target = ::google::protobuf::internal::WireFormatLite::
  69011. WriteMessageNoVirtualToArray(
  69012. 4, this->myrank(), target);
  69013. }
  69014. if (!unknown_fields().empty()) {
  69015. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  69016. unknown_fields(), target);
  69017. }
  69018. return target;
  69019. }
  69020. int packetw2c_get_fishing_celebration_rank_result::ByteSize() const {
  69021. int total_size = 0;
  69022. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69023. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result];
  69024. if (has_packet_id()) {
  69025. total_size += 1 +
  69026. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  69027. }
  69028. // optional .client2world_protocols.activity_rank myRank = 4;
  69029. if (has_myrank()) {
  69030. total_size += 1 +
  69031. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  69032. this->myrank());
  69033. }
  69034. }
  69035. // repeated .client2world_protocols.activity_rank rankList = 2;
  69036. total_size += 1 * this->ranklist_size();
  69037. for (int i = 0; i < this->ranklist_size(); i++) {
  69038. total_size +=
  69039. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  69040. this->ranklist(i));
  69041. }
  69042. // repeated int32 thresholdValue = 3;
  69043. {
  69044. int data_size = 0;
  69045. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  69046. data_size += ::google::protobuf::internal::WireFormatLite::
  69047. Int32Size(this->thresholdvalue(i));
  69048. }
  69049. total_size += 1 * this->thresholdvalue_size() + data_size;
  69050. }
  69051. if (!unknown_fields().empty()) {
  69052. total_size +=
  69053. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  69054. unknown_fields());
  69055. }
  69056. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  69057. _cached_size_ = total_size;
  69058. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  69059. return total_size;
  69060. }
  69061. void packetw2c_get_fishing_celebration_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  69062. GOOGLE_CHECK_NE(&from, this);
  69063. const packetw2c_get_fishing_celebration_rank_result* source =
  69064. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_fishing_celebration_rank_result*>(
  69065. &from);
  69066. if (source == NULL) {
  69067. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  69068. } else {
  69069. MergeFrom(*source);
  69070. }
  69071. }
  69072. void packetw2c_get_fishing_celebration_rank_result::MergeFrom(const packetw2c_get_fishing_celebration_rank_result& from) {
  69073. GOOGLE_CHECK_NE(&from, this);
  69074. ranklist_.MergeFrom(from.ranklist_);
  69075. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  69076. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69077. if (from.has_packet_id()) {
  69078. set_packet_id(from.packet_id());
  69079. }
  69080. if (from.has_myrank()) {
  69081. mutable_myrank()->::client2world_protocols::activity_rank::MergeFrom(from.myrank());
  69082. }
  69083. }
  69084. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  69085. }
  69086. void packetw2c_get_fishing_celebration_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  69087. if (&from == this) return;
  69088. Clear();
  69089. MergeFrom(from);
  69090. }
  69091. void packetw2c_get_fishing_celebration_rank_result::CopyFrom(const packetw2c_get_fishing_celebration_rank_result& from) {
  69092. if (&from == this) return;
  69093. Clear();
  69094. MergeFrom(from);
  69095. }
  69096. bool packetw2c_get_fishing_celebration_rank_result::IsInitialized() const {
  69097. return true;
  69098. }
  69099. void packetw2c_get_fishing_celebration_rank_result::Swap(packetw2c_get_fishing_celebration_rank_result* other) {
  69100. if (other != this) {
  69101. std::swap(packet_id_, other->packet_id_);
  69102. ranklist_.Swap(&other->ranklist_);
  69103. thresholdvalue_.Swap(&other->thresholdvalue_);
  69104. std::swap(myrank_, other->myrank_);
  69105. std::swap(_has_bits_[0], other->_has_bits_[0]);
  69106. _unknown_fields_.Swap(&other->_unknown_fields_);
  69107. std::swap(_cached_size_, other->_cached_size_);
  69108. }
  69109. }
  69110. ::google::protobuf::Metadata packetw2c_get_fishing_celebration_rank_result::GetMetadata() const {
  69111. protobuf_AssignDescriptorsOnce();
  69112. ::google::protobuf::Metadata metadata;
  69113. metadata.descriptor = packetw2c_get_fishing_celebration_rank_result_descriptor_;
  69114. metadata.reflection = packetw2c_get_fishing_celebration_rank_result_reflection_;
  69115. return metadata;
  69116. }
  69117. // ===================================================================
  69118. #ifndef _MSC_VER
  69119. const int prizeKey::kGearFieldNumber;
  69120. const int prizeKey::kRankFieldNumber;
  69121. const int prizeKey::kKeyListFieldNumber;
  69122. #endif // !_MSC_VER
  69123. prizeKey::prizeKey()
  69124. : ::google::protobuf::Message() {
  69125. SharedCtor();
  69126. }
  69127. void prizeKey::InitAsDefaultInstance() {
  69128. }
  69129. prizeKey::prizeKey(const prizeKey& from)
  69130. : ::google::protobuf::Message() {
  69131. SharedCtor();
  69132. MergeFrom(from);
  69133. }
  69134. void prizeKey::SharedCtor() {
  69135. _cached_size_ = 0;
  69136. gear_ = 0;
  69137. rank_ = 0;
  69138. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  69139. }
  69140. prizeKey::~prizeKey() {
  69141. SharedDtor();
  69142. }
  69143. void prizeKey::SharedDtor() {
  69144. if (this != default_instance_) {
  69145. }
  69146. }
  69147. void prizeKey::SetCachedSize(int size) const {
  69148. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  69149. _cached_size_ = size;
  69150. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  69151. }
  69152. const ::google::protobuf::Descriptor* prizeKey::descriptor() {
  69153. protobuf_AssignDescriptorsOnce();
  69154. return prizeKey_descriptor_;
  69155. }
  69156. const prizeKey& prizeKey::default_instance() {
  69157. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  69158. return *default_instance_;
  69159. }
  69160. prizeKey* prizeKey::default_instance_ = NULL;
  69161. prizeKey* prizeKey::New() const {
  69162. return new prizeKey;
  69163. }
  69164. void prizeKey::Clear() {
  69165. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69166. gear_ = 0;
  69167. rank_ = 0;
  69168. }
  69169. keylist_.Clear();
  69170. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  69171. mutable_unknown_fields()->Clear();
  69172. }
  69173. bool prizeKey::MergePartialFromCodedStream(
  69174. ::google::protobuf::io::CodedInputStream* input) {
  69175. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  69176. ::google::protobuf::uint32 tag;
  69177. while ((tag = input->ReadTag()) != 0) {
  69178. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  69179. // optional int32 gear = 1;
  69180. case 1: {
  69181. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69182. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69183. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69184. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69185. input, &gear_)));
  69186. set_has_gear();
  69187. } else {
  69188. goto handle_uninterpreted;
  69189. }
  69190. if (input->ExpectTag(16)) goto parse_rank;
  69191. break;
  69192. }
  69193. // optional int32 rank = 2;
  69194. case 2: {
  69195. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69196. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69197. parse_rank:
  69198. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69199. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69200. input, &rank_)));
  69201. set_has_rank();
  69202. } else {
  69203. goto handle_uninterpreted;
  69204. }
  69205. if (input->ExpectTag(26)) goto parse_keyList;
  69206. break;
  69207. }
  69208. // repeated string keyList = 3;
  69209. case 3: {
  69210. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69211. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  69212. parse_keyList:
  69213. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  69214. input, this->add_keylist()));
  69215. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  69216. this->keylist(this->keylist_size() - 1).data(),
  69217. this->keylist(this->keylist_size() - 1).length(),
  69218. ::google::protobuf::internal::WireFormat::PARSE);
  69219. } else {
  69220. goto handle_uninterpreted;
  69221. }
  69222. if (input->ExpectTag(26)) goto parse_keyList;
  69223. if (input->ExpectAtEnd()) return true;
  69224. break;
  69225. }
  69226. default: {
  69227. handle_uninterpreted:
  69228. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69229. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  69230. return true;
  69231. }
  69232. DO_(::google::protobuf::internal::WireFormat::SkipField(
  69233. input, tag, mutable_unknown_fields()));
  69234. break;
  69235. }
  69236. }
  69237. }
  69238. return true;
  69239. #undef DO_
  69240. }
  69241. void prizeKey::SerializeWithCachedSizes(
  69242. ::google::protobuf::io::CodedOutputStream* output) const {
  69243. // optional int32 gear = 1;
  69244. if (has_gear()) {
  69245. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->gear(), output);
  69246. }
  69247. // optional int32 rank = 2;
  69248. if (has_rank()) {
  69249. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rank(), output);
  69250. }
  69251. // repeated string keyList = 3;
  69252. for (int i = 0; i < this->keylist_size(); i++) {
  69253. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  69254. this->keylist(i).data(), this->keylist(i).length(),
  69255. ::google::protobuf::internal::WireFormat::SERIALIZE);
  69256. ::google::protobuf::internal::WireFormatLite::WriteString(
  69257. 3, this->keylist(i), output);
  69258. }
  69259. if (!unknown_fields().empty()) {
  69260. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  69261. unknown_fields(), output);
  69262. }
  69263. }
  69264. ::google::protobuf::uint8* prizeKey::SerializeWithCachedSizesToArray(
  69265. ::google::protobuf::uint8* target) const {
  69266. // optional int32 gear = 1;
  69267. if (has_gear()) {
  69268. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->gear(), target);
  69269. }
  69270. // optional int32 rank = 2;
  69271. if (has_rank()) {
  69272. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rank(), target);
  69273. }
  69274. // repeated string keyList = 3;
  69275. for (int i = 0; i < this->keylist_size(); i++) {
  69276. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  69277. this->keylist(i).data(), this->keylist(i).length(),
  69278. ::google::protobuf::internal::WireFormat::SERIALIZE);
  69279. target = ::google::protobuf::internal::WireFormatLite::
  69280. WriteStringToArray(3, this->keylist(i), target);
  69281. }
  69282. if (!unknown_fields().empty()) {
  69283. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  69284. unknown_fields(), target);
  69285. }
  69286. return target;
  69287. }
  69288. int prizeKey::ByteSize() const {
  69289. int total_size = 0;
  69290. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69291. // optional int32 gear = 1;
  69292. if (has_gear()) {
  69293. total_size += 1 +
  69294. ::google::protobuf::internal::WireFormatLite::Int32Size(
  69295. this->gear());
  69296. }
  69297. // optional int32 rank = 2;
  69298. if (has_rank()) {
  69299. total_size += 1 +
  69300. ::google::protobuf::internal::WireFormatLite::Int32Size(
  69301. this->rank());
  69302. }
  69303. }
  69304. // repeated string keyList = 3;
  69305. total_size += 1 * this->keylist_size();
  69306. for (int i = 0; i < this->keylist_size(); i++) {
  69307. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  69308. this->keylist(i));
  69309. }
  69310. if (!unknown_fields().empty()) {
  69311. total_size +=
  69312. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  69313. unknown_fields());
  69314. }
  69315. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  69316. _cached_size_ = total_size;
  69317. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  69318. return total_size;
  69319. }
  69320. void prizeKey::MergeFrom(const ::google::protobuf::Message& from) {
  69321. GOOGLE_CHECK_NE(&from, this);
  69322. const prizeKey* source =
  69323. ::google::protobuf::internal::dynamic_cast_if_available<const prizeKey*>(
  69324. &from);
  69325. if (source == NULL) {
  69326. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  69327. } else {
  69328. MergeFrom(*source);
  69329. }
  69330. }
  69331. void prizeKey::MergeFrom(const prizeKey& from) {
  69332. GOOGLE_CHECK_NE(&from, this);
  69333. keylist_.MergeFrom(from.keylist_);
  69334. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69335. if (from.has_gear()) {
  69336. set_gear(from.gear());
  69337. }
  69338. if (from.has_rank()) {
  69339. set_rank(from.rank());
  69340. }
  69341. }
  69342. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  69343. }
  69344. void prizeKey::CopyFrom(const ::google::protobuf::Message& from) {
  69345. if (&from == this) return;
  69346. Clear();
  69347. MergeFrom(from);
  69348. }
  69349. void prizeKey::CopyFrom(const prizeKey& from) {
  69350. if (&from == this) return;
  69351. Clear();
  69352. MergeFrom(from);
  69353. }
  69354. bool prizeKey::IsInitialized() const {
  69355. return true;
  69356. }
  69357. void prizeKey::Swap(prizeKey* other) {
  69358. if (other != this) {
  69359. std::swap(gear_, other->gear_);
  69360. std::swap(rank_, other->rank_);
  69361. keylist_.Swap(&other->keylist_);
  69362. std::swap(_has_bits_[0], other->_has_bits_[0]);
  69363. _unknown_fields_.Swap(&other->_unknown_fields_);
  69364. std::swap(_cached_size_, other->_cached_size_);
  69365. }
  69366. }
  69367. ::google::protobuf::Metadata prizeKey::GetMetadata() const {
  69368. protobuf_AssignDescriptorsOnce();
  69369. ::google::protobuf::Metadata metadata;
  69370. metadata.descriptor = prizeKey_descriptor_;
  69371. metadata.reflection = prizeKey_reflection_;
  69372. return metadata;
  69373. }
  69374. // ===================================================================
  69375. #ifndef _MSC_VER
  69376. const int packetw2c_syn_feed_back_info::kPacketIdFieldNumber;
  69377. const int packetw2c_syn_feed_back_info::kActivityStateFieldNumber;
  69378. const int packetw2c_syn_feed_back_info::kStartTimeFieldNumber;
  69379. const int packetw2c_syn_feed_back_info::kEndTimeFieldNumber;
  69380. const int packetw2c_syn_feed_back_info::kReceiveTimeFieldNumber;
  69381. const int packetw2c_syn_feed_back_info::kCurGearFieldNumber;
  69382. const int packetw2c_syn_feed_back_info::kVipReveiveCountFieldNumber;
  69383. const int packetw2c_syn_feed_back_info::kPrizeListFieldNumber;
  69384. #endif // !_MSC_VER
  69385. packetw2c_syn_feed_back_info::packetw2c_syn_feed_back_info()
  69386. : ::google::protobuf::Message() {
  69387. SharedCtor();
  69388. }
  69389. void packetw2c_syn_feed_back_info::InitAsDefaultInstance() {
  69390. }
  69391. packetw2c_syn_feed_back_info::packetw2c_syn_feed_back_info(const packetw2c_syn_feed_back_info& from)
  69392. : ::google::protobuf::Message() {
  69393. SharedCtor();
  69394. MergeFrom(from);
  69395. }
  69396. void packetw2c_syn_feed_back_info::SharedCtor() {
  69397. _cached_size_ = 0;
  69398. packet_id_ = 7807;
  69399. activitystate_ = 0;
  69400. starttime_ = 0;
  69401. endtime_ = 0;
  69402. receivetime_ = 0;
  69403. curgear_ = 0;
  69404. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  69405. }
  69406. packetw2c_syn_feed_back_info::~packetw2c_syn_feed_back_info() {
  69407. SharedDtor();
  69408. }
  69409. void packetw2c_syn_feed_back_info::SharedDtor() {
  69410. if (this != default_instance_) {
  69411. }
  69412. }
  69413. void packetw2c_syn_feed_back_info::SetCachedSize(int size) const {
  69414. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  69415. _cached_size_ = size;
  69416. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  69417. }
  69418. const ::google::protobuf::Descriptor* packetw2c_syn_feed_back_info::descriptor() {
  69419. protobuf_AssignDescriptorsOnce();
  69420. return packetw2c_syn_feed_back_info_descriptor_;
  69421. }
  69422. const packetw2c_syn_feed_back_info& packetw2c_syn_feed_back_info::default_instance() {
  69423. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  69424. return *default_instance_;
  69425. }
  69426. packetw2c_syn_feed_back_info* packetw2c_syn_feed_back_info::default_instance_ = NULL;
  69427. packetw2c_syn_feed_back_info* packetw2c_syn_feed_back_info::New() const {
  69428. return new packetw2c_syn_feed_back_info;
  69429. }
  69430. void packetw2c_syn_feed_back_info::Clear() {
  69431. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69432. packet_id_ = 7807;
  69433. activitystate_ = 0;
  69434. starttime_ = 0;
  69435. endtime_ = 0;
  69436. receivetime_ = 0;
  69437. curgear_ = 0;
  69438. }
  69439. vipreveivecount_.Clear();
  69440. prizelist_.Clear();
  69441. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  69442. mutable_unknown_fields()->Clear();
  69443. }
  69444. bool packetw2c_syn_feed_back_info::MergePartialFromCodedStream(
  69445. ::google::protobuf::io::CodedInputStream* input) {
  69446. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  69447. ::google::protobuf::uint32 tag;
  69448. while ((tag = input->ReadTag()) != 0) {
  69449. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  69450. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_feed_back_info];
  69451. case 1: {
  69452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69454. int value;
  69455. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69456. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  69457. input, &value)));
  69458. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  69459. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  69460. } else {
  69461. mutable_unknown_fields()->AddVarint(1, value);
  69462. }
  69463. } else {
  69464. goto handle_uninterpreted;
  69465. }
  69466. if (input->ExpectTag(16)) goto parse_activityState;
  69467. break;
  69468. }
  69469. // optional int32 activityState = 2;
  69470. case 2: {
  69471. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69472. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69473. parse_activityState:
  69474. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69475. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69476. input, &activitystate_)));
  69477. set_has_activitystate();
  69478. } else {
  69479. goto handle_uninterpreted;
  69480. }
  69481. if (input->ExpectTag(24)) goto parse_startTime;
  69482. break;
  69483. }
  69484. // optional int32 startTime = 3;
  69485. case 3: {
  69486. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69487. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69488. parse_startTime:
  69489. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69490. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69491. input, &starttime_)));
  69492. set_has_starttime();
  69493. } else {
  69494. goto handle_uninterpreted;
  69495. }
  69496. if (input->ExpectTag(32)) goto parse_endTime;
  69497. break;
  69498. }
  69499. // optional int32 endTime = 4;
  69500. case 4: {
  69501. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69502. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69503. parse_endTime:
  69504. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69505. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69506. input, &endtime_)));
  69507. set_has_endtime();
  69508. } else {
  69509. goto handle_uninterpreted;
  69510. }
  69511. if (input->ExpectTag(40)) goto parse_receiveTime;
  69512. break;
  69513. }
  69514. // optional int32 receiveTime = 5;
  69515. case 5: {
  69516. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69517. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69518. parse_receiveTime:
  69519. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69520. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69521. input, &receivetime_)));
  69522. set_has_receivetime();
  69523. } else {
  69524. goto handle_uninterpreted;
  69525. }
  69526. if (input->ExpectTag(48)) goto parse_curGear;
  69527. break;
  69528. }
  69529. // optional int32 curGear = 6;
  69530. case 6: {
  69531. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69532. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69533. parse_curGear:
  69534. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69535. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69536. input, &curgear_)));
  69537. set_has_curgear();
  69538. } else {
  69539. goto handle_uninterpreted;
  69540. }
  69541. if (input->ExpectTag(56)) goto parse_vipReveiveCount;
  69542. break;
  69543. }
  69544. // repeated int32 vipReveiveCount = 7;
  69545. case 7: {
  69546. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69547. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69548. parse_vipReveiveCount:
  69549. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  69550. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69551. 1, 56, input, this->mutable_vipreveivecount())));
  69552. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  69553. == ::google::protobuf::internal::WireFormatLite::
  69554. WIRETYPE_LENGTH_DELIMITED) {
  69555. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  69556. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69557. input, this->mutable_vipreveivecount())));
  69558. } else {
  69559. goto handle_uninterpreted;
  69560. }
  69561. if (input->ExpectTag(56)) goto parse_vipReveiveCount;
  69562. if (input->ExpectTag(66)) goto parse_prizeList;
  69563. break;
  69564. }
  69565. // repeated .client2world_protocols.prizeKey prizeList = 8;
  69566. case 8: {
  69567. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69568. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  69569. parse_prizeList:
  69570. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  69571. input, add_prizelist()));
  69572. } else {
  69573. goto handle_uninterpreted;
  69574. }
  69575. if (input->ExpectTag(66)) goto parse_prizeList;
  69576. if (input->ExpectAtEnd()) return true;
  69577. break;
  69578. }
  69579. default: {
  69580. handle_uninterpreted:
  69581. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69582. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  69583. return true;
  69584. }
  69585. DO_(::google::protobuf::internal::WireFormat::SkipField(
  69586. input, tag, mutable_unknown_fields()));
  69587. break;
  69588. }
  69589. }
  69590. }
  69591. return true;
  69592. #undef DO_
  69593. }
  69594. void packetw2c_syn_feed_back_info::SerializeWithCachedSizes(
  69595. ::google::protobuf::io::CodedOutputStream* output) const {
  69596. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_feed_back_info];
  69597. if (has_packet_id()) {
  69598. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  69599. 1, this->packet_id(), output);
  69600. }
  69601. // optional int32 activityState = 2;
  69602. if (has_activitystate()) {
  69603. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  69604. }
  69605. // optional int32 startTime = 3;
  69606. if (has_starttime()) {
  69607. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  69608. }
  69609. // optional int32 endTime = 4;
  69610. if (has_endtime()) {
  69611. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  69612. }
  69613. // optional int32 receiveTime = 5;
  69614. if (has_receivetime()) {
  69615. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->receivetime(), output);
  69616. }
  69617. // optional int32 curGear = 6;
  69618. if (has_curgear()) {
  69619. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->curgear(), output);
  69620. }
  69621. // repeated int32 vipReveiveCount = 7;
  69622. for (int i = 0; i < this->vipreveivecount_size(); i++) {
  69623. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  69624. 7, this->vipreveivecount(i), output);
  69625. }
  69626. // repeated .client2world_protocols.prizeKey prizeList = 8;
  69627. for (int i = 0; i < this->prizelist_size(); i++) {
  69628. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  69629. 8, this->prizelist(i), output);
  69630. }
  69631. if (!unknown_fields().empty()) {
  69632. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  69633. unknown_fields(), output);
  69634. }
  69635. }
  69636. ::google::protobuf::uint8* packetw2c_syn_feed_back_info::SerializeWithCachedSizesToArray(
  69637. ::google::protobuf::uint8* target) const {
  69638. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_feed_back_info];
  69639. if (has_packet_id()) {
  69640. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  69641. 1, this->packet_id(), target);
  69642. }
  69643. // optional int32 activityState = 2;
  69644. if (has_activitystate()) {
  69645. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  69646. }
  69647. // optional int32 startTime = 3;
  69648. if (has_starttime()) {
  69649. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  69650. }
  69651. // optional int32 endTime = 4;
  69652. if (has_endtime()) {
  69653. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  69654. }
  69655. // optional int32 receiveTime = 5;
  69656. if (has_receivetime()) {
  69657. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->receivetime(), target);
  69658. }
  69659. // optional int32 curGear = 6;
  69660. if (has_curgear()) {
  69661. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->curgear(), target);
  69662. }
  69663. // repeated int32 vipReveiveCount = 7;
  69664. for (int i = 0; i < this->vipreveivecount_size(); i++) {
  69665. target = ::google::protobuf::internal::WireFormatLite::
  69666. WriteInt32ToArray(7, this->vipreveivecount(i), target);
  69667. }
  69668. // repeated .client2world_protocols.prizeKey prizeList = 8;
  69669. for (int i = 0; i < this->prizelist_size(); i++) {
  69670. target = ::google::protobuf::internal::WireFormatLite::
  69671. WriteMessageNoVirtualToArray(
  69672. 8, this->prizelist(i), target);
  69673. }
  69674. if (!unknown_fields().empty()) {
  69675. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  69676. unknown_fields(), target);
  69677. }
  69678. return target;
  69679. }
  69680. int packetw2c_syn_feed_back_info::ByteSize() const {
  69681. int total_size = 0;
  69682. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69683. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_feed_back_info];
  69684. if (has_packet_id()) {
  69685. total_size += 1 +
  69686. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  69687. }
  69688. // optional int32 activityState = 2;
  69689. if (has_activitystate()) {
  69690. total_size += 1 +
  69691. ::google::protobuf::internal::WireFormatLite::Int32Size(
  69692. this->activitystate());
  69693. }
  69694. // optional int32 startTime = 3;
  69695. if (has_starttime()) {
  69696. total_size += 1 +
  69697. ::google::protobuf::internal::WireFormatLite::Int32Size(
  69698. this->starttime());
  69699. }
  69700. // optional int32 endTime = 4;
  69701. if (has_endtime()) {
  69702. total_size += 1 +
  69703. ::google::protobuf::internal::WireFormatLite::Int32Size(
  69704. this->endtime());
  69705. }
  69706. // optional int32 receiveTime = 5;
  69707. if (has_receivetime()) {
  69708. total_size += 1 +
  69709. ::google::protobuf::internal::WireFormatLite::Int32Size(
  69710. this->receivetime());
  69711. }
  69712. // optional int32 curGear = 6;
  69713. if (has_curgear()) {
  69714. total_size += 1 +
  69715. ::google::protobuf::internal::WireFormatLite::Int32Size(
  69716. this->curgear());
  69717. }
  69718. }
  69719. // repeated int32 vipReveiveCount = 7;
  69720. {
  69721. int data_size = 0;
  69722. for (int i = 0; i < this->vipreveivecount_size(); i++) {
  69723. data_size += ::google::protobuf::internal::WireFormatLite::
  69724. Int32Size(this->vipreveivecount(i));
  69725. }
  69726. total_size += 1 * this->vipreveivecount_size() + data_size;
  69727. }
  69728. // repeated .client2world_protocols.prizeKey prizeList = 8;
  69729. total_size += 1 * this->prizelist_size();
  69730. for (int i = 0; i < this->prizelist_size(); i++) {
  69731. total_size +=
  69732. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  69733. this->prizelist(i));
  69734. }
  69735. if (!unknown_fields().empty()) {
  69736. total_size +=
  69737. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  69738. unknown_fields());
  69739. }
  69740. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  69741. _cached_size_ = total_size;
  69742. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  69743. return total_size;
  69744. }
  69745. void packetw2c_syn_feed_back_info::MergeFrom(const ::google::protobuf::Message& from) {
  69746. GOOGLE_CHECK_NE(&from, this);
  69747. const packetw2c_syn_feed_back_info* source =
  69748. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_feed_back_info*>(
  69749. &from);
  69750. if (source == NULL) {
  69751. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  69752. } else {
  69753. MergeFrom(*source);
  69754. }
  69755. }
  69756. void packetw2c_syn_feed_back_info::MergeFrom(const packetw2c_syn_feed_back_info& from) {
  69757. GOOGLE_CHECK_NE(&from, this);
  69758. vipreveivecount_.MergeFrom(from.vipreveivecount_);
  69759. prizelist_.MergeFrom(from.prizelist_);
  69760. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69761. if (from.has_packet_id()) {
  69762. set_packet_id(from.packet_id());
  69763. }
  69764. if (from.has_activitystate()) {
  69765. set_activitystate(from.activitystate());
  69766. }
  69767. if (from.has_starttime()) {
  69768. set_starttime(from.starttime());
  69769. }
  69770. if (from.has_endtime()) {
  69771. set_endtime(from.endtime());
  69772. }
  69773. if (from.has_receivetime()) {
  69774. set_receivetime(from.receivetime());
  69775. }
  69776. if (from.has_curgear()) {
  69777. set_curgear(from.curgear());
  69778. }
  69779. }
  69780. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  69781. }
  69782. void packetw2c_syn_feed_back_info::CopyFrom(const ::google::protobuf::Message& from) {
  69783. if (&from == this) return;
  69784. Clear();
  69785. MergeFrom(from);
  69786. }
  69787. void packetw2c_syn_feed_back_info::CopyFrom(const packetw2c_syn_feed_back_info& from) {
  69788. if (&from == this) return;
  69789. Clear();
  69790. MergeFrom(from);
  69791. }
  69792. bool packetw2c_syn_feed_back_info::IsInitialized() const {
  69793. return true;
  69794. }
  69795. void packetw2c_syn_feed_back_info::Swap(packetw2c_syn_feed_back_info* other) {
  69796. if (other != this) {
  69797. std::swap(packet_id_, other->packet_id_);
  69798. std::swap(activitystate_, other->activitystate_);
  69799. std::swap(starttime_, other->starttime_);
  69800. std::swap(endtime_, other->endtime_);
  69801. std::swap(receivetime_, other->receivetime_);
  69802. std::swap(curgear_, other->curgear_);
  69803. vipreveivecount_.Swap(&other->vipreveivecount_);
  69804. prizelist_.Swap(&other->prizelist_);
  69805. std::swap(_has_bits_[0], other->_has_bits_[0]);
  69806. _unknown_fields_.Swap(&other->_unknown_fields_);
  69807. std::swap(_cached_size_, other->_cached_size_);
  69808. }
  69809. }
  69810. ::google::protobuf::Metadata packetw2c_syn_feed_back_info::GetMetadata() const {
  69811. protobuf_AssignDescriptorsOnce();
  69812. ::google::protobuf::Metadata metadata;
  69813. metadata.descriptor = packetw2c_syn_feed_back_info_descriptor_;
  69814. metadata.reflection = packetw2c_syn_feed_back_info_reflection_;
  69815. return metadata;
  69816. }
  69817. // ===================================================================
  69818. #ifndef _MSC_VER
  69819. const int packetc2w_get_feed_back_vip_reward::kPacketIdFieldNumber;
  69820. const int packetc2w_get_feed_back_vip_reward::kGearFieldNumber;
  69821. #endif // !_MSC_VER
  69822. packetc2w_get_feed_back_vip_reward::packetc2w_get_feed_back_vip_reward()
  69823. : ::google::protobuf::Message() {
  69824. SharedCtor();
  69825. }
  69826. void packetc2w_get_feed_back_vip_reward::InitAsDefaultInstance() {
  69827. }
  69828. packetc2w_get_feed_back_vip_reward::packetc2w_get_feed_back_vip_reward(const packetc2w_get_feed_back_vip_reward& from)
  69829. : ::google::protobuf::Message() {
  69830. SharedCtor();
  69831. MergeFrom(from);
  69832. }
  69833. void packetc2w_get_feed_back_vip_reward::SharedCtor() {
  69834. _cached_size_ = 0;
  69835. packet_id_ = 5260;
  69836. gear_ = 0;
  69837. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  69838. }
  69839. packetc2w_get_feed_back_vip_reward::~packetc2w_get_feed_back_vip_reward() {
  69840. SharedDtor();
  69841. }
  69842. void packetc2w_get_feed_back_vip_reward::SharedDtor() {
  69843. if (this != default_instance_) {
  69844. }
  69845. }
  69846. void packetc2w_get_feed_back_vip_reward::SetCachedSize(int size) const {
  69847. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  69848. _cached_size_ = size;
  69849. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  69850. }
  69851. const ::google::protobuf::Descriptor* packetc2w_get_feed_back_vip_reward::descriptor() {
  69852. protobuf_AssignDescriptorsOnce();
  69853. return packetc2w_get_feed_back_vip_reward_descriptor_;
  69854. }
  69855. const packetc2w_get_feed_back_vip_reward& packetc2w_get_feed_back_vip_reward::default_instance() {
  69856. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  69857. return *default_instance_;
  69858. }
  69859. packetc2w_get_feed_back_vip_reward* packetc2w_get_feed_back_vip_reward::default_instance_ = NULL;
  69860. packetc2w_get_feed_back_vip_reward* packetc2w_get_feed_back_vip_reward::New() const {
  69861. return new packetc2w_get_feed_back_vip_reward;
  69862. }
  69863. void packetc2w_get_feed_back_vip_reward::Clear() {
  69864. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69865. packet_id_ = 5260;
  69866. gear_ = 0;
  69867. }
  69868. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  69869. mutable_unknown_fields()->Clear();
  69870. }
  69871. bool packetc2w_get_feed_back_vip_reward::MergePartialFromCodedStream(
  69872. ::google::protobuf::io::CodedInputStream* input) {
  69873. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  69874. ::google::protobuf::uint32 tag;
  69875. while ((tag = input->ReadTag()) != 0) {
  69876. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  69877. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_vip_reward];
  69878. case 1: {
  69879. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69880. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69881. int value;
  69882. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69883. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  69884. input, &value)));
  69885. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  69886. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  69887. } else {
  69888. mutable_unknown_fields()->AddVarint(1, value);
  69889. }
  69890. } else {
  69891. goto handle_uninterpreted;
  69892. }
  69893. if (input->ExpectTag(16)) goto parse_gear;
  69894. break;
  69895. }
  69896. // optional int32 gear = 2;
  69897. case 2: {
  69898. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69899. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  69900. parse_gear:
  69901. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  69902. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  69903. input, &gear_)));
  69904. set_has_gear();
  69905. } else {
  69906. goto handle_uninterpreted;
  69907. }
  69908. if (input->ExpectAtEnd()) return true;
  69909. break;
  69910. }
  69911. default: {
  69912. handle_uninterpreted:
  69913. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  69914. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  69915. return true;
  69916. }
  69917. DO_(::google::protobuf::internal::WireFormat::SkipField(
  69918. input, tag, mutable_unknown_fields()));
  69919. break;
  69920. }
  69921. }
  69922. }
  69923. return true;
  69924. #undef DO_
  69925. }
  69926. void packetc2w_get_feed_back_vip_reward::SerializeWithCachedSizes(
  69927. ::google::protobuf::io::CodedOutputStream* output) const {
  69928. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_vip_reward];
  69929. if (has_packet_id()) {
  69930. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  69931. 1, this->packet_id(), output);
  69932. }
  69933. // optional int32 gear = 2;
  69934. if (has_gear()) {
  69935. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gear(), output);
  69936. }
  69937. if (!unknown_fields().empty()) {
  69938. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  69939. unknown_fields(), output);
  69940. }
  69941. }
  69942. ::google::protobuf::uint8* packetc2w_get_feed_back_vip_reward::SerializeWithCachedSizesToArray(
  69943. ::google::protobuf::uint8* target) const {
  69944. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_vip_reward];
  69945. if (has_packet_id()) {
  69946. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  69947. 1, this->packet_id(), target);
  69948. }
  69949. // optional int32 gear = 2;
  69950. if (has_gear()) {
  69951. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gear(), target);
  69952. }
  69953. if (!unknown_fields().empty()) {
  69954. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  69955. unknown_fields(), target);
  69956. }
  69957. return target;
  69958. }
  69959. int packetc2w_get_feed_back_vip_reward::ByteSize() const {
  69960. int total_size = 0;
  69961. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69962. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_vip_reward];
  69963. if (has_packet_id()) {
  69964. total_size += 1 +
  69965. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  69966. }
  69967. // optional int32 gear = 2;
  69968. if (has_gear()) {
  69969. total_size += 1 +
  69970. ::google::protobuf::internal::WireFormatLite::Int32Size(
  69971. this->gear());
  69972. }
  69973. }
  69974. if (!unknown_fields().empty()) {
  69975. total_size +=
  69976. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  69977. unknown_fields());
  69978. }
  69979. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  69980. _cached_size_ = total_size;
  69981. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  69982. return total_size;
  69983. }
  69984. void packetc2w_get_feed_back_vip_reward::MergeFrom(const ::google::protobuf::Message& from) {
  69985. GOOGLE_CHECK_NE(&from, this);
  69986. const packetc2w_get_feed_back_vip_reward* source =
  69987. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_feed_back_vip_reward*>(
  69988. &from);
  69989. if (source == NULL) {
  69990. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  69991. } else {
  69992. MergeFrom(*source);
  69993. }
  69994. }
  69995. void packetc2w_get_feed_back_vip_reward::MergeFrom(const packetc2w_get_feed_back_vip_reward& from) {
  69996. GOOGLE_CHECK_NE(&from, this);
  69997. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  69998. if (from.has_packet_id()) {
  69999. set_packet_id(from.packet_id());
  70000. }
  70001. if (from.has_gear()) {
  70002. set_gear(from.gear());
  70003. }
  70004. }
  70005. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  70006. }
  70007. void packetc2w_get_feed_back_vip_reward::CopyFrom(const ::google::protobuf::Message& from) {
  70008. if (&from == this) return;
  70009. Clear();
  70010. MergeFrom(from);
  70011. }
  70012. void packetc2w_get_feed_back_vip_reward::CopyFrom(const packetc2w_get_feed_back_vip_reward& from) {
  70013. if (&from == this) return;
  70014. Clear();
  70015. MergeFrom(from);
  70016. }
  70017. bool packetc2w_get_feed_back_vip_reward::IsInitialized() const {
  70018. return true;
  70019. }
  70020. void packetc2w_get_feed_back_vip_reward::Swap(packetc2w_get_feed_back_vip_reward* other) {
  70021. if (other != this) {
  70022. std::swap(packet_id_, other->packet_id_);
  70023. std::swap(gear_, other->gear_);
  70024. std::swap(_has_bits_[0], other->_has_bits_[0]);
  70025. _unknown_fields_.Swap(&other->_unknown_fields_);
  70026. std::swap(_cached_size_, other->_cached_size_);
  70027. }
  70028. }
  70029. ::google::protobuf::Metadata packetc2w_get_feed_back_vip_reward::GetMetadata() const {
  70030. protobuf_AssignDescriptorsOnce();
  70031. ::google::protobuf::Metadata metadata;
  70032. metadata.descriptor = packetc2w_get_feed_back_vip_reward_descriptor_;
  70033. metadata.reflection = packetc2w_get_feed_back_vip_reward_reflection_;
  70034. return metadata;
  70035. }
  70036. // ===================================================================
  70037. #ifndef _MSC_VER
  70038. const int packetw2c_get_feed_back_vip_reward_result::kPacketIdFieldNumber;
  70039. const int packetw2c_get_feed_back_vip_reward_result::kResultFieldNumber;
  70040. const int packetw2c_get_feed_back_vip_reward_result::kVipFieldNumber;
  70041. const int packetw2c_get_feed_back_vip_reward_result::kVipReveiveCountFieldNumber;
  70042. const int packetw2c_get_feed_back_vip_reward_result::kGearFieldNumber;
  70043. #endif // !_MSC_VER
  70044. packetw2c_get_feed_back_vip_reward_result::packetw2c_get_feed_back_vip_reward_result()
  70045. : ::google::protobuf::Message() {
  70046. SharedCtor();
  70047. }
  70048. void packetw2c_get_feed_back_vip_reward_result::InitAsDefaultInstance() {
  70049. }
  70050. packetw2c_get_feed_back_vip_reward_result::packetw2c_get_feed_back_vip_reward_result(const packetw2c_get_feed_back_vip_reward_result& from)
  70051. : ::google::protobuf::Message() {
  70052. SharedCtor();
  70053. MergeFrom(from);
  70054. }
  70055. void packetw2c_get_feed_back_vip_reward_result::SharedCtor() {
  70056. _cached_size_ = 0;
  70057. packet_id_ = 7809;
  70058. result_ = 0;
  70059. vip_ = 0;
  70060. vipreveivecount_ = 0;
  70061. gear_ = 0;
  70062. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  70063. }
  70064. packetw2c_get_feed_back_vip_reward_result::~packetw2c_get_feed_back_vip_reward_result() {
  70065. SharedDtor();
  70066. }
  70067. void packetw2c_get_feed_back_vip_reward_result::SharedDtor() {
  70068. if (this != default_instance_) {
  70069. }
  70070. }
  70071. void packetw2c_get_feed_back_vip_reward_result::SetCachedSize(int size) const {
  70072. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  70073. _cached_size_ = size;
  70074. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  70075. }
  70076. const ::google::protobuf::Descriptor* packetw2c_get_feed_back_vip_reward_result::descriptor() {
  70077. protobuf_AssignDescriptorsOnce();
  70078. return packetw2c_get_feed_back_vip_reward_result_descriptor_;
  70079. }
  70080. const packetw2c_get_feed_back_vip_reward_result& packetw2c_get_feed_back_vip_reward_result::default_instance() {
  70081. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  70082. return *default_instance_;
  70083. }
  70084. packetw2c_get_feed_back_vip_reward_result* packetw2c_get_feed_back_vip_reward_result::default_instance_ = NULL;
  70085. packetw2c_get_feed_back_vip_reward_result* packetw2c_get_feed_back_vip_reward_result::New() const {
  70086. return new packetw2c_get_feed_back_vip_reward_result;
  70087. }
  70088. void packetw2c_get_feed_back_vip_reward_result::Clear() {
  70089. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70090. packet_id_ = 7809;
  70091. result_ = 0;
  70092. vip_ = 0;
  70093. vipreveivecount_ = 0;
  70094. gear_ = 0;
  70095. }
  70096. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  70097. mutable_unknown_fields()->Clear();
  70098. }
  70099. bool packetw2c_get_feed_back_vip_reward_result::MergePartialFromCodedStream(
  70100. ::google::protobuf::io::CodedInputStream* input) {
  70101. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  70102. ::google::protobuf::uint32 tag;
  70103. while ((tag = input->ReadTag()) != 0) {
  70104. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  70105. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_vip_reward_result];
  70106. case 1: {
  70107. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70108. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70109. int value;
  70110. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70111. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  70112. input, &value)));
  70113. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  70114. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  70115. } else {
  70116. mutable_unknown_fields()->AddVarint(1, value);
  70117. }
  70118. } else {
  70119. goto handle_uninterpreted;
  70120. }
  70121. if (input->ExpectTag(16)) goto parse_result;
  70122. break;
  70123. }
  70124. // optional int32 result = 2;
  70125. case 2: {
  70126. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70127. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70128. parse_result:
  70129. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70130. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70131. input, &result_)));
  70132. set_has_result();
  70133. } else {
  70134. goto handle_uninterpreted;
  70135. }
  70136. if (input->ExpectTag(24)) goto parse_vip;
  70137. break;
  70138. }
  70139. // optional int32 vip = 3;
  70140. case 3: {
  70141. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70142. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70143. parse_vip:
  70144. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70145. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70146. input, &vip_)));
  70147. set_has_vip();
  70148. } else {
  70149. goto handle_uninterpreted;
  70150. }
  70151. if (input->ExpectTag(32)) goto parse_vipReveiveCount;
  70152. break;
  70153. }
  70154. // optional int32 vipReveiveCount = 4;
  70155. case 4: {
  70156. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70157. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70158. parse_vipReveiveCount:
  70159. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70160. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70161. input, &vipreveivecount_)));
  70162. set_has_vipreveivecount();
  70163. } else {
  70164. goto handle_uninterpreted;
  70165. }
  70166. if (input->ExpectTag(40)) goto parse_gear;
  70167. break;
  70168. }
  70169. // optional int32 gear = 5;
  70170. case 5: {
  70171. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70172. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70173. parse_gear:
  70174. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70175. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70176. input, &gear_)));
  70177. set_has_gear();
  70178. } else {
  70179. goto handle_uninterpreted;
  70180. }
  70181. if (input->ExpectAtEnd()) return true;
  70182. break;
  70183. }
  70184. default: {
  70185. handle_uninterpreted:
  70186. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70187. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  70188. return true;
  70189. }
  70190. DO_(::google::protobuf::internal::WireFormat::SkipField(
  70191. input, tag, mutable_unknown_fields()));
  70192. break;
  70193. }
  70194. }
  70195. }
  70196. return true;
  70197. #undef DO_
  70198. }
  70199. void packetw2c_get_feed_back_vip_reward_result::SerializeWithCachedSizes(
  70200. ::google::protobuf::io::CodedOutputStream* output) const {
  70201. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_vip_reward_result];
  70202. if (has_packet_id()) {
  70203. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  70204. 1, this->packet_id(), output);
  70205. }
  70206. // optional int32 result = 2;
  70207. if (has_result()) {
  70208. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  70209. }
  70210. // optional int32 vip = 3;
  70211. if (has_vip()) {
  70212. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->vip(), output);
  70213. }
  70214. // optional int32 vipReveiveCount = 4;
  70215. if (has_vipreveivecount()) {
  70216. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->vipreveivecount(), output);
  70217. }
  70218. // optional int32 gear = 5;
  70219. if (has_gear()) {
  70220. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gear(), output);
  70221. }
  70222. if (!unknown_fields().empty()) {
  70223. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  70224. unknown_fields(), output);
  70225. }
  70226. }
  70227. ::google::protobuf::uint8* packetw2c_get_feed_back_vip_reward_result::SerializeWithCachedSizesToArray(
  70228. ::google::protobuf::uint8* target) const {
  70229. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_vip_reward_result];
  70230. if (has_packet_id()) {
  70231. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  70232. 1, this->packet_id(), target);
  70233. }
  70234. // optional int32 result = 2;
  70235. if (has_result()) {
  70236. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  70237. }
  70238. // optional int32 vip = 3;
  70239. if (has_vip()) {
  70240. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->vip(), target);
  70241. }
  70242. // optional int32 vipReveiveCount = 4;
  70243. if (has_vipreveivecount()) {
  70244. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->vipreveivecount(), target);
  70245. }
  70246. // optional int32 gear = 5;
  70247. if (has_gear()) {
  70248. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gear(), target);
  70249. }
  70250. if (!unknown_fields().empty()) {
  70251. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  70252. unknown_fields(), target);
  70253. }
  70254. return target;
  70255. }
  70256. int packetw2c_get_feed_back_vip_reward_result::ByteSize() const {
  70257. int total_size = 0;
  70258. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70259. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_vip_reward_result];
  70260. if (has_packet_id()) {
  70261. total_size += 1 +
  70262. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  70263. }
  70264. // optional int32 result = 2;
  70265. if (has_result()) {
  70266. total_size += 1 +
  70267. ::google::protobuf::internal::WireFormatLite::Int32Size(
  70268. this->result());
  70269. }
  70270. // optional int32 vip = 3;
  70271. if (has_vip()) {
  70272. total_size += 1 +
  70273. ::google::protobuf::internal::WireFormatLite::Int32Size(
  70274. this->vip());
  70275. }
  70276. // optional int32 vipReveiveCount = 4;
  70277. if (has_vipreveivecount()) {
  70278. total_size += 1 +
  70279. ::google::protobuf::internal::WireFormatLite::Int32Size(
  70280. this->vipreveivecount());
  70281. }
  70282. // optional int32 gear = 5;
  70283. if (has_gear()) {
  70284. total_size += 1 +
  70285. ::google::protobuf::internal::WireFormatLite::Int32Size(
  70286. this->gear());
  70287. }
  70288. }
  70289. if (!unknown_fields().empty()) {
  70290. total_size +=
  70291. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  70292. unknown_fields());
  70293. }
  70294. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  70295. _cached_size_ = total_size;
  70296. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  70297. return total_size;
  70298. }
  70299. void packetw2c_get_feed_back_vip_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  70300. GOOGLE_CHECK_NE(&from, this);
  70301. const packetw2c_get_feed_back_vip_reward_result* source =
  70302. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_feed_back_vip_reward_result*>(
  70303. &from);
  70304. if (source == NULL) {
  70305. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  70306. } else {
  70307. MergeFrom(*source);
  70308. }
  70309. }
  70310. void packetw2c_get_feed_back_vip_reward_result::MergeFrom(const packetw2c_get_feed_back_vip_reward_result& from) {
  70311. GOOGLE_CHECK_NE(&from, this);
  70312. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70313. if (from.has_packet_id()) {
  70314. set_packet_id(from.packet_id());
  70315. }
  70316. if (from.has_result()) {
  70317. set_result(from.result());
  70318. }
  70319. if (from.has_vip()) {
  70320. set_vip(from.vip());
  70321. }
  70322. if (from.has_vipreveivecount()) {
  70323. set_vipreveivecount(from.vipreveivecount());
  70324. }
  70325. if (from.has_gear()) {
  70326. set_gear(from.gear());
  70327. }
  70328. }
  70329. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  70330. }
  70331. void packetw2c_get_feed_back_vip_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  70332. if (&from == this) return;
  70333. Clear();
  70334. MergeFrom(from);
  70335. }
  70336. void packetw2c_get_feed_back_vip_reward_result::CopyFrom(const packetw2c_get_feed_back_vip_reward_result& from) {
  70337. if (&from == this) return;
  70338. Clear();
  70339. MergeFrom(from);
  70340. }
  70341. bool packetw2c_get_feed_back_vip_reward_result::IsInitialized() const {
  70342. return true;
  70343. }
  70344. void packetw2c_get_feed_back_vip_reward_result::Swap(packetw2c_get_feed_back_vip_reward_result* other) {
  70345. if (other != this) {
  70346. std::swap(packet_id_, other->packet_id_);
  70347. std::swap(result_, other->result_);
  70348. std::swap(vip_, other->vip_);
  70349. std::swap(vipreveivecount_, other->vipreveivecount_);
  70350. std::swap(gear_, other->gear_);
  70351. std::swap(_has_bits_[0], other->_has_bits_[0]);
  70352. _unknown_fields_.Swap(&other->_unknown_fields_);
  70353. std::swap(_cached_size_, other->_cached_size_);
  70354. }
  70355. }
  70356. ::google::protobuf::Metadata packetw2c_get_feed_back_vip_reward_result::GetMetadata() const {
  70357. protobuf_AssignDescriptorsOnce();
  70358. ::google::protobuf::Metadata metadata;
  70359. metadata.descriptor = packetw2c_get_feed_back_vip_reward_result_descriptor_;
  70360. metadata.reflection = packetw2c_get_feed_back_vip_reward_result_reflection_;
  70361. return metadata;
  70362. }
  70363. // ===================================================================
  70364. #ifndef _MSC_VER
  70365. const int packetc2w_get_feed_back_keylist::kPacketIdFieldNumber;
  70366. const int packetc2w_get_feed_back_keylist::kGearFieldNumber;
  70367. #endif // !_MSC_VER
  70368. packetc2w_get_feed_back_keylist::packetc2w_get_feed_back_keylist()
  70369. : ::google::protobuf::Message() {
  70370. SharedCtor();
  70371. }
  70372. void packetc2w_get_feed_back_keylist::InitAsDefaultInstance() {
  70373. }
  70374. packetc2w_get_feed_back_keylist::packetc2w_get_feed_back_keylist(const packetc2w_get_feed_back_keylist& from)
  70375. : ::google::protobuf::Message() {
  70376. SharedCtor();
  70377. MergeFrom(from);
  70378. }
  70379. void packetc2w_get_feed_back_keylist::SharedCtor() {
  70380. _cached_size_ = 0;
  70381. packet_id_ = 5259;
  70382. gear_ = 0;
  70383. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  70384. }
  70385. packetc2w_get_feed_back_keylist::~packetc2w_get_feed_back_keylist() {
  70386. SharedDtor();
  70387. }
  70388. void packetc2w_get_feed_back_keylist::SharedDtor() {
  70389. if (this != default_instance_) {
  70390. }
  70391. }
  70392. void packetc2w_get_feed_back_keylist::SetCachedSize(int size) const {
  70393. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  70394. _cached_size_ = size;
  70395. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  70396. }
  70397. const ::google::protobuf::Descriptor* packetc2w_get_feed_back_keylist::descriptor() {
  70398. protobuf_AssignDescriptorsOnce();
  70399. return packetc2w_get_feed_back_keylist_descriptor_;
  70400. }
  70401. const packetc2w_get_feed_back_keylist& packetc2w_get_feed_back_keylist::default_instance() {
  70402. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  70403. return *default_instance_;
  70404. }
  70405. packetc2w_get_feed_back_keylist* packetc2w_get_feed_back_keylist::default_instance_ = NULL;
  70406. packetc2w_get_feed_back_keylist* packetc2w_get_feed_back_keylist::New() const {
  70407. return new packetc2w_get_feed_back_keylist;
  70408. }
  70409. void packetc2w_get_feed_back_keylist::Clear() {
  70410. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70411. packet_id_ = 5259;
  70412. gear_ = 0;
  70413. }
  70414. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  70415. mutable_unknown_fields()->Clear();
  70416. }
  70417. bool packetc2w_get_feed_back_keylist::MergePartialFromCodedStream(
  70418. ::google::protobuf::io::CodedInputStream* input) {
  70419. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  70420. ::google::protobuf::uint32 tag;
  70421. while ((tag = input->ReadTag()) != 0) {
  70422. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  70423. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_keylist];
  70424. case 1: {
  70425. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70426. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70427. int value;
  70428. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70429. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  70430. input, &value)));
  70431. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  70432. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  70433. } else {
  70434. mutable_unknown_fields()->AddVarint(1, value);
  70435. }
  70436. } else {
  70437. goto handle_uninterpreted;
  70438. }
  70439. if (input->ExpectTag(16)) goto parse_gear;
  70440. break;
  70441. }
  70442. // optional int32 gear = 2;
  70443. case 2: {
  70444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70446. parse_gear:
  70447. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70448. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70449. input, &gear_)));
  70450. set_has_gear();
  70451. } else {
  70452. goto handle_uninterpreted;
  70453. }
  70454. if (input->ExpectAtEnd()) return true;
  70455. break;
  70456. }
  70457. default: {
  70458. handle_uninterpreted:
  70459. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70460. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  70461. return true;
  70462. }
  70463. DO_(::google::protobuf::internal::WireFormat::SkipField(
  70464. input, tag, mutable_unknown_fields()));
  70465. break;
  70466. }
  70467. }
  70468. }
  70469. return true;
  70470. #undef DO_
  70471. }
  70472. void packetc2w_get_feed_back_keylist::SerializeWithCachedSizes(
  70473. ::google::protobuf::io::CodedOutputStream* output) const {
  70474. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_keylist];
  70475. if (has_packet_id()) {
  70476. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  70477. 1, this->packet_id(), output);
  70478. }
  70479. // optional int32 gear = 2;
  70480. if (has_gear()) {
  70481. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gear(), output);
  70482. }
  70483. if (!unknown_fields().empty()) {
  70484. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  70485. unknown_fields(), output);
  70486. }
  70487. }
  70488. ::google::protobuf::uint8* packetc2w_get_feed_back_keylist::SerializeWithCachedSizesToArray(
  70489. ::google::protobuf::uint8* target) const {
  70490. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_keylist];
  70491. if (has_packet_id()) {
  70492. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  70493. 1, this->packet_id(), target);
  70494. }
  70495. // optional int32 gear = 2;
  70496. if (has_gear()) {
  70497. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gear(), target);
  70498. }
  70499. if (!unknown_fields().empty()) {
  70500. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  70501. unknown_fields(), target);
  70502. }
  70503. return target;
  70504. }
  70505. int packetc2w_get_feed_back_keylist::ByteSize() const {
  70506. int total_size = 0;
  70507. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70508. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_keylist];
  70509. if (has_packet_id()) {
  70510. total_size += 1 +
  70511. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  70512. }
  70513. // optional int32 gear = 2;
  70514. if (has_gear()) {
  70515. total_size += 1 +
  70516. ::google::protobuf::internal::WireFormatLite::Int32Size(
  70517. this->gear());
  70518. }
  70519. }
  70520. if (!unknown_fields().empty()) {
  70521. total_size +=
  70522. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  70523. unknown_fields());
  70524. }
  70525. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  70526. _cached_size_ = total_size;
  70527. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  70528. return total_size;
  70529. }
  70530. void packetc2w_get_feed_back_keylist::MergeFrom(const ::google::protobuf::Message& from) {
  70531. GOOGLE_CHECK_NE(&from, this);
  70532. const packetc2w_get_feed_back_keylist* source =
  70533. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_feed_back_keylist*>(
  70534. &from);
  70535. if (source == NULL) {
  70536. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  70537. } else {
  70538. MergeFrom(*source);
  70539. }
  70540. }
  70541. void packetc2w_get_feed_back_keylist::MergeFrom(const packetc2w_get_feed_back_keylist& from) {
  70542. GOOGLE_CHECK_NE(&from, this);
  70543. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70544. if (from.has_packet_id()) {
  70545. set_packet_id(from.packet_id());
  70546. }
  70547. if (from.has_gear()) {
  70548. set_gear(from.gear());
  70549. }
  70550. }
  70551. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  70552. }
  70553. void packetc2w_get_feed_back_keylist::CopyFrom(const ::google::protobuf::Message& from) {
  70554. if (&from == this) return;
  70555. Clear();
  70556. MergeFrom(from);
  70557. }
  70558. void packetc2w_get_feed_back_keylist::CopyFrom(const packetc2w_get_feed_back_keylist& from) {
  70559. if (&from == this) return;
  70560. Clear();
  70561. MergeFrom(from);
  70562. }
  70563. bool packetc2w_get_feed_back_keylist::IsInitialized() const {
  70564. return true;
  70565. }
  70566. void packetc2w_get_feed_back_keylist::Swap(packetc2w_get_feed_back_keylist* other) {
  70567. if (other != this) {
  70568. std::swap(packet_id_, other->packet_id_);
  70569. std::swap(gear_, other->gear_);
  70570. std::swap(_has_bits_[0], other->_has_bits_[0]);
  70571. _unknown_fields_.Swap(&other->_unknown_fields_);
  70572. std::swap(_cached_size_, other->_cached_size_);
  70573. }
  70574. }
  70575. ::google::protobuf::Metadata packetc2w_get_feed_back_keylist::GetMetadata() const {
  70576. protobuf_AssignDescriptorsOnce();
  70577. ::google::protobuf::Metadata metadata;
  70578. metadata.descriptor = packetc2w_get_feed_back_keylist_descriptor_;
  70579. metadata.reflection = packetc2w_get_feed_back_keylist_reflection_;
  70580. return metadata;
  70581. }
  70582. // ===================================================================
  70583. #ifndef _MSC_VER
  70584. const int packetw2c_get_feed_back_keylist_result::kPacketIdFieldNumber;
  70585. const int packetw2c_get_feed_back_keylist_result::kGearFieldNumber;
  70586. const int packetw2c_get_feed_back_keylist_result::kKeyListFieldNumber;
  70587. #endif // !_MSC_VER
  70588. packetw2c_get_feed_back_keylist_result::packetw2c_get_feed_back_keylist_result()
  70589. : ::google::protobuf::Message() {
  70590. SharedCtor();
  70591. }
  70592. void packetw2c_get_feed_back_keylist_result::InitAsDefaultInstance() {
  70593. }
  70594. packetw2c_get_feed_back_keylist_result::packetw2c_get_feed_back_keylist_result(const packetw2c_get_feed_back_keylist_result& from)
  70595. : ::google::protobuf::Message() {
  70596. SharedCtor();
  70597. MergeFrom(from);
  70598. }
  70599. void packetw2c_get_feed_back_keylist_result::SharedCtor() {
  70600. _cached_size_ = 0;
  70601. packet_id_ = 7808;
  70602. gear_ = 0;
  70603. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  70604. }
  70605. packetw2c_get_feed_back_keylist_result::~packetw2c_get_feed_back_keylist_result() {
  70606. SharedDtor();
  70607. }
  70608. void packetw2c_get_feed_back_keylist_result::SharedDtor() {
  70609. if (this != default_instance_) {
  70610. }
  70611. }
  70612. void packetw2c_get_feed_back_keylist_result::SetCachedSize(int size) const {
  70613. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  70614. _cached_size_ = size;
  70615. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  70616. }
  70617. const ::google::protobuf::Descriptor* packetw2c_get_feed_back_keylist_result::descriptor() {
  70618. protobuf_AssignDescriptorsOnce();
  70619. return packetw2c_get_feed_back_keylist_result_descriptor_;
  70620. }
  70621. const packetw2c_get_feed_back_keylist_result& packetw2c_get_feed_back_keylist_result::default_instance() {
  70622. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  70623. return *default_instance_;
  70624. }
  70625. packetw2c_get_feed_back_keylist_result* packetw2c_get_feed_back_keylist_result::default_instance_ = NULL;
  70626. packetw2c_get_feed_back_keylist_result* packetw2c_get_feed_back_keylist_result::New() const {
  70627. return new packetw2c_get_feed_back_keylist_result;
  70628. }
  70629. void packetw2c_get_feed_back_keylist_result::Clear() {
  70630. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70631. packet_id_ = 7808;
  70632. gear_ = 0;
  70633. }
  70634. keylist_.Clear();
  70635. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  70636. mutable_unknown_fields()->Clear();
  70637. }
  70638. bool packetw2c_get_feed_back_keylist_result::MergePartialFromCodedStream(
  70639. ::google::protobuf::io::CodedInputStream* input) {
  70640. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  70641. ::google::protobuf::uint32 tag;
  70642. while ((tag = input->ReadTag()) != 0) {
  70643. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  70644. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_keylist_result];
  70645. case 1: {
  70646. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70647. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70648. int value;
  70649. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70650. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  70651. input, &value)));
  70652. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  70653. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  70654. } else {
  70655. mutable_unknown_fields()->AddVarint(1, value);
  70656. }
  70657. } else {
  70658. goto handle_uninterpreted;
  70659. }
  70660. if (input->ExpectTag(16)) goto parse_gear;
  70661. break;
  70662. }
  70663. // optional int32 gear = 2;
  70664. case 2: {
  70665. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70666. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70667. parse_gear:
  70668. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70669. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70670. input, &gear_)));
  70671. set_has_gear();
  70672. } else {
  70673. goto handle_uninterpreted;
  70674. }
  70675. if (input->ExpectTag(26)) goto parse_keyList;
  70676. break;
  70677. }
  70678. // repeated string keyList = 3;
  70679. case 3: {
  70680. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70681. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  70682. parse_keyList:
  70683. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  70684. input, this->add_keylist()));
  70685. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  70686. this->keylist(this->keylist_size() - 1).data(),
  70687. this->keylist(this->keylist_size() - 1).length(),
  70688. ::google::protobuf::internal::WireFormat::PARSE);
  70689. } else {
  70690. goto handle_uninterpreted;
  70691. }
  70692. if (input->ExpectTag(26)) goto parse_keyList;
  70693. if (input->ExpectAtEnd()) return true;
  70694. break;
  70695. }
  70696. default: {
  70697. handle_uninterpreted:
  70698. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70699. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  70700. return true;
  70701. }
  70702. DO_(::google::protobuf::internal::WireFormat::SkipField(
  70703. input, tag, mutable_unknown_fields()));
  70704. break;
  70705. }
  70706. }
  70707. }
  70708. return true;
  70709. #undef DO_
  70710. }
  70711. void packetw2c_get_feed_back_keylist_result::SerializeWithCachedSizes(
  70712. ::google::protobuf::io::CodedOutputStream* output) const {
  70713. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_keylist_result];
  70714. if (has_packet_id()) {
  70715. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  70716. 1, this->packet_id(), output);
  70717. }
  70718. // optional int32 gear = 2;
  70719. if (has_gear()) {
  70720. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gear(), output);
  70721. }
  70722. // repeated string keyList = 3;
  70723. for (int i = 0; i < this->keylist_size(); i++) {
  70724. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  70725. this->keylist(i).data(), this->keylist(i).length(),
  70726. ::google::protobuf::internal::WireFormat::SERIALIZE);
  70727. ::google::protobuf::internal::WireFormatLite::WriteString(
  70728. 3, this->keylist(i), output);
  70729. }
  70730. if (!unknown_fields().empty()) {
  70731. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  70732. unknown_fields(), output);
  70733. }
  70734. }
  70735. ::google::protobuf::uint8* packetw2c_get_feed_back_keylist_result::SerializeWithCachedSizesToArray(
  70736. ::google::protobuf::uint8* target) const {
  70737. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_keylist_result];
  70738. if (has_packet_id()) {
  70739. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  70740. 1, this->packet_id(), target);
  70741. }
  70742. // optional int32 gear = 2;
  70743. if (has_gear()) {
  70744. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gear(), target);
  70745. }
  70746. // repeated string keyList = 3;
  70747. for (int i = 0; i < this->keylist_size(); i++) {
  70748. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  70749. this->keylist(i).data(), this->keylist(i).length(),
  70750. ::google::protobuf::internal::WireFormat::SERIALIZE);
  70751. target = ::google::protobuf::internal::WireFormatLite::
  70752. WriteStringToArray(3, this->keylist(i), target);
  70753. }
  70754. if (!unknown_fields().empty()) {
  70755. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  70756. unknown_fields(), target);
  70757. }
  70758. return target;
  70759. }
  70760. int packetw2c_get_feed_back_keylist_result::ByteSize() const {
  70761. int total_size = 0;
  70762. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70763. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_keylist_result];
  70764. if (has_packet_id()) {
  70765. total_size += 1 +
  70766. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  70767. }
  70768. // optional int32 gear = 2;
  70769. if (has_gear()) {
  70770. total_size += 1 +
  70771. ::google::protobuf::internal::WireFormatLite::Int32Size(
  70772. this->gear());
  70773. }
  70774. }
  70775. // repeated string keyList = 3;
  70776. total_size += 1 * this->keylist_size();
  70777. for (int i = 0; i < this->keylist_size(); i++) {
  70778. total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  70779. this->keylist(i));
  70780. }
  70781. if (!unknown_fields().empty()) {
  70782. total_size +=
  70783. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  70784. unknown_fields());
  70785. }
  70786. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  70787. _cached_size_ = total_size;
  70788. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  70789. return total_size;
  70790. }
  70791. void packetw2c_get_feed_back_keylist_result::MergeFrom(const ::google::protobuf::Message& from) {
  70792. GOOGLE_CHECK_NE(&from, this);
  70793. const packetw2c_get_feed_back_keylist_result* source =
  70794. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_feed_back_keylist_result*>(
  70795. &from);
  70796. if (source == NULL) {
  70797. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  70798. } else {
  70799. MergeFrom(*source);
  70800. }
  70801. }
  70802. void packetw2c_get_feed_back_keylist_result::MergeFrom(const packetw2c_get_feed_back_keylist_result& from) {
  70803. GOOGLE_CHECK_NE(&from, this);
  70804. keylist_.MergeFrom(from.keylist_);
  70805. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70806. if (from.has_packet_id()) {
  70807. set_packet_id(from.packet_id());
  70808. }
  70809. if (from.has_gear()) {
  70810. set_gear(from.gear());
  70811. }
  70812. }
  70813. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  70814. }
  70815. void packetw2c_get_feed_back_keylist_result::CopyFrom(const ::google::protobuf::Message& from) {
  70816. if (&from == this) return;
  70817. Clear();
  70818. MergeFrom(from);
  70819. }
  70820. void packetw2c_get_feed_back_keylist_result::CopyFrom(const packetw2c_get_feed_back_keylist_result& from) {
  70821. if (&from == this) return;
  70822. Clear();
  70823. MergeFrom(from);
  70824. }
  70825. bool packetw2c_get_feed_back_keylist_result::IsInitialized() const {
  70826. return true;
  70827. }
  70828. void packetw2c_get_feed_back_keylist_result::Swap(packetw2c_get_feed_back_keylist_result* other) {
  70829. if (other != this) {
  70830. std::swap(packet_id_, other->packet_id_);
  70831. std::swap(gear_, other->gear_);
  70832. keylist_.Swap(&other->keylist_);
  70833. std::swap(_has_bits_[0], other->_has_bits_[0]);
  70834. _unknown_fields_.Swap(&other->_unknown_fields_);
  70835. std::swap(_cached_size_, other->_cached_size_);
  70836. }
  70837. }
  70838. ::google::protobuf::Metadata packetw2c_get_feed_back_keylist_result::GetMetadata() const {
  70839. protobuf_AssignDescriptorsOnce();
  70840. ::google::protobuf::Metadata metadata;
  70841. metadata.descriptor = packetw2c_get_feed_back_keylist_result_descriptor_;
  70842. metadata.reflection = packetw2c_get_feed_back_keylist_result_reflection_;
  70843. return metadata;
  70844. }
  70845. // ===================================================================
  70846. #ifndef _MSC_VER
  70847. const int packetw2c_syn_chip_treasure_info::kPacketIdFieldNumber;
  70848. const int packetw2c_syn_chip_treasure_info::kActivityStateFieldNumber;
  70849. const int packetw2c_syn_chip_treasure_info::kStartTimeFieldNumber;
  70850. const int packetw2c_syn_chip_treasure_info::kEndTimeFieldNumber;
  70851. #endif // !_MSC_VER
  70852. packetw2c_syn_chip_treasure_info::packetw2c_syn_chip_treasure_info()
  70853. : ::google::protobuf::Message() {
  70854. SharedCtor();
  70855. }
  70856. void packetw2c_syn_chip_treasure_info::InitAsDefaultInstance() {
  70857. }
  70858. packetw2c_syn_chip_treasure_info::packetw2c_syn_chip_treasure_info(const packetw2c_syn_chip_treasure_info& from)
  70859. : ::google::protobuf::Message() {
  70860. SharedCtor();
  70861. MergeFrom(from);
  70862. }
  70863. void packetw2c_syn_chip_treasure_info::SharedCtor() {
  70864. _cached_size_ = 0;
  70865. packet_id_ = 7811;
  70866. activitystate_ = 0;
  70867. starttime_ = 0;
  70868. endtime_ = 0;
  70869. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  70870. }
  70871. packetw2c_syn_chip_treasure_info::~packetw2c_syn_chip_treasure_info() {
  70872. SharedDtor();
  70873. }
  70874. void packetw2c_syn_chip_treasure_info::SharedDtor() {
  70875. if (this != default_instance_) {
  70876. }
  70877. }
  70878. void packetw2c_syn_chip_treasure_info::SetCachedSize(int size) const {
  70879. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  70880. _cached_size_ = size;
  70881. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  70882. }
  70883. const ::google::protobuf::Descriptor* packetw2c_syn_chip_treasure_info::descriptor() {
  70884. protobuf_AssignDescriptorsOnce();
  70885. return packetw2c_syn_chip_treasure_info_descriptor_;
  70886. }
  70887. const packetw2c_syn_chip_treasure_info& packetw2c_syn_chip_treasure_info::default_instance() {
  70888. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  70889. return *default_instance_;
  70890. }
  70891. packetw2c_syn_chip_treasure_info* packetw2c_syn_chip_treasure_info::default_instance_ = NULL;
  70892. packetw2c_syn_chip_treasure_info* packetw2c_syn_chip_treasure_info::New() const {
  70893. return new packetw2c_syn_chip_treasure_info;
  70894. }
  70895. void packetw2c_syn_chip_treasure_info::Clear() {
  70896. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  70897. packet_id_ = 7811;
  70898. activitystate_ = 0;
  70899. starttime_ = 0;
  70900. endtime_ = 0;
  70901. }
  70902. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  70903. mutable_unknown_fields()->Clear();
  70904. }
  70905. bool packetw2c_syn_chip_treasure_info::MergePartialFromCodedStream(
  70906. ::google::protobuf::io::CodedInputStream* input) {
  70907. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  70908. ::google::protobuf::uint32 tag;
  70909. while ((tag = input->ReadTag()) != 0) {
  70910. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  70911. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_chip_treasure_info];
  70912. case 1: {
  70913. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70914. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70915. int value;
  70916. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70917. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  70918. input, &value)));
  70919. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  70920. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  70921. } else {
  70922. mutable_unknown_fields()->AddVarint(1, value);
  70923. }
  70924. } else {
  70925. goto handle_uninterpreted;
  70926. }
  70927. if (input->ExpectTag(16)) goto parse_activityState;
  70928. break;
  70929. }
  70930. // optional int32 activityState = 2;
  70931. case 2: {
  70932. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70933. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70934. parse_activityState:
  70935. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70936. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70937. input, &activitystate_)));
  70938. set_has_activitystate();
  70939. } else {
  70940. goto handle_uninterpreted;
  70941. }
  70942. if (input->ExpectTag(24)) goto parse_startTime;
  70943. break;
  70944. }
  70945. // optional int32 startTime = 3;
  70946. case 3: {
  70947. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70948. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70949. parse_startTime:
  70950. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70951. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70952. input, &starttime_)));
  70953. set_has_starttime();
  70954. } else {
  70955. goto handle_uninterpreted;
  70956. }
  70957. if (input->ExpectTag(32)) goto parse_endTime;
  70958. break;
  70959. }
  70960. // optional int32 endTime = 4;
  70961. case 4: {
  70962. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70963. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  70964. parse_endTime:
  70965. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  70966. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  70967. input, &endtime_)));
  70968. set_has_endtime();
  70969. } else {
  70970. goto handle_uninterpreted;
  70971. }
  70972. if (input->ExpectAtEnd()) return true;
  70973. break;
  70974. }
  70975. default: {
  70976. handle_uninterpreted:
  70977. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  70978. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  70979. return true;
  70980. }
  70981. DO_(::google::protobuf::internal::WireFormat::SkipField(
  70982. input, tag, mutable_unknown_fields()));
  70983. break;
  70984. }
  70985. }
  70986. }
  70987. return true;
  70988. #undef DO_
  70989. }
  70990. void packetw2c_syn_chip_treasure_info::SerializeWithCachedSizes(
  70991. ::google::protobuf::io::CodedOutputStream* output) const {
  70992. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_chip_treasure_info];
  70993. if (has_packet_id()) {
  70994. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  70995. 1, this->packet_id(), output);
  70996. }
  70997. // optional int32 activityState = 2;
  70998. if (has_activitystate()) {
  70999. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  71000. }
  71001. // optional int32 startTime = 3;
  71002. if (has_starttime()) {
  71003. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  71004. }
  71005. // optional int32 endTime = 4;
  71006. if (has_endtime()) {
  71007. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  71008. }
  71009. if (!unknown_fields().empty()) {
  71010. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  71011. unknown_fields(), output);
  71012. }
  71013. }
  71014. ::google::protobuf::uint8* packetw2c_syn_chip_treasure_info::SerializeWithCachedSizesToArray(
  71015. ::google::protobuf::uint8* target) const {
  71016. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_chip_treasure_info];
  71017. if (has_packet_id()) {
  71018. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  71019. 1, this->packet_id(), target);
  71020. }
  71021. // optional int32 activityState = 2;
  71022. if (has_activitystate()) {
  71023. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  71024. }
  71025. // optional int32 startTime = 3;
  71026. if (has_starttime()) {
  71027. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  71028. }
  71029. // optional int32 endTime = 4;
  71030. if (has_endtime()) {
  71031. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  71032. }
  71033. if (!unknown_fields().empty()) {
  71034. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  71035. unknown_fields(), target);
  71036. }
  71037. return target;
  71038. }
  71039. int packetw2c_syn_chip_treasure_info::ByteSize() const {
  71040. int total_size = 0;
  71041. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71042. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_chip_treasure_info];
  71043. if (has_packet_id()) {
  71044. total_size += 1 +
  71045. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  71046. }
  71047. // optional int32 activityState = 2;
  71048. if (has_activitystate()) {
  71049. total_size += 1 +
  71050. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71051. this->activitystate());
  71052. }
  71053. // optional int32 startTime = 3;
  71054. if (has_starttime()) {
  71055. total_size += 1 +
  71056. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71057. this->starttime());
  71058. }
  71059. // optional int32 endTime = 4;
  71060. if (has_endtime()) {
  71061. total_size += 1 +
  71062. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71063. this->endtime());
  71064. }
  71065. }
  71066. if (!unknown_fields().empty()) {
  71067. total_size +=
  71068. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  71069. unknown_fields());
  71070. }
  71071. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  71072. _cached_size_ = total_size;
  71073. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  71074. return total_size;
  71075. }
  71076. void packetw2c_syn_chip_treasure_info::MergeFrom(const ::google::protobuf::Message& from) {
  71077. GOOGLE_CHECK_NE(&from, this);
  71078. const packetw2c_syn_chip_treasure_info* source =
  71079. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_chip_treasure_info*>(
  71080. &from);
  71081. if (source == NULL) {
  71082. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  71083. } else {
  71084. MergeFrom(*source);
  71085. }
  71086. }
  71087. void packetw2c_syn_chip_treasure_info::MergeFrom(const packetw2c_syn_chip_treasure_info& from) {
  71088. GOOGLE_CHECK_NE(&from, this);
  71089. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71090. if (from.has_packet_id()) {
  71091. set_packet_id(from.packet_id());
  71092. }
  71093. if (from.has_activitystate()) {
  71094. set_activitystate(from.activitystate());
  71095. }
  71096. if (from.has_starttime()) {
  71097. set_starttime(from.starttime());
  71098. }
  71099. if (from.has_endtime()) {
  71100. set_endtime(from.endtime());
  71101. }
  71102. }
  71103. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  71104. }
  71105. void packetw2c_syn_chip_treasure_info::CopyFrom(const ::google::protobuf::Message& from) {
  71106. if (&from == this) return;
  71107. Clear();
  71108. MergeFrom(from);
  71109. }
  71110. void packetw2c_syn_chip_treasure_info::CopyFrom(const packetw2c_syn_chip_treasure_info& from) {
  71111. if (&from == this) return;
  71112. Clear();
  71113. MergeFrom(from);
  71114. }
  71115. bool packetw2c_syn_chip_treasure_info::IsInitialized() const {
  71116. return true;
  71117. }
  71118. void packetw2c_syn_chip_treasure_info::Swap(packetw2c_syn_chip_treasure_info* other) {
  71119. if (other != this) {
  71120. std::swap(packet_id_, other->packet_id_);
  71121. std::swap(activitystate_, other->activitystate_);
  71122. std::swap(starttime_, other->starttime_);
  71123. std::swap(endtime_, other->endtime_);
  71124. std::swap(_has_bits_[0], other->_has_bits_[0]);
  71125. _unknown_fields_.Swap(&other->_unknown_fields_);
  71126. std::swap(_cached_size_, other->_cached_size_);
  71127. }
  71128. }
  71129. ::google::protobuf::Metadata packetw2c_syn_chip_treasure_info::GetMetadata() const {
  71130. protobuf_AssignDescriptorsOnce();
  71131. ::google::protobuf::Metadata metadata;
  71132. metadata.descriptor = packetw2c_syn_chip_treasure_info_descriptor_;
  71133. metadata.reflection = packetw2c_syn_chip_treasure_info_reflection_;
  71134. return metadata;
  71135. }
  71136. // ===================================================================
  71137. #ifndef _MSC_VER
  71138. const int packetc2w_chip_treasure_lottery::kPacketIdFieldNumber;
  71139. const int packetc2w_chip_treasure_lottery::kTypeFieldNumber;
  71140. const int packetc2w_chip_treasure_lottery::kCountFieldNumber;
  71141. #endif // !_MSC_VER
  71142. packetc2w_chip_treasure_lottery::packetc2w_chip_treasure_lottery()
  71143. : ::google::protobuf::Message() {
  71144. SharedCtor();
  71145. }
  71146. void packetc2w_chip_treasure_lottery::InitAsDefaultInstance() {
  71147. }
  71148. packetc2w_chip_treasure_lottery::packetc2w_chip_treasure_lottery(const packetc2w_chip_treasure_lottery& from)
  71149. : ::google::protobuf::Message() {
  71150. SharedCtor();
  71151. MergeFrom(from);
  71152. }
  71153. void packetc2w_chip_treasure_lottery::SharedCtor() {
  71154. _cached_size_ = 0;
  71155. packet_id_ = 5262;
  71156. type_ = 0;
  71157. count_ = 0;
  71158. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  71159. }
  71160. packetc2w_chip_treasure_lottery::~packetc2w_chip_treasure_lottery() {
  71161. SharedDtor();
  71162. }
  71163. void packetc2w_chip_treasure_lottery::SharedDtor() {
  71164. if (this != default_instance_) {
  71165. }
  71166. }
  71167. void packetc2w_chip_treasure_lottery::SetCachedSize(int size) const {
  71168. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  71169. _cached_size_ = size;
  71170. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  71171. }
  71172. const ::google::protobuf::Descriptor* packetc2w_chip_treasure_lottery::descriptor() {
  71173. protobuf_AssignDescriptorsOnce();
  71174. return packetc2w_chip_treasure_lottery_descriptor_;
  71175. }
  71176. const packetc2w_chip_treasure_lottery& packetc2w_chip_treasure_lottery::default_instance() {
  71177. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  71178. return *default_instance_;
  71179. }
  71180. packetc2w_chip_treasure_lottery* packetc2w_chip_treasure_lottery::default_instance_ = NULL;
  71181. packetc2w_chip_treasure_lottery* packetc2w_chip_treasure_lottery::New() const {
  71182. return new packetc2w_chip_treasure_lottery;
  71183. }
  71184. void packetc2w_chip_treasure_lottery::Clear() {
  71185. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71186. packet_id_ = 5262;
  71187. type_ = 0;
  71188. count_ = 0;
  71189. }
  71190. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  71191. mutable_unknown_fields()->Clear();
  71192. }
  71193. bool packetc2w_chip_treasure_lottery::MergePartialFromCodedStream(
  71194. ::google::protobuf::io::CodedInputStream* input) {
  71195. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  71196. ::google::protobuf::uint32 tag;
  71197. while ((tag = input->ReadTag()) != 0) {
  71198. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  71199. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_chip_treasure_lottery];
  71200. case 1: {
  71201. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71202. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71203. int value;
  71204. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71205. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  71206. input, &value)));
  71207. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  71208. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  71209. } else {
  71210. mutable_unknown_fields()->AddVarint(1, value);
  71211. }
  71212. } else {
  71213. goto handle_uninterpreted;
  71214. }
  71215. if (input->ExpectTag(16)) goto parse_type;
  71216. break;
  71217. }
  71218. // optional int32 type = 2;
  71219. case 2: {
  71220. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71221. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71222. parse_type:
  71223. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71224. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71225. input, &type_)));
  71226. set_has_type();
  71227. } else {
  71228. goto handle_uninterpreted;
  71229. }
  71230. if (input->ExpectTag(24)) goto parse_count;
  71231. break;
  71232. }
  71233. // optional int32 count = 3;
  71234. case 3: {
  71235. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71236. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71237. parse_count:
  71238. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71239. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71240. input, &count_)));
  71241. set_has_count();
  71242. } else {
  71243. goto handle_uninterpreted;
  71244. }
  71245. if (input->ExpectAtEnd()) return true;
  71246. break;
  71247. }
  71248. default: {
  71249. handle_uninterpreted:
  71250. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71251. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  71252. return true;
  71253. }
  71254. DO_(::google::protobuf::internal::WireFormat::SkipField(
  71255. input, tag, mutable_unknown_fields()));
  71256. break;
  71257. }
  71258. }
  71259. }
  71260. return true;
  71261. #undef DO_
  71262. }
  71263. void packetc2w_chip_treasure_lottery::SerializeWithCachedSizes(
  71264. ::google::protobuf::io::CodedOutputStream* output) const {
  71265. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_chip_treasure_lottery];
  71266. if (has_packet_id()) {
  71267. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  71268. 1, this->packet_id(), output);
  71269. }
  71270. // optional int32 type = 2;
  71271. if (has_type()) {
  71272. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  71273. }
  71274. // optional int32 count = 3;
  71275. if (has_count()) {
  71276. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  71277. }
  71278. if (!unknown_fields().empty()) {
  71279. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  71280. unknown_fields(), output);
  71281. }
  71282. }
  71283. ::google::protobuf::uint8* packetc2w_chip_treasure_lottery::SerializeWithCachedSizesToArray(
  71284. ::google::protobuf::uint8* target) const {
  71285. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_chip_treasure_lottery];
  71286. if (has_packet_id()) {
  71287. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  71288. 1, this->packet_id(), target);
  71289. }
  71290. // optional int32 type = 2;
  71291. if (has_type()) {
  71292. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  71293. }
  71294. // optional int32 count = 3;
  71295. if (has_count()) {
  71296. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  71297. }
  71298. if (!unknown_fields().empty()) {
  71299. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  71300. unknown_fields(), target);
  71301. }
  71302. return target;
  71303. }
  71304. int packetc2w_chip_treasure_lottery::ByteSize() const {
  71305. int total_size = 0;
  71306. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71307. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_chip_treasure_lottery];
  71308. if (has_packet_id()) {
  71309. total_size += 1 +
  71310. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  71311. }
  71312. // optional int32 type = 2;
  71313. if (has_type()) {
  71314. total_size += 1 +
  71315. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71316. this->type());
  71317. }
  71318. // optional int32 count = 3;
  71319. if (has_count()) {
  71320. total_size += 1 +
  71321. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71322. this->count());
  71323. }
  71324. }
  71325. if (!unknown_fields().empty()) {
  71326. total_size +=
  71327. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  71328. unknown_fields());
  71329. }
  71330. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  71331. _cached_size_ = total_size;
  71332. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  71333. return total_size;
  71334. }
  71335. void packetc2w_chip_treasure_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  71336. GOOGLE_CHECK_NE(&from, this);
  71337. const packetc2w_chip_treasure_lottery* source =
  71338. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_chip_treasure_lottery*>(
  71339. &from);
  71340. if (source == NULL) {
  71341. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  71342. } else {
  71343. MergeFrom(*source);
  71344. }
  71345. }
  71346. void packetc2w_chip_treasure_lottery::MergeFrom(const packetc2w_chip_treasure_lottery& from) {
  71347. GOOGLE_CHECK_NE(&from, this);
  71348. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71349. if (from.has_packet_id()) {
  71350. set_packet_id(from.packet_id());
  71351. }
  71352. if (from.has_type()) {
  71353. set_type(from.type());
  71354. }
  71355. if (from.has_count()) {
  71356. set_count(from.count());
  71357. }
  71358. }
  71359. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  71360. }
  71361. void packetc2w_chip_treasure_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  71362. if (&from == this) return;
  71363. Clear();
  71364. MergeFrom(from);
  71365. }
  71366. void packetc2w_chip_treasure_lottery::CopyFrom(const packetc2w_chip_treasure_lottery& from) {
  71367. if (&from == this) return;
  71368. Clear();
  71369. MergeFrom(from);
  71370. }
  71371. bool packetc2w_chip_treasure_lottery::IsInitialized() const {
  71372. return true;
  71373. }
  71374. void packetc2w_chip_treasure_lottery::Swap(packetc2w_chip_treasure_lottery* other) {
  71375. if (other != this) {
  71376. std::swap(packet_id_, other->packet_id_);
  71377. std::swap(type_, other->type_);
  71378. std::swap(count_, other->count_);
  71379. std::swap(_has_bits_[0], other->_has_bits_[0]);
  71380. _unknown_fields_.Swap(&other->_unknown_fields_);
  71381. std::swap(_cached_size_, other->_cached_size_);
  71382. }
  71383. }
  71384. ::google::protobuf::Metadata packetc2w_chip_treasure_lottery::GetMetadata() const {
  71385. protobuf_AssignDescriptorsOnce();
  71386. ::google::protobuf::Metadata metadata;
  71387. metadata.descriptor = packetc2w_chip_treasure_lottery_descriptor_;
  71388. metadata.reflection = packetc2w_chip_treasure_lottery_reflection_;
  71389. return metadata;
  71390. }
  71391. // ===================================================================
  71392. #ifndef _MSC_VER
  71393. const int packetw2c_chip_treasure_lottery_result::kPacketIdFieldNumber;
  71394. const int packetw2c_chip_treasure_lottery_result::kResultFieldNumber;
  71395. const int packetw2c_chip_treasure_lottery_result::kTypeFieldNumber;
  71396. const int packetw2c_chip_treasure_lottery_result::kCountFieldNumber;
  71397. const int packetw2c_chip_treasure_lottery_result::kIndexFieldNumber;
  71398. #endif // !_MSC_VER
  71399. packetw2c_chip_treasure_lottery_result::packetw2c_chip_treasure_lottery_result()
  71400. : ::google::protobuf::Message() {
  71401. SharedCtor();
  71402. }
  71403. void packetw2c_chip_treasure_lottery_result::InitAsDefaultInstance() {
  71404. }
  71405. packetw2c_chip_treasure_lottery_result::packetw2c_chip_treasure_lottery_result(const packetw2c_chip_treasure_lottery_result& from)
  71406. : ::google::protobuf::Message() {
  71407. SharedCtor();
  71408. MergeFrom(from);
  71409. }
  71410. void packetw2c_chip_treasure_lottery_result::SharedCtor() {
  71411. _cached_size_ = 0;
  71412. packet_id_ = 7812;
  71413. result_ = 0;
  71414. type_ = 0;
  71415. count_ = 0;
  71416. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  71417. }
  71418. packetw2c_chip_treasure_lottery_result::~packetw2c_chip_treasure_lottery_result() {
  71419. SharedDtor();
  71420. }
  71421. void packetw2c_chip_treasure_lottery_result::SharedDtor() {
  71422. if (this != default_instance_) {
  71423. }
  71424. }
  71425. void packetw2c_chip_treasure_lottery_result::SetCachedSize(int size) const {
  71426. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  71427. _cached_size_ = size;
  71428. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  71429. }
  71430. const ::google::protobuf::Descriptor* packetw2c_chip_treasure_lottery_result::descriptor() {
  71431. protobuf_AssignDescriptorsOnce();
  71432. return packetw2c_chip_treasure_lottery_result_descriptor_;
  71433. }
  71434. const packetw2c_chip_treasure_lottery_result& packetw2c_chip_treasure_lottery_result::default_instance() {
  71435. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  71436. return *default_instance_;
  71437. }
  71438. packetw2c_chip_treasure_lottery_result* packetw2c_chip_treasure_lottery_result::default_instance_ = NULL;
  71439. packetw2c_chip_treasure_lottery_result* packetw2c_chip_treasure_lottery_result::New() const {
  71440. return new packetw2c_chip_treasure_lottery_result;
  71441. }
  71442. void packetw2c_chip_treasure_lottery_result::Clear() {
  71443. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71444. packet_id_ = 7812;
  71445. result_ = 0;
  71446. type_ = 0;
  71447. count_ = 0;
  71448. }
  71449. index_.Clear();
  71450. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  71451. mutable_unknown_fields()->Clear();
  71452. }
  71453. bool packetw2c_chip_treasure_lottery_result::MergePartialFromCodedStream(
  71454. ::google::protobuf::io::CodedInputStream* input) {
  71455. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  71456. ::google::protobuf::uint32 tag;
  71457. while ((tag = input->ReadTag()) != 0) {
  71458. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  71459. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_chip_treasure_lottery_result];
  71460. case 1: {
  71461. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71462. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71463. int value;
  71464. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71465. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  71466. input, &value)));
  71467. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  71468. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  71469. } else {
  71470. mutable_unknown_fields()->AddVarint(1, value);
  71471. }
  71472. } else {
  71473. goto handle_uninterpreted;
  71474. }
  71475. if (input->ExpectTag(16)) goto parse_result;
  71476. break;
  71477. }
  71478. // optional int32 result = 2;
  71479. case 2: {
  71480. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71481. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71482. parse_result:
  71483. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71484. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71485. input, &result_)));
  71486. set_has_result();
  71487. } else {
  71488. goto handle_uninterpreted;
  71489. }
  71490. if (input->ExpectTag(24)) goto parse_type;
  71491. break;
  71492. }
  71493. // optional int32 type = 3;
  71494. case 3: {
  71495. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71496. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71497. parse_type:
  71498. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71499. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71500. input, &type_)));
  71501. set_has_type();
  71502. } else {
  71503. goto handle_uninterpreted;
  71504. }
  71505. if (input->ExpectTag(32)) goto parse_count;
  71506. break;
  71507. }
  71508. // optional int32 count = 4;
  71509. case 4: {
  71510. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71511. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71512. parse_count:
  71513. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71514. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71515. input, &count_)));
  71516. set_has_count();
  71517. } else {
  71518. goto handle_uninterpreted;
  71519. }
  71520. if (input->ExpectTag(40)) goto parse_index;
  71521. break;
  71522. }
  71523. // repeated int32 index = 5;
  71524. case 5: {
  71525. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71526. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71527. parse_index:
  71528. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  71529. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71530. 1, 40, input, this->mutable_index())));
  71531. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  71532. == ::google::protobuf::internal::WireFormatLite::
  71533. WIRETYPE_LENGTH_DELIMITED) {
  71534. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  71535. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71536. input, this->mutable_index())));
  71537. } else {
  71538. goto handle_uninterpreted;
  71539. }
  71540. if (input->ExpectTag(40)) goto parse_index;
  71541. if (input->ExpectAtEnd()) return true;
  71542. break;
  71543. }
  71544. default: {
  71545. handle_uninterpreted:
  71546. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71547. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  71548. return true;
  71549. }
  71550. DO_(::google::protobuf::internal::WireFormat::SkipField(
  71551. input, tag, mutable_unknown_fields()));
  71552. break;
  71553. }
  71554. }
  71555. }
  71556. return true;
  71557. #undef DO_
  71558. }
  71559. void packetw2c_chip_treasure_lottery_result::SerializeWithCachedSizes(
  71560. ::google::protobuf::io::CodedOutputStream* output) const {
  71561. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_chip_treasure_lottery_result];
  71562. if (has_packet_id()) {
  71563. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  71564. 1, this->packet_id(), output);
  71565. }
  71566. // optional int32 result = 2;
  71567. if (has_result()) {
  71568. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  71569. }
  71570. // optional int32 type = 3;
  71571. if (has_type()) {
  71572. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  71573. }
  71574. // optional int32 count = 4;
  71575. if (has_count()) {
  71576. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->count(), output);
  71577. }
  71578. // repeated int32 index = 5;
  71579. for (int i = 0; i < this->index_size(); i++) {
  71580. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  71581. 5, this->index(i), output);
  71582. }
  71583. if (!unknown_fields().empty()) {
  71584. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  71585. unknown_fields(), output);
  71586. }
  71587. }
  71588. ::google::protobuf::uint8* packetw2c_chip_treasure_lottery_result::SerializeWithCachedSizesToArray(
  71589. ::google::protobuf::uint8* target) const {
  71590. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_chip_treasure_lottery_result];
  71591. if (has_packet_id()) {
  71592. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  71593. 1, this->packet_id(), target);
  71594. }
  71595. // optional int32 result = 2;
  71596. if (has_result()) {
  71597. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  71598. }
  71599. // optional int32 type = 3;
  71600. if (has_type()) {
  71601. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  71602. }
  71603. // optional int32 count = 4;
  71604. if (has_count()) {
  71605. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->count(), target);
  71606. }
  71607. // repeated int32 index = 5;
  71608. for (int i = 0; i < this->index_size(); i++) {
  71609. target = ::google::protobuf::internal::WireFormatLite::
  71610. WriteInt32ToArray(5, this->index(i), target);
  71611. }
  71612. if (!unknown_fields().empty()) {
  71613. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  71614. unknown_fields(), target);
  71615. }
  71616. return target;
  71617. }
  71618. int packetw2c_chip_treasure_lottery_result::ByteSize() const {
  71619. int total_size = 0;
  71620. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71621. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_chip_treasure_lottery_result];
  71622. if (has_packet_id()) {
  71623. total_size += 1 +
  71624. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  71625. }
  71626. // optional int32 result = 2;
  71627. if (has_result()) {
  71628. total_size += 1 +
  71629. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71630. this->result());
  71631. }
  71632. // optional int32 type = 3;
  71633. if (has_type()) {
  71634. total_size += 1 +
  71635. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71636. this->type());
  71637. }
  71638. // optional int32 count = 4;
  71639. if (has_count()) {
  71640. total_size += 1 +
  71641. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71642. this->count());
  71643. }
  71644. }
  71645. // repeated int32 index = 5;
  71646. {
  71647. int data_size = 0;
  71648. for (int i = 0; i < this->index_size(); i++) {
  71649. data_size += ::google::protobuf::internal::WireFormatLite::
  71650. Int32Size(this->index(i));
  71651. }
  71652. total_size += 1 * this->index_size() + data_size;
  71653. }
  71654. if (!unknown_fields().empty()) {
  71655. total_size +=
  71656. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  71657. unknown_fields());
  71658. }
  71659. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  71660. _cached_size_ = total_size;
  71661. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  71662. return total_size;
  71663. }
  71664. void packetw2c_chip_treasure_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  71665. GOOGLE_CHECK_NE(&from, this);
  71666. const packetw2c_chip_treasure_lottery_result* source =
  71667. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_chip_treasure_lottery_result*>(
  71668. &from);
  71669. if (source == NULL) {
  71670. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  71671. } else {
  71672. MergeFrom(*source);
  71673. }
  71674. }
  71675. void packetw2c_chip_treasure_lottery_result::MergeFrom(const packetw2c_chip_treasure_lottery_result& from) {
  71676. GOOGLE_CHECK_NE(&from, this);
  71677. index_.MergeFrom(from.index_);
  71678. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71679. if (from.has_packet_id()) {
  71680. set_packet_id(from.packet_id());
  71681. }
  71682. if (from.has_result()) {
  71683. set_result(from.result());
  71684. }
  71685. if (from.has_type()) {
  71686. set_type(from.type());
  71687. }
  71688. if (from.has_count()) {
  71689. set_count(from.count());
  71690. }
  71691. }
  71692. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  71693. }
  71694. void packetw2c_chip_treasure_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  71695. if (&from == this) return;
  71696. Clear();
  71697. MergeFrom(from);
  71698. }
  71699. void packetw2c_chip_treasure_lottery_result::CopyFrom(const packetw2c_chip_treasure_lottery_result& from) {
  71700. if (&from == this) return;
  71701. Clear();
  71702. MergeFrom(from);
  71703. }
  71704. bool packetw2c_chip_treasure_lottery_result::IsInitialized() const {
  71705. return true;
  71706. }
  71707. void packetw2c_chip_treasure_lottery_result::Swap(packetw2c_chip_treasure_lottery_result* other) {
  71708. if (other != this) {
  71709. std::swap(packet_id_, other->packet_id_);
  71710. std::swap(result_, other->result_);
  71711. std::swap(type_, other->type_);
  71712. std::swap(count_, other->count_);
  71713. index_.Swap(&other->index_);
  71714. std::swap(_has_bits_[0], other->_has_bits_[0]);
  71715. _unknown_fields_.Swap(&other->_unknown_fields_);
  71716. std::swap(_cached_size_, other->_cached_size_);
  71717. }
  71718. }
  71719. ::google::protobuf::Metadata packetw2c_chip_treasure_lottery_result::GetMetadata() const {
  71720. protobuf_AssignDescriptorsOnce();
  71721. ::google::protobuf::Metadata metadata;
  71722. metadata.descriptor = packetw2c_chip_treasure_lottery_result_descriptor_;
  71723. metadata.reflection = packetw2c_chip_treasure_lottery_result_reflection_;
  71724. return metadata;
  71725. }
  71726. // ===================================================================
  71727. #ifndef _MSC_VER
  71728. const int sendGoldHistory::kRoundFieldNumber;
  71729. const int sendGoldHistory::kNicknameFieldNumber;
  71730. const int sendGoldHistory::kGoldFieldNumber;
  71731. #endif // !_MSC_VER
  71732. sendGoldHistory::sendGoldHistory()
  71733. : ::google::protobuf::Message() {
  71734. SharedCtor();
  71735. }
  71736. void sendGoldHistory::InitAsDefaultInstance() {
  71737. }
  71738. sendGoldHistory::sendGoldHistory(const sendGoldHistory& from)
  71739. : ::google::protobuf::Message() {
  71740. SharedCtor();
  71741. MergeFrom(from);
  71742. }
  71743. void sendGoldHistory::SharedCtor() {
  71744. _cached_size_ = 0;
  71745. round_ = 0;
  71746. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  71747. gold_ = 0;
  71748. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  71749. }
  71750. sendGoldHistory::~sendGoldHistory() {
  71751. SharedDtor();
  71752. }
  71753. void sendGoldHistory::SharedDtor() {
  71754. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  71755. delete nickname_;
  71756. }
  71757. if (this != default_instance_) {
  71758. }
  71759. }
  71760. void sendGoldHistory::SetCachedSize(int size) const {
  71761. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  71762. _cached_size_ = size;
  71763. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  71764. }
  71765. const ::google::protobuf::Descriptor* sendGoldHistory::descriptor() {
  71766. protobuf_AssignDescriptorsOnce();
  71767. return sendGoldHistory_descriptor_;
  71768. }
  71769. const sendGoldHistory& sendGoldHistory::default_instance() {
  71770. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  71771. return *default_instance_;
  71772. }
  71773. sendGoldHistory* sendGoldHistory::default_instance_ = NULL;
  71774. sendGoldHistory* sendGoldHistory::New() const {
  71775. return new sendGoldHistory;
  71776. }
  71777. void sendGoldHistory::Clear() {
  71778. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71779. round_ = 0;
  71780. if (has_nickname()) {
  71781. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  71782. nickname_->clear();
  71783. }
  71784. }
  71785. gold_ = 0;
  71786. }
  71787. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  71788. mutable_unknown_fields()->Clear();
  71789. }
  71790. bool sendGoldHistory::MergePartialFromCodedStream(
  71791. ::google::protobuf::io::CodedInputStream* input) {
  71792. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  71793. ::google::protobuf::uint32 tag;
  71794. while ((tag = input->ReadTag()) != 0) {
  71795. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  71796. // optional int32 Round = 2;
  71797. case 2: {
  71798. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71799. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71800. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71801. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71802. input, &round_)));
  71803. set_has_round();
  71804. } else {
  71805. goto handle_uninterpreted;
  71806. }
  71807. if (input->ExpectTag(26)) goto parse_Nickname;
  71808. break;
  71809. }
  71810. // optional string Nickname = 3;
  71811. case 3: {
  71812. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71813. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  71814. parse_Nickname:
  71815. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  71816. input, this->mutable_nickname()));
  71817. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  71818. this->nickname().data(), this->nickname().length(),
  71819. ::google::protobuf::internal::WireFormat::PARSE);
  71820. } else {
  71821. goto handle_uninterpreted;
  71822. }
  71823. if (input->ExpectTag(32)) goto parse_Gold;
  71824. break;
  71825. }
  71826. // optional int32 Gold = 4;
  71827. case 4: {
  71828. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71829. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  71830. parse_Gold:
  71831. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  71832. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  71833. input, &gold_)));
  71834. set_has_gold();
  71835. } else {
  71836. goto handle_uninterpreted;
  71837. }
  71838. if (input->ExpectAtEnd()) return true;
  71839. break;
  71840. }
  71841. default: {
  71842. handle_uninterpreted:
  71843. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  71844. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  71845. return true;
  71846. }
  71847. DO_(::google::protobuf::internal::WireFormat::SkipField(
  71848. input, tag, mutable_unknown_fields()));
  71849. break;
  71850. }
  71851. }
  71852. }
  71853. return true;
  71854. #undef DO_
  71855. }
  71856. void sendGoldHistory::SerializeWithCachedSizes(
  71857. ::google::protobuf::io::CodedOutputStream* output) const {
  71858. // optional int32 Round = 2;
  71859. if (has_round()) {
  71860. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->round(), output);
  71861. }
  71862. // optional string Nickname = 3;
  71863. if (has_nickname()) {
  71864. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  71865. this->nickname().data(), this->nickname().length(),
  71866. ::google::protobuf::internal::WireFormat::SERIALIZE);
  71867. ::google::protobuf::internal::WireFormatLite::WriteString(
  71868. 3, this->nickname(), output);
  71869. }
  71870. // optional int32 Gold = 4;
  71871. if (has_gold()) {
  71872. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gold(), output);
  71873. }
  71874. if (!unknown_fields().empty()) {
  71875. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  71876. unknown_fields(), output);
  71877. }
  71878. }
  71879. ::google::protobuf::uint8* sendGoldHistory::SerializeWithCachedSizesToArray(
  71880. ::google::protobuf::uint8* target) const {
  71881. // optional int32 Round = 2;
  71882. if (has_round()) {
  71883. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->round(), target);
  71884. }
  71885. // optional string Nickname = 3;
  71886. if (has_nickname()) {
  71887. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  71888. this->nickname().data(), this->nickname().length(),
  71889. ::google::protobuf::internal::WireFormat::SERIALIZE);
  71890. target =
  71891. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  71892. 3, this->nickname(), target);
  71893. }
  71894. // optional int32 Gold = 4;
  71895. if (has_gold()) {
  71896. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gold(), target);
  71897. }
  71898. if (!unknown_fields().empty()) {
  71899. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  71900. unknown_fields(), target);
  71901. }
  71902. return target;
  71903. }
  71904. int sendGoldHistory::ByteSize() const {
  71905. int total_size = 0;
  71906. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71907. // optional int32 Round = 2;
  71908. if (has_round()) {
  71909. total_size += 1 +
  71910. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71911. this->round());
  71912. }
  71913. // optional string Nickname = 3;
  71914. if (has_nickname()) {
  71915. total_size += 1 +
  71916. ::google::protobuf::internal::WireFormatLite::StringSize(
  71917. this->nickname());
  71918. }
  71919. // optional int32 Gold = 4;
  71920. if (has_gold()) {
  71921. total_size += 1 +
  71922. ::google::protobuf::internal::WireFormatLite::Int32Size(
  71923. this->gold());
  71924. }
  71925. }
  71926. if (!unknown_fields().empty()) {
  71927. total_size +=
  71928. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  71929. unknown_fields());
  71930. }
  71931. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  71932. _cached_size_ = total_size;
  71933. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  71934. return total_size;
  71935. }
  71936. void sendGoldHistory::MergeFrom(const ::google::protobuf::Message& from) {
  71937. GOOGLE_CHECK_NE(&from, this);
  71938. const sendGoldHistory* source =
  71939. ::google::protobuf::internal::dynamic_cast_if_available<const sendGoldHistory*>(
  71940. &from);
  71941. if (source == NULL) {
  71942. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  71943. } else {
  71944. MergeFrom(*source);
  71945. }
  71946. }
  71947. void sendGoldHistory::MergeFrom(const sendGoldHistory& from) {
  71948. GOOGLE_CHECK_NE(&from, this);
  71949. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  71950. if (from.has_round()) {
  71951. set_round(from.round());
  71952. }
  71953. if (from.has_nickname()) {
  71954. set_nickname(from.nickname());
  71955. }
  71956. if (from.has_gold()) {
  71957. set_gold(from.gold());
  71958. }
  71959. }
  71960. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  71961. }
  71962. void sendGoldHistory::CopyFrom(const ::google::protobuf::Message& from) {
  71963. if (&from == this) return;
  71964. Clear();
  71965. MergeFrom(from);
  71966. }
  71967. void sendGoldHistory::CopyFrom(const sendGoldHistory& from) {
  71968. if (&from == this) return;
  71969. Clear();
  71970. MergeFrom(from);
  71971. }
  71972. bool sendGoldHistory::IsInitialized() const {
  71973. return true;
  71974. }
  71975. void sendGoldHistory::Swap(sendGoldHistory* other) {
  71976. if (other != this) {
  71977. std::swap(round_, other->round_);
  71978. std::swap(nickname_, other->nickname_);
  71979. std::swap(gold_, other->gold_);
  71980. std::swap(_has_bits_[0], other->_has_bits_[0]);
  71981. _unknown_fields_.Swap(&other->_unknown_fields_);
  71982. std::swap(_cached_size_, other->_cached_size_);
  71983. }
  71984. }
  71985. ::google::protobuf::Metadata sendGoldHistory::GetMetadata() const {
  71986. protobuf_AssignDescriptorsOnce();
  71987. ::google::protobuf::Metadata metadata;
  71988. metadata.descriptor = sendGoldHistory_descriptor_;
  71989. metadata.reflection = sendGoldHistory_reflection_;
  71990. return metadata;
  71991. }
  71992. // ===================================================================
  71993. #ifndef _MSC_VER
  71994. const int sendGoldInfo::kGearFieldNumber;
  71995. const int sendGoldInfo::kJackPotFieldNumber;
  71996. const int sendGoldInfo::kCurRoundFieldNumber;
  71997. const int sendGoldInfo::kBuyCountFieldNumber;
  71998. const int sendGoldInfo::kPartTimesFieldNumber;
  71999. const int sendGoldInfo::kHistoryListFieldNumber;
  72000. #endif // !_MSC_VER
  72001. sendGoldInfo::sendGoldInfo()
  72002. : ::google::protobuf::Message() {
  72003. SharedCtor();
  72004. }
  72005. void sendGoldInfo::InitAsDefaultInstance() {
  72006. }
  72007. sendGoldInfo::sendGoldInfo(const sendGoldInfo& from)
  72008. : ::google::protobuf::Message() {
  72009. SharedCtor();
  72010. MergeFrom(from);
  72011. }
  72012. void sendGoldInfo::SharedCtor() {
  72013. _cached_size_ = 0;
  72014. gear_ = 0;
  72015. jackpot_ = 0;
  72016. curround_ = 0;
  72017. buycount_ = 0;
  72018. parttimes_ = 0;
  72019. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  72020. }
  72021. sendGoldInfo::~sendGoldInfo() {
  72022. SharedDtor();
  72023. }
  72024. void sendGoldInfo::SharedDtor() {
  72025. if (this != default_instance_) {
  72026. }
  72027. }
  72028. void sendGoldInfo::SetCachedSize(int size) const {
  72029. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  72030. _cached_size_ = size;
  72031. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  72032. }
  72033. const ::google::protobuf::Descriptor* sendGoldInfo::descriptor() {
  72034. protobuf_AssignDescriptorsOnce();
  72035. return sendGoldInfo_descriptor_;
  72036. }
  72037. const sendGoldInfo& sendGoldInfo::default_instance() {
  72038. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  72039. return *default_instance_;
  72040. }
  72041. sendGoldInfo* sendGoldInfo::default_instance_ = NULL;
  72042. sendGoldInfo* sendGoldInfo::New() const {
  72043. return new sendGoldInfo;
  72044. }
  72045. void sendGoldInfo::Clear() {
  72046. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  72047. gear_ = 0;
  72048. jackpot_ = 0;
  72049. curround_ = 0;
  72050. buycount_ = 0;
  72051. parttimes_ = 0;
  72052. }
  72053. historylist_.Clear();
  72054. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  72055. mutable_unknown_fields()->Clear();
  72056. }
  72057. bool sendGoldInfo::MergePartialFromCodedStream(
  72058. ::google::protobuf::io::CodedInputStream* input) {
  72059. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  72060. ::google::protobuf::uint32 tag;
  72061. while ((tag = input->ReadTag()) != 0) {
  72062. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  72063. // optional int32 Gear = 1;
  72064. case 1: {
  72065. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72066. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72067. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72068. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72069. input, &gear_)));
  72070. set_has_gear();
  72071. } else {
  72072. goto handle_uninterpreted;
  72073. }
  72074. if (input->ExpectTag(16)) goto parse_jackPot;
  72075. break;
  72076. }
  72077. // optional int32 jackPot = 2;
  72078. case 2: {
  72079. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72080. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72081. parse_jackPot:
  72082. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72083. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72084. input, &jackpot_)));
  72085. set_has_jackpot();
  72086. } else {
  72087. goto handle_uninterpreted;
  72088. }
  72089. if (input->ExpectTag(24)) goto parse_CurRound;
  72090. break;
  72091. }
  72092. // optional int32 CurRound = 3;
  72093. case 3: {
  72094. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72095. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72096. parse_CurRound:
  72097. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72098. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72099. input, &curround_)));
  72100. set_has_curround();
  72101. } else {
  72102. goto handle_uninterpreted;
  72103. }
  72104. if (input->ExpectTag(32)) goto parse_BuyCount;
  72105. break;
  72106. }
  72107. // optional int32 BuyCount = 4;
  72108. case 4: {
  72109. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72110. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72111. parse_BuyCount:
  72112. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72113. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72114. input, &buycount_)));
  72115. set_has_buycount();
  72116. } else {
  72117. goto handle_uninterpreted;
  72118. }
  72119. if (input->ExpectTag(40)) goto parse_PartTimes;
  72120. break;
  72121. }
  72122. // optional int32 PartTimes = 5;
  72123. case 5: {
  72124. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72125. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72126. parse_PartTimes:
  72127. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72128. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72129. input, &parttimes_)));
  72130. set_has_parttimes();
  72131. } else {
  72132. goto handle_uninterpreted;
  72133. }
  72134. if (input->ExpectTag(50)) goto parse_HistoryList;
  72135. break;
  72136. }
  72137. // repeated .client2world_protocols.sendGoldHistory HistoryList = 6;
  72138. case 6: {
  72139. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72140. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  72141. parse_HistoryList:
  72142. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  72143. input, add_historylist()));
  72144. } else {
  72145. goto handle_uninterpreted;
  72146. }
  72147. if (input->ExpectTag(50)) goto parse_HistoryList;
  72148. if (input->ExpectAtEnd()) return true;
  72149. break;
  72150. }
  72151. default: {
  72152. handle_uninterpreted:
  72153. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72154. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  72155. return true;
  72156. }
  72157. DO_(::google::protobuf::internal::WireFormat::SkipField(
  72158. input, tag, mutable_unknown_fields()));
  72159. break;
  72160. }
  72161. }
  72162. }
  72163. return true;
  72164. #undef DO_
  72165. }
  72166. void sendGoldInfo::SerializeWithCachedSizes(
  72167. ::google::protobuf::io::CodedOutputStream* output) const {
  72168. // optional int32 Gear = 1;
  72169. if (has_gear()) {
  72170. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->gear(), output);
  72171. }
  72172. // optional int32 jackPot = 2;
  72173. if (has_jackpot()) {
  72174. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->jackpot(), output);
  72175. }
  72176. // optional int32 CurRound = 3;
  72177. if (has_curround()) {
  72178. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->curround(), output);
  72179. }
  72180. // optional int32 BuyCount = 4;
  72181. if (has_buycount()) {
  72182. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->buycount(), output);
  72183. }
  72184. // optional int32 PartTimes = 5;
  72185. if (has_parttimes()) {
  72186. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->parttimes(), output);
  72187. }
  72188. // repeated .client2world_protocols.sendGoldHistory HistoryList = 6;
  72189. for (int i = 0; i < this->historylist_size(); i++) {
  72190. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  72191. 6, this->historylist(i), output);
  72192. }
  72193. if (!unknown_fields().empty()) {
  72194. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  72195. unknown_fields(), output);
  72196. }
  72197. }
  72198. ::google::protobuf::uint8* sendGoldInfo::SerializeWithCachedSizesToArray(
  72199. ::google::protobuf::uint8* target) const {
  72200. // optional int32 Gear = 1;
  72201. if (has_gear()) {
  72202. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->gear(), target);
  72203. }
  72204. // optional int32 jackPot = 2;
  72205. if (has_jackpot()) {
  72206. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->jackpot(), target);
  72207. }
  72208. // optional int32 CurRound = 3;
  72209. if (has_curround()) {
  72210. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->curround(), target);
  72211. }
  72212. // optional int32 BuyCount = 4;
  72213. if (has_buycount()) {
  72214. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->buycount(), target);
  72215. }
  72216. // optional int32 PartTimes = 5;
  72217. if (has_parttimes()) {
  72218. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->parttimes(), target);
  72219. }
  72220. // repeated .client2world_protocols.sendGoldHistory HistoryList = 6;
  72221. for (int i = 0; i < this->historylist_size(); i++) {
  72222. target = ::google::protobuf::internal::WireFormatLite::
  72223. WriteMessageNoVirtualToArray(
  72224. 6, this->historylist(i), target);
  72225. }
  72226. if (!unknown_fields().empty()) {
  72227. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  72228. unknown_fields(), target);
  72229. }
  72230. return target;
  72231. }
  72232. int sendGoldInfo::ByteSize() const {
  72233. int total_size = 0;
  72234. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  72235. // optional int32 Gear = 1;
  72236. if (has_gear()) {
  72237. total_size += 1 +
  72238. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72239. this->gear());
  72240. }
  72241. // optional int32 jackPot = 2;
  72242. if (has_jackpot()) {
  72243. total_size += 1 +
  72244. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72245. this->jackpot());
  72246. }
  72247. // optional int32 CurRound = 3;
  72248. if (has_curround()) {
  72249. total_size += 1 +
  72250. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72251. this->curround());
  72252. }
  72253. // optional int32 BuyCount = 4;
  72254. if (has_buycount()) {
  72255. total_size += 1 +
  72256. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72257. this->buycount());
  72258. }
  72259. // optional int32 PartTimes = 5;
  72260. if (has_parttimes()) {
  72261. total_size += 1 +
  72262. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72263. this->parttimes());
  72264. }
  72265. }
  72266. // repeated .client2world_protocols.sendGoldHistory HistoryList = 6;
  72267. total_size += 1 * this->historylist_size();
  72268. for (int i = 0; i < this->historylist_size(); i++) {
  72269. total_size +=
  72270. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  72271. this->historylist(i));
  72272. }
  72273. if (!unknown_fields().empty()) {
  72274. total_size +=
  72275. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  72276. unknown_fields());
  72277. }
  72278. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  72279. _cached_size_ = total_size;
  72280. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  72281. return total_size;
  72282. }
  72283. void sendGoldInfo::MergeFrom(const ::google::protobuf::Message& from) {
  72284. GOOGLE_CHECK_NE(&from, this);
  72285. const sendGoldInfo* source =
  72286. ::google::protobuf::internal::dynamic_cast_if_available<const sendGoldInfo*>(
  72287. &from);
  72288. if (source == NULL) {
  72289. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  72290. } else {
  72291. MergeFrom(*source);
  72292. }
  72293. }
  72294. void sendGoldInfo::MergeFrom(const sendGoldInfo& from) {
  72295. GOOGLE_CHECK_NE(&from, this);
  72296. historylist_.MergeFrom(from.historylist_);
  72297. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  72298. if (from.has_gear()) {
  72299. set_gear(from.gear());
  72300. }
  72301. if (from.has_jackpot()) {
  72302. set_jackpot(from.jackpot());
  72303. }
  72304. if (from.has_curround()) {
  72305. set_curround(from.curround());
  72306. }
  72307. if (from.has_buycount()) {
  72308. set_buycount(from.buycount());
  72309. }
  72310. if (from.has_parttimes()) {
  72311. set_parttimes(from.parttimes());
  72312. }
  72313. }
  72314. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  72315. }
  72316. void sendGoldInfo::CopyFrom(const ::google::protobuf::Message& from) {
  72317. if (&from == this) return;
  72318. Clear();
  72319. MergeFrom(from);
  72320. }
  72321. void sendGoldInfo::CopyFrom(const sendGoldInfo& from) {
  72322. if (&from == this) return;
  72323. Clear();
  72324. MergeFrom(from);
  72325. }
  72326. bool sendGoldInfo::IsInitialized() const {
  72327. return true;
  72328. }
  72329. void sendGoldInfo::Swap(sendGoldInfo* other) {
  72330. if (other != this) {
  72331. std::swap(gear_, other->gear_);
  72332. std::swap(jackpot_, other->jackpot_);
  72333. std::swap(curround_, other->curround_);
  72334. std::swap(buycount_, other->buycount_);
  72335. std::swap(parttimes_, other->parttimes_);
  72336. historylist_.Swap(&other->historylist_);
  72337. std::swap(_has_bits_[0], other->_has_bits_[0]);
  72338. _unknown_fields_.Swap(&other->_unknown_fields_);
  72339. std::swap(_cached_size_, other->_cached_size_);
  72340. }
  72341. }
  72342. ::google::protobuf::Metadata sendGoldInfo::GetMetadata() const {
  72343. protobuf_AssignDescriptorsOnce();
  72344. ::google::protobuf::Metadata metadata;
  72345. metadata.descriptor = sendGoldInfo_descriptor_;
  72346. metadata.reflection = sendGoldInfo_reflection_;
  72347. return metadata;
  72348. }
  72349. // ===================================================================
  72350. #ifndef _MSC_VER
  72351. const int packetw2c_syn_summer_plan_info::kPacketIdFieldNumber;
  72352. const int packetw2c_syn_summer_plan_info::kActivityStateFieldNumber;
  72353. const int packetw2c_syn_summer_plan_info::kStartTimeFieldNumber;
  72354. const int packetw2c_syn_summer_plan_info::kEndTimeFieldNumber;
  72355. const int packetw2c_syn_summer_plan_info::kActiveFieldNumber;
  72356. const int packetw2c_syn_summer_plan_info::kSummerbingoFieldNumber;
  72357. const int packetw2c_syn_summer_plan_info::kFreeRocketCountFieldNumber;
  72358. const int packetw2c_syn_summer_plan_info::kFreeRocketColdFieldNumber;
  72359. const int packetw2c_syn_summer_plan_info::kRocketLeftRecvFieldNumber;
  72360. const int packetw2c_syn_summer_plan_info::kRocketCurHeightFieldNumber;
  72361. const int packetw2c_syn_summer_plan_info::kRechargedFieldNumber;
  72362. const int packetw2c_syn_summer_plan_info::kRechargedRecvFieldNumber;
  72363. const int packetw2c_syn_summer_plan_info::kDrawEyeEnergyFieldNumber;
  72364. const int packetw2c_syn_summer_plan_info::kTouchGoldEnergyFieldNumber;
  72365. const int packetw2c_syn_summer_plan_info::kDrawEyeTimesFieldNumber;
  72366. const int packetw2c_syn_summer_plan_info::kTouchGoldTimesFieldNumber;
  72367. #endif // !_MSC_VER
  72368. packetw2c_syn_summer_plan_info::packetw2c_syn_summer_plan_info()
  72369. : ::google::protobuf::Message() {
  72370. SharedCtor();
  72371. }
  72372. void packetw2c_syn_summer_plan_info::InitAsDefaultInstance() {
  72373. }
  72374. packetw2c_syn_summer_plan_info::packetw2c_syn_summer_plan_info(const packetw2c_syn_summer_plan_info& from)
  72375. : ::google::protobuf::Message() {
  72376. SharedCtor();
  72377. MergeFrom(from);
  72378. }
  72379. void packetw2c_syn_summer_plan_info::SharedCtor() {
  72380. _cached_size_ = 0;
  72381. packet_id_ = 7813;
  72382. activitystate_ = 0;
  72383. starttime_ = 0;
  72384. endtime_ = 0;
  72385. active_ = false;
  72386. summerbingo_ = 0;
  72387. freerocketcount_ = 0;
  72388. freerocketcold_ = 0;
  72389. rocketleftrecv_ = 0;
  72390. rocketcurheight_ = 0;
  72391. recharged_ = 0;
  72392. draweyeenergy_ = 0;
  72393. touchgoldenergy_ = 0;
  72394. draweyetimes_ = 0;
  72395. touchgoldtimes_ = 0;
  72396. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  72397. }
  72398. packetw2c_syn_summer_plan_info::~packetw2c_syn_summer_plan_info() {
  72399. SharedDtor();
  72400. }
  72401. void packetw2c_syn_summer_plan_info::SharedDtor() {
  72402. if (this != default_instance_) {
  72403. }
  72404. }
  72405. void packetw2c_syn_summer_plan_info::SetCachedSize(int size) const {
  72406. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  72407. _cached_size_ = size;
  72408. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  72409. }
  72410. const ::google::protobuf::Descriptor* packetw2c_syn_summer_plan_info::descriptor() {
  72411. protobuf_AssignDescriptorsOnce();
  72412. return packetw2c_syn_summer_plan_info_descriptor_;
  72413. }
  72414. const packetw2c_syn_summer_plan_info& packetw2c_syn_summer_plan_info::default_instance() {
  72415. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  72416. return *default_instance_;
  72417. }
  72418. packetw2c_syn_summer_plan_info* packetw2c_syn_summer_plan_info::default_instance_ = NULL;
  72419. packetw2c_syn_summer_plan_info* packetw2c_syn_summer_plan_info::New() const {
  72420. return new packetw2c_syn_summer_plan_info;
  72421. }
  72422. void packetw2c_syn_summer_plan_info::Clear() {
  72423. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  72424. packet_id_ = 7813;
  72425. activitystate_ = 0;
  72426. starttime_ = 0;
  72427. endtime_ = 0;
  72428. active_ = false;
  72429. summerbingo_ = 0;
  72430. freerocketcount_ = 0;
  72431. freerocketcold_ = 0;
  72432. }
  72433. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  72434. rocketleftrecv_ = 0;
  72435. rocketcurheight_ = 0;
  72436. recharged_ = 0;
  72437. draweyeenergy_ = 0;
  72438. touchgoldenergy_ = 0;
  72439. draweyetimes_ = 0;
  72440. touchgoldtimes_ = 0;
  72441. }
  72442. rechargedrecv_.Clear();
  72443. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  72444. mutable_unknown_fields()->Clear();
  72445. }
  72446. bool packetw2c_syn_summer_plan_info::MergePartialFromCodedStream(
  72447. ::google::protobuf::io::CodedInputStream* input) {
  72448. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  72449. ::google::protobuf::uint32 tag;
  72450. while ((tag = input->ReadTag()) != 0) {
  72451. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  72452. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_plan_info];
  72453. case 1: {
  72454. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72455. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72456. int value;
  72457. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72458. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  72459. input, &value)));
  72460. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  72461. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  72462. } else {
  72463. mutable_unknown_fields()->AddVarint(1, value);
  72464. }
  72465. } else {
  72466. goto handle_uninterpreted;
  72467. }
  72468. if (input->ExpectTag(16)) goto parse_activityState;
  72469. break;
  72470. }
  72471. // optional int32 activityState = 2;
  72472. case 2: {
  72473. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72474. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72475. parse_activityState:
  72476. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72477. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72478. input, &activitystate_)));
  72479. set_has_activitystate();
  72480. } else {
  72481. goto handle_uninterpreted;
  72482. }
  72483. if (input->ExpectTag(24)) goto parse_startTime;
  72484. break;
  72485. }
  72486. // optional int32 startTime = 3;
  72487. case 3: {
  72488. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72489. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72490. parse_startTime:
  72491. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72492. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72493. input, &starttime_)));
  72494. set_has_starttime();
  72495. } else {
  72496. goto handle_uninterpreted;
  72497. }
  72498. if (input->ExpectTag(32)) goto parse_endTime;
  72499. break;
  72500. }
  72501. // optional int32 endTime = 4;
  72502. case 4: {
  72503. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72504. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72505. parse_endTime:
  72506. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72507. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72508. input, &endtime_)));
  72509. set_has_endtime();
  72510. } else {
  72511. goto handle_uninterpreted;
  72512. }
  72513. if (input->ExpectTag(40)) goto parse_active;
  72514. break;
  72515. }
  72516. // optional bool active = 5;
  72517. case 5: {
  72518. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72519. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72520. parse_active:
  72521. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72522. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  72523. input, &active_)));
  72524. set_has_active();
  72525. } else {
  72526. goto handle_uninterpreted;
  72527. }
  72528. if (input->ExpectTag(48)) goto parse_summerbingo;
  72529. break;
  72530. }
  72531. // optional int32 summerbingo = 6;
  72532. case 6: {
  72533. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72534. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72535. parse_summerbingo:
  72536. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72537. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72538. input, &summerbingo_)));
  72539. set_has_summerbingo();
  72540. } else {
  72541. goto handle_uninterpreted;
  72542. }
  72543. if (input->ExpectTag(56)) goto parse_freeRocketCount;
  72544. break;
  72545. }
  72546. // optional int32 freeRocketCount = 7;
  72547. case 7: {
  72548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72550. parse_freeRocketCount:
  72551. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72552. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72553. input, &freerocketcount_)));
  72554. set_has_freerocketcount();
  72555. } else {
  72556. goto handle_uninterpreted;
  72557. }
  72558. if (input->ExpectTag(64)) goto parse_freeRocketCold;
  72559. break;
  72560. }
  72561. // optional int32 freeRocketCold = 8;
  72562. case 8: {
  72563. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72564. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72565. parse_freeRocketCold:
  72566. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72567. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72568. input, &freerocketcold_)));
  72569. set_has_freerocketcold();
  72570. } else {
  72571. goto handle_uninterpreted;
  72572. }
  72573. if (input->ExpectTag(72)) goto parse_rocketLeftRecv;
  72574. break;
  72575. }
  72576. // optional int32 rocketLeftRecv = 9;
  72577. case 9: {
  72578. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72579. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72580. parse_rocketLeftRecv:
  72581. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72582. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72583. input, &rocketleftrecv_)));
  72584. set_has_rocketleftrecv();
  72585. } else {
  72586. goto handle_uninterpreted;
  72587. }
  72588. if (input->ExpectTag(80)) goto parse_rocketCurHeight;
  72589. break;
  72590. }
  72591. // optional int32 rocketCurHeight = 10;
  72592. case 10: {
  72593. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72594. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72595. parse_rocketCurHeight:
  72596. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72597. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72598. input, &rocketcurheight_)));
  72599. set_has_rocketcurheight();
  72600. } else {
  72601. goto handle_uninterpreted;
  72602. }
  72603. if (input->ExpectTag(88)) goto parse_recharged;
  72604. break;
  72605. }
  72606. // optional int32 recharged = 11;
  72607. case 11: {
  72608. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72609. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72610. parse_recharged:
  72611. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72612. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72613. input, &recharged_)));
  72614. set_has_recharged();
  72615. } else {
  72616. goto handle_uninterpreted;
  72617. }
  72618. if (input->ExpectTag(96)) goto parse_rechargedRecv;
  72619. break;
  72620. }
  72621. // repeated int32 rechargedRecv = 12;
  72622. case 12: {
  72623. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72624. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72625. parse_rechargedRecv:
  72626. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  72627. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72628. 1, 96, input, this->mutable_rechargedrecv())));
  72629. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  72630. == ::google::protobuf::internal::WireFormatLite::
  72631. WIRETYPE_LENGTH_DELIMITED) {
  72632. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  72633. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72634. input, this->mutable_rechargedrecv())));
  72635. } else {
  72636. goto handle_uninterpreted;
  72637. }
  72638. if (input->ExpectTag(96)) goto parse_rechargedRecv;
  72639. if (input->ExpectTag(104)) goto parse_drawEyeEnergy;
  72640. break;
  72641. }
  72642. // optional int32 drawEyeEnergy = 13;
  72643. case 13: {
  72644. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72645. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72646. parse_drawEyeEnergy:
  72647. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72648. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72649. input, &draweyeenergy_)));
  72650. set_has_draweyeenergy();
  72651. } else {
  72652. goto handle_uninterpreted;
  72653. }
  72654. if (input->ExpectTag(112)) goto parse_touchGoldEnergy;
  72655. break;
  72656. }
  72657. // optional int32 touchGoldEnergy = 14;
  72658. case 14: {
  72659. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72660. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72661. parse_touchGoldEnergy:
  72662. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72663. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72664. input, &touchgoldenergy_)));
  72665. set_has_touchgoldenergy();
  72666. } else {
  72667. goto handle_uninterpreted;
  72668. }
  72669. if (input->ExpectTag(120)) goto parse_drawEyeTimes;
  72670. break;
  72671. }
  72672. // optional int32 drawEyeTimes = 15;
  72673. case 15: {
  72674. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72675. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72676. parse_drawEyeTimes:
  72677. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72678. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72679. input, &draweyetimes_)));
  72680. set_has_draweyetimes();
  72681. } else {
  72682. goto handle_uninterpreted;
  72683. }
  72684. if (input->ExpectTag(128)) goto parse_touchGoldTimes;
  72685. break;
  72686. }
  72687. // optional int32 touchGoldTimes = 16;
  72688. case 16: {
  72689. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72690. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  72691. parse_touchGoldTimes:
  72692. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  72693. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  72694. input, &touchgoldtimes_)));
  72695. set_has_touchgoldtimes();
  72696. } else {
  72697. goto handle_uninterpreted;
  72698. }
  72699. if (input->ExpectAtEnd()) return true;
  72700. break;
  72701. }
  72702. default: {
  72703. handle_uninterpreted:
  72704. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  72705. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  72706. return true;
  72707. }
  72708. DO_(::google::protobuf::internal::WireFormat::SkipField(
  72709. input, tag, mutable_unknown_fields()));
  72710. break;
  72711. }
  72712. }
  72713. }
  72714. return true;
  72715. #undef DO_
  72716. }
  72717. void packetw2c_syn_summer_plan_info::SerializeWithCachedSizes(
  72718. ::google::protobuf::io::CodedOutputStream* output) const {
  72719. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_plan_info];
  72720. if (has_packet_id()) {
  72721. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  72722. 1, this->packet_id(), output);
  72723. }
  72724. // optional int32 activityState = 2;
  72725. if (has_activitystate()) {
  72726. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  72727. }
  72728. // optional int32 startTime = 3;
  72729. if (has_starttime()) {
  72730. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  72731. }
  72732. // optional int32 endTime = 4;
  72733. if (has_endtime()) {
  72734. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  72735. }
  72736. // optional bool active = 5;
  72737. if (has_active()) {
  72738. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->active(), output);
  72739. }
  72740. // optional int32 summerbingo = 6;
  72741. if (has_summerbingo()) {
  72742. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->summerbingo(), output);
  72743. }
  72744. // optional int32 freeRocketCount = 7;
  72745. if (has_freerocketcount()) {
  72746. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->freerocketcount(), output);
  72747. }
  72748. // optional int32 freeRocketCold = 8;
  72749. if (has_freerocketcold()) {
  72750. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->freerocketcold(), output);
  72751. }
  72752. // optional int32 rocketLeftRecv = 9;
  72753. if (has_rocketleftrecv()) {
  72754. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->rocketleftrecv(), output);
  72755. }
  72756. // optional int32 rocketCurHeight = 10;
  72757. if (has_rocketcurheight()) {
  72758. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->rocketcurheight(), output);
  72759. }
  72760. // optional int32 recharged = 11;
  72761. if (has_recharged()) {
  72762. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->recharged(), output);
  72763. }
  72764. // repeated int32 rechargedRecv = 12;
  72765. for (int i = 0; i < this->rechargedrecv_size(); i++) {
  72766. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  72767. 12, this->rechargedrecv(i), output);
  72768. }
  72769. // optional int32 drawEyeEnergy = 13;
  72770. if (has_draweyeenergy()) {
  72771. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->draweyeenergy(), output);
  72772. }
  72773. // optional int32 touchGoldEnergy = 14;
  72774. if (has_touchgoldenergy()) {
  72775. ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->touchgoldenergy(), output);
  72776. }
  72777. // optional int32 drawEyeTimes = 15;
  72778. if (has_draweyetimes()) {
  72779. ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->draweyetimes(), output);
  72780. }
  72781. // optional int32 touchGoldTimes = 16;
  72782. if (has_touchgoldtimes()) {
  72783. ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->touchgoldtimes(), output);
  72784. }
  72785. if (!unknown_fields().empty()) {
  72786. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  72787. unknown_fields(), output);
  72788. }
  72789. }
  72790. ::google::protobuf::uint8* packetw2c_syn_summer_plan_info::SerializeWithCachedSizesToArray(
  72791. ::google::protobuf::uint8* target) const {
  72792. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_plan_info];
  72793. if (has_packet_id()) {
  72794. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  72795. 1, this->packet_id(), target);
  72796. }
  72797. // optional int32 activityState = 2;
  72798. if (has_activitystate()) {
  72799. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  72800. }
  72801. // optional int32 startTime = 3;
  72802. if (has_starttime()) {
  72803. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  72804. }
  72805. // optional int32 endTime = 4;
  72806. if (has_endtime()) {
  72807. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  72808. }
  72809. // optional bool active = 5;
  72810. if (has_active()) {
  72811. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->active(), target);
  72812. }
  72813. // optional int32 summerbingo = 6;
  72814. if (has_summerbingo()) {
  72815. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->summerbingo(), target);
  72816. }
  72817. // optional int32 freeRocketCount = 7;
  72818. if (has_freerocketcount()) {
  72819. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->freerocketcount(), target);
  72820. }
  72821. // optional int32 freeRocketCold = 8;
  72822. if (has_freerocketcold()) {
  72823. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->freerocketcold(), target);
  72824. }
  72825. // optional int32 rocketLeftRecv = 9;
  72826. if (has_rocketleftrecv()) {
  72827. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->rocketleftrecv(), target);
  72828. }
  72829. // optional int32 rocketCurHeight = 10;
  72830. if (has_rocketcurheight()) {
  72831. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->rocketcurheight(), target);
  72832. }
  72833. // optional int32 recharged = 11;
  72834. if (has_recharged()) {
  72835. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->recharged(), target);
  72836. }
  72837. // repeated int32 rechargedRecv = 12;
  72838. for (int i = 0; i < this->rechargedrecv_size(); i++) {
  72839. target = ::google::protobuf::internal::WireFormatLite::
  72840. WriteInt32ToArray(12, this->rechargedrecv(i), target);
  72841. }
  72842. // optional int32 drawEyeEnergy = 13;
  72843. if (has_draweyeenergy()) {
  72844. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->draweyeenergy(), target);
  72845. }
  72846. // optional int32 touchGoldEnergy = 14;
  72847. if (has_touchgoldenergy()) {
  72848. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->touchgoldenergy(), target);
  72849. }
  72850. // optional int32 drawEyeTimes = 15;
  72851. if (has_draweyetimes()) {
  72852. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->draweyetimes(), target);
  72853. }
  72854. // optional int32 touchGoldTimes = 16;
  72855. if (has_touchgoldtimes()) {
  72856. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->touchgoldtimes(), target);
  72857. }
  72858. if (!unknown_fields().empty()) {
  72859. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  72860. unknown_fields(), target);
  72861. }
  72862. return target;
  72863. }
  72864. int packetw2c_syn_summer_plan_info::ByteSize() const {
  72865. int total_size = 0;
  72866. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  72867. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_plan_info];
  72868. if (has_packet_id()) {
  72869. total_size += 1 +
  72870. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  72871. }
  72872. // optional int32 activityState = 2;
  72873. if (has_activitystate()) {
  72874. total_size += 1 +
  72875. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72876. this->activitystate());
  72877. }
  72878. // optional int32 startTime = 3;
  72879. if (has_starttime()) {
  72880. total_size += 1 +
  72881. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72882. this->starttime());
  72883. }
  72884. // optional int32 endTime = 4;
  72885. if (has_endtime()) {
  72886. total_size += 1 +
  72887. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72888. this->endtime());
  72889. }
  72890. // optional bool active = 5;
  72891. if (has_active()) {
  72892. total_size += 1 + 1;
  72893. }
  72894. // optional int32 summerbingo = 6;
  72895. if (has_summerbingo()) {
  72896. total_size += 1 +
  72897. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72898. this->summerbingo());
  72899. }
  72900. // optional int32 freeRocketCount = 7;
  72901. if (has_freerocketcount()) {
  72902. total_size += 1 +
  72903. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72904. this->freerocketcount());
  72905. }
  72906. // optional int32 freeRocketCold = 8;
  72907. if (has_freerocketcold()) {
  72908. total_size += 1 +
  72909. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72910. this->freerocketcold());
  72911. }
  72912. }
  72913. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  72914. // optional int32 rocketLeftRecv = 9;
  72915. if (has_rocketleftrecv()) {
  72916. total_size += 1 +
  72917. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72918. this->rocketleftrecv());
  72919. }
  72920. // optional int32 rocketCurHeight = 10;
  72921. if (has_rocketcurheight()) {
  72922. total_size += 1 +
  72923. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72924. this->rocketcurheight());
  72925. }
  72926. // optional int32 recharged = 11;
  72927. if (has_recharged()) {
  72928. total_size += 1 +
  72929. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72930. this->recharged());
  72931. }
  72932. // optional int32 drawEyeEnergy = 13;
  72933. if (has_draweyeenergy()) {
  72934. total_size += 1 +
  72935. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72936. this->draweyeenergy());
  72937. }
  72938. // optional int32 touchGoldEnergy = 14;
  72939. if (has_touchgoldenergy()) {
  72940. total_size += 1 +
  72941. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72942. this->touchgoldenergy());
  72943. }
  72944. // optional int32 drawEyeTimes = 15;
  72945. if (has_draweyetimes()) {
  72946. total_size += 1 +
  72947. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72948. this->draweyetimes());
  72949. }
  72950. // optional int32 touchGoldTimes = 16;
  72951. if (has_touchgoldtimes()) {
  72952. total_size += 2 +
  72953. ::google::protobuf::internal::WireFormatLite::Int32Size(
  72954. this->touchgoldtimes());
  72955. }
  72956. }
  72957. // repeated int32 rechargedRecv = 12;
  72958. {
  72959. int data_size = 0;
  72960. for (int i = 0; i < this->rechargedrecv_size(); i++) {
  72961. data_size += ::google::protobuf::internal::WireFormatLite::
  72962. Int32Size(this->rechargedrecv(i));
  72963. }
  72964. total_size += 1 * this->rechargedrecv_size() + data_size;
  72965. }
  72966. if (!unknown_fields().empty()) {
  72967. total_size +=
  72968. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  72969. unknown_fields());
  72970. }
  72971. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  72972. _cached_size_ = total_size;
  72973. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  72974. return total_size;
  72975. }
  72976. void packetw2c_syn_summer_plan_info::MergeFrom(const ::google::protobuf::Message& from) {
  72977. GOOGLE_CHECK_NE(&from, this);
  72978. const packetw2c_syn_summer_plan_info* source =
  72979. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_summer_plan_info*>(
  72980. &from);
  72981. if (source == NULL) {
  72982. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  72983. } else {
  72984. MergeFrom(*source);
  72985. }
  72986. }
  72987. void packetw2c_syn_summer_plan_info::MergeFrom(const packetw2c_syn_summer_plan_info& from) {
  72988. GOOGLE_CHECK_NE(&from, this);
  72989. rechargedrecv_.MergeFrom(from.rechargedrecv_);
  72990. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  72991. if (from.has_packet_id()) {
  72992. set_packet_id(from.packet_id());
  72993. }
  72994. if (from.has_activitystate()) {
  72995. set_activitystate(from.activitystate());
  72996. }
  72997. if (from.has_starttime()) {
  72998. set_starttime(from.starttime());
  72999. }
  73000. if (from.has_endtime()) {
  73001. set_endtime(from.endtime());
  73002. }
  73003. if (from.has_active()) {
  73004. set_active(from.active());
  73005. }
  73006. if (from.has_summerbingo()) {
  73007. set_summerbingo(from.summerbingo());
  73008. }
  73009. if (from.has_freerocketcount()) {
  73010. set_freerocketcount(from.freerocketcount());
  73011. }
  73012. if (from.has_freerocketcold()) {
  73013. set_freerocketcold(from.freerocketcold());
  73014. }
  73015. }
  73016. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  73017. if (from.has_rocketleftrecv()) {
  73018. set_rocketleftrecv(from.rocketleftrecv());
  73019. }
  73020. if (from.has_rocketcurheight()) {
  73021. set_rocketcurheight(from.rocketcurheight());
  73022. }
  73023. if (from.has_recharged()) {
  73024. set_recharged(from.recharged());
  73025. }
  73026. if (from.has_draweyeenergy()) {
  73027. set_draweyeenergy(from.draweyeenergy());
  73028. }
  73029. if (from.has_touchgoldenergy()) {
  73030. set_touchgoldenergy(from.touchgoldenergy());
  73031. }
  73032. if (from.has_draweyetimes()) {
  73033. set_draweyetimes(from.draweyetimes());
  73034. }
  73035. if (from.has_touchgoldtimes()) {
  73036. set_touchgoldtimes(from.touchgoldtimes());
  73037. }
  73038. }
  73039. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  73040. }
  73041. void packetw2c_syn_summer_plan_info::CopyFrom(const ::google::protobuf::Message& from) {
  73042. if (&from == this) return;
  73043. Clear();
  73044. MergeFrom(from);
  73045. }
  73046. void packetw2c_syn_summer_plan_info::CopyFrom(const packetw2c_syn_summer_plan_info& from) {
  73047. if (&from == this) return;
  73048. Clear();
  73049. MergeFrom(from);
  73050. }
  73051. bool packetw2c_syn_summer_plan_info::IsInitialized() const {
  73052. return true;
  73053. }
  73054. void packetw2c_syn_summer_plan_info::Swap(packetw2c_syn_summer_plan_info* other) {
  73055. if (other != this) {
  73056. std::swap(packet_id_, other->packet_id_);
  73057. std::swap(activitystate_, other->activitystate_);
  73058. std::swap(starttime_, other->starttime_);
  73059. std::swap(endtime_, other->endtime_);
  73060. std::swap(active_, other->active_);
  73061. std::swap(summerbingo_, other->summerbingo_);
  73062. std::swap(freerocketcount_, other->freerocketcount_);
  73063. std::swap(freerocketcold_, other->freerocketcold_);
  73064. std::swap(rocketleftrecv_, other->rocketleftrecv_);
  73065. std::swap(rocketcurheight_, other->rocketcurheight_);
  73066. std::swap(recharged_, other->recharged_);
  73067. rechargedrecv_.Swap(&other->rechargedrecv_);
  73068. std::swap(draweyeenergy_, other->draweyeenergy_);
  73069. std::swap(touchgoldenergy_, other->touchgoldenergy_);
  73070. std::swap(draweyetimes_, other->draweyetimes_);
  73071. std::swap(touchgoldtimes_, other->touchgoldtimes_);
  73072. std::swap(_has_bits_[0], other->_has_bits_[0]);
  73073. _unknown_fields_.Swap(&other->_unknown_fields_);
  73074. std::swap(_cached_size_, other->_cached_size_);
  73075. }
  73076. }
  73077. ::google::protobuf::Metadata packetw2c_syn_summer_plan_info::GetMetadata() const {
  73078. protobuf_AssignDescriptorsOnce();
  73079. ::google::protobuf::Metadata metadata;
  73080. metadata.descriptor = packetw2c_syn_summer_plan_info_descriptor_;
  73081. metadata.reflection = packetw2c_syn_summer_plan_info_reflection_;
  73082. return metadata;
  73083. }
  73084. // ===================================================================
  73085. #ifndef _MSC_VER
  73086. const int packetc2w_summer_plan_get_redpacket_task::kPacketIdFieldNumber;
  73087. #endif // !_MSC_VER
  73088. packetc2w_summer_plan_get_redpacket_task::packetc2w_summer_plan_get_redpacket_task()
  73089. : ::google::protobuf::Message() {
  73090. SharedCtor();
  73091. }
  73092. void packetc2w_summer_plan_get_redpacket_task::InitAsDefaultInstance() {
  73093. }
  73094. packetc2w_summer_plan_get_redpacket_task::packetc2w_summer_plan_get_redpacket_task(const packetc2w_summer_plan_get_redpacket_task& from)
  73095. : ::google::protobuf::Message() {
  73096. SharedCtor();
  73097. MergeFrom(from);
  73098. }
  73099. void packetc2w_summer_plan_get_redpacket_task::SharedCtor() {
  73100. _cached_size_ = 0;
  73101. packet_id_ = 5269;
  73102. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73103. }
  73104. packetc2w_summer_plan_get_redpacket_task::~packetc2w_summer_plan_get_redpacket_task() {
  73105. SharedDtor();
  73106. }
  73107. void packetc2w_summer_plan_get_redpacket_task::SharedDtor() {
  73108. if (this != default_instance_) {
  73109. }
  73110. }
  73111. void packetc2w_summer_plan_get_redpacket_task::SetCachedSize(int size) const {
  73112. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73113. _cached_size_ = size;
  73114. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73115. }
  73116. const ::google::protobuf::Descriptor* packetc2w_summer_plan_get_redpacket_task::descriptor() {
  73117. protobuf_AssignDescriptorsOnce();
  73118. return packetc2w_summer_plan_get_redpacket_task_descriptor_;
  73119. }
  73120. const packetc2w_summer_plan_get_redpacket_task& packetc2w_summer_plan_get_redpacket_task::default_instance() {
  73121. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  73122. return *default_instance_;
  73123. }
  73124. packetc2w_summer_plan_get_redpacket_task* packetc2w_summer_plan_get_redpacket_task::default_instance_ = NULL;
  73125. packetc2w_summer_plan_get_redpacket_task* packetc2w_summer_plan_get_redpacket_task::New() const {
  73126. return new packetc2w_summer_plan_get_redpacket_task;
  73127. }
  73128. void packetc2w_summer_plan_get_redpacket_task::Clear() {
  73129. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73130. packet_id_ = 5269;
  73131. }
  73132. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73133. mutable_unknown_fields()->Clear();
  73134. }
  73135. bool packetc2w_summer_plan_get_redpacket_task::MergePartialFromCodedStream(
  73136. ::google::protobuf::io::CodedInputStream* input) {
  73137. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  73138. ::google::protobuf::uint32 tag;
  73139. while ((tag = input->ReadTag()) != 0) {
  73140. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  73141. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_get_redpacket_task];
  73142. case 1: {
  73143. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73144. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  73145. int value;
  73146. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  73147. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  73148. input, &value)));
  73149. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  73150. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  73151. } else {
  73152. mutable_unknown_fields()->AddVarint(1, value);
  73153. }
  73154. } else {
  73155. goto handle_uninterpreted;
  73156. }
  73157. if (input->ExpectAtEnd()) return true;
  73158. break;
  73159. }
  73160. default: {
  73161. handle_uninterpreted:
  73162. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73163. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  73164. return true;
  73165. }
  73166. DO_(::google::protobuf::internal::WireFormat::SkipField(
  73167. input, tag, mutable_unknown_fields()));
  73168. break;
  73169. }
  73170. }
  73171. }
  73172. return true;
  73173. #undef DO_
  73174. }
  73175. void packetc2w_summer_plan_get_redpacket_task::SerializeWithCachedSizes(
  73176. ::google::protobuf::io::CodedOutputStream* output) const {
  73177. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_get_redpacket_task];
  73178. if (has_packet_id()) {
  73179. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  73180. 1, this->packet_id(), output);
  73181. }
  73182. if (!unknown_fields().empty()) {
  73183. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  73184. unknown_fields(), output);
  73185. }
  73186. }
  73187. ::google::protobuf::uint8* packetc2w_summer_plan_get_redpacket_task::SerializeWithCachedSizesToArray(
  73188. ::google::protobuf::uint8* target) const {
  73189. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_get_redpacket_task];
  73190. if (has_packet_id()) {
  73191. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  73192. 1, this->packet_id(), target);
  73193. }
  73194. if (!unknown_fields().empty()) {
  73195. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  73196. unknown_fields(), target);
  73197. }
  73198. return target;
  73199. }
  73200. int packetc2w_summer_plan_get_redpacket_task::ByteSize() const {
  73201. int total_size = 0;
  73202. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73203. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_get_redpacket_task];
  73204. if (has_packet_id()) {
  73205. total_size += 1 +
  73206. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  73207. }
  73208. }
  73209. if (!unknown_fields().empty()) {
  73210. total_size +=
  73211. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  73212. unknown_fields());
  73213. }
  73214. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73215. _cached_size_ = total_size;
  73216. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73217. return total_size;
  73218. }
  73219. void packetc2w_summer_plan_get_redpacket_task::MergeFrom(const ::google::protobuf::Message& from) {
  73220. GOOGLE_CHECK_NE(&from, this);
  73221. const packetc2w_summer_plan_get_redpacket_task* source =
  73222. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_get_redpacket_task*>(
  73223. &from);
  73224. if (source == NULL) {
  73225. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  73226. } else {
  73227. MergeFrom(*source);
  73228. }
  73229. }
  73230. void packetc2w_summer_plan_get_redpacket_task::MergeFrom(const packetc2w_summer_plan_get_redpacket_task& from) {
  73231. GOOGLE_CHECK_NE(&from, this);
  73232. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73233. if (from.has_packet_id()) {
  73234. set_packet_id(from.packet_id());
  73235. }
  73236. }
  73237. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  73238. }
  73239. void packetc2w_summer_plan_get_redpacket_task::CopyFrom(const ::google::protobuf::Message& from) {
  73240. if (&from == this) return;
  73241. Clear();
  73242. MergeFrom(from);
  73243. }
  73244. void packetc2w_summer_plan_get_redpacket_task::CopyFrom(const packetc2w_summer_plan_get_redpacket_task& from) {
  73245. if (&from == this) return;
  73246. Clear();
  73247. MergeFrom(from);
  73248. }
  73249. bool packetc2w_summer_plan_get_redpacket_task::IsInitialized() const {
  73250. return true;
  73251. }
  73252. void packetc2w_summer_plan_get_redpacket_task::Swap(packetc2w_summer_plan_get_redpacket_task* other) {
  73253. if (other != this) {
  73254. std::swap(packet_id_, other->packet_id_);
  73255. std::swap(_has_bits_[0], other->_has_bits_[0]);
  73256. _unknown_fields_.Swap(&other->_unknown_fields_);
  73257. std::swap(_cached_size_, other->_cached_size_);
  73258. }
  73259. }
  73260. ::google::protobuf::Metadata packetc2w_summer_plan_get_redpacket_task::GetMetadata() const {
  73261. protobuf_AssignDescriptorsOnce();
  73262. ::google::protobuf::Metadata metadata;
  73263. metadata.descriptor = packetc2w_summer_plan_get_redpacket_task_descriptor_;
  73264. metadata.reflection = packetc2w_summer_plan_get_redpacket_task_reflection_;
  73265. return metadata;
  73266. }
  73267. // ===================================================================
  73268. #ifndef _MSC_VER
  73269. const int packetw2c_summer_plan_get_redpacket_task_result::kPacketIdFieldNumber;
  73270. const int packetw2c_summer_plan_get_redpacket_task_result::kQuestListFieldNumber;
  73271. #endif // !_MSC_VER
  73272. packetw2c_summer_plan_get_redpacket_task_result::packetw2c_summer_plan_get_redpacket_task_result()
  73273. : ::google::protobuf::Message() {
  73274. SharedCtor();
  73275. }
  73276. void packetw2c_summer_plan_get_redpacket_task_result::InitAsDefaultInstance() {
  73277. }
  73278. packetw2c_summer_plan_get_redpacket_task_result::packetw2c_summer_plan_get_redpacket_task_result(const packetw2c_summer_plan_get_redpacket_task_result& from)
  73279. : ::google::protobuf::Message() {
  73280. SharedCtor();
  73281. MergeFrom(from);
  73282. }
  73283. void packetw2c_summer_plan_get_redpacket_task_result::SharedCtor() {
  73284. _cached_size_ = 0;
  73285. packet_id_ = 7820;
  73286. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73287. }
  73288. packetw2c_summer_plan_get_redpacket_task_result::~packetw2c_summer_plan_get_redpacket_task_result() {
  73289. SharedDtor();
  73290. }
  73291. void packetw2c_summer_plan_get_redpacket_task_result::SharedDtor() {
  73292. if (this != default_instance_) {
  73293. }
  73294. }
  73295. void packetw2c_summer_plan_get_redpacket_task_result::SetCachedSize(int size) const {
  73296. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73297. _cached_size_ = size;
  73298. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73299. }
  73300. const ::google::protobuf::Descriptor* packetw2c_summer_plan_get_redpacket_task_result::descriptor() {
  73301. protobuf_AssignDescriptorsOnce();
  73302. return packetw2c_summer_plan_get_redpacket_task_result_descriptor_;
  73303. }
  73304. const packetw2c_summer_plan_get_redpacket_task_result& packetw2c_summer_plan_get_redpacket_task_result::default_instance() {
  73305. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  73306. return *default_instance_;
  73307. }
  73308. packetw2c_summer_plan_get_redpacket_task_result* packetw2c_summer_plan_get_redpacket_task_result::default_instance_ = NULL;
  73309. packetw2c_summer_plan_get_redpacket_task_result* packetw2c_summer_plan_get_redpacket_task_result::New() const {
  73310. return new packetw2c_summer_plan_get_redpacket_task_result;
  73311. }
  73312. void packetw2c_summer_plan_get_redpacket_task_result::Clear() {
  73313. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73314. packet_id_ = 7820;
  73315. }
  73316. questlist_.Clear();
  73317. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73318. mutable_unknown_fields()->Clear();
  73319. }
  73320. bool packetw2c_summer_plan_get_redpacket_task_result::MergePartialFromCodedStream(
  73321. ::google::protobuf::io::CodedInputStream* input) {
  73322. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  73323. ::google::protobuf::uint32 tag;
  73324. while ((tag = input->ReadTag()) != 0) {
  73325. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  73326. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_get_redpacket_task_result];
  73327. case 1: {
  73328. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73329. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  73330. int value;
  73331. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  73332. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  73333. input, &value)));
  73334. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  73335. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  73336. } else {
  73337. mutable_unknown_fields()->AddVarint(1, value);
  73338. }
  73339. } else {
  73340. goto handle_uninterpreted;
  73341. }
  73342. if (input->ExpectTag(18)) goto parse_questList;
  73343. break;
  73344. }
  73345. // repeated .msg_info_def.msg_quest_info questList = 2;
  73346. case 2: {
  73347. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73348. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  73349. parse_questList:
  73350. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  73351. input, add_questlist()));
  73352. } else {
  73353. goto handle_uninterpreted;
  73354. }
  73355. if (input->ExpectTag(18)) goto parse_questList;
  73356. if (input->ExpectAtEnd()) return true;
  73357. break;
  73358. }
  73359. default: {
  73360. handle_uninterpreted:
  73361. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73362. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  73363. return true;
  73364. }
  73365. DO_(::google::protobuf::internal::WireFormat::SkipField(
  73366. input, tag, mutable_unknown_fields()));
  73367. break;
  73368. }
  73369. }
  73370. }
  73371. return true;
  73372. #undef DO_
  73373. }
  73374. void packetw2c_summer_plan_get_redpacket_task_result::SerializeWithCachedSizes(
  73375. ::google::protobuf::io::CodedOutputStream* output) const {
  73376. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_get_redpacket_task_result];
  73377. if (has_packet_id()) {
  73378. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  73379. 1, this->packet_id(), output);
  73380. }
  73381. // repeated .msg_info_def.msg_quest_info questList = 2;
  73382. for (int i = 0; i < this->questlist_size(); i++) {
  73383. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  73384. 2, this->questlist(i), output);
  73385. }
  73386. if (!unknown_fields().empty()) {
  73387. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  73388. unknown_fields(), output);
  73389. }
  73390. }
  73391. ::google::protobuf::uint8* packetw2c_summer_plan_get_redpacket_task_result::SerializeWithCachedSizesToArray(
  73392. ::google::protobuf::uint8* target) const {
  73393. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_get_redpacket_task_result];
  73394. if (has_packet_id()) {
  73395. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  73396. 1, this->packet_id(), target);
  73397. }
  73398. // repeated .msg_info_def.msg_quest_info questList = 2;
  73399. for (int i = 0; i < this->questlist_size(); i++) {
  73400. target = ::google::protobuf::internal::WireFormatLite::
  73401. WriteMessageNoVirtualToArray(
  73402. 2, this->questlist(i), target);
  73403. }
  73404. if (!unknown_fields().empty()) {
  73405. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  73406. unknown_fields(), target);
  73407. }
  73408. return target;
  73409. }
  73410. int packetw2c_summer_plan_get_redpacket_task_result::ByteSize() const {
  73411. int total_size = 0;
  73412. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73413. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_get_redpacket_task_result];
  73414. if (has_packet_id()) {
  73415. total_size += 1 +
  73416. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  73417. }
  73418. }
  73419. // repeated .msg_info_def.msg_quest_info questList = 2;
  73420. total_size += 1 * this->questlist_size();
  73421. for (int i = 0; i < this->questlist_size(); i++) {
  73422. total_size +=
  73423. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  73424. this->questlist(i));
  73425. }
  73426. if (!unknown_fields().empty()) {
  73427. total_size +=
  73428. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  73429. unknown_fields());
  73430. }
  73431. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73432. _cached_size_ = total_size;
  73433. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73434. return total_size;
  73435. }
  73436. void packetw2c_summer_plan_get_redpacket_task_result::MergeFrom(const ::google::protobuf::Message& from) {
  73437. GOOGLE_CHECK_NE(&from, this);
  73438. const packetw2c_summer_plan_get_redpacket_task_result* source =
  73439. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_get_redpacket_task_result*>(
  73440. &from);
  73441. if (source == NULL) {
  73442. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  73443. } else {
  73444. MergeFrom(*source);
  73445. }
  73446. }
  73447. void packetw2c_summer_plan_get_redpacket_task_result::MergeFrom(const packetw2c_summer_plan_get_redpacket_task_result& from) {
  73448. GOOGLE_CHECK_NE(&from, this);
  73449. questlist_.MergeFrom(from.questlist_);
  73450. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73451. if (from.has_packet_id()) {
  73452. set_packet_id(from.packet_id());
  73453. }
  73454. }
  73455. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  73456. }
  73457. void packetw2c_summer_plan_get_redpacket_task_result::CopyFrom(const ::google::protobuf::Message& from) {
  73458. if (&from == this) return;
  73459. Clear();
  73460. MergeFrom(from);
  73461. }
  73462. void packetw2c_summer_plan_get_redpacket_task_result::CopyFrom(const packetw2c_summer_plan_get_redpacket_task_result& from) {
  73463. if (&from == this) return;
  73464. Clear();
  73465. MergeFrom(from);
  73466. }
  73467. bool packetw2c_summer_plan_get_redpacket_task_result::IsInitialized() const {
  73468. return true;
  73469. }
  73470. void packetw2c_summer_plan_get_redpacket_task_result::Swap(packetw2c_summer_plan_get_redpacket_task_result* other) {
  73471. if (other != this) {
  73472. std::swap(packet_id_, other->packet_id_);
  73473. questlist_.Swap(&other->questlist_);
  73474. std::swap(_has_bits_[0], other->_has_bits_[0]);
  73475. _unknown_fields_.Swap(&other->_unknown_fields_);
  73476. std::swap(_cached_size_, other->_cached_size_);
  73477. }
  73478. }
  73479. ::google::protobuf::Metadata packetw2c_summer_plan_get_redpacket_task_result::GetMetadata() const {
  73480. protobuf_AssignDescriptorsOnce();
  73481. ::google::protobuf::Metadata metadata;
  73482. metadata.descriptor = packetw2c_summer_plan_get_redpacket_task_result_descriptor_;
  73483. metadata.reflection = packetw2c_summer_plan_get_redpacket_task_result_reflection_;
  73484. return metadata;
  73485. }
  73486. // ===================================================================
  73487. #ifndef _MSC_VER
  73488. const int packetc2w_summer_plan_sendgold_info::kPacketIdFieldNumber;
  73489. #endif // !_MSC_VER
  73490. packetc2w_summer_plan_sendgold_info::packetc2w_summer_plan_sendgold_info()
  73491. : ::google::protobuf::Message() {
  73492. SharedCtor();
  73493. }
  73494. void packetc2w_summer_plan_sendgold_info::InitAsDefaultInstance() {
  73495. }
  73496. packetc2w_summer_plan_sendgold_info::packetc2w_summer_plan_sendgold_info(const packetc2w_summer_plan_sendgold_info& from)
  73497. : ::google::protobuf::Message() {
  73498. SharedCtor();
  73499. MergeFrom(from);
  73500. }
  73501. void packetc2w_summer_plan_sendgold_info::SharedCtor() {
  73502. _cached_size_ = 0;
  73503. packet_id_ = 5263;
  73504. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73505. }
  73506. packetc2w_summer_plan_sendgold_info::~packetc2w_summer_plan_sendgold_info() {
  73507. SharedDtor();
  73508. }
  73509. void packetc2w_summer_plan_sendgold_info::SharedDtor() {
  73510. if (this != default_instance_) {
  73511. }
  73512. }
  73513. void packetc2w_summer_plan_sendgold_info::SetCachedSize(int size) const {
  73514. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73515. _cached_size_ = size;
  73516. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73517. }
  73518. const ::google::protobuf::Descriptor* packetc2w_summer_plan_sendgold_info::descriptor() {
  73519. protobuf_AssignDescriptorsOnce();
  73520. return packetc2w_summer_plan_sendgold_info_descriptor_;
  73521. }
  73522. const packetc2w_summer_plan_sendgold_info& packetc2w_summer_plan_sendgold_info::default_instance() {
  73523. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  73524. return *default_instance_;
  73525. }
  73526. packetc2w_summer_plan_sendgold_info* packetc2w_summer_plan_sendgold_info::default_instance_ = NULL;
  73527. packetc2w_summer_plan_sendgold_info* packetc2w_summer_plan_sendgold_info::New() const {
  73528. return new packetc2w_summer_plan_sendgold_info;
  73529. }
  73530. void packetc2w_summer_plan_sendgold_info::Clear() {
  73531. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73532. packet_id_ = 5263;
  73533. }
  73534. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73535. mutable_unknown_fields()->Clear();
  73536. }
  73537. bool packetc2w_summer_plan_sendgold_info::MergePartialFromCodedStream(
  73538. ::google::protobuf::io::CodedInputStream* input) {
  73539. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  73540. ::google::protobuf::uint32 tag;
  73541. while ((tag = input->ReadTag()) != 0) {
  73542. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  73543. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_sendgold_info];
  73544. case 1: {
  73545. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73546. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  73547. int value;
  73548. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  73549. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  73550. input, &value)));
  73551. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  73552. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  73553. } else {
  73554. mutable_unknown_fields()->AddVarint(1, value);
  73555. }
  73556. } else {
  73557. goto handle_uninterpreted;
  73558. }
  73559. if (input->ExpectAtEnd()) return true;
  73560. break;
  73561. }
  73562. default: {
  73563. handle_uninterpreted:
  73564. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73565. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  73566. return true;
  73567. }
  73568. DO_(::google::protobuf::internal::WireFormat::SkipField(
  73569. input, tag, mutable_unknown_fields()));
  73570. break;
  73571. }
  73572. }
  73573. }
  73574. return true;
  73575. #undef DO_
  73576. }
  73577. void packetc2w_summer_plan_sendgold_info::SerializeWithCachedSizes(
  73578. ::google::protobuf::io::CodedOutputStream* output) const {
  73579. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_sendgold_info];
  73580. if (has_packet_id()) {
  73581. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  73582. 1, this->packet_id(), output);
  73583. }
  73584. if (!unknown_fields().empty()) {
  73585. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  73586. unknown_fields(), output);
  73587. }
  73588. }
  73589. ::google::protobuf::uint8* packetc2w_summer_plan_sendgold_info::SerializeWithCachedSizesToArray(
  73590. ::google::protobuf::uint8* target) const {
  73591. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_sendgold_info];
  73592. if (has_packet_id()) {
  73593. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  73594. 1, this->packet_id(), target);
  73595. }
  73596. if (!unknown_fields().empty()) {
  73597. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  73598. unknown_fields(), target);
  73599. }
  73600. return target;
  73601. }
  73602. int packetc2w_summer_plan_sendgold_info::ByteSize() const {
  73603. int total_size = 0;
  73604. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73605. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_sendgold_info];
  73606. if (has_packet_id()) {
  73607. total_size += 1 +
  73608. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  73609. }
  73610. }
  73611. if (!unknown_fields().empty()) {
  73612. total_size +=
  73613. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  73614. unknown_fields());
  73615. }
  73616. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73617. _cached_size_ = total_size;
  73618. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73619. return total_size;
  73620. }
  73621. void packetc2w_summer_plan_sendgold_info::MergeFrom(const ::google::protobuf::Message& from) {
  73622. GOOGLE_CHECK_NE(&from, this);
  73623. const packetc2w_summer_plan_sendgold_info* source =
  73624. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_sendgold_info*>(
  73625. &from);
  73626. if (source == NULL) {
  73627. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  73628. } else {
  73629. MergeFrom(*source);
  73630. }
  73631. }
  73632. void packetc2w_summer_plan_sendgold_info::MergeFrom(const packetc2w_summer_plan_sendgold_info& from) {
  73633. GOOGLE_CHECK_NE(&from, this);
  73634. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73635. if (from.has_packet_id()) {
  73636. set_packet_id(from.packet_id());
  73637. }
  73638. }
  73639. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  73640. }
  73641. void packetc2w_summer_plan_sendgold_info::CopyFrom(const ::google::protobuf::Message& from) {
  73642. if (&from == this) return;
  73643. Clear();
  73644. MergeFrom(from);
  73645. }
  73646. void packetc2w_summer_plan_sendgold_info::CopyFrom(const packetc2w_summer_plan_sendgold_info& from) {
  73647. if (&from == this) return;
  73648. Clear();
  73649. MergeFrom(from);
  73650. }
  73651. bool packetc2w_summer_plan_sendgold_info::IsInitialized() const {
  73652. return true;
  73653. }
  73654. void packetc2w_summer_plan_sendgold_info::Swap(packetc2w_summer_plan_sendgold_info* other) {
  73655. if (other != this) {
  73656. std::swap(packet_id_, other->packet_id_);
  73657. std::swap(_has_bits_[0], other->_has_bits_[0]);
  73658. _unknown_fields_.Swap(&other->_unknown_fields_);
  73659. std::swap(_cached_size_, other->_cached_size_);
  73660. }
  73661. }
  73662. ::google::protobuf::Metadata packetc2w_summer_plan_sendgold_info::GetMetadata() const {
  73663. protobuf_AssignDescriptorsOnce();
  73664. ::google::protobuf::Metadata metadata;
  73665. metadata.descriptor = packetc2w_summer_plan_sendgold_info_descriptor_;
  73666. metadata.reflection = packetc2w_summer_plan_sendgold_info_reflection_;
  73667. return metadata;
  73668. }
  73669. // ===================================================================
  73670. #ifndef _MSC_VER
  73671. const int packetw2c_summer_plan_sendgold_info_result::kPacketIdFieldNumber;
  73672. const int packetw2c_summer_plan_sendgold_info_result::kSendGoldInfoListFieldNumber;
  73673. #endif // !_MSC_VER
  73674. packetw2c_summer_plan_sendgold_info_result::packetw2c_summer_plan_sendgold_info_result()
  73675. : ::google::protobuf::Message() {
  73676. SharedCtor();
  73677. }
  73678. void packetw2c_summer_plan_sendgold_info_result::InitAsDefaultInstance() {
  73679. }
  73680. packetw2c_summer_plan_sendgold_info_result::packetw2c_summer_plan_sendgold_info_result(const packetw2c_summer_plan_sendgold_info_result& from)
  73681. : ::google::protobuf::Message() {
  73682. SharedCtor();
  73683. MergeFrom(from);
  73684. }
  73685. void packetw2c_summer_plan_sendgold_info_result::SharedCtor() {
  73686. _cached_size_ = 0;
  73687. packet_id_ = 7818;
  73688. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73689. }
  73690. packetw2c_summer_plan_sendgold_info_result::~packetw2c_summer_plan_sendgold_info_result() {
  73691. SharedDtor();
  73692. }
  73693. void packetw2c_summer_plan_sendgold_info_result::SharedDtor() {
  73694. if (this != default_instance_) {
  73695. }
  73696. }
  73697. void packetw2c_summer_plan_sendgold_info_result::SetCachedSize(int size) const {
  73698. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73699. _cached_size_ = size;
  73700. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73701. }
  73702. const ::google::protobuf::Descriptor* packetw2c_summer_plan_sendgold_info_result::descriptor() {
  73703. protobuf_AssignDescriptorsOnce();
  73704. return packetw2c_summer_plan_sendgold_info_result_descriptor_;
  73705. }
  73706. const packetw2c_summer_plan_sendgold_info_result& packetw2c_summer_plan_sendgold_info_result::default_instance() {
  73707. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  73708. return *default_instance_;
  73709. }
  73710. packetw2c_summer_plan_sendgold_info_result* packetw2c_summer_plan_sendgold_info_result::default_instance_ = NULL;
  73711. packetw2c_summer_plan_sendgold_info_result* packetw2c_summer_plan_sendgold_info_result::New() const {
  73712. return new packetw2c_summer_plan_sendgold_info_result;
  73713. }
  73714. void packetw2c_summer_plan_sendgold_info_result::Clear() {
  73715. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73716. packet_id_ = 7818;
  73717. }
  73718. sendgoldinfolist_.Clear();
  73719. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73720. mutable_unknown_fields()->Clear();
  73721. }
  73722. bool packetw2c_summer_plan_sendgold_info_result::MergePartialFromCodedStream(
  73723. ::google::protobuf::io::CodedInputStream* input) {
  73724. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  73725. ::google::protobuf::uint32 tag;
  73726. while ((tag = input->ReadTag()) != 0) {
  73727. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  73728. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_sendgold_info_result];
  73729. case 1: {
  73730. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73731. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  73732. int value;
  73733. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  73734. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  73735. input, &value)));
  73736. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  73737. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  73738. } else {
  73739. mutable_unknown_fields()->AddVarint(1, value);
  73740. }
  73741. } else {
  73742. goto handle_uninterpreted;
  73743. }
  73744. if (input->ExpectTag(18)) goto parse_sendGoldInfoList;
  73745. break;
  73746. }
  73747. // repeated .client2world_protocols.sendGoldInfo sendGoldInfoList = 2;
  73748. case 2: {
  73749. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73750. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  73751. parse_sendGoldInfoList:
  73752. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  73753. input, add_sendgoldinfolist()));
  73754. } else {
  73755. goto handle_uninterpreted;
  73756. }
  73757. if (input->ExpectTag(18)) goto parse_sendGoldInfoList;
  73758. if (input->ExpectAtEnd()) return true;
  73759. break;
  73760. }
  73761. default: {
  73762. handle_uninterpreted:
  73763. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73764. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  73765. return true;
  73766. }
  73767. DO_(::google::protobuf::internal::WireFormat::SkipField(
  73768. input, tag, mutable_unknown_fields()));
  73769. break;
  73770. }
  73771. }
  73772. }
  73773. return true;
  73774. #undef DO_
  73775. }
  73776. void packetw2c_summer_plan_sendgold_info_result::SerializeWithCachedSizes(
  73777. ::google::protobuf::io::CodedOutputStream* output) const {
  73778. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_sendgold_info_result];
  73779. if (has_packet_id()) {
  73780. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  73781. 1, this->packet_id(), output);
  73782. }
  73783. // repeated .client2world_protocols.sendGoldInfo sendGoldInfoList = 2;
  73784. for (int i = 0; i < this->sendgoldinfolist_size(); i++) {
  73785. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  73786. 2, this->sendgoldinfolist(i), output);
  73787. }
  73788. if (!unknown_fields().empty()) {
  73789. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  73790. unknown_fields(), output);
  73791. }
  73792. }
  73793. ::google::protobuf::uint8* packetw2c_summer_plan_sendgold_info_result::SerializeWithCachedSizesToArray(
  73794. ::google::protobuf::uint8* target) const {
  73795. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_sendgold_info_result];
  73796. if (has_packet_id()) {
  73797. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  73798. 1, this->packet_id(), target);
  73799. }
  73800. // repeated .client2world_protocols.sendGoldInfo sendGoldInfoList = 2;
  73801. for (int i = 0; i < this->sendgoldinfolist_size(); i++) {
  73802. target = ::google::protobuf::internal::WireFormatLite::
  73803. WriteMessageNoVirtualToArray(
  73804. 2, this->sendgoldinfolist(i), target);
  73805. }
  73806. if (!unknown_fields().empty()) {
  73807. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  73808. unknown_fields(), target);
  73809. }
  73810. return target;
  73811. }
  73812. int packetw2c_summer_plan_sendgold_info_result::ByteSize() const {
  73813. int total_size = 0;
  73814. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73815. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_sendgold_info_result];
  73816. if (has_packet_id()) {
  73817. total_size += 1 +
  73818. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  73819. }
  73820. }
  73821. // repeated .client2world_protocols.sendGoldInfo sendGoldInfoList = 2;
  73822. total_size += 1 * this->sendgoldinfolist_size();
  73823. for (int i = 0; i < this->sendgoldinfolist_size(); i++) {
  73824. total_size +=
  73825. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  73826. this->sendgoldinfolist(i));
  73827. }
  73828. if (!unknown_fields().empty()) {
  73829. total_size +=
  73830. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  73831. unknown_fields());
  73832. }
  73833. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73834. _cached_size_ = total_size;
  73835. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73836. return total_size;
  73837. }
  73838. void packetw2c_summer_plan_sendgold_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  73839. GOOGLE_CHECK_NE(&from, this);
  73840. const packetw2c_summer_plan_sendgold_info_result* source =
  73841. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_sendgold_info_result*>(
  73842. &from);
  73843. if (source == NULL) {
  73844. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  73845. } else {
  73846. MergeFrom(*source);
  73847. }
  73848. }
  73849. void packetw2c_summer_plan_sendgold_info_result::MergeFrom(const packetw2c_summer_plan_sendgold_info_result& from) {
  73850. GOOGLE_CHECK_NE(&from, this);
  73851. sendgoldinfolist_.MergeFrom(from.sendgoldinfolist_);
  73852. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73853. if (from.has_packet_id()) {
  73854. set_packet_id(from.packet_id());
  73855. }
  73856. }
  73857. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  73858. }
  73859. void packetw2c_summer_plan_sendgold_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  73860. if (&from == this) return;
  73861. Clear();
  73862. MergeFrom(from);
  73863. }
  73864. void packetw2c_summer_plan_sendgold_info_result::CopyFrom(const packetw2c_summer_plan_sendgold_info_result& from) {
  73865. if (&from == this) return;
  73866. Clear();
  73867. MergeFrom(from);
  73868. }
  73869. bool packetw2c_summer_plan_sendgold_info_result::IsInitialized() const {
  73870. return true;
  73871. }
  73872. void packetw2c_summer_plan_sendgold_info_result::Swap(packetw2c_summer_plan_sendgold_info_result* other) {
  73873. if (other != this) {
  73874. std::swap(packet_id_, other->packet_id_);
  73875. sendgoldinfolist_.Swap(&other->sendgoldinfolist_);
  73876. std::swap(_has_bits_[0], other->_has_bits_[0]);
  73877. _unknown_fields_.Swap(&other->_unknown_fields_);
  73878. std::swap(_cached_size_, other->_cached_size_);
  73879. }
  73880. }
  73881. ::google::protobuf::Metadata packetw2c_summer_plan_sendgold_info_result::GetMetadata() const {
  73882. protobuf_AssignDescriptorsOnce();
  73883. ::google::protobuf::Metadata metadata;
  73884. metadata.descriptor = packetw2c_summer_plan_sendgold_info_result_descriptor_;
  73885. metadata.reflection = packetw2c_summer_plan_sendgold_info_result_reflection_;
  73886. return metadata;
  73887. }
  73888. // ===================================================================
  73889. #ifndef _MSC_VER
  73890. const int packetc2w_summer_plan_active::kPacketIdFieldNumber;
  73891. #endif // !_MSC_VER
  73892. packetc2w_summer_plan_active::packetc2w_summer_plan_active()
  73893. : ::google::protobuf::Message() {
  73894. SharedCtor();
  73895. }
  73896. void packetc2w_summer_plan_active::InitAsDefaultInstance() {
  73897. }
  73898. packetc2w_summer_plan_active::packetc2w_summer_plan_active(const packetc2w_summer_plan_active& from)
  73899. : ::google::protobuf::Message() {
  73900. SharedCtor();
  73901. MergeFrom(from);
  73902. }
  73903. void packetc2w_summer_plan_active::SharedCtor() {
  73904. _cached_size_ = 0;
  73905. packet_id_ = 5264;
  73906. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73907. }
  73908. packetc2w_summer_plan_active::~packetc2w_summer_plan_active() {
  73909. SharedDtor();
  73910. }
  73911. void packetc2w_summer_plan_active::SharedDtor() {
  73912. if (this != default_instance_) {
  73913. }
  73914. }
  73915. void packetc2w_summer_plan_active::SetCachedSize(int size) const {
  73916. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  73917. _cached_size_ = size;
  73918. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  73919. }
  73920. const ::google::protobuf::Descriptor* packetc2w_summer_plan_active::descriptor() {
  73921. protobuf_AssignDescriptorsOnce();
  73922. return packetc2w_summer_plan_active_descriptor_;
  73923. }
  73924. const packetc2w_summer_plan_active& packetc2w_summer_plan_active::default_instance() {
  73925. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  73926. return *default_instance_;
  73927. }
  73928. packetc2w_summer_plan_active* packetc2w_summer_plan_active::default_instance_ = NULL;
  73929. packetc2w_summer_plan_active* packetc2w_summer_plan_active::New() const {
  73930. return new packetc2w_summer_plan_active;
  73931. }
  73932. void packetc2w_summer_plan_active::Clear() {
  73933. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  73934. packet_id_ = 5264;
  73935. }
  73936. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  73937. mutable_unknown_fields()->Clear();
  73938. }
  73939. bool packetc2w_summer_plan_active::MergePartialFromCodedStream(
  73940. ::google::protobuf::io::CodedInputStream* input) {
  73941. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  73942. ::google::protobuf::uint32 tag;
  73943. while ((tag = input->ReadTag()) != 0) {
  73944. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  73945. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_active];
  73946. case 1: {
  73947. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73948. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  73949. int value;
  73950. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  73951. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  73952. input, &value)));
  73953. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  73954. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  73955. } else {
  73956. mutable_unknown_fields()->AddVarint(1, value);
  73957. }
  73958. } else {
  73959. goto handle_uninterpreted;
  73960. }
  73961. if (input->ExpectAtEnd()) return true;
  73962. break;
  73963. }
  73964. default: {
  73965. handle_uninterpreted:
  73966. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  73967. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  73968. return true;
  73969. }
  73970. DO_(::google::protobuf::internal::WireFormat::SkipField(
  73971. input, tag, mutable_unknown_fields()));
  73972. break;
  73973. }
  73974. }
  73975. }
  73976. return true;
  73977. #undef DO_
  73978. }
  73979. void packetc2w_summer_plan_active::SerializeWithCachedSizes(
  73980. ::google::protobuf::io::CodedOutputStream* output) const {
  73981. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_active];
  73982. if (has_packet_id()) {
  73983. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  73984. 1, this->packet_id(), output);
  73985. }
  73986. if (!unknown_fields().empty()) {
  73987. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  73988. unknown_fields(), output);
  73989. }
  73990. }
  73991. ::google::protobuf::uint8* packetc2w_summer_plan_active::SerializeWithCachedSizesToArray(
  73992. ::google::protobuf::uint8* target) const {
  73993. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_active];
  73994. if (has_packet_id()) {
  73995. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  73996. 1, this->packet_id(), target);
  73997. }
  73998. if (!unknown_fields().empty()) {
  73999. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  74000. unknown_fields(), target);
  74001. }
  74002. return target;
  74003. }
  74004. int packetc2w_summer_plan_active::ByteSize() const {
  74005. int total_size = 0;
  74006. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74007. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_active];
  74008. if (has_packet_id()) {
  74009. total_size += 1 +
  74010. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  74011. }
  74012. }
  74013. if (!unknown_fields().empty()) {
  74014. total_size +=
  74015. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  74016. unknown_fields());
  74017. }
  74018. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74019. _cached_size_ = total_size;
  74020. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74021. return total_size;
  74022. }
  74023. void packetc2w_summer_plan_active::MergeFrom(const ::google::protobuf::Message& from) {
  74024. GOOGLE_CHECK_NE(&from, this);
  74025. const packetc2w_summer_plan_active* source =
  74026. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_active*>(
  74027. &from);
  74028. if (source == NULL) {
  74029. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  74030. } else {
  74031. MergeFrom(*source);
  74032. }
  74033. }
  74034. void packetc2w_summer_plan_active::MergeFrom(const packetc2w_summer_plan_active& from) {
  74035. GOOGLE_CHECK_NE(&from, this);
  74036. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74037. if (from.has_packet_id()) {
  74038. set_packet_id(from.packet_id());
  74039. }
  74040. }
  74041. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  74042. }
  74043. void packetc2w_summer_plan_active::CopyFrom(const ::google::protobuf::Message& from) {
  74044. if (&from == this) return;
  74045. Clear();
  74046. MergeFrom(from);
  74047. }
  74048. void packetc2w_summer_plan_active::CopyFrom(const packetc2w_summer_plan_active& from) {
  74049. if (&from == this) return;
  74050. Clear();
  74051. MergeFrom(from);
  74052. }
  74053. bool packetc2w_summer_plan_active::IsInitialized() const {
  74054. return true;
  74055. }
  74056. void packetc2w_summer_plan_active::Swap(packetc2w_summer_plan_active* other) {
  74057. if (other != this) {
  74058. std::swap(packet_id_, other->packet_id_);
  74059. std::swap(_has_bits_[0], other->_has_bits_[0]);
  74060. _unknown_fields_.Swap(&other->_unknown_fields_);
  74061. std::swap(_cached_size_, other->_cached_size_);
  74062. }
  74063. }
  74064. ::google::protobuf::Metadata packetc2w_summer_plan_active::GetMetadata() const {
  74065. protobuf_AssignDescriptorsOnce();
  74066. ::google::protobuf::Metadata metadata;
  74067. metadata.descriptor = packetc2w_summer_plan_active_descriptor_;
  74068. metadata.reflection = packetc2w_summer_plan_active_reflection_;
  74069. return metadata;
  74070. }
  74071. // ===================================================================
  74072. #ifndef _MSC_VER
  74073. const int packetw2c_summer_plan_active_result::kPacketIdFieldNumber;
  74074. const int packetw2c_summer_plan_active_result::kResultFieldNumber;
  74075. #endif // !_MSC_VER
  74076. packetw2c_summer_plan_active_result::packetw2c_summer_plan_active_result()
  74077. : ::google::protobuf::Message() {
  74078. SharedCtor();
  74079. }
  74080. void packetw2c_summer_plan_active_result::InitAsDefaultInstance() {
  74081. }
  74082. packetw2c_summer_plan_active_result::packetw2c_summer_plan_active_result(const packetw2c_summer_plan_active_result& from)
  74083. : ::google::protobuf::Message() {
  74084. SharedCtor();
  74085. MergeFrom(from);
  74086. }
  74087. void packetw2c_summer_plan_active_result::SharedCtor() {
  74088. _cached_size_ = 0;
  74089. packet_id_ = 7814;
  74090. result_ = 0;
  74091. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  74092. }
  74093. packetw2c_summer_plan_active_result::~packetw2c_summer_plan_active_result() {
  74094. SharedDtor();
  74095. }
  74096. void packetw2c_summer_plan_active_result::SharedDtor() {
  74097. if (this != default_instance_) {
  74098. }
  74099. }
  74100. void packetw2c_summer_plan_active_result::SetCachedSize(int size) const {
  74101. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74102. _cached_size_ = size;
  74103. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74104. }
  74105. const ::google::protobuf::Descriptor* packetw2c_summer_plan_active_result::descriptor() {
  74106. protobuf_AssignDescriptorsOnce();
  74107. return packetw2c_summer_plan_active_result_descriptor_;
  74108. }
  74109. const packetw2c_summer_plan_active_result& packetw2c_summer_plan_active_result::default_instance() {
  74110. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  74111. return *default_instance_;
  74112. }
  74113. packetw2c_summer_plan_active_result* packetw2c_summer_plan_active_result::default_instance_ = NULL;
  74114. packetw2c_summer_plan_active_result* packetw2c_summer_plan_active_result::New() const {
  74115. return new packetw2c_summer_plan_active_result;
  74116. }
  74117. void packetw2c_summer_plan_active_result::Clear() {
  74118. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74119. packet_id_ = 7814;
  74120. result_ = 0;
  74121. }
  74122. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  74123. mutable_unknown_fields()->Clear();
  74124. }
  74125. bool packetw2c_summer_plan_active_result::MergePartialFromCodedStream(
  74126. ::google::protobuf::io::CodedInputStream* input) {
  74127. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  74128. ::google::protobuf::uint32 tag;
  74129. while ((tag = input->ReadTag()) != 0) {
  74130. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  74131. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_active_result];
  74132. case 1: {
  74133. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74134. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74135. int value;
  74136. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74137. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  74138. input, &value)));
  74139. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  74140. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  74141. } else {
  74142. mutable_unknown_fields()->AddVarint(1, value);
  74143. }
  74144. } else {
  74145. goto handle_uninterpreted;
  74146. }
  74147. if (input->ExpectTag(16)) goto parse_result;
  74148. break;
  74149. }
  74150. // optional int32 result = 2;
  74151. case 2: {
  74152. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74153. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74154. parse_result:
  74155. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74156. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  74157. input, &result_)));
  74158. set_has_result();
  74159. } else {
  74160. goto handle_uninterpreted;
  74161. }
  74162. if (input->ExpectAtEnd()) return true;
  74163. break;
  74164. }
  74165. default: {
  74166. handle_uninterpreted:
  74167. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74168. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  74169. return true;
  74170. }
  74171. DO_(::google::protobuf::internal::WireFormat::SkipField(
  74172. input, tag, mutable_unknown_fields()));
  74173. break;
  74174. }
  74175. }
  74176. }
  74177. return true;
  74178. #undef DO_
  74179. }
  74180. void packetw2c_summer_plan_active_result::SerializeWithCachedSizes(
  74181. ::google::protobuf::io::CodedOutputStream* output) const {
  74182. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_active_result];
  74183. if (has_packet_id()) {
  74184. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  74185. 1, this->packet_id(), output);
  74186. }
  74187. // optional int32 result = 2;
  74188. if (has_result()) {
  74189. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  74190. }
  74191. if (!unknown_fields().empty()) {
  74192. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  74193. unknown_fields(), output);
  74194. }
  74195. }
  74196. ::google::protobuf::uint8* packetw2c_summer_plan_active_result::SerializeWithCachedSizesToArray(
  74197. ::google::protobuf::uint8* target) const {
  74198. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_active_result];
  74199. if (has_packet_id()) {
  74200. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  74201. 1, this->packet_id(), target);
  74202. }
  74203. // optional int32 result = 2;
  74204. if (has_result()) {
  74205. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  74206. }
  74207. if (!unknown_fields().empty()) {
  74208. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  74209. unknown_fields(), target);
  74210. }
  74211. return target;
  74212. }
  74213. int packetw2c_summer_plan_active_result::ByteSize() const {
  74214. int total_size = 0;
  74215. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74216. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_active_result];
  74217. if (has_packet_id()) {
  74218. total_size += 1 +
  74219. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  74220. }
  74221. // optional int32 result = 2;
  74222. if (has_result()) {
  74223. total_size += 1 +
  74224. ::google::protobuf::internal::WireFormatLite::Int32Size(
  74225. this->result());
  74226. }
  74227. }
  74228. if (!unknown_fields().empty()) {
  74229. total_size +=
  74230. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  74231. unknown_fields());
  74232. }
  74233. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74234. _cached_size_ = total_size;
  74235. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74236. return total_size;
  74237. }
  74238. void packetw2c_summer_plan_active_result::MergeFrom(const ::google::protobuf::Message& from) {
  74239. GOOGLE_CHECK_NE(&from, this);
  74240. const packetw2c_summer_plan_active_result* source =
  74241. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_active_result*>(
  74242. &from);
  74243. if (source == NULL) {
  74244. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  74245. } else {
  74246. MergeFrom(*source);
  74247. }
  74248. }
  74249. void packetw2c_summer_plan_active_result::MergeFrom(const packetw2c_summer_plan_active_result& from) {
  74250. GOOGLE_CHECK_NE(&from, this);
  74251. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74252. if (from.has_packet_id()) {
  74253. set_packet_id(from.packet_id());
  74254. }
  74255. if (from.has_result()) {
  74256. set_result(from.result());
  74257. }
  74258. }
  74259. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  74260. }
  74261. void packetw2c_summer_plan_active_result::CopyFrom(const ::google::protobuf::Message& from) {
  74262. if (&from == this) return;
  74263. Clear();
  74264. MergeFrom(from);
  74265. }
  74266. void packetw2c_summer_plan_active_result::CopyFrom(const packetw2c_summer_plan_active_result& from) {
  74267. if (&from == this) return;
  74268. Clear();
  74269. MergeFrom(from);
  74270. }
  74271. bool packetw2c_summer_plan_active_result::IsInitialized() const {
  74272. return true;
  74273. }
  74274. void packetw2c_summer_plan_active_result::Swap(packetw2c_summer_plan_active_result* other) {
  74275. if (other != this) {
  74276. std::swap(packet_id_, other->packet_id_);
  74277. std::swap(result_, other->result_);
  74278. std::swap(_has_bits_[0], other->_has_bits_[0]);
  74279. _unknown_fields_.Swap(&other->_unknown_fields_);
  74280. std::swap(_cached_size_, other->_cached_size_);
  74281. }
  74282. }
  74283. ::google::protobuf::Metadata packetw2c_summer_plan_active_result::GetMetadata() const {
  74284. protobuf_AssignDescriptorsOnce();
  74285. ::google::protobuf::Metadata metadata;
  74286. metadata.descriptor = packetw2c_summer_plan_active_result_descriptor_;
  74287. metadata.reflection = packetw2c_summer_plan_active_result_reflection_;
  74288. return metadata;
  74289. }
  74290. // ===================================================================
  74291. #ifndef _MSC_VER
  74292. const int packetc2w_summer_plan_recv_redpacket::kPacketIdFieldNumber;
  74293. const int packetc2w_summer_plan_recv_redpacket::kIndexFieldNumber;
  74294. #endif // !_MSC_VER
  74295. packetc2w_summer_plan_recv_redpacket::packetc2w_summer_plan_recv_redpacket()
  74296. : ::google::protobuf::Message() {
  74297. SharedCtor();
  74298. }
  74299. void packetc2w_summer_plan_recv_redpacket::InitAsDefaultInstance() {
  74300. }
  74301. packetc2w_summer_plan_recv_redpacket::packetc2w_summer_plan_recv_redpacket(const packetc2w_summer_plan_recv_redpacket& from)
  74302. : ::google::protobuf::Message() {
  74303. SharedCtor();
  74304. MergeFrom(from);
  74305. }
  74306. void packetc2w_summer_plan_recv_redpacket::SharedCtor() {
  74307. _cached_size_ = 0;
  74308. packet_id_ = 5265;
  74309. index_ = 0;
  74310. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  74311. }
  74312. packetc2w_summer_plan_recv_redpacket::~packetc2w_summer_plan_recv_redpacket() {
  74313. SharedDtor();
  74314. }
  74315. void packetc2w_summer_plan_recv_redpacket::SharedDtor() {
  74316. if (this != default_instance_) {
  74317. }
  74318. }
  74319. void packetc2w_summer_plan_recv_redpacket::SetCachedSize(int size) const {
  74320. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74321. _cached_size_ = size;
  74322. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74323. }
  74324. const ::google::protobuf::Descriptor* packetc2w_summer_plan_recv_redpacket::descriptor() {
  74325. protobuf_AssignDescriptorsOnce();
  74326. return packetc2w_summer_plan_recv_redpacket_descriptor_;
  74327. }
  74328. const packetc2w_summer_plan_recv_redpacket& packetc2w_summer_plan_recv_redpacket::default_instance() {
  74329. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  74330. return *default_instance_;
  74331. }
  74332. packetc2w_summer_plan_recv_redpacket* packetc2w_summer_plan_recv_redpacket::default_instance_ = NULL;
  74333. packetc2w_summer_plan_recv_redpacket* packetc2w_summer_plan_recv_redpacket::New() const {
  74334. return new packetc2w_summer_plan_recv_redpacket;
  74335. }
  74336. void packetc2w_summer_plan_recv_redpacket::Clear() {
  74337. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74338. packet_id_ = 5265;
  74339. index_ = 0;
  74340. }
  74341. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  74342. mutable_unknown_fields()->Clear();
  74343. }
  74344. bool packetc2w_summer_plan_recv_redpacket::MergePartialFromCodedStream(
  74345. ::google::protobuf::io::CodedInputStream* input) {
  74346. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  74347. ::google::protobuf::uint32 tag;
  74348. while ((tag = input->ReadTag()) != 0) {
  74349. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  74350. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_redpacket];
  74351. case 1: {
  74352. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74353. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74354. int value;
  74355. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74356. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  74357. input, &value)));
  74358. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  74359. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  74360. } else {
  74361. mutable_unknown_fields()->AddVarint(1, value);
  74362. }
  74363. } else {
  74364. goto handle_uninterpreted;
  74365. }
  74366. if (input->ExpectTag(16)) goto parse_index;
  74367. break;
  74368. }
  74369. // optional int32 index = 2;
  74370. case 2: {
  74371. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74372. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74373. parse_index:
  74374. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74375. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  74376. input, &index_)));
  74377. set_has_index();
  74378. } else {
  74379. goto handle_uninterpreted;
  74380. }
  74381. if (input->ExpectAtEnd()) return true;
  74382. break;
  74383. }
  74384. default: {
  74385. handle_uninterpreted:
  74386. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74387. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  74388. return true;
  74389. }
  74390. DO_(::google::protobuf::internal::WireFormat::SkipField(
  74391. input, tag, mutable_unknown_fields()));
  74392. break;
  74393. }
  74394. }
  74395. }
  74396. return true;
  74397. #undef DO_
  74398. }
  74399. void packetc2w_summer_plan_recv_redpacket::SerializeWithCachedSizes(
  74400. ::google::protobuf::io::CodedOutputStream* output) const {
  74401. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_redpacket];
  74402. if (has_packet_id()) {
  74403. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  74404. 1, this->packet_id(), output);
  74405. }
  74406. // optional int32 index = 2;
  74407. if (has_index()) {
  74408. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  74409. }
  74410. if (!unknown_fields().empty()) {
  74411. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  74412. unknown_fields(), output);
  74413. }
  74414. }
  74415. ::google::protobuf::uint8* packetc2w_summer_plan_recv_redpacket::SerializeWithCachedSizesToArray(
  74416. ::google::protobuf::uint8* target) const {
  74417. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_redpacket];
  74418. if (has_packet_id()) {
  74419. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  74420. 1, this->packet_id(), target);
  74421. }
  74422. // optional int32 index = 2;
  74423. if (has_index()) {
  74424. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  74425. }
  74426. if (!unknown_fields().empty()) {
  74427. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  74428. unknown_fields(), target);
  74429. }
  74430. return target;
  74431. }
  74432. int packetc2w_summer_plan_recv_redpacket::ByteSize() const {
  74433. int total_size = 0;
  74434. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74435. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_redpacket];
  74436. if (has_packet_id()) {
  74437. total_size += 1 +
  74438. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  74439. }
  74440. // optional int32 index = 2;
  74441. if (has_index()) {
  74442. total_size += 1 +
  74443. ::google::protobuf::internal::WireFormatLite::Int32Size(
  74444. this->index());
  74445. }
  74446. }
  74447. if (!unknown_fields().empty()) {
  74448. total_size +=
  74449. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  74450. unknown_fields());
  74451. }
  74452. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74453. _cached_size_ = total_size;
  74454. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74455. return total_size;
  74456. }
  74457. void packetc2w_summer_plan_recv_redpacket::MergeFrom(const ::google::protobuf::Message& from) {
  74458. GOOGLE_CHECK_NE(&from, this);
  74459. const packetc2w_summer_plan_recv_redpacket* source =
  74460. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_recv_redpacket*>(
  74461. &from);
  74462. if (source == NULL) {
  74463. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  74464. } else {
  74465. MergeFrom(*source);
  74466. }
  74467. }
  74468. void packetc2w_summer_plan_recv_redpacket::MergeFrom(const packetc2w_summer_plan_recv_redpacket& from) {
  74469. GOOGLE_CHECK_NE(&from, this);
  74470. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74471. if (from.has_packet_id()) {
  74472. set_packet_id(from.packet_id());
  74473. }
  74474. if (from.has_index()) {
  74475. set_index(from.index());
  74476. }
  74477. }
  74478. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  74479. }
  74480. void packetc2w_summer_plan_recv_redpacket::CopyFrom(const ::google::protobuf::Message& from) {
  74481. if (&from == this) return;
  74482. Clear();
  74483. MergeFrom(from);
  74484. }
  74485. void packetc2w_summer_plan_recv_redpacket::CopyFrom(const packetc2w_summer_plan_recv_redpacket& from) {
  74486. if (&from == this) return;
  74487. Clear();
  74488. MergeFrom(from);
  74489. }
  74490. bool packetc2w_summer_plan_recv_redpacket::IsInitialized() const {
  74491. return true;
  74492. }
  74493. void packetc2w_summer_plan_recv_redpacket::Swap(packetc2w_summer_plan_recv_redpacket* other) {
  74494. if (other != this) {
  74495. std::swap(packet_id_, other->packet_id_);
  74496. std::swap(index_, other->index_);
  74497. std::swap(_has_bits_[0], other->_has_bits_[0]);
  74498. _unknown_fields_.Swap(&other->_unknown_fields_);
  74499. std::swap(_cached_size_, other->_cached_size_);
  74500. }
  74501. }
  74502. ::google::protobuf::Metadata packetc2w_summer_plan_recv_redpacket::GetMetadata() const {
  74503. protobuf_AssignDescriptorsOnce();
  74504. ::google::protobuf::Metadata metadata;
  74505. metadata.descriptor = packetc2w_summer_plan_recv_redpacket_descriptor_;
  74506. metadata.reflection = packetc2w_summer_plan_recv_redpacket_reflection_;
  74507. return metadata;
  74508. }
  74509. // ===================================================================
  74510. #ifndef _MSC_VER
  74511. const int packetw2c_summer_plan_recv_redpacket_result::kPacketIdFieldNumber;
  74512. const int packetw2c_summer_plan_recv_redpacket_result::kResultFieldNumber;
  74513. const int packetw2c_summer_plan_recv_redpacket_result::kIndexFieldNumber;
  74514. const int packetw2c_summer_plan_recv_redpacket_result::kItemsFieldNumber;
  74515. #endif // !_MSC_VER
  74516. packetw2c_summer_plan_recv_redpacket_result::packetw2c_summer_plan_recv_redpacket_result()
  74517. : ::google::protobuf::Message() {
  74518. SharedCtor();
  74519. }
  74520. void packetw2c_summer_plan_recv_redpacket_result::InitAsDefaultInstance() {
  74521. }
  74522. packetw2c_summer_plan_recv_redpacket_result::packetw2c_summer_plan_recv_redpacket_result(const packetw2c_summer_plan_recv_redpacket_result& from)
  74523. : ::google::protobuf::Message() {
  74524. SharedCtor();
  74525. MergeFrom(from);
  74526. }
  74527. void packetw2c_summer_plan_recv_redpacket_result::SharedCtor() {
  74528. _cached_size_ = 0;
  74529. packet_id_ = 7815;
  74530. result_ = 0;
  74531. index_ = 0;
  74532. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  74533. }
  74534. packetw2c_summer_plan_recv_redpacket_result::~packetw2c_summer_plan_recv_redpacket_result() {
  74535. SharedDtor();
  74536. }
  74537. void packetw2c_summer_plan_recv_redpacket_result::SharedDtor() {
  74538. if (this != default_instance_) {
  74539. }
  74540. }
  74541. void packetw2c_summer_plan_recv_redpacket_result::SetCachedSize(int size) const {
  74542. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74543. _cached_size_ = size;
  74544. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74545. }
  74546. const ::google::protobuf::Descriptor* packetw2c_summer_plan_recv_redpacket_result::descriptor() {
  74547. protobuf_AssignDescriptorsOnce();
  74548. return packetw2c_summer_plan_recv_redpacket_result_descriptor_;
  74549. }
  74550. const packetw2c_summer_plan_recv_redpacket_result& packetw2c_summer_plan_recv_redpacket_result::default_instance() {
  74551. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  74552. return *default_instance_;
  74553. }
  74554. packetw2c_summer_plan_recv_redpacket_result* packetw2c_summer_plan_recv_redpacket_result::default_instance_ = NULL;
  74555. packetw2c_summer_plan_recv_redpacket_result* packetw2c_summer_plan_recv_redpacket_result::New() const {
  74556. return new packetw2c_summer_plan_recv_redpacket_result;
  74557. }
  74558. void packetw2c_summer_plan_recv_redpacket_result::Clear() {
  74559. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74560. packet_id_ = 7815;
  74561. result_ = 0;
  74562. index_ = 0;
  74563. }
  74564. items_.Clear();
  74565. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  74566. mutable_unknown_fields()->Clear();
  74567. }
  74568. bool packetw2c_summer_plan_recv_redpacket_result::MergePartialFromCodedStream(
  74569. ::google::protobuf::io::CodedInputStream* input) {
  74570. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  74571. ::google::protobuf::uint32 tag;
  74572. while ((tag = input->ReadTag()) != 0) {
  74573. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  74574. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_redpacket_result];
  74575. case 1: {
  74576. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74577. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74578. int value;
  74579. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74580. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  74581. input, &value)));
  74582. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  74583. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  74584. } else {
  74585. mutable_unknown_fields()->AddVarint(1, value);
  74586. }
  74587. } else {
  74588. goto handle_uninterpreted;
  74589. }
  74590. if (input->ExpectTag(16)) goto parse_result;
  74591. break;
  74592. }
  74593. // optional int32 result = 2;
  74594. case 2: {
  74595. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74596. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74597. parse_result:
  74598. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74599. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  74600. input, &result_)));
  74601. set_has_result();
  74602. } else {
  74603. goto handle_uninterpreted;
  74604. }
  74605. if (input->ExpectTag(24)) goto parse_index;
  74606. break;
  74607. }
  74608. // optional int32 index = 3;
  74609. case 3: {
  74610. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74611. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74612. parse_index:
  74613. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74614. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  74615. input, &index_)));
  74616. set_has_index();
  74617. } else {
  74618. goto handle_uninterpreted;
  74619. }
  74620. if (input->ExpectTag(34)) goto parse_items;
  74621. break;
  74622. }
  74623. // repeated .msg_info_def.ItemInfo items = 4;
  74624. case 4: {
  74625. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74626. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  74627. parse_items:
  74628. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  74629. input, add_items()));
  74630. } else {
  74631. goto handle_uninterpreted;
  74632. }
  74633. if (input->ExpectTag(34)) goto parse_items;
  74634. if (input->ExpectAtEnd()) return true;
  74635. break;
  74636. }
  74637. default: {
  74638. handle_uninterpreted:
  74639. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74640. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  74641. return true;
  74642. }
  74643. DO_(::google::protobuf::internal::WireFormat::SkipField(
  74644. input, tag, mutable_unknown_fields()));
  74645. break;
  74646. }
  74647. }
  74648. }
  74649. return true;
  74650. #undef DO_
  74651. }
  74652. void packetw2c_summer_plan_recv_redpacket_result::SerializeWithCachedSizes(
  74653. ::google::protobuf::io::CodedOutputStream* output) const {
  74654. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_redpacket_result];
  74655. if (has_packet_id()) {
  74656. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  74657. 1, this->packet_id(), output);
  74658. }
  74659. // optional int32 result = 2;
  74660. if (has_result()) {
  74661. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  74662. }
  74663. // optional int32 index = 3;
  74664. if (has_index()) {
  74665. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  74666. }
  74667. // repeated .msg_info_def.ItemInfo items = 4;
  74668. for (int i = 0; i < this->items_size(); i++) {
  74669. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  74670. 4, this->items(i), output);
  74671. }
  74672. if (!unknown_fields().empty()) {
  74673. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  74674. unknown_fields(), output);
  74675. }
  74676. }
  74677. ::google::protobuf::uint8* packetw2c_summer_plan_recv_redpacket_result::SerializeWithCachedSizesToArray(
  74678. ::google::protobuf::uint8* target) const {
  74679. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_redpacket_result];
  74680. if (has_packet_id()) {
  74681. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  74682. 1, this->packet_id(), target);
  74683. }
  74684. // optional int32 result = 2;
  74685. if (has_result()) {
  74686. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  74687. }
  74688. // optional int32 index = 3;
  74689. if (has_index()) {
  74690. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  74691. }
  74692. // repeated .msg_info_def.ItemInfo items = 4;
  74693. for (int i = 0; i < this->items_size(); i++) {
  74694. target = ::google::protobuf::internal::WireFormatLite::
  74695. WriteMessageNoVirtualToArray(
  74696. 4, this->items(i), target);
  74697. }
  74698. if (!unknown_fields().empty()) {
  74699. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  74700. unknown_fields(), target);
  74701. }
  74702. return target;
  74703. }
  74704. int packetw2c_summer_plan_recv_redpacket_result::ByteSize() const {
  74705. int total_size = 0;
  74706. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74707. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_redpacket_result];
  74708. if (has_packet_id()) {
  74709. total_size += 1 +
  74710. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  74711. }
  74712. // optional int32 result = 2;
  74713. if (has_result()) {
  74714. total_size += 1 +
  74715. ::google::protobuf::internal::WireFormatLite::Int32Size(
  74716. this->result());
  74717. }
  74718. // optional int32 index = 3;
  74719. if (has_index()) {
  74720. total_size += 1 +
  74721. ::google::protobuf::internal::WireFormatLite::Int32Size(
  74722. this->index());
  74723. }
  74724. }
  74725. // repeated .msg_info_def.ItemInfo items = 4;
  74726. total_size += 1 * this->items_size();
  74727. for (int i = 0; i < this->items_size(); i++) {
  74728. total_size +=
  74729. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  74730. this->items(i));
  74731. }
  74732. if (!unknown_fields().empty()) {
  74733. total_size +=
  74734. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  74735. unknown_fields());
  74736. }
  74737. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74738. _cached_size_ = total_size;
  74739. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74740. return total_size;
  74741. }
  74742. void packetw2c_summer_plan_recv_redpacket_result::MergeFrom(const ::google::protobuf::Message& from) {
  74743. GOOGLE_CHECK_NE(&from, this);
  74744. const packetw2c_summer_plan_recv_redpacket_result* source =
  74745. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_recv_redpacket_result*>(
  74746. &from);
  74747. if (source == NULL) {
  74748. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  74749. } else {
  74750. MergeFrom(*source);
  74751. }
  74752. }
  74753. void packetw2c_summer_plan_recv_redpacket_result::MergeFrom(const packetw2c_summer_plan_recv_redpacket_result& from) {
  74754. GOOGLE_CHECK_NE(&from, this);
  74755. items_.MergeFrom(from.items_);
  74756. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74757. if (from.has_packet_id()) {
  74758. set_packet_id(from.packet_id());
  74759. }
  74760. if (from.has_result()) {
  74761. set_result(from.result());
  74762. }
  74763. if (from.has_index()) {
  74764. set_index(from.index());
  74765. }
  74766. }
  74767. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  74768. }
  74769. void packetw2c_summer_plan_recv_redpacket_result::CopyFrom(const ::google::protobuf::Message& from) {
  74770. if (&from == this) return;
  74771. Clear();
  74772. MergeFrom(from);
  74773. }
  74774. void packetw2c_summer_plan_recv_redpacket_result::CopyFrom(const packetw2c_summer_plan_recv_redpacket_result& from) {
  74775. if (&from == this) return;
  74776. Clear();
  74777. MergeFrom(from);
  74778. }
  74779. bool packetw2c_summer_plan_recv_redpacket_result::IsInitialized() const {
  74780. return true;
  74781. }
  74782. void packetw2c_summer_plan_recv_redpacket_result::Swap(packetw2c_summer_plan_recv_redpacket_result* other) {
  74783. if (other != this) {
  74784. std::swap(packet_id_, other->packet_id_);
  74785. std::swap(result_, other->result_);
  74786. std::swap(index_, other->index_);
  74787. items_.Swap(&other->items_);
  74788. std::swap(_has_bits_[0], other->_has_bits_[0]);
  74789. _unknown_fields_.Swap(&other->_unknown_fields_);
  74790. std::swap(_cached_size_, other->_cached_size_);
  74791. }
  74792. }
  74793. ::google::protobuf::Metadata packetw2c_summer_plan_recv_redpacket_result::GetMetadata() const {
  74794. protobuf_AssignDescriptorsOnce();
  74795. ::google::protobuf::Metadata metadata;
  74796. metadata.descriptor = packetw2c_summer_plan_recv_redpacket_result_descriptor_;
  74797. metadata.reflection = packetw2c_summer_plan_recv_redpacket_result_reflection_;
  74798. return metadata;
  74799. }
  74800. // ===================================================================
  74801. #ifndef _MSC_VER
  74802. const int packetc2w_summer_plan_recv_recharged::kPacketIdFieldNumber;
  74803. const int packetc2w_summer_plan_recv_recharged::kIndexFieldNumber;
  74804. #endif // !_MSC_VER
  74805. packetc2w_summer_plan_recv_recharged::packetc2w_summer_plan_recv_recharged()
  74806. : ::google::protobuf::Message() {
  74807. SharedCtor();
  74808. }
  74809. void packetc2w_summer_plan_recv_recharged::InitAsDefaultInstance() {
  74810. }
  74811. packetc2w_summer_plan_recv_recharged::packetc2w_summer_plan_recv_recharged(const packetc2w_summer_plan_recv_recharged& from)
  74812. : ::google::protobuf::Message() {
  74813. SharedCtor();
  74814. MergeFrom(from);
  74815. }
  74816. void packetc2w_summer_plan_recv_recharged::SharedCtor() {
  74817. _cached_size_ = 0;
  74818. packet_id_ = 5266;
  74819. index_ = 0;
  74820. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  74821. }
  74822. packetc2w_summer_plan_recv_recharged::~packetc2w_summer_plan_recv_recharged() {
  74823. SharedDtor();
  74824. }
  74825. void packetc2w_summer_plan_recv_recharged::SharedDtor() {
  74826. if (this != default_instance_) {
  74827. }
  74828. }
  74829. void packetc2w_summer_plan_recv_recharged::SetCachedSize(int size) const {
  74830. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74831. _cached_size_ = size;
  74832. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74833. }
  74834. const ::google::protobuf::Descriptor* packetc2w_summer_plan_recv_recharged::descriptor() {
  74835. protobuf_AssignDescriptorsOnce();
  74836. return packetc2w_summer_plan_recv_recharged_descriptor_;
  74837. }
  74838. const packetc2w_summer_plan_recv_recharged& packetc2w_summer_plan_recv_recharged::default_instance() {
  74839. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  74840. return *default_instance_;
  74841. }
  74842. packetc2w_summer_plan_recv_recharged* packetc2w_summer_plan_recv_recharged::default_instance_ = NULL;
  74843. packetc2w_summer_plan_recv_recharged* packetc2w_summer_plan_recv_recharged::New() const {
  74844. return new packetc2w_summer_plan_recv_recharged;
  74845. }
  74846. void packetc2w_summer_plan_recv_recharged::Clear() {
  74847. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74848. packet_id_ = 5266;
  74849. index_ = 0;
  74850. }
  74851. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  74852. mutable_unknown_fields()->Clear();
  74853. }
  74854. bool packetc2w_summer_plan_recv_recharged::MergePartialFromCodedStream(
  74855. ::google::protobuf::io::CodedInputStream* input) {
  74856. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  74857. ::google::protobuf::uint32 tag;
  74858. while ((tag = input->ReadTag()) != 0) {
  74859. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  74860. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_recharged];
  74861. case 1: {
  74862. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74863. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74864. int value;
  74865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74866. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  74867. input, &value)));
  74868. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  74869. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  74870. } else {
  74871. mutable_unknown_fields()->AddVarint(1, value);
  74872. }
  74873. } else {
  74874. goto handle_uninterpreted;
  74875. }
  74876. if (input->ExpectTag(16)) goto parse_index;
  74877. break;
  74878. }
  74879. // optional int32 index = 2;
  74880. case 2: {
  74881. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74882. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  74883. parse_index:
  74884. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  74885. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  74886. input, &index_)));
  74887. set_has_index();
  74888. } else {
  74889. goto handle_uninterpreted;
  74890. }
  74891. if (input->ExpectAtEnd()) return true;
  74892. break;
  74893. }
  74894. default: {
  74895. handle_uninterpreted:
  74896. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  74897. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  74898. return true;
  74899. }
  74900. DO_(::google::protobuf::internal::WireFormat::SkipField(
  74901. input, tag, mutable_unknown_fields()));
  74902. break;
  74903. }
  74904. }
  74905. }
  74906. return true;
  74907. #undef DO_
  74908. }
  74909. void packetc2w_summer_plan_recv_recharged::SerializeWithCachedSizes(
  74910. ::google::protobuf::io::CodedOutputStream* output) const {
  74911. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_recharged];
  74912. if (has_packet_id()) {
  74913. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  74914. 1, this->packet_id(), output);
  74915. }
  74916. // optional int32 index = 2;
  74917. if (has_index()) {
  74918. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  74919. }
  74920. if (!unknown_fields().empty()) {
  74921. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  74922. unknown_fields(), output);
  74923. }
  74924. }
  74925. ::google::protobuf::uint8* packetc2w_summer_plan_recv_recharged::SerializeWithCachedSizesToArray(
  74926. ::google::protobuf::uint8* target) const {
  74927. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_recharged];
  74928. if (has_packet_id()) {
  74929. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  74930. 1, this->packet_id(), target);
  74931. }
  74932. // optional int32 index = 2;
  74933. if (has_index()) {
  74934. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  74935. }
  74936. if (!unknown_fields().empty()) {
  74937. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  74938. unknown_fields(), target);
  74939. }
  74940. return target;
  74941. }
  74942. int packetc2w_summer_plan_recv_recharged::ByteSize() const {
  74943. int total_size = 0;
  74944. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74945. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_recharged];
  74946. if (has_packet_id()) {
  74947. total_size += 1 +
  74948. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  74949. }
  74950. // optional int32 index = 2;
  74951. if (has_index()) {
  74952. total_size += 1 +
  74953. ::google::protobuf::internal::WireFormatLite::Int32Size(
  74954. this->index());
  74955. }
  74956. }
  74957. if (!unknown_fields().empty()) {
  74958. total_size +=
  74959. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  74960. unknown_fields());
  74961. }
  74962. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  74963. _cached_size_ = total_size;
  74964. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  74965. return total_size;
  74966. }
  74967. void packetc2w_summer_plan_recv_recharged::MergeFrom(const ::google::protobuf::Message& from) {
  74968. GOOGLE_CHECK_NE(&from, this);
  74969. const packetc2w_summer_plan_recv_recharged* source =
  74970. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_recv_recharged*>(
  74971. &from);
  74972. if (source == NULL) {
  74973. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  74974. } else {
  74975. MergeFrom(*source);
  74976. }
  74977. }
  74978. void packetc2w_summer_plan_recv_recharged::MergeFrom(const packetc2w_summer_plan_recv_recharged& from) {
  74979. GOOGLE_CHECK_NE(&from, this);
  74980. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  74981. if (from.has_packet_id()) {
  74982. set_packet_id(from.packet_id());
  74983. }
  74984. if (from.has_index()) {
  74985. set_index(from.index());
  74986. }
  74987. }
  74988. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  74989. }
  74990. void packetc2w_summer_plan_recv_recharged::CopyFrom(const ::google::protobuf::Message& from) {
  74991. if (&from == this) return;
  74992. Clear();
  74993. MergeFrom(from);
  74994. }
  74995. void packetc2w_summer_plan_recv_recharged::CopyFrom(const packetc2w_summer_plan_recv_recharged& from) {
  74996. if (&from == this) return;
  74997. Clear();
  74998. MergeFrom(from);
  74999. }
  75000. bool packetc2w_summer_plan_recv_recharged::IsInitialized() const {
  75001. return true;
  75002. }
  75003. void packetc2w_summer_plan_recv_recharged::Swap(packetc2w_summer_plan_recv_recharged* other) {
  75004. if (other != this) {
  75005. std::swap(packet_id_, other->packet_id_);
  75006. std::swap(index_, other->index_);
  75007. std::swap(_has_bits_[0], other->_has_bits_[0]);
  75008. _unknown_fields_.Swap(&other->_unknown_fields_);
  75009. std::swap(_cached_size_, other->_cached_size_);
  75010. }
  75011. }
  75012. ::google::protobuf::Metadata packetc2w_summer_plan_recv_recharged::GetMetadata() const {
  75013. protobuf_AssignDescriptorsOnce();
  75014. ::google::protobuf::Metadata metadata;
  75015. metadata.descriptor = packetc2w_summer_plan_recv_recharged_descriptor_;
  75016. metadata.reflection = packetc2w_summer_plan_recv_recharged_reflection_;
  75017. return metadata;
  75018. }
  75019. // ===================================================================
  75020. #ifndef _MSC_VER
  75021. const int packetw2c_summer_plan_recv_recharged_result::kPacketIdFieldNumber;
  75022. const int packetw2c_summer_plan_recv_recharged_result::kResultFieldNumber;
  75023. const int packetw2c_summer_plan_recv_recharged_result::kIndexFieldNumber;
  75024. #endif // !_MSC_VER
  75025. packetw2c_summer_plan_recv_recharged_result::packetw2c_summer_plan_recv_recharged_result()
  75026. : ::google::protobuf::Message() {
  75027. SharedCtor();
  75028. }
  75029. void packetw2c_summer_plan_recv_recharged_result::InitAsDefaultInstance() {
  75030. }
  75031. packetw2c_summer_plan_recv_recharged_result::packetw2c_summer_plan_recv_recharged_result(const packetw2c_summer_plan_recv_recharged_result& from)
  75032. : ::google::protobuf::Message() {
  75033. SharedCtor();
  75034. MergeFrom(from);
  75035. }
  75036. void packetw2c_summer_plan_recv_recharged_result::SharedCtor() {
  75037. _cached_size_ = 0;
  75038. packet_id_ = 7816;
  75039. result_ = 0;
  75040. index_ = 0;
  75041. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75042. }
  75043. packetw2c_summer_plan_recv_recharged_result::~packetw2c_summer_plan_recv_recharged_result() {
  75044. SharedDtor();
  75045. }
  75046. void packetw2c_summer_plan_recv_recharged_result::SharedDtor() {
  75047. if (this != default_instance_) {
  75048. }
  75049. }
  75050. void packetw2c_summer_plan_recv_recharged_result::SetCachedSize(int size) const {
  75051. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  75052. _cached_size_ = size;
  75053. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  75054. }
  75055. const ::google::protobuf::Descriptor* packetw2c_summer_plan_recv_recharged_result::descriptor() {
  75056. protobuf_AssignDescriptorsOnce();
  75057. return packetw2c_summer_plan_recv_recharged_result_descriptor_;
  75058. }
  75059. const packetw2c_summer_plan_recv_recharged_result& packetw2c_summer_plan_recv_recharged_result::default_instance() {
  75060. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  75061. return *default_instance_;
  75062. }
  75063. packetw2c_summer_plan_recv_recharged_result* packetw2c_summer_plan_recv_recharged_result::default_instance_ = NULL;
  75064. packetw2c_summer_plan_recv_recharged_result* packetw2c_summer_plan_recv_recharged_result::New() const {
  75065. return new packetw2c_summer_plan_recv_recharged_result;
  75066. }
  75067. void packetw2c_summer_plan_recv_recharged_result::Clear() {
  75068. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75069. packet_id_ = 7816;
  75070. result_ = 0;
  75071. index_ = 0;
  75072. }
  75073. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75074. mutable_unknown_fields()->Clear();
  75075. }
  75076. bool packetw2c_summer_plan_recv_recharged_result::MergePartialFromCodedStream(
  75077. ::google::protobuf::io::CodedInputStream* input) {
  75078. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  75079. ::google::protobuf::uint32 tag;
  75080. while ((tag = input->ReadTag()) != 0) {
  75081. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  75082. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_recharged_result];
  75083. case 1: {
  75084. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75085. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75086. int value;
  75087. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75088. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  75089. input, &value)));
  75090. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  75091. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  75092. } else {
  75093. mutable_unknown_fields()->AddVarint(1, value);
  75094. }
  75095. } else {
  75096. goto handle_uninterpreted;
  75097. }
  75098. if (input->ExpectTag(16)) goto parse_result;
  75099. break;
  75100. }
  75101. // optional int32 result = 2;
  75102. case 2: {
  75103. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75104. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75105. parse_result:
  75106. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75107. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  75108. input, &result_)));
  75109. set_has_result();
  75110. } else {
  75111. goto handle_uninterpreted;
  75112. }
  75113. if (input->ExpectTag(24)) goto parse_index;
  75114. break;
  75115. }
  75116. // optional int32 index = 3;
  75117. case 3: {
  75118. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75119. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75120. parse_index:
  75121. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75122. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  75123. input, &index_)));
  75124. set_has_index();
  75125. } else {
  75126. goto handle_uninterpreted;
  75127. }
  75128. if (input->ExpectAtEnd()) return true;
  75129. break;
  75130. }
  75131. default: {
  75132. handle_uninterpreted:
  75133. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75134. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  75135. return true;
  75136. }
  75137. DO_(::google::protobuf::internal::WireFormat::SkipField(
  75138. input, tag, mutable_unknown_fields()));
  75139. break;
  75140. }
  75141. }
  75142. }
  75143. return true;
  75144. #undef DO_
  75145. }
  75146. void packetw2c_summer_plan_recv_recharged_result::SerializeWithCachedSizes(
  75147. ::google::protobuf::io::CodedOutputStream* output) const {
  75148. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_recharged_result];
  75149. if (has_packet_id()) {
  75150. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  75151. 1, this->packet_id(), output);
  75152. }
  75153. // optional int32 result = 2;
  75154. if (has_result()) {
  75155. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  75156. }
  75157. // optional int32 index = 3;
  75158. if (has_index()) {
  75159. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  75160. }
  75161. if (!unknown_fields().empty()) {
  75162. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  75163. unknown_fields(), output);
  75164. }
  75165. }
  75166. ::google::protobuf::uint8* packetw2c_summer_plan_recv_recharged_result::SerializeWithCachedSizesToArray(
  75167. ::google::protobuf::uint8* target) const {
  75168. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_recharged_result];
  75169. if (has_packet_id()) {
  75170. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  75171. 1, this->packet_id(), target);
  75172. }
  75173. // optional int32 result = 2;
  75174. if (has_result()) {
  75175. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  75176. }
  75177. // optional int32 index = 3;
  75178. if (has_index()) {
  75179. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  75180. }
  75181. if (!unknown_fields().empty()) {
  75182. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  75183. unknown_fields(), target);
  75184. }
  75185. return target;
  75186. }
  75187. int packetw2c_summer_plan_recv_recharged_result::ByteSize() const {
  75188. int total_size = 0;
  75189. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75190. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_recharged_result];
  75191. if (has_packet_id()) {
  75192. total_size += 1 +
  75193. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  75194. }
  75195. // optional int32 result = 2;
  75196. if (has_result()) {
  75197. total_size += 1 +
  75198. ::google::protobuf::internal::WireFormatLite::Int32Size(
  75199. this->result());
  75200. }
  75201. // optional int32 index = 3;
  75202. if (has_index()) {
  75203. total_size += 1 +
  75204. ::google::protobuf::internal::WireFormatLite::Int32Size(
  75205. this->index());
  75206. }
  75207. }
  75208. if (!unknown_fields().empty()) {
  75209. total_size +=
  75210. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  75211. unknown_fields());
  75212. }
  75213. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  75214. _cached_size_ = total_size;
  75215. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  75216. return total_size;
  75217. }
  75218. void packetw2c_summer_plan_recv_recharged_result::MergeFrom(const ::google::protobuf::Message& from) {
  75219. GOOGLE_CHECK_NE(&from, this);
  75220. const packetw2c_summer_plan_recv_recharged_result* source =
  75221. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_recv_recharged_result*>(
  75222. &from);
  75223. if (source == NULL) {
  75224. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  75225. } else {
  75226. MergeFrom(*source);
  75227. }
  75228. }
  75229. void packetw2c_summer_plan_recv_recharged_result::MergeFrom(const packetw2c_summer_plan_recv_recharged_result& from) {
  75230. GOOGLE_CHECK_NE(&from, this);
  75231. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75232. if (from.has_packet_id()) {
  75233. set_packet_id(from.packet_id());
  75234. }
  75235. if (from.has_result()) {
  75236. set_result(from.result());
  75237. }
  75238. if (from.has_index()) {
  75239. set_index(from.index());
  75240. }
  75241. }
  75242. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  75243. }
  75244. void packetw2c_summer_plan_recv_recharged_result::CopyFrom(const ::google::protobuf::Message& from) {
  75245. if (&from == this) return;
  75246. Clear();
  75247. MergeFrom(from);
  75248. }
  75249. void packetw2c_summer_plan_recv_recharged_result::CopyFrom(const packetw2c_summer_plan_recv_recharged_result& from) {
  75250. if (&from == this) return;
  75251. Clear();
  75252. MergeFrom(from);
  75253. }
  75254. bool packetw2c_summer_plan_recv_recharged_result::IsInitialized() const {
  75255. return true;
  75256. }
  75257. void packetw2c_summer_plan_recv_recharged_result::Swap(packetw2c_summer_plan_recv_recharged_result* other) {
  75258. if (other != this) {
  75259. std::swap(packet_id_, other->packet_id_);
  75260. std::swap(result_, other->result_);
  75261. std::swap(index_, other->index_);
  75262. std::swap(_has_bits_[0], other->_has_bits_[0]);
  75263. _unknown_fields_.Swap(&other->_unknown_fields_);
  75264. std::swap(_cached_size_, other->_cached_size_);
  75265. }
  75266. }
  75267. ::google::protobuf::Metadata packetw2c_summer_plan_recv_recharged_result::GetMetadata() const {
  75268. protobuf_AssignDescriptorsOnce();
  75269. ::google::protobuf::Metadata metadata;
  75270. metadata.descriptor = packetw2c_summer_plan_recv_recharged_result_descriptor_;
  75271. metadata.reflection = packetw2c_summer_plan_recv_recharged_result_reflection_;
  75272. return metadata;
  75273. }
  75274. // ===================================================================
  75275. #ifndef _MSC_VER
  75276. const int packetc2w_summer_plan_buy_sendgold_gift::kPacketIdFieldNumber;
  75277. const int packetc2w_summer_plan_buy_sendgold_gift::kGiftIDFieldNumber;
  75278. #endif // !_MSC_VER
  75279. packetc2w_summer_plan_buy_sendgold_gift::packetc2w_summer_plan_buy_sendgold_gift()
  75280. : ::google::protobuf::Message() {
  75281. SharedCtor();
  75282. }
  75283. void packetc2w_summer_plan_buy_sendgold_gift::InitAsDefaultInstance() {
  75284. }
  75285. packetc2w_summer_plan_buy_sendgold_gift::packetc2w_summer_plan_buy_sendgold_gift(const packetc2w_summer_plan_buy_sendgold_gift& from)
  75286. : ::google::protobuf::Message() {
  75287. SharedCtor();
  75288. MergeFrom(from);
  75289. }
  75290. void packetc2w_summer_plan_buy_sendgold_gift::SharedCtor() {
  75291. _cached_size_ = 0;
  75292. packet_id_ = 5270;
  75293. giftid_ = 0;
  75294. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75295. }
  75296. packetc2w_summer_plan_buy_sendgold_gift::~packetc2w_summer_plan_buy_sendgold_gift() {
  75297. SharedDtor();
  75298. }
  75299. void packetc2w_summer_plan_buy_sendgold_gift::SharedDtor() {
  75300. if (this != default_instance_) {
  75301. }
  75302. }
  75303. void packetc2w_summer_plan_buy_sendgold_gift::SetCachedSize(int size) const {
  75304. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  75305. _cached_size_ = size;
  75306. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  75307. }
  75308. const ::google::protobuf::Descriptor* packetc2w_summer_plan_buy_sendgold_gift::descriptor() {
  75309. protobuf_AssignDescriptorsOnce();
  75310. return packetc2w_summer_plan_buy_sendgold_gift_descriptor_;
  75311. }
  75312. const packetc2w_summer_plan_buy_sendgold_gift& packetc2w_summer_plan_buy_sendgold_gift::default_instance() {
  75313. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  75314. return *default_instance_;
  75315. }
  75316. packetc2w_summer_plan_buy_sendgold_gift* packetc2w_summer_plan_buy_sendgold_gift::default_instance_ = NULL;
  75317. packetc2w_summer_plan_buy_sendgold_gift* packetc2w_summer_plan_buy_sendgold_gift::New() const {
  75318. return new packetc2w_summer_plan_buy_sendgold_gift;
  75319. }
  75320. void packetc2w_summer_plan_buy_sendgold_gift::Clear() {
  75321. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75322. packet_id_ = 5270;
  75323. giftid_ = 0;
  75324. }
  75325. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75326. mutable_unknown_fields()->Clear();
  75327. }
  75328. bool packetc2w_summer_plan_buy_sendgold_gift::MergePartialFromCodedStream(
  75329. ::google::protobuf::io::CodedInputStream* input) {
  75330. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  75331. ::google::protobuf::uint32 tag;
  75332. while ((tag = input->ReadTag()) != 0) {
  75333. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  75334. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_buy_sendgold_gift];
  75335. case 1: {
  75336. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75337. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75338. int value;
  75339. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75340. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  75341. input, &value)));
  75342. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  75343. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  75344. } else {
  75345. mutable_unknown_fields()->AddVarint(1, value);
  75346. }
  75347. } else {
  75348. goto handle_uninterpreted;
  75349. }
  75350. if (input->ExpectTag(16)) goto parse_giftID;
  75351. break;
  75352. }
  75353. // optional int32 giftID = 2;
  75354. case 2: {
  75355. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75356. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75357. parse_giftID:
  75358. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75359. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  75360. input, &giftid_)));
  75361. set_has_giftid();
  75362. } else {
  75363. goto handle_uninterpreted;
  75364. }
  75365. if (input->ExpectAtEnd()) return true;
  75366. break;
  75367. }
  75368. default: {
  75369. handle_uninterpreted:
  75370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  75372. return true;
  75373. }
  75374. DO_(::google::protobuf::internal::WireFormat::SkipField(
  75375. input, tag, mutable_unknown_fields()));
  75376. break;
  75377. }
  75378. }
  75379. }
  75380. return true;
  75381. #undef DO_
  75382. }
  75383. void packetc2w_summer_plan_buy_sendgold_gift::SerializeWithCachedSizes(
  75384. ::google::protobuf::io::CodedOutputStream* output) const {
  75385. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_buy_sendgold_gift];
  75386. if (has_packet_id()) {
  75387. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  75388. 1, this->packet_id(), output);
  75389. }
  75390. // optional int32 giftID = 2;
  75391. if (has_giftid()) {
  75392. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->giftid(), output);
  75393. }
  75394. if (!unknown_fields().empty()) {
  75395. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  75396. unknown_fields(), output);
  75397. }
  75398. }
  75399. ::google::protobuf::uint8* packetc2w_summer_plan_buy_sendgold_gift::SerializeWithCachedSizesToArray(
  75400. ::google::protobuf::uint8* target) const {
  75401. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_buy_sendgold_gift];
  75402. if (has_packet_id()) {
  75403. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  75404. 1, this->packet_id(), target);
  75405. }
  75406. // optional int32 giftID = 2;
  75407. if (has_giftid()) {
  75408. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->giftid(), target);
  75409. }
  75410. if (!unknown_fields().empty()) {
  75411. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  75412. unknown_fields(), target);
  75413. }
  75414. return target;
  75415. }
  75416. int packetc2w_summer_plan_buy_sendgold_gift::ByteSize() const {
  75417. int total_size = 0;
  75418. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75419. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_buy_sendgold_gift];
  75420. if (has_packet_id()) {
  75421. total_size += 1 +
  75422. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  75423. }
  75424. // optional int32 giftID = 2;
  75425. if (has_giftid()) {
  75426. total_size += 1 +
  75427. ::google::protobuf::internal::WireFormatLite::Int32Size(
  75428. this->giftid());
  75429. }
  75430. }
  75431. if (!unknown_fields().empty()) {
  75432. total_size +=
  75433. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  75434. unknown_fields());
  75435. }
  75436. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  75437. _cached_size_ = total_size;
  75438. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  75439. return total_size;
  75440. }
  75441. void packetc2w_summer_plan_buy_sendgold_gift::MergeFrom(const ::google::protobuf::Message& from) {
  75442. GOOGLE_CHECK_NE(&from, this);
  75443. const packetc2w_summer_plan_buy_sendgold_gift* source =
  75444. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_buy_sendgold_gift*>(
  75445. &from);
  75446. if (source == NULL) {
  75447. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  75448. } else {
  75449. MergeFrom(*source);
  75450. }
  75451. }
  75452. void packetc2w_summer_plan_buy_sendgold_gift::MergeFrom(const packetc2w_summer_plan_buy_sendgold_gift& from) {
  75453. GOOGLE_CHECK_NE(&from, this);
  75454. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75455. if (from.has_packet_id()) {
  75456. set_packet_id(from.packet_id());
  75457. }
  75458. if (from.has_giftid()) {
  75459. set_giftid(from.giftid());
  75460. }
  75461. }
  75462. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  75463. }
  75464. void packetc2w_summer_plan_buy_sendgold_gift::CopyFrom(const ::google::protobuf::Message& from) {
  75465. if (&from == this) return;
  75466. Clear();
  75467. MergeFrom(from);
  75468. }
  75469. void packetc2w_summer_plan_buy_sendgold_gift::CopyFrom(const packetc2w_summer_plan_buy_sendgold_gift& from) {
  75470. if (&from == this) return;
  75471. Clear();
  75472. MergeFrom(from);
  75473. }
  75474. bool packetc2w_summer_plan_buy_sendgold_gift::IsInitialized() const {
  75475. return true;
  75476. }
  75477. void packetc2w_summer_plan_buy_sendgold_gift::Swap(packetc2w_summer_plan_buy_sendgold_gift* other) {
  75478. if (other != this) {
  75479. std::swap(packet_id_, other->packet_id_);
  75480. std::swap(giftid_, other->giftid_);
  75481. std::swap(_has_bits_[0], other->_has_bits_[0]);
  75482. _unknown_fields_.Swap(&other->_unknown_fields_);
  75483. std::swap(_cached_size_, other->_cached_size_);
  75484. }
  75485. }
  75486. ::google::protobuf::Metadata packetc2w_summer_plan_buy_sendgold_gift::GetMetadata() const {
  75487. protobuf_AssignDescriptorsOnce();
  75488. ::google::protobuf::Metadata metadata;
  75489. metadata.descriptor = packetc2w_summer_plan_buy_sendgold_gift_descriptor_;
  75490. metadata.reflection = packetc2w_summer_plan_buy_sendgold_gift_reflection_;
  75491. return metadata;
  75492. }
  75493. // ===================================================================
  75494. #ifndef _MSC_VER
  75495. const int packetw2c_summer_plan_buy_sendgold_gift_result::kPacketIdFieldNumber;
  75496. const int packetw2c_summer_plan_buy_sendgold_gift_result::kResultFieldNumber;
  75497. const int packetw2c_summer_plan_buy_sendgold_gift_result::kGiftIDFieldNumber;
  75498. const int packetw2c_summer_plan_buy_sendgold_gift_result::kItemsFieldNumber;
  75499. #endif // !_MSC_VER
  75500. packetw2c_summer_plan_buy_sendgold_gift_result::packetw2c_summer_plan_buy_sendgold_gift_result()
  75501. : ::google::protobuf::Message() {
  75502. SharedCtor();
  75503. }
  75504. void packetw2c_summer_plan_buy_sendgold_gift_result::InitAsDefaultInstance() {
  75505. }
  75506. packetw2c_summer_plan_buy_sendgold_gift_result::packetw2c_summer_plan_buy_sendgold_gift_result(const packetw2c_summer_plan_buy_sendgold_gift_result& from)
  75507. : ::google::protobuf::Message() {
  75508. SharedCtor();
  75509. MergeFrom(from);
  75510. }
  75511. void packetw2c_summer_plan_buy_sendgold_gift_result::SharedCtor() {
  75512. _cached_size_ = 0;
  75513. packet_id_ = 7821;
  75514. result_ = 0;
  75515. giftid_ = 0;
  75516. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75517. }
  75518. packetw2c_summer_plan_buy_sendgold_gift_result::~packetw2c_summer_plan_buy_sendgold_gift_result() {
  75519. SharedDtor();
  75520. }
  75521. void packetw2c_summer_plan_buy_sendgold_gift_result::SharedDtor() {
  75522. if (this != default_instance_) {
  75523. }
  75524. }
  75525. void packetw2c_summer_plan_buy_sendgold_gift_result::SetCachedSize(int size) const {
  75526. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  75527. _cached_size_ = size;
  75528. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  75529. }
  75530. const ::google::protobuf::Descriptor* packetw2c_summer_plan_buy_sendgold_gift_result::descriptor() {
  75531. protobuf_AssignDescriptorsOnce();
  75532. return packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_;
  75533. }
  75534. const packetw2c_summer_plan_buy_sendgold_gift_result& packetw2c_summer_plan_buy_sendgold_gift_result::default_instance() {
  75535. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  75536. return *default_instance_;
  75537. }
  75538. packetw2c_summer_plan_buy_sendgold_gift_result* packetw2c_summer_plan_buy_sendgold_gift_result::default_instance_ = NULL;
  75539. packetw2c_summer_plan_buy_sendgold_gift_result* packetw2c_summer_plan_buy_sendgold_gift_result::New() const {
  75540. return new packetw2c_summer_plan_buy_sendgold_gift_result;
  75541. }
  75542. void packetw2c_summer_plan_buy_sendgold_gift_result::Clear() {
  75543. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75544. packet_id_ = 7821;
  75545. result_ = 0;
  75546. giftid_ = 0;
  75547. }
  75548. items_.Clear();
  75549. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75550. mutable_unknown_fields()->Clear();
  75551. }
  75552. bool packetw2c_summer_plan_buy_sendgold_gift_result::MergePartialFromCodedStream(
  75553. ::google::protobuf::io::CodedInputStream* input) {
  75554. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  75555. ::google::protobuf::uint32 tag;
  75556. while ((tag = input->ReadTag()) != 0) {
  75557. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  75558. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_buy_sendgold_gift_result];
  75559. case 1: {
  75560. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75561. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75562. int value;
  75563. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75564. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  75565. input, &value)));
  75566. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  75567. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  75568. } else {
  75569. mutable_unknown_fields()->AddVarint(1, value);
  75570. }
  75571. } else {
  75572. goto handle_uninterpreted;
  75573. }
  75574. if (input->ExpectTag(16)) goto parse_result;
  75575. break;
  75576. }
  75577. // optional int32 result = 2;
  75578. case 2: {
  75579. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75580. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75581. parse_result:
  75582. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75583. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  75584. input, &result_)));
  75585. set_has_result();
  75586. } else {
  75587. goto handle_uninterpreted;
  75588. }
  75589. if (input->ExpectTag(24)) goto parse_giftID;
  75590. break;
  75591. }
  75592. // optional int32 giftID = 3;
  75593. case 3: {
  75594. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75595. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75596. parse_giftID:
  75597. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75598. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  75599. input, &giftid_)));
  75600. set_has_giftid();
  75601. } else {
  75602. goto handle_uninterpreted;
  75603. }
  75604. if (input->ExpectTag(34)) goto parse_items;
  75605. break;
  75606. }
  75607. // repeated .msg_info_def.ItemInfo items = 4;
  75608. case 4: {
  75609. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75610. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  75611. parse_items:
  75612. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  75613. input, add_items()));
  75614. } else {
  75615. goto handle_uninterpreted;
  75616. }
  75617. if (input->ExpectTag(34)) goto parse_items;
  75618. if (input->ExpectAtEnd()) return true;
  75619. break;
  75620. }
  75621. default: {
  75622. handle_uninterpreted:
  75623. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75624. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  75625. return true;
  75626. }
  75627. DO_(::google::protobuf::internal::WireFormat::SkipField(
  75628. input, tag, mutable_unknown_fields()));
  75629. break;
  75630. }
  75631. }
  75632. }
  75633. return true;
  75634. #undef DO_
  75635. }
  75636. void packetw2c_summer_plan_buy_sendgold_gift_result::SerializeWithCachedSizes(
  75637. ::google::protobuf::io::CodedOutputStream* output) const {
  75638. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_buy_sendgold_gift_result];
  75639. if (has_packet_id()) {
  75640. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  75641. 1, this->packet_id(), output);
  75642. }
  75643. // optional int32 result = 2;
  75644. if (has_result()) {
  75645. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  75646. }
  75647. // optional int32 giftID = 3;
  75648. if (has_giftid()) {
  75649. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->giftid(), output);
  75650. }
  75651. // repeated .msg_info_def.ItemInfo items = 4;
  75652. for (int i = 0; i < this->items_size(); i++) {
  75653. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  75654. 4, this->items(i), output);
  75655. }
  75656. if (!unknown_fields().empty()) {
  75657. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  75658. unknown_fields(), output);
  75659. }
  75660. }
  75661. ::google::protobuf::uint8* packetw2c_summer_plan_buy_sendgold_gift_result::SerializeWithCachedSizesToArray(
  75662. ::google::protobuf::uint8* target) const {
  75663. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_buy_sendgold_gift_result];
  75664. if (has_packet_id()) {
  75665. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  75666. 1, this->packet_id(), target);
  75667. }
  75668. // optional int32 result = 2;
  75669. if (has_result()) {
  75670. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  75671. }
  75672. // optional int32 giftID = 3;
  75673. if (has_giftid()) {
  75674. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->giftid(), target);
  75675. }
  75676. // repeated .msg_info_def.ItemInfo items = 4;
  75677. for (int i = 0; i < this->items_size(); i++) {
  75678. target = ::google::protobuf::internal::WireFormatLite::
  75679. WriteMessageNoVirtualToArray(
  75680. 4, this->items(i), target);
  75681. }
  75682. if (!unknown_fields().empty()) {
  75683. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  75684. unknown_fields(), target);
  75685. }
  75686. return target;
  75687. }
  75688. int packetw2c_summer_plan_buy_sendgold_gift_result::ByteSize() const {
  75689. int total_size = 0;
  75690. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75691. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_buy_sendgold_gift_result];
  75692. if (has_packet_id()) {
  75693. total_size += 1 +
  75694. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  75695. }
  75696. // optional int32 result = 2;
  75697. if (has_result()) {
  75698. total_size += 1 +
  75699. ::google::protobuf::internal::WireFormatLite::Int32Size(
  75700. this->result());
  75701. }
  75702. // optional int32 giftID = 3;
  75703. if (has_giftid()) {
  75704. total_size += 1 +
  75705. ::google::protobuf::internal::WireFormatLite::Int32Size(
  75706. this->giftid());
  75707. }
  75708. }
  75709. // repeated .msg_info_def.ItemInfo items = 4;
  75710. total_size += 1 * this->items_size();
  75711. for (int i = 0; i < this->items_size(); i++) {
  75712. total_size +=
  75713. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  75714. this->items(i));
  75715. }
  75716. if (!unknown_fields().empty()) {
  75717. total_size +=
  75718. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  75719. unknown_fields());
  75720. }
  75721. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  75722. _cached_size_ = total_size;
  75723. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  75724. return total_size;
  75725. }
  75726. void packetw2c_summer_plan_buy_sendgold_gift_result::MergeFrom(const ::google::protobuf::Message& from) {
  75727. GOOGLE_CHECK_NE(&from, this);
  75728. const packetw2c_summer_plan_buy_sendgold_gift_result* source =
  75729. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_buy_sendgold_gift_result*>(
  75730. &from);
  75731. if (source == NULL) {
  75732. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  75733. } else {
  75734. MergeFrom(*source);
  75735. }
  75736. }
  75737. void packetw2c_summer_plan_buy_sendgold_gift_result::MergeFrom(const packetw2c_summer_plan_buy_sendgold_gift_result& from) {
  75738. GOOGLE_CHECK_NE(&from, this);
  75739. items_.MergeFrom(from.items_);
  75740. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75741. if (from.has_packet_id()) {
  75742. set_packet_id(from.packet_id());
  75743. }
  75744. if (from.has_result()) {
  75745. set_result(from.result());
  75746. }
  75747. if (from.has_giftid()) {
  75748. set_giftid(from.giftid());
  75749. }
  75750. }
  75751. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  75752. }
  75753. void packetw2c_summer_plan_buy_sendgold_gift_result::CopyFrom(const ::google::protobuf::Message& from) {
  75754. if (&from == this) return;
  75755. Clear();
  75756. MergeFrom(from);
  75757. }
  75758. void packetw2c_summer_plan_buy_sendgold_gift_result::CopyFrom(const packetw2c_summer_plan_buy_sendgold_gift_result& from) {
  75759. if (&from == this) return;
  75760. Clear();
  75761. MergeFrom(from);
  75762. }
  75763. bool packetw2c_summer_plan_buy_sendgold_gift_result::IsInitialized() const {
  75764. return true;
  75765. }
  75766. void packetw2c_summer_plan_buy_sendgold_gift_result::Swap(packetw2c_summer_plan_buy_sendgold_gift_result* other) {
  75767. if (other != this) {
  75768. std::swap(packet_id_, other->packet_id_);
  75769. std::swap(result_, other->result_);
  75770. std::swap(giftid_, other->giftid_);
  75771. items_.Swap(&other->items_);
  75772. std::swap(_has_bits_[0], other->_has_bits_[0]);
  75773. _unknown_fields_.Swap(&other->_unknown_fields_);
  75774. std::swap(_cached_size_, other->_cached_size_);
  75775. }
  75776. }
  75777. ::google::protobuf::Metadata packetw2c_summer_plan_buy_sendgold_gift_result::GetMetadata() const {
  75778. protobuf_AssignDescriptorsOnce();
  75779. ::google::protobuf::Metadata metadata;
  75780. metadata.descriptor = packetw2c_summer_plan_buy_sendgold_gift_result_descriptor_;
  75781. metadata.reflection = packetw2c_summer_plan_buy_sendgold_gift_result_reflection_;
  75782. return metadata;
  75783. }
  75784. // ===================================================================
  75785. #ifndef _MSC_VER
  75786. const int packetc2w_summer_plan_launch::kPacketIdFieldNumber;
  75787. #endif // !_MSC_VER
  75788. packetc2w_summer_plan_launch::packetc2w_summer_plan_launch()
  75789. : ::google::protobuf::Message() {
  75790. SharedCtor();
  75791. }
  75792. void packetc2w_summer_plan_launch::InitAsDefaultInstance() {
  75793. }
  75794. packetc2w_summer_plan_launch::packetc2w_summer_plan_launch(const packetc2w_summer_plan_launch& from)
  75795. : ::google::protobuf::Message() {
  75796. SharedCtor();
  75797. MergeFrom(from);
  75798. }
  75799. void packetc2w_summer_plan_launch::SharedCtor() {
  75800. _cached_size_ = 0;
  75801. packet_id_ = 5267;
  75802. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75803. }
  75804. packetc2w_summer_plan_launch::~packetc2w_summer_plan_launch() {
  75805. SharedDtor();
  75806. }
  75807. void packetc2w_summer_plan_launch::SharedDtor() {
  75808. if (this != default_instance_) {
  75809. }
  75810. }
  75811. void packetc2w_summer_plan_launch::SetCachedSize(int size) const {
  75812. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  75813. _cached_size_ = size;
  75814. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  75815. }
  75816. const ::google::protobuf::Descriptor* packetc2w_summer_plan_launch::descriptor() {
  75817. protobuf_AssignDescriptorsOnce();
  75818. return packetc2w_summer_plan_launch_descriptor_;
  75819. }
  75820. const packetc2w_summer_plan_launch& packetc2w_summer_plan_launch::default_instance() {
  75821. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  75822. return *default_instance_;
  75823. }
  75824. packetc2w_summer_plan_launch* packetc2w_summer_plan_launch::default_instance_ = NULL;
  75825. packetc2w_summer_plan_launch* packetc2w_summer_plan_launch::New() const {
  75826. return new packetc2w_summer_plan_launch;
  75827. }
  75828. void packetc2w_summer_plan_launch::Clear() {
  75829. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75830. packet_id_ = 5267;
  75831. }
  75832. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75833. mutable_unknown_fields()->Clear();
  75834. }
  75835. bool packetc2w_summer_plan_launch::MergePartialFromCodedStream(
  75836. ::google::protobuf::io::CodedInputStream* input) {
  75837. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  75838. ::google::protobuf::uint32 tag;
  75839. while ((tag = input->ReadTag()) != 0) {
  75840. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  75841. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_launch];
  75842. case 1: {
  75843. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75844. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  75845. int value;
  75846. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  75847. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  75848. input, &value)));
  75849. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  75850. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  75851. } else {
  75852. mutable_unknown_fields()->AddVarint(1, value);
  75853. }
  75854. } else {
  75855. goto handle_uninterpreted;
  75856. }
  75857. if (input->ExpectAtEnd()) return true;
  75858. break;
  75859. }
  75860. default: {
  75861. handle_uninterpreted:
  75862. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  75863. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  75864. return true;
  75865. }
  75866. DO_(::google::protobuf::internal::WireFormat::SkipField(
  75867. input, tag, mutable_unknown_fields()));
  75868. break;
  75869. }
  75870. }
  75871. }
  75872. return true;
  75873. #undef DO_
  75874. }
  75875. void packetc2w_summer_plan_launch::SerializeWithCachedSizes(
  75876. ::google::protobuf::io::CodedOutputStream* output) const {
  75877. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_launch];
  75878. if (has_packet_id()) {
  75879. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  75880. 1, this->packet_id(), output);
  75881. }
  75882. if (!unknown_fields().empty()) {
  75883. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  75884. unknown_fields(), output);
  75885. }
  75886. }
  75887. ::google::protobuf::uint8* packetc2w_summer_plan_launch::SerializeWithCachedSizesToArray(
  75888. ::google::protobuf::uint8* target) const {
  75889. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_launch];
  75890. if (has_packet_id()) {
  75891. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  75892. 1, this->packet_id(), target);
  75893. }
  75894. if (!unknown_fields().empty()) {
  75895. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  75896. unknown_fields(), target);
  75897. }
  75898. return target;
  75899. }
  75900. int packetc2w_summer_plan_launch::ByteSize() const {
  75901. int total_size = 0;
  75902. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75903. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_launch];
  75904. if (has_packet_id()) {
  75905. total_size += 1 +
  75906. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  75907. }
  75908. }
  75909. if (!unknown_fields().empty()) {
  75910. total_size +=
  75911. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  75912. unknown_fields());
  75913. }
  75914. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  75915. _cached_size_ = total_size;
  75916. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  75917. return total_size;
  75918. }
  75919. void packetc2w_summer_plan_launch::MergeFrom(const ::google::protobuf::Message& from) {
  75920. GOOGLE_CHECK_NE(&from, this);
  75921. const packetc2w_summer_plan_launch* source =
  75922. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_launch*>(
  75923. &from);
  75924. if (source == NULL) {
  75925. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  75926. } else {
  75927. MergeFrom(*source);
  75928. }
  75929. }
  75930. void packetc2w_summer_plan_launch::MergeFrom(const packetc2w_summer_plan_launch& from) {
  75931. GOOGLE_CHECK_NE(&from, this);
  75932. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  75933. if (from.has_packet_id()) {
  75934. set_packet_id(from.packet_id());
  75935. }
  75936. }
  75937. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  75938. }
  75939. void packetc2w_summer_plan_launch::CopyFrom(const ::google::protobuf::Message& from) {
  75940. if (&from == this) return;
  75941. Clear();
  75942. MergeFrom(from);
  75943. }
  75944. void packetc2w_summer_plan_launch::CopyFrom(const packetc2w_summer_plan_launch& from) {
  75945. if (&from == this) return;
  75946. Clear();
  75947. MergeFrom(from);
  75948. }
  75949. bool packetc2w_summer_plan_launch::IsInitialized() const {
  75950. return true;
  75951. }
  75952. void packetc2w_summer_plan_launch::Swap(packetc2w_summer_plan_launch* other) {
  75953. if (other != this) {
  75954. std::swap(packet_id_, other->packet_id_);
  75955. std::swap(_has_bits_[0], other->_has_bits_[0]);
  75956. _unknown_fields_.Swap(&other->_unknown_fields_);
  75957. std::swap(_cached_size_, other->_cached_size_);
  75958. }
  75959. }
  75960. ::google::protobuf::Metadata packetc2w_summer_plan_launch::GetMetadata() const {
  75961. protobuf_AssignDescriptorsOnce();
  75962. ::google::protobuf::Metadata metadata;
  75963. metadata.descriptor = packetc2w_summer_plan_launch_descriptor_;
  75964. metadata.reflection = packetc2w_summer_plan_launch_reflection_;
  75965. return metadata;
  75966. }
  75967. // ===================================================================
  75968. #ifndef _MSC_VER
  75969. const int packetw2c_summer_plan_launch_result::kPacketIdFieldNumber;
  75970. const int packetw2c_summer_plan_launch_result::kResultFieldNumber;
  75971. const int packetw2c_summer_plan_launch_result::kHeightFieldNumber;
  75972. const int packetw2c_summer_plan_launch_result::kFreeRocketCountFieldNumber;
  75973. const int packetw2c_summer_plan_launch_result::kFreeRocketColdFieldNumber;
  75974. #endif // !_MSC_VER
  75975. packetw2c_summer_plan_launch_result::packetw2c_summer_plan_launch_result()
  75976. : ::google::protobuf::Message() {
  75977. SharedCtor();
  75978. }
  75979. void packetw2c_summer_plan_launch_result::InitAsDefaultInstance() {
  75980. }
  75981. packetw2c_summer_plan_launch_result::packetw2c_summer_plan_launch_result(const packetw2c_summer_plan_launch_result& from)
  75982. : ::google::protobuf::Message() {
  75983. SharedCtor();
  75984. MergeFrom(from);
  75985. }
  75986. void packetw2c_summer_plan_launch_result::SharedCtor() {
  75987. _cached_size_ = 0;
  75988. packet_id_ = 7817;
  75989. result_ = 0;
  75990. height_ = 0;
  75991. freerocketcount_ = 0;
  75992. freerocketcold_ = 0;
  75993. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  75994. }
  75995. packetw2c_summer_plan_launch_result::~packetw2c_summer_plan_launch_result() {
  75996. SharedDtor();
  75997. }
  75998. void packetw2c_summer_plan_launch_result::SharedDtor() {
  75999. if (this != default_instance_) {
  76000. }
  76001. }
  76002. void packetw2c_summer_plan_launch_result::SetCachedSize(int size) const {
  76003. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  76004. _cached_size_ = size;
  76005. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  76006. }
  76007. const ::google::protobuf::Descriptor* packetw2c_summer_plan_launch_result::descriptor() {
  76008. protobuf_AssignDescriptorsOnce();
  76009. return packetw2c_summer_plan_launch_result_descriptor_;
  76010. }
  76011. const packetw2c_summer_plan_launch_result& packetw2c_summer_plan_launch_result::default_instance() {
  76012. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  76013. return *default_instance_;
  76014. }
  76015. packetw2c_summer_plan_launch_result* packetw2c_summer_plan_launch_result::default_instance_ = NULL;
  76016. packetw2c_summer_plan_launch_result* packetw2c_summer_plan_launch_result::New() const {
  76017. return new packetw2c_summer_plan_launch_result;
  76018. }
  76019. void packetw2c_summer_plan_launch_result::Clear() {
  76020. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76021. packet_id_ = 7817;
  76022. result_ = 0;
  76023. height_ = 0;
  76024. freerocketcount_ = 0;
  76025. freerocketcold_ = 0;
  76026. }
  76027. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  76028. mutable_unknown_fields()->Clear();
  76029. }
  76030. bool packetw2c_summer_plan_launch_result::MergePartialFromCodedStream(
  76031. ::google::protobuf::io::CodedInputStream* input) {
  76032. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  76033. ::google::protobuf::uint32 tag;
  76034. while ((tag = input->ReadTag()) != 0) {
  76035. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  76036. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_launch_result];
  76037. case 1: {
  76038. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76039. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76040. int value;
  76041. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76042. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  76043. input, &value)));
  76044. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  76045. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  76046. } else {
  76047. mutable_unknown_fields()->AddVarint(1, value);
  76048. }
  76049. } else {
  76050. goto handle_uninterpreted;
  76051. }
  76052. if (input->ExpectTag(16)) goto parse_result;
  76053. break;
  76054. }
  76055. // optional int32 result = 2;
  76056. case 2: {
  76057. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76058. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76059. parse_result:
  76060. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76061. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76062. input, &result_)));
  76063. set_has_result();
  76064. } else {
  76065. goto handle_uninterpreted;
  76066. }
  76067. if (input->ExpectTag(24)) goto parse_height;
  76068. break;
  76069. }
  76070. // optional int32 height = 3;
  76071. case 3: {
  76072. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76073. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76074. parse_height:
  76075. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76076. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76077. input, &height_)));
  76078. set_has_height();
  76079. } else {
  76080. goto handle_uninterpreted;
  76081. }
  76082. if (input->ExpectTag(32)) goto parse_freeRocketCount;
  76083. break;
  76084. }
  76085. // optional int32 freeRocketCount = 4;
  76086. case 4: {
  76087. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76088. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76089. parse_freeRocketCount:
  76090. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76091. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76092. input, &freerocketcount_)));
  76093. set_has_freerocketcount();
  76094. } else {
  76095. goto handle_uninterpreted;
  76096. }
  76097. if (input->ExpectTag(40)) goto parse_freeRocketCold;
  76098. break;
  76099. }
  76100. // optional int32 freeRocketCold = 5;
  76101. case 5: {
  76102. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76103. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76104. parse_freeRocketCold:
  76105. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76106. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76107. input, &freerocketcold_)));
  76108. set_has_freerocketcold();
  76109. } else {
  76110. goto handle_uninterpreted;
  76111. }
  76112. if (input->ExpectAtEnd()) return true;
  76113. break;
  76114. }
  76115. default: {
  76116. handle_uninterpreted:
  76117. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76118. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  76119. return true;
  76120. }
  76121. DO_(::google::protobuf::internal::WireFormat::SkipField(
  76122. input, tag, mutable_unknown_fields()));
  76123. break;
  76124. }
  76125. }
  76126. }
  76127. return true;
  76128. #undef DO_
  76129. }
  76130. void packetw2c_summer_plan_launch_result::SerializeWithCachedSizes(
  76131. ::google::protobuf::io::CodedOutputStream* output) const {
  76132. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_launch_result];
  76133. if (has_packet_id()) {
  76134. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  76135. 1, this->packet_id(), output);
  76136. }
  76137. // optional int32 result = 2;
  76138. if (has_result()) {
  76139. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  76140. }
  76141. // optional int32 height = 3;
  76142. if (has_height()) {
  76143. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->height(), output);
  76144. }
  76145. // optional int32 freeRocketCount = 4;
  76146. if (has_freerocketcount()) {
  76147. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->freerocketcount(), output);
  76148. }
  76149. // optional int32 freeRocketCold = 5;
  76150. if (has_freerocketcold()) {
  76151. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->freerocketcold(), output);
  76152. }
  76153. if (!unknown_fields().empty()) {
  76154. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  76155. unknown_fields(), output);
  76156. }
  76157. }
  76158. ::google::protobuf::uint8* packetw2c_summer_plan_launch_result::SerializeWithCachedSizesToArray(
  76159. ::google::protobuf::uint8* target) const {
  76160. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_launch_result];
  76161. if (has_packet_id()) {
  76162. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  76163. 1, this->packet_id(), target);
  76164. }
  76165. // optional int32 result = 2;
  76166. if (has_result()) {
  76167. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  76168. }
  76169. // optional int32 height = 3;
  76170. if (has_height()) {
  76171. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->height(), target);
  76172. }
  76173. // optional int32 freeRocketCount = 4;
  76174. if (has_freerocketcount()) {
  76175. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->freerocketcount(), target);
  76176. }
  76177. // optional int32 freeRocketCold = 5;
  76178. if (has_freerocketcold()) {
  76179. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->freerocketcold(), target);
  76180. }
  76181. if (!unknown_fields().empty()) {
  76182. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  76183. unknown_fields(), target);
  76184. }
  76185. return target;
  76186. }
  76187. int packetw2c_summer_plan_launch_result::ByteSize() const {
  76188. int total_size = 0;
  76189. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76190. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_launch_result];
  76191. if (has_packet_id()) {
  76192. total_size += 1 +
  76193. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  76194. }
  76195. // optional int32 result = 2;
  76196. if (has_result()) {
  76197. total_size += 1 +
  76198. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76199. this->result());
  76200. }
  76201. // optional int32 height = 3;
  76202. if (has_height()) {
  76203. total_size += 1 +
  76204. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76205. this->height());
  76206. }
  76207. // optional int32 freeRocketCount = 4;
  76208. if (has_freerocketcount()) {
  76209. total_size += 1 +
  76210. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76211. this->freerocketcount());
  76212. }
  76213. // optional int32 freeRocketCold = 5;
  76214. if (has_freerocketcold()) {
  76215. total_size += 1 +
  76216. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76217. this->freerocketcold());
  76218. }
  76219. }
  76220. if (!unknown_fields().empty()) {
  76221. total_size +=
  76222. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  76223. unknown_fields());
  76224. }
  76225. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  76226. _cached_size_ = total_size;
  76227. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  76228. return total_size;
  76229. }
  76230. void packetw2c_summer_plan_launch_result::MergeFrom(const ::google::protobuf::Message& from) {
  76231. GOOGLE_CHECK_NE(&from, this);
  76232. const packetw2c_summer_plan_launch_result* source =
  76233. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_launch_result*>(
  76234. &from);
  76235. if (source == NULL) {
  76236. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  76237. } else {
  76238. MergeFrom(*source);
  76239. }
  76240. }
  76241. void packetw2c_summer_plan_launch_result::MergeFrom(const packetw2c_summer_plan_launch_result& from) {
  76242. GOOGLE_CHECK_NE(&from, this);
  76243. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76244. if (from.has_packet_id()) {
  76245. set_packet_id(from.packet_id());
  76246. }
  76247. if (from.has_result()) {
  76248. set_result(from.result());
  76249. }
  76250. if (from.has_height()) {
  76251. set_height(from.height());
  76252. }
  76253. if (from.has_freerocketcount()) {
  76254. set_freerocketcount(from.freerocketcount());
  76255. }
  76256. if (from.has_freerocketcold()) {
  76257. set_freerocketcold(from.freerocketcold());
  76258. }
  76259. }
  76260. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  76261. }
  76262. void packetw2c_summer_plan_launch_result::CopyFrom(const ::google::protobuf::Message& from) {
  76263. if (&from == this) return;
  76264. Clear();
  76265. MergeFrom(from);
  76266. }
  76267. void packetw2c_summer_plan_launch_result::CopyFrom(const packetw2c_summer_plan_launch_result& from) {
  76268. if (&from == this) return;
  76269. Clear();
  76270. MergeFrom(from);
  76271. }
  76272. bool packetw2c_summer_plan_launch_result::IsInitialized() const {
  76273. return true;
  76274. }
  76275. void packetw2c_summer_plan_launch_result::Swap(packetw2c_summer_plan_launch_result* other) {
  76276. if (other != this) {
  76277. std::swap(packet_id_, other->packet_id_);
  76278. std::swap(result_, other->result_);
  76279. std::swap(height_, other->height_);
  76280. std::swap(freerocketcount_, other->freerocketcount_);
  76281. std::swap(freerocketcold_, other->freerocketcold_);
  76282. std::swap(_has_bits_[0], other->_has_bits_[0]);
  76283. _unknown_fields_.Swap(&other->_unknown_fields_);
  76284. std::swap(_cached_size_, other->_cached_size_);
  76285. }
  76286. }
  76287. ::google::protobuf::Metadata packetw2c_summer_plan_launch_result::GetMetadata() const {
  76288. protobuf_AssignDescriptorsOnce();
  76289. ::google::protobuf::Metadata metadata;
  76290. metadata.descriptor = packetw2c_summer_plan_launch_result_descriptor_;
  76291. metadata.reflection = packetw2c_summer_plan_launch_result_reflection_;
  76292. return metadata;
  76293. }
  76294. // ===================================================================
  76295. #ifndef _MSC_VER
  76296. const int packetc2w_summer_plan_touch_gold::kPacketIdFieldNumber;
  76297. const int packetc2w_summer_plan_touch_gold::kIndexFieldNumber;
  76298. #endif // !_MSC_VER
  76299. packetc2w_summer_plan_touch_gold::packetc2w_summer_plan_touch_gold()
  76300. : ::google::protobuf::Message() {
  76301. SharedCtor();
  76302. }
  76303. void packetc2w_summer_plan_touch_gold::InitAsDefaultInstance() {
  76304. }
  76305. packetc2w_summer_plan_touch_gold::packetc2w_summer_plan_touch_gold(const packetc2w_summer_plan_touch_gold& from)
  76306. : ::google::protobuf::Message() {
  76307. SharedCtor();
  76308. MergeFrom(from);
  76309. }
  76310. void packetc2w_summer_plan_touch_gold::SharedCtor() {
  76311. _cached_size_ = 0;
  76312. packet_id_ = 5268;
  76313. index_ = 0;
  76314. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  76315. }
  76316. packetc2w_summer_plan_touch_gold::~packetc2w_summer_plan_touch_gold() {
  76317. SharedDtor();
  76318. }
  76319. void packetc2w_summer_plan_touch_gold::SharedDtor() {
  76320. if (this != default_instance_) {
  76321. }
  76322. }
  76323. void packetc2w_summer_plan_touch_gold::SetCachedSize(int size) const {
  76324. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  76325. _cached_size_ = size;
  76326. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  76327. }
  76328. const ::google::protobuf::Descriptor* packetc2w_summer_plan_touch_gold::descriptor() {
  76329. protobuf_AssignDescriptorsOnce();
  76330. return packetc2w_summer_plan_touch_gold_descriptor_;
  76331. }
  76332. const packetc2w_summer_plan_touch_gold& packetc2w_summer_plan_touch_gold::default_instance() {
  76333. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  76334. return *default_instance_;
  76335. }
  76336. packetc2w_summer_plan_touch_gold* packetc2w_summer_plan_touch_gold::default_instance_ = NULL;
  76337. packetc2w_summer_plan_touch_gold* packetc2w_summer_plan_touch_gold::New() const {
  76338. return new packetc2w_summer_plan_touch_gold;
  76339. }
  76340. void packetc2w_summer_plan_touch_gold::Clear() {
  76341. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76342. packet_id_ = 5268;
  76343. index_ = 0;
  76344. }
  76345. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  76346. mutable_unknown_fields()->Clear();
  76347. }
  76348. bool packetc2w_summer_plan_touch_gold::MergePartialFromCodedStream(
  76349. ::google::protobuf::io::CodedInputStream* input) {
  76350. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  76351. ::google::protobuf::uint32 tag;
  76352. while ((tag = input->ReadTag()) != 0) {
  76353. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  76354. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_touch_gold];
  76355. case 1: {
  76356. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76357. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76358. int value;
  76359. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76360. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  76361. input, &value)));
  76362. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  76363. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  76364. } else {
  76365. mutable_unknown_fields()->AddVarint(1, value);
  76366. }
  76367. } else {
  76368. goto handle_uninterpreted;
  76369. }
  76370. if (input->ExpectTag(16)) goto parse_index;
  76371. break;
  76372. }
  76373. // optional int32 index = 2;
  76374. case 2: {
  76375. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76376. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76377. parse_index:
  76378. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76379. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76380. input, &index_)));
  76381. set_has_index();
  76382. } else {
  76383. goto handle_uninterpreted;
  76384. }
  76385. if (input->ExpectAtEnd()) return true;
  76386. break;
  76387. }
  76388. default: {
  76389. handle_uninterpreted:
  76390. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76391. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  76392. return true;
  76393. }
  76394. DO_(::google::protobuf::internal::WireFormat::SkipField(
  76395. input, tag, mutable_unknown_fields()));
  76396. break;
  76397. }
  76398. }
  76399. }
  76400. return true;
  76401. #undef DO_
  76402. }
  76403. void packetc2w_summer_plan_touch_gold::SerializeWithCachedSizes(
  76404. ::google::protobuf::io::CodedOutputStream* output) const {
  76405. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_touch_gold];
  76406. if (has_packet_id()) {
  76407. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  76408. 1, this->packet_id(), output);
  76409. }
  76410. // optional int32 index = 2;
  76411. if (has_index()) {
  76412. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  76413. }
  76414. if (!unknown_fields().empty()) {
  76415. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  76416. unknown_fields(), output);
  76417. }
  76418. }
  76419. ::google::protobuf::uint8* packetc2w_summer_plan_touch_gold::SerializeWithCachedSizesToArray(
  76420. ::google::protobuf::uint8* target) const {
  76421. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_touch_gold];
  76422. if (has_packet_id()) {
  76423. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  76424. 1, this->packet_id(), target);
  76425. }
  76426. // optional int32 index = 2;
  76427. if (has_index()) {
  76428. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  76429. }
  76430. if (!unknown_fields().empty()) {
  76431. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  76432. unknown_fields(), target);
  76433. }
  76434. return target;
  76435. }
  76436. int packetc2w_summer_plan_touch_gold::ByteSize() const {
  76437. int total_size = 0;
  76438. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76439. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_touch_gold];
  76440. if (has_packet_id()) {
  76441. total_size += 1 +
  76442. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  76443. }
  76444. // optional int32 index = 2;
  76445. if (has_index()) {
  76446. total_size += 1 +
  76447. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76448. this->index());
  76449. }
  76450. }
  76451. if (!unknown_fields().empty()) {
  76452. total_size +=
  76453. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  76454. unknown_fields());
  76455. }
  76456. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  76457. _cached_size_ = total_size;
  76458. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  76459. return total_size;
  76460. }
  76461. void packetc2w_summer_plan_touch_gold::MergeFrom(const ::google::protobuf::Message& from) {
  76462. GOOGLE_CHECK_NE(&from, this);
  76463. const packetc2w_summer_plan_touch_gold* source =
  76464. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_summer_plan_touch_gold*>(
  76465. &from);
  76466. if (source == NULL) {
  76467. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  76468. } else {
  76469. MergeFrom(*source);
  76470. }
  76471. }
  76472. void packetc2w_summer_plan_touch_gold::MergeFrom(const packetc2w_summer_plan_touch_gold& from) {
  76473. GOOGLE_CHECK_NE(&from, this);
  76474. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76475. if (from.has_packet_id()) {
  76476. set_packet_id(from.packet_id());
  76477. }
  76478. if (from.has_index()) {
  76479. set_index(from.index());
  76480. }
  76481. }
  76482. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  76483. }
  76484. void packetc2w_summer_plan_touch_gold::CopyFrom(const ::google::protobuf::Message& from) {
  76485. if (&from == this) return;
  76486. Clear();
  76487. MergeFrom(from);
  76488. }
  76489. void packetc2w_summer_plan_touch_gold::CopyFrom(const packetc2w_summer_plan_touch_gold& from) {
  76490. if (&from == this) return;
  76491. Clear();
  76492. MergeFrom(from);
  76493. }
  76494. bool packetc2w_summer_plan_touch_gold::IsInitialized() const {
  76495. return true;
  76496. }
  76497. void packetc2w_summer_plan_touch_gold::Swap(packetc2w_summer_plan_touch_gold* other) {
  76498. if (other != this) {
  76499. std::swap(packet_id_, other->packet_id_);
  76500. std::swap(index_, other->index_);
  76501. std::swap(_has_bits_[0], other->_has_bits_[0]);
  76502. _unknown_fields_.Swap(&other->_unknown_fields_);
  76503. std::swap(_cached_size_, other->_cached_size_);
  76504. }
  76505. }
  76506. ::google::protobuf::Metadata packetc2w_summer_plan_touch_gold::GetMetadata() const {
  76507. protobuf_AssignDescriptorsOnce();
  76508. ::google::protobuf::Metadata metadata;
  76509. metadata.descriptor = packetc2w_summer_plan_touch_gold_descriptor_;
  76510. metadata.reflection = packetc2w_summer_plan_touch_gold_reflection_;
  76511. return metadata;
  76512. }
  76513. // ===================================================================
  76514. #ifndef _MSC_VER
  76515. const int packetw2c_summer_plan_touch_gold_result::kPacketIdFieldNumber;
  76516. const int packetw2c_summer_plan_touch_gold_result::kResultFieldNumber;
  76517. const int packetw2c_summer_plan_touch_gold_result::kIndexFieldNumber;
  76518. const int packetw2c_summer_plan_touch_gold_result::kFreeFieldNumber;
  76519. const int packetw2c_summer_plan_touch_gold_result::kDrawEyeEnergyFieldNumber;
  76520. const int packetw2c_summer_plan_touch_gold_result::kTouchGoldEnergyFieldNumber;
  76521. #endif // !_MSC_VER
  76522. packetw2c_summer_plan_touch_gold_result::packetw2c_summer_plan_touch_gold_result()
  76523. : ::google::protobuf::Message() {
  76524. SharedCtor();
  76525. }
  76526. void packetw2c_summer_plan_touch_gold_result::InitAsDefaultInstance() {
  76527. }
  76528. packetw2c_summer_plan_touch_gold_result::packetw2c_summer_plan_touch_gold_result(const packetw2c_summer_plan_touch_gold_result& from)
  76529. : ::google::protobuf::Message() {
  76530. SharedCtor();
  76531. MergeFrom(from);
  76532. }
  76533. void packetw2c_summer_plan_touch_gold_result::SharedCtor() {
  76534. _cached_size_ = 0;
  76535. packet_id_ = 7819;
  76536. result_ = 0;
  76537. index_ = 0;
  76538. free_ = false;
  76539. draweyeenergy_ = 0;
  76540. touchgoldenergy_ = 0;
  76541. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  76542. }
  76543. packetw2c_summer_plan_touch_gold_result::~packetw2c_summer_plan_touch_gold_result() {
  76544. SharedDtor();
  76545. }
  76546. void packetw2c_summer_plan_touch_gold_result::SharedDtor() {
  76547. if (this != default_instance_) {
  76548. }
  76549. }
  76550. void packetw2c_summer_plan_touch_gold_result::SetCachedSize(int size) const {
  76551. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  76552. _cached_size_ = size;
  76553. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  76554. }
  76555. const ::google::protobuf::Descriptor* packetw2c_summer_plan_touch_gold_result::descriptor() {
  76556. protobuf_AssignDescriptorsOnce();
  76557. return packetw2c_summer_plan_touch_gold_result_descriptor_;
  76558. }
  76559. const packetw2c_summer_plan_touch_gold_result& packetw2c_summer_plan_touch_gold_result::default_instance() {
  76560. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  76561. return *default_instance_;
  76562. }
  76563. packetw2c_summer_plan_touch_gold_result* packetw2c_summer_plan_touch_gold_result::default_instance_ = NULL;
  76564. packetw2c_summer_plan_touch_gold_result* packetw2c_summer_plan_touch_gold_result::New() const {
  76565. return new packetw2c_summer_plan_touch_gold_result;
  76566. }
  76567. void packetw2c_summer_plan_touch_gold_result::Clear() {
  76568. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76569. packet_id_ = 7819;
  76570. result_ = 0;
  76571. index_ = 0;
  76572. free_ = false;
  76573. draweyeenergy_ = 0;
  76574. touchgoldenergy_ = 0;
  76575. }
  76576. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  76577. mutable_unknown_fields()->Clear();
  76578. }
  76579. bool packetw2c_summer_plan_touch_gold_result::MergePartialFromCodedStream(
  76580. ::google::protobuf::io::CodedInputStream* input) {
  76581. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  76582. ::google::protobuf::uint32 tag;
  76583. while ((tag = input->ReadTag()) != 0) {
  76584. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  76585. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_touch_gold_result];
  76586. case 1: {
  76587. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76588. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76589. int value;
  76590. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76591. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  76592. input, &value)));
  76593. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  76594. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  76595. } else {
  76596. mutable_unknown_fields()->AddVarint(1, value);
  76597. }
  76598. } else {
  76599. goto handle_uninterpreted;
  76600. }
  76601. if (input->ExpectTag(16)) goto parse_result;
  76602. break;
  76603. }
  76604. // optional int32 result = 2;
  76605. case 2: {
  76606. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76607. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76608. parse_result:
  76609. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76610. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76611. input, &result_)));
  76612. set_has_result();
  76613. } else {
  76614. goto handle_uninterpreted;
  76615. }
  76616. if (input->ExpectTag(24)) goto parse_index;
  76617. break;
  76618. }
  76619. // optional int32 index = 3;
  76620. case 3: {
  76621. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76622. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76623. parse_index:
  76624. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76625. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76626. input, &index_)));
  76627. set_has_index();
  76628. } else {
  76629. goto handle_uninterpreted;
  76630. }
  76631. if (input->ExpectTag(32)) goto parse_free;
  76632. break;
  76633. }
  76634. // optional bool free = 4;
  76635. case 4: {
  76636. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76637. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76638. parse_free:
  76639. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76640. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  76641. input, &free_)));
  76642. set_has_free();
  76643. } else {
  76644. goto handle_uninterpreted;
  76645. }
  76646. if (input->ExpectTag(40)) goto parse_drawEyeEnergy;
  76647. break;
  76648. }
  76649. // optional int32 drawEyeEnergy = 5;
  76650. case 5: {
  76651. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76652. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76653. parse_drawEyeEnergy:
  76654. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76655. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76656. input, &draweyeenergy_)));
  76657. set_has_draweyeenergy();
  76658. } else {
  76659. goto handle_uninterpreted;
  76660. }
  76661. if (input->ExpectTag(48)) goto parse_touchGoldEnergy;
  76662. break;
  76663. }
  76664. // optional int32 touchGoldEnergy = 6;
  76665. case 6: {
  76666. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76667. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76668. parse_touchGoldEnergy:
  76669. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76670. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76671. input, &touchgoldenergy_)));
  76672. set_has_touchgoldenergy();
  76673. } else {
  76674. goto handle_uninterpreted;
  76675. }
  76676. if (input->ExpectAtEnd()) return true;
  76677. break;
  76678. }
  76679. default: {
  76680. handle_uninterpreted:
  76681. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76682. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  76683. return true;
  76684. }
  76685. DO_(::google::protobuf::internal::WireFormat::SkipField(
  76686. input, tag, mutable_unknown_fields()));
  76687. break;
  76688. }
  76689. }
  76690. }
  76691. return true;
  76692. #undef DO_
  76693. }
  76694. void packetw2c_summer_plan_touch_gold_result::SerializeWithCachedSizes(
  76695. ::google::protobuf::io::CodedOutputStream* output) const {
  76696. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_touch_gold_result];
  76697. if (has_packet_id()) {
  76698. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  76699. 1, this->packet_id(), output);
  76700. }
  76701. // optional int32 result = 2;
  76702. if (has_result()) {
  76703. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  76704. }
  76705. // optional int32 index = 3;
  76706. if (has_index()) {
  76707. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  76708. }
  76709. // optional bool free = 4;
  76710. if (has_free()) {
  76711. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->free(), output);
  76712. }
  76713. // optional int32 drawEyeEnergy = 5;
  76714. if (has_draweyeenergy()) {
  76715. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->draweyeenergy(), output);
  76716. }
  76717. // optional int32 touchGoldEnergy = 6;
  76718. if (has_touchgoldenergy()) {
  76719. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->touchgoldenergy(), output);
  76720. }
  76721. if (!unknown_fields().empty()) {
  76722. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  76723. unknown_fields(), output);
  76724. }
  76725. }
  76726. ::google::protobuf::uint8* packetw2c_summer_plan_touch_gold_result::SerializeWithCachedSizesToArray(
  76727. ::google::protobuf::uint8* target) const {
  76728. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_touch_gold_result];
  76729. if (has_packet_id()) {
  76730. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  76731. 1, this->packet_id(), target);
  76732. }
  76733. // optional int32 result = 2;
  76734. if (has_result()) {
  76735. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  76736. }
  76737. // optional int32 index = 3;
  76738. if (has_index()) {
  76739. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  76740. }
  76741. // optional bool free = 4;
  76742. if (has_free()) {
  76743. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->free(), target);
  76744. }
  76745. // optional int32 drawEyeEnergy = 5;
  76746. if (has_draweyeenergy()) {
  76747. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->draweyeenergy(), target);
  76748. }
  76749. // optional int32 touchGoldEnergy = 6;
  76750. if (has_touchgoldenergy()) {
  76751. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->touchgoldenergy(), target);
  76752. }
  76753. if (!unknown_fields().empty()) {
  76754. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  76755. unknown_fields(), target);
  76756. }
  76757. return target;
  76758. }
  76759. int packetw2c_summer_plan_touch_gold_result::ByteSize() const {
  76760. int total_size = 0;
  76761. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76762. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_touch_gold_result];
  76763. if (has_packet_id()) {
  76764. total_size += 1 +
  76765. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  76766. }
  76767. // optional int32 result = 2;
  76768. if (has_result()) {
  76769. total_size += 1 +
  76770. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76771. this->result());
  76772. }
  76773. // optional int32 index = 3;
  76774. if (has_index()) {
  76775. total_size += 1 +
  76776. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76777. this->index());
  76778. }
  76779. // optional bool free = 4;
  76780. if (has_free()) {
  76781. total_size += 1 + 1;
  76782. }
  76783. // optional int32 drawEyeEnergy = 5;
  76784. if (has_draweyeenergy()) {
  76785. total_size += 1 +
  76786. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76787. this->draweyeenergy());
  76788. }
  76789. // optional int32 touchGoldEnergy = 6;
  76790. if (has_touchgoldenergy()) {
  76791. total_size += 1 +
  76792. ::google::protobuf::internal::WireFormatLite::Int32Size(
  76793. this->touchgoldenergy());
  76794. }
  76795. }
  76796. if (!unknown_fields().empty()) {
  76797. total_size +=
  76798. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  76799. unknown_fields());
  76800. }
  76801. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  76802. _cached_size_ = total_size;
  76803. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  76804. return total_size;
  76805. }
  76806. void packetw2c_summer_plan_touch_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  76807. GOOGLE_CHECK_NE(&from, this);
  76808. const packetw2c_summer_plan_touch_gold_result* source =
  76809. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_summer_plan_touch_gold_result*>(
  76810. &from);
  76811. if (source == NULL) {
  76812. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  76813. } else {
  76814. MergeFrom(*source);
  76815. }
  76816. }
  76817. void packetw2c_summer_plan_touch_gold_result::MergeFrom(const packetw2c_summer_plan_touch_gold_result& from) {
  76818. GOOGLE_CHECK_NE(&from, this);
  76819. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76820. if (from.has_packet_id()) {
  76821. set_packet_id(from.packet_id());
  76822. }
  76823. if (from.has_result()) {
  76824. set_result(from.result());
  76825. }
  76826. if (from.has_index()) {
  76827. set_index(from.index());
  76828. }
  76829. if (from.has_free()) {
  76830. set_free(from.free());
  76831. }
  76832. if (from.has_draweyeenergy()) {
  76833. set_draweyeenergy(from.draweyeenergy());
  76834. }
  76835. if (from.has_touchgoldenergy()) {
  76836. set_touchgoldenergy(from.touchgoldenergy());
  76837. }
  76838. }
  76839. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  76840. }
  76841. void packetw2c_summer_plan_touch_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  76842. if (&from == this) return;
  76843. Clear();
  76844. MergeFrom(from);
  76845. }
  76846. void packetw2c_summer_plan_touch_gold_result::CopyFrom(const packetw2c_summer_plan_touch_gold_result& from) {
  76847. if (&from == this) return;
  76848. Clear();
  76849. MergeFrom(from);
  76850. }
  76851. bool packetw2c_summer_plan_touch_gold_result::IsInitialized() const {
  76852. return true;
  76853. }
  76854. void packetw2c_summer_plan_touch_gold_result::Swap(packetw2c_summer_plan_touch_gold_result* other) {
  76855. if (other != this) {
  76856. std::swap(packet_id_, other->packet_id_);
  76857. std::swap(result_, other->result_);
  76858. std::swap(index_, other->index_);
  76859. std::swap(free_, other->free_);
  76860. std::swap(draweyeenergy_, other->draweyeenergy_);
  76861. std::swap(touchgoldenergy_, other->touchgoldenergy_);
  76862. std::swap(_has_bits_[0], other->_has_bits_[0]);
  76863. _unknown_fields_.Swap(&other->_unknown_fields_);
  76864. std::swap(_cached_size_, other->_cached_size_);
  76865. }
  76866. }
  76867. ::google::protobuf::Metadata packetw2c_summer_plan_touch_gold_result::GetMetadata() const {
  76868. protobuf_AssignDescriptorsOnce();
  76869. ::google::protobuf::Metadata metadata;
  76870. metadata.descriptor = packetw2c_summer_plan_touch_gold_result_descriptor_;
  76871. metadata.reflection = packetw2c_summer_plan_touch_gold_result_reflection_;
  76872. return metadata;
  76873. }
  76874. // ===================================================================
  76875. #ifndef _MSC_VER
  76876. const int packetw2c_syn_happy_summer_info::kPacketIdFieldNumber;
  76877. const int packetw2c_syn_happy_summer_info::kActivityStateFieldNumber;
  76878. const int packetw2c_syn_happy_summer_info::kStartTimeFieldNumber;
  76879. const int packetw2c_syn_happy_summer_info::kEndTimeFieldNumber;
  76880. const int packetw2c_syn_happy_summer_info::kPointsFieldNumber;
  76881. const int packetw2c_syn_happy_summer_info::kBlindboxkeyFieldNumber;
  76882. const int packetw2c_syn_happy_summer_info::kLotterkeyFieldNumber;
  76883. const int packetw2c_syn_happy_summer_info::kBlindBoxListFieldNumber;
  76884. const int packetw2c_syn_happy_summer_info::kQuestListFieldNumber;
  76885. #endif // !_MSC_VER
  76886. packetw2c_syn_happy_summer_info::packetw2c_syn_happy_summer_info()
  76887. : ::google::protobuf::Message() {
  76888. SharedCtor();
  76889. }
  76890. void packetw2c_syn_happy_summer_info::InitAsDefaultInstance() {
  76891. }
  76892. packetw2c_syn_happy_summer_info::packetw2c_syn_happy_summer_info(const packetw2c_syn_happy_summer_info& from)
  76893. : ::google::protobuf::Message() {
  76894. SharedCtor();
  76895. MergeFrom(from);
  76896. }
  76897. void packetw2c_syn_happy_summer_info::SharedCtor() {
  76898. _cached_size_ = 0;
  76899. packet_id_ = 7822;
  76900. activitystate_ = 0;
  76901. starttime_ = 0;
  76902. endtime_ = 0;
  76903. points_ = 0;
  76904. blindboxkey_ = 0;
  76905. lotterkey_ = 0;
  76906. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  76907. }
  76908. packetw2c_syn_happy_summer_info::~packetw2c_syn_happy_summer_info() {
  76909. SharedDtor();
  76910. }
  76911. void packetw2c_syn_happy_summer_info::SharedDtor() {
  76912. if (this != default_instance_) {
  76913. }
  76914. }
  76915. void packetw2c_syn_happy_summer_info::SetCachedSize(int size) const {
  76916. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  76917. _cached_size_ = size;
  76918. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  76919. }
  76920. const ::google::protobuf::Descriptor* packetw2c_syn_happy_summer_info::descriptor() {
  76921. protobuf_AssignDescriptorsOnce();
  76922. return packetw2c_syn_happy_summer_info_descriptor_;
  76923. }
  76924. const packetw2c_syn_happy_summer_info& packetw2c_syn_happy_summer_info::default_instance() {
  76925. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  76926. return *default_instance_;
  76927. }
  76928. packetw2c_syn_happy_summer_info* packetw2c_syn_happy_summer_info::default_instance_ = NULL;
  76929. packetw2c_syn_happy_summer_info* packetw2c_syn_happy_summer_info::New() const {
  76930. return new packetw2c_syn_happy_summer_info;
  76931. }
  76932. void packetw2c_syn_happy_summer_info::Clear() {
  76933. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  76934. packet_id_ = 7822;
  76935. activitystate_ = 0;
  76936. starttime_ = 0;
  76937. endtime_ = 0;
  76938. points_ = 0;
  76939. blindboxkey_ = 0;
  76940. lotterkey_ = 0;
  76941. }
  76942. blindboxlist_.Clear();
  76943. questlist_.Clear();
  76944. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  76945. mutable_unknown_fields()->Clear();
  76946. }
  76947. bool packetw2c_syn_happy_summer_info::MergePartialFromCodedStream(
  76948. ::google::protobuf::io::CodedInputStream* input) {
  76949. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  76950. ::google::protobuf::uint32 tag;
  76951. while ((tag = input->ReadTag()) != 0) {
  76952. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  76953. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_happy_summer_info];
  76954. case 1: {
  76955. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76956. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76957. int value;
  76958. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76959. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  76960. input, &value)));
  76961. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  76962. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  76963. } else {
  76964. mutable_unknown_fields()->AddVarint(1, value);
  76965. }
  76966. } else {
  76967. goto handle_uninterpreted;
  76968. }
  76969. if (input->ExpectTag(16)) goto parse_activityState;
  76970. break;
  76971. }
  76972. // optional int32 activityState = 2;
  76973. case 2: {
  76974. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76975. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76976. parse_activityState:
  76977. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76978. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76979. input, &activitystate_)));
  76980. set_has_activitystate();
  76981. } else {
  76982. goto handle_uninterpreted;
  76983. }
  76984. if (input->ExpectTag(24)) goto parse_startTime;
  76985. break;
  76986. }
  76987. // optional int32 startTime = 3;
  76988. case 3: {
  76989. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  76990. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  76991. parse_startTime:
  76992. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  76993. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  76994. input, &starttime_)));
  76995. set_has_starttime();
  76996. } else {
  76997. goto handle_uninterpreted;
  76998. }
  76999. if (input->ExpectTag(32)) goto parse_endTime;
  77000. break;
  77001. }
  77002. // optional int32 endTime = 4;
  77003. case 4: {
  77004. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77005. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77006. parse_endTime:
  77007. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77008. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77009. input, &endtime_)));
  77010. set_has_endtime();
  77011. } else {
  77012. goto handle_uninterpreted;
  77013. }
  77014. if (input->ExpectTag(40)) goto parse_points;
  77015. break;
  77016. }
  77017. // optional int32 points = 5;
  77018. case 5: {
  77019. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77020. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77021. parse_points:
  77022. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77023. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77024. input, &points_)));
  77025. set_has_points();
  77026. } else {
  77027. goto handle_uninterpreted;
  77028. }
  77029. if (input->ExpectTag(48)) goto parse_blindboxkey;
  77030. break;
  77031. }
  77032. // optional int32 blindboxkey = 6;
  77033. case 6: {
  77034. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77035. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77036. parse_blindboxkey:
  77037. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77038. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77039. input, &blindboxkey_)));
  77040. set_has_blindboxkey();
  77041. } else {
  77042. goto handle_uninterpreted;
  77043. }
  77044. if (input->ExpectTag(56)) goto parse_lotterkey;
  77045. break;
  77046. }
  77047. // optional int32 lotterkey = 7;
  77048. case 7: {
  77049. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77050. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77051. parse_lotterkey:
  77052. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77053. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77054. input, &lotterkey_)));
  77055. set_has_lotterkey();
  77056. } else {
  77057. goto handle_uninterpreted;
  77058. }
  77059. if (input->ExpectTag(64)) goto parse_blindBoxList;
  77060. break;
  77061. }
  77062. // repeated int32 blindBoxList = 8;
  77063. case 8: {
  77064. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77065. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77066. parse_blindBoxList:
  77067. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  77068. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77069. 1, 64, input, this->mutable_blindboxlist())));
  77070. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  77071. == ::google::protobuf::internal::WireFormatLite::
  77072. WIRETYPE_LENGTH_DELIMITED) {
  77073. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  77074. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77075. input, this->mutable_blindboxlist())));
  77076. } else {
  77077. goto handle_uninterpreted;
  77078. }
  77079. if (input->ExpectTag(64)) goto parse_blindBoxList;
  77080. if (input->ExpectTag(74)) goto parse_questList;
  77081. break;
  77082. }
  77083. // repeated .msg_info_def.msg_quest_info questList = 9;
  77084. case 9: {
  77085. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77086. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  77087. parse_questList:
  77088. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  77089. input, add_questlist()));
  77090. } else {
  77091. goto handle_uninterpreted;
  77092. }
  77093. if (input->ExpectTag(74)) goto parse_questList;
  77094. if (input->ExpectAtEnd()) return true;
  77095. break;
  77096. }
  77097. default: {
  77098. handle_uninterpreted:
  77099. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77100. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  77101. return true;
  77102. }
  77103. DO_(::google::protobuf::internal::WireFormat::SkipField(
  77104. input, tag, mutable_unknown_fields()));
  77105. break;
  77106. }
  77107. }
  77108. }
  77109. return true;
  77110. #undef DO_
  77111. }
  77112. void packetw2c_syn_happy_summer_info::SerializeWithCachedSizes(
  77113. ::google::protobuf::io::CodedOutputStream* output) const {
  77114. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_happy_summer_info];
  77115. if (has_packet_id()) {
  77116. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  77117. 1, this->packet_id(), output);
  77118. }
  77119. // optional int32 activityState = 2;
  77120. if (has_activitystate()) {
  77121. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->activitystate(), output);
  77122. }
  77123. // optional int32 startTime = 3;
  77124. if (has_starttime()) {
  77125. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->starttime(), output);
  77126. }
  77127. // optional int32 endTime = 4;
  77128. if (has_endtime()) {
  77129. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->endtime(), output);
  77130. }
  77131. // optional int32 points = 5;
  77132. if (has_points()) {
  77133. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->points(), output);
  77134. }
  77135. // optional int32 blindboxkey = 6;
  77136. if (has_blindboxkey()) {
  77137. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->blindboxkey(), output);
  77138. }
  77139. // optional int32 lotterkey = 7;
  77140. if (has_lotterkey()) {
  77141. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->lotterkey(), output);
  77142. }
  77143. // repeated int32 blindBoxList = 8;
  77144. for (int i = 0; i < this->blindboxlist_size(); i++) {
  77145. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  77146. 8, this->blindboxlist(i), output);
  77147. }
  77148. // repeated .msg_info_def.msg_quest_info questList = 9;
  77149. for (int i = 0; i < this->questlist_size(); i++) {
  77150. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  77151. 9, this->questlist(i), output);
  77152. }
  77153. if (!unknown_fields().empty()) {
  77154. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  77155. unknown_fields(), output);
  77156. }
  77157. }
  77158. ::google::protobuf::uint8* packetw2c_syn_happy_summer_info::SerializeWithCachedSizesToArray(
  77159. ::google::protobuf::uint8* target) const {
  77160. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_happy_summer_info];
  77161. if (has_packet_id()) {
  77162. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  77163. 1, this->packet_id(), target);
  77164. }
  77165. // optional int32 activityState = 2;
  77166. if (has_activitystate()) {
  77167. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->activitystate(), target);
  77168. }
  77169. // optional int32 startTime = 3;
  77170. if (has_starttime()) {
  77171. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->starttime(), target);
  77172. }
  77173. // optional int32 endTime = 4;
  77174. if (has_endtime()) {
  77175. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->endtime(), target);
  77176. }
  77177. // optional int32 points = 5;
  77178. if (has_points()) {
  77179. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->points(), target);
  77180. }
  77181. // optional int32 blindboxkey = 6;
  77182. if (has_blindboxkey()) {
  77183. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->blindboxkey(), target);
  77184. }
  77185. // optional int32 lotterkey = 7;
  77186. if (has_lotterkey()) {
  77187. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->lotterkey(), target);
  77188. }
  77189. // repeated int32 blindBoxList = 8;
  77190. for (int i = 0; i < this->blindboxlist_size(); i++) {
  77191. target = ::google::protobuf::internal::WireFormatLite::
  77192. WriteInt32ToArray(8, this->blindboxlist(i), target);
  77193. }
  77194. // repeated .msg_info_def.msg_quest_info questList = 9;
  77195. for (int i = 0; i < this->questlist_size(); i++) {
  77196. target = ::google::protobuf::internal::WireFormatLite::
  77197. WriteMessageNoVirtualToArray(
  77198. 9, this->questlist(i), target);
  77199. }
  77200. if (!unknown_fields().empty()) {
  77201. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  77202. unknown_fields(), target);
  77203. }
  77204. return target;
  77205. }
  77206. int packetw2c_syn_happy_summer_info::ByteSize() const {
  77207. int total_size = 0;
  77208. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77209. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_happy_summer_info];
  77210. if (has_packet_id()) {
  77211. total_size += 1 +
  77212. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  77213. }
  77214. // optional int32 activityState = 2;
  77215. if (has_activitystate()) {
  77216. total_size += 1 +
  77217. ::google::protobuf::internal::WireFormatLite::Int32Size(
  77218. this->activitystate());
  77219. }
  77220. // optional int32 startTime = 3;
  77221. if (has_starttime()) {
  77222. total_size += 1 +
  77223. ::google::protobuf::internal::WireFormatLite::Int32Size(
  77224. this->starttime());
  77225. }
  77226. // optional int32 endTime = 4;
  77227. if (has_endtime()) {
  77228. total_size += 1 +
  77229. ::google::protobuf::internal::WireFormatLite::Int32Size(
  77230. this->endtime());
  77231. }
  77232. // optional int32 points = 5;
  77233. if (has_points()) {
  77234. total_size += 1 +
  77235. ::google::protobuf::internal::WireFormatLite::Int32Size(
  77236. this->points());
  77237. }
  77238. // optional int32 blindboxkey = 6;
  77239. if (has_blindboxkey()) {
  77240. total_size += 1 +
  77241. ::google::protobuf::internal::WireFormatLite::Int32Size(
  77242. this->blindboxkey());
  77243. }
  77244. // optional int32 lotterkey = 7;
  77245. if (has_lotterkey()) {
  77246. total_size += 1 +
  77247. ::google::protobuf::internal::WireFormatLite::Int32Size(
  77248. this->lotterkey());
  77249. }
  77250. }
  77251. // repeated int32 blindBoxList = 8;
  77252. {
  77253. int data_size = 0;
  77254. for (int i = 0; i < this->blindboxlist_size(); i++) {
  77255. data_size += ::google::protobuf::internal::WireFormatLite::
  77256. Int32Size(this->blindboxlist(i));
  77257. }
  77258. total_size += 1 * this->blindboxlist_size() + data_size;
  77259. }
  77260. // repeated .msg_info_def.msg_quest_info questList = 9;
  77261. total_size += 1 * this->questlist_size();
  77262. for (int i = 0; i < this->questlist_size(); i++) {
  77263. total_size +=
  77264. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  77265. this->questlist(i));
  77266. }
  77267. if (!unknown_fields().empty()) {
  77268. total_size +=
  77269. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  77270. unknown_fields());
  77271. }
  77272. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  77273. _cached_size_ = total_size;
  77274. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  77275. return total_size;
  77276. }
  77277. void packetw2c_syn_happy_summer_info::MergeFrom(const ::google::protobuf::Message& from) {
  77278. GOOGLE_CHECK_NE(&from, this);
  77279. const packetw2c_syn_happy_summer_info* source =
  77280. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_happy_summer_info*>(
  77281. &from);
  77282. if (source == NULL) {
  77283. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  77284. } else {
  77285. MergeFrom(*source);
  77286. }
  77287. }
  77288. void packetw2c_syn_happy_summer_info::MergeFrom(const packetw2c_syn_happy_summer_info& from) {
  77289. GOOGLE_CHECK_NE(&from, this);
  77290. blindboxlist_.MergeFrom(from.blindboxlist_);
  77291. questlist_.MergeFrom(from.questlist_);
  77292. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77293. if (from.has_packet_id()) {
  77294. set_packet_id(from.packet_id());
  77295. }
  77296. if (from.has_activitystate()) {
  77297. set_activitystate(from.activitystate());
  77298. }
  77299. if (from.has_starttime()) {
  77300. set_starttime(from.starttime());
  77301. }
  77302. if (from.has_endtime()) {
  77303. set_endtime(from.endtime());
  77304. }
  77305. if (from.has_points()) {
  77306. set_points(from.points());
  77307. }
  77308. if (from.has_blindboxkey()) {
  77309. set_blindboxkey(from.blindboxkey());
  77310. }
  77311. if (from.has_lotterkey()) {
  77312. set_lotterkey(from.lotterkey());
  77313. }
  77314. }
  77315. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  77316. }
  77317. void packetw2c_syn_happy_summer_info::CopyFrom(const ::google::protobuf::Message& from) {
  77318. if (&from == this) return;
  77319. Clear();
  77320. MergeFrom(from);
  77321. }
  77322. void packetw2c_syn_happy_summer_info::CopyFrom(const packetw2c_syn_happy_summer_info& from) {
  77323. if (&from == this) return;
  77324. Clear();
  77325. MergeFrom(from);
  77326. }
  77327. bool packetw2c_syn_happy_summer_info::IsInitialized() const {
  77328. return true;
  77329. }
  77330. void packetw2c_syn_happy_summer_info::Swap(packetw2c_syn_happy_summer_info* other) {
  77331. if (other != this) {
  77332. std::swap(packet_id_, other->packet_id_);
  77333. std::swap(activitystate_, other->activitystate_);
  77334. std::swap(starttime_, other->starttime_);
  77335. std::swap(endtime_, other->endtime_);
  77336. std::swap(points_, other->points_);
  77337. std::swap(blindboxkey_, other->blindboxkey_);
  77338. std::swap(lotterkey_, other->lotterkey_);
  77339. blindboxlist_.Swap(&other->blindboxlist_);
  77340. questlist_.Swap(&other->questlist_);
  77341. std::swap(_has_bits_[0], other->_has_bits_[0]);
  77342. _unknown_fields_.Swap(&other->_unknown_fields_);
  77343. std::swap(_cached_size_, other->_cached_size_);
  77344. }
  77345. }
  77346. ::google::protobuf::Metadata packetw2c_syn_happy_summer_info::GetMetadata() const {
  77347. protobuf_AssignDescriptorsOnce();
  77348. ::google::protobuf::Metadata metadata;
  77349. metadata.descriptor = packetw2c_syn_happy_summer_info_descriptor_;
  77350. metadata.reflection = packetw2c_syn_happy_summer_info_reflection_;
  77351. return metadata;
  77352. }
  77353. // ===================================================================
  77354. #ifndef _MSC_VER
  77355. const int packetc2w_get_happy_summer_rank::kPacketIdFieldNumber;
  77356. #endif // !_MSC_VER
  77357. packetc2w_get_happy_summer_rank::packetc2w_get_happy_summer_rank()
  77358. : ::google::protobuf::Message() {
  77359. SharedCtor();
  77360. }
  77361. void packetc2w_get_happy_summer_rank::InitAsDefaultInstance() {
  77362. }
  77363. packetc2w_get_happy_summer_rank::packetc2w_get_happy_summer_rank(const packetc2w_get_happy_summer_rank& from)
  77364. : ::google::protobuf::Message() {
  77365. SharedCtor();
  77366. MergeFrom(from);
  77367. }
  77368. void packetc2w_get_happy_summer_rank::SharedCtor() {
  77369. _cached_size_ = 0;
  77370. packet_id_ = 5271;
  77371. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  77372. }
  77373. packetc2w_get_happy_summer_rank::~packetc2w_get_happy_summer_rank() {
  77374. SharedDtor();
  77375. }
  77376. void packetc2w_get_happy_summer_rank::SharedDtor() {
  77377. if (this != default_instance_) {
  77378. }
  77379. }
  77380. void packetc2w_get_happy_summer_rank::SetCachedSize(int size) const {
  77381. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  77382. _cached_size_ = size;
  77383. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  77384. }
  77385. const ::google::protobuf::Descriptor* packetc2w_get_happy_summer_rank::descriptor() {
  77386. protobuf_AssignDescriptorsOnce();
  77387. return packetc2w_get_happy_summer_rank_descriptor_;
  77388. }
  77389. const packetc2w_get_happy_summer_rank& packetc2w_get_happy_summer_rank::default_instance() {
  77390. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  77391. return *default_instance_;
  77392. }
  77393. packetc2w_get_happy_summer_rank* packetc2w_get_happy_summer_rank::default_instance_ = NULL;
  77394. packetc2w_get_happy_summer_rank* packetc2w_get_happy_summer_rank::New() const {
  77395. return new packetc2w_get_happy_summer_rank;
  77396. }
  77397. void packetc2w_get_happy_summer_rank::Clear() {
  77398. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77399. packet_id_ = 5271;
  77400. }
  77401. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  77402. mutable_unknown_fields()->Clear();
  77403. }
  77404. bool packetc2w_get_happy_summer_rank::MergePartialFromCodedStream(
  77405. ::google::protobuf::io::CodedInputStream* input) {
  77406. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  77407. ::google::protobuf::uint32 tag;
  77408. while ((tag = input->ReadTag()) != 0) {
  77409. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  77410. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
  77411. case 1: {
  77412. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77413. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77414. int value;
  77415. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77416. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  77417. input, &value)));
  77418. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  77419. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  77420. } else {
  77421. mutable_unknown_fields()->AddVarint(1, value);
  77422. }
  77423. } else {
  77424. goto handle_uninterpreted;
  77425. }
  77426. if (input->ExpectAtEnd()) return true;
  77427. break;
  77428. }
  77429. default: {
  77430. handle_uninterpreted:
  77431. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77432. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  77433. return true;
  77434. }
  77435. DO_(::google::protobuf::internal::WireFormat::SkipField(
  77436. input, tag, mutable_unknown_fields()));
  77437. break;
  77438. }
  77439. }
  77440. }
  77441. return true;
  77442. #undef DO_
  77443. }
  77444. void packetc2w_get_happy_summer_rank::SerializeWithCachedSizes(
  77445. ::google::protobuf::io::CodedOutputStream* output) const {
  77446. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
  77447. if (has_packet_id()) {
  77448. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  77449. 1, this->packet_id(), output);
  77450. }
  77451. if (!unknown_fields().empty()) {
  77452. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  77453. unknown_fields(), output);
  77454. }
  77455. }
  77456. ::google::protobuf::uint8* packetc2w_get_happy_summer_rank::SerializeWithCachedSizesToArray(
  77457. ::google::protobuf::uint8* target) const {
  77458. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
  77459. if (has_packet_id()) {
  77460. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  77461. 1, this->packet_id(), target);
  77462. }
  77463. if (!unknown_fields().empty()) {
  77464. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  77465. unknown_fields(), target);
  77466. }
  77467. return target;
  77468. }
  77469. int packetc2w_get_happy_summer_rank::ByteSize() const {
  77470. int total_size = 0;
  77471. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77472. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
  77473. if (has_packet_id()) {
  77474. total_size += 1 +
  77475. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  77476. }
  77477. }
  77478. if (!unknown_fields().empty()) {
  77479. total_size +=
  77480. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  77481. unknown_fields());
  77482. }
  77483. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  77484. _cached_size_ = total_size;
  77485. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  77486. return total_size;
  77487. }
  77488. void packetc2w_get_happy_summer_rank::MergeFrom(const ::google::protobuf::Message& from) {
  77489. GOOGLE_CHECK_NE(&from, this);
  77490. const packetc2w_get_happy_summer_rank* source =
  77491. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_happy_summer_rank*>(
  77492. &from);
  77493. if (source == NULL) {
  77494. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  77495. } else {
  77496. MergeFrom(*source);
  77497. }
  77498. }
  77499. void packetc2w_get_happy_summer_rank::MergeFrom(const packetc2w_get_happy_summer_rank& from) {
  77500. GOOGLE_CHECK_NE(&from, this);
  77501. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77502. if (from.has_packet_id()) {
  77503. set_packet_id(from.packet_id());
  77504. }
  77505. }
  77506. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  77507. }
  77508. void packetc2w_get_happy_summer_rank::CopyFrom(const ::google::protobuf::Message& from) {
  77509. if (&from == this) return;
  77510. Clear();
  77511. MergeFrom(from);
  77512. }
  77513. void packetc2w_get_happy_summer_rank::CopyFrom(const packetc2w_get_happy_summer_rank& from) {
  77514. if (&from == this) return;
  77515. Clear();
  77516. MergeFrom(from);
  77517. }
  77518. bool packetc2w_get_happy_summer_rank::IsInitialized() const {
  77519. return true;
  77520. }
  77521. void packetc2w_get_happy_summer_rank::Swap(packetc2w_get_happy_summer_rank* other) {
  77522. if (other != this) {
  77523. std::swap(packet_id_, other->packet_id_);
  77524. std::swap(_has_bits_[0], other->_has_bits_[0]);
  77525. _unknown_fields_.Swap(&other->_unknown_fields_);
  77526. std::swap(_cached_size_, other->_cached_size_);
  77527. }
  77528. }
  77529. ::google::protobuf::Metadata packetc2w_get_happy_summer_rank::GetMetadata() const {
  77530. protobuf_AssignDescriptorsOnce();
  77531. ::google::protobuf::Metadata metadata;
  77532. metadata.descriptor = packetc2w_get_happy_summer_rank_descriptor_;
  77533. metadata.reflection = packetc2w_get_happy_summer_rank_reflection_;
  77534. return metadata;
  77535. }
  77536. // ===================================================================
  77537. #ifndef _MSC_VER
  77538. const int packetw2c_get_happy_summer_rank_result::kPacketIdFieldNumber;
  77539. const int packetw2c_get_happy_summer_rank_result::kRankListFieldNumber;
  77540. const int packetw2c_get_happy_summer_rank_result::kMyCountFieldNumber;
  77541. const int packetw2c_get_happy_summer_rank_result::kMyRankFieldNumber;
  77542. const int packetw2c_get_happy_summer_rank_result::kThresholdValueFieldNumber;
  77543. #endif // !_MSC_VER
  77544. packetw2c_get_happy_summer_rank_result::packetw2c_get_happy_summer_rank_result()
  77545. : ::google::protobuf::Message() {
  77546. SharedCtor();
  77547. }
  77548. void packetw2c_get_happy_summer_rank_result::InitAsDefaultInstance() {
  77549. }
  77550. packetw2c_get_happy_summer_rank_result::packetw2c_get_happy_summer_rank_result(const packetw2c_get_happy_summer_rank_result& from)
  77551. : ::google::protobuf::Message() {
  77552. SharedCtor();
  77553. MergeFrom(from);
  77554. }
  77555. void packetw2c_get_happy_summer_rank_result::SharedCtor() {
  77556. _cached_size_ = 0;
  77557. packet_id_ = 7823;
  77558. mycount_ = 0;
  77559. myrank_ = 0;
  77560. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  77561. }
  77562. packetw2c_get_happy_summer_rank_result::~packetw2c_get_happy_summer_rank_result() {
  77563. SharedDtor();
  77564. }
  77565. void packetw2c_get_happy_summer_rank_result::SharedDtor() {
  77566. if (this != default_instance_) {
  77567. }
  77568. }
  77569. void packetw2c_get_happy_summer_rank_result::SetCachedSize(int size) const {
  77570. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  77571. _cached_size_ = size;
  77572. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  77573. }
  77574. const ::google::protobuf::Descriptor* packetw2c_get_happy_summer_rank_result::descriptor() {
  77575. protobuf_AssignDescriptorsOnce();
  77576. return packetw2c_get_happy_summer_rank_result_descriptor_;
  77577. }
  77578. const packetw2c_get_happy_summer_rank_result& packetw2c_get_happy_summer_rank_result::default_instance() {
  77579. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  77580. return *default_instance_;
  77581. }
  77582. packetw2c_get_happy_summer_rank_result* packetw2c_get_happy_summer_rank_result::default_instance_ = NULL;
  77583. packetw2c_get_happy_summer_rank_result* packetw2c_get_happy_summer_rank_result::New() const {
  77584. return new packetw2c_get_happy_summer_rank_result;
  77585. }
  77586. void packetw2c_get_happy_summer_rank_result::Clear() {
  77587. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77588. packet_id_ = 7823;
  77589. mycount_ = 0;
  77590. myrank_ = 0;
  77591. }
  77592. ranklist_.Clear();
  77593. thresholdvalue_.Clear();
  77594. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  77595. mutable_unknown_fields()->Clear();
  77596. }
  77597. bool packetw2c_get_happy_summer_rank_result::MergePartialFromCodedStream(
  77598. ::google::protobuf::io::CodedInputStream* input) {
  77599. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  77600. ::google::protobuf::uint32 tag;
  77601. while ((tag = input->ReadTag()) != 0) {
  77602. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  77603. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result];
  77604. case 1: {
  77605. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77606. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77607. int value;
  77608. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77609. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  77610. input, &value)));
  77611. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  77612. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  77613. } else {
  77614. mutable_unknown_fields()->AddVarint(1, value);
  77615. }
  77616. } else {
  77617. goto handle_uninterpreted;
  77618. }
  77619. if (input->ExpectTag(18)) goto parse_rankList;
  77620. break;
  77621. }
  77622. // repeated .client2world_protocols.activity_rank rankList = 2;
  77623. case 2: {
  77624. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77625. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  77626. parse_rankList:
  77627. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  77628. input, add_ranklist()));
  77629. } else {
  77630. goto handle_uninterpreted;
  77631. }
  77632. if (input->ExpectTag(18)) goto parse_rankList;
  77633. if (input->ExpectTag(24)) goto parse_myCount;
  77634. break;
  77635. }
  77636. // optional int32 myCount = 3;
  77637. case 3: {
  77638. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77639. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77640. parse_myCount:
  77641. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77642. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77643. input, &mycount_)));
  77644. set_has_mycount();
  77645. } else {
  77646. goto handle_uninterpreted;
  77647. }
  77648. if (input->ExpectTag(32)) goto parse_myRank;
  77649. break;
  77650. }
  77651. // optional int32 myRank = 4;
  77652. case 4: {
  77653. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77654. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77655. parse_myRank:
  77656. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77657. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77658. input, &myrank_)));
  77659. set_has_myrank();
  77660. } else {
  77661. goto handle_uninterpreted;
  77662. }
  77663. if (input->ExpectTag(40)) goto parse_thresholdValue;
  77664. break;
  77665. }
  77666. // repeated int32 thresholdValue = 5;
  77667. case 5: {
  77668. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77669. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77670. parse_thresholdValue:
  77671. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  77672. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77673. 1, 40, input, this->mutable_thresholdvalue())));
  77674. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  77675. == ::google::protobuf::internal::WireFormatLite::
  77676. WIRETYPE_LENGTH_DELIMITED) {
  77677. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  77678. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77679. input, this->mutable_thresholdvalue())));
  77680. } else {
  77681. goto handle_uninterpreted;
  77682. }
  77683. if (input->ExpectTag(40)) goto parse_thresholdValue;
  77684. if (input->ExpectAtEnd()) return true;
  77685. break;
  77686. }
  77687. default: {
  77688. handle_uninterpreted:
  77689. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77690. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  77691. return true;
  77692. }
  77693. DO_(::google::protobuf::internal::WireFormat::SkipField(
  77694. input, tag, mutable_unknown_fields()));
  77695. break;
  77696. }
  77697. }
  77698. }
  77699. return true;
  77700. #undef DO_
  77701. }
  77702. void packetw2c_get_happy_summer_rank_result::SerializeWithCachedSizes(
  77703. ::google::protobuf::io::CodedOutputStream* output) const {
  77704. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result];
  77705. if (has_packet_id()) {
  77706. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  77707. 1, this->packet_id(), output);
  77708. }
  77709. // repeated .client2world_protocols.activity_rank rankList = 2;
  77710. for (int i = 0; i < this->ranklist_size(); i++) {
  77711. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  77712. 2, this->ranklist(i), output);
  77713. }
  77714. // optional int32 myCount = 3;
  77715. if (has_mycount()) {
  77716. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->mycount(), output);
  77717. }
  77718. // optional int32 myRank = 4;
  77719. if (has_myrank()) {
  77720. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myrank(), output);
  77721. }
  77722. // repeated int32 thresholdValue = 5;
  77723. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  77724. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  77725. 5, this->thresholdvalue(i), output);
  77726. }
  77727. if (!unknown_fields().empty()) {
  77728. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  77729. unknown_fields(), output);
  77730. }
  77731. }
  77732. ::google::protobuf::uint8* packetw2c_get_happy_summer_rank_result::SerializeWithCachedSizesToArray(
  77733. ::google::protobuf::uint8* target) const {
  77734. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result];
  77735. if (has_packet_id()) {
  77736. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  77737. 1, this->packet_id(), target);
  77738. }
  77739. // repeated .client2world_protocols.activity_rank rankList = 2;
  77740. for (int i = 0; i < this->ranklist_size(); i++) {
  77741. target = ::google::protobuf::internal::WireFormatLite::
  77742. WriteMessageNoVirtualToArray(
  77743. 2, this->ranklist(i), target);
  77744. }
  77745. // optional int32 myCount = 3;
  77746. if (has_mycount()) {
  77747. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->mycount(), target);
  77748. }
  77749. // optional int32 myRank = 4;
  77750. if (has_myrank()) {
  77751. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myrank(), target);
  77752. }
  77753. // repeated int32 thresholdValue = 5;
  77754. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  77755. target = ::google::protobuf::internal::WireFormatLite::
  77756. WriteInt32ToArray(5, this->thresholdvalue(i), target);
  77757. }
  77758. if (!unknown_fields().empty()) {
  77759. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  77760. unknown_fields(), target);
  77761. }
  77762. return target;
  77763. }
  77764. int packetw2c_get_happy_summer_rank_result::ByteSize() const {
  77765. int total_size = 0;
  77766. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77767. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result];
  77768. if (has_packet_id()) {
  77769. total_size += 1 +
  77770. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  77771. }
  77772. // optional int32 myCount = 3;
  77773. if (has_mycount()) {
  77774. total_size += 1 +
  77775. ::google::protobuf::internal::WireFormatLite::Int32Size(
  77776. this->mycount());
  77777. }
  77778. // optional int32 myRank = 4;
  77779. if (has_myrank()) {
  77780. total_size += 1 +
  77781. ::google::protobuf::internal::WireFormatLite::Int32Size(
  77782. this->myrank());
  77783. }
  77784. }
  77785. // repeated .client2world_protocols.activity_rank rankList = 2;
  77786. total_size += 1 * this->ranklist_size();
  77787. for (int i = 0; i < this->ranklist_size(); i++) {
  77788. total_size +=
  77789. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  77790. this->ranklist(i));
  77791. }
  77792. // repeated int32 thresholdValue = 5;
  77793. {
  77794. int data_size = 0;
  77795. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  77796. data_size += ::google::protobuf::internal::WireFormatLite::
  77797. Int32Size(this->thresholdvalue(i));
  77798. }
  77799. total_size += 1 * this->thresholdvalue_size() + data_size;
  77800. }
  77801. if (!unknown_fields().empty()) {
  77802. total_size +=
  77803. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  77804. unknown_fields());
  77805. }
  77806. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  77807. _cached_size_ = total_size;
  77808. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  77809. return total_size;
  77810. }
  77811. void packetw2c_get_happy_summer_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  77812. GOOGLE_CHECK_NE(&from, this);
  77813. const packetw2c_get_happy_summer_rank_result* source =
  77814. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_happy_summer_rank_result*>(
  77815. &from);
  77816. if (source == NULL) {
  77817. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  77818. } else {
  77819. MergeFrom(*source);
  77820. }
  77821. }
  77822. void packetw2c_get_happy_summer_rank_result::MergeFrom(const packetw2c_get_happy_summer_rank_result& from) {
  77823. GOOGLE_CHECK_NE(&from, this);
  77824. ranklist_.MergeFrom(from.ranklist_);
  77825. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  77826. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77827. if (from.has_packet_id()) {
  77828. set_packet_id(from.packet_id());
  77829. }
  77830. if (from.has_mycount()) {
  77831. set_mycount(from.mycount());
  77832. }
  77833. if (from.has_myrank()) {
  77834. set_myrank(from.myrank());
  77835. }
  77836. }
  77837. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  77838. }
  77839. void packetw2c_get_happy_summer_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  77840. if (&from == this) return;
  77841. Clear();
  77842. MergeFrom(from);
  77843. }
  77844. void packetw2c_get_happy_summer_rank_result::CopyFrom(const packetw2c_get_happy_summer_rank_result& from) {
  77845. if (&from == this) return;
  77846. Clear();
  77847. MergeFrom(from);
  77848. }
  77849. bool packetw2c_get_happy_summer_rank_result::IsInitialized() const {
  77850. return true;
  77851. }
  77852. void packetw2c_get_happy_summer_rank_result::Swap(packetw2c_get_happy_summer_rank_result* other) {
  77853. if (other != this) {
  77854. std::swap(packet_id_, other->packet_id_);
  77855. ranklist_.Swap(&other->ranklist_);
  77856. std::swap(mycount_, other->mycount_);
  77857. std::swap(myrank_, other->myrank_);
  77858. thresholdvalue_.Swap(&other->thresholdvalue_);
  77859. std::swap(_has_bits_[0], other->_has_bits_[0]);
  77860. _unknown_fields_.Swap(&other->_unknown_fields_);
  77861. std::swap(_cached_size_, other->_cached_size_);
  77862. }
  77863. }
  77864. ::google::protobuf::Metadata packetw2c_get_happy_summer_rank_result::GetMetadata() const {
  77865. protobuf_AssignDescriptorsOnce();
  77866. ::google::protobuf::Metadata metadata;
  77867. metadata.descriptor = packetw2c_get_happy_summer_rank_result_descriptor_;
  77868. metadata.reflection = packetw2c_get_happy_summer_rank_result_reflection_;
  77869. return metadata;
  77870. }
  77871. // ===================================================================
  77872. #ifndef _MSC_VER
  77873. const int packetc2w_happy_summer_open_box::kPacketIdFieldNumber;
  77874. const int packetc2w_happy_summer_open_box::kIndexFieldNumber;
  77875. #endif // !_MSC_VER
  77876. packetc2w_happy_summer_open_box::packetc2w_happy_summer_open_box()
  77877. : ::google::protobuf::Message() {
  77878. SharedCtor();
  77879. }
  77880. void packetc2w_happy_summer_open_box::InitAsDefaultInstance() {
  77881. }
  77882. packetc2w_happy_summer_open_box::packetc2w_happy_summer_open_box(const packetc2w_happy_summer_open_box& from)
  77883. : ::google::protobuf::Message() {
  77884. SharedCtor();
  77885. MergeFrom(from);
  77886. }
  77887. void packetc2w_happy_summer_open_box::SharedCtor() {
  77888. _cached_size_ = 0;
  77889. packet_id_ = 5272;
  77890. index_ = 0;
  77891. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  77892. }
  77893. packetc2w_happy_summer_open_box::~packetc2w_happy_summer_open_box() {
  77894. SharedDtor();
  77895. }
  77896. void packetc2w_happy_summer_open_box::SharedDtor() {
  77897. if (this != default_instance_) {
  77898. }
  77899. }
  77900. void packetc2w_happy_summer_open_box::SetCachedSize(int size) const {
  77901. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  77902. _cached_size_ = size;
  77903. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  77904. }
  77905. const ::google::protobuf::Descriptor* packetc2w_happy_summer_open_box::descriptor() {
  77906. protobuf_AssignDescriptorsOnce();
  77907. return packetc2w_happy_summer_open_box_descriptor_;
  77908. }
  77909. const packetc2w_happy_summer_open_box& packetc2w_happy_summer_open_box::default_instance() {
  77910. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  77911. return *default_instance_;
  77912. }
  77913. packetc2w_happy_summer_open_box* packetc2w_happy_summer_open_box::default_instance_ = NULL;
  77914. packetc2w_happy_summer_open_box* packetc2w_happy_summer_open_box::New() const {
  77915. return new packetc2w_happy_summer_open_box;
  77916. }
  77917. void packetc2w_happy_summer_open_box::Clear() {
  77918. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  77919. packet_id_ = 5272;
  77920. index_ = 0;
  77921. }
  77922. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  77923. mutable_unknown_fields()->Clear();
  77924. }
  77925. bool packetc2w_happy_summer_open_box::MergePartialFromCodedStream(
  77926. ::google::protobuf::io::CodedInputStream* input) {
  77927. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  77928. ::google::protobuf::uint32 tag;
  77929. while ((tag = input->ReadTag()) != 0) {
  77930. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  77931. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_open_box];
  77932. case 1: {
  77933. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77934. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77935. int value;
  77936. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77937. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  77938. input, &value)));
  77939. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  77940. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  77941. } else {
  77942. mutable_unknown_fields()->AddVarint(1, value);
  77943. }
  77944. } else {
  77945. goto handle_uninterpreted;
  77946. }
  77947. if (input->ExpectTag(16)) goto parse_index;
  77948. break;
  77949. }
  77950. // optional int32 index = 2;
  77951. case 2: {
  77952. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77953. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  77954. parse_index:
  77955. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  77956. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  77957. input, &index_)));
  77958. set_has_index();
  77959. } else {
  77960. goto handle_uninterpreted;
  77961. }
  77962. if (input->ExpectAtEnd()) return true;
  77963. break;
  77964. }
  77965. default: {
  77966. handle_uninterpreted:
  77967. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  77968. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  77969. return true;
  77970. }
  77971. DO_(::google::protobuf::internal::WireFormat::SkipField(
  77972. input, tag, mutable_unknown_fields()));
  77973. break;
  77974. }
  77975. }
  77976. }
  77977. return true;
  77978. #undef DO_
  77979. }
  77980. void packetc2w_happy_summer_open_box::SerializeWithCachedSizes(
  77981. ::google::protobuf::io::CodedOutputStream* output) const {
  77982. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_open_box];
  77983. if (has_packet_id()) {
  77984. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  77985. 1, this->packet_id(), output);
  77986. }
  77987. // optional int32 index = 2;
  77988. if (has_index()) {
  77989. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  77990. }
  77991. if (!unknown_fields().empty()) {
  77992. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  77993. unknown_fields(), output);
  77994. }
  77995. }
  77996. ::google::protobuf::uint8* packetc2w_happy_summer_open_box::SerializeWithCachedSizesToArray(
  77997. ::google::protobuf::uint8* target) const {
  77998. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_open_box];
  77999. if (has_packet_id()) {
  78000. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  78001. 1, this->packet_id(), target);
  78002. }
  78003. // optional int32 index = 2;
  78004. if (has_index()) {
  78005. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  78006. }
  78007. if (!unknown_fields().empty()) {
  78008. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  78009. unknown_fields(), target);
  78010. }
  78011. return target;
  78012. }
  78013. int packetc2w_happy_summer_open_box::ByteSize() const {
  78014. int total_size = 0;
  78015. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78016. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_open_box];
  78017. if (has_packet_id()) {
  78018. total_size += 1 +
  78019. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  78020. }
  78021. // optional int32 index = 2;
  78022. if (has_index()) {
  78023. total_size += 1 +
  78024. ::google::protobuf::internal::WireFormatLite::Int32Size(
  78025. this->index());
  78026. }
  78027. }
  78028. if (!unknown_fields().empty()) {
  78029. total_size +=
  78030. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  78031. unknown_fields());
  78032. }
  78033. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  78034. _cached_size_ = total_size;
  78035. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  78036. return total_size;
  78037. }
  78038. void packetc2w_happy_summer_open_box::MergeFrom(const ::google::protobuf::Message& from) {
  78039. GOOGLE_CHECK_NE(&from, this);
  78040. const packetc2w_happy_summer_open_box* source =
  78041. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_happy_summer_open_box*>(
  78042. &from);
  78043. if (source == NULL) {
  78044. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  78045. } else {
  78046. MergeFrom(*source);
  78047. }
  78048. }
  78049. void packetc2w_happy_summer_open_box::MergeFrom(const packetc2w_happy_summer_open_box& from) {
  78050. GOOGLE_CHECK_NE(&from, this);
  78051. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78052. if (from.has_packet_id()) {
  78053. set_packet_id(from.packet_id());
  78054. }
  78055. if (from.has_index()) {
  78056. set_index(from.index());
  78057. }
  78058. }
  78059. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  78060. }
  78061. void packetc2w_happy_summer_open_box::CopyFrom(const ::google::protobuf::Message& from) {
  78062. if (&from == this) return;
  78063. Clear();
  78064. MergeFrom(from);
  78065. }
  78066. void packetc2w_happy_summer_open_box::CopyFrom(const packetc2w_happy_summer_open_box& from) {
  78067. if (&from == this) return;
  78068. Clear();
  78069. MergeFrom(from);
  78070. }
  78071. bool packetc2w_happy_summer_open_box::IsInitialized() const {
  78072. return true;
  78073. }
  78074. void packetc2w_happy_summer_open_box::Swap(packetc2w_happy_summer_open_box* other) {
  78075. if (other != this) {
  78076. std::swap(packet_id_, other->packet_id_);
  78077. std::swap(index_, other->index_);
  78078. std::swap(_has_bits_[0], other->_has_bits_[0]);
  78079. _unknown_fields_.Swap(&other->_unknown_fields_);
  78080. std::swap(_cached_size_, other->_cached_size_);
  78081. }
  78082. }
  78083. ::google::protobuf::Metadata packetc2w_happy_summer_open_box::GetMetadata() const {
  78084. protobuf_AssignDescriptorsOnce();
  78085. ::google::protobuf::Metadata metadata;
  78086. metadata.descriptor = packetc2w_happy_summer_open_box_descriptor_;
  78087. metadata.reflection = packetc2w_happy_summer_open_box_reflection_;
  78088. return metadata;
  78089. }
  78090. // ===================================================================
  78091. #ifndef _MSC_VER
  78092. const int packetw2c_happy_summer_open_box_result::kPacketIdFieldNumber;
  78093. const int packetw2c_happy_summer_open_box_result::kResultFieldNumber;
  78094. const int packetw2c_happy_summer_open_box_result::kIndexFieldNumber;
  78095. const int packetw2c_happy_summer_open_box_result::kItemsFieldNumber;
  78096. const int packetw2c_happy_summer_open_box_result::kCurBlindBoxKeyFieldNumber;
  78097. #endif // !_MSC_VER
  78098. packetw2c_happy_summer_open_box_result::packetw2c_happy_summer_open_box_result()
  78099. : ::google::protobuf::Message() {
  78100. SharedCtor();
  78101. }
  78102. void packetw2c_happy_summer_open_box_result::InitAsDefaultInstance() {
  78103. }
  78104. packetw2c_happy_summer_open_box_result::packetw2c_happy_summer_open_box_result(const packetw2c_happy_summer_open_box_result& from)
  78105. : ::google::protobuf::Message() {
  78106. SharedCtor();
  78107. MergeFrom(from);
  78108. }
  78109. void packetw2c_happy_summer_open_box_result::SharedCtor() {
  78110. _cached_size_ = 0;
  78111. packet_id_ = 7824;
  78112. result_ = 0;
  78113. index_ = 0;
  78114. curblindboxkey_ = 0;
  78115. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  78116. }
  78117. packetw2c_happy_summer_open_box_result::~packetw2c_happy_summer_open_box_result() {
  78118. SharedDtor();
  78119. }
  78120. void packetw2c_happy_summer_open_box_result::SharedDtor() {
  78121. if (this != default_instance_) {
  78122. }
  78123. }
  78124. void packetw2c_happy_summer_open_box_result::SetCachedSize(int size) const {
  78125. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  78126. _cached_size_ = size;
  78127. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  78128. }
  78129. const ::google::protobuf::Descriptor* packetw2c_happy_summer_open_box_result::descriptor() {
  78130. protobuf_AssignDescriptorsOnce();
  78131. return packetw2c_happy_summer_open_box_result_descriptor_;
  78132. }
  78133. const packetw2c_happy_summer_open_box_result& packetw2c_happy_summer_open_box_result::default_instance() {
  78134. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  78135. return *default_instance_;
  78136. }
  78137. packetw2c_happy_summer_open_box_result* packetw2c_happy_summer_open_box_result::default_instance_ = NULL;
  78138. packetw2c_happy_summer_open_box_result* packetw2c_happy_summer_open_box_result::New() const {
  78139. return new packetw2c_happy_summer_open_box_result;
  78140. }
  78141. void packetw2c_happy_summer_open_box_result::Clear() {
  78142. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78143. packet_id_ = 7824;
  78144. result_ = 0;
  78145. index_ = 0;
  78146. curblindboxkey_ = 0;
  78147. }
  78148. items_.Clear();
  78149. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  78150. mutable_unknown_fields()->Clear();
  78151. }
  78152. bool packetw2c_happy_summer_open_box_result::MergePartialFromCodedStream(
  78153. ::google::protobuf::io::CodedInputStream* input) {
  78154. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  78155. ::google::protobuf::uint32 tag;
  78156. while ((tag = input->ReadTag()) != 0) {
  78157. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  78158. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_open_box_result];
  78159. case 1: {
  78160. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78161. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78162. int value;
  78163. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78164. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  78165. input, &value)));
  78166. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  78167. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  78168. } else {
  78169. mutable_unknown_fields()->AddVarint(1, value);
  78170. }
  78171. } else {
  78172. goto handle_uninterpreted;
  78173. }
  78174. if (input->ExpectTag(16)) goto parse_result;
  78175. break;
  78176. }
  78177. // optional int32 result = 2;
  78178. case 2: {
  78179. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78180. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78181. parse_result:
  78182. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78183. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  78184. input, &result_)));
  78185. set_has_result();
  78186. } else {
  78187. goto handle_uninterpreted;
  78188. }
  78189. if (input->ExpectTag(24)) goto parse_index;
  78190. break;
  78191. }
  78192. // optional int32 index = 3;
  78193. case 3: {
  78194. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78195. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78196. parse_index:
  78197. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78198. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  78199. input, &index_)));
  78200. set_has_index();
  78201. } else {
  78202. goto handle_uninterpreted;
  78203. }
  78204. if (input->ExpectTag(32)) goto parse_items;
  78205. break;
  78206. }
  78207. // repeated int32 items = 4;
  78208. case 4: {
  78209. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78210. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78211. parse_items:
  78212. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  78213. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  78214. 1, 32, input, this->mutable_items())));
  78215. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  78216. == ::google::protobuf::internal::WireFormatLite::
  78217. WIRETYPE_LENGTH_DELIMITED) {
  78218. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  78219. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  78220. input, this->mutable_items())));
  78221. } else {
  78222. goto handle_uninterpreted;
  78223. }
  78224. if (input->ExpectTag(32)) goto parse_items;
  78225. if (input->ExpectTag(40)) goto parse_curBlindBoxKey;
  78226. break;
  78227. }
  78228. // optional int32 curBlindBoxKey = 5;
  78229. case 5: {
  78230. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78231. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78232. parse_curBlindBoxKey:
  78233. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78234. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  78235. input, &curblindboxkey_)));
  78236. set_has_curblindboxkey();
  78237. } else {
  78238. goto handle_uninterpreted;
  78239. }
  78240. if (input->ExpectAtEnd()) return true;
  78241. break;
  78242. }
  78243. default: {
  78244. handle_uninterpreted:
  78245. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78246. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  78247. return true;
  78248. }
  78249. DO_(::google::protobuf::internal::WireFormat::SkipField(
  78250. input, tag, mutable_unknown_fields()));
  78251. break;
  78252. }
  78253. }
  78254. }
  78255. return true;
  78256. #undef DO_
  78257. }
  78258. void packetw2c_happy_summer_open_box_result::SerializeWithCachedSizes(
  78259. ::google::protobuf::io::CodedOutputStream* output) const {
  78260. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_open_box_result];
  78261. if (has_packet_id()) {
  78262. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  78263. 1, this->packet_id(), output);
  78264. }
  78265. // optional int32 result = 2;
  78266. if (has_result()) {
  78267. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  78268. }
  78269. // optional int32 index = 3;
  78270. if (has_index()) {
  78271. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  78272. }
  78273. // repeated int32 items = 4;
  78274. for (int i = 0; i < this->items_size(); i++) {
  78275. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  78276. 4, this->items(i), output);
  78277. }
  78278. // optional int32 curBlindBoxKey = 5;
  78279. if (has_curblindboxkey()) {
  78280. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->curblindboxkey(), output);
  78281. }
  78282. if (!unknown_fields().empty()) {
  78283. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  78284. unknown_fields(), output);
  78285. }
  78286. }
  78287. ::google::protobuf::uint8* packetw2c_happy_summer_open_box_result::SerializeWithCachedSizesToArray(
  78288. ::google::protobuf::uint8* target) const {
  78289. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_open_box_result];
  78290. if (has_packet_id()) {
  78291. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  78292. 1, this->packet_id(), target);
  78293. }
  78294. // optional int32 result = 2;
  78295. if (has_result()) {
  78296. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  78297. }
  78298. // optional int32 index = 3;
  78299. if (has_index()) {
  78300. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  78301. }
  78302. // repeated int32 items = 4;
  78303. for (int i = 0; i < this->items_size(); i++) {
  78304. target = ::google::protobuf::internal::WireFormatLite::
  78305. WriteInt32ToArray(4, this->items(i), target);
  78306. }
  78307. // optional int32 curBlindBoxKey = 5;
  78308. if (has_curblindboxkey()) {
  78309. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->curblindboxkey(), target);
  78310. }
  78311. if (!unknown_fields().empty()) {
  78312. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  78313. unknown_fields(), target);
  78314. }
  78315. return target;
  78316. }
  78317. int packetw2c_happy_summer_open_box_result::ByteSize() const {
  78318. int total_size = 0;
  78319. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78320. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_open_box_result];
  78321. if (has_packet_id()) {
  78322. total_size += 1 +
  78323. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  78324. }
  78325. // optional int32 result = 2;
  78326. if (has_result()) {
  78327. total_size += 1 +
  78328. ::google::protobuf::internal::WireFormatLite::Int32Size(
  78329. this->result());
  78330. }
  78331. // optional int32 index = 3;
  78332. if (has_index()) {
  78333. total_size += 1 +
  78334. ::google::protobuf::internal::WireFormatLite::Int32Size(
  78335. this->index());
  78336. }
  78337. // optional int32 curBlindBoxKey = 5;
  78338. if (has_curblindboxkey()) {
  78339. total_size += 1 +
  78340. ::google::protobuf::internal::WireFormatLite::Int32Size(
  78341. this->curblindboxkey());
  78342. }
  78343. }
  78344. // repeated int32 items = 4;
  78345. {
  78346. int data_size = 0;
  78347. for (int i = 0; i < this->items_size(); i++) {
  78348. data_size += ::google::protobuf::internal::WireFormatLite::
  78349. Int32Size(this->items(i));
  78350. }
  78351. total_size += 1 * this->items_size() + data_size;
  78352. }
  78353. if (!unknown_fields().empty()) {
  78354. total_size +=
  78355. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  78356. unknown_fields());
  78357. }
  78358. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  78359. _cached_size_ = total_size;
  78360. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  78361. return total_size;
  78362. }
  78363. void packetw2c_happy_summer_open_box_result::MergeFrom(const ::google::protobuf::Message& from) {
  78364. GOOGLE_CHECK_NE(&from, this);
  78365. const packetw2c_happy_summer_open_box_result* source =
  78366. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_happy_summer_open_box_result*>(
  78367. &from);
  78368. if (source == NULL) {
  78369. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  78370. } else {
  78371. MergeFrom(*source);
  78372. }
  78373. }
  78374. void packetw2c_happy_summer_open_box_result::MergeFrom(const packetw2c_happy_summer_open_box_result& from) {
  78375. GOOGLE_CHECK_NE(&from, this);
  78376. items_.MergeFrom(from.items_);
  78377. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78378. if (from.has_packet_id()) {
  78379. set_packet_id(from.packet_id());
  78380. }
  78381. if (from.has_result()) {
  78382. set_result(from.result());
  78383. }
  78384. if (from.has_index()) {
  78385. set_index(from.index());
  78386. }
  78387. if (from.has_curblindboxkey()) {
  78388. set_curblindboxkey(from.curblindboxkey());
  78389. }
  78390. }
  78391. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  78392. }
  78393. void packetw2c_happy_summer_open_box_result::CopyFrom(const ::google::protobuf::Message& from) {
  78394. if (&from == this) return;
  78395. Clear();
  78396. MergeFrom(from);
  78397. }
  78398. void packetw2c_happy_summer_open_box_result::CopyFrom(const packetw2c_happy_summer_open_box_result& from) {
  78399. if (&from == this) return;
  78400. Clear();
  78401. MergeFrom(from);
  78402. }
  78403. bool packetw2c_happy_summer_open_box_result::IsInitialized() const {
  78404. return true;
  78405. }
  78406. void packetw2c_happy_summer_open_box_result::Swap(packetw2c_happy_summer_open_box_result* other) {
  78407. if (other != this) {
  78408. std::swap(packet_id_, other->packet_id_);
  78409. std::swap(result_, other->result_);
  78410. std::swap(index_, other->index_);
  78411. items_.Swap(&other->items_);
  78412. std::swap(curblindboxkey_, other->curblindboxkey_);
  78413. std::swap(_has_bits_[0], other->_has_bits_[0]);
  78414. _unknown_fields_.Swap(&other->_unknown_fields_);
  78415. std::swap(_cached_size_, other->_cached_size_);
  78416. }
  78417. }
  78418. ::google::protobuf::Metadata packetw2c_happy_summer_open_box_result::GetMetadata() const {
  78419. protobuf_AssignDescriptorsOnce();
  78420. ::google::protobuf::Metadata metadata;
  78421. metadata.descriptor = packetw2c_happy_summer_open_box_result_descriptor_;
  78422. metadata.reflection = packetw2c_happy_summer_open_box_result_reflection_;
  78423. return metadata;
  78424. }
  78425. // ===================================================================
  78426. #ifndef _MSC_VER
  78427. const int packetc2w_happy_summer_lottery::kPacketIdFieldNumber;
  78428. const int packetc2w_happy_summer_lottery::kAllFieldNumber;
  78429. #endif // !_MSC_VER
  78430. packetc2w_happy_summer_lottery::packetc2w_happy_summer_lottery()
  78431. : ::google::protobuf::Message() {
  78432. SharedCtor();
  78433. }
  78434. void packetc2w_happy_summer_lottery::InitAsDefaultInstance() {
  78435. }
  78436. packetc2w_happy_summer_lottery::packetc2w_happy_summer_lottery(const packetc2w_happy_summer_lottery& from)
  78437. : ::google::protobuf::Message() {
  78438. SharedCtor();
  78439. MergeFrom(from);
  78440. }
  78441. void packetc2w_happy_summer_lottery::SharedCtor() {
  78442. _cached_size_ = 0;
  78443. packet_id_ = 5273;
  78444. all_ = false;
  78445. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  78446. }
  78447. packetc2w_happy_summer_lottery::~packetc2w_happy_summer_lottery() {
  78448. SharedDtor();
  78449. }
  78450. void packetc2w_happy_summer_lottery::SharedDtor() {
  78451. if (this != default_instance_) {
  78452. }
  78453. }
  78454. void packetc2w_happy_summer_lottery::SetCachedSize(int size) const {
  78455. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  78456. _cached_size_ = size;
  78457. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  78458. }
  78459. const ::google::protobuf::Descriptor* packetc2w_happy_summer_lottery::descriptor() {
  78460. protobuf_AssignDescriptorsOnce();
  78461. return packetc2w_happy_summer_lottery_descriptor_;
  78462. }
  78463. const packetc2w_happy_summer_lottery& packetc2w_happy_summer_lottery::default_instance() {
  78464. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  78465. return *default_instance_;
  78466. }
  78467. packetc2w_happy_summer_lottery* packetc2w_happy_summer_lottery::default_instance_ = NULL;
  78468. packetc2w_happy_summer_lottery* packetc2w_happy_summer_lottery::New() const {
  78469. return new packetc2w_happy_summer_lottery;
  78470. }
  78471. void packetc2w_happy_summer_lottery::Clear() {
  78472. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78473. packet_id_ = 5273;
  78474. all_ = false;
  78475. }
  78476. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  78477. mutable_unknown_fields()->Clear();
  78478. }
  78479. bool packetc2w_happy_summer_lottery::MergePartialFromCodedStream(
  78480. ::google::protobuf::io::CodedInputStream* input) {
  78481. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  78482. ::google::protobuf::uint32 tag;
  78483. while ((tag = input->ReadTag()) != 0) {
  78484. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  78485. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_lottery];
  78486. case 1: {
  78487. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78488. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78489. int value;
  78490. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78491. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  78492. input, &value)));
  78493. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  78494. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  78495. } else {
  78496. mutable_unknown_fields()->AddVarint(1, value);
  78497. }
  78498. } else {
  78499. goto handle_uninterpreted;
  78500. }
  78501. if (input->ExpectTag(16)) goto parse_all;
  78502. break;
  78503. }
  78504. // optional bool all = 2;
  78505. case 2: {
  78506. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78507. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78508. parse_all:
  78509. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78510. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  78511. input, &all_)));
  78512. set_has_all();
  78513. } else {
  78514. goto handle_uninterpreted;
  78515. }
  78516. if (input->ExpectAtEnd()) return true;
  78517. break;
  78518. }
  78519. default: {
  78520. handle_uninterpreted:
  78521. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78522. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  78523. return true;
  78524. }
  78525. DO_(::google::protobuf::internal::WireFormat::SkipField(
  78526. input, tag, mutable_unknown_fields()));
  78527. break;
  78528. }
  78529. }
  78530. }
  78531. return true;
  78532. #undef DO_
  78533. }
  78534. void packetc2w_happy_summer_lottery::SerializeWithCachedSizes(
  78535. ::google::protobuf::io::CodedOutputStream* output) const {
  78536. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_lottery];
  78537. if (has_packet_id()) {
  78538. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  78539. 1, this->packet_id(), output);
  78540. }
  78541. // optional bool all = 2;
  78542. if (has_all()) {
  78543. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->all(), output);
  78544. }
  78545. if (!unknown_fields().empty()) {
  78546. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  78547. unknown_fields(), output);
  78548. }
  78549. }
  78550. ::google::protobuf::uint8* packetc2w_happy_summer_lottery::SerializeWithCachedSizesToArray(
  78551. ::google::protobuf::uint8* target) const {
  78552. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_lottery];
  78553. if (has_packet_id()) {
  78554. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  78555. 1, this->packet_id(), target);
  78556. }
  78557. // optional bool all = 2;
  78558. if (has_all()) {
  78559. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->all(), target);
  78560. }
  78561. if (!unknown_fields().empty()) {
  78562. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  78563. unknown_fields(), target);
  78564. }
  78565. return target;
  78566. }
  78567. int packetc2w_happy_summer_lottery::ByteSize() const {
  78568. int total_size = 0;
  78569. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78570. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_lottery];
  78571. if (has_packet_id()) {
  78572. total_size += 1 +
  78573. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  78574. }
  78575. // optional bool all = 2;
  78576. if (has_all()) {
  78577. total_size += 1 + 1;
  78578. }
  78579. }
  78580. if (!unknown_fields().empty()) {
  78581. total_size +=
  78582. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  78583. unknown_fields());
  78584. }
  78585. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  78586. _cached_size_ = total_size;
  78587. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  78588. return total_size;
  78589. }
  78590. void packetc2w_happy_summer_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  78591. GOOGLE_CHECK_NE(&from, this);
  78592. const packetc2w_happy_summer_lottery* source =
  78593. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_happy_summer_lottery*>(
  78594. &from);
  78595. if (source == NULL) {
  78596. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  78597. } else {
  78598. MergeFrom(*source);
  78599. }
  78600. }
  78601. void packetc2w_happy_summer_lottery::MergeFrom(const packetc2w_happy_summer_lottery& from) {
  78602. GOOGLE_CHECK_NE(&from, this);
  78603. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78604. if (from.has_packet_id()) {
  78605. set_packet_id(from.packet_id());
  78606. }
  78607. if (from.has_all()) {
  78608. set_all(from.all());
  78609. }
  78610. }
  78611. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  78612. }
  78613. void packetc2w_happy_summer_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  78614. if (&from == this) return;
  78615. Clear();
  78616. MergeFrom(from);
  78617. }
  78618. void packetc2w_happy_summer_lottery::CopyFrom(const packetc2w_happy_summer_lottery& from) {
  78619. if (&from == this) return;
  78620. Clear();
  78621. MergeFrom(from);
  78622. }
  78623. bool packetc2w_happy_summer_lottery::IsInitialized() const {
  78624. return true;
  78625. }
  78626. void packetc2w_happy_summer_lottery::Swap(packetc2w_happy_summer_lottery* other) {
  78627. if (other != this) {
  78628. std::swap(packet_id_, other->packet_id_);
  78629. std::swap(all_, other->all_);
  78630. std::swap(_has_bits_[0], other->_has_bits_[0]);
  78631. _unknown_fields_.Swap(&other->_unknown_fields_);
  78632. std::swap(_cached_size_, other->_cached_size_);
  78633. }
  78634. }
  78635. ::google::protobuf::Metadata packetc2w_happy_summer_lottery::GetMetadata() const {
  78636. protobuf_AssignDescriptorsOnce();
  78637. ::google::protobuf::Metadata metadata;
  78638. metadata.descriptor = packetc2w_happy_summer_lottery_descriptor_;
  78639. metadata.reflection = packetc2w_happy_summer_lottery_reflection_;
  78640. return metadata;
  78641. }
  78642. // ===================================================================
  78643. #ifndef _MSC_VER
  78644. const int packetw2c_happy_summer_lottery_result::kPacketIdFieldNumber;
  78645. const int packetw2c_happy_summer_lottery_result::kAllFieldNumber;
  78646. const int packetw2c_happy_summer_lottery_result::kResultFieldNumber;
  78647. const int packetw2c_happy_summer_lottery_result::kRewardIndexFieldNumber;
  78648. #endif // !_MSC_VER
  78649. packetw2c_happy_summer_lottery_result::packetw2c_happy_summer_lottery_result()
  78650. : ::google::protobuf::Message() {
  78651. SharedCtor();
  78652. }
  78653. void packetw2c_happy_summer_lottery_result::InitAsDefaultInstance() {
  78654. }
  78655. packetw2c_happy_summer_lottery_result::packetw2c_happy_summer_lottery_result(const packetw2c_happy_summer_lottery_result& from)
  78656. : ::google::protobuf::Message() {
  78657. SharedCtor();
  78658. MergeFrom(from);
  78659. }
  78660. void packetw2c_happy_summer_lottery_result::SharedCtor() {
  78661. _cached_size_ = 0;
  78662. packet_id_ = 7825;
  78663. all_ = false;
  78664. result_ = 0;
  78665. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  78666. }
  78667. packetw2c_happy_summer_lottery_result::~packetw2c_happy_summer_lottery_result() {
  78668. SharedDtor();
  78669. }
  78670. void packetw2c_happy_summer_lottery_result::SharedDtor() {
  78671. if (this != default_instance_) {
  78672. }
  78673. }
  78674. void packetw2c_happy_summer_lottery_result::SetCachedSize(int size) const {
  78675. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  78676. _cached_size_ = size;
  78677. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  78678. }
  78679. const ::google::protobuf::Descriptor* packetw2c_happy_summer_lottery_result::descriptor() {
  78680. protobuf_AssignDescriptorsOnce();
  78681. return packetw2c_happy_summer_lottery_result_descriptor_;
  78682. }
  78683. const packetw2c_happy_summer_lottery_result& packetw2c_happy_summer_lottery_result::default_instance() {
  78684. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  78685. return *default_instance_;
  78686. }
  78687. packetw2c_happy_summer_lottery_result* packetw2c_happy_summer_lottery_result::default_instance_ = NULL;
  78688. packetw2c_happy_summer_lottery_result* packetw2c_happy_summer_lottery_result::New() const {
  78689. return new packetw2c_happy_summer_lottery_result;
  78690. }
  78691. void packetw2c_happy_summer_lottery_result::Clear() {
  78692. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78693. packet_id_ = 7825;
  78694. all_ = false;
  78695. result_ = 0;
  78696. }
  78697. rewardindex_.Clear();
  78698. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  78699. mutable_unknown_fields()->Clear();
  78700. }
  78701. bool packetw2c_happy_summer_lottery_result::MergePartialFromCodedStream(
  78702. ::google::protobuf::io::CodedInputStream* input) {
  78703. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  78704. ::google::protobuf::uint32 tag;
  78705. while ((tag = input->ReadTag()) != 0) {
  78706. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  78707. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_lottery_result];
  78708. case 1: {
  78709. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78710. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78711. int value;
  78712. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78713. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  78714. input, &value)));
  78715. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  78716. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  78717. } else {
  78718. mutable_unknown_fields()->AddVarint(1, value);
  78719. }
  78720. } else {
  78721. goto handle_uninterpreted;
  78722. }
  78723. if (input->ExpectTag(16)) goto parse_all;
  78724. break;
  78725. }
  78726. // optional bool all = 2;
  78727. case 2: {
  78728. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78729. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78730. parse_all:
  78731. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78732. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  78733. input, &all_)));
  78734. set_has_all();
  78735. } else {
  78736. goto handle_uninterpreted;
  78737. }
  78738. if (input->ExpectTag(24)) goto parse_result;
  78739. break;
  78740. }
  78741. // optional int32 result = 3;
  78742. case 3: {
  78743. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78744. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78745. parse_result:
  78746. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  78747. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  78748. input, &result_)));
  78749. set_has_result();
  78750. } else {
  78751. goto handle_uninterpreted;
  78752. }
  78753. if (input->ExpectTag(32)) goto parse_rewardIndex;
  78754. break;
  78755. }
  78756. // repeated int32 rewardIndex = 4;
  78757. case 4: {
  78758. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78759. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  78760. parse_rewardIndex:
  78761. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  78762. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  78763. 1, 32, input, this->mutable_rewardindex())));
  78764. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  78765. == ::google::protobuf::internal::WireFormatLite::
  78766. WIRETYPE_LENGTH_DELIMITED) {
  78767. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  78768. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  78769. input, this->mutable_rewardindex())));
  78770. } else {
  78771. goto handle_uninterpreted;
  78772. }
  78773. if (input->ExpectTag(32)) goto parse_rewardIndex;
  78774. if (input->ExpectAtEnd()) return true;
  78775. break;
  78776. }
  78777. default: {
  78778. handle_uninterpreted:
  78779. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  78780. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  78781. return true;
  78782. }
  78783. DO_(::google::protobuf::internal::WireFormat::SkipField(
  78784. input, tag, mutable_unknown_fields()));
  78785. break;
  78786. }
  78787. }
  78788. }
  78789. return true;
  78790. #undef DO_
  78791. }
  78792. void packetw2c_happy_summer_lottery_result::SerializeWithCachedSizes(
  78793. ::google::protobuf::io::CodedOutputStream* output) const {
  78794. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_lottery_result];
  78795. if (has_packet_id()) {
  78796. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  78797. 1, this->packet_id(), output);
  78798. }
  78799. // optional bool all = 2;
  78800. if (has_all()) {
  78801. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->all(), output);
  78802. }
  78803. // optional int32 result = 3;
  78804. if (has_result()) {
  78805. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  78806. }
  78807. // repeated int32 rewardIndex = 4;
  78808. for (int i = 0; i < this->rewardindex_size(); i++) {
  78809. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  78810. 4, this->rewardindex(i), output);
  78811. }
  78812. if (!unknown_fields().empty()) {
  78813. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  78814. unknown_fields(), output);
  78815. }
  78816. }
  78817. ::google::protobuf::uint8* packetw2c_happy_summer_lottery_result::SerializeWithCachedSizesToArray(
  78818. ::google::protobuf::uint8* target) const {
  78819. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_lottery_result];
  78820. if (has_packet_id()) {
  78821. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  78822. 1, this->packet_id(), target);
  78823. }
  78824. // optional bool all = 2;
  78825. if (has_all()) {
  78826. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->all(), target);
  78827. }
  78828. // optional int32 result = 3;
  78829. if (has_result()) {
  78830. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  78831. }
  78832. // repeated int32 rewardIndex = 4;
  78833. for (int i = 0; i < this->rewardindex_size(); i++) {
  78834. target = ::google::protobuf::internal::WireFormatLite::
  78835. WriteInt32ToArray(4, this->rewardindex(i), target);
  78836. }
  78837. if (!unknown_fields().empty()) {
  78838. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  78839. unknown_fields(), target);
  78840. }
  78841. return target;
  78842. }
  78843. int packetw2c_happy_summer_lottery_result::ByteSize() const {
  78844. int total_size = 0;
  78845. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78846. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_lottery_result];
  78847. if (has_packet_id()) {
  78848. total_size += 1 +
  78849. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  78850. }
  78851. // optional bool all = 2;
  78852. if (has_all()) {
  78853. total_size += 1 + 1;
  78854. }
  78855. // optional int32 result = 3;
  78856. if (has_result()) {
  78857. total_size += 1 +
  78858. ::google::protobuf::internal::WireFormatLite::Int32Size(
  78859. this->result());
  78860. }
  78861. }
  78862. // repeated int32 rewardIndex = 4;
  78863. {
  78864. int data_size = 0;
  78865. for (int i = 0; i < this->rewardindex_size(); i++) {
  78866. data_size += ::google::protobuf::internal::WireFormatLite::
  78867. Int32Size(this->rewardindex(i));
  78868. }
  78869. total_size += 1 * this->rewardindex_size() + data_size;
  78870. }
  78871. if (!unknown_fields().empty()) {
  78872. total_size +=
  78873. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  78874. unknown_fields());
  78875. }
  78876. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  78877. _cached_size_ = total_size;
  78878. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  78879. return total_size;
  78880. }
  78881. void packetw2c_happy_summer_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  78882. GOOGLE_CHECK_NE(&from, this);
  78883. const packetw2c_happy_summer_lottery_result* source =
  78884. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_happy_summer_lottery_result*>(
  78885. &from);
  78886. if (source == NULL) {
  78887. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  78888. } else {
  78889. MergeFrom(*source);
  78890. }
  78891. }
  78892. void packetw2c_happy_summer_lottery_result::MergeFrom(const packetw2c_happy_summer_lottery_result& from) {
  78893. GOOGLE_CHECK_NE(&from, this);
  78894. rewardindex_.MergeFrom(from.rewardindex_);
  78895. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78896. if (from.has_packet_id()) {
  78897. set_packet_id(from.packet_id());
  78898. }
  78899. if (from.has_all()) {
  78900. set_all(from.all());
  78901. }
  78902. if (from.has_result()) {
  78903. set_result(from.result());
  78904. }
  78905. }
  78906. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  78907. }
  78908. void packetw2c_happy_summer_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  78909. if (&from == this) return;
  78910. Clear();
  78911. MergeFrom(from);
  78912. }
  78913. void packetw2c_happy_summer_lottery_result::CopyFrom(const packetw2c_happy_summer_lottery_result& from) {
  78914. if (&from == this) return;
  78915. Clear();
  78916. MergeFrom(from);
  78917. }
  78918. bool packetw2c_happy_summer_lottery_result::IsInitialized() const {
  78919. return true;
  78920. }
  78921. void packetw2c_happy_summer_lottery_result::Swap(packetw2c_happy_summer_lottery_result* other) {
  78922. if (other != this) {
  78923. std::swap(packet_id_, other->packet_id_);
  78924. std::swap(all_, other->all_);
  78925. std::swap(result_, other->result_);
  78926. rewardindex_.Swap(&other->rewardindex_);
  78927. std::swap(_has_bits_[0], other->_has_bits_[0]);
  78928. _unknown_fields_.Swap(&other->_unknown_fields_);
  78929. std::swap(_cached_size_, other->_cached_size_);
  78930. }
  78931. }
  78932. ::google::protobuf::Metadata packetw2c_happy_summer_lottery_result::GetMetadata() const {
  78933. protobuf_AssignDescriptorsOnce();
  78934. ::google::protobuf::Metadata metadata;
  78935. metadata.descriptor = packetw2c_happy_summer_lottery_result_descriptor_;
  78936. metadata.reflection = packetw2c_happy_summer_lottery_result_reflection_;
  78937. return metadata;
  78938. }
  78939. // ===================================================================
  78940. #ifndef _MSC_VER
  78941. const int packetc2w_recv_happy_summer_quest_award::kPacketIdFieldNumber;
  78942. const int packetc2w_recv_happy_summer_quest_award::kQuestIdFieldNumber;
  78943. #endif // !_MSC_VER
  78944. packetc2w_recv_happy_summer_quest_award::packetc2w_recv_happy_summer_quest_award()
  78945. : ::google::protobuf::Message() {
  78946. SharedCtor();
  78947. }
  78948. void packetc2w_recv_happy_summer_quest_award::InitAsDefaultInstance() {
  78949. }
  78950. packetc2w_recv_happy_summer_quest_award::packetc2w_recv_happy_summer_quest_award(const packetc2w_recv_happy_summer_quest_award& from)
  78951. : ::google::protobuf::Message() {
  78952. SharedCtor();
  78953. MergeFrom(from);
  78954. }
  78955. void packetc2w_recv_happy_summer_quest_award::SharedCtor() {
  78956. _cached_size_ = 0;
  78957. packet_id_ = 5274;
  78958. questid_ = 0;
  78959. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  78960. }
  78961. packetc2w_recv_happy_summer_quest_award::~packetc2w_recv_happy_summer_quest_award() {
  78962. SharedDtor();
  78963. }
  78964. void packetc2w_recv_happy_summer_quest_award::SharedDtor() {
  78965. if (this != default_instance_) {
  78966. }
  78967. }
  78968. void packetc2w_recv_happy_summer_quest_award::SetCachedSize(int size) const {
  78969. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  78970. _cached_size_ = size;
  78971. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  78972. }
  78973. const ::google::protobuf::Descriptor* packetc2w_recv_happy_summer_quest_award::descriptor() {
  78974. protobuf_AssignDescriptorsOnce();
  78975. return packetc2w_recv_happy_summer_quest_award_descriptor_;
  78976. }
  78977. const packetc2w_recv_happy_summer_quest_award& packetc2w_recv_happy_summer_quest_award::default_instance() {
  78978. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  78979. return *default_instance_;
  78980. }
  78981. packetc2w_recv_happy_summer_quest_award* packetc2w_recv_happy_summer_quest_award::default_instance_ = NULL;
  78982. packetc2w_recv_happy_summer_quest_award* packetc2w_recv_happy_summer_quest_award::New() const {
  78983. return new packetc2w_recv_happy_summer_quest_award;
  78984. }
  78985. void packetc2w_recv_happy_summer_quest_award::Clear() {
  78986. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  78987. packet_id_ = 5274;
  78988. questid_ = 0;
  78989. }
  78990. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  78991. mutable_unknown_fields()->Clear();
  78992. }
  78993. bool packetc2w_recv_happy_summer_quest_award::MergePartialFromCodedStream(
  78994. ::google::protobuf::io::CodedInputStream* input) {
  78995. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  78996. ::google::protobuf::uint32 tag;
  78997. while ((tag = input->ReadTag()) != 0) {
  78998. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  78999. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_happy_summer_quest_award];
  79000. case 1: {
  79001. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79002. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  79003. int value;
  79004. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  79005. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  79006. input, &value)));
  79007. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  79008. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  79009. } else {
  79010. mutable_unknown_fields()->AddVarint(1, value);
  79011. }
  79012. } else {
  79013. goto handle_uninterpreted;
  79014. }
  79015. if (input->ExpectTag(16)) goto parse_questId;
  79016. break;
  79017. }
  79018. // optional int32 questId = 2;
  79019. case 2: {
  79020. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79021. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  79022. parse_questId:
  79023. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  79024. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  79025. input, &questid_)));
  79026. set_has_questid();
  79027. } else {
  79028. goto handle_uninterpreted;
  79029. }
  79030. if (input->ExpectAtEnd()) return true;
  79031. break;
  79032. }
  79033. default: {
  79034. handle_uninterpreted:
  79035. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79036. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  79037. return true;
  79038. }
  79039. DO_(::google::protobuf::internal::WireFormat::SkipField(
  79040. input, tag, mutable_unknown_fields()));
  79041. break;
  79042. }
  79043. }
  79044. }
  79045. return true;
  79046. #undef DO_
  79047. }
  79048. void packetc2w_recv_happy_summer_quest_award::SerializeWithCachedSizes(
  79049. ::google::protobuf::io::CodedOutputStream* output) const {
  79050. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_happy_summer_quest_award];
  79051. if (has_packet_id()) {
  79052. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  79053. 1, this->packet_id(), output);
  79054. }
  79055. // optional int32 questId = 2;
  79056. if (has_questid()) {
  79057. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->questid(), output);
  79058. }
  79059. if (!unknown_fields().empty()) {
  79060. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  79061. unknown_fields(), output);
  79062. }
  79063. }
  79064. ::google::protobuf::uint8* packetc2w_recv_happy_summer_quest_award::SerializeWithCachedSizesToArray(
  79065. ::google::protobuf::uint8* target) const {
  79066. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_happy_summer_quest_award];
  79067. if (has_packet_id()) {
  79068. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  79069. 1, this->packet_id(), target);
  79070. }
  79071. // optional int32 questId = 2;
  79072. if (has_questid()) {
  79073. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->questid(), target);
  79074. }
  79075. if (!unknown_fields().empty()) {
  79076. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  79077. unknown_fields(), target);
  79078. }
  79079. return target;
  79080. }
  79081. int packetc2w_recv_happy_summer_quest_award::ByteSize() const {
  79082. int total_size = 0;
  79083. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79084. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_happy_summer_quest_award];
  79085. if (has_packet_id()) {
  79086. total_size += 1 +
  79087. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  79088. }
  79089. // optional int32 questId = 2;
  79090. if (has_questid()) {
  79091. total_size += 1 +
  79092. ::google::protobuf::internal::WireFormatLite::Int32Size(
  79093. this->questid());
  79094. }
  79095. }
  79096. if (!unknown_fields().empty()) {
  79097. total_size +=
  79098. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  79099. unknown_fields());
  79100. }
  79101. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  79102. _cached_size_ = total_size;
  79103. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  79104. return total_size;
  79105. }
  79106. void packetc2w_recv_happy_summer_quest_award::MergeFrom(const ::google::protobuf::Message& from) {
  79107. GOOGLE_CHECK_NE(&from, this);
  79108. const packetc2w_recv_happy_summer_quest_award* source =
  79109. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_happy_summer_quest_award*>(
  79110. &from);
  79111. if (source == NULL) {
  79112. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  79113. } else {
  79114. MergeFrom(*source);
  79115. }
  79116. }
  79117. void packetc2w_recv_happy_summer_quest_award::MergeFrom(const packetc2w_recv_happy_summer_quest_award& from) {
  79118. GOOGLE_CHECK_NE(&from, this);
  79119. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79120. if (from.has_packet_id()) {
  79121. set_packet_id(from.packet_id());
  79122. }
  79123. if (from.has_questid()) {
  79124. set_questid(from.questid());
  79125. }
  79126. }
  79127. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  79128. }
  79129. void packetc2w_recv_happy_summer_quest_award::CopyFrom(const ::google::protobuf::Message& from) {
  79130. if (&from == this) return;
  79131. Clear();
  79132. MergeFrom(from);
  79133. }
  79134. void packetc2w_recv_happy_summer_quest_award::CopyFrom(const packetc2w_recv_happy_summer_quest_award& from) {
  79135. if (&from == this) return;
  79136. Clear();
  79137. MergeFrom(from);
  79138. }
  79139. bool packetc2w_recv_happy_summer_quest_award::IsInitialized() const {
  79140. return true;
  79141. }
  79142. void packetc2w_recv_happy_summer_quest_award::Swap(packetc2w_recv_happy_summer_quest_award* other) {
  79143. if (other != this) {
  79144. std::swap(packet_id_, other->packet_id_);
  79145. std::swap(questid_, other->questid_);
  79146. std::swap(_has_bits_[0], other->_has_bits_[0]);
  79147. _unknown_fields_.Swap(&other->_unknown_fields_);
  79148. std::swap(_cached_size_, other->_cached_size_);
  79149. }
  79150. }
  79151. ::google::protobuf::Metadata packetc2w_recv_happy_summer_quest_award::GetMetadata() const {
  79152. protobuf_AssignDescriptorsOnce();
  79153. ::google::protobuf::Metadata metadata;
  79154. metadata.descriptor = packetc2w_recv_happy_summer_quest_award_descriptor_;
  79155. metadata.reflection = packetc2w_recv_happy_summer_quest_award_reflection_;
  79156. return metadata;
  79157. }
  79158. // ===================================================================
  79159. #ifndef _MSC_VER
  79160. const int packetw2c_recv_happy_summer_quest_award_result::kPacketIdFieldNumber;
  79161. const int packetw2c_recv_happy_summer_quest_award_result::kResultFieldNumber;
  79162. const int packetw2c_recv_happy_summer_quest_award_result::kQuestIdFieldNumber;
  79163. #endif // !_MSC_VER
  79164. packetw2c_recv_happy_summer_quest_award_result::packetw2c_recv_happy_summer_quest_award_result()
  79165. : ::google::protobuf::Message() {
  79166. SharedCtor();
  79167. }
  79168. void packetw2c_recv_happy_summer_quest_award_result::InitAsDefaultInstance() {
  79169. }
  79170. packetw2c_recv_happy_summer_quest_award_result::packetw2c_recv_happy_summer_quest_award_result(const packetw2c_recv_happy_summer_quest_award_result& from)
  79171. : ::google::protobuf::Message() {
  79172. SharedCtor();
  79173. MergeFrom(from);
  79174. }
  79175. void packetw2c_recv_happy_summer_quest_award_result::SharedCtor() {
  79176. _cached_size_ = 0;
  79177. packet_id_ = 7826;
  79178. result_ = 0;
  79179. questid_ = 0;
  79180. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  79181. }
  79182. packetw2c_recv_happy_summer_quest_award_result::~packetw2c_recv_happy_summer_quest_award_result() {
  79183. SharedDtor();
  79184. }
  79185. void packetw2c_recv_happy_summer_quest_award_result::SharedDtor() {
  79186. if (this != default_instance_) {
  79187. }
  79188. }
  79189. void packetw2c_recv_happy_summer_quest_award_result::SetCachedSize(int size) const {
  79190. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  79191. _cached_size_ = size;
  79192. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  79193. }
  79194. const ::google::protobuf::Descriptor* packetw2c_recv_happy_summer_quest_award_result::descriptor() {
  79195. protobuf_AssignDescriptorsOnce();
  79196. return packetw2c_recv_happy_summer_quest_award_result_descriptor_;
  79197. }
  79198. const packetw2c_recv_happy_summer_quest_award_result& packetw2c_recv_happy_summer_quest_award_result::default_instance() {
  79199. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  79200. return *default_instance_;
  79201. }
  79202. packetw2c_recv_happy_summer_quest_award_result* packetw2c_recv_happy_summer_quest_award_result::default_instance_ = NULL;
  79203. packetw2c_recv_happy_summer_quest_award_result* packetw2c_recv_happy_summer_quest_award_result::New() const {
  79204. return new packetw2c_recv_happy_summer_quest_award_result;
  79205. }
  79206. void packetw2c_recv_happy_summer_quest_award_result::Clear() {
  79207. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79208. packet_id_ = 7826;
  79209. result_ = 0;
  79210. questid_ = 0;
  79211. }
  79212. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  79213. mutable_unknown_fields()->Clear();
  79214. }
  79215. bool packetw2c_recv_happy_summer_quest_award_result::MergePartialFromCodedStream(
  79216. ::google::protobuf::io::CodedInputStream* input) {
  79217. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  79218. ::google::protobuf::uint32 tag;
  79219. while ((tag = input->ReadTag()) != 0) {
  79220. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  79221. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_happy_summer_quest_award_result];
  79222. case 1: {
  79223. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79224. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  79225. int value;
  79226. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  79227. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  79228. input, &value)));
  79229. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  79230. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  79231. } else {
  79232. mutable_unknown_fields()->AddVarint(1, value);
  79233. }
  79234. } else {
  79235. goto handle_uninterpreted;
  79236. }
  79237. if (input->ExpectTag(16)) goto parse_result;
  79238. break;
  79239. }
  79240. // optional int32 result = 2;
  79241. case 2: {
  79242. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79243. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  79244. parse_result:
  79245. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  79246. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  79247. input, &result_)));
  79248. set_has_result();
  79249. } else {
  79250. goto handle_uninterpreted;
  79251. }
  79252. if (input->ExpectTag(24)) goto parse_questId;
  79253. break;
  79254. }
  79255. // optional int32 questId = 3;
  79256. case 3: {
  79257. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79258. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  79259. parse_questId:
  79260. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  79261. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  79262. input, &questid_)));
  79263. set_has_questid();
  79264. } else {
  79265. goto handle_uninterpreted;
  79266. }
  79267. if (input->ExpectAtEnd()) return true;
  79268. break;
  79269. }
  79270. default: {
  79271. handle_uninterpreted:
  79272. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79273. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  79274. return true;
  79275. }
  79276. DO_(::google::protobuf::internal::WireFormat::SkipField(
  79277. input, tag, mutable_unknown_fields()));
  79278. break;
  79279. }
  79280. }
  79281. }
  79282. return true;
  79283. #undef DO_
  79284. }
  79285. void packetw2c_recv_happy_summer_quest_award_result::SerializeWithCachedSizes(
  79286. ::google::protobuf::io::CodedOutputStream* output) const {
  79287. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_happy_summer_quest_award_result];
  79288. if (has_packet_id()) {
  79289. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  79290. 1, this->packet_id(), output);
  79291. }
  79292. // optional int32 result = 2;
  79293. if (has_result()) {
  79294. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  79295. }
  79296. // optional int32 questId = 3;
  79297. if (has_questid()) {
  79298. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->questid(), output);
  79299. }
  79300. if (!unknown_fields().empty()) {
  79301. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  79302. unknown_fields(), output);
  79303. }
  79304. }
  79305. ::google::protobuf::uint8* packetw2c_recv_happy_summer_quest_award_result::SerializeWithCachedSizesToArray(
  79306. ::google::protobuf::uint8* target) const {
  79307. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_happy_summer_quest_award_result];
  79308. if (has_packet_id()) {
  79309. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  79310. 1, this->packet_id(), target);
  79311. }
  79312. // optional int32 result = 2;
  79313. if (has_result()) {
  79314. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  79315. }
  79316. // optional int32 questId = 3;
  79317. if (has_questid()) {
  79318. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->questid(), target);
  79319. }
  79320. if (!unknown_fields().empty()) {
  79321. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  79322. unknown_fields(), target);
  79323. }
  79324. return target;
  79325. }
  79326. int packetw2c_recv_happy_summer_quest_award_result::ByteSize() const {
  79327. int total_size = 0;
  79328. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79329. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_happy_summer_quest_award_result];
  79330. if (has_packet_id()) {
  79331. total_size += 1 +
  79332. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  79333. }
  79334. // optional int32 result = 2;
  79335. if (has_result()) {
  79336. total_size += 1 +
  79337. ::google::protobuf::internal::WireFormatLite::Int32Size(
  79338. this->result());
  79339. }
  79340. // optional int32 questId = 3;
  79341. if (has_questid()) {
  79342. total_size += 1 +
  79343. ::google::protobuf::internal::WireFormatLite::Int32Size(
  79344. this->questid());
  79345. }
  79346. }
  79347. if (!unknown_fields().empty()) {
  79348. total_size +=
  79349. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  79350. unknown_fields());
  79351. }
  79352. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  79353. _cached_size_ = total_size;
  79354. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  79355. return total_size;
  79356. }
  79357. void packetw2c_recv_happy_summer_quest_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  79358. GOOGLE_CHECK_NE(&from, this);
  79359. const packetw2c_recv_happy_summer_quest_award_result* source =
  79360. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_happy_summer_quest_award_result*>(
  79361. &from);
  79362. if (source == NULL) {
  79363. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  79364. } else {
  79365. MergeFrom(*source);
  79366. }
  79367. }
  79368. void packetw2c_recv_happy_summer_quest_award_result::MergeFrom(const packetw2c_recv_happy_summer_quest_award_result& from) {
  79369. GOOGLE_CHECK_NE(&from, this);
  79370. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79371. if (from.has_packet_id()) {
  79372. set_packet_id(from.packet_id());
  79373. }
  79374. if (from.has_result()) {
  79375. set_result(from.result());
  79376. }
  79377. if (from.has_questid()) {
  79378. set_questid(from.questid());
  79379. }
  79380. }
  79381. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  79382. }
  79383. void packetw2c_recv_happy_summer_quest_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  79384. if (&from == this) return;
  79385. Clear();
  79386. MergeFrom(from);
  79387. }
  79388. void packetw2c_recv_happy_summer_quest_award_result::CopyFrom(const packetw2c_recv_happy_summer_quest_award_result& from) {
  79389. if (&from == this) return;
  79390. Clear();
  79391. MergeFrom(from);
  79392. }
  79393. bool packetw2c_recv_happy_summer_quest_award_result::IsInitialized() const {
  79394. return true;
  79395. }
  79396. void packetw2c_recv_happy_summer_quest_award_result::Swap(packetw2c_recv_happy_summer_quest_award_result* other) {
  79397. if (other != this) {
  79398. std::swap(packet_id_, other->packet_id_);
  79399. std::swap(result_, other->result_);
  79400. std::swap(questid_, other->questid_);
  79401. std::swap(_has_bits_[0], other->_has_bits_[0]);
  79402. _unknown_fields_.Swap(&other->_unknown_fields_);
  79403. std::swap(_cached_size_, other->_cached_size_);
  79404. }
  79405. }
  79406. ::google::protobuf::Metadata packetw2c_recv_happy_summer_quest_award_result::GetMetadata() const {
  79407. protobuf_AssignDescriptorsOnce();
  79408. ::google::protobuf::Metadata metadata;
  79409. metadata.descriptor = packetw2c_recv_happy_summer_quest_award_result_descriptor_;
  79410. metadata.reflection = packetw2c_recv_happy_summer_quest_award_result_reflection_;
  79411. return metadata;
  79412. }
  79413. // ===================================================================
  79414. #ifndef _MSC_VER
  79415. const int packetc2w_get_happy_summer_quest::kPacketIdFieldNumber;
  79416. #endif // !_MSC_VER
  79417. packetc2w_get_happy_summer_quest::packetc2w_get_happy_summer_quest()
  79418. : ::google::protobuf::Message() {
  79419. SharedCtor();
  79420. }
  79421. void packetc2w_get_happy_summer_quest::InitAsDefaultInstance() {
  79422. }
  79423. packetc2w_get_happy_summer_quest::packetc2w_get_happy_summer_quest(const packetc2w_get_happy_summer_quest& from)
  79424. : ::google::protobuf::Message() {
  79425. SharedCtor();
  79426. MergeFrom(from);
  79427. }
  79428. void packetc2w_get_happy_summer_quest::SharedCtor() {
  79429. _cached_size_ = 0;
  79430. packet_id_ = 5275;
  79431. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  79432. }
  79433. packetc2w_get_happy_summer_quest::~packetc2w_get_happy_summer_quest() {
  79434. SharedDtor();
  79435. }
  79436. void packetc2w_get_happy_summer_quest::SharedDtor() {
  79437. if (this != default_instance_) {
  79438. }
  79439. }
  79440. void packetc2w_get_happy_summer_quest::SetCachedSize(int size) const {
  79441. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  79442. _cached_size_ = size;
  79443. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  79444. }
  79445. const ::google::protobuf::Descriptor* packetc2w_get_happy_summer_quest::descriptor() {
  79446. protobuf_AssignDescriptorsOnce();
  79447. return packetc2w_get_happy_summer_quest_descriptor_;
  79448. }
  79449. const packetc2w_get_happy_summer_quest& packetc2w_get_happy_summer_quest::default_instance() {
  79450. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  79451. return *default_instance_;
  79452. }
  79453. packetc2w_get_happy_summer_quest* packetc2w_get_happy_summer_quest::default_instance_ = NULL;
  79454. packetc2w_get_happy_summer_quest* packetc2w_get_happy_summer_quest::New() const {
  79455. return new packetc2w_get_happy_summer_quest;
  79456. }
  79457. void packetc2w_get_happy_summer_quest::Clear() {
  79458. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79459. packet_id_ = 5275;
  79460. }
  79461. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  79462. mutable_unknown_fields()->Clear();
  79463. }
  79464. bool packetc2w_get_happy_summer_quest::MergePartialFromCodedStream(
  79465. ::google::protobuf::io::CodedInputStream* input) {
  79466. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  79467. ::google::protobuf::uint32 tag;
  79468. while ((tag = input->ReadTag()) != 0) {
  79469. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  79470. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_quest];
  79471. case 1: {
  79472. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79473. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  79474. int value;
  79475. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  79476. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  79477. input, &value)));
  79478. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  79479. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  79480. } else {
  79481. mutable_unknown_fields()->AddVarint(1, value);
  79482. }
  79483. } else {
  79484. goto handle_uninterpreted;
  79485. }
  79486. if (input->ExpectAtEnd()) return true;
  79487. break;
  79488. }
  79489. default: {
  79490. handle_uninterpreted:
  79491. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79492. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  79493. return true;
  79494. }
  79495. DO_(::google::protobuf::internal::WireFormat::SkipField(
  79496. input, tag, mutable_unknown_fields()));
  79497. break;
  79498. }
  79499. }
  79500. }
  79501. return true;
  79502. #undef DO_
  79503. }
  79504. void packetc2w_get_happy_summer_quest::SerializeWithCachedSizes(
  79505. ::google::protobuf::io::CodedOutputStream* output) const {
  79506. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_quest];
  79507. if (has_packet_id()) {
  79508. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  79509. 1, this->packet_id(), output);
  79510. }
  79511. if (!unknown_fields().empty()) {
  79512. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  79513. unknown_fields(), output);
  79514. }
  79515. }
  79516. ::google::protobuf::uint8* packetc2w_get_happy_summer_quest::SerializeWithCachedSizesToArray(
  79517. ::google::protobuf::uint8* target) const {
  79518. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_quest];
  79519. if (has_packet_id()) {
  79520. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  79521. 1, this->packet_id(), target);
  79522. }
  79523. if (!unknown_fields().empty()) {
  79524. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  79525. unknown_fields(), target);
  79526. }
  79527. return target;
  79528. }
  79529. int packetc2w_get_happy_summer_quest::ByteSize() const {
  79530. int total_size = 0;
  79531. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79532. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_quest];
  79533. if (has_packet_id()) {
  79534. total_size += 1 +
  79535. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  79536. }
  79537. }
  79538. if (!unknown_fields().empty()) {
  79539. total_size +=
  79540. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  79541. unknown_fields());
  79542. }
  79543. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  79544. _cached_size_ = total_size;
  79545. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  79546. return total_size;
  79547. }
  79548. void packetc2w_get_happy_summer_quest::MergeFrom(const ::google::protobuf::Message& from) {
  79549. GOOGLE_CHECK_NE(&from, this);
  79550. const packetc2w_get_happy_summer_quest* source =
  79551. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_happy_summer_quest*>(
  79552. &from);
  79553. if (source == NULL) {
  79554. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  79555. } else {
  79556. MergeFrom(*source);
  79557. }
  79558. }
  79559. void packetc2w_get_happy_summer_quest::MergeFrom(const packetc2w_get_happy_summer_quest& from) {
  79560. GOOGLE_CHECK_NE(&from, this);
  79561. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79562. if (from.has_packet_id()) {
  79563. set_packet_id(from.packet_id());
  79564. }
  79565. }
  79566. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  79567. }
  79568. void packetc2w_get_happy_summer_quest::CopyFrom(const ::google::protobuf::Message& from) {
  79569. if (&from == this) return;
  79570. Clear();
  79571. MergeFrom(from);
  79572. }
  79573. void packetc2w_get_happy_summer_quest::CopyFrom(const packetc2w_get_happy_summer_quest& from) {
  79574. if (&from == this) return;
  79575. Clear();
  79576. MergeFrom(from);
  79577. }
  79578. bool packetc2w_get_happy_summer_quest::IsInitialized() const {
  79579. return true;
  79580. }
  79581. void packetc2w_get_happy_summer_quest::Swap(packetc2w_get_happy_summer_quest* other) {
  79582. if (other != this) {
  79583. std::swap(packet_id_, other->packet_id_);
  79584. std::swap(_has_bits_[0], other->_has_bits_[0]);
  79585. _unknown_fields_.Swap(&other->_unknown_fields_);
  79586. std::swap(_cached_size_, other->_cached_size_);
  79587. }
  79588. }
  79589. ::google::protobuf::Metadata packetc2w_get_happy_summer_quest::GetMetadata() const {
  79590. protobuf_AssignDescriptorsOnce();
  79591. ::google::protobuf::Metadata metadata;
  79592. metadata.descriptor = packetc2w_get_happy_summer_quest_descriptor_;
  79593. metadata.reflection = packetc2w_get_happy_summer_quest_reflection_;
  79594. return metadata;
  79595. }
  79596. // ===================================================================
  79597. #ifndef _MSC_VER
  79598. const int packetw2c_get_happy_summer_quest_result::kPacketIdFieldNumber;
  79599. const int packetw2c_get_happy_summer_quest_result::kQuestListFieldNumber;
  79600. #endif // !_MSC_VER
  79601. packetw2c_get_happy_summer_quest_result::packetw2c_get_happy_summer_quest_result()
  79602. : ::google::protobuf::Message() {
  79603. SharedCtor();
  79604. }
  79605. void packetw2c_get_happy_summer_quest_result::InitAsDefaultInstance() {
  79606. }
  79607. packetw2c_get_happy_summer_quest_result::packetw2c_get_happy_summer_quest_result(const packetw2c_get_happy_summer_quest_result& from)
  79608. : ::google::protobuf::Message() {
  79609. SharedCtor();
  79610. MergeFrom(from);
  79611. }
  79612. void packetw2c_get_happy_summer_quest_result::SharedCtor() {
  79613. _cached_size_ = 0;
  79614. packet_id_ = 7827;
  79615. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  79616. }
  79617. packetw2c_get_happy_summer_quest_result::~packetw2c_get_happy_summer_quest_result() {
  79618. SharedDtor();
  79619. }
  79620. void packetw2c_get_happy_summer_quest_result::SharedDtor() {
  79621. if (this != default_instance_) {
  79622. }
  79623. }
  79624. void packetw2c_get_happy_summer_quest_result::SetCachedSize(int size) const {
  79625. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  79626. _cached_size_ = size;
  79627. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  79628. }
  79629. const ::google::protobuf::Descriptor* packetw2c_get_happy_summer_quest_result::descriptor() {
  79630. protobuf_AssignDescriptorsOnce();
  79631. return packetw2c_get_happy_summer_quest_result_descriptor_;
  79632. }
  79633. const packetw2c_get_happy_summer_quest_result& packetw2c_get_happy_summer_quest_result::default_instance() {
  79634. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity2_2eproto();
  79635. return *default_instance_;
  79636. }
  79637. packetw2c_get_happy_summer_quest_result* packetw2c_get_happy_summer_quest_result::default_instance_ = NULL;
  79638. packetw2c_get_happy_summer_quest_result* packetw2c_get_happy_summer_quest_result::New() const {
  79639. return new packetw2c_get_happy_summer_quest_result;
  79640. }
  79641. void packetw2c_get_happy_summer_quest_result::Clear() {
  79642. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79643. packet_id_ = 7827;
  79644. }
  79645. questlist_.Clear();
  79646. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  79647. mutable_unknown_fields()->Clear();
  79648. }
  79649. bool packetw2c_get_happy_summer_quest_result::MergePartialFromCodedStream(
  79650. ::google::protobuf::io::CodedInputStream* input) {
  79651. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  79652. ::google::protobuf::uint32 tag;
  79653. while ((tag = input->ReadTag()) != 0) {
  79654. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  79655. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_quest_result];
  79656. case 1: {
  79657. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79658. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  79659. int value;
  79660. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  79661. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  79662. input, &value)));
  79663. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  79664. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  79665. } else {
  79666. mutable_unknown_fields()->AddVarint(1, value);
  79667. }
  79668. } else {
  79669. goto handle_uninterpreted;
  79670. }
  79671. if (input->ExpectTag(18)) goto parse_questList;
  79672. break;
  79673. }
  79674. // repeated .msg_info_def.msg_quest_info questList = 2;
  79675. case 2: {
  79676. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79677. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  79678. parse_questList:
  79679. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  79680. input, add_questlist()));
  79681. } else {
  79682. goto handle_uninterpreted;
  79683. }
  79684. if (input->ExpectTag(18)) goto parse_questList;
  79685. if (input->ExpectAtEnd()) return true;
  79686. break;
  79687. }
  79688. default: {
  79689. handle_uninterpreted:
  79690. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  79691. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  79692. return true;
  79693. }
  79694. DO_(::google::protobuf::internal::WireFormat::SkipField(
  79695. input, tag, mutable_unknown_fields()));
  79696. break;
  79697. }
  79698. }
  79699. }
  79700. return true;
  79701. #undef DO_
  79702. }
  79703. void packetw2c_get_happy_summer_quest_result::SerializeWithCachedSizes(
  79704. ::google::protobuf::io::CodedOutputStream* output) const {
  79705. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_quest_result];
  79706. if (has_packet_id()) {
  79707. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  79708. 1, this->packet_id(), output);
  79709. }
  79710. // repeated .msg_info_def.msg_quest_info questList = 2;
  79711. for (int i = 0; i < this->questlist_size(); i++) {
  79712. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  79713. 2, this->questlist(i), output);
  79714. }
  79715. if (!unknown_fields().empty()) {
  79716. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  79717. unknown_fields(), output);
  79718. }
  79719. }
  79720. ::google::protobuf::uint8* packetw2c_get_happy_summer_quest_result::SerializeWithCachedSizesToArray(
  79721. ::google::protobuf::uint8* target) const {
  79722. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_quest_result];
  79723. if (has_packet_id()) {
  79724. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  79725. 1, this->packet_id(), target);
  79726. }
  79727. // repeated .msg_info_def.msg_quest_info questList = 2;
  79728. for (int i = 0; i < this->questlist_size(); i++) {
  79729. target = ::google::protobuf::internal::WireFormatLite::
  79730. WriteMessageNoVirtualToArray(
  79731. 2, this->questlist(i), target);
  79732. }
  79733. if (!unknown_fields().empty()) {
  79734. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  79735. unknown_fields(), target);
  79736. }
  79737. return target;
  79738. }
  79739. int packetw2c_get_happy_summer_quest_result::ByteSize() const {
  79740. int total_size = 0;
  79741. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79742. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_quest_result];
  79743. if (has_packet_id()) {
  79744. total_size += 1 +
  79745. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  79746. }
  79747. }
  79748. // repeated .msg_info_def.msg_quest_info questList = 2;
  79749. total_size += 1 * this->questlist_size();
  79750. for (int i = 0; i < this->questlist_size(); i++) {
  79751. total_size +=
  79752. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  79753. this->questlist(i));
  79754. }
  79755. if (!unknown_fields().empty()) {
  79756. total_size +=
  79757. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  79758. unknown_fields());
  79759. }
  79760. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  79761. _cached_size_ = total_size;
  79762. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  79763. return total_size;
  79764. }
  79765. void packetw2c_get_happy_summer_quest_result::MergeFrom(const ::google::protobuf::Message& from) {
  79766. GOOGLE_CHECK_NE(&from, this);
  79767. const packetw2c_get_happy_summer_quest_result* source =
  79768. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_happy_summer_quest_result*>(
  79769. &from);
  79770. if (source == NULL) {
  79771. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  79772. } else {
  79773. MergeFrom(*source);
  79774. }
  79775. }
  79776. void packetw2c_get_happy_summer_quest_result::MergeFrom(const packetw2c_get_happy_summer_quest_result& from) {
  79777. GOOGLE_CHECK_NE(&from, this);
  79778. questlist_.MergeFrom(from.questlist_);
  79779. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  79780. if (from.has_packet_id()) {
  79781. set_packet_id(from.packet_id());
  79782. }
  79783. }
  79784. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  79785. }
  79786. void packetw2c_get_happy_summer_quest_result::CopyFrom(const ::google::protobuf::Message& from) {
  79787. if (&from == this) return;
  79788. Clear();
  79789. MergeFrom(from);
  79790. }
  79791. void packetw2c_get_happy_summer_quest_result::CopyFrom(const packetw2c_get_happy_summer_quest_result& from) {
  79792. if (&from == this) return;
  79793. Clear();
  79794. MergeFrom(from);
  79795. }
  79796. bool packetw2c_get_happy_summer_quest_result::IsInitialized() const {
  79797. return true;
  79798. }
  79799. void packetw2c_get_happy_summer_quest_result::Swap(packetw2c_get_happy_summer_quest_result* other) {
  79800. if (other != this) {
  79801. std::swap(packet_id_, other->packet_id_);
  79802. questlist_.Swap(&other->questlist_);
  79803. std::swap(_has_bits_[0], other->_has_bits_[0]);
  79804. _unknown_fields_.Swap(&other->_unknown_fields_);
  79805. std::swap(_cached_size_, other->_cached_size_);
  79806. }
  79807. }
  79808. ::google::protobuf::Metadata packetw2c_get_happy_summer_quest_result::GetMetadata() const {
  79809. protobuf_AssignDescriptorsOnce();
  79810. ::google::protobuf::Metadata metadata;
  79811. metadata.descriptor = packetw2c_get_happy_summer_quest_result_descriptor_;
  79812. metadata.reflection = packetw2c_get_happy_summer_quest_result_reflection_;
  79813. return metadata;
  79814. }
  79815. // @@protoc_insertion_point(namespace_scope)
  79816. } // namespace client2world_protocols
  79817. // @@protoc_insertion_point(global_scope)