fish_logic.pb.cc 983 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_logic.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "fish_logic.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 fish_protocols {
  16. namespace {
  17. const ::google::protobuf::Descriptor* packetc2l_get_scene_info_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. packetc2l_get_scene_info_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* packetl2c_get_scene_info_result_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. packetl2c_get_scene_info_result_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* packetc2l_change_rate_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. packetc2l_change_rate_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* packetc2l_sync_gold_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. packetc2l_sync_gold_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetl2c_bc_enter_seat_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetl2c_bc_enter_seat_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetl2c_bc_leave_seat_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetl2c_bc_leave_seat_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetl2c_robot_enter_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetl2c_robot_enter_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* packetl2c_robot_leave_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. packetl2c_robot_leave_reflection_ = NULL;
  41. const ::google::protobuf::Descriptor* packetl2c_bc_change_rate_descriptor_ = NULL;
  42. const ::google::protobuf::internal::GeneratedMessageReflection*
  43. packetl2c_bc_change_rate_reflection_ = NULL;
  44. const ::google::protobuf::Descriptor* packetl2c_bc_change_attr_descriptor_ = NULL;
  45. const ::google::protobuf::internal::GeneratedMessageReflection*
  46. packetl2c_bc_change_attr_reflection_ = NULL;
  47. const ::google::protobuf::Descriptor* packetl2c_bc_create_fish_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. packetl2c_bc_create_fish_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* packetl2c_bc_create_generator_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. packetl2c_bc_create_generator_reflection_ = NULL;
  53. const ::google::protobuf::Descriptor* ManualFireEx_descriptor_ = NULL;
  54. const ::google::protobuf::internal::GeneratedMessageReflection*
  55. ManualFireEx_reflection_ = NULL;
  56. const ::google::protobuf::Descriptor* packetc2l_manual_fire_descriptor_ = NULL;
  57. const ::google::protobuf::internal::GeneratedMessageReflection*
  58. packetc2l_manual_fire_reflection_ = NULL;
  59. const ::google::protobuf::Descriptor* packetl2c_bc_manual_fire_descriptor_ = NULL;
  60. const ::google::protobuf::internal::GeneratedMessageReflection*
  61. packetl2c_bc_manual_fire_reflection_ = NULL;
  62. const ::google::protobuf::Descriptor* packetc2l_hit_fish_descriptor_ = NULL;
  63. const ::google::protobuf::internal::GeneratedMessageReflection*
  64. packetc2l_hit_fish_reflection_ = NULL;
  65. const ::google::protobuf::Descriptor* packetc2l_hit_fishs_descriptor_ = NULL;
  66. const ::google::protobuf::internal::GeneratedMessageReflection*
  67. packetc2l_hit_fishs_reflection_ = NULL;
  68. const ::google::protobuf::Descriptor* LegindaryCoinGainInfo_descriptor_ = NULL;
  69. const ::google::protobuf::internal::GeneratedMessageReflection*
  70. LegindaryCoinGainInfo_reflection_ = NULL;
  71. const ::google::protobuf::Descriptor* packetl2c_bc_fish_die_descriptor_ = NULL;
  72. const ::google::protobuf::internal::GeneratedMessageReflection*
  73. packetl2c_bc_fish_die_reflection_ = NULL;
  74. const ::google::protobuf::Descriptor* packetl2c_notify_bullet_explode_descriptor_ = NULL;
  75. const ::google::protobuf::internal::GeneratedMessageReflection*
  76. packetl2c_notify_bullet_explode_reflection_ = NULL;
  77. const ::google::protobuf::Descriptor* packetl2c_bc_bullet_explode_descriptor_ = NULL;
  78. const ::google::protobuf::internal::GeneratedMessageReflection*
  79. packetl2c_bc_bullet_explode_reflection_ = NULL;
  80. const ::google::protobuf::Descriptor* packetl2c_bc_specialfish_die_descriptor_ = NULL;
  81. const ::google::protobuf::internal::GeneratedMessageReflection*
  82. packetl2c_bc_specialfish_die_reflection_ = NULL;
  83. const ::google::protobuf::Descriptor* packetl2c_bc_fishs_die_descriptor_ = NULL;
  84. const ::google::protobuf::internal::GeneratedMessageReflection*
  85. packetl2c_bc_fishs_die_reflection_ = NULL;
  86. const ::google::protobuf::Descriptor* packetl2c_bc_change_scene_descriptor_ = NULL;
  87. const ::google::protobuf::internal::GeneratedMessageReflection*
  88. packetl2c_bc_change_scene_reflection_ = NULL;
  89. const ::google::protobuf::Descriptor* packetl2c_bc_finish_boss_scene_descriptor_ = NULL;
  90. const ::google::protobuf::internal::GeneratedMessageReflection*
  91. packetl2c_bc_finish_boss_scene_reflection_ = NULL;
  92. const ::google::protobuf::Descriptor* packetl2c_bc_using_item_descriptor_ = NULL;
  93. const ::google::protobuf::internal::GeneratedMessageReflection*
  94. packetl2c_bc_using_item_reflection_ = NULL;
  95. const ::google::protobuf::Descriptor* packetl2c_bc_stop_using_item_descriptor_ = NULL;
  96. const ::google::protobuf::internal::GeneratedMessageReflection*
  97. packetl2c_bc_stop_using_item_reflection_ = NULL;
  98. const ::google::protobuf::Descriptor* packetl2c_bc_changeturret_descriptor_ = NULL;
  99. const ::google::protobuf::internal::GeneratedMessageReflection*
  100. packetl2c_bc_changeturret_reflection_ = NULL;
  101. const ::google::protobuf::Descriptor* packetc2l_lock_fish_descriptor_ = NULL;
  102. const ::google::protobuf::internal::GeneratedMessageReflection*
  103. packetc2l_lock_fish_reflection_ = NULL;
  104. const ::google::protobuf::Descriptor* packetl2c_bc_lock_fish_descriptor_ = NULL;
  105. const ::google::protobuf::internal::GeneratedMessageReflection*
  106. packetl2c_bc_lock_fish_reflection_ = NULL;
  107. const ::google::protobuf::Descriptor* packetl2c_bc_freeze_descriptor_ = NULL;
  108. const ::google::protobuf::internal::GeneratedMessageReflection*
  109. packetl2c_bc_freeze_reflection_ = NULL;
  110. const ::google::protobuf::Descriptor* packetl2c_bc_change_scene_bg_descriptor_ = NULL;
  111. const ::google::protobuf::internal::GeneratedMessageReflection*
  112. packetl2c_bc_change_scene_bg_reflection_ = NULL;
  113. const ::google::protobuf::Descriptor* packetl2c_bc_scene_time_descriptor_ = NULL;
  114. const ::google::protobuf::internal::GeneratedMessageReflection*
  115. packetl2c_bc_scene_time_reflection_ = NULL;
  116. const ::google::protobuf::Descriptor* packetl2c_bc_change_jackpot_descriptor_ = NULL;
  117. const ::google::protobuf::internal::GeneratedMessageReflection*
  118. packetl2c_bc_change_jackpot_reflection_ = NULL;
  119. const ::google::protobuf::Descriptor* packetl2c_bc_hit_fishs_descriptor_ = NULL;
  120. const ::google::protobuf::internal::GeneratedMessageReflection*
  121. packetl2c_bc_hit_fishs_reflection_ = NULL;
  122. const ::google::protobuf::Descriptor* packetl2c_bc_turret_rotate_descriptor_ = NULL;
  123. const ::google::protobuf::internal::GeneratedMessageReflection*
  124. packetl2c_bc_turret_rotate_reflection_ = NULL;
  125. const ::google::protobuf::Descriptor* packetl2c_bc_change_max_power_descriptor_ = NULL;
  126. const ::google::protobuf::internal::GeneratedMessageReflection*
  127. packetl2c_bc_change_max_power_reflection_ = NULL;
  128. const ::google::protobuf::Descriptor* packetl2c_bc_table_lottery_descriptor_ = NULL;
  129. const ::google::protobuf::internal::GeneratedMessageReflection*
  130. packetl2c_bc_table_lottery_reflection_ = NULL;
  131. const ::google::protobuf::Descriptor* packetc2l_req_drop_rate_descriptor_ = NULL;
  132. const ::google::protobuf::internal::GeneratedMessageReflection*
  133. packetc2l_req_drop_rate_reflection_ = NULL;
  134. const ::google::protobuf::Descriptor* packetl2c_req_drop_rate_result_descriptor_ = NULL;
  135. const ::google::protobuf::internal::GeneratedMessageReflection*
  136. packetl2c_req_drop_rate_result_reflection_ = NULL;
  137. const ::google::protobuf::Descriptor* packet_c2l_benefits_descriptor_ = NULL;
  138. const ::google::protobuf::internal::GeneratedMessageReflection*
  139. packet_c2l_benefits_reflection_ = NULL;
  140. const ::google::protobuf::Descriptor* packet_l2c_benefits_result_descriptor_ = NULL;
  141. const ::google::protobuf::internal::GeneratedMessageReflection*
  142. packet_l2c_benefits_result_reflection_ = NULL;
  143. const ::google::protobuf::Descriptor* packetl2c_bc_table_kill_chipfish_descriptor_ = NULL;
  144. const ::google::protobuf::internal::GeneratedMessageReflection*
  145. packetl2c_bc_table_kill_chipfish_reflection_ = NULL;
  146. const ::google::protobuf::Descriptor* packetl2c_bc_table_kill_turntablefish_descriptor_ = NULL;
  147. const ::google::protobuf::internal::GeneratedMessageReflection*
  148. packetl2c_bc_table_kill_turntablefish_reflection_ = NULL;
  149. const ::google::protobuf::Descriptor* packetl2c_kill_goldfish_descriptor_ = NULL;
  150. const ::google::protobuf::internal::GeneratedMessageReflection*
  151. packetl2c_kill_goldfish_reflection_ = NULL;
  152. const ::google::protobuf::Descriptor* packetc2l_play_ad_reward_descriptor_ = NULL;
  153. const ::google::protobuf::internal::GeneratedMessageReflection*
  154. packetc2l_play_ad_reward_reflection_ = NULL;
  155. const ::google::protobuf::Descriptor* packetl2c_play_ad_reward_result_descriptor_ = NULL;
  156. const ::google::protobuf::internal::GeneratedMessageReflection*
  157. packetl2c_play_ad_reward_result_reflection_ = NULL;
  158. const ::google::protobuf::Descriptor* packetc2l_receive_redpacket_reward_descriptor_ = NULL;
  159. const ::google::protobuf::internal::GeneratedMessageReflection*
  160. packetc2l_receive_redpacket_reward_reflection_ = NULL;
  161. const ::google::protobuf::Descriptor* packetl2c_receive_redpacket_reward_result_descriptor_ = NULL;
  162. const ::google::protobuf::internal::GeneratedMessageReflection*
  163. packetl2c_receive_redpacket_reward_result_reflection_ = NULL;
  164. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mysterous_shell_descriptor_ = NULL;
  165. const ::google::protobuf::internal::GeneratedMessageReflection*
  166. packetl2c_bc_trigger_mysterous_shell_reflection_ = NULL;
  167. const ::google::protobuf::Descriptor* packetc2l_req_lottery_mysterous_shell_descriptor_ = NULL;
  168. const ::google::protobuf::internal::GeneratedMessageReflection*
  169. packetc2l_req_lottery_mysterous_shell_reflection_ = NULL;
  170. const ::google::protobuf::Descriptor* shellLotteryInfo_descriptor_ = NULL;
  171. const ::google::protobuf::internal::GeneratedMessageReflection*
  172. shellLotteryInfo_reflection_ = NULL;
  173. const ::google::protobuf::Descriptor* packetl2c_req_lottery_mysterous_shell_result_descriptor_ = NULL;
  174. const ::google::protobuf::internal::GeneratedMessageReflection*
  175. packetl2c_req_lottery_mysterous_shell_result_reflection_ = NULL;
  176. const ::google::protobuf::Descriptor* packetl2c_bc_mysterous_shell_lottery_result_descriptor_ = NULL;
  177. const ::google::protobuf::internal::GeneratedMessageReflection*
  178. packetl2c_bc_mysterous_shell_lottery_result_reflection_ = NULL;
  179. const ::google::protobuf::Descriptor* dice_change_info_descriptor_ = NULL;
  180. const ::google::protobuf::internal::GeneratedMessageReflection*
  181. dice_change_info_reflection_ = NULL;
  182. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_dice_game_descriptor_ = NULL;
  183. const ::google::protobuf::internal::GeneratedMessageReflection*
  184. packetl2c_bc_trigger_dice_game_reflection_ = NULL;
  185. const ::google::protobuf::Descriptor* packetc2l_req_lottery_dice_game_descriptor_ = NULL;
  186. const ::google::protobuf::internal::GeneratedMessageReflection*
  187. packetc2l_req_lottery_dice_game_reflection_ = NULL;
  188. const ::google::protobuf::Descriptor* packetl2c_req_lottery_dice_game_result_descriptor_ = NULL;
  189. const ::google::protobuf::internal::GeneratedMessageReflection*
  190. packetl2c_req_lottery_dice_game_result_reflection_ = NULL;
  191. const ::google::protobuf::Descriptor* packetl2c_bc_dice_game_lottery_result_descriptor_ = NULL;
  192. const ::google::protobuf::internal::GeneratedMessageReflection*
  193. packetl2c_bc_dice_game_lottery_result_reflection_ = NULL;
  194. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_egg_treasure_descriptor_ = NULL;
  195. const ::google::protobuf::internal::GeneratedMessageReflection*
  196. packetl2c_bc_trigger_egg_treasure_reflection_ = NULL;
  197. const ::google::protobuf::Descriptor* packetc2l_egg_treasure_lottery_descriptor_ = NULL;
  198. const ::google::protobuf::internal::GeneratedMessageReflection*
  199. packetc2l_egg_treasure_lottery_reflection_ = NULL;
  200. const ::google::protobuf::Descriptor* packetl2c_egg_treasure_lottery_result_descriptor_ = NULL;
  201. const ::google::protobuf::internal::GeneratedMessageReflection*
  202. packetl2c_egg_treasure_lottery_result_reflection_ = NULL;
  203. const ::google::protobuf::Descriptor* packetc2l_change_room_rate_descriptor_ = NULL;
  204. const ::google::protobuf::internal::GeneratedMessageReflection*
  205. packetc2l_change_room_rate_reflection_ = NULL;
  206. const ::google::protobuf::Descriptor* packetl2c_change_room_rate_result_descriptor_ = NULL;
  207. const ::google::protobuf::internal::GeneratedMessageReflection*
  208. packetl2c_change_room_rate_result_reflection_ = NULL;
  209. const ::google::protobuf::Descriptor* packetc2l_change_bullet_power_descriptor_ = NULL;
  210. const ::google::protobuf::internal::GeneratedMessageReflection*
  211. packetc2l_change_bullet_power_reflection_ = NULL;
  212. const ::google::protobuf::Descriptor* packetl2c_change_bullet_power_result_descriptor_ = NULL;
  213. const ::google::protobuf::internal::GeneratedMessageReflection*
  214. packetl2c_change_bullet_power_result_reflection_ = NULL;
  215. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_treasure_bowl_descriptor_ = NULL;
  216. const ::google::protobuf::internal::GeneratedMessageReflection*
  217. packetl2c_bc_trigger_treasure_bowl_reflection_ = NULL;
  218. const ::google::protobuf::Descriptor* packetc2l_treasure_bowl_lottery_descriptor_ = NULL;
  219. const ::google::protobuf::internal::GeneratedMessageReflection*
  220. packetc2l_treasure_bowl_lottery_reflection_ = NULL;
  221. const ::google::protobuf::Descriptor* packetl2c_treasure_bowl_lottery_result_descriptor_ = NULL;
  222. const ::google::protobuf::internal::GeneratedMessageReflection*
  223. packetl2c_treasure_bowl_lottery_result_reflection_ = NULL;
  224. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_flood_dragon_fly_descriptor_ = NULL;
  225. const ::google::protobuf::internal::GeneratedMessageReflection*
  226. packetl2c_bc_trigger_flood_dragon_fly_reflection_ = NULL;
  227. const ::google::protobuf::Descriptor* packetc2l_flood_dragon_fly_lottery_descriptor_ = NULL;
  228. const ::google::protobuf::internal::GeneratedMessageReflection*
  229. packetc2l_flood_dragon_fly_lottery_reflection_ = NULL;
  230. const ::google::protobuf::Descriptor* packetl2c_flood_dragon_fly_lottery_result_descriptor_ = NULL;
  231. const ::google::protobuf::internal::GeneratedMessageReflection*
  232. packetl2c_flood_dragon_fly_lottery_result_reflection_ = NULL;
  233. const ::google::protobuf::Descriptor* packetl2c_send_item_descriptor_ = NULL;
  234. const ::google::protobuf::internal::GeneratedMessageReflection*
  235. packetl2c_send_item_reflection_ = NULL;
  236. const ::google::protobuf::Descriptor* packetc2l_receive_tommorrow_reward_descriptor_ = NULL;
  237. const ::google::protobuf::internal::GeneratedMessageReflection*
  238. packetc2l_receive_tommorrow_reward_reflection_ = NULL;
  239. const ::google::protobuf::Descriptor* packetl2c_receive_tommorrow_reward_result_descriptor_ = NULL;
  240. const ::google::protobuf::internal::GeneratedMessageReflection*
  241. packetl2c_receive_tommorrow_reward_result_reflection_ = NULL;
  242. } // namespace
  243. void protobuf_AssignDesc_fish_5flogic_2eproto() {
  244. protobuf_AddDesc_fish_5flogic_2eproto();
  245. const ::google::protobuf::FileDescriptor* file =
  246. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  247. "fish_logic.proto");
  248. GOOGLE_CHECK(file != NULL);
  249. packetc2l_get_scene_info_descriptor_ = file->message_type(0);
  250. static const int packetc2l_get_scene_info_offsets_[1] = {
  251. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_scene_info, packet_id_),
  252. };
  253. packetc2l_get_scene_info_reflection_ =
  254. new ::google::protobuf::internal::GeneratedMessageReflection(
  255. packetc2l_get_scene_info_descriptor_,
  256. packetc2l_get_scene_info::default_instance_,
  257. packetc2l_get_scene_info_offsets_,
  258. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_scene_info, _has_bits_[0]),
  259. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_scene_info, _unknown_fields_),
  260. -1,
  261. ::google::protobuf::DescriptorPool::generated_pool(),
  262. ::google::protobuf::MessageFactory::generated_factory(),
  263. sizeof(packetc2l_get_scene_info));
  264. packetl2c_get_scene_info_result_descriptor_ = file->message_type(1);
  265. static const int packetl2c_get_scene_info_result_offsets_[4] = {
  266. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, packet_id_),
  267. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, scene_info_),
  268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, recvbenefittime_),
  269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, recvbenefitcount_),
  270. };
  271. packetl2c_get_scene_info_result_reflection_ =
  272. new ::google::protobuf::internal::GeneratedMessageReflection(
  273. packetl2c_get_scene_info_result_descriptor_,
  274. packetl2c_get_scene_info_result::default_instance_,
  275. packetl2c_get_scene_info_result_offsets_,
  276. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, _has_bits_[0]),
  277. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, _unknown_fields_),
  278. -1,
  279. ::google::protobuf::DescriptorPool::generated_pool(),
  280. ::google::protobuf::MessageFactory::generated_factory(),
  281. sizeof(packetl2c_get_scene_info_result));
  282. packetc2l_change_rate_descriptor_ = file->message_type(2);
  283. static const int packetc2l_change_rate_offsets_[2] = {
  284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_rate, packet_id_),
  285. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_rate, turret_rate_),
  286. };
  287. packetc2l_change_rate_reflection_ =
  288. new ::google::protobuf::internal::GeneratedMessageReflection(
  289. packetc2l_change_rate_descriptor_,
  290. packetc2l_change_rate::default_instance_,
  291. packetc2l_change_rate_offsets_,
  292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_rate, _has_bits_[0]),
  293. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_rate, _unknown_fields_),
  294. -1,
  295. ::google::protobuf::DescriptorPool::generated_pool(),
  296. ::google::protobuf::MessageFactory::generated_factory(),
  297. sizeof(packetc2l_change_rate));
  298. packetc2l_sync_gold_descriptor_ = file->message_type(3);
  299. static const int packetc2l_sync_gold_offsets_[1] = {
  300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_sync_gold, packet_id_),
  301. };
  302. packetc2l_sync_gold_reflection_ =
  303. new ::google::protobuf::internal::GeneratedMessageReflection(
  304. packetc2l_sync_gold_descriptor_,
  305. packetc2l_sync_gold::default_instance_,
  306. packetc2l_sync_gold_offsets_,
  307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_sync_gold, _has_bits_[0]),
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_sync_gold, _unknown_fields_),
  309. -1,
  310. ::google::protobuf::DescriptorPool::generated_pool(),
  311. ::google::protobuf::MessageFactory::generated_factory(),
  312. sizeof(packetc2l_sync_gold));
  313. packetl2c_bc_enter_seat_descriptor_ = file->message_type(4);
  314. static const int packetl2c_bc_enter_seat_offsets_[2] = {
  315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_enter_seat, packet_id_),
  316. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_enter_seat, seat_info_),
  317. };
  318. packetl2c_bc_enter_seat_reflection_ =
  319. new ::google::protobuf::internal::GeneratedMessageReflection(
  320. packetl2c_bc_enter_seat_descriptor_,
  321. packetl2c_bc_enter_seat::default_instance_,
  322. packetl2c_bc_enter_seat_offsets_,
  323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_enter_seat, _has_bits_[0]),
  324. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_enter_seat, _unknown_fields_),
  325. -1,
  326. ::google::protobuf::DescriptorPool::generated_pool(),
  327. ::google::protobuf::MessageFactory::generated_factory(),
  328. sizeof(packetl2c_bc_enter_seat));
  329. packetl2c_bc_leave_seat_descriptor_ = file->message_type(5);
  330. static const int packetl2c_bc_leave_seat_offsets_[2] = {
  331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_leave_seat, packet_id_),
  332. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_leave_seat, player_id_),
  333. };
  334. packetl2c_bc_leave_seat_reflection_ =
  335. new ::google::protobuf::internal::GeneratedMessageReflection(
  336. packetl2c_bc_leave_seat_descriptor_,
  337. packetl2c_bc_leave_seat::default_instance_,
  338. packetl2c_bc_leave_seat_offsets_,
  339. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_leave_seat, _has_bits_[0]),
  340. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_leave_seat, _unknown_fields_),
  341. -1,
  342. ::google::protobuf::DescriptorPool::generated_pool(),
  343. ::google::protobuf::MessageFactory::generated_factory(),
  344. sizeof(packetl2c_bc_leave_seat));
  345. packetl2c_robot_enter_descriptor_ = file->message_type(6);
  346. static const int packetl2c_robot_enter_offsets_[3] = {
  347. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, packet_id_),
  348. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, seat_info_),
  349. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, scene_id_),
  350. };
  351. packetl2c_robot_enter_reflection_ =
  352. new ::google::protobuf::internal::GeneratedMessageReflection(
  353. packetl2c_robot_enter_descriptor_,
  354. packetl2c_robot_enter::default_instance_,
  355. packetl2c_robot_enter_offsets_,
  356. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, _has_bits_[0]),
  357. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, _unknown_fields_),
  358. -1,
  359. ::google::protobuf::DescriptorPool::generated_pool(),
  360. ::google::protobuf::MessageFactory::generated_factory(),
  361. sizeof(packetl2c_robot_enter));
  362. packetl2c_robot_leave_descriptor_ = file->message_type(7);
  363. static const int packetl2c_robot_leave_offsets_[2] = {
  364. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_leave, packet_id_),
  365. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_leave, player_id_),
  366. };
  367. packetl2c_robot_leave_reflection_ =
  368. new ::google::protobuf::internal::GeneratedMessageReflection(
  369. packetl2c_robot_leave_descriptor_,
  370. packetl2c_robot_leave::default_instance_,
  371. packetl2c_robot_leave_offsets_,
  372. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_leave, _has_bits_[0]),
  373. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_leave, _unknown_fields_),
  374. -1,
  375. ::google::protobuf::DescriptorPool::generated_pool(),
  376. ::google::protobuf::MessageFactory::generated_factory(),
  377. sizeof(packetl2c_robot_leave));
  378. packetl2c_bc_change_rate_descriptor_ = file->message_type(8);
  379. static const int packetl2c_bc_change_rate_offsets_[3] = {
  380. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, packet_id_),
  381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, player_id_),
  382. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, turret_rate_),
  383. };
  384. packetl2c_bc_change_rate_reflection_ =
  385. new ::google::protobuf::internal::GeneratedMessageReflection(
  386. packetl2c_bc_change_rate_descriptor_,
  387. packetl2c_bc_change_rate::default_instance_,
  388. packetl2c_bc_change_rate_offsets_,
  389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, _has_bits_[0]),
  390. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, _unknown_fields_),
  391. -1,
  392. ::google::protobuf::DescriptorPool::generated_pool(),
  393. ::google::protobuf::MessageFactory::generated_factory(),
  394. sizeof(packetl2c_bc_change_rate));
  395. packetl2c_bc_change_attr_descriptor_ = file->message_type(9);
  396. static const int packetl2c_bc_change_attr_offsets_[26] = {
  397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, packet_id_),
  398. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, player_id_),
  399. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_gold_),
  400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_vip_),
  401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_diamond_),
  402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_ticket_),
  403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_dimensity_),
  404. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_goldingot_),
  405. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_tombola_),
  406. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_legendarycoin_),
  407. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_redpacket_),
  408. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_chip_),
  409. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_jdchip_),
  410. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_playerlv_),
  411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_turretlv_),
  412. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_dragonball_),
  413. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_glorycrystal_),
  414. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, monthcard_time_),
  415. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, goldmonthcard_time_),
  416. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, diamondmonthcard_time_),
  417. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, monthcardremaintime_),
  418. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, goldmonthcardremaintime_),
  419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, diamondmonthcardremaintime_),
  420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, weekcard_time_),
  421. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, weekcardremaintime_),
  422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, reason_),
  423. };
  424. packetl2c_bc_change_attr_reflection_ =
  425. new ::google::protobuf::internal::GeneratedMessageReflection(
  426. packetl2c_bc_change_attr_descriptor_,
  427. packetl2c_bc_change_attr::default_instance_,
  428. packetl2c_bc_change_attr_offsets_,
  429. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, _has_bits_[0]),
  430. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, _unknown_fields_),
  431. -1,
  432. ::google::protobuf::DescriptorPool::generated_pool(),
  433. ::google::protobuf::MessageFactory::generated_factory(),
  434. sizeof(packetl2c_bc_change_attr));
  435. packetl2c_bc_create_fish_descriptor_ = file->message_type(10);
  436. static const int packetl2c_bc_create_fish_offsets_[4] = {
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, packet_id_),
  438. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, fish_info_),
  439. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, reason_),
  440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, ownerplayerid_),
  441. };
  442. packetl2c_bc_create_fish_reflection_ =
  443. new ::google::protobuf::internal::GeneratedMessageReflection(
  444. packetl2c_bc_create_fish_descriptor_,
  445. packetl2c_bc_create_fish::default_instance_,
  446. packetl2c_bc_create_fish_offsets_,
  447. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, _has_bits_[0]),
  448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, _unknown_fields_),
  449. -1,
  450. ::google::protobuf::DescriptorPool::generated_pool(),
  451. ::google::protobuf::MessageFactory::generated_factory(),
  452. sizeof(packetl2c_bc_create_fish));
  453. packetl2c_bc_create_generator_descriptor_ = file->message_type(11);
  454. static const int packetl2c_bc_create_generator_offsets_[8] = {
  455. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, packet_id_),
  456. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, generator_id_),
  457. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, start_id_),
  458. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, route_id_),
  459. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, is_red_),
  460. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, pos_x_),
  461. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, pos_y_),
  462. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, is_flash_),
  463. };
  464. packetl2c_bc_create_generator_reflection_ =
  465. new ::google::protobuf::internal::GeneratedMessageReflection(
  466. packetl2c_bc_create_generator_descriptor_,
  467. packetl2c_bc_create_generator::default_instance_,
  468. packetl2c_bc_create_generator_offsets_,
  469. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, _has_bits_[0]),
  470. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, _unknown_fields_),
  471. -1,
  472. ::google::protobuf::DescriptorPool::generated_pool(),
  473. ::google::protobuf::MessageFactory::generated_factory(),
  474. sizeof(packetl2c_bc_create_generator));
  475. ManualFireEx_descriptor_ = file->message_type(12);
  476. static const int ManualFireEx_offsets_[2] = {
  477. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ManualFireEx, refitemid_),
  478. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ManualFireEx, fishid_),
  479. };
  480. ManualFireEx_reflection_ =
  481. new ::google::protobuf::internal::GeneratedMessageReflection(
  482. ManualFireEx_descriptor_,
  483. ManualFireEx::default_instance_,
  484. ManualFireEx_offsets_,
  485. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ManualFireEx, _has_bits_[0]),
  486. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ManualFireEx, _unknown_fields_),
  487. -1,
  488. ::google::protobuf::DescriptorPool::generated_pool(),
  489. ::google::protobuf::MessageFactory::generated_factory(),
  490. sizeof(ManualFireEx));
  491. packetc2l_manual_fire_descriptor_ = file->message_type(13);
  492. static const int packetc2l_manual_fire_offsets_[10] = {
  493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, packet_id_),
  494. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_id_),
  495. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_angle_),
  496. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, is_multi_),
  497. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, is_violent_),
  498. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_type_),
  499. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_rate_),
  500. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, room_rate_),
  501. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_power_),
  502. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, exparam_),
  503. };
  504. packetc2l_manual_fire_reflection_ =
  505. new ::google::protobuf::internal::GeneratedMessageReflection(
  506. packetc2l_manual_fire_descriptor_,
  507. packetc2l_manual_fire::default_instance_,
  508. packetc2l_manual_fire_offsets_,
  509. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, _has_bits_[0]),
  510. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, _unknown_fields_),
  511. -1,
  512. ::google::protobuf::DescriptorPool::generated_pool(),
  513. ::google::protobuf::MessageFactory::generated_factory(),
  514. sizeof(packetc2l_manual_fire));
  515. packetl2c_bc_manual_fire_descriptor_ = file->message_type(14);
  516. static const int packetl2c_bc_manual_fire_offsets_[12] = {
  517. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, packet_id_),
  518. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bullet_id_),
  519. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, player_id_),
  520. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bullet_angle_),
  521. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, curexp_),
  522. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bullet_type_),
  523. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, is_violent_),
  524. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, exparam_),
  525. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, result_),
  526. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bulletrate_),
  527. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bulletpower_),
  528. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, gold_),
  529. };
  530. packetl2c_bc_manual_fire_reflection_ =
  531. new ::google::protobuf::internal::GeneratedMessageReflection(
  532. packetl2c_bc_manual_fire_descriptor_,
  533. packetl2c_bc_manual_fire::default_instance_,
  534. packetl2c_bc_manual_fire_offsets_,
  535. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, _has_bits_[0]),
  536. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, _unknown_fields_),
  537. -1,
  538. ::google::protobuf::DescriptorPool::generated_pool(),
  539. ::google::protobuf::MessageFactory::generated_factory(),
  540. sizeof(packetl2c_bc_manual_fire));
  541. packetc2l_hit_fish_descriptor_ = file->message_type(15);
  542. static const int packetc2l_hit_fish_offsets_[3] = {
  543. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, packet_id_),
  544. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, bullet_id_),
  545. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, fish_id_),
  546. };
  547. packetc2l_hit_fish_reflection_ =
  548. new ::google::protobuf::internal::GeneratedMessageReflection(
  549. packetc2l_hit_fish_descriptor_,
  550. packetc2l_hit_fish::default_instance_,
  551. packetc2l_hit_fish_offsets_,
  552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, _has_bits_[0]),
  553. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, _unknown_fields_),
  554. -1,
  555. ::google::protobuf::DescriptorPool::generated_pool(),
  556. ::google::protobuf::MessageFactory::generated_factory(),
  557. sizeof(packetc2l_hit_fish));
  558. packetc2l_hit_fishs_descriptor_ = file->message_type(16);
  559. static const int packetc2l_hit_fishs_offsets_[5] = {
  560. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, packet_id_),
  561. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, hit_type_),
  562. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, bullet_id_),
  563. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, fish_ids_),
  564. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, hit_param_),
  565. };
  566. packetc2l_hit_fishs_reflection_ =
  567. new ::google::protobuf::internal::GeneratedMessageReflection(
  568. packetc2l_hit_fishs_descriptor_,
  569. packetc2l_hit_fishs::default_instance_,
  570. packetc2l_hit_fishs_offsets_,
  571. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, _has_bits_[0]),
  572. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, _unknown_fields_),
  573. -1,
  574. ::google::protobuf::DescriptorPool::generated_pool(),
  575. ::google::protobuf::MessageFactory::generated_factory(),
  576. sizeof(packetc2l_hit_fishs));
  577. LegindaryCoinGainInfo_descriptor_ = file->message_type(17);
  578. static const int LegindaryCoinGainInfo_offsets_[2] = {
  579. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegindaryCoinGainInfo, playerid_),
  580. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegindaryCoinGainInfo, count_),
  581. };
  582. LegindaryCoinGainInfo_reflection_ =
  583. new ::google::protobuf::internal::GeneratedMessageReflection(
  584. LegindaryCoinGainInfo_descriptor_,
  585. LegindaryCoinGainInfo::default_instance_,
  586. LegindaryCoinGainInfo_offsets_,
  587. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegindaryCoinGainInfo, _has_bits_[0]),
  588. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegindaryCoinGainInfo, _unknown_fields_),
  589. -1,
  590. ::google::protobuf::DescriptorPool::generated_pool(),
  591. ::google::protobuf::MessageFactory::generated_factory(),
  592. sizeof(LegindaryCoinGainInfo));
  593. packetl2c_bc_fish_die_descriptor_ = file->message_type(18);
  594. static const int packetl2c_bc_fish_die_offsets_[17] = {
  595. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, packet_id_),
  596. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, fish_id_),
  597. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, kill_id_),
  598. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, score_),
  599. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, diamond_),
  600. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, ticket_),
  601. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, dimensity_),
  602. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, refitemid_),
  603. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, dragonball_),
  604. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, legendarycoin_),
  605. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, point_),
  606. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, addpoint_),
  607. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, qualifypoint_),
  608. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, dailytopcardinfo_),
  609. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, items_),
  610. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, fishcfgid_),
  611. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, fishscore_),
  612. };
  613. packetl2c_bc_fish_die_reflection_ =
  614. new ::google::protobuf::internal::GeneratedMessageReflection(
  615. packetl2c_bc_fish_die_descriptor_,
  616. packetl2c_bc_fish_die::default_instance_,
  617. packetl2c_bc_fish_die_offsets_,
  618. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, _has_bits_[0]),
  619. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, _unknown_fields_),
  620. -1,
  621. ::google::protobuf::DescriptorPool::generated_pool(),
  622. ::google::protobuf::MessageFactory::generated_factory(),
  623. sizeof(packetl2c_bc_fish_die));
  624. packetl2c_notify_bullet_explode_descriptor_ = file->message_type(19);
  625. static const int packetl2c_notify_bullet_explode_offsets_[3] = {
  626. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, packet_id_),
  627. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, playerid_),
  628. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, bulletid_),
  629. };
  630. packetl2c_notify_bullet_explode_reflection_ =
  631. new ::google::protobuf::internal::GeneratedMessageReflection(
  632. packetl2c_notify_bullet_explode_descriptor_,
  633. packetl2c_notify_bullet_explode::default_instance_,
  634. packetl2c_notify_bullet_explode_offsets_,
  635. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, _has_bits_[0]),
  636. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, _unknown_fields_),
  637. -1,
  638. ::google::protobuf::DescriptorPool::generated_pool(),
  639. ::google::protobuf::MessageFactory::generated_factory(),
  640. sizeof(packetl2c_notify_bullet_explode));
  641. packetl2c_bc_bullet_explode_descriptor_ = file->message_type(20);
  642. static const int packetl2c_bc_bullet_explode_offsets_[6] = {
  643. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, packet_id_),
  644. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, playerid_),
  645. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, bulletid_),
  646. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, fishids_),
  647. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, score_),
  648. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, items_),
  649. };
  650. packetl2c_bc_bullet_explode_reflection_ =
  651. new ::google::protobuf::internal::GeneratedMessageReflection(
  652. packetl2c_bc_bullet_explode_descriptor_,
  653. packetl2c_bc_bullet_explode::default_instance_,
  654. packetl2c_bc_bullet_explode_offsets_,
  655. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, _has_bits_[0]),
  656. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, _unknown_fields_),
  657. -1,
  658. ::google::protobuf::DescriptorPool::generated_pool(),
  659. ::google::protobuf::MessageFactory::generated_factory(),
  660. sizeof(packetl2c_bc_bullet_explode));
  661. packetl2c_bc_specialfish_die_descriptor_ = file->message_type(21);
  662. static const int packetl2c_bc_specialfish_die_offsets_[12] = {
  663. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, packet_id_),
  664. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, fish_id_),
  665. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, player_id_),
  666. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, bullet_id_),
  667. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, base_score_),
  668. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, add_score_),
  669. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, ticket_),
  670. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, getstar_),
  671. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, dragonball_),
  672. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, point_),
  673. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, items_),
  674. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, fishcfgid_),
  675. };
  676. packetl2c_bc_specialfish_die_reflection_ =
  677. new ::google::protobuf::internal::GeneratedMessageReflection(
  678. packetl2c_bc_specialfish_die_descriptor_,
  679. packetl2c_bc_specialfish_die::default_instance_,
  680. packetl2c_bc_specialfish_die_offsets_,
  681. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, _has_bits_[0]),
  682. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, _unknown_fields_),
  683. -1,
  684. ::google::protobuf::DescriptorPool::generated_pool(),
  685. ::google::protobuf::MessageFactory::generated_factory(),
  686. sizeof(packetl2c_bc_specialfish_die));
  687. packetl2c_bc_fishs_die_descriptor_ = file->message_type(22);
  688. static const int packetl2c_bc_fishs_die_offsets_[16] = {
  689. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, packet_id_),
  690. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, player_id_),
  691. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, die_type_),
  692. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, die_params_),
  693. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_score_),
  694. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_diamond_),
  695. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_dimensity_),
  696. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_ticket_),
  697. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_point_),
  698. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, torpedoid_),
  699. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, base_rate_),
  700. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, add_rate_),
  701. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, ticket_),
  702. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, add_point_),
  703. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, items_),
  704. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, fishcfgid_),
  705. };
  706. packetl2c_bc_fishs_die_reflection_ =
  707. new ::google::protobuf::internal::GeneratedMessageReflection(
  708. packetl2c_bc_fishs_die_descriptor_,
  709. packetl2c_bc_fishs_die::default_instance_,
  710. packetl2c_bc_fishs_die_offsets_,
  711. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, _has_bits_[0]),
  712. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, _unknown_fields_),
  713. -1,
  714. ::google::protobuf::DescriptorPool::generated_pool(),
  715. ::google::protobuf::MessageFactory::generated_factory(),
  716. sizeof(packetl2c_bc_fishs_die));
  717. packetl2c_bc_change_scene_descriptor_ = file->message_type(23);
  718. static const int packetl2c_bc_change_scene_offsets_[3] = {
  719. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, packet_id_),
  720. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, scene_id_),
  721. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, large_fish_id_),
  722. };
  723. packetl2c_bc_change_scene_reflection_ =
  724. new ::google::protobuf::internal::GeneratedMessageReflection(
  725. packetl2c_bc_change_scene_descriptor_,
  726. packetl2c_bc_change_scene::default_instance_,
  727. packetl2c_bc_change_scene_offsets_,
  728. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, _has_bits_[0]),
  729. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, _unknown_fields_),
  730. -1,
  731. ::google::protobuf::DescriptorPool::generated_pool(),
  732. ::google::protobuf::MessageFactory::generated_factory(),
  733. sizeof(packetl2c_bc_change_scene));
  734. packetl2c_bc_finish_boss_scene_descriptor_ = file->message_type(24);
  735. static const int packetl2c_bc_finish_boss_scene_offsets_[5] = {
  736. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, packet_id_),
  737. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, notify_type_),
  738. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, boss_id_),
  739. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, jackpot_),
  740. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, basegold_),
  741. };
  742. packetl2c_bc_finish_boss_scene_reflection_ =
  743. new ::google::protobuf::internal::GeneratedMessageReflection(
  744. packetl2c_bc_finish_boss_scene_descriptor_,
  745. packetl2c_bc_finish_boss_scene::default_instance_,
  746. packetl2c_bc_finish_boss_scene_offsets_,
  747. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, _has_bits_[0]),
  748. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, _unknown_fields_),
  749. -1,
  750. ::google::protobuf::DescriptorPool::generated_pool(),
  751. ::google::protobuf::MessageFactory::generated_factory(),
  752. sizeof(packetl2c_bc_finish_boss_scene));
  753. packetl2c_bc_using_item_descriptor_ = file->message_type(25);
  754. static const int packetl2c_bc_using_item_offsets_[4] = {
  755. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, packet_id_),
  756. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, item_id_),
  757. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, player_id_),
  758. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, use_time_),
  759. };
  760. packetl2c_bc_using_item_reflection_ =
  761. new ::google::protobuf::internal::GeneratedMessageReflection(
  762. packetl2c_bc_using_item_descriptor_,
  763. packetl2c_bc_using_item::default_instance_,
  764. packetl2c_bc_using_item_offsets_,
  765. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, _has_bits_[0]),
  766. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, _unknown_fields_),
  767. -1,
  768. ::google::protobuf::DescriptorPool::generated_pool(),
  769. ::google::protobuf::MessageFactory::generated_factory(),
  770. sizeof(packetl2c_bc_using_item));
  771. packetl2c_bc_stop_using_item_descriptor_ = file->message_type(26);
  772. static const int packetl2c_bc_stop_using_item_offsets_[3] = {
  773. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, packet_id_),
  774. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, item_id_),
  775. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, player_id_),
  776. };
  777. packetl2c_bc_stop_using_item_reflection_ =
  778. new ::google::protobuf::internal::GeneratedMessageReflection(
  779. packetl2c_bc_stop_using_item_descriptor_,
  780. packetl2c_bc_stop_using_item::default_instance_,
  781. packetl2c_bc_stop_using_item_offsets_,
  782. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, _has_bits_[0]),
  783. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, _unknown_fields_),
  784. -1,
  785. ::google::protobuf::DescriptorPool::generated_pool(),
  786. ::google::protobuf::MessageFactory::generated_factory(),
  787. sizeof(packetl2c_bc_stop_using_item));
  788. packetl2c_bc_changeturret_descriptor_ = file->message_type(27);
  789. static const int packetl2c_bc_changeturret_offsets_[3] = {
  790. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, packet_id_),
  791. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, turret_id_),
  792. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, player_id_),
  793. };
  794. packetl2c_bc_changeturret_reflection_ =
  795. new ::google::protobuf::internal::GeneratedMessageReflection(
  796. packetl2c_bc_changeturret_descriptor_,
  797. packetl2c_bc_changeturret::default_instance_,
  798. packetl2c_bc_changeturret_offsets_,
  799. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, _has_bits_[0]),
  800. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, _unknown_fields_),
  801. -1,
  802. ::google::protobuf::DescriptorPool::generated_pool(),
  803. ::google::protobuf::MessageFactory::generated_factory(),
  804. sizeof(packetl2c_bc_changeturret));
  805. packetc2l_lock_fish_descriptor_ = file->message_type(28);
  806. static const int packetc2l_lock_fish_offsets_[2] = {
  807. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_lock_fish, packet_id_),
  808. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_lock_fish, fish_id_),
  809. };
  810. packetc2l_lock_fish_reflection_ =
  811. new ::google::protobuf::internal::GeneratedMessageReflection(
  812. packetc2l_lock_fish_descriptor_,
  813. packetc2l_lock_fish::default_instance_,
  814. packetc2l_lock_fish_offsets_,
  815. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_lock_fish, _has_bits_[0]),
  816. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_lock_fish, _unknown_fields_),
  817. -1,
  818. ::google::protobuf::DescriptorPool::generated_pool(),
  819. ::google::protobuf::MessageFactory::generated_factory(),
  820. sizeof(packetc2l_lock_fish));
  821. packetl2c_bc_lock_fish_descriptor_ = file->message_type(29);
  822. static const int packetl2c_bc_lock_fish_offsets_[4] = {
  823. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, packet_id_),
  824. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, result_),
  825. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, player_id_),
  826. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, fish_id_),
  827. };
  828. packetl2c_bc_lock_fish_reflection_ =
  829. new ::google::protobuf::internal::GeneratedMessageReflection(
  830. packetl2c_bc_lock_fish_descriptor_,
  831. packetl2c_bc_lock_fish::default_instance_,
  832. packetl2c_bc_lock_fish_offsets_,
  833. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, _has_bits_[0]),
  834. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, _unknown_fields_),
  835. -1,
  836. ::google::protobuf::DescriptorPool::generated_pool(),
  837. ::google::protobuf::MessageFactory::generated_factory(),
  838. sizeof(packetl2c_bc_lock_fish));
  839. packetl2c_bc_freeze_descriptor_ = file->message_type(30);
  840. static const int packetl2c_bc_freeze_offsets_[4] = {
  841. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, packet_id_),
  842. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, fish_ids_),
  843. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, freeze_time_),
  844. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, is_show_),
  845. };
  846. packetl2c_bc_freeze_reflection_ =
  847. new ::google::protobuf::internal::GeneratedMessageReflection(
  848. packetl2c_bc_freeze_descriptor_,
  849. packetl2c_bc_freeze::default_instance_,
  850. packetl2c_bc_freeze_offsets_,
  851. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, _has_bits_[0]),
  852. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, _unknown_fields_),
  853. -1,
  854. ::google::protobuf::DescriptorPool::generated_pool(),
  855. ::google::protobuf::MessageFactory::generated_factory(),
  856. sizeof(packetl2c_bc_freeze));
  857. packetl2c_bc_change_scene_bg_descriptor_ = file->message_type(31);
  858. static const int packetl2c_bc_change_scene_bg_offsets_[2] = {
  859. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene_bg, packet_id_),
  860. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene_bg, scene_id_),
  861. };
  862. packetl2c_bc_change_scene_bg_reflection_ =
  863. new ::google::protobuf::internal::GeneratedMessageReflection(
  864. packetl2c_bc_change_scene_bg_descriptor_,
  865. packetl2c_bc_change_scene_bg::default_instance_,
  866. packetl2c_bc_change_scene_bg_offsets_,
  867. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene_bg, _has_bits_[0]),
  868. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene_bg, _unknown_fields_),
  869. -1,
  870. ::google::protobuf::DescriptorPool::generated_pool(),
  871. ::google::protobuf::MessageFactory::generated_factory(),
  872. sizeof(packetl2c_bc_change_scene_bg));
  873. packetl2c_bc_scene_time_descriptor_ = file->message_type(32);
  874. static const int packetl2c_bc_scene_time_offsets_[2] = {
  875. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_scene_time, packet_id_),
  876. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_scene_time, scene_time_),
  877. };
  878. packetl2c_bc_scene_time_reflection_ =
  879. new ::google::protobuf::internal::GeneratedMessageReflection(
  880. packetl2c_bc_scene_time_descriptor_,
  881. packetl2c_bc_scene_time::default_instance_,
  882. packetl2c_bc_scene_time_offsets_,
  883. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_scene_time, _has_bits_[0]),
  884. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_scene_time, _unknown_fields_),
  885. -1,
  886. ::google::protobuf::DescriptorPool::generated_pool(),
  887. ::google::protobuf::MessageFactory::generated_factory(),
  888. sizeof(packetl2c_bc_scene_time));
  889. packetl2c_bc_change_jackpot_descriptor_ = file->message_type(33);
  890. static const int packetl2c_bc_change_jackpot_offsets_[2] = {
  891. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_jackpot, packet_id_),
  892. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_jackpot, curpool_),
  893. };
  894. packetl2c_bc_change_jackpot_reflection_ =
  895. new ::google::protobuf::internal::GeneratedMessageReflection(
  896. packetl2c_bc_change_jackpot_descriptor_,
  897. packetl2c_bc_change_jackpot::default_instance_,
  898. packetl2c_bc_change_jackpot_offsets_,
  899. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_jackpot, _has_bits_[0]),
  900. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_jackpot, _unknown_fields_),
  901. -1,
  902. ::google::protobuf::DescriptorPool::generated_pool(),
  903. ::google::protobuf::MessageFactory::generated_factory(),
  904. sizeof(packetl2c_bc_change_jackpot));
  905. packetl2c_bc_hit_fishs_descriptor_ = file->message_type(34);
  906. static const int packetl2c_bc_hit_fishs_offsets_[5] = {
  907. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, packet_id_),
  908. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, player_id_),
  909. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, hit_type_),
  910. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, fish_ids_),
  911. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, params_),
  912. };
  913. packetl2c_bc_hit_fishs_reflection_ =
  914. new ::google::protobuf::internal::GeneratedMessageReflection(
  915. packetl2c_bc_hit_fishs_descriptor_,
  916. packetl2c_bc_hit_fishs::default_instance_,
  917. packetl2c_bc_hit_fishs_offsets_,
  918. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, _has_bits_[0]),
  919. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, _unknown_fields_),
  920. -1,
  921. ::google::protobuf::DescriptorPool::generated_pool(),
  922. ::google::protobuf::MessageFactory::generated_factory(),
  923. sizeof(packetl2c_bc_hit_fishs));
  924. packetl2c_bc_turret_rotate_descriptor_ = file->message_type(35);
  925. static const int packetl2c_bc_turret_rotate_offsets_[3] = {
  926. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, packet_id_),
  927. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, player_id_),
  928. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, rotate_angle_),
  929. };
  930. packetl2c_bc_turret_rotate_reflection_ =
  931. new ::google::protobuf::internal::GeneratedMessageReflection(
  932. packetl2c_bc_turret_rotate_descriptor_,
  933. packetl2c_bc_turret_rotate::default_instance_,
  934. packetl2c_bc_turret_rotate_offsets_,
  935. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, _has_bits_[0]),
  936. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, _unknown_fields_),
  937. -1,
  938. ::google::protobuf::DescriptorPool::generated_pool(),
  939. ::google::protobuf::MessageFactory::generated_factory(),
  940. sizeof(packetl2c_bc_turret_rotate));
  941. packetl2c_bc_change_max_power_descriptor_ = file->message_type(36);
  942. static const int packetl2c_bc_change_max_power_offsets_[3] = {
  943. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, packet_id_),
  944. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, player_id_),
  945. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, max_power_),
  946. };
  947. packetl2c_bc_change_max_power_reflection_ =
  948. new ::google::protobuf::internal::GeneratedMessageReflection(
  949. packetl2c_bc_change_max_power_descriptor_,
  950. packetl2c_bc_change_max_power::default_instance_,
  951. packetl2c_bc_change_max_power_offsets_,
  952. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, _has_bits_[0]),
  953. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, _unknown_fields_),
  954. -1,
  955. ::google::protobuf::DescriptorPool::generated_pool(),
  956. ::google::protobuf::MessageFactory::generated_factory(),
  957. sizeof(packetl2c_bc_change_max_power));
  958. packetl2c_bc_table_lottery_descriptor_ = file->message_type(37);
  959. static const int packetl2c_bc_table_lottery_offsets_[4] = {
  960. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, packet_id_),
  961. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, player_id_),
  962. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, item_id_),
  963. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, item_count_),
  964. };
  965. packetl2c_bc_table_lottery_reflection_ =
  966. new ::google::protobuf::internal::GeneratedMessageReflection(
  967. packetl2c_bc_table_lottery_descriptor_,
  968. packetl2c_bc_table_lottery::default_instance_,
  969. packetl2c_bc_table_lottery_offsets_,
  970. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, _has_bits_[0]),
  971. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, _unknown_fields_),
  972. -1,
  973. ::google::protobuf::DescriptorPool::generated_pool(),
  974. ::google::protobuf::MessageFactory::generated_factory(),
  975. sizeof(packetl2c_bc_table_lottery));
  976. packetc2l_req_drop_rate_descriptor_ = file->message_type(38);
  977. static const int packetc2l_req_drop_rate_offsets_[1] = {
  978. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_drop_rate, packet_id_),
  979. };
  980. packetc2l_req_drop_rate_reflection_ =
  981. new ::google::protobuf::internal::GeneratedMessageReflection(
  982. packetc2l_req_drop_rate_descriptor_,
  983. packetc2l_req_drop_rate::default_instance_,
  984. packetc2l_req_drop_rate_offsets_,
  985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_drop_rate, _has_bits_[0]),
  986. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_drop_rate, _unknown_fields_),
  987. -1,
  988. ::google::protobuf::DescriptorPool::generated_pool(),
  989. ::google::protobuf::MessageFactory::generated_factory(),
  990. sizeof(packetc2l_req_drop_rate));
  991. packetl2c_req_drop_rate_result_descriptor_ = file->message_type(39);
  992. static const int packetl2c_req_drop_rate_result_offsets_[5] = {
  993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, packet_id_),
  994. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, id_),
  995. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, curgold_),
  996. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, recvbenefittime_),
  997. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, triggergiftid_),
  998. };
  999. packetl2c_req_drop_rate_result_reflection_ =
  1000. new ::google::protobuf::internal::GeneratedMessageReflection(
  1001. packetl2c_req_drop_rate_result_descriptor_,
  1002. packetl2c_req_drop_rate_result::default_instance_,
  1003. packetl2c_req_drop_rate_result_offsets_,
  1004. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, _has_bits_[0]),
  1005. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, _unknown_fields_),
  1006. -1,
  1007. ::google::protobuf::DescriptorPool::generated_pool(),
  1008. ::google::protobuf::MessageFactory::generated_factory(),
  1009. sizeof(packetl2c_req_drop_rate_result));
  1010. packet_c2l_benefits_descriptor_ = file->message_type(40);
  1011. static const int packet_c2l_benefits_offsets_[2] = {
  1012. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2l_benefits, packet_id_),
  1013. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2l_benefits, double__),
  1014. };
  1015. packet_c2l_benefits_reflection_ =
  1016. new ::google::protobuf::internal::GeneratedMessageReflection(
  1017. packet_c2l_benefits_descriptor_,
  1018. packet_c2l_benefits::default_instance_,
  1019. packet_c2l_benefits_offsets_,
  1020. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2l_benefits, _has_bits_[0]),
  1021. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2l_benefits, _unknown_fields_),
  1022. -1,
  1023. ::google::protobuf::DescriptorPool::generated_pool(),
  1024. ::google::protobuf::MessageFactory::generated_factory(),
  1025. sizeof(packet_c2l_benefits));
  1026. packet_l2c_benefits_result_descriptor_ = file->message_type(41);
  1027. static const int packet_l2c_benefits_result_offsets_[3] = {
  1028. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, packet_id_),
  1029. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, double__),
  1030. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, result_),
  1031. };
  1032. packet_l2c_benefits_result_reflection_ =
  1033. new ::google::protobuf::internal::GeneratedMessageReflection(
  1034. packet_l2c_benefits_result_descriptor_,
  1035. packet_l2c_benefits_result::default_instance_,
  1036. packet_l2c_benefits_result_offsets_,
  1037. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, _has_bits_[0]),
  1038. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, _unknown_fields_),
  1039. -1,
  1040. ::google::protobuf::DescriptorPool::generated_pool(),
  1041. ::google::protobuf::MessageFactory::generated_factory(),
  1042. sizeof(packet_l2c_benefits_result));
  1043. packetl2c_bc_table_kill_chipfish_descriptor_ = file->message_type(42);
  1044. static const int packetl2c_bc_table_kill_chipfish_offsets_[4] = {
  1045. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, packet_id_),
  1046. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, playerid_),
  1047. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, lotteryid_),
  1048. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, fishid_),
  1049. };
  1050. packetl2c_bc_table_kill_chipfish_reflection_ =
  1051. new ::google::protobuf::internal::GeneratedMessageReflection(
  1052. packetl2c_bc_table_kill_chipfish_descriptor_,
  1053. packetl2c_bc_table_kill_chipfish::default_instance_,
  1054. packetl2c_bc_table_kill_chipfish_offsets_,
  1055. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, _has_bits_[0]),
  1056. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, _unknown_fields_),
  1057. -1,
  1058. ::google::protobuf::DescriptorPool::generated_pool(),
  1059. ::google::protobuf::MessageFactory::generated_factory(),
  1060. sizeof(packetl2c_bc_table_kill_chipfish));
  1061. packetl2c_bc_table_kill_turntablefish_descriptor_ = file->message_type(43);
  1062. static const int packetl2c_bc_table_kill_turntablefish_offsets_[6] = {
  1063. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, packet_id_),
  1064. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, playerid_),
  1065. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, gold_),
  1066. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, fishid_),
  1067. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, turnid_),
  1068. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, remaintimecard_),
  1069. };
  1070. packetl2c_bc_table_kill_turntablefish_reflection_ =
  1071. new ::google::protobuf::internal::GeneratedMessageReflection(
  1072. packetl2c_bc_table_kill_turntablefish_descriptor_,
  1073. packetl2c_bc_table_kill_turntablefish::default_instance_,
  1074. packetl2c_bc_table_kill_turntablefish_offsets_,
  1075. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, _has_bits_[0]),
  1076. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, _unknown_fields_),
  1077. -1,
  1078. ::google::protobuf::DescriptorPool::generated_pool(),
  1079. ::google::protobuf::MessageFactory::generated_factory(),
  1080. sizeof(packetl2c_bc_table_kill_turntablefish));
  1081. packetl2c_kill_goldfish_descriptor_ = file->message_type(44);
  1082. static const int packetl2c_kill_goldfish_offsets_[3] = {
  1083. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, packet_id_),
  1084. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, killcount_),
  1085. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, goldpool_),
  1086. };
  1087. packetl2c_kill_goldfish_reflection_ =
  1088. new ::google::protobuf::internal::GeneratedMessageReflection(
  1089. packetl2c_kill_goldfish_descriptor_,
  1090. packetl2c_kill_goldfish::default_instance_,
  1091. packetl2c_kill_goldfish_offsets_,
  1092. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, _has_bits_[0]),
  1093. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, _unknown_fields_),
  1094. -1,
  1095. ::google::protobuf::DescriptorPool::generated_pool(),
  1096. ::google::protobuf::MessageFactory::generated_factory(),
  1097. sizeof(packetl2c_kill_goldfish));
  1098. packetc2l_play_ad_reward_descriptor_ = file->message_type(45);
  1099. static const int packetc2l_play_ad_reward_offsets_[2] = {
  1100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_play_ad_reward, packet_id_),
  1101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_play_ad_reward, double__),
  1102. };
  1103. packetc2l_play_ad_reward_reflection_ =
  1104. new ::google::protobuf::internal::GeneratedMessageReflection(
  1105. packetc2l_play_ad_reward_descriptor_,
  1106. packetc2l_play_ad_reward::default_instance_,
  1107. packetc2l_play_ad_reward_offsets_,
  1108. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_play_ad_reward, _has_bits_[0]),
  1109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_play_ad_reward, _unknown_fields_),
  1110. -1,
  1111. ::google::protobuf::DescriptorPool::generated_pool(),
  1112. ::google::protobuf::MessageFactory::generated_factory(),
  1113. sizeof(packetc2l_play_ad_reward));
  1114. packetl2c_play_ad_reward_result_descriptor_ = file->message_type(46);
  1115. static const int packetl2c_play_ad_reward_result_offsets_[3] = {
  1116. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, packet_id_),
  1117. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, double__),
  1118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, result_),
  1119. };
  1120. packetl2c_play_ad_reward_result_reflection_ =
  1121. new ::google::protobuf::internal::GeneratedMessageReflection(
  1122. packetl2c_play_ad_reward_result_descriptor_,
  1123. packetl2c_play_ad_reward_result::default_instance_,
  1124. packetl2c_play_ad_reward_result_offsets_,
  1125. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, _has_bits_[0]),
  1126. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, _unknown_fields_),
  1127. -1,
  1128. ::google::protobuf::DescriptorPool::generated_pool(),
  1129. ::google::protobuf::MessageFactory::generated_factory(),
  1130. sizeof(packetl2c_play_ad_reward_result));
  1131. packetc2l_receive_redpacket_reward_descriptor_ = file->message_type(47);
  1132. static const int packetc2l_receive_redpacket_reward_offsets_[1] = {
  1133. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_redpacket_reward, packet_id_),
  1134. };
  1135. packetc2l_receive_redpacket_reward_reflection_ =
  1136. new ::google::protobuf::internal::GeneratedMessageReflection(
  1137. packetc2l_receive_redpacket_reward_descriptor_,
  1138. packetc2l_receive_redpacket_reward::default_instance_,
  1139. packetc2l_receive_redpacket_reward_offsets_,
  1140. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_redpacket_reward, _has_bits_[0]),
  1141. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_redpacket_reward, _unknown_fields_),
  1142. -1,
  1143. ::google::protobuf::DescriptorPool::generated_pool(),
  1144. ::google::protobuf::MessageFactory::generated_factory(),
  1145. sizeof(packetc2l_receive_redpacket_reward));
  1146. packetl2c_receive_redpacket_reward_result_descriptor_ = file->message_type(48);
  1147. static const int packetl2c_receive_redpacket_reward_result_offsets_[4] = {
  1148. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, packet_id_),
  1149. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, result_),
  1150. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, rewardindex_),
  1151. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, redenvlopeinfos_),
  1152. };
  1153. packetl2c_receive_redpacket_reward_result_reflection_ =
  1154. new ::google::protobuf::internal::GeneratedMessageReflection(
  1155. packetl2c_receive_redpacket_reward_result_descriptor_,
  1156. packetl2c_receive_redpacket_reward_result::default_instance_,
  1157. packetl2c_receive_redpacket_reward_result_offsets_,
  1158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, _has_bits_[0]),
  1159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, _unknown_fields_),
  1160. -1,
  1161. ::google::protobuf::DescriptorPool::generated_pool(),
  1162. ::google::protobuf::MessageFactory::generated_factory(),
  1163. sizeof(packetl2c_receive_redpacket_reward_result));
  1164. packetl2c_bc_trigger_mysterous_shell_descriptor_ = file->message_type(49);
  1165. static const int packetl2c_bc_trigger_mysterous_shell_offsets_[2] = {
  1166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mysterous_shell, packet_id_),
  1167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mysterous_shell, playerid_),
  1168. };
  1169. packetl2c_bc_trigger_mysterous_shell_reflection_ =
  1170. new ::google::protobuf::internal::GeneratedMessageReflection(
  1171. packetl2c_bc_trigger_mysterous_shell_descriptor_,
  1172. packetl2c_bc_trigger_mysterous_shell::default_instance_,
  1173. packetl2c_bc_trigger_mysterous_shell_offsets_,
  1174. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mysterous_shell, _has_bits_[0]),
  1175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mysterous_shell, _unknown_fields_),
  1176. -1,
  1177. ::google::protobuf::DescriptorPool::generated_pool(),
  1178. ::google::protobuf::MessageFactory::generated_factory(),
  1179. sizeof(packetl2c_bc_trigger_mysterous_shell));
  1180. packetc2l_req_lottery_mysterous_shell_descriptor_ = file->message_type(50);
  1181. static const int packetc2l_req_lottery_mysterous_shell_offsets_[2] = {
  1182. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_mysterous_shell, packet_id_),
  1183. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_mysterous_shell, index_),
  1184. };
  1185. packetc2l_req_lottery_mysterous_shell_reflection_ =
  1186. new ::google::protobuf::internal::GeneratedMessageReflection(
  1187. packetc2l_req_lottery_mysterous_shell_descriptor_,
  1188. packetc2l_req_lottery_mysterous_shell::default_instance_,
  1189. packetc2l_req_lottery_mysterous_shell_offsets_,
  1190. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_mysterous_shell, _has_bits_[0]),
  1191. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_mysterous_shell, _unknown_fields_),
  1192. -1,
  1193. ::google::protobuf::DescriptorPool::generated_pool(),
  1194. ::google::protobuf::MessageFactory::generated_factory(),
  1195. sizeof(packetc2l_req_lottery_mysterous_shell));
  1196. shellLotteryInfo_descriptor_ = file->message_type(51);
  1197. static const int shellLotteryInfo_offsets_[3] = {
  1198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, index_),
  1199. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, turretrate_),
  1200. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, gold_),
  1201. };
  1202. shellLotteryInfo_reflection_ =
  1203. new ::google::protobuf::internal::GeneratedMessageReflection(
  1204. shellLotteryInfo_descriptor_,
  1205. shellLotteryInfo::default_instance_,
  1206. shellLotteryInfo_offsets_,
  1207. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, _has_bits_[0]),
  1208. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, _unknown_fields_),
  1209. -1,
  1210. ::google::protobuf::DescriptorPool::generated_pool(),
  1211. ::google::protobuf::MessageFactory::generated_factory(),
  1212. sizeof(shellLotteryInfo));
  1213. packetl2c_req_lottery_mysterous_shell_result_descriptor_ = file->message_type(52);
  1214. static const int packetl2c_req_lottery_mysterous_shell_result_offsets_[3] = {
  1215. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, packet_id_),
  1216. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, result_),
  1217. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, lotteryinfo_),
  1218. };
  1219. packetl2c_req_lottery_mysterous_shell_result_reflection_ =
  1220. new ::google::protobuf::internal::GeneratedMessageReflection(
  1221. packetl2c_req_lottery_mysterous_shell_result_descriptor_,
  1222. packetl2c_req_lottery_mysterous_shell_result::default_instance_,
  1223. packetl2c_req_lottery_mysterous_shell_result_offsets_,
  1224. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, _has_bits_[0]),
  1225. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, _unknown_fields_),
  1226. -1,
  1227. ::google::protobuf::DescriptorPool::generated_pool(),
  1228. ::google::protobuf::MessageFactory::generated_factory(),
  1229. sizeof(packetl2c_req_lottery_mysterous_shell_result));
  1230. packetl2c_bc_mysterous_shell_lottery_result_descriptor_ = file->message_type(53);
  1231. static const int packetl2c_bc_mysterous_shell_lottery_result_offsets_[4] = {
  1232. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, packet_id_),
  1233. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, playerid_),
  1234. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, totalgold_),
  1235. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, lotteryinfo_),
  1236. };
  1237. packetl2c_bc_mysterous_shell_lottery_result_reflection_ =
  1238. new ::google::protobuf::internal::GeneratedMessageReflection(
  1239. packetl2c_bc_mysterous_shell_lottery_result_descriptor_,
  1240. packetl2c_bc_mysterous_shell_lottery_result::default_instance_,
  1241. packetl2c_bc_mysterous_shell_lottery_result_offsets_,
  1242. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, _has_bits_[0]),
  1243. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, _unknown_fields_),
  1244. -1,
  1245. ::google::protobuf::DescriptorPool::generated_pool(),
  1246. ::google::protobuf::MessageFactory::generated_factory(),
  1247. sizeof(packetl2c_bc_mysterous_shell_lottery_result));
  1248. dice_change_info_descriptor_ = file->message_type(54);
  1249. static const int dice_change_info_offsets_[2] = {
  1250. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(dice_change_info, nickname_),
  1251. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(dice_change_info, score_),
  1252. };
  1253. dice_change_info_reflection_ =
  1254. new ::google::protobuf::internal::GeneratedMessageReflection(
  1255. dice_change_info_descriptor_,
  1256. dice_change_info::default_instance_,
  1257. dice_change_info_offsets_,
  1258. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(dice_change_info, _has_bits_[0]),
  1259. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(dice_change_info, _unknown_fields_),
  1260. -1,
  1261. ::google::protobuf::DescriptorPool::generated_pool(),
  1262. ::google::protobuf::MessageFactory::generated_factory(),
  1263. sizeof(dice_change_info));
  1264. packetl2c_bc_trigger_dice_game_descriptor_ = file->message_type(55);
  1265. static const int packetl2c_bc_trigger_dice_game_offsets_[4] = {
  1266. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, packet_id_),
  1267. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, playerid_),
  1268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, basegold_),
  1269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, changelist_),
  1270. };
  1271. packetl2c_bc_trigger_dice_game_reflection_ =
  1272. new ::google::protobuf::internal::GeneratedMessageReflection(
  1273. packetl2c_bc_trigger_dice_game_descriptor_,
  1274. packetl2c_bc_trigger_dice_game::default_instance_,
  1275. packetl2c_bc_trigger_dice_game_offsets_,
  1276. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, _has_bits_[0]),
  1277. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, _unknown_fields_),
  1278. -1,
  1279. ::google::protobuf::DescriptorPool::generated_pool(),
  1280. ::google::protobuf::MessageFactory::generated_factory(),
  1281. sizeof(packetl2c_bc_trigger_dice_game));
  1282. packetc2l_req_lottery_dice_game_descriptor_ = file->message_type(56);
  1283. static const int packetc2l_req_lottery_dice_game_offsets_[2] = {
  1284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_dice_game, packet_id_),
  1285. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_dice_game, optype_),
  1286. };
  1287. packetc2l_req_lottery_dice_game_reflection_ =
  1288. new ::google::protobuf::internal::GeneratedMessageReflection(
  1289. packetc2l_req_lottery_dice_game_descriptor_,
  1290. packetc2l_req_lottery_dice_game::default_instance_,
  1291. packetc2l_req_lottery_dice_game_offsets_,
  1292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_dice_game, _has_bits_[0]),
  1293. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_dice_game, _unknown_fields_),
  1294. -1,
  1295. ::google::protobuf::DescriptorPool::generated_pool(),
  1296. ::google::protobuf::MessageFactory::generated_factory(),
  1297. sizeof(packetc2l_req_lottery_dice_game));
  1298. packetl2c_req_lottery_dice_game_result_descriptor_ = file->message_type(57);
  1299. static const int packetl2c_req_lottery_dice_game_result_offsets_[5] = {
  1300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, packet_id_),
  1301. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, result_),
  1302. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, optype_),
  1303. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, curgold_),
  1304. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, resultnum_),
  1305. };
  1306. packetl2c_req_lottery_dice_game_result_reflection_ =
  1307. new ::google::protobuf::internal::GeneratedMessageReflection(
  1308. packetl2c_req_lottery_dice_game_result_descriptor_,
  1309. packetl2c_req_lottery_dice_game_result::default_instance_,
  1310. packetl2c_req_lottery_dice_game_result_offsets_,
  1311. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, _has_bits_[0]),
  1312. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, _unknown_fields_),
  1313. -1,
  1314. ::google::protobuf::DescriptorPool::generated_pool(),
  1315. ::google::protobuf::MessageFactory::generated_factory(),
  1316. sizeof(packetl2c_req_lottery_dice_game_result));
  1317. packetl2c_bc_dice_game_lottery_result_descriptor_ = file->message_type(58);
  1318. static const int packetl2c_bc_dice_game_lottery_result_offsets_[3] = {
  1319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, packet_id_),
  1320. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, playerid_),
  1321. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, totalgold_),
  1322. };
  1323. packetl2c_bc_dice_game_lottery_result_reflection_ =
  1324. new ::google::protobuf::internal::GeneratedMessageReflection(
  1325. packetl2c_bc_dice_game_lottery_result_descriptor_,
  1326. packetl2c_bc_dice_game_lottery_result::default_instance_,
  1327. packetl2c_bc_dice_game_lottery_result_offsets_,
  1328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, _has_bits_[0]),
  1329. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, _unknown_fields_),
  1330. -1,
  1331. ::google::protobuf::DescriptorPool::generated_pool(),
  1332. ::google::protobuf::MessageFactory::generated_factory(),
  1333. sizeof(packetl2c_bc_dice_game_lottery_result));
  1334. packetl2c_bc_trigger_egg_treasure_descriptor_ = file->message_type(59);
  1335. static const int packetl2c_bc_trigger_egg_treasure_offsets_[3] = {
  1336. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, packet_id_),
  1337. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, playerid_),
  1338. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, turrerrate_),
  1339. };
  1340. packetl2c_bc_trigger_egg_treasure_reflection_ =
  1341. new ::google::protobuf::internal::GeneratedMessageReflection(
  1342. packetl2c_bc_trigger_egg_treasure_descriptor_,
  1343. packetl2c_bc_trigger_egg_treasure::default_instance_,
  1344. packetl2c_bc_trigger_egg_treasure_offsets_,
  1345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, _has_bits_[0]),
  1346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, _unknown_fields_),
  1347. -1,
  1348. ::google::protobuf::DescriptorPool::generated_pool(),
  1349. ::google::protobuf::MessageFactory::generated_factory(),
  1350. sizeof(packetl2c_bc_trigger_egg_treasure));
  1351. packetc2l_egg_treasure_lottery_descriptor_ = file->message_type(60);
  1352. static const int packetc2l_egg_treasure_lottery_offsets_[2] = {
  1353. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_egg_treasure_lottery, packet_id_),
  1354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_egg_treasure_lottery, index_),
  1355. };
  1356. packetc2l_egg_treasure_lottery_reflection_ =
  1357. new ::google::protobuf::internal::GeneratedMessageReflection(
  1358. packetc2l_egg_treasure_lottery_descriptor_,
  1359. packetc2l_egg_treasure_lottery::default_instance_,
  1360. packetc2l_egg_treasure_lottery_offsets_,
  1361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_egg_treasure_lottery, _has_bits_[0]),
  1362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_egg_treasure_lottery, _unknown_fields_),
  1363. -1,
  1364. ::google::protobuf::DescriptorPool::generated_pool(),
  1365. ::google::protobuf::MessageFactory::generated_factory(),
  1366. sizeof(packetc2l_egg_treasure_lottery));
  1367. packetl2c_egg_treasure_lottery_result_descriptor_ = file->message_type(61);
  1368. static const int packetl2c_egg_treasure_lottery_result_offsets_[6] = {
  1369. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, packet_id_),
  1370. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, playerid_),
  1371. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, result_),
  1372. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, index_),
  1373. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, gold_),
  1374. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, coin_),
  1375. };
  1376. packetl2c_egg_treasure_lottery_result_reflection_ =
  1377. new ::google::protobuf::internal::GeneratedMessageReflection(
  1378. packetl2c_egg_treasure_lottery_result_descriptor_,
  1379. packetl2c_egg_treasure_lottery_result::default_instance_,
  1380. packetl2c_egg_treasure_lottery_result_offsets_,
  1381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, _has_bits_[0]),
  1382. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, _unknown_fields_),
  1383. -1,
  1384. ::google::protobuf::DescriptorPool::generated_pool(),
  1385. ::google::protobuf::MessageFactory::generated_factory(),
  1386. sizeof(packetl2c_egg_treasure_lottery_result));
  1387. packetc2l_change_room_rate_descriptor_ = file->message_type(62);
  1388. static const int packetc2l_change_room_rate_offsets_[2] = {
  1389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_room_rate, packet_id_),
  1390. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_room_rate, rate_),
  1391. };
  1392. packetc2l_change_room_rate_reflection_ =
  1393. new ::google::protobuf::internal::GeneratedMessageReflection(
  1394. packetc2l_change_room_rate_descriptor_,
  1395. packetc2l_change_room_rate::default_instance_,
  1396. packetc2l_change_room_rate_offsets_,
  1397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_room_rate, _has_bits_[0]),
  1398. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_room_rate, _unknown_fields_),
  1399. -1,
  1400. ::google::protobuf::DescriptorPool::generated_pool(),
  1401. ::google::protobuf::MessageFactory::generated_factory(),
  1402. sizeof(packetc2l_change_room_rate));
  1403. packetl2c_change_room_rate_result_descriptor_ = file->message_type(63);
  1404. static const int packetl2c_change_room_rate_result_offsets_[3] = {
  1405. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, packet_id_),
  1406. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, result_),
  1407. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, rate_),
  1408. };
  1409. packetl2c_change_room_rate_result_reflection_ =
  1410. new ::google::protobuf::internal::GeneratedMessageReflection(
  1411. packetl2c_change_room_rate_result_descriptor_,
  1412. packetl2c_change_room_rate_result::default_instance_,
  1413. packetl2c_change_room_rate_result_offsets_,
  1414. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, _has_bits_[0]),
  1415. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, _unknown_fields_),
  1416. -1,
  1417. ::google::protobuf::DescriptorPool::generated_pool(),
  1418. ::google::protobuf::MessageFactory::generated_factory(),
  1419. sizeof(packetl2c_change_room_rate_result));
  1420. packetc2l_change_bullet_power_descriptor_ = file->message_type(64);
  1421. static const int packetc2l_change_bullet_power_offsets_[2] = {
  1422. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_bullet_power, packet_id_),
  1423. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_bullet_power, rate_),
  1424. };
  1425. packetc2l_change_bullet_power_reflection_ =
  1426. new ::google::protobuf::internal::GeneratedMessageReflection(
  1427. packetc2l_change_bullet_power_descriptor_,
  1428. packetc2l_change_bullet_power::default_instance_,
  1429. packetc2l_change_bullet_power_offsets_,
  1430. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_bullet_power, _has_bits_[0]),
  1431. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_bullet_power, _unknown_fields_),
  1432. -1,
  1433. ::google::protobuf::DescriptorPool::generated_pool(),
  1434. ::google::protobuf::MessageFactory::generated_factory(),
  1435. sizeof(packetc2l_change_bullet_power));
  1436. packetl2c_change_bullet_power_result_descriptor_ = file->message_type(65);
  1437. static const int packetl2c_change_bullet_power_result_offsets_[3] = {
  1438. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, packet_id_),
  1439. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, result_),
  1440. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, rate_),
  1441. };
  1442. packetl2c_change_bullet_power_result_reflection_ =
  1443. new ::google::protobuf::internal::GeneratedMessageReflection(
  1444. packetl2c_change_bullet_power_result_descriptor_,
  1445. packetl2c_change_bullet_power_result::default_instance_,
  1446. packetl2c_change_bullet_power_result_offsets_,
  1447. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, _has_bits_[0]),
  1448. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, _unknown_fields_),
  1449. -1,
  1450. ::google::protobuf::DescriptorPool::generated_pool(),
  1451. ::google::protobuf::MessageFactory::generated_factory(),
  1452. sizeof(packetl2c_change_bullet_power_result));
  1453. packetl2c_bc_trigger_treasure_bowl_descriptor_ = file->message_type(66);
  1454. static const int packetl2c_bc_trigger_treasure_bowl_offsets_[4] = {
  1455. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, packet_id_),
  1456. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, playerid_),
  1457. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, fishid_),
  1458. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, turrerrate_),
  1459. };
  1460. packetl2c_bc_trigger_treasure_bowl_reflection_ =
  1461. new ::google::protobuf::internal::GeneratedMessageReflection(
  1462. packetl2c_bc_trigger_treasure_bowl_descriptor_,
  1463. packetl2c_bc_trigger_treasure_bowl::default_instance_,
  1464. packetl2c_bc_trigger_treasure_bowl_offsets_,
  1465. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, _has_bits_[0]),
  1466. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, _unknown_fields_),
  1467. -1,
  1468. ::google::protobuf::DescriptorPool::generated_pool(),
  1469. ::google::protobuf::MessageFactory::generated_factory(),
  1470. sizeof(packetl2c_bc_trigger_treasure_bowl));
  1471. packetc2l_treasure_bowl_lottery_descriptor_ = file->message_type(67);
  1472. static const int packetc2l_treasure_bowl_lottery_offsets_[2] = {
  1473. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_treasure_bowl_lottery, packet_id_),
  1474. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_treasure_bowl_lottery, index_),
  1475. };
  1476. packetc2l_treasure_bowl_lottery_reflection_ =
  1477. new ::google::protobuf::internal::GeneratedMessageReflection(
  1478. packetc2l_treasure_bowl_lottery_descriptor_,
  1479. packetc2l_treasure_bowl_lottery::default_instance_,
  1480. packetc2l_treasure_bowl_lottery_offsets_,
  1481. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_treasure_bowl_lottery, _has_bits_[0]),
  1482. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_treasure_bowl_lottery, _unknown_fields_),
  1483. -1,
  1484. ::google::protobuf::DescriptorPool::generated_pool(),
  1485. ::google::protobuf::MessageFactory::generated_factory(),
  1486. sizeof(packetc2l_treasure_bowl_lottery));
  1487. packetl2c_treasure_bowl_lottery_result_descriptor_ = file->message_type(68);
  1488. static const int packetl2c_treasure_bowl_lottery_result_offsets_[5] = {
  1489. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, packet_id_),
  1490. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, playerid_),
  1491. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, result_),
  1492. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, index_),
  1493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, items_),
  1494. };
  1495. packetl2c_treasure_bowl_lottery_result_reflection_ =
  1496. new ::google::protobuf::internal::GeneratedMessageReflection(
  1497. packetl2c_treasure_bowl_lottery_result_descriptor_,
  1498. packetl2c_treasure_bowl_lottery_result::default_instance_,
  1499. packetl2c_treasure_bowl_lottery_result_offsets_,
  1500. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, _has_bits_[0]),
  1501. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, _unknown_fields_),
  1502. -1,
  1503. ::google::protobuf::DescriptorPool::generated_pool(),
  1504. ::google::protobuf::MessageFactory::generated_factory(),
  1505. sizeof(packetl2c_treasure_bowl_lottery_result));
  1506. packetl2c_bc_trigger_flood_dragon_fly_descriptor_ = file->message_type(69);
  1507. static const int packetl2c_bc_trigger_flood_dragon_fly_offsets_[2] = {
  1508. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_flood_dragon_fly, packet_id_),
  1509. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_flood_dragon_fly, playerid_),
  1510. };
  1511. packetl2c_bc_trigger_flood_dragon_fly_reflection_ =
  1512. new ::google::protobuf::internal::GeneratedMessageReflection(
  1513. packetl2c_bc_trigger_flood_dragon_fly_descriptor_,
  1514. packetl2c_bc_trigger_flood_dragon_fly::default_instance_,
  1515. packetl2c_bc_trigger_flood_dragon_fly_offsets_,
  1516. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_flood_dragon_fly, _has_bits_[0]),
  1517. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_flood_dragon_fly, _unknown_fields_),
  1518. -1,
  1519. ::google::protobuf::DescriptorPool::generated_pool(),
  1520. ::google::protobuf::MessageFactory::generated_factory(),
  1521. sizeof(packetl2c_bc_trigger_flood_dragon_fly));
  1522. packetc2l_flood_dragon_fly_lottery_descriptor_ = file->message_type(70);
  1523. static const int packetc2l_flood_dragon_fly_lottery_offsets_[1] = {
  1524. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flood_dragon_fly_lottery, packet_id_),
  1525. };
  1526. packetc2l_flood_dragon_fly_lottery_reflection_ =
  1527. new ::google::protobuf::internal::GeneratedMessageReflection(
  1528. packetc2l_flood_dragon_fly_lottery_descriptor_,
  1529. packetc2l_flood_dragon_fly_lottery::default_instance_,
  1530. packetc2l_flood_dragon_fly_lottery_offsets_,
  1531. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flood_dragon_fly_lottery, _has_bits_[0]),
  1532. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flood_dragon_fly_lottery, _unknown_fields_),
  1533. -1,
  1534. ::google::protobuf::DescriptorPool::generated_pool(),
  1535. ::google::protobuf::MessageFactory::generated_factory(),
  1536. sizeof(packetc2l_flood_dragon_fly_lottery));
  1537. packetl2c_flood_dragon_fly_lottery_result_descriptor_ = file->message_type(71);
  1538. static const int packetl2c_flood_dragon_fly_lottery_result_offsets_[7] = {
  1539. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, packet_id_),
  1540. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, playerid_),
  1541. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, result_),
  1542. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, score_),
  1543. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, bulletrate_),
  1544. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, points_),
  1545. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, addpoints_),
  1546. };
  1547. packetl2c_flood_dragon_fly_lottery_result_reflection_ =
  1548. new ::google::protobuf::internal::GeneratedMessageReflection(
  1549. packetl2c_flood_dragon_fly_lottery_result_descriptor_,
  1550. packetl2c_flood_dragon_fly_lottery_result::default_instance_,
  1551. packetl2c_flood_dragon_fly_lottery_result_offsets_,
  1552. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, _has_bits_[0]),
  1553. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, _unknown_fields_),
  1554. -1,
  1555. ::google::protobuf::DescriptorPool::generated_pool(),
  1556. ::google::protobuf::MessageFactory::generated_factory(),
  1557. sizeof(packetl2c_flood_dragon_fly_lottery_result));
  1558. packetl2c_send_item_descriptor_ = file->message_type(72);
  1559. static const int packetl2c_send_item_offsets_[3] = {
  1560. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, packet_id_),
  1561. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, playerid_),
  1562. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, items_),
  1563. };
  1564. packetl2c_send_item_reflection_ =
  1565. new ::google::protobuf::internal::GeneratedMessageReflection(
  1566. packetl2c_send_item_descriptor_,
  1567. packetl2c_send_item::default_instance_,
  1568. packetl2c_send_item_offsets_,
  1569. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, _has_bits_[0]),
  1570. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, _unknown_fields_),
  1571. -1,
  1572. ::google::protobuf::DescriptorPool::generated_pool(),
  1573. ::google::protobuf::MessageFactory::generated_factory(),
  1574. sizeof(packetl2c_send_item));
  1575. packetc2l_receive_tommorrow_reward_descriptor_ = file->message_type(73);
  1576. static const int packetc2l_receive_tommorrow_reward_offsets_[1] = {
  1577. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_tommorrow_reward, packet_id_),
  1578. };
  1579. packetc2l_receive_tommorrow_reward_reflection_ =
  1580. new ::google::protobuf::internal::GeneratedMessageReflection(
  1581. packetc2l_receive_tommorrow_reward_descriptor_,
  1582. packetc2l_receive_tommorrow_reward::default_instance_,
  1583. packetc2l_receive_tommorrow_reward_offsets_,
  1584. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_tommorrow_reward, _has_bits_[0]),
  1585. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_tommorrow_reward, _unknown_fields_),
  1586. -1,
  1587. ::google::protobuf::DescriptorPool::generated_pool(),
  1588. ::google::protobuf::MessageFactory::generated_factory(),
  1589. sizeof(packetc2l_receive_tommorrow_reward));
  1590. packetl2c_receive_tommorrow_reward_result_descriptor_ = file->message_type(74);
  1591. static const int packetl2c_receive_tommorrow_reward_result_offsets_[2] = {
  1592. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_tommorrow_reward_result, packet_id_),
  1593. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_tommorrow_reward_result, result_),
  1594. };
  1595. packetl2c_receive_tommorrow_reward_result_reflection_ =
  1596. new ::google::protobuf::internal::GeneratedMessageReflection(
  1597. packetl2c_receive_tommorrow_reward_result_descriptor_,
  1598. packetl2c_receive_tommorrow_reward_result::default_instance_,
  1599. packetl2c_receive_tommorrow_reward_result_offsets_,
  1600. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_tommorrow_reward_result, _has_bits_[0]),
  1601. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_tommorrow_reward_result, _unknown_fields_),
  1602. -1,
  1603. ::google::protobuf::DescriptorPool::generated_pool(),
  1604. ::google::protobuf::MessageFactory::generated_factory(),
  1605. sizeof(packetl2c_receive_tommorrow_reward_result));
  1606. }
  1607. namespace {
  1608. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  1609. inline void protobuf_AssignDescriptorsOnce() {
  1610. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  1611. &protobuf_AssignDesc_fish_5flogic_2eproto);
  1612. }
  1613. void protobuf_RegisterTypes(const ::std::string&) {
  1614. protobuf_AssignDescriptorsOnce();
  1615. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1616. packetc2l_get_scene_info_descriptor_, &packetc2l_get_scene_info::default_instance());
  1617. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1618. packetl2c_get_scene_info_result_descriptor_, &packetl2c_get_scene_info_result::default_instance());
  1619. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1620. packetc2l_change_rate_descriptor_, &packetc2l_change_rate::default_instance());
  1621. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1622. packetc2l_sync_gold_descriptor_, &packetc2l_sync_gold::default_instance());
  1623. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1624. packetl2c_bc_enter_seat_descriptor_, &packetl2c_bc_enter_seat::default_instance());
  1625. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1626. packetl2c_bc_leave_seat_descriptor_, &packetl2c_bc_leave_seat::default_instance());
  1627. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1628. packetl2c_robot_enter_descriptor_, &packetl2c_robot_enter::default_instance());
  1629. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1630. packetl2c_robot_leave_descriptor_, &packetl2c_robot_leave::default_instance());
  1631. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1632. packetl2c_bc_change_rate_descriptor_, &packetl2c_bc_change_rate::default_instance());
  1633. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1634. packetl2c_bc_change_attr_descriptor_, &packetl2c_bc_change_attr::default_instance());
  1635. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1636. packetl2c_bc_create_fish_descriptor_, &packetl2c_bc_create_fish::default_instance());
  1637. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1638. packetl2c_bc_create_generator_descriptor_, &packetl2c_bc_create_generator::default_instance());
  1639. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1640. ManualFireEx_descriptor_, &ManualFireEx::default_instance());
  1641. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1642. packetc2l_manual_fire_descriptor_, &packetc2l_manual_fire::default_instance());
  1643. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1644. packetl2c_bc_manual_fire_descriptor_, &packetl2c_bc_manual_fire::default_instance());
  1645. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1646. packetc2l_hit_fish_descriptor_, &packetc2l_hit_fish::default_instance());
  1647. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1648. packetc2l_hit_fishs_descriptor_, &packetc2l_hit_fishs::default_instance());
  1649. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1650. LegindaryCoinGainInfo_descriptor_, &LegindaryCoinGainInfo::default_instance());
  1651. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1652. packetl2c_bc_fish_die_descriptor_, &packetl2c_bc_fish_die::default_instance());
  1653. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1654. packetl2c_notify_bullet_explode_descriptor_, &packetl2c_notify_bullet_explode::default_instance());
  1655. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1656. packetl2c_bc_bullet_explode_descriptor_, &packetl2c_bc_bullet_explode::default_instance());
  1657. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1658. packetl2c_bc_specialfish_die_descriptor_, &packetl2c_bc_specialfish_die::default_instance());
  1659. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1660. packetl2c_bc_fishs_die_descriptor_, &packetl2c_bc_fishs_die::default_instance());
  1661. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1662. packetl2c_bc_change_scene_descriptor_, &packetl2c_bc_change_scene::default_instance());
  1663. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1664. packetl2c_bc_finish_boss_scene_descriptor_, &packetl2c_bc_finish_boss_scene::default_instance());
  1665. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1666. packetl2c_bc_using_item_descriptor_, &packetl2c_bc_using_item::default_instance());
  1667. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1668. packetl2c_bc_stop_using_item_descriptor_, &packetl2c_bc_stop_using_item::default_instance());
  1669. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1670. packetl2c_bc_changeturret_descriptor_, &packetl2c_bc_changeturret::default_instance());
  1671. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1672. packetc2l_lock_fish_descriptor_, &packetc2l_lock_fish::default_instance());
  1673. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1674. packetl2c_bc_lock_fish_descriptor_, &packetl2c_bc_lock_fish::default_instance());
  1675. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1676. packetl2c_bc_freeze_descriptor_, &packetl2c_bc_freeze::default_instance());
  1677. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1678. packetl2c_bc_change_scene_bg_descriptor_, &packetl2c_bc_change_scene_bg::default_instance());
  1679. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1680. packetl2c_bc_scene_time_descriptor_, &packetl2c_bc_scene_time::default_instance());
  1681. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1682. packetl2c_bc_change_jackpot_descriptor_, &packetl2c_bc_change_jackpot::default_instance());
  1683. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1684. packetl2c_bc_hit_fishs_descriptor_, &packetl2c_bc_hit_fishs::default_instance());
  1685. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1686. packetl2c_bc_turret_rotate_descriptor_, &packetl2c_bc_turret_rotate::default_instance());
  1687. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1688. packetl2c_bc_change_max_power_descriptor_, &packetl2c_bc_change_max_power::default_instance());
  1689. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1690. packetl2c_bc_table_lottery_descriptor_, &packetl2c_bc_table_lottery::default_instance());
  1691. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1692. packetc2l_req_drop_rate_descriptor_, &packetc2l_req_drop_rate::default_instance());
  1693. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1694. packetl2c_req_drop_rate_result_descriptor_, &packetl2c_req_drop_rate_result::default_instance());
  1695. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1696. packet_c2l_benefits_descriptor_, &packet_c2l_benefits::default_instance());
  1697. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1698. packet_l2c_benefits_result_descriptor_, &packet_l2c_benefits_result::default_instance());
  1699. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1700. packetl2c_bc_table_kill_chipfish_descriptor_, &packetl2c_bc_table_kill_chipfish::default_instance());
  1701. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1702. packetl2c_bc_table_kill_turntablefish_descriptor_, &packetl2c_bc_table_kill_turntablefish::default_instance());
  1703. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1704. packetl2c_kill_goldfish_descriptor_, &packetl2c_kill_goldfish::default_instance());
  1705. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1706. packetc2l_play_ad_reward_descriptor_, &packetc2l_play_ad_reward::default_instance());
  1707. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1708. packetl2c_play_ad_reward_result_descriptor_, &packetl2c_play_ad_reward_result::default_instance());
  1709. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1710. packetc2l_receive_redpacket_reward_descriptor_, &packetc2l_receive_redpacket_reward::default_instance());
  1711. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1712. packetl2c_receive_redpacket_reward_result_descriptor_, &packetl2c_receive_redpacket_reward_result::default_instance());
  1713. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1714. packetl2c_bc_trigger_mysterous_shell_descriptor_, &packetl2c_bc_trigger_mysterous_shell::default_instance());
  1715. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1716. packetc2l_req_lottery_mysterous_shell_descriptor_, &packetc2l_req_lottery_mysterous_shell::default_instance());
  1717. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1718. shellLotteryInfo_descriptor_, &shellLotteryInfo::default_instance());
  1719. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1720. packetl2c_req_lottery_mysterous_shell_result_descriptor_, &packetl2c_req_lottery_mysterous_shell_result::default_instance());
  1721. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1722. packetl2c_bc_mysterous_shell_lottery_result_descriptor_, &packetl2c_bc_mysterous_shell_lottery_result::default_instance());
  1723. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1724. dice_change_info_descriptor_, &dice_change_info::default_instance());
  1725. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1726. packetl2c_bc_trigger_dice_game_descriptor_, &packetl2c_bc_trigger_dice_game::default_instance());
  1727. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1728. packetc2l_req_lottery_dice_game_descriptor_, &packetc2l_req_lottery_dice_game::default_instance());
  1729. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1730. packetl2c_req_lottery_dice_game_result_descriptor_, &packetl2c_req_lottery_dice_game_result::default_instance());
  1731. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1732. packetl2c_bc_dice_game_lottery_result_descriptor_, &packetl2c_bc_dice_game_lottery_result::default_instance());
  1733. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1734. packetl2c_bc_trigger_egg_treasure_descriptor_, &packetl2c_bc_trigger_egg_treasure::default_instance());
  1735. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1736. packetc2l_egg_treasure_lottery_descriptor_, &packetc2l_egg_treasure_lottery::default_instance());
  1737. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1738. packetl2c_egg_treasure_lottery_result_descriptor_, &packetl2c_egg_treasure_lottery_result::default_instance());
  1739. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1740. packetc2l_change_room_rate_descriptor_, &packetc2l_change_room_rate::default_instance());
  1741. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1742. packetl2c_change_room_rate_result_descriptor_, &packetl2c_change_room_rate_result::default_instance());
  1743. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1744. packetc2l_change_bullet_power_descriptor_, &packetc2l_change_bullet_power::default_instance());
  1745. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1746. packetl2c_change_bullet_power_result_descriptor_, &packetl2c_change_bullet_power_result::default_instance());
  1747. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1748. packetl2c_bc_trigger_treasure_bowl_descriptor_, &packetl2c_bc_trigger_treasure_bowl::default_instance());
  1749. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1750. packetc2l_treasure_bowl_lottery_descriptor_, &packetc2l_treasure_bowl_lottery::default_instance());
  1751. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1752. packetl2c_treasure_bowl_lottery_result_descriptor_, &packetl2c_treasure_bowl_lottery_result::default_instance());
  1753. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1754. packetl2c_bc_trigger_flood_dragon_fly_descriptor_, &packetl2c_bc_trigger_flood_dragon_fly::default_instance());
  1755. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1756. packetc2l_flood_dragon_fly_lottery_descriptor_, &packetc2l_flood_dragon_fly_lottery::default_instance());
  1757. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1758. packetl2c_flood_dragon_fly_lottery_result_descriptor_, &packetl2c_flood_dragon_fly_lottery_result::default_instance());
  1759. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1760. packetl2c_send_item_descriptor_, &packetl2c_send_item::default_instance());
  1761. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1762. packetc2l_receive_tommorrow_reward_descriptor_, &packetc2l_receive_tommorrow_reward::default_instance());
  1763. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1764. packetl2c_receive_tommorrow_reward_result_descriptor_, &packetl2c_receive_tommorrow_reward_result::default_instance());
  1765. }
  1766. } // namespace
  1767. void protobuf_ShutdownFile_fish_5flogic_2eproto() {
  1768. delete packetc2l_get_scene_info::default_instance_;
  1769. delete packetc2l_get_scene_info_reflection_;
  1770. delete packetl2c_get_scene_info_result::default_instance_;
  1771. delete packetl2c_get_scene_info_result_reflection_;
  1772. delete packetc2l_change_rate::default_instance_;
  1773. delete packetc2l_change_rate_reflection_;
  1774. delete packetc2l_sync_gold::default_instance_;
  1775. delete packetc2l_sync_gold_reflection_;
  1776. delete packetl2c_bc_enter_seat::default_instance_;
  1777. delete packetl2c_bc_enter_seat_reflection_;
  1778. delete packetl2c_bc_leave_seat::default_instance_;
  1779. delete packetl2c_bc_leave_seat_reflection_;
  1780. delete packetl2c_robot_enter::default_instance_;
  1781. delete packetl2c_robot_enter_reflection_;
  1782. delete packetl2c_robot_leave::default_instance_;
  1783. delete packetl2c_robot_leave_reflection_;
  1784. delete packetl2c_bc_change_rate::default_instance_;
  1785. delete packetl2c_bc_change_rate_reflection_;
  1786. delete packetl2c_bc_change_attr::default_instance_;
  1787. delete packetl2c_bc_change_attr_reflection_;
  1788. delete packetl2c_bc_create_fish::default_instance_;
  1789. delete packetl2c_bc_create_fish_reflection_;
  1790. delete packetl2c_bc_create_generator::default_instance_;
  1791. delete packetl2c_bc_create_generator_reflection_;
  1792. delete ManualFireEx::default_instance_;
  1793. delete ManualFireEx_reflection_;
  1794. delete packetc2l_manual_fire::default_instance_;
  1795. delete packetc2l_manual_fire_reflection_;
  1796. delete packetl2c_bc_manual_fire::default_instance_;
  1797. delete packetl2c_bc_manual_fire_reflection_;
  1798. delete packetc2l_hit_fish::default_instance_;
  1799. delete packetc2l_hit_fish_reflection_;
  1800. delete packetc2l_hit_fishs::default_instance_;
  1801. delete packetc2l_hit_fishs_reflection_;
  1802. delete LegindaryCoinGainInfo::default_instance_;
  1803. delete LegindaryCoinGainInfo_reflection_;
  1804. delete packetl2c_bc_fish_die::default_instance_;
  1805. delete packetl2c_bc_fish_die_reflection_;
  1806. delete packetl2c_notify_bullet_explode::default_instance_;
  1807. delete packetl2c_notify_bullet_explode_reflection_;
  1808. delete packetl2c_bc_bullet_explode::default_instance_;
  1809. delete packetl2c_bc_bullet_explode_reflection_;
  1810. delete packetl2c_bc_specialfish_die::default_instance_;
  1811. delete packetl2c_bc_specialfish_die_reflection_;
  1812. delete packetl2c_bc_fishs_die::default_instance_;
  1813. delete packetl2c_bc_fishs_die_reflection_;
  1814. delete packetl2c_bc_change_scene::default_instance_;
  1815. delete packetl2c_bc_change_scene_reflection_;
  1816. delete packetl2c_bc_finish_boss_scene::default_instance_;
  1817. delete packetl2c_bc_finish_boss_scene_reflection_;
  1818. delete packetl2c_bc_using_item::default_instance_;
  1819. delete packetl2c_bc_using_item_reflection_;
  1820. delete packetl2c_bc_stop_using_item::default_instance_;
  1821. delete packetl2c_bc_stop_using_item_reflection_;
  1822. delete packetl2c_bc_changeturret::default_instance_;
  1823. delete packetl2c_bc_changeturret_reflection_;
  1824. delete packetc2l_lock_fish::default_instance_;
  1825. delete packetc2l_lock_fish_reflection_;
  1826. delete packetl2c_bc_lock_fish::default_instance_;
  1827. delete packetl2c_bc_lock_fish_reflection_;
  1828. delete packetl2c_bc_freeze::default_instance_;
  1829. delete packetl2c_bc_freeze_reflection_;
  1830. delete packetl2c_bc_change_scene_bg::default_instance_;
  1831. delete packetl2c_bc_change_scene_bg_reflection_;
  1832. delete packetl2c_bc_scene_time::default_instance_;
  1833. delete packetl2c_bc_scene_time_reflection_;
  1834. delete packetl2c_bc_change_jackpot::default_instance_;
  1835. delete packetl2c_bc_change_jackpot_reflection_;
  1836. delete packetl2c_bc_hit_fishs::default_instance_;
  1837. delete packetl2c_bc_hit_fishs_reflection_;
  1838. delete packetl2c_bc_turret_rotate::default_instance_;
  1839. delete packetl2c_bc_turret_rotate_reflection_;
  1840. delete packetl2c_bc_change_max_power::default_instance_;
  1841. delete packetl2c_bc_change_max_power_reflection_;
  1842. delete packetl2c_bc_table_lottery::default_instance_;
  1843. delete packetl2c_bc_table_lottery_reflection_;
  1844. delete packetc2l_req_drop_rate::default_instance_;
  1845. delete packetc2l_req_drop_rate_reflection_;
  1846. delete packetl2c_req_drop_rate_result::default_instance_;
  1847. delete packetl2c_req_drop_rate_result_reflection_;
  1848. delete packet_c2l_benefits::default_instance_;
  1849. delete packet_c2l_benefits_reflection_;
  1850. delete packet_l2c_benefits_result::default_instance_;
  1851. delete packet_l2c_benefits_result_reflection_;
  1852. delete packetl2c_bc_table_kill_chipfish::default_instance_;
  1853. delete packetl2c_bc_table_kill_chipfish_reflection_;
  1854. delete packetl2c_bc_table_kill_turntablefish::default_instance_;
  1855. delete packetl2c_bc_table_kill_turntablefish_reflection_;
  1856. delete packetl2c_kill_goldfish::default_instance_;
  1857. delete packetl2c_kill_goldfish_reflection_;
  1858. delete packetc2l_play_ad_reward::default_instance_;
  1859. delete packetc2l_play_ad_reward_reflection_;
  1860. delete packetl2c_play_ad_reward_result::default_instance_;
  1861. delete packetl2c_play_ad_reward_result_reflection_;
  1862. delete packetc2l_receive_redpacket_reward::default_instance_;
  1863. delete packetc2l_receive_redpacket_reward_reflection_;
  1864. delete packetl2c_receive_redpacket_reward_result::default_instance_;
  1865. delete packetl2c_receive_redpacket_reward_result_reflection_;
  1866. delete packetl2c_bc_trigger_mysterous_shell::default_instance_;
  1867. delete packetl2c_bc_trigger_mysterous_shell_reflection_;
  1868. delete packetc2l_req_lottery_mysterous_shell::default_instance_;
  1869. delete packetc2l_req_lottery_mysterous_shell_reflection_;
  1870. delete shellLotteryInfo::default_instance_;
  1871. delete shellLotteryInfo_reflection_;
  1872. delete packetl2c_req_lottery_mysterous_shell_result::default_instance_;
  1873. delete packetl2c_req_lottery_mysterous_shell_result_reflection_;
  1874. delete packetl2c_bc_mysterous_shell_lottery_result::default_instance_;
  1875. delete packetl2c_bc_mysterous_shell_lottery_result_reflection_;
  1876. delete dice_change_info::default_instance_;
  1877. delete dice_change_info_reflection_;
  1878. delete packetl2c_bc_trigger_dice_game::default_instance_;
  1879. delete packetl2c_bc_trigger_dice_game_reflection_;
  1880. delete packetc2l_req_lottery_dice_game::default_instance_;
  1881. delete packetc2l_req_lottery_dice_game_reflection_;
  1882. delete packetl2c_req_lottery_dice_game_result::default_instance_;
  1883. delete packetl2c_req_lottery_dice_game_result_reflection_;
  1884. delete packetl2c_bc_dice_game_lottery_result::default_instance_;
  1885. delete packetl2c_bc_dice_game_lottery_result_reflection_;
  1886. delete packetl2c_bc_trigger_egg_treasure::default_instance_;
  1887. delete packetl2c_bc_trigger_egg_treasure_reflection_;
  1888. delete packetc2l_egg_treasure_lottery::default_instance_;
  1889. delete packetc2l_egg_treasure_lottery_reflection_;
  1890. delete packetl2c_egg_treasure_lottery_result::default_instance_;
  1891. delete packetl2c_egg_treasure_lottery_result_reflection_;
  1892. delete packetc2l_change_room_rate::default_instance_;
  1893. delete packetc2l_change_room_rate_reflection_;
  1894. delete packetl2c_change_room_rate_result::default_instance_;
  1895. delete packetl2c_change_room_rate_result_reflection_;
  1896. delete packetc2l_change_bullet_power::default_instance_;
  1897. delete packetc2l_change_bullet_power_reflection_;
  1898. delete packetl2c_change_bullet_power_result::default_instance_;
  1899. delete packetl2c_change_bullet_power_result_reflection_;
  1900. delete packetl2c_bc_trigger_treasure_bowl::default_instance_;
  1901. delete packetl2c_bc_trigger_treasure_bowl_reflection_;
  1902. delete packetc2l_treasure_bowl_lottery::default_instance_;
  1903. delete packetc2l_treasure_bowl_lottery_reflection_;
  1904. delete packetl2c_treasure_bowl_lottery_result::default_instance_;
  1905. delete packetl2c_treasure_bowl_lottery_result_reflection_;
  1906. delete packetl2c_bc_trigger_flood_dragon_fly::default_instance_;
  1907. delete packetl2c_bc_trigger_flood_dragon_fly_reflection_;
  1908. delete packetc2l_flood_dragon_fly_lottery::default_instance_;
  1909. delete packetc2l_flood_dragon_fly_lottery_reflection_;
  1910. delete packetl2c_flood_dragon_fly_lottery_result::default_instance_;
  1911. delete packetl2c_flood_dragon_fly_lottery_result_reflection_;
  1912. delete packetl2c_send_item::default_instance_;
  1913. delete packetl2c_send_item_reflection_;
  1914. delete packetc2l_receive_tommorrow_reward::default_instance_;
  1915. delete packetc2l_receive_tommorrow_reward_reflection_;
  1916. delete packetl2c_receive_tommorrow_reward_result::default_instance_;
  1917. delete packetl2c_receive_tommorrow_reward_result_reflection_;
  1918. }
  1919. void protobuf_AddDesc_fish_5flogic_2eproto() {
  1920. static bool already_here = false;
  1921. if (already_here) return;
  1922. already_here = true;
  1923. GOOGLE_PROTOBUF_VERIFY_VERSION;
  1924. ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
  1925. ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
  1926. ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  1927. ::fish_protocols::protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  1928. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  1929. "\n\020fish_logic.proto\022\016fish_protocols\032\016fish"
  1930. "_def.proto\032\023fish_type_def.proto\032\022msg_typ"
  1931. "e_def.proto\032\034fish_armedshark_palace.prot"
  1932. "o\"j\n\030packetc2l_get_scene_info\022N\n\tpacket_"
  1933. "id\030\001 \001(\0162!.fish_protocols.e_server_msg_t"
  1934. "ype:\030e_mst_c2l_get_scene_info\"\337\001\n\037packet"
  1935. "l2c_get_scene_info_result\022U\n\tpacket_id\030\001"
  1936. " \001(\0162!.fish_protocols.e_server_msg_type:"
  1937. "\037e_mst_l2c_get_scene_info_result\0222\n\nscen"
  1938. "e_info\030\002 \001(\0132\036.fish_protocols.msg_scene_"
  1939. "info\022\027\n\017recvBenefitTime\030\004 \001(\005\022\030\n\020recvBen"
  1940. "efitCount\030\005 \001(\005\"y\n\025packetc2l_change_rate"
  1941. "\022K\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_s"
  1942. "erver_msg_type:\025e_mst_c2l_change_rate\022\023\n"
  1943. "\013turret_rate\030\002 \001(\005\"d\n\023packetc2l_sync_gol"
  1944. "d\022M\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_"
  1945. "server_msg_type:\027e_mst_c2l_ask_sync_gold"
  1946. "\"\232\001\n\027packetl2c_bc_enter_seat\022M\n\tpacket_i"
  1947. "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty"
  1948. "pe:\027e_mst_l2c_bc_enter_seat\0220\n\tseat_info"
  1949. "\030\002 \001(\0132\035.fish_protocols.msg_seat_info\"{\n"
  1950. "\027packetl2c_bc_leave_seat\022M\n\tpacket_id\030\001 "
  1951. "\001(\0162!.fish_protocols.e_server_msg_type:\027"
  1952. "e_mst_l2c_bc_leave_seat\022\021\n\tplayer_id\030\002 \001"
  1953. "(\005\"\250\001\n\025packetl2c_robot_enter\022K\n\tpacket_i"
  1954. "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty"
  1955. "pe:\025e_mst_c2l_robot_enter\0220\n\tseat_info\030\002"
  1956. " \001(\0132\035.fish_protocols.msg_seat_info\022\020\n\010s"
  1957. "cene_id\030\003 \001(\005\"w\n\025packetl2c_robot_leave\022K"
  1958. "\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_ser"
  1959. "ver_msg_type:\025e_mst_l2c_robot_leave\022\021\n\tp"
  1960. "layer_id\030\002 \001(\005\"\222\001\n\030packetl2c_bc_change_r"
  1961. "ate\022N\n\tpacket_id\030\001 \001(\0162!.fish_protocols."
  1962. "e_server_msg_type:\030e_mst_l2c_bc_change_r"
  1963. "ate\022\021\n\tplayer_id\030\002 \001(\005\022\023\n\013turret_rate\030\003 "
  1964. "\001(\005\"\347\005\n\030packetl2c_bc_change_attr\022N\n\tpack"
  1965. "et_id\030\001 \001(\0162!.fish_protocols.e_server_ms"
  1966. "g_type:\030e_mst_l2c_bc_change_attr\022\021\n\tplay"
  1967. "er_id\030\002 \001(\005\022\023\n\013change_gold\030\003 \001(\003\022\022\n\nchan"
  1968. "ge_vip\030\004 \001(\005\022\026\n\016change_diamond\030\005 \001(\005\022\025\n\r"
  1969. "change_ticket\030\006 \001(\005\022\030\n\020change_dimensity\030"
  1970. "\007 \001(\005\022\030\n\020change_goldingot\030\010 \001(\005\022\026\n\016chang"
  1971. "e_tombola\030\t \001(\005\022\034\n\024change_legendaryCoin\030"
  1972. "\n \001(\005\022\030\n\020change_redpacket\030\013 \001(\005\022\023\n\013chang"
  1973. "e_chip\030\014 \001(\005\022\025\n\rchange_JDchip\030\r \001(\005\022\027\n\017c"
  1974. "hange_playerlv\030\016 \001(\005\022\027\n\017change_turretlv\030"
  1975. "\017 \001(\005\022\031\n\021change_dragonBall\030\020 \001(\005\022\033\n\023chan"
  1976. "ge_gloryCrystal\030\021 \001(\005\022\026\n\016monthCard_time\030"
  1977. "\022 \001(\005\022\032\n\022goldMonthCard_time\030\023 \001(\005\022\035\n\025dia"
  1978. "mondMonthCard_time\030\024 \001(\005\022\033\n\023monthcardrem"
  1979. "aintime\030\025 \001(\005\022\037\n\027goldmonthcardremaintime"
  1980. "\030\026 \001(\005\022\"\n\032diamondmonthcardremaintime\030\027 \001"
  1981. "(\005\022\025\n\rweekCard_time\030\030 \001(\005\022\032\n\022weekcardrem"
  1982. "aintime\030\031 \001(\005\022\016\n\006reason\030\032 \001(\005\"\303\001\n\030packet"
  1983. "l2c_bc_create_fish\022N\n\tpacket_id\030\001 \001(\0162!."
  1984. "fish_protocols.e_server_msg_type:\030e_mst_"
  1985. "l2c_bc_create_fish\0220\n\tfish_info\030\002 \001(\0132\035."
  1986. "fish_protocols.msg_fish_info\022\016\n\006reason\030\003"
  1987. " \001(\005\022\025\n\rownerPlayerId\030\004 \001(\005\"\377\001\n\035packetl2"
  1988. "c_bc_create_generator\022S\n\tpacket_id\030\001 \001(\016"
  1989. "2!.fish_protocols.e_server_msg_type:\035e_m"
  1990. "st_l2c_bc_create_generator\022\024\n\014generator_"
  1991. "id\030\002 \001(\005\022\020\n\010start_id\030\003 \001(\005\022\023\n\010route_id\030\004"
  1992. " \001(\005:\0010\022\025\n\006is_red\030\005 \001(\010:\005false\022\r\n\005pos_x\030"
  1993. "\006 \001(\005\022\r\n\005pos_y\030\007 \001(\005\022\027\n\010is_flash\030\010 \001(\010:\005"
  1994. "false\"1\n\014ManualFireEx\022\021\n\trefItemId\030\001 \001(\005"
  1995. "\022\016\n\006fishId\030\002 \001(\005\"\306\002\n\025packetc2l_manual_fi"
  1996. "re\022K\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e"
  1997. "_server_msg_type:\025e_mst_c2l_manual_fire\022"
  1998. "\021\n\tbullet_id\030\002 \001(\005\022\024\n\014bullet_angle\030\003 \001(\005"
  1999. "\022\027\n\010is_multi\030\004 \001(\010:\005false\022\031\n\nis_violent\030"
  2000. "\005 \001(\010:\005false\022\026\n\013bullet_type\030\006 \001(\005:\0011\022\023\n\013"
  2001. "bullet_rate\030\007 \001(\005\022\021\n\troom_rate\030\010 \001(\005\022\024\n\014"
  2002. "bullet_power\030\t \001(\005\022-\n\007exParam\030\n \001(\0132\034.fi"
  2003. "sh_protocols.ManualFireEx\"\337\002\n\030packetl2c_"
  2004. "bc_manual_fire\022N\n\tpacket_id\030\001 \001(\0162!.fish"
  2005. "_protocols.e_server_msg_type:\030e_mst_l2c_"
  2006. "bc_manual_fire\022\021\n\tbullet_id\030\002 \001(\005\022\021\n\tpla"
  2007. "yer_id\030\003 \001(\005\022\024\n\014bullet_angle\030\004 \001(\005\022\016\n\006cu"
  2008. "rExp\030\005 \001(\003\022\026\n\013bullet_type\030\006 \001(\005:\0011\022\031\n\nis"
  2009. "_violent\030\007 \001(\010:\005false\022-\n\007exParam\030\010 \001(\0132\034"
  2010. ".fish_protocols.ManualFireEx\022\016\n\006result\030\t"
  2011. " \001(\005\022\022\n\nbulletRate\030\n \001(\005\022\023\n\013bulletPower\030"
  2012. "\013 \001(\005\022\014\n\004gold\030\014 \001(\003\"\202\001\n\022packetc2l_hit_fi"
  2013. "sh\022H\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e"
  2014. "_server_msg_type:\022e_mst_c2l_hit_fish\022\021\n\t"
  2015. "bullet_id\030\003 \001(\005\022\017\n\007fish_id\030\004 \001(\005\"\255\001\n\023pac"
  2016. "ketc2l_hit_fishs\022I\n\tpacket_id\030\001 \001(\0162!.fi"
  2017. "sh_protocols.e_server_msg_type:\023e_mst_c2"
  2018. "l_hit_fishs\022\020\n\010hit_type\030\002 \001(\005\022\021\n\tbullet_"
  2019. "id\030\003 \001(\005\022\020\n\010fish_ids\030\004 \003(\005\022\024\n\thit_param\030"
  2020. "\005 \001(\005:\0010\"8\n\025LegindaryCoinGainInfo\022\020\n\010pla"
  2021. "yerId\030\001 \001(\005\022\r\n\005count\030\002 \001(\005\"\216\004\n\025packetl2c"
  2022. "_bc_fish_die\022K\n\tpacket_id\030\001 \001(\0162!.fish_p"
  2023. "rotocols.e_server_msg_type:\025e_mst_l2c_bc"
  2024. "_fish_die\022\017\n\007fish_id\030\002 \001(\005\022\017\n\007kill_id\030\003 "
  2025. "\001(\005\022\r\n\005score\030\004 \001(\005\022\022\n\007diamond\030\005 \001(\005:\0010\022\021"
  2026. "\n\006ticket\030\006 \001(\005:\0010\022\024\n\tdimensity\030\007 \001(\005:\0010\022"
  2027. "\024\n\trefItemId\030\010 \001(\005:\0010\022\025\n\nDragonBall\030\t \001("
  2028. "\005:\0010\022<\n\rLegendaryCoin\030\n \003(\0132%.fish_proto"
  2029. "cols.LegindaryCoinGainInfo\022\020\n\005point\030\013 \001("
  2030. "\005:\0010\022\023\n\010addpoint\030\014 \001(\005:\0010\022\027\n\014qualifyPoin"
  2031. "t\030\r \001(\005:\0010\022@\n\020dailyTopCardInfo\030\016 \001(\0132&.f"
  2032. "ish_protocols.ArmedSharkCardTypeInfo\022\'\n\005"
  2033. "items\030\017 \003(\0132\030.fish_protocols.msg_item\022\021\n"
  2034. "\tfishCfgId\030\020 \001(\005\022\021\n\tfishScore\030\021 \001(\005\"\234\001\n\037"
  2035. "packetl2c_notify_bullet_explode\022U\n\tpacke"
  2036. "t_id\030\001 \001(\0162!.fish_protocols.e_server_msg"
  2037. "_type:\037e_mst_l2c_notify_bullet_explode\022\020"
  2038. "\n\010playerId\030\002 \001(\005\022\020\n\010bulletId\030\003 \001(\005\"\335\001\n\033p"
  2039. "acketl2c_bc_bullet_explode\022Q\n\tpacket_id\030"
  2040. "\001 \001(\0162!.fish_protocols.e_server_msg_type"
  2041. ":\033e_mst_l2c_bc_bullet_explode\022\020\n\010playerI"
  2042. "d\030\002 \001(\005\022\020\n\010bulletId\030\003 \001(\005\022\017\n\007fishIds\030\004 \003"
  2043. "(\005\022\r\n\005score\030\005 \001(\005\022\'\n\005items\030\006 \003(\0132\030.fish_"
  2044. "protocols.msg_item\"\343\002\n\034packetl2c_bc_spec"
  2045. "ialfish_die\022R\n\tpacket_id\030\001 \001(\0162!.fish_pr"
  2046. "otocols.e_server_msg_type:\034e_mst_l2c_bc_"
  2047. "specialfish_die\022\017\n\007fish_id\030\002 \001(\005\022\021\n\tplay"
  2048. "er_id\030\003 \001(\005\022\021\n\tbullet_id\030\004 \001(\005\022\022\n\nbase_s"
  2049. "core\030\005 \001(\005\022\024\n\tadd_score\030\006 \001(\005:\0010\022\021\n\006tick"
  2050. "et\030\007 \001(\005:\0010\022\026\n\007getstar\030\010 \001(\010:\005false\022\025\n\nD"
  2051. "ragonBall\030\t \001(\005:\0010\022\020\n\005point\030\n \001(\005:\0010\022\'\n\005"
  2052. "items\030\013 \003(\0132\030.fish_protocols.msg_item\022\021\n"
  2053. "\tfishCfgId\030\014 \001(\005\"\276\003\n\026packetl2c_bc_fishs_"
  2054. "die\022L\n\tpacket_id\030\001 \001(\0162!.fish_protocols."
  2055. "e_server_msg_type:\026e_mst_l2c_bc_fishs_di"
  2056. "e\022\021\n\tplayer_id\030\002 \001(\005\022\020\n\010die_type\030\003 \001(\005\022\022"
  2057. "\n\ndie_params\030\004 \003(\005\022\023\n\013total_score\030\005 \001(\005\022"
  2058. "\030\n\rtotal_diamond\030\006 \001(\005:\0010\022\032\n\017total_dimen"
  2059. "sity\030\007 \001(\005:\0010\022\027\n\014total_ticket\030\010 \001(\005:\0010\022\026"
  2060. "\n\013total_point\030\t \001(\005:\0010\022\024\n\ttorpedoId\030\n \001("
  2061. "\005:\0010\022\021\n\tbase_rate\030\013 \001(\005\022\023\n\010add_rate\030\014 \001("
  2062. "\005:\0010\022\021\n\006ticket\030\r \001(\005:\0010\022\024\n\tadd_point\030\016 \001"
  2063. "(\005:\0010\022\'\n\005items\030\017 \003(\0132\030.fish_protocols.ms"
  2064. "g_item\022\021\n\tfishCfgId\030\020 \001(\005\"\225\001\n\031packetl2c_"
  2065. "bc_change_scene\022O\n\tpacket_id\030\001 \001(\0162!.fis"
  2066. "h_protocols.e_server_msg_type:\031e_mst_l2c"
  2067. "_bc_change_scene\022\020\n\010scene_id\030\002 \001(\005\022\025\n\rla"
  2068. "rge_fish_id\030\003 \001(\005\"\277\001\n\036packetl2c_bc_finis"
  2069. "h_boss_scene\022T\n\tpacket_id\030\001 \001(\0162!.fish_p"
  2070. "rotocols.e_server_msg_type:\036e_mst_l2c_bc"
  2071. "_finish_boss_scene\022\023\n\013notify_type\030\002 \001(\005\022"
  2072. "\017\n\007boss_id\030\003 \001(\005\022\017\n\007jackpot\030\004 \001(\003\022\020\n\010bas"
  2073. "eGold\030\005 \001(\005\"\242\001\n\027packetl2c_bc_using_item\022"
  2074. "M\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_se"
  2075. "rver_msg_type:\027e_mst_l2c_bc_using_item\022\017"
  2076. "\n\007item_id\030\002 \001(\005\022\021\n\tplayer_id\030\003 \001(\005\022\024\n\010us"
  2077. "e_time\030\004 \001(\005:\002-1\"\226\001\n\034packetl2c_bc_stop_u"
  2078. "sing_item\022R\n\tpacket_id\030\001 \001(\0162!.fish_prot"
  2079. "ocols.e_server_msg_type:\034e_mst_l2c_bc_st"
  2080. "op_using_item\022\017\n\007item_id\030\002 \001(\005\022\021\n\tplayer"
  2081. "_id\030\003 \001(\005\"\222\001\n\031packetl2c_bc_changeturret\022"
  2082. "O\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_se"
  2083. "rver_msg_type:\031e_mst_l2c_bc_changeturret"
  2084. "\022\021\n\tturret_id\030\002 \001(\005\022\021\n\tplayer_id\030\003 \001(\005\"q"
  2085. "\n\023packetc2l_lock_fish\022I\n\tpacket_id\030\001 \001(\016"
  2086. "2!.fish_protocols.e_server_msg_type:\023e_m"
  2087. "st_c2l_lock_fish\022\017\n\007fish_id\030\004 \001(\005\"\232\001\n\026pa"
  2088. "cketl2c_bc_lock_fish\022L\n\tpacket_id\030\001 \001(\0162"
  2089. "!.fish_protocols.e_server_msg_type:\026e_ms"
  2090. "t_l2c_bc_lock_fish\022\016\n\006result\030\002 \001(\005\022\021\n\tpl"
  2091. "ayer_id\030\003 \001(\005\022\017\n\007fish_id\030\004 \001(\005\"\230\001\n\023packe"
  2092. "tl2c_bc_freeze\022I\n\tpacket_id\030\001 \001(\0162!.fish"
  2093. "_protocols.e_server_msg_type:\023e_mst_l2c_"
  2094. "bc_freeze\022\020\n\010fish_ids\030\004 \003(\005\022\023\n\013freeze_Ti"
  2095. "me\030\002 \001(\005\022\017\n\007is_show\030\003 \001(\010\"\204\001\n\034packetl2c_"
  2096. "bc_change_scene_bg\022R\n\tpacket_id\030\001 \001(\0162!."
  2097. "fish_protocols.e_server_msg_type:\034e_mst_"
  2098. "l2c_bc_change_scene_bg\022\020\n\010scene_id\030\002 \001(\005"
  2099. "\"|\n\027packetl2c_bc_scene_time\022M\n\tpacket_id"
  2100. "\030\001 \001(\0162!.fish_protocols.e_server_msg_typ"
  2101. "e:\027e_mst_l2c_bc_scene_time\022\022\n\nscene_time"
  2102. "\030\002 \001(\005\"\201\001\n\033packetl2c_bc_change_jackpot\022Q"
  2103. "\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_ser"
  2104. "ver_msg_type:\033e_mst_l2c_bc_change_jackpo"
  2105. "t\022\017\n\007curpool\030\002 \001(\003\"\255\001\n\026packetl2c_bc_hit_"
  2106. "fishs\022L\n\tpacket_id\030\001 \001(\0162!.fish_protocol"
  2107. "s.e_server_msg_type:\026e_mst_l2c_bc_hit_fi"
  2108. "shs\022\021\n\tplayer_id\030\002 \001(\005\022\020\n\010hit_type\030\003 \001(\005"
  2109. "\022\020\n\010fish_ids\030\004 \003(\005\022\016\n\006params\030\005 \003(\005\"\227\001\n\032p"
  2110. "acketl2c_bc_turret_rotate\022P\n\tpacket_id\030\001"
  2111. " \001(\0162!.fish_protocols.e_server_msg_type:"
  2112. "\032e_mst_l2c_bc_turret_rotate\022\021\n\tplayer_id"
  2113. "\030\002 \001(\005\022\024\n\014rotate_angle\030\003 \001(\005\"\232\001\n\035packetl"
  2114. "2c_bc_change_max_power\022S\n\tpacket_id\030\001 \001("
  2115. "\0162!.fish_protocols.e_server_msg_type:\035e_"
  2116. "mst_l2c_bc_change_max_power\022\021\n\tplayer_id"
  2117. "\030\002 \001(\005\022\021\n\tmax_power\030\003 \001(\005\"\246\001\n\032packetl2c_"
  2118. "bc_table_lottery\022P\n\tpacket_id\030\001 \001(\0162!.fi"
  2119. "sh_protocols.e_server_msg_type:\032e_mst_l2"
  2120. "c_bc_table_lottery\022\021\n\tplayer_id\030\002 \001(\005\022\017\n"
  2121. "\007item_id\030\003 \001(\005\022\022\n\nitem_count\030\004 \001(\005\"h\n\027pa"
  2122. "cketc2l_req_drop_rate\022M\n\tpacket_id\030\001 \001(\016"
  2123. "2!.fish_protocols.e_server_msg_type:\027e_m"
  2124. "st_c2l_req_drop_rate\"\303\001\n\036packetl2c_req_d"
  2125. "rop_rate_result\022T\n\tpacket_id\030\001 \001(\0162!.fis"
  2126. "h_protocols.e_server_msg_type:\036e_mst_l2c"
  2127. "_req_drop_rate_result\022\n\n\002id\030\002 \001(\005\022\017\n\007cur"
  2128. "Gold\030\003 \001(\003\022\027\n\017recvBenefitTime\030\004 \001(\005\022\025\n\rt"
  2129. "riggerGiftId\030\005 \001(\005\"o\n\023packet_c2l_benefit"
  2130. "s\022H\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_"
  2131. "server_msg_type:\022e_mst_c2l_beneifts\022\016\n\006d"
  2132. "ouble\030\002 \001(\010\"\215\001\n\032packet_l2c_benefits_resu"
  2133. "lt\022O\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e"
  2134. "_server_msg_type:\031e_mst_l2c_benefits_res"
  2135. "ult\022\016\n\006double\030\002 \001(\010\022\016\n\006result\030\003 \001(\005\"\257\001\n "
  2136. "packetl2c_bc_table_kill_chipfish\022V\n\tpack"
  2137. "et_id\030\001 \001(\0162!.fish_protocols.e_server_ms"
  2138. "g_type: e_mst_l2c_bc_table_kill_chipfish"
  2139. "\022\020\n\010playerId\030\002 \001(\005\022\021\n\tLotteryId\030\003 \001(\005\022\016\n"
  2140. "\006fishId\030\004 \001(\005\"\334\001\n%packetl2c_bc_table_kil"
  2141. "l_turntablefish\022[\n\tpacket_id\030\001 \001(\0162!.fis"
  2142. "h_protocols.e_server_msg_type:%e_mst_l2c"
  2143. "_bc_table_kill_turntablefish\022\020\n\010playerId"
  2144. "\030\002 \001(\005\022\014\n\004gold\030\003 \001(\005\022\016\n\006fishId\030\004 \001(\005\022\016\n\006"
  2145. "turnId\030\005 \001(\005\022\026\n\016remainTimeCard\030\006 \001(\005\"\215\001\n"
  2146. "\027packetl2c_kill_goldfish\022M\n\tpacket_id\030\001 "
  2147. "\001(\0162!.fish_protocols.e_server_msg_type:\027"
  2148. "e_mst_l2c_kill_goldfish\022\021\n\tkillcount\030\002 \001"
  2149. "(\005\022\020\n\010goldpool\030\003 \001(\005\"z\n\030packetc2l_play_a"
  2150. "d_reward\022N\n\tpacket_id\030\001 \001(\0162!.fish_proto"
  2151. "cols.e_server_msg_type:\030e_mst_c2l_play_a"
  2152. "d_reward\022\016\n\006double\030\002 \001(\010\"\230\001\n\037packetl2c_p"
  2153. "lay_ad_reward_result\022U\n\tpacket_id\030\001 \001(\0162"
  2154. "!.fish_protocols.e_server_msg_type:\037e_ms"
  2155. "t_l2c_play_ad_reward_result\022\016\n\006double\030\002 "
  2156. "\001(\010\022\016\n\006result\030\003 \001(\005\"~\n\"packetc2l_receive"
  2157. "_redpacket_reward\022X\n\tpacket_id\030\001 \001(\0162!.f"
  2158. "ish_protocols.e_server_msg_type:\"e_mst_c"
  2159. "2l_receive_redpacket_reward\"\352\001\n)packetl2"
  2160. "c_receive_redpacket_reward_result\022_\n\tpac"
  2161. "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m"
  2162. "sg_type:)e_mst_l2c_receive_redpacket_rew"
  2163. "ard_result\022\016\n\006result\030\002 \001(\005\022\023\n\013rewardInde"
  2164. "x\030\003 \001(\005\0227\n\017redEnvlopeInfos\030\004 \003(\0132\036.fish_"
  2165. "protocols.redEnvlopeInfo\"\224\001\n$packetl2c_b"
  2166. "c_trigger_mysterous_shell\022Z\n\tpacket_id\030\001"
  2167. " \001(\0162!.fish_protocols.e_server_msg_type:"
  2168. "$e_mst_l2c_bc_trigger_mysterous_shell\022\020\n"
  2169. "\010playerId\030\002 \001(\005\"\223\001\n%packetc2l_req_lotter"
  2170. "y_mysterous_shell\022[\n\tpacket_id\030\001 \001(\0162!.f"
  2171. "ish_protocols.e_server_msg_type:%e_mst_c"
  2172. "2l_req_lottery_mysterous_shell\022\r\n\005index\030"
  2173. "\002 \001(\005\"C\n\020shellLotteryInfo\022\r\n\005index\030\001 \001(\005"
  2174. "\022\022\n\nturretRate\030\002 \001(\005\022\014\n\004gold\030\003 \001(\005\"\331\001\n,p"
  2175. "acketl2c_req_lottery_mysterous_shell_res"
  2176. "ult\022b\n\tpacket_id\030\001 \001(\0162!.fish_protocols."
  2177. "e_server_msg_type:,e_mst_l2c_req_lottery"
  2178. "_mysterous_shell_result\022\016\n\006result\030\002 \001(\005\022"
  2179. "5\n\013lotteryInfo\030\003 \001(\0132 .fish_protocols.sh"
  2180. "ellLotteryInfo\"\354\001\n+packetl2c_bc_mysterou"
  2181. "s_shell_lottery_result\022a\n\tpacket_id\030\001 \001("
  2182. "\0162!.fish_protocols.e_server_msg_type:+e_"
  2183. "mst_l2c_bc_mysterous_shell_lottery_resul"
  2184. "t\022\020\n\010playerId\030\002 \001(\005\022\021\n\ttotalGold\030\003 \001(\005\0225"
  2185. "\n\013lotteryInfo\030\004 \003(\0132 .fish_protocols.she"
  2186. "llLotteryInfo\"3\n\020dice_change_info\022\020\n\010nic"
  2187. "kName\030\001 \001(\t\022\r\n\005score\030\002 \001(\005\"\320\001\n\036packetl2c"
  2188. "_bc_trigger_dice_game\022T\n\tpacket_id\030\001 \001(\016"
  2189. "2!.fish_protocols.e_server_msg_type:\036e_m"
  2190. "st_l2c_bc_trigger_dice_game\022\020\n\010playerId\030"
  2191. "\002 \001(\005\022\020\n\010baseGold\030\003 \001(\005\0224\n\nchangeList\030\004 "
  2192. "\003(\0132 .fish_protocols.dice_change_info\"\210\001"
  2193. "\n\037packetc2l_req_lottery_dice_game\022U\n\tpac"
  2194. "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m"
  2195. "sg_type:\037e_mst_c2l_req_lottery_dice_game"
  2196. "\022\016\n\006opType\030\002 \001(\005\"\312\001\n&packetl2c_req_lotte"
  2197. "ry_dice_game_result\022\\\n\tpacket_id\030\001 \001(\0162!"
  2198. ".fish_protocols.e_server_msg_type:&e_mst"
  2199. "_l2c_req_lottery_dice_game_result\022\016\n\006res"
  2200. "ult\030\002 \001(\005\022\016\n\006opType\030\003 \001(\005\022\017\n\007curGold\030\004 \001"
  2201. "(\005\022\021\n\tresultNum\030\005 \001(\005\"\251\001\n%packetl2c_bc_d"
  2202. "ice_game_lottery_result\022[\n\tpacket_id\030\001 \001"
  2203. "(\0162!.fish_protocols.e_server_msg_type:%e"
  2204. "_mst_l2c_bc_dice_game_lottery_result\022\020\n\010"
  2205. "playerId\030\002 \001(\005\022\021\n\ttotalGold\030\003 \001(\005\"\242\001\n!pa"
  2206. "cketl2c_bc_trigger_egg_treasure\022W\n\tpacke"
  2207. "t_id\030\001 \001(\0162!.fish_protocols.e_server_msg"
  2208. "_type:!e_mst_l2c_bc_trigger_egg_treasure"
  2209. "\022\020\n\010playerId\030\002 \001(\005\022\022\n\nturrerRate\030\003 \001(\005\"\205"
  2210. "\001\n\036packetc2l_egg_treasure_lottery\022T\n\tpac"
  2211. "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m"
  2212. "sg_type:\036e_mst_c2l_egg_treasure_lottery\022"
  2213. "\r\n\005index\030\002 \001(\005\"\321\001\n%packetl2c_egg_treasur"
  2214. "e_lottery_result\022[\n\tpacket_id\030\001 \001(\0162!.fi"
  2215. "sh_protocols.e_server_msg_type:%e_mst_l2"
  2216. "c_egg_treasure_lottery_result\022\020\n\010playerI"
  2217. "d\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\022\r\n\005index\030\004 \001(\005\022\014"
  2218. "\n\004gold\030\005 \001(\005\022\014\n\004coin\030\006 \001(\005\"|\n\032packetc2l_"
  2219. "change_room_rate\022P\n\tpacket_id\030\001 \001(\0162!.fi"
  2220. "sh_protocols.e_server_msg_type:\032e_mst_c2"
  2221. "l_change_room_rate\022\014\n\004rate\030\002 \001(\005\"\232\001\n!pac"
  2222. "ketl2c_change_room_rate_result\022W\n\tpacket"
  2223. "_id\030\001 \001(\0162!.fish_protocols.e_server_msg_"
  2224. "type:!e_mst_l2c_change_room_rate_result\022"
  2225. "\016\n\006result\030\002 \001(\005\022\014\n\004rate\030\003 \001(\005\"\202\001\n\035packet"
  2226. "c2l_change_bullet_power\022S\n\tpacket_id\030\001 \001"
  2227. "(\0162!.fish_protocols.e_server_msg_type:\035e"
  2228. "_mst_c2l_change_bullet_power\022\014\n\004rate\030\002 \001"
  2229. "(\005\"\240\001\n$packetl2c_change_bullet_power_res"
  2230. "ult\022Z\n\tpacket_id\030\001 \001(\0162!.fish_protocols."
  2231. "e_server_msg_type:$e_mst_l2c_change_bull"
  2232. "et_power_result\022\016\n\006result\030\002 \001(\005\022\014\n\004rate\030"
  2233. "\003 \001(\005\"\264\001\n\"packetl2c_bc_trigger_treasure_"
  2234. "bowl\022X\n\tpacket_id\030\001 \001(\0162!.fish_protocols"
  2235. ".e_server_msg_type:\"e_mst_l2c_bc_trigger"
  2236. "_treasure_bowl\022\020\n\010playerId\030\002 \001(\005\022\016\n\006fish"
  2237. "Id\030\003 \001(\005\022\022\n\nturrerRate\030\004 \001(\005\"\207\001\n\037packetc"
  2238. "2l_treasure_bowl_lottery\022U\n\tpacket_id\030\001 "
  2239. "\001(\0162!.fish_protocols.e_server_msg_type:\037"
  2240. "e_mst_c2l_treasure_bowl_lottery\022\r\n\005index"
  2241. "\030\002 \001(\005\"\340\001\n&packetl2c_treasure_bowl_lotte"
  2242. "ry_result\022\\\n\tpacket_id\030\001 \001(\0162!.fish_prot"
  2243. "ocols.e_server_msg_type:&e_mst_l2c_treas"
  2244. "ure_bowl_lottery_result\022\020\n\010playerId\030\002 \001("
  2245. "\005\022\016\n\006result\030\003 \001(\005\022\r\n\005index\030\004 \001(\005\022\'\n\005item"
  2246. "s\030\006 \003(\0132\030.fish_protocols.msg_item\"\226\001\n%pa"
  2247. "cketl2c_bc_trigger_flood_dragon_fly\022[\n\tp"
  2248. "acket_id\030\001 \001(\0162!.fish_protocols.e_server"
  2249. "_msg_type:%e_mst_l2c_bc_trigger_flood_dr"
  2250. "agon_fly\022\020\n\010playerId\030\002 \001(\005\"~\n\"packetc2l_"
  2251. "flood_dragon_fly_lottery\022X\n\tpacket_id\030\001 "
  2252. "\001(\0162!.fish_protocols.e_server_msg_type:\""
  2253. "e_mst_c2l_flood_dragon_fly_lottery\"\364\001\n)p"
  2254. "acketl2c_flood_dragon_fly_lottery_result"
  2255. "\022_\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_s"
  2256. "erver_msg_type:)e_mst_l2c_flood_dragon_f"
  2257. "ly_lottery_result\022\020\n\010playerId\030\002 \001(\005\022\016\n\006r"
  2258. "esult\030\003 \001(\005\022\r\n\005score\030\004 \001(\005\022\022\n\nbulletRate"
  2259. "\030\005 \001(\005\022\016\n\006points\030\006 \001(\005\022\021\n\taddpoints\030\007 \001("
  2260. "\005\"\233\001\n\023packetl2c_send_item\022I\n\tpacket_id\030\001"
  2261. " \001(\0162!.fish_protocols.e_server_msg_type:"
  2262. "\023e_mst_l2c_send_item\022\020\n\010playerId\030\002 \001(\005\022\'"
  2263. "\n\005items\030\003 \003(\0132\030.fish_protocols.msg_item\""
  2264. "~\n\"packetc2l_receive_tommorrow_reward\022X\n"
  2265. "\tpacket_id\030\001 \001(\0162!.fish_protocols.e_serv"
  2266. "er_msg_type:\"e_mst_c2l_receive_tommorrow"
  2267. "_reward\"\234\001\n)packetl2c_receive_tommorrow_"
  2268. "reward_result\022_\n\tpacket_id\030\001 \001(\0162!.fish_"
  2269. "protocols.e_server_msg_type:)e_mst_l2c_r"
  2270. "eceive_tommorrow_reward_result\022\016\n\006result"
  2271. "\030\002 \001(\005", 13686);
  2272. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  2273. "fish_logic.proto", &protobuf_RegisterTypes);
  2274. packetc2l_get_scene_info::default_instance_ = new packetc2l_get_scene_info();
  2275. packetl2c_get_scene_info_result::default_instance_ = new packetl2c_get_scene_info_result();
  2276. packetc2l_change_rate::default_instance_ = new packetc2l_change_rate();
  2277. packetc2l_sync_gold::default_instance_ = new packetc2l_sync_gold();
  2278. packetl2c_bc_enter_seat::default_instance_ = new packetl2c_bc_enter_seat();
  2279. packetl2c_bc_leave_seat::default_instance_ = new packetl2c_bc_leave_seat();
  2280. packetl2c_robot_enter::default_instance_ = new packetl2c_robot_enter();
  2281. packetl2c_robot_leave::default_instance_ = new packetl2c_robot_leave();
  2282. packetl2c_bc_change_rate::default_instance_ = new packetl2c_bc_change_rate();
  2283. packetl2c_bc_change_attr::default_instance_ = new packetl2c_bc_change_attr();
  2284. packetl2c_bc_create_fish::default_instance_ = new packetl2c_bc_create_fish();
  2285. packetl2c_bc_create_generator::default_instance_ = new packetl2c_bc_create_generator();
  2286. ManualFireEx::default_instance_ = new ManualFireEx();
  2287. packetc2l_manual_fire::default_instance_ = new packetc2l_manual_fire();
  2288. packetl2c_bc_manual_fire::default_instance_ = new packetl2c_bc_manual_fire();
  2289. packetc2l_hit_fish::default_instance_ = new packetc2l_hit_fish();
  2290. packetc2l_hit_fishs::default_instance_ = new packetc2l_hit_fishs();
  2291. LegindaryCoinGainInfo::default_instance_ = new LegindaryCoinGainInfo();
  2292. packetl2c_bc_fish_die::default_instance_ = new packetl2c_bc_fish_die();
  2293. packetl2c_notify_bullet_explode::default_instance_ = new packetl2c_notify_bullet_explode();
  2294. packetl2c_bc_bullet_explode::default_instance_ = new packetl2c_bc_bullet_explode();
  2295. packetl2c_bc_specialfish_die::default_instance_ = new packetl2c_bc_specialfish_die();
  2296. packetl2c_bc_fishs_die::default_instance_ = new packetl2c_bc_fishs_die();
  2297. packetl2c_bc_change_scene::default_instance_ = new packetl2c_bc_change_scene();
  2298. packetl2c_bc_finish_boss_scene::default_instance_ = new packetl2c_bc_finish_boss_scene();
  2299. packetl2c_bc_using_item::default_instance_ = new packetl2c_bc_using_item();
  2300. packetl2c_bc_stop_using_item::default_instance_ = new packetl2c_bc_stop_using_item();
  2301. packetl2c_bc_changeturret::default_instance_ = new packetl2c_bc_changeturret();
  2302. packetc2l_lock_fish::default_instance_ = new packetc2l_lock_fish();
  2303. packetl2c_bc_lock_fish::default_instance_ = new packetl2c_bc_lock_fish();
  2304. packetl2c_bc_freeze::default_instance_ = new packetl2c_bc_freeze();
  2305. packetl2c_bc_change_scene_bg::default_instance_ = new packetl2c_bc_change_scene_bg();
  2306. packetl2c_bc_scene_time::default_instance_ = new packetl2c_bc_scene_time();
  2307. packetl2c_bc_change_jackpot::default_instance_ = new packetl2c_bc_change_jackpot();
  2308. packetl2c_bc_hit_fishs::default_instance_ = new packetl2c_bc_hit_fishs();
  2309. packetl2c_bc_turret_rotate::default_instance_ = new packetl2c_bc_turret_rotate();
  2310. packetl2c_bc_change_max_power::default_instance_ = new packetl2c_bc_change_max_power();
  2311. packetl2c_bc_table_lottery::default_instance_ = new packetl2c_bc_table_lottery();
  2312. packetc2l_req_drop_rate::default_instance_ = new packetc2l_req_drop_rate();
  2313. packetl2c_req_drop_rate_result::default_instance_ = new packetl2c_req_drop_rate_result();
  2314. packet_c2l_benefits::default_instance_ = new packet_c2l_benefits();
  2315. packet_l2c_benefits_result::default_instance_ = new packet_l2c_benefits_result();
  2316. packetl2c_bc_table_kill_chipfish::default_instance_ = new packetl2c_bc_table_kill_chipfish();
  2317. packetl2c_bc_table_kill_turntablefish::default_instance_ = new packetl2c_bc_table_kill_turntablefish();
  2318. packetl2c_kill_goldfish::default_instance_ = new packetl2c_kill_goldfish();
  2319. packetc2l_play_ad_reward::default_instance_ = new packetc2l_play_ad_reward();
  2320. packetl2c_play_ad_reward_result::default_instance_ = new packetl2c_play_ad_reward_result();
  2321. packetc2l_receive_redpacket_reward::default_instance_ = new packetc2l_receive_redpacket_reward();
  2322. packetl2c_receive_redpacket_reward_result::default_instance_ = new packetl2c_receive_redpacket_reward_result();
  2323. packetl2c_bc_trigger_mysterous_shell::default_instance_ = new packetl2c_bc_trigger_mysterous_shell();
  2324. packetc2l_req_lottery_mysterous_shell::default_instance_ = new packetc2l_req_lottery_mysterous_shell();
  2325. shellLotteryInfo::default_instance_ = new shellLotteryInfo();
  2326. packetl2c_req_lottery_mysterous_shell_result::default_instance_ = new packetl2c_req_lottery_mysterous_shell_result();
  2327. packetl2c_bc_mysterous_shell_lottery_result::default_instance_ = new packetl2c_bc_mysterous_shell_lottery_result();
  2328. dice_change_info::default_instance_ = new dice_change_info();
  2329. packetl2c_bc_trigger_dice_game::default_instance_ = new packetl2c_bc_trigger_dice_game();
  2330. packetc2l_req_lottery_dice_game::default_instance_ = new packetc2l_req_lottery_dice_game();
  2331. packetl2c_req_lottery_dice_game_result::default_instance_ = new packetl2c_req_lottery_dice_game_result();
  2332. packetl2c_bc_dice_game_lottery_result::default_instance_ = new packetl2c_bc_dice_game_lottery_result();
  2333. packetl2c_bc_trigger_egg_treasure::default_instance_ = new packetl2c_bc_trigger_egg_treasure();
  2334. packetc2l_egg_treasure_lottery::default_instance_ = new packetc2l_egg_treasure_lottery();
  2335. packetl2c_egg_treasure_lottery_result::default_instance_ = new packetl2c_egg_treasure_lottery_result();
  2336. packetc2l_change_room_rate::default_instance_ = new packetc2l_change_room_rate();
  2337. packetl2c_change_room_rate_result::default_instance_ = new packetl2c_change_room_rate_result();
  2338. packetc2l_change_bullet_power::default_instance_ = new packetc2l_change_bullet_power();
  2339. packetl2c_change_bullet_power_result::default_instance_ = new packetl2c_change_bullet_power_result();
  2340. packetl2c_bc_trigger_treasure_bowl::default_instance_ = new packetl2c_bc_trigger_treasure_bowl();
  2341. packetc2l_treasure_bowl_lottery::default_instance_ = new packetc2l_treasure_bowl_lottery();
  2342. packetl2c_treasure_bowl_lottery_result::default_instance_ = new packetl2c_treasure_bowl_lottery_result();
  2343. packetl2c_bc_trigger_flood_dragon_fly::default_instance_ = new packetl2c_bc_trigger_flood_dragon_fly();
  2344. packetc2l_flood_dragon_fly_lottery::default_instance_ = new packetc2l_flood_dragon_fly_lottery();
  2345. packetl2c_flood_dragon_fly_lottery_result::default_instance_ = new packetl2c_flood_dragon_fly_lottery_result();
  2346. packetl2c_send_item::default_instance_ = new packetl2c_send_item();
  2347. packetc2l_receive_tommorrow_reward::default_instance_ = new packetc2l_receive_tommorrow_reward();
  2348. packetl2c_receive_tommorrow_reward_result::default_instance_ = new packetl2c_receive_tommorrow_reward_result();
  2349. packetc2l_get_scene_info::default_instance_->InitAsDefaultInstance();
  2350. packetl2c_get_scene_info_result::default_instance_->InitAsDefaultInstance();
  2351. packetc2l_change_rate::default_instance_->InitAsDefaultInstance();
  2352. packetc2l_sync_gold::default_instance_->InitAsDefaultInstance();
  2353. packetl2c_bc_enter_seat::default_instance_->InitAsDefaultInstance();
  2354. packetl2c_bc_leave_seat::default_instance_->InitAsDefaultInstance();
  2355. packetl2c_robot_enter::default_instance_->InitAsDefaultInstance();
  2356. packetl2c_robot_leave::default_instance_->InitAsDefaultInstance();
  2357. packetl2c_bc_change_rate::default_instance_->InitAsDefaultInstance();
  2358. packetl2c_bc_change_attr::default_instance_->InitAsDefaultInstance();
  2359. packetl2c_bc_create_fish::default_instance_->InitAsDefaultInstance();
  2360. packetl2c_bc_create_generator::default_instance_->InitAsDefaultInstance();
  2361. ManualFireEx::default_instance_->InitAsDefaultInstance();
  2362. packetc2l_manual_fire::default_instance_->InitAsDefaultInstance();
  2363. packetl2c_bc_manual_fire::default_instance_->InitAsDefaultInstance();
  2364. packetc2l_hit_fish::default_instance_->InitAsDefaultInstance();
  2365. packetc2l_hit_fishs::default_instance_->InitAsDefaultInstance();
  2366. LegindaryCoinGainInfo::default_instance_->InitAsDefaultInstance();
  2367. packetl2c_bc_fish_die::default_instance_->InitAsDefaultInstance();
  2368. packetl2c_notify_bullet_explode::default_instance_->InitAsDefaultInstance();
  2369. packetl2c_bc_bullet_explode::default_instance_->InitAsDefaultInstance();
  2370. packetl2c_bc_specialfish_die::default_instance_->InitAsDefaultInstance();
  2371. packetl2c_bc_fishs_die::default_instance_->InitAsDefaultInstance();
  2372. packetl2c_bc_change_scene::default_instance_->InitAsDefaultInstance();
  2373. packetl2c_bc_finish_boss_scene::default_instance_->InitAsDefaultInstance();
  2374. packetl2c_bc_using_item::default_instance_->InitAsDefaultInstance();
  2375. packetl2c_bc_stop_using_item::default_instance_->InitAsDefaultInstance();
  2376. packetl2c_bc_changeturret::default_instance_->InitAsDefaultInstance();
  2377. packetc2l_lock_fish::default_instance_->InitAsDefaultInstance();
  2378. packetl2c_bc_lock_fish::default_instance_->InitAsDefaultInstance();
  2379. packetl2c_bc_freeze::default_instance_->InitAsDefaultInstance();
  2380. packetl2c_bc_change_scene_bg::default_instance_->InitAsDefaultInstance();
  2381. packetl2c_bc_scene_time::default_instance_->InitAsDefaultInstance();
  2382. packetl2c_bc_change_jackpot::default_instance_->InitAsDefaultInstance();
  2383. packetl2c_bc_hit_fishs::default_instance_->InitAsDefaultInstance();
  2384. packetl2c_bc_turret_rotate::default_instance_->InitAsDefaultInstance();
  2385. packetl2c_bc_change_max_power::default_instance_->InitAsDefaultInstance();
  2386. packetl2c_bc_table_lottery::default_instance_->InitAsDefaultInstance();
  2387. packetc2l_req_drop_rate::default_instance_->InitAsDefaultInstance();
  2388. packetl2c_req_drop_rate_result::default_instance_->InitAsDefaultInstance();
  2389. packet_c2l_benefits::default_instance_->InitAsDefaultInstance();
  2390. packet_l2c_benefits_result::default_instance_->InitAsDefaultInstance();
  2391. packetl2c_bc_table_kill_chipfish::default_instance_->InitAsDefaultInstance();
  2392. packetl2c_bc_table_kill_turntablefish::default_instance_->InitAsDefaultInstance();
  2393. packetl2c_kill_goldfish::default_instance_->InitAsDefaultInstance();
  2394. packetc2l_play_ad_reward::default_instance_->InitAsDefaultInstance();
  2395. packetl2c_play_ad_reward_result::default_instance_->InitAsDefaultInstance();
  2396. packetc2l_receive_redpacket_reward::default_instance_->InitAsDefaultInstance();
  2397. packetl2c_receive_redpacket_reward_result::default_instance_->InitAsDefaultInstance();
  2398. packetl2c_bc_trigger_mysterous_shell::default_instance_->InitAsDefaultInstance();
  2399. packetc2l_req_lottery_mysterous_shell::default_instance_->InitAsDefaultInstance();
  2400. shellLotteryInfo::default_instance_->InitAsDefaultInstance();
  2401. packetl2c_req_lottery_mysterous_shell_result::default_instance_->InitAsDefaultInstance();
  2402. packetl2c_bc_mysterous_shell_lottery_result::default_instance_->InitAsDefaultInstance();
  2403. dice_change_info::default_instance_->InitAsDefaultInstance();
  2404. packetl2c_bc_trigger_dice_game::default_instance_->InitAsDefaultInstance();
  2405. packetc2l_req_lottery_dice_game::default_instance_->InitAsDefaultInstance();
  2406. packetl2c_req_lottery_dice_game_result::default_instance_->InitAsDefaultInstance();
  2407. packetl2c_bc_dice_game_lottery_result::default_instance_->InitAsDefaultInstance();
  2408. packetl2c_bc_trigger_egg_treasure::default_instance_->InitAsDefaultInstance();
  2409. packetc2l_egg_treasure_lottery::default_instance_->InitAsDefaultInstance();
  2410. packetl2c_egg_treasure_lottery_result::default_instance_->InitAsDefaultInstance();
  2411. packetc2l_change_room_rate::default_instance_->InitAsDefaultInstance();
  2412. packetl2c_change_room_rate_result::default_instance_->InitAsDefaultInstance();
  2413. packetc2l_change_bullet_power::default_instance_->InitAsDefaultInstance();
  2414. packetl2c_change_bullet_power_result::default_instance_->InitAsDefaultInstance();
  2415. packetl2c_bc_trigger_treasure_bowl::default_instance_->InitAsDefaultInstance();
  2416. packetc2l_treasure_bowl_lottery::default_instance_->InitAsDefaultInstance();
  2417. packetl2c_treasure_bowl_lottery_result::default_instance_->InitAsDefaultInstance();
  2418. packetl2c_bc_trigger_flood_dragon_fly::default_instance_->InitAsDefaultInstance();
  2419. packetc2l_flood_dragon_fly_lottery::default_instance_->InitAsDefaultInstance();
  2420. packetl2c_flood_dragon_fly_lottery_result::default_instance_->InitAsDefaultInstance();
  2421. packetl2c_send_item::default_instance_->InitAsDefaultInstance();
  2422. packetc2l_receive_tommorrow_reward::default_instance_->InitAsDefaultInstance();
  2423. packetl2c_receive_tommorrow_reward_result::default_instance_->InitAsDefaultInstance();
  2424. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5flogic_2eproto);
  2425. }
  2426. // Force AddDescriptors() to be called at static initialization time.
  2427. struct StaticDescriptorInitializer_fish_5flogic_2eproto {
  2428. StaticDescriptorInitializer_fish_5flogic_2eproto() {
  2429. protobuf_AddDesc_fish_5flogic_2eproto();
  2430. }
  2431. } static_descriptor_initializer_fish_5flogic_2eproto_;
  2432. // ===================================================================
  2433. #ifndef _MSC_VER
  2434. const int packetc2l_get_scene_info::kPacketIdFieldNumber;
  2435. #endif // !_MSC_VER
  2436. packetc2l_get_scene_info::packetc2l_get_scene_info()
  2437. : ::google::protobuf::Message() {
  2438. SharedCtor();
  2439. }
  2440. void packetc2l_get_scene_info::InitAsDefaultInstance() {
  2441. }
  2442. packetc2l_get_scene_info::packetc2l_get_scene_info(const packetc2l_get_scene_info& from)
  2443. : ::google::protobuf::Message() {
  2444. SharedCtor();
  2445. MergeFrom(from);
  2446. }
  2447. void packetc2l_get_scene_info::SharedCtor() {
  2448. _cached_size_ = 0;
  2449. packet_id_ = 10100;
  2450. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2451. }
  2452. packetc2l_get_scene_info::~packetc2l_get_scene_info() {
  2453. SharedDtor();
  2454. }
  2455. void packetc2l_get_scene_info::SharedDtor() {
  2456. if (this != default_instance_) {
  2457. }
  2458. }
  2459. void packetc2l_get_scene_info::SetCachedSize(int size) const {
  2460. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2461. _cached_size_ = size;
  2462. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2463. }
  2464. const ::google::protobuf::Descriptor* packetc2l_get_scene_info::descriptor() {
  2465. protobuf_AssignDescriptorsOnce();
  2466. return packetc2l_get_scene_info_descriptor_;
  2467. }
  2468. const packetc2l_get_scene_info& packetc2l_get_scene_info::default_instance() {
  2469. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  2470. return *default_instance_;
  2471. }
  2472. packetc2l_get_scene_info* packetc2l_get_scene_info::default_instance_ = NULL;
  2473. packetc2l_get_scene_info* packetc2l_get_scene_info::New() const {
  2474. return new packetc2l_get_scene_info;
  2475. }
  2476. void packetc2l_get_scene_info::Clear() {
  2477. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2478. packet_id_ = 10100;
  2479. }
  2480. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2481. mutable_unknown_fields()->Clear();
  2482. }
  2483. bool packetc2l_get_scene_info::MergePartialFromCodedStream(
  2484. ::google::protobuf::io::CodedInputStream* input) {
  2485. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2486. ::google::protobuf::uint32 tag;
  2487. while ((tag = input->ReadTag()) != 0) {
  2488. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2489. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info];
  2490. case 1: {
  2491. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2492. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2493. int value;
  2494. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2495. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2496. input, &value)));
  2497. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2498. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2499. } else {
  2500. mutable_unknown_fields()->AddVarint(1, value);
  2501. }
  2502. } else {
  2503. goto handle_uninterpreted;
  2504. }
  2505. if (input->ExpectAtEnd()) return true;
  2506. break;
  2507. }
  2508. default: {
  2509. handle_uninterpreted:
  2510. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2511. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2512. return true;
  2513. }
  2514. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2515. input, tag, mutable_unknown_fields()));
  2516. break;
  2517. }
  2518. }
  2519. }
  2520. return true;
  2521. #undef DO_
  2522. }
  2523. void packetc2l_get_scene_info::SerializeWithCachedSizes(
  2524. ::google::protobuf::io::CodedOutputStream* output) const {
  2525. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info];
  2526. if (has_packet_id()) {
  2527. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2528. 1, this->packet_id(), output);
  2529. }
  2530. if (!unknown_fields().empty()) {
  2531. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2532. unknown_fields(), output);
  2533. }
  2534. }
  2535. ::google::protobuf::uint8* packetc2l_get_scene_info::SerializeWithCachedSizesToArray(
  2536. ::google::protobuf::uint8* target) const {
  2537. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info];
  2538. if (has_packet_id()) {
  2539. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2540. 1, this->packet_id(), target);
  2541. }
  2542. if (!unknown_fields().empty()) {
  2543. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2544. unknown_fields(), target);
  2545. }
  2546. return target;
  2547. }
  2548. int packetc2l_get_scene_info::ByteSize() const {
  2549. int total_size = 0;
  2550. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2551. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info];
  2552. if (has_packet_id()) {
  2553. total_size += 1 +
  2554. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2555. }
  2556. }
  2557. if (!unknown_fields().empty()) {
  2558. total_size +=
  2559. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2560. unknown_fields());
  2561. }
  2562. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2563. _cached_size_ = total_size;
  2564. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2565. return total_size;
  2566. }
  2567. void packetc2l_get_scene_info::MergeFrom(const ::google::protobuf::Message& from) {
  2568. GOOGLE_CHECK_NE(&from, this);
  2569. const packetc2l_get_scene_info* source =
  2570. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_scene_info*>(
  2571. &from);
  2572. if (source == NULL) {
  2573. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2574. } else {
  2575. MergeFrom(*source);
  2576. }
  2577. }
  2578. void packetc2l_get_scene_info::MergeFrom(const packetc2l_get_scene_info& from) {
  2579. GOOGLE_CHECK_NE(&from, this);
  2580. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2581. if (from.has_packet_id()) {
  2582. set_packet_id(from.packet_id());
  2583. }
  2584. }
  2585. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2586. }
  2587. void packetc2l_get_scene_info::CopyFrom(const ::google::protobuf::Message& from) {
  2588. if (&from == this) return;
  2589. Clear();
  2590. MergeFrom(from);
  2591. }
  2592. void packetc2l_get_scene_info::CopyFrom(const packetc2l_get_scene_info& from) {
  2593. if (&from == this) return;
  2594. Clear();
  2595. MergeFrom(from);
  2596. }
  2597. bool packetc2l_get_scene_info::IsInitialized() const {
  2598. return true;
  2599. }
  2600. void packetc2l_get_scene_info::Swap(packetc2l_get_scene_info* other) {
  2601. if (other != this) {
  2602. std::swap(packet_id_, other->packet_id_);
  2603. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2604. _unknown_fields_.Swap(&other->_unknown_fields_);
  2605. std::swap(_cached_size_, other->_cached_size_);
  2606. }
  2607. }
  2608. ::google::protobuf::Metadata packetc2l_get_scene_info::GetMetadata() const {
  2609. protobuf_AssignDescriptorsOnce();
  2610. ::google::protobuf::Metadata metadata;
  2611. metadata.descriptor = packetc2l_get_scene_info_descriptor_;
  2612. metadata.reflection = packetc2l_get_scene_info_reflection_;
  2613. return metadata;
  2614. }
  2615. // ===================================================================
  2616. #ifndef _MSC_VER
  2617. const int packetl2c_get_scene_info_result::kPacketIdFieldNumber;
  2618. const int packetl2c_get_scene_info_result::kSceneInfoFieldNumber;
  2619. const int packetl2c_get_scene_info_result::kRecvBenefitTimeFieldNumber;
  2620. const int packetl2c_get_scene_info_result::kRecvBenefitCountFieldNumber;
  2621. #endif // !_MSC_VER
  2622. packetl2c_get_scene_info_result::packetl2c_get_scene_info_result()
  2623. : ::google::protobuf::Message() {
  2624. SharedCtor();
  2625. }
  2626. void packetl2c_get_scene_info_result::InitAsDefaultInstance() {
  2627. scene_info_ = const_cast< ::fish_protocols::msg_scene_info*>(&::fish_protocols::msg_scene_info::default_instance());
  2628. }
  2629. packetl2c_get_scene_info_result::packetl2c_get_scene_info_result(const packetl2c_get_scene_info_result& from)
  2630. : ::google::protobuf::Message() {
  2631. SharedCtor();
  2632. MergeFrom(from);
  2633. }
  2634. void packetl2c_get_scene_info_result::SharedCtor() {
  2635. _cached_size_ = 0;
  2636. packet_id_ = 15100;
  2637. scene_info_ = NULL;
  2638. recvbenefittime_ = 0;
  2639. recvbenefitcount_ = 0;
  2640. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2641. }
  2642. packetl2c_get_scene_info_result::~packetl2c_get_scene_info_result() {
  2643. SharedDtor();
  2644. }
  2645. void packetl2c_get_scene_info_result::SharedDtor() {
  2646. if (this != default_instance_) {
  2647. delete scene_info_;
  2648. }
  2649. }
  2650. void packetl2c_get_scene_info_result::SetCachedSize(int size) const {
  2651. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2652. _cached_size_ = size;
  2653. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2654. }
  2655. const ::google::protobuf::Descriptor* packetl2c_get_scene_info_result::descriptor() {
  2656. protobuf_AssignDescriptorsOnce();
  2657. return packetl2c_get_scene_info_result_descriptor_;
  2658. }
  2659. const packetl2c_get_scene_info_result& packetl2c_get_scene_info_result::default_instance() {
  2660. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  2661. return *default_instance_;
  2662. }
  2663. packetl2c_get_scene_info_result* packetl2c_get_scene_info_result::default_instance_ = NULL;
  2664. packetl2c_get_scene_info_result* packetl2c_get_scene_info_result::New() const {
  2665. return new packetl2c_get_scene_info_result;
  2666. }
  2667. void packetl2c_get_scene_info_result::Clear() {
  2668. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2669. packet_id_ = 15100;
  2670. if (has_scene_info()) {
  2671. if (scene_info_ != NULL) scene_info_->::fish_protocols::msg_scene_info::Clear();
  2672. }
  2673. recvbenefittime_ = 0;
  2674. recvbenefitcount_ = 0;
  2675. }
  2676. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2677. mutable_unknown_fields()->Clear();
  2678. }
  2679. bool packetl2c_get_scene_info_result::MergePartialFromCodedStream(
  2680. ::google::protobuf::io::CodedInputStream* input) {
  2681. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2682. ::google::protobuf::uint32 tag;
  2683. while ((tag = input->ReadTag()) != 0) {
  2684. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2685. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result];
  2686. case 1: {
  2687. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2688. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2689. int value;
  2690. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2691. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2692. input, &value)));
  2693. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2694. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2695. } else {
  2696. mutable_unknown_fields()->AddVarint(1, value);
  2697. }
  2698. } else {
  2699. goto handle_uninterpreted;
  2700. }
  2701. if (input->ExpectTag(18)) goto parse_scene_info;
  2702. break;
  2703. }
  2704. // optional .fish_protocols.msg_scene_info scene_info = 2;
  2705. case 2: {
  2706. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2707. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2708. parse_scene_info:
  2709. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2710. input, mutable_scene_info()));
  2711. } else {
  2712. goto handle_uninterpreted;
  2713. }
  2714. if (input->ExpectTag(32)) goto parse_recvBenefitTime;
  2715. break;
  2716. }
  2717. // optional int32 recvBenefitTime = 4;
  2718. case 4: {
  2719. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2720. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2721. parse_recvBenefitTime:
  2722. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2723. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2724. input, &recvbenefittime_)));
  2725. set_has_recvbenefittime();
  2726. } else {
  2727. goto handle_uninterpreted;
  2728. }
  2729. if (input->ExpectTag(40)) goto parse_recvBenefitCount;
  2730. break;
  2731. }
  2732. // optional int32 recvBenefitCount = 5;
  2733. case 5: {
  2734. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2735. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2736. parse_recvBenefitCount:
  2737. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2738. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2739. input, &recvbenefitcount_)));
  2740. set_has_recvbenefitcount();
  2741. } else {
  2742. goto handle_uninterpreted;
  2743. }
  2744. if (input->ExpectAtEnd()) return true;
  2745. break;
  2746. }
  2747. default: {
  2748. handle_uninterpreted:
  2749. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2750. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2751. return true;
  2752. }
  2753. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2754. input, tag, mutable_unknown_fields()));
  2755. break;
  2756. }
  2757. }
  2758. }
  2759. return true;
  2760. #undef DO_
  2761. }
  2762. void packetl2c_get_scene_info_result::SerializeWithCachedSizes(
  2763. ::google::protobuf::io::CodedOutputStream* output) const {
  2764. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result];
  2765. if (has_packet_id()) {
  2766. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2767. 1, this->packet_id(), output);
  2768. }
  2769. // optional .fish_protocols.msg_scene_info scene_info = 2;
  2770. if (has_scene_info()) {
  2771. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2772. 2, this->scene_info(), output);
  2773. }
  2774. // optional int32 recvBenefitTime = 4;
  2775. if (has_recvbenefittime()) {
  2776. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->recvbenefittime(), output);
  2777. }
  2778. // optional int32 recvBenefitCount = 5;
  2779. if (has_recvbenefitcount()) {
  2780. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->recvbenefitcount(), output);
  2781. }
  2782. if (!unknown_fields().empty()) {
  2783. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2784. unknown_fields(), output);
  2785. }
  2786. }
  2787. ::google::protobuf::uint8* packetl2c_get_scene_info_result::SerializeWithCachedSizesToArray(
  2788. ::google::protobuf::uint8* target) const {
  2789. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result];
  2790. if (has_packet_id()) {
  2791. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2792. 1, this->packet_id(), target);
  2793. }
  2794. // optional .fish_protocols.msg_scene_info scene_info = 2;
  2795. if (has_scene_info()) {
  2796. target = ::google::protobuf::internal::WireFormatLite::
  2797. WriteMessageNoVirtualToArray(
  2798. 2, this->scene_info(), target);
  2799. }
  2800. // optional int32 recvBenefitTime = 4;
  2801. if (has_recvbenefittime()) {
  2802. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->recvbenefittime(), target);
  2803. }
  2804. // optional int32 recvBenefitCount = 5;
  2805. if (has_recvbenefitcount()) {
  2806. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->recvbenefitcount(), target);
  2807. }
  2808. if (!unknown_fields().empty()) {
  2809. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2810. unknown_fields(), target);
  2811. }
  2812. return target;
  2813. }
  2814. int packetl2c_get_scene_info_result::ByteSize() const {
  2815. int total_size = 0;
  2816. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2817. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result];
  2818. if (has_packet_id()) {
  2819. total_size += 1 +
  2820. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2821. }
  2822. // optional .fish_protocols.msg_scene_info scene_info = 2;
  2823. if (has_scene_info()) {
  2824. total_size += 1 +
  2825. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2826. this->scene_info());
  2827. }
  2828. // optional int32 recvBenefitTime = 4;
  2829. if (has_recvbenefittime()) {
  2830. total_size += 1 +
  2831. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2832. this->recvbenefittime());
  2833. }
  2834. // optional int32 recvBenefitCount = 5;
  2835. if (has_recvbenefitcount()) {
  2836. total_size += 1 +
  2837. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2838. this->recvbenefitcount());
  2839. }
  2840. }
  2841. if (!unknown_fields().empty()) {
  2842. total_size +=
  2843. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2844. unknown_fields());
  2845. }
  2846. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2847. _cached_size_ = total_size;
  2848. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2849. return total_size;
  2850. }
  2851. void packetl2c_get_scene_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  2852. GOOGLE_CHECK_NE(&from, this);
  2853. const packetl2c_get_scene_info_result* source =
  2854. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_scene_info_result*>(
  2855. &from);
  2856. if (source == NULL) {
  2857. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2858. } else {
  2859. MergeFrom(*source);
  2860. }
  2861. }
  2862. void packetl2c_get_scene_info_result::MergeFrom(const packetl2c_get_scene_info_result& from) {
  2863. GOOGLE_CHECK_NE(&from, this);
  2864. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2865. if (from.has_packet_id()) {
  2866. set_packet_id(from.packet_id());
  2867. }
  2868. if (from.has_scene_info()) {
  2869. mutable_scene_info()->::fish_protocols::msg_scene_info::MergeFrom(from.scene_info());
  2870. }
  2871. if (from.has_recvbenefittime()) {
  2872. set_recvbenefittime(from.recvbenefittime());
  2873. }
  2874. if (from.has_recvbenefitcount()) {
  2875. set_recvbenefitcount(from.recvbenefitcount());
  2876. }
  2877. }
  2878. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2879. }
  2880. void packetl2c_get_scene_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  2881. if (&from == this) return;
  2882. Clear();
  2883. MergeFrom(from);
  2884. }
  2885. void packetl2c_get_scene_info_result::CopyFrom(const packetl2c_get_scene_info_result& from) {
  2886. if (&from == this) return;
  2887. Clear();
  2888. MergeFrom(from);
  2889. }
  2890. bool packetl2c_get_scene_info_result::IsInitialized() const {
  2891. return true;
  2892. }
  2893. void packetl2c_get_scene_info_result::Swap(packetl2c_get_scene_info_result* other) {
  2894. if (other != this) {
  2895. std::swap(packet_id_, other->packet_id_);
  2896. std::swap(scene_info_, other->scene_info_);
  2897. std::swap(recvbenefittime_, other->recvbenefittime_);
  2898. std::swap(recvbenefitcount_, other->recvbenefitcount_);
  2899. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2900. _unknown_fields_.Swap(&other->_unknown_fields_);
  2901. std::swap(_cached_size_, other->_cached_size_);
  2902. }
  2903. }
  2904. ::google::protobuf::Metadata packetl2c_get_scene_info_result::GetMetadata() const {
  2905. protobuf_AssignDescriptorsOnce();
  2906. ::google::protobuf::Metadata metadata;
  2907. metadata.descriptor = packetl2c_get_scene_info_result_descriptor_;
  2908. metadata.reflection = packetl2c_get_scene_info_result_reflection_;
  2909. return metadata;
  2910. }
  2911. // ===================================================================
  2912. #ifndef _MSC_VER
  2913. const int packetc2l_change_rate::kPacketIdFieldNumber;
  2914. const int packetc2l_change_rate::kTurretRateFieldNumber;
  2915. #endif // !_MSC_VER
  2916. packetc2l_change_rate::packetc2l_change_rate()
  2917. : ::google::protobuf::Message() {
  2918. SharedCtor();
  2919. }
  2920. void packetc2l_change_rate::InitAsDefaultInstance() {
  2921. }
  2922. packetc2l_change_rate::packetc2l_change_rate(const packetc2l_change_rate& from)
  2923. : ::google::protobuf::Message() {
  2924. SharedCtor();
  2925. MergeFrom(from);
  2926. }
  2927. void packetc2l_change_rate::SharedCtor() {
  2928. _cached_size_ = 0;
  2929. packet_id_ = 10102;
  2930. turret_rate_ = 0;
  2931. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2932. }
  2933. packetc2l_change_rate::~packetc2l_change_rate() {
  2934. SharedDtor();
  2935. }
  2936. void packetc2l_change_rate::SharedDtor() {
  2937. if (this != default_instance_) {
  2938. }
  2939. }
  2940. void packetc2l_change_rate::SetCachedSize(int size) const {
  2941. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2942. _cached_size_ = size;
  2943. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2944. }
  2945. const ::google::protobuf::Descriptor* packetc2l_change_rate::descriptor() {
  2946. protobuf_AssignDescriptorsOnce();
  2947. return packetc2l_change_rate_descriptor_;
  2948. }
  2949. const packetc2l_change_rate& packetc2l_change_rate::default_instance() {
  2950. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  2951. return *default_instance_;
  2952. }
  2953. packetc2l_change_rate* packetc2l_change_rate::default_instance_ = NULL;
  2954. packetc2l_change_rate* packetc2l_change_rate::New() const {
  2955. return new packetc2l_change_rate;
  2956. }
  2957. void packetc2l_change_rate::Clear() {
  2958. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2959. packet_id_ = 10102;
  2960. turret_rate_ = 0;
  2961. }
  2962. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2963. mutable_unknown_fields()->Clear();
  2964. }
  2965. bool packetc2l_change_rate::MergePartialFromCodedStream(
  2966. ::google::protobuf::io::CodedInputStream* input) {
  2967. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2968. ::google::protobuf::uint32 tag;
  2969. while ((tag = input->ReadTag()) != 0) {
  2970. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2971. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate];
  2972. case 1: {
  2973. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2974. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2975. int value;
  2976. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2977. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2978. input, &value)));
  2979. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2980. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2981. } else {
  2982. mutable_unknown_fields()->AddVarint(1, value);
  2983. }
  2984. } else {
  2985. goto handle_uninterpreted;
  2986. }
  2987. if (input->ExpectTag(16)) goto parse_turret_rate;
  2988. break;
  2989. }
  2990. // optional int32 turret_rate = 2;
  2991. case 2: {
  2992. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2993. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2994. parse_turret_rate:
  2995. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2996. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2997. input, &turret_rate_)));
  2998. set_has_turret_rate();
  2999. } else {
  3000. goto handle_uninterpreted;
  3001. }
  3002. if (input->ExpectAtEnd()) return true;
  3003. break;
  3004. }
  3005. default: {
  3006. handle_uninterpreted:
  3007. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3008. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3009. return true;
  3010. }
  3011. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3012. input, tag, mutable_unknown_fields()));
  3013. break;
  3014. }
  3015. }
  3016. }
  3017. return true;
  3018. #undef DO_
  3019. }
  3020. void packetc2l_change_rate::SerializeWithCachedSizes(
  3021. ::google::protobuf::io::CodedOutputStream* output) const {
  3022. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate];
  3023. if (has_packet_id()) {
  3024. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3025. 1, this->packet_id(), output);
  3026. }
  3027. // optional int32 turret_rate = 2;
  3028. if (has_turret_rate()) {
  3029. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->turret_rate(), output);
  3030. }
  3031. if (!unknown_fields().empty()) {
  3032. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3033. unknown_fields(), output);
  3034. }
  3035. }
  3036. ::google::protobuf::uint8* packetc2l_change_rate::SerializeWithCachedSizesToArray(
  3037. ::google::protobuf::uint8* target) const {
  3038. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate];
  3039. if (has_packet_id()) {
  3040. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3041. 1, this->packet_id(), target);
  3042. }
  3043. // optional int32 turret_rate = 2;
  3044. if (has_turret_rate()) {
  3045. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->turret_rate(), target);
  3046. }
  3047. if (!unknown_fields().empty()) {
  3048. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3049. unknown_fields(), target);
  3050. }
  3051. return target;
  3052. }
  3053. int packetc2l_change_rate::ByteSize() const {
  3054. int total_size = 0;
  3055. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3056. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate];
  3057. if (has_packet_id()) {
  3058. total_size += 1 +
  3059. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3060. }
  3061. // optional int32 turret_rate = 2;
  3062. if (has_turret_rate()) {
  3063. total_size += 1 +
  3064. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3065. this->turret_rate());
  3066. }
  3067. }
  3068. if (!unknown_fields().empty()) {
  3069. total_size +=
  3070. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3071. unknown_fields());
  3072. }
  3073. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3074. _cached_size_ = total_size;
  3075. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3076. return total_size;
  3077. }
  3078. void packetc2l_change_rate::MergeFrom(const ::google::protobuf::Message& from) {
  3079. GOOGLE_CHECK_NE(&from, this);
  3080. const packetc2l_change_rate* source =
  3081. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_change_rate*>(
  3082. &from);
  3083. if (source == NULL) {
  3084. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3085. } else {
  3086. MergeFrom(*source);
  3087. }
  3088. }
  3089. void packetc2l_change_rate::MergeFrom(const packetc2l_change_rate& from) {
  3090. GOOGLE_CHECK_NE(&from, this);
  3091. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3092. if (from.has_packet_id()) {
  3093. set_packet_id(from.packet_id());
  3094. }
  3095. if (from.has_turret_rate()) {
  3096. set_turret_rate(from.turret_rate());
  3097. }
  3098. }
  3099. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3100. }
  3101. void packetc2l_change_rate::CopyFrom(const ::google::protobuf::Message& from) {
  3102. if (&from == this) return;
  3103. Clear();
  3104. MergeFrom(from);
  3105. }
  3106. void packetc2l_change_rate::CopyFrom(const packetc2l_change_rate& from) {
  3107. if (&from == this) return;
  3108. Clear();
  3109. MergeFrom(from);
  3110. }
  3111. bool packetc2l_change_rate::IsInitialized() const {
  3112. return true;
  3113. }
  3114. void packetc2l_change_rate::Swap(packetc2l_change_rate* other) {
  3115. if (other != this) {
  3116. std::swap(packet_id_, other->packet_id_);
  3117. std::swap(turret_rate_, other->turret_rate_);
  3118. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3119. _unknown_fields_.Swap(&other->_unknown_fields_);
  3120. std::swap(_cached_size_, other->_cached_size_);
  3121. }
  3122. }
  3123. ::google::protobuf::Metadata packetc2l_change_rate::GetMetadata() const {
  3124. protobuf_AssignDescriptorsOnce();
  3125. ::google::protobuf::Metadata metadata;
  3126. metadata.descriptor = packetc2l_change_rate_descriptor_;
  3127. metadata.reflection = packetc2l_change_rate_reflection_;
  3128. return metadata;
  3129. }
  3130. // ===================================================================
  3131. #ifndef _MSC_VER
  3132. const int packetc2l_sync_gold::kPacketIdFieldNumber;
  3133. #endif // !_MSC_VER
  3134. packetc2l_sync_gold::packetc2l_sync_gold()
  3135. : ::google::protobuf::Message() {
  3136. SharedCtor();
  3137. }
  3138. void packetc2l_sync_gold::InitAsDefaultInstance() {
  3139. }
  3140. packetc2l_sync_gold::packetc2l_sync_gold(const packetc2l_sync_gold& from)
  3141. : ::google::protobuf::Message() {
  3142. SharedCtor();
  3143. MergeFrom(from);
  3144. }
  3145. void packetc2l_sync_gold::SharedCtor() {
  3146. _cached_size_ = 0;
  3147. packet_id_ = 10126;
  3148. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3149. }
  3150. packetc2l_sync_gold::~packetc2l_sync_gold() {
  3151. SharedDtor();
  3152. }
  3153. void packetc2l_sync_gold::SharedDtor() {
  3154. if (this != default_instance_) {
  3155. }
  3156. }
  3157. void packetc2l_sync_gold::SetCachedSize(int size) const {
  3158. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3159. _cached_size_ = size;
  3160. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3161. }
  3162. const ::google::protobuf::Descriptor* packetc2l_sync_gold::descriptor() {
  3163. protobuf_AssignDescriptorsOnce();
  3164. return packetc2l_sync_gold_descriptor_;
  3165. }
  3166. const packetc2l_sync_gold& packetc2l_sync_gold::default_instance() {
  3167. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  3168. return *default_instance_;
  3169. }
  3170. packetc2l_sync_gold* packetc2l_sync_gold::default_instance_ = NULL;
  3171. packetc2l_sync_gold* packetc2l_sync_gold::New() const {
  3172. return new packetc2l_sync_gold;
  3173. }
  3174. void packetc2l_sync_gold::Clear() {
  3175. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3176. packet_id_ = 10126;
  3177. }
  3178. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3179. mutable_unknown_fields()->Clear();
  3180. }
  3181. bool packetc2l_sync_gold::MergePartialFromCodedStream(
  3182. ::google::protobuf::io::CodedInputStream* input) {
  3183. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3184. ::google::protobuf::uint32 tag;
  3185. while ((tag = input->ReadTag()) != 0) {
  3186. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3187. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold];
  3188. case 1: {
  3189. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3190. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3191. int value;
  3192. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3193. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3194. input, &value)));
  3195. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3196. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3197. } else {
  3198. mutable_unknown_fields()->AddVarint(1, value);
  3199. }
  3200. } else {
  3201. goto handle_uninterpreted;
  3202. }
  3203. if (input->ExpectAtEnd()) return true;
  3204. break;
  3205. }
  3206. default: {
  3207. handle_uninterpreted:
  3208. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3209. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3210. return true;
  3211. }
  3212. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3213. input, tag, mutable_unknown_fields()));
  3214. break;
  3215. }
  3216. }
  3217. }
  3218. return true;
  3219. #undef DO_
  3220. }
  3221. void packetc2l_sync_gold::SerializeWithCachedSizes(
  3222. ::google::protobuf::io::CodedOutputStream* output) const {
  3223. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold];
  3224. if (has_packet_id()) {
  3225. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3226. 1, this->packet_id(), output);
  3227. }
  3228. if (!unknown_fields().empty()) {
  3229. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3230. unknown_fields(), output);
  3231. }
  3232. }
  3233. ::google::protobuf::uint8* packetc2l_sync_gold::SerializeWithCachedSizesToArray(
  3234. ::google::protobuf::uint8* target) const {
  3235. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold];
  3236. if (has_packet_id()) {
  3237. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3238. 1, this->packet_id(), target);
  3239. }
  3240. if (!unknown_fields().empty()) {
  3241. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3242. unknown_fields(), target);
  3243. }
  3244. return target;
  3245. }
  3246. int packetc2l_sync_gold::ByteSize() const {
  3247. int total_size = 0;
  3248. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3249. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold];
  3250. if (has_packet_id()) {
  3251. total_size += 1 +
  3252. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3253. }
  3254. }
  3255. if (!unknown_fields().empty()) {
  3256. total_size +=
  3257. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3258. unknown_fields());
  3259. }
  3260. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3261. _cached_size_ = total_size;
  3262. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3263. return total_size;
  3264. }
  3265. void packetc2l_sync_gold::MergeFrom(const ::google::protobuf::Message& from) {
  3266. GOOGLE_CHECK_NE(&from, this);
  3267. const packetc2l_sync_gold* source =
  3268. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_sync_gold*>(
  3269. &from);
  3270. if (source == NULL) {
  3271. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3272. } else {
  3273. MergeFrom(*source);
  3274. }
  3275. }
  3276. void packetc2l_sync_gold::MergeFrom(const packetc2l_sync_gold& from) {
  3277. GOOGLE_CHECK_NE(&from, this);
  3278. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3279. if (from.has_packet_id()) {
  3280. set_packet_id(from.packet_id());
  3281. }
  3282. }
  3283. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3284. }
  3285. void packetc2l_sync_gold::CopyFrom(const ::google::protobuf::Message& from) {
  3286. if (&from == this) return;
  3287. Clear();
  3288. MergeFrom(from);
  3289. }
  3290. void packetc2l_sync_gold::CopyFrom(const packetc2l_sync_gold& from) {
  3291. if (&from == this) return;
  3292. Clear();
  3293. MergeFrom(from);
  3294. }
  3295. bool packetc2l_sync_gold::IsInitialized() const {
  3296. return true;
  3297. }
  3298. void packetc2l_sync_gold::Swap(packetc2l_sync_gold* other) {
  3299. if (other != this) {
  3300. std::swap(packet_id_, other->packet_id_);
  3301. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3302. _unknown_fields_.Swap(&other->_unknown_fields_);
  3303. std::swap(_cached_size_, other->_cached_size_);
  3304. }
  3305. }
  3306. ::google::protobuf::Metadata packetc2l_sync_gold::GetMetadata() const {
  3307. protobuf_AssignDescriptorsOnce();
  3308. ::google::protobuf::Metadata metadata;
  3309. metadata.descriptor = packetc2l_sync_gold_descriptor_;
  3310. metadata.reflection = packetc2l_sync_gold_reflection_;
  3311. return metadata;
  3312. }
  3313. // ===================================================================
  3314. #ifndef _MSC_VER
  3315. const int packetl2c_bc_enter_seat::kPacketIdFieldNumber;
  3316. const int packetl2c_bc_enter_seat::kSeatInfoFieldNumber;
  3317. #endif // !_MSC_VER
  3318. packetl2c_bc_enter_seat::packetl2c_bc_enter_seat()
  3319. : ::google::protobuf::Message() {
  3320. SharedCtor();
  3321. }
  3322. void packetl2c_bc_enter_seat::InitAsDefaultInstance() {
  3323. seat_info_ = const_cast< ::fish_protocols::msg_seat_info*>(&::fish_protocols::msg_seat_info::default_instance());
  3324. }
  3325. packetl2c_bc_enter_seat::packetl2c_bc_enter_seat(const packetl2c_bc_enter_seat& from)
  3326. : ::google::protobuf::Message() {
  3327. SharedCtor();
  3328. MergeFrom(from);
  3329. }
  3330. void packetl2c_bc_enter_seat::SharedCtor() {
  3331. _cached_size_ = 0;
  3332. packet_id_ = 15201;
  3333. seat_info_ = NULL;
  3334. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3335. }
  3336. packetl2c_bc_enter_seat::~packetl2c_bc_enter_seat() {
  3337. SharedDtor();
  3338. }
  3339. void packetl2c_bc_enter_seat::SharedDtor() {
  3340. if (this != default_instance_) {
  3341. delete seat_info_;
  3342. }
  3343. }
  3344. void packetl2c_bc_enter_seat::SetCachedSize(int size) const {
  3345. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3346. _cached_size_ = size;
  3347. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3348. }
  3349. const ::google::protobuf::Descriptor* packetl2c_bc_enter_seat::descriptor() {
  3350. protobuf_AssignDescriptorsOnce();
  3351. return packetl2c_bc_enter_seat_descriptor_;
  3352. }
  3353. const packetl2c_bc_enter_seat& packetl2c_bc_enter_seat::default_instance() {
  3354. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  3355. return *default_instance_;
  3356. }
  3357. packetl2c_bc_enter_seat* packetl2c_bc_enter_seat::default_instance_ = NULL;
  3358. packetl2c_bc_enter_seat* packetl2c_bc_enter_seat::New() const {
  3359. return new packetl2c_bc_enter_seat;
  3360. }
  3361. void packetl2c_bc_enter_seat::Clear() {
  3362. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3363. packet_id_ = 15201;
  3364. if (has_seat_info()) {
  3365. if (seat_info_ != NULL) seat_info_->::fish_protocols::msg_seat_info::Clear();
  3366. }
  3367. }
  3368. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3369. mutable_unknown_fields()->Clear();
  3370. }
  3371. bool packetl2c_bc_enter_seat::MergePartialFromCodedStream(
  3372. ::google::protobuf::io::CodedInputStream* input) {
  3373. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3374. ::google::protobuf::uint32 tag;
  3375. while ((tag = input->ReadTag()) != 0) {
  3376. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3377. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat];
  3378. case 1: {
  3379. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3380. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3381. int value;
  3382. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3383. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3384. input, &value)));
  3385. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3386. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3387. } else {
  3388. mutable_unknown_fields()->AddVarint(1, value);
  3389. }
  3390. } else {
  3391. goto handle_uninterpreted;
  3392. }
  3393. if (input->ExpectTag(18)) goto parse_seat_info;
  3394. break;
  3395. }
  3396. // optional .fish_protocols.msg_seat_info seat_info = 2;
  3397. case 2: {
  3398. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3399. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3400. parse_seat_info:
  3401. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3402. input, mutable_seat_info()));
  3403. } else {
  3404. goto handle_uninterpreted;
  3405. }
  3406. if (input->ExpectAtEnd()) return true;
  3407. break;
  3408. }
  3409. default: {
  3410. handle_uninterpreted:
  3411. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3412. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3413. return true;
  3414. }
  3415. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3416. input, tag, mutable_unknown_fields()));
  3417. break;
  3418. }
  3419. }
  3420. }
  3421. return true;
  3422. #undef DO_
  3423. }
  3424. void packetl2c_bc_enter_seat::SerializeWithCachedSizes(
  3425. ::google::protobuf::io::CodedOutputStream* output) const {
  3426. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat];
  3427. if (has_packet_id()) {
  3428. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3429. 1, this->packet_id(), output);
  3430. }
  3431. // optional .fish_protocols.msg_seat_info seat_info = 2;
  3432. if (has_seat_info()) {
  3433. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3434. 2, this->seat_info(), output);
  3435. }
  3436. if (!unknown_fields().empty()) {
  3437. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3438. unknown_fields(), output);
  3439. }
  3440. }
  3441. ::google::protobuf::uint8* packetl2c_bc_enter_seat::SerializeWithCachedSizesToArray(
  3442. ::google::protobuf::uint8* target) const {
  3443. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat];
  3444. if (has_packet_id()) {
  3445. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3446. 1, this->packet_id(), target);
  3447. }
  3448. // optional .fish_protocols.msg_seat_info seat_info = 2;
  3449. if (has_seat_info()) {
  3450. target = ::google::protobuf::internal::WireFormatLite::
  3451. WriteMessageNoVirtualToArray(
  3452. 2, this->seat_info(), target);
  3453. }
  3454. if (!unknown_fields().empty()) {
  3455. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3456. unknown_fields(), target);
  3457. }
  3458. return target;
  3459. }
  3460. int packetl2c_bc_enter_seat::ByteSize() const {
  3461. int total_size = 0;
  3462. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3463. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat];
  3464. if (has_packet_id()) {
  3465. total_size += 1 +
  3466. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3467. }
  3468. // optional .fish_protocols.msg_seat_info seat_info = 2;
  3469. if (has_seat_info()) {
  3470. total_size += 1 +
  3471. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3472. this->seat_info());
  3473. }
  3474. }
  3475. if (!unknown_fields().empty()) {
  3476. total_size +=
  3477. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3478. unknown_fields());
  3479. }
  3480. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3481. _cached_size_ = total_size;
  3482. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3483. return total_size;
  3484. }
  3485. void packetl2c_bc_enter_seat::MergeFrom(const ::google::protobuf::Message& from) {
  3486. GOOGLE_CHECK_NE(&from, this);
  3487. const packetl2c_bc_enter_seat* source =
  3488. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_enter_seat*>(
  3489. &from);
  3490. if (source == NULL) {
  3491. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3492. } else {
  3493. MergeFrom(*source);
  3494. }
  3495. }
  3496. void packetl2c_bc_enter_seat::MergeFrom(const packetl2c_bc_enter_seat& from) {
  3497. GOOGLE_CHECK_NE(&from, this);
  3498. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3499. if (from.has_packet_id()) {
  3500. set_packet_id(from.packet_id());
  3501. }
  3502. if (from.has_seat_info()) {
  3503. mutable_seat_info()->::fish_protocols::msg_seat_info::MergeFrom(from.seat_info());
  3504. }
  3505. }
  3506. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3507. }
  3508. void packetl2c_bc_enter_seat::CopyFrom(const ::google::protobuf::Message& from) {
  3509. if (&from == this) return;
  3510. Clear();
  3511. MergeFrom(from);
  3512. }
  3513. void packetl2c_bc_enter_seat::CopyFrom(const packetl2c_bc_enter_seat& from) {
  3514. if (&from == this) return;
  3515. Clear();
  3516. MergeFrom(from);
  3517. }
  3518. bool packetl2c_bc_enter_seat::IsInitialized() const {
  3519. return true;
  3520. }
  3521. void packetl2c_bc_enter_seat::Swap(packetl2c_bc_enter_seat* other) {
  3522. if (other != this) {
  3523. std::swap(packet_id_, other->packet_id_);
  3524. std::swap(seat_info_, other->seat_info_);
  3525. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3526. _unknown_fields_.Swap(&other->_unknown_fields_);
  3527. std::swap(_cached_size_, other->_cached_size_);
  3528. }
  3529. }
  3530. ::google::protobuf::Metadata packetl2c_bc_enter_seat::GetMetadata() const {
  3531. protobuf_AssignDescriptorsOnce();
  3532. ::google::protobuf::Metadata metadata;
  3533. metadata.descriptor = packetl2c_bc_enter_seat_descriptor_;
  3534. metadata.reflection = packetl2c_bc_enter_seat_reflection_;
  3535. return metadata;
  3536. }
  3537. // ===================================================================
  3538. #ifndef _MSC_VER
  3539. const int packetl2c_bc_leave_seat::kPacketIdFieldNumber;
  3540. const int packetl2c_bc_leave_seat::kPlayerIdFieldNumber;
  3541. #endif // !_MSC_VER
  3542. packetl2c_bc_leave_seat::packetl2c_bc_leave_seat()
  3543. : ::google::protobuf::Message() {
  3544. SharedCtor();
  3545. }
  3546. void packetl2c_bc_leave_seat::InitAsDefaultInstance() {
  3547. }
  3548. packetl2c_bc_leave_seat::packetl2c_bc_leave_seat(const packetl2c_bc_leave_seat& from)
  3549. : ::google::protobuf::Message() {
  3550. SharedCtor();
  3551. MergeFrom(from);
  3552. }
  3553. void packetl2c_bc_leave_seat::SharedCtor() {
  3554. _cached_size_ = 0;
  3555. packet_id_ = 15202;
  3556. player_id_ = 0;
  3557. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3558. }
  3559. packetl2c_bc_leave_seat::~packetl2c_bc_leave_seat() {
  3560. SharedDtor();
  3561. }
  3562. void packetl2c_bc_leave_seat::SharedDtor() {
  3563. if (this != default_instance_) {
  3564. }
  3565. }
  3566. void packetl2c_bc_leave_seat::SetCachedSize(int size) const {
  3567. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3568. _cached_size_ = size;
  3569. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3570. }
  3571. const ::google::protobuf::Descriptor* packetl2c_bc_leave_seat::descriptor() {
  3572. protobuf_AssignDescriptorsOnce();
  3573. return packetl2c_bc_leave_seat_descriptor_;
  3574. }
  3575. const packetl2c_bc_leave_seat& packetl2c_bc_leave_seat::default_instance() {
  3576. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  3577. return *default_instance_;
  3578. }
  3579. packetl2c_bc_leave_seat* packetl2c_bc_leave_seat::default_instance_ = NULL;
  3580. packetl2c_bc_leave_seat* packetl2c_bc_leave_seat::New() const {
  3581. return new packetl2c_bc_leave_seat;
  3582. }
  3583. void packetl2c_bc_leave_seat::Clear() {
  3584. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3585. packet_id_ = 15202;
  3586. player_id_ = 0;
  3587. }
  3588. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3589. mutable_unknown_fields()->Clear();
  3590. }
  3591. bool packetl2c_bc_leave_seat::MergePartialFromCodedStream(
  3592. ::google::protobuf::io::CodedInputStream* input) {
  3593. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3594. ::google::protobuf::uint32 tag;
  3595. while ((tag = input->ReadTag()) != 0) {
  3596. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3597. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat];
  3598. case 1: {
  3599. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3600. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3601. int value;
  3602. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3603. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3604. input, &value)));
  3605. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3606. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3607. } else {
  3608. mutable_unknown_fields()->AddVarint(1, value);
  3609. }
  3610. } else {
  3611. goto handle_uninterpreted;
  3612. }
  3613. if (input->ExpectTag(16)) goto parse_player_id;
  3614. break;
  3615. }
  3616. // optional int32 player_id = 2;
  3617. case 2: {
  3618. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3619. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3620. parse_player_id:
  3621. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3622. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3623. input, &player_id_)));
  3624. set_has_player_id();
  3625. } else {
  3626. goto handle_uninterpreted;
  3627. }
  3628. if (input->ExpectAtEnd()) return true;
  3629. break;
  3630. }
  3631. default: {
  3632. handle_uninterpreted:
  3633. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3634. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3635. return true;
  3636. }
  3637. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3638. input, tag, mutable_unknown_fields()));
  3639. break;
  3640. }
  3641. }
  3642. }
  3643. return true;
  3644. #undef DO_
  3645. }
  3646. void packetl2c_bc_leave_seat::SerializeWithCachedSizes(
  3647. ::google::protobuf::io::CodedOutputStream* output) const {
  3648. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat];
  3649. if (has_packet_id()) {
  3650. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3651. 1, this->packet_id(), output);
  3652. }
  3653. // optional int32 player_id = 2;
  3654. if (has_player_id()) {
  3655. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  3656. }
  3657. if (!unknown_fields().empty()) {
  3658. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3659. unknown_fields(), output);
  3660. }
  3661. }
  3662. ::google::protobuf::uint8* packetl2c_bc_leave_seat::SerializeWithCachedSizesToArray(
  3663. ::google::protobuf::uint8* target) const {
  3664. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat];
  3665. if (has_packet_id()) {
  3666. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3667. 1, this->packet_id(), target);
  3668. }
  3669. // optional int32 player_id = 2;
  3670. if (has_player_id()) {
  3671. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  3672. }
  3673. if (!unknown_fields().empty()) {
  3674. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3675. unknown_fields(), target);
  3676. }
  3677. return target;
  3678. }
  3679. int packetl2c_bc_leave_seat::ByteSize() const {
  3680. int total_size = 0;
  3681. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3682. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat];
  3683. if (has_packet_id()) {
  3684. total_size += 1 +
  3685. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3686. }
  3687. // optional int32 player_id = 2;
  3688. if (has_player_id()) {
  3689. total_size += 1 +
  3690. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3691. this->player_id());
  3692. }
  3693. }
  3694. if (!unknown_fields().empty()) {
  3695. total_size +=
  3696. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3697. unknown_fields());
  3698. }
  3699. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3700. _cached_size_ = total_size;
  3701. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3702. return total_size;
  3703. }
  3704. void packetl2c_bc_leave_seat::MergeFrom(const ::google::protobuf::Message& from) {
  3705. GOOGLE_CHECK_NE(&from, this);
  3706. const packetl2c_bc_leave_seat* source =
  3707. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_leave_seat*>(
  3708. &from);
  3709. if (source == NULL) {
  3710. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3711. } else {
  3712. MergeFrom(*source);
  3713. }
  3714. }
  3715. void packetl2c_bc_leave_seat::MergeFrom(const packetl2c_bc_leave_seat& from) {
  3716. GOOGLE_CHECK_NE(&from, this);
  3717. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3718. if (from.has_packet_id()) {
  3719. set_packet_id(from.packet_id());
  3720. }
  3721. if (from.has_player_id()) {
  3722. set_player_id(from.player_id());
  3723. }
  3724. }
  3725. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3726. }
  3727. void packetl2c_bc_leave_seat::CopyFrom(const ::google::protobuf::Message& from) {
  3728. if (&from == this) return;
  3729. Clear();
  3730. MergeFrom(from);
  3731. }
  3732. void packetl2c_bc_leave_seat::CopyFrom(const packetl2c_bc_leave_seat& from) {
  3733. if (&from == this) return;
  3734. Clear();
  3735. MergeFrom(from);
  3736. }
  3737. bool packetl2c_bc_leave_seat::IsInitialized() const {
  3738. return true;
  3739. }
  3740. void packetl2c_bc_leave_seat::Swap(packetl2c_bc_leave_seat* other) {
  3741. if (other != this) {
  3742. std::swap(packet_id_, other->packet_id_);
  3743. std::swap(player_id_, other->player_id_);
  3744. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3745. _unknown_fields_.Swap(&other->_unknown_fields_);
  3746. std::swap(_cached_size_, other->_cached_size_);
  3747. }
  3748. }
  3749. ::google::protobuf::Metadata packetl2c_bc_leave_seat::GetMetadata() const {
  3750. protobuf_AssignDescriptorsOnce();
  3751. ::google::protobuf::Metadata metadata;
  3752. metadata.descriptor = packetl2c_bc_leave_seat_descriptor_;
  3753. metadata.reflection = packetl2c_bc_leave_seat_reflection_;
  3754. return metadata;
  3755. }
  3756. // ===================================================================
  3757. #ifndef _MSC_VER
  3758. const int packetl2c_robot_enter::kPacketIdFieldNumber;
  3759. const int packetl2c_robot_enter::kSeatInfoFieldNumber;
  3760. const int packetl2c_robot_enter::kSceneIdFieldNumber;
  3761. #endif // !_MSC_VER
  3762. packetl2c_robot_enter::packetl2c_robot_enter()
  3763. : ::google::protobuf::Message() {
  3764. SharedCtor();
  3765. }
  3766. void packetl2c_robot_enter::InitAsDefaultInstance() {
  3767. seat_info_ = const_cast< ::fish_protocols::msg_seat_info*>(&::fish_protocols::msg_seat_info::default_instance());
  3768. }
  3769. packetl2c_robot_enter::packetl2c_robot_enter(const packetl2c_robot_enter& from)
  3770. : ::google::protobuf::Message() {
  3771. SharedCtor();
  3772. MergeFrom(from);
  3773. }
  3774. void packetl2c_robot_enter::SharedCtor() {
  3775. _cached_size_ = 0;
  3776. packet_id_ = 16000;
  3777. seat_info_ = NULL;
  3778. scene_id_ = 0;
  3779. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3780. }
  3781. packetl2c_robot_enter::~packetl2c_robot_enter() {
  3782. SharedDtor();
  3783. }
  3784. void packetl2c_robot_enter::SharedDtor() {
  3785. if (this != default_instance_) {
  3786. delete seat_info_;
  3787. }
  3788. }
  3789. void packetl2c_robot_enter::SetCachedSize(int size) const {
  3790. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3791. _cached_size_ = size;
  3792. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3793. }
  3794. const ::google::protobuf::Descriptor* packetl2c_robot_enter::descriptor() {
  3795. protobuf_AssignDescriptorsOnce();
  3796. return packetl2c_robot_enter_descriptor_;
  3797. }
  3798. const packetl2c_robot_enter& packetl2c_robot_enter::default_instance() {
  3799. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  3800. return *default_instance_;
  3801. }
  3802. packetl2c_robot_enter* packetl2c_robot_enter::default_instance_ = NULL;
  3803. packetl2c_robot_enter* packetl2c_robot_enter::New() const {
  3804. return new packetl2c_robot_enter;
  3805. }
  3806. void packetl2c_robot_enter::Clear() {
  3807. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3808. packet_id_ = 16000;
  3809. if (has_seat_info()) {
  3810. if (seat_info_ != NULL) seat_info_->::fish_protocols::msg_seat_info::Clear();
  3811. }
  3812. scene_id_ = 0;
  3813. }
  3814. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3815. mutable_unknown_fields()->Clear();
  3816. }
  3817. bool packetl2c_robot_enter::MergePartialFromCodedStream(
  3818. ::google::protobuf::io::CodedInputStream* input) {
  3819. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3820. ::google::protobuf::uint32 tag;
  3821. while ((tag = input->ReadTag()) != 0) {
  3822. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3823. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter];
  3824. case 1: {
  3825. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3826. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3827. int value;
  3828. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3829. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3830. input, &value)));
  3831. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3832. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3833. } else {
  3834. mutable_unknown_fields()->AddVarint(1, value);
  3835. }
  3836. } else {
  3837. goto handle_uninterpreted;
  3838. }
  3839. if (input->ExpectTag(18)) goto parse_seat_info;
  3840. break;
  3841. }
  3842. // optional .fish_protocols.msg_seat_info seat_info = 2;
  3843. case 2: {
  3844. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3845. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3846. parse_seat_info:
  3847. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3848. input, mutable_seat_info()));
  3849. } else {
  3850. goto handle_uninterpreted;
  3851. }
  3852. if (input->ExpectTag(24)) goto parse_scene_id;
  3853. break;
  3854. }
  3855. // optional int32 scene_id = 3;
  3856. case 3: {
  3857. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3858. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3859. parse_scene_id:
  3860. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3861. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3862. input, &scene_id_)));
  3863. set_has_scene_id();
  3864. } else {
  3865. goto handle_uninterpreted;
  3866. }
  3867. if (input->ExpectAtEnd()) return true;
  3868. break;
  3869. }
  3870. default: {
  3871. handle_uninterpreted:
  3872. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3873. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3874. return true;
  3875. }
  3876. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3877. input, tag, mutable_unknown_fields()));
  3878. break;
  3879. }
  3880. }
  3881. }
  3882. return true;
  3883. #undef DO_
  3884. }
  3885. void packetl2c_robot_enter::SerializeWithCachedSizes(
  3886. ::google::protobuf::io::CodedOutputStream* output) const {
  3887. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter];
  3888. if (has_packet_id()) {
  3889. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3890. 1, this->packet_id(), output);
  3891. }
  3892. // optional .fish_protocols.msg_seat_info seat_info = 2;
  3893. if (has_seat_info()) {
  3894. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3895. 2, this->seat_info(), output);
  3896. }
  3897. // optional int32 scene_id = 3;
  3898. if (has_scene_id()) {
  3899. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->scene_id(), output);
  3900. }
  3901. if (!unknown_fields().empty()) {
  3902. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3903. unknown_fields(), output);
  3904. }
  3905. }
  3906. ::google::protobuf::uint8* packetl2c_robot_enter::SerializeWithCachedSizesToArray(
  3907. ::google::protobuf::uint8* target) const {
  3908. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter];
  3909. if (has_packet_id()) {
  3910. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3911. 1, this->packet_id(), target);
  3912. }
  3913. // optional .fish_protocols.msg_seat_info seat_info = 2;
  3914. if (has_seat_info()) {
  3915. target = ::google::protobuf::internal::WireFormatLite::
  3916. WriteMessageNoVirtualToArray(
  3917. 2, this->seat_info(), target);
  3918. }
  3919. // optional int32 scene_id = 3;
  3920. if (has_scene_id()) {
  3921. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->scene_id(), target);
  3922. }
  3923. if (!unknown_fields().empty()) {
  3924. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3925. unknown_fields(), target);
  3926. }
  3927. return target;
  3928. }
  3929. int packetl2c_robot_enter::ByteSize() const {
  3930. int total_size = 0;
  3931. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3932. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter];
  3933. if (has_packet_id()) {
  3934. total_size += 1 +
  3935. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3936. }
  3937. // optional .fish_protocols.msg_seat_info seat_info = 2;
  3938. if (has_seat_info()) {
  3939. total_size += 1 +
  3940. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3941. this->seat_info());
  3942. }
  3943. // optional int32 scene_id = 3;
  3944. if (has_scene_id()) {
  3945. total_size += 1 +
  3946. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3947. this->scene_id());
  3948. }
  3949. }
  3950. if (!unknown_fields().empty()) {
  3951. total_size +=
  3952. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3953. unknown_fields());
  3954. }
  3955. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3956. _cached_size_ = total_size;
  3957. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3958. return total_size;
  3959. }
  3960. void packetl2c_robot_enter::MergeFrom(const ::google::protobuf::Message& from) {
  3961. GOOGLE_CHECK_NE(&from, this);
  3962. const packetl2c_robot_enter* source =
  3963. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_robot_enter*>(
  3964. &from);
  3965. if (source == NULL) {
  3966. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3967. } else {
  3968. MergeFrom(*source);
  3969. }
  3970. }
  3971. void packetl2c_robot_enter::MergeFrom(const packetl2c_robot_enter& from) {
  3972. GOOGLE_CHECK_NE(&from, this);
  3973. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3974. if (from.has_packet_id()) {
  3975. set_packet_id(from.packet_id());
  3976. }
  3977. if (from.has_seat_info()) {
  3978. mutable_seat_info()->::fish_protocols::msg_seat_info::MergeFrom(from.seat_info());
  3979. }
  3980. if (from.has_scene_id()) {
  3981. set_scene_id(from.scene_id());
  3982. }
  3983. }
  3984. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3985. }
  3986. void packetl2c_robot_enter::CopyFrom(const ::google::protobuf::Message& from) {
  3987. if (&from == this) return;
  3988. Clear();
  3989. MergeFrom(from);
  3990. }
  3991. void packetl2c_robot_enter::CopyFrom(const packetl2c_robot_enter& from) {
  3992. if (&from == this) return;
  3993. Clear();
  3994. MergeFrom(from);
  3995. }
  3996. bool packetl2c_robot_enter::IsInitialized() const {
  3997. return true;
  3998. }
  3999. void packetl2c_robot_enter::Swap(packetl2c_robot_enter* other) {
  4000. if (other != this) {
  4001. std::swap(packet_id_, other->packet_id_);
  4002. std::swap(seat_info_, other->seat_info_);
  4003. std::swap(scene_id_, other->scene_id_);
  4004. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4005. _unknown_fields_.Swap(&other->_unknown_fields_);
  4006. std::swap(_cached_size_, other->_cached_size_);
  4007. }
  4008. }
  4009. ::google::protobuf::Metadata packetl2c_robot_enter::GetMetadata() const {
  4010. protobuf_AssignDescriptorsOnce();
  4011. ::google::protobuf::Metadata metadata;
  4012. metadata.descriptor = packetl2c_robot_enter_descriptor_;
  4013. metadata.reflection = packetl2c_robot_enter_reflection_;
  4014. return metadata;
  4015. }
  4016. // ===================================================================
  4017. #ifndef _MSC_VER
  4018. const int packetl2c_robot_leave::kPacketIdFieldNumber;
  4019. const int packetl2c_robot_leave::kPlayerIdFieldNumber;
  4020. #endif // !_MSC_VER
  4021. packetl2c_robot_leave::packetl2c_robot_leave()
  4022. : ::google::protobuf::Message() {
  4023. SharedCtor();
  4024. }
  4025. void packetl2c_robot_leave::InitAsDefaultInstance() {
  4026. }
  4027. packetl2c_robot_leave::packetl2c_robot_leave(const packetl2c_robot_leave& from)
  4028. : ::google::protobuf::Message() {
  4029. SharedCtor();
  4030. MergeFrom(from);
  4031. }
  4032. void packetl2c_robot_leave::SharedCtor() {
  4033. _cached_size_ = 0;
  4034. packet_id_ = 16100;
  4035. player_id_ = 0;
  4036. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4037. }
  4038. packetl2c_robot_leave::~packetl2c_robot_leave() {
  4039. SharedDtor();
  4040. }
  4041. void packetl2c_robot_leave::SharedDtor() {
  4042. if (this != default_instance_) {
  4043. }
  4044. }
  4045. void packetl2c_robot_leave::SetCachedSize(int size) const {
  4046. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4047. _cached_size_ = size;
  4048. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4049. }
  4050. const ::google::protobuf::Descriptor* packetl2c_robot_leave::descriptor() {
  4051. protobuf_AssignDescriptorsOnce();
  4052. return packetl2c_robot_leave_descriptor_;
  4053. }
  4054. const packetl2c_robot_leave& packetl2c_robot_leave::default_instance() {
  4055. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  4056. return *default_instance_;
  4057. }
  4058. packetl2c_robot_leave* packetl2c_robot_leave::default_instance_ = NULL;
  4059. packetl2c_robot_leave* packetl2c_robot_leave::New() const {
  4060. return new packetl2c_robot_leave;
  4061. }
  4062. void packetl2c_robot_leave::Clear() {
  4063. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4064. packet_id_ = 16100;
  4065. player_id_ = 0;
  4066. }
  4067. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4068. mutable_unknown_fields()->Clear();
  4069. }
  4070. bool packetl2c_robot_leave::MergePartialFromCodedStream(
  4071. ::google::protobuf::io::CodedInputStream* input) {
  4072. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4073. ::google::protobuf::uint32 tag;
  4074. while ((tag = input->ReadTag()) != 0) {
  4075. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4076. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave];
  4077. case 1: {
  4078. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4079. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4080. int value;
  4081. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4082. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4083. input, &value)));
  4084. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  4085. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  4086. } else {
  4087. mutable_unknown_fields()->AddVarint(1, value);
  4088. }
  4089. } else {
  4090. goto handle_uninterpreted;
  4091. }
  4092. if (input->ExpectTag(16)) goto parse_player_id;
  4093. break;
  4094. }
  4095. // optional int32 player_id = 2;
  4096. case 2: {
  4097. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4098. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4099. parse_player_id:
  4100. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4101. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4102. input, &player_id_)));
  4103. set_has_player_id();
  4104. } else {
  4105. goto handle_uninterpreted;
  4106. }
  4107. if (input->ExpectAtEnd()) return true;
  4108. break;
  4109. }
  4110. default: {
  4111. handle_uninterpreted:
  4112. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4113. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4114. return true;
  4115. }
  4116. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4117. input, tag, mutable_unknown_fields()));
  4118. break;
  4119. }
  4120. }
  4121. }
  4122. return true;
  4123. #undef DO_
  4124. }
  4125. void packetl2c_robot_leave::SerializeWithCachedSizes(
  4126. ::google::protobuf::io::CodedOutputStream* output) const {
  4127. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave];
  4128. if (has_packet_id()) {
  4129. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4130. 1, this->packet_id(), output);
  4131. }
  4132. // optional int32 player_id = 2;
  4133. if (has_player_id()) {
  4134. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  4135. }
  4136. if (!unknown_fields().empty()) {
  4137. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4138. unknown_fields(), output);
  4139. }
  4140. }
  4141. ::google::protobuf::uint8* packetl2c_robot_leave::SerializeWithCachedSizesToArray(
  4142. ::google::protobuf::uint8* target) const {
  4143. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave];
  4144. if (has_packet_id()) {
  4145. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4146. 1, this->packet_id(), target);
  4147. }
  4148. // optional int32 player_id = 2;
  4149. if (has_player_id()) {
  4150. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  4151. }
  4152. if (!unknown_fields().empty()) {
  4153. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4154. unknown_fields(), target);
  4155. }
  4156. return target;
  4157. }
  4158. int packetl2c_robot_leave::ByteSize() const {
  4159. int total_size = 0;
  4160. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4161. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave];
  4162. if (has_packet_id()) {
  4163. total_size += 1 +
  4164. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4165. }
  4166. // optional int32 player_id = 2;
  4167. if (has_player_id()) {
  4168. total_size += 1 +
  4169. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4170. this->player_id());
  4171. }
  4172. }
  4173. if (!unknown_fields().empty()) {
  4174. total_size +=
  4175. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4176. unknown_fields());
  4177. }
  4178. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4179. _cached_size_ = total_size;
  4180. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4181. return total_size;
  4182. }
  4183. void packetl2c_robot_leave::MergeFrom(const ::google::protobuf::Message& from) {
  4184. GOOGLE_CHECK_NE(&from, this);
  4185. const packetl2c_robot_leave* source =
  4186. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_robot_leave*>(
  4187. &from);
  4188. if (source == NULL) {
  4189. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4190. } else {
  4191. MergeFrom(*source);
  4192. }
  4193. }
  4194. void packetl2c_robot_leave::MergeFrom(const packetl2c_robot_leave& from) {
  4195. GOOGLE_CHECK_NE(&from, this);
  4196. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4197. if (from.has_packet_id()) {
  4198. set_packet_id(from.packet_id());
  4199. }
  4200. if (from.has_player_id()) {
  4201. set_player_id(from.player_id());
  4202. }
  4203. }
  4204. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4205. }
  4206. void packetl2c_robot_leave::CopyFrom(const ::google::protobuf::Message& from) {
  4207. if (&from == this) return;
  4208. Clear();
  4209. MergeFrom(from);
  4210. }
  4211. void packetl2c_robot_leave::CopyFrom(const packetl2c_robot_leave& from) {
  4212. if (&from == this) return;
  4213. Clear();
  4214. MergeFrom(from);
  4215. }
  4216. bool packetl2c_robot_leave::IsInitialized() const {
  4217. return true;
  4218. }
  4219. void packetl2c_robot_leave::Swap(packetl2c_robot_leave* other) {
  4220. if (other != this) {
  4221. std::swap(packet_id_, other->packet_id_);
  4222. std::swap(player_id_, other->player_id_);
  4223. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4224. _unknown_fields_.Swap(&other->_unknown_fields_);
  4225. std::swap(_cached_size_, other->_cached_size_);
  4226. }
  4227. }
  4228. ::google::protobuf::Metadata packetl2c_robot_leave::GetMetadata() const {
  4229. protobuf_AssignDescriptorsOnce();
  4230. ::google::protobuf::Metadata metadata;
  4231. metadata.descriptor = packetl2c_robot_leave_descriptor_;
  4232. metadata.reflection = packetl2c_robot_leave_reflection_;
  4233. return metadata;
  4234. }
  4235. // ===================================================================
  4236. #ifndef _MSC_VER
  4237. const int packetl2c_bc_change_rate::kPacketIdFieldNumber;
  4238. const int packetl2c_bc_change_rate::kPlayerIdFieldNumber;
  4239. const int packetl2c_bc_change_rate::kTurretRateFieldNumber;
  4240. #endif // !_MSC_VER
  4241. packetl2c_bc_change_rate::packetl2c_bc_change_rate()
  4242. : ::google::protobuf::Message() {
  4243. SharedCtor();
  4244. }
  4245. void packetl2c_bc_change_rate::InitAsDefaultInstance() {
  4246. }
  4247. packetl2c_bc_change_rate::packetl2c_bc_change_rate(const packetl2c_bc_change_rate& from)
  4248. : ::google::protobuf::Message() {
  4249. SharedCtor();
  4250. MergeFrom(from);
  4251. }
  4252. void packetl2c_bc_change_rate::SharedCtor() {
  4253. _cached_size_ = 0;
  4254. packet_id_ = 15203;
  4255. player_id_ = 0;
  4256. turret_rate_ = 0;
  4257. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4258. }
  4259. packetl2c_bc_change_rate::~packetl2c_bc_change_rate() {
  4260. SharedDtor();
  4261. }
  4262. void packetl2c_bc_change_rate::SharedDtor() {
  4263. if (this != default_instance_) {
  4264. }
  4265. }
  4266. void packetl2c_bc_change_rate::SetCachedSize(int size) const {
  4267. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4268. _cached_size_ = size;
  4269. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4270. }
  4271. const ::google::protobuf::Descriptor* packetl2c_bc_change_rate::descriptor() {
  4272. protobuf_AssignDescriptorsOnce();
  4273. return packetl2c_bc_change_rate_descriptor_;
  4274. }
  4275. const packetl2c_bc_change_rate& packetl2c_bc_change_rate::default_instance() {
  4276. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  4277. return *default_instance_;
  4278. }
  4279. packetl2c_bc_change_rate* packetl2c_bc_change_rate::default_instance_ = NULL;
  4280. packetl2c_bc_change_rate* packetl2c_bc_change_rate::New() const {
  4281. return new packetl2c_bc_change_rate;
  4282. }
  4283. void packetl2c_bc_change_rate::Clear() {
  4284. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4285. packet_id_ = 15203;
  4286. player_id_ = 0;
  4287. turret_rate_ = 0;
  4288. }
  4289. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4290. mutable_unknown_fields()->Clear();
  4291. }
  4292. bool packetl2c_bc_change_rate::MergePartialFromCodedStream(
  4293. ::google::protobuf::io::CodedInputStream* input) {
  4294. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4295. ::google::protobuf::uint32 tag;
  4296. while ((tag = input->ReadTag()) != 0) {
  4297. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4298. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate];
  4299. case 1: {
  4300. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4301. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4302. int value;
  4303. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4304. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4305. input, &value)));
  4306. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  4307. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  4308. } else {
  4309. mutable_unknown_fields()->AddVarint(1, value);
  4310. }
  4311. } else {
  4312. goto handle_uninterpreted;
  4313. }
  4314. if (input->ExpectTag(16)) goto parse_player_id;
  4315. break;
  4316. }
  4317. // optional int32 player_id = 2;
  4318. case 2: {
  4319. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4320. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4321. parse_player_id:
  4322. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4323. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4324. input, &player_id_)));
  4325. set_has_player_id();
  4326. } else {
  4327. goto handle_uninterpreted;
  4328. }
  4329. if (input->ExpectTag(24)) goto parse_turret_rate;
  4330. break;
  4331. }
  4332. // optional int32 turret_rate = 3;
  4333. case 3: {
  4334. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4335. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4336. parse_turret_rate:
  4337. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4338. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4339. input, &turret_rate_)));
  4340. set_has_turret_rate();
  4341. } else {
  4342. goto handle_uninterpreted;
  4343. }
  4344. if (input->ExpectAtEnd()) return true;
  4345. break;
  4346. }
  4347. default: {
  4348. handle_uninterpreted:
  4349. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4350. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4351. return true;
  4352. }
  4353. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4354. input, tag, mutable_unknown_fields()));
  4355. break;
  4356. }
  4357. }
  4358. }
  4359. return true;
  4360. #undef DO_
  4361. }
  4362. void packetl2c_bc_change_rate::SerializeWithCachedSizes(
  4363. ::google::protobuf::io::CodedOutputStream* output) const {
  4364. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate];
  4365. if (has_packet_id()) {
  4366. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4367. 1, this->packet_id(), output);
  4368. }
  4369. // optional int32 player_id = 2;
  4370. if (has_player_id()) {
  4371. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  4372. }
  4373. // optional int32 turret_rate = 3;
  4374. if (has_turret_rate()) {
  4375. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->turret_rate(), output);
  4376. }
  4377. if (!unknown_fields().empty()) {
  4378. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4379. unknown_fields(), output);
  4380. }
  4381. }
  4382. ::google::protobuf::uint8* packetl2c_bc_change_rate::SerializeWithCachedSizesToArray(
  4383. ::google::protobuf::uint8* target) const {
  4384. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate];
  4385. if (has_packet_id()) {
  4386. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4387. 1, this->packet_id(), target);
  4388. }
  4389. // optional int32 player_id = 2;
  4390. if (has_player_id()) {
  4391. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  4392. }
  4393. // optional int32 turret_rate = 3;
  4394. if (has_turret_rate()) {
  4395. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->turret_rate(), target);
  4396. }
  4397. if (!unknown_fields().empty()) {
  4398. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4399. unknown_fields(), target);
  4400. }
  4401. return target;
  4402. }
  4403. int packetl2c_bc_change_rate::ByteSize() const {
  4404. int total_size = 0;
  4405. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4406. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate];
  4407. if (has_packet_id()) {
  4408. total_size += 1 +
  4409. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4410. }
  4411. // optional int32 player_id = 2;
  4412. if (has_player_id()) {
  4413. total_size += 1 +
  4414. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4415. this->player_id());
  4416. }
  4417. // optional int32 turret_rate = 3;
  4418. if (has_turret_rate()) {
  4419. total_size += 1 +
  4420. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4421. this->turret_rate());
  4422. }
  4423. }
  4424. if (!unknown_fields().empty()) {
  4425. total_size +=
  4426. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4427. unknown_fields());
  4428. }
  4429. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4430. _cached_size_ = total_size;
  4431. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4432. return total_size;
  4433. }
  4434. void packetl2c_bc_change_rate::MergeFrom(const ::google::protobuf::Message& from) {
  4435. GOOGLE_CHECK_NE(&from, this);
  4436. const packetl2c_bc_change_rate* source =
  4437. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_change_rate*>(
  4438. &from);
  4439. if (source == NULL) {
  4440. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4441. } else {
  4442. MergeFrom(*source);
  4443. }
  4444. }
  4445. void packetl2c_bc_change_rate::MergeFrom(const packetl2c_bc_change_rate& from) {
  4446. GOOGLE_CHECK_NE(&from, this);
  4447. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4448. if (from.has_packet_id()) {
  4449. set_packet_id(from.packet_id());
  4450. }
  4451. if (from.has_player_id()) {
  4452. set_player_id(from.player_id());
  4453. }
  4454. if (from.has_turret_rate()) {
  4455. set_turret_rate(from.turret_rate());
  4456. }
  4457. }
  4458. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4459. }
  4460. void packetl2c_bc_change_rate::CopyFrom(const ::google::protobuf::Message& from) {
  4461. if (&from == this) return;
  4462. Clear();
  4463. MergeFrom(from);
  4464. }
  4465. void packetl2c_bc_change_rate::CopyFrom(const packetl2c_bc_change_rate& from) {
  4466. if (&from == this) return;
  4467. Clear();
  4468. MergeFrom(from);
  4469. }
  4470. bool packetl2c_bc_change_rate::IsInitialized() const {
  4471. return true;
  4472. }
  4473. void packetl2c_bc_change_rate::Swap(packetl2c_bc_change_rate* other) {
  4474. if (other != this) {
  4475. std::swap(packet_id_, other->packet_id_);
  4476. std::swap(player_id_, other->player_id_);
  4477. std::swap(turret_rate_, other->turret_rate_);
  4478. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4479. _unknown_fields_.Swap(&other->_unknown_fields_);
  4480. std::swap(_cached_size_, other->_cached_size_);
  4481. }
  4482. }
  4483. ::google::protobuf::Metadata packetl2c_bc_change_rate::GetMetadata() const {
  4484. protobuf_AssignDescriptorsOnce();
  4485. ::google::protobuf::Metadata metadata;
  4486. metadata.descriptor = packetl2c_bc_change_rate_descriptor_;
  4487. metadata.reflection = packetl2c_bc_change_rate_reflection_;
  4488. return metadata;
  4489. }
  4490. // ===================================================================
  4491. #ifndef _MSC_VER
  4492. const int packetl2c_bc_change_attr::kPacketIdFieldNumber;
  4493. const int packetl2c_bc_change_attr::kPlayerIdFieldNumber;
  4494. const int packetl2c_bc_change_attr::kChangeGoldFieldNumber;
  4495. const int packetl2c_bc_change_attr::kChangeVipFieldNumber;
  4496. const int packetl2c_bc_change_attr::kChangeDiamondFieldNumber;
  4497. const int packetl2c_bc_change_attr::kChangeTicketFieldNumber;
  4498. const int packetl2c_bc_change_attr::kChangeDimensityFieldNumber;
  4499. const int packetl2c_bc_change_attr::kChangeGoldingotFieldNumber;
  4500. const int packetl2c_bc_change_attr::kChangeTombolaFieldNumber;
  4501. const int packetl2c_bc_change_attr::kChangeLegendaryCoinFieldNumber;
  4502. const int packetl2c_bc_change_attr::kChangeRedpacketFieldNumber;
  4503. const int packetl2c_bc_change_attr::kChangeChipFieldNumber;
  4504. const int packetl2c_bc_change_attr::kChangeJDchipFieldNumber;
  4505. const int packetl2c_bc_change_attr::kChangePlayerlvFieldNumber;
  4506. const int packetl2c_bc_change_attr::kChangeTurretlvFieldNumber;
  4507. const int packetl2c_bc_change_attr::kChangeDragonBallFieldNumber;
  4508. const int packetl2c_bc_change_attr::kChangeGloryCrystalFieldNumber;
  4509. const int packetl2c_bc_change_attr::kMonthCardTimeFieldNumber;
  4510. const int packetl2c_bc_change_attr::kGoldMonthCardTimeFieldNumber;
  4511. const int packetl2c_bc_change_attr::kDiamondMonthCardTimeFieldNumber;
  4512. const int packetl2c_bc_change_attr::kMonthcardremaintimeFieldNumber;
  4513. const int packetl2c_bc_change_attr::kGoldmonthcardremaintimeFieldNumber;
  4514. const int packetl2c_bc_change_attr::kDiamondmonthcardremaintimeFieldNumber;
  4515. const int packetl2c_bc_change_attr::kWeekCardTimeFieldNumber;
  4516. const int packetl2c_bc_change_attr::kWeekcardremaintimeFieldNumber;
  4517. const int packetl2c_bc_change_attr::kReasonFieldNumber;
  4518. #endif // !_MSC_VER
  4519. packetl2c_bc_change_attr::packetl2c_bc_change_attr()
  4520. : ::google::protobuf::Message() {
  4521. SharedCtor();
  4522. }
  4523. void packetl2c_bc_change_attr::InitAsDefaultInstance() {
  4524. }
  4525. packetl2c_bc_change_attr::packetl2c_bc_change_attr(const packetl2c_bc_change_attr& from)
  4526. : ::google::protobuf::Message() {
  4527. SharedCtor();
  4528. MergeFrom(from);
  4529. }
  4530. void packetl2c_bc_change_attr::SharedCtor() {
  4531. _cached_size_ = 0;
  4532. packet_id_ = 15207;
  4533. player_id_ = 0;
  4534. change_gold_ = GOOGLE_LONGLONG(0);
  4535. change_vip_ = 0;
  4536. change_diamond_ = 0;
  4537. change_ticket_ = 0;
  4538. change_dimensity_ = 0;
  4539. change_goldingot_ = 0;
  4540. change_tombola_ = 0;
  4541. change_legendarycoin_ = 0;
  4542. change_redpacket_ = 0;
  4543. change_chip_ = 0;
  4544. change_jdchip_ = 0;
  4545. change_playerlv_ = 0;
  4546. change_turretlv_ = 0;
  4547. change_dragonball_ = 0;
  4548. change_glorycrystal_ = 0;
  4549. monthcard_time_ = 0;
  4550. goldmonthcard_time_ = 0;
  4551. diamondmonthcard_time_ = 0;
  4552. monthcardremaintime_ = 0;
  4553. goldmonthcardremaintime_ = 0;
  4554. diamondmonthcardremaintime_ = 0;
  4555. weekcard_time_ = 0;
  4556. weekcardremaintime_ = 0;
  4557. reason_ = 0;
  4558. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4559. }
  4560. packetl2c_bc_change_attr::~packetl2c_bc_change_attr() {
  4561. SharedDtor();
  4562. }
  4563. void packetl2c_bc_change_attr::SharedDtor() {
  4564. if (this != default_instance_) {
  4565. }
  4566. }
  4567. void packetl2c_bc_change_attr::SetCachedSize(int size) const {
  4568. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4569. _cached_size_ = size;
  4570. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4571. }
  4572. const ::google::protobuf::Descriptor* packetl2c_bc_change_attr::descriptor() {
  4573. protobuf_AssignDescriptorsOnce();
  4574. return packetl2c_bc_change_attr_descriptor_;
  4575. }
  4576. const packetl2c_bc_change_attr& packetl2c_bc_change_attr::default_instance() {
  4577. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  4578. return *default_instance_;
  4579. }
  4580. packetl2c_bc_change_attr* packetl2c_bc_change_attr::default_instance_ = NULL;
  4581. packetl2c_bc_change_attr* packetl2c_bc_change_attr::New() const {
  4582. return new packetl2c_bc_change_attr;
  4583. }
  4584. void packetl2c_bc_change_attr::Clear() {
  4585. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4586. packet_id_ = 15207;
  4587. player_id_ = 0;
  4588. change_gold_ = GOOGLE_LONGLONG(0);
  4589. change_vip_ = 0;
  4590. change_diamond_ = 0;
  4591. change_ticket_ = 0;
  4592. change_dimensity_ = 0;
  4593. change_goldingot_ = 0;
  4594. }
  4595. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  4596. change_tombola_ = 0;
  4597. change_legendarycoin_ = 0;
  4598. change_redpacket_ = 0;
  4599. change_chip_ = 0;
  4600. change_jdchip_ = 0;
  4601. change_playerlv_ = 0;
  4602. change_turretlv_ = 0;
  4603. change_dragonball_ = 0;
  4604. }
  4605. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  4606. change_glorycrystal_ = 0;
  4607. monthcard_time_ = 0;
  4608. goldmonthcard_time_ = 0;
  4609. diamondmonthcard_time_ = 0;
  4610. monthcardremaintime_ = 0;
  4611. goldmonthcardremaintime_ = 0;
  4612. diamondmonthcardremaintime_ = 0;
  4613. weekcard_time_ = 0;
  4614. }
  4615. if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) {
  4616. weekcardremaintime_ = 0;
  4617. reason_ = 0;
  4618. }
  4619. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4620. mutable_unknown_fields()->Clear();
  4621. }
  4622. bool packetl2c_bc_change_attr::MergePartialFromCodedStream(
  4623. ::google::protobuf::io::CodedInputStream* input) {
  4624. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4625. ::google::protobuf::uint32 tag;
  4626. while ((tag = input->ReadTag()) != 0) {
  4627. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4628. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr];
  4629. case 1: {
  4630. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4631. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4632. int value;
  4633. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4634. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4635. input, &value)));
  4636. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  4637. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  4638. } else {
  4639. mutable_unknown_fields()->AddVarint(1, value);
  4640. }
  4641. } else {
  4642. goto handle_uninterpreted;
  4643. }
  4644. if (input->ExpectTag(16)) goto parse_player_id;
  4645. break;
  4646. }
  4647. // optional int32 player_id = 2;
  4648. case 2: {
  4649. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4650. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4651. parse_player_id:
  4652. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4653. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4654. input, &player_id_)));
  4655. set_has_player_id();
  4656. } else {
  4657. goto handle_uninterpreted;
  4658. }
  4659. if (input->ExpectTag(24)) goto parse_change_gold;
  4660. break;
  4661. }
  4662. // optional int64 change_gold = 3;
  4663. case 3: {
  4664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4666. parse_change_gold:
  4667. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4668. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  4669. input, &change_gold_)));
  4670. set_has_change_gold();
  4671. } else {
  4672. goto handle_uninterpreted;
  4673. }
  4674. if (input->ExpectTag(32)) goto parse_change_vip;
  4675. break;
  4676. }
  4677. // optional int32 change_vip = 4;
  4678. case 4: {
  4679. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4680. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4681. parse_change_vip:
  4682. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4683. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4684. input, &change_vip_)));
  4685. set_has_change_vip();
  4686. } else {
  4687. goto handle_uninterpreted;
  4688. }
  4689. if (input->ExpectTag(40)) goto parse_change_diamond;
  4690. break;
  4691. }
  4692. // optional int32 change_diamond = 5;
  4693. case 5: {
  4694. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4695. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4696. parse_change_diamond:
  4697. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4698. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4699. input, &change_diamond_)));
  4700. set_has_change_diamond();
  4701. } else {
  4702. goto handle_uninterpreted;
  4703. }
  4704. if (input->ExpectTag(48)) goto parse_change_ticket;
  4705. break;
  4706. }
  4707. // optional int32 change_ticket = 6;
  4708. case 6: {
  4709. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4710. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4711. parse_change_ticket:
  4712. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4713. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4714. input, &change_ticket_)));
  4715. set_has_change_ticket();
  4716. } else {
  4717. goto handle_uninterpreted;
  4718. }
  4719. if (input->ExpectTag(56)) goto parse_change_dimensity;
  4720. break;
  4721. }
  4722. // optional int32 change_dimensity = 7;
  4723. case 7: {
  4724. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4725. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4726. parse_change_dimensity:
  4727. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4728. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4729. input, &change_dimensity_)));
  4730. set_has_change_dimensity();
  4731. } else {
  4732. goto handle_uninterpreted;
  4733. }
  4734. if (input->ExpectTag(64)) goto parse_change_goldingot;
  4735. break;
  4736. }
  4737. // optional int32 change_goldingot = 8;
  4738. case 8: {
  4739. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4740. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4741. parse_change_goldingot:
  4742. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4743. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4744. input, &change_goldingot_)));
  4745. set_has_change_goldingot();
  4746. } else {
  4747. goto handle_uninterpreted;
  4748. }
  4749. if (input->ExpectTag(72)) goto parse_change_tombola;
  4750. break;
  4751. }
  4752. // optional int32 change_tombola = 9;
  4753. case 9: {
  4754. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4755. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4756. parse_change_tombola:
  4757. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4758. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4759. input, &change_tombola_)));
  4760. set_has_change_tombola();
  4761. } else {
  4762. goto handle_uninterpreted;
  4763. }
  4764. if (input->ExpectTag(80)) goto parse_change_legendaryCoin;
  4765. break;
  4766. }
  4767. // optional int32 change_legendaryCoin = 10;
  4768. case 10: {
  4769. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4770. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4771. parse_change_legendaryCoin:
  4772. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4773. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4774. input, &change_legendarycoin_)));
  4775. set_has_change_legendarycoin();
  4776. } else {
  4777. goto handle_uninterpreted;
  4778. }
  4779. if (input->ExpectTag(88)) goto parse_change_redpacket;
  4780. break;
  4781. }
  4782. // optional int32 change_redpacket = 11;
  4783. case 11: {
  4784. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4785. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4786. parse_change_redpacket:
  4787. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4788. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4789. input, &change_redpacket_)));
  4790. set_has_change_redpacket();
  4791. } else {
  4792. goto handle_uninterpreted;
  4793. }
  4794. if (input->ExpectTag(96)) goto parse_change_chip;
  4795. break;
  4796. }
  4797. // optional int32 change_chip = 12;
  4798. case 12: {
  4799. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4800. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4801. parse_change_chip:
  4802. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4803. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4804. input, &change_chip_)));
  4805. set_has_change_chip();
  4806. } else {
  4807. goto handle_uninterpreted;
  4808. }
  4809. if (input->ExpectTag(104)) goto parse_change_JDchip;
  4810. break;
  4811. }
  4812. // optional int32 change_JDchip = 13;
  4813. case 13: {
  4814. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4815. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4816. parse_change_JDchip:
  4817. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4818. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4819. input, &change_jdchip_)));
  4820. set_has_change_jdchip();
  4821. } else {
  4822. goto handle_uninterpreted;
  4823. }
  4824. if (input->ExpectTag(112)) goto parse_change_playerlv;
  4825. break;
  4826. }
  4827. // optional int32 change_playerlv = 14;
  4828. case 14: {
  4829. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4830. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4831. parse_change_playerlv:
  4832. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4833. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4834. input, &change_playerlv_)));
  4835. set_has_change_playerlv();
  4836. } else {
  4837. goto handle_uninterpreted;
  4838. }
  4839. if (input->ExpectTag(120)) goto parse_change_turretlv;
  4840. break;
  4841. }
  4842. // optional int32 change_turretlv = 15;
  4843. case 15: {
  4844. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4845. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4846. parse_change_turretlv:
  4847. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4848. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4849. input, &change_turretlv_)));
  4850. set_has_change_turretlv();
  4851. } else {
  4852. goto handle_uninterpreted;
  4853. }
  4854. if (input->ExpectTag(128)) goto parse_change_dragonBall;
  4855. break;
  4856. }
  4857. // optional int32 change_dragonBall = 16;
  4858. case 16: {
  4859. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4860. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4861. parse_change_dragonBall:
  4862. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4863. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4864. input, &change_dragonball_)));
  4865. set_has_change_dragonball();
  4866. } else {
  4867. goto handle_uninterpreted;
  4868. }
  4869. if (input->ExpectTag(136)) goto parse_change_gloryCrystal;
  4870. break;
  4871. }
  4872. // optional int32 change_gloryCrystal = 17;
  4873. case 17: {
  4874. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4875. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4876. parse_change_gloryCrystal:
  4877. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4878. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4879. input, &change_glorycrystal_)));
  4880. set_has_change_glorycrystal();
  4881. } else {
  4882. goto handle_uninterpreted;
  4883. }
  4884. if (input->ExpectTag(144)) goto parse_monthCard_time;
  4885. break;
  4886. }
  4887. // optional int32 monthCard_time = 18;
  4888. case 18: {
  4889. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4890. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4891. parse_monthCard_time:
  4892. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4893. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4894. input, &monthcard_time_)));
  4895. set_has_monthcard_time();
  4896. } else {
  4897. goto handle_uninterpreted;
  4898. }
  4899. if (input->ExpectTag(152)) goto parse_goldMonthCard_time;
  4900. break;
  4901. }
  4902. // optional int32 goldMonthCard_time = 19;
  4903. case 19: {
  4904. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4905. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4906. parse_goldMonthCard_time:
  4907. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4908. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4909. input, &goldmonthcard_time_)));
  4910. set_has_goldmonthcard_time();
  4911. } else {
  4912. goto handle_uninterpreted;
  4913. }
  4914. if (input->ExpectTag(160)) goto parse_diamondMonthCard_time;
  4915. break;
  4916. }
  4917. // optional int32 diamondMonthCard_time = 20;
  4918. case 20: {
  4919. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4920. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4921. parse_diamondMonthCard_time:
  4922. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4923. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4924. input, &diamondmonthcard_time_)));
  4925. set_has_diamondmonthcard_time();
  4926. } else {
  4927. goto handle_uninterpreted;
  4928. }
  4929. if (input->ExpectTag(168)) goto parse_monthcardremaintime;
  4930. break;
  4931. }
  4932. // optional int32 monthcardremaintime = 21;
  4933. case 21: {
  4934. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4935. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4936. parse_monthcardremaintime:
  4937. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4938. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4939. input, &monthcardremaintime_)));
  4940. set_has_monthcardremaintime();
  4941. } else {
  4942. goto handle_uninterpreted;
  4943. }
  4944. if (input->ExpectTag(176)) goto parse_goldmonthcardremaintime;
  4945. break;
  4946. }
  4947. // optional int32 goldmonthcardremaintime = 22;
  4948. case 22: {
  4949. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4950. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4951. parse_goldmonthcardremaintime:
  4952. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4953. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4954. input, &goldmonthcardremaintime_)));
  4955. set_has_goldmonthcardremaintime();
  4956. } else {
  4957. goto handle_uninterpreted;
  4958. }
  4959. if (input->ExpectTag(184)) goto parse_diamondmonthcardremaintime;
  4960. break;
  4961. }
  4962. // optional int32 diamondmonthcardremaintime = 23;
  4963. case 23: {
  4964. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4965. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4966. parse_diamondmonthcardremaintime:
  4967. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4968. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4969. input, &diamondmonthcardremaintime_)));
  4970. set_has_diamondmonthcardremaintime();
  4971. } else {
  4972. goto handle_uninterpreted;
  4973. }
  4974. if (input->ExpectTag(192)) goto parse_weekCard_time;
  4975. break;
  4976. }
  4977. // optional int32 weekCard_time = 24;
  4978. case 24: {
  4979. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4980. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4981. parse_weekCard_time:
  4982. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4983. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4984. input, &weekcard_time_)));
  4985. set_has_weekcard_time();
  4986. } else {
  4987. goto handle_uninterpreted;
  4988. }
  4989. if (input->ExpectTag(200)) goto parse_weekcardremaintime;
  4990. break;
  4991. }
  4992. // optional int32 weekcardremaintime = 25;
  4993. case 25: {
  4994. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4995. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4996. parse_weekcardremaintime:
  4997. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4998. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4999. input, &weekcardremaintime_)));
  5000. set_has_weekcardremaintime();
  5001. } else {
  5002. goto handle_uninterpreted;
  5003. }
  5004. if (input->ExpectTag(208)) goto parse_reason;
  5005. break;
  5006. }
  5007. // optional int32 reason = 26;
  5008. case 26: {
  5009. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5010. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5011. parse_reason:
  5012. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5013. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5014. input, &reason_)));
  5015. set_has_reason();
  5016. } else {
  5017. goto handle_uninterpreted;
  5018. }
  5019. if (input->ExpectAtEnd()) return true;
  5020. break;
  5021. }
  5022. default: {
  5023. handle_uninterpreted:
  5024. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5025. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5026. return true;
  5027. }
  5028. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5029. input, tag, mutable_unknown_fields()));
  5030. break;
  5031. }
  5032. }
  5033. }
  5034. return true;
  5035. #undef DO_
  5036. }
  5037. void packetl2c_bc_change_attr::SerializeWithCachedSizes(
  5038. ::google::protobuf::io::CodedOutputStream* output) const {
  5039. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr];
  5040. if (has_packet_id()) {
  5041. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5042. 1, this->packet_id(), output);
  5043. }
  5044. // optional int32 player_id = 2;
  5045. if (has_player_id()) {
  5046. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  5047. }
  5048. // optional int64 change_gold = 3;
  5049. if (has_change_gold()) {
  5050. ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->change_gold(), output);
  5051. }
  5052. // optional int32 change_vip = 4;
  5053. if (has_change_vip()) {
  5054. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->change_vip(), output);
  5055. }
  5056. // optional int32 change_diamond = 5;
  5057. if (has_change_diamond()) {
  5058. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->change_diamond(), output);
  5059. }
  5060. // optional int32 change_ticket = 6;
  5061. if (has_change_ticket()) {
  5062. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->change_ticket(), output);
  5063. }
  5064. // optional int32 change_dimensity = 7;
  5065. if (has_change_dimensity()) {
  5066. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->change_dimensity(), output);
  5067. }
  5068. // optional int32 change_goldingot = 8;
  5069. if (has_change_goldingot()) {
  5070. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->change_goldingot(), output);
  5071. }
  5072. // optional int32 change_tombola = 9;
  5073. if (has_change_tombola()) {
  5074. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->change_tombola(), output);
  5075. }
  5076. // optional int32 change_legendaryCoin = 10;
  5077. if (has_change_legendarycoin()) {
  5078. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->change_legendarycoin(), output);
  5079. }
  5080. // optional int32 change_redpacket = 11;
  5081. if (has_change_redpacket()) {
  5082. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->change_redpacket(), output);
  5083. }
  5084. // optional int32 change_chip = 12;
  5085. if (has_change_chip()) {
  5086. ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->change_chip(), output);
  5087. }
  5088. // optional int32 change_JDchip = 13;
  5089. if (has_change_jdchip()) {
  5090. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->change_jdchip(), output);
  5091. }
  5092. // optional int32 change_playerlv = 14;
  5093. if (has_change_playerlv()) {
  5094. ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->change_playerlv(), output);
  5095. }
  5096. // optional int32 change_turretlv = 15;
  5097. if (has_change_turretlv()) {
  5098. ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->change_turretlv(), output);
  5099. }
  5100. // optional int32 change_dragonBall = 16;
  5101. if (has_change_dragonball()) {
  5102. ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->change_dragonball(), output);
  5103. }
  5104. // optional int32 change_gloryCrystal = 17;
  5105. if (has_change_glorycrystal()) {
  5106. ::google::protobuf::internal::WireFormatLite::WriteInt32(17, this->change_glorycrystal(), output);
  5107. }
  5108. // optional int32 monthCard_time = 18;
  5109. if (has_monthcard_time()) {
  5110. ::google::protobuf::internal::WireFormatLite::WriteInt32(18, this->monthcard_time(), output);
  5111. }
  5112. // optional int32 goldMonthCard_time = 19;
  5113. if (has_goldmonthcard_time()) {
  5114. ::google::protobuf::internal::WireFormatLite::WriteInt32(19, this->goldmonthcard_time(), output);
  5115. }
  5116. // optional int32 diamondMonthCard_time = 20;
  5117. if (has_diamondmonthcard_time()) {
  5118. ::google::protobuf::internal::WireFormatLite::WriteInt32(20, this->diamondmonthcard_time(), output);
  5119. }
  5120. // optional int32 monthcardremaintime = 21;
  5121. if (has_monthcardremaintime()) {
  5122. ::google::protobuf::internal::WireFormatLite::WriteInt32(21, this->monthcardremaintime(), output);
  5123. }
  5124. // optional int32 goldmonthcardremaintime = 22;
  5125. if (has_goldmonthcardremaintime()) {
  5126. ::google::protobuf::internal::WireFormatLite::WriteInt32(22, this->goldmonthcardremaintime(), output);
  5127. }
  5128. // optional int32 diamondmonthcardremaintime = 23;
  5129. if (has_diamondmonthcardremaintime()) {
  5130. ::google::protobuf::internal::WireFormatLite::WriteInt32(23, this->diamondmonthcardremaintime(), output);
  5131. }
  5132. // optional int32 weekCard_time = 24;
  5133. if (has_weekcard_time()) {
  5134. ::google::protobuf::internal::WireFormatLite::WriteInt32(24, this->weekcard_time(), output);
  5135. }
  5136. // optional int32 weekcardremaintime = 25;
  5137. if (has_weekcardremaintime()) {
  5138. ::google::protobuf::internal::WireFormatLite::WriteInt32(25, this->weekcardremaintime(), output);
  5139. }
  5140. // optional int32 reason = 26;
  5141. if (has_reason()) {
  5142. ::google::protobuf::internal::WireFormatLite::WriteInt32(26, this->reason(), output);
  5143. }
  5144. if (!unknown_fields().empty()) {
  5145. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5146. unknown_fields(), output);
  5147. }
  5148. }
  5149. ::google::protobuf::uint8* packetl2c_bc_change_attr::SerializeWithCachedSizesToArray(
  5150. ::google::protobuf::uint8* target) const {
  5151. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr];
  5152. if (has_packet_id()) {
  5153. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5154. 1, this->packet_id(), target);
  5155. }
  5156. // optional int32 player_id = 2;
  5157. if (has_player_id()) {
  5158. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  5159. }
  5160. // optional int64 change_gold = 3;
  5161. if (has_change_gold()) {
  5162. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->change_gold(), target);
  5163. }
  5164. // optional int32 change_vip = 4;
  5165. if (has_change_vip()) {
  5166. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->change_vip(), target);
  5167. }
  5168. // optional int32 change_diamond = 5;
  5169. if (has_change_diamond()) {
  5170. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->change_diamond(), target);
  5171. }
  5172. // optional int32 change_ticket = 6;
  5173. if (has_change_ticket()) {
  5174. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->change_ticket(), target);
  5175. }
  5176. // optional int32 change_dimensity = 7;
  5177. if (has_change_dimensity()) {
  5178. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->change_dimensity(), target);
  5179. }
  5180. // optional int32 change_goldingot = 8;
  5181. if (has_change_goldingot()) {
  5182. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->change_goldingot(), target);
  5183. }
  5184. // optional int32 change_tombola = 9;
  5185. if (has_change_tombola()) {
  5186. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->change_tombola(), target);
  5187. }
  5188. // optional int32 change_legendaryCoin = 10;
  5189. if (has_change_legendarycoin()) {
  5190. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->change_legendarycoin(), target);
  5191. }
  5192. // optional int32 change_redpacket = 11;
  5193. if (has_change_redpacket()) {
  5194. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->change_redpacket(), target);
  5195. }
  5196. // optional int32 change_chip = 12;
  5197. if (has_change_chip()) {
  5198. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->change_chip(), target);
  5199. }
  5200. // optional int32 change_JDchip = 13;
  5201. if (has_change_jdchip()) {
  5202. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->change_jdchip(), target);
  5203. }
  5204. // optional int32 change_playerlv = 14;
  5205. if (has_change_playerlv()) {
  5206. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->change_playerlv(), target);
  5207. }
  5208. // optional int32 change_turretlv = 15;
  5209. if (has_change_turretlv()) {
  5210. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->change_turretlv(), target);
  5211. }
  5212. // optional int32 change_dragonBall = 16;
  5213. if (has_change_dragonball()) {
  5214. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->change_dragonball(), target);
  5215. }
  5216. // optional int32 change_gloryCrystal = 17;
  5217. if (has_change_glorycrystal()) {
  5218. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(17, this->change_glorycrystal(), target);
  5219. }
  5220. // optional int32 monthCard_time = 18;
  5221. if (has_monthcard_time()) {
  5222. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(18, this->monthcard_time(), target);
  5223. }
  5224. // optional int32 goldMonthCard_time = 19;
  5225. if (has_goldmonthcard_time()) {
  5226. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(19, this->goldmonthcard_time(), target);
  5227. }
  5228. // optional int32 diamondMonthCard_time = 20;
  5229. if (has_diamondmonthcard_time()) {
  5230. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(20, this->diamondmonthcard_time(), target);
  5231. }
  5232. // optional int32 monthcardremaintime = 21;
  5233. if (has_monthcardremaintime()) {
  5234. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(21, this->monthcardremaintime(), target);
  5235. }
  5236. // optional int32 goldmonthcardremaintime = 22;
  5237. if (has_goldmonthcardremaintime()) {
  5238. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(22, this->goldmonthcardremaintime(), target);
  5239. }
  5240. // optional int32 diamondmonthcardremaintime = 23;
  5241. if (has_diamondmonthcardremaintime()) {
  5242. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(23, this->diamondmonthcardremaintime(), target);
  5243. }
  5244. // optional int32 weekCard_time = 24;
  5245. if (has_weekcard_time()) {
  5246. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(24, this->weekcard_time(), target);
  5247. }
  5248. // optional int32 weekcardremaintime = 25;
  5249. if (has_weekcardremaintime()) {
  5250. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(25, this->weekcardremaintime(), target);
  5251. }
  5252. // optional int32 reason = 26;
  5253. if (has_reason()) {
  5254. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(26, this->reason(), target);
  5255. }
  5256. if (!unknown_fields().empty()) {
  5257. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5258. unknown_fields(), target);
  5259. }
  5260. return target;
  5261. }
  5262. int packetl2c_bc_change_attr::ByteSize() const {
  5263. int total_size = 0;
  5264. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5265. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr];
  5266. if (has_packet_id()) {
  5267. total_size += 1 +
  5268. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  5269. }
  5270. // optional int32 player_id = 2;
  5271. if (has_player_id()) {
  5272. total_size += 1 +
  5273. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5274. this->player_id());
  5275. }
  5276. // optional int64 change_gold = 3;
  5277. if (has_change_gold()) {
  5278. total_size += 1 +
  5279. ::google::protobuf::internal::WireFormatLite::Int64Size(
  5280. this->change_gold());
  5281. }
  5282. // optional int32 change_vip = 4;
  5283. if (has_change_vip()) {
  5284. total_size += 1 +
  5285. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5286. this->change_vip());
  5287. }
  5288. // optional int32 change_diamond = 5;
  5289. if (has_change_diamond()) {
  5290. total_size += 1 +
  5291. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5292. this->change_diamond());
  5293. }
  5294. // optional int32 change_ticket = 6;
  5295. if (has_change_ticket()) {
  5296. total_size += 1 +
  5297. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5298. this->change_ticket());
  5299. }
  5300. // optional int32 change_dimensity = 7;
  5301. if (has_change_dimensity()) {
  5302. total_size += 1 +
  5303. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5304. this->change_dimensity());
  5305. }
  5306. // optional int32 change_goldingot = 8;
  5307. if (has_change_goldingot()) {
  5308. total_size += 1 +
  5309. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5310. this->change_goldingot());
  5311. }
  5312. }
  5313. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  5314. // optional int32 change_tombola = 9;
  5315. if (has_change_tombola()) {
  5316. total_size += 1 +
  5317. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5318. this->change_tombola());
  5319. }
  5320. // optional int32 change_legendaryCoin = 10;
  5321. if (has_change_legendarycoin()) {
  5322. total_size += 1 +
  5323. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5324. this->change_legendarycoin());
  5325. }
  5326. // optional int32 change_redpacket = 11;
  5327. if (has_change_redpacket()) {
  5328. total_size += 1 +
  5329. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5330. this->change_redpacket());
  5331. }
  5332. // optional int32 change_chip = 12;
  5333. if (has_change_chip()) {
  5334. total_size += 1 +
  5335. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5336. this->change_chip());
  5337. }
  5338. // optional int32 change_JDchip = 13;
  5339. if (has_change_jdchip()) {
  5340. total_size += 1 +
  5341. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5342. this->change_jdchip());
  5343. }
  5344. // optional int32 change_playerlv = 14;
  5345. if (has_change_playerlv()) {
  5346. total_size += 1 +
  5347. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5348. this->change_playerlv());
  5349. }
  5350. // optional int32 change_turretlv = 15;
  5351. if (has_change_turretlv()) {
  5352. total_size += 1 +
  5353. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5354. this->change_turretlv());
  5355. }
  5356. // optional int32 change_dragonBall = 16;
  5357. if (has_change_dragonball()) {
  5358. total_size += 2 +
  5359. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5360. this->change_dragonball());
  5361. }
  5362. }
  5363. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  5364. // optional int32 change_gloryCrystal = 17;
  5365. if (has_change_glorycrystal()) {
  5366. total_size += 2 +
  5367. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5368. this->change_glorycrystal());
  5369. }
  5370. // optional int32 monthCard_time = 18;
  5371. if (has_monthcard_time()) {
  5372. total_size += 2 +
  5373. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5374. this->monthcard_time());
  5375. }
  5376. // optional int32 goldMonthCard_time = 19;
  5377. if (has_goldmonthcard_time()) {
  5378. total_size += 2 +
  5379. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5380. this->goldmonthcard_time());
  5381. }
  5382. // optional int32 diamondMonthCard_time = 20;
  5383. if (has_diamondmonthcard_time()) {
  5384. total_size += 2 +
  5385. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5386. this->diamondmonthcard_time());
  5387. }
  5388. // optional int32 monthcardremaintime = 21;
  5389. if (has_monthcardremaintime()) {
  5390. total_size += 2 +
  5391. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5392. this->monthcardremaintime());
  5393. }
  5394. // optional int32 goldmonthcardremaintime = 22;
  5395. if (has_goldmonthcardremaintime()) {
  5396. total_size += 2 +
  5397. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5398. this->goldmonthcardremaintime());
  5399. }
  5400. // optional int32 diamondmonthcardremaintime = 23;
  5401. if (has_diamondmonthcardremaintime()) {
  5402. total_size += 2 +
  5403. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5404. this->diamondmonthcardremaintime());
  5405. }
  5406. // optional int32 weekCard_time = 24;
  5407. if (has_weekcard_time()) {
  5408. total_size += 2 +
  5409. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5410. this->weekcard_time());
  5411. }
  5412. }
  5413. if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) {
  5414. // optional int32 weekcardremaintime = 25;
  5415. if (has_weekcardremaintime()) {
  5416. total_size += 2 +
  5417. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5418. this->weekcardremaintime());
  5419. }
  5420. // optional int32 reason = 26;
  5421. if (has_reason()) {
  5422. total_size += 2 +
  5423. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5424. this->reason());
  5425. }
  5426. }
  5427. if (!unknown_fields().empty()) {
  5428. total_size +=
  5429. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5430. unknown_fields());
  5431. }
  5432. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5433. _cached_size_ = total_size;
  5434. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5435. return total_size;
  5436. }
  5437. void packetl2c_bc_change_attr::MergeFrom(const ::google::protobuf::Message& from) {
  5438. GOOGLE_CHECK_NE(&from, this);
  5439. const packetl2c_bc_change_attr* source =
  5440. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_change_attr*>(
  5441. &from);
  5442. if (source == NULL) {
  5443. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5444. } else {
  5445. MergeFrom(*source);
  5446. }
  5447. }
  5448. void packetl2c_bc_change_attr::MergeFrom(const packetl2c_bc_change_attr& from) {
  5449. GOOGLE_CHECK_NE(&from, this);
  5450. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5451. if (from.has_packet_id()) {
  5452. set_packet_id(from.packet_id());
  5453. }
  5454. if (from.has_player_id()) {
  5455. set_player_id(from.player_id());
  5456. }
  5457. if (from.has_change_gold()) {
  5458. set_change_gold(from.change_gold());
  5459. }
  5460. if (from.has_change_vip()) {
  5461. set_change_vip(from.change_vip());
  5462. }
  5463. if (from.has_change_diamond()) {
  5464. set_change_diamond(from.change_diamond());
  5465. }
  5466. if (from.has_change_ticket()) {
  5467. set_change_ticket(from.change_ticket());
  5468. }
  5469. if (from.has_change_dimensity()) {
  5470. set_change_dimensity(from.change_dimensity());
  5471. }
  5472. if (from.has_change_goldingot()) {
  5473. set_change_goldingot(from.change_goldingot());
  5474. }
  5475. }
  5476. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  5477. if (from.has_change_tombola()) {
  5478. set_change_tombola(from.change_tombola());
  5479. }
  5480. if (from.has_change_legendarycoin()) {
  5481. set_change_legendarycoin(from.change_legendarycoin());
  5482. }
  5483. if (from.has_change_redpacket()) {
  5484. set_change_redpacket(from.change_redpacket());
  5485. }
  5486. if (from.has_change_chip()) {
  5487. set_change_chip(from.change_chip());
  5488. }
  5489. if (from.has_change_jdchip()) {
  5490. set_change_jdchip(from.change_jdchip());
  5491. }
  5492. if (from.has_change_playerlv()) {
  5493. set_change_playerlv(from.change_playerlv());
  5494. }
  5495. if (from.has_change_turretlv()) {
  5496. set_change_turretlv(from.change_turretlv());
  5497. }
  5498. if (from.has_change_dragonball()) {
  5499. set_change_dragonball(from.change_dragonball());
  5500. }
  5501. }
  5502. if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  5503. if (from.has_change_glorycrystal()) {
  5504. set_change_glorycrystal(from.change_glorycrystal());
  5505. }
  5506. if (from.has_monthcard_time()) {
  5507. set_monthcard_time(from.monthcard_time());
  5508. }
  5509. if (from.has_goldmonthcard_time()) {
  5510. set_goldmonthcard_time(from.goldmonthcard_time());
  5511. }
  5512. if (from.has_diamondmonthcard_time()) {
  5513. set_diamondmonthcard_time(from.diamondmonthcard_time());
  5514. }
  5515. if (from.has_monthcardremaintime()) {
  5516. set_monthcardremaintime(from.monthcardremaintime());
  5517. }
  5518. if (from.has_goldmonthcardremaintime()) {
  5519. set_goldmonthcardremaintime(from.goldmonthcardremaintime());
  5520. }
  5521. if (from.has_diamondmonthcardremaintime()) {
  5522. set_diamondmonthcardremaintime(from.diamondmonthcardremaintime());
  5523. }
  5524. if (from.has_weekcard_time()) {
  5525. set_weekcard_time(from.weekcard_time());
  5526. }
  5527. }
  5528. if (from._has_bits_[24 / 32] & (0xffu << (24 % 32))) {
  5529. if (from.has_weekcardremaintime()) {
  5530. set_weekcardremaintime(from.weekcardremaintime());
  5531. }
  5532. if (from.has_reason()) {
  5533. set_reason(from.reason());
  5534. }
  5535. }
  5536. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5537. }
  5538. void packetl2c_bc_change_attr::CopyFrom(const ::google::protobuf::Message& from) {
  5539. if (&from == this) return;
  5540. Clear();
  5541. MergeFrom(from);
  5542. }
  5543. void packetl2c_bc_change_attr::CopyFrom(const packetl2c_bc_change_attr& from) {
  5544. if (&from == this) return;
  5545. Clear();
  5546. MergeFrom(from);
  5547. }
  5548. bool packetl2c_bc_change_attr::IsInitialized() const {
  5549. return true;
  5550. }
  5551. void packetl2c_bc_change_attr::Swap(packetl2c_bc_change_attr* other) {
  5552. if (other != this) {
  5553. std::swap(packet_id_, other->packet_id_);
  5554. std::swap(player_id_, other->player_id_);
  5555. std::swap(change_gold_, other->change_gold_);
  5556. std::swap(change_vip_, other->change_vip_);
  5557. std::swap(change_diamond_, other->change_diamond_);
  5558. std::swap(change_ticket_, other->change_ticket_);
  5559. std::swap(change_dimensity_, other->change_dimensity_);
  5560. std::swap(change_goldingot_, other->change_goldingot_);
  5561. std::swap(change_tombola_, other->change_tombola_);
  5562. std::swap(change_legendarycoin_, other->change_legendarycoin_);
  5563. std::swap(change_redpacket_, other->change_redpacket_);
  5564. std::swap(change_chip_, other->change_chip_);
  5565. std::swap(change_jdchip_, other->change_jdchip_);
  5566. std::swap(change_playerlv_, other->change_playerlv_);
  5567. std::swap(change_turretlv_, other->change_turretlv_);
  5568. std::swap(change_dragonball_, other->change_dragonball_);
  5569. std::swap(change_glorycrystal_, other->change_glorycrystal_);
  5570. std::swap(monthcard_time_, other->monthcard_time_);
  5571. std::swap(goldmonthcard_time_, other->goldmonthcard_time_);
  5572. std::swap(diamondmonthcard_time_, other->diamondmonthcard_time_);
  5573. std::swap(monthcardremaintime_, other->monthcardremaintime_);
  5574. std::swap(goldmonthcardremaintime_, other->goldmonthcardremaintime_);
  5575. std::swap(diamondmonthcardremaintime_, other->diamondmonthcardremaintime_);
  5576. std::swap(weekcard_time_, other->weekcard_time_);
  5577. std::swap(weekcardremaintime_, other->weekcardremaintime_);
  5578. std::swap(reason_, other->reason_);
  5579. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5580. _unknown_fields_.Swap(&other->_unknown_fields_);
  5581. std::swap(_cached_size_, other->_cached_size_);
  5582. }
  5583. }
  5584. ::google::protobuf::Metadata packetl2c_bc_change_attr::GetMetadata() const {
  5585. protobuf_AssignDescriptorsOnce();
  5586. ::google::protobuf::Metadata metadata;
  5587. metadata.descriptor = packetl2c_bc_change_attr_descriptor_;
  5588. metadata.reflection = packetl2c_bc_change_attr_reflection_;
  5589. return metadata;
  5590. }
  5591. // ===================================================================
  5592. #ifndef _MSC_VER
  5593. const int packetl2c_bc_create_fish::kPacketIdFieldNumber;
  5594. const int packetl2c_bc_create_fish::kFishInfoFieldNumber;
  5595. const int packetl2c_bc_create_fish::kReasonFieldNumber;
  5596. const int packetl2c_bc_create_fish::kOwnerPlayerIdFieldNumber;
  5597. #endif // !_MSC_VER
  5598. packetl2c_bc_create_fish::packetl2c_bc_create_fish()
  5599. : ::google::protobuf::Message() {
  5600. SharedCtor();
  5601. }
  5602. void packetl2c_bc_create_fish::InitAsDefaultInstance() {
  5603. fish_info_ = const_cast< ::fish_protocols::msg_fish_info*>(&::fish_protocols::msg_fish_info::default_instance());
  5604. }
  5605. packetl2c_bc_create_fish::packetl2c_bc_create_fish(const packetl2c_bc_create_fish& from)
  5606. : ::google::protobuf::Message() {
  5607. SharedCtor();
  5608. MergeFrom(from);
  5609. }
  5610. void packetl2c_bc_create_fish::SharedCtor() {
  5611. _cached_size_ = 0;
  5612. packet_id_ = 15204;
  5613. fish_info_ = NULL;
  5614. reason_ = 0;
  5615. ownerplayerid_ = 0;
  5616. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5617. }
  5618. packetl2c_bc_create_fish::~packetl2c_bc_create_fish() {
  5619. SharedDtor();
  5620. }
  5621. void packetl2c_bc_create_fish::SharedDtor() {
  5622. if (this != default_instance_) {
  5623. delete fish_info_;
  5624. }
  5625. }
  5626. void packetl2c_bc_create_fish::SetCachedSize(int size) const {
  5627. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5628. _cached_size_ = size;
  5629. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5630. }
  5631. const ::google::protobuf::Descriptor* packetl2c_bc_create_fish::descriptor() {
  5632. protobuf_AssignDescriptorsOnce();
  5633. return packetl2c_bc_create_fish_descriptor_;
  5634. }
  5635. const packetl2c_bc_create_fish& packetl2c_bc_create_fish::default_instance() {
  5636. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  5637. return *default_instance_;
  5638. }
  5639. packetl2c_bc_create_fish* packetl2c_bc_create_fish::default_instance_ = NULL;
  5640. packetl2c_bc_create_fish* packetl2c_bc_create_fish::New() const {
  5641. return new packetl2c_bc_create_fish;
  5642. }
  5643. void packetl2c_bc_create_fish::Clear() {
  5644. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5645. packet_id_ = 15204;
  5646. if (has_fish_info()) {
  5647. if (fish_info_ != NULL) fish_info_->::fish_protocols::msg_fish_info::Clear();
  5648. }
  5649. reason_ = 0;
  5650. ownerplayerid_ = 0;
  5651. }
  5652. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5653. mutable_unknown_fields()->Clear();
  5654. }
  5655. bool packetl2c_bc_create_fish::MergePartialFromCodedStream(
  5656. ::google::protobuf::io::CodedInputStream* input) {
  5657. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5658. ::google::protobuf::uint32 tag;
  5659. while ((tag = input->ReadTag()) != 0) {
  5660. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5661. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish];
  5662. case 1: {
  5663. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5664. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5665. int value;
  5666. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5667. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5668. input, &value)));
  5669. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  5670. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  5671. } else {
  5672. mutable_unknown_fields()->AddVarint(1, value);
  5673. }
  5674. } else {
  5675. goto handle_uninterpreted;
  5676. }
  5677. if (input->ExpectTag(18)) goto parse_fish_info;
  5678. break;
  5679. }
  5680. // optional .fish_protocols.msg_fish_info fish_info = 2;
  5681. case 2: {
  5682. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5683. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5684. parse_fish_info:
  5685. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  5686. input, mutable_fish_info()));
  5687. } else {
  5688. goto handle_uninterpreted;
  5689. }
  5690. if (input->ExpectTag(24)) goto parse_reason;
  5691. break;
  5692. }
  5693. // optional int32 reason = 3;
  5694. case 3: {
  5695. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5696. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5697. parse_reason:
  5698. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5699. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5700. input, &reason_)));
  5701. set_has_reason();
  5702. } else {
  5703. goto handle_uninterpreted;
  5704. }
  5705. if (input->ExpectTag(32)) goto parse_ownerPlayerId;
  5706. break;
  5707. }
  5708. // optional int32 ownerPlayerId = 4;
  5709. case 4: {
  5710. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5711. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5712. parse_ownerPlayerId:
  5713. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5714. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5715. input, &ownerplayerid_)));
  5716. set_has_ownerplayerid();
  5717. } else {
  5718. goto handle_uninterpreted;
  5719. }
  5720. if (input->ExpectAtEnd()) return true;
  5721. break;
  5722. }
  5723. default: {
  5724. handle_uninterpreted:
  5725. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5726. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5727. return true;
  5728. }
  5729. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5730. input, tag, mutable_unknown_fields()));
  5731. break;
  5732. }
  5733. }
  5734. }
  5735. return true;
  5736. #undef DO_
  5737. }
  5738. void packetl2c_bc_create_fish::SerializeWithCachedSizes(
  5739. ::google::protobuf::io::CodedOutputStream* output) const {
  5740. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish];
  5741. if (has_packet_id()) {
  5742. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5743. 1, this->packet_id(), output);
  5744. }
  5745. // optional .fish_protocols.msg_fish_info fish_info = 2;
  5746. if (has_fish_info()) {
  5747. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5748. 2, this->fish_info(), output);
  5749. }
  5750. // optional int32 reason = 3;
  5751. if (has_reason()) {
  5752. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->reason(), output);
  5753. }
  5754. // optional int32 ownerPlayerId = 4;
  5755. if (has_ownerplayerid()) {
  5756. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->ownerplayerid(), output);
  5757. }
  5758. if (!unknown_fields().empty()) {
  5759. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5760. unknown_fields(), output);
  5761. }
  5762. }
  5763. ::google::protobuf::uint8* packetl2c_bc_create_fish::SerializeWithCachedSizesToArray(
  5764. ::google::protobuf::uint8* target) const {
  5765. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish];
  5766. if (has_packet_id()) {
  5767. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5768. 1, this->packet_id(), target);
  5769. }
  5770. // optional .fish_protocols.msg_fish_info fish_info = 2;
  5771. if (has_fish_info()) {
  5772. target = ::google::protobuf::internal::WireFormatLite::
  5773. WriteMessageNoVirtualToArray(
  5774. 2, this->fish_info(), target);
  5775. }
  5776. // optional int32 reason = 3;
  5777. if (has_reason()) {
  5778. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->reason(), target);
  5779. }
  5780. // optional int32 ownerPlayerId = 4;
  5781. if (has_ownerplayerid()) {
  5782. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->ownerplayerid(), target);
  5783. }
  5784. if (!unknown_fields().empty()) {
  5785. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5786. unknown_fields(), target);
  5787. }
  5788. return target;
  5789. }
  5790. int packetl2c_bc_create_fish::ByteSize() const {
  5791. int total_size = 0;
  5792. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5793. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish];
  5794. if (has_packet_id()) {
  5795. total_size += 1 +
  5796. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  5797. }
  5798. // optional .fish_protocols.msg_fish_info fish_info = 2;
  5799. if (has_fish_info()) {
  5800. total_size += 1 +
  5801. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  5802. this->fish_info());
  5803. }
  5804. // optional int32 reason = 3;
  5805. if (has_reason()) {
  5806. total_size += 1 +
  5807. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5808. this->reason());
  5809. }
  5810. // optional int32 ownerPlayerId = 4;
  5811. if (has_ownerplayerid()) {
  5812. total_size += 1 +
  5813. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5814. this->ownerplayerid());
  5815. }
  5816. }
  5817. if (!unknown_fields().empty()) {
  5818. total_size +=
  5819. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5820. unknown_fields());
  5821. }
  5822. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5823. _cached_size_ = total_size;
  5824. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5825. return total_size;
  5826. }
  5827. void packetl2c_bc_create_fish::MergeFrom(const ::google::protobuf::Message& from) {
  5828. GOOGLE_CHECK_NE(&from, this);
  5829. const packetl2c_bc_create_fish* source =
  5830. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_create_fish*>(
  5831. &from);
  5832. if (source == NULL) {
  5833. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5834. } else {
  5835. MergeFrom(*source);
  5836. }
  5837. }
  5838. void packetl2c_bc_create_fish::MergeFrom(const packetl2c_bc_create_fish& from) {
  5839. GOOGLE_CHECK_NE(&from, this);
  5840. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5841. if (from.has_packet_id()) {
  5842. set_packet_id(from.packet_id());
  5843. }
  5844. if (from.has_fish_info()) {
  5845. mutable_fish_info()->::fish_protocols::msg_fish_info::MergeFrom(from.fish_info());
  5846. }
  5847. if (from.has_reason()) {
  5848. set_reason(from.reason());
  5849. }
  5850. if (from.has_ownerplayerid()) {
  5851. set_ownerplayerid(from.ownerplayerid());
  5852. }
  5853. }
  5854. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5855. }
  5856. void packetl2c_bc_create_fish::CopyFrom(const ::google::protobuf::Message& from) {
  5857. if (&from == this) return;
  5858. Clear();
  5859. MergeFrom(from);
  5860. }
  5861. void packetl2c_bc_create_fish::CopyFrom(const packetl2c_bc_create_fish& from) {
  5862. if (&from == this) return;
  5863. Clear();
  5864. MergeFrom(from);
  5865. }
  5866. bool packetl2c_bc_create_fish::IsInitialized() const {
  5867. return true;
  5868. }
  5869. void packetl2c_bc_create_fish::Swap(packetl2c_bc_create_fish* other) {
  5870. if (other != this) {
  5871. std::swap(packet_id_, other->packet_id_);
  5872. std::swap(fish_info_, other->fish_info_);
  5873. std::swap(reason_, other->reason_);
  5874. std::swap(ownerplayerid_, other->ownerplayerid_);
  5875. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5876. _unknown_fields_.Swap(&other->_unknown_fields_);
  5877. std::swap(_cached_size_, other->_cached_size_);
  5878. }
  5879. }
  5880. ::google::protobuf::Metadata packetl2c_bc_create_fish::GetMetadata() const {
  5881. protobuf_AssignDescriptorsOnce();
  5882. ::google::protobuf::Metadata metadata;
  5883. metadata.descriptor = packetl2c_bc_create_fish_descriptor_;
  5884. metadata.reflection = packetl2c_bc_create_fish_reflection_;
  5885. return metadata;
  5886. }
  5887. // ===================================================================
  5888. #ifndef _MSC_VER
  5889. const int packetl2c_bc_create_generator::kPacketIdFieldNumber;
  5890. const int packetl2c_bc_create_generator::kGeneratorIdFieldNumber;
  5891. const int packetl2c_bc_create_generator::kStartIdFieldNumber;
  5892. const int packetl2c_bc_create_generator::kRouteIdFieldNumber;
  5893. const int packetl2c_bc_create_generator::kIsRedFieldNumber;
  5894. const int packetl2c_bc_create_generator::kPosXFieldNumber;
  5895. const int packetl2c_bc_create_generator::kPosYFieldNumber;
  5896. const int packetl2c_bc_create_generator::kIsFlashFieldNumber;
  5897. #endif // !_MSC_VER
  5898. packetl2c_bc_create_generator::packetl2c_bc_create_generator()
  5899. : ::google::protobuf::Message() {
  5900. SharedCtor();
  5901. }
  5902. void packetl2c_bc_create_generator::InitAsDefaultInstance() {
  5903. }
  5904. packetl2c_bc_create_generator::packetl2c_bc_create_generator(const packetl2c_bc_create_generator& from)
  5905. : ::google::protobuf::Message() {
  5906. SharedCtor();
  5907. MergeFrom(from);
  5908. }
  5909. void packetl2c_bc_create_generator::SharedCtor() {
  5910. _cached_size_ = 0;
  5911. packet_id_ = 15208;
  5912. generator_id_ = 0;
  5913. start_id_ = 0;
  5914. route_id_ = 0;
  5915. is_red_ = false;
  5916. pos_x_ = 0;
  5917. pos_y_ = 0;
  5918. is_flash_ = false;
  5919. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5920. }
  5921. packetl2c_bc_create_generator::~packetl2c_bc_create_generator() {
  5922. SharedDtor();
  5923. }
  5924. void packetl2c_bc_create_generator::SharedDtor() {
  5925. if (this != default_instance_) {
  5926. }
  5927. }
  5928. void packetl2c_bc_create_generator::SetCachedSize(int size) const {
  5929. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5930. _cached_size_ = size;
  5931. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5932. }
  5933. const ::google::protobuf::Descriptor* packetl2c_bc_create_generator::descriptor() {
  5934. protobuf_AssignDescriptorsOnce();
  5935. return packetl2c_bc_create_generator_descriptor_;
  5936. }
  5937. const packetl2c_bc_create_generator& packetl2c_bc_create_generator::default_instance() {
  5938. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  5939. return *default_instance_;
  5940. }
  5941. packetl2c_bc_create_generator* packetl2c_bc_create_generator::default_instance_ = NULL;
  5942. packetl2c_bc_create_generator* packetl2c_bc_create_generator::New() const {
  5943. return new packetl2c_bc_create_generator;
  5944. }
  5945. void packetl2c_bc_create_generator::Clear() {
  5946. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5947. packet_id_ = 15208;
  5948. generator_id_ = 0;
  5949. start_id_ = 0;
  5950. route_id_ = 0;
  5951. is_red_ = false;
  5952. pos_x_ = 0;
  5953. pos_y_ = 0;
  5954. is_flash_ = false;
  5955. }
  5956. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5957. mutable_unknown_fields()->Clear();
  5958. }
  5959. bool packetl2c_bc_create_generator::MergePartialFromCodedStream(
  5960. ::google::protobuf::io::CodedInputStream* input) {
  5961. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5962. ::google::protobuf::uint32 tag;
  5963. while ((tag = input->ReadTag()) != 0) {
  5964. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5965. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator];
  5966. case 1: {
  5967. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5968. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5969. int value;
  5970. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5971. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5972. input, &value)));
  5973. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  5974. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  5975. } else {
  5976. mutable_unknown_fields()->AddVarint(1, value);
  5977. }
  5978. } else {
  5979. goto handle_uninterpreted;
  5980. }
  5981. if (input->ExpectTag(16)) goto parse_generator_id;
  5982. break;
  5983. }
  5984. // optional int32 generator_id = 2;
  5985. case 2: {
  5986. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5987. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5988. parse_generator_id:
  5989. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5990. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5991. input, &generator_id_)));
  5992. set_has_generator_id();
  5993. } else {
  5994. goto handle_uninterpreted;
  5995. }
  5996. if (input->ExpectTag(24)) goto parse_start_id;
  5997. break;
  5998. }
  5999. // optional int32 start_id = 3;
  6000. case 3: {
  6001. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6002. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6003. parse_start_id:
  6004. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6005. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6006. input, &start_id_)));
  6007. set_has_start_id();
  6008. } else {
  6009. goto handle_uninterpreted;
  6010. }
  6011. if (input->ExpectTag(32)) goto parse_route_id;
  6012. break;
  6013. }
  6014. // optional int32 route_id = 4 [default = 0];
  6015. case 4: {
  6016. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6017. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6018. parse_route_id:
  6019. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6020. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6021. input, &route_id_)));
  6022. set_has_route_id();
  6023. } else {
  6024. goto handle_uninterpreted;
  6025. }
  6026. if (input->ExpectTag(40)) goto parse_is_red;
  6027. break;
  6028. }
  6029. // optional bool is_red = 5 [default = false];
  6030. case 5: {
  6031. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6032. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6033. parse_is_red:
  6034. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6035. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6036. input, &is_red_)));
  6037. set_has_is_red();
  6038. } else {
  6039. goto handle_uninterpreted;
  6040. }
  6041. if (input->ExpectTag(48)) goto parse_pos_x;
  6042. break;
  6043. }
  6044. // optional int32 pos_x = 6;
  6045. case 6: {
  6046. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6047. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6048. parse_pos_x:
  6049. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6050. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6051. input, &pos_x_)));
  6052. set_has_pos_x();
  6053. } else {
  6054. goto handle_uninterpreted;
  6055. }
  6056. if (input->ExpectTag(56)) goto parse_pos_y;
  6057. break;
  6058. }
  6059. // optional int32 pos_y = 7;
  6060. case 7: {
  6061. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6062. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6063. parse_pos_y:
  6064. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6065. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6066. input, &pos_y_)));
  6067. set_has_pos_y();
  6068. } else {
  6069. goto handle_uninterpreted;
  6070. }
  6071. if (input->ExpectTag(64)) goto parse_is_flash;
  6072. break;
  6073. }
  6074. // optional bool is_flash = 8 [default = false];
  6075. case 8: {
  6076. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6077. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6078. parse_is_flash:
  6079. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6080. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6081. input, &is_flash_)));
  6082. set_has_is_flash();
  6083. } else {
  6084. goto handle_uninterpreted;
  6085. }
  6086. if (input->ExpectAtEnd()) return true;
  6087. break;
  6088. }
  6089. default: {
  6090. handle_uninterpreted:
  6091. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6092. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6093. return true;
  6094. }
  6095. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6096. input, tag, mutable_unknown_fields()));
  6097. break;
  6098. }
  6099. }
  6100. }
  6101. return true;
  6102. #undef DO_
  6103. }
  6104. void packetl2c_bc_create_generator::SerializeWithCachedSizes(
  6105. ::google::protobuf::io::CodedOutputStream* output) const {
  6106. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator];
  6107. if (has_packet_id()) {
  6108. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6109. 1, this->packet_id(), output);
  6110. }
  6111. // optional int32 generator_id = 2;
  6112. if (has_generator_id()) {
  6113. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->generator_id(), output);
  6114. }
  6115. // optional int32 start_id = 3;
  6116. if (has_start_id()) {
  6117. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->start_id(), output);
  6118. }
  6119. // optional int32 route_id = 4 [default = 0];
  6120. if (has_route_id()) {
  6121. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->route_id(), output);
  6122. }
  6123. // optional bool is_red = 5 [default = false];
  6124. if (has_is_red()) {
  6125. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_red(), output);
  6126. }
  6127. // optional int32 pos_x = 6;
  6128. if (has_pos_x()) {
  6129. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->pos_x(), output);
  6130. }
  6131. // optional int32 pos_y = 7;
  6132. if (has_pos_y()) {
  6133. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->pos_y(), output);
  6134. }
  6135. // optional bool is_flash = 8 [default = false];
  6136. if (has_is_flash()) {
  6137. ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->is_flash(), output);
  6138. }
  6139. if (!unknown_fields().empty()) {
  6140. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6141. unknown_fields(), output);
  6142. }
  6143. }
  6144. ::google::protobuf::uint8* packetl2c_bc_create_generator::SerializeWithCachedSizesToArray(
  6145. ::google::protobuf::uint8* target) const {
  6146. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator];
  6147. if (has_packet_id()) {
  6148. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6149. 1, this->packet_id(), target);
  6150. }
  6151. // optional int32 generator_id = 2;
  6152. if (has_generator_id()) {
  6153. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->generator_id(), target);
  6154. }
  6155. // optional int32 start_id = 3;
  6156. if (has_start_id()) {
  6157. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->start_id(), target);
  6158. }
  6159. // optional int32 route_id = 4 [default = 0];
  6160. if (has_route_id()) {
  6161. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->route_id(), target);
  6162. }
  6163. // optional bool is_red = 5 [default = false];
  6164. if (has_is_red()) {
  6165. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_red(), target);
  6166. }
  6167. // optional int32 pos_x = 6;
  6168. if (has_pos_x()) {
  6169. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->pos_x(), target);
  6170. }
  6171. // optional int32 pos_y = 7;
  6172. if (has_pos_y()) {
  6173. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->pos_y(), target);
  6174. }
  6175. // optional bool is_flash = 8 [default = false];
  6176. if (has_is_flash()) {
  6177. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->is_flash(), target);
  6178. }
  6179. if (!unknown_fields().empty()) {
  6180. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6181. unknown_fields(), target);
  6182. }
  6183. return target;
  6184. }
  6185. int packetl2c_bc_create_generator::ByteSize() const {
  6186. int total_size = 0;
  6187. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6188. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator];
  6189. if (has_packet_id()) {
  6190. total_size += 1 +
  6191. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6192. }
  6193. // optional int32 generator_id = 2;
  6194. if (has_generator_id()) {
  6195. total_size += 1 +
  6196. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6197. this->generator_id());
  6198. }
  6199. // optional int32 start_id = 3;
  6200. if (has_start_id()) {
  6201. total_size += 1 +
  6202. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6203. this->start_id());
  6204. }
  6205. // optional int32 route_id = 4 [default = 0];
  6206. if (has_route_id()) {
  6207. total_size += 1 +
  6208. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6209. this->route_id());
  6210. }
  6211. // optional bool is_red = 5 [default = false];
  6212. if (has_is_red()) {
  6213. total_size += 1 + 1;
  6214. }
  6215. // optional int32 pos_x = 6;
  6216. if (has_pos_x()) {
  6217. total_size += 1 +
  6218. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6219. this->pos_x());
  6220. }
  6221. // optional int32 pos_y = 7;
  6222. if (has_pos_y()) {
  6223. total_size += 1 +
  6224. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6225. this->pos_y());
  6226. }
  6227. // optional bool is_flash = 8 [default = false];
  6228. if (has_is_flash()) {
  6229. total_size += 1 + 1;
  6230. }
  6231. }
  6232. if (!unknown_fields().empty()) {
  6233. total_size +=
  6234. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6235. unknown_fields());
  6236. }
  6237. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6238. _cached_size_ = total_size;
  6239. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6240. return total_size;
  6241. }
  6242. void packetl2c_bc_create_generator::MergeFrom(const ::google::protobuf::Message& from) {
  6243. GOOGLE_CHECK_NE(&from, this);
  6244. const packetl2c_bc_create_generator* source =
  6245. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_create_generator*>(
  6246. &from);
  6247. if (source == NULL) {
  6248. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6249. } else {
  6250. MergeFrom(*source);
  6251. }
  6252. }
  6253. void packetl2c_bc_create_generator::MergeFrom(const packetl2c_bc_create_generator& from) {
  6254. GOOGLE_CHECK_NE(&from, this);
  6255. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6256. if (from.has_packet_id()) {
  6257. set_packet_id(from.packet_id());
  6258. }
  6259. if (from.has_generator_id()) {
  6260. set_generator_id(from.generator_id());
  6261. }
  6262. if (from.has_start_id()) {
  6263. set_start_id(from.start_id());
  6264. }
  6265. if (from.has_route_id()) {
  6266. set_route_id(from.route_id());
  6267. }
  6268. if (from.has_is_red()) {
  6269. set_is_red(from.is_red());
  6270. }
  6271. if (from.has_pos_x()) {
  6272. set_pos_x(from.pos_x());
  6273. }
  6274. if (from.has_pos_y()) {
  6275. set_pos_y(from.pos_y());
  6276. }
  6277. if (from.has_is_flash()) {
  6278. set_is_flash(from.is_flash());
  6279. }
  6280. }
  6281. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6282. }
  6283. void packetl2c_bc_create_generator::CopyFrom(const ::google::protobuf::Message& from) {
  6284. if (&from == this) return;
  6285. Clear();
  6286. MergeFrom(from);
  6287. }
  6288. void packetl2c_bc_create_generator::CopyFrom(const packetl2c_bc_create_generator& from) {
  6289. if (&from == this) return;
  6290. Clear();
  6291. MergeFrom(from);
  6292. }
  6293. bool packetl2c_bc_create_generator::IsInitialized() const {
  6294. return true;
  6295. }
  6296. void packetl2c_bc_create_generator::Swap(packetl2c_bc_create_generator* other) {
  6297. if (other != this) {
  6298. std::swap(packet_id_, other->packet_id_);
  6299. std::swap(generator_id_, other->generator_id_);
  6300. std::swap(start_id_, other->start_id_);
  6301. std::swap(route_id_, other->route_id_);
  6302. std::swap(is_red_, other->is_red_);
  6303. std::swap(pos_x_, other->pos_x_);
  6304. std::swap(pos_y_, other->pos_y_);
  6305. std::swap(is_flash_, other->is_flash_);
  6306. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6307. _unknown_fields_.Swap(&other->_unknown_fields_);
  6308. std::swap(_cached_size_, other->_cached_size_);
  6309. }
  6310. }
  6311. ::google::protobuf::Metadata packetl2c_bc_create_generator::GetMetadata() const {
  6312. protobuf_AssignDescriptorsOnce();
  6313. ::google::protobuf::Metadata metadata;
  6314. metadata.descriptor = packetl2c_bc_create_generator_descriptor_;
  6315. metadata.reflection = packetl2c_bc_create_generator_reflection_;
  6316. return metadata;
  6317. }
  6318. // ===================================================================
  6319. #ifndef _MSC_VER
  6320. const int ManualFireEx::kRefItemIdFieldNumber;
  6321. const int ManualFireEx::kFishIdFieldNumber;
  6322. #endif // !_MSC_VER
  6323. ManualFireEx::ManualFireEx()
  6324. : ::google::protobuf::Message() {
  6325. SharedCtor();
  6326. }
  6327. void ManualFireEx::InitAsDefaultInstance() {
  6328. }
  6329. ManualFireEx::ManualFireEx(const ManualFireEx& from)
  6330. : ::google::protobuf::Message() {
  6331. SharedCtor();
  6332. MergeFrom(from);
  6333. }
  6334. void ManualFireEx::SharedCtor() {
  6335. _cached_size_ = 0;
  6336. refitemid_ = 0;
  6337. fishid_ = 0;
  6338. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6339. }
  6340. ManualFireEx::~ManualFireEx() {
  6341. SharedDtor();
  6342. }
  6343. void ManualFireEx::SharedDtor() {
  6344. if (this != default_instance_) {
  6345. }
  6346. }
  6347. void ManualFireEx::SetCachedSize(int size) const {
  6348. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6349. _cached_size_ = size;
  6350. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6351. }
  6352. const ::google::protobuf::Descriptor* ManualFireEx::descriptor() {
  6353. protobuf_AssignDescriptorsOnce();
  6354. return ManualFireEx_descriptor_;
  6355. }
  6356. const ManualFireEx& ManualFireEx::default_instance() {
  6357. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  6358. return *default_instance_;
  6359. }
  6360. ManualFireEx* ManualFireEx::default_instance_ = NULL;
  6361. ManualFireEx* ManualFireEx::New() const {
  6362. return new ManualFireEx;
  6363. }
  6364. void ManualFireEx::Clear() {
  6365. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6366. refitemid_ = 0;
  6367. fishid_ = 0;
  6368. }
  6369. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6370. mutable_unknown_fields()->Clear();
  6371. }
  6372. bool ManualFireEx::MergePartialFromCodedStream(
  6373. ::google::protobuf::io::CodedInputStream* input) {
  6374. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6375. ::google::protobuf::uint32 tag;
  6376. while ((tag = input->ReadTag()) != 0) {
  6377. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6378. // optional int32 refItemId = 1;
  6379. case 1: {
  6380. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6381. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6382. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6383. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6384. input, &refitemid_)));
  6385. set_has_refitemid();
  6386. } else {
  6387. goto handle_uninterpreted;
  6388. }
  6389. if (input->ExpectTag(16)) goto parse_fishId;
  6390. break;
  6391. }
  6392. // optional int32 fishId = 2;
  6393. case 2: {
  6394. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6395. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6396. parse_fishId:
  6397. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6398. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6399. input, &fishid_)));
  6400. set_has_fishid();
  6401. } else {
  6402. goto handle_uninterpreted;
  6403. }
  6404. if (input->ExpectAtEnd()) return true;
  6405. break;
  6406. }
  6407. default: {
  6408. handle_uninterpreted:
  6409. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6410. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6411. return true;
  6412. }
  6413. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6414. input, tag, mutable_unknown_fields()));
  6415. break;
  6416. }
  6417. }
  6418. }
  6419. return true;
  6420. #undef DO_
  6421. }
  6422. void ManualFireEx::SerializeWithCachedSizes(
  6423. ::google::protobuf::io::CodedOutputStream* output) const {
  6424. // optional int32 refItemId = 1;
  6425. if (has_refitemid()) {
  6426. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->refitemid(), output);
  6427. }
  6428. // optional int32 fishId = 2;
  6429. if (has_fishid()) {
  6430. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fishid(), output);
  6431. }
  6432. if (!unknown_fields().empty()) {
  6433. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6434. unknown_fields(), output);
  6435. }
  6436. }
  6437. ::google::protobuf::uint8* ManualFireEx::SerializeWithCachedSizesToArray(
  6438. ::google::protobuf::uint8* target) const {
  6439. // optional int32 refItemId = 1;
  6440. if (has_refitemid()) {
  6441. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->refitemid(), target);
  6442. }
  6443. // optional int32 fishId = 2;
  6444. if (has_fishid()) {
  6445. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fishid(), target);
  6446. }
  6447. if (!unknown_fields().empty()) {
  6448. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6449. unknown_fields(), target);
  6450. }
  6451. return target;
  6452. }
  6453. int ManualFireEx::ByteSize() const {
  6454. int total_size = 0;
  6455. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6456. // optional int32 refItemId = 1;
  6457. if (has_refitemid()) {
  6458. total_size += 1 +
  6459. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6460. this->refitemid());
  6461. }
  6462. // optional int32 fishId = 2;
  6463. if (has_fishid()) {
  6464. total_size += 1 +
  6465. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6466. this->fishid());
  6467. }
  6468. }
  6469. if (!unknown_fields().empty()) {
  6470. total_size +=
  6471. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6472. unknown_fields());
  6473. }
  6474. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6475. _cached_size_ = total_size;
  6476. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6477. return total_size;
  6478. }
  6479. void ManualFireEx::MergeFrom(const ::google::protobuf::Message& from) {
  6480. GOOGLE_CHECK_NE(&from, this);
  6481. const ManualFireEx* source =
  6482. ::google::protobuf::internal::dynamic_cast_if_available<const ManualFireEx*>(
  6483. &from);
  6484. if (source == NULL) {
  6485. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6486. } else {
  6487. MergeFrom(*source);
  6488. }
  6489. }
  6490. void ManualFireEx::MergeFrom(const ManualFireEx& from) {
  6491. GOOGLE_CHECK_NE(&from, this);
  6492. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6493. if (from.has_refitemid()) {
  6494. set_refitemid(from.refitemid());
  6495. }
  6496. if (from.has_fishid()) {
  6497. set_fishid(from.fishid());
  6498. }
  6499. }
  6500. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6501. }
  6502. void ManualFireEx::CopyFrom(const ::google::protobuf::Message& from) {
  6503. if (&from == this) return;
  6504. Clear();
  6505. MergeFrom(from);
  6506. }
  6507. void ManualFireEx::CopyFrom(const ManualFireEx& from) {
  6508. if (&from == this) return;
  6509. Clear();
  6510. MergeFrom(from);
  6511. }
  6512. bool ManualFireEx::IsInitialized() const {
  6513. return true;
  6514. }
  6515. void ManualFireEx::Swap(ManualFireEx* other) {
  6516. if (other != this) {
  6517. std::swap(refitemid_, other->refitemid_);
  6518. std::swap(fishid_, other->fishid_);
  6519. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6520. _unknown_fields_.Swap(&other->_unknown_fields_);
  6521. std::swap(_cached_size_, other->_cached_size_);
  6522. }
  6523. }
  6524. ::google::protobuf::Metadata ManualFireEx::GetMetadata() const {
  6525. protobuf_AssignDescriptorsOnce();
  6526. ::google::protobuf::Metadata metadata;
  6527. metadata.descriptor = ManualFireEx_descriptor_;
  6528. metadata.reflection = ManualFireEx_reflection_;
  6529. return metadata;
  6530. }
  6531. // ===================================================================
  6532. #ifndef _MSC_VER
  6533. const int packetc2l_manual_fire::kPacketIdFieldNumber;
  6534. const int packetc2l_manual_fire::kBulletIdFieldNumber;
  6535. const int packetc2l_manual_fire::kBulletAngleFieldNumber;
  6536. const int packetc2l_manual_fire::kIsMultiFieldNumber;
  6537. const int packetc2l_manual_fire::kIsViolentFieldNumber;
  6538. const int packetc2l_manual_fire::kBulletTypeFieldNumber;
  6539. const int packetc2l_manual_fire::kBulletRateFieldNumber;
  6540. const int packetc2l_manual_fire::kRoomRateFieldNumber;
  6541. const int packetc2l_manual_fire::kBulletPowerFieldNumber;
  6542. const int packetc2l_manual_fire::kExParamFieldNumber;
  6543. #endif // !_MSC_VER
  6544. packetc2l_manual_fire::packetc2l_manual_fire()
  6545. : ::google::protobuf::Message() {
  6546. SharedCtor();
  6547. }
  6548. void packetc2l_manual_fire::InitAsDefaultInstance() {
  6549. exparam_ = const_cast< ::fish_protocols::ManualFireEx*>(&::fish_protocols::ManualFireEx::default_instance());
  6550. }
  6551. packetc2l_manual_fire::packetc2l_manual_fire(const packetc2l_manual_fire& from)
  6552. : ::google::protobuf::Message() {
  6553. SharedCtor();
  6554. MergeFrom(from);
  6555. }
  6556. void packetc2l_manual_fire::SharedCtor() {
  6557. _cached_size_ = 0;
  6558. packet_id_ = 10103;
  6559. bullet_id_ = 0;
  6560. bullet_angle_ = 0;
  6561. is_multi_ = false;
  6562. is_violent_ = false;
  6563. bullet_type_ = 1;
  6564. bullet_rate_ = 0;
  6565. room_rate_ = 0;
  6566. bullet_power_ = 0;
  6567. exparam_ = NULL;
  6568. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6569. }
  6570. packetc2l_manual_fire::~packetc2l_manual_fire() {
  6571. SharedDtor();
  6572. }
  6573. void packetc2l_manual_fire::SharedDtor() {
  6574. if (this != default_instance_) {
  6575. delete exparam_;
  6576. }
  6577. }
  6578. void packetc2l_manual_fire::SetCachedSize(int size) const {
  6579. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6580. _cached_size_ = size;
  6581. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6582. }
  6583. const ::google::protobuf::Descriptor* packetc2l_manual_fire::descriptor() {
  6584. protobuf_AssignDescriptorsOnce();
  6585. return packetc2l_manual_fire_descriptor_;
  6586. }
  6587. const packetc2l_manual_fire& packetc2l_manual_fire::default_instance() {
  6588. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  6589. return *default_instance_;
  6590. }
  6591. packetc2l_manual_fire* packetc2l_manual_fire::default_instance_ = NULL;
  6592. packetc2l_manual_fire* packetc2l_manual_fire::New() const {
  6593. return new packetc2l_manual_fire;
  6594. }
  6595. void packetc2l_manual_fire::Clear() {
  6596. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6597. packet_id_ = 10103;
  6598. bullet_id_ = 0;
  6599. bullet_angle_ = 0;
  6600. is_multi_ = false;
  6601. is_violent_ = false;
  6602. bullet_type_ = 1;
  6603. bullet_rate_ = 0;
  6604. room_rate_ = 0;
  6605. }
  6606. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  6607. bullet_power_ = 0;
  6608. if (has_exparam()) {
  6609. if (exparam_ != NULL) exparam_->::fish_protocols::ManualFireEx::Clear();
  6610. }
  6611. }
  6612. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6613. mutable_unknown_fields()->Clear();
  6614. }
  6615. bool packetc2l_manual_fire::MergePartialFromCodedStream(
  6616. ::google::protobuf::io::CodedInputStream* input) {
  6617. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6618. ::google::protobuf::uint32 tag;
  6619. while ((tag = input->ReadTag()) != 0) {
  6620. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6621. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire];
  6622. case 1: {
  6623. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6624. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6625. int value;
  6626. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6627. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6628. input, &value)));
  6629. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  6630. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  6631. } else {
  6632. mutable_unknown_fields()->AddVarint(1, value);
  6633. }
  6634. } else {
  6635. goto handle_uninterpreted;
  6636. }
  6637. if (input->ExpectTag(16)) goto parse_bullet_id;
  6638. break;
  6639. }
  6640. // optional int32 bullet_id = 2;
  6641. case 2: {
  6642. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6643. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6644. parse_bullet_id:
  6645. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6646. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6647. input, &bullet_id_)));
  6648. set_has_bullet_id();
  6649. } else {
  6650. goto handle_uninterpreted;
  6651. }
  6652. if (input->ExpectTag(24)) goto parse_bullet_angle;
  6653. break;
  6654. }
  6655. // optional int32 bullet_angle = 3;
  6656. case 3: {
  6657. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6658. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6659. parse_bullet_angle:
  6660. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6661. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6662. input, &bullet_angle_)));
  6663. set_has_bullet_angle();
  6664. } else {
  6665. goto handle_uninterpreted;
  6666. }
  6667. if (input->ExpectTag(32)) goto parse_is_multi;
  6668. break;
  6669. }
  6670. // optional bool is_multi = 4 [default = false];
  6671. case 4: {
  6672. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6673. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6674. parse_is_multi:
  6675. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6676. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6677. input, &is_multi_)));
  6678. set_has_is_multi();
  6679. } else {
  6680. goto handle_uninterpreted;
  6681. }
  6682. if (input->ExpectTag(40)) goto parse_is_violent;
  6683. break;
  6684. }
  6685. // optional bool is_violent = 5 [default = false];
  6686. case 5: {
  6687. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6688. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6689. parse_is_violent:
  6690. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6691. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6692. input, &is_violent_)));
  6693. set_has_is_violent();
  6694. } else {
  6695. goto handle_uninterpreted;
  6696. }
  6697. if (input->ExpectTag(48)) goto parse_bullet_type;
  6698. break;
  6699. }
  6700. // optional int32 bullet_type = 6 [default = 1];
  6701. case 6: {
  6702. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6703. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6704. parse_bullet_type:
  6705. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6706. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6707. input, &bullet_type_)));
  6708. set_has_bullet_type();
  6709. } else {
  6710. goto handle_uninterpreted;
  6711. }
  6712. if (input->ExpectTag(56)) goto parse_bullet_rate;
  6713. break;
  6714. }
  6715. // optional int32 bullet_rate = 7;
  6716. case 7: {
  6717. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6718. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6719. parse_bullet_rate:
  6720. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6721. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6722. input, &bullet_rate_)));
  6723. set_has_bullet_rate();
  6724. } else {
  6725. goto handle_uninterpreted;
  6726. }
  6727. if (input->ExpectTag(64)) goto parse_room_rate;
  6728. break;
  6729. }
  6730. // optional int32 room_rate = 8;
  6731. case 8: {
  6732. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6733. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6734. parse_room_rate:
  6735. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6736. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6737. input, &room_rate_)));
  6738. set_has_room_rate();
  6739. } else {
  6740. goto handle_uninterpreted;
  6741. }
  6742. if (input->ExpectTag(72)) goto parse_bullet_power;
  6743. break;
  6744. }
  6745. // optional int32 bullet_power = 9;
  6746. case 9: {
  6747. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6748. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6749. parse_bullet_power:
  6750. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6751. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6752. input, &bullet_power_)));
  6753. set_has_bullet_power();
  6754. } else {
  6755. goto handle_uninterpreted;
  6756. }
  6757. if (input->ExpectTag(82)) goto parse_exParam;
  6758. break;
  6759. }
  6760. // optional .fish_protocols.ManualFireEx exParam = 10;
  6761. case 10: {
  6762. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6763. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  6764. parse_exParam:
  6765. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  6766. input, mutable_exparam()));
  6767. } else {
  6768. goto handle_uninterpreted;
  6769. }
  6770. if (input->ExpectAtEnd()) return true;
  6771. break;
  6772. }
  6773. default: {
  6774. handle_uninterpreted:
  6775. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6776. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6777. return true;
  6778. }
  6779. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6780. input, tag, mutable_unknown_fields()));
  6781. break;
  6782. }
  6783. }
  6784. }
  6785. return true;
  6786. #undef DO_
  6787. }
  6788. void packetc2l_manual_fire::SerializeWithCachedSizes(
  6789. ::google::protobuf::io::CodedOutputStream* output) const {
  6790. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire];
  6791. if (has_packet_id()) {
  6792. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6793. 1, this->packet_id(), output);
  6794. }
  6795. // optional int32 bullet_id = 2;
  6796. if (has_bullet_id()) {
  6797. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->bullet_id(), output);
  6798. }
  6799. // optional int32 bullet_angle = 3;
  6800. if (has_bullet_angle()) {
  6801. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bullet_angle(), output);
  6802. }
  6803. // optional bool is_multi = 4 [default = false];
  6804. if (has_is_multi()) {
  6805. ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_multi(), output);
  6806. }
  6807. // optional bool is_violent = 5 [default = false];
  6808. if (has_is_violent()) {
  6809. ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_violent(), output);
  6810. }
  6811. // optional int32 bullet_type = 6 [default = 1];
  6812. if (has_bullet_type()) {
  6813. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bullet_type(), output);
  6814. }
  6815. // optional int32 bullet_rate = 7;
  6816. if (has_bullet_rate()) {
  6817. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->bullet_rate(), output);
  6818. }
  6819. // optional int32 room_rate = 8;
  6820. if (has_room_rate()) {
  6821. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->room_rate(), output);
  6822. }
  6823. // optional int32 bullet_power = 9;
  6824. if (has_bullet_power()) {
  6825. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->bullet_power(), output);
  6826. }
  6827. // optional .fish_protocols.ManualFireEx exParam = 10;
  6828. if (has_exparam()) {
  6829. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  6830. 10, this->exparam(), output);
  6831. }
  6832. if (!unknown_fields().empty()) {
  6833. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6834. unknown_fields(), output);
  6835. }
  6836. }
  6837. ::google::protobuf::uint8* packetc2l_manual_fire::SerializeWithCachedSizesToArray(
  6838. ::google::protobuf::uint8* target) const {
  6839. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire];
  6840. if (has_packet_id()) {
  6841. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6842. 1, this->packet_id(), target);
  6843. }
  6844. // optional int32 bullet_id = 2;
  6845. if (has_bullet_id()) {
  6846. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->bullet_id(), target);
  6847. }
  6848. // optional int32 bullet_angle = 3;
  6849. if (has_bullet_angle()) {
  6850. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bullet_angle(), target);
  6851. }
  6852. // optional bool is_multi = 4 [default = false];
  6853. if (has_is_multi()) {
  6854. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_multi(), target);
  6855. }
  6856. // optional bool is_violent = 5 [default = false];
  6857. if (has_is_violent()) {
  6858. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_violent(), target);
  6859. }
  6860. // optional int32 bullet_type = 6 [default = 1];
  6861. if (has_bullet_type()) {
  6862. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bullet_type(), target);
  6863. }
  6864. // optional int32 bullet_rate = 7;
  6865. if (has_bullet_rate()) {
  6866. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->bullet_rate(), target);
  6867. }
  6868. // optional int32 room_rate = 8;
  6869. if (has_room_rate()) {
  6870. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->room_rate(), target);
  6871. }
  6872. // optional int32 bullet_power = 9;
  6873. if (has_bullet_power()) {
  6874. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->bullet_power(), target);
  6875. }
  6876. // optional .fish_protocols.ManualFireEx exParam = 10;
  6877. if (has_exparam()) {
  6878. target = ::google::protobuf::internal::WireFormatLite::
  6879. WriteMessageNoVirtualToArray(
  6880. 10, this->exparam(), target);
  6881. }
  6882. if (!unknown_fields().empty()) {
  6883. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6884. unknown_fields(), target);
  6885. }
  6886. return target;
  6887. }
  6888. int packetc2l_manual_fire::ByteSize() const {
  6889. int total_size = 0;
  6890. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6891. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire];
  6892. if (has_packet_id()) {
  6893. total_size += 1 +
  6894. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6895. }
  6896. // optional int32 bullet_id = 2;
  6897. if (has_bullet_id()) {
  6898. total_size += 1 +
  6899. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6900. this->bullet_id());
  6901. }
  6902. // optional int32 bullet_angle = 3;
  6903. if (has_bullet_angle()) {
  6904. total_size += 1 +
  6905. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6906. this->bullet_angle());
  6907. }
  6908. // optional bool is_multi = 4 [default = false];
  6909. if (has_is_multi()) {
  6910. total_size += 1 + 1;
  6911. }
  6912. // optional bool is_violent = 5 [default = false];
  6913. if (has_is_violent()) {
  6914. total_size += 1 + 1;
  6915. }
  6916. // optional int32 bullet_type = 6 [default = 1];
  6917. if (has_bullet_type()) {
  6918. total_size += 1 +
  6919. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6920. this->bullet_type());
  6921. }
  6922. // optional int32 bullet_rate = 7;
  6923. if (has_bullet_rate()) {
  6924. total_size += 1 +
  6925. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6926. this->bullet_rate());
  6927. }
  6928. // optional int32 room_rate = 8;
  6929. if (has_room_rate()) {
  6930. total_size += 1 +
  6931. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6932. this->room_rate());
  6933. }
  6934. }
  6935. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  6936. // optional int32 bullet_power = 9;
  6937. if (has_bullet_power()) {
  6938. total_size += 1 +
  6939. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6940. this->bullet_power());
  6941. }
  6942. // optional .fish_protocols.ManualFireEx exParam = 10;
  6943. if (has_exparam()) {
  6944. total_size += 1 +
  6945. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  6946. this->exparam());
  6947. }
  6948. }
  6949. if (!unknown_fields().empty()) {
  6950. total_size +=
  6951. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6952. unknown_fields());
  6953. }
  6954. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6955. _cached_size_ = total_size;
  6956. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6957. return total_size;
  6958. }
  6959. void packetc2l_manual_fire::MergeFrom(const ::google::protobuf::Message& from) {
  6960. GOOGLE_CHECK_NE(&from, this);
  6961. const packetc2l_manual_fire* source =
  6962. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_manual_fire*>(
  6963. &from);
  6964. if (source == NULL) {
  6965. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6966. } else {
  6967. MergeFrom(*source);
  6968. }
  6969. }
  6970. void packetc2l_manual_fire::MergeFrom(const packetc2l_manual_fire& from) {
  6971. GOOGLE_CHECK_NE(&from, this);
  6972. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6973. if (from.has_packet_id()) {
  6974. set_packet_id(from.packet_id());
  6975. }
  6976. if (from.has_bullet_id()) {
  6977. set_bullet_id(from.bullet_id());
  6978. }
  6979. if (from.has_bullet_angle()) {
  6980. set_bullet_angle(from.bullet_angle());
  6981. }
  6982. if (from.has_is_multi()) {
  6983. set_is_multi(from.is_multi());
  6984. }
  6985. if (from.has_is_violent()) {
  6986. set_is_violent(from.is_violent());
  6987. }
  6988. if (from.has_bullet_type()) {
  6989. set_bullet_type(from.bullet_type());
  6990. }
  6991. if (from.has_bullet_rate()) {
  6992. set_bullet_rate(from.bullet_rate());
  6993. }
  6994. if (from.has_room_rate()) {
  6995. set_room_rate(from.room_rate());
  6996. }
  6997. }
  6998. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  6999. if (from.has_bullet_power()) {
  7000. set_bullet_power(from.bullet_power());
  7001. }
  7002. if (from.has_exparam()) {
  7003. mutable_exparam()->::fish_protocols::ManualFireEx::MergeFrom(from.exparam());
  7004. }
  7005. }
  7006. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7007. }
  7008. void packetc2l_manual_fire::CopyFrom(const ::google::protobuf::Message& from) {
  7009. if (&from == this) return;
  7010. Clear();
  7011. MergeFrom(from);
  7012. }
  7013. void packetc2l_manual_fire::CopyFrom(const packetc2l_manual_fire& from) {
  7014. if (&from == this) return;
  7015. Clear();
  7016. MergeFrom(from);
  7017. }
  7018. bool packetc2l_manual_fire::IsInitialized() const {
  7019. return true;
  7020. }
  7021. void packetc2l_manual_fire::Swap(packetc2l_manual_fire* other) {
  7022. if (other != this) {
  7023. std::swap(packet_id_, other->packet_id_);
  7024. std::swap(bullet_id_, other->bullet_id_);
  7025. std::swap(bullet_angle_, other->bullet_angle_);
  7026. std::swap(is_multi_, other->is_multi_);
  7027. std::swap(is_violent_, other->is_violent_);
  7028. std::swap(bullet_type_, other->bullet_type_);
  7029. std::swap(bullet_rate_, other->bullet_rate_);
  7030. std::swap(room_rate_, other->room_rate_);
  7031. std::swap(bullet_power_, other->bullet_power_);
  7032. std::swap(exparam_, other->exparam_);
  7033. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7034. _unknown_fields_.Swap(&other->_unknown_fields_);
  7035. std::swap(_cached_size_, other->_cached_size_);
  7036. }
  7037. }
  7038. ::google::protobuf::Metadata packetc2l_manual_fire::GetMetadata() const {
  7039. protobuf_AssignDescriptorsOnce();
  7040. ::google::protobuf::Metadata metadata;
  7041. metadata.descriptor = packetc2l_manual_fire_descriptor_;
  7042. metadata.reflection = packetc2l_manual_fire_reflection_;
  7043. return metadata;
  7044. }
  7045. // ===================================================================
  7046. #ifndef _MSC_VER
  7047. const int packetl2c_bc_manual_fire::kPacketIdFieldNumber;
  7048. const int packetl2c_bc_manual_fire::kBulletIdFieldNumber;
  7049. const int packetl2c_bc_manual_fire::kPlayerIdFieldNumber;
  7050. const int packetl2c_bc_manual_fire::kBulletAngleFieldNumber;
  7051. const int packetl2c_bc_manual_fire::kCurExpFieldNumber;
  7052. const int packetl2c_bc_manual_fire::kBulletTypeFieldNumber;
  7053. const int packetl2c_bc_manual_fire::kIsViolentFieldNumber;
  7054. const int packetl2c_bc_manual_fire::kExParamFieldNumber;
  7055. const int packetl2c_bc_manual_fire::kResultFieldNumber;
  7056. const int packetl2c_bc_manual_fire::kBulletRateFieldNumber;
  7057. const int packetl2c_bc_manual_fire::kBulletPowerFieldNumber;
  7058. const int packetl2c_bc_manual_fire::kGoldFieldNumber;
  7059. #endif // !_MSC_VER
  7060. packetl2c_bc_manual_fire::packetl2c_bc_manual_fire()
  7061. : ::google::protobuf::Message() {
  7062. SharedCtor();
  7063. }
  7064. void packetl2c_bc_manual_fire::InitAsDefaultInstance() {
  7065. exparam_ = const_cast< ::fish_protocols::ManualFireEx*>(&::fish_protocols::ManualFireEx::default_instance());
  7066. }
  7067. packetl2c_bc_manual_fire::packetl2c_bc_manual_fire(const packetl2c_bc_manual_fire& from)
  7068. : ::google::protobuf::Message() {
  7069. SharedCtor();
  7070. MergeFrom(from);
  7071. }
  7072. void packetl2c_bc_manual_fire::SharedCtor() {
  7073. _cached_size_ = 0;
  7074. packet_id_ = 15205;
  7075. bullet_id_ = 0;
  7076. player_id_ = 0;
  7077. bullet_angle_ = 0;
  7078. curexp_ = GOOGLE_LONGLONG(0);
  7079. bullet_type_ = 1;
  7080. is_violent_ = false;
  7081. exparam_ = NULL;
  7082. result_ = 0;
  7083. bulletrate_ = 0;
  7084. bulletpower_ = 0;
  7085. gold_ = GOOGLE_LONGLONG(0);
  7086. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7087. }
  7088. packetl2c_bc_manual_fire::~packetl2c_bc_manual_fire() {
  7089. SharedDtor();
  7090. }
  7091. void packetl2c_bc_manual_fire::SharedDtor() {
  7092. if (this != default_instance_) {
  7093. delete exparam_;
  7094. }
  7095. }
  7096. void packetl2c_bc_manual_fire::SetCachedSize(int size) const {
  7097. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7098. _cached_size_ = size;
  7099. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7100. }
  7101. const ::google::protobuf::Descriptor* packetl2c_bc_manual_fire::descriptor() {
  7102. protobuf_AssignDescriptorsOnce();
  7103. return packetl2c_bc_manual_fire_descriptor_;
  7104. }
  7105. const packetl2c_bc_manual_fire& packetl2c_bc_manual_fire::default_instance() {
  7106. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  7107. return *default_instance_;
  7108. }
  7109. packetl2c_bc_manual_fire* packetl2c_bc_manual_fire::default_instance_ = NULL;
  7110. packetl2c_bc_manual_fire* packetl2c_bc_manual_fire::New() const {
  7111. return new packetl2c_bc_manual_fire;
  7112. }
  7113. void packetl2c_bc_manual_fire::Clear() {
  7114. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7115. packet_id_ = 15205;
  7116. bullet_id_ = 0;
  7117. player_id_ = 0;
  7118. bullet_angle_ = 0;
  7119. curexp_ = GOOGLE_LONGLONG(0);
  7120. bullet_type_ = 1;
  7121. is_violent_ = false;
  7122. if (has_exparam()) {
  7123. if (exparam_ != NULL) exparam_->::fish_protocols::ManualFireEx::Clear();
  7124. }
  7125. }
  7126. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7127. result_ = 0;
  7128. bulletrate_ = 0;
  7129. bulletpower_ = 0;
  7130. gold_ = GOOGLE_LONGLONG(0);
  7131. }
  7132. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7133. mutable_unknown_fields()->Clear();
  7134. }
  7135. bool packetl2c_bc_manual_fire::MergePartialFromCodedStream(
  7136. ::google::protobuf::io::CodedInputStream* input) {
  7137. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7138. ::google::protobuf::uint32 tag;
  7139. while ((tag = input->ReadTag()) != 0) {
  7140. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7141. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire];
  7142. case 1: {
  7143. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7144. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7145. int value;
  7146. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7147. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7148. input, &value)));
  7149. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  7150. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  7151. } else {
  7152. mutable_unknown_fields()->AddVarint(1, value);
  7153. }
  7154. } else {
  7155. goto handle_uninterpreted;
  7156. }
  7157. if (input->ExpectTag(16)) goto parse_bullet_id;
  7158. break;
  7159. }
  7160. // optional int32 bullet_id = 2;
  7161. case 2: {
  7162. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7163. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7164. parse_bullet_id:
  7165. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7166. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7167. input, &bullet_id_)));
  7168. set_has_bullet_id();
  7169. } else {
  7170. goto handle_uninterpreted;
  7171. }
  7172. if (input->ExpectTag(24)) goto parse_player_id;
  7173. break;
  7174. }
  7175. // optional int32 player_id = 3;
  7176. case 3: {
  7177. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7178. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7179. parse_player_id:
  7180. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7181. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7182. input, &player_id_)));
  7183. set_has_player_id();
  7184. } else {
  7185. goto handle_uninterpreted;
  7186. }
  7187. if (input->ExpectTag(32)) goto parse_bullet_angle;
  7188. break;
  7189. }
  7190. // optional int32 bullet_angle = 4;
  7191. case 4: {
  7192. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7193. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7194. parse_bullet_angle:
  7195. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7196. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7197. input, &bullet_angle_)));
  7198. set_has_bullet_angle();
  7199. } else {
  7200. goto handle_uninterpreted;
  7201. }
  7202. if (input->ExpectTag(40)) goto parse_curExp;
  7203. break;
  7204. }
  7205. // optional int64 curExp = 5;
  7206. case 5: {
  7207. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7208. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7209. parse_curExp:
  7210. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7211. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  7212. input, &curexp_)));
  7213. set_has_curexp();
  7214. } else {
  7215. goto handle_uninterpreted;
  7216. }
  7217. if (input->ExpectTag(48)) goto parse_bullet_type;
  7218. break;
  7219. }
  7220. // optional int32 bullet_type = 6 [default = 1];
  7221. case 6: {
  7222. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7223. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7224. parse_bullet_type:
  7225. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7226. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7227. input, &bullet_type_)));
  7228. set_has_bullet_type();
  7229. } else {
  7230. goto handle_uninterpreted;
  7231. }
  7232. if (input->ExpectTag(56)) goto parse_is_violent;
  7233. break;
  7234. }
  7235. // optional bool is_violent = 7 [default = false];
  7236. case 7: {
  7237. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7238. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7239. parse_is_violent:
  7240. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7241. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  7242. input, &is_violent_)));
  7243. set_has_is_violent();
  7244. } else {
  7245. goto handle_uninterpreted;
  7246. }
  7247. if (input->ExpectTag(66)) goto parse_exParam;
  7248. break;
  7249. }
  7250. // optional .fish_protocols.ManualFireEx exParam = 8;
  7251. case 8: {
  7252. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7253. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7254. parse_exParam:
  7255. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  7256. input, mutable_exparam()));
  7257. } else {
  7258. goto handle_uninterpreted;
  7259. }
  7260. if (input->ExpectTag(72)) goto parse_result;
  7261. break;
  7262. }
  7263. // optional int32 result = 9;
  7264. case 9: {
  7265. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7266. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7267. parse_result:
  7268. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7269. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7270. input, &result_)));
  7271. set_has_result();
  7272. } else {
  7273. goto handle_uninterpreted;
  7274. }
  7275. if (input->ExpectTag(80)) goto parse_bulletRate;
  7276. break;
  7277. }
  7278. // optional int32 bulletRate = 10;
  7279. case 10: {
  7280. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7281. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7282. parse_bulletRate:
  7283. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7284. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7285. input, &bulletrate_)));
  7286. set_has_bulletrate();
  7287. } else {
  7288. goto handle_uninterpreted;
  7289. }
  7290. if (input->ExpectTag(88)) goto parse_bulletPower;
  7291. break;
  7292. }
  7293. // optional int32 bulletPower = 11;
  7294. case 11: {
  7295. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7296. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7297. parse_bulletPower:
  7298. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7299. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7300. input, &bulletpower_)));
  7301. set_has_bulletpower();
  7302. } else {
  7303. goto handle_uninterpreted;
  7304. }
  7305. if (input->ExpectTag(96)) goto parse_gold;
  7306. break;
  7307. }
  7308. // optional int64 gold = 12;
  7309. case 12: {
  7310. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7311. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7312. parse_gold:
  7313. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7314. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  7315. input, &gold_)));
  7316. set_has_gold();
  7317. } else {
  7318. goto handle_uninterpreted;
  7319. }
  7320. if (input->ExpectAtEnd()) return true;
  7321. break;
  7322. }
  7323. default: {
  7324. handle_uninterpreted:
  7325. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7326. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7327. return true;
  7328. }
  7329. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7330. input, tag, mutable_unknown_fields()));
  7331. break;
  7332. }
  7333. }
  7334. }
  7335. return true;
  7336. #undef DO_
  7337. }
  7338. void packetl2c_bc_manual_fire::SerializeWithCachedSizes(
  7339. ::google::protobuf::io::CodedOutputStream* output) const {
  7340. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire];
  7341. if (has_packet_id()) {
  7342. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7343. 1, this->packet_id(), output);
  7344. }
  7345. // optional int32 bullet_id = 2;
  7346. if (has_bullet_id()) {
  7347. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->bullet_id(), output);
  7348. }
  7349. // optional int32 player_id = 3;
  7350. if (has_player_id()) {
  7351. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output);
  7352. }
  7353. // optional int32 bullet_angle = 4;
  7354. if (has_bullet_angle()) {
  7355. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bullet_angle(), output);
  7356. }
  7357. // optional int64 curExp = 5;
  7358. if (has_curexp()) {
  7359. ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->curexp(), output);
  7360. }
  7361. // optional int32 bullet_type = 6 [default = 1];
  7362. if (has_bullet_type()) {
  7363. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bullet_type(), output);
  7364. }
  7365. // optional bool is_violent = 7 [default = false];
  7366. if (has_is_violent()) {
  7367. ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->is_violent(), output);
  7368. }
  7369. // optional .fish_protocols.ManualFireEx exParam = 8;
  7370. if (has_exparam()) {
  7371. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7372. 8, this->exparam(), output);
  7373. }
  7374. // optional int32 result = 9;
  7375. if (has_result()) {
  7376. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->result(), output);
  7377. }
  7378. // optional int32 bulletRate = 10;
  7379. if (has_bulletrate()) {
  7380. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->bulletrate(), output);
  7381. }
  7382. // optional int32 bulletPower = 11;
  7383. if (has_bulletpower()) {
  7384. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->bulletpower(), output);
  7385. }
  7386. // optional int64 gold = 12;
  7387. if (has_gold()) {
  7388. ::google::protobuf::internal::WireFormatLite::WriteInt64(12, this->gold(), output);
  7389. }
  7390. if (!unknown_fields().empty()) {
  7391. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7392. unknown_fields(), output);
  7393. }
  7394. }
  7395. ::google::protobuf::uint8* packetl2c_bc_manual_fire::SerializeWithCachedSizesToArray(
  7396. ::google::protobuf::uint8* target) const {
  7397. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire];
  7398. if (has_packet_id()) {
  7399. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7400. 1, this->packet_id(), target);
  7401. }
  7402. // optional int32 bullet_id = 2;
  7403. if (has_bullet_id()) {
  7404. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->bullet_id(), target);
  7405. }
  7406. // optional int32 player_id = 3;
  7407. if (has_player_id()) {
  7408. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target);
  7409. }
  7410. // optional int32 bullet_angle = 4;
  7411. if (has_bullet_angle()) {
  7412. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bullet_angle(), target);
  7413. }
  7414. // optional int64 curExp = 5;
  7415. if (has_curexp()) {
  7416. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->curexp(), target);
  7417. }
  7418. // optional int32 bullet_type = 6 [default = 1];
  7419. if (has_bullet_type()) {
  7420. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bullet_type(), target);
  7421. }
  7422. // optional bool is_violent = 7 [default = false];
  7423. if (has_is_violent()) {
  7424. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->is_violent(), target);
  7425. }
  7426. // optional .fish_protocols.ManualFireEx exParam = 8;
  7427. if (has_exparam()) {
  7428. target = ::google::protobuf::internal::WireFormatLite::
  7429. WriteMessageNoVirtualToArray(
  7430. 8, this->exparam(), target);
  7431. }
  7432. // optional int32 result = 9;
  7433. if (has_result()) {
  7434. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->result(), target);
  7435. }
  7436. // optional int32 bulletRate = 10;
  7437. if (has_bulletrate()) {
  7438. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->bulletrate(), target);
  7439. }
  7440. // optional int32 bulletPower = 11;
  7441. if (has_bulletpower()) {
  7442. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->bulletpower(), target);
  7443. }
  7444. // optional int64 gold = 12;
  7445. if (has_gold()) {
  7446. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(12, this->gold(), target);
  7447. }
  7448. if (!unknown_fields().empty()) {
  7449. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7450. unknown_fields(), target);
  7451. }
  7452. return target;
  7453. }
  7454. int packetl2c_bc_manual_fire::ByteSize() const {
  7455. int total_size = 0;
  7456. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7457. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire];
  7458. if (has_packet_id()) {
  7459. total_size += 1 +
  7460. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  7461. }
  7462. // optional int32 bullet_id = 2;
  7463. if (has_bullet_id()) {
  7464. total_size += 1 +
  7465. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7466. this->bullet_id());
  7467. }
  7468. // optional int32 player_id = 3;
  7469. if (has_player_id()) {
  7470. total_size += 1 +
  7471. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7472. this->player_id());
  7473. }
  7474. // optional int32 bullet_angle = 4;
  7475. if (has_bullet_angle()) {
  7476. total_size += 1 +
  7477. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7478. this->bullet_angle());
  7479. }
  7480. // optional int64 curExp = 5;
  7481. if (has_curexp()) {
  7482. total_size += 1 +
  7483. ::google::protobuf::internal::WireFormatLite::Int64Size(
  7484. this->curexp());
  7485. }
  7486. // optional int32 bullet_type = 6 [default = 1];
  7487. if (has_bullet_type()) {
  7488. total_size += 1 +
  7489. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7490. this->bullet_type());
  7491. }
  7492. // optional bool is_violent = 7 [default = false];
  7493. if (has_is_violent()) {
  7494. total_size += 1 + 1;
  7495. }
  7496. // optional .fish_protocols.ManualFireEx exParam = 8;
  7497. if (has_exparam()) {
  7498. total_size += 1 +
  7499. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7500. this->exparam());
  7501. }
  7502. }
  7503. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7504. // optional int32 result = 9;
  7505. if (has_result()) {
  7506. total_size += 1 +
  7507. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7508. this->result());
  7509. }
  7510. // optional int32 bulletRate = 10;
  7511. if (has_bulletrate()) {
  7512. total_size += 1 +
  7513. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7514. this->bulletrate());
  7515. }
  7516. // optional int32 bulletPower = 11;
  7517. if (has_bulletpower()) {
  7518. total_size += 1 +
  7519. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7520. this->bulletpower());
  7521. }
  7522. // optional int64 gold = 12;
  7523. if (has_gold()) {
  7524. total_size += 1 +
  7525. ::google::protobuf::internal::WireFormatLite::Int64Size(
  7526. this->gold());
  7527. }
  7528. }
  7529. if (!unknown_fields().empty()) {
  7530. total_size +=
  7531. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7532. unknown_fields());
  7533. }
  7534. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7535. _cached_size_ = total_size;
  7536. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7537. return total_size;
  7538. }
  7539. void packetl2c_bc_manual_fire::MergeFrom(const ::google::protobuf::Message& from) {
  7540. GOOGLE_CHECK_NE(&from, this);
  7541. const packetl2c_bc_manual_fire* source =
  7542. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_manual_fire*>(
  7543. &from);
  7544. if (source == NULL) {
  7545. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7546. } else {
  7547. MergeFrom(*source);
  7548. }
  7549. }
  7550. void packetl2c_bc_manual_fire::MergeFrom(const packetl2c_bc_manual_fire& from) {
  7551. GOOGLE_CHECK_NE(&from, this);
  7552. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7553. if (from.has_packet_id()) {
  7554. set_packet_id(from.packet_id());
  7555. }
  7556. if (from.has_bullet_id()) {
  7557. set_bullet_id(from.bullet_id());
  7558. }
  7559. if (from.has_player_id()) {
  7560. set_player_id(from.player_id());
  7561. }
  7562. if (from.has_bullet_angle()) {
  7563. set_bullet_angle(from.bullet_angle());
  7564. }
  7565. if (from.has_curexp()) {
  7566. set_curexp(from.curexp());
  7567. }
  7568. if (from.has_bullet_type()) {
  7569. set_bullet_type(from.bullet_type());
  7570. }
  7571. if (from.has_is_violent()) {
  7572. set_is_violent(from.is_violent());
  7573. }
  7574. if (from.has_exparam()) {
  7575. mutable_exparam()->::fish_protocols::ManualFireEx::MergeFrom(from.exparam());
  7576. }
  7577. }
  7578. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  7579. if (from.has_result()) {
  7580. set_result(from.result());
  7581. }
  7582. if (from.has_bulletrate()) {
  7583. set_bulletrate(from.bulletrate());
  7584. }
  7585. if (from.has_bulletpower()) {
  7586. set_bulletpower(from.bulletpower());
  7587. }
  7588. if (from.has_gold()) {
  7589. set_gold(from.gold());
  7590. }
  7591. }
  7592. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7593. }
  7594. void packetl2c_bc_manual_fire::CopyFrom(const ::google::protobuf::Message& from) {
  7595. if (&from == this) return;
  7596. Clear();
  7597. MergeFrom(from);
  7598. }
  7599. void packetl2c_bc_manual_fire::CopyFrom(const packetl2c_bc_manual_fire& from) {
  7600. if (&from == this) return;
  7601. Clear();
  7602. MergeFrom(from);
  7603. }
  7604. bool packetl2c_bc_manual_fire::IsInitialized() const {
  7605. return true;
  7606. }
  7607. void packetl2c_bc_manual_fire::Swap(packetl2c_bc_manual_fire* other) {
  7608. if (other != this) {
  7609. std::swap(packet_id_, other->packet_id_);
  7610. std::swap(bullet_id_, other->bullet_id_);
  7611. std::swap(player_id_, other->player_id_);
  7612. std::swap(bullet_angle_, other->bullet_angle_);
  7613. std::swap(curexp_, other->curexp_);
  7614. std::swap(bullet_type_, other->bullet_type_);
  7615. std::swap(is_violent_, other->is_violent_);
  7616. std::swap(exparam_, other->exparam_);
  7617. std::swap(result_, other->result_);
  7618. std::swap(bulletrate_, other->bulletrate_);
  7619. std::swap(bulletpower_, other->bulletpower_);
  7620. std::swap(gold_, other->gold_);
  7621. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7622. _unknown_fields_.Swap(&other->_unknown_fields_);
  7623. std::swap(_cached_size_, other->_cached_size_);
  7624. }
  7625. }
  7626. ::google::protobuf::Metadata packetl2c_bc_manual_fire::GetMetadata() const {
  7627. protobuf_AssignDescriptorsOnce();
  7628. ::google::protobuf::Metadata metadata;
  7629. metadata.descriptor = packetl2c_bc_manual_fire_descriptor_;
  7630. metadata.reflection = packetl2c_bc_manual_fire_reflection_;
  7631. return metadata;
  7632. }
  7633. // ===================================================================
  7634. #ifndef _MSC_VER
  7635. const int packetc2l_hit_fish::kPacketIdFieldNumber;
  7636. const int packetc2l_hit_fish::kBulletIdFieldNumber;
  7637. const int packetc2l_hit_fish::kFishIdFieldNumber;
  7638. #endif // !_MSC_VER
  7639. packetc2l_hit_fish::packetc2l_hit_fish()
  7640. : ::google::protobuf::Message() {
  7641. SharedCtor();
  7642. }
  7643. void packetc2l_hit_fish::InitAsDefaultInstance() {
  7644. }
  7645. packetc2l_hit_fish::packetc2l_hit_fish(const packetc2l_hit_fish& from)
  7646. : ::google::protobuf::Message() {
  7647. SharedCtor();
  7648. MergeFrom(from);
  7649. }
  7650. void packetc2l_hit_fish::SharedCtor() {
  7651. _cached_size_ = 0;
  7652. packet_id_ = 10104;
  7653. bullet_id_ = 0;
  7654. fish_id_ = 0;
  7655. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7656. }
  7657. packetc2l_hit_fish::~packetc2l_hit_fish() {
  7658. SharedDtor();
  7659. }
  7660. void packetc2l_hit_fish::SharedDtor() {
  7661. if (this != default_instance_) {
  7662. }
  7663. }
  7664. void packetc2l_hit_fish::SetCachedSize(int size) const {
  7665. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7666. _cached_size_ = size;
  7667. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7668. }
  7669. const ::google::protobuf::Descriptor* packetc2l_hit_fish::descriptor() {
  7670. protobuf_AssignDescriptorsOnce();
  7671. return packetc2l_hit_fish_descriptor_;
  7672. }
  7673. const packetc2l_hit_fish& packetc2l_hit_fish::default_instance() {
  7674. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  7675. return *default_instance_;
  7676. }
  7677. packetc2l_hit_fish* packetc2l_hit_fish::default_instance_ = NULL;
  7678. packetc2l_hit_fish* packetc2l_hit_fish::New() const {
  7679. return new packetc2l_hit_fish;
  7680. }
  7681. void packetc2l_hit_fish::Clear() {
  7682. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7683. packet_id_ = 10104;
  7684. bullet_id_ = 0;
  7685. fish_id_ = 0;
  7686. }
  7687. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7688. mutable_unknown_fields()->Clear();
  7689. }
  7690. bool packetc2l_hit_fish::MergePartialFromCodedStream(
  7691. ::google::protobuf::io::CodedInputStream* input) {
  7692. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7693. ::google::protobuf::uint32 tag;
  7694. while ((tag = input->ReadTag()) != 0) {
  7695. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7696. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish];
  7697. case 1: {
  7698. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7699. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7700. int value;
  7701. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7702. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7703. input, &value)));
  7704. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  7705. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  7706. } else {
  7707. mutable_unknown_fields()->AddVarint(1, value);
  7708. }
  7709. } else {
  7710. goto handle_uninterpreted;
  7711. }
  7712. if (input->ExpectTag(24)) goto parse_bullet_id;
  7713. break;
  7714. }
  7715. // optional int32 bullet_id = 3;
  7716. case 3: {
  7717. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7718. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7719. parse_bullet_id:
  7720. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7721. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7722. input, &bullet_id_)));
  7723. set_has_bullet_id();
  7724. } else {
  7725. goto handle_uninterpreted;
  7726. }
  7727. if (input->ExpectTag(32)) goto parse_fish_id;
  7728. break;
  7729. }
  7730. // optional int32 fish_id = 4;
  7731. case 4: {
  7732. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7733. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7734. parse_fish_id:
  7735. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7736. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7737. input, &fish_id_)));
  7738. set_has_fish_id();
  7739. } else {
  7740. goto handle_uninterpreted;
  7741. }
  7742. if (input->ExpectAtEnd()) return true;
  7743. break;
  7744. }
  7745. default: {
  7746. handle_uninterpreted:
  7747. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7748. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7749. return true;
  7750. }
  7751. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7752. input, tag, mutable_unknown_fields()));
  7753. break;
  7754. }
  7755. }
  7756. }
  7757. return true;
  7758. #undef DO_
  7759. }
  7760. void packetc2l_hit_fish::SerializeWithCachedSizes(
  7761. ::google::protobuf::io::CodedOutputStream* output) const {
  7762. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish];
  7763. if (has_packet_id()) {
  7764. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7765. 1, this->packet_id(), output);
  7766. }
  7767. // optional int32 bullet_id = 3;
  7768. if (has_bullet_id()) {
  7769. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bullet_id(), output);
  7770. }
  7771. // optional int32 fish_id = 4;
  7772. if (has_fish_id()) {
  7773. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fish_id(), output);
  7774. }
  7775. if (!unknown_fields().empty()) {
  7776. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7777. unknown_fields(), output);
  7778. }
  7779. }
  7780. ::google::protobuf::uint8* packetc2l_hit_fish::SerializeWithCachedSizesToArray(
  7781. ::google::protobuf::uint8* target) const {
  7782. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish];
  7783. if (has_packet_id()) {
  7784. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7785. 1, this->packet_id(), target);
  7786. }
  7787. // optional int32 bullet_id = 3;
  7788. if (has_bullet_id()) {
  7789. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bullet_id(), target);
  7790. }
  7791. // optional int32 fish_id = 4;
  7792. if (has_fish_id()) {
  7793. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fish_id(), target);
  7794. }
  7795. if (!unknown_fields().empty()) {
  7796. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7797. unknown_fields(), target);
  7798. }
  7799. return target;
  7800. }
  7801. int packetc2l_hit_fish::ByteSize() const {
  7802. int total_size = 0;
  7803. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7804. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish];
  7805. if (has_packet_id()) {
  7806. total_size += 1 +
  7807. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  7808. }
  7809. // optional int32 bullet_id = 3;
  7810. if (has_bullet_id()) {
  7811. total_size += 1 +
  7812. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7813. this->bullet_id());
  7814. }
  7815. // optional int32 fish_id = 4;
  7816. if (has_fish_id()) {
  7817. total_size += 1 +
  7818. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7819. this->fish_id());
  7820. }
  7821. }
  7822. if (!unknown_fields().empty()) {
  7823. total_size +=
  7824. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7825. unknown_fields());
  7826. }
  7827. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7828. _cached_size_ = total_size;
  7829. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7830. return total_size;
  7831. }
  7832. void packetc2l_hit_fish::MergeFrom(const ::google::protobuf::Message& from) {
  7833. GOOGLE_CHECK_NE(&from, this);
  7834. const packetc2l_hit_fish* source =
  7835. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_hit_fish*>(
  7836. &from);
  7837. if (source == NULL) {
  7838. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7839. } else {
  7840. MergeFrom(*source);
  7841. }
  7842. }
  7843. void packetc2l_hit_fish::MergeFrom(const packetc2l_hit_fish& from) {
  7844. GOOGLE_CHECK_NE(&from, this);
  7845. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7846. if (from.has_packet_id()) {
  7847. set_packet_id(from.packet_id());
  7848. }
  7849. if (from.has_bullet_id()) {
  7850. set_bullet_id(from.bullet_id());
  7851. }
  7852. if (from.has_fish_id()) {
  7853. set_fish_id(from.fish_id());
  7854. }
  7855. }
  7856. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7857. }
  7858. void packetc2l_hit_fish::CopyFrom(const ::google::protobuf::Message& from) {
  7859. if (&from == this) return;
  7860. Clear();
  7861. MergeFrom(from);
  7862. }
  7863. void packetc2l_hit_fish::CopyFrom(const packetc2l_hit_fish& from) {
  7864. if (&from == this) return;
  7865. Clear();
  7866. MergeFrom(from);
  7867. }
  7868. bool packetc2l_hit_fish::IsInitialized() const {
  7869. return true;
  7870. }
  7871. void packetc2l_hit_fish::Swap(packetc2l_hit_fish* other) {
  7872. if (other != this) {
  7873. std::swap(packet_id_, other->packet_id_);
  7874. std::swap(bullet_id_, other->bullet_id_);
  7875. std::swap(fish_id_, other->fish_id_);
  7876. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7877. _unknown_fields_.Swap(&other->_unknown_fields_);
  7878. std::swap(_cached_size_, other->_cached_size_);
  7879. }
  7880. }
  7881. ::google::protobuf::Metadata packetc2l_hit_fish::GetMetadata() const {
  7882. protobuf_AssignDescriptorsOnce();
  7883. ::google::protobuf::Metadata metadata;
  7884. metadata.descriptor = packetc2l_hit_fish_descriptor_;
  7885. metadata.reflection = packetc2l_hit_fish_reflection_;
  7886. return metadata;
  7887. }
  7888. // ===================================================================
  7889. #ifndef _MSC_VER
  7890. const int packetc2l_hit_fishs::kPacketIdFieldNumber;
  7891. const int packetc2l_hit_fishs::kHitTypeFieldNumber;
  7892. const int packetc2l_hit_fishs::kBulletIdFieldNumber;
  7893. const int packetc2l_hit_fishs::kFishIdsFieldNumber;
  7894. const int packetc2l_hit_fishs::kHitParamFieldNumber;
  7895. #endif // !_MSC_VER
  7896. packetc2l_hit_fishs::packetc2l_hit_fishs()
  7897. : ::google::protobuf::Message() {
  7898. SharedCtor();
  7899. }
  7900. void packetc2l_hit_fishs::InitAsDefaultInstance() {
  7901. }
  7902. packetc2l_hit_fishs::packetc2l_hit_fishs(const packetc2l_hit_fishs& from)
  7903. : ::google::protobuf::Message() {
  7904. SharedCtor();
  7905. MergeFrom(from);
  7906. }
  7907. void packetc2l_hit_fishs::SharedCtor() {
  7908. _cached_size_ = 0;
  7909. packet_id_ = 10108;
  7910. hit_type_ = 0;
  7911. bullet_id_ = 0;
  7912. hit_param_ = 0;
  7913. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7914. }
  7915. packetc2l_hit_fishs::~packetc2l_hit_fishs() {
  7916. SharedDtor();
  7917. }
  7918. void packetc2l_hit_fishs::SharedDtor() {
  7919. if (this != default_instance_) {
  7920. }
  7921. }
  7922. void packetc2l_hit_fishs::SetCachedSize(int size) const {
  7923. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7924. _cached_size_ = size;
  7925. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7926. }
  7927. const ::google::protobuf::Descriptor* packetc2l_hit_fishs::descriptor() {
  7928. protobuf_AssignDescriptorsOnce();
  7929. return packetc2l_hit_fishs_descriptor_;
  7930. }
  7931. const packetc2l_hit_fishs& packetc2l_hit_fishs::default_instance() {
  7932. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  7933. return *default_instance_;
  7934. }
  7935. packetc2l_hit_fishs* packetc2l_hit_fishs::default_instance_ = NULL;
  7936. packetc2l_hit_fishs* packetc2l_hit_fishs::New() const {
  7937. return new packetc2l_hit_fishs;
  7938. }
  7939. void packetc2l_hit_fishs::Clear() {
  7940. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7941. packet_id_ = 10108;
  7942. hit_type_ = 0;
  7943. bullet_id_ = 0;
  7944. hit_param_ = 0;
  7945. }
  7946. fish_ids_.Clear();
  7947. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7948. mutable_unknown_fields()->Clear();
  7949. }
  7950. bool packetc2l_hit_fishs::MergePartialFromCodedStream(
  7951. ::google::protobuf::io::CodedInputStream* input) {
  7952. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7953. ::google::protobuf::uint32 tag;
  7954. while ((tag = input->ReadTag()) != 0) {
  7955. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7956. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs];
  7957. case 1: {
  7958. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7959. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7960. int value;
  7961. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7962. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7963. input, &value)));
  7964. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  7965. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  7966. } else {
  7967. mutable_unknown_fields()->AddVarint(1, value);
  7968. }
  7969. } else {
  7970. goto handle_uninterpreted;
  7971. }
  7972. if (input->ExpectTag(16)) goto parse_hit_type;
  7973. break;
  7974. }
  7975. // optional int32 hit_type = 2;
  7976. case 2: {
  7977. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7978. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7979. parse_hit_type:
  7980. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7981. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7982. input, &hit_type_)));
  7983. set_has_hit_type();
  7984. } else {
  7985. goto handle_uninterpreted;
  7986. }
  7987. if (input->ExpectTag(24)) goto parse_bullet_id;
  7988. break;
  7989. }
  7990. // optional int32 bullet_id = 3;
  7991. case 3: {
  7992. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7993. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7994. parse_bullet_id:
  7995. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7996. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7997. input, &bullet_id_)));
  7998. set_has_bullet_id();
  7999. } else {
  8000. goto handle_uninterpreted;
  8001. }
  8002. if (input->ExpectTag(32)) goto parse_fish_ids;
  8003. break;
  8004. }
  8005. // repeated int32 fish_ids = 4;
  8006. case 4: {
  8007. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8008. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8009. parse_fish_ids:
  8010. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  8011. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8012. 1, 32, input, this->mutable_fish_ids())));
  8013. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  8014. == ::google::protobuf::internal::WireFormatLite::
  8015. WIRETYPE_LENGTH_DELIMITED) {
  8016. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  8017. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8018. input, this->mutable_fish_ids())));
  8019. } else {
  8020. goto handle_uninterpreted;
  8021. }
  8022. if (input->ExpectTag(32)) goto parse_fish_ids;
  8023. if (input->ExpectTag(40)) goto parse_hit_param;
  8024. break;
  8025. }
  8026. // optional int32 hit_param = 5 [default = 0];
  8027. case 5: {
  8028. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8029. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8030. parse_hit_param:
  8031. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8032. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8033. input, &hit_param_)));
  8034. set_has_hit_param();
  8035. } else {
  8036. goto handle_uninterpreted;
  8037. }
  8038. if (input->ExpectAtEnd()) return true;
  8039. break;
  8040. }
  8041. default: {
  8042. handle_uninterpreted:
  8043. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8044. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8045. return true;
  8046. }
  8047. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8048. input, tag, mutable_unknown_fields()));
  8049. break;
  8050. }
  8051. }
  8052. }
  8053. return true;
  8054. #undef DO_
  8055. }
  8056. void packetc2l_hit_fishs::SerializeWithCachedSizes(
  8057. ::google::protobuf::io::CodedOutputStream* output) const {
  8058. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs];
  8059. if (has_packet_id()) {
  8060. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  8061. 1, this->packet_id(), output);
  8062. }
  8063. // optional int32 hit_type = 2;
  8064. if (has_hit_type()) {
  8065. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->hit_type(), output);
  8066. }
  8067. // optional int32 bullet_id = 3;
  8068. if (has_bullet_id()) {
  8069. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bullet_id(), output);
  8070. }
  8071. // repeated int32 fish_ids = 4;
  8072. for (int i = 0; i < this->fish_ids_size(); i++) {
  8073. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  8074. 4, this->fish_ids(i), output);
  8075. }
  8076. // optional int32 hit_param = 5 [default = 0];
  8077. if (has_hit_param()) {
  8078. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->hit_param(), output);
  8079. }
  8080. if (!unknown_fields().empty()) {
  8081. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8082. unknown_fields(), output);
  8083. }
  8084. }
  8085. ::google::protobuf::uint8* packetc2l_hit_fishs::SerializeWithCachedSizesToArray(
  8086. ::google::protobuf::uint8* target) const {
  8087. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs];
  8088. if (has_packet_id()) {
  8089. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  8090. 1, this->packet_id(), target);
  8091. }
  8092. // optional int32 hit_type = 2;
  8093. if (has_hit_type()) {
  8094. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->hit_type(), target);
  8095. }
  8096. // optional int32 bullet_id = 3;
  8097. if (has_bullet_id()) {
  8098. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bullet_id(), target);
  8099. }
  8100. // repeated int32 fish_ids = 4;
  8101. for (int i = 0; i < this->fish_ids_size(); i++) {
  8102. target = ::google::protobuf::internal::WireFormatLite::
  8103. WriteInt32ToArray(4, this->fish_ids(i), target);
  8104. }
  8105. // optional int32 hit_param = 5 [default = 0];
  8106. if (has_hit_param()) {
  8107. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->hit_param(), target);
  8108. }
  8109. if (!unknown_fields().empty()) {
  8110. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8111. unknown_fields(), target);
  8112. }
  8113. return target;
  8114. }
  8115. int packetc2l_hit_fishs::ByteSize() const {
  8116. int total_size = 0;
  8117. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8118. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs];
  8119. if (has_packet_id()) {
  8120. total_size += 1 +
  8121. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  8122. }
  8123. // optional int32 hit_type = 2;
  8124. if (has_hit_type()) {
  8125. total_size += 1 +
  8126. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8127. this->hit_type());
  8128. }
  8129. // optional int32 bullet_id = 3;
  8130. if (has_bullet_id()) {
  8131. total_size += 1 +
  8132. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8133. this->bullet_id());
  8134. }
  8135. // optional int32 hit_param = 5 [default = 0];
  8136. if (has_hit_param()) {
  8137. total_size += 1 +
  8138. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8139. this->hit_param());
  8140. }
  8141. }
  8142. // repeated int32 fish_ids = 4;
  8143. {
  8144. int data_size = 0;
  8145. for (int i = 0; i < this->fish_ids_size(); i++) {
  8146. data_size += ::google::protobuf::internal::WireFormatLite::
  8147. Int32Size(this->fish_ids(i));
  8148. }
  8149. total_size += 1 * this->fish_ids_size() + data_size;
  8150. }
  8151. if (!unknown_fields().empty()) {
  8152. total_size +=
  8153. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8154. unknown_fields());
  8155. }
  8156. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8157. _cached_size_ = total_size;
  8158. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8159. return total_size;
  8160. }
  8161. void packetc2l_hit_fishs::MergeFrom(const ::google::protobuf::Message& from) {
  8162. GOOGLE_CHECK_NE(&from, this);
  8163. const packetc2l_hit_fishs* source =
  8164. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_hit_fishs*>(
  8165. &from);
  8166. if (source == NULL) {
  8167. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8168. } else {
  8169. MergeFrom(*source);
  8170. }
  8171. }
  8172. void packetc2l_hit_fishs::MergeFrom(const packetc2l_hit_fishs& from) {
  8173. GOOGLE_CHECK_NE(&from, this);
  8174. fish_ids_.MergeFrom(from.fish_ids_);
  8175. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8176. if (from.has_packet_id()) {
  8177. set_packet_id(from.packet_id());
  8178. }
  8179. if (from.has_hit_type()) {
  8180. set_hit_type(from.hit_type());
  8181. }
  8182. if (from.has_bullet_id()) {
  8183. set_bullet_id(from.bullet_id());
  8184. }
  8185. if (from.has_hit_param()) {
  8186. set_hit_param(from.hit_param());
  8187. }
  8188. }
  8189. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8190. }
  8191. void packetc2l_hit_fishs::CopyFrom(const ::google::protobuf::Message& from) {
  8192. if (&from == this) return;
  8193. Clear();
  8194. MergeFrom(from);
  8195. }
  8196. void packetc2l_hit_fishs::CopyFrom(const packetc2l_hit_fishs& from) {
  8197. if (&from == this) return;
  8198. Clear();
  8199. MergeFrom(from);
  8200. }
  8201. bool packetc2l_hit_fishs::IsInitialized() const {
  8202. return true;
  8203. }
  8204. void packetc2l_hit_fishs::Swap(packetc2l_hit_fishs* other) {
  8205. if (other != this) {
  8206. std::swap(packet_id_, other->packet_id_);
  8207. std::swap(hit_type_, other->hit_type_);
  8208. std::swap(bullet_id_, other->bullet_id_);
  8209. fish_ids_.Swap(&other->fish_ids_);
  8210. std::swap(hit_param_, other->hit_param_);
  8211. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8212. _unknown_fields_.Swap(&other->_unknown_fields_);
  8213. std::swap(_cached_size_, other->_cached_size_);
  8214. }
  8215. }
  8216. ::google::protobuf::Metadata packetc2l_hit_fishs::GetMetadata() const {
  8217. protobuf_AssignDescriptorsOnce();
  8218. ::google::protobuf::Metadata metadata;
  8219. metadata.descriptor = packetc2l_hit_fishs_descriptor_;
  8220. metadata.reflection = packetc2l_hit_fishs_reflection_;
  8221. return metadata;
  8222. }
  8223. // ===================================================================
  8224. #ifndef _MSC_VER
  8225. const int LegindaryCoinGainInfo::kPlayerIdFieldNumber;
  8226. const int LegindaryCoinGainInfo::kCountFieldNumber;
  8227. #endif // !_MSC_VER
  8228. LegindaryCoinGainInfo::LegindaryCoinGainInfo()
  8229. : ::google::protobuf::Message() {
  8230. SharedCtor();
  8231. }
  8232. void LegindaryCoinGainInfo::InitAsDefaultInstance() {
  8233. }
  8234. LegindaryCoinGainInfo::LegindaryCoinGainInfo(const LegindaryCoinGainInfo& from)
  8235. : ::google::protobuf::Message() {
  8236. SharedCtor();
  8237. MergeFrom(from);
  8238. }
  8239. void LegindaryCoinGainInfo::SharedCtor() {
  8240. _cached_size_ = 0;
  8241. playerid_ = 0;
  8242. count_ = 0;
  8243. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8244. }
  8245. LegindaryCoinGainInfo::~LegindaryCoinGainInfo() {
  8246. SharedDtor();
  8247. }
  8248. void LegindaryCoinGainInfo::SharedDtor() {
  8249. if (this != default_instance_) {
  8250. }
  8251. }
  8252. void LegindaryCoinGainInfo::SetCachedSize(int size) const {
  8253. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8254. _cached_size_ = size;
  8255. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8256. }
  8257. const ::google::protobuf::Descriptor* LegindaryCoinGainInfo::descriptor() {
  8258. protobuf_AssignDescriptorsOnce();
  8259. return LegindaryCoinGainInfo_descriptor_;
  8260. }
  8261. const LegindaryCoinGainInfo& LegindaryCoinGainInfo::default_instance() {
  8262. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  8263. return *default_instance_;
  8264. }
  8265. LegindaryCoinGainInfo* LegindaryCoinGainInfo::default_instance_ = NULL;
  8266. LegindaryCoinGainInfo* LegindaryCoinGainInfo::New() const {
  8267. return new LegindaryCoinGainInfo;
  8268. }
  8269. void LegindaryCoinGainInfo::Clear() {
  8270. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8271. playerid_ = 0;
  8272. count_ = 0;
  8273. }
  8274. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8275. mutable_unknown_fields()->Clear();
  8276. }
  8277. bool LegindaryCoinGainInfo::MergePartialFromCodedStream(
  8278. ::google::protobuf::io::CodedInputStream* input) {
  8279. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8280. ::google::protobuf::uint32 tag;
  8281. while ((tag = input->ReadTag()) != 0) {
  8282. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8283. // optional int32 playerId = 1;
  8284. case 1: {
  8285. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8286. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8287. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8288. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8289. input, &playerid_)));
  8290. set_has_playerid();
  8291. } else {
  8292. goto handle_uninterpreted;
  8293. }
  8294. if (input->ExpectTag(16)) goto parse_count;
  8295. break;
  8296. }
  8297. // optional int32 count = 2;
  8298. case 2: {
  8299. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8300. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8301. parse_count:
  8302. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8303. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8304. input, &count_)));
  8305. set_has_count();
  8306. } else {
  8307. goto handle_uninterpreted;
  8308. }
  8309. if (input->ExpectAtEnd()) return true;
  8310. break;
  8311. }
  8312. default: {
  8313. handle_uninterpreted:
  8314. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8315. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8316. return true;
  8317. }
  8318. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8319. input, tag, mutable_unknown_fields()));
  8320. break;
  8321. }
  8322. }
  8323. }
  8324. return true;
  8325. #undef DO_
  8326. }
  8327. void LegindaryCoinGainInfo::SerializeWithCachedSizes(
  8328. ::google::protobuf::io::CodedOutputStream* output) const {
  8329. // optional int32 playerId = 1;
  8330. if (has_playerid()) {
  8331. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output);
  8332. }
  8333. // optional int32 count = 2;
  8334. if (has_count()) {
  8335. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  8336. }
  8337. if (!unknown_fields().empty()) {
  8338. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8339. unknown_fields(), output);
  8340. }
  8341. }
  8342. ::google::protobuf::uint8* LegindaryCoinGainInfo::SerializeWithCachedSizesToArray(
  8343. ::google::protobuf::uint8* target) const {
  8344. // optional int32 playerId = 1;
  8345. if (has_playerid()) {
  8346. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target);
  8347. }
  8348. // optional int32 count = 2;
  8349. if (has_count()) {
  8350. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  8351. }
  8352. if (!unknown_fields().empty()) {
  8353. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8354. unknown_fields(), target);
  8355. }
  8356. return target;
  8357. }
  8358. int LegindaryCoinGainInfo::ByteSize() const {
  8359. int total_size = 0;
  8360. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8361. // optional int32 playerId = 1;
  8362. if (has_playerid()) {
  8363. total_size += 1 +
  8364. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8365. this->playerid());
  8366. }
  8367. // optional int32 count = 2;
  8368. if (has_count()) {
  8369. total_size += 1 +
  8370. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8371. this->count());
  8372. }
  8373. }
  8374. if (!unknown_fields().empty()) {
  8375. total_size +=
  8376. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8377. unknown_fields());
  8378. }
  8379. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8380. _cached_size_ = total_size;
  8381. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8382. return total_size;
  8383. }
  8384. void LegindaryCoinGainInfo::MergeFrom(const ::google::protobuf::Message& from) {
  8385. GOOGLE_CHECK_NE(&from, this);
  8386. const LegindaryCoinGainInfo* source =
  8387. ::google::protobuf::internal::dynamic_cast_if_available<const LegindaryCoinGainInfo*>(
  8388. &from);
  8389. if (source == NULL) {
  8390. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8391. } else {
  8392. MergeFrom(*source);
  8393. }
  8394. }
  8395. void LegindaryCoinGainInfo::MergeFrom(const LegindaryCoinGainInfo& from) {
  8396. GOOGLE_CHECK_NE(&from, this);
  8397. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8398. if (from.has_playerid()) {
  8399. set_playerid(from.playerid());
  8400. }
  8401. if (from.has_count()) {
  8402. set_count(from.count());
  8403. }
  8404. }
  8405. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8406. }
  8407. void LegindaryCoinGainInfo::CopyFrom(const ::google::protobuf::Message& from) {
  8408. if (&from == this) return;
  8409. Clear();
  8410. MergeFrom(from);
  8411. }
  8412. void LegindaryCoinGainInfo::CopyFrom(const LegindaryCoinGainInfo& from) {
  8413. if (&from == this) return;
  8414. Clear();
  8415. MergeFrom(from);
  8416. }
  8417. bool LegindaryCoinGainInfo::IsInitialized() const {
  8418. return true;
  8419. }
  8420. void LegindaryCoinGainInfo::Swap(LegindaryCoinGainInfo* other) {
  8421. if (other != this) {
  8422. std::swap(playerid_, other->playerid_);
  8423. std::swap(count_, other->count_);
  8424. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8425. _unknown_fields_.Swap(&other->_unknown_fields_);
  8426. std::swap(_cached_size_, other->_cached_size_);
  8427. }
  8428. }
  8429. ::google::protobuf::Metadata LegindaryCoinGainInfo::GetMetadata() const {
  8430. protobuf_AssignDescriptorsOnce();
  8431. ::google::protobuf::Metadata metadata;
  8432. metadata.descriptor = LegindaryCoinGainInfo_descriptor_;
  8433. metadata.reflection = LegindaryCoinGainInfo_reflection_;
  8434. return metadata;
  8435. }
  8436. // ===================================================================
  8437. #ifndef _MSC_VER
  8438. const int packetl2c_bc_fish_die::kPacketIdFieldNumber;
  8439. const int packetl2c_bc_fish_die::kFishIdFieldNumber;
  8440. const int packetl2c_bc_fish_die::kKillIdFieldNumber;
  8441. const int packetl2c_bc_fish_die::kScoreFieldNumber;
  8442. const int packetl2c_bc_fish_die::kDiamondFieldNumber;
  8443. const int packetl2c_bc_fish_die::kTicketFieldNumber;
  8444. const int packetl2c_bc_fish_die::kDimensityFieldNumber;
  8445. const int packetl2c_bc_fish_die::kRefItemIdFieldNumber;
  8446. const int packetl2c_bc_fish_die::kDragonBallFieldNumber;
  8447. const int packetl2c_bc_fish_die::kLegendaryCoinFieldNumber;
  8448. const int packetl2c_bc_fish_die::kPointFieldNumber;
  8449. const int packetl2c_bc_fish_die::kAddpointFieldNumber;
  8450. const int packetl2c_bc_fish_die::kQualifyPointFieldNumber;
  8451. const int packetl2c_bc_fish_die::kDailyTopCardInfoFieldNumber;
  8452. const int packetl2c_bc_fish_die::kItemsFieldNumber;
  8453. const int packetl2c_bc_fish_die::kFishCfgIdFieldNumber;
  8454. const int packetl2c_bc_fish_die::kFishScoreFieldNumber;
  8455. #endif // !_MSC_VER
  8456. packetl2c_bc_fish_die::packetl2c_bc_fish_die()
  8457. : ::google::protobuf::Message() {
  8458. SharedCtor();
  8459. }
  8460. void packetl2c_bc_fish_die::InitAsDefaultInstance() {
  8461. dailytopcardinfo_ = const_cast< ::fish_protocols::ArmedSharkCardTypeInfo*>(&::fish_protocols::ArmedSharkCardTypeInfo::default_instance());
  8462. }
  8463. packetl2c_bc_fish_die::packetl2c_bc_fish_die(const packetl2c_bc_fish_die& from)
  8464. : ::google::protobuf::Message() {
  8465. SharedCtor();
  8466. MergeFrom(from);
  8467. }
  8468. void packetl2c_bc_fish_die::SharedCtor() {
  8469. _cached_size_ = 0;
  8470. packet_id_ = 15206;
  8471. fish_id_ = 0;
  8472. kill_id_ = 0;
  8473. score_ = 0;
  8474. diamond_ = 0;
  8475. ticket_ = 0;
  8476. dimensity_ = 0;
  8477. refitemid_ = 0;
  8478. dragonball_ = 0;
  8479. point_ = 0;
  8480. addpoint_ = 0;
  8481. qualifypoint_ = 0;
  8482. dailytopcardinfo_ = NULL;
  8483. fishcfgid_ = 0;
  8484. fishscore_ = 0;
  8485. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8486. }
  8487. packetl2c_bc_fish_die::~packetl2c_bc_fish_die() {
  8488. SharedDtor();
  8489. }
  8490. void packetl2c_bc_fish_die::SharedDtor() {
  8491. if (this != default_instance_) {
  8492. delete dailytopcardinfo_;
  8493. }
  8494. }
  8495. void packetl2c_bc_fish_die::SetCachedSize(int size) const {
  8496. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8497. _cached_size_ = size;
  8498. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8499. }
  8500. const ::google::protobuf::Descriptor* packetl2c_bc_fish_die::descriptor() {
  8501. protobuf_AssignDescriptorsOnce();
  8502. return packetl2c_bc_fish_die_descriptor_;
  8503. }
  8504. const packetl2c_bc_fish_die& packetl2c_bc_fish_die::default_instance() {
  8505. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  8506. return *default_instance_;
  8507. }
  8508. packetl2c_bc_fish_die* packetl2c_bc_fish_die::default_instance_ = NULL;
  8509. packetl2c_bc_fish_die* packetl2c_bc_fish_die::New() const {
  8510. return new packetl2c_bc_fish_die;
  8511. }
  8512. void packetl2c_bc_fish_die::Clear() {
  8513. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8514. packet_id_ = 15206;
  8515. fish_id_ = 0;
  8516. kill_id_ = 0;
  8517. score_ = 0;
  8518. diamond_ = 0;
  8519. ticket_ = 0;
  8520. dimensity_ = 0;
  8521. refitemid_ = 0;
  8522. }
  8523. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  8524. dragonball_ = 0;
  8525. point_ = 0;
  8526. addpoint_ = 0;
  8527. qualifypoint_ = 0;
  8528. if (has_dailytopcardinfo()) {
  8529. if (dailytopcardinfo_ != NULL) dailytopcardinfo_->::fish_protocols::ArmedSharkCardTypeInfo::Clear();
  8530. }
  8531. fishcfgid_ = 0;
  8532. }
  8533. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  8534. fishscore_ = 0;
  8535. }
  8536. legendarycoin_.Clear();
  8537. items_.Clear();
  8538. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8539. mutable_unknown_fields()->Clear();
  8540. }
  8541. bool packetl2c_bc_fish_die::MergePartialFromCodedStream(
  8542. ::google::protobuf::io::CodedInputStream* input) {
  8543. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8544. ::google::protobuf::uint32 tag;
  8545. while ((tag = input->ReadTag()) != 0) {
  8546. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8547. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die];
  8548. case 1: {
  8549. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8550. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8551. int value;
  8552. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8553. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  8554. input, &value)));
  8555. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  8556. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  8557. } else {
  8558. mutable_unknown_fields()->AddVarint(1, value);
  8559. }
  8560. } else {
  8561. goto handle_uninterpreted;
  8562. }
  8563. if (input->ExpectTag(16)) goto parse_fish_id;
  8564. break;
  8565. }
  8566. // optional int32 fish_id = 2;
  8567. case 2: {
  8568. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8569. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8570. parse_fish_id:
  8571. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8572. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8573. input, &fish_id_)));
  8574. set_has_fish_id();
  8575. } else {
  8576. goto handle_uninterpreted;
  8577. }
  8578. if (input->ExpectTag(24)) goto parse_kill_id;
  8579. break;
  8580. }
  8581. // optional int32 kill_id = 3;
  8582. case 3: {
  8583. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8584. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8585. parse_kill_id:
  8586. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8587. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8588. input, &kill_id_)));
  8589. set_has_kill_id();
  8590. } else {
  8591. goto handle_uninterpreted;
  8592. }
  8593. if (input->ExpectTag(32)) goto parse_score;
  8594. break;
  8595. }
  8596. // optional int32 score = 4;
  8597. case 4: {
  8598. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8599. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8600. parse_score:
  8601. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8602. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8603. input, &score_)));
  8604. set_has_score();
  8605. } else {
  8606. goto handle_uninterpreted;
  8607. }
  8608. if (input->ExpectTag(40)) goto parse_diamond;
  8609. break;
  8610. }
  8611. // optional int32 diamond = 5 [default = 0];
  8612. case 5: {
  8613. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8614. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8615. parse_diamond:
  8616. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8617. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8618. input, &diamond_)));
  8619. set_has_diamond();
  8620. } else {
  8621. goto handle_uninterpreted;
  8622. }
  8623. if (input->ExpectTag(48)) goto parse_ticket;
  8624. break;
  8625. }
  8626. // optional int32 ticket = 6 [default = 0];
  8627. case 6: {
  8628. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8629. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8630. parse_ticket:
  8631. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8632. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8633. input, &ticket_)));
  8634. set_has_ticket();
  8635. } else {
  8636. goto handle_uninterpreted;
  8637. }
  8638. if (input->ExpectTag(56)) goto parse_dimensity;
  8639. break;
  8640. }
  8641. // optional int32 dimensity = 7 [default = 0];
  8642. case 7: {
  8643. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8644. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8645. parse_dimensity:
  8646. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8647. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8648. input, &dimensity_)));
  8649. set_has_dimensity();
  8650. } else {
  8651. goto handle_uninterpreted;
  8652. }
  8653. if (input->ExpectTag(64)) goto parse_refItemId;
  8654. break;
  8655. }
  8656. // optional int32 refItemId = 8 [default = 0];
  8657. case 8: {
  8658. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8659. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8660. parse_refItemId:
  8661. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8662. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8663. input, &refitemid_)));
  8664. set_has_refitemid();
  8665. } else {
  8666. goto handle_uninterpreted;
  8667. }
  8668. if (input->ExpectTag(72)) goto parse_DragonBall;
  8669. break;
  8670. }
  8671. // optional int32 DragonBall = 9 [default = 0];
  8672. case 9: {
  8673. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8674. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8675. parse_DragonBall:
  8676. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8677. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8678. input, &dragonball_)));
  8679. set_has_dragonball();
  8680. } else {
  8681. goto handle_uninterpreted;
  8682. }
  8683. if (input->ExpectTag(82)) goto parse_LegendaryCoin;
  8684. break;
  8685. }
  8686. // repeated .fish_protocols.LegindaryCoinGainInfo LegendaryCoin = 10;
  8687. case 10: {
  8688. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8689. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8690. parse_LegendaryCoin:
  8691. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8692. input, add_legendarycoin()));
  8693. } else {
  8694. goto handle_uninterpreted;
  8695. }
  8696. if (input->ExpectTag(82)) goto parse_LegendaryCoin;
  8697. if (input->ExpectTag(88)) goto parse_point;
  8698. break;
  8699. }
  8700. // optional int32 point = 11 [default = 0];
  8701. case 11: {
  8702. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8703. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8704. parse_point:
  8705. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8706. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8707. input, &point_)));
  8708. set_has_point();
  8709. } else {
  8710. goto handle_uninterpreted;
  8711. }
  8712. if (input->ExpectTag(96)) goto parse_addpoint;
  8713. break;
  8714. }
  8715. // optional int32 addpoint = 12 [default = 0];
  8716. case 12: {
  8717. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8718. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8719. parse_addpoint:
  8720. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8721. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8722. input, &addpoint_)));
  8723. set_has_addpoint();
  8724. } else {
  8725. goto handle_uninterpreted;
  8726. }
  8727. if (input->ExpectTag(104)) goto parse_qualifyPoint;
  8728. break;
  8729. }
  8730. // optional int32 qualifyPoint = 13 [default = 0];
  8731. case 13: {
  8732. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8733. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8734. parse_qualifyPoint:
  8735. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8736. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8737. input, &qualifypoint_)));
  8738. set_has_qualifypoint();
  8739. } else {
  8740. goto handle_uninterpreted;
  8741. }
  8742. if (input->ExpectTag(114)) goto parse_dailyTopCardInfo;
  8743. break;
  8744. }
  8745. // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 14;
  8746. case 14: {
  8747. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8748. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8749. parse_dailyTopCardInfo:
  8750. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8751. input, mutable_dailytopcardinfo()));
  8752. } else {
  8753. goto handle_uninterpreted;
  8754. }
  8755. if (input->ExpectTag(122)) goto parse_items;
  8756. break;
  8757. }
  8758. // repeated .fish_protocols.msg_item items = 15;
  8759. case 15: {
  8760. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8761. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8762. parse_items:
  8763. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  8764. input, add_items()));
  8765. } else {
  8766. goto handle_uninterpreted;
  8767. }
  8768. if (input->ExpectTag(122)) goto parse_items;
  8769. if (input->ExpectTag(128)) goto parse_fishCfgId;
  8770. break;
  8771. }
  8772. // optional int32 fishCfgId = 16;
  8773. case 16: {
  8774. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8775. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8776. parse_fishCfgId:
  8777. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8778. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8779. input, &fishcfgid_)));
  8780. set_has_fishcfgid();
  8781. } else {
  8782. goto handle_uninterpreted;
  8783. }
  8784. if (input->ExpectTag(136)) goto parse_fishScore;
  8785. break;
  8786. }
  8787. // optional int32 fishScore = 17;
  8788. case 17: {
  8789. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8790. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8791. parse_fishScore:
  8792. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8793. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8794. input, &fishscore_)));
  8795. set_has_fishscore();
  8796. } else {
  8797. goto handle_uninterpreted;
  8798. }
  8799. if (input->ExpectAtEnd()) return true;
  8800. break;
  8801. }
  8802. default: {
  8803. handle_uninterpreted:
  8804. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8805. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8806. return true;
  8807. }
  8808. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8809. input, tag, mutable_unknown_fields()));
  8810. break;
  8811. }
  8812. }
  8813. }
  8814. return true;
  8815. #undef DO_
  8816. }
  8817. void packetl2c_bc_fish_die::SerializeWithCachedSizes(
  8818. ::google::protobuf::io::CodedOutputStream* output) const {
  8819. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die];
  8820. if (has_packet_id()) {
  8821. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  8822. 1, this->packet_id(), output);
  8823. }
  8824. // optional int32 fish_id = 2;
  8825. if (has_fish_id()) {
  8826. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fish_id(), output);
  8827. }
  8828. // optional int32 kill_id = 3;
  8829. if (has_kill_id()) {
  8830. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->kill_id(), output);
  8831. }
  8832. // optional int32 score = 4;
  8833. if (has_score()) {
  8834. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->score(), output);
  8835. }
  8836. // optional int32 diamond = 5 [default = 0];
  8837. if (has_diamond()) {
  8838. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->diamond(), output);
  8839. }
  8840. // optional int32 ticket = 6 [default = 0];
  8841. if (has_ticket()) {
  8842. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->ticket(), output);
  8843. }
  8844. // optional int32 dimensity = 7 [default = 0];
  8845. if (has_dimensity()) {
  8846. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->dimensity(), output);
  8847. }
  8848. // optional int32 refItemId = 8 [default = 0];
  8849. if (has_refitemid()) {
  8850. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->refitemid(), output);
  8851. }
  8852. // optional int32 DragonBall = 9 [default = 0];
  8853. if (has_dragonball()) {
  8854. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->dragonball(), output);
  8855. }
  8856. // repeated .fish_protocols.LegindaryCoinGainInfo LegendaryCoin = 10;
  8857. for (int i = 0; i < this->legendarycoin_size(); i++) {
  8858. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8859. 10, this->legendarycoin(i), output);
  8860. }
  8861. // optional int32 point = 11 [default = 0];
  8862. if (has_point()) {
  8863. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->point(), output);
  8864. }
  8865. // optional int32 addpoint = 12 [default = 0];
  8866. if (has_addpoint()) {
  8867. ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->addpoint(), output);
  8868. }
  8869. // optional int32 qualifyPoint = 13 [default = 0];
  8870. if (has_qualifypoint()) {
  8871. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->qualifypoint(), output);
  8872. }
  8873. // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 14;
  8874. if (has_dailytopcardinfo()) {
  8875. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8876. 14, this->dailytopcardinfo(), output);
  8877. }
  8878. // repeated .fish_protocols.msg_item items = 15;
  8879. for (int i = 0; i < this->items_size(); i++) {
  8880. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  8881. 15, this->items(i), output);
  8882. }
  8883. // optional int32 fishCfgId = 16;
  8884. if (has_fishcfgid()) {
  8885. ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->fishcfgid(), output);
  8886. }
  8887. // optional int32 fishScore = 17;
  8888. if (has_fishscore()) {
  8889. ::google::protobuf::internal::WireFormatLite::WriteInt32(17, this->fishscore(), output);
  8890. }
  8891. if (!unknown_fields().empty()) {
  8892. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8893. unknown_fields(), output);
  8894. }
  8895. }
  8896. ::google::protobuf::uint8* packetl2c_bc_fish_die::SerializeWithCachedSizesToArray(
  8897. ::google::protobuf::uint8* target) const {
  8898. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die];
  8899. if (has_packet_id()) {
  8900. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  8901. 1, this->packet_id(), target);
  8902. }
  8903. // optional int32 fish_id = 2;
  8904. if (has_fish_id()) {
  8905. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fish_id(), target);
  8906. }
  8907. // optional int32 kill_id = 3;
  8908. if (has_kill_id()) {
  8909. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->kill_id(), target);
  8910. }
  8911. // optional int32 score = 4;
  8912. if (has_score()) {
  8913. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->score(), target);
  8914. }
  8915. // optional int32 diamond = 5 [default = 0];
  8916. if (has_diamond()) {
  8917. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->diamond(), target);
  8918. }
  8919. // optional int32 ticket = 6 [default = 0];
  8920. if (has_ticket()) {
  8921. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->ticket(), target);
  8922. }
  8923. // optional int32 dimensity = 7 [default = 0];
  8924. if (has_dimensity()) {
  8925. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->dimensity(), target);
  8926. }
  8927. // optional int32 refItemId = 8 [default = 0];
  8928. if (has_refitemid()) {
  8929. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->refitemid(), target);
  8930. }
  8931. // optional int32 DragonBall = 9 [default = 0];
  8932. if (has_dragonball()) {
  8933. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->dragonball(), target);
  8934. }
  8935. // repeated .fish_protocols.LegindaryCoinGainInfo LegendaryCoin = 10;
  8936. for (int i = 0; i < this->legendarycoin_size(); i++) {
  8937. target = ::google::protobuf::internal::WireFormatLite::
  8938. WriteMessageNoVirtualToArray(
  8939. 10, this->legendarycoin(i), target);
  8940. }
  8941. // optional int32 point = 11 [default = 0];
  8942. if (has_point()) {
  8943. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->point(), target);
  8944. }
  8945. // optional int32 addpoint = 12 [default = 0];
  8946. if (has_addpoint()) {
  8947. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->addpoint(), target);
  8948. }
  8949. // optional int32 qualifyPoint = 13 [default = 0];
  8950. if (has_qualifypoint()) {
  8951. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->qualifypoint(), target);
  8952. }
  8953. // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 14;
  8954. if (has_dailytopcardinfo()) {
  8955. target = ::google::protobuf::internal::WireFormatLite::
  8956. WriteMessageNoVirtualToArray(
  8957. 14, this->dailytopcardinfo(), target);
  8958. }
  8959. // repeated .fish_protocols.msg_item items = 15;
  8960. for (int i = 0; i < this->items_size(); i++) {
  8961. target = ::google::protobuf::internal::WireFormatLite::
  8962. WriteMessageNoVirtualToArray(
  8963. 15, this->items(i), target);
  8964. }
  8965. // optional int32 fishCfgId = 16;
  8966. if (has_fishcfgid()) {
  8967. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->fishcfgid(), target);
  8968. }
  8969. // optional int32 fishScore = 17;
  8970. if (has_fishscore()) {
  8971. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(17, this->fishscore(), target);
  8972. }
  8973. if (!unknown_fields().empty()) {
  8974. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8975. unknown_fields(), target);
  8976. }
  8977. return target;
  8978. }
  8979. int packetl2c_bc_fish_die::ByteSize() const {
  8980. int total_size = 0;
  8981. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8982. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die];
  8983. if (has_packet_id()) {
  8984. total_size += 1 +
  8985. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  8986. }
  8987. // optional int32 fish_id = 2;
  8988. if (has_fish_id()) {
  8989. total_size += 1 +
  8990. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8991. this->fish_id());
  8992. }
  8993. // optional int32 kill_id = 3;
  8994. if (has_kill_id()) {
  8995. total_size += 1 +
  8996. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8997. this->kill_id());
  8998. }
  8999. // optional int32 score = 4;
  9000. if (has_score()) {
  9001. total_size += 1 +
  9002. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9003. this->score());
  9004. }
  9005. // optional int32 diamond = 5 [default = 0];
  9006. if (has_diamond()) {
  9007. total_size += 1 +
  9008. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9009. this->diamond());
  9010. }
  9011. // optional int32 ticket = 6 [default = 0];
  9012. if (has_ticket()) {
  9013. total_size += 1 +
  9014. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9015. this->ticket());
  9016. }
  9017. // optional int32 dimensity = 7 [default = 0];
  9018. if (has_dimensity()) {
  9019. total_size += 1 +
  9020. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9021. this->dimensity());
  9022. }
  9023. // optional int32 refItemId = 8 [default = 0];
  9024. if (has_refitemid()) {
  9025. total_size += 1 +
  9026. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9027. this->refitemid());
  9028. }
  9029. }
  9030. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9031. // optional int32 DragonBall = 9 [default = 0];
  9032. if (has_dragonball()) {
  9033. total_size += 1 +
  9034. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9035. this->dragonball());
  9036. }
  9037. // optional int32 point = 11 [default = 0];
  9038. if (has_point()) {
  9039. total_size += 1 +
  9040. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9041. this->point());
  9042. }
  9043. // optional int32 addpoint = 12 [default = 0];
  9044. if (has_addpoint()) {
  9045. total_size += 1 +
  9046. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9047. this->addpoint());
  9048. }
  9049. // optional int32 qualifyPoint = 13 [default = 0];
  9050. if (has_qualifypoint()) {
  9051. total_size += 1 +
  9052. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9053. this->qualifypoint());
  9054. }
  9055. // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 14;
  9056. if (has_dailytopcardinfo()) {
  9057. total_size += 1 +
  9058. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  9059. this->dailytopcardinfo());
  9060. }
  9061. // optional int32 fishCfgId = 16;
  9062. if (has_fishcfgid()) {
  9063. total_size += 2 +
  9064. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9065. this->fishcfgid());
  9066. }
  9067. }
  9068. if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  9069. // optional int32 fishScore = 17;
  9070. if (has_fishscore()) {
  9071. total_size += 2 +
  9072. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9073. this->fishscore());
  9074. }
  9075. }
  9076. // repeated .fish_protocols.LegindaryCoinGainInfo LegendaryCoin = 10;
  9077. total_size += 1 * this->legendarycoin_size();
  9078. for (int i = 0; i < this->legendarycoin_size(); i++) {
  9079. total_size +=
  9080. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  9081. this->legendarycoin(i));
  9082. }
  9083. // repeated .fish_protocols.msg_item items = 15;
  9084. total_size += 1 * this->items_size();
  9085. for (int i = 0; i < this->items_size(); i++) {
  9086. total_size +=
  9087. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  9088. this->items(i));
  9089. }
  9090. if (!unknown_fields().empty()) {
  9091. total_size +=
  9092. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9093. unknown_fields());
  9094. }
  9095. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9096. _cached_size_ = total_size;
  9097. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9098. return total_size;
  9099. }
  9100. void packetl2c_bc_fish_die::MergeFrom(const ::google::protobuf::Message& from) {
  9101. GOOGLE_CHECK_NE(&from, this);
  9102. const packetl2c_bc_fish_die* source =
  9103. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_fish_die*>(
  9104. &from);
  9105. if (source == NULL) {
  9106. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9107. } else {
  9108. MergeFrom(*source);
  9109. }
  9110. }
  9111. void packetl2c_bc_fish_die::MergeFrom(const packetl2c_bc_fish_die& from) {
  9112. GOOGLE_CHECK_NE(&from, this);
  9113. legendarycoin_.MergeFrom(from.legendarycoin_);
  9114. items_.MergeFrom(from.items_);
  9115. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9116. if (from.has_packet_id()) {
  9117. set_packet_id(from.packet_id());
  9118. }
  9119. if (from.has_fish_id()) {
  9120. set_fish_id(from.fish_id());
  9121. }
  9122. if (from.has_kill_id()) {
  9123. set_kill_id(from.kill_id());
  9124. }
  9125. if (from.has_score()) {
  9126. set_score(from.score());
  9127. }
  9128. if (from.has_diamond()) {
  9129. set_diamond(from.diamond());
  9130. }
  9131. if (from.has_ticket()) {
  9132. set_ticket(from.ticket());
  9133. }
  9134. if (from.has_dimensity()) {
  9135. set_dimensity(from.dimensity());
  9136. }
  9137. if (from.has_refitemid()) {
  9138. set_refitemid(from.refitemid());
  9139. }
  9140. }
  9141. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9142. if (from.has_dragonball()) {
  9143. set_dragonball(from.dragonball());
  9144. }
  9145. if (from.has_point()) {
  9146. set_point(from.point());
  9147. }
  9148. if (from.has_addpoint()) {
  9149. set_addpoint(from.addpoint());
  9150. }
  9151. if (from.has_qualifypoint()) {
  9152. set_qualifypoint(from.qualifypoint());
  9153. }
  9154. if (from.has_dailytopcardinfo()) {
  9155. mutable_dailytopcardinfo()->::fish_protocols::ArmedSharkCardTypeInfo::MergeFrom(from.dailytopcardinfo());
  9156. }
  9157. if (from.has_fishcfgid()) {
  9158. set_fishcfgid(from.fishcfgid());
  9159. }
  9160. }
  9161. if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
  9162. if (from.has_fishscore()) {
  9163. set_fishscore(from.fishscore());
  9164. }
  9165. }
  9166. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9167. }
  9168. void packetl2c_bc_fish_die::CopyFrom(const ::google::protobuf::Message& from) {
  9169. if (&from == this) return;
  9170. Clear();
  9171. MergeFrom(from);
  9172. }
  9173. void packetl2c_bc_fish_die::CopyFrom(const packetl2c_bc_fish_die& from) {
  9174. if (&from == this) return;
  9175. Clear();
  9176. MergeFrom(from);
  9177. }
  9178. bool packetl2c_bc_fish_die::IsInitialized() const {
  9179. return true;
  9180. }
  9181. void packetl2c_bc_fish_die::Swap(packetl2c_bc_fish_die* other) {
  9182. if (other != this) {
  9183. std::swap(packet_id_, other->packet_id_);
  9184. std::swap(fish_id_, other->fish_id_);
  9185. std::swap(kill_id_, other->kill_id_);
  9186. std::swap(score_, other->score_);
  9187. std::swap(diamond_, other->diamond_);
  9188. std::swap(ticket_, other->ticket_);
  9189. std::swap(dimensity_, other->dimensity_);
  9190. std::swap(refitemid_, other->refitemid_);
  9191. std::swap(dragonball_, other->dragonball_);
  9192. legendarycoin_.Swap(&other->legendarycoin_);
  9193. std::swap(point_, other->point_);
  9194. std::swap(addpoint_, other->addpoint_);
  9195. std::swap(qualifypoint_, other->qualifypoint_);
  9196. std::swap(dailytopcardinfo_, other->dailytopcardinfo_);
  9197. items_.Swap(&other->items_);
  9198. std::swap(fishcfgid_, other->fishcfgid_);
  9199. std::swap(fishscore_, other->fishscore_);
  9200. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9201. _unknown_fields_.Swap(&other->_unknown_fields_);
  9202. std::swap(_cached_size_, other->_cached_size_);
  9203. }
  9204. }
  9205. ::google::protobuf::Metadata packetl2c_bc_fish_die::GetMetadata() const {
  9206. protobuf_AssignDescriptorsOnce();
  9207. ::google::protobuf::Metadata metadata;
  9208. metadata.descriptor = packetl2c_bc_fish_die_descriptor_;
  9209. metadata.reflection = packetl2c_bc_fish_die_reflection_;
  9210. return metadata;
  9211. }
  9212. // ===================================================================
  9213. #ifndef _MSC_VER
  9214. const int packetl2c_notify_bullet_explode::kPacketIdFieldNumber;
  9215. const int packetl2c_notify_bullet_explode::kPlayerIdFieldNumber;
  9216. const int packetl2c_notify_bullet_explode::kBulletIdFieldNumber;
  9217. #endif // !_MSC_VER
  9218. packetl2c_notify_bullet_explode::packetl2c_notify_bullet_explode()
  9219. : ::google::protobuf::Message() {
  9220. SharedCtor();
  9221. }
  9222. void packetl2c_notify_bullet_explode::InitAsDefaultInstance() {
  9223. }
  9224. packetl2c_notify_bullet_explode::packetl2c_notify_bullet_explode(const packetl2c_notify_bullet_explode& from)
  9225. : ::google::protobuf::Message() {
  9226. SharedCtor();
  9227. MergeFrom(from);
  9228. }
  9229. void packetl2c_notify_bullet_explode::SharedCtor() {
  9230. _cached_size_ = 0;
  9231. packet_id_ = 15231;
  9232. playerid_ = 0;
  9233. bulletid_ = 0;
  9234. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9235. }
  9236. packetl2c_notify_bullet_explode::~packetl2c_notify_bullet_explode() {
  9237. SharedDtor();
  9238. }
  9239. void packetl2c_notify_bullet_explode::SharedDtor() {
  9240. if (this != default_instance_) {
  9241. }
  9242. }
  9243. void packetl2c_notify_bullet_explode::SetCachedSize(int size) const {
  9244. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9245. _cached_size_ = size;
  9246. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9247. }
  9248. const ::google::protobuf::Descriptor* packetl2c_notify_bullet_explode::descriptor() {
  9249. protobuf_AssignDescriptorsOnce();
  9250. return packetl2c_notify_bullet_explode_descriptor_;
  9251. }
  9252. const packetl2c_notify_bullet_explode& packetl2c_notify_bullet_explode::default_instance() {
  9253. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  9254. return *default_instance_;
  9255. }
  9256. packetl2c_notify_bullet_explode* packetl2c_notify_bullet_explode::default_instance_ = NULL;
  9257. packetl2c_notify_bullet_explode* packetl2c_notify_bullet_explode::New() const {
  9258. return new packetl2c_notify_bullet_explode;
  9259. }
  9260. void packetl2c_notify_bullet_explode::Clear() {
  9261. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9262. packet_id_ = 15231;
  9263. playerid_ = 0;
  9264. bulletid_ = 0;
  9265. }
  9266. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9267. mutable_unknown_fields()->Clear();
  9268. }
  9269. bool packetl2c_notify_bullet_explode::MergePartialFromCodedStream(
  9270. ::google::protobuf::io::CodedInputStream* input) {
  9271. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9272. ::google::protobuf::uint32 tag;
  9273. while ((tag = input->ReadTag()) != 0) {
  9274. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9275. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode];
  9276. case 1: {
  9277. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9278. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9279. int value;
  9280. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9281. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9282. input, &value)));
  9283. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  9284. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  9285. } else {
  9286. mutable_unknown_fields()->AddVarint(1, value);
  9287. }
  9288. } else {
  9289. goto handle_uninterpreted;
  9290. }
  9291. if (input->ExpectTag(16)) goto parse_playerId;
  9292. break;
  9293. }
  9294. // optional int32 playerId = 2;
  9295. case 2: {
  9296. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9297. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9298. parse_playerId:
  9299. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9300. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9301. input, &playerid_)));
  9302. set_has_playerid();
  9303. } else {
  9304. goto handle_uninterpreted;
  9305. }
  9306. if (input->ExpectTag(24)) goto parse_bulletId;
  9307. break;
  9308. }
  9309. // optional int32 bulletId = 3;
  9310. case 3: {
  9311. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9312. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9313. parse_bulletId:
  9314. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9315. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9316. input, &bulletid_)));
  9317. set_has_bulletid();
  9318. } else {
  9319. goto handle_uninterpreted;
  9320. }
  9321. if (input->ExpectAtEnd()) return true;
  9322. break;
  9323. }
  9324. default: {
  9325. handle_uninterpreted:
  9326. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9327. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9328. return true;
  9329. }
  9330. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9331. input, tag, mutable_unknown_fields()));
  9332. break;
  9333. }
  9334. }
  9335. }
  9336. return true;
  9337. #undef DO_
  9338. }
  9339. void packetl2c_notify_bullet_explode::SerializeWithCachedSizes(
  9340. ::google::protobuf::io::CodedOutputStream* output) const {
  9341. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode];
  9342. if (has_packet_id()) {
  9343. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  9344. 1, this->packet_id(), output);
  9345. }
  9346. // optional int32 playerId = 2;
  9347. if (has_playerid()) {
  9348. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  9349. }
  9350. // optional int32 bulletId = 3;
  9351. if (has_bulletid()) {
  9352. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bulletid(), output);
  9353. }
  9354. if (!unknown_fields().empty()) {
  9355. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9356. unknown_fields(), output);
  9357. }
  9358. }
  9359. ::google::protobuf::uint8* packetl2c_notify_bullet_explode::SerializeWithCachedSizesToArray(
  9360. ::google::protobuf::uint8* target) const {
  9361. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode];
  9362. if (has_packet_id()) {
  9363. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  9364. 1, this->packet_id(), target);
  9365. }
  9366. // optional int32 playerId = 2;
  9367. if (has_playerid()) {
  9368. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  9369. }
  9370. // optional int32 bulletId = 3;
  9371. if (has_bulletid()) {
  9372. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bulletid(), target);
  9373. }
  9374. if (!unknown_fields().empty()) {
  9375. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9376. unknown_fields(), target);
  9377. }
  9378. return target;
  9379. }
  9380. int packetl2c_notify_bullet_explode::ByteSize() const {
  9381. int total_size = 0;
  9382. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9383. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode];
  9384. if (has_packet_id()) {
  9385. total_size += 1 +
  9386. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  9387. }
  9388. // optional int32 playerId = 2;
  9389. if (has_playerid()) {
  9390. total_size += 1 +
  9391. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9392. this->playerid());
  9393. }
  9394. // optional int32 bulletId = 3;
  9395. if (has_bulletid()) {
  9396. total_size += 1 +
  9397. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9398. this->bulletid());
  9399. }
  9400. }
  9401. if (!unknown_fields().empty()) {
  9402. total_size +=
  9403. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9404. unknown_fields());
  9405. }
  9406. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9407. _cached_size_ = total_size;
  9408. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9409. return total_size;
  9410. }
  9411. void packetl2c_notify_bullet_explode::MergeFrom(const ::google::protobuf::Message& from) {
  9412. GOOGLE_CHECK_NE(&from, this);
  9413. const packetl2c_notify_bullet_explode* source =
  9414. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_notify_bullet_explode*>(
  9415. &from);
  9416. if (source == NULL) {
  9417. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9418. } else {
  9419. MergeFrom(*source);
  9420. }
  9421. }
  9422. void packetl2c_notify_bullet_explode::MergeFrom(const packetl2c_notify_bullet_explode& from) {
  9423. GOOGLE_CHECK_NE(&from, this);
  9424. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9425. if (from.has_packet_id()) {
  9426. set_packet_id(from.packet_id());
  9427. }
  9428. if (from.has_playerid()) {
  9429. set_playerid(from.playerid());
  9430. }
  9431. if (from.has_bulletid()) {
  9432. set_bulletid(from.bulletid());
  9433. }
  9434. }
  9435. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9436. }
  9437. void packetl2c_notify_bullet_explode::CopyFrom(const ::google::protobuf::Message& from) {
  9438. if (&from == this) return;
  9439. Clear();
  9440. MergeFrom(from);
  9441. }
  9442. void packetl2c_notify_bullet_explode::CopyFrom(const packetl2c_notify_bullet_explode& from) {
  9443. if (&from == this) return;
  9444. Clear();
  9445. MergeFrom(from);
  9446. }
  9447. bool packetl2c_notify_bullet_explode::IsInitialized() const {
  9448. return true;
  9449. }
  9450. void packetl2c_notify_bullet_explode::Swap(packetl2c_notify_bullet_explode* other) {
  9451. if (other != this) {
  9452. std::swap(packet_id_, other->packet_id_);
  9453. std::swap(playerid_, other->playerid_);
  9454. std::swap(bulletid_, other->bulletid_);
  9455. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9456. _unknown_fields_.Swap(&other->_unknown_fields_);
  9457. std::swap(_cached_size_, other->_cached_size_);
  9458. }
  9459. }
  9460. ::google::protobuf::Metadata packetl2c_notify_bullet_explode::GetMetadata() const {
  9461. protobuf_AssignDescriptorsOnce();
  9462. ::google::protobuf::Metadata metadata;
  9463. metadata.descriptor = packetl2c_notify_bullet_explode_descriptor_;
  9464. metadata.reflection = packetl2c_notify_bullet_explode_reflection_;
  9465. return metadata;
  9466. }
  9467. // ===================================================================
  9468. #ifndef _MSC_VER
  9469. const int packetl2c_bc_bullet_explode::kPacketIdFieldNumber;
  9470. const int packetl2c_bc_bullet_explode::kPlayerIdFieldNumber;
  9471. const int packetl2c_bc_bullet_explode::kBulletIdFieldNumber;
  9472. const int packetl2c_bc_bullet_explode::kFishIdsFieldNumber;
  9473. const int packetl2c_bc_bullet_explode::kScoreFieldNumber;
  9474. const int packetl2c_bc_bullet_explode::kItemsFieldNumber;
  9475. #endif // !_MSC_VER
  9476. packetl2c_bc_bullet_explode::packetl2c_bc_bullet_explode()
  9477. : ::google::protobuf::Message() {
  9478. SharedCtor();
  9479. }
  9480. void packetl2c_bc_bullet_explode::InitAsDefaultInstance() {
  9481. }
  9482. packetl2c_bc_bullet_explode::packetl2c_bc_bullet_explode(const packetl2c_bc_bullet_explode& from)
  9483. : ::google::protobuf::Message() {
  9484. SharedCtor();
  9485. MergeFrom(from);
  9486. }
  9487. void packetl2c_bc_bullet_explode::SharedCtor() {
  9488. _cached_size_ = 0;
  9489. packet_id_ = 15222;
  9490. playerid_ = 0;
  9491. bulletid_ = 0;
  9492. score_ = 0;
  9493. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9494. }
  9495. packetl2c_bc_bullet_explode::~packetl2c_bc_bullet_explode() {
  9496. SharedDtor();
  9497. }
  9498. void packetl2c_bc_bullet_explode::SharedDtor() {
  9499. if (this != default_instance_) {
  9500. }
  9501. }
  9502. void packetl2c_bc_bullet_explode::SetCachedSize(int size) const {
  9503. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9504. _cached_size_ = size;
  9505. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9506. }
  9507. const ::google::protobuf::Descriptor* packetl2c_bc_bullet_explode::descriptor() {
  9508. protobuf_AssignDescriptorsOnce();
  9509. return packetl2c_bc_bullet_explode_descriptor_;
  9510. }
  9511. const packetl2c_bc_bullet_explode& packetl2c_bc_bullet_explode::default_instance() {
  9512. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  9513. return *default_instance_;
  9514. }
  9515. packetl2c_bc_bullet_explode* packetl2c_bc_bullet_explode::default_instance_ = NULL;
  9516. packetl2c_bc_bullet_explode* packetl2c_bc_bullet_explode::New() const {
  9517. return new packetl2c_bc_bullet_explode;
  9518. }
  9519. void packetl2c_bc_bullet_explode::Clear() {
  9520. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9521. packet_id_ = 15222;
  9522. playerid_ = 0;
  9523. bulletid_ = 0;
  9524. score_ = 0;
  9525. }
  9526. fishids_.Clear();
  9527. items_.Clear();
  9528. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9529. mutable_unknown_fields()->Clear();
  9530. }
  9531. bool packetl2c_bc_bullet_explode::MergePartialFromCodedStream(
  9532. ::google::protobuf::io::CodedInputStream* input) {
  9533. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9534. ::google::protobuf::uint32 tag;
  9535. while ((tag = input->ReadTag()) != 0) {
  9536. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9537. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode];
  9538. case 1: {
  9539. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9540. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9541. int value;
  9542. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9543. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9544. input, &value)));
  9545. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  9546. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  9547. } else {
  9548. mutable_unknown_fields()->AddVarint(1, value);
  9549. }
  9550. } else {
  9551. goto handle_uninterpreted;
  9552. }
  9553. if (input->ExpectTag(16)) goto parse_playerId;
  9554. break;
  9555. }
  9556. // optional int32 playerId = 2;
  9557. case 2: {
  9558. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9559. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9560. parse_playerId:
  9561. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9562. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9563. input, &playerid_)));
  9564. set_has_playerid();
  9565. } else {
  9566. goto handle_uninterpreted;
  9567. }
  9568. if (input->ExpectTag(24)) goto parse_bulletId;
  9569. break;
  9570. }
  9571. // optional int32 bulletId = 3;
  9572. case 3: {
  9573. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9574. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9575. parse_bulletId:
  9576. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9577. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9578. input, &bulletid_)));
  9579. set_has_bulletid();
  9580. } else {
  9581. goto handle_uninterpreted;
  9582. }
  9583. if (input->ExpectTag(32)) goto parse_fishIds;
  9584. break;
  9585. }
  9586. // repeated int32 fishIds = 4;
  9587. case 4: {
  9588. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9589. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9590. parse_fishIds:
  9591. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  9592. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9593. 1, 32, input, this->mutable_fishids())));
  9594. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  9595. == ::google::protobuf::internal::WireFormatLite::
  9596. WIRETYPE_LENGTH_DELIMITED) {
  9597. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  9598. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9599. input, this->mutable_fishids())));
  9600. } else {
  9601. goto handle_uninterpreted;
  9602. }
  9603. if (input->ExpectTag(32)) goto parse_fishIds;
  9604. if (input->ExpectTag(40)) goto parse_score;
  9605. break;
  9606. }
  9607. // optional int32 score = 5;
  9608. case 5: {
  9609. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9610. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9611. parse_score:
  9612. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9613. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9614. input, &score_)));
  9615. set_has_score();
  9616. } else {
  9617. goto handle_uninterpreted;
  9618. }
  9619. if (input->ExpectTag(50)) goto parse_items;
  9620. break;
  9621. }
  9622. // repeated .fish_protocols.msg_item items = 6;
  9623. case 6: {
  9624. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9625. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9626. parse_items:
  9627. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  9628. input, add_items()));
  9629. } else {
  9630. goto handle_uninterpreted;
  9631. }
  9632. if (input->ExpectTag(50)) goto parse_items;
  9633. if (input->ExpectAtEnd()) return true;
  9634. break;
  9635. }
  9636. default: {
  9637. handle_uninterpreted:
  9638. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9639. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9640. return true;
  9641. }
  9642. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9643. input, tag, mutable_unknown_fields()));
  9644. break;
  9645. }
  9646. }
  9647. }
  9648. return true;
  9649. #undef DO_
  9650. }
  9651. void packetl2c_bc_bullet_explode::SerializeWithCachedSizes(
  9652. ::google::protobuf::io::CodedOutputStream* output) const {
  9653. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode];
  9654. if (has_packet_id()) {
  9655. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  9656. 1, this->packet_id(), output);
  9657. }
  9658. // optional int32 playerId = 2;
  9659. if (has_playerid()) {
  9660. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  9661. }
  9662. // optional int32 bulletId = 3;
  9663. if (has_bulletid()) {
  9664. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bulletid(), output);
  9665. }
  9666. // repeated int32 fishIds = 4;
  9667. for (int i = 0; i < this->fishids_size(); i++) {
  9668. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  9669. 4, this->fishids(i), output);
  9670. }
  9671. // optional int32 score = 5;
  9672. if (has_score()) {
  9673. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->score(), output);
  9674. }
  9675. // repeated .fish_protocols.msg_item items = 6;
  9676. for (int i = 0; i < this->items_size(); i++) {
  9677. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  9678. 6, this->items(i), output);
  9679. }
  9680. if (!unknown_fields().empty()) {
  9681. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9682. unknown_fields(), output);
  9683. }
  9684. }
  9685. ::google::protobuf::uint8* packetl2c_bc_bullet_explode::SerializeWithCachedSizesToArray(
  9686. ::google::protobuf::uint8* target) const {
  9687. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode];
  9688. if (has_packet_id()) {
  9689. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  9690. 1, this->packet_id(), target);
  9691. }
  9692. // optional int32 playerId = 2;
  9693. if (has_playerid()) {
  9694. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  9695. }
  9696. // optional int32 bulletId = 3;
  9697. if (has_bulletid()) {
  9698. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bulletid(), target);
  9699. }
  9700. // repeated int32 fishIds = 4;
  9701. for (int i = 0; i < this->fishids_size(); i++) {
  9702. target = ::google::protobuf::internal::WireFormatLite::
  9703. WriteInt32ToArray(4, this->fishids(i), target);
  9704. }
  9705. // optional int32 score = 5;
  9706. if (has_score()) {
  9707. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->score(), target);
  9708. }
  9709. // repeated .fish_protocols.msg_item items = 6;
  9710. for (int i = 0; i < this->items_size(); i++) {
  9711. target = ::google::protobuf::internal::WireFormatLite::
  9712. WriteMessageNoVirtualToArray(
  9713. 6, this->items(i), target);
  9714. }
  9715. if (!unknown_fields().empty()) {
  9716. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9717. unknown_fields(), target);
  9718. }
  9719. return target;
  9720. }
  9721. int packetl2c_bc_bullet_explode::ByteSize() const {
  9722. int total_size = 0;
  9723. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9724. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode];
  9725. if (has_packet_id()) {
  9726. total_size += 1 +
  9727. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  9728. }
  9729. // optional int32 playerId = 2;
  9730. if (has_playerid()) {
  9731. total_size += 1 +
  9732. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9733. this->playerid());
  9734. }
  9735. // optional int32 bulletId = 3;
  9736. if (has_bulletid()) {
  9737. total_size += 1 +
  9738. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9739. this->bulletid());
  9740. }
  9741. // optional int32 score = 5;
  9742. if (has_score()) {
  9743. total_size += 1 +
  9744. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9745. this->score());
  9746. }
  9747. }
  9748. // repeated int32 fishIds = 4;
  9749. {
  9750. int data_size = 0;
  9751. for (int i = 0; i < this->fishids_size(); i++) {
  9752. data_size += ::google::protobuf::internal::WireFormatLite::
  9753. Int32Size(this->fishids(i));
  9754. }
  9755. total_size += 1 * this->fishids_size() + data_size;
  9756. }
  9757. // repeated .fish_protocols.msg_item items = 6;
  9758. total_size += 1 * this->items_size();
  9759. for (int i = 0; i < this->items_size(); i++) {
  9760. total_size +=
  9761. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  9762. this->items(i));
  9763. }
  9764. if (!unknown_fields().empty()) {
  9765. total_size +=
  9766. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9767. unknown_fields());
  9768. }
  9769. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9770. _cached_size_ = total_size;
  9771. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9772. return total_size;
  9773. }
  9774. void packetl2c_bc_bullet_explode::MergeFrom(const ::google::protobuf::Message& from) {
  9775. GOOGLE_CHECK_NE(&from, this);
  9776. const packetl2c_bc_bullet_explode* source =
  9777. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_bullet_explode*>(
  9778. &from);
  9779. if (source == NULL) {
  9780. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9781. } else {
  9782. MergeFrom(*source);
  9783. }
  9784. }
  9785. void packetl2c_bc_bullet_explode::MergeFrom(const packetl2c_bc_bullet_explode& from) {
  9786. GOOGLE_CHECK_NE(&from, this);
  9787. fishids_.MergeFrom(from.fishids_);
  9788. items_.MergeFrom(from.items_);
  9789. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9790. if (from.has_packet_id()) {
  9791. set_packet_id(from.packet_id());
  9792. }
  9793. if (from.has_playerid()) {
  9794. set_playerid(from.playerid());
  9795. }
  9796. if (from.has_bulletid()) {
  9797. set_bulletid(from.bulletid());
  9798. }
  9799. if (from.has_score()) {
  9800. set_score(from.score());
  9801. }
  9802. }
  9803. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9804. }
  9805. void packetl2c_bc_bullet_explode::CopyFrom(const ::google::protobuf::Message& from) {
  9806. if (&from == this) return;
  9807. Clear();
  9808. MergeFrom(from);
  9809. }
  9810. void packetl2c_bc_bullet_explode::CopyFrom(const packetl2c_bc_bullet_explode& from) {
  9811. if (&from == this) return;
  9812. Clear();
  9813. MergeFrom(from);
  9814. }
  9815. bool packetl2c_bc_bullet_explode::IsInitialized() const {
  9816. return true;
  9817. }
  9818. void packetl2c_bc_bullet_explode::Swap(packetl2c_bc_bullet_explode* other) {
  9819. if (other != this) {
  9820. std::swap(packet_id_, other->packet_id_);
  9821. std::swap(playerid_, other->playerid_);
  9822. std::swap(bulletid_, other->bulletid_);
  9823. fishids_.Swap(&other->fishids_);
  9824. std::swap(score_, other->score_);
  9825. items_.Swap(&other->items_);
  9826. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9827. _unknown_fields_.Swap(&other->_unknown_fields_);
  9828. std::swap(_cached_size_, other->_cached_size_);
  9829. }
  9830. }
  9831. ::google::protobuf::Metadata packetl2c_bc_bullet_explode::GetMetadata() const {
  9832. protobuf_AssignDescriptorsOnce();
  9833. ::google::protobuf::Metadata metadata;
  9834. metadata.descriptor = packetl2c_bc_bullet_explode_descriptor_;
  9835. metadata.reflection = packetl2c_bc_bullet_explode_reflection_;
  9836. return metadata;
  9837. }
  9838. // ===================================================================
  9839. #ifndef _MSC_VER
  9840. const int packetl2c_bc_specialfish_die::kPacketIdFieldNumber;
  9841. const int packetl2c_bc_specialfish_die::kFishIdFieldNumber;
  9842. const int packetl2c_bc_specialfish_die::kPlayerIdFieldNumber;
  9843. const int packetl2c_bc_specialfish_die::kBulletIdFieldNumber;
  9844. const int packetl2c_bc_specialfish_die::kBaseScoreFieldNumber;
  9845. const int packetl2c_bc_specialfish_die::kAddScoreFieldNumber;
  9846. const int packetl2c_bc_specialfish_die::kTicketFieldNumber;
  9847. const int packetl2c_bc_specialfish_die::kGetstarFieldNumber;
  9848. const int packetl2c_bc_specialfish_die::kDragonBallFieldNumber;
  9849. const int packetl2c_bc_specialfish_die::kPointFieldNumber;
  9850. const int packetl2c_bc_specialfish_die::kItemsFieldNumber;
  9851. const int packetl2c_bc_specialfish_die::kFishCfgIdFieldNumber;
  9852. #endif // !_MSC_VER
  9853. packetl2c_bc_specialfish_die::packetl2c_bc_specialfish_die()
  9854. : ::google::protobuf::Message() {
  9855. SharedCtor();
  9856. }
  9857. void packetl2c_bc_specialfish_die::InitAsDefaultInstance() {
  9858. }
  9859. packetl2c_bc_specialfish_die::packetl2c_bc_specialfish_die(const packetl2c_bc_specialfish_die& from)
  9860. : ::google::protobuf::Message() {
  9861. SharedCtor();
  9862. MergeFrom(from);
  9863. }
  9864. void packetl2c_bc_specialfish_die::SharedCtor() {
  9865. _cached_size_ = 0;
  9866. packet_id_ = 15219;
  9867. fish_id_ = 0;
  9868. player_id_ = 0;
  9869. bullet_id_ = 0;
  9870. base_score_ = 0;
  9871. add_score_ = 0;
  9872. ticket_ = 0;
  9873. getstar_ = false;
  9874. dragonball_ = 0;
  9875. point_ = 0;
  9876. fishcfgid_ = 0;
  9877. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9878. }
  9879. packetl2c_bc_specialfish_die::~packetl2c_bc_specialfish_die() {
  9880. SharedDtor();
  9881. }
  9882. void packetl2c_bc_specialfish_die::SharedDtor() {
  9883. if (this != default_instance_) {
  9884. }
  9885. }
  9886. void packetl2c_bc_specialfish_die::SetCachedSize(int size) const {
  9887. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9888. _cached_size_ = size;
  9889. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9890. }
  9891. const ::google::protobuf::Descriptor* packetl2c_bc_specialfish_die::descriptor() {
  9892. protobuf_AssignDescriptorsOnce();
  9893. return packetl2c_bc_specialfish_die_descriptor_;
  9894. }
  9895. const packetl2c_bc_specialfish_die& packetl2c_bc_specialfish_die::default_instance() {
  9896. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  9897. return *default_instance_;
  9898. }
  9899. packetl2c_bc_specialfish_die* packetl2c_bc_specialfish_die::default_instance_ = NULL;
  9900. packetl2c_bc_specialfish_die* packetl2c_bc_specialfish_die::New() const {
  9901. return new packetl2c_bc_specialfish_die;
  9902. }
  9903. void packetl2c_bc_specialfish_die::Clear() {
  9904. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9905. packet_id_ = 15219;
  9906. fish_id_ = 0;
  9907. player_id_ = 0;
  9908. bullet_id_ = 0;
  9909. base_score_ = 0;
  9910. add_score_ = 0;
  9911. ticket_ = 0;
  9912. getstar_ = false;
  9913. }
  9914. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  9915. dragonball_ = 0;
  9916. point_ = 0;
  9917. fishcfgid_ = 0;
  9918. }
  9919. items_.Clear();
  9920. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9921. mutable_unknown_fields()->Clear();
  9922. }
  9923. bool packetl2c_bc_specialfish_die::MergePartialFromCodedStream(
  9924. ::google::protobuf::io::CodedInputStream* input) {
  9925. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9926. ::google::protobuf::uint32 tag;
  9927. while ((tag = input->ReadTag()) != 0) {
  9928. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9929. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die];
  9930. case 1: {
  9931. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9932. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9933. int value;
  9934. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9935. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9936. input, &value)));
  9937. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  9938. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  9939. } else {
  9940. mutable_unknown_fields()->AddVarint(1, value);
  9941. }
  9942. } else {
  9943. goto handle_uninterpreted;
  9944. }
  9945. if (input->ExpectTag(16)) goto parse_fish_id;
  9946. break;
  9947. }
  9948. // optional int32 fish_id = 2;
  9949. case 2: {
  9950. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9951. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9952. parse_fish_id:
  9953. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9954. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9955. input, &fish_id_)));
  9956. set_has_fish_id();
  9957. } else {
  9958. goto handle_uninterpreted;
  9959. }
  9960. if (input->ExpectTag(24)) goto parse_player_id;
  9961. break;
  9962. }
  9963. // optional int32 player_id = 3;
  9964. case 3: {
  9965. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9966. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9967. parse_player_id:
  9968. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9969. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9970. input, &player_id_)));
  9971. set_has_player_id();
  9972. } else {
  9973. goto handle_uninterpreted;
  9974. }
  9975. if (input->ExpectTag(32)) goto parse_bullet_id;
  9976. break;
  9977. }
  9978. // optional int32 bullet_id = 4;
  9979. case 4: {
  9980. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9981. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9982. parse_bullet_id:
  9983. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9984. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9985. input, &bullet_id_)));
  9986. set_has_bullet_id();
  9987. } else {
  9988. goto handle_uninterpreted;
  9989. }
  9990. if (input->ExpectTag(40)) goto parse_base_score;
  9991. break;
  9992. }
  9993. // optional int32 base_score = 5;
  9994. case 5: {
  9995. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9996. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9997. parse_base_score:
  9998. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9999. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10000. input, &base_score_)));
  10001. set_has_base_score();
  10002. } else {
  10003. goto handle_uninterpreted;
  10004. }
  10005. if (input->ExpectTag(48)) goto parse_add_score;
  10006. break;
  10007. }
  10008. // optional int32 add_score = 6 [default = 0];
  10009. case 6: {
  10010. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10011. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10012. parse_add_score:
  10013. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10014. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10015. input, &add_score_)));
  10016. set_has_add_score();
  10017. } else {
  10018. goto handle_uninterpreted;
  10019. }
  10020. if (input->ExpectTag(56)) goto parse_ticket;
  10021. break;
  10022. }
  10023. // optional int32 ticket = 7 [default = 0];
  10024. case 7: {
  10025. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10026. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10027. parse_ticket:
  10028. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10029. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10030. input, &ticket_)));
  10031. set_has_ticket();
  10032. } else {
  10033. goto handle_uninterpreted;
  10034. }
  10035. if (input->ExpectTag(64)) goto parse_getstar;
  10036. break;
  10037. }
  10038. // optional bool getstar = 8 [default = false];
  10039. case 8: {
  10040. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10041. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10042. parse_getstar:
  10043. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10044. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  10045. input, &getstar_)));
  10046. set_has_getstar();
  10047. } else {
  10048. goto handle_uninterpreted;
  10049. }
  10050. if (input->ExpectTag(72)) goto parse_DragonBall;
  10051. break;
  10052. }
  10053. // optional int32 DragonBall = 9 [default = 0];
  10054. case 9: {
  10055. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10056. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10057. parse_DragonBall:
  10058. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10059. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10060. input, &dragonball_)));
  10061. set_has_dragonball();
  10062. } else {
  10063. goto handle_uninterpreted;
  10064. }
  10065. if (input->ExpectTag(80)) goto parse_point;
  10066. break;
  10067. }
  10068. // optional int32 point = 10 [default = 0];
  10069. case 10: {
  10070. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10071. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10072. parse_point:
  10073. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10074. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10075. input, &point_)));
  10076. set_has_point();
  10077. } else {
  10078. goto handle_uninterpreted;
  10079. }
  10080. if (input->ExpectTag(90)) goto parse_items;
  10081. break;
  10082. }
  10083. // repeated .fish_protocols.msg_item items = 11;
  10084. case 11: {
  10085. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10086. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10087. parse_items:
  10088. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  10089. input, add_items()));
  10090. } else {
  10091. goto handle_uninterpreted;
  10092. }
  10093. if (input->ExpectTag(90)) goto parse_items;
  10094. if (input->ExpectTag(96)) goto parse_fishCfgId;
  10095. break;
  10096. }
  10097. // optional int32 fishCfgId = 12;
  10098. case 12: {
  10099. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10100. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10101. parse_fishCfgId:
  10102. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10103. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10104. input, &fishcfgid_)));
  10105. set_has_fishcfgid();
  10106. } else {
  10107. goto handle_uninterpreted;
  10108. }
  10109. if (input->ExpectAtEnd()) return true;
  10110. break;
  10111. }
  10112. default: {
  10113. handle_uninterpreted:
  10114. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10115. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10116. return true;
  10117. }
  10118. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10119. input, tag, mutable_unknown_fields()));
  10120. break;
  10121. }
  10122. }
  10123. }
  10124. return true;
  10125. #undef DO_
  10126. }
  10127. void packetl2c_bc_specialfish_die::SerializeWithCachedSizes(
  10128. ::google::protobuf::io::CodedOutputStream* output) const {
  10129. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die];
  10130. if (has_packet_id()) {
  10131. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10132. 1, this->packet_id(), output);
  10133. }
  10134. // optional int32 fish_id = 2;
  10135. if (has_fish_id()) {
  10136. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fish_id(), output);
  10137. }
  10138. // optional int32 player_id = 3;
  10139. if (has_player_id()) {
  10140. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output);
  10141. }
  10142. // optional int32 bullet_id = 4;
  10143. if (has_bullet_id()) {
  10144. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bullet_id(), output);
  10145. }
  10146. // optional int32 base_score = 5;
  10147. if (has_base_score()) {
  10148. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->base_score(), output);
  10149. }
  10150. // optional int32 add_score = 6 [default = 0];
  10151. if (has_add_score()) {
  10152. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->add_score(), output);
  10153. }
  10154. // optional int32 ticket = 7 [default = 0];
  10155. if (has_ticket()) {
  10156. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->ticket(), output);
  10157. }
  10158. // optional bool getstar = 8 [default = false];
  10159. if (has_getstar()) {
  10160. ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->getstar(), output);
  10161. }
  10162. // optional int32 DragonBall = 9 [default = 0];
  10163. if (has_dragonball()) {
  10164. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->dragonball(), output);
  10165. }
  10166. // optional int32 point = 10 [default = 0];
  10167. if (has_point()) {
  10168. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->point(), output);
  10169. }
  10170. // repeated .fish_protocols.msg_item items = 11;
  10171. for (int i = 0; i < this->items_size(); i++) {
  10172. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10173. 11, this->items(i), output);
  10174. }
  10175. // optional int32 fishCfgId = 12;
  10176. if (has_fishcfgid()) {
  10177. ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->fishcfgid(), output);
  10178. }
  10179. if (!unknown_fields().empty()) {
  10180. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10181. unknown_fields(), output);
  10182. }
  10183. }
  10184. ::google::protobuf::uint8* packetl2c_bc_specialfish_die::SerializeWithCachedSizesToArray(
  10185. ::google::protobuf::uint8* target) const {
  10186. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die];
  10187. if (has_packet_id()) {
  10188. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10189. 1, this->packet_id(), target);
  10190. }
  10191. // optional int32 fish_id = 2;
  10192. if (has_fish_id()) {
  10193. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fish_id(), target);
  10194. }
  10195. // optional int32 player_id = 3;
  10196. if (has_player_id()) {
  10197. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target);
  10198. }
  10199. // optional int32 bullet_id = 4;
  10200. if (has_bullet_id()) {
  10201. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bullet_id(), target);
  10202. }
  10203. // optional int32 base_score = 5;
  10204. if (has_base_score()) {
  10205. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->base_score(), target);
  10206. }
  10207. // optional int32 add_score = 6 [default = 0];
  10208. if (has_add_score()) {
  10209. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->add_score(), target);
  10210. }
  10211. // optional int32 ticket = 7 [default = 0];
  10212. if (has_ticket()) {
  10213. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->ticket(), target);
  10214. }
  10215. // optional bool getstar = 8 [default = false];
  10216. if (has_getstar()) {
  10217. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->getstar(), target);
  10218. }
  10219. // optional int32 DragonBall = 9 [default = 0];
  10220. if (has_dragonball()) {
  10221. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->dragonball(), target);
  10222. }
  10223. // optional int32 point = 10 [default = 0];
  10224. if (has_point()) {
  10225. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->point(), target);
  10226. }
  10227. // repeated .fish_protocols.msg_item items = 11;
  10228. for (int i = 0; i < this->items_size(); i++) {
  10229. target = ::google::protobuf::internal::WireFormatLite::
  10230. WriteMessageNoVirtualToArray(
  10231. 11, this->items(i), target);
  10232. }
  10233. // optional int32 fishCfgId = 12;
  10234. if (has_fishcfgid()) {
  10235. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->fishcfgid(), target);
  10236. }
  10237. if (!unknown_fields().empty()) {
  10238. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10239. unknown_fields(), target);
  10240. }
  10241. return target;
  10242. }
  10243. int packetl2c_bc_specialfish_die::ByteSize() const {
  10244. int total_size = 0;
  10245. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10246. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die];
  10247. if (has_packet_id()) {
  10248. total_size += 1 +
  10249. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10250. }
  10251. // optional int32 fish_id = 2;
  10252. if (has_fish_id()) {
  10253. total_size += 1 +
  10254. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10255. this->fish_id());
  10256. }
  10257. // optional int32 player_id = 3;
  10258. if (has_player_id()) {
  10259. total_size += 1 +
  10260. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10261. this->player_id());
  10262. }
  10263. // optional int32 bullet_id = 4;
  10264. if (has_bullet_id()) {
  10265. total_size += 1 +
  10266. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10267. this->bullet_id());
  10268. }
  10269. // optional int32 base_score = 5;
  10270. if (has_base_score()) {
  10271. total_size += 1 +
  10272. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10273. this->base_score());
  10274. }
  10275. // optional int32 add_score = 6 [default = 0];
  10276. if (has_add_score()) {
  10277. total_size += 1 +
  10278. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10279. this->add_score());
  10280. }
  10281. // optional int32 ticket = 7 [default = 0];
  10282. if (has_ticket()) {
  10283. total_size += 1 +
  10284. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10285. this->ticket());
  10286. }
  10287. // optional bool getstar = 8 [default = false];
  10288. if (has_getstar()) {
  10289. total_size += 1 + 1;
  10290. }
  10291. }
  10292. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10293. // optional int32 DragonBall = 9 [default = 0];
  10294. if (has_dragonball()) {
  10295. total_size += 1 +
  10296. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10297. this->dragonball());
  10298. }
  10299. // optional int32 point = 10 [default = 0];
  10300. if (has_point()) {
  10301. total_size += 1 +
  10302. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10303. this->point());
  10304. }
  10305. // optional int32 fishCfgId = 12;
  10306. if (has_fishcfgid()) {
  10307. total_size += 1 +
  10308. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10309. this->fishcfgid());
  10310. }
  10311. }
  10312. // repeated .fish_protocols.msg_item items = 11;
  10313. total_size += 1 * this->items_size();
  10314. for (int i = 0; i < this->items_size(); i++) {
  10315. total_size +=
  10316. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10317. this->items(i));
  10318. }
  10319. if (!unknown_fields().empty()) {
  10320. total_size +=
  10321. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10322. unknown_fields());
  10323. }
  10324. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10325. _cached_size_ = total_size;
  10326. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10327. return total_size;
  10328. }
  10329. void packetl2c_bc_specialfish_die::MergeFrom(const ::google::protobuf::Message& from) {
  10330. GOOGLE_CHECK_NE(&from, this);
  10331. const packetl2c_bc_specialfish_die* source =
  10332. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_specialfish_die*>(
  10333. &from);
  10334. if (source == NULL) {
  10335. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10336. } else {
  10337. MergeFrom(*source);
  10338. }
  10339. }
  10340. void packetl2c_bc_specialfish_die::MergeFrom(const packetl2c_bc_specialfish_die& from) {
  10341. GOOGLE_CHECK_NE(&from, this);
  10342. items_.MergeFrom(from.items_);
  10343. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10344. if (from.has_packet_id()) {
  10345. set_packet_id(from.packet_id());
  10346. }
  10347. if (from.has_fish_id()) {
  10348. set_fish_id(from.fish_id());
  10349. }
  10350. if (from.has_player_id()) {
  10351. set_player_id(from.player_id());
  10352. }
  10353. if (from.has_bullet_id()) {
  10354. set_bullet_id(from.bullet_id());
  10355. }
  10356. if (from.has_base_score()) {
  10357. set_base_score(from.base_score());
  10358. }
  10359. if (from.has_add_score()) {
  10360. set_add_score(from.add_score());
  10361. }
  10362. if (from.has_ticket()) {
  10363. set_ticket(from.ticket());
  10364. }
  10365. if (from.has_getstar()) {
  10366. set_getstar(from.getstar());
  10367. }
  10368. }
  10369. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10370. if (from.has_dragonball()) {
  10371. set_dragonball(from.dragonball());
  10372. }
  10373. if (from.has_point()) {
  10374. set_point(from.point());
  10375. }
  10376. if (from.has_fishcfgid()) {
  10377. set_fishcfgid(from.fishcfgid());
  10378. }
  10379. }
  10380. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10381. }
  10382. void packetl2c_bc_specialfish_die::CopyFrom(const ::google::protobuf::Message& from) {
  10383. if (&from == this) return;
  10384. Clear();
  10385. MergeFrom(from);
  10386. }
  10387. void packetl2c_bc_specialfish_die::CopyFrom(const packetl2c_bc_specialfish_die& from) {
  10388. if (&from == this) return;
  10389. Clear();
  10390. MergeFrom(from);
  10391. }
  10392. bool packetl2c_bc_specialfish_die::IsInitialized() const {
  10393. return true;
  10394. }
  10395. void packetl2c_bc_specialfish_die::Swap(packetl2c_bc_specialfish_die* other) {
  10396. if (other != this) {
  10397. std::swap(packet_id_, other->packet_id_);
  10398. std::swap(fish_id_, other->fish_id_);
  10399. std::swap(player_id_, other->player_id_);
  10400. std::swap(bullet_id_, other->bullet_id_);
  10401. std::swap(base_score_, other->base_score_);
  10402. std::swap(add_score_, other->add_score_);
  10403. std::swap(ticket_, other->ticket_);
  10404. std::swap(getstar_, other->getstar_);
  10405. std::swap(dragonball_, other->dragonball_);
  10406. std::swap(point_, other->point_);
  10407. items_.Swap(&other->items_);
  10408. std::swap(fishcfgid_, other->fishcfgid_);
  10409. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10410. _unknown_fields_.Swap(&other->_unknown_fields_);
  10411. std::swap(_cached_size_, other->_cached_size_);
  10412. }
  10413. }
  10414. ::google::protobuf::Metadata packetl2c_bc_specialfish_die::GetMetadata() const {
  10415. protobuf_AssignDescriptorsOnce();
  10416. ::google::protobuf::Metadata metadata;
  10417. metadata.descriptor = packetl2c_bc_specialfish_die_descriptor_;
  10418. metadata.reflection = packetl2c_bc_specialfish_die_reflection_;
  10419. return metadata;
  10420. }
  10421. // ===================================================================
  10422. #ifndef _MSC_VER
  10423. const int packetl2c_bc_fishs_die::kPacketIdFieldNumber;
  10424. const int packetl2c_bc_fishs_die::kPlayerIdFieldNumber;
  10425. const int packetl2c_bc_fishs_die::kDieTypeFieldNumber;
  10426. const int packetl2c_bc_fishs_die::kDieParamsFieldNumber;
  10427. const int packetl2c_bc_fishs_die::kTotalScoreFieldNumber;
  10428. const int packetl2c_bc_fishs_die::kTotalDiamondFieldNumber;
  10429. const int packetl2c_bc_fishs_die::kTotalDimensityFieldNumber;
  10430. const int packetl2c_bc_fishs_die::kTotalTicketFieldNumber;
  10431. const int packetl2c_bc_fishs_die::kTotalPointFieldNumber;
  10432. const int packetl2c_bc_fishs_die::kTorpedoIdFieldNumber;
  10433. const int packetl2c_bc_fishs_die::kBaseRateFieldNumber;
  10434. const int packetl2c_bc_fishs_die::kAddRateFieldNumber;
  10435. const int packetl2c_bc_fishs_die::kTicketFieldNumber;
  10436. const int packetl2c_bc_fishs_die::kAddPointFieldNumber;
  10437. const int packetl2c_bc_fishs_die::kItemsFieldNumber;
  10438. const int packetl2c_bc_fishs_die::kFishCfgIdFieldNumber;
  10439. #endif // !_MSC_VER
  10440. packetl2c_bc_fishs_die::packetl2c_bc_fishs_die()
  10441. : ::google::protobuf::Message() {
  10442. SharedCtor();
  10443. }
  10444. void packetl2c_bc_fishs_die::InitAsDefaultInstance() {
  10445. }
  10446. packetl2c_bc_fishs_die::packetl2c_bc_fishs_die(const packetl2c_bc_fishs_die& from)
  10447. : ::google::protobuf::Message() {
  10448. SharedCtor();
  10449. MergeFrom(from);
  10450. }
  10451. void packetl2c_bc_fishs_die::SharedCtor() {
  10452. _cached_size_ = 0;
  10453. packet_id_ = 15218;
  10454. player_id_ = 0;
  10455. die_type_ = 0;
  10456. total_score_ = 0;
  10457. total_diamond_ = 0;
  10458. total_dimensity_ = 0;
  10459. total_ticket_ = 0;
  10460. total_point_ = 0;
  10461. torpedoid_ = 0;
  10462. base_rate_ = 0;
  10463. add_rate_ = 0;
  10464. ticket_ = 0;
  10465. add_point_ = 0;
  10466. fishcfgid_ = 0;
  10467. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10468. }
  10469. packetl2c_bc_fishs_die::~packetl2c_bc_fishs_die() {
  10470. SharedDtor();
  10471. }
  10472. void packetl2c_bc_fishs_die::SharedDtor() {
  10473. if (this != default_instance_) {
  10474. }
  10475. }
  10476. void packetl2c_bc_fishs_die::SetCachedSize(int size) const {
  10477. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10478. _cached_size_ = size;
  10479. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10480. }
  10481. const ::google::protobuf::Descriptor* packetl2c_bc_fishs_die::descriptor() {
  10482. protobuf_AssignDescriptorsOnce();
  10483. return packetl2c_bc_fishs_die_descriptor_;
  10484. }
  10485. const packetl2c_bc_fishs_die& packetl2c_bc_fishs_die::default_instance() {
  10486. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  10487. return *default_instance_;
  10488. }
  10489. packetl2c_bc_fishs_die* packetl2c_bc_fishs_die::default_instance_ = NULL;
  10490. packetl2c_bc_fishs_die* packetl2c_bc_fishs_die::New() const {
  10491. return new packetl2c_bc_fishs_die;
  10492. }
  10493. void packetl2c_bc_fishs_die::Clear() {
  10494. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10495. packet_id_ = 15218;
  10496. player_id_ = 0;
  10497. die_type_ = 0;
  10498. total_score_ = 0;
  10499. total_diamond_ = 0;
  10500. total_dimensity_ = 0;
  10501. total_ticket_ = 0;
  10502. }
  10503. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10504. total_point_ = 0;
  10505. torpedoid_ = 0;
  10506. base_rate_ = 0;
  10507. add_rate_ = 0;
  10508. ticket_ = 0;
  10509. add_point_ = 0;
  10510. fishcfgid_ = 0;
  10511. }
  10512. die_params_.Clear();
  10513. items_.Clear();
  10514. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10515. mutable_unknown_fields()->Clear();
  10516. }
  10517. bool packetl2c_bc_fishs_die::MergePartialFromCodedStream(
  10518. ::google::protobuf::io::CodedInputStream* input) {
  10519. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10520. ::google::protobuf::uint32 tag;
  10521. while ((tag = input->ReadTag()) != 0) {
  10522. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10523. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die];
  10524. case 1: {
  10525. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10526. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10527. int value;
  10528. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10529. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10530. input, &value)));
  10531. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  10532. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  10533. } else {
  10534. mutable_unknown_fields()->AddVarint(1, value);
  10535. }
  10536. } else {
  10537. goto handle_uninterpreted;
  10538. }
  10539. if (input->ExpectTag(16)) goto parse_player_id;
  10540. break;
  10541. }
  10542. // optional int32 player_id = 2;
  10543. case 2: {
  10544. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10545. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10546. parse_player_id:
  10547. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10548. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10549. input, &player_id_)));
  10550. set_has_player_id();
  10551. } else {
  10552. goto handle_uninterpreted;
  10553. }
  10554. if (input->ExpectTag(24)) goto parse_die_type;
  10555. break;
  10556. }
  10557. // optional int32 die_type = 3;
  10558. case 3: {
  10559. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10560. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10561. parse_die_type:
  10562. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10563. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10564. input, &die_type_)));
  10565. set_has_die_type();
  10566. } else {
  10567. goto handle_uninterpreted;
  10568. }
  10569. if (input->ExpectTag(32)) goto parse_die_params;
  10570. break;
  10571. }
  10572. // repeated int32 die_params = 4;
  10573. case 4: {
  10574. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10575. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10576. parse_die_params:
  10577. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  10578. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10579. 1, 32, input, this->mutable_die_params())));
  10580. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  10581. == ::google::protobuf::internal::WireFormatLite::
  10582. WIRETYPE_LENGTH_DELIMITED) {
  10583. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  10584. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10585. input, this->mutable_die_params())));
  10586. } else {
  10587. goto handle_uninterpreted;
  10588. }
  10589. if (input->ExpectTag(32)) goto parse_die_params;
  10590. if (input->ExpectTag(40)) goto parse_total_score;
  10591. break;
  10592. }
  10593. // optional int32 total_score = 5;
  10594. case 5: {
  10595. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10596. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10597. parse_total_score:
  10598. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10599. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10600. input, &total_score_)));
  10601. set_has_total_score();
  10602. } else {
  10603. goto handle_uninterpreted;
  10604. }
  10605. if (input->ExpectTag(48)) goto parse_total_diamond;
  10606. break;
  10607. }
  10608. // optional int32 total_diamond = 6 [default = 0];
  10609. case 6: {
  10610. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10611. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10612. parse_total_diamond:
  10613. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10614. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10615. input, &total_diamond_)));
  10616. set_has_total_diamond();
  10617. } else {
  10618. goto handle_uninterpreted;
  10619. }
  10620. if (input->ExpectTag(56)) goto parse_total_dimensity;
  10621. break;
  10622. }
  10623. // optional int32 total_dimensity = 7 [default = 0];
  10624. case 7: {
  10625. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10626. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10627. parse_total_dimensity:
  10628. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10629. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10630. input, &total_dimensity_)));
  10631. set_has_total_dimensity();
  10632. } else {
  10633. goto handle_uninterpreted;
  10634. }
  10635. if (input->ExpectTag(64)) goto parse_total_ticket;
  10636. break;
  10637. }
  10638. // optional int32 total_ticket = 8 [default = 0];
  10639. case 8: {
  10640. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10641. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10642. parse_total_ticket:
  10643. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10644. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10645. input, &total_ticket_)));
  10646. set_has_total_ticket();
  10647. } else {
  10648. goto handle_uninterpreted;
  10649. }
  10650. if (input->ExpectTag(72)) goto parse_total_point;
  10651. break;
  10652. }
  10653. // optional int32 total_point = 9 [default = 0];
  10654. case 9: {
  10655. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10656. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10657. parse_total_point:
  10658. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10659. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10660. input, &total_point_)));
  10661. set_has_total_point();
  10662. } else {
  10663. goto handle_uninterpreted;
  10664. }
  10665. if (input->ExpectTag(80)) goto parse_torpedoId;
  10666. break;
  10667. }
  10668. // optional int32 torpedoId = 10 [default = 0];
  10669. case 10: {
  10670. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10671. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10672. parse_torpedoId:
  10673. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10674. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10675. input, &torpedoid_)));
  10676. set_has_torpedoid();
  10677. } else {
  10678. goto handle_uninterpreted;
  10679. }
  10680. if (input->ExpectTag(88)) goto parse_base_rate;
  10681. break;
  10682. }
  10683. // optional int32 base_rate = 11;
  10684. case 11: {
  10685. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10686. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10687. parse_base_rate:
  10688. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10689. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10690. input, &base_rate_)));
  10691. set_has_base_rate();
  10692. } else {
  10693. goto handle_uninterpreted;
  10694. }
  10695. if (input->ExpectTag(96)) goto parse_add_rate;
  10696. break;
  10697. }
  10698. // optional int32 add_rate = 12 [default = 0];
  10699. case 12: {
  10700. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10701. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10702. parse_add_rate:
  10703. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10704. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10705. input, &add_rate_)));
  10706. set_has_add_rate();
  10707. } else {
  10708. goto handle_uninterpreted;
  10709. }
  10710. if (input->ExpectTag(104)) goto parse_ticket;
  10711. break;
  10712. }
  10713. // optional int32 ticket = 13 [default = 0];
  10714. case 13: {
  10715. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10716. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10717. parse_ticket:
  10718. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10719. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10720. input, &ticket_)));
  10721. set_has_ticket();
  10722. } else {
  10723. goto handle_uninterpreted;
  10724. }
  10725. if (input->ExpectTag(112)) goto parse_add_point;
  10726. break;
  10727. }
  10728. // optional int32 add_point = 14 [default = 0];
  10729. case 14: {
  10730. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10731. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10732. parse_add_point:
  10733. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10734. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10735. input, &add_point_)));
  10736. set_has_add_point();
  10737. } else {
  10738. goto handle_uninterpreted;
  10739. }
  10740. if (input->ExpectTag(122)) goto parse_items;
  10741. break;
  10742. }
  10743. // repeated .fish_protocols.msg_item items = 15;
  10744. case 15: {
  10745. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10746. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10747. parse_items:
  10748. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  10749. input, add_items()));
  10750. } else {
  10751. goto handle_uninterpreted;
  10752. }
  10753. if (input->ExpectTag(122)) goto parse_items;
  10754. if (input->ExpectTag(128)) goto parse_fishCfgId;
  10755. break;
  10756. }
  10757. // optional int32 fishCfgId = 16;
  10758. case 16: {
  10759. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10760. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10761. parse_fishCfgId:
  10762. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10763. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10764. input, &fishcfgid_)));
  10765. set_has_fishcfgid();
  10766. } else {
  10767. goto handle_uninterpreted;
  10768. }
  10769. if (input->ExpectAtEnd()) return true;
  10770. break;
  10771. }
  10772. default: {
  10773. handle_uninterpreted:
  10774. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10775. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10776. return true;
  10777. }
  10778. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10779. input, tag, mutable_unknown_fields()));
  10780. break;
  10781. }
  10782. }
  10783. }
  10784. return true;
  10785. #undef DO_
  10786. }
  10787. void packetl2c_bc_fishs_die::SerializeWithCachedSizes(
  10788. ::google::protobuf::io::CodedOutputStream* output) const {
  10789. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die];
  10790. if (has_packet_id()) {
  10791. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10792. 1, this->packet_id(), output);
  10793. }
  10794. // optional int32 player_id = 2;
  10795. if (has_player_id()) {
  10796. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  10797. }
  10798. // optional int32 die_type = 3;
  10799. if (has_die_type()) {
  10800. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->die_type(), output);
  10801. }
  10802. // repeated int32 die_params = 4;
  10803. for (int i = 0; i < this->die_params_size(); i++) {
  10804. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  10805. 4, this->die_params(i), output);
  10806. }
  10807. // optional int32 total_score = 5;
  10808. if (has_total_score()) {
  10809. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->total_score(), output);
  10810. }
  10811. // optional int32 total_diamond = 6 [default = 0];
  10812. if (has_total_diamond()) {
  10813. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->total_diamond(), output);
  10814. }
  10815. // optional int32 total_dimensity = 7 [default = 0];
  10816. if (has_total_dimensity()) {
  10817. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->total_dimensity(), output);
  10818. }
  10819. // optional int32 total_ticket = 8 [default = 0];
  10820. if (has_total_ticket()) {
  10821. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->total_ticket(), output);
  10822. }
  10823. // optional int32 total_point = 9 [default = 0];
  10824. if (has_total_point()) {
  10825. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->total_point(), output);
  10826. }
  10827. // optional int32 torpedoId = 10 [default = 0];
  10828. if (has_torpedoid()) {
  10829. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->torpedoid(), output);
  10830. }
  10831. // optional int32 base_rate = 11;
  10832. if (has_base_rate()) {
  10833. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->base_rate(), output);
  10834. }
  10835. // optional int32 add_rate = 12 [default = 0];
  10836. if (has_add_rate()) {
  10837. ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->add_rate(), output);
  10838. }
  10839. // optional int32 ticket = 13 [default = 0];
  10840. if (has_ticket()) {
  10841. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->ticket(), output);
  10842. }
  10843. // optional int32 add_point = 14 [default = 0];
  10844. if (has_add_point()) {
  10845. ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->add_point(), output);
  10846. }
  10847. // repeated .fish_protocols.msg_item items = 15;
  10848. for (int i = 0; i < this->items_size(); i++) {
  10849. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10850. 15, this->items(i), output);
  10851. }
  10852. // optional int32 fishCfgId = 16;
  10853. if (has_fishcfgid()) {
  10854. ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->fishcfgid(), output);
  10855. }
  10856. if (!unknown_fields().empty()) {
  10857. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10858. unknown_fields(), output);
  10859. }
  10860. }
  10861. ::google::protobuf::uint8* packetl2c_bc_fishs_die::SerializeWithCachedSizesToArray(
  10862. ::google::protobuf::uint8* target) const {
  10863. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die];
  10864. if (has_packet_id()) {
  10865. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10866. 1, this->packet_id(), target);
  10867. }
  10868. // optional int32 player_id = 2;
  10869. if (has_player_id()) {
  10870. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  10871. }
  10872. // optional int32 die_type = 3;
  10873. if (has_die_type()) {
  10874. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->die_type(), target);
  10875. }
  10876. // repeated int32 die_params = 4;
  10877. for (int i = 0; i < this->die_params_size(); i++) {
  10878. target = ::google::protobuf::internal::WireFormatLite::
  10879. WriteInt32ToArray(4, this->die_params(i), target);
  10880. }
  10881. // optional int32 total_score = 5;
  10882. if (has_total_score()) {
  10883. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->total_score(), target);
  10884. }
  10885. // optional int32 total_diamond = 6 [default = 0];
  10886. if (has_total_diamond()) {
  10887. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->total_diamond(), target);
  10888. }
  10889. // optional int32 total_dimensity = 7 [default = 0];
  10890. if (has_total_dimensity()) {
  10891. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->total_dimensity(), target);
  10892. }
  10893. // optional int32 total_ticket = 8 [default = 0];
  10894. if (has_total_ticket()) {
  10895. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->total_ticket(), target);
  10896. }
  10897. // optional int32 total_point = 9 [default = 0];
  10898. if (has_total_point()) {
  10899. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->total_point(), target);
  10900. }
  10901. // optional int32 torpedoId = 10 [default = 0];
  10902. if (has_torpedoid()) {
  10903. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->torpedoid(), target);
  10904. }
  10905. // optional int32 base_rate = 11;
  10906. if (has_base_rate()) {
  10907. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->base_rate(), target);
  10908. }
  10909. // optional int32 add_rate = 12 [default = 0];
  10910. if (has_add_rate()) {
  10911. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->add_rate(), target);
  10912. }
  10913. // optional int32 ticket = 13 [default = 0];
  10914. if (has_ticket()) {
  10915. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->ticket(), target);
  10916. }
  10917. // optional int32 add_point = 14 [default = 0];
  10918. if (has_add_point()) {
  10919. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->add_point(), target);
  10920. }
  10921. // repeated .fish_protocols.msg_item items = 15;
  10922. for (int i = 0; i < this->items_size(); i++) {
  10923. target = ::google::protobuf::internal::WireFormatLite::
  10924. WriteMessageNoVirtualToArray(
  10925. 15, this->items(i), target);
  10926. }
  10927. // optional int32 fishCfgId = 16;
  10928. if (has_fishcfgid()) {
  10929. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->fishcfgid(), target);
  10930. }
  10931. if (!unknown_fields().empty()) {
  10932. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10933. unknown_fields(), target);
  10934. }
  10935. return target;
  10936. }
  10937. int packetl2c_bc_fishs_die::ByteSize() const {
  10938. int total_size = 0;
  10939. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10940. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die];
  10941. if (has_packet_id()) {
  10942. total_size += 1 +
  10943. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10944. }
  10945. // optional int32 player_id = 2;
  10946. if (has_player_id()) {
  10947. total_size += 1 +
  10948. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10949. this->player_id());
  10950. }
  10951. // optional int32 die_type = 3;
  10952. if (has_die_type()) {
  10953. total_size += 1 +
  10954. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10955. this->die_type());
  10956. }
  10957. // optional int32 total_score = 5;
  10958. if (has_total_score()) {
  10959. total_size += 1 +
  10960. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10961. this->total_score());
  10962. }
  10963. // optional int32 total_diamond = 6 [default = 0];
  10964. if (has_total_diamond()) {
  10965. total_size += 1 +
  10966. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10967. this->total_diamond());
  10968. }
  10969. // optional int32 total_dimensity = 7 [default = 0];
  10970. if (has_total_dimensity()) {
  10971. total_size += 1 +
  10972. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10973. this->total_dimensity());
  10974. }
  10975. // optional int32 total_ticket = 8 [default = 0];
  10976. if (has_total_ticket()) {
  10977. total_size += 1 +
  10978. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10979. this->total_ticket());
  10980. }
  10981. }
  10982. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  10983. // optional int32 total_point = 9 [default = 0];
  10984. if (has_total_point()) {
  10985. total_size += 1 +
  10986. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10987. this->total_point());
  10988. }
  10989. // optional int32 torpedoId = 10 [default = 0];
  10990. if (has_torpedoid()) {
  10991. total_size += 1 +
  10992. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10993. this->torpedoid());
  10994. }
  10995. // optional int32 base_rate = 11;
  10996. if (has_base_rate()) {
  10997. total_size += 1 +
  10998. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10999. this->base_rate());
  11000. }
  11001. // optional int32 add_rate = 12 [default = 0];
  11002. if (has_add_rate()) {
  11003. total_size += 1 +
  11004. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11005. this->add_rate());
  11006. }
  11007. // optional int32 ticket = 13 [default = 0];
  11008. if (has_ticket()) {
  11009. total_size += 1 +
  11010. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11011. this->ticket());
  11012. }
  11013. // optional int32 add_point = 14 [default = 0];
  11014. if (has_add_point()) {
  11015. total_size += 1 +
  11016. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11017. this->add_point());
  11018. }
  11019. // optional int32 fishCfgId = 16;
  11020. if (has_fishcfgid()) {
  11021. total_size += 2 +
  11022. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11023. this->fishcfgid());
  11024. }
  11025. }
  11026. // repeated int32 die_params = 4;
  11027. {
  11028. int data_size = 0;
  11029. for (int i = 0; i < this->die_params_size(); i++) {
  11030. data_size += ::google::protobuf::internal::WireFormatLite::
  11031. Int32Size(this->die_params(i));
  11032. }
  11033. total_size += 1 * this->die_params_size() + data_size;
  11034. }
  11035. // repeated .fish_protocols.msg_item items = 15;
  11036. total_size += 1 * this->items_size();
  11037. for (int i = 0; i < this->items_size(); i++) {
  11038. total_size +=
  11039. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11040. this->items(i));
  11041. }
  11042. if (!unknown_fields().empty()) {
  11043. total_size +=
  11044. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11045. unknown_fields());
  11046. }
  11047. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11048. _cached_size_ = total_size;
  11049. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11050. return total_size;
  11051. }
  11052. void packetl2c_bc_fishs_die::MergeFrom(const ::google::protobuf::Message& from) {
  11053. GOOGLE_CHECK_NE(&from, this);
  11054. const packetl2c_bc_fishs_die* source =
  11055. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_fishs_die*>(
  11056. &from);
  11057. if (source == NULL) {
  11058. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11059. } else {
  11060. MergeFrom(*source);
  11061. }
  11062. }
  11063. void packetl2c_bc_fishs_die::MergeFrom(const packetl2c_bc_fishs_die& from) {
  11064. GOOGLE_CHECK_NE(&from, this);
  11065. die_params_.MergeFrom(from.die_params_);
  11066. items_.MergeFrom(from.items_);
  11067. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11068. if (from.has_packet_id()) {
  11069. set_packet_id(from.packet_id());
  11070. }
  11071. if (from.has_player_id()) {
  11072. set_player_id(from.player_id());
  11073. }
  11074. if (from.has_die_type()) {
  11075. set_die_type(from.die_type());
  11076. }
  11077. if (from.has_total_score()) {
  11078. set_total_score(from.total_score());
  11079. }
  11080. if (from.has_total_diamond()) {
  11081. set_total_diamond(from.total_diamond());
  11082. }
  11083. if (from.has_total_dimensity()) {
  11084. set_total_dimensity(from.total_dimensity());
  11085. }
  11086. if (from.has_total_ticket()) {
  11087. set_total_ticket(from.total_ticket());
  11088. }
  11089. }
  11090. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  11091. if (from.has_total_point()) {
  11092. set_total_point(from.total_point());
  11093. }
  11094. if (from.has_torpedoid()) {
  11095. set_torpedoid(from.torpedoid());
  11096. }
  11097. if (from.has_base_rate()) {
  11098. set_base_rate(from.base_rate());
  11099. }
  11100. if (from.has_add_rate()) {
  11101. set_add_rate(from.add_rate());
  11102. }
  11103. if (from.has_ticket()) {
  11104. set_ticket(from.ticket());
  11105. }
  11106. if (from.has_add_point()) {
  11107. set_add_point(from.add_point());
  11108. }
  11109. if (from.has_fishcfgid()) {
  11110. set_fishcfgid(from.fishcfgid());
  11111. }
  11112. }
  11113. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11114. }
  11115. void packetl2c_bc_fishs_die::CopyFrom(const ::google::protobuf::Message& from) {
  11116. if (&from == this) return;
  11117. Clear();
  11118. MergeFrom(from);
  11119. }
  11120. void packetl2c_bc_fishs_die::CopyFrom(const packetl2c_bc_fishs_die& from) {
  11121. if (&from == this) return;
  11122. Clear();
  11123. MergeFrom(from);
  11124. }
  11125. bool packetl2c_bc_fishs_die::IsInitialized() const {
  11126. return true;
  11127. }
  11128. void packetl2c_bc_fishs_die::Swap(packetl2c_bc_fishs_die* other) {
  11129. if (other != this) {
  11130. std::swap(packet_id_, other->packet_id_);
  11131. std::swap(player_id_, other->player_id_);
  11132. std::swap(die_type_, other->die_type_);
  11133. die_params_.Swap(&other->die_params_);
  11134. std::swap(total_score_, other->total_score_);
  11135. std::swap(total_diamond_, other->total_diamond_);
  11136. std::swap(total_dimensity_, other->total_dimensity_);
  11137. std::swap(total_ticket_, other->total_ticket_);
  11138. std::swap(total_point_, other->total_point_);
  11139. std::swap(torpedoid_, other->torpedoid_);
  11140. std::swap(base_rate_, other->base_rate_);
  11141. std::swap(add_rate_, other->add_rate_);
  11142. std::swap(ticket_, other->ticket_);
  11143. std::swap(add_point_, other->add_point_);
  11144. items_.Swap(&other->items_);
  11145. std::swap(fishcfgid_, other->fishcfgid_);
  11146. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11147. _unknown_fields_.Swap(&other->_unknown_fields_);
  11148. std::swap(_cached_size_, other->_cached_size_);
  11149. }
  11150. }
  11151. ::google::protobuf::Metadata packetl2c_bc_fishs_die::GetMetadata() const {
  11152. protobuf_AssignDescriptorsOnce();
  11153. ::google::protobuf::Metadata metadata;
  11154. metadata.descriptor = packetl2c_bc_fishs_die_descriptor_;
  11155. metadata.reflection = packetl2c_bc_fishs_die_reflection_;
  11156. return metadata;
  11157. }
  11158. // ===================================================================
  11159. #ifndef _MSC_VER
  11160. const int packetl2c_bc_change_scene::kPacketIdFieldNumber;
  11161. const int packetl2c_bc_change_scene::kSceneIdFieldNumber;
  11162. const int packetl2c_bc_change_scene::kLargeFishIdFieldNumber;
  11163. #endif // !_MSC_VER
  11164. packetl2c_bc_change_scene::packetl2c_bc_change_scene()
  11165. : ::google::protobuf::Message() {
  11166. SharedCtor();
  11167. }
  11168. void packetl2c_bc_change_scene::InitAsDefaultInstance() {
  11169. }
  11170. packetl2c_bc_change_scene::packetl2c_bc_change_scene(const packetl2c_bc_change_scene& from)
  11171. : ::google::protobuf::Message() {
  11172. SharedCtor();
  11173. MergeFrom(from);
  11174. }
  11175. void packetl2c_bc_change_scene::SharedCtor() {
  11176. _cached_size_ = 0;
  11177. packet_id_ = 15209;
  11178. scene_id_ = 0;
  11179. large_fish_id_ = 0;
  11180. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11181. }
  11182. packetl2c_bc_change_scene::~packetl2c_bc_change_scene() {
  11183. SharedDtor();
  11184. }
  11185. void packetl2c_bc_change_scene::SharedDtor() {
  11186. if (this != default_instance_) {
  11187. }
  11188. }
  11189. void packetl2c_bc_change_scene::SetCachedSize(int size) const {
  11190. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11191. _cached_size_ = size;
  11192. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11193. }
  11194. const ::google::protobuf::Descriptor* packetl2c_bc_change_scene::descriptor() {
  11195. protobuf_AssignDescriptorsOnce();
  11196. return packetl2c_bc_change_scene_descriptor_;
  11197. }
  11198. const packetl2c_bc_change_scene& packetl2c_bc_change_scene::default_instance() {
  11199. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  11200. return *default_instance_;
  11201. }
  11202. packetl2c_bc_change_scene* packetl2c_bc_change_scene::default_instance_ = NULL;
  11203. packetl2c_bc_change_scene* packetl2c_bc_change_scene::New() const {
  11204. return new packetl2c_bc_change_scene;
  11205. }
  11206. void packetl2c_bc_change_scene::Clear() {
  11207. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11208. packet_id_ = 15209;
  11209. scene_id_ = 0;
  11210. large_fish_id_ = 0;
  11211. }
  11212. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11213. mutable_unknown_fields()->Clear();
  11214. }
  11215. bool packetl2c_bc_change_scene::MergePartialFromCodedStream(
  11216. ::google::protobuf::io::CodedInputStream* input) {
  11217. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11218. ::google::protobuf::uint32 tag;
  11219. while ((tag = input->ReadTag()) != 0) {
  11220. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11221. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene];
  11222. case 1: {
  11223. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11224. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11225. int value;
  11226. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11227. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11228. input, &value)));
  11229. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  11230. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  11231. } else {
  11232. mutable_unknown_fields()->AddVarint(1, value);
  11233. }
  11234. } else {
  11235. goto handle_uninterpreted;
  11236. }
  11237. if (input->ExpectTag(16)) goto parse_scene_id;
  11238. break;
  11239. }
  11240. // optional int32 scene_id = 2;
  11241. case 2: {
  11242. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11243. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11244. parse_scene_id:
  11245. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11246. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11247. input, &scene_id_)));
  11248. set_has_scene_id();
  11249. } else {
  11250. goto handle_uninterpreted;
  11251. }
  11252. if (input->ExpectTag(24)) goto parse_large_fish_id;
  11253. break;
  11254. }
  11255. // optional int32 large_fish_id = 3;
  11256. case 3: {
  11257. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11258. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11259. parse_large_fish_id:
  11260. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11261. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11262. input, &large_fish_id_)));
  11263. set_has_large_fish_id();
  11264. } else {
  11265. goto handle_uninterpreted;
  11266. }
  11267. if (input->ExpectAtEnd()) return true;
  11268. break;
  11269. }
  11270. default: {
  11271. handle_uninterpreted:
  11272. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11273. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11274. return true;
  11275. }
  11276. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11277. input, tag, mutable_unknown_fields()));
  11278. break;
  11279. }
  11280. }
  11281. }
  11282. return true;
  11283. #undef DO_
  11284. }
  11285. void packetl2c_bc_change_scene::SerializeWithCachedSizes(
  11286. ::google::protobuf::io::CodedOutputStream* output) const {
  11287. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene];
  11288. if (has_packet_id()) {
  11289. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11290. 1, this->packet_id(), output);
  11291. }
  11292. // optional int32 scene_id = 2;
  11293. if (has_scene_id()) {
  11294. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->scene_id(), output);
  11295. }
  11296. // optional int32 large_fish_id = 3;
  11297. if (has_large_fish_id()) {
  11298. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->large_fish_id(), output);
  11299. }
  11300. if (!unknown_fields().empty()) {
  11301. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11302. unknown_fields(), output);
  11303. }
  11304. }
  11305. ::google::protobuf::uint8* packetl2c_bc_change_scene::SerializeWithCachedSizesToArray(
  11306. ::google::protobuf::uint8* target) const {
  11307. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene];
  11308. if (has_packet_id()) {
  11309. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11310. 1, this->packet_id(), target);
  11311. }
  11312. // optional int32 scene_id = 2;
  11313. if (has_scene_id()) {
  11314. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->scene_id(), target);
  11315. }
  11316. // optional int32 large_fish_id = 3;
  11317. if (has_large_fish_id()) {
  11318. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->large_fish_id(), target);
  11319. }
  11320. if (!unknown_fields().empty()) {
  11321. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11322. unknown_fields(), target);
  11323. }
  11324. return target;
  11325. }
  11326. int packetl2c_bc_change_scene::ByteSize() const {
  11327. int total_size = 0;
  11328. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11329. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene];
  11330. if (has_packet_id()) {
  11331. total_size += 1 +
  11332. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11333. }
  11334. // optional int32 scene_id = 2;
  11335. if (has_scene_id()) {
  11336. total_size += 1 +
  11337. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11338. this->scene_id());
  11339. }
  11340. // optional int32 large_fish_id = 3;
  11341. if (has_large_fish_id()) {
  11342. total_size += 1 +
  11343. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11344. this->large_fish_id());
  11345. }
  11346. }
  11347. if (!unknown_fields().empty()) {
  11348. total_size +=
  11349. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11350. unknown_fields());
  11351. }
  11352. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11353. _cached_size_ = total_size;
  11354. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11355. return total_size;
  11356. }
  11357. void packetl2c_bc_change_scene::MergeFrom(const ::google::protobuf::Message& from) {
  11358. GOOGLE_CHECK_NE(&from, this);
  11359. const packetl2c_bc_change_scene* source =
  11360. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_change_scene*>(
  11361. &from);
  11362. if (source == NULL) {
  11363. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11364. } else {
  11365. MergeFrom(*source);
  11366. }
  11367. }
  11368. void packetl2c_bc_change_scene::MergeFrom(const packetl2c_bc_change_scene& from) {
  11369. GOOGLE_CHECK_NE(&from, this);
  11370. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11371. if (from.has_packet_id()) {
  11372. set_packet_id(from.packet_id());
  11373. }
  11374. if (from.has_scene_id()) {
  11375. set_scene_id(from.scene_id());
  11376. }
  11377. if (from.has_large_fish_id()) {
  11378. set_large_fish_id(from.large_fish_id());
  11379. }
  11380. }
  11381. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11382. }
  11383. void packetl2c_bc_change_scene::CopyFrom(const ::google::protobuf::Message& from) {
  11384. if (&from == this) return;
  11385. Clear();
  11386. MergeFrom(from);
  11387. }
  11388. void packetl2c_bc_change_scene::CopyFrom(const packetl2c_bc_change_scene& from) {
  11389. if (&from == this) return;
  11390. Clear();
  11391. MergeFrom(from);
  11392. }
  11393. bool packetl2c_bc_change_scene::IsInitialized() const {
  11394. return true;
  11395. }
  11396. void packetl2c_bc_change_scene::Swap(packetl2c_bc_change_scene* other) {
  11397. if (other != this) {
  11398. std::swap(packet_id_, other->packet_id_);
  11399. std::swap(scene_id_, other->scene_id_);
  11400. std::swap(large_fish_id_, other->large_fish_id_);
  11401. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11402. _unknown_fields_.Swap(&other->_unknown_fields_);
  11403. std::swap(_cached_size_, other->_cached_size_);
  11404. }
  11405. }
  11406. ::google::protobuf::Metadata packetl2c_bc_change_scene::GetMetadata() const {
  11407. protobuf_AssignDescriptorsOnce();
  11408. ::google::protobuf::Metadata metadata;
  11409. metadata.descriptor = packetl2c_bc_change_scene_descriptor_;
  11410. metadata.reflection = packetl2c_bc_change_scene_reflection_;
  11411. return metadata;
  11412. }
  11413. // ===================================================================
  11414. #ifndef _MSC_VER
  11415. const int packetl2c_bc_finish_boss_scene::kPacketIdFieldNumber;
  11416. const int packetl2c_bc_finish_boss_scene::kNotifyTypeFieldNumber;
  11417. const int packetl2c_bc_finish_boss_scene::kBossIdFieldNumber;
  11418. const int packetl2c_bc_finish_boss_scene::kJackpotFieldNumber;
  11419. const int packetl2c_bc_finish_boss_scene::kBaseGoldFieldNumber;
  11420. #endif // !_MSC_VER
  11421. packetl2c_bc_finish_boss_scene::packetl2c_bc_finish_boss_scene()
  11422. : ::google::protobuf::Message() {
  11423. SharedCtor();
  11424. }
  11425. void packetl2c_bc_finish_boss_scene::InitAsDefaultInstance() {
  11426. }
  11427. packetl2c_bc_finish_boss_scene::packetl2c_bc_finish_boss_scene(const packetl2c_bc_finish_boss_scene& from)
  11428. : ::google::protobuf::Message() {
  11429. SharedCtor();
  11430. MergeFrom(from);
  11431. }
  11432. void packetl2c_bc_finish_boss_scene::SharedCtor() {
  11433. _cached_size_ = 0;
  11434. packet_id_ = 15228;
  11435. notify_type_ = 0;
  11436. boss_id_ = 0;
  11437. jackpot_ = GOOGLE_LONGLONG(0);
  11438. basegold_ = 0;
  11439. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11440. }
  11441. packetl2c_bc_finish_boss_scene::~packetl2c_bc_finish_boss_scene() {
  11442. SharedDtor();
  11443. }
  11444. void packetl2c_bc_finish_boss_scene::SharedDtor() {
  11445. if (this != default_instance_) {
  11446. }
  11447. }
  11448. void packetl2c_bc_finish_boss_scene::SetCachedSize(int size) const {
  11449. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11450. _cached_size_ = size;
  11451. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11452. }
  11453. const ::google::protobuf::Descriptor* packetl2c_bc_finish_boss_scene::descriptor() {
  11454. protobuf_AssignDescriptorsOnce();
  11455. return packetl2c_bc_finish_boss_scene_descriptor_;
  11456. }
  11457. const packetl2c_bc_finish_boss_scene& packetl2c_bc_finish_boss_scene::default_instance() {
  11458. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  11459. return *default_instance_;
  11460. }
  11461. packetl2c_bc_finish_boss_scene* packetl2c_bc_finish_boss_scene::default_instance_ = NULL;
  11462. packetl2c_bc_finish_boss_scene* packetl2c_bc_finish_boss_scene::New() const {
  11463. return new packetl2c_bc_finish_boss_scene;
  11464. }
  11465. void packetl2c_bc_finish_boss_scene::Clear() {
  11466. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11467. packet_id_ = 15228;
  11468. notify_type_ = 0;
  11469. boss_id_ = 0;
  11470. jackpot_ = GOOGLE_LONGLONG(0);
  11471. basegold_ = 0;
  11472. }
  11473. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11474. mutable_unknown_fields()->Clear();
  11475. }
  11476. bool packetl2c_bc_finish_boss_scene::MergePartialFromCodedStream(
  11477. ::google::protobuf::io::CodedInputStream* input) {
  11478. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11479. ::google::protobuf::uint32 tag;
  11480. while ((tag = input->ReadTag()) != 0) {
  11481. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11482. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene];
  11483. case 1: {
  11484. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11485. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11486. int value;
  11487. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11488. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11489. input, &value)));
  11490. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  11491. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  11492. } else {
  11493. mutable_unknown_fields()->AddVarint(1, value);
  11494. }
  11495. } else {
  11496. goto handle_uninterpreted;
  11497. }
  11498. if (input->ExpectTag(16)) goto parse_notify_type;
  11499. break;
  11500. }
  11501. // optional int32 notify_type = 2;
  11502. case 2: {
  11503. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11504. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11505. parse_notify_type:
  11506. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11507. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11508. input, &notify_type_)));
  11509. set_has_notify_type();
  11510. } else {
  11511. goto handle_uninterpreted;
  11512. }
  11513. if (input->ExpectTag(24)) goto parse_boss_id;
  11514. break;
  11515. }
  11516. // optional int32 boss_id = 3;
  11517. case 3: {
  11518. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11519. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11520. parse_boss_id:
  11521. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11522. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11523. input, &boss_id_)));
  11524. set_has_boss_id();
  11525. } else {
  11526. goto handle_uninterpreted;
  11527. }
  11528. if (input->ExpectTag(32)) goto parse_jackpot;
  11529. break;
  11530. }
  11531. // optional int64 jackpot = 4;
  11532. case 4: {
  11533. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11534. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11535. parse_jackpot:
  11536. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11537. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  11538. input, &jackpot_)));
  11539. set_has_jackpot();
  11540. } else {
  11541. goto handle_uninterpreted;
  11542. }
  11543. if (input->ExpectTag(40)) goto parse_baseGold;
  11544. break;
  11545. }
  11546. // optional int32 baseGold = 5;
  11547. case 5: {
  11548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11550. parse_baseGold:
  11551. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11552. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11553. input, &basegold_)));
  11554. set_has_basegold();
  11555. } else {
  11556. goto handle_uninterpreted;
  11557. }
  11558. if (input->ExpectAtEnd()) return true;
  11559. break;
  11560. }
  11561. default: {
  11562. handle_uninterpreted:
  11563. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11564. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11565. return true;
  11566. }
  11567. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11568. input, tag, mutable_unknown_fields()));
  11569. break;
  11570. }
  11571. }
  11572. }
  11573. return true;
  11574. #undef DO_
  11575. }
  11576. void packetl2c_bc_finish_boss_scene::SerializeWithCachedSizes(
  11577. ::google::protobuf::io::CodedOutputStream* output) const {
  11578. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene];
  11579. if (has_packet_id()) {
  11580. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11581. 1, this->packet_id(), output);
  11582. }
  11583. // optional int32 notify_type = 2;
  11584. if (has_notify_type()) {
  11585. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->notify_type(), output);
  11586. }
  11587. // optional int32 boss_id = 3;
  11588. if (has_boss_id()) {
  11589. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->boss_id(), output);
  11590. }
  11591. // optional int64 jackpot = 4;
  11592. if (has_jackpot()) {
  11593. ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->jackpot(), output);
  11594. }
  11595. // optional int32 baseGold = 5;
  11596. if (has_basegold()) {
  11597. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->basegold(), output);
  11598. }
  11599. if (!unknown_fields().empty()) {
  11600. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11601. unknown_fields(), output);
  11602. }
  11603. }
  11604. ::google::protobuf::uint8* packetl2c_bc_finish_boss_scene::SerializeWithCachedSizesToArray(
  11605. ::google::protobuf::uint8* target) const {
  11606. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene];
  11607. if (has_packet_id()) {
  11608. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11609. 1, this->packet_id(), target);
  11610. }
  11611. // optional int32 notify_type = 2;
  11612. if (has_notify_type()) {
  11613. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->notify_type(), target);
  11614. }
  11615. // optional int32 boss_id = 3;
  11616. if (has_boss_id()) {
  11617. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->boss_id(), target);
  11618. }
  11619. // optional int64 jackpot = 4;
  11620. if (has_jackpot()) {
  11621. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->jackpot(), target);
  11622. }
  11623. // optional int32 baseGold = 5;
  11624. if (has_basegold()) {
  11625. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->basegold(), target);
  11626. }
  11627. if (!unknown_fields().empty()) {
  11628. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11629. unknown_fields(), target);
  11630. }
  11631. return target;
  11632. }
  11633. int packetl2c_bc_finish_boss_scene::ByteSize() const {
  11634. int total_size = 0;
  11635. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11636. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene];
  11637. if (has_packet_id()) {
  11638. total_size += 1 +
  11639. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11640. }
  11641. // optional int32 notify_type = 2;
  11642. if (has_notify_type()) {
  11643. total_size += 1 +
  11644. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11645. this->notify_type());
  11646. }
  11647. // optional int32 boss_id = 3;
  11648. if (has_boss_id()) {
  11649. total_size += 1 +
  11650. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11651. this->boss_id());
  11652. }
  11653. // optional int64 jackpot = 4;
  11654. if (has_jackpot()) {
  11655. total_size += 1 +
  11656. ::google::protobuf::internal::WireFormatLite::Int64Size(
  11657. this->jackpot());
  11658. }
  11659. // optional int32 baseGold = 5;
  11660. if (has_basegold()) {
  11661. total_size += 1 +
  11662. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11663. this->basegold());
  11664. }
  11665. }
  11666. if (!unknown_fields().empty()) {
  11667. total_size +=
  11668. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11669. unknown_fields());
  11670. }
  11671. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11672. _cached_size_ = total_size;
  11673. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11674. return total_size;
  11675. }
  11676. void packetl2c_bc_finish_boss_scene::MergeFrom(const ::google::protobuf::Message& from) {
  11677. GOOGLE_CHECK_NE(&from, this);
  11678. const packetl2c_bc_finish_boss_scene* source =
  11679. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_finish_boss_scene*>(
  11680. &from);
  11681. if (source == NULL) {
  11682. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11683. } else {
  11684. MergeFrom(*source);
  11685. }
  11686. }
  11687. void packetl2c_bc_finish_boss_scene::MergeFrom(const packetl2c_bc_finish_boss_scene& from) {
  11688. GOOGLE_CHECK_NE(&from, this);
  11689. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11690. if (from.has_packet_id()) {
  11691. set_packet_id(from.packet_id());
  11692. }
  11693. if (from.has_notify_type()) {
  11694. set_notify_type(from.notify_type());
  11695. }
  11696. if (from.has_boss_id()) {
  11697. set_boss_id(from.boss_id());
  11698. }
  11699. if (from.has_jackpot()) {
  11700. set_jackpot(from.jackpot());
  11701. }
  11702. if (from.has_basegold()) {
  11703. set_basegold(from.basegold());
  11704. }
  11705. }
  11706. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11707. }
  11708. void packetl2c_bc_finish_boss_scene::CopyFrom(const ::google::protobuf::Message& from) {
  11709. if (&from == this) return;
  11710. Clear();
  11711. MergeFrom(from);
  11712. }
  11713. void packetl2c_bc_finish_boss_scene::CopyFrom(const packetl2c_bc_finish_boss_scene& from) {
  11714. if (&from == this) return;
  11715. Clear();
  11716. MergeFrom(from);
  11717. }
  11718. bool packetl2c_bc_finish_boss_scene::IsInitialized() const {
  11719. return true;
  11720. }
  11721. void packetl2c_bc_finish_boss_scene::Swap(packetl2c_bc_finish_boss_scene* other) {
  11722. if (other != this) {
  11723. std::swap(packet_id_, other->packet_id_);
  11724. std::swap(notify_type_, other->notify_type_);
  11725. std::swap(boss_id_, other->boss_id_);
  11726. std::swap(jackpot_, other->jackpot_);
  11727. std::swap(basegold_, other->basegold_);
  11728. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11729. _unknown_fields_.Swap(&other->_unknown_fields_);
  11730. std::swap(_cached_size_, other->_cached_size_);
  11731. }
  11732. }
  11733. ::google::protobuf::Metadata packetl2c_bc_finish_boss_scene::GetMetadata() const {
  11734. protobuf_AssignDescriptorsOnce();
  11735. ::google::protobuf::Metadata metadata;
  11736. metadata.descriptor = packetl2c_bc_finish_boss_scene_descriptor_;
  11737. metadata.reflection = packetl2c_bc_finish_boss_scene_reflection_;
  11738. return metadata;
  11739. }
  11740. // ===================================================================
  11741. #ifndef _MSC_VER
  11742. const int packetl2c_bc_using_item::kPacketIdFieldNumber;
  11743. const int packetl2c_bc_using_item::kItemIdFieldNumber;
  11744. const int packetl2c_bc_using_item::kPlayerIdFieldNumber;
  11745. const int packetl2c_bc_using_item::kUseTimeFieldNumber;
  11746. #endif // !_MSC_VER
  11747. packetl2c_bc_using_item::packetl2c_bc_using_item()
  11748. : ::google::protobuf::Message() {
  11749. SharedCtor();
  11750. }
  11751. void packetl2c_bc_using_item::InitAsDefaultInstance() {
  11752. }
  11753. packetl2c_bc_using_item::packetl2c_bc_using_item(const packetl2c_bc_using_item& from)
  11754. : ::google::protobuf::Message() {
  11755. SharedCtor();
  11756. MergeFrom(from);
  11757. }
  11758. void packetl2c_bc_using_item::SharedCtor() {
  11759. _cached_size_ = 0;
  11760. packet_id_ = 15213;
  11761. item_id_ = 0;
  11762. player_id_ = 0;
  11763. use_time_ = -1;
  11764. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11765. }
  11766. packetl2c_bc_using_item::~packetl2c_bc_using_item() {
  11767. SharedDtor();
  11768. }
  11769. void packetl2c_bc_using_item::SharedDtor() {
  11770. if (this != default_instance_) {
  11771. }
  11772. }
  11773. void packetl2c_bc_using_item::SetCachedSize(int size) const {
  11774. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11775. _cached_size_ = size;
  11776. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11777. }
  11778. const ::google::protobuf::Descriptor* packetl2c_bc_using_item::descriptor() {
  11779. protobuf_AssignDescriptorsOnce();
  11780. return packetl2c_bc_using_item_descriptor_;
  11781. }
  11782. const packetl2c_bc_using_item& packetl2c_bc_using_item::default_instance() {
  11783. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  11784. return *default_instance_;
  11785. }
  11786. packetl2c_bc_using_item* packetl2c_bc_using_item::default_instance_ = NULL;
  11787. packetl2c_bc_using_item* packetl2c_bc_using_item::New() const {
  11788. return new packetl2c_bc_using_item;
  11789. }
  11790. void packetl2c_bc_using_item::Clear() {
  11791. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11792. packet_id_ = 15213;
  11793. item_id_ = 0;
  11794. player_id_ = 0;
  11795. use_time_ = -1;
  11796. }
  11797. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11798. mutable_unknown_fields()->Clear();
  11799. }
  11800. bool packetl2c_bc_using_item::MergePartialFromCodedStream(
  11801. ::google::protobuf::io::CodedInputStream* input) {
  11802. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11803. ::google::protobuf::uint32 tag;
  11804. while ((tag = input->ReadTag()) != 0) {
  11805. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11806. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item];
  11807. case 1: {
  11808. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11809. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11810. int value;
  11811. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11812. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11813. input, &value)));
  11814. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  11815. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  11816. } else {
  11817. mutable_unknown_fields()->AddVarint(1, value);
  11818. }
  11819. } else {
  11820. goto handle_uninterpreted;
  11821. }
  11822. if (input->ExpectTag(16)) goto parse_item_id;
  11823. break;
  11824. }
  11825. // optional int32 item_id = 2;
  11826. case 2: {
  11827. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11828. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11829. parse_item_id:
  11830. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11831. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11832. input, &item_id_)));
  11833. set_has_item_id();
  11834. } else {
  11835. goto handle_uninterpreted;
  11836. }
  11837. if (input->ExpectTag(24)) goto parse_player_id;
  11838. break;
  11839. }
  11840. // optional int32 player_id = 3;
  11841. case 3: {
  11842. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11843. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11844. parse_player_id:
  11845. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11846. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11847. input, &player_id_)));
  11848. set_has_player_id();
  11849. } else {
  11850. goto handle_uninterpreted;
  11851. }
  11852. if (input->ExpectTag(32)) goto parse_use_time;
  11853. break;
  11854. }
  11855. // optional int32 use_time = 4 [default = -1];
  11856. case 4: {
  11857. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11858. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11859. parse_use_time:
  11860. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11861. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11862. input, &use_time_)));
  11863. set_has_use_time();
  11864. } else {
  11865. goto handle_uninterpreted;
  11866. }
  11867. if (input->ExpectAtEnd()) return true;
  11868. break;
  11869. }
  11870. default: {
  11871. handle_uninterpreted:
  11872. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11873. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11874. return true;
  11875. }
  11876. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11877. input, tag, mutable_unknown_fields()));
  11878. break;
  11879. }
  11880. }
  11881. }
  11882. return true;
  11883. #undef DO_
  11884. }
  11885. void packetl2c_bc_using_item::SerializeWithCachedSizes(
  11886. ::google::protobuf::io::CodedOutputStream* output) const {
  11887. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item];
  11888. if (has_packet_id()) {
  11889. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11890. 1, this->packet_id(), output);
  11891. }
  11892. // optional int32 item_id = 2;
  11893. if (has_item_id()) {
  11894. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->item_id(), output);
  11895. }
  11896. // optional int32 player_id = 3;
  11897. if (has_player_id()) {
  11898. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output);
  11899. }
  11900. // optional int32 use_time = 4 [default = -1];
  11901. if (has_use_time()) {
  11902. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->use_time(), output);
  11903. }
  11904. if (!unknown_fields().empty()) {
  11905. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11906. unknown_fields(), output);
  11907. }
  11908. }
  11909. ::google::protobuf::uint8* packetl2c_bc_using_item::SerializeWithCachedSizesToArray(
  11910. ::google::protobuf::uint8* target) const {
  11911. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item];
  11912. if (has_packet_id()) {
  11913. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11914. 1, this->packet_id(), target);
  11915. }
  11916. // optional int32 item_id = 2;
  11917. if (has_item_id()) {
  11918. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->item_id(), target);
  11919. }
  11920. // optional int32 player_id = 3;
  11921. if (has_player_id()) {
  11922. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target);
  11923. }
  11924. // optional int32 use_time = 4 [default = -1];
  11925. if (has_use_time()) {
  11926. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->use_time(), target);
  11927. }
  11928. if (!unknown_fields().empty()) {
  11929. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11930. unknown_fields(), target);
  11931. }
  11932. return target;
  11933. }
  11934. int packetl2c_bc_using_item::ByteSize() const {
  11935. int total_size = 0;
  11936. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11937. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item];
  11938. if (has_packet_id()) {
  11939. total_size += 1 +
  11940. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11941. }
  11942. // optional int32 item_id = 2;
  11943. if (has_item_id()) {
  11944. total_size += 1 +
  11945. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11946. this->item_id());
  11947. }
  11948. // optional int32 player_id = 3;
  11949. if (has_player_id()) {
  11950. total_size += 1 +
  11951. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11952. this->player_id());
  11953. }
  11954. // optional int32 use_time = 4 [default = -1];
  11955. if (has_use_time()) {
  11956. total_size += 1 +
  11957. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11958. this->use_time());
  11959. }
  11960. }
  11961. if (!unknown_fields().empty()) {
  11962. total_size +=
  11963. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11964. unknown_fields());
  11965. }
  11966. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11967. _cached_size_ = total_size;
  11968. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11969. return total_size;
  11970. }
  11971. void packetl2c_bc_using_item::MergeFrom(const ::google::protobuf::Message& from) {
  11972. GOOGLE_CHECK_NE(&from, this);
  11973. const packetl2c_bc_using_item* source =
  11974. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_using_item*>(
  11975. &from);
  11976. if (source == NULL) {
  11977. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11978. } else {
  11979. MergeFrom(*source);
  11980. }
  11981. }
  11982. void packetl2c_bc_using_item::MergeFrom(const packetl2c_bc_using_item& from) {
  11983. GOOGLE_CHECK_NE(&from, this);
  11984. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11985. if (from.has_packet_id()) {
  11986. set_packet_id(from.packet_id());
  11987. }
  11988. if (from.has_item_id()) {
  11989. set_item_id(from.item_id());
  11990. }
  11991. if (from.has_player_id()) {
  11992. set_player_id(from.player_id());
  11993. }
  11994. if (from.has_use_time()) {
  11995. set_use_time(from.use_time());
  11996. }
  11997. }
  11998. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11999. }
  12000. void packetl2c_bc_using_item::CopyFrom(const ::google::protobuf::Message& from) {
  12001. if (&from == this) return;
  12002. Clear();
  12003. MergeFrom(from);
  12004. }
  12005. void packetl2c_bc_using_item::CopyFrom(const packetl2c_bc_using_item& from) {
  12006. if (&from == this) return;
  12007. Clear();
  12008. MergeFrom(from);
  12009. }
  12010. bool packetl2c_bc_using_item::IsInitialized() const {
  12011. return true;
  12012. }
  12013. void packetl2c_bc_using_item::Swap(packetl2c_bc_using_item* other) {
  12014. if (other != this) {
  12015. std::swap(packet_id_, other->packet_id_);
  12016. std::swap(item_id_, other->item_id_);
  12017. std::swap(player_id_, other->player_id_);
  12018. std::swap(use_time_, other->use_time_);
  12019. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12020. _unknown_fields_.Swap(&other->_unknown_fields_);
  12021. std::swap(_cached_size_, other->_cached_size_);
  12022. }
  12023. }
  12024. ::google::protobuf::Metadata packetl2c_bc_using_item::GetMetadata() const {
  12025. protobuf_AssignDescriptorsOnce();
  12026. ::google::protobuf::Metadata metadata;
  12027. metadata.descriptor = packetl2c_bc_using_item_descriptor_;
  12028. metadata.reflection = packetl2c_bc_using_item_reflection_;
  12029. return metadata;
  12030. }
  12031. // ===================================================================
  12032. #ifndef _MSC_VER
  12033. const int packetl2c_bc_stop_using_item::kPacketIdFieldNumber;
  12034. const int packetl2c_bc_stop_using_item::kItemIdFieldNumber;
  12035. const int packetl2c_bc_stop_using_item::kPlayerIdFieldNumber;
  12036. #endif // !_MSC_VER
  12037. packetl2c_bc_stop_using_item::packetl2c_bc_stop_using_item()
  12038. : ::google::protobuf::Message() {
  12039. SharedCtor();
  12040. }
  12041. void packetl2c_bc_stop_using_item::InitAsDefaultInstance() {
  12042. }
  12043. packetl2c_bc_stop_using_item::packetl2c_bc_stop_using_item(const packetl2c_bc_stop_using_item& from)
  12044. : ::google::protobuf::Message() {
  12045. SharedCtor();
  12046. MergeFrom(from);
  12047. }
  12048. void packetl2c_bc_stop_using_item::SharedCtor() {
  12049. _cached_size_ = 0;
  12050. packet_id_ = 15214;
  12051. item_id_ = 0;
  12052. player_id_ = 0;
  12053. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12054. }
  12055. packetl2c_bc_stop_using_item::~packetl2c_bc_stop_using_item() {
  12056. SharedDtor();
  12057. }
  12058. void packetl2c_bc_stop_using_item::SharedDtor() {
  12059. if (this != default_instance_) {
  12060. }
  12061. }
  12062. void packetl2c_bc_stop_using_item::SetCachedSize(int size) const {
  12063. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12064. _cached_size_ = size;
  12065. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12066. }
  12067. const ::google::protobuf::Descriptor* packetl2c_bc_stop_using_item::descriptor() {
  12068. protobuf_AssignDescriptorsOnce();
  12069. return packetl2c_bc_stop_using_item_descriptor_;
  12070. }
  12071. const packetl2c_bc_stop_using_item& packetl2c_bc_stop_using_item::default_instance() {
  12072. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  12073. return *default_instance_;
  12074. }
  12075. packetl2c_bc_stop_using_item* packetl2c_bc_stop_using_item::default_instance_ = NULL;
  12076. packetl2c_bc_stop_using_item* packetl2c_bc_stop_using_item::New() const {
  12077. return new packetl2c_bc_stop_using_item;
  12078. }
  12079. void packetl2c_bc_stop_using_item::Clear() {
  12080. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12081. packet_id_ = 15214;
  12082. item_id_ = 0;
  12083. player_id_ = 0;
  12084. }
  12085. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12086. mutable_unknown_fields()->Clear();
  12087. }
  12088. bool packetl2c_bc_stop_using_item::MergePartialFromCodedStream(
  12089. ::google::protobuf::io::CodedInputStream* input) {
  12090. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12091. ::google::protobuf::uint32 tag;
  12092. while ((tag = input->ReadTag()) != 0) {
  12093. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12094. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item];
  12095. case 1: {
  12096. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12097. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12098. int value;
  12099. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12100. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12101. input, &value)));
  12102. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  12103. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  12104. } else {
  12105. mutable_unknown_fields()->AddVarint(1, value);
  12106. }
  12107. } else {
  12108. goto handle_uninterpreted;
  12109. }
  12110. if (input->ExpectTag(16)) goto parse_item_id;
  12111. break;
  12112. }
  12113. // optional int32 item_id = 2;
  12114. case 2: {
  12115. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12116. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12117. parse_item_id:
  12118. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12119. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12120. input, &item_id_)));
  12121. set_has_item_id();
  12122. } else {
  12123. goto handle_uninterpreted;
  12124. }
  12125. if (input->ExpectTag(24)) goto parse_player_id;
  12126. break;
  12127. }
  12128. // optional int32 player_id = 3;
  12129. case 3: {
  12130. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12131. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12132. parse_player_id:
  12133. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12134. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12135. input, &player_id_)));
  12136. set_has_player_id();
  12137. } else {
  12138. goto handle_uninterpreted;
  12139. }
  12140. if (input->ExpectAtEnd()) return true;
  12141. break;
  12142. }
  12143. default: {
  12144. handle_uninterpreted:
  12145. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12146. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12147. return true;
  12148. }
  12149. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12150. input, tag, mutable_unknown_fields()));
  12151. break;
  12152. }
  12153. }
  12154. }
  12155. return true;
  12156. #undef DO_
  12157. }
  12158. void packetl2c_bc_stop_using_item::SerializeWithCachedSizes(
  12159. ::google::protobuf::io::CodedOutputStream* output) const {
  12160. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item];
  12161. if (has_packet_id()) {
  12162. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12163. 1, this->packet_id(), output);
  12164. }
  12165. // optional int32 item_id = 2;
  12166. if (has_item_id()) {
  12167. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->item_id(), output);
  12168. }
  12169. // optional int32 player_id = 3;
  12170. if (has_player_id()) {
  12171. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output);
  12172. }
  12173. if (!unknown_fields().empty()) {
  12174. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12175. unknown_fields(), output);
  12176. }
  12177. }
  12178. ::google::protobuf::uint8* packetl2c_bc_stop_using_item::SerializeWithCachedSizesToArray(
  12179. ::google::protobuf::uint8* target) const {
  12180. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item];
  12181. if (has_packet_id()) {
  12182. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12183. 1, this->packet_id(), target);
  12184. }
  12185. // optional int32 item_id = 2;
  12186. if (has_item_id()) {
  12187. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->item_id(), target);
  12188. }
  12189. // optional int32 player_id = 3;
  12190. if (has_player_id()) {
  12191. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target);
  12192. }
  12193. if (!unknown_fields().empty()) {
  12194. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12195. unknown_fields(), target);
  12196. }
  12197. return target;
  12198. }
  12199. int packetl2c_bc_stop_using_item::ByteSize() const {
  12200. int total_size = 0;
  12201. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12202. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item];
  12203. if (has_packet_id()) {
  12204. total_size += 1 +
  12205. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12206. }
  12207. // optional int32 item_id = 2;
  12208. if (has_item_id()) {
  12209. total_size += 1 +
  12210. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12211. this->item_id());
  12212. }
  12213. // optional int32 player_id = 3;
  12214. if (has_player_id()) {
  12215. total_size += 1 +
  12216. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12217. this->player_id());
  12218. }
  12219. }
  12220. if (!unknown_fields().empty()) {
  12221. total_size +=
  12222. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12223. unknown_fields());
  12224. }
  12225. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12226. _cached_size_ = total_size;
  12227. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12228. return total_size;
  12229. }
  12230. void packetl2c_bc_stop_using_item::MergeFrom(const ::google::protobuf::Message& from) {
  12231. GOOGLE_CHECK_NE(&from, this);
  12232. const packetl2c_bc_stop_using_item* source =
  12233. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_stop_using_item*>(
  12234. &from);
  12235. if (source == NULL) {
  12236. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12237. } else {
  12238. MergeFrom(*source);
  12239. }
  12240. }
  12241. void packetl2c_bc_stop_using_item::MergeFrom(const packetl2c_bc_stop_using_item& from) {
  12242. GOOGLE_CHECK_NE(&from, this);
  12243. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12244. if (from.has_packet_id()) {
  12245. set_packet_id(from.packet_id());
  12246. }
  12247. if (from.has_item_id()) {
  12248. set_item_id(from.item_id());
  12249. }
  12250. if (from.has_player_id()) {
  12251. set_player_id(from.player_id());
  12252. }
  12253. }
  12254. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12255. }
  12256. void packetl2c_bc_stop_using_item::CopyFrom(const ::google::protobuf::Message& from) {
  12257. if (&from == this) return;
  12258. Clear();
  12259. MergeFrom(from);
  12260. }
  12261. void packetl2c_bc_stop_using_item::CopyFrom(const packetl2c_bc_stop_using_item& from) {
  12262. if (&from == this) return;
  12263. Clear();
  12264. MergeFrom(from);
  12265. }
  12266. bool packetl2c_bc_stop_using_item::IsInitialized() const {
  12267. return true;
  12268. }
  12269. void packetl2c_bc_stop_using_item::Swap(packetl2c_bc_stop_using_item* other) {
  12270. if (other != this) {
  12271. std::swap(packet_id_, other->packet_id_);
  12272. std::swap(item_id_, other->item_id_);
  12273. std::swap(player_id_, other->player_id_);
  12274. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12275. _unknown_fields_.Swap(&other->_unknown_fields_);
  12276. std::swap(_cached_size_, other->_cached_size_);
  12277. }
  12278. }
  12279. ::google::protobuf::Metadata packetl2c_bc_stop_using_item::GetMetadata() const {
  12280. protobuf_AssignDescriptorsOnce();
  12281. ::google::protobuf::Metadata metadata;
  12282. metadata.descriptor = packetl2c_bc_stop_using_item_descriptor_;
  12283. metadata.reflection = packetl2c_bc_stop_using_item_reflection_;
  12284. return metadata;
  12285. }
  12286. // ===================================================================
  12287. #ifndef _MSC_VER
  12288. const int packetl2c_bc_changeturret::kPacketIdFieldNumber;
  12289. const int packetl2c_bc_changeturret::kTurretIdFieldNumber;
  12290. const int packetl2c_bc_changeturret::kPlayerIdFieldNumber;
  12291. #endif // !_MSC_VER
  12292. packetl2c_bc_changeturret::packetl2c_bc_changeturret()
  12293. : ::google::protobuf::Message() {
  12294. SharedCtor();
  12295. }
  12296. void packetl2c_bc_changeturret::InitAsDefaultInstance() {
  12297. }
  12298. packetl2c_bc_changeturret::packetl2c_bc_changeturret(const packetl2c_bc_changeturret& from)
  12299. : ::google::protobuf::Message() {
  12300. SharedCtor();
  12301. MergeFrom(from);
  12302. }
  12303. void packetl2c_bc_changeturret::SharedCtor() {
  12304. _cached_size_ = 0;
  12305. packet_id_ = 15215;
  12306. turret_id_ = 0;
  12307. player_id_ = 0;
  12308. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12309. }
  12310. packetl2c_bc_changeturret::~packetl2c_bc_changeturret() {
  12311. SharedDtor();
  12312. }
  12313. void packetl2c_bc_changeturret::SharedDtor() {
  12314. if (this != default_instance_) {
  12315. }
  12316. }
  12317. void packetl2c_bc_changeturret::SetCachedSize(int size) const {
  12318. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12319. _cached_size_ = size;
  12320. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12321. }
  12322. const ::google::protobuf::Descriptor* packetl2c_bc_changeturret::descriptor() {
  12323. protobuf_AssignDescriptorsOnce();
  12324. return packetl2c_bc_changeturret_descriptor_;
  12325. }
  12326. const packetl2c_bc_changeturret& packetl2c_bc_changeturret::default_instance() {
  12327. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  12328. return *default_instance_;
  12329. }
  12330. packetl2c_bc_changeturret* packetl2c_bc_changeturret::default_instance_ = NULL;
  12331. packetl2c_bc_changeturret* packetl2c_bc_changeturret::New() const {
  12332. return new packetl2c_bc_changeturret;
  12333. }
  12334. void packetl2c_bc_changeturret::Clear() {
  12335. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12336. packet_id_ = 15215;
  12337. turret_id_ = 0;
  12338. player_id_ = 0;
  12339. }
  12340. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12341. mutable_unknown_fields()->Clear();
  12342. }
  12343. bool packetl2c_bc_changeturret::MergePartialFromCodedStream(
  12344. ::google::protobuf::io::CodedInputStream* input) {
  12345. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12346. ::google::protobuf::uint32 tag;
  12347. while ((tag = input->ReadTag()) != 0) {
  12348. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12349. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret];
  12350. case 1: {
  12351. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12352. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12353. int value;
  12354. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12355. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12356. input, &value)));
  12357. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  12358. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  12359. } else {
  12360. mutable_unknown_fields()->AddVarint(1, value);
  12361. }
  12362. } else {
  12363. goto handle_uninterpreted;
  12364. }
  12365. if (input->ExpectTag(16)) goto parse_turret_id;
  12366. break;
  12367. }
  12368. // optional int32 turret_id = 2;
  12369. case 2: {
  12370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12372. parse_turret_id:
  12373. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12374. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12375. input, &turret_id_)));
  12376. set_has_turret_id();
  12377. } else {
  12378. goto handle_uninterpreted;
  12379. }
  12380. if (input->ExpectTag(24)) goto parse_player_id;
  12381. break;
  12382. }
  12383. // optional int32 player_id = 3;
  12384. case 3: {
  12385. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12386. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12387. parse_player_id:
  12388. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12389. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12390. input, &player_id_)));
  12391. set_has_player_id();
  12392. } else {
  12393. goto handle_uninterpreted;
  12394. }
  12395. if (input->ExpectAtEnd()) return true;
  12396. break;
  12397. }
  12398. default: {
  12399. handle_uninterpreted:
  12400. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12401. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12402. return true;
  12403. }
  12404. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12405. input, tag, mutable_unknown_fields()));
  12406. break;
  12407. }
  12408. }
  12409. }
  12410. return true;
  12411. #undef DO_
  12412. }
  12413. void packetl2c_bc_changeturret::SerializeWithCachedSizes(
  12414. ::google::protobuf::io::CodedOutputStream* output) const {
  12415. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret];
  12416. if (has_packet_id()) {
  12417. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12418. 1, this->packet_id(), output);
  12419. }
  12420. // optional int32 turret_id = 2;
  12421. if (has_turret_id()) {
  12422. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->turret_id(), output);
  12423. }
  12424. // optional int32 player_id = 3;
  12425. if (has_player_id()) {
  12426. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output);
  12427. }
  12428. if (!unknown_fields().empty()) {
  12429. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12430. unknown_fields(), output);
  12431. }
  12432. }
  12433. ::google::protobuf::uint8* packetl2c_bc_changeturret::SerializeWithCachedSizesToArray(
  12434. ::google::protobuf::uint8* target) const {
  12435. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret];
  12436. if (has_packet_id()) {
  12437. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12438. 1, this->packet_id(), target);
  12439. }
  12440. // optional int32 turret_id = 2;
  12441. if (has_turret_id()) {
  12442. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->turret_id(), target);
  12443. }
  12444. // optional int32 player_id = 3;
  12445. if (has_player_id()) {
  12446. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target);
  12447. }
  12448. if (!unknown_fields().empty()) {
  12449. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12450. unknown_fields(), target);
  12451. }
  12452. return target;
  12453. }
  12454. int packetl2c_bc_changeturret::ByteSize() const {
  12455. int total_size = 0;
  12456. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12457. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret];
  12458. if (has_packet_id()) {
  12459. total_size += 1 +
  12460. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12461. }
  12462. // optional int32 turret_id = 2;
  12463. if (has_turret_id()) {
  12464. total_size += 1 +
  12465. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12466. this->turret_id());
  12467. }
  12468. // optional int32 player_id = 3;
  12469. if (has_player_id()) {
  12470. total_size += 1 +
  12471. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12472. this->player_id());
  12473. }
  12474. }
  12475. if (!unknown_fields().empty()) {
  12476. total_size +=
  12477. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12478. unknown_fields());
  12479. }
  12480. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12481. _cached_size_ = total_size;
  12482. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12483. return total_size;
  12484. }
  12485. void packetl2c_bc_changeturret::MergeFrom(const ::google::protobuf::Message& from) {
  12486. GOOGLE_CHECK_NE(&from, this);
  12487. const packetl2c_bc_changeturret* source =
  12488. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_changeturret*>(
  12489. &from);
  12490. if (source == NULL) {
  12491. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12492. } else {
  12493. MergeFrom(*source);
  12494. }
  12495. }
  12496. void packetl2c_bc_changeturret::MergeFrom(const packetl2c_bc_changeturret& from) {
  12497. GOOGLE_CHECK_NE(&from, this);
  12498. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12499. if (from.has_packet_id()) {
  12500. set_packet_id(from.packet_id());
  12501. }
  12502. if (from.has_turret_id()) {
  12503. set_turret_id(from.turret_id());
  12504. }
  12505. if (from.has_player_id()) {
  12506. set_player_id(from.player_id());
  12507. }
  12508. }
  12509. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12510. }
  12511. void packetl2c_bc_changeturret::CopyFrom(const ::google::protobuf::Message& from) {
  12512. if (&from == this) return;
  12513. Clear();
  12514. MergeFrom(from);
  12515. }
  12516. void packetl2c_bc_changeturret::CopyFrom(const packetl2c_bc_changeturret& from) {
  12517. if (&from == this) return;
  12518. Clear();
  12519. MergeFrom(from);
  12520. }
  12521. bool packetl2c_bc_changeturret::IsInitialized() const {
  12522. return true;
  12523. }
  12524. void packetl2c_bc_changeturret::Swap(packetl2c_bc_changeturret* other) {
  12525. if (other != this) {
  12526. std::swap(packet_id_, other->packet_id_);
  12527. std::swap(turret_id_, other->turret_id_);
  12528. std::swap(player_id_, other->player_id_);
  12529. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12530. _unknown_fields_.Swap(&other->_unknown_fields_);
  12531. std::swap(_cached_size_, other->_cached_size_);
  12532. }
  12533. }
  12534. ::google::protobuf::Metadata packetl2c_bc_changeturret::GetMetadata() const {
  12535. protobuf_AssignDescriptorsOnce();
  12536. ::google::protobuf::Metadata metadata;
  12537. metadata.descriptor = packetl2c_bc_changeturret_descriptor_;
  12538. metadata.reflection = packetl2c_bc_changeturret_reflection_;
  12539. return metadata;
  12540. }
  12541. // ===================================================================
  12542. #ifndef _MSC_VER
  12543. const int packetc2l_lock_fish::kPacketIdFieldNumber;
  12544. const int packetc2l_lock_fish::kFishIdFieldNumber;
  12545. #endif // !_MSC_VER
  12546. packetc2l_lock_fish::packetc2l_lock_fish()
  12547. : ::google::protobuf::Message() {
  12548. SharedCtor();
  12549. }
  12550. void packetc2l_lock_fish::InitAsDefaultInstance() {
  12551. }
  12552. packetc2l_lock_fish::packetc2l_lock_fish(const packetc2l_lock_fish& from)
  12553. : ::google::protobuf::Message() {
  12554. SharedCtor();
  12555. MergeFrom(from);
  12556. }
  12557. void packetc2l_lock_fish::SharedCtor() {
  12558. _cached_size_ = 0;
  12559. packet_id_ = 10109;
  12560. fish_id_ = 0;
  12561. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12562. }
  12563. packetc2l_lock_fish::~packetc2l_lock_fish() {
  12564. SharedDtor();
  12565. }
  12566. void packetc2l_lock_fish::SharedDtor() {
  12567. if (this != default_instance_) {
  12568. }
  12569. }
  12570. void packetc2l_lock_fish::SetCachedSize(int size) const {
  12571. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12572. _cached_size_ = size;
  12573. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12574. }
  12575. const ::google::protobuf::Descriptor* packetc2l_lock_fish::descriptor() {
  12576. protobuf_AssignDescriptorsOnce();
  12577. return packetc2l_lock_fish_descriptor_;
  12578. }
  12579. const packetc2l_lock_fish& packetc2l_lock_fish::default_instance() {
  12580. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  12581. return *default_instance_;
  12582. }
  12583. packetc2l_lock_fish* packetc2l_lock_fish::default_instance_ = NULL;
  12584. packetc2l_lock_fish* packetc2l_lock_fish::New() const {
  12585. return new packetc2l_lock_fish;
  12586. }
  12587. void packetc2l_lock_fish::Clear() {
  12588. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12589. packet_id_ = 10109;
  12590. fish_id_ = 0;
  12591. }
  12592. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12593. mutable_unknown_fields()->Clear();
  12594. }
  12595. bool packetc2l_lock_fish::MergePartialFromCodedStream(
  12596. ::google::protobuf::io::CodedInputStream* input) {
  12597. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12598. ::google::protobuf::uint32 tag;
  12599. while ((tag = input->ReadTag()) != 0) {
  12600. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12601. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish];
  12602. case 1: {
  12603. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12604. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12605. int value;
  12606. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12607. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12608. input, &value)));
  12609. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  12610. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  12611. } else {
  12612. mutable_unknown_fields()->AddVarint(1, value);
  12613. }
  12614. } else {
  12615. goto handle_uninterpreted;
  12616. }
  12617. if (input->ExpectTag(32)) goto parse_fish_id;
  12618. break;
  12619. }
  12620. // optional int32 fish_id = 4;
  12621. case 4: {
  12622. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12623. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12624. parse_fish_id:
  12625. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12626. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12627. input, &fish_id_)));
  12628. set_has_fish_id();
  12629. } else {
  12630. goto handle_uninterpreted;
  12631. }
  12632. if (input->ExpectAtEnd()) return true;
  12633. break;
  12634. }
  12635. default: {
  12636. handle_uninterpreted:
  12637. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12638. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12639. return true;
  12640. }
  12641. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12642. input, tag, mutable_unknown_fields()));
  12643. break;
  12644. }
  12645. }
  12646. }
  12647. return true;
  12648. #undef DO_
  12649. }
  12650. void packetc2l_lock_fish::SerializeWithCachedSizes(
  12651. ::google::protobuf::io::CodedOutputStream* output) const {
  12652. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish];
  12653. if (has_packet_id()) {
  12654. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12655. 1, this->packet_id(), output);
  12656. }
  12657. // optional int32 fish_id = 4;
  12658. if (has_fish_id()) {
  12659. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fish_id(), output);
  12660. }
  12661. if (!unknown_fields().empty()) {
  12662. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12663. unknown_fields(), output);
  12664. }
  12665. }
  12666. ::google::protobuf::uint8* packetc2l_lock_fish::SerializeWithCachedSizesToArray(
  12667. ::google::protobuf::uint8* target) const {
  12668. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish];
  12669. if (has_packet_id()) {
  12670. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12671. 1, this->packet_id(), target);
  12672. }
  12673. // optional int32 fish_id = 4;
  12674. if (has_fish_id()) {
  12675. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fish_id(), target);
  12676. }
  12677. if (!unknown_fields().empty()) {
  12678. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12679. unknown_fields(), target);
  12680. }
  12681. return target;
  12682. }
  12683. int packetc2l_lock_fish::ByteSize() const {
  12684. int total_size = 0;
  12685. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12686. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish];
  12687. if (has_packet_id()) {
  12688. total_size += 1 +
  12689. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12690. }
  12691. // optional int32 fish_id = 4;
  12692. if (has_fish_id()) {
  12693. total_size += 1 +
  12694. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12695. this->fish_id());
  12696. }
  12697. }
  12698. if (!unknown_fields().empty()) {
  12699. total_size +=
  12700. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12701. unknown_fields());
  12702. }
  12703. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12704. _cached_size_ = total_size;
  12705. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12706. return total_size;
  12707. }
  12708. void packetc2l_lock_fish::MergeFrom(const ::google::protobuf::Message& from) {
  12709. GOOGLE_CHECK_NE(&from, this);
  12710. const packetc2l_lock_fish* source =
  12711. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_lock_fish*>(
  12712. &from);
  12713. if (source == NULL) {
  12714. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12715. } else {
  12716. MergeFrom(*source);
  12717. }
  12718. }
  12719. void packetc2l_lock_fish::MergeFrom(const packetc2l_lock_fish& from) {
  12720. GOOGLE_CHECK_NE(&from, this);
  12721. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12722. if (from.has_packet_id()) {
  12723. set_packet_id(from.packet_id());
  12724. }
  12725. if (from.has_fish_id()) {
  12726. set_fish_id(from.fish_id());
  12727. }
  12728. }
  12729. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12730. }
  12731. void packetc2l_lock_fish::CopyFrom(const ::google::protobuf::Message& from) {
  12732. if (&from == this) return;
  12733. Clear();
  12734. MergeFrom(from);
  12735. }
  12736. void packetc2l_lock_fish::CopyFrom(const packetc2l_lock_fish& from) {
  12737. if (&from == this) return;
  12738. Clear();
  12739. MergeFrom(from);
  12740. }
  12741. bool packetc2l_lock_fish::IsInitialized() const {
  12742. return true;
  12743. }
  12744. void packetc2l_lock_fish::Swap(packetc2l_lock_fish* other) {
  12745. if (other != this) {
  12746. std::swap(packet_id_, other->packet_id_);
  12747. std::swap(fish_id_, other->fish_id_);
  12748. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12749. _unknown_fields_.Swap(&other->_unknown_fields_);
  12750. std::swap(_cached_size_, other->_cached_size_);
  12751. }
  12752. }
  12753. ::google::protobuf::Metadata packetc2l_lock_fish::GetMetadata() const {
  12754. protobuf_AssignDescriptorsOnce();
  12755. ::google::protobuf::Metadata metadata;
  12756. metadata.descriptor = packetc2l_lock_fish_descriptor_;
  12757. metadata.reflection = packetc2l_lock_fish_reflection_;
  12758. return metadata;
  12759. }
  12760. // ===================================================================
  12761. #ifndef _MSC_VER
  12762. const int packetl2c_bc_lock_fish::kPacketIdFieldNumber;
  12763. const int packetl2c_bc_lock_fish::kResultFieldNumber;
  12764. const int packetl2c_bc_lock_fish::kPlayerIdFieldNumber;
  12765. const int packetl2c_bc_lock_fish::kFishIdFieldNumber;
  12766. #endif // !_MSC_VER
  12767. packetl2c_bc_lock_fish::packetl2c_bc_lock_fish()
  12768. : ::google::protobuf::Message() {
  12769. SharedCtor();
  12770. }
  12771. void packetl2c_bc_lock_fish::InitAsDefaultInstance() {
  12772. }
  12773. packetl2c_bc_lock_fish::packetl2c_bc_lock_fish(const packetl2c_bc_lock_fish& from)
  12774. : ::google::protobuf::Message() {
  12775. SharedCtor();
  12776. MergeFrom(from);
  12777. }
  12778. void packetl2c_bc_lock_fish::SharedCtor() {
  12779. _cached_size_ = 0;
  12780. packet_id_ = 15216;
  12781. result_ = 0;
  12782. player_id_ = 0;
  12783. fish_id_ = 0;
  12784. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12785. }
  12786. packetl2c_bc_lock_fish::~packetl2c_bc_lock_fish() {
  12787. SharedDtor();
  12788. }
  12789. void packetl2c_bc_lock_fish::SharedDtor() {
  12790. if (this != default_instance_) {
  12791. }
  12792. }
  12793. void packetl2c_bc_lock_fish::SetCachedSize(int size) const {
  12794. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12795. _cached_size_ = size;
  12796. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12797. }
  12798. const ::google::protobuf::Descriptor* packetl2c_bc_lock_fish::descriptor() {
  12799. protobuf_AssignDescriptorsOnce();
  12800. return packetl2c_bc_lock_fish_descriptor_;
  12801. }
  12802. const packetl2c_bc_lock_fish& packetl2c_bc_lock_fish::default_instance() {
  12803. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  12804. return *default_instance_;
  12805. }
  12806. packetl2c_bc_lock_fish* packetl2c_bc_lock_fish::default_instance_ = NULL;
  12807. packetl2c_bc_lock_fish* packetl2c_bc_lock_fish::New() const {
  12808. return new packetl2c_bc_lock_fish;
  12809. }
  12810. void packetl2c_bc_lock_fish::Clear() {
  12811. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12812. packet_id_ = 15216;
  12813. result_ = 0;
  12814. player_id_ = 0;
  12815. fish_id_ = 0;
  12816. }
  12817. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12818. mutable_unknown_fields()->Clear();
  12819. }
  12820. bool packetl2c_bc_lock_fish::MergePartialFromCodedStream(
  12821. ::google::protobuf::io::CodedInputStream* input) {
  12822. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12823. ::google::protobuf::uint32 tag;
  12824. while ((tag = input->ReadTag()) != 0) {
  12825. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12826. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish];
  12827. case 1: {
  12828. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12829. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12830. int value;
  12831. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12832. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12833. input, &value)));
  12834. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  12835. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  12836. } else {
  12837. mutable_unknown_fields()->AddVarint(1, value);
  12838. }
  12839. } else {
  12840. goto handle_uninterpreted;
  12841. }
  12842. if (input->ExpectTag(16)) goto parse_result;
  12843. break;
  12844. }
  12845. // optional int32 result = 2;
  12846. case 2: {
  12847. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12848. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12849. parse_result:
  12850. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12851. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12852. input, &result_)));
  12853. set_has_result();
  12854. } else {
  12855. goto handle_uninterpreted;
  12856. }
  12857. if (input->ExpectTag(24)) goto parse_player_id;
  12858. break;
  12859. }
  12860. // optional int32 player_id = 3;
  12861. case 3: {
  12862. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12863. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12864. parse_player_id:
  12865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12866. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12867. input, &player_id_)));
  12868. set_has_player_id();
  12869. } else {
  12870. goto handle_uninterpreted;
  12871. }
  12872. if (input->ExpectTag(32)) goto parse_fish_id;
  12873. break;
  12874. }
  12875. // optional int32 fish_id = 4;
  12876. case 4: {
  12877. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12878. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12879. parse_fish_id:
  12880. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12881. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12882. input, &fish_id_)));
  12883. set_has_fish_id();
  12884. } else {
  12885. goto handle_uninterpreted;
  12886. }
  12887. if (input->ExpectAtEnd()) return true;
  12888. break;
  12889. }
  12890. default: {
  12891. handle_uninterpreted:
  12892. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12893. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12894. return true;
  12895. }
  12896. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12897. input, tag, mutable_unknown_fields()));
  12898. break;
  12899. }
  12900. }
  12901. }
  12902. return true;
  12903. #undef DO_
  12904. }
  12905. void packetl2c_bc_lock_fish::SerializeWithCachedSizes(
  12906. ::google::protobuf::io::CodedOutputStream* output) const {
  12907. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish];
  12908. if (has_packet_id()) {
  12909. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12910. 1, this->packet_id(), output);
  12911. }
  12912. // optional int32 result = 2;
  12913. if (has_result()) {
  12914. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  12915. }
  12916. // optional int32 player_id = 3;
  12917. if (has_player_id()) {
  12918. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output);
  12919. }
  12920. // optional int32 fish_id = 4;
  12921. if (has_fish_id()) {
  12922. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fish_id(), output);
  12923. }
  12924. if (!unknown_fields().empty()) {
  12925. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12926. unknown_fields(), output);
  12927. }
  12928. }
  12929. ::google::protobuf::uint8* packetl2c_bc_lock_fish::SerializeWithCachedSizesToArray(
  12930. ::google::protobuf::uint8* target) const {
  12931. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish];
  12932. if (has_packet_id()) {
  12933. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12934. 1, this->packet_id(), target);
  12935. }
  12936. // optional int32 result = 2;
  12937. if (has_result()) {
  12938. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  12939. }
  12940. // optional int32 player_id = 3;
  12941. if (has_player_id()) {
  12942. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target);
  12943. }
  12944. // optional int32 fish_id = 4;
  12945. if (has_fish_id()) {
  12946. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fish_id(), target);
  12947. }
  12948. if (!unknown_fields().empty()) {
  12949. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12950. unknown_fields(), target);
  12951. }
  12952. return target;
  12953. }
  12954. int packetl2c_bc_lock_fish::ByteSize() const {
  12955. int total_size = 0;
  12956. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12957. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish];
  12958. if (has_packet_id()) {
  12959. total_size += 1 +
  12960. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12961. }
  12962. // optional int32 result = 2;
  12963. if (has_result()) {
  12964. total_size += 1 +
  12965. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12966. this->result());
  12967. }
  12968. // optional int32 player_id = 3;
  12969. if (has_player_id()) {
  12970. total_size += 1 +
  12971. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12972. this->player_id());
  12973. }
  12974. // optional int32 fish_id = 4;
  12975. if (has_fish_id()) {
  12976. total_size += 1 +
  12977. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12978. this->fish_id());
  12979. }
  12980. }
  12981. if (!unknown_fields().empty()) {
  12982. total_size +=
  12983. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12984. unknown_fields());
  12985. }
  12986. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12987. _cached_size_ = total_size;
  12988. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12989. return total_size;
  12990. }
  12991. void packetl2c_bc_lock_fish::MergeFrom(const ::google::protobuf::Message& from) {
  12992. GOOGLE_CHECK_NE(&from, this);
  12993. const packetl2c_bc_lock_fish* source =
  12994. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_lock_fish*>(
  12995. &from);
  12996. if (source == NULL) {
  12997. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12998. } else {
  12999. MergeFrom(*source);
  13000. }
  13001. }
  13002. void packetl2c_bc_lock_fish::MergeFrom(const packetl2c_bc_lock_fish& from) {
  13003. GOOGLE_CHECK_NE(&from, this);
  13004. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13005. if (from.has_packet_id()) {
  13006. set_packet_id(from.packet_id());
  13007. }
  13008. if (from.has_result()) {
  13009. set_result(from.result());
  13010. }
  13011. if (from.has_player_id()) {
  13012. set_player_id(from.player_id());
  13013. }
  13014. if (from.has_fish_id()) {
  13015. set_fish_id(from.fish_id());
  13016. }
  13017. }
  13018. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13019. }
  13020. void packetl2c_bc_lock_fish::CopyFrom(const ::google::protobuf::Message& from) {
  13021. if (&from == this) return;
  13022. Clear();
  13023. MergeFrom(from);
  13024. }
  13025. void packetl2c_bc_lock_fish::CopyFrom(const packetl2c_bc_lock_fish& from) {
  13026. if (&from == this) return;
  13027. Clear();
  13028. MergeFrom(from);
  13029. }
  13030. bool packetl2c_bc_lock_fish::IsInitialized() const {
  13031. return true;
  13032. }
  13033. void packetl2c_bc_lock_fish::Swap(packetl2c_bc_lock_fish* other) {
  13034. if (other != this) {
  13035. std::swap(packet_id_, other->packet_id_);
  13036. std::swap(result_, other->result_);
  13037. std::swap(player_id_, other->player_id_);
  13038. std::swap(fish_id_, other->fish_id_);
  13039. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13040. _unknown_fields_.Swap(&other->_unknown_fields_);
  13041. std::swap(_cached_size_, other->_cached_size_);
  13042. }
  13043. }
  13044. ::google::protobuf::Metadata packetl2c_bc_lock_fish::GetMetadata() const {
  13045. protobuf_AssignDescriptorsOnce();
  13046. ::google::protobuf::Metadata metadata;
  13047. metadata.descriptor = packetl2c_bc_lock_fish_descriptor_;
  13048. metadata.reflection = packetl2c_bc_lock_fish_reflection_;
  13049. return metadata;
  13050. }
  13051. // ===================================================================
  13052. #ifndef _MSC_VER
  13053. const int packetl2c_bc_freeze::kPacketIdFieldNumber;
  13054. const int packetl2c_bc_freeze::kFishIdsFieldNumber;
  13055. const int packetl2c_bc_freeze::kFreezeTimeFieldNumber;
  13056. const int packetl2c_bc_freeze::kIsShowFieldNumber;
  13057. #endif // !_MSC_VER
  13058. packetl2c_bc_freeze::packetl2c_bc_freeze()
  13059. : ::google::protobuf::Message() {
  13060. SharedCtor();
  13061. }
  13062. void packetl2c_bc_freeze::InitAsDefaultInstance() {
  13063. }
  13064. packetl2c_bc_freeze::packetl2c_bc_freeze(const packetl2c_bc_freeze& from)
  13065. : ::google::protobuf::Message() {
  13066. SharedCtor();
  13067. MergeFrom(from);
  13068. }
  13069. void packetl2c_bc_freeze::SharedCtor() {
  13070. _cached_size_ = 0;
  13071. packet_id_ = 15217;
  13072. freeze_time_ = 0;
  13073. is_show_ = false;
  13074. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13075. }
  13076. packetl2c_bc_freeze::~packetl2c_bc_freeze() {
  13077. SharedDtor();
  13078. }
  13079. void packetl2c_bc_freeze::SharedDtor() {
  13080. if (this != default_instance_) {
  13081. }
  13082. }
  13083. void packetl2c_bc_freeze::SetCachedSize(int size) const {
  13084. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13085. _cached_size_ = size;
  13086. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13087. }
  13088. const ::google::protobuf::Descriptor* packetl2c_bc_freeze::descriptor() {
  13089. protobuf_AssignDescriptorsOnce();
  13090. return packetl2c_bc_freeze_descriptor_;
  13091. }
  13092. const packetl2c_bc_freeze& packetl2c_bc_freeze::default_instance() {
  13093. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  13094. return *default_instance_;
  13095. }
  13096. packetl2c_bc_freeze* packetl2c_bc_freeze::default_instance_ = NULL;
  13097. packetl2c_bc_freeze* packetl2c_bc_freeze::New() const {
  13098. return new packetl2c_bc_freeze;
  13099. }
  13100. void packetl2c_bc_freeze::Clear() {
  13101. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13102. packet_id_ = 15217;
  13103. freeze_time_ = 0;
  13104. is_show_ = false;
  13105. }
  13106. fish_ids_.Clear();
  13107. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13108. mutable_unknown_fields()->Clear();
  13109. }
  13110. bool packetl2c_bc_freeze::MergePartialFromCodedStream(
  13111. ::google::protobuf::io::CodedInputStream* input) {
  13112. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13113. ::google::protobuf::uint32 tag;
  13114. while ((tag = input->ReadTag()) != 0) {
  13115. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13116. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze];
  13117. case 1: {
  13118. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13119. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13120. int value;
  13121. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13122. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13123. input, &value)));
  13124. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  13125. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  13126. } else {
  13127. mutable_unknown_fields()->AddVarint(1, value);
  13128. }
  13129. } else {
  13130. goto handle_uninterpreted;
  13131. }
  13132. if (input->ExpectTag(16)) goto parse_freeze_Time;
  13133. break;
  13134. }
  13135. // optional int32 freeze_Time = 2;
  13136. case 2: {
  13137. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13138. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13139. parse_freeze_Time:
  13140. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13141. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13142. input, &freeze_time_)));
  13143. set_has_freeze_time();
  13144. } else {
  13145. goto handle_uninterpreted;
  13146. }
  13147. if (input->ExpectTag(24)) goto parse_is_show;
  13148. break;
  13149. }
  13150. // optional bool is_show = 3;
  13151. case 3: {
  13152. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13153. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13154. parse_is_show:
  13155. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13156. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  13157. input, &is_show_)));
  13158. set_has_is_show();
  13159. } else {
  13160. goto handle_uninterpreted;
  13161. }
  13162. if (input->ExpectTag(32)) goto parse_fish_ids;
  13163. break;
  13164. }
  13165. // repeated int32 fish_ids = 4;
  13166. case 4: {
  13167. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13168. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13169. parse_fish_ids:
  13170. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  13171. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13172. 1, 32, input, this->mutable_fish_ids())));
  13173. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  13174. == ::google::protobuf::internal::WireFormatLite::
  13175. WIRETYPE_LENGTH_DELIMITED) {
  13176. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  13177. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13178. input, this->mutable_fish_ids())));
  13179. } else {
  13180. goto handle_uninterpreted;
  13181. }
  13182. if (input->ExpectTag(32)) goto parse_fish_ids;
  13183. if (input->ExpectAtEnd()) return true;
  13184. break;
  13185. }
  13186. default: {
  13187. handle_uninterpreted:
  13188. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13189. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13190. return true;
  13191. }
  13192. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13193. input, tag, mutable_unknown_fields()));
  13194. break;
  13195. }
  13196. }
  13197. }
  13198. return true;
  13199. #undef DO_
  13200. }
  13201. void packetl2c_bc_freeze::SerializeWithCachedSizes(
  13202. ::google::protobuf::io::CodedOutputStream* output) const {
  13203. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze];
  13204. if (has_packet_id()) {
  13205. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13206. 1, this->packet_id(), output);
  13207. }
  13208. // optional int32 freeze_Time = 2;
  13209. if (has_freeze_time()) {
  13210. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->freeze_time(), output);
  13211. }
  13212. // optional bool is_show = 3;
  13213. if (has_is_show()) {
  13214. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_show(), output);
  13215. }
  13216. // repeated int32 fish_ids = 4;
  13217. for (int i = 0; i < this->fish_ids_size(); i++) {
  13218. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  13219. 4, this->fish_ids(i), output);
  13220. }
  13221. if (!unknown_fields().empty()) {
  13222. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13223. unknown_fields(), output);
  13224. }
  13225. }
  13226. ::google::protobuf::uint8* packetl2c_bc_freeze::SerializeWithCachedSizesToArray(
  13227. ::google::protobuf::uint8* target) const {
  13228. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze];
  13229. if (has_packet_id()) {
  13230. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13231. 1, this->packet_id(), target);
  13232. }
  13233. // optional int32 freeze_Time = 2;
  13234. if (has_freeze_time()) {
  13235. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->freeze_time(), target);
  13236. }
  13237. // optional bool is_show = 3;
  13238. if (has_is_show()) {
  13239. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_show(), target);
  13240. }
  13241. // repeated int32 fish_ids = 4;
  13242. for (int i = 0; i < this->fish_ids_size(); i++) {
  13243. target = ::google::protobuf::internal::WireFormatLite::
  13244. WriteInt32ToArray(4, this->fish_ids(i), target);
  13245. }
  13246. if (!unknown_fields().empty()) {
  13247. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13248. unknown_fields(), target);
  13249. }
  13250. return target;
  13251. }
  13252. int packetl2c_bc_freeze::ByteSize() const {
  13253. int total_size = 0;
  13254. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13255. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze];
  13256. if (has_packet_id()) {
  13257. total_size += 1 +
  13258. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13259. }
  13260. // optional int32 freeze_Time = 2;
  13261. if (has_freeze_time()) {
  13262. total_size += 1 +
  13263. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13264. this->freeze_time());
  13265. }
  13266. // optional bool is_show = 3;
  13267. if (has_is_show()) {
  13268. total_size += 1 + 1;
  13269. }
  13270. }
  13271. // repeated int32 fish_ids = 4;
  13272. {
  13273. int data_size = 0;
  13274. for (int i = 0; i < this->fish_ids_size(); i++) {
  13275. data_size += ::google::protobuf::internal::WireFormatLite::
  13276. Int32Size(this->fish_ids(i));
  13277. }
  13278. total_size += 1 * this->fish_ids_size() + data_size;
  13279. }
  13280. if (!unknown_fields().empty()) {
  13281. total_size +=
  13282. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13283. unknown_fields());
  13284. }
  13285. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13286. _cached_size_ = total_size;
  13287. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13288. return total_size;
  13289. }
  13290. void packetl2c_bc_freeze::MergeFrom(const ::google::protobuf::Message& from) {
  13291. GOOGLE_CHECK_NE(&from, this);
  13292. const packetl2c_bc_freeze* source =
  13293. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_freeze*>(
  13294. &from);
  13295. if (source == NULL) {
  13296. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13297. } else {
  13298. MergeFrom(*source);
  13299. }
  13300. }
  13301. void packetl2c_bc_freeze::MergeFrom(const packetl2c_bc_freeze& from) {
  13302. GOOGLE_CHECK_NE(&from, this);
  13303. fish_ids_.MergeFrom(from.fish_ids_);
  13304. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13305. if (from.has_packet_id()) {
  13306. set_packet_id(from.packet_id());
  13307. }
  13308. if (from.has_freeze_time()) {
  13309. set_freeze_time(from.freeze_time());
  13310. }
  13311. if (from.has_is_show()) {
  13312. set_is_show(from.is_show());
  13313. }
  13314. }
  13315. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13316. }
  13317. void packetl2c_bc_freeze::CopyFrom(const ::google::protobuf::Message& from) {
  13318. if (&from == this) return;
  13319. Clear();
  13320. MergeFrom(from);
  13321. }
  13322. void packetl2c_bc_freeze::CopyFrom(const packetl2c_bc_freeze& from) {
  13323. if (&from == this) return;
  13324. Clear();
  13325. MergeFrom(from);
  13326. }
  13327. bool packetl2c_bc_freeze::IsInitialized() const {
  13328. return true;
  13329. }
  13330. void packetl2c_bc_freeze::Swap(packetl2c_bc_freeze* other) {
  13331. if (other != this) {
  13332. std::swap(packet_id_, other->packet_id_);
  13333. fish_ids_.Swap(&other->fish_ids_);
  13334. std::swap(freeze_time_, other->freeze_time_);
  13335. std::swap(is_show_, other->is_show_);
  13336. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13337. _unknown_fields_.Swap(&other->_unknown_fields_);
  13338. std::swap(_cached_size_, other->_cached_size_);
  13339. }
  13340. }
  13341. ::google::protobuf::Metadata packetl2c_bc_freeze::GetMetadata() const {
  13342. protobuf_AssignDescriptorsOnce();
  13343. ::google::protobuf::Metadata metadata;
  13344. metadata.descriptor = packetl2c_bc_freeze_descriptor_;
  13345. metadata.reflection = packetl2c_bc_freeze_reflection_;
  13346. return metadata;
  13347. }
  13348. // ===================================================================
  13349. #ifndef _MSC_VER
  13350. const int packetl2c_bc_change_scene_bg::kPacketIdFieldNumber;
  13351. const int packetl2c_bc_change_scene_bg::kSceneIdFieldNumber;
  13352. #endif // !_MSC_VER
  13353. packetl2c_bc_change_scene_bg::packetl2c_bc_change_scene_bg()
  13354. : ::google::protobuf::Message() {
  13355. SharedCtor();
  13356. }
  13357. void packetl2c_bc_change_scene_bg::InitAsDefaultInstance() {
  13358. }
  13359. packetl2c_bc_change_scene_bg::packetl2c_bc_change_scene_bg(const packetl2c_bc_change_scene_bg& from)
  13360. : ::google::protobuf::Message() {
  13361. SharedCtor();
  13362. MergeFrom(from);
  13363. }
  13364. void packetl2c_bc_change_scene_bg::SharedCtor() {
  13365. _cached_size_ = 0;
  13366. packet_id_ = 15220;
  13367. scene_id_ = 0;
  13368. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13369. }
  13370. packetl2c_bc_change_scene_bg::~packetl2c_bc_change_scene_bg() {
  13371. SharedDtor();
  13372. }
  13373. void packetl2c_bc_change_scene_bg::SharedDtor() {
  13374. if (this != default_instance_) {
  13375. }
  13376. }
  13377. void packetl2c_bc_change_scene_bg::SetCachedSize(int size) const {
  13378. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13379. _cached_size_ = size;
  13380. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13381. }
  13382. const ::google::protobuf::Descriptor* packetl2c_bc_change_scene_bg::descriptor() {
  13383. protobuf_AssignDescriptorsOnce();
  13384. return packetl2c_bc_change_scene_bg_descriptor_;
  13385. }
  13386. const packetl2c_bc_change_scene_bg& packetl2c_bc_change_scene_bg::default_instance() {
  13387. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  13388. return *default_instance_;
  13389. }
  13390. packetl2c_bc_change_scene_bg* packetl2c_bc_change_scene_bg::default_instance_ = NULL;
  13391. packetl2c_bc_change_scene_bg* packetl2c_bc_change_scene_bg::New() const {
  13392. return new packetl2c_bc_change_scene_bg;
  13393. }
  13394. void packetl2c_bc_change_scene_bg::Clear() {
  13395. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13396. packet_id_ = 15220;
  13397. scene_id_ = 0;
  13398. }
  13399. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13400. mutable_unknown_fields()->Clear();
  13401. }
  13402. bool packetl2c_bc_change_scene_bg::MergePartialFromCodedStream(
  13403. ::google::protobuf::io::CodedInputStream* input) {
  13404. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13405. ::google::protobuf::uint32 tag;
  13406. while ((tag = input->ReadTag()) != 0) {
  13407. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13408. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg];
  13409. case 1: {
  13410. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13411. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13412. int value;
  13413. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13414. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13415. input, &value)));
  13416. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  13417. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  13418. } else {
  13419. mutable_unknown_fields()->AddVarint(1, value);
  13420. }
  13421. } else {
  13422. goto handle_uninterpreted;
  13423. }
  13424. if (input->ExpectTag(16)) goto parse_scene_id;
  13425. break;
  13426. }
  13427. // optional int32 scene_id = 2;
  13428. case 2: {
  13429. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13430. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13431. parse_scene_id:
  13432. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13433. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13434. input, &scene_id_)));
  13435. set_has_scene_id();
  13436. } else {
  13437. goto handle_uninterpreted;
  13438. }
  13439. if (input->ExpectAtEnd()) return true;
  13440. break;
  13441. }
  13442. default: {
  13443. handle_uninterpreted:
  13444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13446. return true;
  13447. }
  13448. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13449. input, tag, mutable_unknown_fields()));
  13450. break;
  13451. }
  13452. }
  13453. }
  13454. return true;
  13455. #undef DO_
  13456. }
  13457. void packetl2c_bc_change_scene_bg::SerializeWithCachedSizes(
  13458. ::google::protobuf::io::CodedOutputStream* output) const {
  13459. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg];
  13460. if (has_packet_id()) {
  13461. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13462. 1, this->packet_id(), output);
  13463. }
  13464. // optional int32 scene_id = 2;
  13465. if (has_scene_id()) {
  13466. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->scene_id(), output);
  13467. }
  13468. if (!unknown_fields().empty()) {
  13469. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13470. unknown_fields(), output);
  13471. }
  13472. }
  13473. ::google::protobuf::uint8* packetl2c_bc_change_scene_bg::SerializeWithCachedSizesToArray(
  13474. ::google::protobuf::uint8* target) const {
  13475. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg];
  13476. if (has_packet_id()) {
  13477. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13478. 1, this->packet_id(), target);
  13479. }
  13480. // optional int32 scene_id = 2;
  13481. if (has_scene_id()) {
  13482. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->scene_id(), target);
  13483. }
  13484. if (!unknown_fields().empty()) {
  13485. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13486. unknown_fields(), target);
  13487. }
  13488. return target;
  13489. }
  13490. int packetl2c_bc_change_scene_bg::ByteSize() const {
  13491. int total_size = 0;
  13492. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13493. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg];
  13494. if (has_packet_id()) {
  13495. total_size += 1 +
  13496. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13497. }
  13498. // optional int32 scene_id = 2;
  13499. if (has_scene_id()) {
  13500. total_size += 1 +
  13501. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13502. this->scene_id());
  13503. }
  13504. }
  13505. if (!unknown_fields().empty()) {
  13506. total_size +=
  13507. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13508. unknown_fields());
  13509. }
  13510. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13511. _cached_size_ = total_size;
  13512. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13513. return total_size;
  13514. }
  13515. void packetl2c_bc_change_scene_bg::MergeFrom(const ::google::protobuf::Message& from) {
  13516. GOOGLE_CHECK_NE(&from, this);
  13517. const packetl2c_bc_change_scene_bg* source =
  13518. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_change_scene_bg*>(
  13519. &from);
  13520. if (source == NULL) {
  13521. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13522. } else {
  13523. MergeFrom(*source);
  13524. }
  13525. }
  13526. void packetl2c_bc_change_scene_bg::MergeFrom(const packetl2c_bc_change_scene_bg& from) {
  13527. GOOGLE_CHECK_NE(&from, this);
  13528. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13529. if (from.has_packet_id()) {
  13530. set_packet_id(from.packet_id());
  13531. }
  13532. if (from.has_scene_id()) {
  13533. set_scene_id(from.scene_id());
  13534. }
  13535. }
  13536. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13537. }
  13538. void packetl2c_bc_change_scene_bg::CopyFrom(const ::google::protobuf::Message& from) {
  13539. if (&from == this) return;
  13540. Clear();
  13541. MergeFrom(from);
  13542. }
  13543. void packetl2c_bc_change_scene_bg::CopyFrom(const packetl2c_bc_change_scene_bg& from) {
  13544. if (&from == this) return;
  13545. Clear();
  13546. MergeFrom(from);
  13547. }
  13548. bool packetl2c_bc_change_scene_bg::IsInitialized() const {
  13549. return true;
  13550. }
  13551. void packetl2c_bc_change_scene_bg::Swap(packetl2c_bc_change_scene_bg* other) {
  13552. if (other != this) {
  13553. std::swap(packet_id_, other->packet_id_);
  13554. std::swap(scene_id_, other->scene_id_);
  13555. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13556. _unknown_fields_.Swap(&other->_unknown_fields_);
  13557. std::swap(_cached_size_, other->_cached_size_);
  13558. }
  13559. }
  13560. ::google::protobuf::Metadata packetl2c_bc_change_scene_bg::GetMetadata() const {
  13561. protobuf_AssignDescriptorsOnce();
  13562. ::google::protobuf::Metadata metadata;
  13563. metadata.descriptor = packetl2c_bc_change_scene_bg_descriptor_;
  13564. metadata.reflection = packetl2c_bc_change_scene_bg_reflection_;
  13565. return metadata;
  13566. }
  13567. // ===================================================================
  13568. #ifndef _MSC_VER
  13569. const int packetl2c_bc_scene_time::kPacketIdFieldNumber;
  13570. const int packetl2c_bc_scene_time::kSceneTimeFieldNumber;
  13571. #endif // !_MSC_VER
  13572. packetl2c_bc_scene_time::packetl2c_bc_scene_time()
  13573. : ::google::protobuf::Message() {
  13574. SharedCtor();
  13575. }
  13576. void packetl2c_bc_scene_time::InitAsDefaultInstance() {
  13577. }
  13578. packetl2c_bc_scene_time::packetl2c_bc_scene_time(const packetl2c_bc_scene_time& from)
  13579. : ::google::protobuf::Message() {
  13580. SharedCtor();
  13581. MergeFrom(from);
  13582. }
  13583. void packetl2c_bc_scene_time::SharedCtor() {
  13584. _cached_size_ = 0;
  13585. packet_id_ = 15221;
  13586. scene_time_ = 0;
  13587. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13588. }
  13589. packetl2c_bc_scene_time::~packetl2c_bc_scene_time() {
  13590. SharedDtor();
  13591. }
  13592. void packetl2c_bc_scene_time::SharedDtor() {
  13593. if (this != default_instance_) {
  13594. }
  13595. }
  13596. void packetl2c_bc_scene_time::SetCachedSize(int size) const {
  13597. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13598. _cached_size_ = size;
  13599. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13600. }
  13601. const ::google::protobuf::Descriptor* packetl2c_bc_scene_time::descriptor() {
  13602. protobuf_AssignDescriptorsOnce();
  13603. return packetl2c_bc_scene_time_descriptor_;
  13604. }
  13605. const packetl2c_bc_scene_time& packetl2c_bc_scene_time::default_instance() {
  13606. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  13607. return *default_instance_;
  13608. }
  13609. packetl2c_bc_scene_time* packetl2c_bc_scene_time::default_instance_ = NULL;
  13610. packetl2c_bc_scene_time* packetl2c_bc_scene_time::New() const {
  13611. return new packetl2c_bc_scene_time;
  13612. }
  13613. void packetl2c_bc_scene_time::Clear() {
  13614. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13615. packet_id_ = 15221;
  13616. scene_time_ = 0;
  13617. }
  13618. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13619. mutable_unknown_fields()->Clear();
  13620. }
  13621. bool packetl2c_bc_scene_time::MergePartialFromCodedStream(
  13622. ::google::protobuf::io::CodedInputStream* input) {
  13623. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13624. ::google::protobuf::uint32 tag;
  13625. while ((tag = input->ReadTag()) != 0) {
  13626. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13627. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time];
  13628. case 1: {
  13629. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13630. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13631. int value;
  13632. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13633. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13634. input, &value)));
  13635. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  13636. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  13637. } else {
  13638. mutable_unknown_fields()->AddVarint(1, value);
  13639. }
  13640. } else {
  13641. goto handle_uninterpreted;
  13642. }
  13643. if (input->ExpectTag(16)) goto parse_scene_time;
  13644. break;
  13645. }
  13646. // optional int32 scene_time = 2;
  13647. case 2: {
  13648. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13649. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13650. parse_scene_time:
  13651. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13652. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13653. input, &scene_time_)));
  13654. set_has_scene_time();
  13655. } else {
  13656. goto handle_uninterpreted;
  13657. }
  13658. if (input->ExpectAtEnd()) return true;
  13659. break;
  13660. }
  13661. default: {
  13662. handle_uninterpreted:
  13663. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13664. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13665. return true;
  13666. }
  13667. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13668. input, tag, mutable_unknown_fields()));
  13669. break;
  13670. }
  13671. }
  13672. }
  13673. return true;
  13674. #undef DO_
  13675. }
  13676. void packetl2c_bc_scene_time::SerializeWithCachedSizes(
  13677. ::google::protobuf::io::CodedOutputStream* output) const {
  13678. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time];
  13679. if (has_packet_id()) {
  13680. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13681. 1, this->packet_id(), output);
  13682. }
  13683. // optional int32 scene_time = 2;
  13684. if (has_scene_time()) {
  13685. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->scene_time(), output);
  13686. }
  13687. if (!unknown_fields().empty()) {
  13688. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13689. unknown_fields(), output);
  13690. }
  13691. }
  13692. ::google::protobuf::uint8* packetl2c_bc_scene_time::SerializeWithCachedSizesToArray(
  13693. ::google::protobuf::uint8* target) const {
  13694. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time];
  13695. if (has_packet_id()) {
  13696. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13697. 1, this->packet_id(), target);
  13698. }
  13699. // optional int32 scene_time = 2;
  13700. if (has_scene_time()) {
  13701. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->scene_time(), target);
  13702. }
  13703. if (!unknown_fields().empty()) {
  13704. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13705. unknown_fields(), target);
  13706. }
  13707. return target;
  13708. }
  13709. int packetl2c_bc_scene_time::ByteSize() const {
  13710. int total_size = 0;
  13711. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13712. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time];
  13713. if (has_packet_id()) {
  13714. total_size += 1 +
  13715. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13716. }
  13717. // optional int32 scene_time = 2;
  13718. if (has_scene_time()) {
  13719. total_size += 1 +
  13720. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13721. this->scene_time());
  13722. }
  13723. }
  13724. if (!unknown_fields().empty()) {
  13725. total_size +=
  13726. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13727. unknown_fields());
  13728. }
  13729. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13730. _cached_size_ = total_size;
  13731. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13732. return total_size;
  13733. }
  13734. void packetl2c_bc_scene_time::MergeFrom(const ::google::protobuf::Message& from) {
  13735. GOOGLE_CHECK_NE(&from, this);
  13736. const packetl2c_bc_scene_time* source =
  13737. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_scene_time*>(
  13738. &from);
  13739. if (source == NULL) {
  13740. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13741. } else {
  13742. MergeFrom(*source);
  13743. }
  13744. }
  13745. void packetl2c_bc_scene_time::MergeFrom(const packetl2c_bc_scene_time& from) {
  13746. GOOGLE_CHECK_NE(&from, this);
  13747. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13748. if (from.has_packet_id()) {
  13749. set_packet_id(from.packet_id());
  13750. }
  13751. if (from.has_scene_time()) {
  13752. set_scene_time(from.scene_time());
  13753. }
  13754. }
  13755. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13756. }
  13757. void packetl2c_bc_scene_time::CopyFrom(const ::google::protobuf::Message& from) {
  13758. if (&from == this) return;
  13759. Clear();
  13760. MergeFrom(from);
  13761. }
  13762. void packetl2c_bc_scene_time::CopyFrom(const packetl2c_bc_scene_time& from) {
  13763. if (&from == this) return;
  13764. Clear();
  13765. MergeFrom(from);
  13766. }
  13767. bool packetl2c_bc_scene_time::IsInitialized() const {
  13768. return true;
  13769. }
  13770. void packetl2c_bc_scene_time::Swap(packetl2c_bc_scene_time* other) {
  13771. if (other != this) {
  13772. std::swap(packet_id_, other->packet_id_);
  13773. std::swap(scene_time_, other->scene_time_);
  13774. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13775. _unknown_fields_.Swap(&other->_unknown_fields_);
  13776. std::swap(_cached_size_, other->_cached_size_);
  13777. }
  13778. }
  13779. ::google::protobuf::Metadata packetl2c_bc_scene_time::GetMetadata() const {
  13780. protobuf_AssignDescriptorsOnce();
  13781. ::google::protobuf::Metadata metadata;
  13782. metadata.descriptor = packetl2c_bc_scene_time_descriptor_;
  13783. metadata.reflection = packetl2c_bc_scene_time_reflection_;
  13784. return metadata;
  13785. }
  13786. // ===================================================================
  13787. #ifndef _MSC_VER
  13788. const int packetl2c_bc_change_jackpot::kPacketIdFieldNumber;
  13789. const int packetl2c_bc_change_jackpot::kCurpoolFieldNumber;
  13790. #endif // !_MSC_VER
  13791. packetl2c_bc_change_jackpot::packetl2c_bc_change_jackpot()
  13792. : ::google::protobuf::Message() {
  13793. SharedCtor();
  13794. }
  13795. void packetl2c_bc_change_jackpot::InitAsDefaultInstance() {
  13796. }
  13797. packetl2c_bc_change_jackpot::packetl2c_bc_change_jackpot(const packetl2c_bc_change_jackpot& from)
  13798. : ::google::protobuf::Message() {
  13799. SharedCtor();
  13800. MergeFrom(from);
  13801. }
  13802. void packetl2c_bc_change_jackpot::SharedCtor() {
  13803. _cached_size_ = 0;
  13804. packet_id_ = 15230;
  13805. curpool_ = GOOGLE_LONGLONG(0);
  13806. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13807. }
  13808. packetl2c_bc_change_jackpot::~packetl2c_bc_change_jackpot() {
  13809. SharedDtor();
  13810. }
  13811. void packetl2c_bc_change_jackpot::SharedDtor() {
  13812. if (this != default_instance_) {
  13813. }
  13814. }
  13815. void packetl2c_bc_change_jackpot::SetCachedSize(int size) const {
  13816. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13817. _cached_size_ = size;
  13818. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13819. }
  13820. const ::google::protobuf::Descriptor* packetl2c_bc_change_jackpot::descriptor() {
  13821. protobuf_AssignDescriptorsOnce();
  13822. return packetl2c_bc_change_jackpot_descriptor_;
  13823. }
  13824. const packetl2c_bc_change_jackpot& packetl2c_bc_change_jackpot::default_instance() {
  13825. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  13826. return *default_instance_;
  13827. }
  13828. packetl2c_bc_change_jackpot* packetl2c_bc_change_jackpot::default_instance_ = NULL;
  13829. packetl2c_bc_change_jackpot* packetl2c_bc_change_jackpot::New() const {
  13830. return new packetl2c_bc_change_jackpot;
  13831. }
  13832. void packetl2c_bc_change_jackpot::Clear() {
  13833. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13834. packet_id_ = 15230;
  13835. curpool_ = GOOGLE_LONGLONG(0);
  13836. }
  13837. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13838. mutable_unknown_fields()->Clear();
  13839. }
  13840. bool packetl2c_bc_change_jackpot::MergePartialFromCodedStream(
  13841. ::google::protobuf::io::CodedInputStream* input) {
  13842. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13843. ::google::protobuf::uint32 tag;
  13844. while ((tag = input->ReadTag()) != 0) {
  13845. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13846. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot];
  13847. case 1: {
  13848. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13849. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13850. int value;
  13851. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13852. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13853. input, &value)));
  13854. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  13855. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  13856. } else {
  13857. mutable_unknown_fields()->AddVarint(1, value);
  13858. }
  13859. } else {
  13860. goto handle_uninterpreted;
  13861. }
  13862. if (input->ExpectTag(16)) goto parse_curpool;
  13863. break;
  13864. }
  13865. // optional int64 curpool = 2;
  13866. case 2: {
  13867. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13868. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13869. parse_curpool:
  13870. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13871. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  13872. input, &curpool_)));
  13873. set_has_curpool();
  13874. } else {
  13875. goto handle_uninterpreted;
  13876. }
  13877. if (input->ExpectAtEnd()) return true;
  13878. break;
  13879. }
  13880. default: {
  13881. handle_uninterpreted:
  13882. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13883. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13884. return true;
  13885. }
  13886. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13887. input, tag, mutable_unknown_fields()));
  13888. break;
  13889. }
  13890. }
  13891. }
  13892. return true;
  13893. #undef DO_
  13894. }
  13895. void packetl2c_bc_change_jackpot::SerializeWithCachedSizes(
  13896. ::google::protobuf::io::CodedOutputStream* output) const {
  13897. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot];
  13898. if (has_packet_id()) {
  13899. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13900. 1, this->packet_id(), output);
  13901. }
  13902. // optional int64 curpool = 2;
  13903. if (has_curpool()) {
  13904. ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->curpool(), output);
  13905. }
  13906. if (!unknown_fields().empty()) {
  13907. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13908. unknown_fields(), output);
  13909. }
  13910. }
  13911. ::google::protobuf::uint8* packetl2c_bc_change_jackpot::SerializeWithCachedSizesToArray(
  13912. ::google::protobuf::uint8* target) const {
  13913. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot];
  13914. if (has_packet_id()) {
  13915. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13916. 1, this->packet_id(), target);
  13917. }
  13918. // optional int64 curpool = 2;
  13919. if (has_curpool()) {
  13920. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->curpool(), target);
  13921. }
  13922. if (!unknown_fields().empty()) {
  13923. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13924. unknown_fields(), target);
  13925. }
  13926. return target;
  13927. }
  13928. int packetl2c_bc_change_jackpot::ByteSize() const {
  13929. int total_size = 0;
  13930. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13931. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot];
  13932. if (has_packet_id()) {
  13933. total_size += 1 +
  13934. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13935. }
  13936. // optional int64 curpool = 2;
  13937. if (has_curpool()) {
  13938. total_size += 1 +
  13939. ::google::protobuf::internal::WireFormatLite::Int64Size(
  13940. this->curpool());
  13941. }
  13942. }
  13943. if (!unknown_fields().empty()) {
  13944. total_size +=
  13945. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13946. unknown_fields());
  13947. }
  13948. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13949. _cached_size_ = total_size;
  13950. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13951. return total_size;
  13952. }
  13953. void packetl2c_bc_change_jackpot::MergeFrom(const ::google::protobuf::Message& from) {
  13954. GOOGLE_CHECK_NE(&from, this);
  13955. const packetl2c_bc_change_jackpot* source =
  13956. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_change_jackpot*>(
  13957. &from);
  13958. if (source == NULL) {
  13959. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13960. } else {
  13961. MergeFrom(*source);
  13962. }
  13963. }
  13964. void packetl2c_bc_change_jackpot::MergeFrom(const packetl2c_bc_change_jackpot& from) {
  13965. GOOGLE_CHECK_NE(&from, this);
  13966. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13967. if (from.has_packet_id()) {
  13968. set_packet_id(from.packet_id());
  13969. }
  13970. if (from.has_curpool()) {
  13971. set_curpool(from.curpool());
  13972. }
  13973. }
  13974. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13975. }
  13976. void packetl2c_bc_change_jackpot::CopyFrom(const ::google::protobuf::Message& from) {
  13977. if (&from == this) return;
  13978. Clear();
  13979. MergeFrom(from);
  13980. }
  13981. void packetl2c_bc_change_jackpot::CopyFrom(const packetl2c_bc_change_jackpot& from) {
  13982. if (&from == this) return;
  13983. Clear();
  13984. MergeFrom(from);
  13985. }
  13986. bool packetl2c_bc_change_jackpot::IsInitialized() const {
  13987. return true;
  13988. }
  13989. void packetl2c_bc_change_jackpot::Swap(packetl2c_bc_change_jackpot* other) {
  13990. if (other != this) {
  13991. std::swap(packet_id_, other->packet_id_);
  13992. std::swap(curpool_, other->curpool_);
  13993. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13994. _unknown_fields_.Swap(&other->_unknown_fields_);
  13995. std::swap(_cached_size_, other->_cached_size_);
  13996. }
  13997. }
  13998. ::google::protobuf::Metadata packetl2c_bc_change_jackpot::GetMetadata() const {
  13999. protobuf_AssignDescriptorsOnce();
  14000. ::google::protobuf::Metadata metadata;
  14001. metadata.descriptor = packetl2c_bc_change_jackpot_descriptor_;
  14002. metadata.reflection = packetl2c_bc_change_jackpot_reflection_;
  14003. return metadata;
  14004. }
  14005. // ===================================================================
  14006. #ifndef _MSC_VER
  14007. const int packetl2c_bc_hit_fishs::kPacketIdFieldNumber;
  14008. const int packetl2c_bc_hit_fishs::kPlayerIdFieldNumber;
  14009. const int packetl2c_bc_hit_fishs::kHitTypeFieldNumber;
  14010. const int packetl2c_bc_hit_fishs::kFishIdsFieldNumber;
  14011. const int packetl2c_bc_hit_fishs::kParamsFieldNumber;
  14012. #endif // !_MSC_VER
  14013. packetl2c_bc_hit_fishs::packetl2c_bc_hit_fishs()
  14014. : ::google::protobuf::Message() {
  14015. SharedCtor();
  14016. }
  14017. void packetl2c_bc_hit_fishs::InitAsDefaultInstance() {
  14018. }
  14019. packetl2c_bc_hit_fishs::packetl2c_bc_hit_fishs(const packetl2c_bc_hit_fishs& from)
  14020. : ::google::protobuf::Message() {
  14021. SharedCtor();
  14022. MergeFrom(from);
  14023. }
  14024. void packetl2c_bc_hit_fishs::SharedCtor() {
  14025. _cached_size_ = 0;
  14026. packet_id_ = 15223;
  14027. player_id_ = 0;
  14028. hit_type_ = 0;
  14029. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14030. }
  14031. packetl2c_bc_hit_fishs::~packetl2c_bc_hit_fishs() {
  14032. SharedDtor();
  14033. }
  14034. void packetl2c_bc_hit_fishs::SharedDtor() {
  14035. if (this != default_instance_) {
  14036. }
  14037. }
  14038. void packetl2c_bc_hit_fishs::SetCachedSize(int size) const {
  14039. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14040. _cached_size_ = size;
  14041. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14042. }
  14043. const ::google::protobuf::Descriptor* packetl2c_bc_hit_fishs::descriptor() {
  14044. protobuf_AssignDescriptorsOnce();
  14045. return packetl2c_bc_hit_fishs_descriptor_;
  14046. }
  14047. const packetl2c_bc_hit_fishs& packetl2c_bc_hit_fishs::default_instance() {
  14048. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  14049. return *default_instance_;
  14050. }
  14051. packetl2c_bc_hit_fishs* packetl2c_bc_hit_fishs::default_instance_ = NULL;
  14052. packetl2c_bc_hit_fishs* packetl2c_bc_hit_fishs::New() const {
  14053. return new packetl2c_bc_hit_fishs;
  14054. }
  14055. void packetl2c_bc_hit_fishs::Clear() {
  14056. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14057. packet_id_ = 15223;
  14058. player_id_ = 0;
  14059. hit_type_ = 0;
  14060. }
  14061. fish_ids_.Clear();
  14062. params_.Clear();
  14063. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14064. mutable_unknown_fields()->Clear();
  14065. }
  14066. bool packetl2c_bc_hit_fishs::MergePartialFromCodedStream(
  14067. ::google::protobuf::io::CodedInputStream* input) {
  14068. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14069. ::google::protobuf::uint32 tag;
  14070. while ((tag = input->ReadTag()) != 0) {
  14071. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14072. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs];
  14073. case 1: {
  14074. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14075. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14076. int value;
  14077. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14078. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14079. input, &value)));
  14080. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  14081. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  14082. } else {
  14083. mutable_unknown_fields()->AddVarint(1, value);
  14084. }
  14085. } else {
  14086. goto handle_uninterpreted;
  14087. }
  14088. if (input->ExpectTag(16)) goto parse_player_id;
  14089. break;
  14090. }
  14091. // optional int32 player_id = 2;
  14092. case 2: {
  14093. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14094. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14095. parse_player_id:
  14096. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14097. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14098. input, &player_id_)));
  14099. set_has_player_id();
  14100. } else {
  14101. goto handle_uninterpreted;
  14102. }
  14103. if (input->ExpectTag(24)) goto parse_hit_type;
  14104. break;
  14105. }
  14106. // optional int32 hit_type = 3;
  14107. case 3: {
  14108. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14109. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14110. parse_hit_type:
  14111. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14112. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14113. input, &hit_type_)));
  14114. set_has_hit_type();
  14115. } else {
  14116. goto handle_uninterpreted;
  14117. }
  14118. if (input->ExpectTag(32)) goto parse_fish_ids;
  14119. break;
  14120. }
  14121. // repeated int32 fish_ids = 4;
  14122. case 4: {
  14123. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14124. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14125. parse_fish_ids:
  14126. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  14127. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14128. 1, 32, input, this->mutable_fish_ids())));
  14129. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  14130. == ::google::protobuf::internal::WireFormatLite::
  14131. WIRETYPE_LENGTH_DELIMITED) {
  14132. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  14133. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14134. input, this->mutable_fish_ids())));
  14135. } else {
  14136. goto handle_uninterpreted;
  14137. }
  14138. if (input->ExpectTag(32)) goto parse_fish_ids;
  14139. if (input->ExpectTag(40)) goto parse_params;
  14140. break;
  14141. }
  14142. // repeated int32 params = 5;
  14143. case 5: {
  14144. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14145. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14146. parse_params:
  14147. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  14148. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14149. 1, 40, input, this->mutable_params())));
  14150. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  14151. == ::google::protobuf::internal::WireFormatLite::
  14152. WIRETYPE_LENGTH_DELIMITED) {
  14153. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  14154. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14155. input, this->mutable_params())));
  14156. } else {
  14157. goto handle_uninterpreted;
  14158. }
  14159. if (input->ExpectTag(40)) goto parse_params;
  14160. if (input->ExpectAtEnd()) return true;
  14161. break;
  14162. }
  14163. default: {
  14164. handle_uninterpreted:
  14165. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14166. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14167. return true;
  14168. }
  14169. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14170. input, tag, mutable_unknown_fields()));
  14171. break;
  14172. }
  14173. }
  14174. }
  14175. return true;
  14176. #undef DO_
  14177. }
  14178. void packetl2c_bc_hit_fishs::SerializeWithCachedSizes(
  14179. ::google::protobuf::io::CodedOutputStream* output) const {
  14180. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs];
  14181. if (has_packet_id()) {
  14182. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14183. 1, this->packet_id(), output);
  14184. }
  14185. // optional int32 player_id = 2;
  14186. if (has_player_id()) {
  14187. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  14188. }
  14189. // optional int32 hit_type = 3;
  14190. if (has_hit_type()) {
  14191. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->hit_type(), output);
  14192. }
  14193. // repeated int32 fish_ids = 4;
  14194. for (int i = 0; i < this->fish_ids_size(); i++) {
  14195. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  14196. 4, this->fish_ids(i), output);
  14197. }
  14198. // repeated int32 params = 5;
  14199. for (int i = 0; i < this->params_size(); i++) {
  14200. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  14201. 5, this->params(i), output);
  14202. }
  14203. if (!unknown_fields().empty()) {
  14204. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14205. unknown_fields(), output);
  14206. }
  14207. }
  14208. ::google::protobuf::uint8* packetl2c_bc_hit_fishs::SerializeWithCachedSizesToArray(
  14209. ::google::protobuf::uint8* target) const {
  14210. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs];
  14211. if (has_packet_id()) {
  14212. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14213. 1, this->packet_id(), target);
  14214. }
  14215. // optional int32 player_id = 2;
  14216. if (has_player_id()) {
  14217. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  14218. }
  14219. // optional int32 hit_type = 3;
  14220. if (has_hit_type()) {
  14221. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->hit_type(), target);
  14222. }
  14223. // repeated int32 fish_ids = 4;
  14224. for (int i = 0; i < this->fish_ids_size(); i++) {
  14225. target = ::google::protobuf::internal::WireFormatLite::
  14226. WriteInt32ToArray(4, this->fish_ids(i), target);
  14227. }
  14228. // repeated int32 params = 5;
  14229. for (int i = 0; i < this->params_size(); i++) {
  14230. target = ::google::protobuf::internal::WireFormatLite::
  14231. WriteInt32ToArray(5, this->params(i), target);
  14232. }
  14233. if (!unknown_fields().empty()) {
  14234. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14235. unknown_fields(), target);
  14236. }
  14237. return target;
  14238. }
  14239. int packetl2c_bc_hit_fishs::ByteSize() const {
  14240. int total_size = 0;
  14241. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14242. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs];
  14243. if (has_packet_id()) {
  14244. total_size += 1 +
  14245. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14246. }
  14247. // optional int32 player_id = 2;
  14248. if (has_player_id()) {
  14249. total_size += 1 +
  14250. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14251. this->player_id());
  14252. }
  14253. // optional int32 hit_type = 3;
  14254. if (has_hit_type()) {
  14255. total_size += 1 +
  14256. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14257. this->hit_type());
  14258. }
  14259. }
  14260. // repeated int32 fish_ids = 4;
  14261. {
  14262. int data_size = 0;
  14263. for (int i = 0; i < this->fish_ids_size(); i++) {
  14264. data_size += ::google::protobuf::internal::WireFormatLite::
  14265. Int32Size(this->fish_ids(i));
  14266. }
  14267. total_size += 1 * this->fish_ids_size() + data_size;
  14268. }
  14269. // repeated int32 params = 5;
  14270. {
  14271. int data_size = 0;
  14272. for (int i = 0; i < this->params_size(); i++) {
  14273. data_size += ::google::protobuf::internal::WireFormatLite::
  14274. Int32Size(this->params(i));
  14275. }
  14276. total_size += 1 * this->params_size() + data_size;
  14277. }
  14278. if (!unknown_fields().empty()) {
  14279. total_size +=
  14280. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14281. unknown_fields());
  14282. }
  14283. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14284. _cached_size_ = total_size;
  14285. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14286. return total_size;
  14287. }
  14288. void packetl2c_bc_hit_fishs::MergeFrom(const ::google::protobuf::Message& from) {
  14289. GOOGLE_CHECK_NE(&from, this);
  14290. const packetl2c_bc_hit_fishs* source =
  14291. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_hit_fishs*>(
  14292. &from);
  14293. if (source == NULL) {
  14294. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14295. } else {
  14296. MergeFrom(*source);
  14297. }
  14298. }
  14299. void packetl2c_bc_hit_fishs::MergeFrom(const packetl2c_bc_hit_fishs& from) {
  14300. GOOGLE_CHECK_NE(&from, this);
  14301. fish_ids_.MergeFrom(from.fish_ids_);
  14302. params_.MergeFrom(from.params_);
  14303. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14304. if (from.has_packet_id()) {
  14305. set_packet_id(from.packet_id());
  14306. }
  14307. if (from.has_player_id()) {
  14308. set_player_id(from.player_id());
  14309. }
  14310. if (from.has_hit_type()) {
  14311. set_hit_type(from.hit_type());
  14312. }
  14313. }
  14314. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14315. }
  14316. void packetl2c_bc_hit_fishs::CopyFrom(const ::google::protobuf::Message& from) {
  14317. if (&from == this) return;
  14318. Clear();
  14319. MergeFrom(from);
  14320. }
  14321. void packetl2c_bc_hit_fishs::CopyFrom(const packetl2c_bc_hit_fishs& from) {
  14322. if (&from == this) return;
  14323. Clear();
  14324. MergeFrom(from);
  14325. }
  14326. bool packetl2c_bc_hit_fishs::IsInitialized() const {
  14327. return true;
  14328. }
  14329. void packetl2c_bc_hit_fishs::Swap(packetl2c_bc_hit_fishs* other) {
  14330. if (other != this) {
  14331. std::swap(packet_id_, other->packet_id_);
  14332. std::swap(player_id_, other->player_id_);
  14333. std::swap(hit_type_, other->hit_type_);
  14334. fish_ids_.Swap(&other->fish_ids_);
  14335. params_.Swap(&other->params_);
  14336. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14337. _unknown_fields_.Swap(&other->_unknown_fields_);
  14338. std::swap(_cached_size_, other->_cached_size_);
  14339. }
  14340. }
  14341. ::google::protobuf::Metadata packetl2c_bc_hit_fishs::GetMetadata() const {
  14342. protobuf_AssignDescriptorsOnce();
  14343. ::google::protobuf::Metadata metadata;
  14344. metadata.descriptor = packetl2c_bc_hit_fishs_descriptor_;
  14345. metadata.reflection = packetl2c_bc_hit_fishs_reflection_;
  14346. return metadata;
  14347. }
  14348. // ===================================================================
  14349. #ifndef _MSC_VER
  14350. const int packetl2c_bc_turret_rotate::kPacketIdFieldNumber;
  14351. const int packetl2c_bc_turret_rotate::kPlayerIdFieldNumber;
  14352. const int packetl2c_bc_turret_rotate::kRotateAngleFieldNumber;
  14353. #endif // !_MSC_VER
  14354. packetl2c_bc_turret_rotate::packetl2c_bc_turret_rotate()
  14355. : ::google::protobuf::Message() {
  14356. SharedCtor();
  14357. }
  14358. void packetl2c_bc_turret_rotate::InitAsDefaultInstance() {
  14359. }
  14360. packetl2c_bc_turret_rotate::packetl2c_bc_turret_rotate(const packetl2c_bc_turret_rotate& from)
  14361. : ::google::protobuf::Message() {
  14362. SharedCtor();
  14363. MergeFrom(from);
  14364. }
  14365. void packetl2c_bc_turret_rotate::SharedCtor() {
  14366. _cached_size_ = 0;
  14367. packet_id_ = 15224;
  14368. player_id_ = 0;
  14369. rotate_angle_ = 0;
  14370. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14371. }
  14372. packetl2c_bc_turret_rotate::~packetl2c_bc_turret_rotate() {
  14373. SharedDtor();
  14374. }
  14375. void packetl2c_bc_turret_rotate::SharedDtor() {
  14376. if (this != default_instance_) {
  14377. }
  14378. }
  14379. void packetl2c_bc_turret_rotate::SetCachedSize(int size) const {
  14380. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14381. _cached_size_ = size;
  14382. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14383. }
  14384. const ::google::protobuf::Descriptor* packetl2c_bc_turret_rotate::descriptor() {
  14385. protobuf_AssignDescriptorsOnce();
  14386. return packetl2c_bc_turret_rotate_descriptor_;
  14387. }
  14388. const packetl2c_bc_turret_rotate& packetl2c_bc_turret_rotate::default_instance() {
  14389. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  14390. return *default_instance_;
  14391. }
  14392. packetl2c_bc_turret_rotate* packetl2c_bc_turret_rotate::default_instance_ = NULL;
  14393. packetl2c_bc_turret_rotate* packetl2c_bc_turret_rotate::New() const {
  14394. return new packetl2c_bc_turret_rotate;
  14395. }
  14396. void packetl2c_bc_turret_rotate::Clear() {
  14397. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14398. packet_id_ = 15224;
  14399. player_id_ = 0;
  14400. rotate_angle_ = 0;
  14401. }
  14402. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14403. mutable_unknown_fields()->Clear();
  14404. }
  14405. bool packetl2c_bc_turret_rotate::MergePartialFromCodedStream(
  14406. ::google::protobuf::io::CodedInputStream* input) {
  14407. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14408. ::google::protobuf::uint32 tag;
  14409. while ((tag = input->ReadTag()) != 0) {
  14410. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14411. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate];
  14412. case 1: {
  14413. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14414. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14415. int value;
  14416. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14417. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14418. input, &value)));
  14419. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  14420. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  14421. } else {
  14422. mutable_unknown_fields()->AddVarint(1, value);
  14423. }
  14424. } else {
  14425. goto handle_uninterpreted;
  14426. }
  14427. if (input->ExpectTag(16)) goto parse_player_id;
  14428. break;
  14429. }
  14430. // optional int32 player_id = 2;
  14431. case 2: {
  14432. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14433. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14434. parse_player_id:
  14435. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14436. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14437. input, &player_id_)));
  14438. set_has_player_id();
  14439. } else {
  14440. goto handle_uninterpreted;
  14441. }
  14442. if (input->ExpectTag(24)) goto parse_rotate_angle;
  14443. break;
  14444. }
  14445. // optional int32 rotate_angle = 3;
  14446. case 3: {
  14447. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14448. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14449. parse_rotate_angle:
  14450. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14451. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14452. input, &rotate_angle_)));
  14453. set_has_rotate_angle();
  14454. } else {
  14455. goto handle_uninterpreted;
  14456. }
  14457. if (input->ExpectAtEnd()) return true;
  14458. break;
  14459. }
  14460. default: {
  14461. handle_uninterpreted:
  14462. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14463. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14464. return true;
  14465. }
  14466. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14467. input, tag, mutable_unknown_fields()));
  14468. break;
  14469. }
  14470. }
  14471. }
  14472. return true;
  14473. #undef DO_
  14474. }
  14475. void packetl2c_bc_turret_rotate::SerializeWithCachedSizes(
  14476. ::google::protobuf::io::CodedOutputStream* output) const {
  14477. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate];
  14478. if (has_packet_id()) {
  14479. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14480. 1, this->packet_id(), output);
  14481. }
  14482. // optional int32 player_id = 2;
  14483. if (has_player_id()) {
  14484. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  14485. }
  14486. // optional int32 rotate_angle = 3;
  14487. if (has_rotate_angle()) {
  14488. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rotate_angle(), output);
  14489. }
  14490. if (!unknown_fields().empty()) {
  14491. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14492. unknown_fields(), output);
  14493. }
  14494. }
  14495. ::google::protobuf::uint8* packetl2c_bc_turret_rotate::SerializeWithCachedSizesToArray(
  14496. ::google::protobuf::uint8* target) const {
  14497. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate];
  14498. if (has_packet_id()) {
  14499. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14500. 1, this->packet_id(), target);
  14501. }
  14502. // optional int32 player_id = 2;
  14503. if (has_player_id()) {
  14504. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  14505. }
  14506. // optional int32 rotate_angle = 3;
  14507. if (has_rotate_angle()) {
  14508. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rotate_angle(), target);
  14509. }
  14510. if (!unknown_fields().empty()) {
  14511. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14512. unknown_fields(), target);
  14513. }
  14514. return target;
  14515. }
  14516. int packetl2c_bc_turret_rotate::ByteSize() const {
  14517. int total_size = 0;
  14518. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14519. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate];
  14520. if (has_packet_id()) {
  14521. total_size += 1 +
  14522. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14523. }
  14524. // optional int32 player_id = 2;
  14525. if (has_player_id()) {
  14526. total_size += 1 +
  14527. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14528. this->player_id());
  14529. }
  14530. // optional int32 rotate_angle = 3;
  14531. if (has_rotate_angle()) {
  14532. total_size += 1 +
  14533. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14534. this->rotate_angle());
  14535. }
  14536. }
  14537. if (!unknown_fields().empty()) {
  14538. total_size +=
  14539. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14540. unknown_fields());
  14541. }
  14542. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14543. _cached_size_ = total_size;
  14544. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14545. return total_size;
  14546. }
  14547. void packetl2c_bc_turret_rotate::MergeFrom(const ::google::protobuf::Message& from) {
  14548. GOOGLE_CHECK_NE(&from, this);
  14549. const packetl2c_bc_turret_rotate* source =
  14550. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_turret_rotate*>(
  14551. &from);
  14552. if (source == NULL) {
  14553. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14554. } else {
  14555. MergeFrom(*source);
  14556. }
  14557. }
  14558. void packetl2c_bc_turret_rotate::MergeFrom(const packetl2c_bc_turret_rotate& from) {
  14559. GOOGLE_CHECK_NE(&from, this);
  14560. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14561. if (from.has_packet_id()) {
  14562. set_packet_id(from.packet_id());
  14563. }
  14564. if (from.has_player_id()) {
  14565. set_player_id(from.player_id());
  14566. }
  14567. if (from.has_rotate_angle()) {
  14568. set_rotate_angle(from.rotate_angle());
  14569. }
  14570. }
  14571. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14572. }
  14573. void packetl2c_bc_turret_rotate::CopyFrom(const ::google::protobuf::Message& from) {
  14574. if (&from == this) return;
  14575. Clear();
  14576. MergeFrom(from);
  14577. }
  14578. void packetl2c_bc_turret_rotate::CopyFrom(const packetl2c_bc_turret_rotate& from) {
  14579. if (&from == this) return;
  14580. Clear();
  14581. MergeFrom(from);
  14582. }
  14583. bool packetl2c_bc_turret_rotate::IsInitialized() const {
  14584. return true;
  14585. }
  14586. void packetl2c_bc_turret_rotate::Swap(packetl2c_bc_turret_rotate* other) {
  14587. if (other != this) {
  14588. std::swap(packet_id_, other->packet_id_);
  14589. std::swap(player_id_, other->player_id_);
  14590. std::swap(rotate_angle_, other->rotate_angle_);
  14591. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14592. _unknown_fields_.Swap(&other->_unknown_fields_);
  14593. std::swap(_cached_size_, other->_cached_size_);
  14594. }
  14595. }
  14596. ::google::protobuf::Metadata packetl2c_bc_turret_rotate::GetMetadata() const {
  14597. protobuf_AssignDescriptorsOnce();
  14598. ::google::protobuf::Metadata metadata;
  14599. metadata.descriptor = packetl2c_bc_turret_rotate_descriptor_;
  14600. metadata.reflection = packetl2c_bc_turret_rotate_reflection_;
  14601. return metadata;
  14602. }
  14603. // ===================================================================
  14604. #ifndef _MSC_VER
  14605. const int packetl2c_bc_change_max_power::kPacketIdFieldNumber;
  14606. const int packetl2c_bc_change_max_power::kPlayerIdFieldNumber;
  14607. const int packetl2c_bc_change_max_power::kMaxPowerFieldNumber;
  14608. #endif // !_MSC_VER
  14609. packetl2c_bc_change_max_power::packetl2c_bc_change_max_power()
  14610. : ::google::protobuf::Message() {
  14611. SharedCtor();
  14612. }
  14613. void packetl2c_bc_change_max_power::InitAsDefaultInstance() {
  14614. }
  14615. packetl2c_bc_change_max_power::packetl2c_bc_change_max_power(const packetl2c_bc_change_max_power& from)
  14616. : ::google::protobuf::Message() {
  14617. SharedCtor();
  14618. MergeFrom(from);
  14619. }
  14620. void packetl2c_bc_change_max_power::SharedCtor() {
  14621. _cached_size_ = 0;
  14622. packet_id_ = 15225;
  14623. player_id_ = 0;
  14624. max_power_ = 0;
  14625. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14626. }
  14627. packetl2c_bc_change_max_power::~packetl2c_bc_change_max_power() {
  14628. SharedDtor();
  14629. }
  14630. void packetl2c_bc_change_max_power::SharedDtor() {
  14631. if (this != default_instance_) {
  14632. }
  14633. }
  14634. void packetl2c_bc_change_max_power::SetCachedSize(int size) const {
  14635. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14636. _cached_size_ = size;
  14637. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14638. }
  14639. const ::google::protobuf::Descriptor* packetl2c_bc_change_max_power::descriptor() {
  14640. protobuf_AssignDescriptorsOnce();
  14641. return packetl2c_bc_change_max_power_descriptor_;
  14642. }
  14643. const packetl2c_bc_change_max_power& packetl2c_bc_change_max_power::default_instance() {
  14644. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  14645. return *default_instance_;
  14646. }
  14647. packetl2c_bc_change_max_power* packetl2c_bc_change_max_power::default_instance_ = NULL;
  14648. packetl2c_bc_change_max_power* packetl2c_bc_change_max_power::New() const {
  14649. return new packetl2c_bc_change_max_power;
  14650. }
  14651. void packetl2c_bc_change_max_power::Clear() {
  14652. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14653. packet_id_ = 15225;
  14654. player_id_ = 0;
  14655. max_power_ = 0;
  14656. }
  14657. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14658. mutable_unknown_fields()->Clear();
  14659. }
  14660. bool packetl2c_bc_change_max_power::MergePartialFromCodedStream(
  14661. ::google::protobuf::io::CodedInputStream* input) {
  14662. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14663. ::google::protobuf::uint32 tag;
  14664. while ((tag = input->ReadTag()) != 0) {
  14665. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14666. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power];
  14667. case 1: {
  14668. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14669. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14670. int value;
  14671. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14672. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14673. input, &value)));
  14674. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  14675. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  14676. } else {
  14677. mutable_unknown_fields()->AddVarint(1, value);
  14678. }
  14679. } else {
  14680. goto handle_uninterpreted;
  14681. }
  14682. if (input->ExpectTag(16)) goto parse_player_id;
  14683. break;
  14684. }
  14685. // optional int32 player_id = 2;
  14686. case 2: {
  14687. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14688. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14689. parse_player_id:
  14690. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14691. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14692. input, &player_id_)));
  14693. set_has_player_id();
  14694. } else {
  14695. goto handle_uninterpreted;
  14696. }
  14697. if (input->ExpectTag(24)) goto parse_max_power;
  14698. break;
  14699. }
  14700. // optional int32 max_power = 3;
  14701. case 3: {
  14702. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14703. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14704. parse_max_power:
  14705. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14706. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14707. input, &max_power_)));
  14708. set_has_max_power();
  14709. } else {
  14710. goto handle_uninterpreted;
  14711. }
  14712. if (input->ExpectAtEnd()) return true;
  14713. break;
  14714. }
  14715. default: {
  14716. handle_uninterpreted:
  14717. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14718. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14719. return true;
  14720. }
  14721. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14722. input, tag, mutable_unknown_fields()));
  14723. break;
  14724. }
  14725. }
  14726. }
  14727. return true;
  14728. #undef DO_
  14729. }
  14730. void packetl2c_bc_change_max_power::SerializeWithCachedSizes(
  14731. ::google::protobuf::io::CodedOutputStream* output) const {
  14732. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power];
  14733. if (has_packet_id()) {
  14734. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14735. 1, this->packet_id(), output);
  14736. }
  14737. // optional int32 player_id = 2;
  14738. if (has_player_id()) {
  14739. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  14740. }
  14741. // optional int32 max_power = 3;
  14742. if (has_max_power()) {
  14743. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->max_power(), output);
  14744. }
  14745. if (!unknown_fields().empty()) {
  14746. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14747. unknown_fields(), output);
  14748. }
  14749. }
  14750. ::google::protobuf::uint8* packetl2c_bc_change_max_power::SerializeWithCachedSizesToArray(
  14751. ::google::protobuf::uint8* target) const {
  14752. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power];
  14753. if (has_packet_id()) {
  14754. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14755. 1, this->packet_id(), target);
  14756. }
  14757. // optional int32 player_id = 2;
  14758. if (has_player_id()) {
  14759. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  14760. }
  14761. // optional int32 max_power = 3;
  14762. if (has_max_power()) {
  14763. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->max_power(), target);
  14764. }
  14765. if (!unknown_fields().empty()) {
  14766. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14767. unknown_fields(), target);
  14768. }
  14769. return target;
  14770. }
  14771. int packetl2c_bc_change_max_power::ByteSize() const {
  14772. int total_size = 0;
  14773. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14774. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power];
  14775. if (has_packet_id()) {
  14776. total_size += 1 +
  14777. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14778. }
  14779. // optional int32 player_id = 2;
  14780. if (has_player_id()) {
  14781. total_size += 1 +
  14782. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14783. this->player_id());
  14784. }
  14785. // optional int32 max_power = 3;
  14786. if (has_max_power()) {
  14787. total_size += 1 +
  14788. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14789. this->max_power());
  14790. }
  14791. }
  14792. if (!unknown_fields().empty()) {
  14793. total_size +=
  14794. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14795. unknown_fields());
  14796. }
  14797. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14798. _cached_size_ = total_size;
  14799. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14800. return total_size;
  14801. }
  14802. void packetl2c_bc_change_max_power::MergeFrom(const ::google::protobuf::Message& from) {
  14803. GOOGLE_CHECK_NE(&from, this);
  14804. const packetl2c_bc_change_max_power* source =
  14805. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_change_max_power*>(
  14806. &from);
  14807. if (source == NULL) {
  14808. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14809. } else {
  14810. MergeFrom(*source);
  14811. }
  14812. }
  14813. void packetl2c_bc_change_max_power::MergeFrom(const packetl2c_bc_change_max_power& from) {
  14814. GOOGLE_CHECK_NE(&from, this);
  14815. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14816. if (from.has_packet_id()) {
  14817. set_packet_id(from.packet_id());
  14818. }
  14819. if (from.has_player_id()) {
  14820. set_player_id(from.player_id());
  14821. }
  14822. if (from.has_max_power()) {
  14823. set_max_power(from.max_power());
  14824. }
  14825. }
  14826. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14827. }
  14828. void packetl2c_bc_change_max_power::CopyFrom(const ::google::protobuf::Message& from) {
  14829. if (&from == this) return;
  14830. Clear();
  14831. MergeFrom(from);
  14832. }
  14833. void packetl2c_bc_change_max_power::CopyFrom(const packetl2c_bc_change_max_power& from) {
  14834. if (&from == this) return;
  14835. Clear();
  14836. MergeFrom(from);
  14837. }
  14838. bool packetl2c_bc_change_max_power::IsInitialized() const {
  14839. return true;
  14840. }
  14841. void packetl2c_bc_change_max_power::Swap(packetl2c_bc_change_max_power* other) {
  14842. if (other != this) {
  14843. std::swap(packet_id_, other->packet_id_);
  14844. std::swap(player_id_, other->player_id_);
  14845. std::swap(max_power_, other->max_power_);
  14846. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14847. _unknown_fields_.Swap(&other->_unknown_fields_);
  14848. std::swap(_cached_size_, other->_cached_size_);
  14849. }
  14850. }
  14851. ::google::protobuf::Metadata packetl2c_bc_change_max_power::GetMetadata() const {
  14852. protobuf_AssignDescriptorsOnce();
  14853. ::google::protobuf::Metadata metadata;
  14854. metadata.descriptor = packetl2c_bc_change_max_power_descriptor_;
  14855. metadata.reflection = packetl2c_bc_change_max_power_reflection_;
  14856. return metadata;
  14857. }
  14858. // ===================================================================
  14859. #ifndef _MSC_VER
  14860. const int packetl2c_bc_table_lottery::kPacketIdFieldNumber;
  14861. const int packetl2c_bc_table_lottery::kPlayerIdFieldNumber;
  14862. const int packetl2c_bc_table_lottery::kItemIdFieldNumber;
  14863. const int packetl2c_bc_table_lottery::kItemCountFieldNumber;
  14864. #endif // !_MSC_VER
  14865. packetl2c_bc_table_lottery::packetl2c_bc_table_lottery()
  14866. : ::google::protobuf::Message() {
  14867. SharedCtor();
  14868. }
  14869. void packetl2c_bc_table_lottery::InitAsDefaultInstance() {
  14870. }
  14871. packetl2c_bc_table_lottery::packetl2c_bc_table_lottery(const packetl2c_bc_table_lottery& from)
  14872. : ::google::protobuf::Message() {
  14873. SharedCtor();
  14874. MergeFrom(from);
  14875. }
  14876. void packetl2c_bc_table_lottery::SharedCtor() {
  14877. _cached_size_ = 0;
  14878. packet_id_ = 15229;
  14879. player_id_ = 0;
  14880. item_id_ = 0;
  14881. item_count_ = 0;
  14882. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14883. }
  14884. packetl2c_bc_table_lottery::~packetl2c_bc_table_lottery() {
  14885. SharedDtor();
  14886. }
  14887. void packetl2c_bc_table_lottery::SharedDtor() {
  14888. if (this != default_instance_) {
  14889. }
  14890. }
  14891. void packetl2c_bc_table_lottery::SetCachedSize(int size) const {
  14892. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14893. _cached_size_ = size;
  14894. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14895. }
  14896. const ::google::protobuf::Descriptor* packetl2c_bc_table_lottery::descriptor() {
  14897. protobuf_AssignDescriptorsOnce();
  14898. return packetl2c_bc_table_lottery_descriptor_;
  14899. }
  14900. const packetl2c_bc_table_lottery& packetl2c_bc_table_lottery::default_instance() {
  14901. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  14902. return *default_instance_;
  14903. }
  14904. packetl2c_bc_table_lottery* packetl2c_bc_table_lottery::default_instance_ = NULL;
  14905. packetl2c_bc_table_lottery* packetl2c_bc_table_lottery::New() const {
  14906. return new packetl2c_bc_table_lottery;
  14907. }
  14908. void packetl2c_bc_table_lottery::Clear() {
  14909. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14910. packet_id_ = 15229;
  14911. player_id_ = 0;
  14912. item_id_ = 0;
  14913. item_count_ = 0;
  14914. }
  14915. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14916. mutable_unknown_fields()->Clear();
  14917. }
  14918. bool packetl2c_bc_table_lottery::MergePartialFromCodedStream(
  14919. ::google::protobuf::io::CodedInputStream* input) {
  14920. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14921. ::google::protobuf::uint32 tag;
  14922. while ((tag = input->ReadTag()) != 0) {
  14923. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14924. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery];
  14925. case 1: {
  14926. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14927. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14928. int value;
  14929. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14930. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14931. input, &value)));
  14932. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  14933. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  14934. } else {
  14935. mutable_unknown_fields()->AddVarint(1, value);
  14936. }
  14937. } else {
  14938. goto handle_uninterpreted;
  14939. }
  14940. if (input->ExpectTag(16)) goto parse_player_id;
  14941. break;
  14942. }
  14943. // optional int32 player_id = 2;
  14944. case 2: {
  14945. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14946. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14947. parse_player_id:
  14948. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14949. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14950. input, &player_id_)));
  14951. set_has_player_id();
  14952. } else {
  14953. goto handle_uninterpreted;
  14954. }
  14955. if (input->ExpectTag(24)) goto parse_item_id;
  14956. break;
  14957. }
  14958. // optional int32 item_id = 3;
  14959. case 3: {
  14960. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14961. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14962. parse_item_id:
  14963. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14964. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14965. input, &item_id_)));
  14966. set_has_item_id();
  14967. } else {
  14968. goto handle_uninterpreted;
  14969. }
  14970. if (input->ExpectTag(32)) goto parse_item_count;
  14971. break;
  14972. }
  14973. // optional int32 item_count = 4;
  14974. case 4: {
  14975. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14976. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14977. parse_item_count:
  14978. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14979. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14980. input, &item_count_)));
  14981. set_has_item_count();
  14982. } else {
  14983. goto handle_uninterpreted;
  14984. }
  14985. if (input->ExpectAtEnd()) return true;
  14986. break;
  14987. }
  14988. default: {
  14989. handle_uninterpreted:
  14990. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14991. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14992. return true;
  14993. }
  14994. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14995. input, tag, mutable_unknown_fields()));
  14996. break;
  14997. }
  14998. }
  14999. }
  15000. return true;
  15001. #undef DO_
  15002. }
  15003. void packetl2c_bc_table_lottery::SerializeWithCachedSizes(
  15004. ::google::protobuf::io::CodedOutputStream* output) const {
  15005. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery];
  15006. if (has_packet_id()) {
  15007. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15008. 1, this->packet_id(), output);
  15009. }
  15010. // optional int32 player_id = 2;
  15011. if (has_player_id()) {
  15012. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output);
  15013. }
  15014. // optional int32 item_id = 3;
  15015. if (has_item_id()) {
  15016. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->item_id(), output);
  15017. }
  15018. // optional int32 item_count = 4;
  15019. if (has_item_count()) {
  15020. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->item_count(), output);
  15021. }
  15022. if (!unknown_fields().empty()) {
  15023. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15024. unknown_fields(), output);
  15025. }
  15026. }
  15027. ::google::protobuf::uint8* packetl2c_bc_table_lottery::SerializeWithCachedSizesToArray(
  15028. ::google::protobuf::uint8* target) const {
  15029. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery];
  15030. if (has_packet_id()) {
  15031. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15032. 1, this->packet_id(), target);
  15033. }
  15034. // optional int32 player_id = 2;
  15035. if (has_player_id()) {
  15036. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target);
  15037. }
  15038. // optional int32 item_id = 3;
  15039. if (has_item_id()) {
  15040. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->item_id(), target);
  15041. }
  15042. // optional int32 item_count = 4;
  15043. if (has_item_count()) {
  15044. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->item_count(), target);
  15045. }
  15046. if (!unknown_fields().empty()) {
  15047. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15048. unknown_fields(), target);
  15049. }
  15050. return target;
  15051. }
  15052. int packetl2c_bc_table_lottery::ByteSize() const {
  15053. int total_size = 0;
  15054. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15055. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery];
  15056. if (has_packet_id()) {
  15057. total_size += 1 +
  15058. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15059. }
  15060. // optional int32 player_id = 2;
  15061. if (has_player_id()) {
  15062. total_size += 1 +
  15063. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15064. this->player_id());
  15065. }
  15066. // optional int32 item_id = 3;
  15067. if (has_item_id()) {
  15068. total_size += 1 +
  15069. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15070. this->item_id());
  15071. }
  15072. // optional int32 item_count = 4;
  15073. if (has_item_count()) {
  15074. total_size += 1 +
  15075. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15076. this->item_count());
  15077. }
  15078. }
  15079. if (!unknown_fields().empty()) {
  15080. total_size +=
  15081. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15082. unknown_fields());
  15083. }
  15084. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15085. _cached_size_ = total_size;
  15086. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15087. return total_size;
  15088. }
  15089. void packetl2c_bc_table_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  15090. GOOGLE_CHECK_NE(&from, this);
  15091. const packetl2c_bc_table_lottery* source =
  15092. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_table_lottery*>(
  15093. &from);
  15094. if (source == NULL) {
  15095. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15096. } else {
  15097. MergeFrom(*source);
  15098. }
  15099. }
  15100. void packetl2c_bc_table_lottery::MergeFrom(const packetl2c_bc_table_lottery& from) {
  15101. GOOGLE_CHECK_NE(&from, this);
  15102. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15103. if (from.has_packet_id()) {
  15104. set_packet_id(from.packet_id());
  15105. }
  15106. if (from.has_player_id()) {
  15107. set_player_id(from.player_id());
  15108. }
  15109. if (from.has_item_id()) {
  15110. set_item_id(from.item_id());
  15111. }
  15112. if (from.has_item_count()) {
  15113. set_item_count(from.item_count());
  15114. }
  15115. }
  15116. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15117. }
  15118. void packetl2c_bc_table_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  15119. if (&from == this) return;
  15120. Clear();
  15121. MergeFrom(from);
  15122. }
  15123. void packetl2c_bc_table_lottery::CopyFrom(const packetl2c_bc_table_lottery& from) {
  15124. if (&from == this) return;
  15125. Clear();
  15126. MergeFrom(from);
  15127. }
  15128. bool packetl2c_bc_table_lottery::IsInitialized() const {
  15129. return true;
  15130. }
  15131. void packetl2c_bc_table_lottery::Swap(packetl2c_bc_table_lottery* other) {
  15132. if (other != this) {
  15133. std::swap(packet_id_, other->packet_id_);
  15134. std::swap(player_id_, other->player_id_);
  15135. std::swap(item_id_, other->item_id_);
  15136. std::swap(item_count_, other->item_count_);
  15137. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15138. _unknown_fields_.Swap(&other->_unknown_fields_);
  15139. std::swap(_cached_size_, other->_cached_size_);
  15140. }
  15141. }
  15142. ::google::protobuf::Metadata packetl2c_bc_table_lottery::GetMetadata() const {
  15143. protobuf_AssignDescriptorsOnce();
  15144. ::google::protobuf::Metadata metadata;
  15145. metadata.descriptor = packetl2c_bc_table_lottery_descriptor_;
  15146. metadata.reflection = packetl2c_bc_table_lottery_reflection_;
  15147. return metadata;
  15148. }
  15149. // ===================================================================
  15150. #ifndef _MSC_VER
  15151. const int packetc2l_req_drop_rate::kPacketIdFieldNumber;
  15152. #endif // !_MSC_VER
  15153. packetc2l_req_drop_rate::packetc2l_req_drop_rate()
  15154. : ::google::protobuf::Message() {
  15155. SharedCtor();
  15156. }
  15157. void packetc2l_req_drop_rate::InitAsDefaultInstance() {
  15158. }
  15159. packetc2l_req_drop_rate::packetc2l_req_drop_rate(const packetc2l_req_drop_rate& from)
  15160. : ::google::protobuf::Message() {
  15161. SharedCtor();
  15162. MergeFrom(from);
  15163. }
  15164. void packetc2l_req_drop_rate::SharedCtor() {
  15165. _cached_size_ = 0;
  15166. packet_id_ = 10128;
  15167. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15168. }
  15169. packetc2l_req_drop_rate::~packetc2l_req_drop_rate() {
  15170. SharedDtor();
  15171. }
  15172. void packetc2l_req_drop_rate::SharedDtor() {
  15173. if (this != default_instance_) {
  15174. }
  15175. }
  15176. void packetc2l_req_drop_rate::SetCachedSize(int size) const {
  15177. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15178. _cached_size_ = size;
  15179. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15180. }
  15181. const ::google::protobuf::Descriptor* packetc2l_req_drop_rate::descriptor() {
  15182. protobuf_AssignDescriptorsOnce();
  15183. return packetc2l_req_drop_rate_descriptor_;
  15184. }
  15185. const packetc2l_req_drop_rate& packetc2l_req_drop_rate::default_instance() {
  15186. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  15187. return *default_instance_;
  15188. }
  15189. packetc2l_req_drop_rate* packetc2l_req_drop_rate::default_instance_ = NULL;
  15190. packetc2l_req_drop_rate* packetc2l_req_drop_rate::New() const {
  15191. return new packetc2l_req_drop_rate;
  15192. }
  15193. void packetc2l_req_drop_rate::Clear() {
  15194. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15195. packet_id_ = 10128;
  15196. }
  15197. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15198. mutable_unknown_fields()->Clear();
  15199. }
  15200. bool packetc2l_req_drop_rate::MergePartialFromCodedStream(
  15201. ::google::protobuf::io::CodedInputStream* input) {
  15202. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15203. ::google::protobuf::uint32 tag;
  15204. while ((tag = input->ReadTag()) != 0) {
  15205. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15206. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate];
  15207. case 1: {
  15208. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15209. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15210. int value;
  15211. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15212. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15213. input, &value)));
  15214. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  15215. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  15216. } else {
  15217. mutable_unknown_fields()->AddVarint(1, value);
  15218. }
  15219. } else {
  15220. goto handle_uninterpreted;
  15221. }
  15222. if (input->ExpectAtEnd()) return true;
  15223. break;
  15224. }
  15225. default: {
  15226. handle_uninterpreted:
  15227. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15228. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15229. return true;
  15230. }
  15231. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15232. input, tag, mutable_unknown_fields()));
  15233. break;
  15234. }
  15235. }
  15236. }
  15237. return true;
  15238. #undef DO_
  15239. }
  15240. void packetc2l_req_drop_rate::SerializeWithCachedSizes(
  15241. ::google::protobuf::io::CodedOutputStream* output) const {
  15242. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate];
  15243. if (has_packet_id()) {
  15244. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15245. 1, this->packet_id(), output);
  15246. }
  15247. if (!unknown_fields().empty()) {
  15248. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15249. unknown_fields(), output);
  15250. }
  15251. }
  15252. ::google::protobuf::uint8* packetc2l_req_drop_rate::SerializeWithCachedSizesToArray(
  15253. ::google::protobuf::uint8* target) const {
  15254. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate];
  15255. if (has_packet_id()) {
  15256. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15257. 1, this->packet_id(), target);
  15258. }
  15259. if (!unknown_fields().empty()) {
  15260. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15261. unknown_fields(), target);
  15262. }
  15263. return target;
  15264. }
  15265. int packetc2l_req_drop_rate::ByteSize() const {
  15266. int total_size = 0;
  15267. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15268. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate];
  15269. if (has_packet_id()) {
  15270. total_size += 1 +
  15271. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15272. }
  15273. }
  15274. if (!unknown_fields().empty()) {
  15275. total_size +=
  15276. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15277. unknown_fields());
  15278. }
  15279. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15280. _cached_size_ = total_size;
  15281. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15282. return total_size;
  15283. }
  15284. void packetc2l_req_drop_rate::MergeFrom(const ::google::protobuf::Message& from) {
  15285. GOOGLE_CHECK_NE(&from, this);
  15286. const packetc2l_req_drop_rate* source =
  15287. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_req_drop_rate*>(
  15288. &from);
  15289. if (source == NULL) {
  15290. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15291. } else {
  15292. MergeFrom(*source);
  15293. }
  15294. }
  15295. void packetc2l_req_drop_rate::MergeFrom(const packetc2l_req_drop_rate& from) {
  15296. GOOGLE_CHECK_NE(&from, this);
  15297. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15298. if (from.has_packet_id()) {
  15299. set_packet_id(from.packet_id());
  15300. }
  15301. }
  15302. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15303. }
  15304. void packetc2l_req_drop_rate::CopyFrom(const ::google::protobuf::Message& from) {
  15305. if (&from == this) return;
  15306. Clear();
  15307. MergeFrom(from);
  15308. }
  15309. void packetc2l_req_drop_rate::CopyFrom(const packetc2l_req_drop_rate& from) {
  15310. if (&from == this) return;
  15311. Clear();
  15312. MergeFrom(from);
  15313. }
  15314. bool packetc2l_req_drop_rate::IsInitialized() const {
  15315. return true;
  15316. }
  15317. void packetc2l_req_drop_rate::Swap(packetc2l_req_drop_rate* other) {
  15318. if (other != this) {
  15319. std::swap(packet_id_, other->packet_id_);
  15320. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15321. _unknown_fields_.Swap(&other->_unknown_fields_);
  15322. std::swap(_cached_size_, other->_cached_size_);
  15323. }
  15324. }
  15325. ::google::protobuf::Metadata packetc2l_req_drop_rate::GetMetadata() const {
  15326. protobuf_AssignDescriptorsOnce();
  15327. ::google::protobuf::Metadata metadata;
  15328. metadata.descriptor = packetc2l_req_drop_rate_descriptor_;
  15329. metadata.reflection = packetc2l_req_drop_rate_reflection_;
  15330. return metadata;
  15331. }
  15332. // ===================================================================
  15333. #ifndef _MSC_VER
  15334. const int packetl2c_req_drop_rate_result::kPacketIdFieldNumber;
  15335. const int packetl2c_req_drop_rate_result::kIdFieldNumber;
  15336. const int packetl2c_req_drop_rate_result::kCurGoldFieldNumber;
  15337. const int packetl2c_req_drop_rate_result::kRecvBenefitTimeFieldNumber;
  15338. const int packetl2c_req_drop_rate_result::kTriggerGiftIdFieldNumber;
  15339. #endif // !_MSC_VER
  15340. packetl2c_req_drop_rate_result::packetl2c_req_drop_rate_result()
  15341. : ::google::protobuf::Message() {
  15342. SharedCtor();
  15343. }
  15344. void packetl2c_req_drop_rate_result::InitAsDefaultInstance() {
  15345. }
  15346. packetl2c_req_drop_rate_result::packetl2c_req_drop_rate_result(const packetl2c_req_drop_rate_result& from)
  15347. : ::google::protobuf::Message() {
  15348. SharedCtor();
  15349. MergeFrom(from);
  15350. }
  15351. void packetl2c_req_drop_rate_result::SharedCtor() {
  15352. _cached_size_ = 0;
  15353. packet_id_ = 16109;
  15354. id_ = 0;
  15355. curgold_ = GOOGLE_LONGLONG(0);
  15356. recvbenefittime_ = 0;
  15357. triggergiftid_ = 0;
  15358. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15359. }
  15360. packetl2c_req_drop_rate_result::~packetl2c_req_drop_rate_result() {
  15361. SharedDtor();
  15362. }
  15363. void packetl2c_req_drop_rate_result::SharedDtor() {
  15364. if (this != default_instance_) {
  15365. }
  15366. }
  15367. void packetl2c_req_drop_rate_result::SetCachedSize(int size) const {
  15368. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15369. _cached_size_ = size;
  15370. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15371. }
  15372. const ::google::protobuf::Descriptor* packetl2c_req_drop_rate_result::descriptor() {
  15373. protobuf_AssignDescriptorsOnce();
  15374. return packetl2c_req_drop_rate_result_descriptor_;
  15375. }
  15376. const packetl2c_req_drop_rate_result& packetl2c_req_drop_rate_result::default_instance() {
  15377. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  15378. return *default_instance_;
  15379. }
  15380. packetl2c_req_drop_rate_result* packetl2c_req_drop_rate_result::default_instance_ = NULL;
  15381. packetl2c_req_drop_rate_result* packetl2c_req_drop_rate_result::New() const {
  15382. return new packetl2c_req_drop_rate_result;
  15383. }
  15384. void packetl2c_req_drop_rate_result::Clear() {
  15385. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15386. packet_id_ = 16109;
  15387. id_ = 0;
  15388. curgold_ = GOOGLE_LONGLONG(0);
  15389. recvbenefittime_ = 0;
  15390. triggergiftid_ = 0;
  15391. }
  15392. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15393. mutable_unknown_fields()->Clear();
  15394. }
  15395. bool packetl2c_req_drop_rate_result::MergePartialFromCodedStream(
  15396. ::google::protobuf::io::CodedInputStream* input) {
  15397. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15398. ::google::protobuf::uint32 tag;
  15399. while ((tag = input->ReadTag()) != 0) {
  15400. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15401. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result];
  15402. case 1: {
  15403. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15404. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15405. int value;
  15406. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15407. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15408. input, &value)));
  15409. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  15410. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  15411. } else {
  15412. mutable_unknown_fields()->AddVarint(1, value);
  15413. }
  15414. } else {
  15415. goto handle_uninterpreted;
  15416. }
  15417. if (input->ExpectTag(16)) goto parse_id;
  15418. break;
  15419. }
  15420. // optional int32 id = 2;
  15421. case 2: {
  15422. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15423. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15424. parse_id:
  15425. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15426. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15427. input, &id_)));
  15428. set_has_id();
  15429. } else {
  15430. goto handle_uninterpreted;
  15431. }
  15432. if (input->ExpectTag(24)) goto parse_curGold;
  15433. break;
  15434. }
  15435. // optional int64 curGold = 3;
  15436. case 3: {
  15437. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15438. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15439. parse_curGold:
  15440. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15441. ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  15442. input, &curgold_)));
  15443. set_has_curgold();
  15444. } else {
  15445. goto handle_uninterpreted;
  15446. }
  15447. if (input->ExpectTag(32)) goto parse_recvBenefitTime;
  15448. break;
  15449. }
  15450. // optional int32 recvBenefitTime = 4;
  15451. case 4: {
  15452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15454. parse_recvBenefitTime:
  15455. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15456. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15457. input, &recvbenefittime_)));
  15458. set_has_recvbenefittime();
  15459. } else {
  15460. goto handle_uninterpreted;
  15461. }
  15462. if (input->ExpectTag(40)) goto parse_triggerGiftId;
  15463. break;
  15464. }
  15465. // optional int32 triggerGiftId = 5;
  15466. case 5: {
  15467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15469. parse_triggerGiftId:
  15470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15471. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15472. input, &triggergiftid_)));
  15473. set_has_triggergiftid();
  15474. } else {
  15475. goto handle_uninterpreted;
  15476. }
  15477. if (input->ExpectAtEnd()) return true;
  15478. break;
  15479. }
  15480. default: {
  15481. handle_uninterpreted:
  15482. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15483. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15484. return true;
  15485. }
  15486. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15487. input, tag, mutable_unknown_fields()));
  15488. break;
  15489. }
  15490. }
  15491. }
  15492. return true;
  15493. #undef DO_
  15494. }
  15495. void packetl2c_req_drop_rate_result::SerializeWithCachedSizes(
  15496. ::google::protobuf::io::CodedOutputStream* output) const {
  15497. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result];
  15498. if (has_packet_id()) {
  15499. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15500. 1, this->packet_id(), output);
  15501. }
  15502. // optional int32 id = 2;
  15503. if (has_id()) {
  15504. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->id(), output);
  15505. }
  15506. // optional int64 curGold = 3;
  15507. if (has_curgold()) {
  15508. ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->curgold(), output);
  15509. }
  15510. // optional int32 recvBenefitTime = 4;
  15511. if (has_recvbenefittime()) {
  15512. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->recvbenefittime(), output);
  15513. }
  15514. // optional int32 triggerGiftId = 5;
  15515. if (has_triggergiftid()) {
  15516. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->triggergiftid(), output);
  15517. }
  15518. if (!unknown_fields().empty()) {
  15519. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15520. unknown_fields(), output);
  15521. }
  15522. }
  15523. ::google::protobuf::uint8* packetl2c_req_drop_rate_result::SerializeWithCachedSizesToArray(
  15524. ::google::protobuf::uint8* target) const {
  15525. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result];
  15526. if (has_packet_id()) {
  15527. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15528. 1, this->packet_id(), target);
  15529. }
  15530. // optional int32 id = 2;
  15531. if (has_id()) {
  15532. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->id(), target);
  15533. }
  15534. // optional int64 curGold = 3;
  15535. if (has_curgold()) {
  15536. target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->curgold(), target);
  15537. }
  15538. // optional int32 recvBenefitTime = 4;
  15539. if (has_recvbenefittime()) {
  15540. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->recvbenefittime(), target);
  15541. }
  15542. // optional int32 triggerGiftId = 5;
  15543. if (has_triggergiftid()) {
  15544. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->triggergiftid(), target);
  15545. }
  15546. if (!unknown_fields().empty()) {
  15547. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15548. unknown_fields(), target);
  15549. }
  15550. return target;
  15551. }
  15552. int packetl2c_req_drop_rate_result::ByteSize() const {
  15553. int total_size = 0;
  15554. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15555. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result];
  15556. if (has_packet_id()) {
  15557. total_size += 1 +
  15558. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15559. }
  15560. // optional int32 id = 2;
  15561. if (has_id()) {
  15562. total_size += 1 +
  15563. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15564. this->id());
  15565. }
  15566. // optional int64 curGold = 3;
  15567. if (has_curgold()) {
  15568. total_size += 1 +
  15569. ::google::protobuf::internal::WireFormatLite::Int64Size(
  15570. this->curgold());
  15571. }
  15572. // optional int32 recvBenefitTime = 4;
  15573. if (has_recvbenefittime()) {
  15574. total_size += 1 +
  15575. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15576. this->recvbenefittime());
  15577. }
  15578. // optional int32 triggerGiftId = 5;
  15579. if (has_triggergiftid()) {
  15580. total_size += 1 +
  15581. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15582. this->triggergiftid());
  15583. }
  15584. }
  15585. if (!unknown_fields().empty()) {
  15586. total_size +=
  15587. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15588. unknown_fields());
  15589. }
  15590. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15591. _cached_size_ = total_size;
  15592. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15593. return total_size;
  15594. }
  15595. void packetl2c_req_drop_rate_result::MergeFrom(const ::google::protobuf::Message& from) {
  15596. GOOGLE_CHECK_NE(&from, this);
  15597. const packetl2c_req_drop_rate_result* source =
  15598. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_req_drop_rate_result*>(
  15599. &from);
  15600. if (source == NULL) {
  15601. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15602. } else {
  15603. MergeFrom(*source);
  15604. }
  15605. }
  15606. void packetl2c_req_drop_rate_result::MergeFrom(const packetl2c_req_drop_rate_result& from) {
  15607. GOOGLE_CHECK_NE(&from, this);
  15608. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15609. if (from.has_packet_id()) {
  15610. set_packet_id(from.packet_id());
  15611. }
  15612. if (from.has_id()) {
  15613. set_id(from.id());
  15614. }
  15615. if (from.has_curgold()) {
  15616. set_curgold(from.curgold());
  15617. }
  15618. if (from.has_recvbenefittime()) {
  15619. set_recvbenefittime(from.recvbenefittime());
  15620. }
  15621. if (from.has_triggergiftid()) {
  15622. set_triggergiftid(from.triggergiftid());
  15623. }
  15624. }
  15625. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15626. }
  15627. void packetl2c_req_drop_rate_result::CopyFrom(const ::google::protobuf::Message& from) {
  15628. if (&from == this) return;
  15629. Clear();
  15630. MergeFrom(from);
  15631. }
  15632. void packetl2c_req_drop_rate_result::CopyFrom(const packetl2c_req_drop_rate_result& from) {
  15633. if (&from == this) return;
  15634. Clear();
  15635. MergeFrom(from);
  15636. }
  15637. bool packetl2c_req_drop_rate_result::IsInitialized() const {
  15638. return true;
  15639. }
  15640. void packetl2c_req_drop_rate_result::Swap(packetl2c_req_drop_rate_result* other) {
  15641. if (other != this) {
  15642. std::swap(packet_id_, other->packet_id_);
  15643. std::swap(id_, other->id_);
  15644. std::swap(curgold_, other->curgold_);
  15645. std::swap(recvbenefittime_, other->recvbenefittime_);
  15646. std::swap(triggergiftid_, other->triggergiftid_);
  15647. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15648. _unknown_fields_.Swap(&other->_unknown_fields_);
  15649. std::swap(_cached_size_, other->_cached_size_);
  15650. }
  15651. }
  15652. ::google::protobuf::Metadata packetl2c_req_drop_rate_result::GetMetadata() const {
  15653. protobuf_AssignDescriptorsOnce();
  15654. ::google::protobuf::Metadata metadata;
  15655. metadata.descriptor = packetl2c_req_drop_rate_result_descriptor_;
  15656. metadata.reflection = packetl2c_req_drop_rate_result_reflection_;
  15657. return metadata;
  15658. }
  15659. // ===================================================================
  15660. #ifndef _MSC_VER
  15661. const int packet_c2l_benefits::kPacketIdFieldNumber;
  15662. const int packet_c2l_benefits::kDoubleFieldNumber;
  15663. #endif // !_MSC_VER
  15664. packet_c2l_benefits::packet_c2l_benefits()
  15665. : ::google::protobuf::Message() {
  15666. SharedCtor();
  15667. }
  15668. void packet_c2l_benefits::InitAsDefaultInstance() {
  15669. }
  15670. packet_c2l_benefits::packet_c2l_benefits(const packet_c2l_benefits& from)
  15671. : ::google::protobuf::Message() {
  15672. SharedCtor();
  15673. MergeFrom(from);
  15674. }
  15675. void packet_c2l_benefits::SharedCtor() {
  15676. _cached_size_ = 0;
  15677. packet_id_ = 10129;
  15678. double__ = false;
  15679. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15680. }
  15681. packet_c2l_benefits::~packet_c2l_benefits() {
  15682. SharedDtor();
  15683. }
  15684. void packet_c2l_benefits::SharedDtor() {
  15685. if (this != default_instance_) {
  15686. }
  15687. }
  15688. void packet_c2l_benefits::SetCachedSize(int size) const {
  15689. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15690. _cached_size_ = size;
  15691. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15692. }
  15693. const ::google::protobuf::Descriptor* packet_c2l_benefits::descriptor() {
  15694. protobuf_AssignDescriptorsOnce();
  15695. return packet_c2l_benefits_descriptor_;
  15696. }
  15697. const packet_c2l_benefits& packet_c2l_benefits::default_instance() {
  15698. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  15699. return *default_instance_;
  15700. }
  15701. packet_c2l_benefits* packet_c2l_benefits::default_instance_ = NULL;
  15702. packet_c2l_benefits* packet_c2l_benefits::New() const {
  15703. return new packet_c2l_benefits;
  15704. }
  15705. void packet_c2l_benefits::Clear() {
  15706. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15707. packet_id_ = 10129;
  15708. double__ = false;
  15709. }
  15710. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15711. mutable_unknown_fields()->Clear();
  15712. }
  15713. bool packet_c2l_benefits::MergePartialFromCodedStream(
  15714. ::google::protobuf::io::CodedInputStream* input) {
  15715. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15716. ::google::protobuf::uint32 tag;
  15717. while ((tag = input->ReadTag()) != 0) {
  15718. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15719. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts];
  15720. case 1: {
  15721. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15722. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15723. int value;
  15724. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15725. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15726. input, &value)));
  15727. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  15728. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  15729. } else {
  15730. mutable_unknown_fields()->AddVarint(1, value);
  15731. }
  15732. } else {
  15733. goto handle_uninterpreted;
  15734. }
  15735. if (input->ExpectTag(16)) goto parse_double;
  15736. break;
  15737. }
  15738. // optional bool double = 2;
  15739. case 2: {
  15740. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15741. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15742. parse_double:
  15743. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15744. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15745. input, &double__)));
  15746. set_has_double_();
  15747. } else {
  15748. goto handle_uninterpreted;
  15749. }
  15750. if (input->ExpectAtEnd()) return true;
  15751. break;
  15752. }
  15753. default: {
  15754. handle_uninterpreted:
  15755. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15756. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15757. return true;
  15758. }
  15759. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15760. input, tag, mutable_unknown_fields()));
  15761. break;
  15762. }
  15763. }
  15764. }
  15765. return true;
  15766. #undef DO_
  15767. }
  15768. void packet_c2l_benefits::SerializeWithCachedSizes(
  15769. ::google::protobuf::io::CodedOutputStream* output) const {
  15770. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts];
  15771. if (has_packet_id()) {
  15772. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15773. 1, this->packet_id(), output);
  15774. }
  15775. // optional bool double = 2;
  15776. if (has_double_()) {
  15777. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->double_(), output);
  15778. }
  15779. if (!unknown_fields().empty()) {
  15780. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15781. unknown_fields(), output);
  15782. }
  15783. }
  15784. ::google::protobuf::uint8* packet_c2l_benefits::SerializeWithCachedSizesToArray(
  15785. ::google::protobuf::uint8* target) const {
  15786. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts];
  15787. if (has_packet_id()) {
  15788. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15789. 1, this->packet_id(), target);
  15790. }
  15791. // optional bool double = 2;
  15792. if (has_double_()) {
  15793. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->double_(), target);
  15794. }
  15795. if (!unknown_fields().empty()) {
  15796. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15797. unknown_fields(), target);
  15798. }
  15799. return target;
  15800. }
  15801. int packet_c2l_benefits::ByteSize() const {
  15802. int total_size = 0;
  15803. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15804. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts];
  15805. if (has_packet_id()) {
  15806. total_size += 1 +
  15807. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15808. }
  15809. // optional bool double = 2;
  15810. if (has_double_()) {
  15811. total_size += 1 + 1;
  15812. }
  15813. }
  15814. if (!unknown_fields().empty()) {
  15815. total_size +=
  15816. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15817. unknown_fields());
  15818. }
  15819. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15820. _cached_size_ = total_size;
  15821. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15822. return total_size;
  15823. }
  15824. void packet_c2l_benefits::MergeFrom(const ::google::protobuf::Message& from) {
  15825. GOOGLE_CHECK_NE(&from, this);
  15826. const packet_c2l_benefits* source =
  15827. ::google::protobuf::internal::dynamic_cast_if_available<const packet_c2l_benefits*>(
  15828. &from);
  15829. if (source == NULL) {
  15830. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15831. } else {
  15832. MergeFrom(*source);
  15833. }
  15834. }
  15835. void packet_c2l_benefits::MergeFrom(const packet_c2l_benefits& from) {
  15836. GOOGLE_CHECK_NE(&from, this);
  15837. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15838. if (from.has_packet_id()) {
  15839. set_packet_id(from.packet_id());
  15840. }
  15841. if (from.has_double_()) {
  15842. set_double_(from.double_());
  15843. }
  15844. }
  15845. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15846. }
  15847. void packet_c2l_benefits::CopyFrom(const ::google::protobuf::Message& from) {
  15848. if (&from == this) return;
  15849. Clear();
  15850. MergeFrom(from);
  15851. }
  15852. void packet_c2l_benefits::CopyFrom(const packet_c2l_benefits& from) {
  15853. if (&from == this) return;
  15854. Clear();
  15855. MergeFrom(from);
  15856. }
  15857. bool packet_c2l_benefits::IsInitialized() const {
  15858. return true;
  15859. }
  15860. void packet_c2l_benefits::Swap(packet_c2l_benefits* other) {
  15861. if (other != this) {
  15862. std::swap(packet_id_, other->packet_id_);
  15863. std::swap(double__, other->double__);
  15864. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15865. _unknown_fields_.Swap(&other->_unknown_fields_);
  15866. std::swap(_cached_size_, other->_cached_size_);
  15867. }
  15868. }
  15869. ::google::protobuf::Metadata packet_c2l_benefits::GetMetadata() const {
  15870. protobuf_AssignDescriptorsOnce();
  15871. ::google::protobuf::Metadata metadata;
  15872. metadata.descriptor = packet_c2l_benefits_descriptor_;
  15873. metadata.reflection = packet_c2l_benefits_reflection_;
  15874. return metadata;
  15875. }
  15876. // ===================================================================
  15877. #ifndef _MSC_VER
  15878. const int packet_l2c_benefits_result::kPacketIdFieldNumber;
  15879. const int packet_l2c_benefits_result::kDoubleFieldNumber;
  15880. const int packet_l2c_benefits_result::kResultFieldNumber;
  15881. #endif // !_MSC_VER
  15882. packet_l2c_benefits_result::packet_l2c_benefits_result()
  15883. : ::google::protobuf::Message() {
  15884. SharedCtor();
  15885. }
  15886. void packet_l2c_benefits_result::InitAsDefaultInstance() {
  15887. }
  15888. packet_l2c_benefits_result::packet_l2c_benefits_result(const packet_l2c_benefits_result& from)
  15889. : ::google::protobuf::Message() {
  15890. SharedCtor();
  15891. MergeFrom(from);
  15892. }
  15893. void packet_l2c_benefits_result::SharedCtor() {
  15894. _cached_size_ = 0;
  15895. packet_id_ = 16110;
  15896. double__ = false;
  15897. result_ = 0;
  15898. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15899. }
  15900. packet_l2c_benefits_result::~packet_l2c_benefits_result() {
  15901. SharedDtor();
  15902. }
  15903. void packet_l2c_benefits_result::SharedDtor() {
  15904. if (this != default_instance_) {
  15905. }
  15906. }
  15907. void packet_l2c_benefits_result::SetCachedSize(int size) const {
  15908. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15909. _cached_size_ = size;
  15910. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15911. }
  15912. const ::google::protobuf::Descriptor* packet_l2c_benefits_result::descriptor() {
  15913. protobuf_AssignDescriptorsOnce();
  15914. return packet_l2c_benefits_result_descriptor_;
  15915. }
  15916. const packet_l2c_benefits_result& packet_l2c_benefits_result::default_instance() {
  15917. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  15918. return *default_instance_;
  15919. }
  15920. packet_l2c_benefits_result* packet_l2c_benefits_result::default_instance_ = NULL;
  15921. packet_l2c_benefits_result* packet_l2c_benefits_result::New() const {
  15922. return new packet_l2c_benefits_result;
  15923. }
  15924. void packet_l2c_benefits_result::Clear() {
  15925. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15926. packet_id_ = 16110;
  15927. double__ = false;
  15928. result_ = 0;
  15929. }
  15930. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15931. mutable_unknown_fields()->Clear();
  15932. }
  15933. bool packet_l2c_benefits_result::MergePartialFromCodedStream(
  15934. ::google::protobuf::io::CodedInputStream* input) {
  15935. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15936. ::google::protobuf::uint32 tag;
  15937. while ((tag = input->ReadTag()) != 0) {
  15938. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15939. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result];
  15940. case 1: {
  15941. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15942. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15943. int value;
  15944. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15945. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15946. input, &value)));
  15947. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  15948. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  15949. } else {
  15950. mutable_unknown_fields()->AddVarint(1, value);
  15951. }
  15952. } else {
  15953. goto handle_uninterpreted;
  15954. }
  15955. if (input->ExpectTag(16)) goto parse_double;
  15956. break;
  15957. }
  15958. // optional bool double = 2;
  15959. case 2: {
  15960. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15961. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15962. parse_double:
  15963. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15964. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  15965. input, &double__)));
  15966. set_has_double_();
  15967. } else {
  15968. goto handle_uninterpreted;
  15969. }
  15970. if (input->ExpectTag(24)) goto parse_result;
  15971. break;
  15972. }
  15973. // optional int32 result = 3;
  15974. case 3: {
  15975. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15976. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15977. parse_result:
  15978. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15979. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15980. input, &result_)));
  15981. set_has_result();
  15982. } else {
  15983. goto handle_uninterpreted;
  15984. }
  15985. if (input->ExpectAtEnd()) return true;
  15986. break;
  15987. }
  15988. default: {
  15989. handle_uninterpreted:
  15990. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15991. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15992. return true;
  15993. }
  15994. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15995. input, tag, mutable_unknown_fields()));
  15996. break;
  15997. }
  15998. }
  15999. }
  16000. return true;
  16001. #undef DO_
  16002. }
  16003. void packet_l2c_benefits_result::SerializeWithCachedSizes(
  16004. ::google::protobuf::io::CodedOutputStream* output) const {
  16005. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result];
  16006. if (has_packet_id()) {
  16007. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16008. 1, this->packet_id(), output);
  16009. }
  16010. // optional bool double = 2;
  16011. if (has_double_()) {
  16012. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->double_(), output);
  16013. }
  16014. // optional int32 result = 3;
  16015. if (has_result()) {
  16016. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  16017. }
  16018. if (!unknown_fields().empty()) {
  16019. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16020. unknown_fields(), output);
  16021. }
  16022. }
  16023. ::google::protobuf::uint8* packet_l2c_benefits_result::SerializeWithCachedSizesToArray(
  16024. ::google::protobuf::uint8* target) const {
  16025. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result];
  16026. if (has_packet_id()) {
  16027. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16028. 1, this->packet_id(), target);
  16029. }
  16030. // optional bool double = 2;
  16031. if (has_double_()) {
  16032. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->double_(), target);
  16033. }
  16034. // optional int32 result = 3;
  16035. if (has_result()) {
  16036. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  16037. }
  16038. if (!unknown_fields().empty()) {
  16039. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16040. unknown_fields(), target);
  16041. }
  16042. return target;
  16043. }
  16044. int packet_l2c_benefits_result::ByteSize() const {
  16045. int total_size = 0;
  16046. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16047. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result];
  16048. if (has_packet_id()) {
  16049. total_size += 1 +
  16050. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16051. }
  16052. // optional bool double = 2;
  16053. if (has_double_()) {
  16054. total_size += 1 + 1;
  16055. }
  16056. // optional int32 result = 3;
  16057. if (has_result()) {
  16058. total_size += 1 +
  16059. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16060. this->result());
  16061. }
  16062. }
  16063. if (!unknown_fields().empty()) {
  16064. total_size +=
  16065. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16066. unknown_fields());
  16067. }
  16068. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16069. _cached_size_ = total_size;
  16070. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16071. return total_size;
  16072. }
  16073. void packet_l2c_benefits_result::MergeFrom(const ::google::protobuf::Message& from) {
  16074. GOOGLE_CHECK_NE(&from, this);
  16075. const packet_l2c_benefits_result* source =
  16076. ::google::protobuf::internal::dynamic_cast_if_available<const packet_l2c_benefits_result*>(
  16077. &from);
  16078. if (source == NULL) {
  16079. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16080. } else {
  16081. MergeFrom(*source);
  16082. }
  16083. }
  16084. void packet_l2c_benefits_result::MergeFrom(const packet_l2c_benefits_result& from) {
  16085. GOOGLE_CHECK_NE(&from, this);
  16086. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16087. if (from.has_packet_id()) {
  16088. set_packet_id(from.packet_id());
  16089. }
  16090. if (from.has_double_()) {
  16091. set_double_(from.double_());
  16092. }
  16093. if (from.has_result()) {
  16094. set_result(from.result());
  16095. }
  16096. }
  16097. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16098. }
  16099. void packet_l2c_benefits_result::CopyFrom(const ::google::protobuf::Message& from) {
  16100. if (&from == this) return;
  16101. Clear();
  16102. MergeFrom(from);
  16103. }
  16104. void packet_l2c_benefits_result::CopyFrom(const packet_l2c_benefits_result& from) {
  16105. if (&from == this) return;
  16106. Clear();
  16107. MergeFrom(from);
  16108. }
  16109. bool packet_l2c_benefits_result::IsInitialized() const {
  16110. return true;
  16111. }
  16112. void packet_l2c_benefits_result::Swap(packet_l2c_benefits_result* other) {
  16113. if (other != this) {
  16114. std::swap(packet_id_, other->packet_id_);
  16115. std::swap(double__, other->double__);
  16116. std::swap(result_, other->result_);
  16117. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16118. _unknown_fields_.Swap(&other->_unknown_fields_);
  16119. std::swap(_cached_size_, other->_cached_size_);
  16120. }
  16121. }
  16122. ::google::protobuf::Metadata packet_l2c_benefits_result::GetMetadata() const {
  16123. protobuf_AssignDescriptorsOnce();
  16124. ::google::protobuf::Metadata metadata;
  16125. metadata.descriptor = packet_l2c_benefits_result_descriptor_;
  16126. metadata.reflection = packet_l2c_benefits_result_reflection_;
  16127. return metadata;
  16128. }
  16129. // ===================================================================
  16130. #ifndef _MSC_VER
  16131. const int packetl2c_bc_table_kill_chipfish::kPacketIdFieldNumber;
  16132. const int packetl2c_bc_table_kill_chipfish::kPlayerIdFieldNumber;
  16133. const int packetl2c_bc_table_kill_chipfish::kLotteryIdFieldNumber;
  16134. const int packetl2c_bc_table_kill_chipfish::kFishIdFieldNumber;
  16135. #endif // !_MSC_VER
  16136. packetl2c_bc_table_kill_chipfish::packetl2c_bc_table_kill_chipfish()
  16137. : ::google::protobuf::Message() {
  16138. SharedCtor();
  16139. }
  16140. void packetl2c_bc_table_kill_chipfish::InitAsDefaultInstance() {
  16141. }
  16142. packetl2c_bc_table_kill_chipfish::packetl2c_bc_table_kill_chipfish(const packetl2c_bc_table_kill_chipfish& from)
  16143. : ::google::protobuf::Message() {
  16144. SharedCtor();
  16145. MergeFrom(from);
  16146. }
  16147. void packetl2c_bc_table_kill_chipfish::SharedCtor() {
  16148. _cached_size_ = 0;
  16149. packet_id_ = 16119;
  16150. playerid_ = 0;
  16151. lotteryid_ = 0;
  16152. fishid_ = 0;
  16153. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16154. }
  16155. packetl2c_bc_table_kill_chipfish::~packetl2c_bc_table_kill_chipfish() {
  16156. SharedDtor();
  16157. }
  16158. void packetl2c_bc_table_kill_chipfish::SharedDtor() {
  16159. if (this != default_instance_) {
  16160. }
  16161. }
  16162. void packetl2c_bc_table_kill_chipfish::SetCachedSize(int size) const {
  16163. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16164. _cached_size_ = size;
  16165. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16166. }
  16167. const ::google::protobuf::Descriptor* packetl2c_bc_table_kill_chipfish::descriptor() {
  16168. protobuf_AssignDescriptorsOnce();
  16169. return packetl2c_bc_table_kill_chipfish_descriptor_;
  16170. }
  16171. const packetl2c_bc_table_kill_chipfish& packetl2c_bc_table_kill_chipfish::default_instance() {
  16172. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  16173. return *default_instance_;
  16174. }
  16175. packetl2c_bc_table_kill_chipfish* packetl2c_bc_table_kill_chipfish::default_instance_ = NULL;
  16176. packetl2c_bc_table_kill_chipfish* packetl2c_bc_table_kill_chipfish::New() const {
  16177. return new packetl2c_bc_table_kill_chipfish;
  16178. }
  16179. void packetl2c_bc_table_kill_chipfish::Clear() {
  16180. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16181. packet_id_ = 16119;
  16182. playerid_ = 0;
  16183. lotteryid_ = 0;
  16184. fishid_ = 0;
  16185. }
  16186. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16187. mutable_unknown_fields()->Clear();
  16188. }
  16189. bool packetl2c_bc_table_kill_chipfish::MergePartialFromCodedStream(
  16190. ::google::protobuf::io::CodedInputStream* input) {
  16191. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16192. ::google::protobuf::uint32 tag;
  16193. while ((tag = input->ReadTag()) != 0) {
  16194. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16195. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish];
  16196. case 1: {
  16197. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16198. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16199. int value;
  16200. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16201. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16202. input, &value)));
  16203. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  16204. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  16205. } else {
  16206. mutable_unknown_fields()->AddVarint(1, value);
  16207. }
  16208. } else {
  16209. goto handle_uninterpreted;
  16210. }
  16211. if (input->ExpectTag(16)) goto parse_playerId;
  16212. break;
  16213. }
  16214. // optional int32 playerId = 2;
  16215. case 2: {
  16216. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16217. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16218. parse_playerId:
  16219. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16220. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16221. input, &playerid_)));
  16222. set_has_playerid();
  16223. } else {
  16224. goto handle_uninterpreted;
  16225. }
  16226. if (input->ExpectTag(24)) goto parse_LotteryId;
  16227. break;
  16228. }
  16229. // optional int32 LotteryId = 3;
  16230. case 3: {
  16231. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16232. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16233. parse_LotteryId:
  16234. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16235. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16236. input, &lotteryid_)));
  16237. set_has_lotteryid();
  16238. } else {
  16239. goto handle_uninterpreted;
  16240. }
  16241. if (input->ExpectTag(32)) goto parse_fishId;
  16242. break;
  16243. }
  16244. // optional int32 fishId = 4;
  16245. case 4: {
  16246. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16247. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16248. parse_fishId:
  16249. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16250. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16251. input, &fishid_)));
  16252. set_has_fishid();
  16253. } else {
  16254. goto handle_uninterpreted;
  16255. }
  16256. if (input->ExpectAtEnd()) return true;
  16257. break;
  16258. }
  16259. default: {
  16260. handle_uninterpreted:
  16261. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16262. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16263. return true;
  16264. }
  16265. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16266. input, tag, mutable_unknown_fields()));
  16267. break;
  16268. }
  16269. }
  16270. }
  16271. return true;
  16272. #undef DO_
  16273. }
  16274. void packetl2c_bc_table_kill_chipfish::SerializeWithCachedSizes(
  16275. ::google::protobuf::io::CodedOutputStream* output) const {
  16276. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish];
  16277. if (has_packet_id()) {
  16278. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16279. 1, this->packet_id(), output);
  16280. }
  16281. // optional int32 playerId = 2;
  16282. if (has_playerid()) {
  16283. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  16284. }
  16285. // optional int32 LotteryId = 3;
  16286. if (has_lotteryid()) {
  16287. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->lotteryid(), output);
  16288. }
  16289. // optional int32 fishId = 4;
  16290. if (has_fishid()) {
  16291. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fishid(), output);
  16292. }
  16293. if (!unknown_fields().empty()) {
  16294. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16295. unknown_fields(), output);
  16296. }
  16297. }
  16298. ::google::protobuf::uint8* packetl2c_bc_table_kill_chipfish::SerializeWithCachedSizesToArray(
  16299. ::google::protobuf::uint8* target) const {
  16300. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish];
  16301. if (has_packet_id()) {
  16302. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16303. 1, this->packet_id(), target);
  16304. }
  16305. // optional int32 playerId = 2;
  16306. if (has_playerid()) {
  16307. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  16308. }
  16309. // optional int32 LotteryId = 3;
  16310. if (has_lotteryid()) {
  16311. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->lotteryid(), target);
  16312. }
  16313. // optional int32 fishId = 4;
  16314. if (has_fishid()) {
  16315. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fishid(), target);
  16316. }
  16317. if (!unknown_fields().empty()) {
  16318. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16319. unknown_fields(), target);
  16320. }
  16321. return target;
  16322. }
  16323. int packetl2c_bc_table_kill_chipfish::ByteSize() const {
  16324. int total_size = 0;
  16325. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16326. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish];
  16327. if (has_packet_id()) {
  16328. total_size += 1 +
  16329. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16330. }
  16331. // optional int32 playerId = 2;
  16332. if (has_playerid()) {
  16333. total_size += 1 +
  16334. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16335. this->playerid());
  16336. }
  16337. // optional int32 LotteryId = 3;
  16338. if (has_lotteryid()) {
  16339. total_size += 1 +
  16340. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16341. this->lotteryid());
  16342. }
  16343. // optional int32 fishId = 4;
  16344. if (has_fishid()) {
  16345. total_size += 1 +
  16346. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16347. this->fishid());
  16348. }
  16349. }
  16350. if (!unknown_fields().empty()) {
  16351. total_size +=
  16352. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16353. unknown_fields());
  16354. }
  16355. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16356. _cached_size_ = total_size;
  16357. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16358. return total_size;
  16359. }
  16360. void packetl2c_bc_table_kill_chipfish::MergeFrom(const ::google::protobuf::Message& from) {
  16361. GOOGLE_CHECK_NE(&from, this);
  16362. const packetl2c_bc_table_kill_chipfish* source =
  16363. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_table_kill_chipfish*>(
  16364. &from);
  16365. if (source == NULL) {
  16366. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16367. } else {
  16368. MergeFrom(*source);
  16369. }
  16370. }
  16371. void packetl2c_bc_table_kill_chipfish::MergeFrom(const packetl2c_bc_table_kill_chipfish& from) {
  16372. GOOGLE_CHECK_NE(&from, this);
  16373. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16374. if (from.has_packet_id()) {
  16375. set_packet_id(from.packet_id());
  16376. }
  16377. if (from.has_playerid()) {
  16378. set_playerid(from.playerid());
  16379. }
  16380. if (from.has_lotteryid()) {
  16381. set_lotteryid(from.lotteryid());
  16382. }
  16383. if (from.has_fishid()) {
  16384. set_fishid(from.fishid());
  16385. }
  16386. }
  16387. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16388. }
  16389. void packetl2c_bc_table_kill_chipfish::CopyFrom(const ::google::protobuf::Message& from) {
  16390. if (&from == this) return;
  16391. Clear();
  16392. MergeFrom(from);
  16393. }
  16394. void packetl2c_bc_table_kill_chipfish::CopyFrom(const packetl2c_bc_table_kill_chipfish& from) {
  16395. if (&from == this) return;
  16396. Clear();
  16397. MergeFrom(from);
  16398. }
  16399. bool packetl2c_bc_table_kill_chipfish::IsInitialized() const {
  16400. return true;
  16401. }
  16402. void packetl2c_bc_table_kill_chipfish::Swap(packetl2c_bc_table_kill_chipfish* other) {
  16403. if (other != this) {
  16404. std::swap(packet_id_, other->packet_id_);
  16405. std::swap(playerid_, other->playerid_);
  16406. std::swap(lotteryid_, other->lotteryid_);
  16407. std::swap(fishid_, other->fishid_);
  16408. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16409. _unknown_fields_.Swap(&other->_unknown_fields_);
  16410. std::swap(_cached_size_, other->_cached_size_);
  16411. }
  16412. }
  16413. ::google::protobuf::Metadata packetl2c_bc_table_kill_chipfish::GetMetadata() const {
  16414. protobuf_AssignDescriptorsOnce();
  16415. ::google::protobuf::Metadata metadata;
  16416. metadata.descriptor = packetl2c_bc_table_kill_chipfish_descriptor_;
  16417. metadata.reflection = packetl2c_bc_table_kill_chipfish_reflection_;
  16418. return metadata;
  16419. }
  16420. // ===================================================================
  16421. #ifndef _MSC_VER
  16422. const int packetl2c_bc_table_kill_turntablefish::kPacketIdFieldNumber;
  16423. const int packetl2c_bc_table_kill_turntablefish::kPlayerIdFieldNumber;
  16424. const int packetl2c_bc_table_kill_turntablefish::kGoldFieldNumber;
  16425. const int packetl2c_bc_table_kill_turntablefish::kFishIdFieldNumber;
  16426. const int packetl2c_bc_table_kill_turntablefish::kTurnIdFieldNumber;
  16427. const int packetl2c_bc_table_kill_turntablefish::kRemainTimeCardFieldNumber;
  16428. #endif // !_MSC_VER
  16429. packetl2c_bc_table_kill_turntablefish::packetl2c_bc_table_kill_turntablefish()
  16430. : ::google::protobuf::Message() {
  16431. SharedCtor();
  16432. }
  16433. void packetl2c_bc_table_kill_turntablefish::InitAsDefaultInstance() {
  16434. }
  16435. packetl2c_bc_table_kill_turntablefish::packetl2c_bc_table_kill_turntablefish(const packetl2c_bc_table_kill_turntablefish& from)
  16436. : ::google::protobuf::Message() {
  16437. SharedCtor();
  16438. MergeFrom(from);
  16439. }
  16440. void packetl2c_bc_table_kill_turntablefish::SharedCtor() {
  16441. _cached_size_ = 0;
  16442. packet_id_ = 16148;
  16443. playerid_ = 0;
  16444. gold_ = 0;
  16445. fishid_ = 0;
  16446. turnid_ = 0;
  16447. remaintimecard_ = 0;
  16448. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16449. }
  16450. packetl2c_bc_table_kill_turntablefish::~packetl2c_bc_table_kill_turntablefish() {
  16451. SharedDtor();
  16452. }
  16453. void packetl2c_bc_table_kill_turntablefish::SharedDtor() {
  16454. if (this != default_instance_) {
  16455. }
  16456. }
  16457. void packetl2c_bc_table_kill_turntablefish::SetCachedSize(int size) const {
  16458. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16459. _cached_size_ = size;
  16460. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16461. }
  16462. const ::google::protobuf::Descriptor* packetl2c_bc_table_kill_turntablefish::descriptor() {
  16463. protobuf_AssignDescriptorsOnce();
  16464. return packetl2c_bc_table_kill_turntablefish_descriptor_;
  16465. }
  16466. const packetl2c_bc_table_kill_turntablefish& packetl2c_bc_table_kill_turntablefish::default_instance() {
  16467. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  16468. return *default_instance_;
  16469. }
  16470. packetl2c_bc_table_kill_turntablefish* packetl2c_bc_table_kill_turntablefish::default_instance_ = NULL;
  16471. packetl2c_bc_table_kill_turntablefish* packetl2c_bc_table_kill_turntablefish::New() const {
  16472. return new packetl2c_bc_table_kill_turntablefish;
  16473. }
  16474. void packetl2c_bc_table_kill_turntablefish::Clear() {
  16475. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16476. packet_id_ = 16148;
  16477. playerid_ = 0;
  16478. gold_ = 0;
  16479. fishid_ = 0;
  16480. turnid_ = 0;
  16481. remaintimecard_ = 0;
  16482. }
  16483. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16484. mutable_unknown_fields()->Clear();
  16485. }
  16486. bool packetl2c_bc_table_kill_turntablefish::MergePartialFromCodedStream(
  16487. ::google::protobuf::io::CodedInputStream* input) {
  16488. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16489. ::google::protobuf::uint32 tag;
  16490. while ((tag = input->ReadTag()) != 0) {
  16491. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16492. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish];
  16493. case 1: {
  16494. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16495. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16496. int value;
  16497. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16498. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16499. input, &value)));
  16500. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  16501. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  16502. } else {
  16503. mutable_unknown_fields()->AddVarint(1, value);
  16504. }
  16505. } else {
  16506. goto handle_uninterpreted;
  16507. }
  16508. if (input->ExpectTag(16)) goto parse_playerId;
  16509. break;
  16510. }
  16511. // optional int32 playerId = 2;
  16512. case 2: {
  16513. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16514. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16515. parse_playerId:
  16516. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16517. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16518. input, &playerid_)));
  16519. set_has_playerid();
  16520. } else {
  16521. goto handle_uninterpreted;
  16522. }
  16523. if (input->ExpectTag(24)) goto parse_gold;
  16524. break;
  16525. }
  16526. // optional int32 gold = 3;
  16527. case 3: {
  16528. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16529. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16530. parse_gold:
  16531. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16532. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16533. input, &gold_)));
  16534. set_has_gold();
  16535. } else {
  16536. goto handle_uninterpreted;
  16537. }
  16538. if (input->ExpectTag(32)) goto parse_fishId;
  16539. break;
  16540. }
  16541. // optional int32 fishId = 4;
  16542. case 4: {
  16543. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16544. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16545. parse_fishId:
  16546. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16547. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16548. input, &fishid_)));
  16549. set_has_fishid();
  16550. } else {
  16551. goto handle_uninterpreted;
  16552. }
  16553. if (input->ExpectTag(40)) goto parse_turnId;
  16554. break;
  16555. }
  16556. // optional int32 turnId = 5;
  16557. case 5: {
  16558. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16559. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16560. parse_turnId:
  16561. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16562. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16563. input, &turnid_)));
  16564. set_has_turnid();
  16565. } else {
  16566. goto handle_uninterpreted;
  16567. }
  16568. if (input->ExpectTag(48)) goto parse_remainTimeCard;
  16569. break;
  16570. }
  16571. // optional int32 remainTimeCard = 6;
  16572. case 6: {
  16573. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16574. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16575. parse_remainTimeCard:
  16576. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16577. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16578. input, &remaintimecard_)));
  16579. set_has_remaintimecard();
  16580. } else {
  16581. goto handle_uninterpreted;
  16582. }
  16583. if (input->ExpectAtEnd()) return true;
  16584. break;
  16585. }
  16586. default: {
  16587. handle_uninterpreted:
  16588. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16589. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16590. return true;
  16591. }
  16592. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16593. input, tag, mutable_unknown_fields()));
  16594. break;
  16595. }
  16596. }
  16597. }
  16598. return true;
  16599. #undef DO_
  16600. }
  16601. void packetl2c_bc_table_kill_turntablefish::SerializeWithCachedSizes(
  16602. ::google::protobuf::io::CodedOutputStream* output) const {
  16603. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish];
  16604. if (has_packet_id()) {
  16605. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16606. 1, this->packet_id(), output);
  16607. }
  16608. // optional int32 playerId = 2;
  16609. if (has_playerid()) {
  16610. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  16611. }
  16612. // optional int32 gold = 3;
  16613. if (has_gold()) {
  16614. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gold(), output);
  16615. }
  16616. // optional int32 fishId = 4;
  16617. if (has_fishid()) {
  16618. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fishid(), output);
  16619. }
  16620. // optional int32 turnId = 5;
  16621. if (has_turnid()) {
  16622. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->turnid(), output);
  16623. }
  16624. // optional int32 remainTimeCard = 6;
  16625. if (has_remaintimecard()) {
  16626. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->remaintimecard(), output);
  16627. }
  16628. if (!unknown_fields().empty()) {
  16629. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16630. unknown_fields(), output);
  16631. }
  16632. }
  16633. ::google::protobuf::uint8* packetl2c_bc_table_kill_turntablefish::SerializeWithCachedSizesToArray(
  16634. ::google::protobuf::uint8* target) const {
  16635. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish];
  16636. if (has_packet_id()) {
  16637. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16638. 1, this->packet_id(), target);
  16639. }
  16640. // optional int32 playerId = 2;
  16641. if (has_playerid()) {
  16642. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  16643. }
  16644. // optional int32 gold = 3;
  16645. if (has_gold()) {
  16646. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gold(), target);
  16647. }
  16648. // optional int32 fishId = 4;
  16649. if (has_fishid()) {
  16650. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fishid(), target);
  16651. }
  16652. // optional int32 turnId = 5;
  16653. if (has_turnid()) {
  16654. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->turnid(), target);
  16655. }
  16656. // optional int32 remainTimeCard = 6;
  16657. if (has_remaintimecard()) {
  16658. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->remaintimecard(), target);
  16659. }
  16660. if (!unknown_fields().empty()) {
  16661. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16662. unknown_fields(), target);
  16663. }
  16664. return target;
  16665. }
  16666. int packetl2c_bc_table_kill_turntablefish::ByteSize() const {
  16667. int total_size = 0;
  16668. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16669. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish];
  16670. if (has_packet_id()) {
  16671. total_size += 1 +
  16672. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16673. }
  16674. // optional int32 playerId = 2;
  16675. if (has_playerid()) {
  16676. total_size += 1 +
  16677. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16678. this->playerid());
  16679. }
  16680. // optional int32 gold = 3;
  16681. if (has_gold()) {
  16682. total_size += 1 +
  16683. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16684. this->gold());
  16685. }
  16686. // optional int32 fishId = 4;
  16687. if (has_fishid()) {
  16688. total_size += 1 +
  16689. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16690. this->fishid());
  16691. }
  16692. // optional int32 turnId = 5;
  16693. if (has_turnid()) {
  16694. total_size += 1 +
  16695. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16696. this->turnid());
  16697. }
  16698. // optional int32 remainTimeCard = 6;
  16699. if (has_remaintimecard()) {
  16700. total_size += 1 +
  16701. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16702. this->remaintimecard());
  16703. }
  16704. }
  16705. if (!unknown_fields().empty()) {
  16706. total_size +=
  16707. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16708. unknown_fields());
  16709. }
  16710. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16711. _cached_size_ = total_size;
  16712. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16713. return total_size;
  16714. }
  16715. void packetl2c_bc_table_kill_turntablefish::MergeFrom(const ::google::protobuf::Message& from) {
  16716. GOOGLE_CHECK_NE(&from, this);
  16717. const packetl2c_bc_table_kill_turntablefish* source =
  16718. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_table_kill_turntablefish*>(
  16719. &from);
  16720. if (source == NULL) {
  16721. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16722. } else {
  16723. MergeFrom(*source);
  16724. }
  16725. }
  16726. void packetl2c_bc_table_kill_turntablefish::MergeFrom(const packetl2c_bc_table_kill_turntablefish& from) {
  16727. GOOGLE_CHECK_NE(&from, this);
  16728. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16729. if (from.has_packet_id()) {
  16730. set_packet_id(from.packet_id());
  16731. }
  16732. if (from.has_playerid()) {
  16733. set_playerid(from.playerid());
  16734. }
  16735. if (from.has_gold()) {
  16736. set_gold(from.gold());
  16737. }
  16738. if (from.has_fishid()) {
  16739. set_fishid(from.fishid());
  16740. }
  16741. if (from.has_turnid()) {
  16742. set_turnid(from.turnid());
  16743. }
  16744. if (from.has_remaintimecard()) {
  16745. set_remaintimecard(from.remaintimecard());
  16746. }
  16747. }
  16748. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16749. }
  16750. void packetl2c_bc_table_kill_turntablefish::CopyFrom(const ::google::protobuf::Message& from) {
  16751. if (&from == this) return;
  16752. Clear();
  16753. MergeFrom(from);
  16754. }
  16755. void packetl2c_bc_table_kill_turntablefish::CopyFrom(const packetl2c_bc_table_kill_turntablefish& from) {
  16756. if (&from == this) return;
  16757. Clear();
  16758. MergeFrom(from);
  16759. }
  16760. bool packetl2c_bc_table_kill_turntablefish::IsInitialized() const {
  16761. return true;
  16762. }
  16763. void packetl2c_bc_table_kill_turntablefish::Swap(packetl2c_bc_table_kill_turntablefish* other) {
  16764. if (other != this) {
  16765. std::swap(packet_id_, other->packet_id_);
  16766. std::swap(playerid_, other->playerid_);
  16767. std::swap(gold_, other->gold_);
  16768. std::swap(fishid_, other->fishid_);
  16769. std::swap(turnid_, other->turnid_);
  16770. std::swap(remaintimecard_, other->remaintimecard_);
  16771. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16772. _unknown_fields_.Swap(&other->_unknown_fields_);
  16773. std::swap(_cached_size_, other->_cached_size_);
  16774. }
  16775. }
  16776. ::google::protobuf::Metadata packetl2c_bc_table_kill_turntablefish::GetMetadata() const {
  16777. protobuf_AssignDescriptorsOnce();
  16778. ::google::protobuf::Metadata metadata;
  16779. metadata.descriptor = packetl2c_bc_table_kill_turntablefish_descriptor_;
  16780. metadata.reflection = packetl2c_bc_table_kill_turntablefish_reflection_;
  16781. return metadata;
  16782. }
  16783. // ===================================================================
  16784. #ifndef _MSC_VER
  16785. const int packetl2c_kill_goldfish::kPacketIdFieldNumber;
  16786. const int packetl2c_kill_goldfish::kKillcountFieldNumber;
  16787. const int packetl2c_kill_goldfish::kGoldpoolFieldNumber;
  16788. #endif // !_MSC_VER
  16789. packetl2c_kill_goldfish::packetl2c_kill_goldfish()
  16790. : ::google::protobuf::Message() {
  16791. SharedCtor();
  16792. }
  16793. void packetl2c_kill_goldfish::InitAsDefaultInstance() {
  16794. }
  16795. packetl2c_kill_goldfish::packetl2c_kill_goldfish(const packetl2c_kill_goldfish& from)
  16796. : ::google::protobuf::Message() {
  16797. SharedCtor();
  16798. MergeFrom(from);
  16799. }
  16800. void packetl2c_kill_goldfish::SharedCtor() {
  16801. _cached_size_ = 0;
  16802. packet_id_ = 16162;
  16803. killcount_ = 0;
  16804. goldpool_ = 0;
  16805. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16806. }
  16807. packetl2c_kill_goldfish::~packetl2c_kill_goldfish() {
  16808. SharedDtor();
  16809. }
  16810. void packetl2c_kill_goldfish::SharedDtor() {
  16811. if (this != default_instance_) {
  16812. }
  16813. }
  16814. void packetl2c_kill_goldfish::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* packetl2c_kill_goldfish::descriptor() {
  16820. protobuf_AssignDescriptorsOnce();
  16821. return packetl2c_kill_goldfish_descriptor_;
  16822. }
  16823. const packetl2c_kill_goldfish& packetl2c_kill_goldfish::default_instance() {
  16824. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  16825. return *default_instance_;
  16826. }
  16827. packetl2c_kill_goldfish* packetl2c_kill_goldfish::default_instance_ = NULL;
  16828. packetl2c_kill_goldfish* packetl2c_kill_goldfish::New() const {
  16829. return new packetl2c_kill_goldfish;
  16830. }
  16831. void packetl2c_kill_goldfish::Clear() {
  16832. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16833. packet_id_ = 16162;
  16834. killcount_ = 0;
  16835. goldpool_ = 0;
  16836. }
  16837. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16838. mutable_unknown_fields()->Clear();
  16839. }
  16840. bool packetl2c_kill_goldfish::MergePartialFromCodedStream(
  16841. ::google::protobuf::io::CodedInputStream* input) {
  16842. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16843. ::google::protobuf::uint32 tag;
  16844. while ((tag = input->ReadTag()) != 0) {
  16845. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16846. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish];
  16847. case 1: {
  16848. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16849. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16850. int value;
  16851. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16852. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16853. input, &value)));
  16854. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  16855. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  16856. } else {
  16857. mutable_unknown_fields()->AddVarint(1, value);
  16858. }
  16859. } else {
  16860. goto handle_uninterpreted;
  16861. }
  16862. if (input->ExpectTag(16)) goto parse_killcount;
  16863. break;
  16864. }
  16865. // optional int32 killcount = 2;
  16866. case 2: {
  16867. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16868. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16869. parse_killcount:
  16870. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16871. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16872. input, &killcount_)));
  16873. set_has_killcount();
  16874. } else {
  16875. goto handle_uninterpreted;
  16876. }
  16877. if (input->ExpectTag(24)) goto parse_goldpool;
  16878. break;
  16879. }
  16880. // optional int32 goldpool = 3;
  16881. case 3: {
  16882. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16883. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16884. parse_goldpool:
  16885. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16886. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16887. input, &goldpool_)));
  16888. set_has_goldpool();
  16889. } else {
  16890. goto handle_uninterpreted;
  16891. }
  16892. if (input->ExpectAtEnd()) return true;
  16893. break;
  16894. }
  16895. default: {
  16896. handle_uninterpreted:
  16897. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16898. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16899. return true;
  16900. }
  16901. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16902. input, tag, mutable_unknown_fields()));
  16903. break;
  16904. }
  16905. }
  16906. }
  16907. return true;
  16908. #undef DO_
  16909. }
  16910. void packetl2c_kill_goldfish::SerializeWithCachedSizes(
  16911. ::google::protobuf::io::CodedOutputStream* output) const {
  16912. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish];
  16913. if (has_packet_id()) {
  16914. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16915. 1, this->packet_id(), output);
  16916. }
  16917. // optional int32 killcount = 2;
  16918. if (has_killcount()) {
  16919. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->killcount(), output);
  16920. }
  16921. // optional int32 goldpool = 3;
  16922. if (has_goldpool()) {
  16923. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->goldpool(), output);
  16924. }
  16925. if (!unknown_fields().empty()) {
  16926. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16927. unknown_fields(), output);
  16928. }
  16929. }
  16930. ::google::protobuf::uint8* packetl2c_kill_goldfish::SerializeWithCachedSizesToArray(
  16931. ::google::protobuf::uint8* target) const {
  16932. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish];
  16933. if (has_packet_id()) {
  16934. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16935. 1, this->packet_id(), target);
  16936. }
  16937. // optional int32 killcount = 2;
  16938. if (has_killcount()) {
  16939. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->killcount(), target);
  16940. }
  16941. // optional int32 goldpool = 3;
  16942. if (has_goldpool()) {
  16943. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->goldpool(), target);
  16944. }
  16945. if (!unknown_fields().empty()) {
  16946. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16947. unknown_fields(), target);
  16948. }
  16949. return target;
  16950. }
  16951. int packetl2c_kill_goldfish::ByteSize() const {
  16952. int total_size = 0;
  16953. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16954. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish];
  16955. if (has_packet_id()) {
  16956. total_size += 1 +
  16957. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16958. }
  16959. // optional int32 killcount = 2;
  16960. if (has_killcount()) {
  16961. total_size += 1 +
  16962. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16963. this->killcount());
  16964. }
  16965. // optional int32 goldpool = 3;
  16966. if (has_goldpool()) {
  16967. total_size += 1 +
  16968. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16969. this->goldpool());
  16970. }
  16971. }
  16972. if (!unknown_fields().empty()) {
  16973. total_size +=
  16974. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16975. unknown_fields());
  16976. }
  16977. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16978. _cached_size_ = total_size;
  16979. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16980. return total_size;
  16981. }
  16982. void packetl2c_kill_goldfish::MergeFrom(const ::google::protobuf::Message& from) {
  16983. GOOGLE_CHECK_NE(&from, this);
  16984. const packetl2c_kill_goldfish* source =
  16985. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_kill_goldfish*>(
  16986. &from);
  16987. if (source == NULL) {
  16988. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16989. } else {
  16990. MergeFrom(*source);
  16991. }
  16992. }
  16993. void packetl2c_kill_goldfish::MergeFrom(const packetl2c_kill_goldfish& from) {
  16994. GOOGLE_CHECK_NE(&from, this);
  16995. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16996. if (from.has_packet_id()) {
  16997. set_packet_id(from.packet_id());
  16998. }
  16999. if (from.has_killcount()) {
  17000. set_killcount(from.killcount());
  17001. }
  17002. if (from.has_goldpool()) {
  17003. set_goldpool(from.goldpool());
  17004. }
  17005. }
  17006. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17007. }
  17008. void packetl2c_kill_goldfish::CopyFrom(const ::google::protobuf::Message& from) {
  17009. if (&from == this) return;
  17010. Clear();
  17011. MergeFrom(from);
  17012. }
  17013. void packetl2c_kill_goldfish::CopyFrom(const packetl2c_kill_goldfish& from) {
  17014. if (&from == this) return;
  17015. Clear();
  17016. MergeFrom(from);
  17017. }
  17018. bool packetl2c_kill_goldfish::IsInitialized() const {
  17019. return true;
  17020. }
  17021. void packetl2c_kill_goldfish::Swap(packetl2c_kill_goldfish* other) {
  17022. if (other != this) {
  17023. std::swap(packet_id_, other->packet_id_);
  17024. std::swap(killcount_, other->killcount_);
  17025. std::swap(goldpool_, other->goldpool_);
  17026. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17027. _unknown_fields_.Swap(&other->_unknown_fields_);
  17028. std::swap(_cached_size_, other->_cached_size_);
  17029. }
  17030. }
  17031. ::google::protobuf::Metadata packetl2c_kill_goldfish::GetMetadata() const {
  17032. protobuf_AssignDescriptorsOnce();
  17033. ::google::protobuf::Metadata metadata;
  17034. metadata.descriptor = packetl2c_kill_goldfish_descriptor_;
  17035. metadata.reflection = packetl2c_kill_goldfish_reflection_;
  17036. return metadata;
  17037. }
  17038. // ===================================================================
  17039. #ifndef _MSC_VER
  17040. const int packetc2l_play_ad_reward::kPacketIdFieldNumber;
  17041. const int packetc2l_play_ad_reward::kDoubleFieldNumber;
  17042. #endif // !_MSC_VER
  17043. packetc2l_play_ad_reward::packetc2l_play_ad_reward()
  17044. : ::google::protobuf::Message() {
  17045. SharedCtor();
  17046. }
  17047. void packetc2l_play_ad_reward::InitAsDefaultInstance() {
  17048. }
  17049. packetc2l_play_ad_reward::packetc2l_play_ad_reward(const packetc2l_play_ad_reward& from)
  17050. : ::google::protobuf::Message() {
  17051. SharedCtor();
  17052. MergeFrom(from);
  17053. }
  17054. void packetc2l_play_ad_reward::SharedCtor() {
  17055. _cached_size_ = 0;
  17056. packet_id_ = 10196;
  17057. double__ = false;
  17058. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17059. }
  17060. packetc2l_play_ad_reward::~packetc2l_play_ad_reward() {
  17061. SharedDtor();
  17062. }
  17063. void packetc2l_play_ad_reward::SharedDtor() {
  17064. if (this != default_instance_) {
  17065. }
  17066. }
  17067. void packetc2l_play_ad_reward::SetCachedSize(int size) const {
  17068. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17069. _cached_size_ = size;
  17070. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17071. }
  17072. const ::google::protobuf::Descriptor* packetc2l_play_ad_reward::descriptor() {
  17073. protobuf_AssignDescriptorsOnce();
  17074. return packetc2l_play_ad_reward_descriptor_;
  17075. }
  17076. const packetc2l_play_ad_reward& packetc2l_play_ad_reward::default_instance() {
  17077. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  17078. return *default_instance_;
  17079. }
  17080. packetc2l_play_ad_reward* packetc2l_play_ad_reward::default_instance_ = NULL;
  17081. packetc2l_play_ad_reward* packetc2l_play_ad_reward::New() const {
  17082. return new packetc2l_play_ad_reward;
  17083. }
  17084. void packetc2l_play_ad_reward::Clear() {
  17085. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17086. packet_id_ = 10196;
  17087. double__ = false;
  17088. }
  17089. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17090. mutable_unknown_fields()->Clear();
  17091. }
  17092. bool packetc2l_play_ad_reward::MergePartialFromCodedStream(
  17093. ::google::protobuf::io::CodedInputStream* input) {
  17094. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17095. ::google::protobuf::uint32 tag;
  17096. while ((tag = input->ReadTag()) != 0) {
  17097. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17098. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward];
  17099. case 1: {
  17100. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17101. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17102. int value;
  17103. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17104. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17105. input, &value)));
  17106. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  17107. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  17108. } else {
  17109. mutable_unknown_fields()->AddVarint(1, value);
  17110. }
  17111. } else {
  17112. goto handle_uninterpreted;
  17113. }
  17114. if (input->ExpectTag(16)) goto parse_double;
  17115. break;
  17116. }
  17117. // optional bool double = 2;
  17118. case 2: {
  17119. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17120. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17121. parse_double:
  17122. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17123. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  17124. input, &double__)));
  17125. set_has_double_();
  17126. } else {
  17127. goto handle_uninterpreted;
  17128. }
  17129. if (input->ExpectAtEnd()) return true;
  17130. break;
  17131. }
  17132. default: {
  17133. handle_uninterpreted:
  17134. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17135. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17136. return true;
  17137. }
  17138. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17139. input, tag, mutable_unknown_fields()));
  17140. break;
  17141. }
  17142. }
  17143. }
  17144. return true;
  17145. #undef DO_
  17146. }
  17147. void packetc2l_play_ad_reward::SerializeWithCachedSizes(
  17148. ::google::protobuf::io::CodedOutputStream* output) const {
  17149. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward];
  17150. if (has_packet_id()) {
  17151. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17152. 1, this->packet_id(), output);
  17153. }
  17154. // optional bool double = 2;
  17155. if (has_double_()) {
  17156. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->double_(), output);
  17157. }
  17158. if (!unknown_fields().empty()) {
  17159. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17160. unknown_fields(), output);
  17161. }
  17162. }
  17163. ::google::protobuf::uint8* packetc2l_play_ad_reward::SerializeWithCachedSizesToArray(
  17164. ::google::protobuf::uint8* target) const {
  17165. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward];
  17166. if (has_packet_id()) {
  17167. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17168. 1, this->packet_id(), target);
  17169. }
  17170. // optional bool double = 2;
  17171. if (has_double_()) {
  17172. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->double_(), target);
  17173. }
  17174. if (!unknown_fields().empty()) {
  17175. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17176. unknown_fields(), target);
  17177. }
  17178. return target;
  17179. }
  17180. int packetc2l_play_ad_reward::ByteSize() const {
  17181. int total_size = 0;
  17182. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17183. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward];
  17184. if (has_packet_id()) {
  17185. total_size += 1 +
  17186. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17187. }
  17188. // optional bool double = 2;
  17189. if (has_double_()) {
  17190. total_size += 1 + 1;
  17191. }
  17192. }
  17193. if (!unknown_fields().empty()) {
  17194. total_size +=
  17195. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17196. unknown_fields());
  17197. }
  17198. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17199. _cached_size_ = total_size;
  17200. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17201. return total_size;
  17202. }
  17203. void packetc2l_play_ad_reward::MergeFrom(const ::google::protobuf::Message& from) {
  17204. GOOGLE_CHECK_NE(&from, this);
  17205. const packetc2l_play_ad_reward* source =
  17206. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_play_ad_reward*>(
  17207. &from);
  17208. if (source == NULL) {
  17209. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17210. } else {
  17211. MergeFrom(*source);
  17212. }
  17213. }
  17214. void packetc2l_play_ad_reward::MergeFrom(const packetc2l_play_ad_reward& from) {
  17215. GOOGLE_CHECK_NE(&from, this);
  17216. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17217. if (from.has_packet_id()) {
  17218. set_packet_id(from.packet_id());
  17219. }
  17220. if (from.has_double_()) {
  17221. set_double_(from.double_());
  17222. }
  17223. }
  17224. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17225. }
  17226. void packetc2l_play_ad_reward::CopyFrom(const ::google::protobuf::Message& from) {
  17227. if (&from == this) return;
  17228. Clear();
  17229. MergeFrom(from);
  17230. }
  17231. void packetc2l_play_ad_reward::CopyFrom(const packetc2l_play_ad_reward& from) {
  17232. if (&from == this) return;
  17233. Clear();
  17234. MergeFrom(from);
  17235. }
  17236. bool packetc2l_play_ad_reward::IsInitialized() const {
  17237. return true;
  17238. }
  17239. void packetc2l_play_ad_reward::Swap(packetc2l_play_ad_reward* other) {
  17240. if (other != this) {
  17241. std::swap(packet_id_, other->packet_id_);
  17242. std::swap(double__, other->double__);
  17243. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17244. _unknown_fields_.Swap(&other->_unknown_fields_);
  17245. std::swap(_cached_size_, other->_cached_size_);
  17246. }
  17247. }
  17248. ::google::protobuf::Metadata packetc2l_play_ad_reward::GetMetadata() const {
  17249. protobuf_AssignDescriptorsOnce();
  17250. ::google::protobuf::Metadata metadata;
  17251. metadata.descriptor = packetc2l_play_ad_reward_descriptor_;
  17252. metadata.reflection = packetc2l_play_ad_reward_reflection_;
  17253. return metadata;
  17254. }
  17255. // ===================================================================
  17256. #ifndef _MSC_VER
  17257. const int packetl2c_play_ad_reward_result::kPacketIdFieldNumber;
  17258. const int packetl2c_play_ad_reward_result::kDoubleFieldNumber;
  17259. const int packetl2c_play_ad_reward_result::kResultFieldNumber;
  17260. #endif // !_MSC_VER
  17261. packetl2c_play_ad_reward_result::packetl2c_play_ad_reward_result()
  17262. : ::google::protobuf::Message() {
  17263. SharedCtor();
  17264. }
  17265. void packetl2c_play_ad_reward_result::InitAsDefaultInstance() {
  17266. }
  17267. packetl2c_play_ad_reward_result::packetl2c_play_ad_reward_result(const packetl2c_play_ad_reward_result& from)
  17268. : ::google::protobuf::Message() {
  17269. SharedCtor();
  17270. MergeFrom(from);
  17271. }
  17272. void packetl2c_play_ad_reward_result::SharedCtor() {
  17273. _cached_size_ = 0;
  17274. packet_id_ = 16187;
  17275. double__ = false;
  17276. result_ = 0;
  17277. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17278. }
  17279. packetl2c_play_ad_reward_result::~packetl2c_play_ad_reward_result() {
  17280. SharedDtor();
  17281. }
  17282. void packetl2c_play_ad_reward_result::SharedDtor() {
  17283. if (this != default_instance_) {
  17284. }
  17285. }
  17286. void packetl2c_play_ad_reward_result::SetCachedSize(int size) const {
  17287. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17288. _cached_size_ = size;
  17289. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17290. }
  17291. const ::google::protobuf::Descriptor* packetl2c_play_ad_reward_result::descriptor() {
  17292. protobuf_AssignDescriptorsOnce();
  17293. return packetl2c_play_ad_reward_result_descriptor_;
  17294. }
  17295. const packetl2c_play_ad_reward_result& packetl2c_play_ad_reward_result::default_instance() {
  17296. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  17297. return *default_instance_;
  17298. }
  17299. packetl2c_play_ad_reward_result* packetl2c_play_ad_reward_result::default_instance_ = NULL;
  17300. packetl2c_play_ad_reward_result* packetl2c_play_ad_reward_result::New() const {
  17301. return new packetl2c_play_ad_reward_result;
  17302. }
  17303. void packetl2c_play_ad_reward_result::Clear() {
  17304. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17305. packet_id_ = 16187;
  17306. double__ = false;
  17307. result_ = 0;
  17308. }
  17309. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17310. mutable_unknown_fields()->Clear();
  17311. }
  17312. bool packetl2c_play_ad_reward_result::MergePartialFromCodedStream(
  17313. ::google::protobuf::io::CodedInputStream* input) {
  17314. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17315. ::google::protobuf::uint32 tag;
  17316. while ((tag = input->ReadTag()) != 0) {
  17317. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17318. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result];
  17319. case 1: {
  17320. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17321. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17322. int value;
  17323. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17324. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17325. input, &value)));
  17326. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  17327. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  17328. } else {
  17329. mutable_unknown_fields()->AddVarint(1, value);
  17330. }
  17331. } else {
  17332. goto handle_uninterpreted;
  17333. }
  17334. if (input->ExpectTag(16)) goto parse_double;
  17335. break;
  17336. }
  17337. // optional bool double = 2;
  17338. case 2: {
  17339. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17340. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17341. parse_double:
  17342. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17343. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  17344. input, &double__)));
  17345. set_has_double_();
  17346. } else {
  17347. goto handle_uninterpreted;
  17348. }
  17349. if (input->ExpectTag(24)) goto parse_result;
  17350. break;
  17351. }
  17352. // optional int32 result = 3;
  17353. case 3: {
  17354. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17355. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17356. parse_result:
  17357. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17358. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17359. input, &result_)));
  17360. set_has_result();
  17361. } else {
  17362. goto handle_uninterpreted;
  17363. }
  17364. if (input->ExpectAtEnd()) return true;
  17365. break;
  17366. }
  17367. default: {
  17368. handle_uninterpreted:
  17369. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17370. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17371. return true;
  17372. }
  17373. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17374. input, tag, mutable_unknown_fields()));
  17375. break;
  17376. }
  17377. }
  17378. }
  17379. return true;
  17380. #undef DO_
  17381. }
  17382. void packetl2c_play_ad_reward_result::SerializeWithCachedSizes(
  17383. ::google::protobuf::io::CodedOutputStream* output) const {
  17384. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result];
  17385. if (has_packet_id()) {
  17386. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17387. 1, this->packet_id(), output);
  17388. }
  17389. // optional bool double = 2;
  17390. if (has_double_()) {
  17391. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->double_(), output);
  17392. }
  17393. // optional int32 result = 3;
  17394. if (has_result()) {
  17395. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  17396. }
  17397. if (!unknown_fields().empty()) {
  17398. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17399. unknown_fields(), output);
  17400. }
  17401. }
  17402. ::google::protobuf::uint8* packetl2c_play_ad_reward_result::SerializeWithCachedSizesToArray(
  17403. ::google::protobuf::uint8* target) const {
  17404. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result];
  17405. if (has_packet_id()) {
  17406. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17407. 1, this->packet_id(), target);
  17408. }
  17409. // optional bool double = 2;
  17410. if (has_double_()) {
  17411. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->double_(), target);
  17412. }
  17413. // optional int32 result = 3;
  17414. if (has_result()) {
  17415. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  17416. }
  17417. if (!unknown_fields().empty()) {
  17418. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17419. unknown_fields(), target);
  17420. }
  17421. return target;
  17422. }
  17423. int packetl2c_play_ad_reward_result::ByteSize() const {
  17424. int total_size = 0;
  17425. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17426. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result];
  17427. if (has_packet_id()) {
  17428. total_size += 1 +
  17429. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17430. }
  17431. // optional bool double = 2;
  17432. if (has_double_()) {
  17433. total_size += 1 + 1;
  17434. }
  17435. // optional int32 result = 3;
  17436. if (has_result()) {
  17437. total_size += 1 +
  17438. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17439. this->result());
  17440. }
  17441. }
  17442. if (!unknown_fields().empty()) {
  17443. total_size +=
  17444. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17445. unknown_fields());
  17446. }
  17447. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17448. _cached_size_ = total_size;
  17449. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17450. return total_size;
  17451. }
  17452. void packetl2c_play_ad_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  17453. GOOGLE_CHECK_NE(&from, this);
  17454. const packetl2c_play_ad_reward_result* source =
  17455. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_play_ad_reward_result*>(
  17456. &from);
  17457. if (source == NULL) {
  17458. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17459. } else {
  17460. MergeFrom(*source);
  17461. }
  17462. }
  17463. void packetl2c_play_ad_reward_result::MergeFrom(const packetl2c_play_ad_reward_result& from) {
  17464. GOOGLE_CHECK_NE(&from, this);
  17465. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17466. if (from.has_packet_id()) {
  17467. set_packet_id(from.packet_id());
  17468. }
  17469. if (from.has_double_()) {
  17470. set_double_(from.double_());
  17471. }
  17472. if (from.has_result()) {
  17473. set_result(from.result());
  17474. }
  17475. }
  17476. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17477. }
  17478. void packetl2c_play_ad_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  17479. if (&from == this) return;
  17480. Clear();
  17481. MergeFrom(from);
  17482. }
  17483. void packetl2c_play_ad_reward_result::CopyFrom(const packetl2c_play_ad_reward_result& from) {
  17484. if (&from == this) return;
  17485. Clear();
  17486. MergeFrom(from);
  17487. }
  17488. bool packetl2c_play_ad_reward_result::IsInitialized() const {
  17489. return true;
  17490. }
  17491. void packetl2c_play_ad_reward_result::Swap(packetl2c_play_ad_reward_result* other) {
  17492. if (other != this) {
  17493. std::swap(packet_id_, other->packet_id_);
  17494. std::swap(double__, other->double__);
  17495. std::swap(result_, other->result_);
  17496. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17497. _unknown_fields_.Swap(&other->_unknown_fields_);
  17498. std::swap(_cached_size_, other->_cached_size_);
  17499. }
  17500. }
  17501. ::google::protobuf::Metadata packetl2c_play_ad_reward_result::GetMetadata() const {
  17502. protobuf_AssignDescriptorsOnce();
  17503. ::google::protobuf::Metadata metadata;
  17504. metadata.descriptor = packetl2c_play_ad_reward_result_descriptor_;
  17505. metadata.reflection = packetl2c_play_ad_reward_result_reflection_;
  17506. return metadata;
  17507. }
  17508. // ===================================================================
  17509. #ifndef _MSC_VER
  17510. const int packetc2l_receive_redpacket_reward::kPacketIdFieldNumber;
  17511. #endif // !_MSC_VER
  17512. packetc2l_receive_redpacket_reward::packetc2l_receive_redpacket_reward()
  17513. : ::google::protobuf::Message() {
  17514. SharedCtor();
  17515. }
  17516. void packetc2l_receive_redpacket_reward::InitAsDefaultInstance() {
  17517. }
  17518. packetc2l_receive_redpacket_reward::packetc2l_receive_redpacket_reward(const packetc2l_receive_redpacket_reward& from)
  17519. : ::google::protobuf::Message() {
  17520. SharedCtor();
  17521. MergeFrom(from);
  17522. }
  17523. void packetc2l_receive_redpacket_reward::SharedCtor() {
  17524. _cached_size_ = 0;
  17525. packet_id_ = 10199;
  17526. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17527. }
  17528. packetc2l_receive_redpacket_reward::~packetc2l_receive_redpacket_reward() {
  17529. SharedDtor();
  17530. }
  17531. void packetc2l_receive_redpacket_reward::SharedDtor() {
  17532. if (this != default_instance_) {
  17533. }
  17534. }
  17535. void packetc2l_receive_redpacket_reward::SetCachedSize(int size) const {
  17536. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17537. _cached_size_ = size;
  17538. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17539. }
  17540. const ::google::protobuf::Descriptor* packetc2l_receive_redpacket_reward::descriptor() {
  17541. protobuf_AssignDescriptorsOnce();
  17542. return packetc2l_receive_redpacket_reward_descriptor_;
  17543. }
  17544. const packetc2l_receive_redpacket_reward& packetc2l_receive_redpacket_reward::default_instance() {
  17545. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  17546. return *default_instance_;
  17547. }
  17548. packetc2l_receive_redpacket_reward* packetc2l_receive_redpacket_reward::default_instance_ = NULL;
  17549. packetc2l_receive_redpacket_reward* packetc2l_receive_redpacket_reward::New() const {
  17550. return new packetc2l_receive_redpacket_reward;
  17551. }
  17552. void packetc2l_receive_redpacket_reward::Clear() {
  17553. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17554. packet_id_ = 10199;
  17555. }
  17556. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17557. mutable_unknown_fields()->Clear();
  17558. }
  17559. bool packetc2l_receive_redpacket_reward::MergePartialFromCodedStream(
  17560. ::google::protobuf::io::CodedInputStream* input) {
  17561. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17562. ::google::protobuf::uint32 tag;
  17563. while ((tag = input->ReadTag()) != 0) {
  17564. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17565. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward];
  17566. case 1: {
  17567. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17568. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17569. int value;
  17570. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17571. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17572. input, &value)));
  17573. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  17574. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  17575. } else {
  17576. mutable_unknown_fields()->AddVarint(1, value);
  17577. }
  17578. } else {
  17579. goto handle_uninterpreted;
  17580. }
  17581. if (input->ExpectAtEnd()) return true;
  17582. break;
  17583. }
  17584. default: {
  17585. handle_uninterpreted:
  17586. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17587. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17588. return true;
  17589. }
  17590. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17591. input, tag, mutable_unknown_fields()));
  17592. break;
  17593. }
  17594. }
  17595. }
  17596. return true;
  17597. #undef DO_
  17598. }
  17599. void packetc2l_receive_redpacket_reward::SerializeWithCachedSizes(
  17600. ::google::protobuf::io::CodedOutputStream* output) const {
  17601. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward];
  17602. if (has_packet_id()) {
  17603. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17604. 1, this->packet_id(), output);
  17605. }
  17606. if (!unknown_fields().empty()) {
  17607. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17608. unknown_fields(), output);
  17609. }
  17610. }
  17611. ::google::protobuf::uint8* packetc2l_receive_redpacket_reward::SerializeWithCachedSizesToArray(
  17612. ::google::protobuf::uint8* target) const {
  17613. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward];
  17614. if (has_packet_id()) {
  17615. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17616. 1, this->packet_id(), target);
  17617. }
  17618. if (!unknown_fields().empty()) {
  17619. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17620. unknown_fields(), target);
  17621. }
  17622. return target;
  17623. }
  17624. int packetc2l_receive_redpacket_reward::ByteSize() const {
  17625. int total_size = 0;
  17626. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17627. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward];
  17628. if (has_packet_id()) {
  17629. total_size += 1 +
  17630. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17631. }
  17632. }
  17633. if (!unknown_fields().empty()) {
  17634. total_size +=
  17635. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17636. unknown_fields());
  17637. }
  17638. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17639. _cached_size_ = total_size;
  17640. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17641. return total_size;
  17642. }
  17643. void packetc2l_receive_redpacket_reward::MergeFrom(const ::google::protobuf::Message& from) {
  17644. GOOGLE_CHECK_NE(&from, this);
  17645. const packetc2l_receive_redpacket_reward* source =
  17646. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_receive_redpacket_reward*>(
  17647. &from);
  17648. if (source == NULL) {
  17649. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17650. } else {
  17651. MergeFrom(*source);
  17652. }
  17653. }
  17654. void packetc2l_receive_redpacket_reward::MergeFrom(const packetc2l_receive_redpacket_reward& from) {
  17655. GOOGLE_CHECK_NE(&from, this);
  17656. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17657. if (from.has_packet_id()) {
  17658. set_packet_id(from.packet_id());
  17659. }
  17660. }
  17661. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17662. }
  17663. void packetc2l_receive_redpacket_reward::CopyFrom(const ::google::protobuf::Message& from) {
  17664. if (&from == this) return;
  17665. Clear();
  17666. MergeFrom(from);
  17667. }
  17668. void packetc2l_receive_redpacket_reward::CopyFrom(const packetc2l_receive_redpacket_reward& from) {
  17669. if (&from == this) return;
  17670. Clear();
  17671. MergeFrom(from);
  17672. }
  17673. bool packetc2l_receive_redpacket_reward::IsInitialized() const {
  17674. return true;
  17675. }
  17676. void packetc2l_receive_redpacket_reward::Swap(packetc2l_receive_redpacket_reward* other) {
  17677. if (other != this) {
  17678. std::swap(packet_id_, other->packet_id_);
  17679. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17680. _unknown_fields_.Swap(&other->_unknown_fields_);
  17681. std::swap(_cached_size_, other->_cached_size_);
  17682. }
  17683. }
  17684. ::google::protobuf::Metadata packetc2l_receive_redpacket_reward::GetMetadata() const {
  17685. protobuf_AssignDescriptorsOnce();
  17686. ::google::protobuf::Metadata metadata;
  17687. metadata.descriptor = packetc2l_receive_redpacket_reward_descriptor_;
  17688. metadata.reflection = packetc2l_receive_redpacket_reward_reflection_;
  17689. return metadata;
  17690. }
  17691. // ===================================================================
  17692. #ifndef _MSC_VER
  17693. const int packetl2c_receive_redpacket_reward_result::kPacketIdFieldNumber;
  17694. const int packetl2c_receive_redpacket_reward_result::kResultFieldNumber;
  17695. const int packetl2c_receive_redpacket_reward_result::kRewardIndexFieldNumber;
  17696. const int packetl2c_receive_redpacket_reward_result::kRedEnvlopeInfosFieldNumber;
  17697. #endif // !_MSC_VER
  17698. packetl2c_receive_redpacket_reward_result::packetl2c_receive_redpacket_reward_result()
  17699. : ::google::protobuf::Message() {
  17700. SharedCtor();
  17701. }
  17702. void packetl2c_receive_redpacket_reward_result::InitAsDefaultInstance() {
  17703. }
  17704. packetl2c_receive_redpacket_reward_result::packetl2c_receive_redpacket_reward_result(const packetl2c_receive_redpacket_reward_result& from)
  17705. : ::google::protobuf::Message() {
  17706. SharedCtor();
  17707. MergeFrom(from);
  17708. }
  17709. void packetl2c_receive_redpacket_reward_result::SharedCtor() {
  17710. _cached_size_ = 0;
  17711. packet_id_ = 16193;
  17712. result_ = 0;
  17713. rewardindex_ = 0;
  17714. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17715. }
  17716. packetl2c_receive_redpacket_reward_result::~packetl2c_receive_redpacket_reward_result() {
  17717. SharedDtor();
  17718. }
  17719. void packetl2c_receive_redpacket_reward_result::SharedDtor() {
  17720. if (this != default_instance_) {
  17721. }
  17722. }
  17723. void packetl2c_receive_redpacket_reward_result::SetCachedSize(int size) const {
  17724. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17725. _cached_size_ = size;
  17726. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17727. }
  17728. const ::google::protobuf::Descriptor* packetl2c_receive_redpacket_reward_result::descriptor() {
  17729. protobuf_AssignDescriptorsOnce();
  17730. return packetl2c_receive_redpacket_reward_result_descriptor_;
  17731. }
  17732. const packetl2c_receive_redpacket_reward_result& packetl2c_receive_redpacket_reward_result::default_instance() {
  17733. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  17734. return *default_instance_;
  17735. }
  17736. packetl2c_receive_redpacket_reward_result* packetl2c_receive_redpacket_reward_result::default_instance_ = NULL;
  17737. packetl2c_receive_redpacket_reward_result* packetl2c_receive_redpacket_reward_result::New() const {
  17738. return new packetl2c_receive_redpacket_reward_result;
  17739. }
  17740. void packetl2c_receive_redpacket_reward_result::Clear() {
  17741. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17742. packet_id_ = 16193;
  17743. result_ = 0;
  17744. rewardindex_ = 0;
  17745. }
  17746. redenvlopeinfos_.Clear();
  17747. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17748. mutable_unknown_fields()->Clear();
  17749. }
  17750. bool packetl2c_receive_redpacket_reward_result::MergePartialFromCodedStream(
  17751. ::google::protobuf::io::CodedInputStream* input) {
  17752. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17753. ::google::protobuf::uint32 tag;
  17754. while ((tag = input->ReadTag()) != 0) {
  17755. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17756. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result];
  17757. case 1: {
  17758. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17759. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17760. int value;
  17761. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17762. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17763. input, &value)));
  17764. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  17765. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  17766. } else {
  17767. mutable_unknown_fields()->AddVarint(1, value);
  17768. }
  17769. } else {
  17770. goto handle_uninterpreted;
  17771. }
  17772. if (input->ExpectTag(16)) goto parse_result;
  17773. break;
  17774. }
  17775. // optional int32 result = 2;
  17776. case 2: {
  17777. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17778. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17779. parse_result:
  17780. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17781. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17782. input, &result_)));
  17783. set_has_result();
  17784. } else {
  17785. goto handle_uninterpreted;
  17786. }
  17787. if (input->ExpectTag(24)) goto parse_rewardIndex;
  17788. break;
  17789. }
  17790. // optional int32 rewardIndex = 3;
  17791. case 3: {
  17792. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17793. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17794. parse_rewardIndex:
  17795. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17796. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17797. input, &rewardindex_)));
  17798. set_has_rewardindex();
  17799. } else {
  17800. goto handle_uninterpreted;
  17801. }
  17802. if (input->ExpectTag(34)) goto parse_redEnvlopeInfos;
  17803. break;
  17804. }
  17805. // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 4;
  17806. case 4: {
  17807. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17808. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17809. parse_redEnvlopeInfos:
  17810. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  17811. input, add_redenvlopeinfos()));
  17812. } else {
  17813. goto handle_uninterpreted;
  17814. }
  17815. if (input->ExpectTag(34)) goto parse_redEnvlopeInfos;
  17816. if (input->ExpectAtEnd()) return true;
  17817. break;
  17818. }
  17819. default: {
  17820. handle_uninterpreted:
  17821. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17822. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17823. return true;
  17824. }
  17825. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17826. input, tag, mutable_unknown_fields()));
  17827. break;
  17828. }
  17829. }
  17830. }
  17831. return true;
  17832. #undef DO_
  17833. }
  17834. void packetl2c_receive_redpacket_reward_result::SerializeWithCachedSizes(
  17835. ::google::protobuf::io::CodedOutputStream* output) const {
  17836. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result];
  17837. if (has_packet_id()) {
  17838. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17839. 1, this->packet_id(), output);
  17840. }
  17841. // optional int32 result = 2;
  17842. if (has_result()) {
  17843. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  17844. }
  17845. // optional int32 rewardIndex = 3;
  17846. if (has_rewardindex()) {
  17847. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardindex(), output);
  17848. }
  17849. // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 4;
  17850. for (int i = 0; i < this->redenvlopeinfos_size(); i++) {
  17851. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  17852. 4, this->redenvlopeinfos(i), output);
  17853. }
  17854. if (!unknown_fields().empty()) {
  17855. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17856. unknown_fields(), output);
  17857. }
  17858. }
  17859. ::google::protobuf::uint8* packetl2c_receive_redpacket_reward_result::SerializeWithCachedSizesToArray(
  17860. ::google::protobuf::uint8* target) const {
  17861. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result];
  17862. if (has_packet_id()) {
  17863. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17864. 1, this->packet_id(), target);
  17865. }
  17866. // optional int32 result = 2;
  17867. if (has_result()) {
  17868. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  17869. }
  17870. // optional int32 rewardIndex = 3;
  17871. if (has_rewardindex()) {
  17872. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardindex(), target);
  17873. }
  17874. // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 4;
  17875. for (int i = 0; i < this->redenvlopeinfos_size(); i++) {
  17876. target = ::google::protobuf::internal::WireFormatLite::
  17877. WriteMessageNoVirtualToArray(
  17878. 4, this->redenvlopeinfos(i), target);
  17879. }
  17880. if (!unknown_fields().empty()) {
  17881. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17882. unknown_fields(), target);
  17883. }
  17884. return target;
  17885. }
  17886. int packetl2c_receive_redpacket_reward_result::ByteSize() const {
  17887. int total_size = 0;
  17888. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17889. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result];
  17890. if (has_packet_id()) {
  17891. total_size += 1 +
  17892. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17893. }
  17894. // optional int32 result = 2;
  17895. if (has_result()) {
  17896. total_size += 1 +
  17897. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17898. this->result());
  17899. }
  17900. // optional int32 rewardIndex = 3;
  17901. if (has_rewardindex()) {
  17902. total_size += 1 +
  17903. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17904. this->rewardindex());
  17905. }
  17906. }
  17907. // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 4;
  17908. total_size += 1 * this->redenvlopeinfos_size();
  17909. for (int i = 0; i < this->redenvlopeinfos_size(); i++) {
  17910. total_size +=
  17911. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  17912. this->redenvlopeinfos(i));
  17913. }
  17914. if (!unknown_fields().empty()) {
  17915. total_size +=
  17916. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17917. unknown_fields());
  17918. }
  17919. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17920. _cached_size_ = total_size;
  17921. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17922. return total_size;
  17923. }
  17924. void packetl2c_receive_redpacket_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  17925. GOOGLE_CHECK_NE(&from, this);
  17926. const packetl2c_receive_redpacket_reward_result* source =
  17927. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_receive_redpacket_reward_result*>(
  17928. &from);
  17929. if (source == NULL) {
  17930. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17931. } else {
  17932. MergeFrom(*source);
  17933. }
  17934. }
  17935. void packetl2c_receive_redpacket_reward_result::MergeFrom(const packetl2c_receive_redpacket_reward_result& from) {
  17936. GOOGLE_CHECK_NE(&from, this);
  17937. redenvlopeinfos_.MergeFrom(from.redenvlopeinfos_);
  17938. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17939. if (from.has_packet_id()) {
  17940. set_packet_id(from.packet_id());
  17941. }
  17942. if (from.has_result()) {
  17943. set_result(from.result());
  17944. }
  17945. if (from.has_rewardindex()) {
  17946. set_rewardindex(from.rewardindex());
  17947. }
  17948. }
  17949. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17950. }
  17951. void packetl2c_receive_redpacket_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  17952. if (&from == this) return;
  17953. Clear();
  17954. MergeFrom(from);
  17955. }
  17956. void packetl2c_receive_redpacket_reward_result::CopyFrom(const packetl2c_receive_redpacket_reward_result& from) {
  17957. if (&from == this) return;
  17958. Clear();
  17959. MergeFrom(from);
  17960. }
  17961. bool packetl2c_receive_redpacket_reward_result::IsInitialized() const {
  17962. return true;
  17963. }
  17964. void packetl2c_receive_redpacket_reward_result::Swap(packetl2c_receive_redpacket_reward_result* other) {
  17965. if (other != this) {
  17966. std::swap(packet_id_, other->packet_id_);
  17967. std::swap(result_, other->result_);
  17968. std::swap(rewardindex_, other->rewardindex_);
  17969. redenvlopeinfos_.Swap(&other->redenvlopeinfos_);
  17970. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17971. _unknown_fields_.Swap(&other->_unknown_fields_);
  17972. std::swap(_cached_size_, other->_cached_size_);
  17973. }
  17974. }
  17975. ::google::protobuf::Metadata packetl2c_receive_redpacket_reward_result::GetMetadata() const {
  17976. protobuf_AssignDescriptorsOnce();
  17977. ::google::protobuf::Metadata metadata;
  17978. metadata.descriptor = packetl2c_receive_redpacket_reward_result_descriptor_;
  17979. metadata.reflection = packetl2c_receive_redpacket_reward_result_reflection_;
  17980. return metadata;
  17981. }
  17982. // ===================================================================
  17983. #ifndef _MSC_VER
  17984. const int packetl2c_bc_trigger_mysterous_shell::kPacketIdFieldNumber;
  17985. const int packetl2c_bc_trigger_mysterous_shell::kPlayerIdFieldNumber;
  17986. #endif // !_MSC_VER
  17987. packetl2c_bc_trigger_mysterous_shell::packetl2c_bc_trigger_mysterous_shell()
  17988. : ::google::protobuf::Message() {
  17989. SharedCtor();
  17990. }
  17991. void packetl2c_bc_trigger_mysterous_shell::InitAsDefaultInstance() {
  17992. }
  17993. packetl2c_bc_trigger_mysterous_shell::packetl2c_bc_trigger_mysterous_shell(const packetl2c_bc_trigger_mysterous_shell& from)
  17994. : ::google::protobuf::Message() {
  17995. SharedCtor();
  17996. MergeFrom(from);
  17997. }
  17998. void packetl2c_bc_trigger_mysterous_shell::SharedCtor() {
  17999. _cached_size_ = 0;
  18000. packet_id_ = 16197;
  18001. playerid_ = 0;
  18002. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18003. }
  18004. packetl2c_bc_trigger_mysterous_shell::~packetl2c_bc_trigger_mysterous_shell() {
  18005. SharedDtor();
  18006. }
  18007. void packetl2c_bc_trigger_mysterous_shell::SharedDtor() {
  18008. if (this != default_instance_) {
  18009. }
  18010. }
  18011. void packetl2c_bc_trigger_mysterous_shell::SetCachedSize(int size) const {
  18012. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18013. _cached_size_ = size;
  18014. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18015. }
  18016. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mysterous_shell::descriptor() {
  18017. protobuf_AssignDescriptorsOnce();
  18018. return packetl2c_bc_trigger_mysterous_shell_descriptor_;
  18019. }
  18020. const packetl2c_bc_trigger_mysterous_shell& packetl2c_bc_trigger_mysterous_shell::default_instance() {
  18021. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  18022. return *default_instance_;
  18023. }
  18024. packetl2c_bc_trigger_mysterous_shell* packetl2c_bc_trigger_mysterous_shell::default_instance_ = NULL;
  18025. packetl2c_bc_trigger_mysterous_shell* packetl2c_bc_trigger_mysterous_shell::New() const {
  18026. return new packetl2c_bc_trigger_mysterous_shell;
  18027. }
  18028. void packetl2c_bc_trigger_mysterous_shell::Clear() {
  18029. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18030. packet_id_ = 16197;
  18031. playerid_ = 0;
  18032. }
  18033. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18034. mutable_unknown_fields()->Clear();
  18035. }
  18036. bool packetl2c_bc_trigger_mysterous_shell::MergePartialFromCodedStream(
  18037. ::google::protobuf::io::CodedInputStream* input) {
  18038. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18039. ::google::protobuf::uint32 tag;
  18040. while ((tag = input->ReadTag()) != 0) {
  18041. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18042. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell];
  18043. case 1: {
  18044. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18045. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18046. int value;
  18047. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18048. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18049. input, &value)));
  18050. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  18051. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  18052. } else {
  18053. mutable_unknown_fields()->AddVarint(1, value);
  18054. }
  18055. } else {
  18056. goto handle_uninterpreted;
  18057. }
  18058. if (input->ExpectTag(16)) goto parse_playerId;
  18059. break;
  18060. }
  18061. // optional int32 playerId = 2;
  18062. case 2: {
  18063. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18064. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18065. parse_playerId:
  18066. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18067. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18068. input, &playerid_)));
  18069. set_has_playerid();
  18070. } else {
  18071. goto handle_uninterpreted;
  18072. }
  18073. if (input->ExpectAtEnd()) return true;
  18074. break;
  18075. }
  18076. default: {
  18077. handle_uninterpreted:
  18078. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18079. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18080. return true;
  18081. }
  18082. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18083. input, tag, mutable_unknown_fields()));
  18084. break;
  18085. }
  18086. }
  18087. }
  18088. return true;
  18089. #undef DO_
  18090. }
  18091. void packetl2c_bc_trigger_mysterous_shell::SerializeWithCachedSizes(
  18092. ::google::protobuf::io::CodedOutputStream* output) const {
  18093. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell];
  18094. if (has_packet_id()) {
  18095. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18096. 1, this->packet_id(), output);
  18097. }
  18098. // optional int32 playerId = 2;
  18099. if (has_playerid()) {
  18100. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  18101. }
  18102. if (!unknown_fields().empty()) {
  18103. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18104. unknown_fields(), output);
  18105. }
  18106. }
  18107. ::google::protobuf::uint8* packetl2c_bc_trigger_mysterous_shell::SerializeWithCachedSizesToArray(
  18108. ::google::protobuf::uint8* target) const {
  18109. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell];
  18110. if (has_packet_id()) {
  18111. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18112. 1, this->packet_id(), target);
  18113. }
  18114. // optional int32 playerId = 2;
  18115. if (has_playerid()) {
  18116. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  18117. }
  18118. if (!unknown_fields().empty()) {
  18119. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18120. unknown_fields(), target);
  18121. }
  18122. return target;
  18123. }
  18124. int packetl2c_bc_trigger_mysterous_shell::ByteSize() const {
  18125. int total_size = 0;
  18126. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18127. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell];
  18128. if (has_packet_id()) {
  18129. total_size += 1 +
  18130. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18131. }
  18132. // optional int32 playerId = 2;
  18133. if (has_playerid()) {
  18134. total_size += 1 +
  18135. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18136. this->playerid());
  18137. }
  18138. }
  18139. if (!unknown_fields().empty()) {
  18140. total_size +=
  18141. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18142. unknown_fields());
  18143. }
  18144. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18145. _cached_size_ = total_size;
  18146. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18147. return total_size;
  18148. }
  18149. void packetl2c_bc_trigger_mysterous_shell::MergeFrom(const ::google::protobuf::Message& from) {
  18150. GOOGLE_CHECK_NE(&from, this);
  18151. const packetl2c_bc_trigger_mysterous_shell* source =
  18152. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_trigger_mysterous_shell*>(
  18153. &from);
  18154. if (source == NULL) {
  18155. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18156. } else {
  18157. MergeFrom(*source);
  18158. }
  18159. }
  18160. void packetl2c_bc_trigger_mysterous_shell::MergeFrom(const packetl2c_bc_trigger_mysterous_shell& from) {
  18161. GOOGLE_CHECK_NE(&from, this);
  18162. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18163. if (from.has_packet_id()) {
  18164. set_packet_id(from.packet_id());
  18165. }
  18166. if (from.has_playerid()) {
  18167. set_playerid(from.playerid());
  18168. }
  18169. }
  18170. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18171. }
  18172. void packetl2c_bc_trigger_mysterous_shell::CopyFrom(const ::google::protobuf::Message& from) {
  18173. if (&from == this) return;
  18174. Clear();
  18175. MergeFrom(from);
  18176. }
  18177. void packetl2c_bc_trigger_mysterous_shell::CopyFrom(const packetl2c_bc_trigger_mysterous_shell& from) {
  18178. if (&from == this) return;
  18179. Clear();
  18180. MergeFrom(from);
  18181. }
  18182. bool packetl2c_bc_trigger_mysterous_shell::IsInitialized() const {
  18183. return true;
  18184. }
  18185. void packetl2c_bc_trigger_mysterous_shell::Swap(packetl2c_bc_trigger_mysterous_shell* other) {
  18186. if (other != this) {
  18187. std::swap(packet_id_, other->packet_id_);
  18188. std::swap(playerid_, other->playerid_);
  18189. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18190. _unknown_fields_.Swap(&other->_unknown_fields_);
  18191. std::swap(_cached_size_, other->_cached_size_);
  18192. }
  18193. }
  18194. ::google::protobuf::Metadata packetl2c_bc_trigger_mysterous_shell::GetMetadata() const {
  18195. protobuf_AssignDescriptorsOnce();
  18196. ::google::protobuf::Metadata metadata;
  18197. metadata.descriptor = packetl2c_bc_trigger_mysterous_shell_descriptor_;
  18198. metadata.reflection = packetl2c_bc_trigger_mysterous_shell_reflection_;
  18199. return metadata;
  18200. }
  18201. // ===================================================================
  18202. #ifndef _MSC_VER
  18203. const int packetc2l_req_lottery_mysterous_shell::kPacketIdFieldNumber;
  18204. const int packetc2l_req_lottery_mysterous_shell::kIndexFieldNumber;
  18205. #endif // !_MSC_VER
  18206. packetc2l_req_lottery_mysterous_shell::packetc2l_req_lottery_mysterous_shell()
  18207. : ::google::protobuf::Message() {
  18208. SharedCtor();
  18209. }
  18210. void packetc2l_req_lottery_mysterous_shell::InitAsDefaultInstance() {
  18211. }
  18212. packetc2l_req_lottery_mysterous_shell::packetc2l_req_lottery_mysterous_shell(const packetc2l_req_lottery_mysterous_shell& from)
  18213. : ::google::protobuf::Message() {
  18214. SharedCtor();
  18215. MergeFrom(from);
  18216. }
  18217. void packetc2l_req_lottery_mysterous_shell::SharedCtor() {
  18218. _cached_size_ = 0;
  18219. packet_id_ = 10202;
  18220. index_ = 0;
  18221. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18222. }
  18223. packetc2l_req_lottery_mysterous_shell::~packetc2l_req_lottery_mysterous_shell() {
  18224. SharedDtor();
  18225. }
  18226. void packetc2l_req_lottery_mysterous_shell::SharedDtor() {
  18227. if (this != default_instance_) {
  18228. }
  18229. }
  18230. void packetc2l_req_lottery_mysterous_shell::SetCachedSize(int size) const {
  18231. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18232. _cached_size_ = size;
  18233. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18234. }
  18235. const ::google::protobuf::Descriptor* packetc2l_req_lottery_mysterous_shell::descriptor() {
  18236. protobuf_AssignDescriptorsOnce();
  18237. return packetc2l_req_lottery_mysterous_shell_descriptor_;
  18238. }
  18239. const packetc2l_req_lottery_mysterous_shell& packetc2l_req_lottery_mysterous_shell::default_instance() {
  18240. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  18241. return *default_instance_;
  18242. }
  18243. packetc2l_req_lottery_mysterous_shell* packetc2l_req_lottery_mysterous_shell::default_instance_ = NULL;
  18244. packetc2l_req_lottery_mysterous_shell* packetc2l_req_lottery_mysterous_shell::New() const {
  18245. return new packetc2l_req_lottery_mysterous_shell;
  18246. }
  18247. void packetc2l_req_lottery_mysterous_shell::Clear() {
  18248. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18249. packet_id_ = 10202;
  18250. index_ = 0;
  18251. }
  18252. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18253. mutable_unknown_fields()->Clear();
  18254. }
  18255. bool packetc2l_req_lottery_mysterous_shell::MergePartialFromCodedStream(
  18256. ::google::protobuf::io::CodedInputStream* input) {
  18257. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18258. ::google::protobuf::uint32 tag;
  18259. while ((tag = input->ReadTag()) != 0) {
  18260. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18261. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell];
  18262. case 1: {
  18263. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18264. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18265. int value;
  18266. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18267. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18268. input, &value)));
  18269. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  18270. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  18271. } else {
  18272. mutable_unknown_fields()->AddVarint(1, value);
  18273. }
  18274. } else {
  18275. goto handle_uninterpreted;
  18276. }
  18277. if (input->ExpectTag(16)) goto parse_index;
  18278. break;
  18279. }
  18280. // optional int32 index = 2;
  18281. case 2: {
  18282. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18283. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18284. parse_index:
  18285. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18286. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18287. input, &index_)));
  18288. set_has_index();
  18289. } else {
  18290. goto handle_uninterpreted;
  18291. }
  18292. if (input->ExpectAtEnd()) return true;
  18293. break;
  18294. }
  18295. default: {
  18296. handle_uninterpreted:
  18297. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18298. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18299. return true;
  18300. }
  18301. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18302. input, tag, mutable_unknown_fields()));
  18303. break;
  18304. }
  18305. }
  18306. }
  18307. return true;
  18308. #undef DO_
  18309. }
  18310. void packetc2l_req_lottery_mysterous_shell::SerializeWithCachedSizes(
  18311. ::google::protobuf::io::CodedOutputStream* output) const {
  18312. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell];
  18313. if (has_packet_id()) {
  18314. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18315. 1, this->packet_id(), output);
  18316. }
  18317. // optional int32 index = 2;
  18318. if (has_index()) {
  18319. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  18320. }
  18321. if (!unknown_fields().empty()) {
  18322. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18323. unknown_fields(), output);
  18324. }
  18325. }
  18326. ::google::protobuf::uint8* packetc2l_req_lottery_mysterous_shell::SerializeWithCachedSizesToArray(
  18327. ::google::protobuf::uint8* target) const {
  18328. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell];
  18329. if (has_packet_id()) {
  18330. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18331. 1, this->packet_id(), target);
  18332. }
  18333. // optional int32 index = 2;
  18334. if (has_index()) {
  18335. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  18336. }
  18337. if (!unknown_fields().empty()) {
  18338. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18339. unknown_fields(), target);
  18340. }
  18341. return target;
  18342. }
  18343. int packetc2l_req_lottery_mysterous_shell::ByteSize() const {
  18344. int total_size = 0;
  18345. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18346. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell];
  18347. if (has_packet_id()) {
  18348. total_size += 1 +
  18349. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18350. }
  18351. // optional int32 index = 2;
  18352. if (has_index()) {
  18353. total_size += 1 +
  18354. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18355. this->index());
  18356. }
  18357. }
  18358. if (!unknown_fields().empty()) {
  18359. total_size +=
  18360. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18361. unknown_fields());
  18362. }
  18363. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18364. _cached_size_ = total_size;
  18365. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18366. return total_size;
  18367. }
  18368. void packetc2l_req_lottery_mysterous_shell::MergeFrom(const ::google::protobuf::Message& from) {
  18369. GOOGLE_CHECK_NE(&from, this);
  18370. const packetc2l_req_lottery_mysterous_shell* source =
  18371. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_req_lottery_mysterous_shell*>(
  18372. &from);
  18373. if (source == NULL) {
  18374. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18375. } else {
  18376. MergeFrom(*source);
  18377. }
  18378. }
  18379. void packetc2l_req_lottery_mysterous_shell::MergeFrom(const packetc2l_req_lottery_mysterous_shell& from) {
  18380. GOOGLE_CHECK_NE(&from, this);
  18381. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18382. if (from.has_packet_id()) {
  18383. set_packet_id(from.packet_id());
  18384. }
  18385. if (from.has_index()) {
  18386. set_index(from.index());
  18387. }
  18388. }
  18389. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18390. }
  18391. void packetc2l_req_lottery_mysterous_shell::CopyFrom(const ::google::protobuf::Message& from) {
  18392. if (&from == this) return;
  18393. Clear();
  18394. MergeFrom(from);
  18395. }
  18396. void packetc2l_req_lottery_mysterous_shell::CopyFrom(const packetc2l_req_lottery_mysterous_shell& from) {
  18397. if (&from == this) return;
  18398. Clear();
  18399. MergeFrom(from);
  18400. }
  18401. bool packetc2l_req_lottery_mysterous_shell::IsInitialized() const {
  18402. return true;
  18403. }
  18404. void packetc2l_req_lottery_mysterous_shell::Swap(packetc2l_req_lottery_mysterous_shell* other) {
  18405. if (other != this) {
  18406. std::swap(packet_id_, other->packet_id_);
  18407. std::swap(index_, other->index_);
  18408. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18409. _unknown_fields_.Swap(&other->_unknown_fields_);
  18410. std::swap(_cached_size_, other->_cached_size_);
  18411. }
  18412. }
  18413. ::google::protobuf::Metadata packetc2l_req_lottery_mysterous_shell::GetMetadata() const {
  18414. protobuf_AssignDescriptorsOnce();
  18415. ::google::protobuf::Metadata metadata;
  18416. metadata.descriptor = packetc2l_req_lottery_mysterous_shell_descriptor_;
  18417. metadata.reflection = packetc2l_req_lottery_mysterous_shell_reflection_;
  18418. return metadata;
  18419. }
  18420. // ===================================================================
  18421. #ifndef _MSC_VER
  18422. const int shellLotteryInfo::kIndexFieldNumber;
  18423. const int shellLotteryInfo::kTurretRateFieldNumber;
  18424. const int shellLotteryInfo::kGoldFieldNumber;
  18425. #endif // !_MSC_VER
  18426. shellLotteryInfo::shellLotteryInfo()
  18427. : ::google::protobuf::Message() {
  18428. SharedCtor();
  18429. }
  18430. void shellLotteryInfo::InitAsDefaultInstance() {
  18431. }
  18432. shellLotteryInfo::shellLotteryInfo(const shellLotteryInfo& from)
  18433. : ::google::protobuf::Message() {
  18434. SharedCtor();
  18435. MergeFrom(from);
  18436. }
  18437. void shellLotteryInfo::SharedCtor() {
  18438. _cached_size_ = 0;
  18439. index_ = 0;
  18440. turretrate_ = 0;
  18441. gold_ = 0;
  18442. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18443. }
  18444. shellLotteryInfo::~shellLotteryInfo() {
  18445. SharedDtor();
  18446. }
  18447. void shellLotteryInfo::SharedDtor() {
  18448. if (this != default_instance_) {
  18449. }
  18450. }
  18451. void shellLotteryInfo::SetCachedSize(int size) const {
  18452. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18453. _cached_size_ = size;
  18454. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18455. }
  18456. const ::google::protobuf::Descriptor* shellLotteryInfo::descriptor() {
  18457. protobuf_AssignDescriptorsOnce();
  18458. return shellLotteryInfo_descriptor_;
  18459. }
  18460. const shellLotteryInfo& shellLotteryInfo::default_instance() {
  18461. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  18462. return *default_instance_;
  18463. }
  18464. shellLotteryInfo* shellLotteryInfo::default_instance_ = NULL;
  18465. shellLotteryInfo* shellLotteryInfo::New() const {
  18466. return new shellLotteryInfo;
  18467. }
  18468. void shellLotteryInfo::Clear() {
  18469. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18470. index_ = 0;
  18471. turretrate_ = 0;
  18472. gold_ = 0;
  18473. }
  18474. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18475. mutable_unknown_fields()->Clear();
  18476. }
  18477. bool shellLotteryInfo::MergePartialFromCodedStream(
  18478. ::google::protobuf::io::CodedInputStream* input) {
  18479. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18480. ::google::protobuf::uint32 tag;
  18481. while ((tag = input->ReadTag()) != 0) {
  18482. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18483. // optional int32 index = 1;
  18484. case 1: {
  18485. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18486. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18487. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18488. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18489. input, &index_)));
  18490. set_has_index();
  18491. } else {
  18492. goto handle_uninterpreted;
  18493. }
  18494. if (input->ExpectTag(16)) goto parse_turretRate;
  18495. break;
  18496. }
  18497. // optional int32 turretRate = 2;
  18498. case 2: {
  18499. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18500. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18501. parse_turretRate:
  18502. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18503. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18504. input, &turretrate_)));
  18505. set_has_turretrate();
  18506. } else {
  18507. goto handle_uninterpreted;
  18508. }
  18509. if (input->ExpectTag(24)) goto parse_gold;
  18510. break;
  18511. }
  18512. // optional int32 gold = 3;
  18513. case 3: {
  18514. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18515. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18516. parse_gold:
  18517. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18518. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18519. input, &gold_)));
  18520. set_has_gold();
  18521. } else {
  18522. goto handle_uninterpreted;
  18523. }
  18524. if (input->ExpectAtEnd()) return true;
  18525. break;
  18526. }
  18527. default: {
  18528. handle_uninterpreted:
  18529. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18530. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18531. return true;
  18532. }
  18533. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18534. input, tag, mutable_unknown_fields()));
  18535. break;
  18536. }
  18537. }
  18538. }
  18539. return true;
  18540. #undef DO_
  18541. }
  18542. void shellLotteryInfo::SerializeWithCachedSizes(
  18543. ::google::protobuf::io::CodedOutputStream* output) const {
  18544. // optional int32 index = 1;
  18545. if (has_index()) {
  18546. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->index(), output);
  18547. }
  18548. // optional int32 turretRate = 2;
  18549. if (has_turretrate()) {
  18550. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->turretrate(), output);
  18551. }
  18552. // optional int32 gold = 3;
  18553. if (has_gold()) {
  18554. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gold(), output);
  18555. }
  18556. if (!unknown_fields().empty()) {
  18557. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18558. unknown_fields(), output);
  18559. }
  18560. }
  18561. ::google::protobuf::uint8* shellLotteryInfo::SerializeWithCachedSizesToArray(
  18562. ::google::protobuf::uint8* target) const {
  18563. // optional int32 index = 1;
  18564. if (has_index()) {
  18565. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->index(), target);
  18566. }
  18567. // optional int32 turretRate = 2;
  18568. if (has_turretrate()) {
  18569. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->turretrate(), target);
  18570. }
  18571. // optional int32 gold = 3;
  18572. if (has_gold()) {
  18573. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gold(), target);
  18574. }
  18575. if (!unknown_fields().empty()) {
  18576. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18577. unknown_fields(), target);
  18578. }
  18579. return target;
  18580. }
  18581. int shellLotteryInfo::ByteSize() const {
  18582. int total_size = 0;
  18583. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18584. // optional int32 index = 1;
  18585. if (has_index()) {
  18586. total_size += 1 +
  18587. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18588. this->index());
  18589. }
  18590. // optional int32 turretRate = 2;
  18591. if (has_turretrate()) {
  18592. total_size += 1 +
  18593. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18594. this->turretrate());
  18595. }
  18596. // optional int32 gold = 3;
  18597. if (has_gold()) {
  18598. total_size += 1 +
  18599. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18600. this->gold());
  18601. }
  18602. }
  18603. if (!unknown_fields().empty()) {
  18604. total_size +=
  18605. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18606. unknown_fields());
  18607. }
  18608. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18609. _cached_size_ = total_size;
  18610. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18611. return total_size;
  18612. }
  18613. void shellLotteryInfo::MergeFrom(const ::google::protobuf::Message& from) {
  18614. GOOGLE_CHECK_NE(&from, this);
  18615. const shellLotteryInfo* source =
  18616. ::google::protobuf::internal::dynamic_cast_if_available<const shellLotteryInfo*>(
  18617. &from);
  18618. if (source == NULL) {
  18619. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18620. } else {
  18621. MergeFrom(*source);
  18622. }
  18623. }
  18624. void shellLotteryInfo::MergeFrom(const shellLotteryInfo& from) {
  18625. GOOGLE_CHECK_NE(&from, this);
  18626. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18627. if (from.has_index()) {
  18628. set_index(from.index());
  18629. }
  18630. if (from.has_turretrate()) {
  18631. set_turretrate(from.turretrate());
  18632. }
  18633. if (from.has_gold()) {
  18634. set_gold(from.gold());
  18635. }
  18636. }
  18637. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18638. }
  18639. void shellLotteryInfo::CopyFrom(const ::google::protobuf::Message& from) {
  18640. if (&from == this) return;
  18641. Clear();
  18642. MergeFrom(from);
  18643. }
  18644. void shellLotteryInfo::CopyFrom(const shellLotteryInfo& from) {
  18645. if (&from == this) return;
  18646. Clear();
  18647. MergeFrom(from);
  18648. }
  18649. bool shellLotteryInfo::IsInitialized() const {
  18650. return true;
  18651. }
  18652. void shellLotteryInfo::Swap(shellLotteryInfo* other) {
  18653. if (other != this) {
  18654. std::swap(index_, other->index_);
  18655. std::swap(turretrate_, other->turretrate_);
  18656. std::swap(gold_, other->gold_);
  18657. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18658. _unknown_fields_.Swap(&other->_unknown_fields_);
  18659. std::swap(_cached_size_, other->_cached_size_);
  18660. }
  18661. }
  18662. ::google::protobuf::Metadata shellLotteryInfo::GetMetadata() const {
  18663. protobuf_AssignDescriptorsOnce();
  18664. ::google::protobuf::Metadata metadata;
  18665. metadata.descriptor = shellLotteryInfo_descriptor_;
  18666. metadata.reflection = shellLotteryInfo_reflection_;
  18667. return metadata;
  18668. }
  18669. // ===================================================================
  18670. #ifndef _MSC_VER
  18671. const int packetl2c_req_lottery_mysterous_shell_result::kPacketIdFieldNumber;
  18672. const int packetl2c_req_lottery_mysterous_shell_result::kResultFieldNumber;
  18673. const int packetl2c_req_lottery_mysterous_shell_result::kLotteryInfoFieldNumber;
  18674. #endif // !_MSC_VER
  18675. packetl2c_req_lottery_mysterous_shell_result::packetl2c_req_lottery_mysterous_shell_result()
  18676. : ::google::protobuf::Message() {
  18677. SharedCtor();
  18678. }
  18679. void packetl2c_req_lottery_mysterous_shell_result::InitAsDefaultInstance() {
  18680. lotteryinfo_ = const_cast< ::fish_protocols::shellLotteryInfo*>(&::fish_protocols::shellLotteryInfo::default_instance());
  18681. }
  18682. packetl2c_req_lottery_mysterous_shell_result::packetl2c_req_lottery_mysterous_shell_result(const packetl2c_req_lottery_mysterous_shell_result& from)
  18683. : ::google::protobuf::Message() {
  18684. SharedCtor();
  18685. MergeFrom(from);
  18686. }
  18687. void packetl2c_req_lottery_mysterous_shell_result::SharedCtor() {
  18688. _cached_size_ = 0;
  18689. packet_id_ = 16198;
  18690. result_ = 0;
  18691. lotteryinfo_ = NULL;
  18692. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18693. }
  18694. packetl2c_req_lottery_mysterous_shell_result::~packetl2c_req_lottery_mysterous_shell_result() {
  18695. SharedDtor();
  18696. }
  18697. void packetl2c_req_lottery_mysterous_shell_result::SharedDtor() {
  18698. if (this != default_instance_) {
  18699. delete lotteryinfo_;
  18700. }
  18701. }
  18702. void packetl2c_req_lottery_mysterous_shell_result::SetCachedSize(int size) const {
  18703. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18704. _cached_size_ = size;
  18705. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18706. }
  18707. const ::google::protobuf::Descriptor* packetl2c_req_lottery_mysterous_shell_result::descriptor() {
  18708. protobuf_AssignDescriptorsOnce();
  18709. return packetl2c_req_lottery_mysterous_shell_result_descriptor_;
  18710. }
  18711. const packetl2c_req_lottery_mysterous_shell_result& packetl2c_req_lottery_mysterous_shell_result::default_instance() {
  18712. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  18713. return *default_instance_;
  18714. }
  18715. packetl2c_req_lottery_mysterous_shell_result* packetl2c_req_lottery_mysterous_shell_result::default_instance_ = NULL;
  18716. packetl2c_req_lottery_mysterous_shell_result* packetl2c_req_lottery_mysterous_shell_result::New() const {
  18717. return new packetl2c_req_lottery_mysterous_shell_result;
  18718. }
  18719. void packetl2c_req_lottery_mysterous_shell_result::Clear() {
  18720. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18721. packet_id_ = 16198;
  18722. result_ = 0;
  18723. if (has_lotteryinfo()) {
  18724. if (lotteryinfo_ != NULL) lotteryinfo_->::fish_protocols::shellLotteryInfo::Clear();
  18725. }
  18726. }
  18727. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18728. mutable_unknown_fields()->Clear();
  18729. }
  18730. bool packetl2c_req_lottery_mysterous_shell_result::MergePartialFromCodedStream(
  18731. ::google::protobuf::io::CodedInputStream* input) {
  18732. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18733. ::google::protobuf::uint32 tag;
  18734. while ((tag = input->ReadTag()) != 0) {
  18735. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18736. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result];
  18737. case 1: {
  18738. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18739. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18740. int value;
  18741. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18742. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18743. input, &value)));
  18744. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  18745. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  18746. } else {
  18747. mutable_unknown_fields()->AddVarint(1, value);
  18748. }
  18749. } else {
  18750. goto handle_uninterpreted;
  18751. }
  18752. if (input->ExpectTag(16)) goto parse_result;
  18753. break;
  18754. }
  18755. // optional int32 result = 2;
  18756. case 2: {
  18757. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18758. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18759. parse_result:
  18760. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18761. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18762. input, &result_)));
  18763. set_has_result();
  18764. } else {
  18765. goto handle_uninterpreted;
  18766. }
  18767. if (input->ExpectTag(26)) goto parse_lotteryInfo;
  18768. break;
  18769. }
  18770. // optional .fish_protocols.shellLotteryInfo lotteryInfo = 3;
  18771. case 3: {
  18772. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18773. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18774. parse_lotteryInfo:
  18775. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  18776. input, mutable_lotteryinfo()));
  18777. } else {
  18778. goto handle_uninterpreted;
  18779. }
  18780. if (input->ExpectAtEnd()) return true;
  18781. break;
  18782. }
  18783. default: {
  18784. handle_uninterpreted:
  18785. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18786. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18787. return true;
  18788. }
  18789. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18790. input, tag, mutable_unknown_fields()));
  18791. break;
  18792. }
  18793. }
  18794. }
  18795. return true;
  18796. #undef DO_
  18797. }
  18798. void packetl2c_req_lottery_mysterous_shell_result::SerializeWithCachedSizes(
  18799. ::google::protobuf::io::CodedOutputStream* output) const {
  18800. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result];
  18801. if (has_packet_id()) {
  18802. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18803. 1, this->packet_id(), output);
  18804. }
  18805. // optional int32 result = 2;
  18806. if (has_result()) {
  18807. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  18808. }
  18809. // optional .fish_protocols.shellLotteryInfo lotteryInfo = 3;
  18810. if (has_lotteryinfo()) {
  18811. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  18812. 3, this->lotteryinfo(), output);
  18813. }
  18814. if (!unknown_fields().empty()) {
  18815. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18816. unknown_fields(), output);
  18817. }
  18818. }
  18819. ::google::protobuf::uint8* packetl2c_req_lottery_mysterous_shell_result::SerializeWithCachedSizesToArray(
  18820. ::google::protobuf::uint8* target) const {
  18821. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result];
  18822. if (has_packet_id()) {
  18823. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18824. 1, this->packet_id(), target);
  18825. }
  18826. // optional int32 result = 2;
  18827. if (has_result()) {
  18828. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  18829. }
  18830. // optional .fish_protocols.shellLotteryInfo lotteryInfo = 3;
  18831. if (has_lotteryinfo()) {
  18832. target = ::google::protobuf::internal::WireFormatLite::
  18833. WriteMessageNoVirtualToArray(
  18834. 3, this->lotteryinfo(), target);
  18835. }
  18836. if (!unknown_fields().empty()) {
  18837. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18838. unknown_fields(), target);
  18839. }
  18840. return target;
  18841. }
  18842. int packetl2c_req_lottery_mysterous_shell_result::ByteSize() const {
  18843. int total_size = 0;
  18844. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18845. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result];
  18846. if (has_packet_id()) {
  18847. total_size += 1 +
  18848. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18849. }
  18850. // optional int32 result = 2;
  18851. if (has_result()) {
  18852. total_size += 1 +
  18853. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18854. this->result());
  18855. }
  18856. // optional .fish_protocols.shellLotteryInfo lotteryInfo = 3;
  18857. if (has_lotteryinfo()) {
  18858. total_size += 1 +
  18859. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  18860. this->lotteryinfo());
  18861. }
  18862. }
  18863. if (!unknown_fields().empty()) {
  18864. total_size +=
  18865. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18866. unknown_fields());
  18867. }
  18868. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18869. _cached_size_ = total_size;
  18870. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18871. return total_size;
  18872. }
  18873. void packetl2c_req_lottery_mysterous_shell_result::MergeFrom(const ::google::protobuf::Message& from) {
  18874. GOOGLE_CHECK_NE(&from, this);
  18875. const packetl2c_req_lottery_mysterous_shell_result* source =
  18876. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_req_lottery_mysterous_shell_result*>(
  18877. &from);
  18878. if (source == NULL) {
  18879. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18880. } else {
  18881. MergeFrom(*source);
  18882. }
  18883. }
  18884. void packetl2c_req_lottery_mysterous_shell_result::MergeFrom(const packetl2c_req_lottery_mysterous_shell_result& from) {
  18885. GOOGLE_CHECK_NE(&from, this);
  18886. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18887. if (from.has_packet_id()) {
  18888. set_packet_id(from.packet_id());
  18889. }
  18890. if (from.has_result()) {
  18891. set_result(from.result());
  18892. }
  18893. if (from.has_lotteryinfo()) {
  18894. mutable_lotteryinfo()->::fish_protocols::shellLotteryInfo::MergeFrom(from.lotteryinfo());
  18895. }
  18896. }
  18897. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18898. }
  18899. void packetl2c_req_lottery_mysterous_shell_result::CopyFrom(const ::google::protobuf::Message& from) {
  18900. if (&from == this) return;
  18901. Clear();
  18902. MergeFrom(from);
  18903. }
  18904. void packetl2c_req_lottery_mysterous_shell_result::CopyFrom(const packetl2c_req_lottery_mysterous_shell_result& from) {
  18905. if (&from == this) return;
  18906. Clear();
  18907. MergeFrom(from);
  18908. }
  18909. bool packetl2c_req_lottery_mysterous_shell_result::IsInitialized() const {
  18910. return true;
  18911. }
  18912. void packetl2c_req_lottery_mysterous_shell_result::Swap(packetl2c_req_lottery_mysterous_shell_result* other) {
  18913. if (other != this) {
  18914. std::swap(packet_id_, other->packet_id_);
  18915. std::swap(result_, other->result_);
  18916. std::swap(lotteryinfo_, other->lotteryinfo_);
  18917. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18918. _unknown_fields_.Swap(&other->_unknown_fields_);
  18919. std::swap(_cached_size_, other->_cached_size_);
  18920. }
  18921. }
  18922. ::google::protobuf::Metadata packetl2c_req_lottery_mysterous_shell_result::GetMetadata() const {
  18923. protobuf_AssignDescriptorsOnce();
  18924. ::google::protobuf::Metadata metadata;
  18925. metadata.descriptor = packetl2c_req_lottery_mysterous_shell_result_descriptor_;
  18926. metadata.reflection = packetl2c_req_lottery_mysterous_shell_result_reflection_;
  18927. return metadata;
  18928. }
  18929. // ===================================================================
  18930. #ifndef _MSC_VER
  18931. const int packetl2c_bc_mysterous_shell_lottery_result::kPacketIdFieldNumber;
  18932. const int packetl2c_bc_mysterous_shell_lottery_result::kPlayerIdFieldNumber;
  18933. const int packetl2c_bc_mysterous_shell_lottery_result::kTotalGoldFieldNumber;
  18934. const int packetl2c_bc_mysterous_shell_lottery_result::kLotteryInfoFieldNumber;
  18935. #endif // !_MSC_VER
  18936. packetl2c_bc_mysterous_shell_lottery_result::packetl2c_bc_mysterous_shell_lottery_result()
  18937. : ::google::protobuf::Message() {
  18938. SharedCtor();
  18939. }
  18940. void packetl2c_bc_mysterous_shell_lottery_result::InitAsDefaultInstance() {
  18941. }
  18942. packetl2c_bc_mysterous_shell_lottery_result::packetl2c_bc_mysterous_shell_lottery_result(const packetl2c_bc_mysterous_shell_lottery_result& from)
  18943. : ::google::protobuf::Message() {
  18944. SharedCtor();
  18945. MergeFrom(from);
  18946. }
  18947. void packetl2c_bc_mysterous_shell_lottery_result::SharedCtor() {
  18948. _cached_size_ = 0;
  18949. packet_id_ = 16199;
  18950. playerid_ = 0;
  18951. totalgold_ = 0;
  18952. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18953. }
  18954. packetl2c_bc_mysterous_shell_lottery_result::~packetl2c_bc_mysterous_shell_lottery_result() {
  18955. SharedDtor();
  18956. }
  18957. void packetl2c_bc_mysterous_shell_lottery_result::SharedDtor() {
  18958. if (this != default_instance_) {
  18959. }
  18960. }
  18961. void packetl2c_bc_mysterous_shell_lottery_result::SetCachedSize(int size) const {
  18962. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18963. _cached_size_ = size;
  18964. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18965. }
  18966. const ::google::protobuf::Descriptor* packetl2c_bc_mysterous_shell_lottery_result::descriptor() {
  18967. protobuf_AssignDescriptorsOnce();
  18968. return packetl2c_bc_mysterous_shell_lottery_result_descriptor_;
  18969. }
  18970. const packetl2c_bc_mysterous_shell_lottery_result& packetl2c_bc_mysterous_shell_lottery_result::default_instance() {
  18971. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  18972. return *default_instance_;
  18973. }
  18974. packetl2c_bc_mysterous_shell_lottery_result* packetl2c_bc_mysterous_shell_lottery_result::default_instance_ = NULL;
  18975. packetl2c_bc_mysterous_shell_lottery_result* packetl2c_bc_mysterous_shell_lottery_result::New() const {
  18976. return new packetl2c_bc_mysterous_shell_lottery_result;
  18977. }
  18978. void packetl2c_bc_mysterous_shell_lottery_result::Clear() {
  18979. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18980. packet_id_ = 16199;
  18981. playerid_ = 0;
  18982. totalgold_ = 0;
  18983. }
  18984. lotteryinfo_.Clear();
  18985. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18986. mutable_unknown_fields()->Clear();
  18987. }
  18988. bool packetl2c_bc_mysterous_shell_lottery_result::MergePartialFromCodedStream(
  18989. ::google::protobuf::io::CodedInputStream* input) {
  18990. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18991. ::google::protobuf::uint32 tag;
  18992. while ((tag = input->ReadTag()) != 0) {
  18993. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18994. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result];
  18995. case 1: {
  18996. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18997. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18998. int value;
  18999. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19000. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19001. input, &value)));
  19002. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  19003. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  19004. } else {
  19005. mutable_unknown_fields()->AddVarint(1, value);
  19006. }
  19007. } else {
  19008. goto handle_uninterpreted;
  19009. }
  19010. if (input->ExpectTag(16)) goto parse_playerId;
  19011. break;
  19012. }
  19013. // optional int32 playerId = 2;
  19014. case 2: {
  19015. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19016. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19017. parse_playerId:
  19018. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19019. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19020. input, &playerid_)));
  19021. set_has_playerid();
  19022. } else {
  19023. goto handle_uninterpreted;
  19024. }
  19025. if (input->ExpectTag(24)) goto parse_totalGold;
  19026. break;
  19027. }
  19028. // optional int32 totalGold = 3;
  19029. case 3: {
  19030. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19031. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19032. parse_totalGold:
  19033. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19034. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19035. input, &totalgold_)));
  19036. set_has_totalgold();
  19037. } else {
  19038. goto handle_uninterpreted;
  19039. }
  19040. if (input->ExpectTag(34)) goto parse_lotteryInfo;
  19041. break;
  19042. }
  19043. // repeated .fish_protocols.shellLotteryInfo lotteryInfo = 4;
  19044. case 4: {
  19045. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19046. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19047. parse_lotteryInfo:
  19048. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19049. input, add_lotteryinfo()));
  19050. } else {
  19051. goto handle_uninterpreted;
  19052. }
  19053. if (input->ExpectTag(34)) goto parse_lotteryInfo;
  19054. if (input->ExpectAtEnd()) return true;
  19055. break;
  19056. }
  19057. default: {
  19058. handle_uninterpreted:
  19059. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19060. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19061. return true;
  19062. }
  19063. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19064. input, tag, mutable_unknown_fields()));
  19065. break;
  19066. }
  19067. }
  19068. }
  19069. return true;
  19070. #undef DO_
  19071. }
  19072. void packetl2c_bc_mysterous_shell_lottery_result::SerializeWithCachedSizes(
  19073. ::google::protobuf::io::CodedOutputStream* output) const {
  19074. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result];
  19075. if (has_packet_id()) {
  19076. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19077. 1, this->packet_id(), output);
  19078. }
  19079. // optional int32 playerId = 2;
  19080. if (has_playerid()) {
  19081. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  19082. }
  19083. // optional int32 totalGold = 3;
  19084. if (has_totalgold()) {
  19085. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->totalgold(), output);
  19086. }
  19087. // repeated .fish_protocols.shellLotteryInfo lotteryInfo = 4;
  19088. for (int i = 0; i < this->lotteryinfo_size(); i++) {
  19089. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19090. 4, this->lotteryinfo(i), output);
  19091. }
  19092. if (!unknown_fields().empty()) {
  19093. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19094. unknown_fields(), output);
  19095. }
  19096. }
  19097. ::google::protobuf::uint8* packetl2c_bc_mysterous_shell_lottery_result::SerializeWithCachedSizesToArray(
  19098. ::google::protobuf::uint8* target) const {
  19099. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result];
  19100. if (has_packet_id()) {
  19101. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19102. 1, this->packet_id(), target);
  19103. }
  19104. // optional int32 playerId = 2;
  19105. if (has_playerid()) {
  19106. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  19107. }
  19108. // optional int32 totalGold = 3;
  19109. if (has_totalgold()) {
  19110. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->totalgold(), target);
  19111. }
  19112. // repeated .fish_protocols.shellLotteryInfo lotteryInfo = 4;
  19113. for (int i = 0; i < this->lotteryinfo_size(); i++) {
  19114. target = ::google::protobuf::internal::WireFormatLite::
  19115. WriteMessageNoVirtualToArray(
  19116. 4, this->lotteryinfo(i), target);
  19117. }
  19118. if (!unknown_fields().empty()) {
  19119. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19120. unknown_fields(), target);
  19121. }
  19122. return target;
  19123. }
  19124. int packetl2c_bc_mysterous_shell_lottery_result::ByteSize() const {
  19125. int total_size = 0;
  19126. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19127. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result];
  19128. if (has_packet_id()) {
  19129. total_size += 1 +
  19130. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19131. }
  19132. // optional int32 playerId = 2;
  19133. if (has_playerid()) {
  19134. total_size += 1 +
  19135. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19136. this->playerid());
  19137. }
  19138. // optional int32 totalGold = 3;
  19139. if (has_totalgold()) {
  19140. total_size += 1 +
  19141. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19142. this->totalgold());
  19143. }
  19144. }
  19145. // repeated .fish_protocols.shellLotteryInfo lotteryInfo = 4;
  19146. total_size += 1 * this->lotteryinfo_size();
  19147. for (int i = 0; i < this->lotteryinfo_size(); i++) {
  19148. total_size +=
  19149. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19150. this->lotteryinfo(i));
  19151. }
  19152. if (!unknown_fields().empty()) {
  19153. total_size +=
  19154. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19155. unknown_fields());
  19156. }
  19157. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19158. _cached_size_ = total_size;
  19159. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19160. return total_size;
  19161. }
  19162. void packetl2c_bc_mysterous_shell_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  19163. GOOGLE_CHECK_NE(&from, this);
  19164. const packetl2c_bc_mysterous_shell_lottery_result* source =
  19165. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_mysterous_shell_lottery_result*>(
  19166. &from);
  19167. if (source == NULL) {
  19168. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19169. } else {
  19170. MergeFrom(*source);
  19171. }
  19172. }
  19173. void packetl2c_bc_mysterous_shell_lottery_result::MergeFrom(const packetl2c_bc_mysterous_shell_lottery_result& from) {
  19174. GOOGLE_CHECK_NE(&from, this);
  19175. lotteryinfo_.MergeFrom(from.lotteryinfo_);
  19176. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19177. if (from.has_packet_id()) {
  19178. set_packet_id(from.packet_id());
  19179. }
  19180. if (from.has_playerid()) {
  19181. set_playerid(from.playerid());
  19182. }
  19183. if (from.has_totalgold()) {
  19184. set_totalgold(from.totalgold());
  19185. }
  19186. }
  19187. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19188. }
  19189. void packetl2c_bc_mysterous_shell_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  19190. if (&from == this) return;
  19191. Clear();
  19192. MergeFrom(from);
  19193. }
  19194. void packetl2c_bc_mysterous_shell_lottery_result::CopyFrom(const packetl2c_bc_mysterous_shell_lottery_result& from) {
  19195. if (&from == this) return;
  19196. Clear();
  19197. MergeFrom(from);
  19198. }
  19199. bool packetl2c_bc_mysterous_shell_lottery_result::IsInitialized() const {
  19200. return true;
  19201. }
  19202. void packetl2c_bc_mysterous_shell_lottery_result::Swap(packetl2c_bc_mysterous_shell_lottery_result* other) {
  19203. if (other != this) {
  19204. std::swap(packet_id_, other->packet_id_);
  19205. std::swap(playerid_, other->playerid_);
  19206. std::swap(totalgold_, other->totalgold_);
  19207. lotteryinfo_.Swap(&other->lotteryinfo_);
  19208. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19209. _unknown_fields_.Swap(&other->_unknown_fields_);
  19210. std::swap(_cached_size_, other->_cached_size_);
  19211. }
  19212. }
  19213. ::google::protobuf::Metadata packetl2c_bc_mysterous_shell_lottery_result::GetMetadata() const {
  19214. protobuf_AssignDescriptorsOnce();
  19215. ::google::protobuf::Metadata metadata;
  19216. metadata.descriptor = packetl2c_bc_mysterous_shell_lottery_result_descriptor_;
  19217. metadata.reflection = packetl2c_bc_mysterous_shell_lottery_result_reflection_;
  19218. return metadata;
  19219. }
  19220. // ===================================================================
  19221. #ifndef _MSC_VER
  19222. const int dice_change_info::kNickNameFieldNumber;
  19223. const int dice_change_info::kScoreFieldNumber;
  19224. #endif // !_MSC_VER
  19225. dice_change_info::dice_change_info()
  19226. : ::google::protobuf::Message() {
  19227. SharedCtor();
  19228. }
  19229. void dice_change_info::InitAsDefaultInstance() {
  19230. }
  19231. dice_change_info::dice_change_info(const dice_change_info& from)
  19232. : ::google::protobuf::Message() {
  19233. SharedCtor();
  19234. MergeFrom(from);
  19235. }
  19236. void dice_change_info::SharedCtor() {
  19237. _cached_size_ = 0;
  19238. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  19239. score_ = 0;
  19240. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19241. }
  19242. dice_change_info::~dice_change_info() {
  19243. SharedDtor();
  19244. }
  19245. void dice_change_info::SharedDtor() {
  19246. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  19247. delete nickname_;
  19248. }
  19249. if (this != default_instance_) {
  19250. }
  19251. }
  19252. void dice_change_info::SetCachedSize(int size) const {
  19253. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19254. _cached_size_ = size;
  19255. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19256. }
  19257. const ::google::protobuf::Descriptor* dice_change_info::descriptor() {
  19258. protobuf_AssignDescriptorsOnce();
  19259. return dice_change_info_descriptor_;
  19260. }
  19261. const dice_change_info& dice_change_info::default_instance() {
  19262. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  19263. return *default_instance_;
  19264. }
  19265. dice_change_info* dice_change_info::default_instance_ = NULL;
  19266. dice_change_info* dice_change_info::New() const {
  19267. return new dice_change_info;
  19268. }
  19269. void dice_change_info::Clear() {
  19270. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19271. if (has_nickname()) {
  19272. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  19273. nickname_->clear();
  19274. }
  19275. }
  19276. score_ = 0;
  19277. }
  19278. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19279. mutable_unknown_fields()->Clear();
  19280. }
  19281. bool dice_change_info::MergePartialFromCodedStream(
  19282. ::google::protobuf::io::CodedInputStream* input) {
  19283. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19284. ::google::protobuf::uint32 tag;
  19285. while ((tag = input->ReadTag()) != 0) {
  19286. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19287. // optional string nickName = 1;
  19288. case 1: {
  19289. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19290. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19291. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  19292. input, this->mutable_nickname()));
  19293. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19294. this->nickname().data(), this->nickname().length(),
  19295. ::google::protobuf::internal::WireFormat::PARSE);
  19296. } else {
  19297. goto handle_uninterpreted;
  19298. }
  19299. if (input->ExpectTag(16)) goto parse_score;
  19300. break;
  19301. }
  19302. // optional int32 score = 2;
  19303. case 2: {
  19304. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19305. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19306. parse_score:
  19307. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19308. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19309. input, &score_)));
  19310. set_has_score();
  19311. } else {
  19312. goto handle_uninterpreted;
  19313. }
  19314. if (input->ExpectAtEnd()) return true;
  19315. break;
  19316. }
  19317. default: {
  19318. handle_uninterpreted:
  19319. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19320. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19321. return true;
  19322. }
  19323. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19324. input, tag, mutable_unknown_fields()));
  19325. break;
  19326. }
  19327. }
  19328. }
  19329. return true;
  19330. #undef DO_
  19331. }
  19332. void dice_change_info::SerializeWithCachedSizes(
  19333. ::google::protobuf::io::CodedOutputStream* output) const {
  19334. // optional string nickName = 1;
  19335. if (has_nickname()) {
  19336. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19337. this->nickname().data(), this->nickname().length(),
  19338. ::google::protobuf::internal::WireFormat::SERIALIZE);
  19339. ::google::protobuf::internal::WireFormatLite::WriteString(
  19340. 1, this->nickname(), output);
  19341. }
  19342. // optional int32 score = 2;
  19343. if (has_score()) {
  19344. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->score(), output);
  19345. }
  19346. if (!unknown_fields().empty()) {
  19347. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19348. unknown_fields(), output);
  19349. }
  19350. }
  19351. ::google::protobuf::uint8* dice_change_info::SerializeWithCachedSizesToArray(
  19352. ::google::protobuf::uint8* target) const {
  19353. // optional string nickName = 1;
  19354. if (has_nickname()) {
  19355. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  19356. this->nickname().data(), this->nickname().length(),
  19357. ::google::protobuf::internal::WireFormat::SERIALIZE);
  19358. target =
  19359. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  19360. 1, this->nickname(), target);
  19361. }
  19362. // optional int32 score = 2;
  19363. if (has_score()) {
  19364. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->score(), target);
  19365. }
  19366. if (!unknown_fields().empty()) {
  19367. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19368. unknown_fields(), target);
  19369. }
  19370. return target;
  19371. }
  19372. int dice_change_info::ByteSize() const {
  19373. int total_size = 0;
  19374. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19375. // optional string nickName = 1;
  19376. if (has_nickname()) {
  19377. total_size += 1 +
  19378. ::google::protobuf::internal::WireFormatLite::StringSize(
  19379. this->nickname());
  19380. }
  19381. // optional int32 score = 2;
  19382. if (has_score()) {
  19383. total_size += 1 +
  19384. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19385. this->score());
  19386. }
  19387. }
  19388. if (!unknown_fields().empty()) {
  19389. total_size +=
  19390. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19391. unknown_fields());
  19392. }
  19393. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19394. _cached_size_ = total_size;
  19395. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19396. return total_size;
  19397. }
  19398. void dice_change_info::MergeFrom(const ::google::protobuf::Message& from) {
  19399. GOOGLE_CHECK_NE(&from, this);
  19400. const dice_change_info* source =
  19401. ::google::protobuf::internal::dynamic_cast_if_available<const dice_change_info*>(
  19402. &from);
  19403. if (source == NULL) {
  19404. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19405. } else {
  19406. MergeFrom(*source);
  19407. }
  19408. }
  19409. void dice_change_info::MergeFrom(const dice_change_info& from) {
  19410. GOOGLE_CHECK_NE(&from, this);
  19411. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19412. if (from.has_nickname()) {
  19413. set_nickname(from.nickname());
  19414. }
  19415. if (from.has_score()) {
  19416. set_score(from.score());
  19417. }
  19418. }
  19419. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19420. }
  19421. void dice_change_info::CopyFrom(const ::google::protobuf::Message& from) {
  19422. if (&from == this) return;
  19423. Clear();
  19424. MergeFrom(from);
  19425. }
  19426. void dice_change_info::CopyFrom(const dice_change_info& from) {
  19427. if (&from == this) return;
  19428. Clear();
  19429. MergeFrom(from);
  19430. }
  19431. bool dice_change_info::IsInitialized() const {
  19432. return true;
  19433. }
  19434. void dice_change_info::Swap(dice_change_info* other) {
  19435. if (other != this) {
  19436. std::swap(nickname_, other->nickname_);
  19437. std::swap(score_, other->score_);
  19438. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19439. _unknown_fields_.Swap(&other->_unknown_fields_);
  19440. std::swap(_cached_size_, other->_cached_size_);
  19441. }
  19442. }
  19443. ::google::protobuf::Metadata dice_change_info::GetMetadata() const {
  19444. protobuf_AssignDescriptorsOnce();
  19445. ::google::protobuf::Metadata metadata;
  19446. metadata.descriptor = dice_change_info_descriptor_;
  19447. metadata.reflection = dice_change_info_reflection_;
  19448. return metadata;
  19449. }
  19450. // ===================================================================
  19451. #ifndef _MSC_VER
  19452. const int packetl2c_bc_trigger_dice_game::kPacketIdFieldNumber;
  19453. const int packetl2c_bc_trigger_dice_game::kPlayerIdFieldNumber;
  19454. const int packetl2c_bc_trigger_dice_game::kBaseGoldFieldNumber;
  19455. const int packetl2c_bc_trigger_dice_game::kChangeListFieldNumber;
  19456. #endif // !_MSC_VER
  19457. packetl2c_bc_trigger_dice_game::packetl2c_bc_trigger_dice_game()
  19458. : ::google::protobuf::Message() {
  19459. SharedCtor();
  19460. }
  19461. void packetl2c_bc_trigger_dice_game::InitAsDefaultInstance() {
  19462. }
  19463. packetl2c_bc_trigger_dice_game::packetl2c_bc_trigger_dice_game(const packetl2c_bc_trigger_dice_game& from)
  19464. : ::google::protobuf::Message() {
  19465. SharedCtor();
  19466. MergeFrom(from);
  19467. }
  19468. void packetl2c_bc_trigger_dice_game::SharedCtor() {
  19469. _cached_size_ = 0;
  19470. packet_id_ = 16200;
  19471. playerid_ = 0;
  19472. basegold_ = 0;
  19473. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19474. }
  19475. packetl2c_bc_trigger_dice_game::~packetl2c_bc_trigger_dice_game() {
  19476. SharedDtor();
  19477. }
  19478. void packetl2c_bc_trigger_dice_game::SharedDtor() {
  19479. if (this != default_instance_) {
  19480. }
  19481. }
  19482. void packetl2c_bc_trigger_dice_game::SetCachedSize(int size) const {
  19483. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19484. _cached_size_ = size;
  19485. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19486. }
  19487. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_dice_game::descriptor() {
  19488. protobuf_AssignDescriptorsOnce();
  19489. return packetl2c_bc_trigger_dice_game_descriptor_;
  19490. }
  19491. const packetl2c_bc_trigger_dice_game& packetl2c_bc_trigger_dice_game::default_instance() {
  19492. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  19493. return *default_instance_;
  19494. }
  19495. packetl2c_bc_trigger_dice_game* packetl2c_bc_trigger_dice_game::default_instance_ = NULL;
  19496. packetl2c_bc_trigger_dice_game* packetl2c_bc_trigger_dice_game::New() const {
  19497. return new packetl2c_bc_trigger_dice_game;
  19498. }
  19499. void packetl2c_bc_trigger_dice_game::Clear() {
  19500. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19501. packet_id_ = 16200;
  19502. playerid_ = 0;
  19503. basegold_ = 0;
  19504. }
  19505. changelist_.Clear();
  19506. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19507. mutable_unknown_fields()->Clear();
  19508. }
  19509. bool packetl2c_bc_trigger_dice_game::MergePartialFromCodedStream(
  19510. ::google::protobuf::io::CodedInputStream* input) {
  19511. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19512. ::google::protobuf::uint32 tag;
  19513. while ((tag = input->ReadTag()) != 0) {
  19514. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19515. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game];
  19516. case 1: {
  19517. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19518. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19519. int value;
  19520. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19521. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19522. input, &value)));
  19523. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  19524. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  19525. } else {
  19526. mutable_unknown_fields()->AddVarint(1, value);
  19527. }
  19528. } else {
  19529. goto handle_uninterpreted;
  19530. }
  19531. if (input->ExpectTag(16)) goto parse_playerId;
  19532. break;
  19533. }
  19534. // optional int32 playerId = 2;
  19535. case 2: {
  19536. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19537. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19538. parse_playerId:
  19539. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19540. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19541. input, &playerid_)));
  19542. set_has_playerid();
  19543. } else {
  19544. goto handle_uninterpreted;
  19545. }
  19546. if (input->ExpectTag(24)) goto parse_baseGold;
  19547. break;
  19548. }
  19549. // optional int32 baseGold = 3;
  19550. case 3: {
  19551. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19552. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19553. parse_baseGold:
  19554. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19555. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19556. input, &basegold_)));
  19557. set_has_basegold();
  19558. } else {
  19559. goto handle_uninterpreted;
  19560. }
  19561. if (input->ExpectTag(34)) goto parse_changeList;
  19562. break;
  19563. }
  19564. // repeated .fish_protocols.dice_change_info changeList = 4;
  19565. case 4: {
  19566. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19567. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19568. parse_changeList:
  19569. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19570. input, add_changelist()));
  19571. } else {
  19572. goto handle_uninterpreted;
  19573. }
  19574. if (input->ExpectTag(34)) goto parse_changeList;
  19575. if (input->ExpectAtEnd()) return true;
  19576. break;
  19577. }
  19578. default: {
  19579. handle_uninterpreted:
  19580. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19581. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19582. return true;
  19583. }
  19584. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19585. input, tag, mutable_unknown_fields()));
  19586. break;
  19587. }
  19588. }
  19589. }
  19590. return true;
  19591. #undef DO_
  19592. }
  19593. void packetl2c_bc_trigger_dice_game::SerializeWithCachedSizes(
  19594. ::google::protobuf::io::CodedOutputStream* output) const {
  19595. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game];
  19596. if (has_packet_id()) {
  19597. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19598. 1, this->packet_id(), output);
  19599. }
  19600. // optional int32 playerId = 2;
  19601. if (has_playerid()) {
  19602. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  19603. }
  19604. // optional int32 baseGold = 3;
  19605. if (has_basegold()) {
  19606. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->basegold(), output);
  19607. }
  19608. // repeated .fish_protocols.dice_change_info changeList = 4;
  19609. for (int i = 0; i < this->changelist_size(); i++) {
  19610. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19611. 4, this->changelist(i), output);
  19612. }
  19613. if (!unknown_fields().empty()) {
  19614. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19615. unknown_fields(), output);
  19616. }
  19617. }
  19618. ::google::protobuf::uint8* packetl2c_bc_trigger_dice_game::SerializeWithCachedSizesToArray(
  19619. ::google::protobuf::uint8* target) const {
  19620. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game];
  19621. if (has_packet_id()) {
  19622. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19623. 1, this->packet_id(), target);
  19624. }
  19625. // optional int32 playerId = 2;
  19626. if (has_playerid()) {
  19627. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  19628. }
  19629. // optional int32 baseGold = 3;
  19630. if (has_basegold()) {
  19631. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->basegold(), target);
  19632. }
  19633. // repeated .fish_protocols.dice_change_info changeList = 4;
  19634. for (int i = 0; i < this->changelist_size(); i++) {
  19635. target = ::google::protobuf::internal::WireFormatLite::
  19636. WriteMessageNoVirtualToArray(
  19637. 4, this->changelist(i), target);
  19638. }
  19639. if (!unknown_fields().empty()) {
  19640. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19641. unknown_fields(), target);
  19642. }
  19643. return target;
  19644. }
  19645. int packetl2c_bc_trigger_dice_game::ByteSize() const {
  19646. int total_size = 0;
  19647. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19648. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game];
  19649. if (has_packet_id()) {
  19650. total_size += 1 +
  19651. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19652. }
  19653. // optional int32 playerId = 2;
  19654. if (has_playerid()) {
  19655. total_size += 1 +
  19656. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19657. this->playerid());
  19658. }
  19659. // optional int32 baseGold = 3;
  19660. if (has_basegold()) {
  19661. total_size += 1 +
  19662. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19663. this->basegold());
  19664. }
  19665. }
  19666. // repeated .fish_protocols.dice_change_info changeList = 4;
  19667. total_size += 1 * this->changelist_size();
  19668. for (int i = 0; i < this->changelist_size(); i++) {
  19669. total_size +=
  19670. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19671. this->changelist(i));
  19672. }
  19673. if (!unknown_fields().empty()) {
  19674. total_size +=
  19675. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19676. unknown_fields());
  19677. }
  19678. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19679. _cached_size_ = total_size;
  19680. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19681. return total_size;
  19682. }
  19683. void packetl2c_bc_trigger_dice_game::MergeFrom(const ::google::protobuf::Message& from) {
  19684. GOOGLE_CHECK_NE(&from, this);
  19685. const packetl2c_bc_trigger_dice_game* source =
  19686. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_trigger_dice_game*>(
  19687. &from);
  19688. if (source == NULL) {
  19689. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19690. } else {
  19691. MergeFrom(*source);
  19692. }
  19693. }
  19694. void packetl2c_bc_trigger_dice_game::MergeFrom(const packetl2c_bc_trigger_dice_game& from) {
  19695. GOOGLE_CHECK_NE(&from, this);
  19696. changelist_.MergeFrom(from.changelist_);
  19697. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19698. if (from.has_packet_id()) {
  19699. set_packet_id(from.packet_id());
  19700. }
  19701. if (from.has_playerid()) {
  19702. set_playerid(from.playerid());
  19703. }
  19704. if (from.has_basegold()) {
  19705. set_basegold(from.basegold());
  19706. }
  19707. }
  19708. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19709. }
  19710. void packetl2c_bc_trigger_dice_game::CopyFrom(const ::google::protobuf::Message& from) {
  19711. if (&from == this) return;
  19712. Clear();
  19713. MergeFrom(from);
  19714. }
  19715. void packetl2c_bc_trigger_dice_game::CopyFrom(const packetl2c_bc_trigger_dice_game& from) {
  19716. if (&from == this) return;
  19717. Clear();
  19718. MergeFrom(from);
  19719. }
  19720. bool packetl2c_bc_trigger_dice_game::IsInitialized() const {
  19721. return true;
  19722. }
  19723. void packetl2c_bc_trigger_dice_game::Swap(packetl2c_bc_trigger_dice_game* other) {
  19724. if (other != this) {
  19725. std::swap(packet_id_, other->packet_id_);
  19726. std::swap(playerid_, other->playerid_);
  19727. std::swap(basegold_, other->basegold_);
  19728. changelist_.Swap(&other->changelist_);
  19729. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19730. _unknown_fields_.Swap(&other->_unknown_fields_);
  19731. std::swap(_cached_size_, other->_cached_size_);
  19732. }
  19733. }
  19734. ::google::protobuf::Metadata packetl2c_bc_trigger_dice_game::GetMetadata() const {
  19735. protobuf_AssignDescriptorsOnce();
  19736. ::google::protobuf::Metadata metadata;
  19737. metadata.descriptor = packetl2c_bc_trigger_dice_game_descriptor_;
  19738. metadata.reflection = packetl2c_bc_trigger_dice_game_reflection_;
  19739. return metadata;
  19740. }
  19741. // ===================================================================
  19742. #ifndef _MSC_VER
  19743. const int packetc2l_req_lottery_dice_game::kPacketIdFieldNumber;
  19744. const int packetc2l_req_lottery_dice_game::kOpTypeFieldNumber;
  19745. #endif // !_MSC_VER
  19746. packetc2l_req_lottery_dice_game::packetc2l_req_lottery_dice_game()
  19747. : ::google::protobuf::Message() {
  19748. SharedCtor();
  19749. }
  19750. void packetc2l_req_lottery_dice_game::InitAsDefaultInstance() {
  19751. }
  19752. packetc2l_req_lottery_dice_game::packetc2l_req_lottery_dice_game(const packetc2l_req_lottery_dice_game& from)
  19753. : ::google::protobuf::Message() {
  19754. SharedCtor();
  19755. MergeFrom(from);
  19756. }
  19757. void packetc2l_req_lottery_dice_game::SharedCtor() {
  19758. _cached_size_ = 0;
  19759. packet_id_ = 10203;
  19760. optype_ = 0;
  19761. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19762. }
  19763. packetc2l_req_lottery_dice_game::~packetc2l_req_lottery_dice_game() {
  19764. SharedDtor();
  19765. }
  19766. void packetc2l_req_lottery_dice_game::SharedDtor() {
  19767. if (this != default_instance_) {
  19768. }
  19769. }
  19770. void packetc2l_req_lottery_dice_game::SetCachedSize(int size) const {
  19771. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19772. _cached_size_ = size;
  19773. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19774. }
  19775. const ::google::protobuf::Descriptor* packetc2l_req_lottery_dice_game::descriptor() {
  19776. protobuf_AssignDescriptorsOnce();
  19777. return packetc2l_req_lottery_dice_game_descriptor_;
  19778. }
  19779. const packetc2l_req_lottery_dice_game& packetc2l_req_lottery_dice_game::default_instance() {
  19780. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  19781. return *default_instance_;
  19782. }
  19783. packetc2l_req_lottery_dice_game* packetc2l_req_lottery_dice_game::default_instance_ = NULL;
  19784. packetc2l_req_lottery_dice_game* packetc2l_req_lottery_dice_game::New() const {
  19785. return new packetc2l_req_lottery_dice_game;
  19786. }
  19787. void packetc2l_req_lottery_dice_game::Clear() {
  19788. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19789. packet_id_ = 10203;
  19790. optype_ = 0;
  19791. }
  19792. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19793. mutable_unknown_fields()->Clear();
  19794. }
  19795. bool packetc2l_req_lottery_dice_game::MergePartialFromCodedStream(
  19796. ::google::protobuf::io::CodedInputStream* input) {
  19797. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19798. ::google::protobuf::uint32 tag;
  19799. while ((tag = input->ReadTag()) != 0) {
  19800. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19801. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game];
  19802. case 1: {
  19803. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19804. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19805. int value;
  19806. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19807. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19808. input, &value)));
  19809. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  19810. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  19811. } else {
  19812. mutable_unknown_fields()->AddVarint(1, value);
  19813. }
  19814. } else {
  19815. goto handle_uninterpreted;
  19816. }
  19817. if (input->ExpectTag(16)) goto parse_opType;
  19818. break;
  19819. }
  19820. // optional int32 opType = 2;
  19821. case 2: {
  19822. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19823. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19824. parse_opType:
  19825. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19826. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19827. input, &optype_)));
  19828. set_has_optype();
  19829. } else {
  19830. goto handle_uninterpreted;
  19831. }
  19832. if (input->ExpectAtEnd()) return true;
  19833. break;
  19834. }
  19835. default: {
  19836. handle_uninterpreted:
  19837. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19838. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19839. return true;
  19840. }
  19841. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19842. input, tag, mutable_unknown_fields()));
  19843. break;
  19844. }
  19845. }
  19846. }
  19847. return true;
  19848. #undef DO_
  19849. }
  19850. void packetc2l_req_lottery_dice_game::SerializeWithCachedSizes(
  19851. ::google::protobuf::io::CodedOutputStream* output) const {
  19852. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game];
  19853. if (has_packet_id()) {
  19854. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19855. 1, this->packet_id(), output);
  19856. }
  19857. // optional int32 opType = 2;
  19858. if (has_optype()) {
  19859. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->optype(), output);
  19860. }
  19861. if (!unknown_fields().empty()) {
  19862. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19863. unknown_fields(), output);
  19864. }
  19865. }
  19866. ::google::protobuf::uint8* packetc2l_req_lottery_dice_game::SerializeWithCachedSizesToArray(
  19867. ::google::protobuf::uint8* target) const {
  19868. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game];
  19869. if (has_packet_id()) {
  19870. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19871. 1, this->packet_id(), target);
  19872. }
  19873. // optional int32 opType = 2;
  19874. if (has_optype()) {
  19875. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->optype(), target);
  19876. }
  19877. if (!unknown_fields().empty()) {
  19878. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19879. unknown_fields(), target);
  19880. }
  19881. return target;
  19882. }
  19883. int packetc2l_req_lottery_dice_game::ByteSize() const {
  19884. int total_size = 0;
  19885. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19886. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game];
  19887. if (has_packet_id()) {
  19888. total_size += 1 +
  19889. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19890. }
  19891. // optional int32 opType = 2;
  19892. if (has_optype()) {
  19893. total_size += 1 +
  19894. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19895. this->optype());
  19896. }
  19897. }
  19898. if (!unknown_fields().empty()) {
  19899. total_size +=
  19900. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19901. unknown_fields());
  19902. }
  19903. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19904. _cached_size_ = total_size;
  19905. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19906. return total_size;
  19907. }
  19908. void packetc2l_req_lottery_dice_game::MergeFrom(const ::google::protobuf::Message& from) {
  19909. GOOGLE_CHECK_NE(&from, this);
  19910. const packetc2l_req_lottery_dice_game* source =
  19911. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_req_lottery_dice_game*>(
  19912. &from);
  19913. if (source == NULL) {
  19914. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19915. } else {
  19916. MergeFrom(*source);
  19917. }
  19918. }
  19919. void packetc2l_req_lottery_dice_game::MergeFrom(const packetc2l_req_lottery_dice_game& from) {
  19920. GOOGLE_CHECK_NE(&from, this);
  19921. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19922. if (from.has_packet_id()) {
  19923. set_packet_id(from.packet_id());
  19924. }
  19925. if (from.has_optype()) {
  19926. set_optype(from.optype());
  19927. }
  19928. }
  19929. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19930. }
  19931. void packetc2l_req_lottery_dice_game::CopyFrom(const ::google::protobuf::Message& from) {
  19932. if (&from == this) return;
  19933. Clear();
  19934. MergeFrom(from);
  19935. }
  19936. void packetc2l_req_lottery_dice_game::CopyFrom(const packetc2l_req_lottery_dice_game& from) {
  19937. if (&from == this) return;
  19938. Clear();
  19939. MergeFrom(from);
  19940. }
  19941. bool packetc2l_req_lottery_dice_game::IsInitialized() const {
  19942. return true;
  19943. }
  19944. void packetc2l_req_lottery_dice_game::Swap(packetc2l_req_lottery_dice_game* other) {
  19945. if (other != this) {
  19946. std::swap(packet_id_, other->packet_id_);
  19947. std::swap(optype_, other->optype_);
  19948. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19949. _unknown_fields_.Swap(&other->_unknown_fields_);
  19950. std::swap(_cached_size_, other->_cached_size_);
  19951. }
  19952. }
  19953. ::google::protobuf::Metadata packetc2l_req_lottery_dice_game::GetMetadata() const {
  19954. protobuf_AssignDescriptorsOnce();
  19955. ::google::protobuf::Metadata metadata;
  19956. metadata.descriptor = packetc2l_req_lottery_dice_game_descriptor_;
  19957. metadata.reflection = packetc2l_req_lottery_dice_game_reflection_;
  19958. return metadata;
  19959. }
  19960. // ===================================================================
  19961. #ifndef _MSC_VER
  19962. const int packetl2c_req_lottery_dice_game_result::kPacketIdFieldNumber;
  19963. const int packetl2c_req_lottery_dice_game_result::kResultFieldNumber;
  19964. const int packetl2c_req_lottery_dice_game_result::kOpTypeFieldNumber;
  19965. const int packetl2c_req_lottery_dice_game_result::kCurGoldFieldNumber;
  19966. const int packetl2c_req_lottery_dice_game_result::kResultNumFieldNumber;
  19967. #endif // !_MSC_VER
  19968. packetl2c_req_lottery_dice_game_result::packetl2c_req_lottery_dice_game_result()
  19969. : ::google::protobuf::Message() {
  19970. SharedCtor();
  19971. }
  19972. void packetl2c_req_lottery_dice_game_result::InitAsDefaultInstance() {
  19973. }
  19974. packetl2c_req_lottery_dice_game_result::packetl2c_req_lottery_dice_game_result(const packetl2c_req_lottery_dice_game_result& from)
  19975. : ::google::protobuf::Message() {
  19976. SharedCtor();
  19977. MergeFrom(from);
  19978. }
  19979. void packetl2c_req_lottery_dice_game_result::SharedCtor() {
  19980. _cached_size_ = 0;
  19981. packet_id_ = 16201;
  19982. result_ = 0;
  19983. optype_ = 0;
  19984. curgold_ = 0;
  19985. resultnum_ = 0;
  19986. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19987. }
  19988. packetl2c_req_lottery_dice_game_result::~packetl2c_req_lottery_dice_game_result() {
  19989. SharedDtor();
  19990. }
  19991. void packetl2c_req_lottery_dice_game_result::SharedDtor() {
  19992. if (this != default_instance_) {
  19993. }
  19994. }
  19995. void packetl2c_req_lottery_dice_game_result::SetCachedSize(int size) const {
  19996. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19997. _cached_size_ = size;
  19998. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19999. }
  20000. const ::google::protobuf::Descriptor* packetl2c_req_lottery_dice_game_result::descriptor() {
  20001. protobuf_AssignDescriptorsOnce();
  20002. return packetl2c_req_lottery_dice_game_result_descriptor_;
  20003. }
  20004. const packetl2c_req_lottery_dice_game_result& packetl2c_req_lottery_dice_game_result::default_instance() {
  20005. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  20006. return *default_instance_;
  20007. }
  20008. packetl2c_req_lottery_dice_game_result* packetl2c_req_lottery_dice_game_result::default_instance_ = NULL;
  20009. packetl2c_req_lottery_dice_game_result* packetl2c_req_lottery_dice_game_result::New() const {
  20010. return new packetl2c_req_lottery_dice_game_result;
  20011. }
  20012. void packetl2c_req_lottery_dice_game_result::Clear() {
  20013. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20014. packet_id_ = 16201;
  20015. result_ = 0;
  20016. optype_ = 0;
  20017. curgold_ = 0;
  20018. resultnum_ = 0;
  20019. }
  20020. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20021. mutable_unknown_fields()->Clear();
  20022. }
  20023. bool packetl2c_req_lottery_dice_game_result::MergePartialFromCodedStream(
  20024. ::google::protobuf::io::CodedInputStream* input) {
  20025. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20026. ::google::protobuf::uint32 tag;
  20027. while ((tag = input->ReadTag()) != 0) {
  20028. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20029. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result];
  20030. case 1: {
  20031. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20032. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20033. int value;
  20034. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20035. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  20036. input, &value)));
  20037. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  20038. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  20039. } else {
  20040. mutable_unknown_fields()->AddVarint(1, value);
  20041. }
  20042. } else {
  20043. goto handle_uninterpreted;
  20044. }
  20045. if (input->ExpectTag(16)) goto parse_result;
  20046. break;
  20047. }
  20048. // optional int32 result = 2;
  20049. case 2: {
  20050. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20051. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20052. parse_result:
  20053. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20054. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20055. input, &result_)));
  20056. set_has_result();
  20057. } else {
  20058. goto handle_uninterpreted;
  20059. }
  20060. if (input->ExpectTag(24)) goto parse_opType;
  20061. break;
  20062. }
  20063. // optional int32 opType = 3;
  20064. case 3: {
  20065. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20066. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20067. parse_opType:
  20068. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20069. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20070. input, &optype_)));
  20071. set_has_optype();
  20072. } else {
  20073. goto handle_uninterpreted;
  20074. }
  20075. if (input->ExpectTag(32)) goto parse_curGold;
  20076. break;
  20077. }
  20078. // optional int32 curGold = 4;
  20079. case 4: {
  20080. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20081. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20082. parse_curGold:
  20083. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20084. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20085. input, &curgold_)));
  20086. set_has_curgold();
  20087. } else {
  20088. goto handle_uninterpreted;
  20089. }
  20090. if (input->ExpectTag(40)) goto parse_resultNum;
  20091. break;
  20092. }
  20093. // optional int32 resultNum = 5;
  20094. case 5: {
  20095. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20096. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20097. parse_resultNum:
  20098. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20099. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20100. input, &resultnum_)));
  20101. set_has_resultnum();
  20102. } else {
  20103. goto handle_uninterpreted;
  20104. }
  20105. if (input->ExpectAtEnd()) return true;
  20106. break;
  20107. }
  20108. default: {
  20109. handle_uninterpreted:
  20110. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20111. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20112. return true;
  20113. }
  20114. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20115. input, tag, mutable_unknown_fields()));
  20116. break;
  20117. }
  20118. }
  20119. }
  20120. return true;
  20121. #undef DO_
  20122. }
  20123. void packetl2c_req_lottery_dice_game_result::SerializeWithCachedSizes(
  20124. ::google::protobuf::io::CodedOutputStream* output) const {
  20125. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result];
  20126. if (has_packet_id()) {
  20127. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  20128. 1, this->packet_id(), output);
  20129. }
  20130. // optional int32 result = 2;
  20131. if (has_result()) {
  20132. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  20133. }
  20134. // optional int32 opType = 3;
  20135. if (has_optype()) {
  20136. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->optype(), output);
  20137. }
  20138. // optional int32 curGold = 4;
  20139. if (has_curgold()) {
  20140. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->curgold(), output);
  20141. }
  20142. // optional int32 resultNum = 5;
  20143. if (has_resultnum()) {
  20144. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->resultnum(), output);
  20145. }
  20146. if (!unknown_fields().empty()) {
  20147. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20148. unknown_fields(), output);
  20149. }
  20150. }
  20151. ::google::protobuf::uint8* packetl2c_req_lottery_dice_game_result::SerializeWithCachedSizesToArray(
  20152. ::google::protobuf::uint8* target) const {
  20153. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result];
  20154. if (has_packet_id()) {
  20155. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  20156. 1, this->packet_id(), target);
  20157. }
  20158. // optional int32 result = 2;
  20159. if (has_result()) {
  20160. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  20161. }
  20162. // optional int32 opType = 3;
  20163. if (has_optype()) {
  20164. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->optype(), target);
  20165. }
  20166. // optional int32 curGold = 4;
  20167. if (has_curgold()) {
  20168. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->curgold(), target);
  20169. }
  20170. // optional int32 resultNum = 5;
  20171. if (has_resultnum()) {
  20172. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->resultnum(), target);
  20173. }
  20174. if (!unknown_fields().empty()) {
  20175. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20176. unknown_fields(), target);
  20177. }
  20178. return target;
  20179. }
  20180. int packetl2c_req_lottery_dice_game_result::ByteSize() const {
  20181. int total_size = 0;
  20182. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20183. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result];
  20184. if (has_packet_id()) {
  20185. total_size += 1 +
  20186. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  20187. }
  20188. // optional int32 result = 2;
  20189. if (has_result()) {
  20190. total_size += 1 +
  20191. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20192. this->result());
  20193. }
  20194. // optional int32 opType = 3;
  20195. if (has_optype()) {
  20196. total_size += 1 +
  20197. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20198. this->optype());
  20199. }
  20200. // optional int32 curGold = 4;
  20201. if (has_curgold()) {
  20202. total_size += 1 +
  20203. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20204. this->curgold());
  20205. }
  20206. // optional int32 resultNum = 5;
  20207. if (has_resultnum()) {
  20208. total_size += 1 +
  20209. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20210. this->resultnum());
  20211. }
  20212. }
  20213. if (!unknown_fields().empty()) {
  20214. total_size +=
  20215. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20216. unknown_fields());
  20217. }
  20218. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20219. _cached_size_ = total_size;
  20220. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20221. return total_size;
  20222. }
  20223. void packetl2c_req_lottery_dice_game_result::MergeFrom(const ::google::protobuf::Message& from) {
  20224. GOOGLE_CHECK_NE(&from, this);
  20225. const packetl2c_req_lottery_dice_game_result* source =
  20226. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_req_lottery_dice_game_result*>(
  20227. &from);
  20228. if (source == NULL) {
  20229. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20230. } else {
  20231. MergeFrom(*source);
  20232. }
  20233. }
  20234. void packetl2c_req_lottery_dice_game_result::MergeFrom(const packetl2c_req_lottery_dice_game_result& from) {
  20235. GOOGLE_CHECK_NE(&from, this);
  20236. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20237. if (from.has_packet_id()) {
  20238. set_packet_id(from.packet_id());
  20239. }
  20240. if (from.has_result()) {
  20241. set_result(from.result());
  20242. }
  20243. if (from.has_optype()) {
  20244. set_optype(from.optype());
  20245. }
  20246. if (from.has_curgold()) {
  20247. set_curgold(from.curgold());
  20248. }
  20249. if (from.has_resultnum()) {
  20250. set_resultnum(from.resultnum());
  20251. }
  20252. }
  20253. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20254. }
  20255. void packetl2c_req_lottery_dice_game_result::CopyFrom(const ::google::protobuf::Message& from) {
  20256. if (&from == this) return;
  20257. Clear();
  20258. MergeFrom(from);
  20259. }
  20260. void packetl2c_req_lottery_dice_game_result::CopyFrom(const packetl2c_req_lottery_dice_game_result& from) {
  20261. if (&from == this) return;
  20262. Clear();
  20263. MergeFrom(from);
  20264. }
  20265. bool packetl2c_req_lottery_dice_game_result::IsInitialized() const {
  20266. return true;
  20267. }
  20268. void packetl2c_req_lottery_dice_game_result::Swap(packetl2c_req_lottery_dice_game_result* other) {
  20269. if (other != this) {
  20270. std::swap(packet_id_, other->packet_id_);
  20271. std::swap(result_, other->result_);
  20272. std::swap(optype_, other->optype_);
  20273. std::swap(curgold_, other->curgold_);
  20274. std::swap(resultnum_, other->resultnum_);
  20275. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20276. _unknown_fields_.Swap(&other->_unknown_fields_);
  20277. std::swap(_cached_size_, other->_cached_size_);
  20278. }
  20279. }
  20280. ::google::protobuf::Metadata packetl2c_req_lottery_dice_game_result::GetMetadata() const {
  20281. protobuf_AssignDescriptorsOnce();
  20282. ::google::protobuf::Metadata metadata;
  20283. metadata.descriptor = packetl2c_req_lottery_dice_game_result_descriptor_;
  20284. metadata.reflection = packetl2c_req_lottery_dice_game_result_reflection_;
  20285. return metadata;
  20286. }
  20287. // ===================================================================
  20288. #ifndef _MSC_VER
  20289. const int packetl2c_bc_dice_game_lottery_result::kPacketIdFieldNumber;
  20290. const int packetl2c_bc_dice_game_lottery_result::kPlayerIdFieldNumber;
  20291. const int packetl2c_bc_dice_game_lottery_result::kTotalGoldFieldNumber;
  20292. #endif // !_MSC_VER
  20293. packetl2c_bc_dice_game_lottery_result::packetl2c_bc_dice_game_lottery_result()
  20294. : ::google::protobuf::Message() {
  20295. SharedCtor();
  20296. }
  20297. void packetl2c_bc_dice_game_lottery_result::InitAsDefaultInstance() {
  20298. }
  20299. packetl2c_bc_dice_game_lottery_result::packetl2c_bc_dice_game_lottery_result(const packetl2c_bc_dice_game_lottery_result& from)
  20300. : ::google::protobuf::Message() {
  20301. SharedCtor();
  20302. MergeFrom(from);
  20303. }
  20304. void packetl2c_bc_dice_game_lottery_result::SharedCtor() {
  20305. _cached_size_ = 0;
  20306. packet_id_ = 16202;
  20307. playerid_ = 0;
  20308. totalgold_ = 0;
  20309. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20310. }
  20311. packetl2c_bc_dice_game_lottery_result::~packetl2c_bc_dice_game_lottery_result() {
  20312. SharedDtor();
  20313. }
  20314. void packetl2c_bc_dice_game_lottery_result::SharedDtor() {
  20315. if (this != default_instance_) {
  20316. }
  20317. }
  20318. void packetl2c_bc_dice_game_lottery_result::SetCachedSize(int size) const {
  20319. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20320. _cached_size_ = size;
  20321. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20322. }
  20323. const ::google::protobuf::Descriptor* packetl2c_bc_dice_game_lottery_result::descriptor() {
  20324. protobuf_AssignDescriptorsOnce();
  20325. return packetl2c_bc_dice_game_lottery_result_descriptor_;
  20326. }
  20327. const packetl2c_bc_dice_game_lottery_result& packetl2c_bc_dice_game_lottery_result::default_instance() {
  20328. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  20329. return *default_instance_;
  20330. }
  20331. packetl2c_bc_dice_game_lottery_result* packetl2c_bc_dice_game_lottery_result::default_instance_ = NULL;
  20332. packetl2c_bc_dice_game_lottery_result* packetl2c_bc_dice_game_lottery_result::New() const {
  20333. return new packetl2c_bc_dice_game_lottery_result;
  20334. }
  20335. void packetl2c_bc_dice_game_lottery_result::Clear() {
  20336. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20337. packet_id_ = 16202;
  20338. playerid_ = 0;
  20339. totalgold_ = 0;
  20340. }
  20341. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20342. mutable_unknown_fields()->Clear();
  20343. }
  20344. bool packetl2c_bc_dice_game_lottery_result::MergePartialFromCodedStream(
  20345. ::google::protobuf::io::CodedInputStream* input) {
  20346. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20347. ::google::protobuf::uint32 tag;
  20348. while ((tag = input->ReadTag()) != 0) {
  20349. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20350. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result];
  20351. case 1: {
  20352. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20353. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20354. int value;
  20355. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20356. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  20357. input, &value)));
  20358. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  20359. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  20360. } else {
  20361. mutable_unknown_fields()->AddVarint(1, value);
  20362. }
  20363. } else {
  20364. goto handle_uninterpreted;
  20365. }
  20366. if (input->ExpectTag(16)) goto parse_playerId;
  20367. break;
  20368. }
  20369. // optional int32 playerId = 2;
  20370. case 2: {
  20371. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20372. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20373. parse_playerId:
  20374. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20375. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20376. input, &playerid_)));
  20377. set_has_playerid();
  20378. } else {
  20379. goto handle_uninterpreted;
  20380. }
  20381. if (input->ExpectTag(24)) goto parse_totalGold;
  20382. break;
  20383. }
  20384. // optional int32 totalGold = 3;
  20385. case 3: {
  20386. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20387. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20388. parse_totalGold:
  20389. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20390. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20391. input, &totalgold_)));
  20392. set_has_totalgold();
  20393. } else {
  20394. goto handle_uninterpreted;
  20395. }
  20396. if (input->ExpectAtEnd()) return true;
  20397. break;
  20398. }
  20399. default: {
  20400. handle_uninterpreted:
  20401. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20402. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20403. return true;
  20404. }
  20405. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20406. input, tag, mutable_unknown_fields()));
  20407. break;
  20408. }
  20409. }
  20410. }
  20411. return true;
  20412. #undef DO_
  20413. }
  20414. void packetl2c_bc_dice_game_lottery_result::SerializeWithCachedSizes(
  20415. ::google::protobuf::io::CodedOutputStream* output) const {
  20416. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result];
  20417. if (has_packet_id()) {
  20418. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  20419. 1, this->packet_id(), output);
  20420. }
  20421. // optional int32 playerId = 2;
  20422. if (has_playerid()) {
  20423. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  20424. }
  20425. // optional int32 totalGold = 3;
  20426. if (has_totalgold()) {
  20427. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->totalgold(), output);
  20428. }
  20429. if (!unknown_fields().empty()) {
  20430. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20431. unknown_fields(), output);
  20432. }
  20433. }
  20434. ::google::protobuf::uint8* packetl2c_bc_dice_game_lottery_result::SerializeWithCachedSizesToArray(
  20435. ::google::protobuf::uint8* target) const {
  20436. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result];
  20437. if (has_packet_id()) {
  20438. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  20439. 1, this->packet_id(), target);
  20440. }
  20441. // optional int32 playerId = 2;
  20442. if (has_playerid()) {
  20443. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  20444. }
  20445. // optional int32 totalGold = 3;
  20446. if (has_totalgold()) {
  20447. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->totalgold(), target);
  20448. }
  20449. if (!unknown_fields().empty()) {
  20450. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20451. unknown_fields(), target);
  20452. }
  20453. return target;
  20454. }
  20455. int packetl2c_bc_dice_game_lottery_result::ByteSize() const {
  20456. int total_size = 0;
  20457. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20458. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result];
  20459. if (has_packet_id()) {
  20460. total_size += 1 +
  20461. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  20462. }
  20463. // optional int32 playerId = 2;
  20464. if (has_playerid()) {
  20465. total_size += 1 +
  20466. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20467. this->playerid());
  20468. }
  20469. // optional int32 totalGold = 3;
  20470. if (has_totalgold()) {
  20471. total_size += 1 +
  20472. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20473. this->totalgold());
  20474. }
  20475. }
  20476. if (!unknown_fields().empty()) {
  20477. total_size +=
  20478. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20479. unknown_fields());
  20480. }
  20481. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20482. _cached_size_ = total_size;
  20483. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20484. return total_size;
  20485. }
  20486. void packetl2c_bc_dice_game_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  20487. GOOGLE_CHECK_NE(&from, this);
  20488. const packetl2c_bc_dice_game_lottery_result* source =
  20489. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_dice_game_lottery_result*>(
  20490. &from);
  20491. if (source == NULL) {
  20492. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20493. } else {
  20494. MergeFrom(*source);
  20495. }
  20496. }
  20497. void packetl2c_bc_dice_game_lottery_result::MergeFrom(const packetl2c_bc_dice_game_lottery_result& from) {
  20498. GOOGLE_CHECK_NE(&from, this);
  20499. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20500. if (from.has_packet_id()) {
  20501. set_packet_id(from.packet_id());
  20502. }
  20503. if (from.has_playerid()) {
  20504. set_playerid(from.playerid());
  20505. }
  20506. if (from.has_totalgold()) {
  20507. set_totalgold(from.totalgold());
  20508. }
  20509. }
  20510. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20511. }
  20512. void packetl2c_bc_dice_game_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  20513. if (&from == this) return;
  20514. Clear();
  20515. MergeFrom(from);
  20516. }
  20517. void packetl2c_bc_dice_game_lottery_result::CopyFrom(const packetl2c_bc_dice_game_lottery_result& from) {
  20518. if (&from == this) return;
  20519. Clear();
  20520. MergeFrom(from);
  20521. }
  20522. bool packetl2c_bc_dice_game_lottery_result::IsInitialized() const {
  20523. return true;
  20524. }
  20525. void packetl2c_bc_dice_game_lottery_result::Swap(packetl2c_bc_dice_game_lottery_result* other) {
  20526. if (other != this) {
  20527. std::swap(packet_id_, other->packet_id_);
  20528. std::swap(playerid_, other->playerid_);
  20529. std::swap(totalgold_, other->totalgold_);
  20530. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20531. _unknown_fields_.Swap(&other->_unknown_fields_);
  20532. std::swap(_cached_size_, other->_cached_size_);
  20533. }
  20534. }
  20535. ::google::protobuf::Metadata packetl2c_bc_dice_game_lottery_result::GetMetadata() const {
  20536. protobuf_AssignDescriptorsOnce();
  20537. ::google::protobuf::Metadata metadata;
  20538. metadata.descriptor = packetl2c_bc_dice_game_lottery_result_descriptor_;
  20539. metadata.reflection = packetl2c_bc_dice_game_lottery_result_reflection_;
  20540. return metadata;
  20541. }
  20542. // ===================================================================
  20543. #ifndef _MSC_VER
  20544. const int packetl2c_bc_trigger_egg_treasure::kPacketIdFieldNumber;
  20545. const int packetl2c_bc_trigger_egg_treasure::kPlayerIdFieldNumber;
  20546. const int packetl2c_bc_trigger_egg_treasure::kTurrerRateFieldNumber;
  20547. #endif // !_MSC_VER
  20548. packetl2c_bc_trigger_egg_treasure::packetl2c_bc_trigger_egg_treasure()
  20549. : ::google::protobuf::Message() {
  20550. SharedCtor();
  20551. }
  20552. void packetl2c_bc_trigger_egg_treasure::InitAsDefaultInstance() {
  20553. }
  20554. packetl2c_bc_trigger_egg_treasure::packetl2c_bc_trigger_egg_treasure(const packetl2c_bc_trigger_egg_treasure& from)
  20555. : ::google::protobuf::Message() {
  20556. SharedCtor();
  20557. MergeFrom(from);
  20558. }
  20559. void packetl2c_bc_trigger_egg_treasure::SharedCtor() {
  20560. _cached_size_ = 0;
  20561. packet_id_ = 16207;
  20562. playerid_ = 0;
  20563. turrerrate_ = 0;
  20564. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20565. }
  20566. packetl2c_bc_trigger_egg_treasure::~packetl2c_bc_trigger_egg_treasure() {
  20567. SharedDtor();
  20568. }
  20569. void packetl2c_bc_trigger_egg_treasure::SharedDtor() {
  20570. if (this != default_instance_) {
  20571. }
  20572. }
  20573. void packetl2c_bc_trigger_egg_treasure::SetCachedSize(int size) const {
  20574. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20575. _cached_size_ = size;
  20576. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20577. }
  20578. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_egg_treasure::descriptor() {
  20579. protobuf_AssignDescriptorsOnce();
  20580. return packetl2c_bc_trigger_egg_treasure_descriptor_;
  20581. }
  20582. const packetl2c_bc_trigger_egg_treasure& packetl2c_bc_trigger_egg_treasure::default_instance() {
  20583. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  20584. return *default_instance_;
  20585. }
  20586. packetl2c_bc_trigger_egg_treasure* packetl2c_bc_trigger_egg_treasure::default_instance_ = NULL;
  20587. packetl2c_bc_trigger_egg_treasure* packetl2c_bc_trigger_egg_treasure::New() const {
  20588. return new packetl2c_bc_trigger_egg_treasure;
  20589. }
  20590. void packetl2c_bc_trigger_egg_treasure::Clear() {
  20591. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20592. packet_id_ = 16207;
  20593. playerid_ = 0;
  20594. turrerrate_ = 0;
  20595. }
  20596. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20597. mutable_unknown_fields()->Clear();
  20598. }
  20599. bool packetl2c_bc_trigger_egg_treasure::MergePartialFromCodedStream(
  20600. ::google::protobuf::io::CodedInputStream* input) {
  20601. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20602. ::google::protobuf::uint32 tag;
  20603. while ((tag = input->ReadTag()) != 0) {
  20604. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20605. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure];
  20606. case 1: {
  20607. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20608. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20609. int value;
  20610. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20611. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  20612. input, &value)));
  20613. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  20614. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  20615. } else {
  20616. mutable_unknown_fields()->AddVarint(1, value);
  20617. }
  20618. } else {
  20619. goto handle_uninterpreted;
  20620. }
  20621. if (input->ExpectTag(16)) goto parse_playerId;
  20622. break;
  20623. }
  20624. // optional int32 playerId = 2;
  20625. case 2: {
  20626. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20627. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20628. parse_playerId:
  20629. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20630. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20631. input, &playerid_)));
  20632. set_has_playerid();
  20633. } else {
  20634. goto handle_uninterpreted;
  20635. }
  20636. if (input->ExpectTag(24)) goto parse_turrerRate;
  20637. break;
  20638. }
  20639. // optional int32 turrerRate = 3;
  20640. case 3: {
  20641. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20642. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20643. parse_turrerRate:
  20644. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20645. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20646. input, &turrerrate_)));
  20647. set_has_turrerrate();
  20648. } else {
  20649. goto handle_uninterpreted;
  20650. }
  20651. if (input->ExpectAtEnd()) return true;
  20652. break;
  20653. }
  20654. default: {
  20655. handle_uninterpreted:
  20656. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20657. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20658. return true;
  20659. }
  20660. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20661. input, tag, mutable_unknown_fields()));
  20662. break;
  20663. }
  20664. }
  20665. }
  20666. return true;
  20667. #undef DO_
  20668. }
  20669. void packetl2c_bc_trigger_egg_treasure::SerializeWithCachedSizes(
  20670. ::google::protobuf::io::CodedOutputStream* output) const {
  20671. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure];
  20672. if (has_packet_id()) {
  20673. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  20674. 1, this->packet_id(), output);
  20675. }
  20676. // optional int32 playerId = 2;
  20677. if (has_playerid()) {
  20678. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  20679. }
  20680. // optional int32 turrerRate = 3;
  20681. if (has_turrerrate()) {
  20682. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->turrerrate(), output);
  20683. }
  20684. if (!unknown_fields().empty()) {
  20685. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20686. unknown_fields(), output);
  20687. }
  20688. }
  20689. ::google::protobuf::uint8* packetl2c_bc_trigger_egg_treasure::SerializeWithCachedSizesToArray(
  20690. ::google::protobuf::uint8* target) const {
  20691. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure];
  20692. if (has_packet_id()) {
  20693. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  20694. 1, this->packet_id(), target);
  20695. }
  20696. // optional int32 playerId = 2;
  20697. if (has_playerid()) {
  20698. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  20699. }
  20700. // optional int32 turrerRate = 3;
  20701. if (has_turrerrate()) {
  20702. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->turrerrate(), target);
  20703. }
  20704. if (!unknown_fields().empty()) {
  20705. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20706. unknown_fields(), target);
  20707. }
  20708. return target;
  20709. }
  20710. int packetl2c_bc_trigger_egg_treasure::ByteSize() const {
  20711. int total_size = 0;
  20712. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20713. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure];
  20714. if (has_packet_id()) {
  20715. total_size += 1 +
  20716. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  20717. }
  20718. // optional int32 playerId = 2;
  20719. if (has_playerid()) {
  20720. total_size += 1 +
  20721. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20722. this->playerid());
  20723. }
  20724. // optional int32 turrerRate = 3;
  20725. if (has_turrerrate()) {
  20726. total_size += 1 +
  20727. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20728. this->turrerrate());
  20729. }
  20730. }
  20731. if (!unknown_fields().empty()) {
  20732. total_size +=
  20733. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20734. unknown_fields());
  20735. }
  20736. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20737. _cached_size_ = total_size;
  20738. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20739. return total_size;
  20740. }
  20741. void packetl2c_bc_trigger_egg_treasure::MergeFrom(const ::google::protobuf::Message& from) {
  20742. GOOGLE_CHECK_NE(&from, this);
  20743. const packetl2c_bc_trigger_egg_treasure* source =
  20744. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_trigger_egg_treasure*>(
  20745. &from);
  20746. if (source == NULL) {
  20747. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20748. } else {
  20749. MergeFrom(*source);
  20750. }
  20751. }
  20752. void packetl2c_bc_trigger_egg_treasure::MergeFrom(const packetl2c_bc_trigger_egg_treasure& from) {
  20753. GOOGLE_CHECK_NE(&from, this);
  20754. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20755. if (from.has_packet_id()) {
  20756. set_packet_id(from.packet_id());
  20757. }
  20758. if (from.has_playerid()) {
  20759. set_playerid(from.playerid());
  20760. }
  20761. if (from.has_turrerrate()) {
  20762. set_turrerrate(from.turrerrate());
  20763. }
  20764. }
  20765. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20766. }
  20767. void packetl2c_bc_trigger_egg_treasure::CopyFrom(const ::google::protobuf::Message& from) {
  20768. if (&from == this) return;
  20769. Clear();
  20770. MergeFrom(from);
  20771. }
  20772. void packetl2c_bc_trigger_egg_treasure::CopyFrom(const packetl2c_bc_trigger_egg_treasure& from) {
  20773. if (&from == this) return;
  20774. Clear();
  20775. MergeFrom(from);
  20776. }
  20777. bool packetl2c_bc_trigger_egg_treasure::IsInitialized() const {
  20778. return true;
  20779. }
  20780. void packetl2c_bc_trigger_egg_treasure::Swap(packetl2c_bc_trigger_egg_treasure* other) {
  20781. if (other != this) {
  20782. std::swap(packet_id_, other->packet_id_);
  20783. std::swap(playerid_, other->playerid_);
  20784. std::swap(turrerrate_, other->turrerrate_);
  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 packetl2c_bc_trigger_egg_treasure::GetMetadata() const {
  20791. protobuf_AssignDescriptorsOnce();
  20792. ::google::protobuf::Metadata metadata;
  20793. metadata.descriptor = packetl2c_bc_trigger_egg_treasure_descriptor_;
  20794. metadata.reflection = packetl2c_bc_trigger_egg_treasure_reflection_;
  20795. return metadata;
  20796. }
  20797. // ===================================================================
  20798. #ifndef _MSC_VER
  20799. const int packetc2l_egg_treasure_lottery::kPacketIdFieldNumber;
  20800. const int packetc2l_egg_treasure_lottery::kIndexFieldNumber;
  20801. #endif // !_MSC_VER
  20802. packetc2l_egg_treasure_lottery::packetc2l_egg_treasure_lottery()
  20803. : ::google::protobuf::Message() {
  20804. SharedCtor();
  20805. }
  20806. void packetc2l_egg_treasure_lottery::InitAsDefaultInstance() {
  20807. }
  20808. packetc2l_egg_treasure_lottery::packetc2l_egg_treasure_lottery(const packetc2l_egg_treasure_lottery& from)
  20809. : ::google::protobuf::Message() {
  20810. SharedCtor();
  20811. MergeFrom(from);
  20812. }
  20813. void packetc2l_egg_treasure_lottery::SharedCtor() {
  20814. _cached_size_ = 0;
  20815. packet_id_ = 10210;
  20816. index_ = 0;
  20817. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20818. }
  20819. packetc2l_egg_treasure_lottery::~packetc2l_egg_treasure_lottery() {
  20820. SharedDtor();
  20821. }
  20822. void packetc2l_egg_treasure_lottery::SharedDtor() {
  20823. if (this != default_instance_) {
  20824. }
  20825. }
  20826. void packetc2l_egg_treasure_lottery::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* packetc2l_egg_treasure_lottery::descriptor() {
  20832. protobuf_AssignDescriptorsOnce();
  20833. return packetc2l_egg_treasure_lottery_descriptor_;
  20834. }
  20835. const packetc2l_egg_treasure_lottery& packetc2l_egg_treasure_lottery::default_instance() {
  20836. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  20837. return *default_instance_;
  20838. }
  20839. packetc2l_egg_treasure_lottery* packetc2l_egg_treasure_lottery::default_instance_ = NULL;
  20840. packetc2l_egg_treasure_lottery* packetc2l_egg_treasure_lottery::New() const {
  20841. return new packetc2l_egg_treasure_lottery;
  20842. }
  20843. void packetc2l_egg_treasure_lottery::Clear() {
  20844. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20845. packet_id_ = 10210;
  20846. index_ = 0;
  20847. }
  20848. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20849. mutable_unknown_fields()->Clear();
  20850. }
  20851. bool packetc2l_egg_treasure_lottery::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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery];
  20858. case 1: {
  20859. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20860. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20861. int value;
  20862. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20863. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  20864. input, &value)));
  20865. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  20866. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  20867. } else {
  20868. mutable_unknown_fields()->AddVarint(1, value);
  20869. }
  20870. } else {
  20871. goto handle_uninterpreted;
  20872. }
  20873. if (input->ExpectTag(16)) goto parse_index;
  20874. break;
  20875. }
  20876. // optional int32 index = 2;
  20877. case 2: {
  20878. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20879. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20880. parse_index:
  20881. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20882. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20883. input, &index_)));
  20884. set_has_index();
  20885. } else {
  20886. goto handle_uninterpreted;
  20887. }
  20888. if (input->ExpectAtEnd()) return true;
  20889. break;
  20890. }
  20891. default: {
  20892. handle_uninterpreted:
  20893. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20894. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20895. return true;
  20896. }
  20897. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20898. input, tag, mutable_unknown_fields()));
  20899. break;
  20900. }
  20901. }
  20902. }
  20903. return true;
  20904. #undef DO_
  20905. }
  20906. void packetc2l_egg_treasure_lottery::SerializeWithCachedSizes(
  20907. ::google::protobuf::io::CodedOutputStream* output) const {
  20908. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery];
  20909. if (has_packet_id()) {
  20910. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  20911. 1, this->packet_id(), output);
  20912. }
  20913. // optional int32 index = 2;
  20914. if (has_index()) {
  20915. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  20916. }
  20917. if (!unknown_fields().empty()) {
  20918. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20919. unknown_fields(), output);
  20920. }
  20921. }
  20922. ::google::protobuf::uint8* packetc2l_egg_treasure_lottery::SerializeWithCachedSizesToArray(
  20923. ::google::protobuf::uint8* target) const {
  20924. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery];
  20925. if (has_packet_id()) {
  20926. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  20927. 1, this->packet_id(), target);
  20928. }
  20929. // optional int32 index = 2;
  20930. if (has_index()) {
  20931. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  20932. }
  20933. if (!unknown_fields().empty()) {
  20934. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20935. unknown_fields(), target);
  20936. }
  20937. return target;
  20938. }
  20939. int packetc2l_egg_treasure_lottery::ByteSize() const {
  20940. int total_size = 0;
  20941. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20942. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery];
  20943. if (has_packet_id()) {
  20944. total_size += 1 +
  20945. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  20946. }
  20947. // optional int32 index = 2;
  20948. if (has_index()) {
  20949. total_size += 1 +
  20950. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20951. this->index());
  20952. }
  20953. }
  20954. if (!unknown_fields().empty()) {
  20955. total_size +=
  20956. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20957. unknown_fields());
  20958. }
  20959. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20960. _cached_size_ = total_size;
  20961. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20962. return total_size;
  20963. }
  20964. void packetc2l_egg_treasure_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  20965. GOOGLE_CHECK_NE(&from, this);
  20966. const packetc2l_egg_treasure_lottery* source =
  20967. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_egg_treasure_lottery*>(
  20968. &from);
  20969. if (source == NULL) {
  20970. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20971. } else {
  20972. MergeFrom(*source);
  20973. }
  20974. }
  20975. void packetc2l_egg_treasure_lottery::MergeFrom(const packetc2l_egg_treasure_lottery& from) {
  20976. GOOGLE_CHECK_NE(&from, this);
  20977. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20978. if (from.has_packet_id()) {
  20979. set_packet_id(from.packet_id());
  20980. }
  20981. if (from.has_index()) {
  20982. set_index(from.index());
  20983. }
  20984. }
  20985. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20986. }
  20987. void packetc2l_egg_treasure_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  20988. if (&from == this) return;
  20989. Clear();
  20990. MergeFrom(from);
  20991. }
  20992. void packetc2l_egg_treasure_lottery::CopyFrom(const packetc2l_egg_treasure_lottery& from) {
  20993. if (&from == this) return;
  20994. Clear();
  20995. MergeFrom(from);
  20996. }
  20997. bool packetc2l_egg_treasure_lottery::IsInitialized() const {
  20998. return true;
  20999. }
  21000. void packetc2l_egg_treasure_lottery::Swap(packetc2l_egg_treasure_lottery* other) {
  21001. if (other != this) {
  21002. std::swap(packet_id_, other->packet_id_);
  21003. std::swap(index_, other->index_);
  21004. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21005. _unknown_fields_.Swap(&other->_unknown_fields_);
  21006. std::swap(_cached_size_, other->_cached_size_);
  21007. }
  21008. }
  21009. ::google::protobuf::Metadata packetc2l_egg_treasure_lottery::GetMetadata() const {
  21010. protobuf_AssignDescriptorsOnce();
  21011. ::google::protobuf::Metadata metadata;
  21012. metadata.descriptor = packetc2l_egg_treasure_lottery_descriptor_;
  21013. metadata.reflection = packetc2l_egg_treasure_lottery_reflection_;
  21014. return metadata;
  21015. }
  21016. // ===================================================================
  21017. #ifndef _MSC_VER
  21018. const int packetl2c_egg_treasure_lottery_result::kPacketIdFieldNumber;
  21019. const int packetl2c_egg_treasure_lottery_result::kPlayerIdFieldNumber;
  21020. const int packetl2c_egg_treasure_lottery_result::kResultFieldNumber;
  21021. const int packetl2c_egg_treasure_lottery_result::kIndexFieldNumber;
  21022. const int packetl2c_egg_treasure_lottery_result::kGoldFieldNumber;
  21023. const int packetl2c_egg_treasure_lottery_result::kCoinFieldNumber;
  21024. #endif // !_MSC_VER
  21025. packetl2c_egg_treasure_lottery_result::packetl2c_egg_treasure_lottery_result()
  21026. : ::google::protobuf::Message() {
  21027. SharedCtor();
  21028. }
  21029. void packetl2c_egg_treasure_lottery_result::InitAsDefaultInstance() {
  21030. }
  21031. packetl2c_egg_treasure_lottery_result::packetl2c_egg_treasure_lottery_result(const packetl2c_egg_treasure_lottery_result& from)
  21032. : ::google::protobuf::Message() {
  21033. SharedCtor();
  21034. MergeFrom(from);
  21035. }
  21036. void packetl2c_egg_treasure_lottery_result::SharedCtor() {
  21037. _cached_size_ = 0;
  21038. packet_id_ = 16208;
  21039. playerid_ = 0;
  21040. result_ = 0;
  21041. index_ = 0;
  21042. gold_ = 0;
  21043. coin_ = 0;
  21044. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21045. }
  21046. packetl2c_egg_treasure_lottery_result::~packetl2c_egg_treasure_lottery_result() {
  21047. SharedDtor();
  21048. }
  21049. void packetl2c_egg_treasure_lottery_result::SharedDtor() {
  21050. if (this != default_instance_) {
  21051. }
  21052. }
  21053. void packetl2c_egg_treasure_lottery_result::SetCachedSize(int size) const {
  21054. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21055. _cached_size_ = size;
  21056. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21057. }
  21058. const ::google::protobuf::Descriptor* packetl2c_egg_treasure_lottery_result::descriptor() {
  21059. protobuf_AssignDescriptorsOnce();
  21060. return packetl2c_egg_treasure_lottery_result_descriptor_;
  21061. }
  21062. const packetl2c_egg_treasure_lottery_result& packetl2c_egg_treasure_lottery_result::default_instance() {
  21063. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  21064. return *default_instance_;
  21065. }
  21066. packetl2c_egg_treasure_lottery_result* packetl2c_egg_treasure_lottery_result::default_instance_ = NULL;
  21067. packetl2c_egg_treasure_lottery_result* packetl2c_egg_treasure_lottery_result::New() const {
  21068. return new packetl2c_egg_treasure_lottery_result;
  21069. }
  21070. void packetl2c_egg_treasure_lottery_result::Clear() {
  21071. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21072. packet_id_ = 16208;
  21073. playerid_ = 0;
  21074. result_ = 0;
  21075. index_ = 0;
  21076. gold_ = 0;
  21077. coin_ = 0;
  21078. }
  21079. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21080. mutable_unknown_fields()->Clear();
  21081. }
  21082. bool packetl2c_egg_treasure_lottery_result::MergePartialFromCodedStream(
  21083. ::google::protobuf::io::CodedInputStream* input) {
  21084. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21085. ::google::protobuf::uint32 tag;
  21086. while ((tag = input->ReadTag()) != 0) {
  21087. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21088. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result];
  21089. case 1: {
  21090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21092. int value;
  21093. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21094. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21095. input, &value)));
  21096. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  21097. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  21098. } else {
  21099. mutable_unknown_fields()->AddVarint(1, value);
  21100. }
  21101. } else {
  21102. goto handle_uninterpreted;
  21103. }
  21104. if (input->ExpectTag(16)) goto parse_playerId;
  21105. break;
  21106. }
  21107. // optional int32 playerId = 2;
  21108. case 2: {
  21109. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21110. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21111. parse_playerId:
  21112. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21113. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21114. input, &playerid_)));
  21115. set_has_playerid();
  21116. } else {
  21117. goto handle_uninterpreted;
  21118. }
  21119. if (input->ExpectTag(24)) goto parse_result;
  21120. break;
  21121. }
  21122. // optional int32 result = 3;
  21123. case 3: {
  21124. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21125. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21126. parse_result:
  21127. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21128. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21129. input, &result_)));
  21130. set_has_result();
  21131. } else {
  21132. goto handle_uninterpreted;
  21133. }
  21134. if (input->ExpectTag(32)) goto parse_index;
  21135. break;
  21136. }
  21137. // optional int32 index = 4;
  21138. case 4: {
  21139. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21140. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21141. parse_index:
  21142. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21143. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21144. input, &index_)));
  21145. set_has_index();
  21146. } else {
  21147. goto handle_uninterpreted;
  21148. }
  21149. if (input->ExpectTag(40)) goto parse_gold;
  21150. break;
  21151. }
  21152. // optional int32 gold = 5;
  21153. case 5: {
  21154. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21155. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21156. parse_gold:
  21157. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21158. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21159. input, &gold_)));
  21160. set_has_gold();
  21161. } else {
  21162. goto handle_uninterpreted;
  21163. }
  21164. if (input->ExpectTag(48)) goto parse_coin;
  21165. break;
  21166. }
  21167. // optional int32 coin = 6;
  21168. case 6: {
  21169. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21170. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21171. parse_coin:
  21172. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21173. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21174. input, &coin_)));
  21175. set_has_coin();
  21176. } else {
  21177. goto handle_uninterpreted;
  21178. }
  21179. if (input->ExpectAtEnd()) return true;
  21180. break;
  21181. }
  21182. default: {
  21183. handle_uninterpreted:
  21184. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21185. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21186. return true;
  21187. }
  21188. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21189. input, tag, mutable_unknown_fields()));
  21190. break;
  21191. }
  21192. }
  21193. }
  21194. return true;
  21195. #undef DO_
  21196. }
  21197. void packetl2c_egg_treasure_lottery_result::SerializeWithCachedSizes(
  21198. ::google::protobuf::io::CodedOutputStream* output) const {
  21199. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result];
  21200. if (has_packet_id()) {
  21201. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21202. 1, this->packet_id(), output);
  21203. }
  21204. // optional int32 playerId = 2;
  21205. if (has_playerid()) {
  21206. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  21207. }
  21208. // optional int32 result = 3;
  21209. if (has_result()) {
  21210. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  21211. }
  21212. // optional int32 index = 4;
  21213. if (has_index()) {
  21214. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->index(), output);
  21215. }
  21216. // optional int32 gold = 5;
  21217. if (has_gold()) {
  21218. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gold(), output);
  21219. }
  21220. // optional int32 coin = 6;
  21221. if (has_coin()) {
  21222. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->coin(), output);
  21223. }
  21224. if (!unknown_fields().empty()) {
  21225. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21226. unknown_fields(), output);
  21227. }
  21228. }
  21229. ::google::protobuf::uint8* packetl2c_egg_treasure_lottery_result::SerializeWithCachedSizesToArray(
  21230. ::google::protobuf::uint8* target) const {
  21231. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result];
  21232. if (has_packet_id()) {
  21233. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21234. 1, this->packet_id(), target);
  21235. }
  21236. // optional int32 playerId = 2;
  21237. if (has_playerid()) {
  21238. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  21239. }
  21240. // optional int32 result = 3;
  21241. if (has_result()) {
  21242. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  21243. }
  21244. // optional int32 index = 4;
  21245. if (has_index()) {
  21246. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->index(), target);
  21247. }
  21248. // optional int32 gold = 5;
  21249. if (has_gold()) {
  21250. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gold(), target);
  21251. }
  21252. // optional int32 coin = 6;
  21253. if (has_coin()) {
  21254. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->coin(), target);
  21255. }
  21256. if (!unknown_fields().empty()) {
  21257. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21258. unknown_fields(), target);
  21259. }
  21260. return target;
  21261. }
  21262. int packetl2c_egg_treasure_lottery_result::ByteSize() const {
  21263. int total_size = 0;
  21264. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21265. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result];
  21266. if (has_packet_id()) {
  21267. total_size += 1 +
  21268. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  21269. }
  21270. // optional int32 playerId = 2;
  21271. if (has_playerid()) {
  21272. total_size += 1 +
  21273. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21274. this->playerid());
  21275. }
  21276. // optional int32 result = 3;
  21277. if (has_result()) {
  21278. total_size += 1 +
  21279. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21280. this->result());
  21281. }
  21282. // optional int32 index = 4;
  21283. if (has_index()) {
  21284. total_size += 1 +
  21285. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21286. this->index());
  21287. }
  21288. // optional int32 gold = 5;
  21289. if (has_gold()) {
  21290. total_size += 1 +
  21291. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21292. this->gold());
  21293. }
  21294. // optional int32 coin = 6;
  21295. if (has_coin()) {
  21296. total_size += 1 +
  21297. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21298. this->coin());
  21299. }
  21300. }
  21301. if (!unknown_fields().empty()) {
  21302. total_size +=
  21303. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21304. unknown_fields());
  21305. }
  21306. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21307. _cached_size_ = total_size;
  21308. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21309. return total_size;
  21310. }
  21311. void packetl2c_egg_treasure_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  21312. GOOGLE_CHECK_NE(&from, this);
  21313. const packetl2c_egg_treasure_lottery_result* source =
  21314. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_egg_treasure_lottery_result*>(
  21315. &from);
  21316. if (source == NULL) {
  21317. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21318. } else {
  21319. MergeFrom(*source);
  21320. }
  21321. }
  21322. void packetl2c_egg_treasure_lottery_result::MergeFrom(const packetl2c_egg_treasure_lottery_result& from) {
  21323. GOOGLE_CHECK_NE(&from, this);
  21324. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21325. if (from.has_packet_id()) {
  21326. set_packet_id(from.packet_id());
  21327. }
  21328. if (from.has_playerid()) {
  21329. set_playerid(from.playerid());
  21330. }
  21331. if (from.has_result()) {
  21332. set_result(from.result());
  21333. }
  21334. if (from.has_index()) {
  21335. set_index(from.index());
  21336. }
  21337. if (from.has_gold()) {
  21338. set_gold(from.gold());
  21339. }
  21340. if (from.has_coin()) {
  21341. set_coin(from.coin());
  21342. }
  21343. }
  21344. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21345. }
  21346. void packetl2c_egg_treasure_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  21347. if (&from == this) return;
  21348. Clear();
  21349. MergeFrom(from);
  21350. }
  21351. void packetl2c_egg_treasure_lottery_result::CopyFrom(const packetl2c_egg_treasure_lottery_result& from) {
  21352. if (&from == this) return;
  21353. Clear();
  21354. MergeFrom(from);
  21355. }
  21356. bool packetl2c_egg_treasure_lottery_result::IsInitialized() const {
  21357. return true;
  21358. }
  21359. void packetl2c_egg_treasure_lottery_result::Swap(packetl2c_egg_treasure_lottery_result* other) {
  21360. if (other != this) {
  21361. std::swap(packet_id_, other->packet_id_);
  21362. std::swap(playerid_, other->playerid_);
  21363. std::swap(result_, other->result_);
  21364. std::swap(index_, other->index_);
  21365. std::swap(gold_, other->gold_);
  21366. std::swap(coin_, other->coin_);
  21367. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21368. _unknown_fields_.Swap(&other->_unknown_fields_);
  21369. std::swap(_cached_size_, other->_cached_size_);
  21370. }
  21371. }
  21372. ::google::protobuf::Metadata packetl2c_egg_treasure_lottery_result::GetMetadata() const {
  21373. protobuf_AssignDescriptorsOnce();
  21374. ::google::protobuf::Metadata metadata;
  21375. metadata.descriptor = packetl2c_egg_treasure_lottery_result_descriptor_;
  21376. metadata.reflection = packetl2c_egg_treasure_lottery_result_reflection_;
  21377. return metadata;
  21378. }
  21379. // ===================================================================
  21380. #ifndef _MSC_VER
  21381. const int packetc2l_change_room_rate::kPacketIdFieldNumber;
  21382. const int packetc2l_change_room_rate::kRateFieldNumber;
  21383. #endif // !_MSC_VER
  21384. packetc2l_change_room_rate::packetc2l_change_room_rate()
  21385. : ::google::protobuf::Message() {
  21386. SharedCtor();
  21387. }
  21388. void packetc2l_change_room_rate::InitAsDefaultInstance() {
  21389. }
  21390. packetc2l_change_room_rate::packetc2l_change_room_rate(const packetc2l_change_room_rate& from)
  21391. : ::google::protobuf::Message() {
  21392. SharedCtor();
  21393. MergeFrom(from);
  21394. }
  21395. void packetc2l_change_room_rate::SharedCtor() {
  21396. _cached_size_ = 0;
  21397. packet_id_ = 10205;
  21398. rate_ = 0;
  21399. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21400. }
  21401. packetc2l_change_room_rate::~packetc2l_change_room_rate() {
  21402. SharedDtor();
  21403. }
  21404. void packetc2l_change_room_rate::SharedDtor() {
  21405. if (this != default_instance_) {
  21406. }
  21407. }
  21408. void packetc2l_change_room_rate::SetCachedSize(int size) const {
  21409. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21410. _cached_size_ = size;
  21411. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21412. }
  21413. const ::google::protobuf::Descriptor* packetc2l_change_room_rate::descriptor() {
  21414. protobuf_AssignDescriptorsOnce();
  21415. return packetc2l_change_room_rate_descriptor_;
  21416. }
  21417. const packetc2l_change_room_rate& packetc2l_change_room_rate::default_instance() {
  21418. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  21419. return *default_instance_;
  21420. }
  21421. packetc2l_change_room_rate* packetc2l_change_room_rate::default_instance_ = NULL;
  21422. packetc2l_change_room_rate* packetc2l_change_room_rate::New() const {
  21423. return new packetc2l_change_room_rate;
  21424. }
  21425. void packetc2l_change_room_rate::Clear() {
  21426. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21427. packet_id_ = 10205;
  21428. rate_ = 0;
  21429. }
  21430. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21431. mutable_unknown_fields()->Clear();
  21432. }
  21433. bool packetc2l_change_room_rate::MergePartialFromCodedStream(
  21434. ::google::protobuf::io::CodedInputStream* input) {
  21435. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21436. ::google::protobuf::uint32 tag;
  21437. while ((tag = input->ReadTag()) != 0) {
  21438. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21439. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate];
  21440. case 1: {
  21441. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21442. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21443. int value;
  21444. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21445. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21446. input, &value)));
  21447. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  21448. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  21449. } else {
  21450. mutable_unknown_fields()->AddVarint(1, value);
  21451. }
  21452. } else {
  21453. goto handle_uninterpreted;
  21454. }
  21455. if (input->ExpectTag(16)) goto parse_rate;
  21456. break;
  21457. }
  21458. // optional int32 rate = 2;
  21459. case 2: {
  21460. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21461. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21462. parse_rate:
  21463. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21464. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21465. input, &rate_)));
  21466. set_has_rate();
  21467. } else {
  21468. goto handle_uninterpreted;
  21469. }
  21470. if (input->ExpectAtEnd()) return true;
  21471. break;
  21472. }
  21473. default: {
  21474. handle_uninterpreted:
  21475. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21476. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21477. return true;
  21478. }
  21479. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21480. input, tag, mutable_unknown_fields()));
  21481. break;
  21482. }
  21483. }
  21484. }
  21485. return true;
  21486. #undef DO_
  21487. }
  21488. void packetc2l_change_room_rate::SerializeWithCachedSizes(
  21489. ::google::protobuf::io::CodedOutputStream* output) const {
  21490. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate];
  21491. if (has_packet_id()) {
  21492. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21493. 1, this->packet_id(), output);
  21494. }
  21495. // optional int32 rate = 2;
  21496. if (has_rate()) {
  21497. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rate(), output);
  21498. }
  21499. if (!unknown_fields().empty()) {
  21500. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21501. unknown_fields(), output);
  21502. }
  21503. }
  21504. ::google::protobuf::uint8* packetc2l_change_room_rate::SerializeWithCachedSizesToArray(
  21505. ::google::protobuf::uint8* target) const {
  21506. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate];
  21507. if (has_packet_id()) {
  21508. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21509. 1, this->packet_id(), target);
  21510. }
  21511. // optional int32 rate = 2;
  21512. if (has_rate()) {
  21513. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rate(), target);
  21514. }
  21515. if (!unknown_fields().empty()) {
  21516. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21517. unknown_fields(), target);
  21518. }
  21519. return target;
  21520. }
  21521. int packetc2l_change_room_rate::ByteSize() const {
  21522. int total_size = 0;
  21523. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21524. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate];
  21525. if (has_packet_id()) {
  21526. total_size += 1 +
  21527. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  21528. }
  21529. // optional int32 rate = 2;
  21530. if (has_rate()) {
  21531. total_size += 1 +
  21532. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21533. this->rate());
  21534. }
  21535. }
  21536. if (!unknown_fields().empty()) {
  21537. total_size +=
  21538. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21539. unknown_fields());
  21540. }
  21541. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21542. _cached_size_ = total_size;
  21543. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21544. return total_size;
  21545. }
  21546. void packetc2l_change_room_rate::MergeFrom(const ::google::protobuf::Message& from) {
  21547. GOOGLE_CHECK_NE(&from, this);
  21548. const packetc2l_change_room_rate* source =
  21549. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_change_room_rate*>(
  21550. &from);
  21551. if (source == NULL) {
  21552. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21553. } else {
  21554. MergeFrom(*source);
  21555. }
  21556. }
  21557. void packetc2l_change_room_rate::MergeFrom(const packetc2l_change_room_rate& from) {
  21558. GOOGLE_CHECK_NE(&from, this);
  21559. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21560. if (from.has_packet_id()) {
  21561. set_packet_id(from.packet_id());
  21562. }
  21563. if (from.has_rate()) {
  21564. set_rate(from.rate());
  21565. }
  21566. }
  21567. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21568. }
  21569. void packetc2l_change_room_rate::CopyFrom(const ::google::protobuf::Message& from) {
  21570. if (&from == this) return;
  21571. Clear();
  21572. MergeFrom(from);
  21573. }
  21574. void packetc2l_change_room_rate::CopyFrom(const packetc2l_change_room_rate& from) {
  21575. if (&from == this) return;
  21576. Clear();
  21577. MergeFrom(from);
  21578. }
  21579. bool packetc2l_change_room_rate::IsInitialized() const {
  21580. return true;
  21581. }
  21582. void packetc2l_change_room_rate::Swap(packetc2l_change_room_rate* other) {
  21583. if (other != this) {
  21584. std::swap(packet_id_, other->packet_id_);
  21585. std::swap(rate_, other->rate_);
  21586. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21587. _unknown_fields_.Swap(&other->_unknown_fields_);
  21588. std::swap(_cached_size_, other->_cached_size_);
  21589. }
  21590. }
  21591. ::google::protobuf::Metadata packetc2l_change_room_rate::GetMetadata() const {
  21592. protobuf_AssignDescriptorsOnce();
  21593. ::google::protobuf::Metadata metadata;
  21594. metadata.descriptor = packetc2l_change_room_rate_descriptor_;
  21595. metadata.reflection = packetc2l_change_room_rate_reflection_;
  21596. return metadata;
  21597. }
  21598. // ===================================================================
  21599. #ifndef _MSC_VER
  21600. const int packetl2c_change_room_rate_result::kPacketIdFieldNumber;
  21601. const int packetl2c_change_room_rate_result::kResultFieldNumber;
  21602. const int packetl2c_change_room_rate_result::kRateFieldNumber;
  21603. #endif // !_MSC_VER
  21604. packetl2c_change_room_rate_result::packetl2c_change_room_rate_result()
  21605. : ::google::protobuf::Message() {
  21606. SharedCtor();
  21607. }
  21608. void packetl2c_change_room_rate_result::InitAsDefaultInstance() {
  21609. }
  21610. packetl2c_change_room_rate_result::packetl2c_change_room_rate_result(const packetl2c_change_room_rate_result& from)
  21611. : ::google::protobuf::Message() {
  21612. SharedCtor();
  21613. MergeFrom(from);
  21614. }
  21615. void packetl2c_change_room_rate_result::SharedCtor() {
  21616. _cached_size_ = 0;
  21617. packet_id_ = 16190;
  21618. result_ = 0;
  21619. rate_ = 0;
  21620. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21621. }
  21622. packetl2c_change_room_rate_result::~packetl2c_change_room_rate_result() {
  21623. SharedDtor();
  21624. }
  21625. void packetl2c_change_room_rate_result::SharedDtor() {
  21626. if (this != default_instance_) {
  21627. }
  21628. }
  21629. void packetl2c_change_room_rate_result::SetCachedSize(int size) const {
  21630. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21631. _cached_size_ = size;
  21632. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21633. }
  21634. const ::google::protobuf::Descriptor* packetl2c_change_room_rate_result::descriptor() {
  21635. protobuf_AssignDescriptorsOnce();
  21636. return packetl2c_change_room_rate_result_descriptor_;
  21637. }
  21638. const packetl2c_change_room_rate_result& packetl2c_change_room_rate_result::default_instance() {
  21639. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  21640. return *default_instance_;
  21641. }
  21642. packetl2c_change_room_rate_result* packetl2c_change_room_rate_result::default_instance_ = NULL;
  21643. packetl2c_change_room_rate_result* packetl2c_change_room_rate_result::New() const {
  21644. return new packetl2c_change_room_rate_result;
  21645. }
  21646. void packetl2c_change_room_rate_result::Clear() {
  21647. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21648. packet_id_ = 16190;
  21649. result_ = 0;
  21650. rate_ = 0;
  21651. }
  21652. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21653. mutable_unknown_fields()->Clear();
  21654. }
  21655. bool packetl2c_change_room_rate_result::MergePartialFromCodedStream(
  21656. ::google::protobuf::io::CodedInputStream* input) {
  21657. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21658. ::google::protobuf::uint32 tag;
  21659. while ((tag = input->ReadTag()) != 0) {
  21660. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21661. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result];
  21662. case 1: {
  21663. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21664. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21665. int value;
  21666. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21667. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21668. input, &value)));
  21669. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  21670. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  21671. } else {
  21672. mutable_unknown_fields()->AddVarint(1, value);
  21673. }
  21674. } else {
  21675. goto handle_uninterpreted;
  21676. }
  21677. if (input->ExpectTag(16)) goto parse_result;
  21678. break;
  21679. }
  21680. // optional int32 result = 2;
  21681. case 2: {
  21682. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21683. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21684. parse_result:
  21685. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21686. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21687. input, &result_)));
  21688. set_has_result();
  21689. } else {
  21690. goto handle_uninterpreted;
  21691. }
  21692. if (input->ExpectTag(24)) goto parse_rate;
  21693. break;
  21694. }
  21695. // optional int32 rate = 3;
  21696. case 3: {
  21697. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21698. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21699. parse_rate:
  21700. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21701. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21702. input, &rate_)));
  21703. set_has_rate();
  21704. } else {
  21705. goto handle_uninterpreted;
  21706. }
  21707. if (input->ExpectAtEnd()) return true;
  21708. break;
  21709. }
  21710. default: {
  21711. handle_uninterpreted:
  21712. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21713. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21714. return true;
  21715. }
  21716. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21717. input, tag, mutable_unknown_fields()));
  21718. break;
  21719. }
  21720. }
  21721. }
  21722. return true;
  21723. #undef DO_
  21724. }
  21725. void packetl2c_change_room_rate_result::SerializeWithCachedSizes(
  21726. ::google::protobuf::io::CodedOutputStream* output) const {
  21727. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result];
  21728. if (has_packet_id()) {
  21729. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21730. 1, this->packet_id(), output);
  21731. }
  21732. // optional int32 result = 2;
  21733. if (has_result()) {
  21734. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  21735. }
  21736. // optional int32 rate = 3;
  21737. if (has_rate()) {
  21738. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rate(), output);
  21739. }
  21740. if (!unknown_fields().empty()) {
  21741. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21742. unknown_fields(), output);
  21743. }
  21744. }
  21745. ::google::protobuf::uint8* packetl2c_change_room_rate_result::SerializeWithCachedSizesToArray(
  21746. ::google::protobuf::uint8* target) const {
  21747. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result];
  21748. if (has_packet_id()) {
  21749. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21750. 1, this->packet_id(), target);
  21751. }
  21752. // optional int32 result = 2;
  21753. if (has_result()) {
  21754. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  21755. }
  21756. // optional int32 rate = 3;
  21757. if (has_rate()) {
  21758. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rate(), target);
  21759. }
  21760. if (!unknown_fields().empty()) {
  21761. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21762. unknown_fields(), target);
  21763. }
  21764. return target;
  21765. }
  21766. int packetl2c_change_room_rate_result::ByteSize() const {
  21767. int total_size = 0;
  21768. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21769. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result];
  21770. if (has_packet_id()) {
  21771. total_size += 1 +
  21772. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  21773. }
  21774. // optional int32 result = 2;
  21775. if (has_result()) {
  21776. total_size += 1 +
  21777. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21778. this->result());
  21779. }
  21780. // optional int32 rate = 3;
  21781. if (has_rate()) {
  21782. total_size += 1 +
  21783. ::google::protobuf::internal::WireFormatLite::Int32Size(
  21784. this->rate());
  21785. }
  21786. }
  21787. if (!unknown_fields().empty()) {
  21788. total_size +=
  21789. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  21790. unknown_fields());
  21791. }
  21792. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21793. _cached_size_ = total_size;
  21794. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21795. return total_size;
  21796. }
  21797. void packetl2c_change_room_rate_result::MergeFrom(const ::google::protobuf::Message& from) {
  21798. GOOGLE_CHECK_NE(&from, this);
  21799. const packetl2c_change_room_rate_result* source =
  21800. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_change_room_rate_result*>(
  21801. &from);
  21802. if (source == NULL) {
  21803. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  21804. } else {
  21805. MergeFrom(*source);
  21806. }
  21807. }
  21808. void packetl2c_change_room_rate_result::MergeFrom(const packetl2c_change_room_rate_result& from) {
  21809. GOOGLE_CHECK_NE(&from, this);
  21810. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21811. if (from.has_packet_id()) {
  21812. set_packet_id(from.packet_id());
  21813. }
  21814. if (from.has_result()) {
  21815. set_result(from.result());
  21816. }
  21817. if (from.has_rate()) {
  21818. set_rate(from.rate());
  21819. }
  21820. }
  21821. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  21822. }
  21823. void packetl2c_change_room_rate_result::CopyFrom(const ::google::protobuf::Message& from) {
  21824. if (&from == this) return;
  21825. Clear();
  21826. MergeFrom(from);
  21827. }
  21828. void packetl2c_change_room_rate_result::CopyFrom(const packetl2c_change_room_rate_result& from) {
  21829. if (&from == this) return;
  21830. Clear();
  21831. MergeFrom(from);
  21832. }
  21833. bool packetl2c_change_room_rate_result::IsInitialized() const {
  21834. return true;
  21835. }
  21836. void packetl2c_change_room_rate_result::Swap(packetl2c_change_room_rate_result* other) {
  21837. if (other != this) {
  21838. std::swap(packet_id_, other->packet_id_);
  21839. std::swap(result_, other->result_);
  21840. std::swap(rate_, other->rate_);
  21841. std::swap(_has_bits_[0], other->_has_bits_[0]);
  21842. _unknown_fields_.Swap(&other->_unknown_fields_);
  21843. std::swap(_cached_size_, other->_cached_size_);
  21844. }
  21845. }
  21846. ::google::protobuf::Metadata packetl2c_change_room_rate_result::GetMetadata() const {
  21847. protobuf_AssignDescriptorsOnce();
  21848. ::google::protobuf::Metadata metadata;
  21849. metadata.descriptor = packetl2c_change_room_rate_result_descriptor_;
  21850. metadata.reflection = packetl2c_change_room_rate_result_reflection_;
  21851. return metadata;
  21852. }
  21853. // ===================================================================
  21854. #ifndef _MSC_VER
  21855. const int packetc2l_change_bullet_power::kPacketIdFieldNumber;
  21856. const int packetc2l_change_bullet_power::kRateFieldNumber;
  21857. #endif // !_MSC_VER
  21858. packetc2l_change_bullet_power::packetc2l_change_bullet_power()
  21859. : ::google::protobuf::Message() {
  21860. SharedCtor();
  21861. }
  21862. void packetc2l_change_bullet_power::InitAsDefaultInstance() {
  21863. }
  21864. packetc2l_change_bullet_power::packetc2l_change_bullet_power(const packetc2l_change_bullet_power& from)
  21865. : ::google::protobuf::Message() {
  21866. SharedCtor();
  21867. MergeFrom(from);
  21868. }
  21869. void packetc2l_change_bullet_power::SharedCtor() {
  21870. _cached_size_ = 0;
  21871. packet_id_ = 10229;
  21872. rate_ = 0;
  21873. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21874. }
  21875. packetc2l_change_bullet_power::~packetc2l_change_bullet_power() {
  21876. SharedDtor();
  21877. }
  21878. void packetc2l_change_bullet_power::SharedDtor() {
  21879. if (this != default_instance_) {
  21880. }
  21881. }
  21882. void packetc2l_change_bullet_power::SetCachedSize(int size) const {
  21883. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  21884. _cached_size_ = size;
  21885. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  21886. }
  21887. const ::google::protobuf::Descriptor* packetc2l_change_bullet_power::descriptor() {
  21888. protobuf_AssignDescriptorsOnce();
  21889. return packetc2l_change_bullet_power_descriptor_;
  21890. }
  21891. const packetc2l_change_bullet_power& packetc2l_change_bullet_power::default_instance() {
  21892. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  21893. return *default_instance_;
  21894. }
  21895. packetc2l_change_bullet_power* packetc2l_change_bullet_power::default_instance_ = NULL;
  21896. packetc2l_change_bullet_power* packetc2l_change_bullet_power::New() const {
  21897. return new packetc2l_change_bullet_power;
  21898. }
  21899. void packetc2l_change_bullet_power::Clear() {
  21900. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21901. packet_id_ = 10229;
  21902. rate_ = 0;
  21903. }
  21904. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  21905. mutable_unknown_fields()->Clear();
  21906. }
  21907. bool packetc2l_change_bullet_power::MergePartialFromCodedStream(
  21908. ::google::protobuf::io::CodedInputStream* input) {
  21909. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  21910. ::google::protobuf::uint32 tag;
  21911. while ((tag = input->ReadTag()) != 0) {
  21912. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  21913. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power];
  21914. case 1: {
  21915. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21916. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21917. int value;
  21918. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21919. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  21920. input, &value)));
  21921. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  21922. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  21923. } else {
  21924. mutable_unknown_fields()->AddVarint(1, value);
  21925. }
  21926. } else {
  21927. goto handle_uninterpreted;
  21928. }
  21929. if (input->ExpectTag(16)) goto parse_rate;
  21930. break;
  21931. }
  21932. // optional int32 rate = 2;
  21933. case 2: {
  21934. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21935. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  21936. parse_rate:
  21937. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  21938. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  21939. input, &rate_)));
  21940. set_has_rate();
  21941. } else {
  21942. goto handle_uninterpreted;
  21943. }
  21944. if (input->ExpectAtEnd()) return true;
  21945. break;
  21946. }
  21947. default: {
  21948. handle_uninterpreted:
  21949. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  21950. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  21951. return true;
  21952. }
  21953. DO_(::google::protobuf::internal::WireFormat::SkipField(
  21954. input, tag, mutable_unknown_fields()));
  21955. break;
  21956. }
  21957. }
  21958. }
  21959. return true;
  21960. #undef DO_
  21961. }
  21962. void packetc2l_change_bullet_power::SerializeWithCachedSizes(
  21963. ::google::protobuf::io::CodedOutputStream* output) const {
  21964. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power];
  21965. if (has_packet_id()) {
  21966. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  21967. 1, this->packet_id(), output);
  21968. }
  21969. // optional int32 rate = 2;
  21970. if (has_rate()) {
  21971. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rate(), output);
  21972. }
  21973. if (!unknown_fields().empty()) {
  21974. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  21975. unknown_fields(), output);
  21976. }
  21977. }
  21978. ::google::protobuf::uint8* packetc2l_change_bullet_power::SerializeWithCachedSizesToArray(
  21979. ::google::protobuf::uint8* target) const {
  21980. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power];
  21981. if (has_packet_id()) {
  21982. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  21983. 1, this->packet_id(), target);
  21984. }
  21985. // optional int32 rate = 2;
  21986. if (has_rate()) {
  21987. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rate(), target);
  21988. }
  21989. if (!unknown_fields().empty()) {
  21990. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  21991. unknown_fields(), target);
  21992. }
  21993. return target;
  21994. }
  21995. int packetc2l_change_bullet_power::ByteSize() const {
  21996. int total_size = 0;
  21997. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  21998. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power];
  21999. if (has_packet_id()) {
  22000. total_size += 1 +
  22001. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  22002. }
  22003. // optional int32 rate = 2;
  22004. if (has_rate()) {
  22005. total_size += 1 +
  22006. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22007. this->rate());
  22008. }
  22009. }
  22010. if (!unknown_fields().empty()) {
  22011. total_size +=
  22012. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22013. unknown_fields());
  22014. }
  22015. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22016. _cached_size_ = total_size;
  22017. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22018. return total_size;
  22019. }
  22020. void packetc2l_change_bullet_power::MergeFrom(const ::google::protobuf::Message& from) {
  22021. GOOGLE_CHECK_NE(&from, this);
  22022. const packetc2l_change_bullet_power* source =
  22023. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_change_bullet_power*>(
  22024. &from);
  22025. if (source == NULL) {
  22026. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22027. } else {
  22028. MergeFrom(*source);
  22029. }
  22030. }
  22031. void packetc2l_change_bullet_power::MergeFrom(const packetc2l_change_bullet_power& from) {
  22032. GOOGLE_CHECK_NE(&from, this);
  22033. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22034. if (from.has_packet_id()) {
  22035. set_packet_id(from.packet_id());
  22036. }
  22037. if (from.has_rate()) {
  22038. set_rate(from.rate());
  22039. }
  22040. }
  22041. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22042. }
  22043. void packetc2l_change_bullet_power::CopyFrom(const ::google::protobuf::Message& from) {
  22044. if (&from == this) return;
  22045. Clear();
  22046. MergeFrom(from);
  22047. }
  22048. void packetc2l_change_bullet_power::CopyFrom(const packetc2l_change_bullet_power& from) {
  22049. if (&from == this) return;
  22050. Clear();
  22051. MergeFrom(from);
  22052. }
  22053. bool packetc2l_change_bullet_power::IsInitialized() const {
  22054. return true;
  22055. }
  22056. void packetc2l_change_bullet_power::Swap(packetc2l_change_bullet_power* other) {
  22057. if (other != this) {
  22058. std::swap(packet_id_, other->packet_id_);
  22059. std::swap(rate_, other->rate_);
  22060. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22061. _unknown_fields_.Swap(&other->_unknown_fields_);
  22062. std::swap(_cached_size_, other->_cached_size_);
  22063. }
  22064. }
  22065. ::google::protobuf::Metadata packetc2l_change_bullet_power::GetMetadata() const {
  22066. protobuf_AssignDescriptorsOnce();
  22067. ::google::protobuf::Metadata metadata;
  22068. metadata.descriptor = packetc2l_change_bullet_power_descriptor_;
  22069. metadata.reflection = packetc2l_change_bullet_power_reflection_;
  22070. return metadata;
  22071. }
  22072. // ===================================================================
  22073. #ifndef _MSC_VER
  22074. const int packetl2c_change_bullet_power_result::kPacketIdFieldNumber;
  22075. const int packetl2c_change_bullet_power_result::kResultFieldNumber;
  22076. const int packetl2c_change_bullet_power_result::kRateFieldNumber;
  22077. #endif // !_MSC_VER
  22078. packetl2c_change_bullet_power_result::packetl2c_change_bullet_power_result()
  22079. : ::google::protobuf::Message() {
  22080. SharedCtor();
  22081. }
  22082. void packetl2c_change_bullet_power_result::InitAsDefaultInstance() {
  22083. }
  22084. packetl2c_change_bullet_power_result::packetl2c_change_bullet_power_result(const packetl2c_change_bullet_power_result& from)
  22085. : ::google::protobuf::Message() {
  22086. SharedCtor();
  22087. MergeFrom(from);
  22088. }
  22089. void packetl2c_change_bullet_power_result::SharedCtor() {
  22090. _cached_size_ = 0;
  22091. packet_id_ = 16235;
  22092. result_ = 0;
  22093. rate_ = 0;
  22094. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22095. }
  22096. packetl2c_change_bullet_power_result::~packetl2c_change_bullet_power_result() {
  22097. SharedDtor();
  22098. }
  22099. void packetl2c_change_bullet_power_result::SharedDtor() {
  22100. if (this != default_instance_) {
  22101. }
  22102. }
  22103. void packetl2c_change_bullet_power_result::SetCachedSize(int size) const {
  22104. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22105. _cached_size_ = size;
  22106. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22107. }
  22108. const ::google::protobuf::Descriptor* packetl2c_change_bullet_power_result::descriptor() {
  22109. protobuf_AssignDescriptorsOnce();
  22110. return packetl2c_change_bullet_power_result_descriptor_;
  22111. }
  22112. const packetl2c_change_bullet_power_result& packetl2c_change_bullet_power_result::default_instance() {
  22113. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  22114. return *default_instance_;
  22115. }
  22116. packetl2c_change_bullet_power_result* packetl2c_change_bullet_power_result::default_instance_ = NULL;
  22117. packetl2c_change_bullet_power_result* packetl2c_change_bullet_power_result::New() const {
  22118. return new packetl2c_change_bullet_power_result;
  22119. }
  22120. void packetl2c_change_bullet_power_result::Clear() {
  22121. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22122. packet_id_ = 16235;
  22123. result_ = 0;
  22124. rate_ = 0;
  22125. }
  22126. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22127. mutable_unknown_fields()->Clear();
  22128. }
  22129. bool packetl2c_change_bullet_power_result::MergePartialFromCodedStream(
  22130. ::google::protobuf::io::CodedInputStream* input) {
  22131. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22132. ::google::protobuf::uint32 tag;
  22133. while ((tag = input->ReadTag()) != 0) {
  22134. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22135. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result];
  22136. case 1: {
  22137. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22138. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22139. int value;
  22140. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22141. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22142. input, &value)));
  22143. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  22144. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  22145. } else {
  22146. mutable_unknown_fields()->AddVarint(1, value);
  22147. }
  22148. } else {
  22149. goto handle_uninterpreted;
  22150. }
  22151. if (input->ExpectTag(16)) goto parse_result;
  22152. break;
  22153. }
  22154. // optional int32 result = 2;
  22155. case 2: {
  22156. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22157. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22158. parse_result:
  22159. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22160. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22161. input, &result_)));
  22162. set_has_result();
  22163. } else {
  22164. goto handle_uninterpreted;
  22165. }
  22166. if (input->ExpectTag(24)) goto parse_rate;
  22167. break;
  22168. }
  22169. // optional int32 rate = 3;
  22170. case 3: {
  22171. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22172. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22173. parse_rate:
  22174. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22175. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22176. input, &rate_)));
  22177. set_has_rate();
  22178. } else {
  22179. goto handle_uninterpreted;
  22180. }
  22181. if (input->ExpectAtEnd()) return true;
  22182. break;
  22183. }
  22184. default: {
  22185. handle_uninterpreted:
  22186. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22187. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22188. return true;
  22189. }
  22190. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22191. input, tag, mutable_unknown_fields()));
  22192. break;
  22193. }
  22194. }
  22195. }
  22196. return true;
  22197. #undef DO_
  22198. }
  22199. void packetl2c_change_bullet_power_result::SerializeWithCachedSizes(
  22200. ::google::protobuf::io::CodedOutputStream* output) const {
  22201. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result];
  22202. if (has_packet_id()) {
  22203. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  22204. 1, this->packet_id(), output);
  22205. }
  22206. // optional int32 result = 2;
  22207. if (has_result()) {
  22208. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  22209. }
  22210. // optional int32 rate = 3;
  22211. if (has_rate()) {
  22212. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rate(), output);
  22213. }
  22214. if (!unknown_fields().empty()) {
  22215. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22216. unknown_fields(), output);
  22217. }
  22218. }
  22219. ::google::protobuf::uint8* packetl2c_change_bullet_power_result::SerializeWithCachedSizesToArray(
  22220. ::google::protobuf::uint8* target) const {
  22221. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result];
  22222. if (has_packet_id()) {
  22223. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  22224. 1, this->packet_id(), target);
  22225. }
  22226. // optional int32 result = 2;
  22227. if (has_result()) {
  22228. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  22229. }
  22230. // optional int32 rate = 3;
  22231. if (has_rate()) {
  22232. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rate(), target);
  22233. }
  22234. if (!unknown_fields().empty()) {
  22235. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22236. unknown_fields(), target);
  22237. }
  22238. return target;
  22239. }
  22240. int packetl2c_change_bullet_power_result::ByteSize() const {
  22241. int total_size = 0;
  22242. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22243. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result];
  22244. if (has_packet_id()) {
  22245. total_size += 1 +
  22246. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  22247. }
  22248. // optional int32 result = 2;
  22249. if (has_result()) {
  22250. total_size += 1 +
  22251. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22252. this->result());
  22253. }
  22254. // optional int32 rate = 3;
  22255. if (has_rate()) {
  22256. total_size += 1 +
  22257. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22258. this->rate());
  22259. }
  22260. }
  22261. if (!unknown_fields().empty()) {
  22262. total_size +=
  22263. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22264. unknown_fields());
  22265. }
  22266. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22267. _cached_size_ = total_size;
  22268. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22269. return total_size;
  22270. }
  22271. void packetl2c_change_bullet_power_result::MergeFrom(const ::google::protobuf::Message& from) {
  22272. GOOGLE_CHECK_NE(&from, this);
  22273. const packetl2c_change_bullet_power_result* source =
  22274. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_change_bullet_power_result*>(
  22275. &from);
  22276. if (source == NULL) {
  22277. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22278. } else {
  22279. MergeFrom(*source);
  22280. }
  22281. }
  22282. void packetl2c_change_bullet_power_result::MergeFrom(const packetl2c_change_bullet_power_result& from) {
  22283. GOOGLE_CHECK_NE(&from, this);
  22284. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22285. if (from.has_packet_id()) {
  22286. set_packet_id(from.packet_id());
  22287. }
  22288. if (from.has_result()) {
  22289. set_result(from.result());
  22290. }
  22291. if (from.has_rate()) {
  22292. set_rate(from.rate());
  22293. }
  22294. }
  22295. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22296. }
  22297. void packetl2c_change_bullet_power_result::CopyFrom(const ::google::protobuf::Message& from) {
  22298. if (&from == this) return;
  22299. Clear();
  22300. MergeFrom(from);
  22301. }
  22302. void packetl2c_change_bullet_power_result::CopyFrom(const packetl2c_change_bullet_power_result& from) {
  22303. if (&from == this) return;
  22304. Clear();
  22305. MergeFrom(from);
  22306. }
  22307. bool packetl2c_change_bullet_power_result::IsInitialized() const {
  22308. return true;
  22309. }
  22310. void packetl2c_change_bullet_power_result::Swap(packetl2c_change_bullet_power_result* other) {
  22311. if (other != this) {
  22312. std::swap(packet_id_, other->packet_id_);
  22313. std::swap(result_, other->result_);
  22314. std::swap(rate_, other->rate_);
  22315. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22316. _unknown_fields_.Swap(&other->_unknown_fields_);
  22317. std::swap(_cached_size_, other->_cached_size_);
  22318. }
  22319. }
  22320. ::google::protobuf::Metadata packetl2c_change_bullet_power_result::GetMetadata() const {
  22321. protobuf_AssignDescriptorsOnce();
  22322. ::google::protobuf::Metadata metadata;
  22323. metadata.descriptor = packetl2c_change_bullet_power_result_descriptor_;
  22324. metadata.reflection = packetl2c_change_bullet_power_result_reflection_;
  22325. return metadata;
  22326. }
  22327. // ===================================================================
  22328. #ifndef _MSC_VER
  22329. const int packetl2c_bc_trigger_treasure_bowl::kPacketIdFieldNumber;
  22330. const int packetl2c_bc_trigger_treasure_bowl::kPlayerIdFieldNumber;
  22331. const int packetl2c_bc_trigger_treasure_bowl::kFishIdFieldNumber;
  22332. const int packetl2c_bc_trigger_treasure_bowl::kTurrerRateFieldNumber;
  22333. #endif // !_MSC_VER
  22334. packetl2c_bc_trigger_treasure_bowl::packetl2c_bc_trigger_treasure_bowl()
  22335. : ::google::protobuf::Message() {
  22336. SharedCtor();
  22337. }
  22338. void packetl2c_bc_trigger_treasure_bowl::InitAsDefaultInstance() {
  22339. }
  22340. packetl2c_bc_trigger_treasure_bowl::packetl2c_bc_trigger_treasure_bowl(const packetl2c_bc_trigger_treasure_bowl& from)
  22341. : ::google::protobuf::Message() {
  22342. SharedCtor();
  22343. MergeFrom(from);
  22344. }
  22345. void packetl2c_bc_trigger_treasure_bowl::SharedCtor() {
  22346. _cached_size_ = 0;
  22347. packet_id_ = 16204;
  22348. playerid_ = 0;
  22349. fishid_ = 0;
  22350. turrerrate_ = 0;
  22351. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22352. }
  22353. packetl2c_bc_trigger_treasure_bowl::~packetl2c_bc_trigger_treasure_bowl() {
  22354. SharedDtor();
  22355. }
  22356. void packetl2c_bc_trigger_treasure_bowl::SharedDtor() {
  22357. if (this != default_instance_) {
  22358. }
  22359. }
  22360. void packetl2c_bc_trigger_treasure_bowl::SetCachedSize(int size) const {
  22361. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22362. _cached_size_ = size;
  22363. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22364. }
  22365. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_treasure_bowl::descriptor() {
  22366. protobuf_AssignDescriptorsOnce();
  22367. return packetl2c_bc_trigger_treasure_bowl_descriptor_;
  22368. }
  22369. const packetl2c_bc_trigger_treasure_bowl& packetl2c_bc_trigger_treasure_bowl::default_instance() {
  22370. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  22371. return *default_instance_;
  22372. }
  22373. packetl2c_bc_trigger_treasure_bowl* packetl2c_bc_trigger_treasure_bowl::default_instance_ = NULL;
  22374. packetl2c_bc_trigger_treasure_bowl* packetl2c_bc_trigger_treasure_bowl::New() const {
  22375. return new packetl2c_bc_trigger_treasure_bowl;
  22376. }
  22377. void packetl2c_bc_trigger_treasure_bowl::Clear() {
  22378. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22379. packet_id_ = 16204;
  22380. playerid_ = 0;
  22381. fishid_ = 0;
  22382. turrerrate_ = 0;
  22383. }
  22384. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22385. mutable_unknown_fields()->Clear();
  22386. }
  22387. bool packetl2c_bc_trigger_treasure_bowl::MergePartialFromCodedStream(
  22388. ::google::protobuf::io::CodedInputStream* input) {
  22389. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22390. ::google::protobuf::uint32 tag;
  22391. while ((tag = input->ReadTag()) != 0) {
  22392. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22393. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl];
  22394. case 1: {
  22395. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22396. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22397. int value;
  22398. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22399. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22400. input, &value)));
  22401. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  22402. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  22403. } else {
  22404. mutable_unknown_fields()->AddVarint(1, value);
  22405. }
  22406. } else {
  22407. goto handle_uninterpreted;
  22408. }
  22409. if (input->ExpectTag(16)) goto parse_playerId;
  22410. break;
  22411. }
  22412. // optional int32 playerId = 2;
  22413. case 2: {
  22414. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22415. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22416. parse_playerId:
  22417. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22418. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22419. input, &playerid_)));
  22420. set_has_playerid();
  22421. } else {
  22422. goto handle_uninterpreted;
  22423. }
  22424. if (input->ExpectTag(24)) goto parse_fishId;
  22425. break;
  22426. }
  22427. // optional int32 fishId = 3;
  22428. case 3: {
  22429. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22430. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22431. parse_fishId:
  22432. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22433. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22434. input, &fishid_)));
  22435. set_has_fishid();
  22436. } else {
  22437. goto handle_uninterpreted;
  22438. }
  22439. if (input->ExpectTag(32)) goto parse_turrerRate;
  22440. break;
  22441. }
  22442. // optional int32 turrerRate = 4;
  22443. case 4: {
  22444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22446. parse_turrerRate:
  22447. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22448. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22449. input, &turrerrate_)));
  22450. set_has_turrerrate();
  22451. } else {
  22452. goto handle_uninterpreted;
  22453. }
  22454. if (input->ExpectAtEnd()) return true;
  22455. break;
  22456. }
  22457. default: {
  22458. handle_uninterpreted:
  22459. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22460. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22461. return true;
  22462. }
  22463. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22464. input, tag, mutable_unknown_fields()));
  22465. break;
  22466. }
  22467. }
  22468. }
  22469. return true;
  22470. #undef DO_
  22471. }
  22472. void packetl2c_bc_trigger_treasure_bowl::SerializeWithCachedSizes(
  22473. ::google::protobuf::io::CodedOutputStream* output) const {
  22474. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl];
  22475. if (has_packet_id()) {
  22476. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  22477. 1, this->packet_id(), output);
  22478. }
  22479. // optional int32 playerId = 2;
  22480. if (has_playerid()) {
  22481. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  22482. }
  22483. // optional int32 fishId = 3;
  22484. if (has_fishid()) {
  22485. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->fishid(), output);
  22486. }
  22487. // optional int32 turrerRate = 4;
  22488. if (has_turrerrate()) {
  22489. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->turrerrate(), output);
  22490. }
  22491. if (!unknown_fields().empty()) {
  22492. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22493. unknown_fields(), output);
  22494. }
  22495. }
  22496. ::google::protobuf::uint8* packetl2c_bc_trigger_treasure_bowl::SerializeWithCachedSizesToArray(
  22497. ::google::protobuf::uint8* target) const {
  22498. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl];
  22499. if (has_packet_id()) {
  22500. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  22501. 1, this->packet_id(), target);
  22502. }
  22503. // optional int32 playerId = 2;
  22504. if (has_playerid()) {
  22505. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  22506. }
  22507. // optional int32 fishId = 3;
  22508. if (has_fishid()) {
  22509. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->fishid(), target);
  22510. }
  22511. // optional int32 turrerRate = 4;
  22512. if (has_turrerrate()) {
  22513. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->turrerrate(), target);
  22514. }
  22515. if (!unknown_fields().empty()) {
  22516. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22517. unknown_fields(), target);
  22518. }
  22519. return target;
  22520. }
  22521. int packetl2c_bc_trigger_treasure_bowl::ByteSize() const {
  22522. int total_size = 0;
  22523. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22524. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl];
  22525. if (has_packet_id()) {
  22526. total_size += 1 +
  22527. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  22528. }
  22529. // optional int32 playerId = 2;
  22530. if (has_playerid()) {
  22531. total_size += 1 +
  22532. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22533. this->playerid());
  22534. }
  22535. // optional int32 fishId = 3;
  22536. if (has_fishid()) {
  22537. total_size += 1 +
  22538. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22539. this->fishid());
  22540. }
  22541. // optional int32 turrerRate = 4;
  22542. if (has_turrerrate()) {
  22543. total_size += 1 +
  22544. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22545. this->turrerrate());
  22546. }
  22547. }
  22548. if (!unknown_fields().empty()) {
  22549. total_size +=
  22550. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22551. unknown_fields());
  22552. }
  22553. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22554. _cached_size_ = total_size;
  22555. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22556. return total_size;
  22557. }
  22558. void packetl2c_bc_trigger_treasure_bowl::MergeFrom(const ::google::protobuf::Message& from) {
  22559. GOOGLE_CHECK_NE(&from, this);
  22560. const packetl2c_bc_trigger_treasure_bowl* source =
  22561. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_trigger_treasure_bowl*>(
  22562. &from);
  22563. if (source == NULL) {
  22564. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22565. } else {
  22566. MergeFrom(*source);
  22567. }
  22568. }
  22569. void packetl2c_bc_trigger_treasure_bowl::MergeFrom(const packetl2c_bc_trigger_treasure_bowl& from) {
  22570. GOOGLE_CHECK_NE(&from, this);
  22571. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22572. if (from.has_packet_id()) {
  22573. set_packet_id(from.packet_id());
  22574. }
  22575. if (from.has_playerid()) {
  22576. set_playerid(from.playerid());
  22577. }
  22578. if (from.has_fishid()) {
  22579. set_fishid(from.fishid());
  22580. }
  22581. if (from.has_turrerrate()) {
  22582. set_turrerrate(from.turrerrate());
  22583. }
  22584. }
  22585. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22586. }
  22587. void packetl2c_bc_trigger_treasure_bowl::CopyFrom(const ::google::protobuf::Message& from) {
  22588. if (&from == this) return;
  22589. Clear();
  22590. MergeFrom(from);
  22591. }
  22592. void packetl2c_bc_trigger_treasure_bowl::CopyFrom(const packetl2c_bc_trigger_treasure_bowl& from) {
  22593. if (&from == this) return;
  22594. Clear();
  22595. MergeFrom(from);
  22596. }
  22597. bool packetl2c_bc_trigger_treasure_bowl::IsInitialized() const {
  22598. return true;
  22599. }
  22600. void packetl2c_bc_trigger_treasure_bowl::Swap(packetl2c_bc_trigger_treasure_bowl* other) {
  22601. if (other != this) {
  22602. std::swap(packet_id_, other->packet_id_);
  22603. std::swap(playerid_, other->playerid_);
  22604. std::swap(fishid_, other->fishid_);
  22605. std::swap(turrerrate_, other->turrerrate_);
  22606. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22607. _unknown_fields_.Swap(&other->_unknown_fields_);
  22608. std::swap(_cached_size_, other->_cached_size_);
  22609. }
  22610. }
  22611. ::google::protobuf::Metadata packetl2c_bc_trigger_treasure_bowl::GetMetadata() const {
  22612. protobuf_AssignDescriptorsOnce();
  22613. ::google::protobuf::Metadata metadata;
  22614. metadata.descriptor = packetl2c_bc_trigger_treasure_bowl_descriptor_;
  22615. metadata.reflection = packetl2c_bc_trigger_treasure_bowl_reflection_;
  22616. return metadata;
  22617. }
  22618. // ===================================================================
  22619. #ifndef _MSC_VER
  22620. const int packetc2l_treasure_bowl_lottery::kPacketIdFieldNumber;
  22621. const int packetc2l_treasure_bowl_lottery::kIndexFieldNumber;
  22622. #endif // !_MSC_VER
  22623. packetc2l_treasure_bowl_lottery::packetc2l_treasure_bowl_lottery()
  22624. : ::google::protobuf::Message() {
  22625. SharedCtor();
  22626. }
  22627. void packetc2l_treasure_bowl_lottery::InitAsDefaultInstance() {
  22628. }
  22629. packetc2l_treasure_bowl_lottery::packetc2l_treasure_bowl_lottery(const packetc2l_treasure_bowl_lottery& from)
  22630. : ::google::protobuf::Message() {
  22631. SharedCtor();
  22632. MergeFrom(from);
  22633. }
  22634. void packetc2l_treasure_bowl_lottery::SharedCtor() {
  22635. _cached_size_ = 0;
  22636. packet_id_ = 10197;
  22637. index_ = 0;
  22638. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22639. }
  22640. packetc2l_treasure_bowl_lottery::~packetc2l_treasure_bowl_lottery() {
  22641. SharedDtor();
  22642. }
  22643. void packetc2l_treasure_bowl_lottery::SharedDtor() {
  22644. if (this != default_instance_) {
  22645. }
  22646. }
  22647. void packetc2l_treasure_bowl_lottery::SetCachedSize(int size) const {
  22648. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22649. _cached_size_ = size;
  22650. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22651. }
  22652. const ::google::protobuf::Descriptor* packetc2l_treasure_bowl_lottery::descriptor() {
  22653. protobuf_AssignDescriptorsOnce();
  22654. return packetc2l_treasure_bowl_lottery_descriptor_;
  22655. }
  22656. const packetc2l_treasure_bowl_lottery& packetc2l_treasure_bowl_lottery::default_instance() {
  22657. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  22658. return *default_instance_;
  22659. }
  22660. packetc2l_treasure_bowl_lottery* packetc2l_treasure_bowl_lottery::default_instance_ = NULL;
  22661. packetc2l_treasure_bowl_lottery* packetc2l_treasure_bowl_lottery::New() const {
  22662. return new packetc2l_treasure_bowl_lottery;
  22663. }
  22664. void packetc2l_treasure_bowl_lottery::Clear() {
  22665. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22666. packet_id_ = 10197;
  22667. index_ = 0;
  22668. }
  22669. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22670. mutable_unknown_fields()->Clear();
  22671. }
  22672. bool packetc2l_treasure_bowl_lottery::MergePartialFromCodedStream(
  22673. ::google::protobuf::io::CodedInputStream* input) {
  22674. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22675. ::google::protobuf::uint32 tag;
  22676. while ((tag = input->ReadTag()) != 0) {
  22677. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22678. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery];
  22679. case 1: {
  22680. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22681. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22682. int value;
  22683. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22684. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22685. input, &value)));
  22686. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  22687. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  22688. } else {
  22689. mutable_unknown_fields()->AddVarint(1, value);
  22690. }
  22691. } else {
  22692. goto handle_uninterpreted;
  22693. }
  22694. if (input->ExpectTag(16)) goto parse_index;
  22695. break;
  22696. }
  22697. // optional int32 index = 2;
  22698. case 2: {
  22699. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22700. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22701. parse_index:
  22702. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22703. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22704. input, &index_)));
  22705. set_has_index();
  22706. } else {
  22707. goto handle_uninterpreted;
  22708. }
  22709. if (input->ExpectAtEnd()) return true;
  22710. break;
  22711. }
  22712. default: {
  22713. handle_uninterpreted:
  22714. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22715. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22716. return true;
  22717. }
  22718. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22719. input, tag, mutable_unknown_fields()));
  22720. break;
  22721. }
  22722. }
  22723. }
  22724. return true;
  22725. #undef DO_
  22726. }
  22727. void packetc2l_treasure_bowl_lottery::SerializeWithCachedSizes(
  22728. ::google::protobuf::io::CodedOutputStream* output) const {
  22729. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery];
  22730. if (has_packet_id()) {
  22731. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  22732. 1, this->packet_id(), output);
  22733. }
  22734. // optional int32 index = 2;
  22735. if (has_index()) {
  22736. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  22737. }
  22738. if (!unknown_fields().empty()) {
  22739. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  22740. unknown_fields(), output);
  22741. }
  22742. }
  22743. ::google::protobuf::uint8* packetc2l_treasure_bowl_lottery::SerializeWithCachedSizesToArray(
  22744. ::google::protobuf::uint8* target) const {
  22745. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery];
  22746. if (has_packet_id()) {
  22747. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  22748. 1, this->packet_id(), target);
  22749. }
  22750. // optional int32 index = 2;
  22751. if (has_index()) {
  22752. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  22753. }
  22754. if (!unknown_fields().empty()) {
  22755. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  22756. unknown_fields(), target);
  22757. }
  22758. return target;
  22759. }
  22760. int packetc2l_treasure_bowl_lottery::ByteSize() const {
  22761. int total_size = 0;
  22762. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22763. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery];
  22764. if (has_packet_id()) {
  22765. total_size += 1 +
  22766. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  22767. }
  22768. // optional int32 index = 2;
  22769. if (has_index()) {
  22770. total_size += 1 +
  22771. ::google::protobuf::internal::WireFormatLite::Int32Size(
  22772. this->index());
  22773. }
  22774. }
  22775. if (!unknown_fields().empty()) {
  22776. total_size +=
  22777. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  22778. unknown_fields());
  22779. }
  22780. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22781. _cached_size_ = total_size;
  22782. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22783. return total_size;
  22784. }
  22785. void packetc2l_treasure_bowl_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  22786. GOOGLE_CHECK_NE(&from, this);
  22787. const packetc2l_treasure_bowl_lottery* source =
  22788. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_treasure_bowl_lottery*>(
  22789. &from);
  22790. if (source == NULL) {
  22791. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  22792. } else {
  22793. MergeFrom(*source);
  22794. }
  22795. }
  22796. void packetc2l_treasure_bowl_lottery::MergeFrom(const packetc2l_treasure_bowl_lottery& from) {
  22797. GOOGLE_CHECK_NE(&from, this);
  22798. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22799. if (from.has_packet_id()) {
  22800. set_packet_id(from.packet_id());
  22801. }
  22802. if (from.has_index()) {
  22803. set_index(from.index());
  22804. }
  22805. }
  22806. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  22807. }
  22808. void packetc2l_treasure_bowl_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  22809. if (&from == this) return;
  22810. Clear();
  22811. MergeFrom(from);
  22812. }
  22813. void packetc2l_treasure_bowl_lottery::CopyFrom(const packetc2l_treasure_bowl_lottery& from) {
  22814. if (&from == this) return;
  22815. Clear();
  22816. MergeFrom(from);
  22817. }
  22818. bool packetc2l_treasure_bowl_lottery::IsInitialized() const {
  22819. return true;
  22820. }
  22821. void packetc2l_treasure_bowl_lottery::Swap(packetc2l_treasure_bowl_lottery* other) {
  22822. if (other != this) {
  22823. std::swap(packet_id_, other->packet_id_);
  22824. std::swap(index_, other->index_);
  22825. std::swap(_has_bits_[0], other->_has_bits_[0]);
  22826. _unknown_fields_.Swap(&other->_unknown_fields_);
  22827. std::swap(_cached_size_, other->_cached_size_);
  22828. }
  22829. }
  22830. ::google::protobuf::Metadata packetc2l_treasure_bowl_lottery::GetMetadata() const {
  22831. protobuf_AssignDescriptorsOnce();
  22832. ::google::protobuf::Metadata metadata;
  22833. metadata.descriptor = packetc2l_treasure_bowl_lottery_descriptor_;
  22834. metadata.reflection = packetc2l_treasure_bowl_lottery_reflection_;
  22835. return metadata;
  22836. }
  22837. // ===================================================================
  22838. #ifndef _MSC_VER
  22839. const int packetl2c_treasure_bowl_lottery_result::kPacketIdFieldNumber;
  22840. const int packetl2c_treasure_bowl_lottery_result::kPlayerIdFieldNumber;
  22841. const int packetl2c_treasure_bowl_lottery_result::kResultFieldNumber;
  22842. const int packetl2c_treasure_bowl_lottery_result::kIndexFieldNumber;
  22843. const int packetl2c_treasure_bowl_lottery_result::kItemsFieldNumber;
  22844. #endif // !_MSC_VER
  22845. packetl2c_treasure_bowl_lottery_result::packetl2c_treasure_bowl_lottery_result()
  22846. : ::google::protobuf::Message() {
  22847. SharedCtor();
  22848. }
  22849. void packetl2c_treasure_bowl_lottery_result::InitAsDefaultInstance() {
  22850. }
  22851. packetl2c_treasure_bowl_lottery_result::packetl2c_treasure_bowl_lottery_result(const packetl2c_treasure_bowl_lottery_result& from)
  22852. : ::google::protobuf::Message() {
  22853. SharedCtor();
  22854. MergeFrom(from);
  22855. }
  22856. void packetl2c_treasure_bowl_lottery_result::SharedCtor() {
  22857. _cached_size_ = 0;
  22858. packet_id_ = 16209;
  22859. playerid_ = 0;
  22860. result_ = 0;
  22861. index_ = 0;
  22862. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22863. }
  22864. packetl2c_treasure_bowl_lottery_result::~packetl2c_treasure_bowl_lottery_result() {
  22865. SharedDtor();
  22866. }
  22867. void packetl2c_treasure_bowl_lottery_result::SharedDtor() {
  22868. if (this != default_instance_) {
  22869. }
  22870. }
  22871. void packetl2c_treasure_bowl_lottery_result::SetCachedSize(int size) const {
  22872. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  22873. _cached_size_ = size;
  22874. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  22875. }
  22876. const ::google::protobuf::Descriptor* packetl2c_treasure_bowl_lottery_result::descriptor() {
  22877. protobuf_AssignDescriptorsOnce();
  22878. return packetl2c_treasure_bowl_lottery_result_descriptor_;
  22879. }
  22880. const packetl2c_treasure_bowl_lottery_result& packetl2c_treasure_bowl_lottery_result::default_instance() {
  22881. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  22882. return *default_instance_;
  22883. }
  22884. packetl2c_treasure_bowl_lottery_result* packetl2c_treasure_bowl_lottery_result::default_instance_ = NULL;
  22885. packetl2c_treasure_bowl_lottery_result* packetl2c_treasure_bowl_lottery_result::New() const {
  22886. return new packetl2c_treasure_bowl_lottery_result;
  22887. }
  22888. void packetl2c_treasure_bowl_lottery_result::Clear() {
  22889. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  22890. packet_id_ = 16209;
  22891. playerid_ = 0;
  22892. result_ = 0;
  22893. index_ = 0;
  22894. }
  22895. items_.Clear();
  22896. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  22897. mutable_unknown_fields()->Clear();
  22898. }
  22899. bool packetl2c_treasure_bowl_lottery_result::MergePartialFromCodedStream(
  22900. ::google::protobuf::io::CodedInputStream* input) {
  22901. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  22902. ::google::protobuf::uint32 tag;
  22903. while ((tag = input->ReadTag()) != 0) {
  22904. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  22905. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result];
  22906. case 1: {
  22907. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22908. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22909. int value;
  22910. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22911. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  22912. input, &value)));
  22913. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  22914. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  22915. } else {
  22916. mutable_unknown_fields()->AddVarint(1, value);
  22917. }
  22918. } else {
  22919. goto handle_uninterpreted;
  22920. }
  22921. if (input->ExpectTag(16)) goto parse_playerId;
  22922. break;
  22923. }
  22924. // optional int32 playerId = 2;
  22925. case 2: {
  22926. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22927. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22928. parse_playerId:
  22929. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22930. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22931. input, &playerid_)));
  22932. set_has_playerid();
  22933. } else {
  22934. goto handle_uninterpreted;
  22935. }
  22936. if (input->ExpectTag(24)) goto parse_result;
  22937. break;
  22938. }
  22939. // optional int32 result = 3;
  22940. case 3: {
  22941. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22942. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22943. parse_result:
  22944. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22945. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22946. input, &result_)));
  22947. set_has_result();
  22948. } else {
  22949. goto handle_uninterpreted;
  22950. }
  22951. if (input->ExpectTag(32)) goto parse_index;
  22952. break;
  22953. }
  22954. // optional int32 index = 4;
  22955. case 4: {
  22956. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22957. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  22958. parse_index:
  22959. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  22960. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  22961. input, &index_)));
  22962. set_has_index();
  22963. } else {
  22964. goto handle_uninterpreted;
  22965. }
  22966. if (input->ExpectTag(50)) goto parse_items;
  22967. break;
  22968. }
  22969. // repeated .fish_protocols.msg_item items = 6;
  22970. case 6: {
  22971. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22972. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  22973. parse_items:
  22974. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  22975. input, add_items()));
  22976. } else {
  22977. goto handle_uninterpreted;
  22978. }
  22979. if (input->ExpectTag(50)) goto parse_items;
  22980. if (input->ExpectAtEnd()) return true;
  22981. break;
  22982. }
  22983. default: {
  22984. handle_uninterpreted:
  22985. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  22986. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  22987. return true;
  22988. }
  22989. DO_(::google::protobuf::internal::WireFormat::SkipField(
  22990. input, tag, mutable_unknown_fields()));
  22991. break;
  22992. }
  22993. }
  22994. }
  22995. return true;
  22996. #undef DO_
  22997. }
  22998. void packetl2c_treasure_bowl_lottery_result::SerializeWithCachedSizes(
  22999. ::google::protobuf::io::CodedOutputStream* output) const {
  23000. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result];
  23001. if (has_packet_id()) {
  23002. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  23003. 1, this->packet_id(), output);
  23004. }
  23005. // optional int32 playerId = 2;
  23006. if (has_playerid()) {
  23007. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  23008. }
  23009. // optional int32 result = 3;
  23010. if (has_result()) {
  23011. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  23012. }
  23013. // optional int32 index = 4;
  23014. if (has_index()) {
  23015. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->index(), output);
  23016. }
  23017. // repeated .fish_protocols.msg_item items = 6;
  23018. for (int i = 0; i < this->items_size(); i++) {
  23019. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  23020. 6, this->items(i), output);
  23021. }
  23022. if (!unknown_fields().empty()) {
  23023. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  23024. unknown_fields(), output);
  23025. }
  23026. }
  23027. ::google::protobuf::uint8* packetl2c_treasure_bowl_lottery_result::SerializeWithCachedSizesToArray(
  23028. ::google::protobuf::uint8* target) const {
  23029. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result];
  23030. if (has_packet_id()) {
  23031. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  23032. 1, this->packet_id(), target);
  23033. }
  23034. // optional int32 playerId = 2;
  23035. if (has_playerid()) {
  23036. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  23037. }
  23038. // optional int32 result = 3;
  23039. if (has_result()) {
  23040. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  23041. }
  23042. // optional int32 index = 4;
  23043. if (has_index()) {
  23044. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->index(), target);
  23045. }
  23046. // repeated .fish_protocols.msg_item items = 6;
  23047. for (int i = 0; i < this->items_size(); i++) {
  23048. target = ::google::protobuf::internal::WireFormatLite::
  23049. WriteMessageNoVirtualToArray(
  23050. 6, this->items(i), target);
  23051. }
  23052. if (!unknown_fields().empty()) {
  23053. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  23054. unknown_fields(), target);
  23055. }
  23056. return target;
  23057. }
  23058. int packetl2c_treasure_bowl_lottery_result::ByteSize() const {
  23059. int total_size = 0;
  23060. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23061. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result];
  23062. if (has_packet_id()) {
  23063. total_size += 1 +
  23064. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  23065. }
  23066. // optional int32 playerId = 2;
  23067. if (has_playerid()) {
  23068. total_size += 1 +
  23069. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23070. this->playerid());
  23071. }
  23072. // optional int32 result = 3;
  23073. if (has_result()) {
  23074. total_size += 1 +
  23075. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23076. this->result());
  23077. }
  23078. // optional int32 index = 4;
  23079. if (has_index()) {
  23080. total_size += 1 +
  23081. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23082. this->index());
  23083. }
  23084. }
  23085. // repeated .fish_protocols.msg_item items = 6;
  23086. total_size += 1 * this->items_size();
  23087. for (int i = 0; i < this->items_size(); i++) {
  23088. total_size +=
  23089. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  23090. this->items(i));
  23091. }
  23092. if (!unknown_fields().empty()) {
  23093. total_size +=
  23094. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  23095. unknown_fields());
  23096. }
  23097. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23098. _cached_size_ = total_size;
  23099. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23100. return total_size;
  23101. }
  23102. void packetl2c_treasure_bowl_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  23103. GOOGLE_CHECK_NE(&from, this);
  23104. const packetl2c_treasure_bowl_lottery_result* source =
  23105. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_treasure_bowl_lottery_result*>(
  23106. &from);
  23107. if (source == NULL) {
  23108. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23109. } else {
  23110. MergeFrom(*source);
  23111. }
  23112. }
  23113. void packetl2c_treasure_bowl_lottery_result::MergeFrom(const packetl2c_treasure_bowl_lottery_result& from) {
  23114. GOOGLE_CHECK_NE(&from, this);
  23115. items_.MergeFrom(from.items_);
  23116. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23117. if (from.has_packet_id()) {
  23118. set_packet_id(from.packet_id());
  23119. }
  23120. if (from.has_playerid()) {
  23121. set_playerid(from.playerid());
  23122. }
  23123. if (from.has_result()) {
  23124. set_result(from.result());
  23125. }
  23126. if (from.has_index()) {
  23127. set_index(from.index());
  23128. }
  23129. }
  23130. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  23131. }
  23132. void packetl2c_treasure_bowl_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  23133. if (&from == this) return;
  23134. Clear();
  23135. MergeFrom(from);
  23136. }
  23137. void packetl2c_treasure_bowl_lottery_result::CopyFrom(const packetl2c_treasure_bowl_lottery_result& from) {
  23138. if (&from == this) return;
  23139. Clear();
  23140. MergeFrom(from);
  23141. }
  23142. bool packetl2c_treasure_bowl_lottery_result::IsInitialized() const {
  23143. return true;
  23144. }
  23145. void packetl2c_treasure_bowl_lottery_result::Swap(packetl2c_treasure_bowl_lottery_result* other) {
  23146. if (other != this) {
  23147. std::swap(packet_id_, other->packet_id_);
  23148. std::swap(playerid_, other->playerid_);
  23149. std::swap(result_, other->result_);
  23150. std::swap(index_, other->index_);
  23151. items_.Swap(&other->items_);
  23152. std::swap(_has_bits_[0], other->_has_bits_[0]);
  23153. _unknown_fields_.Swap(&other->_unknown_fields_);
  23154. std::swap(_cached_size_, other->_cached_size_);
  23155. }
  23156. }
  23157. ::google::protobuf::Metadata packetl2c_treasure_bowl_lottery_result::GetMetadata() const {
  23158. protobuf_AssignDescriptorsOnce();
  23159. ::google::protobuf::Metadata metadata;
  23160. metadata.descriptor = packetl2c_treasure_bowl_lottery_result_descriptor_;
  23161. metadata.reflection = packetl2c_treasure_bowl_lottery_result_reflection_;
  23162. return metadata;
  23163. }
  23164. // ===================================================================
  23165. #ifndef _MSC_VER
  23166. const int packetl2c_bc_trigger_flood_dragon_fly::kPacketIdFieldNumber;
  23167. const int packetl2c_bc_trigger_flood_dragon_fly::kPlayerIdFieldNumber;
  23168. #endif // !_MSC_VER
  23169. packetl2c_bc_trigger_flood_dragon_fly::packetl2c_bc_trigger_flood_dragon_fly()
  23170. : ::google::protobuf::Message() {
  23171. SharedCtor();
  23172. }
  23173. void packetl2c_bc_trigger_flood_dragon_fly::InitAsDefaultInstance() {
  23174. }
  23175. packetl2c_bc_trigger_flood_dragon_fly::packetl2c_bc_trigger_flood_dragon_fly(const packetl2c_bc_trigger_flood_dragon_fly& from)
  23176. : ::google::protobuf::Message() {
  23177. SharedCtor();
  23178. MergeFrom(from);
  23179. }
  23180. void packetl2c_bc_trigger_flood_dragon_fly::SharedCtor() {
  23181. _cached_size_ = 0;
  23182. packet_id_ = 16210;
  23183. playerid_ = 0;
  23184. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23185. }
  23186. packetl2c_bc_trigger_flood_dragon_fly::~packetl2c_bc_trigger_flood_dragon_fly() {
  23187. SharedDtor();
  23188. }
  23189. void packetl2c_bc_trigger_flood_dragon_fly::SharedDtor() {
  23190. if (this != default_instance_) {
  23191. }
  23192. }
  23193. void packetl2c_bc_trigger_flood_dragon_fly::SetCachedSize(int size) const {
  23194. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23195. _cached_size_ = size;
  23196. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23197. }
  23198. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_flood_dragon_fly::descriptor() {
  23199. protobuf_AssignDescriptorsOnce();
  23200. return packetl2c_bc_trigger_flood_dragon_fly_descriptor_;
  23201. }
  23202. const packetl2c_bc_trigger_flood_dragon_fly& packetl2c_bc_trigger_flood_dragon_fly::default_instance() {
  23203. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  23204. return *default_instance_;
  23205. }
  23206. packetl2c_bc_trigger_flood_dragon_fly* packetl2c_bc_trigger_flood_dragon_fly::default_instance_ = NULL;
  23207. packetl2c_bc_trigger_flood_dragon_fly* packetl2c_bc_trigger_flood_dragon_fly::New() const {
  23208. return new packetl2c_bc_trigger_flood_dragon_fly;
  23209. }
  23210. void packetl2c_bc_trigger_flood_dragon_fly::Clear() {
  23211. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23212. packet_id_ = 16210;
  23213. playerid_ = 0;
  23214. }
  23215. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23216. mutable_unknown_fields()->Clear();
  23217. }
  23218. bool packetl2c_bc_trigger_flood_dragon_fly::MergePartialFromCodedStream(
  23219. ::google::protobuf::io::CodedInputStream* input) {
  23220. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  23221. ::google::protobuf::uint32 tag;
  23222. while ((tag = input->ReadTag()) != 0) {
  23223. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23224. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly];
  23225. case 1: {
  23226. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23227. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23228. int value;
  23229. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23230. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  23231. input, &value)));
  23232. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  23233. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  23234. } else {
  23235. mutable_unknown_fields()->AddVarint(1, value);
  23236. }
  23237. } else {
  23238. goto handle_uninterpreted;
  23239. }
  23240. if (input->ExpectTag(16)) goto parse_playerId;
  23241. break;
  23242. }
  23243. // optional int32 playerId = 2;
  23244. case 2: {
  23245. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23246. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23247. parse_playerId:
  23248. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23249. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23250. input, &playerid_)));
  23251. set_has_playerid();
  23252. } else {
  23253. goto handle_uninterpreted;
  23254. }
  23255. if (input->ExpectAtEnd()) return true;
  23256. break;
  23257. }
  23258. default: {
  23259. handle_uninterpreted:
  23260. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23261. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23262. return true;
  23263. }
  23264. DO_(::google::protobuf::internal::WireFormat::SkipField(
  23265. input, tag, mutable_unknown_fields()));
  23266. break;
  23267. }
  23268. }
  23269. }
  23270. return true;
  23271. #undef DO_
  23272. }
  23273. void packetl2c_bc_trigger_flood_dragon_fly::SerializeWithCachedSizes(
  23274. ::google::protobuf::io::CodedOutputStream* output) const {
  23275. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly];
  23276. if (has_packet_id()) {
  23277. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  23278. 1, this->packet_id(), output);
  23279. }
  23280. // optional int32 playerId = 2;
  23281. if (has_playerid()) {
  23282. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  23283. }
  23284. if (!unknown_fields().empty()) {
  23285. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  23286. unknown_fields(), output);
  23287. }
  23288. }
  23289. ::google::protobuf::uint8* packetl2c_bc_trigger_flood_dragon_fly::SerializeWithCachedSizesToArray(
  23290. ::google::protobuf::uint8* target) const {
  23291. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly];
  23292. if (has_packet_id()) {
  23293. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  23294. 1, this->packet_id(), target);
  23295. }
  23296. // optional int32 playerId = 2;
  23297. if (has_playerid()) {
  23298. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  23299. }
  23300. if (!unknown_fields().empty()) {
  23301. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  23302. unknown_fields(), target);
  23303. }
  23304. return target;
  23305. }
  23306. int packetl2c_bc_trigger_flood_dragon_fly::ByteSize() const {
  23307. int total_size = 0;
  23308. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23309. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly];
  23310. if (has_packet_id()) {
  23311. total_size += 1 +
  23312. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  23313. }
  23314. // optional int32 playerId = 2;
  23315. if (has_playerid()) {
  23316. total_size += 1 +
  23317. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23318. this->playerid());
  23319. }
  23320. }
  23321. if (!unknown_fields().empty()) {
  23322. total_size +=
  23323. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  23324. unknown_fields());
  23325. }
  23326. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23327. _cached_size_ = total_size;
  23328. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23329. return total_size;
  23330. }
  23331. void packetl2c_bc_trigger_flood_dragon_fly::MergeFrom(const ::google::protobuf::Message& from) {
  23332. GOOGLE_CHECK_NE(&from, this);
  23333. const packetl2c_bc_trigger_flood_dragon_fly* source =
  23334. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_trigger_flood_dragon_fly*>(
  23335. &from);
  23336. if (source == NULL) {
  23337. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23338. } else {
  23339. MergeFrom(*source);
  23340. }
  23341. }
  23342. void packetl2c_bc_trigger_flood_dragon_fly::MergeFrom(const packetl2c_bc_trigger_flood_dragon_fly& from) {
  23343. GOOGLE_CHECK_NE(&from, this);
  23344. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23345. if (from.has_packet_id()) {
  23346. set_packet_id(from.packet_id());
  23347. }
  23348. if (from.has_playerid()) {
  23349. set_playerid(from.playerid());
  23350. }
  23351. }
  23352. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  23353. }
  23354. void packetl2c_bc_trigger_flood_dragon_fly::CopyFrom(const ::google::protobuf::Message& from) {
  23355. if (&from == this) return;
  23356. Clear();
  23357. MergeFrom(from);
  23358. }
  23359. void packetl2c_bc_trigger_flood_dragon_fly::CopyFrom(const packetl2c_bc_trigger_flood_dragon_fly& from) {
  23360. if (&from == this) return;
  23361. Clear();
  23362. MergeFrom(from);
  23363. }
  23364. bool packetl2c_bc_trigger_flood_dragon_fly::IsInitialized() const {
  23365. return true;
  23366. }
  23367. void packetl2c_bc_trigger_flood_dragon_fly::Swap(packetl2c_bc_trigger_flood_dragon_fly* other) {
  23368. if (other != this) {
  23369. std::swap(packet_id_, other->packet_id_);
  23370. std::swap(playerid_, other->playerid_);
  23371. std::swap(_has_bits_[0], other->_has_bits_[0]);
  23372. _unknown_fields_.Swap(&other->_unknown_fields_);
  23373. std::swap(_cached_size_, other->_cached_size_);
  23374. }
  23375. }
  23376. ::google::protobuf::Metadata packetl2c_bc_trigger_flood_dragon_fly::GetMetadata() const {
  23377. protobuf_AssignDescriptorsOnce();
  23378. ::google::protobuf::Metadata metadata;
  23379. metadata.descriptor = packetl2c_bc_trigger_flood_dragon_fly_descriptor_;
  23380. metadata.reflection = packetl2c_bc_trigger_flood_dragon_fly_reflection_;
  23381. return metadata;
  23382. }
  23383. // ===================================================================
  23384. #ifndef _MSC_VER
  23385. const int packetc2l_flood_dragon_fly_lottery::kPacketIdFieldNumber;
  23386. #endif // !_MSC_VER
  23387. packetc2l_flood_dragon_fly_lottery::packetc2l_flood_dragon_fly_lottery()
  23388. : ::google::protobuf::Message() {
  23389. SharedCtor();
  23390. }
  23391. void packetc2l_flood_dragon_fly_lottery::InitAsDefaultInstance() {
  23392. }
  23393. packetc2l_flood_dragon_fly_lottery::packetc2l_flood_dragon_fly_lottery(const packetc2l_flood_dragon_fly_lottery& from)
  23394. : ::google::protobuf::Message() {
  23395. SharedCtor();
  23396. MergeFrom(from);
  23397. }
  23398. void packetc2l_flood_dragon_fly_lottery::SharedCtor() {
  23399. _cached_size_ = 0;
  23400. packet_id_ = 10211;
  23401. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23402. }
  23403. packetc2l_flood_dragon_fly_lottery::~packetc2l_flood_dragon_fly_lottery() {
  23404. SharedDtor();
  23405. }
  23406. void packetc2l_flood_dragon_fly_lottery::SharedDtor() {
  23407. if (this != default_instance_) {
  23408. }
  23409. }
  23410. void packetc2l_flood_dragon_fly_lottery::SetCachedSize(int size) const {
  23411. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23412. _cached_size_ = size;
  23413. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23414. }
  23415. const ::google::protobuf::Descriptor* packetc2l_flood_dragon_fly_lottery::descriptor() {
  23416. protobuf_AssignDescriptorsOnce();
  23417. return packetc2l_flood_dragon_fly_lottery_descriptor_;
  23418. }
  23419. const packetc2l_flood_dragon_fly_lottery& packetc2l_flood_dragon_fly_lottery::default_instance() {
  23420. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  23421. return *default_instance_;
  23422. }
  23423. packetc2l_flood_dragon_fly_lottery* packetc2l_flood_dragon_fly_lottery::default_instance_ = NULL;
  23424. packetc2l_flood_dragon_fly_lottery* packetc2l_flood_dragon_fly_lottery::New() const {
  23425. return new packetc2l_flood_dragon_fly_lottery;
  23426. }
  23427. void packetc2l_flood_dragon_fly_lottery::Clear() {
  23428. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23429. packet_id_ = 10211;
  23430. }
  23431. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23432. mutable_unknown_fields()->Clear();
  23433. }
  23434. bool packetc2l_flood_dragon_fly_lottery::MergePartialFromCodedStream(
  23435. ::google::protobuf::io::CodedInputStream* input) {
  23436. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  23437. ::google::protobuf::uint32 tag;
  23438. while ((tag = input->ReadTag()) != 0) {
  23439. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23440. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery];
  23441. case 1: {
  23442. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23443. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23444. int value;
  23445. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23446. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  23447. input, &value)));
  23448. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  23449. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  23450. } else {
  23451. mutable_unknown_fields()->AddVarint(1, value);
  23452. }
  23453. } else {
  23454. goto handle_uninterpreted;
  23455. }
  23456. if (input->ExpectAtEnd()) return true;
  23457. break;
  23458. }
  23459. default: {
  23460. handle_uninterpreted:
  23461. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23462. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23463. return true;
  23464. }
  23465. DO_(::google::protobuf::internal::WireFormat::SkipField(
  23466. input, tag, mutable_unknown_fields()));
  23467. break;
  23468. }
  23469. }
  23470. }
  23471. return true;
  23472. #undef DO_
  23473. }
  23474. void packetc2l_flood_dragon_fly_lottery::SerializeWithCachedSizes(
  23475. ::google::protobuf::io::CodedOutputStream* output) const {
  23476. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery];
  23477. if (has_packet_id()) {
  23478. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  23479. 1, this->packet_id(), output);
  23480. }
  23481. if (!unknown_fields().empty()) {
  23482. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  23483. unknown_fields(), output);
  23484. }
  23485. }
  23486. ::google::protobuf::uint8* packetc2l_flood_dragon_fly_lottery::SerializeWithCachedSizesToArray(
  23487. ::google::protobuf::uint8* target) const {
  23488. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery];
  23489. if (has_packet_id()) {
  23490. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  23491. 1, this->packet_id(), target);
  23492. }
  23493. if (!unknown_fields().empty()) {
  23494. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  23495. unknown_fields(), target);
  23496. }
  23497. return target;
  23498. }
  23499. int packetc2l_flood_dragon_fly_lottery::ByteSize() const {
  23500. int total_size = 0;
  23501. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23502. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery];
  23503. if (has_packet_id()) {
  23504. total_size += 1 +
  23505. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  23506. }
  23507. }
  23508. if (!unknown_fields().empty()) {
  23509. total_size +=
  23510. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  23511. unknown_fields());
  23512. }
  23513. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23514. _cached_size_ = total_size;
  23515. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23516. return total_size;
  23517. }
  23518. void packetc2l_flood_dragon_fly_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  23519. GOOGLE_CHECK_NE(&from, this);
  23520. const packetc2l_flood_dragon_fly_lottery* source =
  23521. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_flood_dragon_fly_lottery*>(
  23522. &from);
  23523. if (source == NULL) {
  23524. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23525. } else {
  23526. MergeFrom(*source);
  23527. }
  23528. }
  23529. void packetc2l_flood_dragon_fly_lottery::MergeFrom(const packetc2l_flood_dragon_fly_lottery& from) {
  23530. GOOGLE_CHECK_NE(&from, this);
  23531. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23532. if (from.has_packet_id()) {
  23533. set_packet_id(from.packet_id());
  23534. }
  23535. }
  23536. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  23537. }
  23538. void packetc2l_flood_dragon_fly_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  23539. if (&from == this) return;
  23540. Clear();
  23541. MergeFrom(from);
  23542. }
  23543. void packetc2l_flood_dragon_fly_lottery::CopyFrom(const packetc2l_flood_dragon_fly_lottery& from) {
  23544. if (&from == this) return;
  23545. Clear();
  23546. MergeFrom(from);
  23547. }
  23548. bool packetc2l_flood_dragon_fly_lottery::IsInitialized() const {
  23549. return true;
  23550. }
  23551. void packetc2l_flood_dragon_fly_lottery::Swap(packetc2l_flood_dragon_fly_lottery* other) {
  23552. if (other != this) {
  23553. std::swap(packet_id_, other->packet_id_);
  23554. std::swap(_has_bits_[0], other->_has_bits_[0]);
  23555. _unknown_fields_.Swap(&other->_unknown_fields_);
  23556. std::swap(_cached_size_, other->_cached_size_);
  23557. }
  23558. }
  23559. ::google::protobuf::Metadata packetc2l_flood_dragon_fly_lottery::GetMetadata() const {
  23560. protobuf_AssignDescriptorsOnce();
  23561. ::google::protobuf::Metadata metadata;
  23562. metadata.descriptor = packetc2l_flood_dragon_fly_lottery_descriptor_;
  23563. metadata.reflection = packetc2l_flood_dragon_fly_lottery_reflection_;
  23564. return metadata;
  23565. }
  23566. // ===================================================================
  23567. #ifndef _MSC_VER
  23568. const int packetl2c_flood_dragon_fly_lottery_result::kPacketIdFieldNumber;
  23569. const int packetl2c_flood_dragon_fly_lottery_result::kPlayerIdFieldNumber;
  23570. const int packetl2c_flood_dragon_fly_lottery_result::kResultFieldNumber;
  23571. const int packetl2c_flood_dragon_fly_lottery_result::kScoreFieldNumber;
  23572. const int packetl2c_flood_dragon_fly_lottery_result::kBulletRateFieldNumber;
  23573. const int packetl2c_flood_dragon_fly_lottery_result::kPointsFieldNumber;
  23574. const int packetl2c_flood_dragon_fly_lottery_result::kAddpointsFieldNumber;
  23575. #endif // !_MSC_VER
  23576. packetl2c_flood_dragon_fly_lottery_result::packetl2c_flood_dragon_fly_lottery_result()
  23577. : ::google::protobuf::Message() {
  23578. SharedCtor();
  23579. }
  23580. void packetl2c_flood_dragon_fly_lottery_result::InitAsDefaultInstance() {
  23581. }
  23582. packetl2c_flood_dragon_fly_lottery_result::packetl2c_flood_dragon_fly_lottery_result(const packetl2c_flood_dragon_fly_lottery_result& from)
  23583. : ::google::protobuf::Message() {
  23584. SharedCtor();
  23585. MergeFrom(from);
  23586. }
  23587. void packetl2c_flood_dragon_fly_lottery_result::SharedCtor() {
  23588. _cached_size_ = 0;
  23589. packet_id_ = 16211;
  23590. playerid_ = 0;
  23591. result_ = 0;
  23592. score_ = 0;
  23593. bulletrate_ = 0;
  23594. points_ = 0;
  23595. addpoints_ = 0;
  23596. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23597. }
  23598. packetl2c_flood_dragon_fly_lottery_result::~packetl2c_flood_dragon_fly_lottery_result() {
  23599. SharedDtor();
  23600. }
  23601. void packetl2c_flood_dragon_fly_lottery_result::SharedDtor() {
  23602. if (this != default_instance_) {
  23603. }
  23604. }
  23605. void packetl2c_flood_dragon_fly_lottery_result::SetCachedSize(int size) const {
  23606. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23607. _cached_size_ = size;
  23608. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23609. }
  23610. const ::google::protobuf::Descriptor* packetl2c_flood_dragon_fly_lottery_result::descriptor() {
  23611. protobuf_AssignDescriptorsOnce();
  23612. return packetl2c_flood_dragon_fly_lottery_result_descriptor_;
  23613. }
  23614. const packetl2c_flood_dragon_fly_lottery_result& packetl2c_flood_dragon_fly_lottery_result::default_instance() {
  23615. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  23616. return *default_instance_;
  23617. }
  23618. packetl2c_flood_dragon_fly_lottery_result* packetl2c_flood_dragon_fly_lottery_result::default_instance_ = NULL;
  23619. packetl2c_flood_dragon_fly_lottery_result* packetl2c_flood_dragon_fly_lottery_result::New() const {
  23620. return new packetl2c_flood_dragon_fly_lottery_result;
  23621. }
  23622. void packetl2c_flood_dragon_fly_lottery_result::Clear() {
  23623. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23624. packet_id_ = 16211;
  23625. playerid_ = 0;
  23626. result_ = 0;
  23627. score_ = 0;
  23628. bulletrate_ = 0;
  23629. points_ = 0;
  23630. addpoints_ = 0;
  23631. }
  23632. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23633. mutable_unknown_fields()->Clear();
  23634. }
  23635. bool packetl2c_flood_dragon_fly_lottery_result::MergePartialFromCodedStream(
  23636. ::google::protobuf::io::CodedInputStream* input) {
  23637. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  23638. ::google::protobuf::uint32 tag;
  23639. while ((tag = input->ReadTag()) != 0) {
  23640. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  23641. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result];
  23642. case 1: {
  23643. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23644. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23645. int value;
  23646. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23647. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  23648. input, &value)));
  23649. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  23650. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  23651. } else {
  23652. mutable_unknown_fields()->AddVarint(1, value);
  23653. }
  23654. } else {
  23655. goto handle_uninterpreted;
  23656. }
  23657. if (input->ExpectTag(16)) goto parse_playerId;
  23658. break;
  23659. }
  23660. // optional int32 playerId = 2;
  23661. case 2: {
  23662. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23663. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23664. parse_playerId:
  23665. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23666. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23667. input, &playerid_)));
  23668. set_has_playerid();
  23669. } else {
  23670. goto handle_uninterpreted;
  23671. }
  23672. if (input->ExpectTag(24)) goto parse_result;
  23673. break;
  23674. }
  23675. // optional int32 result = 3;
  23676. case 3: {
  23677. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23678. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23679. parse_result:
  23680. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23681. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23682. input, &result_)));
  23683. set_has_result();
  23684. } else {
  23685. goto handle_uninterpreted;
  23686. }
  23687. if (input->ExpectTag(32)) goto parse_score;
  23688. break;
  23689. }
  23690. // optional int32 score = 4;
  23691. case 4: {
  23692. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23693. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23694. parse_score:
  23695. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23696. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23697. input, &score_)));
  23698. set_has_score();
  23699. } else {
  23700. goto handle_uninterpreted;
  23701. }
  23702. if (input->ExpectTag(40)) goto parse_bulletRate;
  23703. break;
  23704. }
  23705. // optional int32 bulletRate = 5;
  23706. case 5: {
  23707. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23708. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23709. parse_bulletRate:
  23710. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23711. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23712. input, &bulletrate_)));
  23713. set_has_bulletrate();
  23714. } else {
  23715. goto handle_uninterpreted;
  23716. }
  23717. if (input->ExpectTag(48)) goto parse_points;
  23718. break;
  23719. }
  23720. // optional int32 points = 6;
  23721. case 6: {
  23722. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23723. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23724. parse_points:
  23725. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23726. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23727. input, &points_)));
  23728. set_has_points();
  23729. } else {
  23730. goto handle_uninterpreted;
  23731. }
  23732. if (input->ExpectTag(56)) goto parse_addpoints;
  23733. break;
  23734. }
  23735. // optional int32 addpoints = 7;
  23736. case 7: {
  23737. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23738. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  23739. parse_addpoints:
  23740. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  23741. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  23742. input, &addpoints_)));
  23743. set_has_addpoints();
  23744. } else {
  23745. goto handle_uninterpreted;
  23746. }
  23747. if (input->ExpectAtEnd()) return true;
  23748. break;
  23749. }
  23750. default: {
  23751. handle_uninterpreted:
  23752. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  23753. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  23754. return true;
  23755. }
  23756. DO_(::google::protobuf::internal::WireFormat::SkipField(
  23757. input, tag, mutable_unknown_fields()));
  23758. break;
  23759. }
  23760. }
  23761. }
  23762. return true;
  23763. #undef DO_
  23764. }
  23765. void packetl2c_flood_dragon_fly_lottery_result::SerializeWithCachedSizes(
  23766. ::google::protobuf::io::CodedOutputStream* output) const {
  23767. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result];
  23768. if (has_packet_id()) {
  23769. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  23770. 1, this->packet_id(), output);
  23771. }
  23772. // optional int32 playerId = 2;
  23773. if (has_playerid()) {
  23774. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  23775. }
  23776. // optional int32 result = 3;
  23777. if (has_result()) {
  23778. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  23779. }
  23780. // optional int32 score = 4;
  23781. if (has_score()) {
  23782. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->score(), output);
  23783. }
  23784. // optional int32 bulletRate = 5;
  23785. if (has_bulletrate()) {
  23786. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->bulletrate(), output);
  23787. }
  23788. // optional int32 points = 6;
  23789. if (has_points()) {
  23790. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->points(), output);
  23791. }
  23792. // optional int32 addpoints = 7;
  23793. if (has_addpoints()) {
  23794. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->addpoints(), output);
  23795. }
  23796. if (!unknown_fields().empty()) {
  23797. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  23798. unknown_fields(), output);
  23799. }
  23800. }
  23801. ::google::protobuf::uint8* packetl2c_flood_dragon_fly_lottery_result::SerializeWithCachedSizesToArray(
  23802. ::google::protobuf::uint8* target) const {
  23803. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result];
  23804. if (has_packet_id()) {
  23805. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  23806. 1, this->packet_id(), target);
  23807. }
  23808. // optional int32 playerId = 2;
  23809. if (has_playerid()) {
  23810. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  23811. }
  23812. // optional int32 result = 3;
  23813. if (has_result()) {
  23814. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  23815. }
  23816. // optional int32 score = 4;
  23817. if (has_score()) {
  23818. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->score(), target);
  23819. }
  23820. // optional int32 bulletRate = 5;
  23821. if (has_bulletrate()) {
  23822. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->bulletrate(), target);
  23823. }
  23824. // optional int32 points = 6;
  23825. if (has_points()) {
  23826. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->points(), target);
  23827. }
  23828. // optional int32 addpoints = 7;
  23829. if (has_addpoints()) {
  23830. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->addpoints(), target);
  23831. }
  23832. if (!unknown_fields().empty()) {
  23833. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  23834. unknown_fields(), target);
  23835. }
  23836. return target;
  23837. }
  23838. int packetl2c_flood_dragon_fly_lottery_result::ByteSize() const {
  23839. int total_size = 0;
  23840. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23841. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result];
  23842. if (has_packet_id()) {
  23843. total_size += 1 +
  23844. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  23845. }
  23846. // optional int32 playerId = 2;
  23847. if (has_playerid()) {
  23848. total_size += 1 +
  23849. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23850. this->playerid());
  23851. }
  23852. // optional int32 result = 3;
  23853. if (has_result()) {
  23854. total_size += 1 +
  23855. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23856. this->result());
  23857. }
  23858. // optional int32 score = 4;
  23859. if (has_score()) {
  23860. total_size += 1 +
  23861. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23862. this->score());
  23863. }
  23864. // optional int32 bulletRate = 5;
  23865. if (has_bulletrate()) {
  23866. total_size += 1 +
  23867. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23868. this->bulletrate());
  23869. }
  23870. // optional int32 points = 6;
  23871. if (has_points()) {
  23872. total_size += 1 +
  23873. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23874. this->points());
  23875. }
  23876. // optional int32 addpoints = 7;
  23877. if (has_addpoints()) {
  23878. total_size += 1 +
  23879. ::google::protobuf::internal::WireFormatLite::Int32Size(
  23880. this->addpoints());
  23881. }
  23882. }
  23883. if (!unknown_fields().empty()) {
  23884. total_size +=
  23885. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  23886. unknown_fields());
  23887. }
  23888. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23889. _cached_size_ = total_size;
  23890. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23891. return total_size;
  23892. }
  23893. void packetl2c_flood_dragon_fly_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  23894. GOOGLE_CHECK_NE(&from, this);
  23895. const packetl2c_flood_dragon_fly_lottery_result* source =
  23896. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_flood_dragon_fly_lottery_result*>(
  23897. &from);
  23898. if (source == NULL) {
  23899. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  23900. } else {
  23901. MergeFrom(*source);
  23902. }
  23903. }
  23904. void packetl2c_flood_dragon_fly_lottery_result::MergeFrom(const packetl2c_flood_dragon_fly_lottery_result& from) {
  23905. GOOGLE_CHECK_NE(&from, this);
  23906. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  23907. if (from.has_packet_id()) {
  23908. set_packet_id(from.packet_id());
  23909. }
  23910. if (from.has_playerid()) {
  23911. set_playerid(from.playerid());
  23912. }
  23913. if (from.has_result()) {
  23914. set_result(from.result());
  23915. }
  23916. if (from.has_score()) {
  23917. set_score(from.score());
  23918. }
  23919. if (from.has_bulletrate()) {
  23920. set_bulletrate(from.bulletrate());
  23921. }
  23922. if (from.has_points()) {
  23923. set_points(from.points());
  23924. }
  23925. if (from.has_addpoints()) {
  23926. set_addpoints(from.addpoints());
  23927. }
  23928. }
  23929. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  23930. }
  23931. void packetl2c_flood_dragon_fly_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  23932. if (&from == this) return;
  23933. Clear();
  23934. MergeFrom(from);
  23935. }
  23936. void packetl2c_flood_dragon_fly_lottery_result::CopyFrom(const packetl2c_flood_dragon_fly_lottery_result& from) {
  23937. if (&from == this) return;
  23938. Clear();
  23939. MergeFrom(from);
  23940. }
  23941. bool packetl2c_flood_dragon_fly_lottery_result::IsInitialized() const {
  23942. return true;
  23943. }
  23944. void packetl2c_flood_dragon_fly_lottery_result::Swap(packetl2c_flood_dragon_fly_lottery_result* other) {
  23945. if (other != this) {
  23946. std::swap(packet_id_, other->packet_id_);
  23947. std::swap(playerid_, other->playerid_);
  23948. std::swap(result_, other->result_);
  23949. std::swap(score_, other->score_);
  23950. std::swap(bulletrate_, other->bulletrate_);
  23951. std::swap(points_, other->points_);
  23952. std::swap(addpoints_, other->addpoints_);
  23953. std::swap(_has_bits_[0], other->_has_bits_[0]);
  23954. _unknown_fields_.Swap(&other->_unknown_fields_);
  23955. std::swap(_cached_size_, other->_cached_size_);
  23956. }
  23957. }
  23958. ::google::protobuf::Metadata packetl2c_flood_dragon_fly_lottery_result::GetMetadata() const {
  23959. protobuf_AssignDescriptorsOnce();
  23960. ::google::protobuf::Metadata metadata;
  23961. metadata.descriptor = packetl2c_flood_dragon_fly_lottery_result_descriptor_;
  23962. metadata.reflection = packetl2c_flood_dragon_fly_lottery_result_reflection_;
  23963. return metadata;
  23964. }
  23965. // ===================================================================
  23966. #ifndef _MSC_VER
  23967. const int packetl2c_send_item::kPacketIdFieldNumber;
  23968. const int packetl2c_send_item::kPlayerIdFieldNumber;
  23969. const int packetl2c_send_item::kItemsFieldNumber;
  23970. #endif // !_MSC_VER
  23971. packetl2c_send_item::packetl2c_send_item()
  23972. : ::google::protobuf::Message() {
  23973. SharedCtor();
  23974. }
  23975. void packetl2c_send_item::InitAsDefaultInstance() {
  23976. }
  23977. packetl2c_send_item::packetl2c_send_item(const packetl2c_send_item& from)
  23978. : ::google::protobuf::Message() {
  23979. SharedCtor();
  23980. MergeFrom(from);
  23981. }
  23982. void packetl2c_send_item::SharedCtor() {
  23983. _cached_size_ = 0;
  23984. packet_id_ = 16219;
  23985. playerid_ = 0;
  23986. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  23987. }
  23988. packetl2c_send_item::~packetl2c_send_item() {
  23989. SharedDtor();
  23990. }
  23991. void packetl2c_send_item::SharedDtor() {
  23992. if (this != default_instance_) {
  23993. }
  23994. }
  23995. void packetl2c_send_item::SetCachedSize(int size) const {
  23996. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  23997. _cached_size_ = size;
  23998. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  23999. }
  24000. const ::google::protobuf::Descriptor* packetl2c_send_item::descriptor() {
  24001. protobuf_AssignDescriptorsOnce();
  24002. return packetl2c_send_item_descriptor_;
  24003. }
  24004. const packetl2c_send_item& packetl2c_send_item::default_instance() {
  24005. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  24006. return *default_instance_;
  24007. }
  24008. packetl2c_send_item* packetl2c_send_item::default_instance_ = NULL;
  24009. packetl2c_send_item* packetl2c_send_item::New() const {
  24010. return new packetl2c_send_item;
  24011. }
  24012. void packetl2c_send_item::Clear() {
  24013. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24014. packet_id_ = 16219;
  24015. playerid_ = 0;
  24016. }
  24017. items_.Clear();
  24018. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24019. mutable_unknown_fields()->Clear();
  24020. }
  24021. bool packetl2c_send_item::MergePartialFromCodedStream(
  24022. ::google::protobuf::io::CodedInputStream* input) {
  24023. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  24024. ::google::protobuf::uint32 tag;
  24025. while ((tag = input->ReadTag()) != 0) {
  24026. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24027. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item];
  24028. case 1: {
  24029. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24030. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24031. int value;
  24032. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24033. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  24034. input, &value)));
  24035. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  24036. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  24037. } else {
  24038. mutable_unknown_fields()->AddVarint(1, value);
  24039. }
  24040. } else {
  24041. goto handle_uninterpreted;
  24042. }
  24043. if (input->ExpectTag(16)) goto parse_playerId;
  24044. break;
  24045. }
  24046. // optional int32 playerId = 2;
  24047. case 2: {
  24048. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24049. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24050. parse_playerId:
  24051. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24052. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24053. input, &playerid_)));
  24054. set_has_playerid();
  24055. } else {
  24056. goto handle_uninterpreted;
  24057. }
  24058. if (input->ExpectTag(26)) goto parse_items;
  24059. break;
  24060. }
  24061. // repeated .fish_protocols.msg_item items = 3;
  24062. case 3: {
  24063. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24064. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  24065. parse_items:
  24066. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  24067. input, add_items()));
  24068. } else {
  24069. goto handle_uninterpreted;
  24070. }
  24071. if (input->ExpectTag(26)) goto parse_items;
  24072. if (input->ExpectAtEnd()) return true;
  24073. break;
  24074. }
  24075. default: {
  24076. handle_uninterpreted:
  24077. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24078. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24079. return true;
  24080. }
  24081. DO_(::google::protobuf::internal::WireFormat::SkipField(
  24082. input, tag, mutable_unknown_fields()));
  24083. break;
  24084. }
  24085. }
  24086. }
  24087. return true;
  24088. #undef DO_
  24089. }
  24090. void packetl2c_send_item::SerializeWithCachedSizes(
  24091. ::google::protobuf::io::CodedOutputStream* output) const {
  24092. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item];
  24093. if (has_packet_id()) {
  24094. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  24095. 1, this->packet_id(), output);
  24096. }
  24097. // optional int32 playerId = 2;
  24098. if (has_playerid()) {
  24099. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  24100. }
  24101. // repeated .fish_protocols.msg_item items = 3;
  24102. for (int i = 0; i < this->items_size(); i++) {
  24103. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  24104. 3, this->items(i), output);
  24105. }
  24106. if (!unknown_fields().empty()) {
  24107. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  24108. unknown_fields(), output);
  24109. }
  24110. }
  24111. ::google::protobuf::uint8* packetl2c_send_item::SerializeWithCachedSizesToArray(
  24112. ::google::protobuf::uint8* target) const {
  24113. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item];
  24114. if (has_packet_id()) {
  24115. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  24116. 1, this->packet_id(), target);
  24117. }
  24118. // optional int32 playerId = 2;
  24119. if (has_playerid()) {
  24120. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  24121. }
  24122. // repeated .fish_protocols.msg_item items = 3;
  24123. for (int i = 0; i < this->items_size(); i++) {
  24124. target = ::google::protobuf::internal::WireFormatLite::
  24125. WriteMessageNoVirtualToArray(
  24126. 3, this->items(i), target);
  24127. }
  24128. if (!unknown_fields().empty()) {
  24129. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  24130. unknown_fields(), target);
  24131. }
  24132. return target;
  24133. }
  24134. int packetl2c_send_item::ByteSize() const {
  24135. int total_size = 0;
  24136. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24137. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item];
  24138. if (has_packet_id()) {
  24139. total_size += 1 +
  24140. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  24141. }
  24142. // optional int32 playerId = 2;
  24143. if (has_playerid()) {
  24144. total_size += 1 +
  24145. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24146. this->playerid());
  24147. }
  24148. }
  24149. // repeated .fish_protocols.msg_item items = 3;
  24150. total_size += 1 * this->items_size();
  24151. for (int i = 0; i < this->items_size(); i++) {
  24152. total_size +=
  24153. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  24154. this->items(i));
  24155. }
  24156. if (!unknown_fields().empty()) {
  24157. total_size +=
  24158. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  24159. unknown_fields());
  24160. }
  24161. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24162. _cached_size_ = total_size;
  24163. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24164. return total_size;
  24165. }
  24166. void packetl2c_send_item::MergeFrom(const ::google::protobuf::Message& from) {
  24167. GOOGLE_CHECK_NE(&from, this);
  24168. const packetl2c_send_item* source =
  24169. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_send_item*>(
  24170. &from);
  24171. if (source == NULL) {
  24172. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24173. } else {
  24174. MergeFrom(*source);
  24175. }
  24176. }
  24177. void packetl2c_send_item::MergeFrom(const packetl2c_send_item& from) {
  24178. GOOGLE_CHECK_NE(&from, this);
  24179. items_.MergeFrom(from.items_);
  24180. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24181. if (from.has_packet_id()) {
  24182. set_packet_id(from.packet_id());
  24183. }
  24184. if (from.has_playerid()) {
  24185. set_playerid(from.playerid());
  24186. }
  24187. }
  24188. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  24189. }
  24190. void packetl2c_send_item::CopyFrom(const ::google::protobuf::Message& from) {
  24191. if (&from == this) return;
  24192. Clear();
  24193. MergeFrom(from);
  24194. }
  24195. void packetl2c_send_item::CopyFrom(const packetl2c_send_item& from) {
  24196. if (&from == this) return;
  24197. Clear();
  24198. MergeFrom(from);
  24199. }
  24200. bool packetl2c_send_item::IsInitialized() const {
  24201. return true;
  24202. }
  24203. void packetl2c_send_item::Swap(packetl2c_send_item* other) {
  24204. if (other != this) {
  24205. std::swap(packet_id_, other->packet_id_);
  24206. std::swap(playerid_, other->playerid_);
  24207. items_.Swap(&other->items_);
  24208. std::swap(_has_bits_[0], other->_has_bits_[0]);
  24209. _unknown_fields_.Swap(&other->_unknown_fields_);
  24210. std::swap(_cached_size_, other->_cached_size_);
  24211. }
  24212. }
  24213. ::google::protobuf::Metadata packetl2c_send_item::GetMetadata() const {
  24214. protobuf_AssignDescriptorsOnce();
  24215. ::google::protobuf::Metadata metadata;
  24216. metadata.descriptor = packetl2c_send_item_descriptor_;
  24217. metadata.reflection = packetl2c_send_item_reflection_;
  24218. return metadata;
  24219. }
  24220. // ===================================================================
  24221. #ifndef _MSC_VER
  24222. const int packetc2l_receive_tommorrow_reward::kPacketIdFieldNumber;
  24223. #endif // !_MSC_VER
  24224. packetc2l_receive_tommorrow_reward::packetc2l_receive_tommorrow_reward()
  24225. : ::google::protobuf::Message() {
  24226. SharedCtor();
  24227. }
  24228. void packetc2l_receive_tommorrow_reward::InitAsDefaultInstance() {
  24229. }
  24230. packetc2l_receive_tommorrow_reward::packetc2l_receive_tommorrow_reward(const packetc2l_receive_tommorrow_reward& from)
  24231. : ::google::protobuf::Message() {
  24232. SharedCtor();
  24233. MergeFrom(from);
  24234. }
  24235. void packetc2l_receive_tommorrow_reward::SharedCtor() {
  24236. _cached_size_ = 0;
  24237. packet_id_ = 10215;
  24238. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24239. }
  24240. packetc2l_receive_tommorrow_reward::~packetc2l_receive_tommorrow_reward() {
  24241. SharedDtor();
  24242. }
  24243. void packetc2l_receive_tommorrow_reward::SharedDtor() {
  24244. if (this != default_instance_) {
  24245. }
  24246. }
  24247. void packetc2l_receive_tommorrow_reward::SetCachedSize(int size) const {
  24248. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24249. _cached_size_ = size;
  24250. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24251. }
  24252. const ::google::protobuf::Descriptor* packetc2l_receive_tommorrow_reward::descriptor() {
  24253. protobuf_AssignDescriptorsOnce();
  24254. return packetc2l_receive_tommorrow_reward_descriptor_;
  24255. }
  24256. const packetc2l_receive_tommorrow_reward& packetc2l_receive_tommorrow_reward::default_instance() {
  24257. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  24258. return *default_instance_;
  24259. }
  24260. packetc2l_receive_tommorrow_reward* packetc2l_receive_tommorrow_reward::default_instance_ = NULL;
  24261. packetc2l_receive_tommorrow_reward* packetc2l_receive_tommorrow_reward::New() const {
  24262. return new packetc2l_receive_tommorrow_reward;
  24263. }
  24264. void packetc2l_receive_tommorrow_reward::Clear() {
  24265. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24266. packet_id_ = 10215;
  24267. }
  24268. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24269. mutable_unknown_fields()->Clear();
  24270. }
  24271. bool packetc2l_receive_tommorrow_reward::MergePartialFromCodedStream(
  24272. ::google::protobuf::io::CodedInputStream* input) {
  24273. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  24274. ::google::protobuf::uint32 tag;
  24275. while ((tag = input->ReadTag()) != 0) {
  24276. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24277. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward];
  24278. case 1: {
  24279. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24280. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24281. int value;
  24282. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24283. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  24284. input, &value)));
  24285. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  24286. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  24287. } else {
  24288. mutable_unknown_fields()->AddVarint(1, value);
  24289. }
  24290. } else {
  24291. goto handle_uninterpreted;
  24292. }
  24293. if (input->ExpectAtEnd()) return true;
  24294. break;
  24295. }
  24296. default: {
  24297. handle_uninterpreted:
  24298. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24299. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24300. return true;
  24301. }
  24302. DO_(::google::protobuf::internal::WireFormat::SkipField(
  24303. input, tag, mutable_unknown_fields()));
  24304. break;
  24305. }
  24306. }
  24307. }
  24308. return true;
  24309. #undef DO_
  24310. }
  24311. void packetc2l_receive_tommorrow_reward::SerializeWithCachedSizes(
  24312. ::google::protobuf::io::CodedOutputStream* output) const {
  24313. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward];
  24314. if (has_packet_id()) {
  24315. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  24316. 1, this->packet_id(), output);
  24317. }
  24318. if (!unknown_fields().empty()) {
  24319. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  24320. unknown_fields(), output);
  24321. }
  24322. }
  24323. ::google::protobuf::uint8* packetc2l_receive_tommorrow_reward::SerializeWithCachedSizesToArray(
  24324. ::google::protobuf::uint8* target) const {
  24325. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward];
  24326. if (has_packet_id()) {
  24327. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  24328. 1, this->packet_id(), target);
  24329. }
  24330. if (!unknown_fields().empty()) {
  24331. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  24332. unknown_fields(), target);
  24333. }
  24334. return target;
  24335. }
  24336. int packetc2l_receive_tommorrow_reward::ByteSize() const {
  24337. int total_size = 0;
  24338. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24339. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward];
  24340. if (has_packet_id()) {
  24341. total_size += 1 +
  24342. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  24343. }
  24344. }
  24345. if (!unknown_fields().empty()) {
  24346. total_size +=
  24347. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  24348. unknown_fields());
  24349. }
  24350. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24351. _cached_size_ = total_size;
  24352. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24353. return total_size;
  24354. }
  24355. void packetc2l_receive_tommorrow_reward::MergeFrom(const ::google::protobuf::Message& from) {
  24356. GOOGLE_CHECK_NE(&from, this);
  24357. const packetc2l_receive_tommorrow_reward* source =
  24358. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_receive_tommorrow_reward*>(
  24359. &from);
  24360. if (source == NULL) {
  24361. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24362. } else {
  24363. MergeFrom(*source);
  24364. }
  24365. }
  24366. void packetc2l_receive_tommorrow_reward::MergeFrom(const packetc2l_receive_tommorrow_reward& from) {
  24367. GOOGLE_CHECK_NE(&from, this);
  24368. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24369. if (from.has_packet_id()) {
  24370. set_packet_id(from.packet_id());
  24371. }
  24372. }
  24373. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  24374. }
  24375. void packetc2l_receive_tommorrow_reward::CopyFrom(const ::google::protobuf::Message& from) {
  24376. if (&from == this) return;
  24377. Clear();
  24378. MergeFrom(from);
  24379. }
  24380. void packetc2l_receive_tommorrow_reward::CopyFrom(const packetc2l_receive_tommorrow_reward& from) {
  24381. if (&from == this) return;
  24382. Clear();
  24383. MergeFrom(from);
  24384. }
  24385. bool packetc2l_receive_tommorrow_reward::IsInitialized() const {
  24386. return true;
  24387. }
  24388. void packetc2l_receive_tommorrow_reward::Swap(packetc2l_receive_tommorrow_reward* other) {
  24389. if (other != this) {
  24390. std::swap(packet_id_, other->packet_id_);
  24391. std::swap(_has_bits_[0], other->_has_bits_[0]);
  24392. _unknown_fields_.Swap(&other->_unknown_fields_);
  24393. std::swap(_cached_size_, other->_cached_size_);
  24394. }
  24395. }
  24396. ::google::protobuf::Metadata packetc2l_receive_tommorrow_reward::GetMetadata() const {
  24397. protobuf_AssignDescriptorsOnce();
  24398. ::google::protobuf::Metadata metadata;
  24399. metadata.descriptor = packetc2l_receive_tommorrow_reward_descriptor_;
  24400. metadata.reflection = packetc2l_receive_tommorrow_reward_reflection_;
  24401. return metadata;
  24402. }
  24403. // ===================================================================
  24404. #ifndef _MSC_VER
  24405. const int packetl2c_receive_tommorrow_reward_result::kPacketIdFieldNumber;
  24406. const int packetl2c_receive_tommorrow_reward_result::kResultFieldNumber;
  24407. #endif // !_MSC_VER
  24408. packetl2c_receive_tommorrow_reward_result::packetl2c_receive_tommorrow_reward_result()
  24409. : ::google::protobuf::Message() {
  24410. SharedCtor();
  24411. }
  24412. void packetl2c_receive_tommorrow_reward_result::InitAsDefaultInstance() {
  24413. }
  24414. packetl2c_receive_tommorrow_reward_result::packetl2c_receive_tommorrow_reward_result(const packetl2c_receive_tommorrow_reward_result& from)
  24415. : ::google::protobuf::Message() {
  24416. SharedCtor();
  24417. MergeFrom(from);
  24418. }
  24419. void packetl2c_receive_tommorrow_reward_result::SharedCtor() {
  24420. _cached_size_ = 0;
  24421. packet_id_ = 16220;
  24422. result_ = 0;
  24423. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24424. }
  24425. packetl2c_receive_tommorrow_reward_result::~packetl2c_receive_tommorrow_reward_result() {
  24426. SharedDtor();
  24427. }
  24428. void packetl2c_receive_tommorrow_reward_result::SharedDtor() {
  24429. if (this != default_instance_) {
  24430. }
  24431. }
  24432. void packetl2c_receive_tommorrow_reward_result::SetCachedSize(int size) const {
  24433. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24434. _cached_size_ = size;
  24435. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24436. }
  24437. const ::google::protobuf::Descriptor* packetl2c_receive_tommorrow_reward_result::descriptor() {
  24438. protobuf_AssignDescriptorsOnce();
  24439. return packetl2c_receive_tommorrow_reward_result_descriptor_;
  24440. }
  24441. const packetl2c_receive_tommorrow_reward_result& packetl2c_receive_tommorrow_reward_result::default_instance() {
  24442. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto();
  24443. return *default_instance_;
  24444. }
  24445. packetl2c_receive_tommorrow_reward_result* packetl2c_receive_tommorrow_reward_result::default_instance_ = NULL;
  24446. packetl2c_receive_tommorrow_reward_result* packetl2c_receive_tommorrow_reward_result::New() const {
  24447. return new packetl2c_receive_tommorrow_reward_result;
  24448. }
  24449. void packetl2c_receive_tommorrow_reward_result::Clear() {
  24450. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24451. packet_id_ = 16220;
  24452. result_ = 0;
  24453. }
  24454. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  24455. mutable_unknown_fields()->Clear();
  24456. }
  24457. bool packetl2c_receive_tommorrow_reward_result::MergePartialFromCodedStream(
  24458. ::google::protobuf::io::CodedInputStream* input) {
  24459. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  24460. ::google::protobuf::uint32 tag;
  24461. while ((tag = input->ReadTag()) != 0) {
  24462. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  24463. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result];
  24464. case 1: {
  24465. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24466. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24467. int value;
  24468. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24469. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  24470. input, &value)));
  24471. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  24472. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  24473. } else {
  24474. mutable_unknown_fields()->AddVarint(1, value);
  24475. }
  24476. } else {
  24477. goto handle_uninterpreted;
  24478. }
  24479. if (input->ExpectTag(16)) goto parse_result;
  24480. break;
  24481. }
  24482. // optional int32 result = 2;
  24483. case 2: {
  24484. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24485. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  24486. parse_result:
  24487. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  24488. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  24489. input, &result_)));
  24490. set_has_result();
  24491. } else {
  24492. goto handle_uninterpreted;
  24493. }
  24494. if (input->ExpectAtEnd()) return true;
  24495. break;
  24496. }
  24497. default: {
  24498. handle_uninterpreted:
  24499. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  24500. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  24501. return true;
  24502. }
  24503. DO_(::google::protobuf::internal::WireFormat::SkipField(
  24504. input, tag, mutable_unknown_fields()));
  24505. break;
  24506. }
  24507. }
  24508. }
  24509. return true;
  24510. #undef DO_
  24511. }
  24512. void packetl2c_receive_tommorrow_reward_result::SerializeWithCachedSizes(
  24513. ::google::protobuf::io::CodedOutputStream* output) const {
  24514. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result];
  24515. if (has_packet_id()) {
  24516. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  24517. 1, this->packet_id(), output);
  24518. }
  24519. // optional int32 result = 2;
  24520. if (has_result()) {
  24521. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  24522. }
  24523. if (!unknown_fields().empty()) {
  24524. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  24525. unknown_fields(), output);
  24526. }
  24527. }
  24528. ::google::protobuf::uint8* packetl2c_receive_tommorrow_reward_result::SerializeWithCachedSizesToArray(
  24529. ::google::protobuf::uint8* target) const {
  24530. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result];
  24531. if (has_packet_id()) {
  24532. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  24533. 1, this->packet_id(), target);
  24534. }
  24535. // optional int32 result = 2;
  24536. if (has_result()) {
  24537. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  24538. }
  24539. if (!unknown_fields().empty()) {
  24540. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  24541. unknown_fields(), target);
  24542. }
  24543. return target;
  24544. }
  24545. int packetl2c_receive_tommorrow_reward_result::ByteSize() const {
  24546. int total_size = 0;
  24547. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24548. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result];
  24549. if (has_packet_id()) {
  24550. total_size += 1 +
  24551. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  24552. }
  24553. // optional int32 result = 2;
  24554. if (has_result()) {
  24555. total_size += 1 +
  24556. ::google::protobuf::internal::WireFormatLite::Int32Size(
  24557. this->result());
  24558. }
  24559. }
  24560. if (!unknown_fields().empty()) {
  24561. total_size +=
  24562. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  24563. unknown_fields());
  24564. }
  24565. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  24566. _cached_size_ = total_size;
  24567. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  24568. return total_size;
  24569. }
  24570. void packetl2c_receive_tommorrow_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  24571. GOOGLE_CHECK_NE(&from, this);
  24572. const packetl2c_receive_tommorrow_reward_result* source =
  24573. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_receive_tommorrow_reward_result*>(
  24574. &from);
  24575. if (source == NULL) {
  24576. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  24577. } else {
  24578. MergeFrom(*source);
  24579. }
  24580. }
  24581. void packetl2c_receive_tommorrow_reward_result::MergeFrom(const packetl2c_receive_tommorrow_reward_result& from) {
  24582. GOOGLE_CHECK_NE(&from, this);
  24583. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  24584. if (from.has_packet_id()) {
  24585. set_packet_id(from.packet_id());
  24586. }
  24587. if (from.has_result()) {
  24588. set_result(from.result());
  24589. }
  24590. }
  24591. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  24592. }
  24593. void packetl2c_receive_tommorrow_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  24594. if (&from == this) return;
  24595. Clear();
  24596. MergeFrom(from);
  24597. }
  24598. void packetl2c_receive_tommorrow_reward_result::CopyFrom(const packetl2c_receive_tommorrow_reward_result& from) {
  24599. if (&from == this) return;
  24600. Clear();
  24601. MergeFrom(from);
  24602. }
  24603. bool packetl2c_receive_tommorrow_reward_result::IsInitialized() const {
  24604. return true;
  24605. }
  24606. void packetl2c_receive_tommorrow_reward_result::Swap(packetl2c_receive_tommorrow_reward_result* other) {
  24607. if (other != this) {
  24608. std::swap(packet_id_, other->packet_id_);
  24609. std::swap(result_, other->result_);
  24610. std::swap(_has_bits_[0], other->_has_bits_[0]);
  24611. _unknown_fields_.Swap(&other->_unknown_fields_);
  24612. std::swap(_cached_size_, other->_cached_size_);
  24613. }
  24614. }
  24615. ::google::protobuf::Metadata packetl2c_receive_tommorrow_reward_result::GetMetadata() const {
  24616. protobuf_AssignDescriptorsOnce();
  24617. ::google::protobuf::Metadata metadata;
  24618. metadata.descriptor = packetl2c_receive_tommorrow_reward_result_descriptor_;
  24619. metadata.reflection = packetl2c_receive_tommorrow_reward_result_reflection_;
  24620. return metadata;
  24621. }
  24622. // @@protoc_insertion_point(namespace_scope)
  24623. } // namespace fish_protocols
  24624. // @@protoc_insertion_point(global_scope)