fish_match.pb.cc 295 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_match.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "fish_match.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* matchRankInfo_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. matchRankInfo_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* questInfo_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. questInfo_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* killFishInfo_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. killFishInfo_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* packetc2l_get_arena_match_info_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. packetc2l_get_arena_match_info_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetl2c_get_arena_match_info_result_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetl2c_get_arena_match_info_result_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetc2l_syn_arena_match_bullet_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetc2l_syn_arena_match_bullet_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetl2c_syn_arena_match_bullet_result_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetl2c_syn_arena_match_bullet_result_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* packetc2l_get_arena_match_history_rank_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. packetc2l_get_arena_match_history_rank_reflection_ = NULL;
  41. const ::google::protobuf::Descriptor* packetl2c_get_arena_match_history_rank_result_descriptor_ = NULL;
  42. const ::google::protobuf::internal::GeneratedMessageReflection*
  43. packetl2c_get_arena_match_history_rank_result_reflection_ = NULL;
  44. const ::google::protobuf::Descriptor* packetc2l_join_arena_match_descriptor_ = NULL;
  45. const ::google::protobuf::internal::GeneratedMessageReflection*
  46. packetc2l_join_arena_match_reflection_ = NULL;
  47. const ::google::protobuf::Descriptor* packetl2c_join_arena_match_result_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. packetl2c_join_arena_match_result_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* packetl2c_notify_arena_match_add_bullet_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. packetl2c_notify_arena_match_add_bullet_reflection_ = NULL;
  53. const ::google::protobuf::Descriptor* buffInfo_descriptor_ = NULL;
  54. const ::google::protobuf::internal::GeneratedMessageReflection*
  55. buffInfo_reflection_ = NULL;
  56. const ::google::protobuf::Descriptor* packetl2c_arena_match_end_notify_descriptor_ = NULL;
  57. const ::google::protobuf::internal::GeneratedMessageReflection*
  58. packetl2c_arena_match_end_notify_reflection_ = NULL;
  59. const ::google::protobuf::Descriptor* packetc2l_get_freedom_match_info_descriptor_ = NULL;
  60. const ::google::protobuf::internal::GeneratedMessageReflection*
  61. packetc2l_get_freedom_match_info_reflection_ = NULL;
  62. const ::google::protobuf::Descriptor* packetl2c_get_freedom_match_info_result_descriptor_ = NULL;
  63. const ::google::protobuf::internal::GeneratedMessageReflection*
  64. packetl2c_get_freedom_match_info_result_reflection_ = NULL;
  65. const ::google::protobuf::Descriptor* packetc2l_syn_freedom_match_bullet_descriptor_ = NULL;
  66. const ::google::protobuf::internal::GeneratedMessageReflection*
  67. packetc2l_syn_freedom_match_bullet_reflection_ = NULL;
  68. const ::google::protobuf::Descriptor* packetl2c_syn_freedom_match_bullet_result_descriptor_ = NULL;
  69. const ::google::protobuf::internal::GeneratedMessageReflection*
  70. packetl2c_syn_freedom_match_bullet_result_reflection_ = NULL;
  71. const ::google::protobuf::Descriptor* packetc2l_join_freedom_match_descriptor_ = NULL;
  72. const ::google::protobuf::internal::GeneratedMessageReflection*
  73. packetc2l_join_freedom_match_reflection_ = NULL;
  74. const ::google::protobuf::Descriptor* packetl2c_join_freedom_match_result_descriptor_ = NULL;
  75. const ::google::protobuf::internal::GeneratedMessageReflection*
  76. packetl2c_join_freedom_match_result_reflection_ = NULL;
  77. const ::google::protobuf::Descriptor* packetc2l_freedom_match_do_balance_descriptor_ = NULL;
  78. const ::google::protobuf::internal::GeneratedMessageReflection*
  79. packetc2l_freedom_match_do_balance_reflection_ = NULL;
  80. const ::google::protobuf::Descriptor* packetl2c_freedom_match_end_notify_descriptor_ = NULL;
  81. const ::google::protobuf::internal::GeneratedMessageReflection*
  82. packetl2c_freedom_match_end_notify_reflection_ = NULL;
  83. } // namespace
  84. void protobuf_AssignDesc_fish_5fmatch_2eproto() {
  85. protobuf_AddDesc_fish_5fmatch_2eproto();
  86. const ::google::protobuf::FileDescriptor* file =
  87. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  88. "fish_match.proto");
  89. GOOGLE_CHECK(file != NULL);
  90. matchRankInfo_descriptor_ = file->message_type(0);
  91. static const int matchRankInfo_offsets_[7] = {
  92. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, playerid_),
  93. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, nickname_),
  94. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, vip_),
  95. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, headid_),
  96. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, frameid_),
  97. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, rank_),
  98. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, score_),
  99. };
  100. matchRankInfo_reflection_ =
  101. new ::google::protobuf::internal::GeneratedMessageReflection(
  102. matchRankInfo_descriptor_,
  103. matchRankInfo::default_instance_,
  104. matchRankInfo_offsets_,
  105. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, _has_bits_[0]),
  106. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(matchRankInfo, _unknown_fields_),
  107. -1,
  108. ::google::protobuf::DescriptorPool::generated_pool(),
  109. ::google::protobuf::MessageFactory::generated_factory(),
  110. sizeof(matchRankInfo));
  111. questInfo_descriptor_ = file->message_type(1);
  112. static const int questInfo_offsets_[2] = {
  113. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(questInfo, questid_),
  114. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(questInfo, count_),
  115. };
  116. questInfo_reflection_ =
  117. new ::google::protobuf::internal::GeneratedMessageReflection(
  118. questInfo_descriptor_,
  119. questInfo::default_instance_,
  120. questInfo_offsets_,
  121. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(questInfo, _has_bits_[0]),
  122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(questInfo, _unknown_fields_),
  123. -1,
  124. ::google::protobuf::DescriptorPool::generated_pool(),
  125. ::google::protobuf::MessageFactory::generated_factory(),
  126. sizeof(questInfo));
  127. killFishInfo_descriptor_ = file->message_type(2);
  128. static const int killFishInfo_offsets_[2] = {
  129. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(killFishInfo, fishid_),
  130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(killFishInfo, count_),
  131. };
  132. killFishInfo_reflection_ =
  133. new ::google::protobuf::internal::GeneratedMessageReflection(
  134. killFishInfo_descriptor_,
  135. killFishInfo::default_instance_,
  136. killFishInfo_offsets_,
  137. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(killFishInfo, _has_bits_[0]),
  138. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(killFishInfo, _unknown_fields_),
  139. -1,
  140. ::google::protobuf::DescriptorPool::generated_pool(),
  141. ::google::protobuf::MessageFactory::generated_factory(),
  142. sizeof(killFishInfo));
  143. packetc2l_get_arena_match_info_descriptor_ = file->message_type(3);
  144. static const int packetc2l_get_arena_match_info_offsets_[1] = {
  145. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_arena_match_info, packet_id_),
  146. };
  147. packetc2l_get_arena_match_info_reflection_ =
  148. new ::google::protobuf::internal::GeneratedMessageReflection(
  149. packetc2l_get_arena_match_info_descriptor_,
  150. packetc2l_get_arena_match_info::default_instance_,
  151. packetc2l_get_arena_match_info_offsets_,
  152. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_arena_match_info, _has_bits_[0]),
  153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_arena_match_info, _unknown_fields_),
  154. -1,
  155. ::google::protobuf::DescriptorPool::generated_pool(),
  156. ::google::protobuf::MessageFactory::generated_factory(),
  157. sizeof(packetc2l_get_arena_match_info));
  158. packetl2c_get_arena_match_info_result_descriptor_ = file->message_type(4);
  159. static const int packetl2c_get_arena_match_info_result_offsets_[13] = {
  160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, packet_id_),
  161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, dailyranklist_),
  162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, weeklyranklist_),
  163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, questlist_),
  164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, killlist_),
  165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, bulletcount_),
  166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, curscore_),
  167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, joincount_),
  168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, questgroup_),
  169. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, selfdayrank_),
  170. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, selfweekrank_),
  171. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, starttime_),
  172. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, endtime_),
  173. };
  174. packetl2c_get_arena_match_info_result_reflection_ =
  175. new ::google::protobuf::internal::GeneratedMessageReflection(
  176. packetl2c_get_arena_match_info_result_descriptor_,
  177. packetl2c_get_arena_match_info_result::default_instance_,
  178. packetl2c_get_arena_match_info_result_offsets_,
  179. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, _has_bits_[0]),
  180. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_info_result, _unknown_fields_),
  181. -1,
  182. ::google::protobuf::DescriptorPool::generated_pool(),
  183. ::google::protobuf::MessageFactory::generated_factory(),
  184. sizeof(packetl2c_get_arena_match_info_result));
  185. packetc2l_syn_arena_match_bullet_descriptor_ = file->message_type(5);
  186. static const int packetc2l_syn_arena_match_bullet_offsets_[1] = {
  187. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_syn_arena_match_bullet, packet_id_),
  188. };
  189. packetc2l_syn_arena_match_bullet_reflection_ =
  190. new ::google::protobuf::internal::GeneratedMessageReflection(
  191. packetc2l_syn_arena_match_bullet_descriptor_,
  192. packetc2l_syn_arena_match_bullet::default_instance_,
  193. packetc2l_syn_arena_match_bullet_offsets_,
  194. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_syn_arena_match_bullet, _has_bits_[0]),
  195. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_syn_arena_match_bullet, _unknown_fields_),
  196. -1,
  197. ::google::protobuf::DescriptorPool::generated_pool(),
  198. ::google::protobuf::MessageFactory::generated_factory(),
  199. sizeof(packetc2l_syn_arena_match_bullet));
  200. packetl2c_syn_arena_match_bullet_result_descriptor_ = file->message_type(6);
  201. static const int packetl2c_syn_arena_match_bullet_result_offsets_[2] = {
  202. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_arena_match_bullet_result, packet_id_),
  203. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_arena_match_bullet_result, bulletcount_),
  204. };
  205. packetl2c_syn_arena_match_bullet_result_reflection_ =
  206. new ::google::protobuf::internal::GeneratedMessageReflection(
  207. packetl2c_syn_arena_match_bullet_result_descriptor_,
  208. packetl2c_syn_arena_match_bullet_result::default_instance_,
  209. packetl2c_syn_arena_match_bullet_result_offsets_,
  210. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_arena_match_bullet_result, _has_bits_[0]),
  211. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_arena_match_bullet_result, _unknown_fields_),
  212. -1,
  213. ::google::protobuf::DescriptorPool::generated_pool(),
  214. ::google::protobuf::MessageFactory::generated_factory(),
  215. sizeof(packetl2c_syn_arena_match_bullet_result));
  216. packetc2l_get_arena_match_history_rank_descriptor_ = file->message_type(7);
  217. static const int packetc2l_get_arena_match_history_rank_offsets_[2] = {
  218. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_arena_match_history_rank, packet_id_),
  219. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_arena_match_history_rank, type_),
  220. };
  221. packetc2l_get_arena_match_history_rank_reflection_ =
  222. new ::google::protobuf::internal::GeneratedMessageReflection(
  223. packetc2l_get_arena_match_history_rank_descriptor_,
  224. packetc2l_get_arena_match_history_rank::default_instance_,
  225. packetc2l_get_arena_match_history_rank_offsets_,
  226. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_arena_match_history_rank, _has_bits_[0]),
  227. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_arena_match_history_rank, _unknown_fields_),
  228. -1,
  229. ::google::protobuf::DescriptorPool::generated_pool(),
  230. ::google::protobuf::MessageFactory::generated_factory(),
  231. sizeof(packetc2l_get_arena_match_history_rank));
  232. packetl2c_get_arena_match_history_rank_result_descriptor_ = file->message_type(8);
  233. static const int packetl2c_get_arena_match_history_rank_result_offsets_[4] = {
  234. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_history_rank_result, packet_id_),
  235. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_history_rank_result, type_),
  236. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_history_rank_result, ranklist_),
  237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_history_rank_result, selfrank_),
  238. };
  239. packetl2c_get_arena_match_history_rank_result_reflection_ =
  240. new ::google::protobuf::internal::GeneratedMessageReflection(
  241. packetl2c_get_arena_match_history_rank_result_descriptor_,
  242. packetl2c_get_arena_match_history_rank_result::default_instance_,
  243. packetl2c_get_arena_match_history_rank_result_offsets_,
  244. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_history_rank_result, _has_bits_[0]),
  245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_arena_match_history_rank_result, _unknown_fields_),
  246. -1,
  247. ::google::protobuf::DescriptorPool::generated_pool(),
  248. ::google::protobuf::MessageFactory::generated_factory(),
  249. sizeof(packetl2c_get_arena_match_history_rank_result));
  250. packetc2l_join_arena_match_descriptor_ = file->message_type(9);
  251. static const int packetc2l_join_arena_match_offsets_[1] = {
  252. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_join_arena_match, packet_id_),
  253. };
  254. packetc2l_join_arena_match_reflection_ =
  255. new ::google::protobuf::internal::GeneratedMessageReflection(
  256. packetc2l_join_arena_match_descriptor_,
  257. packetc2l_join_arena_match::default_instance_,
  258. packetc2l_join_arena_match_offsets_,
  259. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_join_arena_match, _has_bits_[0]),
  260. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_join_arena_match, _unknown_fields_),
  261. -1,
  262. ::google::protobuf::DescriptorPool::generated_pool(),
  263. ::google::protobuf::MessageFactory::generated_factory(),
  264. sizeof(packetc2l_join_arena_match));
  265. packetl2c_join_arena_match_result_descriptor_ = file->message_type(10);
  266. static const int packetl2c_join_arena_match_result_offsets_[7] = {
  267. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, packet_id_),
  268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, result_),
  269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, playerid_),
  270. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, bulletcount_),
  271. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, curscore_),
  272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, joincount_),
  273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, questgroup_),
  274. };
  275. packetl2c_join_arena_match_result_reflection_ =
  276. new ::google::protobuf::internal::GeneratedMessageReflection(
  277. packetl2c_join_arena_match_result_descriptor_,
  278. packetl2c_join_arena_match_result::default_instance_,
  279. packetl2c_join_arena_match_result_offsets_,
  280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, _has_bits_[0]),
  281. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_arena_match_result, _unknown_fields_),
  282. -1,
  283. ::google::protobuf::DescriptorPool::generated_pool(),
  284. ::google::protobuf::MessageFactory::generated_factory(),
  285. sizeof(packetl2c_join_arena_match_result));
  286. packetl2c_notify_arena_match_add_bullet_descriptor_ = file->message_type(11);
  287. static const int packetl2c_notify_arena_match_add_bullet_offsets_[4] = {
  288. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_arena_match_add_bullet, packet_id_),
  289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_arena_match_add_bullet, playerid_),
  290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_arena_match_add_bullet, addcount_),
  291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_arena_match_add_bullet, curcount_),
  292. };
  293. packetl2c_notify_arena_match_add_bullet_reflection_ =
  294. new ::google::protobuf::internal::GeneratedMessageReflection(
  295. packetl2c_notify_arena_match_add_bullet_descriptor_,
  296. packetl2c_notify_arena_match_add_bullet::default_instance_,
  297. packetl2c_notify_arena_match_add_bullet_offsets_,
  298. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_arena_match_add_bullet, _has_bits_[0]),
  299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_arena_match_add_bullet, _unknown_fields_),
  300. -1,
  301. ::google::protobuf::DescriptorPool::generated_pool(),
  302. ::google::protobuf::MessageFactory::generated_factory(),
  303. sizeof(packetl2c_notify_arena_match_add_bullet));
  304. buffInfo_descriptor_ = file->message_type(12);
  305. static const int buffInfo_offsets_[2] = {
  306. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(buffInfo, buffid_),
  307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(buffInfo, buffrate_),
  308. };
  309. buffInfo_reflection_ =
  310. new ::google::protobuf::internal::GeneratedMessageReflection(
  311. buffInfo_descriptor_,
  312. buffInfo::default_instance_,
  313. buffInfo_offsets_,
  314. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(buffInfo, _has_bits_[0]),
  315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(buffInfo, _unknown_fields_),
  316. -1,
  317. ::google::protobuf::DescriptorPool::generated_pool(),
  318. ::google::protobuf::MessageFactory::generated_factory(),
  319. sizeof(buffInfo));
  320. packetl2c_arena_match_end_notify_descriptor_ = file->message_type(13);
  321. static const int packetl2c_arena_match_end_notify_offsets_[7] = {
  322. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, packet_id_),
  323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, reason_),
  324. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, bufflist_),
  325. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, rank_),
  326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, curbasescore_),
  327. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, curaddscore_),
  328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, topscore_),
  329. };
  330. packetl2c_arena_match_end_notify_reflection_ =
  331. new ::google::protobuf::internal::GeneratedMessageReflection(
  332. packetl2c_arena_match_end_notify_descriptor_,
  333. packetl2c_arena_match_end_notify::default_instance_,
  334. packetl2c_arena_match_end_notify_offsets_,
  335. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, _has_bits_[0]),
  336. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_arena_match_end_notify, _unknown_fields_),
  337. -1,
  338. ::google::protobuf::DescriptorPool::generated_pool(),
  339. ::google::protobuf::MessageFactory::generated_factory(),
  340. sizeof(packetl2c_arena_match_end_notify));
  341. packetc2l_get_freedom_match_info_descriptor_ = file->message_type(14);
  342. static const int packetc2l_get_freedom_match_info_offsets_[2] = {
  343. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_freedom_match_info, packet_id_),
  344. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_freedom_match_info, roomid_),
  345. };
  346. packetc2l_get_freedom_match_info_reflection_ =
  347. new ::google::protobuf::internal::GeneratedMessageReflection(
  348. packetc2l_get_freedom_match_info_descriptor_,
  349. packetc2l_get_freedom_match_info::default_instance_,
  350. packetc2l_get_freedom_match_info_offsets_,
  351. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_freedom_match_info, _has_bits_[0]),
  352. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_freedom_match_info, _unknown_fields_),
  353. -1,
  354. ::google::protobuf::DescriptorPool::generated_pool(),
  355. ::google::protobuf::MessageFactory::generated_factory(),
  356. sizeof(packetc2l_get_freedom_match_info));
  357. packetl2c_get_freedom_match_info_result_descriptor_ = file->message_type(15);
  358. static const int packetl2c_get_freedom_match_info_result_offsets_[10] = {
  359. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, packet_id_),
  360. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, roomid_),
  361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, dailyranklist_),
  362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, bulletcount_),
  363. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, curscore_),
  364. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, joincount_),
  365. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, leftsecond_),
  366. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, selfdayrank_),
  367. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, starttime_),
  368. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, endtime_),
  369. };
  370. packetl2c_get_freedom_match_info_result_reflection_ =
  371. new ::google::protobuf::internal::GeneratedMessageReflection(
  372. packetl2c_get_freedom_match_info_result_descriptor_,
  373. packetl2c_get_freedom_match_info_result::default_instance_,
  374. packetl2c_get_freedom_match_info_result_offsets_,
  375. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, _has_bits_[0]),
  376. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_freedom_match_info_result, _unknown_fields_),
  377. -1,
  378. ::google::protobuf::DescriptorPool::generated_pool(),
  379. ::google::protobuf::MessageFactory::generated_factory(),
  380. sizeof(packetl2c_get_freedom_match_info_result));
  381. packetc2l_syn_freedom_match_bullet_descriptor_ = file->message_type(16);
  382. static const int packetc2l_syn_freedom_match_bullet_offsets_[2] = {
  383. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_syn_freedom_match_bullet, packet_id_),
  384. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_syn_freedom_match_bullet, roomid_),
  385. };
  386. packetc2l_syn_freedom_match_bullet_reflection_ =
  387. new ::google::protobuf::internal::GeneratedMessageReflection(
  388. packetc2l_syn_freedom_match_bullet_descriptor_,
  389. packetc2l_syn_freedom_match_bullet::default_instance_,
  390. packetc2l_syn_freedom_match_bullet_offsets_,
  391. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_syn_freedom_match_bullet, _has_bits_[0]),
  392. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_syn_freedom_match_bullet, _unknown_fields_),
  393. -1,
  394. ::google::protobuf::DescriptorPool::generated_pool(),
  395. ::google::protobuf::MessageFactory::generated_factory(),
  396. sizeof(packetc2l_syn_freedom_match_bullet));
  397. packetl2c_syn_freedom_match_bullet_result_descriptor_ = file->message_type(17);
  398. static const int packetl2c_syn_freedom_match_bullet_result_offsets_[3] = {
  399. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_freedom_match_bullet_result, packet_id_),
  400. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_freedom_match_bullet_result, roomid_),
  401. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_freedom_match_bullet_result, bulletcount_),
  402. };
  403. packetl2c_syn_freedom_match_bullet_result_reflection_ =
  404. new ::google::protobuf::internal::GeneratedMessageReflection(
  405. packetl2c_syn_freedom_match_bullet_result_descriptor_,
  406. packetl2c_syn_freedom_match_bullet_result::default_instance_,
  407. packetl2c_syn_freedom_match_bullet_result_offsets_,
  408. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_freedom_match_bullet_result, _has_bits_[0]),
  409. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_syn_freedom_match_bullet_result, _unknown_fields_),
  410. -1,
  411. ::google::protobuf::DescriptorPool::generated_pool(),
  412. ::google::protobuf::MessageFactory::generated_factory(),
  413. sizeof(packetl2c_syn_freedom_match_bullet_result));
  414. packetc2l_join_freedom_match_descriptor_ = file->message_type(18);
  415. static const int packetc2l_join_freedom_match_offsets_[2] = {
  416. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_join_freedom_match, packet_id_),
  417. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_join_freedom_match, roomid_),
  418. };
  419. packetc2l_join_freedom_match_reflection_ =
  420. new ::google::protobuf::internal::GeneratedMessageReflection(
  421. packetc2l_join_freedom_match_descriptor_,
  422. packetc2l_join_freedom_match::default_instance_,
  423. packetc2l_join_freedom_match_offsets_,
  424. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_join_freedom_match, _has_bits_[0]),
  425. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_join_freedom_match, _unknown_fields_),
  426. -1,
  427. ::google::protobuf::DescriptorPool::generated_pool(),
  428. ::google::protobuf::MessageFactory::generated_factory(),
  429. sizeof(packetc2l_join_freedom_match));
  430. packetl2c_join_freedom_match_result_descriptor_ = file->message_type(19);
  431. static const int packetl2c_join_freedom_match_result_offsets_[8] = {
  432. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, packet_id_),
  433. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, result_),
  434. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, roomid_),
  435. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, playerid_),
  436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, bulletcount_),
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, curscore_),
  438. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, joincount_),
  439. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, leftsecond_),
  440. };
  441. packetl2c_join_freedom_match_result_reflection_ =
  442. new ::google::protobuf::internal::GeneratedMessageReflection(
  443. packetl2c_join_freedom_match_result_descriptor_,
  444. packetl2c_join_freedom_match_result::default_instance_,
  445. packetl2c_join_freedom_match_result_offsets_,
  446. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, _has_bits_[0]),
  447. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_join_freedom_match_result, _unknown_fields_),
  448. -1,
  449. ::google::protobuf::DescriptorPool::generated_pool(),
  450. ::google::protobuf::MessageFactory::generated_factory(),
  451. sizeof(packetl2c_join_freedom_match_result));
  452. packetc2l_freedom_match_do_balance_descriptor_ = file->message_type(20);
  453. static const int packetc2l_freedom_match_do_balance_offsets_[2] = {
  454. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_freedom_match_do_balance, packet_id_),
  455. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_freedom_match_do_balance, roomid_),
  456. };
  457. packetc2l_freedom_match_do_balance_reflection_ =
  458. new ::google::protobuf::internal::GeneratedMessageReflection(
  459. packetc2l_freedom_match_do_balance_descriptor_,
  460. packetc2l_freedom_match_do_balance::default_instance_,
  461. packetc2l_freedom_match_do_balance_offsets_,
  462. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_freedom_match_do_balance, _has_bits_[0]),
  463. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_freedom_match_do_balance, _unknown_fields_),
  464. -1,
  465. ::google::protobuf::DescriptorPool::generated_pool(),
  466. ::google::protobuf::MessageFactory::generated_factory(),
  467. sizeof(packetc2l_freedom_match_do_balance));
  468. packetl2c_freedom_match_end_notify_descriptor_ = file->message_type(21);
  469. static const int packetl2c_freedom_match_end_notify_offsets_[8] = {
  470. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, packet_id_),
  471. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, roomid_),
  472. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, reason_),
  473. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, bufflist_),
  474. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, rank_),
  475. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, curbasescore_),
  476. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, curaddscore_),
  477. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, topscore_),
  478. };
  479. packetl2c_freedom_match_end_notify_reflection_ =
  480. new ::google::protobuf::internal::GeneratedMessageReflection(
  481. packetl2c_freedom_match_end_notify_descriptor_,
  482. packetl2c_freedom_match_end_notify::default_instance_,
  483. packetl2c_freedom_match_end_notify_offsets_,
  484. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, _has_bits_[0]),
  485. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_freedom_match_end_notify, _unknown_fields_),
  486. -1,
  487. ::google::protobuf::DescriptorPool::generated_pool(),
  488. ::google::protobuf::MessageFactory::generated_factory(),
  489. sizeof(packetl2c_freedom_match_end_notify));
  490. }
  491. namespace {
  492. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  493. inline void protobuf_AssignDescriptorsOnce() {
  494. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  495. &protobuf_AssignDesc_fish_5fmatch_2eproto);
  496. }
  497. void protobuf_RegisterTypes(const ::std::string&) {
  498. protobuf_AssignDescriptorsOnce();
  499. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  500. matchRankInfo_descriptor_, &matchRankInfo::default_instance());
  501. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  502. questInfo_descriptor_, &questInfo::default_instance());
  503. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  504. killFishInfo_descriptor_, &killFishInfo::default_instance());
  505. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  506. packetc2l_get_arena_match_info_descriptor_, &packetc2l_get_arena_match_info::default_instance());
  507. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  508. packetl2c_get_arena_match_info_result_descriptor_, &packetl2c_get_arena_match_info_result::default_instance());
  509. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  510. packetc2l_syn_arena_match_bullet_descriptor_, &packetc2l_syn_arena_match_bullet::default_instance());
  511. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  512. packetl2c_syn_arena_match_bullet_result_descriptor_, &packetl2c_syn_arena_match_bullet_result::default_instance());
  513. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  514. packetc2l_get_arena_match_history_rank_descriptor_, &packetc2l_get_arena_match_history_rank::default_instance());
  515. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  516. packetl2c_get_arena_match_history_rank_result_descriptor_, &packetl2c_get_arena_match_history_rank_result::default_instance());
  517. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  518. packetc2l_join_arena_match_descriptor_, &packetc2l_join_arena_match::default_instance());
  519. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  520. packetl2c_join_arena_match_result_descriptor_, &packetl2c_join_arena_match_result::default_instance());
  521. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  522. packetl2c_notify_arena_match_add_bullet_descriptor_, &packetl2c_notify_arena_match_add_bullet::default_instance());
  523. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  524. buffInfo_descriptor_, &buffInfo::default_instance());
  525. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  526. packetl2c_arena_match_end_notify_descriptor_, &packetl2c_arena_match_end_notify::default_instance());
  527. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  528. packetc2l_get_freedom_match_info_descriptor_, &packetc2l_get_freedom_match_info::default_instance());
  529. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  530. packetl2c_get_freedom_match_info_result_descriptor_, &packetl2c_get_freedom_match_info_result::default_instance());
  531. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  532. packetc2l_syn_freedom_match_bullet_descriptor_, &packetc2l_syn_freedom_match_bullet::default_instance());
  533. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  534. packetl2c_syn_freedom_match_bullet_result_descriptor_, &packetl2c_syn_freedom_match_bullet_result::default_instance());
  535. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  536. packetc2l_join_freedom_match_descriptor_, &packetc2l_join_freedom_match::default_instance());
  537. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  538. packetl2c_join_freedom_match_result_descriptor_, &packetl2c_join_freedom_match_result::default_instance());
  539. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  540. packetc2l_freedom_match_do_balance_descriptor_, &packetc2l_freedom_match_do_balance::default_instance());
  541. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  542. packetl2c_freedom_match_end_notify_descriptor_, &packetl2c_freedom_match_end_notify::default_instance());
  543. }
  544. } // namespace
  545. void protobuf_ShutdownFile_fish_5fmatch_2eproto() {
  546. delete matchRankInfo::default_instance_;
  547. delete matchRankInfo_reflection_;
  548. delete questInfo::default_instance_;
  549. delete questInfo_reflection_;
  550. delete killFishInfo::default_instance_;
  551. delete killFishInfo_reflection_;
  552. delete packetc2l_get_arena_match_info::default_instance_;
  553. delete packetc2l_get_arena_match_info_reflection_;
  554. delete packetl2c_get_arena_match_info_result::default_instance_;
  555. delete packetl2c_get_arena_match_info_result_reflection_;
  556. delete packetc2l_syn_arena_match_bullet::default_instance_;
  557. delete packetc2l_syn_arena_match_bullet_reflection_;
  558. delete packetl2c_syn_arena_match_bullet_result::default_instance_;
  559. delete packetl2c_syn_arena_match_bullet_result_reflection_;
  560. delete packetc2l_get_arena_match_history_rank::default_instance_;
  561. delete packetc2l_get_arena_match_history_rank_reflection_;
  562. delete packetl2c_get_arena_match_history_rank_result::default_instance_;
  563. delete packetl2c_get_arena_match_history_rank_result_reflection_;
  564. delete packetc2l_join_arena_match::default_instance_;
  565. delete packetc2l_join_arena_match_reflection_;
  566. delete packetl2c_join_arena_match_result::default_instance_;
  567. delete packetl2c_join_arena_match_result_reflection_;
  568. delete packetl2c_notify_arena_match_add_bullet::default_instance_;
  569. delete packetl2c_notify_arena_match_add_bullet_reflection_;
  570. delete buffInfo::default_instance_;
  571. delete buffInfo_reflection_;
  572. delete packetl2c_arena_match_end_notify::default_instance_;
  573. delete packetl2c_arena_match_end_notify_reflection_;
  574. delete packetc2l_get_freedom_match_info::default_instance_;
  575. delete packetc2l_get_freedom_match_info_reflection_;
  576. delete packetl2c_get_freedom_match_info_result::default_instance_;
  577. delete packetl2c_get_freedom_match_info_result_reflection_;
  578. delete packetc2l_syn_freedom_match_bullet::default_instance_;
  579. delete packetc2l_syn_freedom_match_bullet_reflection_;
  580. delete packetl2c_syn_freedom_match_bullet_result::default_instance_;
  581. delete packetl2c_syn_freedom_match_bullet_result_reflection_;
  582. delete packetc2l_join_freedom_match::default_instance_;
  583. delete packetc2l_join_freedom_match_reflection_;
  584. delete packetl2c_join_freedom_match_result::default_instance_;
  585. delete packetl2c_join_freedom_match_result_reflection_;
  586. delete packetc2l_freedom_match_do_balance::default_instance_;
  587. delete packetc2l_freedom_match_do_balance_reflection_;
  588. delete packetl2c_freedom_match_end_notify::default_instance_;
  589. delete packetl2c_freedom_match_end_notify_reflection_;
  590. }
  591. void protobuf_AddDesc_fish_5fmatch_2eproto() {
  592. static bool already_here = false;
  593. if (already_here) return;
  594. already_here = true;
  595. GOOGLE_PROTOBUF_VERIFY_VERSION;
  596. ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
  597. ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  598. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  599. "\n\020fish_match.proto\022\016fish_protocols\032\016fish"
  600. "_def.proto\032\022msg_type_def.proto\"~\n\rmatchR"
  601. "ankInfo\022\020\n\010playerId\030\001 \001(\005\022\020\n\010nickName\030\002 "
  602. "\001(\t\022\013\n\003vip\030\003 \001(\005\022\016\n\006headid\030\004 \001(\005\022\017\n\007fram"
  603. "eid\030\005 \001(\005\022\014\n\004rank\030\006 \001(\005\022\r\n\005score\030\007 \001(\005\"+"
  604. "\n\tquestInfo\022\017\n\007questId\030\001 \001(\005\022\r\n\005count\030\002 "
  605. "\001(\005\"-\n\014killFishInfo\022\016\n\006fishId\030\001 \001(\005\022\r\n\005c"
  606. "ount\030\002 \001(\005\"v\n\036packetc2l_get_arena_match_"
  607. "info\022T\n\tpacket_id\030\001 \001(\0162!.fish_protocols"
  608. ".e_server_msg_type:\036e_mst_c2l_get_arena_"
  609. "match_info\"\252\004\n%packetl2c_get_arena_match"
  610. "_info_result\022[\n\tpacket_id\030\001 \001(\0162!.fish_p"
  611. "rotocols.e_server_msg_type:%e_mst_l2c_ge"
  612. "t_arena_match_info_result\0224\n\rdailyRankLi"
  613. "st\030\002 \003(\0132\035.fish_protocols.matchRankInfo\022"
  614. "5\n\016weeklyRankList\030\003 \003(\0132\035.fish_protocols"
  615. ".matchRankInfo\022,\n\tquestList\030\004 \003(\0132\031.fish"
  616. "_protocols.questInfo\022.\n\010killList\030\005 \003(\0132\034"
  617. ".fish_protocols.killFishInfo\022\023\n\013bulletCo"
  618. "unt\030\006 \001(\005\022\020\n\010curScore\030\007 \001(\005\022\021\n\tjoinCount"
  619. "\030\010 \001(\005\022\022\n\nquestGroup\030\t \001(\005\0222\n\013selfDayRan"
  620. "k\030\n \001(\0132\035.fish_protocols.matchRankInfo\0223"
  621. "\n\014selfWeekRank\030\013 \001(\0132\035.fish_protocols.ma"
  622. "tchRankInfo\022\021\n\tstartTime\030\014 \001(\005\022\017\n\007endTim"
  623. "e\030\r \001(\005\"z\n packetc2l_syn_arena_match_bul"
  624. "let\022V\n\tpacket_id\030\001 \001(\0162!.fish_protocols."
  625. "e_server_msg_type: e_mst_c2l_syn_arena_m"
  626. "atch_bullet\"\235\001\n\'packetl2c_syn_arena_matc"
  627. "h_bullet_result\022]\n\tpacket_id\030\001 \001(\0162!.fis"
  628. "h_protocols.e_server_msg_type:\'e_mst_l2c"
  629. "_syn_arena_match_bullet_result\022\023\n\013bullet"
  630. "Count\030\002 \001(\005\"\224\001\n&packetc2l_get_arena_matc"
  631. "h_history_rank\022\\\n\tpacket_id\030\001 \001(\0162!.fish"
  632. "_protocols.e_server_msg_type:&e_mst_c2l_"
  633. "get_arena_match_history_rank\022\014\n\004type\030\002 \001"
  634. "(\005\"\204\002\n-packetl2c_get_arena_match_history"
  635. "_rank_result\022c\n\tpacket_id\030\001 \001(\0162!.fish_p"
  636. "rotocols.e_server_msg_type:-e_mst_l2c_ge"
  637. "t_arena_match_history_rank_result\022\014\n\004typ"
  638. "e\030\002 \001(\005\022/\n\010rankList\030\003 \003(\0132\035.fish_protoco"
  639. "ls.matchRankInfo\022/\n\010selfRank\030\004 \001(\0132\035.fis"
  640. "h_protocols.matchRankInfo\"n\n\032packetc2l_j"
  641. "oin_arena_match\022P\n\tpacket_id\030\001 \001(\0162!.fis"
  642. "h_protocols.e_server_msg_type:\032e_mst_c2l"
  643. "_join_arena_match\"\354\001\n!packetl2c_join_are"
  644. "na_match_result\022W\n\tpacket_id\030\001 \001(\0162!.fis"
  645. "h_protocols.e_server_msg_type:!e_mst_l2c"
  646. "_join_arena_match_result\022\016\n\006result\030\002 \001(\005"
  647. "\022\020\n\010playerId\030\003 \001(\005\022\023\n\013bulletCount\030\004 \001(\005\022"
  648. "\020\n\010curScore\030\005 \001(\005\022\021\n\tjoinCount\030\006 \001(\005\022\022\n\n"
  649. "questGroup\030\007 \001(\005\"\276\001\n\'packetl2c_notify_ar"
  650. "ena_match_add_bullet\022]\n\tpacket_id\030\001 \001(\0162"
  651. "!.fish_protocols.e_server_msg_type:\'e_ms"
  652. "t_l2c_notify_arena_match_add_bullet\022\020\n\010p"
  653. "layerId\030\002 \001(\005\022\020\n\010addCount\030\003 \001(\005\022\020\n\010curCo"
  654. "unt\030\004 \001(\005\",\n\010buffInfo\022\016\n\006buffId\030\001 \001(\005\022\020\n"
  655. "\010buffRate\030\002 \001(\005\"\201\002\n packetl2c_arena_matc"
  656. "h_end_notify\022V\n\tpacket_id\030\001 \001(\0162!.fish_p"
  657. "rotocols.e_server_msg_type: e_mst_l2c_ar"
  658. "ena_match_end_notify\022\016\n\006reason\030\002 \001(\005\022*\n\010"
  659. "buffList\030\003 \003(\0132\030.fish_protocols.buffInfo"
  660. "\022\014\n\004rank\030\004 \001(\005\022\024\n\014curBaseScore\030\005 \001(\005\022\023\n\013"
  661. "curAddScore\030\006 \001(\005\022\020\n\010topScore\030\007 \001(\005\"\212\001\n "
  662. "packetc2l_get_freedom_match_info\022V\n\tpack"
  663. "et_id\030\001 \001(\0162!.fish_protocols.e_server_ms"
  664. "g_type: e_mst_c2l_get_freedom_match_info"
  665. "\022\016\n\006roomId\030\002 \001(\005\"\364\002\n\'packetl2c_get_freed"
  666. "om_match_info_result\022]\n\tpacket_id\030\001 \001(\0162"
  667. "!.fish_protocols.e_server_msg_type:\'e_ms"
  668. "t_l2c_get_freedom_match_info_result\022\016\n\006r"
  669. "oomId\030\002 \001(\005\0224\n\rdailyRankList\030\003 \003(\0132\035.fis"
  670. "h_protocols.matchRankInfo\022\023\n\013bulletCount"
  671. "\030\004 \001(\005\022\020\n\010curScore\030\005 \001(\005\022\021\n\tjoinCount\030\006 "
  672. "\001(\005\022\022\n\nleftSecond\030\007 \001(\005\0222\n\013selfDayRank\030\010"
  673. " \001(\0132\035.fish_protocols.matchRankInfo\022\021\n\ts"
  674. "tartTime\030\t \001(\005\022\017\n\007endTime\030\n \001(\005\"\216\001\n\"pack"
  675. "etc2l_syn_freedom_match_bullet\022X\n\tpacket"
  676. "_id\030\001 \001(\0162!.fish_protocols.e_server_msg_"
  677. "type:\"e_mst_c2l_syn_freedom_match_bullet"
  678. "\022\016\n\006roomId\030\002 \001(\005\"\261\001\n)packetl2c_syn_freed"
  679. "om_match_bullet_result\022_\n\tpacket_id\030\001 \001("
  680. "\0162!.fish_protocols.e_server_msg_type:)e_"
  681. "mst_l2c_syn_freedom_match_bullet_result\022"
  682. "\016\n\006roomId\030\002 \001(\005\022\023\n\013bulletCount\030\003 \001(\005\"\202\001\n"
  683. "\034packetc2l_join_freedom_match\022R\n\tpacket_"
  684. "id\030\001 \001(\0162!.fish_protocols.e_server_msg_t"
  685. "ype:\034e_mst_c2l_join_freedom_match\022\016\n\006roo"
  686. "mId\030\002 \001(\005\"\200\002\n#packetl2c_join_freedom_mat"
  687. "ch_result\022Y\n\tpacket_id\030\001 \001(\0162!.fish_prot"
  688. "ocols.e_server_msg_type:#e_mst_l2c_join_"
  689. "freedom_match_result\022\016\n\006result\030\002 \001(\005\022\016\n\006"
  690. "roomId\030\003 \001(\005\022\020\n\010playerId\030\004 \001(\005\022\023\n\013bullet"
  691. "Count\030\005 \001(\005\022\020\n\010curScore\030\006 \001(\005\022\021\n\tjoinCou"
  692. "nt\030\007 \001(\005\022\022\n\nleftSecond\030\010 \001(\005\"\216\001\n\"packetc"
  693. "2l_freedom_match_do_balance\022X\n\tpacket_id"
  694. "\030\001 \001(\0162!.fish_protocols.e_server_msg_typ"
  695. "e:\"e_mst_c2l_freedom_match_do_balance\022\016\n"
  696. "\006roomId\030\002 \001(\005\"\225\002\n\"packetl2c_freedom_matc"
  697. "h_end_notify\022X\n\tpacket_id\030\001 \001(\0162!.fish_p"
  698. "rotocols.e_server_msg_type:\"e_mst_l2c_fr"
  699. "eedom_match_end_notify\022\016\n\006roomId\030\002 \001(\005\022\016"
  700. "\n\006reason\030\003 \001(\005\022*\n\010buffList\030\004 \003(\0132\030.fish_"
  701. "protocols.buffInfo\022\014\n\004rank\030\005 \001(\005\022\024\n\014curB"
  702. "aseScore\030\006 \001(\005\022\023\n\013curAddScore\030\007 \001(\005\022\020\n\010t"
  703. "opScore\030\010 \001(\005", 4173);
  704. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  705. "fish_match.proto", &protobuf_RegisterTypes);
  706. matchRankInfo::default_instance_ = new matchRankInfo();
  707. questInfo::default_instance_ = new questInfo();
  708. killFishInfo::default_instance_ = new killFishInfo();
  709. packetc2l_get_arena_match_info::default_instance_ = new packetc2l_get_arena_match_info();
  710. packetl2c_get_arena_match_info_result::default_instance_ = new packetl2c_get_arena_match_info_result();
  711. packetc2l_syn_arena_match_bullet::default_instance_ = new packetc2l_syn_arena_match_bullet();
  712. packetl2c_syn_arena_match_bullet_result::default_instance_ = new packetl2c_syn_arena_match_bullet_result();
  713. packetc2l_get_arena_match_history_rank::default_instance_ = new packetc2l_get_arena_match_history_rank();
  714. packetl2c_get_arena_match_history_rank_result::default_instance_ = new packetl2c_get_arena_match_history_rank_result();
  715. packetc2l_join_arena_match::default_instance_ = new packetc2l_join_arena_match();
  716. packetl2c_join_arena_match_result::default_instance_ = new packetl2c_join_arena_match_result();
  717. packetl2c_notify_arena_match_add_bullet::default_instance_ = new packetl2c_notify_arena_match_add_bullet();
  718. buffInfo::default_instance_ = new buffInfo();
  719. packetl2c_arena_match_end_notify::default_instance_ = new packetl2c_arena_match_end_notify();
  720. packetc2l_get_freedom_match_info::default_instance_ = new packetc2l_get_freedom_match_info();
  721. packetl2c_get_freedom_match_info_result::default_instance_ = new packetl2c_get_freedom_match_info_result();
  722. packetc2l_syn_freedom_match_bullet::default_instance_ = new packetc2l_syn_freedom_match_bullet();
  723. packetl2c_syn_freedom_match_bullet_result::default_instance_ = new packetl2c_syn_freedom_match_bullet_result();
  724. packetc2l_join_freedom_match::default_instance_ = new packetc2l_join_freedom_match();
  725. packetl2c_join_freedom_match_result::default_instance_ = new packetl2c_join_freedom_match_result();
  726. packetc2l_freedom_match_do_balance::default_instance_ = new packetc2l_freedom_match_do_balance();
  727. packetl2c_freedom_match_end_notify::default_instance_ = new packetl2c_freedom_match_end_notify();
  728. matchRankInfo::default_instance_->InitAsDefaultInstance();
  729. questInfo::default_instance_->InitAsDefaultInstance();
  730. killFishInfo::default_instance_->InitAsDefaultInstance();
  731. packetc2l_get_arena_match_info::default_instance_->InitAsDefaultInstance();
  732. packetl2c_get_arena_match_info_result::default_instance_->InitAsDefaultInstance();
  733. packetc2l_syn_arena_match_bullet::default_instance_->InitAsDefaultInstance();
  734. packetl2c_syn_arena_match_bullet_result::default_instance_->InitAsDefaultInstance();
  735. packetc2l_get_arena_match_history_rank::default_instance_->InitAsDefaultInstance();
  736. packetl2c_get_arena_match_history_rank_result::default_instance_->InitAsDefaultInstance();
  737. packetc2l_join_arena_match::default_instance_->InitAsDefaultInstance();
  738. packetl2c_join_arena_match_result::default_instance_->InitAsDefaultInstance();
  739. packetl2c_notify_arena_match_add_bullet::default_instance_->InitAsDefaultInstance();
  740. buffInfo::default_instance_->InitAsDefaultInstance();
  741. packetl2c_arena_match_end_notify::default_instance_->InitAsDefaultInstance();
  742. packetc2l_get_freedom_match_info::default_instance_->InitAsDefaultInstance();
  743. packetl2c_get_freedom_match_info_result::default_instance_->InitAsDefaultInstance();
  744. packetc2l_syn_freedom_match_bullet::default_instance_->InitAsDefaultInstance();
  745. packetl2c_syn_freedom_match_bullet_result::default_instance_->InitAsDefaultInstance();
  746. packetc2l_join_freedom_match::default_instance_->InitAsDefaultInstance();
  747. packetl2c_join_freedom_match_result::default_instance_->InitAsDefaultInstance();
  748. packetc2l_freedom_match_do_balance::default_instance_->InitAsDefaultInstance();
  749. packetl2c_freedom_match_end_notify::default_instance_->InitAsDefaultInstance();
  750. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fmatch_2eproto);
  751. }
  752. // Force AddDescriptors() to be called at static initialization time.
  753. struct StaticDescriptorInitializer_fish_5fmatch_2eproto {
  754. StaticDescriptorInitializer_fish_5fmatch_2eproto() {
  755. protobuf_AddDesc_fish_5fmatch_2eproto();
  756. }
  757. } static_descriptor_initializer_fish_5fmatch_2eproto_;
  758. // ===================================================================
  759. #ifndef _MSC_VER
  760. const int matchRankInfo::kPlayerIdFieldNumber;
  761. const int matchRankInfo::kNickNameFieldNumber;
  762. const int matchRankInfo::kVipFieldNumber;
  763. const int matchRankInfo::kHeadidFieldNumber;
  764. const int matchRankInfo::kFrameidFieldNumber;
  765. const int matchRankInfo::kRankFieldNumber;
  766. const int matchRankInfo::kScoreFieldNumber;
  767. #endif // !_MSC_VER
  768. matchRankInfo::matchRankInfo()
  769. : ::google::protobuf::Message() {
  770. SharedCtor();
  771. }
  772. void matchRankInfo::InitAsDefaultInstance() {
  773. }
  774. matchRankInfo::matchRankInfo(const matchRankInfo& from)
  775. : ::google::protobuf::Message() {
  776. SharedCtor();
  777. MergeFrom(from);
  778. }
  779. void matchRankInfo::SharedCtor() {
  780. _cached_size_ = 0;
  781. playerid_ = 0;
  782. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  783. vip_ = 0;
  784. headid_ = 0;
  785. frameid_ = 0;
  786. rank_ = 0;
  787. score_ = 0;
  788. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  789. }
  790. matchRankInfo::~matchRankInfo() {
  791. SharedDtor();
  792. }
  793. void matchRankInfo::SharedDtor() {
  794. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  795. delete nickname_;
  796. }
  797. if (this != default_instance_) {
  798. }
  799. }
  800. void matchRankInfo::SetCachedSize(int size) const {
  801. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  802. _cached_size_ = size;
  803. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  804. }
  805. const ::google::protobuf::Descriptor* matchRankInfo::descriptor() {
  806. protobuf_AssignDescriptorsOnce();
  807. return matchRankInfo_descriptor_;
  808. }
  809. const matchRankInfo& matchRankInfo::default_instance() {
  810. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  811. return *default_instance_;
  812. }
  813. matchRankInfo* matchRankInfo::default_instance_ = NULL;
  814. matchRankInfo* matchRankInfo::New() const {
  815. return new matchRankInfo;
  816. }
  817. void matchRankInfo::Clear() {
  818. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  819. playerid_ = 0;
  820. if (has_nickname()) {
  821. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  822. nickname_->clear();
  823. }
  824. }
  825. vip_ = 0;
  826. headid_ = 0;
  827. frameid_ = 0;
  828. rank_ = 0;
  829. score_ = 0;
  830. }
  831. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  832. mutable_unknown_fields()->Clear();
  833. }
  834. bool matchRankInfo::MergePartialFromCodedStream(
  835. ::google::protobuf::io::CodedInputStream* input) {
  836. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  837. ::google::protobuf::uint32 tag;
  838. while ((tag = input->ReadTag()) != 0) {
  839. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  840. // optional int32 playerId = 1;
  841. case 1: {
  842. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  843. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  844. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  845. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  846. input, &playerid_)));
  847. set_has_playerid();
  848. } else {
  849. goto handle_uninterpreted;
  850. }
  851. if (input->ExpectTag(18)) goto parse_nickName;
  852. break;
  853. }
  854. // optional string nickName = 2;
  855. case 2: {
  856. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  857. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  858. parse_nickName:
  859. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  860. input, this->mutable_nickname()));
  861. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  862. this->nickname().data(), this->nickname().length(),
  863. ::google::protobuf::internal::WireFormat::PARSE);
  864. } else {
  865. goto handle_uninterpreted;
  866. }
  867. if (input->ExpectTag(24)) goto parse_vip;
  868. break;
  869. }
  870. // optional int32 vip = 3;
  871. case 3: {
  872. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  873. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  874. parse_vip:
  875. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  876. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  877. input, &vip_)));
  878. set_has_vip();
  879. } else {
  880. goto handle_uninterpreted;
  881. }
  882. if (input->ExpectTag(32)) goto parse_headid;
  883. break;
  884. }
  885. // optional int32 headid = 4;
  886. case 4: {
  887. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  888. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  889. parse_headid:
  890. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  891. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  892. input, &headid_)));
  893. set_has_headid();
  894. } else {
  895. goto handle_uninterpreted;
  896. }
  897. if (input->ExpectTag(40)) goto parse_frameid;
  898. break;
  899. }
  900. // optional int32 frameid = 5;
  901. case 5: {
  902. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  903. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  904. parse_frameid:
  905. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  906. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  907. input, &frameid_)));
  908. set_has_frameid();
  909. } else {
  910. goto handle_uninterpreted;
  911. }
  912. if (input->ExpectTag(48)) goto parse_rank;
  913. break;
  914. }
  915. // optional int32 rank = 6;
  916. case 6: {
  917. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  918. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  919. parse_rank:
  920. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  921. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  922. input, &rank_)));
  923. set_has_rank();
  924. } else {
  925. goto handle_uninterpreted;
  926. }
  927. if (input->ExpectTag(56)) goto parse_score;
  928. break;
  929. }
  930. // optional int32 score = 7;
  931. case 7: {
  932. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  933. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  934. parse_score:
  935. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  936. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  937. input, &score_)));
  938. set_has_score();
  939. } else {
  940. goto handle_uninterpreted;
  941. }
  942. if (input->ExpectAtEnd()) return true;
  943. break;
  944. }
  945. default: {
  946. handle_uninterpreted:
  947. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  948. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  949. return true;
  950. }
  951. DO_(::google::protobuf::internal::WireFormat::SkipField(
  952. input, tag, mutable_unknown_fields()));
  953. break;
  954. }
  955. }
  956. }
  957. return true;
  958. #undef DO_
  959. }
  960. void matchRankInfo::SerializeWithCachedSizes(
  961. ::google::protobuf::io::CodedOutputStream* output) const {
  962. // optional int32 playerId = 1;
  963. if (has_playerid()) {
  964. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output);
  965. }
  966. // optional string nickName = 2;
  967. if (has_nickname()) {
  968. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  969. this->nickname().data(), this->nickname().length(),
  970. ::google::protobuf::internal::WireFormat::SERIALIZE);
  971. ::google::protobuf::internal::WireFormatLite::WriteString(
  972. 2, this->nickname(), output);
  973. }
  974. // optional int32 vip = 3;
  975. if (has_vip()) {
  976. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->vip(), output);
  977. }
  978. // optional int32 headid = 4;
  979. if (has_headid()) {
  980. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->headid(), output);
  981. }
  982. // optional int32 frameid = 5;
  983. if (has_frameid()) {
  984. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->frameid(), output);
  985. }
  986. // optional int32 rank = 6;
  987. if (has_rank()) {
  988. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->rank(), output);
  989. }
  990. // optional int32 score = 7;
  991. if (has_score()) {
  992. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->score(), output);
  993. }
  994. if (!unknown_fields().empty()) {
  995. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  996. unknown_fields(), output);
  997. }
  998. }
  999. ::google::protobuf::uint8* matchRankInfo::SerializeWithCachedSizesToArray(
  1000. ::google::protobuf::uint8* target) const {
  1001. // optional int32 playerId = 1;
  1002. if (has_playerid()) {
  1003. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target);
  1004. }
  1005. // optional string nickName = 2;
  1006. if (has_nickname()) {
  1007. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  1008. this->nickname().data(), this->nickname().length(),
  1009. ::google::protobuf::internal::WireFormat::SERIALIZE);
  1010. target =
  1011. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1012. 2, this->nickname(), target);
  1013. }
  1014. // optional int32 vip = 3;
  1015. if (has_vip()) {
  1016. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->vip(), target);
  1017. }
  1018. // optional int32 headid = 4;
  1019. if (has_headid()) {
  1020. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->headid(), target);
  1021. }
  1022. // optional int32 frameid = 5;
  1023. if (has_frameid()) {
  1024. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->frameid(), target);
  1025. }
  1026. // optional int32 rank = 6;
  1027. if (has_rank()) {
  1028. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->rank(), target);
  1029. }
  1030. // optional int32 score = 7;
  1031. if (has_score()) {
  1032. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->score(), target);
  1033. }
  1034. if (!unknown_fields().empty()) {
  1035. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1036. unknown_fields(), target);
  1037. }
  1038. return target;
  1039. }
  1040. int matchRankInfo::ByteSize() const {
  1041. int total_size = 0;
  1042. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1043. // optional int32 playerId = 1;
  1044. if (has_playerid()) {
  1045. total_size += 1 +
  1046. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1047. this->playerid());
  1048. }
  1049. // optional string nickName = 2;
  1050. if (has_nickname()) {
  1051. total_size += 1 +
  1052. ::google::protobuf::internal::WireFormatLite::StringSize(
  1053. this->nickname());
  1054. }
  1055. // optional int32 vip = 3;
  1056. if (has_vip()) {
  1057. total_size += 1 +
  1058. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1059. this->vip());
  1060. }
  1061. // optional int32 headid = 4;
  1062. if (has_headid()) {
  1063. total_size += 1 +
  1064. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1065. this->headid());
  1066. }
  1067. // optional int32 frameid = 5;
  1068. if (has_frameid()) {
  1069. total_size += 1 +
  1070. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1071. this->frameid());
  1072. }
  1073. // optional int32 rank = 6;
  1074. if (has_rank()) {
  1075. total_size += 1 +
  1076. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1077. this->rank());
  1078. }
  1079. // optional int32 score = 7;
  1080. if (has_score()) {
  1081. total_size += 1 +
  1082. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1083. this->score());
  1084. }
  1085. }
  1086. if (!unknown_fields().empty()) {
  1087. total_size +=
  1088. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1089. unknown_fields());
  1090. }
  1091. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1092. _cached_size_ = total_size;
  1093. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1094. return total_size;
  1095. }
  1096. void matchRankInfo::MergeFrom(const ::google::protobuf::Message& from) {
  1097. GOOGLE_CHECK_NE(&from, this);
  1098. const matchRankInfo* source =
  1099. ::google::protobuf::internal::dynamic_cast_if_available<const matchRankInfo*>(
  1100. &from);
  1101. if (source == NULL) {
  1102. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1103. } else {
  1104. MergeFrom(*source);
  1105. }
  1106. }
  1107. void matchRankInfo::MergeFrom(const matchRankInfo& from) {
  1108. GOOGLE_CHECK_NE(&from, this);
  1109. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1110. if (from.has_playerid()) {
  1111. set_playerid(from.playerid());
  1112. }
  1113. if (from.has_nickname()) {
  1114. set_nickname(from.nickname());
  1115. }
  1116. if (from.has_vip()) {
  1117. set_vip(from.vip());
  1118. }
  1119. if (from.has_headid()) {
  1120. set_headid(from.headid());
  1121. }
  1122. if (from.has_frameid()) {
  1123. set_frameid(from.frameid());
  1124. }
  1125. if (from.has_rank()) {
  1126. set_rank(from.rank());
  1127. }
  1128. if (from.has_score()) {
  1129. set_score(from.score());
  1130. }
  1131. }
  1132. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1133. }
  1134. void matchRankInfo::CopyFrom(const ::google::protobuf::Message& from) {
  1135. if (&from == this) return;
  1136. Clear();
  1137. MergeFrom(from);
  1138. }
  1139. void matchRankInfo::CopyFrom(const matchRankInfo& from) {
  1140. if (&from == this) return;
  1141. Clear();
  1142. MergeFrom(from);
  1143. }
  1144. bool matchRankInfo::IsInitialized() const {
  1145. return true;
  1146. }
  1147. void matchRankInfo::Swap(matchRankInfo* other) {
  1148. if (other != this) {
  1149. std::swap(playerid_, other->playerid_);
  1150. std::swap(nickname_, other->nickname_);
  1151. std::swap(vip_, other->vip_);
  1152. std::swap(headid_, other->headid_);
  1153. std::swap(frameid_, other->frameid_);
  1154. std::swap(rank_, other->rank_);
  1155. std::swap(score_, other->score_);
  1156. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1157. _unknown_fields_.Swap(&other->_unknown_fields_);
  1158. std::swap(_cached_size_, other->_cached_size_);
  1159. }
  1160. }
  1161. ::google::protobuf::Metadata matchRankInfo::GetMetadata() const {
  1162. protobuf_AssignDescriptorsOnce();
  1163. ::google::protobuf::Metadata metadata;
  1164. metadata.descriptor = matchRankInfo_descriptor_;
  1165. metadata.reflection = matchRankInfo_reflection_;
  1166. return metadata;
  1167. }
  1168. // ===================================================================
  1169. #ifndef _MSC_VER
  1170. const int questInfo::kQuestIdFieldNumber;
  1171. const int questInfo::kCountFieldNumber;
  1172. #endif // !_MSC_VER
  1173. questInfo::questInfo()
  1174. : ::google::protobuf::Message() {
  1175. SharedCtor();
  1176. }
  1177. void questInfo::InitAsDefaultInstance() {
  1178. }
  1179. questInfo::questInfo(const questInfo& from)
  1180. : ::google::protobuf::Message() {
  1181. SharedCtor();
  1182. MergeFrom(from);
  1183. }
  1184. void questInfo::SharedCtor() {
  1185. _cached_size_ = 0;
  1186. questid_ = 0;
  1187. count_ = 0;
  1188. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1189. }
  1190. questInfo::~questInfo() {
  1191. SharedDtor();
  1192. }
  1193. void questInfo::SharedDtor() {
  1194. if (this != default_instance_) {
  1195. }
  1196. }
  1197. void questInfo::SetCachedSize(int size) const {
  1198. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1199. _cached_size_ = size;
  1200. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1201. }
  1202. const ::google::protobuf::Descriptor* questInfo::descriptor() {
  1203. protobuf_AssignDescriptorsOnce();
  1204. return questInfo_descriptor_;
  1205. }
  1206. const questInfo& questInfo::default_instance() {
  1207. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  1208. return *default_instance_;
  1209. }
  1210. questInfo* questInfo::default_instance_ = NULL;
  1211. questInfo* questInfo::New() const {
  1212. return new questInfo;
  1213. }
  1214. void questInfo::Clear() {
  1215. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1216. questid_ = 0;
  1217. count_ = 0;
  1218. }
  1219. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1220. mutable_unknown_fields()->Clear();
  1221. }
  1222. bool questInfo::MergePartialFromCodedStream(
  1223. ::google::protobuf::io::CodedInputStream* input) {
  1224. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1225. ::google::protobuf::uint32 tag;
  1226. while ((tag = input->ReadTag()) != 0) {
  1227. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1228. // optional int32 questId = 1;
  1229. case 1: {
  1230. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1231. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1232. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1233. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1234. input, &questid_)));
  1235. set_has_questid();
  1236. } else {
  1237. goto handle_uninterpreted;
  1238. }
  1239. if (input->ExpectTag(16)) goto parse_count;
  1240. break;
  1241. }
  1242. // optional int32 count = 2;
  1243. case 2: {
  1244. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1245. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1246. parse_count:
  1247. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1248. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1249. input, &count_)));
  1250. set_has_count();
  1251. } else {
  1252. goto handle_uninterpreted;
  1253. }
  1254. if (input->ExpectAtEnd()) return true;
  1255. break;
  1256. }
  1257. default: {
  1258. handle_uninterpreted:
  1259. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1260. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1261. return true;
  1262. }
  1263. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1264. input, tag, mutable_unknown_fields()));
  1265. break;
  1266. }
  1267. }
  1268. }
  1269. return true;
  1270. #undef DO_
  1271. }
  1272. void questInfo::SerializeWithCachedSizes(
  1273. ::google::protobuf::io::CodedOutputStream* output) const {
  1274. // optional int32 questId = 1;
  1275. if (has_questid()) {
  1276. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->questid(), output);
  1277. }
  1278. // optional int32 count = 2;
  1279. if (has_count()) {
  1280. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  1281. }
  1282. if (!unknown_fields().empty()) {
  1283. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1284. unknown_fields(), output);
  1285. }
  1286. }
  1287. ::google::protobuf::uint8* questInfo::SerializeWithCachedSizesToArray(
  1288. ::google::protobuf::uint8* target) const {
  1289. // optional int32 questId = 1;
  1290. if (has_questid()) {
  1291. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->questid(), target);
  1292. }
  1293. // optional int32 count = 2;
  1294. if (has_count()) {
  1295. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  1296. }
  1297. if (!unknown_fields().empty()) {
  1298. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1299. unknown_fields(), target);
  1300. }
  1301. return target;
  1302. }
  1303. int questInfo::ByteSize() const {
  1304. int total_size = 0;
  1305. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1306. // optional int32 questId = 1;
  1307. if (has_questid()) {
  1308. total_size += 1 +
  1309. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1310. this->questid());
  1311. }
  1312. // optional int32 count = 2;
  1313. if (has_count()) {
  1314. total_size += 1 +
  1315. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1316. this->count());
  1317. }
  1318. }
  1319. if (!unknown_fields().empty()) {
  1320. total_size +=
  1321. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1322. unknown_fields());
  1323. }
  1324. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1325. _cached_size_ = total_size;
  1326. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1327. return total_size;
  1328. }
  1329. void questInfo::MergeFrom(const ::google::protobuf::Message& from) {
  1330. GOOGLE_CHECK_NE(&from, this);
  1331. const questInfo* source =
  1332. ::google::protobuf::internal::dynamic_cast_if_available<const questInfo*>(
  1333. &from);
  1334. if (source == NULL) {
  1335. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1336. } else {
  1337. MergeFrom(*source);
  1338. }
  1339. }
  1340. void questInfo::MergeFrom(const questInfo& from) {
  1341. GOOGLE_CHECK_NE(&from, this);
  1342. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1343. if (from.has_questid()) {
  1344. set_questid(from.questid());
  1345. }
  1346. if (from.has_count()) {
  1347. set_count(from.count());
  1348. }
  1349. }
  1350. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1351. }
  1352. void questInfo::CopyFrom(const ::google::protobuf::Message& from) {
  1353. if (&from == this) return;
  1354. Clear();
  1355. MergeFrom(from);
  1356. }
  1357. void questInfo::CopyFrom(const questInfo& from) {
  1358. if (&from == this) return;
  1359. Clear();
  1360. MergeFrom(from);
  1361. }
  1362. bool questInfo::IsInitialized() const {
  1363. return true;
  1364. }
  1365. void questInfo::Swap(questInfo* other) {
  1366. if (other != this) {
  1367. std::swap(questid_, other->questid_);
  1368. std::swap(count_, other->count_);
  1369. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1370. _unknown_fields_.Swap(&other->_unknown_fields_);
  1371. std::swap(_cached_size_, other->_cached_size_);
  1372. }
  1373. }
  1374. ::google::protobuf::Metadata questInfo::GetMetadata() const {
  1375. protobuf_AssignDescriptorsOnce();
  1376. ::google::protobuf::Metadata metadata;
  1377. metadata.descriptor = questInfo_descriptor_;
  1378. metadata.reflection = questInfo_reflection_;
  1379. return metadata;
  1380. }
  1381. // ===================================================================
  1382. #ifndef _MSC_VER
  1383. const int killFishInfo::kFishIdFieldNumber;
  1384. const int killFishInfo::kCountFieldNumber;
  1385. #endif // !_MSC_VER
  1386. killFishInfo::killFishInfo()
  1387. : ::google::protobuf::Message() {
  1388. SharedCtor();
  1389. }
  1390. void killFishInfo::InitAsDefaultInstance() {
  1391. }
  1392. killFishInfo::killFishInfo(const killFishInfo& from)
  1393. : ::google::protobuf::Message() {
  1394. SharedCtor();
  1395. MergeFrom(from);
  1396. }
  1397. void killFishInfo::SharedCtor() {
  1398. _cached_size_ = 0;
  1399. fishid_ = 0;
  1400. count_ = 0;
  1401. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1402. }
  1403. killFishInfo::~killFishInfo() {
  1404. SharedDtor();
  1405. }
  1406. void killFishInfo::SharedDtor() {
  1407. if (this != default_instance_) {
  1408. }
  1409. }
  1410. void killFishInfo::SetCachedSize(int size) const {
  1411. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1412. _cached_size_ = size;
  1413. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1414. }
  1415. const ::google::protobuf::Descriptor* killFishInfo::descriptor() {
  1416. protobuf_AssignDescriptorsOnce();
  1417. return killFishInfo_descriptor_;
  1418. }
  1419. const killFishInfo& killFishInfo::default_instance() {
  1420. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  1421. return *default_instance_;
  1422. }
  1423. killFishInfo* killFishInfo::default_instance_ = NULL;
  1424. killFishInfo* killFishInfo::New() const {
  1425. return new killFishInfo;
  1426. }
  1427. void killFishInfo::Clear() {
  1428. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1429. fishid_ = 0;
  1430. count_ = 0;
  1431. }
  1432. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1433. mutable_unknown_fields()->Clear();
  1434. }
  1435. bool killFishInfo::MergePartialFromCodedStream(
  1436. ::google::protobuf::io::CodedInputStream* input) {
  1437. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1438. ::google::protobuf::uint32 tag;
  1439. while ((tag = input->ReadTag()) != 0) {
  1440. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1441. // optional int32 fishId = 1;
  1442. case 1: {
  1443. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1444. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1445. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1446. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1447. input, &fishid_)));
  1448. set_has_fishid();
  1449. } else {
  1450. goto handle_uninterpreted;
  1451. }
  1452. if (input->ExpectTag(16)) goto parse_count;
  1453. break;
  1454. }
  1455. // optional int32 count = 2;
  1456. case 2: {
  1457. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1458. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1459. parse_count:
  1460. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1461. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1462. input, &count_)));
  1463. set_has_count();
  1464. } else {
  1465. goto handle_uninterpreted;
  1466. }
  1467. if (input->ExpectAtEnd()) return true;
  1468. break;
  1469. }
  1470. default: {
  1471. handle_uninterpreted:
  1472. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1473. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1474. return true;
  1475. }
  1476. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1477. input, tag, mutable_unknown_fields()));
  1478. break;
  1479. }
  1480. }
  1481. }
  1482. return true;
  1483. #undef DO_
  1484. }
  1485. void killFishInfo::SerializeWithCachedSizes(
  1486. ::google::protobuf::io::CodedOutputStream* output) const {
  1487. // optional int32 fishId = 1;
  1488. if (has_fishid()) {
  1489. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->fishid(), output);
  1490. }
  1491. // optional int32 count = 2;
  1492. if (has_count()) {
  1493. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  1494. }
  1495. if (!unknown_fields().empty()) {
  1496. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1497. unknown_fields(), output);
  1498. }
  1499. }
  1500. ::google::protobuf::uint8* killFishInfo::SerializeWithCachedSizesToArray(
  1501. ::google::protobuf::uint8* target) const {
  1502. // optional int32 fishId = 1;
  1503. if (has_fishid()) {
  1504. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->fishid(), target);
  1505. }
  1506. // optional int32 count = 2;
  1507. if (has_count()) {
  1508. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  1509. }
  1510. if (!unknown_fields().empty()) {
  1511. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1512. unknown_fields(), target);
  1513. }
  1514. return target;
  1515. }
  1516. int killFishInfo::ByteSize() const {
  1517. int total_size = 0;
  1518. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1519. // optional int32 fishId = 1;
  1520. if (has_fishid()) {
  1521. total_size += 1 +
  1522. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1523. this->fishid());
  1524. }
  1525. // optional int32 count = 2;
  1526. if (has_count()) {
  1527. total_size += 1 +
  1528. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1529. this->count());
  1530. }
  1531. }
  1532. if (!unknown_fields().empty()) {
  1533. total_size +=
  1534. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1535. unknown_fields());
  1536. }
  1537. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1538. _cached_size_ = total_size;
  1539. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1540. return total_size;
  1541. }
  1542. void killFishInfo::MergeFrom(const ::google::protobuf::Message& from) {
  1543. GOOGLE_CHECK_NE(&from, this);
  1544. const killFishInfo* source =
  1545. ::google::protobuf::internal::dynamic_cast_if_available<const killFishInfo*>(
  1546. &from);
  1547. if (source == NULL) {
  1548. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1549. } else {
  1550. MergeFrom(*source);
  1551. }
  1552. }
  1553. void killFishInfo::MergeFrom(const killFishInfo& from) {
  1554. GOOGLE_CHECK_NE(&from, this);
  1555. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1556. if (from.has_fishid()) {
  1557. set_fishid(from.fishid());
  1558. }
  1559. if (from.has_count()) {
  1560. set_count(from.count());
  1561. }
  1562. }
  1563. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1564. }
  1565. void killFishInfo::CopyFrom(const ::google::protobuf::Message& from) {
  1566. if (&from == this) return;
  1567. Clear();
  1568. MergeFrom(from);
  1569. }
  1570. void killFishInfo::CopyFrom(const killFishInfo& from) {
  1571. if (&from == this) return;
  1572. Clear();
  1573. MergeFrom(from);
  1574. }
  1575. bool killFishInfo::IsInitialized() const {
  1576. return true;
  1577. }
  1578. void killFishInfo::Swap(killFishInfo* other) {
  1579. if (other != this) {
  1580. std::swap(fishid_, other->fishid_);
  1581. std::swap(count_, other->count_);
  1582. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1583. _unknown_fields_.Swap(&other->_unknown_fields_);
  1584. std::swap(_cached_size_, other->_cached_size_);
  1585. }
  1586. }
  1587. ::google::protobuf::Metadata killFishInfo::GetMetadata() const {
  1588. protobuf_AssignDescriptorsOnce();
  1589. ::google::protobuf::Metadata metadata;
  1590. metadata.descriptor = killFishInfo_descriptor_;
  1591. metadata.reflection = killFishInfo_reflection_;
  1592. return metadata;
  1593. }
  1594. // ===================================================================
  1595. #ifndef _MSC_VER
  1596. const int packetc2l_get_arena_match_info::kPacketIdFieldNumber;
  1597. #endif // !_MSC_VER
  1598. packetc2l_get_arena_match_info::packetc2l_get_arena_match_info()
  1599. : ::google::protobuf::Message() {
  1600. SharedCtor();
  1601. }
  1602. void packetc2l_get_arena_match_info::InitAsDefaultInstance() {
  1603. }
  1604. packetc2l_get_arena_match_info::packetc2l_get_arena_match_info(const packetc2l_get_arena_match_info& from)
  1605. : ::google::protobuf::Message() {
  1606. SharedCtor();
  1607. MergeFrom(from);
  1608. }
  1609. void packetc2l_get_arena_match_info::SharedCtor() {
  1610. _cached_size_ = 0;
  1611. packet_id_ = 10121;
  1612. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1613. }
  1614. packetc2l_get_arena_match_info::~packetc2l_get_arena_match_info() {
  1615. SharedDtor();
  1616. }
  1617. void packetc2l_get_arena_match_info::SharedDtor() {
  1618. if (this != default_instance_) {
  1619. }
  1620. }
  1621. void packetc2l_get_arena_match_info::SetCachedSize(int size) const {
  1622. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1623. _cached_size_ = size;
  1624. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1625. }
  1626. const ::google::protobuf::Descriptor* packetc2l_get_arena_match_info::descriptor() {
  1627. protobuf_AssignDescriptorsOnce();
  1628. return packetc2l_get_arena_match_info_descriptor_;
  1629. }
  1630. const packetc2l_get_arena_match_info& packetc2l_get_arena_match_info::default_instance() {
  1631. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  1632. return *default_instance_;
  1633. }
  1634. packetc2l_get_arena_match_info* packetc2l_get_arena_match_info::default_instance_ = NULL;
  1635. packetc2l_get_arena_match_info* packetc2l_get_arena_match_info::New() const {
  1636. return new packetc2l_get_arena_match_info;
  1637. }
  1638. void packetc2l_get_arena_match_info::Clear() {
  1639. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1640. packet_id_ = 10121;
  1641. }
  1642. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1643. mutable_unknown_fields()->Clear();
  1644. }
  1645. bool packetc2l_get_arena_match_info::MergePartialFromCodedStream(
  1646. ::google::protobuf::io::CodedInputStream* input) {
  1647. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1648. ::google::protobuf::uint32 tag;
  1649. while ((tag = input->ReadTag()) != 0) {
  1650. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1651. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_arena_match_info];
  1652. case 1: {
  1653. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1654. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1655. int value;
  1656. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1657. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1658. input, &value)));
  1659. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1660. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1661. } else {
  1662. mutable_unknown_fields()->AddVarint(1, value);
  1663. }
  1664. } else {
  1665. goto handle_uninterpreted;
  1666. }
  1667. if (input->ExpectAtEnd()) return true;
  1668. break;
  1669. }
  1670. default: {
  1671. handle_uninterpreted:
  1672. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1673. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1674. return true;
  1675. }
  1676. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1677. input, tag, mutable_unknown_fields()));
  1678. break;
  1679. }
  1680. }
  1681. }
  1682. return true;
  1683. #undef DO_
  1684. }
  1685. void packetc2l_get_arena_match_info::SerializeWithCachedSizes(
  1686. ::google::protobuf::io::CodedOutputStream* output) const {
  1687. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_arena_match_info];
  1688. if (has_packet_id()) {
  1689. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1690. 1, this->packet_id(), output);
  1691. }
  1692. if (!unknown_fields().empty()) {
  1693. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1694. unknown_fields(), output);
  1695. }
  1696. }
  1697. ::google::protobuf::uint8* packetc2l_get_arena_match_info::SerializeWithCachedSizesToArray(
  1698. ::google::protobuf::uint8* target) const {
  1699. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_arena_match_info];
  1700. if (has_packet_id()) {
  1701. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1702. 1, this->packet_id(), target);
  1703. }
  1704. if (!unknown_fields().empty()) {
  1705. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1706. unknown_fields(), target);
  1707. }
  1708. return target;
  1709. }
  1710. int packetc2l_get_arena_match_info::ByteSize() const {
  1711. int total_size = 0;
  1712. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1713. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_arena_match_info];
  1714. if (has_packet_id()) {
  1715. total_size += 1 +
  1716. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1717. }
  1718. }
  1719. if (!unknown_fields().empty()) {
  1720. total_size +=
  1721. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1722. unknown_fields());
  1723. }
  1724. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1725. _cached_size_ = total_size;
  1726. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1727. return total_size;
  1728. }
  1729. void packetc2l_get_arena_match_info::MergeFrom(const ::google::protobuf::Message& from) {
  1730. GOOGLE_CHECK_NE(&from, this);
  1731. const packetc2l_get_arena_match_info* source =
  1732. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_arena_match_info*>(
  1733. &from);
  1734. if (source == NULL) {
  1735. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1736. } else {
  1737. MergeFrom(*source);
  1738. }
  1739. }
  1740. void packetc2l_get_arena_match_info::MergeFrom(const packetc2l_get_arena_match_info& from) {
  1741. GOOGLE_CHECK_NE(&from, this);
  1742. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1743. if (from.has_packet_id()) {
  1744. set_packet_id(from.packet_id());
  1745. }
  1746. }
  1747. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1748. }
  1749. void packetc2l_get_arena_match_info::CopyFrom(const ::google::protobuf::Message& from) {
  1750. if (&from == this) return;
  1751. Clear();
  1752. MergeFrom(from);
  1753. }
  1754. void packetc2l_get_arena_match_info::CopyFrom(const packetc2l_get_arena_match_info& from) {
  1755. if (&from == this) return;
  1756. Clear();
  1757. MergeFrom(from);
  1758. }
  1759. bool packetc2l_get_arena_match_info::IsInitialized() const {
  1760. return true;
  1761. }
  1762. void packetc2l_get_arena_match_info::Swap(packetc2l_get_arena_match_info* other) {
  1763. if (other != this) {
  1764. std::swap(packet_id_, other->packet_id_);
  1765. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1766. _unknown_fields_.Swap(&other->_unknown_fields_);
  1767. std::swap(_cached_size_, other->_cached_size_);
  1768. }
  1769. }
  1770. ::google::protobuf::Metadata packetc2l_get_arena_match_info::GetMetadata() const {
  1771. protobuf_AssignDescriptorsOnce();
  1772. ::google::protobuf::Metadata metadata;
  1773. metadata.descriptor = packetc2l_get_arena_match_info_descriptor_;
  1774. metadata.reflection = packetc2l_get_arena_match_info_reflection_;
  1775. return metadata;
  1776. }
  1777. // ===================================================================
  1778. #ifndef _MSC_VER
  1779. const int packetl2c_get_arena_match_info_result::kPacketIdFieldNumber;
  1780. const int packetl2c_get_arena_match_info_result::kDailyRankListFieldNumber;
  1781. const int packetl2c_get_arena_match_info_result::kWeeklyRankListFieldNumber;
  1782. const int packetl2c_get_arena_match_info_result::kQuestListFieldNumber;
  1783. const int packetl2c_get_arena_match_info_result::kKillListFieldNumber;
  1784. const int packetl2c_get_arena_match_info_result::kBulletCountFieldNumber;
  1785. const int packetl2c_get_arena_match_info_result::kCurScoreFieldNumber;
  1786. const int packetl2c_get_arena_match_info_result::kJoinCountFieldNumber;
  1787. const int packetl2c_get_arena_match_info_result::kQuestGroupFieldNumber;
  1788. const int packetl2c_get_arena_match_info_result::kSelfDayRankFieldNumber;
  1789. const int packetl2c_get_arena_match_info_result::kSelfWeekRankFieldNumber;
  1790. const int packetl2c_get_arena_match_info_result::kStartTimeFieldNumber;
  1791. const int packetl2c_get_arena_match_info_result::kEndTimeFieldNumber;
  1792. #endif // !_MSC_VER
  1793. packetl2c_get_arena_match_info_result::packetl2c_get_arena_match_info_result()
  1794. : ::google::protobuf::Message() {
  1795. SharedCtor();
  1796. }
  1797. void packetl2c_get_arena_match_info_result::InitAsDefaultInstance() {
  1798. selfdayrank_ = const_cast< ::fish_protocols::matchRankInfo*>(&::fish_protocols::matchRankInfo::default_instance());
  1799. selfweekrank_ = const_cast< ::fish_protocols::matchRankInfo*>(&::fish_protocols::matchRankInfo::default_instance());
  1800. }
  1801. packetl2c_get_arena_match_info_result::packetl2c_get_arena_match_info_result(const packetl2c_get_arena_match_info_result& from)
  1802. : ::google::protobuf::Message() {
  1803. SharedCtor();
  1804. MergeFrom(from);
  1805. }
  1806. void packetl2c_get_arena_match_info_result::SharedCtor() {
  1807. _cached_size_ = 0;
  1808. packet_id_ = 16101;
  1809. bulletcount_ = 0;
  1810. curscore_ = 0;
  1811. joincount_ = 0;
  1812. questgroup_ = 0;
  1813. selfdayrank_ = NULL;
  1814. selfweekrank_ = NULL;
  1815. starttime_ = 0;
  1816. endtime_ = 0;
  1817. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1818. }
  1819. packetl2c_get_arena_match_info_result::~packetl2c_get_arena_match_info_result() {
  1820. SharedDtor();
  1821. }
  1822. void packetl2c_get_arena_match_info_result::SharedDtor() {
  1823. if (this != default_instance_) {
  1824. delete selfdayrank_;
  1825. delete selfweekrank_;
  1826. }
  1827. }
  1828. void packetl2c_get_arena_match_info_result::SetCachedSize(int size) const {
  1829. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1830. _cached_size_ = size;
  1831. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1832. }
  1833. const ::google::protobuf::Descriptor* packetl2c_get_arena_match_info_result::descriptor() {
  1834. protobuf_AssignDescriptorsOnce();
  1835. return packetl2c_get_arena_match_info_result_descriptor_;
  1836. }
  1837. const packetl2c_get_arena_match_info_result& packetl2c_get_arena_match_info_result::default_instance() {
  1838. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  1839. return *default_instance_;
  1840. }
  1841. packetl2c_get_arena_match_info_result* packetl2c_get_arena_match_info_result::default_instance_ = NULL;
  1842. packetl2c_get_arena_match_info_result* packetl2c_get_arena_match_info_result::New() const {
  1843. return new packetl2c_get_arena_match_info_result;
  1844. }
  1845. void packetl2c_get_arena_match_info_result::Clear() {
  1846. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1847. packet_id_ = 16101;
  1848. bulletcount_ = 0;
  1849. curscore_ = 0;
  1850. joincount_ = 0;
  1851. }
  1852. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  1853. questgroup_ = 0;
  1854. if (has_selfdayrank()) {
  1855. if (selfdayrank_ != NULL) selfdayrank_->::fish_protocols::matchRankInfo::Clear();
  1856. }
  1857. if (has_selfweekrank()) {
  1858. if (selfweekrank_ != NULL) selfweekrank_->::fish_protocols::matchRankInfo::Clear();
  1859. }
  1860. starttime_ = 0;
  1861. endtime_ = 0;
  1862. }
  1863. dailyranklist_.Clear();
  1864. weeklyranklist_.Clear();
  1865. questlist_.Clear();
  1866. killlist_.Clear();
  1867. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1868. mutable_unknown_fields()->Clear();
  1869. }
  1870. bool packetl2c_get_arena_match_info_result::MergePartialFromCodedStream(
  1871. ::google::protobuf::io::CodedInputStream* input) {
  1872. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1873. ::google::protobuf::uint32 tag;
  1874. while ((tag = input->ReadTag()) != 0) {
  1875. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1876. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_arena_match_info_result];
  1877. case 1: {
  1878. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1879. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1880. int value;
  1881. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1882. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1883. input, &value)));
  1884. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1885. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1886. } else {
  1887. mutable_unknown_fields()->AddVarint(1, value);
  1888. }
  1889. } else {
  1890. goto handle_uninterpreted;
  1891. }
  1892. if (input->ExpectTag(18)) goto parse_dailyRankList;
  1893. break;
  1894. }
  1895. // repeated .fish_protocols.matchRankInfo dailyRankList = 2;
  1896. case 2: {
  1897. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1898. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1899. parse_dailyRankList:
  1900. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1901. input, add_dailyranklist()));
  1902. } else {
  1903. goto handle_uninterpreted;
  1904. }
  1905. if (input->ExpectTag(18)) goto parse_dailyRankList;
  1906. if (input->ExpectTag(26)) goto parse_weeklyRankList;
  1907. break;
  1908. }
  1909. // repeated .fish_protocols.matchRankInfo weeklyRankList = 3;
  1910. case 3: {
  1911. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1912. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1913. parse_weeklyRankList:
  1914. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1915. input, add_weeklyranklist()));
  1916. } else {
  1917. goto handle_uninterpreted;
  1918. }
  1919. if (input->ExpectTag(26)) goto parse_weeklyRankList;
  1920. if (input->ExpectTag(34)) goto parse_questList;
  1921. break;
  1922. }
  1923. // repeated .fish_protocols.questInfo questList = 4;
  1924. case 4: {
  1925. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1926. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1927. parse_questList:
  1928. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1929. input, add_questlist()));
  1930. } else {
  1931. goto handle_uninterpreted;
  1932. }
  1933. if (input->ExpectTag(34)) goto parse_questList;
  1934. if (input->ExpectTag(42)) goto parse_killList;
  1935. break;
  1936. }
  1937. // repeated .fish_protocols.killFishInfo killList = 5;
  1938. case 5: {
  1939. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1940. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1941. parse_killList:
  1942. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1943. input, add_killlist()));
  1944. } else {
  1945. goto handle_uninterpreted;
  1946. }
  1947. if (input->ExpectTag(42)) goto parse_killList;
  1948. if (input->ExpectTag(48)) goto parse_bulletCount;
  1949. break;
  1950. }
  1951. // optional int32 bulletCount = 6;
  1952. case 6: {
  1953. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1954. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1955. parse_bulletCount:
  1956. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1957. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1958. input, &bulletcount_)));
  1959. set_has_bulletcount();
  1960. } else {
  1961. goto handle_uninterpreted;
  1962. }
  1963. if (input->ExpectTag(56)) goto parse_curScore;
  1964. break;
  1965. }
  1966. // optional int32 curScore = 7;
  1967. case 7: {
  1968. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1969. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1970. parse_curScore:
  1971. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1972. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1973. input, &curscore_)));
  1974. set_has_curscore();
  1975. } else {
  1976. goto handle_uninterpreted;
  1977. }
  1978. if (input->ExpectTag(64)) goto parse_joinCount;
  1979. break;
  1980. }
  1981. // optional int32 joinCount = 8;
  1982. case 8: {
  1983. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1984. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1985. parse_joinCount:
  1986. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1987. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1988. input, &joincount_)));
  1989. set_has_joincount();
  1990. } else {
  1991. goto handle_uninterpreted;
  1992. }
  1993. if (input->ExpectTag(72)) goto parse_questGroup;
  1994. break;
  1995. }
  1996. // optional int32 questGroup = 9;
  1997. case 9: {
  1998. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1999. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2000. parse_questGroup:
  2001. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2002. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2003. input, &questgroup_)));
  2004. set_has_questgroup();
  2005. } else {
  2006. goto handle_uninterpreted;
  2007. }
  2008. if (input->ExpectTag(82)) goto parse_selfDayRank;
  2009. break;
  2010. }
  2011. // optional .fish_protocols.matchRankInfo selfDayRank = 10;
  2012. case 10: {
  2013. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2014. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2015. parse_selfDayRank:
  2016. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2017. input, mutable_selfdayrank()));
  2018. } else {
  2019. goto handle_uninterpreted;
  2020. }
  2021. if (input->ExpectTag(90)) goto parse_selfWeekRank;
  2022. break;
  2023. }
  2024. // optional .fish_protocols.matchRankInfo selfWeekRank = 11;
  2025. case 11: {
  2026. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2027. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2028. parse_selfWeekRank:
  2029. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2030. input, mutable_selfweekrank()));
  2031. } else {
  2032. goto handle_uninterpreted;
  2033. }
  2034. if (input->ExpectTag(96)) goto parse_startTime;
  2035. break;
  2036. }
  2037. // optional int32 startTime = 12;
  2038. case 12: {
  2039. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2040. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2041. parse_startTime:
  2042. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2043. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2044. input, &starttime_)));
  2045. set_has_starttime();
  2046. } else {
  2047. goto handle_uninterpreted;
  2048. }
  2049. if (input->ExpectTag(104)) goto parse_endTime;
  2050. break;
  2051. }
  2052. // optional int32 endTime = 13;
  2053. case 13: {
  2054. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2055. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2056. parse_endTime:
  2057. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2058. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2059. input, &endtime_)));
  2060. set_has_endtime();
  2061. } else {
  2062. goto handle_uninterpreted;
  2063. }
  2064. if (input->ExpectAtEnd()) return true;
  2065. break;
  2066. }
  2067. default: {
  2068. handle_uninterpreted:
  2069. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2070. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2071. return true;
  2072. }
  2073. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2074. input, tag, mutable_unknown_fields()));
  2075. break;
  2076. }
  2077. }
  2078. }
  2079. return true;
  2080. #undef DO_
  2081. }
  2082. void packetl2c_get_arena_match_info_result::SerializeWithCachedSizes(
  2083. ::google::protobuf::io::CodedOutputStream* output) const {
  2084. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_arena_match_info_result];
  2085. if (has_packet_id()) {
  2086. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2087. 1, this->packet_id(), output);
  2088. }
  2089. // repeated .fish_protocols.matchRankInfo dailyRankList = 2;
  2090. for (int i = 0; i < this->dailyranklist_size(); i++) {
  2091. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2092. 2, this->dailyranklist(i), output);
  2093. }
  2094. // repeated .fish_protocols.matchRankInfo weeklyRankList = 3;
  2095. for (int i = 0; i < this->weeklyranklist_size(); i++) {
  2096. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2097. 3, this->weeklyranklist(i), output);
  2098. }
  2099. // repeated .fish_protocols.questInfo questList = 4;
  2100. for (int i = 0; i < this->questlist_size(); i++) {
  2101. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2102. 4, this->questlist(i), output);
  2103. }
  2104. // repeated .fish_protocols.killFishInfo killList = 5;
  2105. for (int i = 0; i < this->killlist_size(); i++) {
  2106. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2107. 5, this->killlist(i), output);
  2108. }
  2109. // optional int32 bulletCount = 6;
  2110. if (has_bulletcount()) {
  2111. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bulletcount(), output);
  2112. }
  2113. // optional int32 curScore = 7;
  2114. if (has_curscore()) {
  2115. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->curscore(), output);
  2116. }
  2117. // optional int32 joinCount = 8;
  2118. if (has_joincount()) {
  2119. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->joincount(), output);
  2120. }
  2121. // optional int32 questGroup = 9;
  2122. if (has_questgroup()) {
  2123. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->questgroup(), output);
  2124. }
  2125. // optional .fish_protocols.matchRankInfo selfDayRank = 10;
  2126. if (has_selfdayrank()) {
  2127. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2128. 10, this->selfdayrank(), output);
  2129. }
  2130. // optional .fish_protocols.matchRankInfo selfWeekRank = 11;
  2131. if (has_selfweekrank()) {
  2132. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2133. 11, this->selfweekrank(), output);
  2134. }
  2135. // optional int32 startTime = 12;
  2136. if (has_starttime()) {
  2137. ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->starttime(), output);
  2138. }
  2139. // optional int32 endTime = 13;
  2140. if (has_endtime()) {
  2141. ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->endtime(), output);
  2142. }
  2143. if (!unknown_fields().empty()) {
  2144. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2145. unknown_fields(), output);
  2146. }
  2147. }
  2148. ::google::protobuf::uint8* packetl2c_get_arena_match_info_result::SerializeWithCachedSizesToArray(
  2149. ::google::protobuf::uint8* target) const {
  2150. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_arena_match_info_result];
  2151. if (has_packet_id()) {
  2152. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2153. 1, this->packet_id(), target);
  2154. }
  2155. // repeated .fish_protocols.matchRankInfo dailyRankList = 2;
  2156. for (int i = 0; i < this->dailyranklist_size(); i++) {
  2157. target = ::google::protobuf::internal::WireFormatLite::
  2158. WriteMessageNoVirtualToArray(
  2159. 2, this->dailyranklist(i), target);
  2160. }
  2161. // repeated .fish_protocols.matchRankInfo weeklyRankList = 3;
  2162. for (int i = 0; i < this->weeklyranklist_size(); i++) {
  2163. target = ::google::protobuf::internal::WireFormatLite::
  2164. WriteMessageNoVirtualToArray(
  2165. 3, this->weeklyranklist(i), target);
  2166. }
  2167. // repeated .fish_protocols.questInfo questList = 4;
  2168. for (int i = 0; i < this->questlist_size(); i++) {
  2169. target = ::google::protobuf::internal::WireFormatLite::
  2170. WriteMessageNoVirtualToArray(
  2171. 4, this->questlist(i), target);
  2172. }
  2173. // repeated .fish_protocols.killFishInfo killList = 5;
  2174. for (int i = 0; i < this->killlist_size(); i++) {
  2175. target = ::google::protobuf::internal::WireFormatLite::
  2176. WriteMessageNoVirtualToArray(
  2177. 5, this->killlist(i), target);
  2178. }
  2179. // optional int32 bulletCount = 6;
  2180. if (has_bulletcount()) {
  2181. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bulletcount(), target);
  2182. }
  2183. // optional int32 curScore = 7;
  2184. if (has_curscore()) {
  2185. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->curscore(), target);
  2186. }
  2187. // optional int32 joinCount = 8;
  2188. if (has_joincount()) {
  2189. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->joincount(), target);
  2190. }
  2191. // optional int32 questGroup = 9;
  2192. if (has_questgroup()) {
  2193. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->questgroup(), target);
  2194. }
  2195. // optional .fish_protocols.matchRankInfo selfDayRank = 10;
  2196. if (has_selfdayrank()) {
  2197. target = ::google::protobuf::internal::WireFormatLite::
  2198. WriteMessageNoVirtualToArray(
  2199. 10, this->selfdayrank(), target);
  2200. }
  2201. // optional .fish_protocols.matchRankInfo selfWeekRank = 11;
  2202. if (has_selfweekrank()) {
  2203. target = ::google::protobuf::internal::WireFormatLite::
  2204. WriteMessageNoVirtualToArray(
  2205. 11, this->selfweekrank(), target);
  2206. }
  2207. // optional int32 startTime = 12;
  2208. if (has_starttime()) {
  2209. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->starttime(), target);
  2210. }
  2211. // optional int32 endTime = 13;
  2212. if (has_endtime()) {
  2213. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->endtime(), target);
  2214. }
  2215. if (!unknown_fields().empty()) {
  2216. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2217. unknown_fields(), target);
  2218. }
  2219. return target;
  2220. }
  2221. int packetl2c_get_arena_match_info_result::ByteSize() const {
  2222. int total_size = 0;
  2223. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2224. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_arena_match_info_result];
  2225. if (has_packet_id()) {
  2226. total_size += 1 +
  2227. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2228. }
  2229. // optional int32 bulletCount = 6;
  2230. if (has_bulletcount()) {
  2231. total_size += 1 +
  2232. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2233. this->bulletcount());
  2234. }
  2235. // optional int32 curScore = 7;
  2236. if (has_curscore()) {
  2237. total_size += 1 +
  2238. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2239. this->curscore());
  2240. }
  2241. // optional int32 joinCount = 8;
  2242. if (has_joincount()) {
  2243. total_size += 1 +
  2244. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2245. this->joincount());
  2246. }
  2247. }
  2248. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  2249. // optional int32 questGroup = 9;
  2250. if (has_questgroup()) {
  2251. total_size += 1 +
  2252. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2253. this->questgroup());
  2254. }
  2255. // optional .fish_protocols.matchRankInfo selfDayRank = 10;
  2256. if (has_selfdayrank()) {
  2257. total_size += 1 +
  2258. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2259. this->selfdayrank());
  2260. }
  2261. // optional .fish_protocols.matchRankInfo selfWeekRank = 11;
  2262. if (has_selfweekrank()) {
  2263. total_size += 1 +
  2264. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2265. this->selfweekrank());
  2266. }
  2267. // optional int32 startTime = 12;
  2268. if (has_starttime()) {
  2269. total_size += 1 +
  2270. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2271. this->starttime());
  2272. }
  2273. // optional int32 endTime = 13;
  2274. if (has_endtime()) {
  2275. total_size += 1 +
  2276. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2277. this->endtime());
  2278. }
  2279. }
  2280. // repeated .fish_protocols.matchRankInfo dailyRankList = 2;
  2281. total_size += 1 * this->dailyranklist_size();
  2282. for (int i = 0; i < this->dailyranklist_size(); i++) {
  2283. total_size +=
  2284. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2285. this->dailyranklist(i));
  2286. }
  2287. // repeated .fish_protocols.matchRankInfo weeklyRankList = 3;
  2288. total_size += 1 * this->weeklyranklist_size();
  2289. for (int i = 0; i < this->weeklyranklist_size(); i++) {
  2290. total_size +=
  2291. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2292. this->weeklyranklist(i));
  2293. }
  2294. // repeated .fish_protocols.questInfo questList = 4;
  2295. total_size += 1 * this->questlist_size();
  2296. for (int i = 0; i < this->questlist_size(); i++) {
  2297. total_size +=
  2298. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2299. this->questlist(i));
  2300. }
  2301. // repeated .fish_protocols.killFishInfo killList = 5;
  2302. total_size += 1 * this->killlist_size();
  2303. for (int i = 0; i < this->killlist_size(); i++) {
  2304. total_size +=
  2305. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2306. this->killlist(i));
  2307. }
  2308. if (!unknown_fields().empty()) {
  2309. total_size +=
  2310. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2311. unknown_fields());
  2312. }
  2313. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2314. _cached_size_ = total_size;
  2315. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2316. return total_size;
  2317. }
  2318. void packetl2c_get_arena_match_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  2319. GOOGLE_CHECK_NE(&from, this);
  2320. const packetl2c_get_arena_match_info_result* source =
  2321. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_arena_match_info_result*>(
  2322. &from);
  2323. if (source == NULL) {
  2324. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2325. } else {
  2326. MergeFrom(*source);
  2327. }
  2328. }
  2329. void packetl2c_get_arena_match_info_result::MergeFrom(const packetl2c_get_arena_match_info_result& from) {
  2330. GOOGLE_CHECK_NE(&from, this);
  2331. dailyranklist_.MergeFrom(from.dailyranklist_);
  2332. weeklyranklist_.MergeFrom(from.weeklyranklist_);
  2333. questlist_.MergeFrom(from.questlist_);
  2334. killlist_.MergeFrom(from.killlist_);
  2335. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2336. if (from.has_packet_id()) {
  2337. set_packet_id(from.packet_id());
  2338. }
  2339. if (from.has_bulletcount()) {
  2340. set_bulletcount(from.bulletcount());
  2341. }
  2342. if (from.has_curscore()) {
  2343. set_curscore(from.curscore());
  2344. }
  2345. if (from.has_joincount()) {
  2346. set_joincount(from.joincount());
  2347. }
  2348. }
  2349. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  2350. if (from.has_questgroup()) {
  2351. set_questgroup(from.questgroup());
  2352. }
  2353. if (from.has_selfdayrank()) {
  2354. mutable_selfdayrank()->::fish_protocols::matchRankInfo::MergeFrom(from.selfdayrank());
  2355. }
  2356. if (from.has_selfweekrank()) {
  2357. mutable_selfweekrank()->::fish_protocols::matchRankInfo::MergeFrom(from.selfweekrank());
  2358. }
  2359. if (from.has_starttime()) {
  2360. set_starttime(from.starttime());
  2361. }
  2362. if (from.has_endtime()) {
  2363. set_endtime(from.endtime());
  2364. }
  2365. }
  2366. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2367. }
  2368. void packetl2c_get_arena_match_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  2369. if (&from == this) return;
  2370. Clear();
  2371. MergeFrom(from);
  2372. }
  2373. void packetl2c_get_arena_match_info_result::CopyFrom(const packetl2c_get_arena_match_info_result& from) {
  2374. if (&from == this) return;
  2375. Clear();
  2376. MergeFrom(from);
  2377. }
  2378. bool packetl2c_get_arena_match_info_result::IsInitialized() const {
  2379. return true;
  2380. }
  2381. void packetl2c_get_arena_match_info_result::Swap(packetl2c_get_arena_match_info_result* other) {
  2382. if (other != this) {
  2383. std::swap(packet_id_, other->packet_id_);
  2384. dailyranklist_.Swap(&other->dailyranklist_);
  2385. weeklyranklist_.Swap(&other->weeklyranklist_);
  2386. questlist_.Swap(&other->questlist_);
  2387. killlist_.Swap(&other->killlist_);
  2388. std::swap(bulletcount_, other->bulletcount_);
  2389. std::swap(curscore_, other->curscore_);
  2390. std::swap(joincount_, other->joincount_);
  2391. std::swap(questgroup_, other->questgroup_);
  2392. std::swap(selfdayrank_, other->selfdayrank_);
  2393. std::swap(selfweekrank_, other->selfweekrank_);
  2394. std::swap(starttime_, other->starttime_);
  2395. std::swap(endtime_, other->endtime_);
  2396. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2397. _unknown_fields_.Swap(&other->_unknown_fields_);
  2398. std::swap(_cached_size_, other->_cached_size_);
  2399. }
  2400. }
  2401. ::google::protobuf::Metadata packetl2c_get_arena_match_info_result::GetMetadata() const {
  2402. protobuf_AssignDescriptorsOnce();
  2403. ::google::protobuf::Metadata metadata;
  2404. metadata.descriptor = packetl2c_get_arena_match_info_result_descriptor_;
  2405. metadata.reflection = packetl2c_get_arena_match_info_result_reflection_;
  2406. return metadata;
  2407. }
  2408. // ===================================================================
  2409. #ifndef _MSC_VER
  2410. const int packetc2l_syn_arena_match_bullet::kPacketIdFieldNumber;
  2411. #endif // !_MSC_VER
  2412. packetc2l_syn_arena_match_bullet::packetc2l_syn_arena_match_bullet()
  2413. : ::google::protobuf::Message() {
  2414. SharedCtor();
  2415. }
  2416. void packetc2l_syn_arena_match_bullet::InitAsDefaultInstance() {
  2417. }
  2418. packetc2l_syn_arena_match_bullet::packetc2l_syn_arena_match_bullet(const packetc2l_syn_arena_match_bullet& from)
  2419. : ::google::protobuf::Message() {
  2420. SharedCtor();
  2421. MergeFrom(from);
  2422. }
  2423. void packetc2l_syn_arena_match_bullet::SharedCtor() {
  2424. _cached_size_ = 0;
  2425. packet_id_ = 10223;
  2426. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2427. }
  2428. packetc2l_syn_arena_match_bullet::~packetc2l_syn_arena_match_bullet() {
  2429. SharedDtor();
  2430. }
  2431. void packetc2l_syn_arena_match_bullet::SharedDtor() {
  2432. if (this != default_instance_) {
  2433. }
  2434. }
  2435. void packetc2l_syn_arena_match_bullet::SetCachedSize(int size) const {
  2436. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2437. _cached_size_ = size;
  2438. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2439. }
  2440. const ::google::protobuf::Descriptor* packetc2l_syn_arena_match_bullet::descriptor() {
  2441. protobuf_AssignDescriptorsOnce();
  2442. return packetc2l_syn_arena_match_bullet_descriptor_;
  2443. }
  2444. const packetc2l_syn_arena_match_bullet& packetc2l_syn_arena_match_bullet::default_instance() {
  2445. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  2446. return *default_instance_;
  2447. }
  2448. packetc2l_syn_arena_match_bullet* packetc2l_syn_arena_match_bullet::default_instance_ = NULL;
  2449. packetc2l_syn_arena_match_bullet* packetc2l_syn_arena_match_bullet::New() const {
  2450. return new packetc2l_syn_arena_match_bullet;
  2451. }
  2452. void packetc2l_syn_arena_match_bullet::Clear() {
  2453. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2454. packet_id_ = 10223;
  2455. }
  2456. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2457. mutable_unknown_fields()->Clear();
  2458. }
  2459. bool packetc2l_syn_arena_match_bullet::MergePartialFromCodedStream(
  2460. ::google::protobuf::io::CodedInputStream* input) {
  2461. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2462. ::google::protobuf::uint32 tag;
  2463. while ((tag = input->ReadTag()) != 0) {
  2464. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2465. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_arena_match_bullet];
  2466. case 1: {
  2467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2469. int value;
  2470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2471. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2472. input, &value)));
  2473. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2474. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2475. } else {
  2476. mutable_unknown_fields()->AddVarint(1, value);
  2477. }
  2478. } else {
  2479. goto handle_uninterpreted;
  2480. }
  2481. if (input->ExpectAtEnd()) return true;
  2482. break;
  2483. }
  2484. default: {
  2485. handle_uninterpreted:
  2486. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2487. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2488. return true;
  2489. }
  2490. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2491. input, tag, mutable_unknown_fields()));
  2492. break;
  2493. }
  2494. }
  2495. }
  2496. return true;
  2497. #undef DO_
  2498. }
  2499. void packetc2l_syn_arena_match_bullet::SerializeWithCachedSizes(
  2500. ::google::protobuf::io::CodedOutputStream* output) const {
  2501. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_arena_match_bullet];
  2502. if (has_packet_id()) {
  2503. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2504. 1, this->packet_id(), output);
  2505. }
  2506. if (!unknown_fields().empty()) {
  2507. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2508. unknown_fields(), output);
  2509. }
  2510. }
  2511. ::google::protobuf::uint8* packetc2l_syn_arena_match_bullet::SerializeWithCachedSizesToArray(
  2512. ::google::protobuf::uint8* target) const {
  2513. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_arena_match_bullet];
  2514. if (has_packet_id()) {
  2515. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2516. 1, this->packet_id(), target);
  2517. }
  2518. if (!unknown_fields().empty()) {
  2519. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2520. unknown_fields(), target);
  2521. }
  2522. return target;
  2523. }
  2524. int packetc2l_syn_arena_match_bullet::ByteSize() const {
  2525. int total_size = 0;
  2526. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2527. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_arena_match_bullet];
  2528. if (has_packet_id()) {
  2529. total_size += 1 +
  2530. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2531. }
  2532. }
  2533. if (!unknown_fields().empty()) {
  2534. total_size +=
  2535. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2536. unknown_fields());
  2537. }
  2538. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2539. _cached_size_ = total_size;
  2540. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2541. return total_size;
  2542. }
  2543. void packetc2l_syn_arena_match_bullet::MergeFrom(const ::google::protobuf::Message& from) {
  2544. GOOGLE_CHECK_NE(&from, this);
  2545. const packetc2l_syn_arena_match_bullet* source =
  2546. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_syn_arena_match_bullet*>(
  2547. &from);
  2548. if (source == NULL) {
  2549. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2550. } else {
  2551. MergeFrom(*source);
  2552. }
  2553. }
  2554. void packetc2l_syn_arena_match_bullet::MergeFrom(const packetc2l_syn_arena_match_bullet& from) {
  2555. GOOGLE_CHECK_NE(&from, this);
  2556. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2557. if (from.has_packet_id()) {
  2558. set_packet_id(from.packet_id());
  2559. }
  2560. }
  2561. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2562. }
  2563. void packetc2l_syn_arena_match_bullet::CopyFrom(const ::google::protobuf::Message& from) {
  2564. if (&from == this) return;
  2565. Clear();
  2566. MergeFrom(from);
  2567. }
  2568. void packetc2l_syn_arena_match_bullet::CopyFrom(const packetc2l_syn_arena_match_bullet& from) {
  2569. if (&from == this) return;
  2570. Clear();
  2571. MergeFrom(from);
  2572. }
  2573. bool packetc2l_syn_arena_match_bullet::IsInitialized() const {
  2574. return true;
  2575. }
  2576. void packetc2l_syn_arena_match_bullet::Swap(packetc2l_syn_arena_match_bullet* other) {
  2577. if (other != this) {
  2578. std::swap(packet_id_, other->packet_id_);
  2579. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2580. _unknown_fields_.Swap(&other->_unknown_fields_);
  2581. std::swap(_cached_size_, other->_cached_size_);
  2582. }
  2583. }
  2584. ::google::protobuf::Metadata packetc2l_syn_arena_match_bullet::GetMetadata() const {
  2585. protobuf_AssignDescriptorsOnce();
  2586. ::google::protobuf::Metadata metadata;
  2587. metadata.descriptor = packetc2l_syn_arena_match_bullet_descriptor_;
  2588. metadata.reflection = packetc2l_syn_arena_match_bullet_reflection_;
  2589. return metadata;
  2590. }
  2591. // ===================================================================
  2592. #ifndef _MSC_VER
  2593. const int packetl2c_syn_arena_match_bullet_result::kPacketIdFieldNumber;
  2594. const int packetl2c_syn_arena_match_bullet_result::kBulletCountFieldNumber;
  2595. #endif // !_MSC_VER
  2596. packetl2c_syn_arena_match_bullet_result::packetl2c_syn_arena_match_bullet_result()
  2597. : ::google::protobuf::Message() {
  2598. SharedCtor();
  2599. }
  2600. void packetl2c_syn_arena_match_bullet_result::InitAsDefaultInstance() {
  2601. }
  2602. packetl2c_syn_arena_match_bullet_result::packetl2c_syn_arena_match_bullet_result(const packetl2c_syn_arena_match_bullet_result& from)
  2603. : ::google::protobuf::Message() {
  2604. SharedCtor();
  2605. MergeFrom(from);
  2606. }
  2607. void packetl2c_syn_arena_match_bullet_result::SharedCtor() {
  2608. _cached_size_ = 0;
  2609. packet_id_ = 16229;
  2610. bulletcount_ = 0;
  2611. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2612. }
  2613. packetl2c_syn_arena_match_bullet_result::~packetl2c_syn_arena_match_bullet_result() {
  2614. SharedDtor();
  2615. }
  2616. void packetl2c_syn_arena_match_bullet_result::SharedDtor() {
  2617. if (this != default_instance_) {
  2618. }
  2619. }
  2620. void packetl2c_syn_arena_match_bullet_result::SetCachedSize(int size) const {
  2621. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2622. _cached_size_ = size;
  2623. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2624. }
  2625. const ::google::protobuf::Descriptor* packetl2c_syn_arena_match_bullet_result::descriptor() {
  2626. protobuf_AssignDescriptorsOnce();
  2627. return packetl2c_syn_arena_match_bullet_result_descriptor_;
  2628. }
  2629. const packetl2c_syn_arena_match_bullet_result& packetl2c_syn_arena_match_bullet_result::default_instance() {
  2630. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  2631. return *default_instance_;
  2632. }
  2633. packetl2c_syn_arena_match_bullet_result* packetl2c_syn_arena_match_bullet_result::default_instance_ = NULL;
  2634. packetl2c_syn_arena_match_bullet_result* packetl2c_syn_arena_match_bullet_result::New() const {
  2635. return new packetl2c_syn_arena_match_bullet_result;
  2636. }
  2637. void packetl2c_syn_arena_match_bullet_result::Clear() {
  2638. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2639. packet_id_ = 16229;
  2640. bulletcount_ = 0;
  2641. }
  2642. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2643. mutable_unknown_fields()->Clear();
  2644. }
  2645. bool packetl2c_syn_arena_match_bullet_result::MergePartialFromCodedStream(
  2646. ::google::protobuf::io::CodedInputStream* input) {
  2647. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2648. ::google::protobuf::uint32 tag;
  2649. while ((tag = input->ReadTag()) != 0) {
  2650. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2651. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_syn_arena_match_bullet_result];
  2652. case 1: {
  2653. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2654. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2655. int value;
  2656. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2657. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2658. input, &value)));
  2659. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2660. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2661. } else {
  2662. mutable_unknown_fields()->AddVarint(1, value);
  2663. }
  2664. } else {
  2665. goto handle_uninterpreted;
  2666. }
  2667. if (input->ExpectTag(16)) goto parse_bulletCount;
  2668. break;
  2669. }
  2670. // optional int32 bulletCount = 2;
  2671. case 2: {
  2672. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2673. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2674. parse_bulletCount:
  2675. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2676. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2677. input, &bulletcount_)));
  2678. set_has_bulletcount();
  2679. } else {
  2680. goto handle_uninterpreted;
  2681. }
  2682. if (input->ExpectAtEnd()) return true;
  2683. break;
  2684. }
  2685. default: {
  2686. handle_uninterpreted:
  2687. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2688. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2689. return true;
  2690. }
  2691. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2692. input, tag, mutable_unknown_fields()));
  2693. break;
  2694. }
  2695. }
  2696. }
  2697. return true;
  2698. #undef DO_
  2699. }
  2700. void packetl2c_syn_arena_match_bullet_result::SerializeWithCachedSizes(
  2701. ::google::protobuf::io::CodedOutputStream* output) const {
  2702. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_syn_arena_match_bullet_result];
  2703. if (has_packet_id()) {
  2704. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2705. 1, this->packet_id(), output);
  2706. }
  2707. // optional int32 bulletCount = 2;
  2708. if (has_bulletcount()) {
  2709. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->bulletcount(), output);
  2710. }
  2711. if (!unknown_fields().empty()) {
  2712. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2713. unknown_fields(), output);
  2714. }
  2715. }
  2716. ::google::protobuf::uint8* packetl2c_syn_arena_match_bullet_result::SerializeWithCachedSizesToArray(
  2717. ::google::protobuf::uint8* target) const {
  2718. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_syn_arena_match_bullet_result];
  2719. if (has_packet_id()) {
  2720. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2721. 1, this->packet_id(), target);
  2722. }
  2723. // optional int32 bulletCount = 2;
  2724. if (has_bulletcount()) {
  2725. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->bulletcount(), target);
  2726. }
  2727. if (!unknown_fields().empty()) {
  2728. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2729. unknown_fields(), target);
  2730. }
  2731. return target;
  2732. }
  2733. int packetl2c_syn_arena_match_bullet_result::ByteSize() const {
  2734. int total_size = 0;
  2735. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2736. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_syn_arena_match_bullet_result];
  2737. if (has_packet_id()) {
  2738. total_size += 1 +
  2739. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2740. }
  2741. // optional int32 bulletCount = 2;
  2742. if (has_bulletcount()) {
  2743. total_size += 1 +
  2744. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2745. this->bulletcount());
  2746. }
  2747. }
  2748. if (!unknown_fields().empty()) {
  2749. total_size +=
  2750. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2751. unknown_fields());
  2752. }
  2753. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2754. _cached_size_ = total_size;
  2755. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2756. return total_size;
  2757. }
  2758. void packetl2c_syn_arena_match_bullet_result::MergeFrom(const ::google::protobuf::Message& from) {
  2759. GOOGLE_CHECK_NE(&from, this);
  2760. const packetl2c_syn_arena_match_bullet_result* source =
  2761. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_syn_arena_match_bullet_result*>(
  2762. &from);
  2763. if (source == NULL) {
  2764. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2765. } else {
  2766. MergeFrom(*source);
  2767. }
  2768. }
  2769. void packetl2c_syn_arena_match_bullet_result::MergeFrom(const packetl2c_syn_arena_match_bullet_result& from) {
  2770. GOOGLE_CHECK_NE(&from, this);
  2771. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2772. if (from.has_packet_id()) {
  2773. set_packet_id(from.packet_id());
  2774. }
  2775. if (from.has_bulletcount()) {
  2776. set_bulletcount(from.bulletcount());
  2777. }
  2778. }
  2779. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2780. }
  2781. void packetl2c_syn_arena_match_bullet_result::CopyFrom(const ::google::protobuf::Message& from) {
  2782. if (&from == this) return;
  2783. Clear();
  2784. MergeFrom(from);
  2785. }
  2786. void packetl2c_syn_arena_match_bullet_result::CopyFrom(const packetl2c_syn_arena_match_bullet_result& from) {
  2787. if (&from == this) return;
  2788. Clear();
  2789. MergeFrom(from);
  2790. }
  2791. bool packetl2c_syn_arena_match_bullet_result::IsInitialized() const {
  2792. return true;
  2793. }
  2794. void packetl2c_syn_arena_match_bullet_result::Swap(packetl2c_syn_arena_match_bullet_result* other) {
  2795. if (other != this) {
  2796. std::swap(packet_id_, other->packet_id_);
  2797. std::swap(bulletcount_, other->bulletcount_);
  2798. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2799. _unknown_fields_.Swap(&other->_unknown_fields_);
  2800. std::swap(_cached_size_, other->_cached_size_);
  2801. }
  2802. }
  2803. ::google::protobuf::Metadata packetl2c_syn_arena_match_bullet_result::GetMetadata() const {
  2804. protobuf_AssignDescriptorsOnce();
  2805. ::google::protobuf::Metadata metadata;
  2806. metadata.descriptor = packetl2c_syn_arena_match_bullet_result_descriptor_;
  2807. metadata.reflection = packetl2c_syn_arena_match_bullet_result_reflection_;
  2808. return metadata;
  2809. }
  2810. // ===================================================================
  2811. #ifndef _MSC_VER
  2812. const int packetc2l_get_arena_match_history_rank::kPacketIdFieldNumber;
  2813. const int packetc2l_get_arena_match_history_rank::kTypeFieldNumber;
  2814. #endif // !_MSC_VER
  2815. packetc2l_get_arena_match_history_rank::packetc2l_get_arena_match_history_rank()
  2816. : ::google::protobuf::Message() {
  2817. SharedCtor();
  2818. }
  2819. void packetc2l_get_arena_match_history_rank::InitAsDefaultInstance() {
  2820. }
  2821. packetc2l_get_arena_match_history_rank::packetc2l_get_arena_match_history_rank(const packetc2l_get_arena_match_history_rank& from)
  2822. : ::google::protobuf::Message() {
  2823. SharedCtor();
  2824. MergeFrom(from);
  2825. }
  2826. void packetc2l_get_arena_match_history_rank::SharedCtor() {
  2827. _cached_size_ = 0;
  2828. packet_id_ = 10213;
  2829. type_ = 0;
  2830. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2831. }
  2832. packetc2l_get_arena_match_history_rank::~packetc2l_get_arena_match_history_rank() {
  2833. SharedDtor();
  2834. }
  2835. void packetc2l_get_arena_match_history_rank::SharedDtor() {
  2836. if (this != default_instance_) {
  2837. }
  2838. }
  2839. void packetc2l_get_arena_match_history_rank::SetCachedSize(int size) const {
  2840. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2841. _cached_size_ = size;
  2842. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2843. }
  2844. const ::google::protobuf::Descriptor* packetc2l_get_arena_match_history_rank::descriptor() {
  2845. protobuf_AssignDescriptorsOnce();
  2846. return packetc2l_get_arena_match_history_rank_descriptor_;
  2847. }
  2848. const packetc2l_get_arena_match_history_rank& packetc2l_get_arena_match_history_rank::default_instance() {
  2849. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  2850. return *default_instance_;
  2851. }
  2852. packetc2l_get_arena_match_history_rank* packetc2l_get_arena_match_history_rank::default_instance_ = NULL;
  2853. packetc2l_get_arena_match_history_rank* packetc2l_get_arena_match_history_rank::New() const {
  2854. return new packetc2l_get_arena_match_history_rank;
  2855. }
  2856. void packetc2l_get_arena_match_history_rank::Clear() {
  2857. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2858. packet_id_ = 10213;
  2859. type_ = 0;
  2860. }
  2861. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2862. mutable_unknown_fields()->Clear();
  2863. }
  2864. bool packetc2l_get_arena_match_history_rank::MergePartialFromCodedStream(
  2865. ::google::protobuf::io::CodedInputStream* input) {
  2866. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2867. ::google::protobuf::uint32 tag;
  2868. while ((tag = input->ReadTag()) != 0) {
  2869. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2870. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_arena_match_history_rank];
  2871. case 1: {
  2872. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2873. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2874. int value;
  2875. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2876. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2877. input, &value)));
  2878. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2879. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2880. } else {
  2881. mutable_unknown_fields()->AddVarint(1, value);
  2882. }
  2883. } else {
  2884. goto handle_uninterpreted;
  2885. }
  2886. if (input->ExpectTag(16)) goto parse_type;
  2887. break;
  2888. }
  2889. // optional int32 type = 2;
  2890. case 2: {
  2891. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2892. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2893. parse_type:
  2894. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2895. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2896. input, &type_)));
  2897. set_has_type();
  2898. } else {
  2899. goto handle_uninterpreted;
  2900. }
  2901. if (input->ExpectAtEnd()) return true;
  2902. break;
  2903. }
  2904. default: {
  2905. handle_uninterpreted:
  2906. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2907. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2908. return true;
  2909. }
  2910. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2911. input, tag, mutable_unknown_fields()));
  2912. break;
  2913. }
  2914. }
  2915. }
  2916. return true;
  2917. #undef DO_
  2918. }
  2919. void packetc2l_get_arena_match_history_rank::SerializeWithCachedSizes(
  2920. ::google::protobuf::io::CodedOutputStream* output) const {
  2921. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_arena_match_history_rank];
  2922. if (has_packet_id()) {
  2923. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2924. 1, this->packet_id(), output);
  2925. }
  2926. // optional int32 type = 2;
  2927. if (has_type()) {
  2928. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  2929. }
  2930. if (!unknown_fields().empty()) {
  2931. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2932. unknown_fields(), output);
  2933. }
  2934. }
  2935. ::google::protobuf::uint8* packetc2l_get_arena_match_history_rank::SerializeWithCachedSizesToArray(
  2936. ::google::protobuf::uint8* target) const {
  2937. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_arena_match_history_rank];
  2938. if (has_packet_id()) {
  2939. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2940. 1, this->packet_id(), target);
  2941. }
  2942. // optional int32 type = 2;
  2943. if (has_type()) {
  2944. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  2945. }
  2946. if (!unknown_fields().empty()) {
  2947. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2948. unknown_fields(), target);
  2949. }
  2950. return target;
  2951. }
  2952. int packetc2l_get_arena_match_history_rank::ByteSize() const {
  2953. int total_size = 0;
  2954. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2955. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_arena_match_history_rank];
  2956. if (has_packet_id()) {
  2957. total_size += 1 +
  2958. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2959. }
  2960. // optional int32 type = 2;
  2961. if (has_type()) {
  2962. total_size += 1 +
  2963. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2964. this->type());
  2965. }
  2966. }
  2967. if (!unknown_fields().empty()) {
  2968. total_size +=
  2969. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2970. unknown_fields());
  2971. }
  2972. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2973. _cached_size_ = total_size;
  2974. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2975. return total_size;
  2976. }
  2977. void packetc2l_get_arena_match_history_rank::MergeFrom(const ::google::protobuf::Message& from) {
  2978. GOOGLE_CHECK_NE(&from, this);
  2979. const packetc2l_get_arena_match_history_rank* source =
  2980. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_arena_match_history_rank*>(
  2981. &from);
  2982. if (source == NULL) {
  2983. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2984. } else {
  2985. MergeFrom(*source);
  2986. }
  2987. }
  2988. void packetc2l_get_arena_match_history_rank::MergeFrom(const packetc2l_get_arena_match_history_rank& from) {
  2989. GOOGLE_CHECK_NE(&from, this);
  2990. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2991. if (from.has_packet_id()) {
  2992. set_packet_id(from.packet_id());
  2993. }
  2994. if (from.has_type()) {
  2995. set_type(from.type());
  2996. }
  2997. }
  2998. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2999. }
  3000. void packetc2l_get_arena_match_history_rank::CopyFrom(const ::google::protobuf::Message& from) {
  3001. if (&from == this) return;
  3002. Clear();
  3003. MergeFrom(from);
  3004. }
  3005. void packetc2l_get_arena_match_history_rank::CopyFrom(const packetc2l_get_arena_match_history_rank& from) {
  3006. if (&from == this) return;
  3007. Clear();
  3008. MergeFrom(from);
  3009. }
  3010. bool packetc2l_get_arena_match_history_rank::IsInitialized() const {
  3011. return true;
  3012. }
  3013. void packetc2l_get_arena_match_history_rank::Swap(packetc2l_get_arena_match_history_rank* other) {
  3014. if (other != this) {
  3015. std::swap(packet_id_, other->packet_id_);
  3016. std::swap(type_, other->type_);
  3017. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3018. _unknown_fields_.Swap(&other->_unknown_fields_);
  3019. std::swap(_cached_size_, other->_cached_size_);
  3020. }
  3021. }
  3022. ::google::protobuf::Metadata packetc2l_get_arena_match_history_rank::GetMetadata() const {
  3023. protobuf_AssignDescriptorsOnce();
  3024. ::google::protobuf::Metadata metadata;
  3025. metadata.descriptor = packetc2l_get_arena_match_history_rank_descriptor_;
  3026. metadata.reflection = packetc2l_get_arena_match_history_rank_reflection_;
  3027. return metadata;
  3028. }
  3029. // ===================================================================
  3030. #ifndef _MSC_VER
  3031. const int packetl2c_get_arena_match_history_rank_result::kPacketIdFieldNumber;
  3032. const int packetl2c_get_arena_match_history_rank_result::kTypeFieldNumber;
  3033. const int packetl2c_get_arena_match_history_rank_result::kRankListFieldNumber;
  3034. const int packetl2c_get_arena_match_history_rank_result::kSelfRankFieldNumber;
  3035. #endif // !_MSC_VER
  3036. packetl2c_get_arena_match_history_rank_result::packetl2c_get_arena_match_history_rank_result()
  3037. : ::google::protobuf::Message() {
  3038. SharedCtor();
  3039. }
  3040. void packetl2c_get_arena_match_history_rank_result::InitAsDefaultInstance() {
  3041. selfrank_ = const_cast< ::fish_protocols::matchRankInfo*>(&::fish_protocols::matchRankInfo::default_instance());
  3042. }
  3043. packetl2c_get_arena_match_history_rank_result::packetl2c_get_arena_match_history_rank_result(const packetl2c_get_arena_match_history_rank_result& from)
  3044. : ::google::protobuf::Message() {
  3045. SharedCtor();
  3046. MergeFrom(from);
  3047. }
  3048. void packetl2c_get_arena_match_history_rank_result::SharedCtor() {
  3049. _cached_size_ = 0;
  3050. packet_id_ = 16216;
  3051. type_ = 0;
  3052. selfrank_ = NULL;
  3053. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3054. }
  3055. packetl2c_get_arena_match_history_rank_result::~packetl2c_get_arena_match_history_rank_result() {
  3056. SharedDtor();
  3057. }
  3058. void packetl2c_get_arena_match_history_rank_result::SharedDtor() {
  3059. if (this != default_instance_) {
  3060. delete selfrank_;
  3061. }
  3062. }
  3063. void packetl2c_get_arena_match_history_rank_result::SetCachedSize(int size) const {
  3064. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3065. _cached_size_ = size;
  3066. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3067. }
  3068. const ::google::protobuf::Descriptor* packetl2c_get_arena_match_history_rank_result::descriptor() {
  3069. protobuf_AssignDescriptorsOnce();
  3070. return packetl2c_get_arena_match_history_rank_result_descriptor_;
  3071. }
  3072. const packetl2c_get_arena_match_history_rank_result& packetl2c_get_arena_match_history_rank_result::default_instance() {
  3073. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  3074. return *default_instance_;
  3075. }
  3076. packetl2c_get_arena_match_history_rank_result* packetl2c_get_arena_match_history_rank_result::default_instance_ = NULL;
  3077. packetl2c_get_arena_match_history_rank_result* packetl2c_get_arena_match_history_rank_result::New() const {
  3078. return new packetl2c_get_arena_match_history_rank_result;
  3079. }
  3080. void packetl2c_get_arena_match_history_rank_result::Clear() {
  3081. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3082. packet_id_ = 16216;
  3083. type_ = 0;
  3084. if (has_selfrank()) {
  3085. if (selfrank_ != NULL) selfrank_->::fish_protocols::matchRankInfo::Clear();
  3086. }
  3087. }
  3088. ranklist_.Clear();
  3089. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3090. mutable_unknown_fields()->Clear();
  3091. }
  3092. bool packetl2c_get_arena_match_history_rank_result::MergePartialFromCodedStream(
  3093. ::google::protobuf::io::CodedInputStream* input) {
  3094. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3095. ::google::protobuf::uint32 tag;
  3096. while ((tag = input->ReadTag()) != 0) {
  3097. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3098. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_arena_match_history_rank_result];
  3099. case 1: {
  3100. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3101. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3102. int value;
  3103. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3104. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3105. input, &value)));
  3106. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3107. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3108. } else {
  3109. mutable_unknown_fields()->AddVarint(1, value);
  3110. }
  3111. } else {
  3112. goto handle_uninterpreted;
  3113. }
  3114. if (input->ExpectTag(16)) goto parse_type;
  3115. break;
  3116. }
  3117. // optional int32 type = 2;
  3118. case 2: {
  3119. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3120. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3121. parse_type:
  3122. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3123. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3124. input, &type_)));
  3125. set_has_type();
  3126. } else {
  3127. goto handle_uninterpreted;
  3128. }
  3129. if (input->ExpectTag(26)) goto parse_rankList;
  3130. break;
  3131. }
  3132. // repeated .fish_protocols.matchRankInfo rankList = 3;
  3133. case 3: {
  3134. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3135. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3136. parse_rankList:
  3137. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3138. input, add_ranklist()));
  3139. } else {
  3140. goto handle_uninterpreted;
  3141. }
  3142. if (input->ExpectTag(26)) goto parse_rankList;
  3143. if (input->ExpectTag(34)) goto parse_selfRank;
  3144. break;
  3145. }
  3146. // optional .fish_protocols.matchRankInfo selfRank = 4;
  3147. case 4: {
  3148. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3149. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3150. parse_selfRank:
  3151. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3152. input, mutable_selfrank()));
  3153. } else {
  3154. goto handle_uninterpreted;
  3155. }
  3156. if (input->ExpectAtEnd()) return true;
  3157. break;
  3158. }
  3159. default: {
  3160. handle_uninterpreted:
  3161. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3162. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3163. return true;
  3164. }
  3165. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3166. input, tag, mutable_unknown_fields()));
  3167. break;
  3168. }
  3169. }
  3170. }
  3171. return true;
  3172. #undef DO_
  3173. }
  3174. void packetl2c_get_arena_match_history_rank_result::SerializeWithCachedSizes(
  3175. ::google::protobuf::io::CodedOutputStream* output) const {
  3176. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_arena_match_history_rank_result];
  3177. if (has_packet_id()) {
  3178. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3179. 1, this->packet_id(), output);
  3180. }
  3181. // optional int32 type = 2;
  3182. if (has_type()) {
  3183. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  3184. }
  3185. // repeated .fish_protocols.matchRankInfo rankList = 3;
  3186. for (int i = 0; i < this->ranklist_size(); i++) {
  3187. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3188. 3, this->ranklist(i), output);
  3189. }
  3190. // optional .fish_protocols.matchRankInfo selfRank = 4;
  3191. if (has_selfrank()) {
  3192. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3193. 4, this->selfrank(), output);
  3194. }
  3195. if (!unknown_fields().empty()) {
  3196. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3197. unknown_fields(), output);
  3198. }
  3199. }
  3200. ::google::protobuf::uint8* packetl2c_get_arena_match_history_rank_result::SerializeWithCachedSizesToArray(
  3201. ::google::protobuf::uint8* target) const {
  3202. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_arena_match_history_rank_result];
  3203. if (has_packet_id()) {
  3204. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3205. 1, this->packet_id(), target);
  3206. }
  3207. // optional int32 type = 2;
  3208. if (has_type()) {
  3209. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  3210. }
  3211. // repeated .fish_protocols.matchRankInfo rankList = 3;
  3212. for (int i = 0; i < this->ranklist_size(); i++) {
  3213. target = ::google::protobuf::internal::WireFormatLite::
  3214. WriteMessageNoVirtualToArray(
  3215. 3, this->ranklist(i), target);
  3216. }
  3217. // optional .fish_protocols.matchRankInfo selfRank = 4;
  3218. if (has_selfrank()) {
  3219. target = ::google::protobuf::internal::WireFormatLite::
  3220. WriteMessageNoVirtualToArray(
  3221. 4, this->selfrank(), target);
  3222. }
  3223. if (!unknown_fields().empty()) {
  3224. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3225. unknown_fields(), target);
  3226. }
  3227. return target;
  3228. }
  3229. int packetl2c_get_arena_match_history_rank_result::ByteSize() const {
  3230. int total_size = 0;
  3231. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3232. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_arena_match_history_rank_result];
  3233. if (has_packet_id()) {
  3234. total_size += 1 +
  3235. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3236. }
  3237. // optional int32 type = 2;
  3238. if (has_type()) {
  3239. total_size += 1 +
  3240. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3241. this->type());
  3242. }
  3243. // optional .fish_protocols.matchRankInfo selfRank = 4;
  3244. if (has_selfrank()) {
  3245. total_size += 1 +
  3246. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3247. this->selfrank());
  3248. }
  3249. }
  3250. // repeated .fish_protocols.matchRankInfo rankList = 3;
  3251. total_size += 1 * this->ranklist_size();
  3252. for (int i = 0; i < this->ranklist_size(); i++) {
  3253. total_size +=
  3254. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3255. this->ranklist(i));
  3256. }
  3257. if (!unknown_fields().empty()) {
  3258. total_size +=
  3259. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3260. unknown_fields());
  3261. }
  3262. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3263. _cached_size_ = total_size;
  3264. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3265. return total_size;
  3266. }
  3267. void packetl2c_get_arena_match_history_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  3268. GOOGLE_CHECK_NE(&from, this);
  3269. const packetl2c_get_arena_match_history_rank_result* source =
  3270. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_arena_match_history_rank_result*>(
  3271. &from);
  3272. if (source == NULL) {
  3273. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3274. } else {
  3275. MergeFrom(*source);
  3276. }
  3277. }
  3278. void packetl2c_get_arena_match_history_rank_result::MergeFrom(const packetl2c_get_arena_match_history_rank_result& from) {
  3279. GOOGLE_CHECK_NE(&from, this);
  3280. ranklist_.MergeFrom(from.ranklist_);
  3281. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3282. if (from.has_packet_id()) {
  3283. set_packet_id(from.packet_id());
  3284. }
  3285. if (from.has_type()) {
  3286. set_type(from.type());
  3287. }
  3288. if (from.has_selfrank()) {
  3289. mutable_selfrank()->::fish_protocols::matchRankInfo::MergeFrom(from.selfrank());
  3290. }
  3291. }
  3292. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3293. }
  3294. void packetl2c_get_arena_match_history_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  3295. if (&from == this) return;
  3296. Clear();
  3297. MergeFrom(from);
  3298. }
  3299. void packetl2c_get_arena_match_history_rank_result::CopyFrom(const packetl2c_get_arena_match_history_rank_result& from) {
  3300. if (&from == this) return;
  3301. Clear();
  3302. MergeFrom(from);
  3303. }
  3304. bool packetl2c_get_arena_match_history_rank_result::IsInitialized() const {
  3305. return true;
  3306. }
  3307. void packetl2c_get_arena_match_history_rank_result::Swap(packetl2c_get_arena_match_history_rank_result* other) {
  3308. if (other != this) {
  3309. std::swap(packet_id_, other->packet_id_);
  3310. std::swap(type_, other->type_);
  3311. ranklist_.Swap(&other->ranklist_);
  3312. std::swap(selfrank_, other->selfrank_);
  3313. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3314. _unknown_fields_.Swap(&other->_unknown_fields_);
  3315. std::swap(_cached_size_, other->_cached_size_);
  3316. }
  3317. }
  3318. ::google::protobuf::Metadata packetl2c_get_arena_match_history_rank_result::GetMetadata() const {
  3319. protobuf_AssignDescriptorsOnce();
  3320. ::google::protobuf::Metadata metadata;
  3321. metadata.descriptor = packetl2c_get_arena_match_history_rank_result_descriptor_;
  3322. metadata.reflection = packetl2c_get_arena_match_history_rank_result_reflection_;
  3323. return metadata;
  3324. }
  3325. // ===================================================================
  3326. #ifndef _MSC_VER
  3327. const int packetc2l_join_arena_match::kPacketIdFieldNumber;
  3328. #endif // !_MSC_VER
  3329. packetc2l_join_arena_match::packetc2l_join_arena_match()
  3330. : ::google::protobuf::Message() {
  3331. SharedCtor();
  3332. }
  3333. void packetc2l_join_arena_match::InitAsDefaultInstance() {
  3334. }
  3335. packetc2l_join_arena_match::packetc2l_join_arena_match(const packetc2l_join_arena_match& from)
  3336. : ::google::protobuf::Message() {
  3337. SharedCtor();
  3338. MergeFrom(from);
  3339. }
  3340. void packetc2l_join_arena_match::SharedCtor() {
  3341. _cached_size_ = 0;
  3342. packet_id_ = 10155;
  3343. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3344. }
  3345. packetc2l_join_arena_match::~packetc2l_join_arena_match() {
  3346. SharedDtor();
  3347. }
  3348. void packetc2l_join_arena_match::SharedDtor() {
  3349. if (this != default_instance_) {
  3350. }
  3351. }
  3352. void packetc2l_join_arena_match::SetCachedSize(int size) const {
  3353. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3354. _cached_size_ = size;
  3355. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3356. }
  3357. const ::google::protobuf::Descriptor* packetc2l_join_arena_match::descriptor() {
  3358. protobuf_AssignDescriptorsOnce();
  3359. return packetc2l_join_arena_match_descriptor_;
  3360. }
  3361. const packetc2l_join_arena_match& packetc2l_join_arena_match::default_instance() {
  3362. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  3363. return *default_instance_;
  3364. }
  3365. packetc2l_join_arena_match* packetc2l_join_arena_match::default_instance_ = NULL;
  3366. packetc2l_join_arena_match* packetc2l_join_arena_match::New() const {
  3367. return new packetc2l_join_arena_match;
  3368. }
  3369. void packetc2l_join_arena_match::Clear() {
  3370. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3371. packet_id_ = 10155;
  3372. }
  3373. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3374. mutable_unknown_fields()->Clear();
  3375. }
  3376. bool packetc2l_join_arena_match::MergePartialFromCodedStream(
  3377. ::google::protobuf::io::CodedInputStream* input) {
  3378. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3379. ::google::protobuf::uint32 tag;
  3380. while ((tag = input->ReadTag()) != 0) {
  3381. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3382. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_join_arena_match];
  3383. case 1: {
  3384. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3385. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3386. int value;
  3387. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3388. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3389. input, &value)));
  3390. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3391. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3392. } else {
  3393. mutable_unknown_fields()->AddVarint(1, value);
  3394. }
  3395. } else {
  3396. goto handle_uninterpreted;
  3397. }
  3398. if (input->ExpectAtEnd()) return true;
  3399. break;
  3400. }
  3401. default: {
  3402. handle_uninterpreted:
  3403. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3404. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3405. return true;
  3406. }
  3407. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3408. input, tag, mutable_unknown_fields()));
  3409. break;
  3410. }
  3411. }
  3412. }
  3413. return true;
  3414. #undef DO_
  3415. }
  3416. void packetc2l_join_arena_match::SerializeWithCachedSizes(
  3417. ::google::protobuf::io::CodedOutputStream* output) const {
  3418. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_join_arena_match];
  3419. if (has_packet_id()) {
  3420. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3421. 1, this->packet_id(), output);
  3422. }
  3423. if (!unknown_fields().empty()) {
  3424. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3425. unknown_fields(), output);
  3426. }
  3427. }
  3428. ::google::protobuf::uint8* packetc2l_join_arena_match::SerializeWithCachedSizesToArray(
  3429. ::google::protobuf::uint8* target) const {
  3430. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_join_arena_match];
  3431. if (has_packet_id()) {
  3432. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3433. 1, this->packet_id(), target);
  3434. }
  3435. if (!unknown_fields().empty()) {
  3436. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3437. unknown_fields(), target);
  3438. }
  3439. return target;
  3440. }
  3441. int packetc2l_join_arena_match::ByteSize() const {
  3442. int total_size = 0;
  3443. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3444. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_join_arena_match];
  3445. if (has_packet_id()) {
  3446. total_size += 1 +
  3447. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3448. }
  3449. }
  3450. if (!unknown_fields().empty()) {
  3451. total_size +=
  3452. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3453. unknown_fields());
  3454. }
  3455. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3456. _cached_size_ = total_size;
  3457. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3458. return total_size;
  3459. }
  3460. void packetc2l_join_arena_match::MergeFrom(const ::google::protobuf::Message& from) {
  3461. GOOGLE_CHECK_NE(&from, this);
  3462. const packetc2l_join_arena_match* source =
  3463. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_join_arena_match*>(
  3464. &from);
  3465. if (source == NULL) {
  3466. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3467. } else {
  3468. MergeFrom(*source);
  3469. }
  3470. }
  3471. void packetc2l_join_arena_match::MergeFrom(const packetc2l_join_arena_match& from) {
  3472. GOOGLE_CHECK_NE(&from, this);
  3473. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3474. if (from.has_packet_id()) {
  3475. set_packet_id(from.packet_id());
  3476. }
  3477. }
  3478. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3479. }
  3480. void packetc2l_join_arena_match::CopyFrom(const ::google::protobuf::Message& from) {
  3481. if (&from == this) return;
  3482. Clear();
  3483. MergeFrom(from);
  3484. }
  3485. void packetc2l_join_arena_match::CopyFrom(const packetc2l_join_arena_match& from) {
  3486. if (&from == this) return;
  3487. Clear();
  3488. MergeFrom(from);
  3489. }
  3490. bool packetc2l_join_arena_match::IsInitialized() const {
  3491. return true;
  3492. }
  3493. void packetc2l_join_arena_match::Swap(packetc2l_join_arena_match* other) {
  3494. if (other != this) {
  3495. std::swap(packet_id_, other->packet_id_);
  3496. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3497. _unknown_fields_.Swap(&other->_unknown_fields_);
  3498. std::swap(_cached_size_, other->_cached_size_);
  3499. }
  3500. }
  3501. ::google::protobuf::Metadata packetc2l_join_arena_match::GetMetadata() const {
  3502. protobuf_AssignDescriptorsOnce();
  3503. ::google::protobuf::Metadata metadata;
  3504. metadata.descriptor = packetc2l_join_arena_match_descriptor_;
  3505. metadata.reflection = packetc2l_join_arena_match_reflection_;
  3506. return metadata;
  3507. }
  3508. // ===================================================================
  3509. #ifndef _MSC_VER
  3510. const int packetl2c_join_arena_match_result::kPacketIdFieldNumber;
  3511. const int packetl2c_join_arena_match_result::kResultFieldNumber;
  3512. const int packetl2c_join_arena_match_result::kPlayerIdFieldNumber;
  3513. const int packetl2c_join_arena_match_result::kBulletCountFieldNumber;
  3514. const int packetl2c_join_arena_match_result::kCurScoreFieldNumber;
  3515. const int packetl2c_join_arena_match_result::kJoinCountFieldNumber;
  3516. const int packetl2c_join_arena_match_result::kQuestGroupFieldNumber;
  3517. #endif // !_MSC_VER
  3518. packetl2c_join_arena_match_result::packetl2c_join_arena_match_result()
  3519. : ::google::protobuf::Message() {
  3520. SharedCtor();
  3521. }
  3522. void packetl2c_join_arena_match_result::InitAsDefaultInstance() {
  3523. }
  3524. packetl2c_join_arena_match_result::packetl2c_join_arena_match_result(const packetl2c_join_arena_match_result& from)
  3525. : ::google::protobuf::Message() {
  3526. SharedCtor();
  3527. MergeFrom(from);
  3528. }
  3529. void packetl2c_join_arena_match_result::SharedCtor() {
  3530. _cached_size_ = 0;
  3531. packet_id_ = 16144;
  3532. result_ = 0;
  3533. playerid_ = 0;
  3534. bulletcount_ = 0;
  3535. curscore_ = 0;
  3536. joincount_ = 0;
  3537. questgroup_ = 0;
  3538. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3539. }
  3540. packetl2c_join_arena_match_result::~packetl2c_join_arena_match_result() {
  3541. SharedDtor();
  3542. }
  3543. void packetl2c_join_arena_match_result::SharedDtor() {
  3544. if (this != default_instance_) {
  3545. }
  3546. }
  3547. void packetl2c_join_arena_match_result::SetCachedSize(int size) const {
  3548. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3549. _cached_size_ = size;
  3550. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3551. }
  3552. const ::google::protobuf::Descriptor* packetl2c_join_arena_match_result::descriptor() {
  3553. protobuf_AssignDescriptorsOnce();
  3554. return packetl2c_join_arena_match_result_descriptor_;
  3555. }
  3556. const packetl2c_join_arena_match_result& packetl2c_join_arena_match_result::default_instance() {
  3557. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  3558. return *default_instance_;
  3559. }
  3560. packetl2c_join_arena_match_result* packetl2c_join_arena_match_result::default_instance_ = NULL;
  3561. packetl2c_join_arena_match_result* packetl2c_join_arena_match_result::New() const {
  3562. return new packetl2c_join_arena_match_result;
  3563. }
  3564. void packetl2c_join_arena_match_result::Clear() {
  3565. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3566. packet_id_ = 16144;
  3567. result_ = 0;
  3568. playerid_ = 0;
  3569. bulletcount_ = 0;
  3570. curscore_ = 0;
  3571. joincount_ = 0;
  3572. questgroup_ = 0;
  3573. }
  3574. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3575. mutable_unknown_fields()->Clear();
  3576. }
  3577. bool packetl2c_join_arena_match_result::MergePartialFromCodedStream(
  3578. ::google::protobuf::io::CodedInputStream* input) {
  3579. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3580. ::google::protobuf::uint32 tag;
  3581. while ((tag = input->ReadTag()) != 0) {
  3582. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3583. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_join_arena_match_result];
  3584. case 1: {
  3585. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3586. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3587. int value;
  3588. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3589. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3590. input, &value)));
  3591. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3592. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3593. } else {
  3594. mutable_unknown_fields()->AddVarint(1, value);
  3595. }
  3596. } else {
  3597. goto handle_uninterpreted;
  3598. }
  3599. if (input->ExpectTag(16)) goto parse_result;
  3600. break;
  3601. }
  3602. // optional int32 result = 2;
  3603. case 2: {
  3604. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3605. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3606. parse_result:
  3607. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3608. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3609. input, &result_)));
  3610. set_has_result();
  3611. } else {
  3612. goto handle_uninterpreted;
  3613. }
  3614. if (input->ExpectTag(24)) goto parse_playerId;
  3615. break;
  3616. }
  3617. // optional int32 playerId = 3;
  3618. case 3: {
  3619. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3620. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3621. parse_playerId:
  3622. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3623. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3624. input, &playerid_)));
  3625. set_has_playerid();
  3626. } else {
  3627. goto handle_uninterpreted;
  3628. }
  3629. if (input->ExpectTag(32)) goto parse_bulletCount;
  3630. break;
  3631. }
  3632. // optional int32 bulletCount = 4;
  3633. case 4: {
  3634. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3635. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3636. parse_bulletCount:
  3637. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3638. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3639. input, &bulletcount_)));
  3640. set_has_bulletcount();
  3641. } else {
  3642. goto handle_uninterpreted;
  3643. }
  3644. if (input->ExpectTag(40)) goto parse_curScore;
  3645. break;
  3646. }
  3647. // optional int32 curScore = 5;
  3648. case 5: {
  3649. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3650. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3651. parse_curScore:
  3652. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3653. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3654. input, &curscore_)));
  3655. set_has_curscore();
  3656. } else {
  3657. goto handle_uninterpreted;
  3658. }
  3659. if (input->ExpectTag(48)) goto parse_joinCount;
  3660. break;
  3661. }
  3662. // optional int32 joinCount = 6;
  3663. case 6: {
  3664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3666. parse_joinCount:
  3667. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3668. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3669. input, &joincount_)));
  3670. set_has_joincount();
  3671. } else {
  3672. goto handle_uninterpreted;
  3673. }
  3674. if (input->ExpectTag(56)) goto parse_questGroup;
  3675. break;
  3676. }
  3677. // optional int32 questGroup = 7;
  3678. case 7: {
  3679. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3680. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3681. parse_questGroup:
  3682. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3683. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3684. input, &questgroup_)));
  3685. set_has_questgroup();
  3686. } else {
  3687. goto handle_uninterpreted;
  3688. }
  3689. if (input->ExpectAtEnd()) return true;
  3690. break;
  3691. }
  3692. default: {
  3693. handle_uninterpreted:
  3694. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3695. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3696. return true;
  3697. }
  3698. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3699. input, tag, mutable_unknown_fields()));
  3700. break;
  3701. }
  3702. }
  3703. }
  3704. return true;
  3705. #undef DO_
  3706. }
  3707. void packetl2c_join_arena_match_result::SerializeWithCachedSizes(
  3708. ::google::protobuf::io::CodedOutputStream* output) const {
  3709. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_join_arena_match_result];
  3710. if (has_packet_id()) {
  3711. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3712. 1, this->packet_id(), output);
  3713. }
  3714. // optional int32 result = 2;
  3715. if (has_result()) {
  3716. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  3717. }
  3718. // optional int32 playerId = 3;
  3719. if (has_playerid()) {
  3720. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->playerid(), output);
  3721. }
  3722. // optional int32 bulletCount = 4;
  3723. if (has_bulletcount()) {
  3724. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bulletcount(), output);
  3725. }
  3726. // optional int32 curScore = 5;
  3727. if (has_curscore()) {
  3728. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->curscore(), output);
  3729. }
  3730. // optional int32 joinCount = 6;
  3731. if (has_joincount()) {
  3732. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->joincount(), output);
  3733. }
  3734. // optional int32 questGroup = 7;
  3735. if (has_questgroup()) {
  3736. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->questgroup(), output);
  3737. }
  3738. if (!unknown_fields().empty()) {
  3739. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3740. unknown_fields(), output);
  3741. }
  3742. }
  3743. ::google::protobuf::uint8* packetl2c_join_arena_match_result::SerializeWithCachedSizesToArray(
  3744. ::google::protobuf::uint8* target) const {
  3745. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_join_arena_match_result];
  3746. if (has_packet_id()) {
  3747. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3748. 1, this->packet_id(), target);
  3749. }
  3750. // optional int32 result = 2;
  3751. if (has_result()) {
  3752. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  3753. }
  3754. // optional int32 playerId = 3;
  3755. if (has_playerid()) {
  3756. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->playerid(), target);
  3757. }
  3758. // optional int32 bulletCount = 4;
  3759. if (has_bulletcount()) {
  3760. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bulletcount(), target);
  3761. }
  3762. // optional int32 curScore = 5;
  3763. if (has_curscore()) {
  3764. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->curscore(), target);
  3765. }
  3766. // optional int32 joinCount = 6;
  3767. if (has_joincount()) {
  3768. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->joincount(), target);
  3769. }
  3770. // optional int32 questGroup = 7;
  3771. if (has_questgroup()) {
  3772. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->questgroup(), target);
  3773. }
  3774. if (!unknown_fields().empty()) {
  3775. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3776. unknown_fields(), target);
  3777. }
  3778. return target;
  3779. }
  3780. int packetl2c_join_arena_match_result::ByteSize() const {
  3781. int total_size = 0;
  3782. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3783. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_join_arena_match_result];
  3784. if (has_packet_id()) {
  3785. total_size += 1 +
  3786. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3787. }
  3788. // optional int32 result = 2;
  3789. if (has_result()) {
  3790. total_size += 1 +
  3791. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3792. this->result());
  3793. }
  3794. // optional int32 playerId = 3;
  3795. if (has_playerid()) {
  3796. total_size += 1 +
  3797. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3798. this->playerid());
  3799. }
  3800. // optional int32 bulletCount = 4;
  3801. if (has_bulletcount()) {
  3802. total_size += 1 +
  3803. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3804. this->bulletcount());
  3805. }
  3806. // optional int32 curScore = 5;
  3807. if (has_curscore()) {
  3808. total_size += 1 +
  3809. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3810. this->curscore());
  3811. }
  3812. // optional int32 joinCount = 6;
  3813. if (has_joincount()) {
  3814. total_size += 1 +
  3815. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3816. this->joincount());
  3817. }
  3818. // optional int32 questGroup = 7;
  3819. if (has_questgroup()) {
  3820. total_size += 1 +
  3821. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3822. this->questgroup());
  3823. }
  3824. }
  3825. if (!unknown_fields().empty()) {
  3826. total_size +=
  3827. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3828. unknown_fields());
  3829. }
  3830. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3831. _cached_size_ = total_size;
  3832. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3833. return total_size;
  3834. }
  3835. void packetl2c_join_arena_match_result::MergeFrom(const ::google::protobuf::Message& from) {
  3836. GOOGLE_CHECK_NE(&from, this);
  3837. const packetl2c_join_arena_match_result* source =
  3838. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_join_arena_match_result*>(
  3839. &from);
  3840. if (source == NULL) {
  3841. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3842. } else {
  3843. MergeFrom(*source);
  3844. }
  3845. }
  3846. void packetl2c_join_arena_match_result::MergeFrom(const packetl2c_join_arena_match_result& from) {
  3847. GOOGLE_CHECK_NE(&from, this);
  3848. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3849. if (from.has_packet_id()) {
  3850. set_packet_id(from.packet_id());
  3851. }
  3852. if (from.has_result()) {
  3853. set_result(from.result());
  3854. }
  3855. if (from.has_playerid()) {
  3856. set_playerid(from.playerid());
  3857. }
  3858. if (from.has_bulletcount()) {
  3859. set_bulletcount(from.bulletcount());
  3860. }
  3861. if (from.has_curscore()) {
  3862. set_curscore(from.curscore());
  3863. }
  3864. if (from.has_joincount()) {
  3865. set_joincount(from.joincount());
  3866. }
  3867. if (from.has_questgroup()) {
  3868. set_questgroup(from.questgroup());
  3869. }
  3870. }
  3871. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3872. }
  3873. void packetl2c_join_arena_match_result::CopyFrom(const ::google::protobuf::Message& from) {
  3874. if (&from == this) return;
  3875. Clear();
  3876. MergeFrom(from);
  3877. }
  3878. void packetl2c_join_arena_match_result::CopyFrom(const packetl2c_join_arena_match_result& from) {
  3879. if (&from == this) return;
  3880. Clear();
  3881. MergeFrom(from);
  3882. }
  3883. bool packetl2c_join_arena_match_result::IsInitialized() const {
  3884. return true;
  3885. }
  3886. void packetl2c_join_arena_match_result::Swap(packetl2c_join_arena_match_result* other) {
  3887. if (other != this) {
  3888. std::swap(packet_id_, other->packet_id_);
  3889. std::swap(result_, other->result_);
  3890. std::swap(playerid_, other->playerid_);
  3891. std::swap(bulletcount_, other->bulletcount_);
  3892. std::swap(curscore_, other->curscore_);
  3893. std::swap(joincount_, other->joincount_);
  3894. std::swap(questgroup_, other->questgroup_);
  3895. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3896. _unknown_fields_.Swap(&other->_unknown_fields_);
  3897. std::swap(_cached_size_, other->_cached_size_);
  3898. }
  3899. }
  3900. ::google::protobuf::Metadata packetl2c_join_arena_match_result::GetMetadata() const {
  3901. protobuf_AssignDescriptorsOnce();
  3902. ::google::protobuf::Metadata metadata;
  3903. metadata.descriptor = packetl2c_join_arena_match_result_descriptor_;
  3904. metadata.reflection = packetl2c_join_arena_match_result_reflection_;
  3905. return metadata;
  3906. }
  3907. // ===================================================================
  3908. #ifndef _MSC_VER
  3909. const int packetl2c_notify_arena_match_add_bullet::kPacketIdFieldNumber;
  3910. const int packetl2c_notify_arena_match_add_bullet::kPlayerIdFieldNumber;
  3911. const int packetl2c_notify_arena_match_add_bullet::kAddCountFieldNumber;
  3912. const int packetl2c_notify_arena_match_add_bullet::kCurCountFieldNumber;
  3913. #endif // !_MSC_VER
  3914. packetl2c_notify_arena_match_add_bullet::packetl2c_notify_arena_match_add_bullet()
  3915. : ::google::protobuf::Message() {
  3916. SharedCtor();
  3917. }
  3918. void packetl2c_notify_arena_match_add_bullet::InitAsDefaultInstance() {
  3919. }
  3920. packetl2c_notify_arena_match_add_bullet::packetl2c_notify_arena_match_add_bullet(const packetl2c_notify_arena_match_add_bullet& from)
  3921. : ::google::protobuf::Message() {
  3922. SharedCtor();
  3923. MergeFrom(from);
  3924. }
  3925. void packetl2c_notify_arena_match_add_bullet::SharedCtor() {
  3926. _cached_size_ = 0;
  3927. packet_id_ = 16218;
  3928. playerid_ = 0;
  3929. addcount_ = 0;
  3930. curcount_ = 0;
  3931. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3932. }
  3933. packetl2c_notify_arena_match_add_bullet::~packetl2c_notify_arena_match_add_bullet() {
  3934. SharedDtor();
  3935. }
  3936. void packetl2c_notify_arena_match_add_bullet::SharedDtor() {
  3937. if (this != default_instance_) {
  3938. }
  3939. }
  3940. void packetl2c_notify_arena_match_add_bullet::SetCachedSize(int size) const {
  3941. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3942. _cached_size_ = size;
  3943. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3944. }
  3945. const ::google::protobuf::Descriptor* packetl2c_notify_arena_match_add_bullet::descriptor() {
  3946. protobuf_AssignDescriptorsOnce();
  3947. return packetl2c_notify_arena_match_add_bullet_descriptor_;
  3948. }
  3949. const packetl2c_notify_arena_match_add_bullet& packetl2c_notify_arena_match_add_bullet::default_instance() {
  3950. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  3951. return *default_instance_;
  3952. }
  3953. packetl2c_notify_arena_match_add_bullet* packetl2c_notify_arena_match_add_bullet::default_instance_ = NULL;
  3954. packetl2c_notify_arena_match_add_bullet* packetl2c_notify_arena_match_add_bullet::New() const {
  3955. return new packetl2c_notify_arena_match_add_bullet;
  3956. }
  3957. void packetl2c_notify_arena_match_add_bullet::Clear() {
  3958. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3959. packet_id_ = 16218;
  3960. playerid_ = 0;
  3961. addcount_ = 0;
  3962. curcount_ = 0;
  3963. }
  3964. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3965. mutable_unknown_fields()->Clear();
  3966. }
  3967. bool packetl2c_notify_arena_match_add_bullet::MergePartialFromCodedStream(
  3968. ::google::protobuf::io::CodedInputStream* input) {
  3969. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3970. ::google::protobuf::uint32 tag;
  3971. while ((tag = input->ReadTag()) != 0) {
  3972. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3973. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_arena_match_add_bullet];
  3974. case 1: {
  3975. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3976. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3977. int value;
  3978. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3979. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3980. input, &value)));
  3981. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3982. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3983. } else {
  3984. mutable_unknown_fields()->AddVarint(1, value);
  3985. }
  3986. } else {
  3987. goto handle_uninterpreted;
  3988. }
  3989. if (input->ExpectTag(16)) goto parse_playerId;
  3990. break;
  3991. }
  3992. // optional int32 playerId = 2;
  3993. case 2: {
  3994. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3995. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3996. parse_playerId:
  3997. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3998. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3999. input, &playerid_)));
  4000. set_has_playerid();
  4001. } else {
  4002. goto handle_uninterpreted;
  4003. }
  4004. if (input->ExpectTag(24)) goto parse_addCount;
  4005. break;
  4006. }
  4007. // optional int32 addCount = 3;
  4008. case 3: {
  4009. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4010. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4011. parse_addCount:
  4012. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4013. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4014. input, &addcount_)));
  4015. set_has_addcount();
  4016. } else {
  4017. goto handle_uninterpreted;
  4018. }
  4019. if (input->ExpectTag(32)) goto parse_curCount;
  4020. break;
  4021. }
  4022. // optional int32 curCount = 4;
  4023. case 4: {
  4024. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4025. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4026. parse_curCount:
  4027. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4028. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4029. input, &curcount_)));
  4030. set_has_curcount();
  4031. } else {
  4032. goto handle_uninterpreted;
  4033. }
  4034. if (input->ExpectAtEnd()) return true;
  4035. break;
  4036. }
  4037. default: {
  4038. handle_uninterpreted:
  4039. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4040. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4041. return true;
  4042. }
  4043. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4044. input, tag, mutable_unknown_fields()));
  4045. break;
  4046. }
  4047. }
  4048. }
  4049. return true;
  4050. #undef DO_
  4051. }
  4052. void packetl2c_notify_arena_match_add_bullet::SerializeWithCachedSizes(
  4053. ::google::protobuf::io::CodedOutputStream* output) const {
  4054. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_arena_match_add_bullet];
  4055. if (has_packet_id()) {
  4056. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4057. 1, this->packet_id(), output);
  4058. }
  4059. // optional int32 playerId = 2;
  4060. if (has_playerid()) {
  4061. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  4062. }
  4063. // optional int32 addCount = 3;
  4064. if (has_addcount()) {
  4065. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->addcount(), output);
  4066. }
  4067. // optional int32 curCount = 4;
  4068. if (has_curcount()) {
  4069. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->curcount(), output);
  4070. }
  4071. if (!unknown_fields().empty()) {
  4072. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4073. unknown_fields(), output);
  4074. }
  4075. }
  4076. ::google::protobuf::uint8* packetl2c_notify_arena_match_add_bullet::SerializeWithCachedSizesToArray(
  4077. ::google::protobuf::uint8* target) const {
  4078. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_arena_match_add_bullet];
  4079. if (has_packet_id()) {
  4080. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4081. 1, this->packet_id(), target);
  4082. }
  4083. // optional int32 playerId = 2;
  4084. if (has_playerid()) {
  4085. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  4086. }
  4087. // optional int32 addCount = 3;
  4088. if (has_addcount()) {
  4089. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->addcount(), target);
  4090. }
  4091. // optional int32 curCount = 4;
  4092. if (has_curcount()) {
  4093. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->curcount(), target);
  4094. }
  4095. if (!unknown_fields().empty()) {
  4096. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4097. unknown_fields(), target);
  4098. }
  4099. return target;
  4100. }
  4101. int packetl2c_notify_arena_match_add_bullet::ByteSize() const {
  4102. int total_size = 0;
  4103. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4104. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_arena_match_add_bullet];
  4105. if (has_packet_id()) {
  4106. total_size += 1 +
  4107. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4108. }
  4109. // optional int32 playerId = 2;
  4110. if (has_playerid()) {
  4111. total_size += 1 +
  4112. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4113. this->playerid());
  4114. }
  4115. // optional int32 addCount = 3;
  4116. if (has_addcount()) {
  4117. total_size += 1 +
  4118. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4119. this->addcount());
  4120. }
  4121. // optional int32 curCount = 4;
  4122. if (has_curcount()) {
  4123. total_size += 1 +
  4124. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4125. this->curcount());
  4126. }
  4127. }
  4128. if (!unknown_fields().empty()) {
  4129. total_size +=
  4130. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4131. unknown_fields());
  4132. }
  4133. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4134. _cached_size_ = total_size;
  4135. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4136. return total_size;
  4137. }
  4138. void packetl2c_notify_arena_match_add_bullet::MergeFrom(const ::google::protobuf::Message& from) {
  4139. GOOGLE_CHECK_NE(&from, this);
  4140. const packetl2c_notify_arena_match_add_bullet* source =
  4141. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_notify_arena_match_add_bullet*>(
  4142. &from);
  4143. if (source == NULL) {
  4144. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4145. } else {
  4146. MergeFrom(*source);
  4147. }
  4148. }
  4149. void packetl2c_notify_arena_match_add_bullet::MergeFrom(const packetl2c_notify_arena_match_add_bullet& from) {
  4150. GOOGLE_CHECK_NE(&from, this);
  4151. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4152. if (from.has_packet_id()) {
  4153. set_packet_id(from.packet_id());
  4154. }
  4155. if (from.has_playerid()) {
  4156. set_playerid(from.playerid());
  4157. }
  4158. if (from.has_addcount()) {
  4159. set_addcount(from.addcount());
  4160. }
  4161. if (from.has_curcount()) {
  4162. set_curcount(from.curcount());
  4163. }
  4164. }
  4165. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4166. }
  4167. void packetl2c_notify_arena_match_add_bullet::CopyFrom(const ::google::protobuf::Message& from) {
  4168. if (&from == this) return;
  4169. Clear();
  4170. MergeFrom(from);
  4171. }
  4172. void packetl2c_notify_arena_match_add_bullet::CopyFrom(const packetl2c_notify_arena_match_add_bullet& from) {
  4173. if (&from == this) return;
  4174. Clear();
  4175. MergeFrom(from);
  4176. }
  4177. bool packetl2c_notify_arena_match_add_bullet::IsInitialized() const {
  4178. return true;
  4179. }
  4180. void packetl2c_notify_arena_match_add_bullet::Swap(packetl2c_notify_arena_match_add_bullet* other) {
  4181. if (other != this) {
  4182. std::swap(packet_id_, other->packet_id_);
  4183. std::swap(playerid_, other->playerid_);
  4184. std::swap(addcount_, other->addcount_);
  4185. std::swap(curcount_, other->curcount_);
  4186. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4187. _unknown_fields_.Swap(&other->_unknown_fields_);
  4188. std::swap(_cached_size_, other->_cached_size_);
  4189. }
  4190. }
  4191. ::google::protobuf::Metadata packetl2c_notify_arena_match_add_bullet::GetMetadata() const {
  4192. protobuf_AssignDescriptorsOnce();
  4193. ::google::protobuf::Metadata metadata;
  4194. metadata.descriptor = packetl2c_notify_arena_match_add_bullet_descriptor_;
  4195. metadata.reflection = packetl2c_notify_arena_match_add_bullet_reflection_;
  4196. return metadata;
  4197. }
  4198. // ===================================================================
  4199. #ifndef _MSC_VER
  4200. const int buffInfo::kBuffIdFieldNumber;
  4201. const int buffInfo::kBuffRateFieldNumber;
  4202. #endif // !_MSC_VER
  4203. buffInfo::buffInfo()
  4204. : ::google::protobuf::Message() {
  4205. SharedCtor();
  4206. }
  4207. void buffInfo::InitAsDefaultInstance() {
  4208. }
  4209. buffInfo::buffInfo(const buffInfo& from)
  4210. : ::google::protobuf::Message() {
  4211. SharedCtor();
  4212. MergeFrom(from);
  4213. }
  4214. void buffInfo::SharedCtor() {
  4215. _cached_size_ = 0;
  4216. buffid_ = 0;
  4217. buffrate_ = 0;
  4218. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4219. }
  4220. buffInfo::~buffInfo() {
  4221. SharedDtor();
  4222. }
  4223. void buffInfo::SharedDtor() {
  4224. if (this != default_instance_) {
  4225. }
  4226. }
  4227. void buffInfo::SetCachedSize(int size) const {
  4228. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4229. _cached_size_ = size;
  4230. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4231. }
  4232. const ::google::protobuf::Descriptor* buffInfo::descriptor() {
  4233. protobuf_AssignDescriptorsOnce();
  4234. return buffInfo_descriptor_;
  4235. }
  4236. const buffInfo& buffInfo::default_instance() {
  4237. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  4238. return *default_instance_;
  4239. }
  4240. buffInfo* buffInfo::default_instance_ = NULL;
  4241. buffInfo* buffInfo::New() const {
  4242. return new buffInfo;
  4243. }
  4244. void buffInfo::Clear() {
  4245. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4246. buffid_ = 0;
  4247. buffrate_ = 0;
  4248. }
  4249. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4250. mutable_unknown_fields()->Clear();
  4251. }
  4252. bool buffInfo::MergePartialFromCodedStream(
  4253. ::google::protobuf::io::CodedInputStream* input) {
  4254. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4255. ::google::protobuf::uint32 tag;
  4256. while ((tag = input->ReadTag()) != 0) {
  4257. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4258. // optional int32 buffId = 1;
  4259. case 1: {
  4260. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4261. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4262. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4263. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4264. input, &buffid_)));
  4265. set_has_buffid();
  4266. } else {
  4267. goto handle_uninterpreted;
  4268. }
  4269. if (input->ExpectTag(16)) goto parse_buffRate;
  4270. break;
  4271. }
  4272. // optional int32 buffRate = 2;
  4273. case 2: {
  4274. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4275. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4276. parse_buffRate:
  4277. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4278. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4279. input, &buffrate_)));
  4280. set_has_buffrate();
  4281. } else {
  4282. goto handle_uninterpreted;
  4283. }
  4284. if (input->ExpectAtEnd()) return true;
  4285. break;
  4286. }
  4287. default: {
  4288. handle_uninterpreted:
  4289. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4290. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4291. return true;
  4292. }
  4293. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4294. input, tag, mutable_unknown_fields()));
  4295. break;
  4296. }
  4297. }
  4298. }
  4299. return true;
  4300. #undef DO_
  4301. }
  4302. void buffInfo::SerializeWithCachedSizes(
  4303. ::google::protobuf::io::CodedOutputStream* output) const {
  4304. // optional int32 buffId = 1;
  4305. if (has_buffid()) {
  4306. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->buffid(), output);
  4307. }
  4308. // optional int32 buffRate = 2;
  4309. if (has_buffrate()) {
  4310. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->buffrate(), output);
  4311. }
  4312. if (!unknown_fields().empty()) {
  4313. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4314. unknown_fields(), output);
  4315. }
  4316. }
  4317. ::google::protobuf::uint8* buffInfo::SerializeWithCachedSizesToArray(
  4318. ::google::protobuf::uint8* target) const {
  4319. // optional int32 buffId = 1;
  4320. if (has_buffid()) {
  4321. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->buffid(), target);
  4322. }
  4323. // optional int32 buffRate = 2;
  4324. if (has_buffrate()) {
  4325. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->buffrate(), target);
  4326. }
  4327. if (!unknown_fields().empty()) {
  4328. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4329. unknown_fields(), target);
  4330. }
  4331. return target;
  4332. }
  4333. int buffInfo::ByteSize() const {
  4334. int total_size = 0;
  4335. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4336. // optional int32 buffId = 1;
  4337. if (has_buffid()) {
  4338. total_size += 1 +
  4339. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4340. this->buffid());
  4341. }
  4342. // optional int32 buffRate = 2;
  4343. if (has_buffrate()) {
  4344. total_size += 1 +
  4345. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4346. this->buffrate());
  4347. }
  4348. }
  4349. if (!unknown_fields().empty()) {
  4350. total_size +=
  4351. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4352. unknown_fields());
  4353. }
  4354. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4355. _cached_size_ = total_size;
  4356. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4357. return total_size;
  4358. }
  4359. void buffInfo::MergeFrom(const ::google::protobuf::Message& from) {
  4360. GOOGLE_CHECK_NE(&from, this);
  4361. const buffInfo* source =
  4362. ::google::protobuf::internal::dynamic_cast_if_available<const buffInfo*>(
  4363. &from);
  4364. if (source == NULL) {
  4365. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4366. } else {
  4367. MergeFrom(*source);
  4368. }
  4369. }
  4370. void buffInfo::MergeFrom(const buffInfo& from) {
  4371. GOOGLE_CHECK_NE(&from, this);
  4372. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4373. if (from.has_buffid()) {
  4374. set_buffid(from.buffid());
  4375. }
  4376. if (from.has_buffrate()) {
  4377. set_buffrate(from.buffrate());
  4378. }
  4379. }
  4380. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4381. }
  4382. void buffInfo::CopyFrom(const ::google::protobuf::Message& from) {
  4383. if (&from == this) return;
  4384. Clear();
  4385. MergeFrom(from);
  4386. }
  4387. void buffInfo::CopyFrom(const buffInfo& from) {
  4388. if (&from == this) return;
  4389. Clear();
  4390. MergeFrom(from);
  4391. }
  4392. bool buffInfo::IsInitialized() const {
  4393. return true;
  4394. }
  4395. void buffInfo::Swap(buffInfo* other) {
  4396. if (other != this) {
  4397. std::swap(buffid_, other->buffid_);
  4398. std::swap(buffrate_, other->buffrate_);
  4399. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4400. _unknown_fields_.Swap(&other->_unknown_fields_);
  4401. std::swap(_cached_size_, other->_cached_size_);
  4402. }
  4403. }
  4404. ::google::protobuf::Metadata buffInfo::GetMetadata() const {
  4405. protobuf_AssignDescriptorsOnce();
  4406. ::google::protobuf::Metadata metadata;
  4407. metadata.descriptor = buffInfo_descriptor_;
  4408. metadata.reflection = buffInfo_reflection_;
  4409. return metadata;
  4410. }
  4411. // ===================================================================
  4412. #ifndef _MSC_VER
  4413. const int packetl2c_arena_match_end_notify::kPacketIdFieldNumber;
  4414. const int packetl2c_arena_match_end_notify::kReasonFieldNumber;
  4415. const int packetl2c_arena_match_end_notify::kBuffListFieldNumber;
  4416. const int packetl2c_arena_match_end_notify::kRankFieldNumber;
  4417. const int packetl2c_arena_match_end_notify::kCurBaseScoreFieldNumber;
  4418. const int packetl2c_arena_match_end_notify::kCurAddScoreFieldNumber;
  4419. const int packetl2c_arena_match_end_notify::kTopScoreFieldNumber;
  4420. #endif // !_MSC_VER
  4421. packetl2c_arena_match_end_notify::packetl2c_arena_match_end_notify()
  4422. : ::google::protobuf::Message() {
  4423. SharedCtor();
  4424. }
  4425. void packetl2c_arena_match_end_notify::InitAsDefaultInstance() {
  4426. }
  4427. packetl2c_arena_match_end_notify::packetl2c_arena_match_end_notify(const packetl2c_arena_match_end_notify& from)
  4428. : ::google::protobuf::Message() {
  4429. SharedCtor();
  4430. MergeFrom(from);
  4431. }
  4432. void packetl2c_arena_match_end_notify::SharedCtor() {
  4433. _cached_size_ = 0;
  4434. packet_id_ = 16127;
  4435. reason_ = 0;
  4436. rank_ = 0;
  4437. curbasescore_ = 0;
  4438. curaddscore_ = 0;
  4439. topscore_ = 0;
  4440. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4441. }
  4442. packetl2c_arena_match_end_notify::~packetl2c_arena_match_end_notify() {
  4443. SharedDtor();
  4444. }
  4445. void packetl2c_arena_match_end_notify::SharedDtor() {
  4446. if (this != default_instance_) {
  4447. }
  4448. }
  4449. void packetl2c_arena_match_end_notify::SetCachedSize(int size) const {
  4450. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4451. _cached_size_ = size;
  4452. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4453. }
  4454. const ::google::protobuf::Descriptor* packetl2c_arena_match_end_notify::descriptor() {
  4455. protobuf_AssignDescriptorsOnce();
  4456. return packetl2c_arena_match_end_notify_descriptor_;
  4457. }
  4458. const packetl2c_arena_match_end_notify& packetl2c_arena_match_end_notify::default_instance() {
  4459. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  4460. return *default_instance_;
  4461. }
  4462. packetl2c_arena_match_end_notify* packetl2c_arena_match_end_notify::default_instance_ = NULL;
  4463. packetl2c_arena_match_end_notify* packetl2c_arena_match_end_notify::New() const {
  4464. return new packetl2c_arena_match_end_notify;
  4465. }
  4466. void packetl2c_arena_match_end_notify::Clear() {
  4467. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4468. packet_id_ = 16127;
  4469. reason_ = 0;
  4470. rank_ = 0;
  4471. curbasescore_ = 0;
  4472. curaddscore_ = 0;
  4473. topscore_ = 0;
  4474. }
  4475. bufflist_.Clear();
  4476. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4477. mutable_unknown_fields()->Clear();
  4478. }
  4479. bool packetl2c_arena_match_end_notify::MergePartialFromCodedStream(
  4480. ::google::protobuf::io::CodedInputStream* input) {
  4481. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4482. ::google::protobuf::uint32 tag;
  4483. while ((tag = input->ReadTag()) != 0) {
  4484. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4485. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_arena_match_end_notify];
  4486. case 1: {
  4487. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4488. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4489. int value;
  4490. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4491. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4492. input, &value)));
  4493. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  4494. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  4495. } else {
  4496. mutable_unknown_fields()->AddVarint(1, value);
  4497. }
  4498. } else {
  4499. goto handle_uninterpreted;
  4500. }
  4501. if (input->ExpectTag(16)) goto parse_reason;
  4502. break;
  4503. }
  4504. // optional int32 reason = 2;
  4505. case 2: {
  4506. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4507. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4508. parse_reason:
  4509. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4510. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4511. input, &reason_)));
  4512. set_has_reason();
  4513. } else {
  4514. goto handle_uninterpreted;
  4515. }
  4516. if (input->ExpectTag(26)) goto parse_buffList;
  4517. break;
  4518. }
  4519. // repeated .fish_protocols.buffInfo buffList = 3;
  4520. case 3: {
  4521. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4522. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4523. parse_buffList:
  4524. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  4525. input, add_bufflist()));
  4526. } else {
  4527. goto handle_uninterpreted;
  4528. }
  4529. if (input->ExpectTag(26)) goto parse_buffList;
  4530. if (input->ExpectTag(32)) goto parse_rank;
  4531. break;
  4532. }
  4533. // optional int32 rank = 4;
  4534. case 4: {
  4535. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4536. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4537. parse_rank:
  4538. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4539. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4540. input, &rank_)));
  4541. set_has_rank();
  4542. } else {
  4543. goto handle_uninterpreted;
  4544. }
  4545. if (input->ExpectTag(40)) goto parse_curBaseScore;
  4546. break;
  4547. }
  4548. // optional int32 curBaseScore = 5;
  4549. case 5: {
  4550. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4551. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4552. parse_curBaseScore:
  4553. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4554. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4555. input, &curbasescore_)));
  4556. set_has_curbasescore();
  4557. } else {
  4558. goto handle_uninterpreted;
  4559. }
  4560. if (input->ExpectTag(48)) goto parse_curAddScore;
  4561. break;
  4562. }
  4563. // optional int32 curAddScore = 6;
  4564. case 6: {
  4565. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4566. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4567. parse_curAddScore:
  4568. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4569. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4570. input, &curaddscore_)));
  4571. set_has_curaddscore();
  4572. } else {
  4573. goto handle_uninterpreted;
  4574. }
  4575. if (input->ExpectTag(56)) goto parse_topScore;
  4576. break;
  4577. }
  4578. // optional int32 topScore = 7;
  4579. case 7: {
  4580. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4581. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4582. parse_topScore:
  4583. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4584. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4585. input, &topscore_)));
  4586. set_has_topscore();
  4587. } else {
  4588. goto handle_uninterpreted;
  4589. }
  4590. if (input->ExpectAtEnd()) return true;
  4591. break;
  4592. }
  4593. default: {
  4594. handle_uninterpreted:
  4595. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4596. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4597. return true;
  4598. }
  4599. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4600. input, tag, mutable_unknown_fields()));
  4601. break;
  4602. }
  4603. }
  4604. }
  4605. return true;
  4606. #undef DO_
  4607. }
  4608. void packetl2c_arena_match_end_notify::SerializeWithCachedSizes(
  4609. ::google::protobuf::io::CodedOutputStream* output) const {
  4610. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_arena_match_end_notify];
  4611. if (has_packet_id()) {
  4612. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4613. 1, this->packet_id(), output);
  4614. }
  4615. // optional int32 reason = 2;
  4616. if (has_reason()) {
  4617. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->reason(), output);
  4618. }
  4619. // repeated .fish_protocols.buffInfo buffList = 3;
  4620. for (int i = 0; i < this->bufflist_size(); i++) {
  4621. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  4622. 3, this->bufflist(i), output);
  4623. }
  4624. // optional int32 rank = 4;
  4625. if (has_rank()) {
  4626. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->rank(), output);
  4627. }
  4628. // optional int32 curBaseScore = 5;
  4629. if (has_curbasescore()) {
  4630. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->curbasescore(), output);
  4631. }
  4632. // optional int32 curAddScore = 6;
  4633. if (has_curaddscore()) {
  4634. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->curaddscore(), output);
  4635. }
  4636. // optional int32 topScore = 7;
  4637. if (has_topscore()) {
  4638. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->topscore(), output);
  4639. }
  4640. if (!unknown_fields().empty()) {
  4641. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4642. unknown_fields(), output);
  4643. }
  4644. }
  4645. ::google::protobuf::uint8* packetl2c_arena_match_end_notify::SerializeWithCachedSizesToArray(
  4646. ::google::protobuf::uint8* target) const {
  4647. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_arena_match_end_notify];
  4648. if (has_packet_id()) {
  4649. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4650. 1, this->packet_id(), target);
  4651. }
  4652. // optional int32 reason = 2;
  4653. if (has_reason()) {
  4654. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->reason(), target);
  4655. }
  4656. // repeated .fish_protocols.buffInfo buffList = 3;
  4657. for (int i = 0; i < this->bufflist_size(); i++) {
  4658. target = ::google::protobuf::internal::WireFormatLite::
  4659. WriteMessageNoVirtualToArray(
  4660. 3, this->bufflist(i), target);
  4661. }
  4662. // optional int32 rank = 4;
  4663. if (has_rank()) {
  4664. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->rank(), target);
  4665. }
  4666. // optional int32 curBaseScore = 5;
  4667. if (has_curbasescore()) {
  4668. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->curbasescore(), target);
  4669. }
  4670. // optional int32 curAddScore = 6;
  4671. if (has_curaddscore()) {
  4672. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->curaddscore(), target);
  4673. }
  4674. // optional int32 topScore = 7;
  4675. if (has_topscore()) {
  4676. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->topscore(), target);
  4677. }
  4678. if (!unknown_fields().empty()) {
  4679. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4680. unknown_fields(), target);
  4681. }
  4682. return target;
  4683. }
  4684. int packetl2c_arena_match_end_notify::ByteSize() const {
  4685. int total_size = 0;
  4686. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4687. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_arena_match_end_notify];
  4688. if (has_packet_id()) {
  4689. total_size += 1 +
  4690. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4691. }
  4692. // optional int32 reason = 2;
  4693. if (has_reason()) {
  4694. total_size += 1 +
  4695. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4696. this->reason());
  4697. }
  4698. // optional int32 rank = 4;
  4699. if (has_rank()) {
  4700. total_size += 1 +
  4701. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4702. this->rank());
  4703. }
  4704. // optional int32 curBaseScore = 5;
  4705. if (has_curbasescore()) {
  4706. total_size += 1 +
  4707. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4708. this->curbasescore());
  4709. }
  4710. // optional int32 curAddScore = 6;
  4711. if (has_curaddscore()) {
  4712. total_size += 1 +
  4713. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4714. this->curaddscore());
  4715. }
  4716. // optional int32 topScore = 7;
  4717. if (has_topscore()) {
  4718. total_size += 1 +
  4719. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4720. this->topscore());
  4721. }
  4722. }
  4723. // repeated .fish_protocols.buffInfo buffList = 3;
  4724. total_size += 1 * this->bufflist_size();
  4725. for (int i = 0; i < this->bufflist_size(); i++) {
  4726. total_size +=
  4727. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  4728. this->bufflist(i));
  4729. }
  4730. if (!unknown_fields().empty()) {
  4731. total_size +=
  4732. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4733. unknown_fields());
  4734. }
  4735. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4736. _cached_size_ = total_size;
  4737. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4738. return total_size;
  4739. }
  4740. void packetl2c_arena_match_end_notify::MergeFrom(const ::google::protobuf::Message& from) {
  4741. GOOGLE_CHECK_NE(&from, this);
  4742. const packetl2c_arena_match_end_notify* source =
  4743. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_arena_match_end_notify*>(
  4744. &from);
  4745. if (source == NULL) {
  4746. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4747. } else {
  4748. MergeFrom(*source);
  4749. }
  4750. }
  4751. void packetl2c_arena_match_end_notify::MergeFrom(const packetl2c_arena_match_end_notify& from) {
  4752. GOOGLE_CHECK_NE(&from, this);
  4753. bufflist_.MergeFrom(from.bufflist_);
  4754. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4755. if (from.has_packet_id()) {
  4756. set_packet_id(from.packet_id());
  4757. }
  4758. if (from.has_reason()) {
  4759. set_reason(from.reason());
  4760. }
  4761. if (from.has_rank()) {
  4762. set_rank(from.rank());
  4763. }
  4764. if (from.has_curbasescore()) {
  4765. set_curbasescore(from.curbasescore());
  4766. }
  4767. if (from.has_curaddscore()) {
  4768. set_curaddscore(from.curaddscore());
  4769. }
  4770. if (from.has_topscore()) {
  4771. set_topscore(from.topscore());
  4772. }
  4773. }
  4774. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4775. }
  4776. void packetl2c_arena_match_end_notify::CopyFrom(const ::google::protobuf::Message& from) {
  4777. if (&from == this) return;
  4778. Clear();
  4779. MergeFrom(from);
  4780. }
  4781. void packetl2c_arena_match_end_notify::CopyFrom(const packetl2c_arena_match_end_notify& from) {
  4782. if (&from == this) return;
  4783. Clear();
  4784. MergeFrom(from);
  4785. }
  4786. bool packetl2c_arena_match_end_notify::IsInitialized() const {
  4787. return true;
  4788. }
  4789. void packetl2c_arena_match_end_notify::Swap(packetl2c_arena_match_end_notify* other) {
  4790. if (other != this) {
  4791. std::swap(packet_id_, other->packet_id_);
  4792. std::swap(reason_, other->reason_);
  4793. bufflist_.Swap(&other->bufflist_);
  4794. std::swap(rank_, other->rank_);
  4795. std::swap(curbasescore_, other->curbasescore_);
  4796. std::swap(curaddscore_, other->curaddscore_);
  4797. std::swap(topscore_, other->topscore_);
  4798. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4799. _unknown_fields_.Swap(&other->_unknown_fields_);
  4800. std::swap(_cached_size_, other->_cached_size_);
  4801. }
  4802. }
  4803. ::google::protobuf::Metadata packetl2c_arena_match_end_notify::GetMetadata() const {
  4804. protobuf_AssignDescriptorsOnce();
  4805. ::google::protobuf::Metadata metadata;
  4806. metadata.descriptor = packetl2c_arena_match_end_notify_descriptor_;
  4807. metadata.reflection = packetl2c_arena_match_end_notify_reflection_;
  4808. return metadata;
  4809. }
  4810. // ===================================================================
  4811. #ifndef _MSC_VER
  4812. const int packetc2l_get_freedom_match_info::kPacketIdFieldNumber;
  4813. const int packetc2l_get_freedom_match_info::kRoomIdFieldNumber;
  4814. #endif // !_MSC_VER
  4815. packetc2l_get_freedom_match_info::packetc2l_get_freedom_match_info()
  4816. : ::google::protobuf::Message() {
  4817. SharedCtor();
  4818. }
  4819. void packetc2l_get_freedom_match_info::InitAsDefaultInstance() {
  4820. }
  4821. packetc2l_get_freedom_match_info::packetc2l_get_freedom_match_info(const packetc2l_get_freedom_match_info& from)
  4822. : ::google::protobuf::Message() {
  4823. SharedCtor();
  4824. MergeFrom(from);
  4825. }
  4826. void packetc2l_get_freedom_match_info::SharedCtor() {
  4827. _cached_size_ = 0;
  4828. packet_id_ = 10156;
  4829. roomid_ = 0;
  4830. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4831. }
  4832. packetc2l_get_freedom_match_info::~packetc2l_get_freedom_match_info() {
  4833. SharedDtor();
  4834. }
  4835. void packetc2l_get_freedom_match_info::SharedDtor() {
  4836. if (this != default_instance_) {
  4837. }
  4838. }
  4839. void packetc2l_get_freedom_match_info::SetCachedSize(int size) const {
  4840. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4841. _cached_size_ = size;
  4842. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4843. }
  4844. const ::google::protobuf::Descriptor* packetc2l_get_freedom_match_info::descriptor() {
  4845. protobuf_AssignDescriptorsOnce();
  4846. return packetc2l_get_freedom_match_info_descriptor_;
  4847. }
  4848. const packetc2l_get_freedom_match_info& packetc2l_get_freedom_match_info::default_instance() {
  4849. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  4850. return *default_instance_;
  4851. }
  4852. packetc2l_get_freedom_match_info* packetc2l_get_freedom_match_info::default_instance_ = NULL;
  4853. packetc2l_get_freedom_match_info* packetc2l_get_freedom_match_info::New() const {
  4854. return new packetc2l_get_freedom_match_info;
  4855. }
  4856. void packetc2l_get_freedom_match_info::Clear() {
  4857. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4858. packet_id_ = 10156;
  4859. roomid_ = 0;
  4860. }
  4861. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4862. mutable_unknown_fields()->Clear();
  4863. }
  4864. bool packetc2l_get_freedom_match_info::MergePartialFromCodedStream(
  4865. ::google::protobuf::io::CodedInputStream* input) {
  4866. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4867. ::google::protobuf::uint32 tag;
  4868. while ((tag = input->ReadTag()) != 0) {
  4869. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4870. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_freedom_match_info];
  4871. case 1: {
  4872. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4873. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4874. int value;
  4875. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4876. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4877. input, &value)));
  4878. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  4879. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  4880. } else {
  4881. mutable_unknown_fields()->AddVarint(1, value);
  4882. }
  4883. } else {
  4884. goto handle_uninterpreted;
  4885. }
  4886. if (input->ExpectTag(16)) goto parse_roomId;
  4887. break;
  4888. }
  4889. // optional int32 roomId = 2;
  4890. case 2: {
  4891. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4892. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4893. parse_roomId:
  4894. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4895. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4896. input, &roomid_)));
  4897. set_has_roomid();
  4898. } else {
  4899. goto handle_uninterpreted;
  4900. }
  4901. if (input->ExpectAtEnd()) return true;
  4902. break;
  4903. }
  4904. default: {
  4905. handle_uninterpreted:
  4906. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4907. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4908. return true;
  4909. }
  4910. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4911. input, tag, mutable_unknown_fields()));
  4912. break;
  4913. }
  4914. }
  4915. }
  4916. return true;
  4917. #undef DO_
  4918. }
  4919. void packetc2l_get_freedom_match_info::SerializeWithCachedSizes(
  4920. ::google::protobuf::io::CodedOutputStream* output) const {
  4921. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_freedom_match_info];
  4922. if (has_packet_id()) {
  4923. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4924. 1, this->packet_id(), output);
  4925. }
  4926. // optional int32 roomId = 2;
  4927. if (has_roomid()) {
  4928. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
  4929. }
  4930. if (!unknown_fields().empty()) {
  4931. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4932. unknown_fields(), output);
  4933. }
  4934. }
  4935. ::google::protobuf::uint8* packetc2l_get_freedom_match_info::SerializeWithCachedSizesToArray(
  4936. ::google::protobuf::uint8* target) const {
  4937. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_freedom_match_info];
  4938. if (has_packet_id()) {
  4939. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4940. 1, this->packet_id(), target);
  4941. }
  4942. // optional int32 roomId = 2;
  4943. if (has_roomid()) {
  4944. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
  4945. }
  4946. if (!unknown_fields().empty()) {
  4947. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4948. unknown_fields(), target);
  4949. }
  4950. return target;
  4951. }
  4952. int packetc2l_get_freedom_match_info::ByteSize() const {
  4953. int total_size = 0;
  4954. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4955. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_freedom_match_info];
  4956. if (has_packet_id()) {
  4957. total_size += 1 +
  4958. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4959. }
  4960. // optional int32 roomId = 2;
  4961. if (has_roomid()) {
  4962. total_size += 1 +
  4963. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4964. this->roomid());
  4965. }
  4966. }
  4967. if (!unknown_fields().empty()) {
  4968. total_size +=
  4969. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4970. unknown_fields());
  4971. }
  4972. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4973. _cached_size_ = total_size;
  4974. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4975. return total_size;
  4976. }
  4977. void packetc2l_get_freedom_match_info::MergeFrom(const ::google::protobuf::Message& from) {
  4978. GOOGLE_CHECK_NE(&from, this);
  4979. const packetc2l_get_freedom_match_info* source =
  4980. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_freedom_match_info*>(
  4981. &from);
  4982. if (source == NULL) {
  4983. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4984. } else {
  4985. MergeFrom(*source);
  4986. }
  4987. }
  4988. void packetc2l_get_freedom_match_info::MergeFrom(const packetc2l_get_freedom_match_info& from) {
  4989. GOOGLE_CHECK_NE(&from, this);
  4990. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4991. if (from.has_packet_id()) {
  4992. set_packet_id(from.packet_id());
  4993. }
  4994. if (from.has_roomid()) {
  4995. set_roomid(from.roomid());
  4996. }
  4997. }
  4998. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4999. }
  5000. void packetc2l_get_freedom_match_info::CopyFrom(const ::google::protobuf::Message& from) {
  5001. if (&from == this) return;
  5002. Clear();
  5003. MergeFrom(from);
  5004. }
  5005. void packetc2l_get_freedom_match_info::CopyFrom(const packetc2l_get_freedom_match_info& from) {
  5006. if (&from == this) return;
  5007. Clear();
  5008. MergeFrom(from);
  5009. }
  5010. bool packetc2l_get_freedom_match_info::IsInitialized() const {
  5011. return true;
  5012. }
  5013. void packetc2l_get_freedom_match_info::Swap(packetc2l_get_freedom_match_info* other) {
  5014. if (other != this) {
  5015. std::swap(packet_id_, other->packet_id_);
  5016. std::swap(roomid_, other->roomid_);
  5017. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5018. _unknown_fields_.Swap(&other->_unknown_fields_);
  5019. std::swap(_cached_size_, other->_cached_size_);
  5020. }
  5021. }
  5022. ::google::protobuf::Metadata packetc2l_get_freedom_match_info::GetMetadata() const {
  5023. protobuf_AssignDescriptorsOnce();
  5024. ::google::protobuf::Metadata metadata;
  5025. metadata.descriptor = packetc2l_get_freedom_match_info_descriptor_;
  5026. metadata.reflection = packetc2l_get_freedom_match_info_reflection_;
  5027. return metadata;
  5028. }
  5029. // ===================================================================
  5030. #ifndef _MSC_VER
  5031. const int packetl2c_get_freedom_match_info_result::kPacketIdFieldNumber;
  5032. const int packetl2c_get_freedom_match_info_result::kRoomIdFieldNumber;
  5033. const int packetl2c_get_freedom_match_info_result::kDailyRankListFieldNumber;
  5034. const int packetl2c_get_freedom_match_info_result::kBulletCountFieldNumber;
  5035. const int packetl2c_get_freedom_match_info_result::kCurScoreFieldNumber;
  5036. const int packetl2c_get_freedom_match_info_result::kJoinCountFieldNumber;
  5037. const int packetl2c_get_freedom_match_info_result::kLeftSecondFieldNumber;
  5038. const int packetl2c_get_freedom_match_info_result::kSelfDayRankFieldNumber;
  5039. const int packetl2c_get_freedom_match_info_result::kStartTimeFieldNumber;
  5040. const int packetl2c_get_freedom_match_info_result::kEndTimeFieldNumber;
  5041. #endif // !_MSC_VER
  5042. packetl2c_get_freedom_match_info_result::packetl2c_get_freedom_match_info_result()
  5043. : ::google::protobuf::Message() {
  5044. SharedCtor();
  5045. }
  5046. void packetl2c_get_freedom_match_info_result::InitAsDefaultInstance() {
  5047. selfdayrank_ = const_cast< ::fish_protocols::matchRankInfo*>(&::fish_protocols::matchRankInfo::default_instance());
  5048. }
  5049. packetl2c_get_freedom_match_info_result::packetl2c_get_freedom_match_info_result(const packetl2c_get_freedom_match_info_result& from)
  5050. : ::google::protobuf::Message() {
  5051. SharedCtor();
  5052. MergeFrom(from);
  5053. }
  5054. void packetl2c_get_freedom_match_info_result::SharedCtor() {
  5055. _cached_size_ = 0;
  5056. packet_id_ = 16145;
  5057. roomid_ = 0;
  5058. bulletcount_ = 0;
  5059. curscore_ = 0;
  5060. joincount_ = 0;
  5061. leftsecond_ = 0;
  5062. selfdayrank_ = NULL;
  5063. starttime_ = 0;
  5064. endtime_ = 0;
  5065. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5066. }
  5067. packetl2c_get_freedom_match_info_result::~packetl2c_get_freedom_match_info_result() {
  5068. SharedDtor();
  5069. }
  5070. void packetl2c_get_freedom_match_info_result::SharedDtor() {
  5071. if (this != default_instance_) {
  5072. delete selfdayrank_;
  5073. }
  5074. }
  5075. void packetl2c_get_freedom_match_info_result::SetCachedSize(int size) const {
  5076. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5077. _cached_size_ = size;
  5078. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5079. }
  5080. const ::google::protobuf::Descriptor* packetl2c_get_freedom_match_info_result::descriptor() {
  5081. protobuf_AssignDescriptorsOnce();
  5082. return packetl2c_get_freedom_match_info_result_descriptor_;
  5083. }
  5084. const packetl2c_get_freedom_match_info_result& packetl2c_get_freedom_match_info_result::default_instance() {
  5085. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  5086. return *default_instance_;
  5087. }
  5088. packetl2c_get_freedom_match_info_result* packetl2c_get_freedom_match_info_result::default_instance_ = NULL;
  5089. packetl2c_get_freedom_match_info_result* packetl2c_get_freedom_match_info_result::New() const {
  5090. return new packetl2c_get_freedom_match_info_result;
  5091. }
  5092. void packetl2c_get_freedom_match_info_result::Clear() {
  5093. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5094. packet_id_ = 16145;
  5095. roomid_ = 0;
  5096. bulletcount_ = 0;
  5097. curscore_ = 0;
  5098. joincount_ = 0;
  5099. leftsecond_ = 0;
  5100. if (has_selfdayrank()) {
  5101. if (selfdayrank_ != NULL) selfdayrank_->::fish_protocols::matchRankInfo::Clear();
  5102. }
  5103. }
  5104. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  5105. starttime_ = 0;
  5106. endtime_ = 0;
  5107. }
  5108. dailyranklist_.Clear();
  5109. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5110. mutable_unknown_fields()->Clear();
  5111. }
  5112. bool packetl2c_get_freedom_match_info_result::MergePartialFromCodedStream(
  5113. ::google::protobuf::io::CodedInputStream* input) {
  5114. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5115. ::google::protobuf::uint32 tag;
  5116. while ((tag = input->ReadTag()) != 0) {
  5117. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5118. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_freedom_match_info_result];
  5119. case 1: {
  5120. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5121. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5122. int value;
  5123. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5124. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5125. input, &value)));
  5126. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  5127. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  5128. } else {
  5129. mutable_unknown_fields()->AddVarint(1, value);
  5130. }
  5131. } else {
  5132. goto handle_uninterpreted;
  5133. }
  5134. if (input->ExpectTag(16)) goto parse_roomId;
  5135. break;
  5136. }
  5137. // optional int32 roomId = 2;
  5138. case 2: {
  5139. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5140. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5141. parse_roomId:
  5142. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5143. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5144. input, &roomid_)));
  5145. set_has_roomid();
  5146. } else {
  5147. goto handle_uninterpreted;
  5148. }
  5149. if (input->ExpectTag(26)) goto parse_dailyRankList;
  5150. break;
  5151. }
  5152. // repeated .fish_protocols.matchRankInfo dailyRankList = 3;
  5153. case 3: {
  5154. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5155. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5156. parse_dailyRankList:
  5157. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  5158. input, add_dailyranklist()));
  5159. } else {
  5160. goto handle_uninterpreted;
  5161. }
  5162. if (input->ExpectTag(26)) goto parse_dailyRankList;
  5163. if (input->ExpectTag(32)) goto parse_bulletCount;
  5164. break;
  5165. }
  5166. // optional int32 bulletCount = 4;
  5167. case 4: {
  5168. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5169. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5170. parse_bulletCount:
  5171. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5172. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5173. input, &bulletcount_)));
  5174. set_has_bulletcount();
  5175. } else {
  5176. goto handle_uninterpreted;
  5177. }
  5178. if (input->ExpectTag(40)) goto parse_curScore;
  5179. break;
  5180. }
  5181. // optional int32 curScore = 5;
  5182. case 5: {
  5183. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5184. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5185. parse_curScore:
  5186. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5187. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5188. input, &curscore_)));
  5189. set_has_curscore();
  5190. } else {
  5191. goto handle_uninterpreted;
  5192. }
  5193. if (input->ExpectTag(48)) goto parse_joinCount;
  5194. break;
  5195. }
  5196. // optional int32 joinCount = 6;
  5197. case 6: {
  5198. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5199. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5200. parse_joinCount:
  5201. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5202. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5203. input, &joincount_)));
  5204. set_has_joincount();
  5205. } else {
  5206. goto handle_uninterpreted;
  5207. }
  5208. if (input->ExpectTag(56)) goto parse_leftSecond;
  5209. break;
  5210. }
  5211. // optional int32 leftSecond = 7;
  5212. case 7: {
  5213. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5214. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5215. parse_leftSecond:
  5216. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5217. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5218. input, &leftsecond_)));
  5219. set_has_leftsecond();
  5220. } else {
  5221. goto handle_uninterpreted;
  5222. }
  5223. if (input->ExpectTag(66)) goto parse_selfDayRank;
  5224. break;
  5225. }
  5226. // optional .fish_protocols.matchRankInfo selfDayRank = 8;
  5227. case 8: {
  5228. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5229. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5230. parse_selfDayRank:
  5231. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  5232. input, mutable_selfdayrank()));
  5233. } else {
  5234. goto handle_uninterpreted;
  5235. }
  5236. if (input->ExpectTag(72)) goto parse_startTime;
  5237. break;
  5238. }
  5239. // optional int32 startTime = 9;
  5240. case 9: {
  5241. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5242. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5243. parse_startTime:
  5244. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5245. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5246. input, &starttime_)));
  5247. set_has_starttime();
  5248. } else {
  5249. goto handle_uninterpreted;
  5250. }
  5251. if (input->ExpectTag(80)) goto parse_endTime;
  5252. break;
  5253. }
  5254. // optional int32 endTime = 10;
  5255. case 10: {
  5256. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5257. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5258. parse_endTime:
  5259. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5260. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5261. input, &endtime_)));
  5262. set_has_endtime();
  5263. } else {
  5264. goto handle_uninterpreted;
  5265. }
  5266. if (input->ExpectAtEnd()) return true;
  5267. break;
  5268. }
  5269. default: {
  5270. handle_uninterpreted:
  5271. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5272. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5273. return true;
  5274. }
  5275. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5276. input, tag, mutable_unknown_fields()));
  5277. break;
  5278. }
  5279. }
  5280. }
  5281. return true;
  5282. #undef DO_
  5283. }
  5284. void packetl2c_get_freedom_match_info_result::SerializeWithCachedSizes(
  5285. ::google::protobuf::io::CodedOutputStream* output) const {
  5286. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_freedom_match_info_result];
  5287. if (has_packet_id()) {
  5288. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5289. 1, this->packet_id(), output);
  5290. }
  5291. // optional int32 roomId = 2;
  5292. if (has_roomid()) {
  5293. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
  5294. }
  5295. // repeated .fish_protocols.matchRankInfo dailyRankList = 3;
  5296. for (int i = 0; i < this->dailyranklist_size(); i++) {
  5297. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5298. 3, this->dailyranklist(i), output);
  5299. }
  5300. // optional int32 bulletCount = 4;
  5301. if (has_bulletcount()) {
  5302. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bulletcount(), output);
  5303. }
  5304. // optional int32 curScore = 5;
  5305. if (has_curscore()) {
  5306. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->curscore(), output);
  5307. }
  5308. // optional int32 joinCount = 6;
  5309. if (has_joincount()) {
  5310. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->joincount(), output);
  5311. }
  5312. // optional int32 leftSecond = 7;
  5313. if (has_leftsecond()) {
  5314. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->leftsecond(), output);
  5315. }
  5316. // optional .fish_protocols.matchRankInfo selfDayRank = 8;
  5317. if (has_selfdayrank()) {
  5318. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5319. 8, this->selfdayrank(), output);
  5320. }
  5321. // optional int32 startTime = 9;
  5322. if (has_starttime()) {
  5323. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->starttime(), output);
  5324. }
  5325. // optional int32 endTime = 10;
  5326. if (has_endtime()) {
  5327. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->endtime(), output);
  5328. }
  5329. if (!unknown_fields().empty()) {
  5330. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5331. unknown_fields(), output);
  5332. }
  5333. }
  5334. ::google::protobuf::uint8* packetl2c_get_freedom_match_info_result::SerializeWithCachedSizesToArray(
  5335. ::google::protobuf::uint8* target) const {
  5336. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_freedom_match_info_result];
  5337. if (has_packet_id()) {
  5338. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5339. 1, this->packet_id(), target);
  5340. }
  5341. // optional int32 roomId = 2;
  5342. if (has_roomid()) {
  5343. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
  5344. }
  5345. // repeated .fish_protocols.matchRankInfo dailyRankList = 3;
  5346. for (int i = 0; i < this->dailyranklist_size(); i++) {
  5347. target = ::google::protobuf::internal::WireFormatLite::
  5348. WriteMessageNoVirtualToArray(
  5349. 3, this->dailyranklist(i), target);
  5350. }
  5351. // optional int32 bulletCount = 4;
  5352. if (has_bulletcount()) {
  5353. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bulletcount(), target);
  5354. }
  5355. // optional int32 curScore = 5;
  5356. if (has_curscore()) {
  5357. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->curscore(), target);
  5358. }
  5359. // optional int32 joinCount = 6;
  5360. if (has_joincount()) {
  5361. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->joincount(), target);
  5362. }
  5363. // optional int32 leftSecond = 7;
  5364. if (has_leftsecond()) {
  5365. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->leftsecond(), target);
  5366. }
  5367. // optional .fish_protocols.matchRankInfo selfDayRank = 8;
  5368. if (has_selfdayrank()) {
  5369. target = ::google::protobuf::internal::WireFormatLite::
  5370. WriteMessageNoVirtualToArray(
  5371. 8, this->selfdayrank(), target);
  5372. }
  5373. // optional int32 startTime = 9;
  5374. if (has_starttime()) {
  5375. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->starttime(), target);
  5376. }
  5377. // optional int32 endTime = 10;
  5378. if (has_endtime()) {
  5379. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->endtime(), target);
  5380. }
  5381. if (!unknown_fields().empty()) {
  5382. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5383. unknown_fields(), target);
  5384. }
  5385. return target;
  5386. }
  5387. int packetl2c_get_freedom_match_info_result::ByteSize() const {
  5388. int total_size = 0;
  5389. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5390. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_freedom_match_info_result];
  5391. if (has_packet_id()) {
  5392. total_size += 1 +
  5393. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  5394. }
  5395. // optional int32 roomId = 2;
  5396. if (has_roomid()) {
  5397. total_size += 1 +
  5398. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5399. this->roomid());
  5400. }
  5401. // optional int32 bulletCount = 4;
  5402. if (has_bulletcount()) {
  5403. total_size += 1 +
  5404. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5405. this->bulletcount());
  5406. }
  5407. // optional int32 curScore = 5;
  5408. if (has_curscore()) {
  5409. total_size += 1 +
  5410. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5411. this->curscore());
  5412. }
  5413. // optional int32 joinCount = 6;
  5414. if (has_joincount()) {
  5415. total_size += 1 +
  5416. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5417. this->joincount());
  5418. }
  5419. // optional int32 leftSecond = 7;
  5420. if (has_leftsecond()) {
  5421. total_size += 1 +
  5422. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5423. this->leftsecond());
  5424. }
  5425. // optional .fish_protocols.matchRankInfo selfDayRank = 8;
  5426. if (has_selfdayrank()) {
  5427. total_size += 1 +
  5428. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  5429. this->selfdayrank());
  5430. }
  5431. }
  5432. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  5433. // optional int32 startTime = 9;
  5434. if (has_starttime()) {
  5435. total_size += 1 +
  5436. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5437. this->starttime());
  5438. }
  5439. // optional int32 endTime = 10;
  5440. if (has_endtime()) {
  5441. total_size += 1 +
  5442. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5443. this->endtime());
  5444. }
  5445. }
  5446. // repeated .fish_protocols.matchRankInfo dailyRankList = 3;
  5447. total_size += 1 * this->dailyranklist_size();
  5448. for (int i = 0; i < this->dailyranklist_size(); i++) {
  5449. total_size +=
  5450. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  5451. this->dailyranklist(i));
  5452. }
  5453. if (!unknown_fields().empty()) {
  5454. total_size +=
  5455. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5456. unknown_fields());
  5457. }
  5458. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5459. _cached_size_ = total_size;
  5460. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5461. return total_size;
  5462. }
  5463. void packetl2c_get_freedom_match_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  5464. GOOGLE_CHECK_NE(&from, this);
  5465. const packetl2c_get_freedom_match_info_result* source =
  5466. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_freedom_match_info_result*>(
  5467. &from);
  5468. if (source == NULL) {
  5469. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5470. } else {
  5471. MergeFrom(*source);
  5472. }
  5473. }
  5474. void packetl2c_get_freedom_match_info_result::MergeFrom(const packetl2c_get_freedom_match_info_result& from) {
  5475. GOOGLE_CHECK_NE(&from, this);
  5476. dailyranklist_.MergeFrom(from.dailyranklist_);
  5477. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5478. if (from.has_packet_id()) {
  5479. set_packet_id(from.packet_id());
  5480. }
  5481. if (from.has_roomid()) {
  5482. set_roomid(from.roomid());
  5483. }
  5484. if (from.has_bulletcount()) {
  5485. set_bulletcount(from.bulletcount());
  5486. }
  5487. if (from.has_curscore()) {
  5488. set_curscore(from.curscore());
  5489. }
  5490. if (from.has_joincount()) {
  5491. set_joincount(from.joincount());
  5492. }
  5493. if (from.has_leftsecond()) {
  5494. set_leftsecond(from.leftsecond());
  5495. }
  5496. if (from.has_selfdayrank()) {
  5497. mutable_selfdayrank()->::fish_protocols::matchRankInfo::MergeFrom(from.selfdayrank());
  5498. }
  5499. }
  5500. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  5501. if (from.has_starttime()) {
  5502. set_starttime(from.starttime());
  5503. }
  5504. if (from.has_endtime()) {
  5505. set_endtime(from.endtime());
  5506. }
  5507. }
  5508. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5509. }
  5510. void packetl2c_get_freedom_match_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  5511. if (&from == this) return;
  5512. Clear();
  5513. MergeFrom(from);
  5514. }
  5515. void packetl2c_get_freedom_match_info_result::CopyFrom(const packetl2c_get_freedom_match_info_result& from) {
  5516. if (&from == this) return;
  5517. Clear();
  5518. MergeFrom(from);
  5519. }
  5520. bool packetl2c_get_freedom_match_info_result::IsInitialized() const {
  5521. return true;
  5522. }
  5523. void packetl2c_get_freedom_match_info_result::Swap(packetl2c_get_freedom_match_info_result* other) {
  5524. if (other != this) {
  5525. std::swap(packet_id_, other->packet_id_);
  5526. std::swap(roomid_, other->roomid_);
  5527. dailyranklist_.Swap(&other->dailyranklist_);
  5528. std::swap(bulletcount_, other->bulletcount_);
  5529. std::swap(curscore_, other->curscore_);
  5530. std::swap(joincount_, other->joincount_);
  5531. std::swap(leftsecond_, other->leftsecond_);
  5532. std::swap(selfdayrank_, other->selfdayrank_);
  5533. std::swap(starttime_, other->starttime_);
  5534. std::swap(endtime_, other->endtime_);
  5535. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5536. _unknown_fields_.Swap(&other->_unknown_fields_);
  5537. std::swap(_cached_size_, other->_cached_size_);
  5538. }
  5539. }
  5540. ::google::protobuf::Metadata packetl2c_get_freedom_match_info_result::GetMetadata() const {
  5541. protobuf_AssignDescriptorsOnce();
  5542. ::google::protobuf::Metadata metadata;
  5543. metadata.descriptor = packetl2c_get_freedom_match_info_result_descriptor_;
  5544. metadata.reflection = packetl2c_get_freedom_match_info_result_reflection_;
  5545. return metadata;
  5546. }
  5547. // ===================================================================
  5548. #ifndef _MSC_VER
  5549. const int packetc2l_syn_freedom_match_bullet::kPacketIdFieldNumber;
  5550. const int packetc2l_syn_freedom_match_bullet::kRoomIdFieldNumber;
  5551. #endif // !_MSC_VER
  5552. packetc2l_syn_freedom_match_bullet::packetc2l_syn_freedom_match_bullet()
  5553. : ::google::protobuf::Message() {
  5554. SharedCtor();
  5555. }
  5556. void packetc2l_syn_freedom_match_bullet::InitAsDefaultInstance() {
  5557. }
  5558. packetc2l_syn_freedom_match_bullet::packetc2l_syn_freedom_match_bullet(const packetc2l_syn_freedom_match_bullet& from)
  5559. : ::google::protobuf::Message() {
  5560. SharedCtor();
  5561. MergeFrom(from);
  5562. }
  5563. void packetc2l_syn_freedom_match_bullet::SharedCtor() {
  5564. _cached_size_ = 0;
  5565. packet_id_ = 10224;
  5566. roomid_ = 0;
  5567. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5568. }
  5569. packetc2l_syn_freedom_match_bullet::~packetc2l_syn_freedom_match_bullet() {
  5570. SharedDtor();
  5571. }
  5572. void packetc2l_syn_freedom_match_bullet::SharedDtor() {
  5573. if (this != default_instance_) {
  5574. }
  5575. }
  5576. void packetc2l_syn_freedom_match_bullet::SetCachedSize(int size) const {
  5577. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5578. _cached_size_ = size;
  5579. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5580. }
  5581. const ::google::protobuf::Descriptor* packetc2l_syn_freedom_match_bullet::descriptor() {
  5582. protobuf_AssignDescriptorsOnce();
  5583. return packetc2l_syn_freedom_match_bullet_descriptor_;
  5584. }
  5585. const packetc2l_syn_freedom_match_bullet& packetc2l_syn_freedom_match_bullet::default_instance() {
  5586. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  5587. return *default_instance_;
  5588. }
  5589. packetc2l_syn_freedom_match_bullet* packetc2l_syn_freedom_match_bullet::default_instance_ = NULL;
  5590. packetc2l_syn_freedom_match_bullet* packetc2l_syn_freedom_match_bullet::New() const {
  5591. return new packetc2l_syn_freedom_match_bullet;
  5592. }
  5593. void packetc2l_syn_freedom_match_bullet::Clear() {
  5594. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5595. packet_id_ = 10224;
  5596. roomid_ = 0;
  5597. }
  5598. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5599. mutable_unknown_fields()->Clear();
  5600. }
  5601. bool packetc2l_syn_freedom_match_bullet::MergePartialFromCodedStream(
  5602. ::google::protobuf::io::CodedInputStream* input) {
  5603. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5604. ::google::protobuf::uint32 tag;
  5605. while ((tag = input->ReadTag()) != 0) {
  5606. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5607. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_freedom_match_bullet];
  5608. case 1: {
  5609. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5610. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5611. int value;
  5612. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5613. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5614. input, &value)));
  5615. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  5616. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  5617. } else {
  5618. mutable_unknown_fields()->AddVarint(1, value);
  5619. }
  5620. } else {
  5621. goto handle_uninterpreted;
  5622. }
  5623. if (input->ExpectTag(16)) goto parse_roomId;
  5624. break;
  5625. }
  5626. // optional int32 roomId = 2;
  5627. case 2: {
  5628. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5629. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5630. parse_roomId:
  5631. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5632. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5633. input, &roomid_)));
  5634. set_has_roomid();
  5635. } else {
  5636. goto handle_uninterpreted;
  5637. }
  5638. if (input->ExpectAtEnd()) return true;
  5639. break;
  5640. }
  5641. default: {
  5642. handle_uninterpreted:
  5643. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5644. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5645. return true;
  5646. }
  5647. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5648. input, tag, mutable_unknown_fields()));
  5649. break;
  5650. }
  5651. }
  5652. }
  5653. return true;
  5654. #undef DO_
  5655. }
  5656. void packetc2l_syn_freedom_match_bullet::SerializeWithCachedSizes(
  5657. ::google::protobuf::io::CodedOutputStream* output) const {
  5658. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_freedom_match_bullet];
  5659. if (has_packet_id()) {
  5660. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5661. 1, this->packet_id(), output);
  5662. }
  5663. // optional int32 roomId = 2;
  5664. if (has_roomid()) {
  5665. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
  5666. }
  5667. if (!unknown_fields().empty()) {
  5668. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5669. unknown_fields(), output);
  5670. }
  5671. }
  5672. ::google::protobuf::uint8* packetc2l_syn_freedom_match_bullet::SerializeWithCachedSizesToArray(
  5673. ::google::protobuf::uint8* target) const {
  5674. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_freedom_match_bullet];
  5675. if (has_packet_id()) {
  5676. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5677. 1, this->packet_id(), target);
  5678. }
  5679. // optional int32 roomId = 2;
  5680. if (has_roomid()) {
  5681. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
  5682. }
  5683. if (!unknown_fields().empty()) {
  5684. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5685. unknown_fields(), target);
  5686. }
  5687. return target;
  5688. }
  5689. int packetc2l_syn_freedom_match_bullet::ByteSize() const {
  5690. int total_size = 0;
  5691. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5692. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_freedom_match_bullet];
  5693. if (has_packet_id()) {
  5694. total_size += 1 +
  5695. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  5696. }
  5697. // optional int32 roomId = 2;
  5698. if (has_roomid()) {
  5699. total_size += 1 +
  5700. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5701. this->roomid());
  5702. }
  5703. }
  5704. if (!unknown_fields().empty()) {
  5705. total_size +=
  5706. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5707. unknown_fields());
  5708. }
  5709. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5710. _cached_size_ = total_size;
  5711. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5712. return total_size;
  5713. }
  5714. void packetc2l_syn_freedom_match_bullet::MergeFrom(const ::google::protobuf::Message& from) {
  5715. GOOGLE_CHECK_NE(&from, this);
  5716. const packetc2l_syn_freedom_match_bullet* source =
  5717. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_syn_freedom_match_bullet*>(
  5718. &from);
  5719. if (source == NULL) {
  5720. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5721. } else {
  5722. MergeFrom(*source);
  5723. }
  5724. }
  5725. void packetc2l_syn_freedom_match_bullet::MergeFrom(const packetc2l_syn_freedom_match_bullet& from) {
  5726. GOOGLE_CHECK_NE(&from, this);
  5727. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5728. if (from.has_packet_id()) {
  5729. set_packet_id(from.packet_id());
  5730. }
  5731. if (from.has_roomid()) {
  5732. set_roomid(from.roomid());
  5733. }
  5734. }
  5735. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5736. }
  5737. void packetc2l_syn_freedom_match_bullet::CopyFrom(const ::google::protobuf::Message& from) {
  5738. if (&from == this) return;
  5739. Clear();
  5740. MergeFrom(from);
  5741. }
  5742. void packetc2l_syn_freedom_match_bullet::CopyFrom(const packetc2l_syn_freedom_match_bullet& from) {
  5743. if (&from == this) return;
  5744. Clear();
  5745. MergeFrom(from);
  5746. }
  5747. bool packetc2l_syn_freedom_match_bullet::IsInitialized() const {
  5748. return true;
  5749. }
  5750. void packetc2l_syn_freedom_match_bullet::Swap(packetc2l_syn_freedom_match_bullet* other) {
  5751. if (other != this) {
  5752. std::swap(packet_id_, other->packet_id_);
  5753. std::swap(roomid_, other->roomid_);
  5754. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5755. _unknown_fields_.Swap(&other->_unknown_fields_);
  5756. std::swap(_cached_size_, other->_cached_size_);
  5757. }
  5758. }
  5759. ::google::protobuf::Metadata packetc2l_syn_freedom_match_bullet::GetMetadata() const {
  5760. protobuf_AssignDescriptorsOnce();
  5761. ::google::protobuf::Metadata metadata;
  5762. metadata.descriptor = packetc2l_syn_freedom_match_bullet_descriptor_;
  5763. metadata.reflection = packetc2l_syn_freedom_match_bullet_reflection_;
  5764. return metadata;
  5765. }
  5766. // ===================================================================
  5767. #ifndef _MSC_VER
  5768. const int packetl2c_syn_freedom_match_bullet_result::kPacketIdFieldNumber;
  5769. const int packetl2c_syn_freedom_match_bullet_result::kRoomIdFieldNumber;
  5770. const int packetl2c_syn_freedom_match_bullet_result::kBulletCountFieldNumber;
  5771. #endif // !_MSC_VER
  5772. packetl2c_syn_freedom_match_bullet_result::packetl2c_syn_freedom_match_bullet_result()
  5773. : ::google::protobuf::Message() {
  5774. SharedCtor();
  5775. }
  5776. void packetl2c_syn_freedom_match_bullet_result::InitAsDefaultInstance() {
  5777. }
  5778. packetl2c_syn_freedom_match_bullet_result::packetl2c_syn_freedom_match_bullet_result(const packetl2c_syn_freedom_match_bullet_result& from)
  5779. : ::google::protobuf::Message() {
  5780. SharedCtor();
  5781. MergeFrom(from);
  5782. }
  5783. void packetl2c_syn_freedom_match_bullet_result::SharedCtor() {
  5784. _cached_size_ = 0;
  5785. packet_id_ = 16230;
  5786. roomid_ = 0;
  5787. bulletcount_ = 0;
  5788. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5789. }
  5790. packetl2c_syn_freedom_match_bullet_result::~packetl2c_syn_freedom_match_bullet_result() {
  5791. SharedDtor();
  5792. }
  5793. void packetl2c_syn_freedom_match_bullet_result::SharedDtor() {
  5794. if (this != default_instance_) {
  5795. }
  5796. }
  5797. void packetl2c_syn_freedom_match_bullet_result::SetCachedSize(int size) const {
  5798. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5799. _cached_size_ = size;
  5800. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5801. }
  5802. const ::google::protobuf::Descriptor* packetl2c_syn_freedom_match_bullet_result::descriptor() {
  5803. protobuf_AssignDescriptorsOnce();
  5804. return packetl2c_syn_freedom_match_bullet_result_descriptor_;
  5805. }
  5806. const packetl2c_syn_freedom_match_bullet_result& packetl2c_syn_freedom_match_bullet_result::default_instance() {
  5807. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  5808. return *default_instance_;
  5809. }
  5810. packetl2c_syn_freedom_match_bullet_result* packetl2c_syn_freedom_match_bullet_result::default_instance_ = NULL;
  5811. packetl2c_syn_freedom_match_bullet_result* packetl2c_syn_freedom_match_bullet_result::New() const {
  5812. return new packetl2c_syn_freedom_match_bullet_result;
  5813. }
  5814. void packetl2c_syn_freedom_match_bullet_result::Clear() {
  5815. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5816. packet_id_ = 16230;
  5817. roomid_ = 0;
  5818. bulletcount_ = 0;
  5819. }
  5820. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5821. mutable_unknown_fields()->Clear();
  5822. }
  5823. bool packetl2c_syn_freedom_match_bullet_result::MergePartialFromCodedStream(
  5824. ::google::protobuf::io::CodedInputStream* input) {
  5825. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5826. ::google::protobuf::uint32 tag;
  5827. while ((tag = input->ReadTag()) != 0) {
  5828. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5829. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_syn_freedom_match_bullet_result];
  5830. case 1: {
  5831. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5832. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5833. int value;
  5834. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5835. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5836. input, &value)));
  5837. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  5838. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  5839. } else {
  5840. mutable_unknown_fields()->AddVarint(1, value);
  5841. }
  5842. } else {
  5843. goto handle_uninterpreted;
  5844. }
  5845. if (input->ExpectTag(16)) goto parse_roomId;
  5846. break;
  5847. }
  5848. // optional int32 roomId = 2;
  5849. case 2: {
  5850. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5851. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5852. parse_roomId:
  5853. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5854. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5855. input, &roomid_)));
  5856. set_has_roomid();
  5857. } else {
  5858. goto handle_uninterpreted;
  5859. }
  5860. if (input->ExpectTag(24)) goto parse_bulletCount;
  5861. break;
  5862. }
  5863. // optional int32 bulletCount = 3;
  5864. case 3: {
  5865. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5866. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5867. parse_bulletCount:
  5868. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5869. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5870. input, &bulletcount_)));
  5871. set_has_bulletcount();
  5872. } else {
  5873. goto handle_uninterpreted;
  5874. }
  5875. if (input->ExpectAtEnd()) return true;
  5876. break;
  5877. }
  5878. default: {
  5879. handle_uninterpreted:
  5880. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5881. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5882. return true;
  5883. }
  5884. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5885. input, tag, mutable_unknown_fields()));
  5886. break;
  5887. }
  5888. }
  5889. }
  5890. return true;
  5891. #undef DO_
  5892. }
  5893. void packetl2c_syn_freedom_match_bullet_result::SerializeWithCachedSizes(
  5894. ::google::protobuf::io::CodedOutputStream* output) const {
  5895. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_syn_freedom_match_bullet_result];
  5896. if (has_packet_id()) {
  5897. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5898. 1, this->packet_id(), output);
  5899. }
  5900. // optional int32 roomId = 2;
  5901. if (has_roomid()) {
  5902. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
  5903. }
  5904. // optional int32 bulletCount = 3;
  5905. if (has_bulletcount()) {
  5906. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bulletcount(), output);
  5907. }
  5908. if (!unknown_fields().empty()) {
  5909. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5910. unknown_fields(), output);
  5911. }
  5912. }
  5913. ::google::protobuf::uint8* packetl2c_syn_freedom_match_bullet_result::SerializeWithCachedSizesToArray(
  5914. ::google::protobuf::uint8* target) const {
  5915. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_syn_freedom_match_bullet_result];
  5916. if (has_packet_id()) {
  5917. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5918. 1, this->packet_id(), target);
  5919. }
  5920. // optional int32 roomId = 2;
  5921. if (has_roomid()) {
  5922. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
  5923. }
  5924. // optional int32 bulletCount = 3;
  5925. if (has_bulletcount()) {
  5926. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bulletcount(), target);
  5927. }
  5928. if (!unknown_fields().empty()) {
  5929. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5930. unknown_fields(), target);
  5931. }
  5932. return target;
  5933. }
  5934. int packetl2c_syn_freedom_match_bullet_result::ByteSize() const {
  5935. int total_size = 0;
  5936. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5937. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_syn_freedom_match_bullet_result];
  5938. if (has_packet_id()) {
  5939. total_size += 1 +
  5940. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  5941. }
  5942. // optional int32 roomId = 2;
  5943. if (has_roomid()) {
  5944. total_size += 1 +
  5945. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5946. this->roomid());
  5947. }
  5948. // optional int32 bulletCount = 3;
  5949. if (has_bulletcount()) {
  5950. total_size += 1 +
  5951. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5952. this->bulletcount());
  5953. }
  5954. }
  5955. if (!unknown_fields().empty()) {
  5956. total_size +=
  5957. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5958. unknown_fields());
  5959. }
  5960. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5961. _cached_size_ = total_size;
  5962. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5963. return total_size;
  5964. }
  5965. void packetl2c_syn_freedom_match_bullet_result::MergeFrom(const ::google::protobuf::Message& from) {
  5966. GOOGLE_CHECK_NE(&from, this);
  5967. const packetl2c_syn_freedom_match_bullet_result* source =
  5968. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_syn_freedom_match_bullet_result*>(
  5969. &from);
  5970. if (source == NULL) {
  5971. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5972. } else {
  5973. MergeFrom(*source);
  5974. }
  5975. }
  5976. void packetl2c_syn_freedom_match_bullet_result::MergeFrom(const packetl2c_syn_freedom_match_bullet_result& from) {
  5977. GOOGLE_CHECK_NE(&from, this);
  5978. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5979. if (from.has_packet_id()) {
  5980. set_packet_id(from.packet_id());
  5981. }
  5982. if (from.has_roomid()) {
  5983. set_roomid(from.roomid());
  5984. }
  5985. if (from.has_bulletcount()) {
  5986. set_bulletcount(from.bulletcount());
  5987. }
  5988. }
  5989. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5990. }
  5991. void packetl2c_syn_freedom_match_bullet_result::CopyFrom(const ::google::protobuf::Message& from) {
  5992. if (&from == this) return;
  5993. Clear();
  5994. MergeFrom(from);
  5995. }
  5996. void packetl2c_syn_freedom_match_bullet_result::CopyFrom(const packetl2c_syn_freedom_match_bullet_result& from) {
  5997. if (&from == this) return;
  5998. Clear();
  5999. MergeFrom(from);
  6000. }
  6001. bool packetl2c_syn_freedom_match_bullet_result::IsInitialized() const {
  6002. return true;
  6003. }
  6004. void packetl2c_syn_freedom_match_bullet_result::Swap(packetl2c_syn_freedom_match_bullet_result* other) {
  6005. if (other != this) {
  6006. std::swap(packet_id_, other->packet_id_);
  6007. std::swap(roomid_, other->roomid_);
  6008. std::swap(bulletcount_, other->bulletcount_);
  6009. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6010. _unknown_fields_.Swap(&other->_unknown_fields_);
  6011. std::swap(_cached_size_, other->_cached_size_);
  6012. }
  6013. }
  6014. ::google::protobuf::Metadata packetl2c_syn_freedom_match_bullet_result::GetMetadata() const {
  6015. protobuf_AssignDescriptorsOnce();
  6016. ::google::protobuf::Metadata metadata;
  6017. metadata.descriptor = packetl2c_syn_freedom_match_bullet_result_descriptor_;
  6018. metadata.reflection = packetl2c_syn_freedom_match_bullet_result_reflection_;
  6019. return metadata;
  6020. }
  6021. // ===================================================================
  6022. #ifndef _MSC_VER
  6023. const int packetc2l_join_freedom_match::kPacketIdFieldNumber;
  6024. const int packetc2l_join_freedom_match::kRoomIdFieldNumber;
  6025. #endif // !_MSC_VER
  6026. packetc2l_join_freedom_match::packetc2l_join_freedom_match()
  6027. : ::google::protobuf::Message() {
  6028. SharedCtor();
  6029. }
  6030. void packetc2l_join_freedom_match::InitAsDefaultInstance() {
  6031. }
  6032. packetc2l_join_freedom_match::packetc2l_join_freedom_match(const packetc2l_join_freedom_match& from)
  6033. : ::google::protobuf::Message() {
  6034. SharedCtor();
  6035. MergeFrom(from);
  6036. }
  6037. void packetc2l_join_freedom_match::SharedCtor() {
  6038. _cached_size_ = 0;
  6039. packet_id_ = 10157;
  6040. roomid_ = 0;
  6041. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6042. }
  6043. packetc2l_join_freedom_match::~packetc2l_join_freedom_match() {
  6044. SharedDtor();
  6045. }
  6046. void packetc2l_join_freedom_match::SharedDtor() {
  6047. if (this != default_instance_) {
  6048. }
  6049. }
  6050. void packetc2l_join_freedom_match::SetCachedSize(int size) const {
  6051. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6052. _cached_size_ = size;
  6053. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6054. }
  6055. const ::google::protobuf::Descriptor* packetc2l_join_freedom_match::descriptor() {
  6056. protobuf_AssignDescriptorsOnce();
  6057. return packetc2l_join_freedom_match_descriptor_;
  6058. }
  6059. const packetc2l_join_freedom_match& packetc2l_join_freedom_match::default_instance() {
  6060. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  6061. return *default_instance_;
  6062. }
  6063. packetc2l_join_freedom_match* packetc2l_join_freedom_match::default_instance_ = NULL;
  6064. packetc2l_join_freedom_match* packetc2l_join_freedom_match::New() const {
  6065. return new packetc2l_join_freedom_match;
  6066. }
  6067. void packetc2l_join_freedom_match::Clear() {
  6068. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6069. packet_id_ = 10157;
  6070. roomid_ = 0;
  6071. }
  6072. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6073. mutable_unknown_fields()->Clear();
  6074. }
  6075. bool packetc2l_join_freedom_match::MergePartialFromCodedStream(
  6076. ::google::protobuf::io::CodedInputStream* input) {
  6077. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6078. ::google::protobuf::uint32 tag;
  6079. while ((tag = input->ReadTag()) != 0) {
  6080. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6081. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_join_freedom_match];
  6082. case 1: {
  6083. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6084. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6085. int value;
  6086. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6087. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6088. input, &value)));
  6089. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  6090. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  6091. } else {
  6092. mutable_unknown_fields()->AddVarint(1, value);
  6093. }
  6094. } else {
  6095. goto handle_uninterpreted;
  6096. }
  6097. if (input->ExpectTag(16)) goto parse_roomId;
  6098. break;
  6099. }
  6100. // optional int32 roomId = 2;
  6101. case 2: {
  6102. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6103. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6104. parse_roomId:
  6105. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6106. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6107. input, &roomid_)));
  6108. set_has_roomid();
  6109. } else {
  6110. goto handle_uninterpreted;
  6111. }
  6112. if (input->ExpectAtEnd()) return true;
  6113. break;
  6114. }
  6115. default: {
  6116. handle_uninterpreted:
  6117. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6118. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6119. return true;
  6120. }
  6121. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6122. input, tag, mutable_unknown_fields()));
  6123. break;
  6124. }
  6125. }
  6126. }
  6127. return true;
  6128. #undef DO_
  6129. }
  6130. void packetc2l_join_freedom_match::SerializeWithCachedSizes(
  6131. ::google::protobuf::io::CodedOutputStream* output) const {
  6132. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_join_freedom_match];
  6133. if (has_packet_id()) {
  6134. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6135. 1, this->packet_id(), output);
  6136. }
  6137. // optional int32 roomId = 2;
  6138. if (has_roomid()) {
  6139. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
  6140. }
  6141. if (!unknown_fields().empty()) {
  6142. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6143. unknown_fields(), output);
  6144. }
  6145. }
  6146. ::google::protobuf::uint8* packetc2l_join_freedom_match::SerializeWithCachedSizesToArray(
  6147. ::google::protobuf::uint8* target) const {
  6148. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_join_freedom_match];
  6149. if (has_packet_id()) {
  6150. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6151. 1, this->packet_id(), target);
  6152. }
  6153. // optional int32 roomId = 2;
  6154. if (has_roomid()) {
  6155. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
  6156. }
  6157. if (!unknown_fields().empty()) {
  6158. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6159. unknown_fields(), target);
  6160. }
  6161. return target;
  6162. }
  6163. int packetc2l_join_freedom_match::ByteSize() const {
  6164. int total_size = 0;
  6165. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6166. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_join_freedom_match];
  6167. if (has_packet_id()) {
  6168. total_size += 1 +
  6169. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6170. }
  6171. // optional int32 roomId = 2;
  6172. if (has_roomid()) {
  6173. total_size += 1 +
  6174. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6175. this->roomid());
  6176. }
  6177. }
  6178. if (!unknown_fields().empty()) {
  6179. total_size +=
  6180. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6181. unknown_fields());
  6182. }
  6183. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6184. _cached_size_ = total_size;
  6185. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6186. return total_size;
  6187. }
  6188. void packetc2l_join_freedom_match::MergeFrom(const ::google::protobuf::Message& from) {
  6189. GOOGLE_CHECK_NE(&from, this);
  6190. const packetc2l_join_freedom_match* source =
  6191. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_join_freedom_match*>(
  6192. &from);
  6193. if (source == NULL) {
  6194. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6195. } else {
  6196. MergeFrom(*source);
  6197. }
  6198. }
  6199. void packetc2l_join_freedom_match::MergeFrom(const packetc2l_join_freedom_match& from) {
  6200. GOOGLE_CHECK_NE(&from, this);
  6201. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6202. if (from.has_packet_id()) {
  6203. set_packet_id(from.packet_id());
  6204. }
  6205. if (from.has_roomid()) {
  6206. set_roomid(from.roomid());
  6207. }
  6208. }
  6209. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6210. }
  6211. void packetc2l_join_freedom_match::CopyFrom(const ::google::protobuf::Message& from) {
  6212. if (&from == this) return;
  6213. Clear();
  6214. MergeFrom(from);
  6215. }
  6216. void packetc2l_join_freedom_match::CopyFrom(const packetc2l_join_freedom_match& from) {
  6217. if (&from == this) return;
  6218. Clear();
  6219. MergeFrom(from);
  6220. }
  6221. bool packetc2l_join_freedom_match::IsInitialized() const {
  6222. return true;
  6223. }
  6224. void packetc2l_join_freedom_match::Swap(packetc2l_join_freedom_match* other) {
  6225. if (other != this) {
  6226. std::swap(packet_id_, other->packet_id_);
  6227. std::swap(roomid_, other->roomid_);
  6228. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6229. _unknown_fields_.Swap(&other->_unknown_fields_);
  6230. std::swap(_cached_size_, other->_cached_size_);
  6231. }
  6232. }
  6233. ::google::protobuf::Metadata packetc2l_join_freedom_match::GetMetadata() const {
  6234. protobuf_AssignDescriptorsOnce();
  6235. ::google::protobuf::Metadata metadata;
  6236. metadata.descriptor = packetc2l_join_freedom_match_descriptor_;
  6237. metadata.reflection = packetc2l_join_freedom_match_reflection_;
  6238. return metadata;
  6239. }
  6240. // ===================================================================
  6241. #ifndef _MSC_VER
  6242. const int packetl2c_join_freedom_match_result::kPacketIdFieldNumber;
  6243. const int packetl2c_join_freedom_match_result::kResultFieldNumber;
  6244. const int packetl2c_join_freedom_match_result::kRoomIdFieldNumber;
  6245. const int packetl2c_join_freedom_match_result::kPlayerIdFieldNumber;
  6246. const int packetl2c_join_freedom_match_result::kBulletCountFieldNumber;
  6247. const int packetl2c_join_freedom_match_result::kCurScoreFieldNumber;
  6248. const int packetl2c_join_freedom_match_result::kJoinCountFieldNumber;
  6249. const int packetl2c_join_freedom_match_result::kLeftSecondFieldNumber;
  6250. #endif // !_MSC_VER
  6251. packetl2c_join_freedom_match_result::packetl2c_join_freedom_match_result()
  6252. : ::google::protobuf::Message() {
  6253. SharedCtor();
  6254. }
  6255. void packetl2c_join_freedom_match_result::InitAsDefaultInstance() {
  6256. }
  6257. packetl2c_join_freedom_match_result::packetl2c_join_freedom_match_result(const packetl2c_join_freedom_match_result& from)
  6258. : ::google::protobuf::Message() {
  6259. SharedCtor();
  6260. MergeFrom(from);
  6261. }
  6262. void packetl2c_join_freedom_match_result::SharedCtor() {
  6263. _cached_size_ = 0;
  6264. packet_id_ = 16213;
  6265. result_ = 0;
  6266. roomid_ = 0;
  6267. playerid_ = 0;
  6268. bulletcount_ = 0;
  6269. curscore_ = 0;
  6270. joincount_ = 0;
  6271. leftsecond_ = 0;
  6272. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6273. }
  6274. packetl2c_join_freedom_match_result::~packetl2c_join_freedom_match_result() {
  6275. SharedDtor();
  6276. }
  6277. void packetl2c_join_freedom_match_result::SharedDtor() {
  6278. if (this != default_instance_) {
  6279. }
  6280. }
  6281. void packetl2c_join_freedom_match_result::SetCachedSize(int size) const {
  6282. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6283. _cached_size_ = size;
  6284. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6285. }
  6286. const ::google::protobuf::Descriptor* packetl2c_join_freedom_match_result::descriptor() {
  6287. protobuf_AssignDescriptorsOnce();
  6288. return packetl2c_join_freedom_match_result_descriptor_;
  6289. }
  6290. const packetl2c_join_freedom_match_result& packetl2c_join_freedom_match_result::default_instance() {
  6291. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  6292. return *default_instance_;
  6293. }
  6294. packetl2c_join_freedom_match_result* packetl2c_join_freedom_match_result::default_instance_ = NULL;
  6295. packetl2c_join_freedom_match_result* packetl2c_join_freedom_match_result::New() const {
  6296. return new packetl2c_join_freedom_match_result;
  6297. }
  6298. void packetl2c_join_freedom_match_result::Clear() {
  6299. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6300. packet_id_ = 16213;
  6301. result_ = 0;
  6302. roomid_ = 0;
  6303. playerid_ = 0;
  6304. bulletcount_ = 0;
  6305. curscore_ = 0;
  6306. joincount_ = 0;
  6307. leftsecond_ = 0;
  6308. }
  6309. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6310. mutable_unknown_fields()->Clear();
  6311. }
  6312. bool packetl2c_join_freedom_match_result::MergePartialFromCodedStream(
  6313. ::google::protobuf::io::CodedInputStream* input) {
  6314. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6315. ::google::protobuf::uint32 tag;
  6316. while ((tag = input->ReadTag()) != 0) {
  6317. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6318. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_join_freedom_match_result];
  6319. case 1: {
  6320. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6321. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6322. int value;
  6323. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6324. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6325. input, &value)));
  6326. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  6327. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  6328. } else {
  6329. mutable_unknown_fields()->AddVarint(1, value);
  6330. }
  6331. } else {
  6332. goto handle_uninterpreted;
  6333. }
  6334. if (input->ExpectTag(16)) goto parse_result;
  6335. break;
  6336. }
  6337. // optional int32 result = 2;
  6338. case 2: {
  6339. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6340. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6341. parse_result:
  6342. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6343. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6344. input, &result_)));
  6345. set_has_result();
  6346. } else {
  6347. goto handle_uninterpreted;
  6348. }
  6349. if (input->ExpectTag(24)) goto parse_roomId;
  6350. break;
  6351. }
  6352. // optional int32 roomId = 3;
  6353. case 3: {
  6354. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6355. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6356. parse_roomId:
  6357. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6358. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6359. input, &roomid_)));
  6360. set_has_roomid();
  6361. } else {
  6362. goto handle_uninterpreted;
  6363. }
  6364. if (input->ExpectTag(32)) goto parse_playerId;
  6365. break;
  6366. }
  6367. // optional int32 playerId = 4;
  6368. case 4: {
  6369. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6370. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6371. parse_playerId:
  6372. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6373. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6374. input, &playerid_)));
  6375. set_has_playerid();
  6376. } else {
  6377. goto handle_uninterpreted;
  6378. }
  6379. if (input->ExpectTag(40)) goto parse_bulletCount;
  6380. break;
  6381. }
  6382. // optional int32 bulletCount = 5;
  6383. case 5: {
  6384. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6385. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6386. parse_bulletCount:
  6387. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6388. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6389. input, &bulletcount_)));
  6390. set_has_bulletcount();
  6391. } else {
  6392. goto handle_uninterpreted;
  6393. }
  6394. if (input->ExpectTag(48)) goto parse_curScore;
  6395. break;
  6396. }
  6397. // optional int32 curScore = 6;
  6398. case 6: {
  6399. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6400. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6401. parse_curScore:
  6402. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6403. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6404. input, &curscore_)));
  6405. set_has_curscore();
  6406. } else {
  6407. goto handle_uninterpreted;
  6408. }
  6409. if (input->ExpectTag(56)) goto parse_joinCount;
  6410. break;
  6411. }
  6412. // optional int32 joinCount = 7;
  6413. case 7: {
  6414. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6415. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6416. parse_joinCount:
  6417. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6418. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6419. input, &joincount_)));
  6420. set_has_joincount();
  6421. } else {
  6422. goto handle_uninterpreted;
  6423. }
  6424. if (input->ExpectTag(64)) goto parse_leftSecond;
  6425. break;
  6426. }
  6427. // optional int32 leftSecond = 8;
  6428. case 8: {
  6429. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6430. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6431. parse_leftSecond:
  6432. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6433. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6434. input, &leftsecond_)));
  6435. set_has_leftsecond();
  6436. } else {
  6437. goto handle_uninterpreted;
  6438. }
  6439. if (input->ExpectAtEnd()) return true;
  6440. break;
  6441. }
  6442. default: {
  6443. handle_uninterpreted:
  6444. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6445. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6446. return true;
  6447. }
  6448. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6449. input, tag, mutable_unknown_fields()));
  6450. break;
  6451. }
  6452. }
  6453. }
  6454. return true;
  6455. #undef DO_
  6456. }
  6457. void packetl2c_join_freedom_match_result::SerializeWithCachedSizes(
  6458. ::google::protobuf::io::CodedOutputStream* output) const {
  6459. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_join_freedom_match_result];
  6460. if (has_packet_id()) {
  6461. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6462. 1, this->packet_id(), output);
  6463. }
  6464. // optional int32 result = 2;
  6465. if (has_result()) {
  6466. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  6467. }
  6468. // optional int32 roomId = 3;
  6469. if (has_roomid()) {
  6470. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output);
  6471. }
  6472. // optional int32 playerId = 4;
  6473. if (has_playerid()) {
  6474. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->playerid(), output);
  6475. }
  6476. // optional int32 bulletCount = 5;
  6477. if (has_bulletcount()) {
  6478. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->bulletcount(), output);
  6479. }
  6480. // optional int32 curScore = 6;
  6481. if (has_curscore()) {
  6482. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->curscore(), output);
  6483. }
  6484. // optional int32 joinCount = 7;
  6485. if (has_joincount()) {
  6486. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->joincount(), output);
  6487. }
  6488. // optional int32 leftSecond = 8;
  6489. if (has_leftsecond()) {
  6490. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->leftsecond(), output);
  6491. }
  6492. if (!unknown_fields().empty()) {
  6493. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6494. unknown_fields(), output);
  6495. }
  6496. }
  6497. ::google::protobuf::uint8* packetl2c_join_freedom_match_result::SerializeWithCachedSizesToArray(
  6498. ::google::protobuf::uint8* target) const {
  6499. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_join_freedom_match_result];
  6500. if (has_packet_id()) {
  6501. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6502. 1, this->packet_id(), target);
  6503. }
  6504. // optional int32 result = 2;
  6505. if (has_result()) {
  6506. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  6507. }
  6508. // optional int32 roomId = 3;
  6509. if (has_roomid()) {
  6510. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target);
  6511. }
  6512. // optional int32 playerId = 4;
  6513. if (has_playerid()) {
  6514. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->playerid(), target);
  6515. }
  6516. // optional int32 bulletCount = 5;
  6517. if (has_bulletcount()) {
  6518. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->bulletcount(), target);
  6519. }
  6520. // optional int32 curScore = 6;
  6521. if (has_curscore()) {
  6522. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->curscore(), target);
  6523. }
  6524. // optional int32 joinCount = 7;
  6525. if (has_joincount()) {
  6526. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->joincount(), target);
  6527. }
  6528. // optional int32 leftSecond = 8;
  6529. if (has_leftsecond()) {
  6530. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->leftsecond(), target);
  6531. }
  6532. if (!unknown_fields().empty()) {
  6533. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6534. unknown_fields(), target);
  6535. }
  6536. return target;
  6537. }
  6538. int packetl2c_join_freedom_match_result::ByteSize() const {
  6539. int total_size = 0;
  6540. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6541. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_join_freedom_match_result];
  6542. if (has_packet_id()) {
  6543. total_size += 1 +
  6544. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6545. }
  6546. // optional int32 result = 2;
  6547. if (has_result()) {
  6548. total_size += 1 +
  6549. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6550. this->result());
  6551. }
  6552. // optional int32 roomId = 3;
  6553. if (has_roomid()) {
  6554. total_size += 1 +
  6555. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6556. this->roomid());
  6557. }
  6558. // optional int32 playerId = 4;
  6559. if (has_playerid()) {
  6560. total_size += 1 +
  6561. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6562. this->playerid());
  6563. }
  6564. // optional int32 bulletCount = 5;
  6565. if (has_bulletcount()) {
  6566. total_size += 1 +
  6567. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6568. this->bulletcount());
  6569. }
  6570. // optional int32 curScore = 6;
  6571. if (has_curscore()) {
  6572. total_size += 1 +
  6573. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6574. this->curscore());
  6575. }
  6576. // optional int32 joinCount = 7;
  6577. if (has_joincount()) {
  6578. total_size += 1 +
  6579. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6580. this->joincount());
  6581. }
  6582. // optional int32 leftSecond = 8;
  6583. if (has_leftsecond()) {
  6584. total_size += 1 +
  6585. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6586. this->leftsecond());
  6587. }
  6588. }
  6589. if (!unknown_fields().empty()) {
  6590. total_size +=
  6591. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6592. unknown_fields());
  6593. }
  6594. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6595. _cached_size_ = total_size;
  6596. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6597. return total_size;
  6598. }
  6599. void packetl2c_join_freedom_match_result::MergeFrom(const ::google::protobuf::Message& from) {
  6600. GOOGLE_CHECK_NE(&from, this);
  6601. const packetl2c_join_freedom_match_result* source =
  6602. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_join_freedom_match_result*>(
  6603. &from);
  6604. if (source == NULL) {
  6605. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6606. } else {
  6607. MergeFrom(*source);
  6608. }
  6609. }
  6610. void packetl2c_join_freedom_match_result::MergeFrom(const packetl2c_join_freedom_match_result& from) {
  6611. GOOGLE_CHECK_NE(&from, this);
  6612. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6613. if (from.has_packet_id()) {
  6614. set_packet_id(from.packet_id());
  6615. }
  6616. if (from.has_result()) {
  6617. set_result(from.result());
  6618. }
  6619. if (from.has_roomid()) {
  6620. set_roomid(from.roomid());
  6621. }
  6622. if (from.has_playerid()) {
  6623. set_playerid(from.playerid());
  6624. }
  6625. if (from.has_bulletcount()) {
  6626. set_bulletcount(from.bulletcount());
  6627. }
  6628. if (from.has_curscore()) {
  6629. set_curscore(from.curscore());
  6630. }
  6631. if (from.has_joincount()) {
  6632. set_joincount(from.joincount());
  6633. }
  6634. if (from.has_leftsecond()) {
  6635. set_leftsecond(from.leftsecond());
  6636. }
  6637. }
  6638. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6639. }
  6640. void packetl2c_join_freedom_match_result::CopyFrom(const ::google::protobuf::Message& from) {
  6641. if (&from == this) return;
  6642. Clear();
  6643. MergeFrom(from);
  6644. }
  6645. void packetl2c_join_freedom_match_result::CopyFrom(const packetl2c_join_freedom_match_result& from) {
  6646. if (&from == this) return;
  6647. Clear();
  6648. MergeFrom(from);
  6649. }
  6650. bool packetl2c_join_freedom_match_result::IsInitialized() const {
  6651. return true;
  6652. }
  6653. void packetl2c_join_freedom_match_result::Swap(packetl2c_join_freedom_match_result* other) {
  6654. if (other != this) {
  6655. std::swap(packet_id_, other->packet_id_);
  6656. std::swap(result_, other->result_);
  6657. std::swap(roomid_, other->roomid_);
  6658. std::swap(playerid_, other->playerid_);
  6659. std::swap(bulletcount_, other->bulletcount_);
  6660. std::swap(curscore_, other->curscore_);
  6661. std::swap(joincount_, other->joincount_);
  6662. std::swap(leftsecond_, other->leftsecond_);
  6663. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6664. _unknown_fields_.Swap(&other->_unknown_fields_);
  6665. std::swap(_cached_size_, other->_cached_size_);
  6666. }
  6667. }
  6668. ::google::protobuf::Metadata packetl2c_join_freedom_match_result::GetMetadata() const {
  6669. protobuf_AssignDescriptorsOnce();
  6670. ::google::protobuf::Metadata metadata;
  6671. metadata.descriptor = packetl2c_join_freedom_match_result_descriptor_;
  6672. metadata.reflection = packetl2c_join_freedom_match_result_reflection_;
  6673. return metadata;
  6674. }
  6675. // ===================================================================
  6676. #ifndef _MSC_VER
  6677. const int packetc2l_freedom_match_do_balance::kPacketIdFieldNumber;
  6678. const int packetc2l_freedom_match_do_balance::kRoomIdFieldNumber;
  6679. #endif // !_MSC_VER
  6680. packetc2l_freedom_match_do_balance::packetc2l_freedom_match_do_balance()
  6681. : ::google::protobuf::Message() {
  6682. SharedCtor();
  6683. }
  6684. void packetc2l_freedom_match_do_balance::InitAsDefaultInstance() {
  6685. }
  6686. packetc2l_freedom_match_do_balance::packetc2l_freedom_match_do_balance(const packetc2l_freedom_match_do_balance& from)
  6687. : ::google::protobuf::Message() {
  6688. SharedCtor();
  6689. MergeFrom(from);
  6690. }
  6691. void packetc2l_freedom_match_do_balance::SharedCtor() {
  6692. _cached_size_ = 0;
  6693. packet_id_ = 10158;
  6694. roomid_ = 0;
  6695. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6696. }
  6697. packetc2l_freedom_match_do_balance::~packetc2l_freedom_match_do_balance() {
  6698. SharedDtor();
  6699. }
  6700. void packetc2l_freedom_match_do_balance::SharedDtor() {
  6701. if (this != default_instance_) {
  6702. }
  6703. }
  6704. void packetc2l_freedom_match_do_balance::SetCachedSize(int size) const {
  6705. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6706. _cached_size_ = size;
  6707. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6708. }
  6709. const ::google::protobuf::Descriptor* packetc2l_freedom_match_do_balance::descriptor() {
  6710. protobuf_AssignDescriptorsOnce();
  6711. return packetc2l_freedom_match_do_balance_descriptor_;
  6712. }
  6713. const packetc2l_freedom_match_do_balance& packetc2l_freedom_match_do_balance::default_instance() {
  6714. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  6715. return *default_instance_;
  6716. }
  6717. packetc2l_freedom_match_do_balance* packetc2l_freedom_match_do_balance::default_instance_ = NULL;
  6718. packetc2l_freedom_match_do_balance* packetc2l_freedom_match_do_balance::New() const {
  6719. return new packetc2l_freedom_match_do_balance;
  6720. }
  6721. void packetc2l_freedom_match_do_balance::Clear() {
  6722. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6723. packet_id_ = 10158;
  6724. roomid_ = 0;
  6725. }
  6726. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6727. mutable_unknown_fields()->Clear();
  6728. }
  6729. bool packetc2l_freedom_match_do_balance::MergePartialFromCodedStream(
  6730. ::google::protobuf::io::CodedInputStream* input) {
  6731. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6732. ::google::protobuf::uint32 tag;
  6733. while ((tag = input->ReadTag()) != 0) {
  6734. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6735. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_freedom_match_do_balance];
  6736. case 1: {
  6737. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6738. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6739. int value;
  6740. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6741. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6742. input, &value)));
  6743. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  6744. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  6745. } else {
  6746. mutable_unknown_fields()->AddVarint(1, value);
  6747. }
  6748. } else {
  6749. goto handle_uninterpreted;
  6750. }
  6751. if (input->ExpectTag(16)) goto parse_roomId;
  6752. break;
  6753. }
  6754. // optional int32 roomId = 2;
  6755. case 2: {
  6756. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6757. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6758. parse_roomId:
  6759. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6760. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6761. input, &roomid_)));
  6762. set_has_roomid();
  6763. } else {
  6764. goto handle_uninterpreted;
  6765. }
  6766. if (input->ExpectAtEnd()) return true;
  6767. break;
  6768. }
  6769. default: {
  6770. handle_uninterpreted:
  6771. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6772. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6773. return true;
  6774. }
  6775. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6776. input, tag, mutable_unknown_fields()));
  6777. break;
  6778. }
  6779. }
  6780. }
  6781. return true;
  6782. #undef DO_
  6783. }
  6784. void packetc2l_freedom_match_do_balance::SerializeWithCachedSizes(
  6785. ::google::protobuf::io::CodedOutputStream* output) const {
  6786. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_freedom_match_do_balance];
  6787. if (has_packet_id()) {
  6788. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6789. 1, this->packet_id(), output);
  6790. }
  6791. // optional int32 roomId = 2;
  6792. if (has_roomid()) {
  6793. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
  6794. }
  6795. if (!unknown_fields().empty()) {
  6796. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6797. unknown_fields(), output);
  6798. }
  6799. }
  6800. ::google::protobuf::uint8* packetc2l_freedom_match_do_balance::SerializeWithCachedSizesToArray(
  6801. ::google::protobuf::uint8* target) const {
  6802. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_freedom_match_do_balance];
  6803. if (has_packet_id()) {
  6804. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6805. 1, this->packet_id(), target);
  6806. }
  6807. // optional int32 roomId = 2;
  6808. if (has_roomid()) {
  6809. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
  6810. }
  6811. if (!unknown_fields().empty()) {
  6812. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6813. unknown_fields(), target);
  6814. }
  6815. return target;
  6816. }
  6817. int packetc2l_freedom_match_do_balance::ByteSize() const {
  6818. int total_size = 0;
  6819. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6820. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_freedom_match_do_balance];
  6821. if (has_packet_id()) {
  6822. total_size += 1 +
  6823. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6824. }
  6825. // optional int32 roomId = 2;
  6826. if (has_roomid()) {
  6827. total_size += 1 +
  6828. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6829. this->roomid());
  6830. }
  6831. }
  6832. if (!unknown_fields().empty()) {
  6833. total_size +=
  6834. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6835. unknown_fields());
  6836. }
  6837. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6838. _cached_size_ = total_size;
  6839. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6840. return total_size;
  6841. }
  6842. void packetc2l_freedom_match_do_balance::MergeFrom(const ::google::protobuf::Message& from) {
  6843. GOOGLE_CHECK_NE(&from, this);
  6844. const packetc2l_freedom_match_do_balance* source =
  6845. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_freedom_match_do_balance*>(
  6846. &from);
  6847. if (source == NULL) {
  6848. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6849. } else {
  6850. MergeFrom(*source);
  6851. }
  6852. }
  6853. void packetc2l_freedom_match_do_balance::MergeFrom(const packetc2l_freedom_match_do_balance& from) {
  6854. GOOGLE_CHECK_NE(&from, this);
  6855. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6856. if (from.has_packet_id()) {
  6857. set_packet_id(from.packet_id());
  6858. }
  6859. if (from.has_roomid()) {
  6860. set_roomid(from.roomid());
  6861. }
  6862. }
  6863. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6864. }
  6865. void packetc2l_freedom_match_do_balance::CopyFrom(const ::google::protobuf::Message& from) {
  6866. if (&from == this) return;
  6867. Clear();
  6868. MergeFrom(from);
  6869. }
  6870. void packetc2l_freedom_match_do_balance::CopyFrom(const packetc2l_freedom_match_do_balance& from) {
  6871. if (&from == this) return;
  6872. Clear();
  6873. MergeFrom(from);
  6874. }
  6875. bool packetc2l_freedom_match_do_balance::IsInitialized() const {
  6876. return true;
  6877. }
  6878. void packetc2l_freedom_match_do_balance::Swap(packetc2l_freedom_match_do_balance* other) {
  6879. if (other != this) {
  6880. std::swap(packet_id_, other->packet_id_);
  6881. std::swap(roomid_, other->roomid_);
  6882. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6883. _unknown_fields_.Swap(&other->_unknown_fields_);
  6884. std::swap(_cached_size_, other->_cached_size_);
  6885. }
  6886. }
  6887. ::google::protobuf::Metadata packetc2l_freedom_match_do_balance::GetMetadata() const {
  6888. protobuf_AssignDescriptorsOnce();
  6889. ::google::protobuf::Metadata metadata;
  6890. metadata.descriptor = packetc2l_freedom_match_do_balance_descriptor_;
  6891. metadata.reflection = packetc2l_freedom_match_do_balance_reflection_;
  6892. return metadata;
  6893. }
  6894. // ===================================================================
  6895. #ifndef _MSC_VER
  6896. const int packetl2c_freedom_match_end_notify::kPacketIdFieldNumber;
  6897. const int packetl2c_freedom_match_end_notify::kRoomIdFieldNumber;
  6898. const int packetl2c_freedom_match_end_notify::kReasonFieldNumber;
  6899. const int packetl2c_freedom_match_end_notify::kBuffListFieldNumber;
  6900. const int packetl2c_freedom_match_end_notify::kRankFieldNumber;
  6901. const int packetl2c_freedom_match_end_notify::kCurBaseScoreFieldNumber;
  6902. const int packetl2c_freedom_match_end_notify::kCurAddScoreFieldNumber;
  6903. const int packetl2c_freedom_match_end_notify::kTopScoreFieldNumber;
  6904. #endif // !_MSC_VER
  6905. packetl2c_freedom_match_end_notify::packetl2c_freedom_match_end_notify()
  6906. : ::google::protobuf::Message() {
  6907. SharedCtor();
  6908. }
  6909. void packetl2c_freedom_match_end_notify::InitAsDefaultInstance() {
  6910. }
  6911. packetl2c_freedom_match_end_notify::packetl2c_freedom_match_end_notify(const packetl2c_freedom_match_end_notify& from)
  6912. : ::google::protobuf::Message() {
  6913. SharedCtor();
  6914. MergeFrom(from);
  6915. }
  6916. void packetl2c_freedom_match_end_notify::SharedCtor() {
  6917. _cached_size_ = 0;
  6918. packet_id_ = 16214;
  6919. roomid_ = 0;
  6920. reason_ = 0;
  6921. rank_ = 0;
  6922. curbasescore_ = 0;
  6923. curaddscore_ = 0;
  6924. topscore_ = 0;
  6925. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6926. }
  6927. packetl2c_freedom_match_end_notify::~packetl2c_freedom_match_end_notify() {
  6928. SharedDtor();
  6929. }
  6930. void packetl2c_freedom_match_end_notify::SharedDtor() {
  6931. if (this != default_instance_) {
  6932. }
  6933. }
  6934. void packetl2c_freedom_match_end_notify::SetCachedSize(int size) const {
  6935. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6936. _cached_size_ = size;
  6937. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6938. }
  6939. const ::google::protobuf::Descriptor* packetl2c_freedom_match_end_notify::descriptor() {
  6940. protobuf_AssignDescriptorsOnce();
  6941. return packetl2c_freedom_match_end_notify_descriptor_;
  6942. }
  6943. const packetl2c_freedom_match_end_notify& packetl2c_freedom_match_end_notify::default_instance() {
  6944. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmatch_2eproto();
  6945. return *default_instance_;
  6946. }
  6947. packetl2c_freedom_match_end_notify* packetl2c_freedom_match_end_notify::default_instance_ = NULL;
  6948. packetl2c_freedom_match_end_notify* packetl2c_freedom_match_end_notify::New() const {
  6949. return new packetl2c_freedom_match_end_notify;
  6950. }
  6951. void packetl2c_freedom_match_end_notify::Clear() {
  6952. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6953. packet_id_ = 16214;
  6954. roomid_ = 0;
  6955. reason_ = 0;
  6956. rank_ = 0;
  6957. curbasescore_ = 0;
  6958. curaddscore_ = 0;
  6959. topscore_ = 0;
  6960. }
  6961. bufflist_.Clear();
  6962. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6963. mutable_unknown_fields()->Clear();
  6964. }
  6965. bool packetl2c_freedom_match_end_notify::MergePartialFromCodedStream(
  6966. ::google::protobuf::io::CodedInputStream* input) {
  6967. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6968. ::google::protobuf::uint32 tag;
  6969. while ((tag = input->ReadTag()) != 0) {
  6970. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6971. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_freedom_match_end_notify];
  6972. case 1: {
  6973. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6974. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6975. int value;
  6976. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6977. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6978. input, &value)));
  6979. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  6980. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  6981. } else {
  6982. mutable_unknown_fields()->AddVarint(1, value);
  6983. }
  6984. } else {
  6985. goto handle_uninterpreted;
  6986. }
  6987. if (input->ExpectTag(16)) goto parse_roomId;
  6988. break;
  6989. }
  6990. // optional int32 roomId = 2;
  6991. case 2: {
  6992. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6993. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6994. parse_roomId:
  6995. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6996. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6997. input, &roomid_)));
  6998. set_has_roomid();
  6999. } else {
  7000. goto handle_uninterpreted;
  7001. }
  7002. if (input->ExpectTag(24)) goto parse_reason;
  7003. break;
  7004. }
  7005. // optional int32 reason = 3;
  7006. case 3: {
  7007. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7008. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7009. parse_reason:
  7010. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7011. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7012. input, &reason_)));
  7013. set_has_reason();
  7014. } else {
  7015. goto handle_uninterpreted;
  7016. }
  7017. if (input->ExpectTag(34)) goto parse_buffList;
  7018. break;
  7019. }
  7020. // repeated .fish_protocols.buffInfo buffList = 4;
  7021. case 4: {
  7022. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7023. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7024. parse_buffList:
  7025. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  7026. input, add_bufflist()));
  7027. } else {
  7028. goto handle_uninterpreted;
  7029. }
  7030. if (input->ExpectTag(34)) goto parse_buffList;
  7031. if (input->ExpectTag(40)) goto parse_rank;
  7032. break;
  7033. }
  7034. // optional int32 rank = 5;
  7035. case 5: {
  7036. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7037. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7038. parse_rank:
  7039. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7040. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7041. input, &rank_)));
  7042. set_has_rank();
  7043. } else {
  7044. goto handle_uninterpreted;
  7045. }
  7046. if (input->ExpectTag(48)) goto parse_curBaseScore;
  7047. break;
  7048. }
  7049. // optional int32 curBaseScore = 6;
  7050. case 6: {
  7051. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7052. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7053. parse_curBaseScore:
  7054. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7055. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7056. input, &curbasescore_)));
  7057. set_has_curbasescore();
  7058. } else {
  7059. goto handle_uninterpreted;
  7060. }
  7061. if (input->ExpectTag(56)) goto parse_curAddScore;
  7062. break;
  7063. }
  7064. // optional int32 curAddScore = 7;
  7065. case 7: {
  7066. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7067. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7068. parse_curAddScore:
  7069. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7070. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7071. input, &curaddscore_)));
  7072. set_has_curaddscore();
  7073. } else {
  7074. goto handle_uninterpreted;
  7075. }
  7076. if (input->ExpectTag(64)) goto parse_topScore;
  7077. break;
  7078. }
  7079. // optional int32 topScore = 8;
  7080. case 8: {
  7081. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7082. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7083. parse_topScore:
  7084. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7085. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  7086. input, &topscore_)));
  7087. set_has_topscore();
  7088. } else {
  7089. goto handle_uninterpreted;
  7090. }
  7091. if (input->ExpectAtEnd()) return true;
  7092. break;
  7093. }
  7094. default: {
  7095. handle_uninterpreted:
  7096. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7097. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7098. return true;
  7099. }
  7100. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7101. input, tag, mutable_unknown_fields()));
  7102. break;
  7103. }
  7104. }
  7105. }
  7106. return true;
  7107. #undef DO_
  7108. }
  7109. void packetl2c_freedom_match_end_notify::SerializeWithCachedSizes(
  7110. ::google::protobuf::io::CodedOutputStream* output) const {
  7111. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_freedom_match_end_notify];
  7112. if (has_packet_id()) {
  7113. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7114. 1, this->packet_id(), output);
  7115. }
  7116. // optional int32 roomId = 2;
  7117. if (has_roomid()) {
  7118. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
  7119. }
  7120. // optional int32 reason = 3;
  7121. if (has_reason()) {
  7122. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->reason(), output);
  7123. }
  7124. // repeated .fish_protocols.buffInfo buffList = 4;
  7125. for (int i = 0; i < this->bufflist_size(); i++) {
  7126. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7127. 4, this->bufflist(i), output);
  7128. }
  7129. // optional int32 rank = 5;
  7130. if (has_rank()) {
  7131. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->rank(), output);
  7132. }
  7133. // optional int32 curBaseScore = 6;
  7134. if (has_curbasescore()) {
  7135. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->curbasescore(), output);
  7136. }
  7137. // optional int32 curAddScore = 7;
  7138. if (has_curaddscore()) {
  7139. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->curaddscore(), output);
  7140. }
  7141. // optional int32 topScore = 8;
  7142. if (has_topscore()) {
  7143. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->topscore(), output);
  7144. }
  7145. if (!unknown_fields().empty()) {
  7146. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7147. unknown_fields(), output);
  7148. }
  7149. }
  7150. ::google::protobuf::uint8* packetl2c_freedom_match_end_notify::SerializeWithCachedSizesToArray(
  7151. ::google::protobuf::uint8* target) const {
  7152. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_freedom_match_end_notify];
  7153. if (has_packet_id()) {
  7154. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7155. 1, this->packet_id(), target);
  7156. }
  7157. // optional int32 roomId = 2;
  7158. if (has_roomid()) {
  7159. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
  7160. }
  7161. // optional int32 reason = 3;
  7162. if (has_reason()) {
  7163. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->reason(), target);
  7164. }
  7165. // repeated .fish_protocols.buffInfo buffList = 4;
  7166. for (int i = 0; i < this->bufflist_size(); i++) {
  7167. target = ::google::protobuf::internal::WireFormatLite::
  7168. WriteMessageNoVirtualToArray(
  7169. 4, this->bufflist(i), target);
  7170. }
  7171. // optional int32 rank = 5;
  7172. if (has_rank()) {
  7173. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->rank(), target);
  7174. }
  7175. // optional int32 curBaseScore = 6;
  7176. if (has_curbasescore()) {
  7177. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->curbasescore(), target);
  7178. }
  7179. // optional int32 curAddScore = 7;
  7180. if (has_curaddscore()) {
  7181. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->curaddscore(), target);
  7182. }
  7183. // optional int32 topScore = 8;
  7184. if (has_topscore()) {
  7185. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->topscore(), target);
  7186. }
  7187. if (!unknown_fields().empty()) {
  7188. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7189. unknown_fields(), target);
  7190. }
  7191. return target;
  7192. }
  7193. int packetl2c_freedom_match_end_notify::ByteSize() const {
  7194. int total_size = 0;
  7195. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7196. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_freedom_match_end_notify];
  7197. if (has_packet_id()) {
  7198. total_size += 1 +
  7199. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  7200. }
  7201. // optional int32 roomId = 2;
  7202. if (has_roomid()) {
  7203. total_size += 1 +
  7204. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7205. this->roomid());
  7206. }
  7207. // optional int32 reason = 3;
  7208. if (has_reason()) {
  7209. total_size += 1 +
  7210. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7211. this->reason());
  7212. }
  7213. // optional int32 rank = 5;
  7214. if (has_rank()) {
  7215. total_size += 1 +
  7216. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7217. this->rank());
  7218. }
  7219. // optional int32 curBaseScore = 6;
  7220. if (has_curbasescore()) {
  7221. total_size += 1 +
  7222. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7223. this->curbasescore());
  7224. }
  7225. // optional int32 curAddScore = 7;
  7226. if (has_curaddscore()) {
  7227. total_size += 1 +
  7228. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7229. this->curaddscore());
  7230. }
  7231. // optional int32 topScore = 8;
  7232. if (has_topscore()) {
  7233. total_size += 1 +
  7234. ::google::protobuf::internal::WireFormatLite::Int32Size(
  7235. this->topscore());
  7236. }
  7237. }
  7238. // repeated .fish_protocols.buffInfo buffList = 4;
  7239. total_size += 1 * this->bufflist_size();
  7240. for (int i = 0; i < this->bufflist_size(); i++) {
  7241. total_size +=
  7242. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7243. this->bufflist(i));
  7244. }
  7245. if (!unknown_fields().empty()) {
  7246. total_size +=
  7247. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7248. unknown_fields());
  7249. }
  7250. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7251. _cached_size_ = total_size;
  7252. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7253. return total_size;
  7254. }
  7255. void packetl2c_freedom_match_end_notify::MergeFrom(const ::google::protobuf::Message& from) {
  7256. GOOGLE_CHECK_NE(&from, this);
  7257. const packetl2c_freedom_match_end_notify* source =
  7258. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_freedom_match_end_notify*>(
  7259. &from);
  7260. if (source == NULL) {
  7261. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7262. } else {
  7263. MergeFrom(*source);
  7264. }
  7265. }
  7266. void packetl2c_freedom_match_end_notify::MergeFrom(const packetl2c_freedom_match_end_notify& from) {
  7267. GOOGLE_CHECK_NE(&from, this);
  7268. bufflist_.MergeFrom(from.bufflist_);
  7269. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7270. if (from.has_packet_id()) {
  7271. set_packet_id(from.packet_id());
  7272. }
  7273. if (from.has_roomid()) {
  7274. set_roomid(from.roomid());
  7275. }
  7276. if (from.has_reason()) {
  7277. set_reason(from.reason());
  7278. }
  7279. if (from.has_rank()) {
  7280. set_rank(from.rank());
  7281. }
  7282. if (from.has_curbasescore()) {
  7283. set_curbasescore(from.curbasescore());
  7284. }
  7285. if (from.has_curaddscore()) {
  7286. set_curaddscore(from.curaddscore());
  7287. }
  7288. if (from.has_topscore()) {
  7289. set_topscore(from.topscore());
  7290. }
  7291. }
  7292. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7293. }
  7294. void packetl2c_freedom_match_end_notify::CopyFrom(const ::google::protobuf::Message& from) {
  7295. if (&from == this) return;
  7296. Clear();
  7297. MergeFrom(from);
  7298. }
  7299. void packetl2c_freedom_match_end_notify::CopyFrom(const packetl2c_freedom_match_end_notify& from) {
  7300. if (&from == this) return;
  7301. Clear();
  7302. MergeFrom(from);
  7303. }
  7304. bool packetl2c_freedom_match_end_notify::IsInitialized() const {
  7305. return true;
  7306. }
  7307. void packetl2c_freedom_match_end_notify::Swap(packetl2c_freedom_match_end_notify* other) {
  7308. if (other != this) {
  7309. std::swap(packet_id_, other->packet_id_);
  7310. std::swap(roomid_, other->roomid_);
  7311. std::swap(reason_, other->reason_);
  7312. bufflist_.Swap(&other->bufflist_);
  7313. std::swap(rank_, other->rank_);
  7314. std::swap(curbasescore_, other->curbasescore_);
  7315. std::swap(curaddscore_, other->curaddscore_);
  7316. std::swap(topscore_, other->topscore_);
  7317. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7318. _unknown_fields_.Swap(&other->_unknown_fields_);
  7319. std::swap(_cached_size_, other->_cached_size_);
  7320. }
  7321. }
  7322. ::google::protobuf::Metadata packetl2c_freedom_match_end_notify::GetMetadata() const {
  7323. protobuf_AssignDescriptorsOnce();
  7324. ::google::protobuf::Metadata metadata;
  7325. metadata.descriptor = packetl2c_freedom_match_end_notify_descriptor_;
  7326. metadata.reflection = packetl2c_freedom_match_end_notify_reflection_;
  7327. return metadata;
  7328. }
  7329. // @@protoc_insertion_point(namespace_scope)
  7330. } // namespace fish_protocols
  7331. // @@protoc_insertion_point(global_scope)