fish_activity2.pb.cc 265 KB

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