fish_match_baojin.pb.cc 259 KB

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